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 bash | |
function printCommitLine(){ | |
local FROM=$1 | |
local TO=$2 | |
if [ TO ]; then | |
git log $GIT_LOG_OPTS --format="$LOG_FORMAT_OPTS" $FROM..$TO | |
else | |
git log $GIT_LOG_OPTS --format="$LOG_FORMAT_OPTS" $FROM | |
fi |
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 | |
echo "Finding latest version." | |
VERSION=`curl -s http://nodejs.org/dist/latest/SHASUMS.txt | awk '/node-v/ {print $2}' | head -1 | sed s/node-v// | sed s/-/\ / | awk '{print $1}'` | |
echo "Preparing to install node-v$VERSION" | |
url="http://nodejs.org/dist/v"$VERSION"/node-v"$VERSION".tar.gz" | |
echo "GET" $url | |
curl $url | tar -zxf - |
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
/** | |
* iOS 6 style switch checkboxes | |
* by Lea Verou http://lea.verou.me | |
*/ | |
:root input[type="checkbox"] { /* :root here acting as a filter for older browsers */ | |
position: absolute; | |
opacity: 0; | |
} |