Skip to content

Instantly share code, notes, and snippets.

Avatar

Steve Smith orderedlist

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