Tuesday, December 6, 2011

How to convert Android mobile 3gp audio files to MP3 files on Windows


  • Copy all the *.3gp files to Windows
  • Install FFMPEG on Windows
  • Start Command Prompt and change to the directory with the 3GP files
  • Enter

    for %a in (*.3gp) do ( ffmpeg -i %a -ar 22050 %a.mp3)

Monday, September 5, 2011

Setting a default custom page zoom or Google Chrome

Go to :

C:\Documents and Settings\\Local Settings\Application Data\Google\Chrome\User Data\Default\User StyleSheets

Open up Custom.css

insert :

body {zoom: 1.25}

Save, and every page will now be be zoomed  X 1.25

Tuesday, August 2, 2011

To recursively find all the files in a folder tree

xcopy C:\MyFolder\*.doc /S /L

will list out all .doc file in C:\MyFolder and all subfolders

Thursday, July 14, 2011

Rename a file with date and time as the file name in a Windows batch file

ren yourfilename.txt %date:~6,4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%.txt

Sunday, May 29, 2011

Getting PHP cURL to work in MoWes

Copy php_curl.dll, php_gd2.dll, ssleay32.dll to apache\bin.
Enable extension=php_curl.dll in php.ini
Restart apache

Monday, May 9, 2011

Running Windows Scheduled Task Batch File Minimized

  • For the batch file "MyBatchFile.bat", create a shortcut : "C:\Shortcut to MyBatchFile.bat.lnk". 
  • Goto to the properties of the shortcut file and set the Run window state to "Minimized".
  • In the Windows Scheduler, create a task.
  • Browse to the shortcut, and finish creating the scheduled task.
  • When you are done, go back the the schedule tasks and edit the properties of the "MyBatchFile" scheduled task.
  • Replace the filename of "C:\MyBatchFile.bat" with the filename of the shortcut :"C:\Shortcut to MyBatchFile.bat.lnk"
Your schedule task will now run minimized.

Thursday, May 5, 2011

Change Linux timezone


ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime 

Wednesday, May 4, 2011

Enabling Permalinks in Wordpress

Make sure the following is in Apache's httpd.conf:

RewriteEngine on
AllowOverride All

Saturday, March 12, 2011

Running Windows control panel apps from the command line


Control panel tool

Command

Accessibility Options

control access.cpl

Add New Hardware

control sysdm.cpl add new hardware

Add/Remove Programs

control appwiz.cpl

Date/Time Properties

control timedate.cpl

Display Properties

control desk.cpl

FindFast

control findfast.cpl

Fonts Folder

control fonts

Internet Properties

control inetcpl.cpl

Joystick Properties

control joy.cpl

Keyboard Properties

control main.cpl keyboard

Windows Messaging

control mlcfg32.cpl

Microsoft Mail Post Office

control wgpocpl.cpl

Modem Properties

control modem.cpl

Mouse Properties

control main.cpl

Multimedia Properties

control mmsys.cpl

Network Properties

control netcpl.cpl

Password Properties

control password.cpl

PC Card

control main.cpl pc card

Power Management

control powercfg.cpl

Printers Folder

control printers

Regional Settings

control intl.cpl

Scanners and Cameras

control sticpl.cpl

Sound Properties

control mmsys.cpl sounds

System Properties

control sysdm.cpl

Friday, March 4, 2011

Excellent 3GP converter

Pazera Free 3GP converter

Dropbox is simply awesome

Free 2 gigs, sync'd with your smartphone, desktop and web. saved my bacon more than once. Just get it!
 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn