Skip to content

Instantly share code, notes, and snippets.

View peterwooley's full-sized avatar

Peter Wooley peterwooley

View GitHub Profile
function main() {
if (app.documents.length) {
var outputDir = Folder.selectDialog('Select output folder.', '~');
if (outputDir) {
for (var i = 0; i < app.documents.length; i++) {
doc = app.documents[i];
# ~/.gitconfig from @boblet
# initially based on http://rails.wincent.com/wiki/Git_quickstart
[color]
ui = auto
interactive = auto
[repack]
usedeltabaseoffset = true # >git 1.5
[alias]
s = status
@peterwooley
peterwooley / dabblet.css
Created May 30, 2012 00:35 — forked from anonymous/dabblet.css
Diagonal Striped Progress Bar
/**
* Diagonal Striped Progress Bar
*/
body { background:#222; }
.bar {
background: linear-gradient(rgba(0,0,0,.26), rgba(255,255,255,.26) 50%), linear-gradient(315deg, #78a804 25%, #669a04 25%, #669a04 50%, #78a804 50%, #78a804 75%, #669a04 75%, #669a04);
background-size:16px 16px;
height:8px;
width:500px;
overflow:hidden;