This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Add `new-project` to your PATH. | |
# To create a new project in a directory called `foo`: | |
# $ new-project foo | |
git clone [email protected]:csswizardry/vanilla.git $1 | |
cd $1 | |
rm -rf .git | |
rm -rf css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// A new page type | |
class Page extends SiteTree { | |
static $icon = array('/site/icons/page.png?','file'); | |
// Or if you have icons in multiple states: | |
// static $icon = '/site/icons/page'; | |
// Allowed child types |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following commands | |
# need to be run once to set-up git | |
# Install git (you may have this already, type git then hit [ENTER] in Terminal to check) | |
cd ~/Downloads && curl -OL "http://git-osx-installer.googlecode.com/files/git-1.7.6-x86_64-snow-leopard.dmg" && open ~/Downloads/git-1.7.6-x86_64-snow-leopard.dmg | |
# Start a new Terminal window | |
# I don't have a command for this one | |
# Install the Git Flow extension |