List of tricks
- To un-apply git stash
git stash show -p stash@{index} | git apply -R --index
These lists some links to some of Git's unexpected behaviours.
#! /usr/bin/env bash | |
# Variables | |
APPENV=local | |
DBHOST=localhost | |
DBNAME=dbname | |
DBUSER=dbuser | |
DBPASSWD=test123 | |
echo -e "\n--- Mkay, installing now... ---\n" |
exports.ext = function () { | |
var extTypes = { | |
"3gp" : "video/3gpp" | |
, "a" : "application/octet-stream" | |
, "ai" : "application/postscript" | |
, "aif" : "audio/x-aiff" | |
, "aiff" : "audio/x-aiff" | |
, "asc" : "application/pgp-signature" | |
, "asf" : "video/x-ms-asf" | |
, "asm" : "text/x-asm" |
// ---- | |
// Sass (v3.4.3) | |
// Compass (v1.0.1) | |
// Scut (v1.0.1) | |
// ---- | |
@import "scut"; | |
@mixin header_sizes($multiplier: 1.125, $line-height-multiplier: 1.5, $font-size: 16px, $rel: false, $rhythm: false) { | |
// ---- | |
// Sass (v3.3.12) | |
// Compass (v1.0.0.alpha.21) | |
// Breakpoint (v2.4.6) | |
// Susy (v2.1.3) | |
// ---- | |
@import "susy"; | |
@import "breakpoint"; |
<ul class="main-nav"> | |
<li><a href="#">Home</a></li> | |
<li><a href="#">Portfolio</a></li> | |
<li><a href="#">Contact</a></li> | |
<li><a href="#">About</a></li> | |
<li><a href="#">Awards</a></li> | |
</ul> | |
<ul class="sidebar-nav"> | |
<li><a href="#">Home</a></li> |
RVM home page: http://rvm.beginrescueend.com | |
Install RVM | |
------------ | |
See http://rvm.beginrescueend.com/rvm/install/ | |
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
Install rvm for all users |
# SCREENSHOT EXAMPLE: http://grab.by/bzg3 | |
############################## | |
# _ | |
# | |_ _ __ ___ _ ___ __ | |
# | __| '_ ` _ \| | | \ \/ / | |
# | |_| | | | | | |_| |> < | |
# \__|_| |_| |_|\__,_/_/\_\ | |
# | |
############################# |