Check your apple product warranty online

Wednesday of February 13, 2013

Last year I have bought an apple care together with my iphone. Although my seller notified me that my apple care is pre-registered with my iphone, sometimes we really need to check whether it is applied. First thing is if you have a pre-registered apple care an email notification should be sent out indicating the end date of the premium support. If no email is sent out then user change check the apple support center (https://selfsolve.apple.com/GetWarranty.do)

 

Running a servlet from a cron job

Friday of January 25, 2013

On one instance I needed a quick job or scheduler to run a specified url on a given schedule, so by accessing the site directly from a cron tab the process is triggered.

0 * * * * wget -O - -q -t 1 http://rankaru.com/action

Using putty to setup a proxy connection through tunneling

Thursday of January 24, 2013

Using putty as a secure proxy for your Virtural Private Servers (VPS) or SSH

As a summary

1. Open Putty
2. Go to Tunnel
3. Tunnel - Set source port to 8080 or any available port
4. Tunnel - Leave destination port blank
5. Tunnel - Set Dynamic and Auto setting
6. Login to your server
7. Open your browser and set manual proxy SOCKS host to 127.0.0.1 / localhost and port 8080 or based on the defined port

 

Code Syntax Highlighter for Drupal

Sunday of January 20, 2013

Syntaxhighlighter is one of the popular open source javascript based code syntax render. Drupal has a built in module that allows code syntax highlighting for easier readability and reference (which can be found in this link).

 

How to create your first sdcard directory in android

Tuesday of December 11, 2012

How to create a your first sd card in android

1. Open a command line
2. Navigate to "C:\\Program Files\\Android\\android-sdk\\tools"
3. Run "mksdcard 512M C:/mysdcard.iso"
4. Run your android manage avd -> edit -> sd card -> files