Monday, September 28, 2009

How to Create LIVE USB Linux from Windows XP / Vista

LiLi USB Creater is a tool that help you create a portable and bootable USB stick running Linux system using iso image files. It is not a Linux Utility, It is a free Open source Windows application. This Software is tested for install and configure any of these Linux Distributions : Ubuntu, Fedora, Mint and many others.

Download Lili USB Creater

Official Site

Sunday, September 27, 2009

How to Run DOS Applications and Games in Ubuntu / Debian Linux

DOSBOX RUN DOS APPLICATIONS AND GAMES IN UBUNTU LINUX
The Fundamental Operating System DOS is still alive. For basic study purpose, DOS is Used in most of the Universities. Now Also people like DOS games. The Famous C language Compilers are woking only is DOS. You can Make a virtual DOS environment Linux.

sudo apt-get install dosbox
(Your can use Synaptic Package Manager and search for dosbox)

After Installation you can make a folder xxxxx in your home directory
(eg: $mkdir mydos)

copy your favorite dos programs and games like Turboc, dave, digger etc in this directory

Now you can run dosbox by typing dosbox in a terminal or
by select it from menu

You will get a small dos window with Z:\> prompt

in Z prompt type the following

Z:\>mount c /home/xxx/mydos
This command for mounting your dos directory to C Drive
(in my case my dos files are in /home/shibu/mydos )

Now You are ready for running your dos programms

Z:\> c: ( change drive to c:)
Z:\>dir (this will list your dos files placed in /home/shibu/mydos)

if ther is our old famous digger game

Z:\>digger and Enjoy it.

Thursday, September 24, 2009

How to install Android sdk 1.6 in ubuntu 9.04

Google released android 1.6 sdk. Most of the ubuntu users need to install android for start development for the next generation Mobile devices.



Android SDK is built around Java . So, you have to install Sun Java before trying to install Android. Look at this post for details about installation of sun java development kit on ubuntu 9.04.

Here you can see a very good tutorial for installing android 1.6 sdk

Tuesday, September 22, 2009

View Some Magic with Ubuntu Easter Eggs

Easter eggs are messages, videos, graphics, sound effects, or an unusual change in program behavior that sometimes occur in a software program in response to some undocumented set of commands, mouse clicks, keystrokes. Here You can see some simple easter eggs in Ubuntu.

OpenOffice Easter Egg


Select OpenOffice Spreadsheet

Applications-->Office-->OpenOffice.org Spreadsheet

Type the following in an empty field

=GAME("StarWars")

Gnome Easter Egg

Type the following in Login Screen when it ask for username

Require Quarter Then press enter

nothing will happened


now you can enter your username and password as usual

now you can see a surprise before login

don't worry press OK to continue

Wednesday, September 16, 2009

Howto Extract camera settings and Picture information from a image file using ExifTool in Ubuntu Linux

ExifTool is a Perl module with an included command-line application
for reading and writing meta information in image, audio and video
files. Modern Digital Camera including Canon, Minolta,Konica, Nikon, Pentax store all the settings you used, such as aperture or shutter speed along with the picture. For extracting the camera settings and Picture information , you can use ExifTool. ExifTool is requred for profesional editing of some Picture Files.

Howto Install in ExifTool ubuntu
Open a terminal and type the following

$ sudo apt-get install libimage-exiftool-perl

Check a image file for its settings

$ exiftool UNS_1850.JPG
ExifTool Version Number : 7.30
File Name : UNS_1850.JPG
Directory : .
File Size : 4 MB
File Modification Date/Time : 2009:08:21 11:25:32
File Type : JPEG
MIME Type : image/jpeg
Exif Byte Order : Big-endian (Motorola, MM)
Make : NIKON CORPORATION
Camera Model Name : NIKON D200
Orientation : Horizontal (normal)
X Resolution : 300
Y Resolution : 300
Resolution Unit : inches
Software : Ver.2.00
Modify Date : 2009:08:21 10:55:30
Y Cb Cr Positioning : Co-sited
Exposure Time : 1/200
F Number : 10.0
Exposure Program : Manual
ISO : 200
Exif Version : 0221
Date/Time Original : 2009:08:21 10:55:30
Create Date : 2009:08:21 10:55:30
and more................

Tuesday, September 15, 2009

5 Exciting 2D Graphics Design tools for Ubuntu Linux

Ubuntu linux is rich with exciting graphics utilities, Here you can see simple but very useful 2D Graphics Design tools for Ubuntu Linux. Yes welcome to the fantastic world of ubuntu graphics.


Xara Xtreme, ( apt-get install xaralx) This is simple, easiest vector graphics drawing program. It is very userfiendly, it is very nice, which is not usual in this kind of applications.


Ktoon, (apt-get install ktoon) KToon is a 2D Animation Toolkit designed by animators (Toonka Films ) for animators, focused to the Cartoon Industry.

Synfig, (apt-get install synfig synfigstudio) Synfig is a powerful, industrial-strength vector-based 2D animation software package Beware you have to apt 2 packages: synfig (the application) and synfigstudio (the graphical interface to use it), so install both.


Skencil, (apt-get install skencil) Skencil, another good vector graphics drawing application. It has many clipart libraries included. Features like Bézier Curves, Transformed text and images, Bézier curves, rectangles and ellipses can be used as guides, Gradient fills, Blend groups, Writes EPS files


MyPaint, Although it lacks of layers, it is a simple but superb natural painting program. It has many interesting artistic brushes, and you can do your own. The brushes are pressure sensible , supports unlimited canvases, undo's making of it a very "living" and artistic way to paint. Download deb package from here dpkg -i packagename

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