Book Meme (Planet Ubuntu)

Wubi

Image via Wikipedia

“A very popular alternative and more realistic method of explaining consumer’s demand is the Indifference Curve Analysis”

- General Economics (Common Proficiency Test), ICAI

I’ll be reading this all month ;(

Instructions:-
-> Grab the nearest book.
-> Open it to page 56.
-> Find the fifth sentence.
-> Post the text of the sentence in your journal along with these
instructions.
-> Don’t dig for your favorite book, the cool book, or the intellectual
one: pick the CLOSEST.

Reblog this post [with Zemanta]

Google Groups: Indian WebComics

Image representing Google Groups as depicted i...

Image via CrunchBase

Saad Akhtar suggested we use mailing lists to share new Indian webcomics we discover, so that people don’t regularly have to keep checking THIS post. So here it is!

Google Groups
Subscribe to IndianWebComics
Email:
Visit this group

http://groups.google.com/group/indianwebcomics

You can either join by entering your email in the above Box or you can follow it via RSS or Atom feeds. Note that you won’t be able to reply to mails if don’t join the group.

Reblog this post [with Zemanta]

Get the Cricket score on Linux Command Line or Conky

Sachin smiling
Image via Wikipedia

I was trying to find a way to get live cricket scores on my desktop. I could have used retreived rss feeds every few minutes, but I found a simpler way on a mailing list Here, a python script by Sridhar.

I modified it a bit to fit my horizontal conky, and also the display format.

Click on image to see complete screenshot:

Download cricscore.py
and place it in your home folder.

To get the live score in the terminal, just type

python cricscore.py

If you want it to show in conky, just add this line to your .conkyrc file where you want it to show

${execi 30 python cricscore.py}

that will update the score every 30 seconds

Anyway, heres my .conkyrc script: .conkyrc. (for the rhythmbox script, check here)

Reblog this post [with Zemanta]

Update/Upgrade multiple Ubuntu PCs with Apt-Cacher

So, Ubuntu 8.10 Intrepid Ibex releases today. As thousands try to upgrade/download ubuntu, the servers will be slower than usual. Heres one way to upgrade multiple PC to Intrepid Ibex. This also works for the daily updates. How the works is that One PC updates directly from ubuntu mirrors while the other PCs update from the first PC, saving bandwidth. (If packages installed on the PCs differ, they’ll be downloaded from the mirror that the server uses)

I’ll be referring to the main PC that updates from official mirrors as _server_ and the other PCs as _client_. Lets start.

———————— _Server_ Config —————————-
Open a terminal on the _server_ and type

sudo apt-get install apt-cacher apache2

(yep, you’ll need a webserver)

once thats done, open /etc/apt-cacher/apt-cacher.conf in a text editor and modify to your needs.
The default port is 3142. The only thing I modified was path_map which lets you use aliases for repository hostnames

My path_map looks something like this.

path_map = ubuntu archive.ubuntu.com/ubuntu ; partner archive.canonical.com/ubuntu ; ubuntu-security security.ubuntu.com/ubuntu ; lp-compiz ppa.launchpad.net/compiz/ubuntu ; google dl.google.com/linux/deb ; ubuntutweak ppa.launchpad.net/tualatrix/ubuntu

you can use full hostnames instead of aliases, but I prefer this.

Now you need to edit /etc/default/apt-cacher and set AUTOSTART to 1.

Now restart apt-cacher

sudo /etc/init.d/apt-cacher restart

Now update the repositories and upgrade your packages

sudo apt-get update
sudo apt-get upgrade

If you’re upgrading to Intrepid Ibex from Hardy Heron, Please Check http://www.ubuntu.com/getubuntu/upgrading

After the entire upgrade completes, run this command in terminal to import existing cached archives.

sudo /usr/share/apt-cacher/apt-cacher-import.pl /var/cache/apt/archives

If it throws up an error, try

sudo /usr/share/apt-cacher/apt-cacher-import.pl -s /var/cache/apt/archives

———————— _Client_ Config —————————-
First Check if the Apt-cacher server is running by opening
http://repository-server:3142/report in your browser (’repository-server’ here is the IP or hostname of the _server_ machine)

Then on the _client_ machines, open /etc/apt/sources.list

sudo gedit /etc/apt/sources.list

And change the mirror to your local server’s IP/hostname
for example:
(If you used path_map)

deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted

changes to

deb http://repository-server:3142/apt-cacher/ubuntu intrepid main restricted

Note: replace ‘repository-server’ with your _server_’s IP or hostname (in my case 192.168.0.3)

Otherwise (If you didn’t use path_map) change it to:

deb http://apt-cacher-server/apt-cacher/archive.ubuntu.com/ubuntu/ intrepid main restricted

Do this for all lines in sources.list that you want to update via the apt-cache server.

now you can use apt-get just like before.
to upgrade to Intrepid Ibex from Hardy Heron, Check http://www.ubuntu.com/getubuntu/upgrading

and click on upgrade to ubuntu 8.10

Reference links (might help you with troubleshooting)
http://www.debuntu.org/how-to-set-up-a-repository-cache-with-apt-cacher
https://help.ubuntu.com/community/Apt-Cacher-Server

You can also upgrade using apt-p2p - Learn more on torrentfreak

And I also suggest you use bittorrent for downloading the Cd and DVD ISOs so that there is lesser stress on the mirrors. If you have to use the http/ftp mirrors, try using a local mirror or one close to your country.

Get the Torrents here

See Whats New in Intrepid Ibex

Reblog this post [with Zemanta]

Look how tiny we are!


Found this over at http://godismanmade.com/


A No Nonsense Blog is Digg proof thanks to caching by WP Super Cache!