If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"
npm adduser
// Set up line-height and colour defaults for this mixin. | |
$line-height: 20px!default; | |
$line-color: #94d4ff!default; | |
/** | |
* | |
* Baseline Mixin | |
* Handy dandy mixin to provide a baseline for your typography. | |
* | |
* The mixin carries two arguments — the $baseline, which should match your line-height, and $baseline-color, the colour you want the lines to be. |
# for golang | |
# mkdir $HOME/go | |
# mkdir -p $GOPATH/src/github.com/user | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOPATH/bin |
#Remove iTerm 2 from the dock | |
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm\ 2.app/Contents/Info.plist | |
#Restore iTerm 2 to the dock | |
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm\ 2.app/Contents/Info.plist |
#!/bin/sh | |
# | |
# Grabs all .png files in a folder and concatenates them into a .gif file | |
# | |
# Options: | |
# -delay Delay between images in centisecond | |
convert -delay 75 *.png result.gif |
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A media query that captures: */ | |
/* */ | |
/* - Retina iOS devices */ | |
/* - Retina Macs running Safari */ | |
/* - High DPI Windows PCs running IE 8 and above */ | |
/* - Low DPI Windows PCs running IE, zoomed in */ | |
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
/* - Android hdpi devices and above */ |
Following this gist, I decided to create my own tutorial/manual for future reference.
Before trying to convert anything, you must have the following tools installed:
(function (root) { | |
var type = function (o) { | |
// handle null in old IE | |
if (o === null) { | |
return 'null'; | |
} | |
// handle DOM elements |
#!/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/4016420/hack.sh | sh | |
# |