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"
| Rails CMS alternatives | |
| ====================== | |
| Note: project activity was checked on 11/26/09 for most of these projects, and the "last update" field has not been kept up to date since then. | |
| Active projects: | |
| --------------- | |
| adva-cms | |
| repo: http://github.com/svenfuchs/adva_cms/ | |
| site: http://adva-cms.org/ | |
| Last update: 11/24/09 |
| #!/bin/sh | |
| # Original script by Jason Tan: http://solutions.treypiepmeier.com/2009/03/03/virtual-hosts-on-osx-leopard/#comment-41787 | |
| DIR=/Users/$SUDO_USER/Sites/$1 | |
| if [[ ! -d $DIR && `id -u` -eq 0 ]]; then | |
| echo "" | |
| echo "Downloading site-template repository ..." | |
| sudo -u $SUDO_USER git clone --quiet git://github.com/trey/site-template.git $DIR | |
| cd $DIR |
| /* | |
| Form Elements | |
| -- Styled to look like native Safari on OS X. | |
| -- Drop-down <select> menus are unaffected. | |
| -- Buttons are unaffected. Native OS style. | |
| */ | |
| ::-webkit-input-placeholder { | |
| color: #000; | |
| } |
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; |
| # Output Directory | |
| OUTPUT = ../lib | |
| all: css | |
| css: | |
| @echo "stylus => css" | |
| @stylus \ | |
| -c \ | |
| -u nib \ |
| #!/usr/bin/env bash | |
| src=$PWD | |
| h5bp_remote=git://github.com/h5bp/html5-boilerplate.git | |
| bootstrap_remote=git://github.com/twitter/bootstrap.git | |
| h5bp_branch=master | |
| bootstrap_branch=master |
| #content-wrapper | |
| +container | |
| #about | |
| // Default (smallest screens) | |
| +column(100%) | |
| background-color: #ccc | |
| // Respond to other screen widths |
| /* | |
| Filename | |
| Description of the file and it's contents (sometimes followed by a table of contents) | |
| */ | |
| /* Section heading | |
| -------------------------------------------------- */ | |
| /* Sub heading | |
| ------------------------- */ |
| /* | |
| Filename | |
| Description of the file and it's contents (sometimes followed by a table of contents) | |
| */ | |
| /* Section heading | |
| -------------------------------------------------- */ | |
| /* Sub heading | |
| ------------------------- */ |