21 Apr

QuickShot

in

Take screen shots in your language using an intuitive and semi-automated step-by-step process
Install it:
$ sudo add-apt-repository ppa:quickshotdevs/quickshot-release
$ sudo apt-get update
$ sudo apt-get install quickshot

14 Apr

GCC 4.5.0 released!

in

Status report form From: Richard Guenther

Status
=======
The GCC 4.5.0 release has been created and the branch is now open for regression and documentation fixes again.The release will be announced once the upload to ftp.gnu.org finished and the mirrors had a chance to catch up.

14 Apr

An ants journey in a planet called IBM

in

Most of us would have attended many conferences and seminars, with an agenda a topic too and yes indeed lunch and back home, but it was a year back when i read the mail which said , "Come, join this innovative unconference session anchored by IBM developerWorks. Because You Matter. ", it was called Unconference!

Wondering what an Unconference is i asked Mr.Google who had then returned an IBM link to the same event!
But today there are many links, wikis and many other social networking updates on the same, the same is making it clear what impact does an Unconference can have.

07 Apr

Go on ubuntu

in

Go is a compiled, garbage-collected, concurrent programming language developed by Google Inc.

Below is a simple script to intsall it:

31 Mar

Generate unique random alphanumeric strings ruby

in

There are many ways to achieve the same, after meddling with different ways and from the help of few ruby clans, I could decide upon the most reliable and the best way to achieve this as below.

Logic:
Given a length 'len', here its 6 generate a series of unique random strings. Makes use of rand() with max value as 36^@len -1
As [a-z] and [0-9] makes 36 chars and to_s(base=10) along with a simple right justification rjust()

From docs :

rand(max=0) => number

20 Mar

Google's web application security scanner

in

skipfish - web application security scanner
"Skipfish is an active web application security reconnaissance tool. It prepares an interactive sitemap for the targeted site by carrying out a recursive crawl and dictionary-based probes."

Installing skipfish :

Get libidn
wget -qO - "http://ftp.gnu.org/gnu/libidn/libidn-1.18.tar.gz" | tar zxf - && cd cd libidn-1.18 && ./configure && make && sudo make install
Get skifish
wget http://skipfish.googlecode.com/files/skipfish-1.05b.tgz | tar zxf - && cd skipfish && make

12 Mar

Script to install Oracle

in

Simple hack to install oracle on Ubuntu

#!/bin/bash
sudo sh -c 'echo "deb http://oss.oracle.com/debian unstable main non-free" >> /etc/apt/sources.list'
wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install oracle-xe
sudo /etc/init.d/oracle-xe configure
cat >> $HOME/.bashrc << 'EOF'
ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_HOME
export ORACLE_SID=XE
EOF

To test if its working fine

CLI twitpic

  1. #!/bin/bash
  2. #==================================================================
  3. #
  4. # FILE: cli-twitpic.bash
  5. #
  6. # USAGE: ./cli-twitpic.bash
  7. #
  8. # DESCRIPTION: Allows you to upload pic from cli to twitpic and # also update the same as you status in twitter
  9. #
  10. # OPTIONS: ---
  11. # REQUIREMENTS: ---
  12. # BUGS: ---
  13. # NOTES: ---
  14. # AUTHOR: Hemanth H.M (), hemanth.hm@gmail.com
  15. # VERSION: 1.0
  16. # CREATED: 03/06/2010 01:45:02 AM IST
  17. # REVISION: ---
  18. #=======================================================

Insert into mysql DB from text files

  1. #!/bin/bash
  2. #==================================================================
  3. #
  4. # FILE: insertDb.sh
  5. #
  6. # USAGE: ./insert.sh
  7. #
  8. # DESCRIPTION: Illustration of inserted data from text to DB
  9. #
  10. # OPTIONS: ---
  11. # REQUIREMENTS: ---
  12. # BUGS: ---
  13. # NOTES: ---
  14. # AUTHOR: Hemanth H.M (), hemanth.hm@gmail.com
  15. # VERSION: 1.0
  16. # CREATED: 03/06/2010 12:30:36 AM IST
  17. # REVISION: ---
  18. #=================================================================#
  19. #Example scenario assume a list with words and meanings with spac