I hereby claim:
- I am bdougherty on github.
- I am bdougherty (https://keybase.io/bdougherty) on keybase.
- I have a public key whose fingerprint is 31FC 1669 C539 3901 65F7 D15F 01C8 A4AB 704F 8E1C
To claim this, I am signing this object:
| // Figure out heights and things | |
| var chat = document.getElementById('chat_space'); | |
| var currentScrollPos = chat.scrollTop; | |
| var maxScrollPos = chat.scrollHeight - chat.clientHeight; | |
| var scrolled = (currentScrollPos == maxScrollPos) ? true : false | |
| // Clear out the box and replace with data from ajax | |
| // Should we scroll? | |
| if (scrolled) chat.scrollTop = chat.scrollHeight; |
| function get_git_branch { | |
| git branch | awk '/^\*/ { print $2 }' | |
| } | |
| function get_git_dirty { | |
| git diff --quiet || echo '*' | |
| } | |
| function get_git_prompt { | |
| git branch &> /dev/null || return 1 | |
| echo "[$(get_git_branch)$(get_git_dirty)] " | |
| } |
| #!/usr/bin/ruby | |
| require 'date' | |
| # Dates | |
| today = Date.today | |
| quarterDates = { | |
| '20081' => Date.parse('Sep 1, 2008'), | |
| '20082' => Date.parse('Dec 1, 2008'), | |
| '20083' => Date.parse('Mar 9, 2009'), |
| #!/usr/bin/env ruby | |
| # Xcode auto-versioning script for Subversion by Axel Andersson | |
| # Updated for git by Marcus S. Zarra and Matt Long | |
| # Converted to ruby by Abizer Nasir | |
| # Appends the git sha to the version number set in Xcode. | |
| # see http://www.stompy.org/2008/08/14/xcode-and-git-another-build-script/ for more details | |
| git = `sh /etc/profile; which git`.chomp | |
| sha = `#{git} rev-parse --short HEAD`.chomp |
| // ==ClosureCompiler== | |
| // @output_file_name framework_min.js | |
| // @compilation_level ADVANCED_OPTIMIZATIONS | |
| // ==/ClosureCompiler== | |
| (function() { | |
| var docProto = Document.prototype, | |
| htmlElementProto = HTMLElement.prototype, | |
| nodeListProto = NodeList.prototype; |
I hereby claim:
To claim this, I am signing this object:
| /* profile page */ | |
| .carousel_wrapper, | |
| .carousel_container > div > img, | |
| .portrait, | |
| .avatar { | |
| border-radius: 0 !important; | |
| } | |
| .user_portraits { | |
| background: #e3e5e8 !important; |
| #!/usr/bin/env python | |
| import os | |
| import tornado.web | |
| from tornado.ioloop import IOLoop | |
| from tornado.options import define, options | |
| # config options | |
| define('port', default=8080, type=int, help='port to run web server on') | |
| define('debug', default=False, help='start app in debug mode') | |
| options.parse_command_line(final=True) |
| [{ | |
| "id": "0aefa581-b042-4f36-b39c-74daa33b682a", | |
| "name": "Block Annoying Article Stuff", | |
| "rules": [{ | |
| "id": "634b4fd6-e2c9-4ce4-bcf9-0d52b4c74baa", | |
| "name": "The Atlantic", | |
| "content": { | |
| "trigger": { | |
| "url-filter": "^[^:]+://+([^:/]+\\.)?theatlantic\\.com[:/]", | |
| "url-filter-is-case-sensitive": true, |
| @import "syntax-variables"; | |
| atom-text-editor::shadow { | |
| // Make invisible characters the same color as the background, and | |
| // explicitly set the box-shadow color for indent guides (otherwise they | |
| // will be invisible too). | |
| .invisible-character { | |
| color: @syntax-background-color; | |
| &.indent-guide { |