With a new Grails 2.X project you run into challenges on which folders to check-in into a GIT repository. You want to remove any non-essential files that Grails can rebuild at run-time. And if you are using either GITHub or BitBucket for your GIT repo’s the default .gitignore fi
Cubieboard2 with ARM AllWinner Processor - A20 finally arrived. Pretty excited about building my ARM Linux embedded system. Learn more about Cubieboard here
Recently I decided to port some of my development using ZeroMQ onto my CentOS development machine and I ran into some challenges. I’m documenting those challenges so that if someone else runs into the same pitfalls I did, they can avoid it. In this example today, we will work wi
Lately there has been a lot of synergy and publicity around node.js (especially if you want to utilize the robust features of a JavaScript language on the server-side). If you are not familiar with this, I would suggest you look at the following link: Node.js - Event-driven I/O
Sometimes you want an easy way to simulate load on a file-system that you are trying to test. Here’s a quick and easy way. Suppose your mount point you want to perform this IO is “/myspecialmount”. (Assuming you have plenty of space to test) Then the easiest way to l
The traditional way to test for websockets is this: Although the above example will be technically correct for modern browsers it is important to consider some of the “experimental” implementation of this feature in earlier FireFox (Mozilla) browsers. In FireFox (Mozilla),
When you export a WordPress site and import the site into a new WordPress site you will notice that a few HTML entities that are not allowed in an XML output got escaped. In simple terms, you will see a lot of " and if you use a Mac OSx system, your will see - &ldqu
I’m an Android user and today I’m wishing I owned a iPhone or iPad after seeing this idea… It’s called Whitelines. To create a printable paper that uses “white-lines” instead of the usual “solid-black/blue lines” and to take it a step further to add some scan marks such that a iPhone
If you are an avid Python developer, you may all be excited about the new features available in the Pycharm 2.5 release, especially the remote interpreters, virtualenv and setup.py support. You can read more about the new exciting features here. But as I started to tinker with the
Working on a Django project, one of the first things that one would encounter is configuring Django for static resources such as “css”, “images”, “jpeg” and “js”. In looking at the “StaticResources” link that’s part of
Sometimes I keep searching for a starter HTML5 “hello-world” - index.html page. So I thought I’d blog about it so that others who need it can also take advantage of it. Feel free to copy and use as needed. At some point of time, you’re going to need somet
Below are my steps to installing mod_python under Apache HTTPD in CentOS 6.2. Download mod_python-3.3.1.tgz or a later version of mod_python available here: http://archive.apache.org/dist/httpd/modpython/ You may encounter the following error at this point: apxs:Error: Command failed
If you tried upgrading to Python 2.7 on CentOS, you will quickly find out that the RPM’s don’t exist for this in the repos. So here’s a short summary of what I did to upgrade my Python to 2.7 on CentOS. Based on a few Google searches… I discovered that a few de
Sometimes you need to see what’s installed as part of a package via yum. To see the package contents you can use a utility that’s available on the RHEL/CentOS. If you do not have this utility available, you can install it by using this command Here is a sample output from
Have you tried to present some code or sample content for the end-user that you wanted to allow them to easily copy to their clip-board? If you use the JQuery Javascript library then you can use the plugin called zClip available here - zClip Using zclip you can attach an event t
Developing with Grails and Groovy can be a blessing and and pain all at the same time. The development moves at a rapid rate but when you decide to include libraries that depend on other libraries, your pain starts to build up. For example, when you include the module “HttpBuild
I’ve noticed a peculiar behavior that I’m documenting here for others. I’m using Grails 1.4.M1 and it bundles with it H2 database version [H2 1.2.147 (2010-11-21)] If you decide to run H2 in a server mode, you would most likely download the latest version of H2 Datab
If you are looking to improve your productivity when you are working on a mindful task then Pomodoro Technique is the way. It’s a technique where you sit for twenty-five minutes at a time focused on one task. At the end of the cycle, you take a “required” short break
Below is a list of some tools that can help you examine your Java source code for potential problems: 1. PMD from http://pmd.sourceforge.net/ License: PMD is licensed under a “BSD-style” license PMD scans Java source code and looks for potential problems like: * Possible b