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
# Place all the behaviors and hooks related to the matching controller here. | |
# All this logic will automatically be available in application.js. | |
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ | |
# A word of warning. I'm aware that this is a bit of mess. Development is comprimise; tread lightly. | |
# The state should only be used for shared data that must be received. | |
stateDelgator = (state) -> | |
# Deal with any changes | |
$.each state.addedKeys, (index, key) -> |
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
.footer.wrapper | |
.contentFooter | |
.leftCol | |
.logoMin | |
.socialLinks.clearfix | |
%a{:href => "http://www.twitter.com/par8o", :target => :blank} | |
%a{:href => "http://www.linkedin.com/company/par8o", :target => :blank} | |
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
<div class="footer wrapper"> | |
<div class="contentFooter"> | |
<div class="leftCol"> | |
<div class="logoMin"></div> | |
<div class="socialLinks clearfix"> | |
<div class="twitter"><a href="http://www.twitter.com/par8o" target="_blank"></a></div> | |
<div class="linkedin"><a href="http://www.linkedin.com/company/par8o" target="_blank"></a></div> | |
<div class="facebook"><a href="http://www.facebook.com/par8o" target="_blank"></a></div> | |
<div class="slide"><a href="http://www.slideshare.net/par8o" target="_blank"></a></div> | |
</div> |
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
➜ ichiban git:(master) ✗ rspec --format NyanCatFormatter spec/models | |
3/3: _-__,------, | |
3/3: _-__| /\_/\ | |
0/3: _-_~|_( - .-) | |
0/3: _-_ "" "" | |
/home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/nyan-cat-formatter-0.0.8/lib/nyan_cat_formatter/rspec2.rb:31:in `dump_summary': uninitialized constant RSpec2::ROOT (NameError) | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:98:in `block in notify' | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:97:in `each' | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:97:in `notify' | |
from /home/eric/.rvm/gems/ruby-1.9.3-p194@ichiban/gems/rspec-core-2.11.1/lib/rspec/core/reporter.rb:82:in `finish' |
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
digraph vending_machine { | |
node [shape = point]; start | |
node [shape = square]; open | |
node [shape = circle]; | |
start -> "0¢" [ label = "Reset" ]; | |
// Nickels | |
"0¢" -> "5¢" [ label = "Nickel" ]; | |
"5¢" -> "10¢" [ label = "Nickel" ]; | |
"10¢" -> "15¢" [ label = "Nickel" ]; |
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
digraph vending_machine { | |
node [shape = point]; start | |
node [shape = square]; open | |
node [shape = circle]; | |
splines=true; | |
sep="+25,25"; | |
overlap=scalexy; | |
nodesep=0.35; | |
node [fontsize=11]; |
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
■ |
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
#!/bin/sh | |
DEVICE_ID=`xinput list | grep "Logitech" | sed 's/.*id=\([0-9]*\).*/\1/'` | |
xinput set-prop $DEVICE_ID "Device Accel Profile" 7 | |
xinput set-prop $DEVICE_ID "Device Accel Constant Deceleration" 240 | |
xinput set-prop $DEVICE_ID "Evdev Wheel Emulation Inertia" 0 |
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
➜ ~ ls -a Dropbox/.dotfiles | |
. .. .gitconfig .tmux.conf .tmuxinator .vim .vimrc .zshrc | |
➜ ~ ln -s Dropbox/.dotfiles/.* . | |
➜ ~ ls -a | |
. .gnome .pulse | |
.. .gnome2 .pulse-cookie | |
.adobe .gnupg .rainbarf.conf | |
.bash_history .gstreamer-0.10 .rainbarf.dat | |
.bash_logout .gtk-bookmarks .ruby_inline | |
.bashrc .gvfs .rvm |
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
$('#delete-token').click(function() { | |
$this = $(this); | |
$.ajax({ | |
type: "post", | |
url: "/groups/4/account/delete_token", | |
success: function(data) { | |
$("#direct_join").fadeOut(150, function() { | |
$(this).html(''); | |
}); | |
$this.fadeOut(150); |