git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<snippet> | |
<content><![CDATA[<?php | |
class ${1:namespace}_${2:moduleName}_${3:ControllerName}Controller extends Mage_Core_Controller_Front_Action { | |
public function indexAction() | |
{ | |
${4:// ... code ...} | |
} | |
}${0}]]></content> |
[alias] | |
ignore = !git update-index --assume-unchanged | |
unignore = !git update-index --no-assume-unchanged | |
ignored = !git ls-files -v | grep ^[a-z] | |
Usage: | |
git ignore <file> | |
git unignore <file> | |
git ignored |
# | |
# Run as root | |
# $ bash <(curl -s https://raw.github.com/gist/1631411) | |
# | |
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential git-core curl \ | |
libssl-dev \ |
"repositories": [ | |
{ | |
"type":"vcs", | |
"url":"/home/jeff/dev/bundles/MyCustomBundle" | |
} | |
], | |
"require":{ | |
"jeff/some-package":"dev-master" | |
} |
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |