Posts

Showing posts from April, 2010

Checking If A File Is Zero Byte in Windows batch

@echo off setlocal set FILE=%1 if not exist %FILE% goto :END for /f "tokens=1-5" %%a in ('dir %FILE%') do call :CHECKFILE %%a %%b %%c %%d %%e goto :END :CHECKFILE if not {%5}=={%FILE%} goto :EOF if {%4}=={0} ( echo It's a zero byte file! ) else ( echo It's not a zero byte file ) goto :EOF :END

Difference between pause (p) and wait (w) dialing

Image
There are two interesting features in every cellphone that can be use to automate dialing to an automated telephone receiving system. System like this are most often used in help desk, calling card or your home alarm system.Using these two features you don't have to remember your pin code or manually dial the option numbers prompted by the automated system. Nokia 5800 XM In Nokia phones, these two functions can be access by pressing the "*" three times for pause (p) and four times for wait (w). Samsung Galaxy Note 4 In Samsung Galaxy Note 4, these two functions can be access from the drop down menu at the top right of the dialer (3 vertical dots). pause (p) Pause stop the dialing for two seconds. For example if you dial "12345p67890", the phone will dial "12345" then pause for 2 seconds. After the two seconds, it will continue to dial the next "67890" sequence. If you need more than two seconds delay, just input another (p) for extra two seco...

Enabling Facebook Chat in Pidgin

Image
Basic Tab Protocol: XMPP Username: Facebook Username (http://www.facebook.com/username/) Domain: chat.facebook.com Password: Facebook Password Advanced Tab Uncheck "Require SSL/TLS" Connect Port: 5222 Connect Server: chat.facebook.com References: How to enable Facebook Chat in Pidgin using XMPP Official Facebook developer announcement for Facebook chat in XMPP

Increase Kinetic Scrolling Speed in Nokia 5800 XM

This tweak will increase the speed of the kinetic scrolling in the Nokia 5800 XM. The Tweak (the phone need to be hacked in order to access the c:\private): Copy " 20021192.txt " from Z:\Private\10202be9 to C:\Private\10202be9 and change the values as shown as below: Default Value 0x1 int 8 0 cap_rd=alwayspass cap_wr=alwayspass 0x2 int 10 0 cap_rd=alwayspass cap_wr=alwayspass Modified Values 0x1 int 6 0 cap_rd=alwayspass cap_wr=alwayspass 0x2 int 8 0 cap_rd=alwayspass cap_wr=alwayspass Recommended kinetic scrolling values for music player and gallery Definition: 0x1 = Value 8-0 = Scrolling Speed Controlls, If 0 No Speed Just Scroll. 0x2 = Value 10-0 = Controls Deceleration If 0 Scrolls Constant Speed Until Start / End Appear 0x3 = Value 50-0 = If Scrollbar Exits List Start / List End, List Never Get Back To Default Position When 0 0x4 = Value List End Start BOUNCE BACK / SURFACE End RIGIDITY FACTOR If 0 Over Bounce Occurs. 0x5 = Value 50-0 = UNKNOWN 0x6 = Value 25-0 = Cli...