Thursday, November 10, 2011

How-To: Notepad, Simple "Journal" Trick

So, you want to keep a diary, (or the more manly version, a Journal or Chronicle...). Or maybe you just want to jot down notes, or thought of the day, and have them labeled with the date you took them.

Well, here is a fun, neat little trick, and all you need is Notepad.

First of we need to open Notepad.
Start > Programs > Accessories > Notepad


Next Type .LOG at the top, (in all caps), save the file, and close it.

Once you reopen it, you will see the time and date are now added to the second line.


Also, notice, that the cursor is ready on the next line.

Every time you write something new, and save it, it will automatically add the time and date to the next line.


Congrats! You may now start a digital journal on your own computer!


Monday, November 7, 2011

How-To: Screenshot Active Window

A couple of my viewers had asked me, "How do you take a screenshot of just a single window, as opposed to the whole screen..."

It is quite simple actually, and does not require any fancy programs, just a keyboard and Paint...

First, you must have the window active in the foreground, (just click on it to make it active).

Now, rather than just hitting the "Print Screen" key, located just to the right of "F12" and above "Insert", (which would take a screenshot of the whole screen), Hold down the "Alt" key and press "Print Screen".

Now to bring your screenshot to Paint.

Click Start > Programs > Accessories > Paint.


Now press "Ctrl" + "V" to paste it.

Now save the image, and there you go.  A screenshot of just the active window.

Additional Info:
-You may also Paste the screenshot into most E-mails (Depending on your application), or any other application which supports "pasting", (Microsoft Word, Photoshop, etc.)

L2Java: Java Tutorials #1; Setting Up Eclipse

So you want to learn Java? Well, You have come to the right place.  This is the first installment of L2Java, My easy to follow Step by Step guide to Java basics.

Before you begin, you will need to download Eclipse ;

For Ubuntu;

Once you have downloaded and opened it you will see a folder in it called "eclipse".


All you need to do, to extract it is, Click and drag that folder where ever you would like it (I would recommend the desktop).

Now open the folder which you had just extracted and locate the Icon which looks like this;


It will now ask for a workspace;
-Click Browse.
-Click on Desktop.
-Click Make New Folder.
-Call it Tutorials.
-Hit Enter, then hit OK.


And you are now ready to make you first program, "Hello World".

How-To: Install Eclipse - Ubuntu

Open up the "Ubuntu Software Center".

Search "Eclipse" in the quick search bar.

Click more info(Generally recommended before installing, to check ratings and reviews), then click Install
(You may be asked to enter your password).

Wait for it to complete installing, and that's all.


You may now access Eclipse, and begin working with Java.

Download and install.

Get eclipse from its official website and extract it to any directory and make it executable using chmod command.


Now extract it to the directory "/home/your_username" and make the eclipse.sh file executable using the command.
sudo chmod +x eclipse.sh