The official and authoritative source for this document has moved. Please update your bookmarks.
You can still use the comments at the bottom of the page to register comments even for the new official location.
sudo cp -r /home/hudson/.ssh /root/; | |
sudo chown -R root:root /root/.ssh; | |
sudo service mysql stop; | |
sudo cp -pRL /var/lib/mysql /dev/shm/mysql; | |
sudo echo "[mysqld] | |
datadir = /dev/shm/mysql | |
" > /tmp/ramdisk.cnf; | |
sudo mv /tmp/ramdisk.cnf /etc/mysql/conf.d/ramdisk.cnf; | |
sudo echo " |
The official and authoritative source for this document has moved. Please update your bookmarks.
You can still use the comments at the bottom of the page to register comments even for the new official location.
As configured in my dotfiles.
start new:
tmux
start new with session name:
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
UNLOGGED
table. This reduces the amount of data written to persistent storage by up to 2x.WITH (autovacuum_enabled=false)
on the table. This saves CPU time and IO bandwidth
on useless vacuuming of the table (since we never DELETE
or UPDATE
the table).COPY FROM STDIN
. This is the fastest possible approach to insert rows into table.time timestamp with time zone
is enough.synchronous_commit = off
to postgresql.conf
.