Hi all, You all might know that endpoints is a service offered by google appengine which can internally talk to all the google cloud services and exposes rest like API's on behalf. Have you ever wrote an endpoint service locally and once you published to the web you don't have…
The unix shell grep command have an option called "-c" which will give you the count of matching lines per file. Sometimes it's desirable to have a summation of all these count, for which i could not find an option. I wrote a one line command that perhaps…
Today i need to create a bunch of patch files from git commits. Just attempted the following script and it seemed to work git log --pretty=oneline --abbrev-commit --since=11/Jun/2014 | gawk -F\ '{ print $1 }' | for i in `xargs`; do git show $i > $i.patch;done…
Hi all, The organization i work for uses Lync as the official commumicator, and we are recommended to use them as well. The challenging part is that am running arch linux with a tiling window manager, which is not so supported configuration for a Lync client. Somehow i managed to…
TIP : Today i tried to ssh to my vps using the following, from my Ubuntu machine. avr@avr-Latitude-E5500:~$ ssh root@xx.xx.xx.xxx and the following error showed up. y@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping…
Today i was trying to setup jekyll in ubuntu. Installation as such as is not bad. install rubygems, ruby-dev, after that gem install jekyll (which was originally stated by the blog). Then run the command, jekyll new myblog, the following error is reported > $ jekyll new myblog/var/lib/gems/…
oday, I was trying to setup dwm, in my arch Linux, and kind of liked it very much. You have to manually build the source and install it, to make it work. A sample .xinitrc file is provided on the internet which is a good start. I played with some…
Note : This is more specific to atmel studio, but is applicable to any environemnt that invokes the gcc linker with the -l option. The *problem : Try to add a library reference (for example : foo.lib) to a project from atmel studio -> project properties page -> toolchain -&…
Some Introduction : Today we were debugging a third party tool called verpatch that we use for updating resource information in a installer executable created by Install Shield 2010. As you might have known, that InstallShield 2010 doesn't allow you to update the resource information of the installer you are creating.…
THis is more of a tip to shutdown linux (arch linux) immediately from the command line. Generally issuing the command "shutdown" will notify all connected users and then will go for shutdown after a while. This might not be necessary sometimes as you would wish to shutdown immediately.…