Warning: Use of undefined constant USERLEN - assumed 'USERLEN' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 31

Warning: Use of undefined constant AMZSRVLINK - assumed 'AMZSRVLINK' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 410

Warning: Use of undefined constant AMZSRVTAGS - assumed 'AMZSRVTAGS' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 412

Warning: Use of undefined constant AMZIMG160 - assumed 'AMZIMG160' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 415

Warning: Use of undefined constant AMZIMG110 - assumed 'AMZIMG110' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 417

Warning: Use of undefined constant AMZPPSLINK - assumed 'AMZPPSLINK' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 421

Warning: Use of undefined constant AMZAFFLINK - assumed 'AMZAFFLINK' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/functions.php on line 424
Programming | *pHacks {
Warning: Use of undefined constant SCRIPT_DEBUG - assumed 'SCRIPT_DEBUG' (this will throw an Error in a future version of PHP) in /home/public/wp-includes/formatting.php on line 4144


Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 9
Archive for Programming

Static Compile GLFW and GLEW

// August 31st, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
2 Comments » // C, OpenGL

I need to compile and statically linked GLFW and GLEW into my OpenGL application but apparently it’s not as easy as I thought it was.

Detecting Search Engines Bot & Web Spiders

// May 1st, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
Comments Off on Detecting Search Engines Bot & Web Spiders // PHP

Many websites implement their own visitors log database and some data in it are junk because of the web spiders and bots that are checking on the site.

Force Refresh SimplePie Cache on WordPress

// April 12th, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
2 Comments » // PHP

WordPress 3.1 uses SimplePie for its Feed fetcher and by default set the cache lifetime to 12 hours. The issue is that regardless of cache lifetime span I would like to be able to force refresh the cache. This journal shows you on how to do that.

Fetch RSS Feed like Twitter & Google Reader from WordPress

// April 5th, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
2 Comments » // PHP

I know there are lots of WordPress plugin to fetch tweets & Google Reader entries, but for this one I decided to implement it directly on the Wordpress framework for this website.

Bubble Sort in Csh/Tcsh

// March 17th, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
No Comments » // Shell

I never go deep into tcsh until few weeks ago. This my attempt to get my feet wet by implementing Bubble sort in tcsh.

MacVim as IDE with Code Completion and Syntax Highlighting for Python, PyQt4 and Twisted Development on Mac OSX Snow Leopard

// March 16th, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
2 Comments » // OS X, PyQT4, Python, Vim

My journal on how to setup MacVim on OSX Snow Leopard as primary IDE for developing Python along with PyQt4 and Twisted framework. At the end of it MacVim will supports Python code completion/auto complete (similar to intellisense) and syntax highlighting.

Setting up Python, PyQt4 and Twisted on OSX 10.6 Snow Leopard

// March 11th, 2011 //
Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31

Warning: Use of undefined constant woothemes - assumed 'woothemes' (this will throw an Error in a future version of PHP) in /home/public/wp-content/themes/irresistible/archive.php on line 31
5 Comments » // OS X, PyQT4, Python

How to put together Python development environment on OSX Snow Leopard. Some libraries that I use frequently such as PyQt4 and Twisted will also be installed, coexist with the default shipped Python.