Sukhbir Singh

One Day, I Am Gonna Grow Wings, A Chemical Reaction. Hysterical And Useless . . .

Archive for the ‘Information’ Category

Freeeeeeeeeeeeeeeeeeee!

with 3 comments

Now time for some fun. Which includes going out and writing some kewl programs. I love this life!

In BTW, if music is for the soul, then this is it:

The song is With Or Without You by U2 from the album ‘The Joshua Tree’

Can’t understand how people manage to live without music! Seriously. In BTW, check out the

Music

page on the top.

Written by Sukhbir

April 9, 2007 at 8:39 am

Posted in Information

Compilers

with 2 comments

Here is a nice little post on where to get the most common programming language compilers. As has happened in the past, on the request of a friend..

1. C -  GCC {gcc.gnu.org}

2. C++ – Dev C++ {www.bloodshed.net/devcpp.html}

3. Assembly – MASM {www.masm32.com}, FASM {flatassembler.net}, NASM {nasm.sourceforge.net}

4. JAVA – JAVA JDK {java.sun.com/javase/downloads/index.jsp}

5. Pascal - Free Pascal {www.freepascal.org}

6. Python – {www.python.org}

7. SML - {www.smlnj.org}

8. Visual Basic.NET, ASP.NET, Visual J#, C# – Microsoft Visual Studio {msdn.microsoft.com/vstudio}

9. HTML - No compiler needed. Simply code in Notepad and save as .HTML.

A surprising thing I have noted – most of the compilers are programmed in the language they are used for compiling!

Written by Sukhbir

August 13, 2006 at 5:40 pm

Partitioning HardDisks – A Tutorial

with 3 comments

This post is for my friend – Faraz, who called me up and asked me about this. So here it is.

Why Partition?

Let us imagine a scenario in which you only one partition (C:\) on your PC. And you have everything on it – all your Mp3s, movies and other documents.

The problems with a single partition are many – your OS can get corrupted, a virus which can’t be removed (yes!), a root-kit or some other problem which is forcing you to format your hard-disk. In such a case, you will lose your all data or you will be forced to backup folder-by-folder to another media – which is a tidy process itself.

This is where partitioning comes in. You have different partitions for everything. One for the OS, the other for the data and someother for your music collection.

In this way, you can safely reinstall your OS – and preserve your data.

How To?

The most common partitioning tool is Partition Magic by Norton, though it is paid (expensive)

I recommend an open source alternative (as usual) called GParted which is based on the Linux kernel. It is fast, easy and FREE.

Go over to http://gparted.sourceforge.net and download the ISO (30 MB, fits on a biz-CD). Burn it to a CD and then boot your PC from the GParted Live CD. It will allow you to create, move or resize your partitions.

Common filesystems :

Windows – FAT,  FAT32 and NTFS

Linux – ext2, swap

BTW, found a very good blog related to daily health problems. I suggest you go over and read it! Health Blog

Written by Sukhbir

August 3, 2006 at 9:07 pm

Embedding YouTube Videos

with 17 comments

This post is specially for F Ahmad {www.punjaban.wordpress.com}, a mysterious Punjabi!

A simple and nice explanation on how to embed videos from Youtube.com on your WordPress blog.

First, head over to youtube.com and browse to the video of your choice. Next, copy the URL (the address) {can be found under the 'About Video' column or the address field of your browser}

{For example: http://www.youtube.com/watch?v=5ii_ewMk5X8}

Then, in your post editor, simple write:

Taking the above example:

That is all! Enjoy!

Written by Sukhbir

June 18, 2006 at 5:52 pm

Virtualization

with 6 comments

I had heard about something called Virtualization: to run multiple Operating Systems simultaneously. I had nothing else to do, so decided to give this a shot.

First, as always I went over to Wikipedia and here is what I found.

I decided to try VMware, downloaded a trial version and then I was raring to go.

The host operating system was Windows XP. I installed Windows 98 SE as guest operating system and here I was! Running two Operating Systems side-by-side! It looked way too cool!

Then I installed Ubuntu. So now I am running 3 Operating Systems: at once. :D

The good thing about virtualization is that the guest operating systems are isolated from the host operating system. The guest OS can be used for software testing and to run software that you doubt about. (The best example: software cracks)

Screenshots:
1. Windows 98SE on Windows XP.

2. Ubuntu Linux on Windows XP.

Written by Sukhbir

May 28, 2006 at 4:48 pm

Run Multiple Instances of GTalk

with 12 comments

If you've got many Gmail accounts and don't want to keep logging on and off them every time you switch, a simple command line parameter in the Google Talk shortcut can solve your problem.

  • First, create one copy of the Google Talk shortcut on your desktop – leave the original intact.
  • Right click on this shortcut and choose Properties. The Target box will show you the path of the EXE for Google Talk – something like "C:\Program Files\Google\Google Talk\googletalk.exe"
  • Change this to: "C:\Program Files\Google\Google Talk\googletalk.exe" /nomutex
    and click OK.

{ FOR SCREENSHOT, CLICK HERE }

You will now be able to run multiple instances of Google Talk with different identities for each.

Written by Sukhbir

May 26, 2006 at 8:00 pm

Zip Tool

with 8 comments

For all those who are still using WinZip (whether you paid for it or whether you are using a pirated version; that is a different story), there is a better alternative that supports more formats and is absolutely free.

7-Zip is the software and it supports the RAR format (WinZip doesn’t) It is free and distribution is under GNU License.

Download and see for yourself: www.7-zip.org

Also: TugZip (www.tugzip.com) and WinACE (www.winace.com)

Written by Sukhbir

February 19, 2006 at 9:16 am

Opening multiple webpage tabs on Firefox startup

with 14 comments

Here is how to open multiple websites (tabular form) automatically when Firefox starts up. I think it is pretty useful.
Procedure:

1. Start Firefox and click on Tools menu and then choose Options.
2. Click on the General tab.
3. Click on the text box in front of the Homepage – Location(s) group. (screenshot)

[CLICK HERE TO VIEW SCREENSHOT] {opens in new window}

4. Type the address of the webpage you want to load when Firefox startups. To enter multiple webpages, seperate them using the vertical bar | (SHIFT+\) Add as many webpages as you want.

EXAMPLE: To open Google.com and Gmail.com on startup, type:

www.google.com | www.gmail.com

(see screenshot)
Alternative (Better):

Load all the favourite pages in seperate tabs. Then choose:

Tools> Options> General Tab> Homepage – Locations(s) > Use Current Page

Using this, Firefox will load all the current open pages on startup.

UPDATED (Thanks to Aqeel):

You can also use SessionSaver, a Firefox extension that takes care of a lot of other things also. Highly recommended.

Written by Sukhbir

February 13, 2006 at 6:19 am

How to Access Blocked Websites

with 5 comments

This is not working. If anyone has any explanation, please put it in the comments section

Visit: www.proxywiz.com
It works!
Read the rest of this entry »

Written by Sukhbir

January 28, 2006 at 11:10 am

Fantabulous!

with 4 comments

When I started with my blog, I usually got a measly 5-10 hits per day.

The most probable reason being that no one cared about all the science fiction stuff I wrote. Or no one understood! But now, I think that has changed. People appreciate what I write.

And how can I say this?

Because when yesterday I checked my blog stats, I found (to my utter surprise) I had got an incredible ‘119′ hits on 9th January alone!

Now this is some achievement. Keep up the good work!

Written by Sukhbir

January 12, 2006 at 12:01 pm

Posted in Information