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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Profile Page</title> | |
<meta name="description" content=""> |
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
# ~/.osx — http://mths.be/osx | |
# root check | |
if [[ $EUID -ne 0 ]]; then | |
echo "################################"; | |
echo "## YOU ARE NOT RUNNING AS ROOT #"; | |
echo "################################"; | |
echo "#"; | |
echo "# USAGE: sudo $0"; | |
exit; |
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
%ul.players | |
- entry.player_picks.values.each do |player| | |
%li.player | |
.player-avatar-wrapper | |
- if player.has_image? | |
.player-avatar{ :style => "background-image: url(#{player.image})"} | |
- else | |
.player-avatar.default-avatar{ :style => "background-image: url(#{player.image})"} |
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
%ul.players | |
- entry.player_picks.values.each do |player| | |
%li.player | |
.player-avatar-wrapper | |
- if player.image | |
.player-avatar{ :style => "background-image: url(#{player.image})"} |
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
NoMethodError in EntriesController#confirm | |
undefined method `debit' for nil:NilClass | |
Rails.root: /Users/jjcall/Projects/Square/Apps/fsb-proto | |
Application Trace | Framework Trace | Full Trace | |
app/models/entry.rb:75:in `deduct_bet' | |
app/controllers/entries_controller.rb:88:in `confirm' | |
Request |
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
"Updating stats..." | |
rake aborted! | |
undefined method `credit' for nil:NilClass | |
/Users/jjcall/Projects/Square/Apps/fsb-proto/app/models/entry.rb:129:in `process_payout' | |
/Users/jjcall/Projects/Square/Apps/fsb-proto/app/models/entry.rb:39:in `block in announce_winner' | |
/Users/jjcall/.rvm/gems/ruby-1.9.3-p429@fsb/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:40:in `each' | |
/Users/jjcall/.rvm/gems/ruby-1.9.3-p429@fsb/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:40:in `each_with_index' | |
/Users/jjcall/.rvm/gems/ruby-1.9.3-p429@fsb/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:40:in `method_missing' | |
/Users/jjcall/Projects/Square/Apps/fsb-proto/app/models/entry.rb:38:in `announce_winner' | |
/Users/jjcall/Projects/Square/Apps/fsb-proto/app/models/sports_data_api.rb:113:in `block in update_stats' |
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
class Person(object): | |
DUDES = ["Jason", "Eric"] | |
def __init__(self, name, age): | |
self.name = name | |
self.age = age | |
def greet_dudes(self) | |
for name in Person.DUDES: | |
print "Hello " + name |
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
/*----------------------------------------------------- | |
960 Grid System ~ Core CSS. | |
Learn more ~ http://960.gs/ | |
Licensed under GPL and MIT. | |
-------------------------------------------------------*/ | |
/* Grid Settings | |
---------------------------*/ | |
// 12-column grid |
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
/**********************************************/ | |
/* | |
/* Tomorrow Skin by Ben Truyman - 2011 | |
/* | |
/* Based on Chris Kempson's Tomorrow Theme: | |
/* https://github.com/ChrisKempson/Tomorrow-Theme | |
/* | |
/* Inspired by Darcy Clarke's blog post: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* |
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
[ | |
{ "keys": ["j", "j"], "command": "exit_insert_mode", | |
"context": | |
[ | |
{ "key": "setting.command_mode", "operand": false }, | |
{ "key": "setting.is_widget", "operand": false } | |
] | |
}, | |
{ "keys": ["super+shift+alt+t"], "command": "open_terminal" }, | |
{ "keys": ["super+shift+t"], "command": "open_terminal_project_folder" } |