What a lovely OS
Posted on October 23, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Really, What a lovely OS is Debian.
I must admire its technical design. Recently I had to wipe out my hard drive
for some reasons. I had put a lot of effort into selection of packages and
configuration as per my taste.
And guess what, re-installation is a cool breeze in Debian. Every setting
and every package (from multiple sources) were back. I use a mixture of
Testing + Unstable + Experimental + (Some other apt sources) on my laptop.
[Read More]MacInDell
Posted on October 12, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Just how would it look if Mac were to come with Dell laptops.
The screenshot might give some picture.

The beauty of blogging
Posted on October 2, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Today, I’m quite happily influenced by blogging. Different people have
different ways of defining and using this new trend.
For me, it was always difficult to store small documents for system
configuration and tips for making life simpler with computers. Earlier I ended
up with having multiple documents in my machine.
With blogging, I can dump all my small documents in my blog and have it
readily available when and where required. The other beauty is that it is well
open for others who could find it useful.
Putting Debian packages on hold -- The dpkg way
Posted on October 2, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
At times, for people like me who use a heterogeneous set of packages, it
becomes necessary to put certain packages on “hold” so that nothing breaks.
The plain dpkg way of putting packages on hold is very very simple.
I’ll be taking a package named “foo” as an example. Here are the steps:
**pre >1) dpkg –get-selections foo > selections.txt
**
This will give you the package and its state on your system. The output
written to selections.txt would be something like this:
**pre >foo install
[Read More]New SSH Session in Konsole
Posted on October 2, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Some quick steps to create an Option for “New SSH Session” under Konsole which
includes keychain and ssh-agent for password-less ssh logins.

I’m using a Debian system but majority of the steps should be common across
all distributions.
Install keychain and openssl-client programs (ssh-agent is part of openssl-
client package under Debian)
rrs@laptop:~ $ apt-get install keychain openssl-client
Add the following lines to your .bashrc file
For SSH
For now I’m gambling the linux session for ssh-agent.
I’ll have to find a better way in the future. 30/09/2005
if [ $TERM == linux ]; then
[Read More]
POP3 SSL && Fetchmail
Posted on October 2, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Small HOWTO on configuring POP3 SSL with Fetchmail.
Here I assume that the server’s SSL certificate is a Self Signed Certificate
- openssl s_client -connect mail.logicalwebhost.com:995 -showcerts
Execute this command to fetch the details of the server and also the
certificate.
The output will be something like below:
rrs@laptop:~ $ openssl s_client -connect mail.someserver.com:995 -showcerts
CONNECTED
depth=0 /C=US/ST=CA/L=San Jose/O=Some Internet Hosting Services/OU
=Automatically-generated POP3 SSL
key/CN=mail.somehost.com/emailAddress=postmaster@researchut.com
verify error:num=18:self signed certificate
verify return:1
depth=0 /C=US/ST=CA/L=San Jose/O=Some Internet Hosting Services/OU
=Automatically-generated POP3 SSL
key/CN=mail.somehost.com/emailAddress=postmaster@researchut.com
verify return:1
Certificate chain 0 s:/C=US/ST=CA/L=San Jose/O=Some Internet Hosting
Services/OU=Automatically-generated POP3 SSL
key/CN=mail.somehost.com/emailAddress=postmaster@researchut.com
i:/C=US/ST=CA/L=San Jose/O=Some Internet Hosting Services/OU=Automatically-
generated POP3 SSL
key/CN=mail.somehost.com/emailAddress=postmaster@researchut.com
[Read More]Python Fun
Posted on September 19, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Just think what all this small piece of code can do
while x <= 100:
… temp = urllib2.urlopen(address+prefix+str(x)+suffix)
… data = open(prefix+str(x)+suffix, ‘wb’ )
… data.write(temp.read())
… data.close()
… temp.close()
… x +=1
An Eyeful a Day Keeps the Doctor Away
Posted on September 5, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
Now I understand, why even though staring carelessly for the past 5 years, my
health has not gone bad.
Staring at women ’s breasts is good for men’s health and makes them live
longer, a new survey reveals.
Staring at women’s breasts is good for men’s health and makes them live
longer, a new survey reveals. Researchers have discovered that a 10-minute
ogle at women’s breasts is as healthy as half-an-hour in the gym. A five-year
study of 200 men found that those who enjoyed a longing look at busty beauties
had lower blood pressure, less heart disease and slower pulse rates compared
to those who did not get their daily eyeful.
[Read More]*nix fun
Posted on August 14, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
#!/bin/sh
if ! [test -f /dev/chick] echo “Forgetting something?” exit 1;
fi
mv /dev/chick ~/bedroom
touch chick/breasts
unzip chick/dress
rm -f chick/bra chick/panties
clamscan chick/*
rm ~/pants
cat ~/penis » chick/mouth
cat chick/mouth | grep -v cat ~/penis > chick/mouth # To take it out…
cat ~/bedroom/nightstand/condom » ~/penis
mount ~/bedroom/chick
fsck && fsck && fsck
umount ~/bedroom/chick
while [ -f ~/bedroom/chick ]; do sleep 5
done
… but this is from the guy who has /dev/acd0 symlinked to /dev/chick so he can
giggle every time he uses his cdrom
[Read More]A general weekly life
Posted on August 8, 2005
(Last modified on January 22, 2011)
|
Ritesh Raj Sarraf
|
0 comment
How has your life been going ?
Ever asked this question to yourself. Do you ever feel yourself lonely;
missing ?
Two days of the weekend “silenced” being ended up with Sci-Fi movies and Mugs
of Beer at a dark cosy Peecos.
Does it mean life ? Oh! Yes. No dependencies, no nothing. Just bindaas