Skip to content

Instantly share code, notes, and snippets.

View jasonmelgoza's full-sized avatar
🏠
Working from home

Jason Melgoza jasonmelgoza

🏠
Working from home
View GitHub Profile
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;
@jasonmelgoza
jasonmelgoza / Makefile
Created January 4, 2012 21:47 — forked from ecarter/Makefile
Makefile - stylus
# Output Directory
OUTPUT = ../lib
all: css
css:
@echo "stylus => css"
@stylus \
-c \
-u nib \
@jasonmelgoza
jasonmelgoza / h5bp-twitter-bootstrap
Created January 29, 2012 19:16 — forked from mklabs/bootstrap-plugins.txt
h5bp + twitter bootstrap integration
#!/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
@jasonmelgoza
jasonmelgoza / layout.sass
Created March 7, 2012 23:16 — forked from jcroft/layout.sass
How easy responsive design can be with Sass
#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
------------------------- */