Skip to content

Instantly share code, notes, and snippets.

View orderedlist's full-sized avatar

Steve Smith orderedlist

View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<title>Standard Blog</title>
</head>
<body>
<header>
<h1><a href="#">Standard Blog</a></h1>
</header>
<nav>
sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
development: &global_settings
database: textual_development
host: 127.0.0.1
port: 27017
test:
database: textual_test
<<: *global_settings
production:
/**
*
* Base64 encode / decode
* http://www.webtoolkit.info/
*
**/
var Base64 = {
// private property
@orderedlist
orderedlist / labels.scss
Created July 9, 2012 18:42
Simple Label Colors with SCSS
$start-color:#2B73A2;
$number: 12;
@for $i from 1 through $number {
.label-#{$i} {
color:adjust_hue($start-color, ($i - 1) * (360 / $number));
}
}
'atom-workspace atom-text-editor:not([mini])':
'alt-shift-up': 'editor:add-selection-above'
'alt-shift-down': 'editor:add-selection-below'
@orderedlist
orderedlist / .gitconfig
Created June 23, 2015 17:54
Alases for .gitconfig
[alias]
unstage = reset HEAD --
undo = reset --soft HEAD~1
drop-old-stashes = reflog expire --expire=30.days refs/stash
up = pull --rebase --prune