This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT d.datname as "Name", | |
pg_catalog.pg_get_userbyid(d.datdba) as "Owner" | |
FROM pg_catalog.pg_database d | |
WHERE d.datname = 'database_name' | |
ORDER BY 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir /opt/google/chrome/plugins; # and cd into it | |
$ sudo apt-get install icedtea-6-plugin # install icedtea, depending on your open-jdk version, of course. | |
$ sudo ln -s /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so # create symbolic link, depending on your processor architecture | |
# that's it, start/restart chrome and you're off :-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ uname -r # to get the current functional kernel | |
$ dpkg --list | grep linux-image # use your imagination. | |
$ sudo apt-get purge linux-image-x.x.x.x-generic # or whatever the name of the version you want to uninstall is. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo -i | |
# apt-get clean | |
# cd /var/lib/apt | |
# mv lists lists.old | |
# mkdir -p lists/partial | |
# apt-get clean |
NewerOlder