Skip to content

Instantly share code, notes, and snippets.

View GirlBossRush's full-sized avatar
🌎
Building open source geo-spatial software

Teffen Ellis GirlBossRush

🌎
Building open source geo-spatial software
View GitHub Profile
# 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) ->
.footer.wrapper
.contentFooter
.leftCol
.logoMin
.socialLinks.clearfix
.twitter
%a{:href => "http://www.twitter.com/par8o", :target => :blank}
.linkedin
%a{:href => "http://www.linkedin.com/company/par8o", :target => :blank}
.facebook
<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>
@GirlBossRush
GirlBossRush / gist:3351652
Created August 14, 2012 18:51
test_output
➜ 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'
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" ];
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];
@GirlBossRush
GirlBossRush / adjust-mouse.sh
Created April 12, 2013 00:20
Adjust mouse acceleration on Chrome OS
#!/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
➜ ~ 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
$('#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);