January 2009
9 posts
upgrading Ubuntu Server →
see the section at the bottom of the page for upgrading without the update-manager gui
get linux IP address in a shell script →
port forwarding with a VirtualBox guest OS →
using screen
* screen o Run a new screen session * screen -R o Reattach to a previously detatched session * Ctrl-a c o Create a new window. * Ctrl-a k o Kill the current window - after confirmation * Ctrl-a Ctrl-a o Switch to the other window * Ctrl-a S o Split the current window in two. * Ctrl-a TAB o Move between split sections of the screen. * Ctrl-a A o Give the the current window a name. *...
basic sed
file global replace using regex (old_file should not be the same as new_file)
sed ‘s/old/new/; s/old2/new2/’ old_file > new_file
from Oracle sed article
git & github
clone a repository to work on locally
git clone git://github.com/user/project.git
add a repository for pushing & pulling
git remote add <repo alias> git://github.com/user/project.git
see available repositories
git remote
pull changes from another repository
git pull <repo alias> <branch>
commit changes, auto-adding changed files
git commit -a -m...
csc309 HTML/CSS/Javascript & DOM
HTML reference (I recommend using XHTML 1.0 Transitional for your pages)
http://www.w3schools.com/tags/ref_byfunc.asp
http://www.html-reference.com/
a basic template - http://www.webstandards.org/learn/reference/templates/xhtml10t/
validate your pages to find errors - http://validator.w3.org/
CSS reference
http://www.w3schools.com/CSS/CSS_reference.asp
box model -...
neural networks in javascript →
for decoding captchas
diigo bookmarklet
because the diigolet and the diigo extension do too much
javascript:(function(){ window.open('http://www.diigo.com/post?url='+ encodeURIComponent(document.location), 'DiigoBookmark','width=490,height=630, toolbar=0,resizable=0, location=0,scrollbars=0,menubar=0') })();
i can’t create a link b/c tumblr escapes the javascript and breaks the link but to get it to work just...