Friday, 12 August 2011

Start skype on login in Ubuntu

See this post:

http://www.addictivetips.com/ubuntu-linux-tips/run-any-program-during-system-startup-in-ubuntu-linux/


And use System -> Preferences -> Startup Applications

Enter "/usr/bin/skype" (or use "which skype" to find the location of skype).


Monday, 8 August 2011

Learning pg

SHOW TABLES is
SELECT table_schema, table_name FROM information_schema.tables ;

SHOW DATABASES is
SELECT table_schema, COUNT(*) AS num_tables FROM information_schema.tables
GROUP BY table_schema;


use /? to find out how to do it properly.