I hereby claim:
- I am dan on github.
- I am danbenjamin (https://keybase.io/danbenjamin) on keybase.
- I have a public key whose fingerprint is 3AB5 BD4B 523F E697 68BA 2022 0A86 5D59 34EE 7E86
To claim this, I am signing this object:
| <itunes:category text="Society & Culture"> | |
| <itunes:category text="History" /> | |
| </itunes:category> | |
| <itunes:category text="Technology"> | |
| <itunes:category text="Gadgets" /> | |
| </itunes:category> |
| require 'paperclip/media_type_spoof_detector' | |
| module Paperclip | |
| class MediaTypeSpoofDetector | |
| def spoofed? | |
| false | |
| end | |
| end | |
| end |
I hereby claim:
To claim this, I am signing this object:
| # UPDATE: This is working now, thanks to @mamaduka: | |
| # In home.js.coffee I had "bjQueryUI" instead of "bJQueryUI" ... D'oh! | |
| brew install mysql | |
| ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist |
| @implementation UITextView (RSExtras) | |
| static BOOL stringCharacterIsAllowedAsPartOfLink(NSString *s) { | |
| /*[s length] is assumed to be 0 or 1. s may be nil. | |
| Totally not a strict check.*/ | |
| if (s == nil || [s length] < 1) | |
| return NO; |
| #!/usr/bin/ruby | |
| require 'time' | |
| def format_time(seconds) | |
| hours = (seconds / 3600).to_i | |
| minutes = ((seconds % 3600) / 60).to_i | |
| seconds = (seconds % 60).to_i | |
| minutes = "0#{minutes}" if minutes < 10 | |
| seconds = "0#{seconds}" if seconds < 10 |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| $(document).ready(function() { | |
| $('#open_new_window').change(function() { | |
| if ($(this).attr('checked')) { | |
| $('a.link').attr("target", '_blank'); | |
| } else { | |
| $('a.link').attr("target", ""); | |
| } | |
| }); | |
| }); |
First get this Safari Extension.
Then use this custom style sheet:
body, .ii strong, .drhed, cite, .nfdl, .navbar,