Sunday, June 26, 2011

HelloWorld in Bash Scripting

echo Hello World!
Create a Document > Empty File > Copy and Paste > File > Save As or rename > (file).sh


HelloWorld with Batch Scripting


@echo off
echo HelloWorld!
Create a Text Document > Copy and Paste > File > Save As > (name).bat

Double Click on the .bat to run it.

or go to Command Prompt, cd (folder that file is in) then (file).bat

Thursday, June 16, 2011

How to use Old Addons in Mozilla FireFox

DISCLAIMER: This does not work for all addons!

When going to a Mozilla FireFox add-on download page (eg., the extension does not work on my 4.0.1 browser. Check your FireFox version by clicking Help > About FireFox.

We must change its compatibility by downloading the add-on. Dont click download directly because it tries to install the addon and will say the version is too old, so Right Click and Save Link As.. and save the ".xpi" file. (eg.

The downloaded ".xpi" file is simply a ".zip" file. Double-click on the file and open it up and edit the "install.rdf" file. Change the "*.*.*" to the version of your browser. (eg. 4.0.*), leave the *(wildcard) at the end for further updates.

Source List

How to add the Force Quit Button in Ubuntu 11.04+

If you use Ubuntu 11.04+ Unity(app panel to the left), you cannot add application shortcuts to the top panel any more. In order to add a Force Quit Button in the apps panel:

Open the "Terminal" and Copy and Paste, hit enter:

gedit ~/.local/share/applications/quit.desktop

Copy and Paste in the Text Document and hit enter:

[Desktop Entry]
Name=Force Quit

Save the Text Document, then open home folder (view > show hidden files), browse to


And drag the quit.desktop onto the launcher

If you are using Gnome (Classic), here is what it would look like:

Friday, June 3, 2011

How to Hack WebAssign's Watch It

If you use WebAssign, sometimes they give you the button to the "Watch It" which are very helpful. However, you might be able to find the watch it to more than just the problems they give you..

If the URL looks like:


Change the URL "SerPSE8_21_033.html"
The "21" is the "chapter" and then the "33" is the "problem number".