Archive

Archive for the ‘Software’ Category

Open/Edit .ctp with Dreamweaver CS4

September 3rd, 2010

CakePHP 1.3 default file extension for the views template are in .ctp

If you open up .ctp files with Adobe Dreamweaver CS4, you will noticed that all the codes are in black and white. To make Dreamweaver show the color syntax of PHP & HTML in .ctp files, do the following:

- Navigate to Dreamweaver CS4 Installation folder/configuration/DocumentTypes
- Open up MMDocumentTypes.xml

Search for:

1
winfileextension="php,php3,php4,php5"

Replace with:

1
winfileextension="php,php3,php4,php5,ctp"

Restart your Dreamweaver CS4 if it is running. Open up again and you will notice that .ctp files now has the same color syntax as .php files.

Willie Programming, Software , , ,

Shutdown/Restart/Log Off in Windows

August 27th, 2010

Need a icons to do the above in Windows OS?

Easy! Just create a .bat file and fill in the following:

For Shutdown:

1
shutdown.exe -s -t 00

For Reboot:

1
shutdown.exe -r -t 00

For Logoff:

1
shutdown.exe -l

For Abort Shutdown:

1
shutdown -a

Take note that the -t parameter is the number of seconds Windows take to perform this task. For instance if shutdown.exe -s -t 3600, Windows will takes 1 min before it shut down.

Hope it helps :)

Willie Programming, Software

Windows Registry Repair

August 8th, 2010

Free Window Registry Repair is a refreshingly simple tool for cleaning up your Windows Registry. It lacks the bells and whistles offered by some programs–such as special features for uninstalling programs or managing the Start menu–but thankfully so. This is a program that does something well and doesn’t stray from that success. – From CNET editor’s review

Some screen-shot of using Free Windows Registry Repair:



I personally find that this is better than CCleaner in term of repairing Windows registry as sometimes, CCleaner does not detect any Windows registry errors. Free Window Registry Repair is more thorough in checking errors as well as repairing it.

Links to download a copy of it:
http://www.free-windows-registry-cleaner.com/free_windows_registry_cleaner.html
http://download.cnet.com/Free-Window-Registry-Repair/3000-2086_4-10606555.html

Willie Software

Dropdown menu for WordPress Archives

June 20th, 2010

As your wordpress ages on, the archives list is getting longer and longer. This doesn’t look neat and tidy at all. Hence, just replace the following code:

Original:

1
2
3
<ul>
   <?php wp_get_archives('type=monthly'); ?>
</ul>

Replace with:

1
2
3
4
<select name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'> 
   <option value=""><?php echo attribute_escape(__('Select Month')); ?></option> 
   <?php wp_get_archives('type=monthly&format=option&show_post_count=1'); ?> 
</select>

Disclaimer :: The original archive code should be written in most wordpress theme. Just replace it and you will get:

For more template tags and regarding archives, do refer to http://codex.wordpress.org/Template_Tags/wp_get_archives

Willie Programming, Software

Decrypting CopyRighted DVD

April 22nd, 2010

Some of you might want to rip your favorite DVD movie out after borrowing it from your friend or renting from shop. But the problem is, after you spend so much time ripping the movie out, the movie tends not to play well in your player. There are glitter effects and distort images.

Well, this is because the DVD is copyrighted and protected by CSS (Content Scrambling System). CSS is an encryption method used in commercial DVD production to prevent DVD data from being copied. The sole purpose of the CSS is to protect copyrights by preventing the pirating of DVDs.

Nevertheless, we can make use of DVD Decrypter, which is absolutely free-of-charge, to DeCSS (De-Content Scrambling System). DeCSS is an algorithm that can be used to decrypt a commercially-produced DVD, allowing it to be unlocked then copied. Henceforth, you will be able to rip the movie out and play it without any “funny” effects.

A screen-shot of a movie being decrypt using DVD Decrypter:

Enjoy! :D

Willie Software

Camstudio

April 10th, 2010

Recording stuffs on your desktop? Providing a software demonstration or tutorial? Try CamStudio!

It’s Open Source, free and easy to use!

Source :: http://camstudio.org/

Willie Software

Cannot read from the source file or disk

March 31st, 2010


Having the above problem while deleting file(s)?

Try Unlocker!

Most likely you can delete the file without any frustration! It is very magical and amazing.

Source: http://ccollomb.free.fr/unlocker/

Willie Software

English & Chinese karaoke !

March 10th, 2010

Got Picture Got Talk!!!


It’s called 酷我K歌 !!! Link is at here http://k.kuwo.cn/. However, it is only compatible with Windows OS.

Now you can search every Chinese or English songs, add to your playlist and just sing to your heart’s content without going to Kbox!!! Muhahaha ! And of course, don’t forget that you need to have a microphone connected to your PC!

Willie Software

Firefox Facebook Problem

March 6th, 2010

At times, it is really frustrating that Mozilla Firefox failed to render facebook CSS properly. Henceforth, facebook CSS style goes out of the way.

To resolve this, just go to Tools -> Advanced -> Network -> Clear Offline Storage

Example:

Willie Software , , ,

Firefox Personas

March 4th, 2010

If you have used Google Chrome, you would have understand how Chrome theme works. In Google Chrome, you install a theme without having to restart your browser.

However, all the fonts, navigation icons and so on of the browser will still remains the same. This provides a hassle-proof installation of chrome theme at your fingertips, changing as and when you like.

In Mozilla Firefox, you might have thought that we still need to install the theme, and restart our browser. But now, Firefox has something new called, “Personas for Firefox“.

A screen-shot of how a Hatsune Miku personas looks on my firefox:

You can wear the personas as and when you like. Just like chrome theme, you can switch personas easily without having to restart firefox. And if you wondering what’s the difference between these 2, take a look at difference between firefox theme and firefox personas.

So come on, try out Firefox Personas at http://www.getpersonas.com/en-US/!

Willie Software , , ,