Here I shall put my random bits n bobs. <img src="/files/DSC_2139.jpg" /> Note for when I want to do incremental backups: <code>rsync -arv dir1 dir2</code> <code>rsync -arv d1 --delete d2</code> <code>./test2D > result_currentWORKINGdrivercode 2>&1 & </code> <code>ls -p | grep "/"</code> <code>ls -d */</code> <code>ll -d */</code> <code>ls -l |grep ^d</code> To find a word within a file. <code>grep "help" *.htm</code> This is to open a new gnome terminal, then execute top (with the -e). <code>$ gnome-terminal -e top &</code> To enable ssh on a box: First I need to run sshd by installing: <code>sudo apt-get install openssh-server</code> or if that doesn't work, i.e. the package name has changed, just type "sshd" and if that isn't installed then it will tell me. Next I need to run sshd, this is done by: <code>sudo /etc/init.d/ssh restart</code> Now all I need is the IP, then I can log in! <code>sudo netstat -tulpn</code> checkse for when I want to do incremental bac something... Latex: This will create a horizontal line, not in the math or table environment. <code>\hrulefill</code> <code>\leftrightarrow</code> <code>\raisebox{2cm}{$\leftrightarrow$}</code> Oomph-lib: This will get rid of the object files... well, it'll wipe everything. <code>make distclean</code> <code>make clean</code> Compsoc: On forgetful: <code>/home/www/html</code> bash <code>set -eu</code> IP addresses: Cognito from NEST lab: <code>130.88.195.128</code> LDAP: <code>ldap://edir.manchester.ac.uk</code> <code> <brownout> /msg chanserv help flags <brownout> +o won't give them autoops <dkaser> use +O <dkaser> Also, /msg chanserv help flags \<iraqi\> type /msg chanserv flags <channel name> <user name> +o </code> /etc/aliases on bump /msg Q@CServe.quakenet.org auth username password in C++, to pause a code, do: pause("done solve");
vi /etc/hosts
http://webchat.freenode.net?channels=compsoc-man&uio=d4 |