Categories
Bash Customization MAC org2blog Tutorial

Share shell history across multiple sessions

I use iTerm and a lot of terminal tabs. Terminal history is something which is important to me, it lets me backtrack my steps. Just add the following code in your .profile

Categories
Customization Programming Ruby Web

IRB Console with history and logging

I spend most time with IRB or Rails/console. These are good settings on which I have settled with over the time. These will allow you to have basic logging and IRB history. Just put these in the ~/.irbrc file (If file doesn’t exist then create one).

Categories
Ardoino Arduino Platform Projects

Arduino Ethernet Shield and Webclient

First thing you do when you get a Ethernet Shield for Arduino (in my case Duemilanove). You will be uploading various example sketches. I was doing the same Ardoino was working flawlessly and then I got stuck in WebClient sketch.

I did all the things I could do.

  • Reset Arduino.
  • Reset Ethernet Shield.
  • Change Ethernet cat5 cable to shorter one.
  • Change Router setting.
  • Change MAC address in program.
  • Change last 2 octets of IP 192,168,6,xxx to 192,168,1,xxx.
  • At last Google about this issue.

Point to be noted I was able to run WebServer sketch and it was flawless. So I was sure shield is good.

With a quick google found this thread on http://www.arduino.cc.

Some one said that don’t connect google ;). Bingo. Its Google.

Fcuk that.  But WebClient too works flawlessly.

 

 

Categories
MAC Tutorial

Let the mac sleep

How to turn off/sleep OS X Mac Screen. It took me a lot of researching on internet to find these shortcut keys.

Sleep immediately (no confirmation): Cmd-Opt-Eject
Put display to sleep: Ctrl-Shift-Eject

Categories
Programming Web

Prevent Googlebot following links in Gmail

How to prevent googlebot following links in gmail messages? Well bad news is “Googlebot is following links sent to subscribers of a mailing list by email and it is causing those subscribers to receive an unsubscribe meesage or a added download from the list or server”.

Bigger Bad news is that age old trick will NOT work here, we can not solve this simply by adding

<a href="signin.php" rel="nofollow">sign in</a>

Best way in my opinion is to reject download count based on the user agent. Which is Googlebot in case of Google Crawler.

find long answer here.

 

Categories
GPL Linux Software Windows

Firefox Sync

Firefox Sync. formally weave. I always wanted that I can continue my Firefox session from one place to anther. You don’t need to save password, you don’t have to save you history through Google Toolbar. You wont need bookmark addons. This is simply great. How many times did you left your computer at work on/hibernated because you thought you will loose your tabs(currently open sites). Sync currently supports continuous synchronization of your bookmarks, browsing history, saved passwords and tabs.

Categories
GPL Linux Platform Review Software

Lucid Lynx – Free man’s Mac

No matter how much I hate Apple and Macintosh for their marketing strategies, but I always appreciate innovation and consistency. Although price is also a factor.

No matter how much you bid to pay but you could never estimate the price of universal compatibility and top class user experience with the availability of option at every stage and still rock solid consistent performance that what is any GNU/Linux system is about and Ubuntu is a star team.

With their new star performer. Ubuntu 10.04 LTS aka Lucid Lynx is out and I can safely say that no matter how difficult is seem at first but impossible is nothing and Lucid Lynx is Free man’s Mac.

Categories
Games Linux Review Windows

Urban Terror

This is a one great game. I tried it and I loved it. To all the counter-strike lovers who got shifted to GNU/Linux this is a life saver. I think there should be some variable to adjust the wall jump, power slide, and inhuman speed. I hope to find some good player skins colors.

Things I like:

  • GPL
  • Great maps
  • All OS support. 🙂
  • Realistic guns and limited ammo magazines.
  • Primary, secondary and side arm weapon slot.
  • Variable damage system.
  • Wounds/Bandage, Medikit
  • Wounds affects performance
  • Stamina system.
Categories
EFL Review Software Windows

SurF – Next gereration File Manager

SurF – Next Generation File Manager ((Shishir Sharma ‘criss’))

Forget the days when we have to use the multilevel task bar in windows. The author Sergey Vlasov ((Sergey Vlasov <glider [at] svprogramming.net>)) is a nice man to give away such a good utility. This a very useful tool for guys like me how have to work with multiple file managers open and with similar directory structure.