english

New blog theme

Last time I updated this blog’s theme was in 2012! It was about time to have a fresh new look and there you have it! \o/

Puma vs. Unicorn

TL; DR - Just use Puma. Rails has changed its default server from Webrick to Puma in Rails 5! It also supports Action Cable (one of the new features fr...

How to use command line on macOS

A friend of mine (who used to use Windows) has bought a Mac recently and he asked me how to use the command line on macOS: My answer was: 99% of command...

Hellо, I am a compiler

I’ve found the following text here and thought it’d be nice to share it with you. Hope you enjoy it as much as I did :) Hellо, I am a compiler. I ju...

New blog layout

I’ve finally changed my blog theme. This one is cleaner, I hope y’all enjoy it :)

Pair programming with tmux

Server: tmux -2 -S /tmp/pair new-session -s PairProgramming chmod 777 /tmp/pair Client: tmux -2 -S /tmp/pair attach-session -t PairProgramming

My dotfiles

I’ve finally created a repository with my dotfiles. Dotfiles are configurations files, usually with their names beginning with a dot (hidden files) and locat...

Regex to match Youtube URLs (using Ruby)

I’ve created a regular expression in order to match Youtube URLs. As Youtube URLs starts with https://youtube.com and https://youtu.be, the following regex s...

My new gem “code2pdf”

I’ve created a gem called code2pdf, which is a simple and open-source tool to convert your codebase to a PDF file. It might be especially useful in case you ...

My Vimfiles

Vimfiles are configuration files for the Vim editor. It includes the editor preferences, theme (color scheme), fonts, plugins, custom functions, and more. I...

How to test Rails mailers using RSpec

ActionMailer module has been reconstructed in Rails 3 and mailers have their own subdirectory (app/mailers) since then. This blog post will demostrate how t...