Rabin.IO Blog


Matching non ASCII characters in NGiNX location

If you need to match a non ASCII string with NGiNX, and don’t want to use the encoded URL, you can use this trick,

Resources http://stackoverflow.com/questions/28055909/does-nginx-support-raw-unicode-in-paths http://serverfault.com/questions/656096/rewriting-ascii-percent-encoded-locations-to-their-utf-8-encoded-equivalent

gnuplot icon

Visualize real-time data streams with Gnuplot

Some times when I need to troubleshoot a problem, adding some visualization to the process can help a lot, especially if one need to correlate between 2 (or more) metrics in the data. But...

bash script

Run Command Before Starting SSH Connection

This a quick hack I found while I was looking to run a knock script before connecting to servers which I have the SSH service protected with a knock sequence. In my setup I...


[PHP] Validate Email Address Format

A quick snippet I use to validate email address format.




Building CinelerraCV for Fedora 22 under Docker

The Dockerfile

This Dockerfile will use Fedora Docker image (which you can download from any Fedora mirror server, and then usedocker import to import the image) as the base for our builder image,...


Speed up a MySQL restore from a dump file

This is a small snippet I found to speed up importing MySQL dumps, it’s is almost as fast as coping the DB files directly. Pre INSERT Put the commands at the top of the...


Dynamic DNS with CloudFlare

This is a simple hack I found for my self to have a “Dynamic DNS” for my home IP. I’m using CloudFlare as my name server to manage the zone file for my domain,...


Setup Xdebug for remote debug over SSH

If you have PHP application you need to debug, and there is a firewall between you and the hosting server, One can use SSH to tunnel the traffic from the remote site to the...


PulseAudio: Toggle Output Between 2 Devices

With PulseAudio one can choose the output (in PA syntax, it’s called “sink-input”) device for each audio stream, for example, I can listen to my music on my headphone (USB sound card in my...