download and un-tar
create db directory
mkdir -p /data/db
export mongo bin directory
export MONGO_BIN="/usr/local/mongodb/mongodb-osx-x86_64-1.4.4/bin"
export PATH="$PATH:$MONGO_BIN"
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
| <title>Nice Buttons</title> | |
| <style> | |
| * { margin: 0; padding: 0; } | |
| ul { | |
| padding: 20px; | |
| width: 80px; | |
| float: left; |
| /*text*/ | |
| body { | |
| background-color: #fff; | |
| font: normal 16px/1.5em "Helvetica Neue", helvetica, arial, sans-serif; | |
| color: rgb(51, 57, 64); | |
| } | |
| a:focus { | |
| outline: none; |
download and un-tar
create db directory
mkdir -p /data/db
export mongo bin directory
export MONGO_BIN="/usr/local/mongodb/mongodb-osx-x86_64-1.4.4/bin"
export PATH="$PATH:$MONGO_BIN"
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
| <title>Nice Buttons</title> | |
| <style> | |
| * { margin: 0; padding: 0; } | |
| ul { | |
| padding: 20px; | |
| width: 80px; | |
| float: left; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>ZVents Calendar</title> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <section> | |
| <!-- ZVents Calendar Widget --> |
| <div id='sidebar'> | |
| <%= section(:sidebar) || partial(:default_sidebar) %> | |
| </div> |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| <!--intro--> | |
| <article> | |
| <header> | |
| <h1>The Very First Rule of Life</h1> | |
| <p><time pubdate datetime="2009-10-09T14:28-08:00"></time></p> | |
| </header> | |
| <p>If there's a microphone anywhere near you, assume it's hot and | |
| sending whatever you're saying to the world. Seriously.</p> | |
| <p>...</p> | |
| <footer> |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| .nested { | |
| display: none; | |
| } | |
| </style> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js" type="text/javascript"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function() { |
| /* sans-serif */ | |
| font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; | |
| font-family: Helvetica, "Helvetica Neue", Arial, sans-serif; | |
| font-family: Verdana, Geneva, Tahoma, sans-serif; | |
| font-family: Trebuchet, Tahoma, Arial, sans-serif; | |
| font-family: GillSans, Calibri, Trebuchet, sans-serif; | |
| font-family: "DejaVu Sans", "Bitstream Vera Sans", "Segoe UI", "Lucida Grande", Verdana, Tahoma, Arial, sans-serif; | |
| font-family: Geneva, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif; | |
| font-family: Geneva, Verdana, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif; | |
| font-family: "HelveticaNeue-Roman", "Helvetica 55 Roman", Helvetica, Arial, sans-serif; |