Windows XP HSDPA Dial Up
I’ve been using Airtel Data using my Sony Erickson W595 for the last couple of weeks and being happy user I decided to buy an HSDPA USB dongle. I didn’t wanna buy a locked dongle from Airtel so I called my friend at Cellular Connection and got my self an unlocked O2 ZTE MF100 HSDPA [...]
Prepaid Data Plan on Airtel
Airetel has launched a new prepaid data plan for it’s customers which gives 1.5 GB of data for just 45/- per day. To subscribe for the data plan just reload 45/- and the plan will be activated instantly and will be available for a period of 12 hours. The 12 hour count will reset in [...]
Configuring Bluetooth PAN in Debian
I wanted to use Internet using my Sony Ericsson W595 Bluetooth Personal Area Network. It wasn’t that hard, here are the steps… 1. Install bluez-utils sudo apt-get install bluez-utils 2. Enable the PAND in /etc/default/bluetooth and configure it to connect to your device. PAND_ENABLED=1 PAND_OPTIONS="–role PANU –connect 00:25:E7:2B:E9:60" 3. Add the Bluetooth network interface in [...]
Tax imposed on Companies using VoIP
Telecommunication industry is loosing a huge sum due to the use of VoIP, and it’s currently imposting tax and notifying big companies (IT) to register under the Telecommunications Regulatory Commission (TRC) and pay the tax. You might also remember the times when TRC was trying to block VoIP via SLT and failed on that! Why [...]
3rd Wedding Anniversary
It’s our 3rd Wedding Anniversary today… Didn’t get to do much as we planned to go on the office trip and got to prepare for it in short notice! Amirthan was so happy that I am back home early and took him shopping around for his trip dresses! So happy wedding anniversary to us…
Fix VIM the backspace problem in Windows
Working in Windows XP now days, I found a strange behavior in gVIM as it wasn’t allowing me to use backspace when editing source files with indenting! After googling a bit I found a solution by adding the following to my .vimrc file… :set backspace=indent,eol,start
Using Javascript codes in Smarty template files
Using Smarty fist problem I encountered is how to use JavaScript inside the template files! There is this magic keyword literal which will refrain from parsing the code within! {literal} <script type="text/javascript"> function isblank(field) { if (field.value == ”) { return false; } else { document.loginform.submit(); return true; } } </script> {/literal}
Setting the SVN external
Use Smarty for Templating, I had to include the Smarty libraries in the sri-lankan code base, but I didn’t wanna maintain it in the sri-lankan subversion repository, for that I had to just add the Smarty libs as a svn:externals property! Here is how… [~] svn propset svn:externals ‘smarty http://smarty-php.googlecode.com/svn/trunk/libs’ . property ‘svn:externals’ set on [...]
Templating with Smarty
I’m redoing sri-lankan.net from the sketch and gonna use smarty template engine for easy templating! So-far the moving is fine, as you see I’ve broken some existing links I’ll try to restore them as soon as possible!