Tuesday, July 17, 2012

Download Picasa Album

If your friend has shared pics on picasa or google plus and you want to download the complete album, follow the following steps:
1. Go to the album page
2. Right click in the middle
3. Click on "View Source"
4. Save the contents in a file named as a on the desktop
5. Open the terminal
6. Type in the following command
cat ~/Desktop/a | grep DSCN > b ; cat b | sed 's/"/\n/g' | grep DSCN | grep http | grep s0- > d; rm ~/Desktop/a b
7. Now download the pics in the file d
wget -c --input-file=d
8. If the download pauses, you need to type the command in step 7 only.

Have fun.


Added later:

shorter version:
cat a  | grep s0- | sed 's/"/\n/g' | grep http > b

Saturday, June 2, 2012

All beautiful things end in sadness, why?

Why do all beautiful things have to end in sadness?

Have you ever thought of it? I wonder from time to time. It was just this morning I was thinking about it in the shower and I realized the reason.

But first, let me tell you about one of my mathematics teachers in 10+2. His name was Deepak Niraula. Amazing character, funny, motivating. Almost everything a mathematics teacher never is. He used to give us a lot of problems to solve and used to recite his worn off line "The sum of sukha (happiness) and dukha (sadness) is constant, so if you solve these problems now, you'll be happy during exams."

Well that's the answer to the question we have. Because the sum of happiness and sadness is constant in various phases in life. And because the beautiful thing has already carried over happiness from the later part of the phase, it ends with the remaining part of the equation i.e. sadness. 

Sunday, January 1, 2012

Installing and setting up Fedora 16

Just installed Fedora 16. Its a tough thing to remember what all software I normally install, so I looked up a couple of sites. Some of the good ones are

http://fedora.missingbox.co.nz/ - This site forgot to mention that libdvdcss is not present in the rpmfusion
http://www.mjmwired.net/resources/mjm-fedora-f16.html

http://www.howtoforge.com/the-perfect-desktop-fedora-16-i686-gnome This site is good for beginners.

But what surprised me the most was the Auto Plus +. It gives you a very simple interface to install codecs, software that are not in the repositories or require some typing in the terminal.
http://www.dnmouse.org/autoten/

Friday, June 10, 2011

Becoming a good computer engineer

A fun yet good read on how to improve your computer skills.

Seven steps to become a world class computer engineer:
http://www.hungry-hackers.com/2010/06/seven-steps-to-become-a-world-class-computer-engineer.html

Saturday, June 4, 2011

Spams

Here's a list of Email Spam by Topic that I picked up from Wikipedia:
http://en.wikipedia.org/wiki/E-mail_spam


EMail Spam by Topic
Pharmacy81%
Replica5.40%
Enhancers2.30%
Phishing2.30%
Degrees[16]1.30%
Casino1%
Weight Loss0.40%
Other6.30%


A good article about the end of one of the big spammers http://www.wired.com/wired/archive/14.08/spamking_pr.html
Can you believe he sent about 25 million emails a day?