tips
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 {
[...]
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 [...]
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 [...]