Wednesday, September 24, 2014

SEO optimization joke

An SEO expert walks into a bar, bars, beer garden, hangout, lounge, night club, mini bar, bar stool, tavern, pub, beer, wine, whiskey.

QA Engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sfdeljkn


Friday, September 5, 2014

Enlarge memory for tomcat in Ubuntu

To solve OutOfMemoryException, you could edit this file:
/etc/init.d/tomcat7

Found lines with definition of variable JAVA_OPTS and correct memory limits on what you want. For example I have set 700 mb, and it looks this way: 
if [ -z "$JAVA_OPTS" ]; then
        JAVA_OPTS="-Djava.awt.headless=true -Xms700m -Xmx700m"
fi


At the end, to make the change on real, restart server with this command:
sudo service tomcat7 restart

Tuesday, September 2, 2014

Startup folder location in Windows 8

Startup folder location: Open Windows Explorer and paste this in address bar:
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup