The Joy of Hex

Drunken Monkey Coding Style with a hint of Carlin humor

Aug 25, 2011 - 4 minute read - PHP Symfony 2

Symfony2, Sonata Admin Bundle and file uploads

I am writing a bundle that needs to have a file uploaded to server and later served, I am also using Sonata Admin bundle. First thing I needed to understand is that I will need an additional variable in my entity that will be used for the FileType object and that variable WILL NOT BE MAPPED to doctrine. Class is shorten for brevity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 <?

May 8, 2011 - 1 minute read

Getting Flash to work in Chrome on Ubuntu 10.04 LTS 64bit

This is a digest from a bunch of information from the web. If Flash is not working in your Chrome browser you may need to create the following symlink to get it working 1 2 sudo ln -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so \ /usr/lib/mozilla/plugins/ As usual YMMV, have fun.

Jan 18, 2011 - 1 minute read - Plugin Silverlight

Seesmic Desktop 2 Filter Plugin

If you are like me, you use twitter a lot, and one of the most annoying things about most of the desktop clients is the lack of filtering out the noise from useful tweets. My preferred client at this time is Seesmic Desktop 2, apart from being very resource friendly on Windows, it also has a nice SDK for plugins. So one day I was fed up with the noise in my stream, and here is the result.