Hey, Rafael!

Hey, Rafael!

Crazy ideas on cloud infrastructure, provisioning, scaling platforms and beyond. Often wrong.


Tagsnippet
Featured

snippet irc

Sending messages to an IRC server from a shell script (Bash)

Posted on .

This is a helpful little script I found on the net and modified to work around an issue with fast CPUs and slow IRC servers. If you find yourself needing to send messages from a shell script to an IRC server but keep coming against the 451 PRIVMSG: You have no…

Featured

snippet xenserver

That damn xenserver-linuxfixup-disk.iso!

Posted on .

In case you run into the same problem as me (that is, trying to unplug an already unavailable ISO SR from XenServer 5.6 and finding out that the xenserver-linuxfixup-disk.iso can't be removed), there's a way out. Granted, it's not that easy, but at least it wo…

Featured

snippet sql

The Key to Traffic-based Tickets in RADIUS

Posted on .

I spent ages looking for information on how to limit user access based on traffic used through a captive portal using pfSense, and couldn't find somewhere with an easy to use SQL command that was generic enough to use with daloRADIUS. Well, in case you were wa…

Featured

snippet

How to batch convert FLAC to ALAC in one command with ffmpeg

Posted on .

Can't get simpler than this! for i in *.flac; do ffmpeg -i "$i" -acodec alac "`basename "$i" .flac`.m4a"; done;…