Aggregator

<< 2008 < March April 2009 May > 2010 >>
SunMonTueWedThuFriSat
   1
Show All Network Services

Show all network services listening on the system and their PID netstat -tupl


2
Zip Command in Linux

Command to create a zip file from a given folder. zip -r File.zip Folder/


3
Error Connecting to MySQL using Ruby on Rails in Linux - and its Solution

I am currently working on a new Rails project. Its been a while since I worked with rails - so I updated Rails using the command 'sudo gem update --system'. I started the inbuilt server and tried to open a page - and to my surprise, I found that Rails is having trouble connecting to the MySQL server. It was apparent that the mysql gem was missing. So I tried to install it using the command 'sudo gem install mysql'. That failed too - this is the error I got...


4
Incremental Backup with tar

Make a incremental backup of directory ‘/home/binnyva’ tar -Puf backup.tar /home/binnyva


5
Show iptables chains

Show all chains of filtering table iptables -t filter -L


6
Show All HTTP Traffic

Show all HTTP traffic tcpdump tcp port 80


7
Find Current DNS Server

The DNS servers are in the /etc/resolv.conf file - cat it to find what they are. You can edit to too - just edit the file… cat /etc/resolv.conf


8
Naked Day - Disabling CSS for the Day

Keeping with tradition, this site will be baring all on 9th April 2009. If you haven't heard about Naked day, this should be enlightening...


9
Article Templates WordPress Plugin

Article Templates wordpress plugin lets you create templates that can be used when writing a new post or page. This will be very useful if you are writing many post with the same structure.


10
Find Current Path

Use this command to find the current path… echo $PATH


11
Set Path

Adding a new folder to the current path… export PATH=NEW_FOLDER:$PATH


12
Customizing the Terminal: 5 Configuration Settings in Bash that makes you a CLI Power User

There are some settings that are very useful if you work on the terminal a lot. Many of the cool ones are not enabled by default - this is a small list of the configuration settings that I use to make my terminal usage more productive.


13
A Code Study of the Mikeyy Twitter Worm

I am an active twitter user - and when I saw that many twitter profiles have been affected by the Mikeyy worm, I wanted to take a look at the code behind the worm. This post will help you understand the basic working of the worm.

Read 'A Code Study of the Mikeyy Twitter Worm'...


14
Sort by Line Length

Sort file by line length. Original Article… cat /etc/passwd | awk '{print length, $0}' | sort -n | awk '{$1=""; print $0 }'


15
April 2009 Cochin Tweetup

Its time once again for the twitter community of Cochin to meet up. After last meet's success we had all decided to meet once in a month. So lets meet on 18th of April(Saturday) at 5 PM at Take one cafe at Convent junction. The cafe provides free wifi(according to @sid88). So don't forget to bring along your wifi devices. And maybe we can even watch the IPL match. Follow the tweets at the #coktup(lol) hash tag. Feel free to contact Sid at @sid88 or sidharth.vijayan at gmail or 9895880452.


16
Stress Test Apache with ab

Stress test your apache web server with the ap tool… ab -n 200 -c 50 http://localhost/ n = number of request, c = concurrent reqests


17
Show Related Post in WordPress Without a Plugin

Related posts is a very popular feature. My default wordpress installation often includes a plugin that has this functionality. There are quite a few plugins that lets you have this feature.


18
Second Cochin Tweetup: A Report

The second Cochin tweetup took place today - and it was a great Success. Success with a Capital S. We had 20 tweeps - and the whole meetup stretched to over 4 hours! Thanks goes to @sid88 for organizing the meet.


19
git push

Command to push the current repository in git to a online server git push


20
BarCamp Kerala 5 on 3rd May at Technopark

Its BarCamp time again in Kerala. The venue this time is Technopark campus(Trivandrum) - and the date is 3rd of May 2009. At the moment, we have 106 attendees and 16 sessions(includes one by yours truly).


21
List Files Provided by Package

Show list of files provided by a rpm package installed rpm -ql package_name


22
Pollin WordPress Plugin

Pollin wordpress plugin will let you add polls to your blog. It can be shown to your visitors who will be able to vote in the poll. You can add the poll in a post by including the html comment <!-- POLLIN 1 --> in the post. Here 1 is the ID of the poll to be shown.

Read 'Pollin WordPress Plugin'...


23
Double space a file using Ruby

Double space a file with Ruby using the command ruby -pe 'puts' < file.txt


24
BarCamp Kerala Part 5

From the producers of BlogCamp Kerala and BarCamp Kerala 1, 2, 3 and 4 comes the latest blockbuster... BarCamp Kerala 5


The First Kerala Twicnic

The First Kerala Twicnic. The second ever Twicnic in India (first one was in Mumbai).


25
26
Customizing the Terminal: 6 Command Line Tips and Tricks

A few tips and tricks on the terminal to make you more efficient when using it. If you know of any other tips, add it in the comments section.


27
Start a new Django Project

Command to start a new Django project… django-admin.py startproject [PROJECT_NAME] cd [PROJECT_NAME] python manage.py startapp [PROJECT_NAME]


28
Install LAMP Stack on Ubuntu/Debian

Install LAMP Stack on Ubuntu/Debian using apt-get sudo apt-get install openssh-server openssh-client apache2 libapache2-mod-php5 php5-cli php5-common php5-cgi mysql-client mysql-common mysql-server php5-mysql php5-sqlite php5-gd phpmyadmin


29
TwitterKerala’s Official Twitter ID: @tweetkerala

For some reason, Twitter has banned Twitter Kerala's id - @twitterkerala(no longer active). So I have created a new twitter ID for twitterkerala - @tweetkerala.


30
Django server on custom Port

Running Django server on a custom Port python manage.py runserver 8001