This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
brew mirror-check wget | |
==> Testing mirrors for wget | |
==> Downloading http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.bz2 | |
Warning: Failed to create the file | |
Warning: /Library/Caches/Homebrew/wget-1.13.4.tar.bz2: No such file or | |
Warning: directory | |
0,1% | |
curl: (23) Failed writing body (0 != 1183) | |
Error: uninitialized constant Formula::DownloadError | |
Please report this bug: |
javascript:(function(){_readableOptions={'text_font':'Goergia,%20Palatino','text_font_monospace':'Inconsolata','text_font_header':'quote(Times%20New%20Roman),%20Times,%20serif','text_size':'20px','text_line_height':'1.5','box_width':'30em','color_text':'#657B83','color_background':'#FDF6E3','color_links':'#B58900','text_align':'justified','base':'web_readability','custom_css':'pre%20{%20%20%20%20background-color:%20#EEE8D5;%20%20%20%20color:%20#586E75;%20%20%20%20padding:%201em;%20%20%20%20overflow:%20auto;}'};if(document.getElementsByTagName('body').length>0);else{return;}if(window.$readable){if(window.$readable.bookmarkletTimer){return;}}else{window.$readable={};}window.$readable.bookmarkletTimer=true;window.$readable.options=_readableOptions;if(window.$readable.bookmarkletClicked){window.$readable.bookmarkletClicked();return;}_readableScript=document.createElement('script');_readableScript.setAttribute('src','http://readable-static.tastefulwords.com/target.js?rand='+encodeURIComponent(Math.random()));docum |
{-# LANGUAGE TypeFamilies, QuasiQuotes, MultiParamTypeClasses, | |
TemplateHaskell, OverloadedStrings #-} | |
import Yesod | |
data YesodFib = YesodFib | |
mkYesod "YesodFib" [parseRoutes| | |
/ HomeR GET | |
|] |
; Reverse Scrolling Script by How-To Geek | |
; | |
; http://www.autohotkey.com/docs/Tutorial.htm | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
WheelUp:: | |
Send {WheelDown} |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
def gitmtime | |
# find file extension | |
filepath=@item.path.sub('/Scratch/','content/html/').sub(/\/$/,'') | |
['md','erb','haml'].each do |ext| | |
tmppath=%{#{filepath}.#{ext}} | |
if FileTest.exists?(tmppath) | |
filepath=tmppath | |
break | |
end | |
end |