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:
/* profile page */ | |
.carousel_wrapper, | |
.carousel_container > div > img, | |
.portrait, | |
.avatar { | |
border-radius: 0 !important; | |
} | |
.user_portraits { | |
background: #e3e5e8 !important; |
I hereby claim:
To claim this, I am signing this object:
// ==ClosureCompiler== | |
// @output_file_name framework_min.js | |
// @compilation_level ADVANCED_OPTIMIZATIONS | |
// ==/ClosureCompiler== | |
(function() { | |
var docProto = Document.prototype, | |
htmlElementProto = HTMLElement.prototype, | |
nodeListProto = NodeList.prototype; |
#!/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 |
#!/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'), |
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)] " | |
} |
// 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; |