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
#!/usr/bin/ruby | |
# | |
# GitHub raw file download | |
# ------------------------------- | |
# Provides a "get_blob" method for downloading the raw contents of a | |
# file in a GitHub repository. Useful in cases where only the Ruby core | |
# is available (i.e. for setting up new EC2 instances automatically) | |
# | |
# Usage: | |
# data = get_blob("user", "repository", "/path/to/file") |
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/initializers/authlogic.rb | |
Authlogic::I18n.translator = FixedAuthlogicI18n::Translator.new |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.dropbox.preferences</string> | |
<key>OnDemand</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> |
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
jQuery.fn.tooltip = function(options) { | |
var element = $(this); | |
settings = jQuery.extend({ | |
message: element.attr("alt"), | |
hover: true, | |
insertion: 'body' | |
}, options); | |
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
// ==UserScript== | |
// @name Better Trello Print | |
// @namespace https://trello.com/ | |
// @include https://trello.com/ | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
var styles = "@media print{*{text-shadow:none!important}#surface{height:auto!important}body{overflow:visible!important}.attachment-thumbnail,.phenom,img{page-break-before:auto;page-break-after:auto;page-break-inside:auto;position:relative}#header{display:none}#notification{display:none!important}#board{height:auto!important;margin-left:0!important;overflow:visible!important;display:-webkit-flex!important}.list{float:none;margin-bottom:16px;max-height:none!important;width:260px!important}.list-cards{max-height:none!important;-moz-box-flex:0;-webkit-box-flex:0;-ms-flex:0 0 auto;-webkit-flex:0 0 auto;flex:0 0 auto}.extra-large-window .list,.large-window .list{-webkit-box-shadow:none;box-shadow:none;float:none}.list-header .icon-sm{visibility:hidden}.list-header .list-title{margin-left:12px}.ope |