Archive for December, 2008

Query Google Finance From the Command Line

This is a one line bash script I wrote to query a stock’s price from Google Finance. It uses wget to get the HTML page from Google Finance and then grep and cut to extract the stock’s price. The script is based on the current HTML format of the Google Finance pages and might not work if Google decide to change this format (It’s easy to modify, though).

To have the script:

Open your favorite text editor (mine is vim), and type/paste this:

› Continue reading

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: , ,

Friday, December 26th, 2008 Command Line No Comments

Use Jemdoc to Create Static HTML Pages

Jemdoc Is a tool (in fact, it’s a python script) that I discovered about a year ago, but had time to test it only recently.  Its purpose is to create a clean and standard compliant HTML pages in a very short time. Its syntax is easy to learn (In fact, I’m not sure that “syntax” is the appropriate word for this, since it’s much simpler than a “regular” syntax).

Anyway, I decided to write the complete post about Jemdoc using Jemdoc itself :) , so the rest of this post is located here.

Enjoy :)

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: ,

Thursday, December 25th, 2008 Web Development 1 Comment

Add Colors to Your Manpages

I use the manpages a lot. Manpages are a very useful database of information for linux users and developers. The problem with them is that their appearance becomes boring after a while.

I already wrote a post about reading them from firefox, so they’re displayed in a nice way as html pages.

In this post we’ll add colors to the manpages viewed from inside the shell.

First, open your ~/.bashrc file. To open it with gedit you can type:

gedit ~/.bashrc

› Continue reading

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: , ,

Monday, December 15th, 2008 Linux 4 Comments

View the Manpages in Firefox

A cool way to view manpages in linux: View them as html (with color) in firefox.

First, you need to install a program called man2html. Doing this in Ubuntu is as easy as opening a terminal and typing:

sudo apt-get install man2html

Now, that you have this program installed, open your firefox.

› Continue reading

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: ,

Monday, December 15th, 2008 Linux 3 Comments

Did You Notice the New Task Manager in Gmail?

As usual, Google releases a new great feature/service, silently, and after a while it becomes so popular. In fact, this is one thing that I love about Google: You always have to look for new features and new services, they won’t let you know unless you actively want to know.

Anyway, recently I discovered a very cool (and useful) service in GMail: A Task Manager built-in GMail, with a minimal and simple UI (this is one other thing that I like in Google).

› Continue reading

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: ,

Monday, December 15th, 2008 Productivity No Comments

The Power of Polymorphism (Video)

This video is part of “The Clean Code Talks” series, which is itself a part of the great “Google TechTalks”.

The video shows the strength of using polymorphism instead of switch statements and “if” conditionals, to get a much cleaner cleaner code, allowing it to be more readable, testable and maintainable.

One of the best videos I watched in this series.

› Continue reading

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: ,

Monday, December 15th, 2008 Programming No Comments

Command Line Tools I Like

Though my love with Linux started because its GUI, especially compiz fusion, I discovered through time that Linux’s power is in its command line, almost every thing can be done from there, easily, clean and fast.

Here is a list of the command line tools I use most of the time:

› Continue reading

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit Post to StumbleUpon

Tags: ,

Monday, December 1st, 2008 Command Line 2 Comments
my email
my photo
Hi,
My name is Amir Watad. I have a BSc. in biomedical engineering from The Biomedical Engineering school , Technion , Israel, and a BSc. in electrical engineering from The Electrical Engineering school , Technion , Israel.
I'm a Verification Engineer in Mellanox Technologies Ltd.
I love Linux, the Command Line and the OpenSource Community.
I used to write Poems (Arabic) when I was able to find time for this.
December 2008
S M T W T F S
« Nov   Jan »
 123456
78910111213
14151617181920
21222324252627
28293031  
SEO Powered by Platinum SEO from Techblissonline

Twitter links powered by Tweet This v1.7.4, a WordPress plugin for Twitter.