Monday, September 14, 2009

gt5: Disk Usage Browser for Ubuntu Linux


gt5 is a graphical alternative for command line Disk usage utility "du". It is very useful for finding the size of each folders in your system.

$ sudo apt-get install gt5
  • displays the diskspace used by files and directories within a directory
  • optionally provides links to the files, so you can also browse them
  • displays entries with their size and the percentage of their parent
More details and usage see here

Sunday, September 13, 2009

Famous Personalities of Computer Science - Part2


Famous Personalities of Computer Science - Part2


John von Neumann (von Neumann's Architecture)


Von Neumann built a solid framework for quantum mechanics. He also worked in game theory, studied what are now called von Neumann Algebras, and was one of the pioneers of computer science.

The term computer architecture describes the layout of the machine. All computers use the von Neumann model, named after the American who suggested it.
read more


Tim Berners-Lee ( Founder of World Wide WEB (www))

A graduate of Oxford University, England, in 1989, Tim Berners-Lee invented the World Wide Web, an internet-based hypermedia initiative for global information sharing while at CERN, the European Particle Physics Laboratory. He wrote the first web client and server in 1990. His specifications of URIs, HTTP and HTML were refined as Web technology spread. More Here


Kenneth Lane Thompson & Dennis Ritchie ( Unix OS and C language)

In the 1960s, Thompson and Dennis Ritchie worked on the Multics operating system. While writing Multics, Thompson created the Bon programming language. The two left the Multics project when Bell Labs withdrew from it, but they used the experience from the project, and in 1969, Thompson and Ritchie became the principal creators of the Unix operating system. At this time, Thompson decided that Unix needed a system programming language and created B, a precursor to Ritchie's C. Read More

Bjarne Stroustrup (C++ Language)

Bjarne Stroustrup is the designer and original implementer of C++ . Dr. Stroustrup is the College of Engineering Chair Professor in Computer Science at Texas A&M University. Read More Here





Anders Hejlsberg (Delphi, C# Language Developer)


Anders Hejlsberg (born December 1960) is a prominent Danish software engineer He was the original author of Turbo Pascal, the chief architect of Delphi, and currently works for Microsoft as the lead architect of the C# programming language.






Larry Wall (Perl Programming Language)

Larry Wall (born September 27, 1954) is a programmer and author, most widely known for his creation of the Perl programming language in 1987.

Read More

Howto Block YouTube Video in Squid Proxy Server

Youtube Videos are Bandwidth eaters for Limited bandwidth Internet users. Education Institutions also need to block Youtube videos. Here a simple trick for blocking youtube videos using squid Proxy.

Add the following line to /etc/squid/squid.conf

## The videos come from several domains so block all
acl blk_youtube dstdomain .youtube.com .googlevideo.com .ytimg.com

http_access deny blk_youtube

Friday, September 11, 2009

Famous Personalities of Computer Science - Part1


Famous Personalities of Computer Science

I am trying to collect photos of Famous Personalities of Computer Science.


Charles Babbage
(Father of Computer)
Famous mathematician, philosopher, inventor and mechanical engineer who originated the concept of a programmable computer.













Blaise Pascal (Father of Programming Language)

French mathematician, physicist, and religious philosopher










Alan Turing ( Father of Computer Science)



Alan Turing was conceived in Chhatrapur, Orissa, India.[4] His father, Julius Mathison Turing, was a member of the Indian Civil Service. Read More Here






Gordon Moore ( Moor's Law)


Several measures of digital technology are improving at exponential rates related to Moore's law, including the size, cost, density and speed of components.








Claude E Shannon (Father of Information Theory)

Claude Elwood Shannon, the mathematician who laid the foundation of modern information theory while working at Bell Labs in the 1940s, died on Saturday. He was 84.

Read More Here






John Warner Backus ( Founder of FORTRAN)


John Warner Backus (December 3, 1924 – March 17, 2007) was an American computer scientist. He directed the team that invented the first widely used high-level programming language (FORTRAN) and was the inventor of the Backus-Naur form (BNF),
More

Thursday, September 10, 2009

HowTo Run Squid Proxy Server in Windows XP

Some of My Friend asked How they can run the world famous Linux Proxy server Squid in Windows XP.

It is better to use Linux for this purpose. , You can make an experiment in your windows and switch to Linux.

installing squid on windows

Download squid for windows from :

http://squid.acmeconsulting.it/download/squid-2.6.STABLE18-bin.zip

Full Installation Instructions are in the documentation.

Change the c:\squid\etc\squid.conf from the default :

acl home src 192.168.0.0/255.255.255.0 # (change it for your subnet)

http_access allow home

cache_dir aufs c:/squid/var/cache 1000 16 256

dns_nameservers 208.67.220.220

run the following commands :

mkdir c:\squid\var\cache

c:\squid\sbin\squid -z

Done,
Now your squid is ready.

squid

Wednesday, September 9, 2009

Howto Create A RAMDISK in Ubuntu / debian Linux

Some times we need to create Ramdisk for temporary use. Very easily you can make a ramdisk. it is lightning fast, because it is in RAM.

Open a Terminal


$ sudo mkdir /mnt/ramdisk

$ sudo mount -t tmpfs none /mnt/ramdisk

Sunday, September 6, 2009

Howto recover gnome-panel (disappeared Application Menu, Places Menu and System Menu ) in ubuntu / debian Linux

Reseting Gnome Settings

If your gnome-panel corrupt , Application Menu, Places Menu and System Menu and some other menu items will disappear.
How to recover it

Boot the system upto Login Window. Press Ctrl + Alt+F1

Now You will get a Text based login screen

login with your username and password

now you will get a $ prompt.

Type the following Command

$ rm -rf .gnome .gnome2 .gconf .gconfd

Now Press Ctrl + Alt+F7

and login Gnome. Every thing appear in the menu bar.

Howto Create Bootable Ubuntu USB Pendrive : An Easy Method

Howto Create Bootable Ubuntu USB Pendrive : An Easy Method

Power users of Ubunto knows howto create a Bootable Ubuntu USB PenDrive. But Newbies have some confusions. From Ubuntu 8.10 onwords Ubuntu included a tool for making usb bootable. It is very simple.
USB Startup Disk creator tool

Requiremets:

1. A USB Pendrive with Minimum 700 MB

2. An Ubuntu CD or Ubuntu CD iso file.

Howto make Bootable USB


Start USB Startup Disk creator tool from System->Administration->Create a USB startup disk.


Either insert your Ubuntu CD, or click Other and browse to your ISO file. Plug in your USB drive. (You can plug USB and Put CD before running program). The software should recognize the pendrive immediately and check that there is enough free space.

Finally, you can choose whether you want your USB system to be persistent between boots( this option is good because your PenDrive will keep Your Documents and Settings in a reserved extra Space ) , or static like a live CD. By Adjusting the slider you can choose how much space Ubuntu will have on the disk to reserve, or select the Discarded on shutdown option for work like a live CD.

Now click on Make Startup Disk. and wait while the USB boot disk is created.

Now Your USB Pendrive is bootable.

Saturday, September 5, 2009

Howto use Windows Shared HP printer in Ubuntu / Debian Linux (using samba)

Most of the Computer Labs in Industry and Education Institutions are equipped with Windows. So Printers are also connected to Windows machines. Here a Simple howto for sharing windows shared printers for Linux users. I have test with a HP1015 printer installed in an Windows XP machine and shared. My linux box is ubuntu 9.04 ( I also tested with ubuntu 8.04, 8.10 , debian 4.0 and 5.0).

First install samba

apt-get install samba

apt-get install smbfs

apt-get install cupsys

after this installations

open a browser and type

http://localhost:631/

you will get a cups administration page

select add printer

then type Name : anything
Location : anything
description : anything

now you will get a dropdown menu

select windows printer via samba

now there is text box Device URI

type smb://shibuscomputer/1015 ( see I have a shared hp 1015 printer at computer name called shibuscomupter and share name of printer is 1015 with permision to all)

after selecting uri u will get a page for selecting make

select your printer make in my case it is HP

next page select model HP Laserjet series PCL 4/5 CUPS v 1.2 (en)

now printer installation is over

you can make a test print now











Friday, September 4, 2009

Howto Install PHP GD (PHP Graphics) support in Ubuntu / Debian

PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including GIF, PNG, JPEG, WBMP, and XPM. Even more convenient, PHP can output image streams directly to a browser. You need to install GD Library for this purpose. Simply you can do this.
If you have a LAMP (PHP. APACHE and Mysql) Installation in your System , you can install GD library using the following .

in Ubuntu /Debian Install the package


$ sudo apt-get install php5-gd ( or use synaptic for installing this package )

Now Restart Your apache

$sudo /etc/init.d/apache2 restart