« Archives in February, 2009

Compact JS code using PHP

This is a simple function to minimize JS code, it’s very simple and probably fail with more complex cases. But hey, might be useful for someone for something! We would suggest using JSMin::minify() instead.

FreeNX is cool

If you ever need to access a CentOS (RHEL for that matter) server remotely, use FreeNX. It’s very easy to install, just follow the instructions on this page:


Just a note, you can leave the authentication via password (assuming you have a strong one) instead of a key-based pass-through authentication. The instructions are still pretty much the same, only you don’t have to perform some steps.

Performance: wow, it’s pretty fast and it looks just the same as my own desktop. I’m using the NoMachine Client for Ubuntu 8.10.