This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # my git aliases (incl. printing user.name) | |
| [alias] | |
| who = "!echo ; echo ; echo \"\\tworking as `git config user.name`...\" ; echo ; echo" | |
| what = "!git who ; git diff" | |
| when = "!git who ; git log" | |
| st = "!git who ; git status" | |
| ci = "!git who ; git commit" | |
| co = "!git who ; git checkout" | |
| get = "!git who ; git pull" | |
| put = "!git who ; git push" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ############################################################################### | |
| # Nikon image filename conversion, e.g. (DSC_NNNN.JPG to 2008.Jan.01_NNNN.jpg) | |
| ############################################################################### | |
| # change any spaces to underscores | |
| for i in * ; do | |
| if [ -f "$i" ] ; then | |
| echo mv \"$i\" ${i// /_} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def inspect_mate(label="") | |
| puts "#{label} #{yield.inspect.gsub(/</, '<').gsub(/>/, '>')}" | |
| puts "<hr/>" | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // (maybe) a way to approximate the current "footprint" of | |
| // your javascript (in a firebug-enabled firefox). | |
| // | |
| // example: | |
| // footprint({ | |
| // context : 'jQuery', | |
| // initial : true, | |
| // print : true, | |
| // trace : true, | |
| // debug : true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Happy Birthday Jen!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config.cache_store = :nil_store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ul.console { | |
| font-size : 0.85em; | |
| color : #FFF; | |
| text-shadow : 0 1px #000; | |
| position : fixed; | |
| top : 70%; | |
| right : 10px; | |
| z-index : 10000; | |
| width : 200px; | |
| height : 25%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ruby 1.8.7 | |
| if defined? THOUGHT ; defined?(self) ; end # returns nil | |
| if defined? THOUGHT && THINK ; defined?(self) ; end # returns nil | |
| if defined?(THOUGHT) && THINK ; defined?(self) ; end # returns nil | |
| if defined?(THOUGHT && THINK) ; defined?(self) ; end # returns nil | |
| defined?(THOUGHT && THINK) # returns nil | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>css-only menu</title> | |
| <style type="text/css" media="screen"> | |
| div#page { | |
| margin : 0 auto; | |
| width : 940px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section> | |
| <ul> | |
| <li> | |
| <h2>account</h2> | |
| <p>placeholder</p> | |
| </li> | |
| <li> | |
| <h2>balances</h2> | |
| <p>placeholder</p> |
OlderNewer