Things You Should Probably Know, Because I Say So
Notes

Things I use a lot…

PHP

ini_set(‘display_errors’, ‘On’);
error_reporting(E_ALL); 

Apache Management

sysv-rc-conf

sudo /etc/init.d/apache2 restart 

 sudo service httpd reloadSVN

svn import localfolder svn+ssh://remotefolder -m “initial commit from local to create”

svn co svn+ssh://remote  local

svn up .

svn export —force svn+ssh://remote local (export with no svn meta)

svn -u st

svn switch —relocate oldpath newpath

svn+ssh://code.lib.ncsu.edu/syndetics-tools/trunk

Unixy

ln -s /target ./link

export EDITOR=`which nano`

sshfs $USER@hostname:/path/ /mountfolder/

Virtual Box

VBoxManage modifyvm “VM name” —natpf1 “rulename,tcp„listenport„forwardtoport”

VBoxManage modifyvm “VM name” —natpf1 delete “rulename”

Emoticons

‎(ƒ ;..;)ƒ

ʕ •ᴥ•ʔ

ಲ_ಲ

ಥ_ಥ

ಠ_ಠ

╭∩╮(︶︿︶)╭∩╮

MySQL

SELECT @rank:=@rank+1 AS rank, id, whatever FROM table AS t, (SELECT @rank:=0) AS r;