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.
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
Well I am member of slideshare’s best team. Don’t believe it? Just checkout this week’s points.
Source tagging is very powerful source code navigation system, it beats any state of the art IDE. If you are using Emacs, Vim and TextMate then you can use source tagging for navigation. Here are the few simple steps to do it.
Step 1. Install ctags in your system. For mac
$ sudo port install ctags
Step 2. Create A tag file
$ cd /Users/username/Workspace/rails-project
$ ctags -e -a --Ruby-kinds=+f -o TAGS -R app/ lib/ config/
It is best to add this in crontab for this around 11:30am
Step 3.1 emacs
M-. Follow a tag
M-* Jump back to source.
Step 3.2 vim
just add this in your ~/.vimrc
Once this is done you can navigate to source of tag by using.
C-] - go to definition
C-T - Jump back from the definition.
C-W C-] - Open the definition in a horizontal split
Hope you will be able to use this awesome feature.
C is ctrl
M is Meta/Alt/Ecs
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.
slideshare is famous as a presentation and document sharing platform. But very few people around know about slideshare‘s love for first persone shooters. It’s a daily evening trend now. If slideshare is not down then there must be a UrT match going on in delhi office. It has reached to the extent that now we have two in-house clans, each consisting of five players. It has opened possibility of five verses five clan matches.
Jeba(graydot), Pranav(silent_horror), Jai(*thunder), Tushar(zombi), Kanav(Ka_boom) and I(cpt) are in one team and Prafulla(Element), Sahil(Engassa), Arpit(cctv), Shirsendu(Toy_da_virus) and Ankur(danger) are in the other one. Kapil(anachronox) will use auto join. 🙂
Suggest me names guys.
I mostly work on Terminal or Emacs buffer. I love emacs. Significant part of my work involves searching for a peace of code. Occur mode is similar to grep-find and find-grep. Just that I only search for the buffers which are open. For more info go here Searching in Buffers with Occur Mode | Mastering Emacs.
I was shocked to find that DOT (Department of Technology, India) has blocked major file sharing websites. This clearly is a failure of democracy in india. This proves either india does not care about Internet neutrality or India does not have infra to take right action.
Thank god I live in India. These efforts are not very effective. But they are philosophically wrong. What is this? school! where they police what we will do on internet.
Some will say this is only way to counter piracy, but I feel this is primitive and caveman’s way of moderating a civilized society. What do you say.