Author Archive

Creating a CentOS USB drive on Mac OS X

Download .iso, either netinstall or LiveCD.
get mounted disk by inserting drive and running diskutil list
unmont disk by running diskutil umountDisk /dev/disk3
write image by running: dd if=~/Downloads/centos\ 5.4/CentOS-5.4-x86_64-netinstall.iso of=/dev/disk3 bs=1m
run diskutil eject /dev/disk3
try it!


No graphs in Ganglia

Today I was installing Ganglia in a new server. After successfully compiling and installing gmond and gmetad I placed the web files in a directory accessible by Apache.
When I loaded the web page, all graphs were empty/broken.  Something was wrong. PHP had GD enabled, so it was not it. I checked the php log and [...]


Embedding fonts in Adobe Flex

I just solved a problem that I have been fighting for many hours and generated a lot of frustration. The solution was quite simple, but it proved difficult to identify the problem.
When you need to embed a font in Adobe Flex, you do so by adding something like this in the css:

@font-face {
[...]


Regular expressions Flex explorer

In my quest to get one of the regular expressions for RegExpValidator, I found this phenomenal explorer of regular expressions created by Ryan Swanson. Amazing work!
Thanks for sharing it!


Validate hostname with RegExpValidator in Flex

I spent quite some time trying to get this working. The documentation available for RegExpValidator is not very extensive just to put it in a nice way.
All I needed to do is validate a string to verify if it follows the pattern of a hostname.
After much work and research I finally narrowed it down and [...]


New Depeche Mode album released today

If you like Depeche Mode, you will be happy to know that their new album is available today. You will be happier to know that you can get it for $4 at Amazon’s MP3 store.


Duplicating a propel object

Today I needed to quickly duplicate some rows in a table that is in a Symfony application. I am using the admin generator so I also have the schema as a Propel series of objects.
I did a quick search on Google and did not find any place on how to effectively duplicate a Propel object [...]


Flex binding tip when adding components dynamically

Today I was developing this UI using Flex where a panel is added as a child dynamically. Inside the Panel there is a form with a series of input elements, and I use Binding to put back the changes of an Input component into the object that originally had the text.
A weird problem occured: The [...]


Hello world!

This is my blog which was way overdue. Hopefully I make the time to share my experiences with the world.
Please feel free to comment, suggest and interact. Thanks!