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...
/home/rabin.io/notes
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...
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...
A quick snippet I use to validate email address format. <?php if (empty($argv[1])) { echo ‘usage: ‘ . $argv[0] . ‘ [email protected]’ . PHP_EOL; exit (1); } array_shift($argv); foreach ($argv as $key => $email)...
The Dockerfile This Dockerfile will use Fedora Docker image (which you can download from any Fedora mirror server, and then use docker import to import the image) as the base for our builder image,...
This post is based on my personal need to mount/umount some network shares automatically when I’m switching between networks (e.g Homer/Office). Later on I was looking to make it more modular and came out...
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...
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,...
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...
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...
Since Google started including sites which server under HTTPS in their ranking, and CloudFlare came out with their Universal SSL service, I was thinking to add a native SSL support to my WP blog....