Skip to content

Instantly share code, notes, and snippets.

View peterwooley's full-sized avatar

Peter Wooley peterwooley

View GitHub Profile
/**
* 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;
@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;
@peterwooley
peterwooley / cygup.bat
Created May 23, 2012 17:08
Grab the latest Cygwin setup.exe and run it
cd %TEMP% && wget -O setup.exe http://cygwin.org/setup.exe && setup.exe
@peterwooley
peterwooley / mintty.reg
Created February 20, 2012 23:15
Assuming chere is insalled, this adds an "Open mintty Here" context menu option for Windows Explorer drives and folders.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\mintty]
@="Open mintty Here"
[HKEY_CLASSES_ROOT\Directory\shell\mintty\command]
@="c:\\cygwin\\bin\\mintty.exe -e /bin/xhere /bin/bash.exe \"%L\""
[HKEY_CLASSES_ROOT\Drive\shell\mintty]
@="Open mintty Here"