Categories
Uncategorized

Get random desktop wallpaper from Bing on Windows 7 :D

Have you heard about Bing? Yes, the wonderful search engine from Microsoft! Have you used it ? Yes? Then you probably know that Bing features a beautiful photo everyday as it’s background image and provides information snippets on different position on the image. You should check this thing if you haven’t already. The photos are just amazing!

I used to leech those photos to make my Desktop wallpaper by right clicking and saving the background images. 😛 But now we have something interesting! You just don’t need to go to Bing daily and save the images manually. You can get random photos from Bing set as your desktop background by installing a theme named “Bing Dynamic”. It downloads Bing photos from the internet and rotates on your desktop. Cool, eh? 😉

Get the “Bing Dynamic” from the official Windows 7 themes page and install it on your PC. Apply the theme and enjoy! 😀

Categories
Uncategorized

The Google Go Experience

I have always wanted to check out the Go language sooner but unfortunately enough couldn’t have a go… Today I googled if there are any debian packages for Google Go and luckily I found one… It’s of course not an official release from the Go team. Still it interested me. I downloaded the file and installed the package. Yeah, it works! This is the first time I am playing with Go, so no issues have been encountered. But the debian package requires me to overwrite some of the GCC files. Again, I am not a serious C/C++ programmer, so I don’t know if that has damaged my GCC to any extent.

Oh yeah, I forgot to mention I am on Ubuntu 9.04 🙂 I downloaded the package from this link: http://drop.io/gccgodeb/asset/gccgo-4-5-0-1-i386-deb

It’s nearly a 27 MB of download. I downloaded and double clicked to install it. The installation failed with some errors. So, I pointed back to the Original Source Page (Author’s Blog Post) of the package and re-read carefully. I had to use the command line to set “–force-overwrite” mode to the dpkg utility so that it could overwrite files at it’s discretion. Here’s the command:

Now, for quick demo, I downloaded the sample “Hello World!” source code from the official Go website at http://golang.org/ 🙂 (Hey, wasn’t it http://go-lang.org the last time I visited it? No way, both URL works now 😀 )

PS: I am sorry that my Syntax Highlighter doesn’t yet have the Go syntax highlighting patterns. Neither does my code editor! But still I used the code block, just out of a good practice! 😛

Then I compiled the source (after naming it masnun.go) with the following command:

It created the file a.out . I ran it from the command line again:

It was pretty easy in fact! I am going to play with Go at my leisure to check out what it has to provide the developers with… I love Python, let’s see if Go can give me anything more than Python 🙂

Thanks to Google, we have another programming language to do our bidding! Happy programming!

Categories
Uncategorized

Setting Up Email Server on your PC

If you setup an email server on your PC, you can easily send unlimited emails with a custom “From” address 🙂 This is particularly helpful if you want to send emails programmatically for some reasons (I like to send unimportant emails and small attachments via Python).

To setup a mail server on Ubuntu, just install the “postfix” package:

Now you can send emails with php, python or even by typing codes on the terminal.

It was simple. Wasn’t it?