This file contains 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== | |
// @match http://www.rdio.com/* | |
// ==/UserScript== | |
function run() { | |
var menu = $('ul.menu').find('.has_menu.right'); | |
var href = menu.find('a').first().attr('href') + 'playing'; | |
var span = $('<span>'); | |
span.addClass('title').text('Queue'); |
This file contains 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
# Drop this into your .zshrc, and be happy. | |
# Also, you need to have cowsay and fortune installed, obviously. | |
echo "" | |
type=(`cowsay -l | sed -e '1d'`) | |
fortune | cowsay -f $type[$[RANDOM % $#type]] -n | |
echo "" |
This file contains 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
--type-set=json=.json | |
--type-set=coffee=.coffee | |
--type-set=sass=.sass,.scss | |
--type-set=hbs=.hbs | |
--type-set=gem=.gemspec | |
--type-set=haml=.haml | |
--type-set=md=.md |
This file contains 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
@mixin rainbow { | |
$colors: red, orange, yellow, green, blue, indigo, violet; | |
@for $i from 1 through 7 { | |
&:nth-of-type(#{$i}) { | |
background-color: nth($colors, $i); | |
} | |
} | |
} |
This file contains 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
module.exports = EventDecorator = Ember.Mixin.create | |
events: | |
"touchStart": "touchStart" | |
"touchMove": "touchMove" | |
"touchEnd": "touchEnd" | |
"touchCancel": "touchCancel" | |
"keyDown": "keyDown" | |
"keyUp": "keyUp" | |
"keyPress": "keyPress" | |
"mouseDown": "mouseDown" |
This file contains 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/local/bin/zsh | |
for repo in `ls -F | grep 'press' | grep '/'`; do | |
cd $repo | |
echo `pwd` | |
git stash save | |
git checkout master | |
git pull | |
cd ../ | |
done |
This file contains 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
for repo in pressly-api pressly-dashboard pressly-data2 pressly-feeder; do | |
cd $repo | |
git checkout pressilla | |
git pull | |
cd ../ | |
done |
This file contains 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
(defun require-cleanup () | |
(interactive) | |
(save-excursion | |
(search-forward "require(") | |
(backward-word) | |
(let ((start (point-min))) | |
(save-excursion | |
(kill-region (point) (search-forward ")")) | |
(goto-char start) |
This file contains 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
RuntimeError (Finder not implemented for vimeoapi): | |
app/controllers/feeds_controller.rb:54:in `verify_feed_source' | |
This file contains 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
.duration { | |
background-color: rgba(black, 0.8); | |
display: block; | |
text-align: center; | |
font-size: 11px; | |
font-weight: bold; | |
font-size: 11px; | |
line-height: 18px; | |
height: 18px; | |
} |
OlderNewer