RSSAmplifier

Blog

Blog | Victor Afanasev

Ruby is my first love ❤️. Crystal is second.

vifreefly.github.ioRSS feed ↗10 posts

Latest posts

Smart AI Web Scraping with Nukitori and Rubium/Kimurai

Learn how to extract structured data from web pages using AI-powered Nukitori gem combined with Rubium headless browser or Kimurai framework

First thing to do after creating a new VPS server: setup deploy user and enable SSH-key authentication only

Essential security steps for new VPS servers: creating a deploy user, configuring SSH key authentication, and disabling password login to protect against brute force attacks.

Did you know that you can use Bundler without Gemfile?

Did you know that it's possible to use Bundler with a single Ruby script and without Gemfile?

Capistrano: automatically check if remote origin updated before deploy

Prevent deployment issues by automatically checking if your local repository is in sync with remote origin before deploying with Capistrano.

Deploy Jekyll build to Github Pages using Git pre-push hook

There are examples how to automatically deploy Jekyll site build using Git's or hooks which are server-side hooks.

How to use Pagy with Sinatra and Sequel

Pagy is very effective and lightweight, so it’s a good idea to use it with Sinatra and Sequel ORM. We need to adjust some settings though, let’s see how to do it.

How to use Sequel with ActiveRecord database

Sometimes we want to query rails database outside of a rails app. But should you always bring AR for this? No, lightweight Sequel can handle this job pretty well. Check the guide Querying in Sequel to understand basics.

Create free HTTPS/SOCKS5 proxy servers using AWS Free Tier EC2 instances automatically with Terraform

Automate the creation of free proxy servers using AWS Free Tier EC2 instances and Terraform for on-demand proxy infrastructure.

How to create AWS restricted credentials (example for s3)

How to create AWS restricted credentials (example for s3)

Simplest configuration block implementation for a ruby gem ever

A minimal approach to creating configuration blocks for Ruby gems using plain hashes instead of complex patterns.