Adding your ssh key to “authorized_keys”
Thursday, September 29th, 2005As simple as that:
cat id_*.pub | ssh servername “cat >> ~/.ssh/authorized_keys”
As simple as that:
cat id_*.pub | ssh servername “cat >> ~/.ssh/authorized_keys”
Screwing directories and files with setgid bit:
chmod -R 2775 photos
Fixing file permissions with find:
find . -type f -exec chmod 664 {} ‘;’
Here is a nice explanation and how to fix the problem:
LinuxQuestions.org- The iPod and the Penguin – LinuxAnswers
At the end, I enabled additional partiotion types and disabled the EFI. It seems to work now.
CONFIG_PARTITION_ADVANCED=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_EFI_PARTITION is not set
sudo su db2inst
Stopping DB2:
db2 force applications all
db2stop force
Starting DB2:
db2start
(from one comment on postgresql.org):
“I never found a good use for NULLIF, until recently. Now I use NULLIF to guard against divizion by zero. This is what my typical aggregate query looks like:
SELECT COALESCE(SUM(cost), 0) / NULLIF(SUM(amount), 0) as average_price FROM sales”
SELECT COALESCE(description, short_description, ‘(none)’)
PostgreSQL: Documentation: Manuals: PostgreSQL 8.0: Conditional Expressions