Author Archives: techno
“Cloning git repo” has encontered a problem – Titanium Fix
While working on my iPhone apps via Titanium Studio i encountered into this issue “Cloning git repo”. I wanted to import sample project “KitchenSink”, and thus i got this error… Read more
Play remote and local media files in Titanium
Titanium is a bit complex, but very well documented and great tool for mobile applications development. I am discussing here, how you can play both local and remote sound files… Read more
Connecting PHP to Microsoft SQL Server on Debian/Ubuntu
1. Install FreeTDS and the PHP MS SQL extension sudo apt-get install freetds-common freetds-bin unixodbc php5-sybase Note: That is correct – the MS SQL extension is in the “php5-sybase” package…. Read more
Getting user’s uid from external php script – Drupal
I came across a issue while creating a website using Drupal, that i wanted to access user info via a external page (i.e not a drupal node). I had to… Read more
Check if user is logged – Drupal
This is really very basic, but important when you want to show some content that should only be viewable by authenticated users: <?php global $user; if ( $user->uid ) {… Read more
How to update the Eclipse ADT-Plugin
The “Alternative version” appears to be “faster” and doesn’t check all the other plugins by default. Updating the ADT Plugin To update the ADT plugin to the latest version, follow… Read more
Unblock, blocked users after 5 failed login attempts – Drupal
Drupal 7 prevents brute force attacks on accounts. It does so by refusing login attempts when more than 5 attempts failed. The amount of failed logins is recorded in the… Read more
How to remove a specific value from a javascript array
Here is a simple trick to remove a particular value from your array: // from this (6 items) var arr = ['remove', 'specific', 'value', 'from', 'javascript', 'array']; // to this… Read more
Run a Command as Administrator from the Windows 7
Lets say you wish to open command prompt as administrator. Go to the run box and type “cmd”, then instead of hitting enter use Ctrl+Shift + Enter. You will be… Read more



