Showing posts with label Tips & Tricks. Show all posts
Showing posts with label Tips & Tricks. Show all posts

27 July, 2015

Shell script to start/stop tomcat

#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
TOMCAT_HOME=/dev/vol1/apache-tomcat-7.0.59_PRPC719

tomcat_pid() {
  echo `ps aux | grep $TOMCAT_HOME | grep -v grep | awk '{ print $2 }'`
}

start() {

24 January, 2015

Remove - Powered By Blogger Attribution

One of the most annoying thing on my blog was the "Powered By Blogger" in the attribution gadget.
Getting rid of it is very simple, but there is no straight way to do it from the UI that blogger provides.

This is how i got rid of it. One simple line

#Attribution1{display:none;}

Here are the detailed steps to do it

16 January, 2015

Redirecting my domain to my blog

I have recently brought a domain in rediff ( www.lazygeeks.in ). And this new year i have decided to blog regularly. So, i have decided to link my old standing blog to my new domain.

Here is how simple this can be done.

1) log on to your blogger.com account.
2) open settings of your blog

15 December, 2014

Gmail tricks

3 tricks that can will save some time and effort creating multiple accounts with Gmail.

Trick 1:


Gmail has a wildcard for the + sign as it doesn't recognize it nor any characters that follow it. This means that if you have an address likesenor.developez@gmail.com, you can use the following:
senor.developez+001@gmail.com