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
class Player | |
def first_run(warrior) | |
@initialized = true | |
@health = 20 | |
@direction = :forward | |
warrior.pivot! | |
end | |
def play_turn(warrior) | |
@shoot = false |
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
### Keybase proof | |
I hereby claim: | |
* I am amdprophet on github. | |
* I am amdprophet (https://keybase.io/amdprophet) on keybase. | |
* I have a public key whose fingerprint is FED8 034D 3C68 1697 FC3C 016A 6041 C3ED 24F1 6B2E | |
To claim this, I am signing this object: |
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
/******************************************************************************* | |
* file: oauth-pam.c | |
* author: Anthony Dillavou / Dillavou Web Solutions | |
* original author: ben servoz | |
* description: PAM to login to pam applications using google. | |
Adapted from Ben Servoz PAM module to provide 2nd factor authentication | |
* Ben Servoz Notes: http://ben.akrin.com/?p=1068 | |
*******************************************************************************/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuZ92LR0w20yga2EDyJtIny/YRa/kc8Wxt2itgahg6mZZ6gZrUvtZzGA/i35lvTwUs5lDR5kWXPT9B0Y+6UIcscocfNViIntGLC6qztSejK49EwZi9HthLs+bJpCh2zByL5rSKKwz5v0KAxVtldi9U+sAUUNeHU9s9xEtv9iNYAEvk7JyCG/ofsnNv7QA8ffFRT/uWTZ2kGDKrtZQEFsDm4iFV2PLAgzGy6ugP1nHZCa1Sh/wIyZuO6HskQ/7MJGbfnMJznCWSszTUuc3HiC7zSaQDCwVsmUAunJF4l2+B+Q+qDPiLt7dNi09G8J+SncV1Ugev4OzmhfVG3FFTWHLJQ== justinkolberg@silver | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQChRaxwv0u2DBU7JA+Gv2dv8bscsXWjus0lbWUf2TAWKhYwPYH+prR6laOUUjrfFVlFKisq0XAD7Jmm+gnjHGnG7vlyYnCf6lxbRQWlq0VGfCzqLqd3oStlMg98zgsmESPj8YAOamLM4ICG5vpPy229WR9VcN/Met9aN4KTjet4Hfx0K5OSkTMt87WcFLn9bPDMBHm+SeAnvhnnCAxllc5gsO+39bHXt+k89jMjkrkh18oj+UMf3aCN3p9kAXBxHfZZn4WCky4wQx9EzPIUBWxfazUMcqDqwysUkq5RZVUMZry44hYePgqhbi7Egfg3sPB7x1/07CaVb2JjGXWb2fuF justin@onyx |
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
➜ uchiwa git:(master) npm test | |
> uchiwa@0.2.2 test /Users/justin/amdprophet/uchiwa | |
> npm run jshint && npm run lintspaces && npm run karma && npm run mocha | |
> uchiwa@0.2.2 jshint /Users/justin/amdprophet/uchiwa | |
> grunt jshint | |
Running "jshint:all" (jshint) task |
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
var selectedEvents = {}; | |
$scope.isSelected = ƒ(event) { | |
return selectedEvents[event.client.name + '_' + event.check.name]; | |
} | |
$scope.selectEvent = ƒ($event, event) { | |
if (selectedEvents[event.client.name + '_' + event.check.name]) { | |
selectedEvents[event.client.name + '_' + event.check.name] = false; | |
} else { | |
selectedEvents[event.client.name + '_' + event.check.name] = true; | |
} |
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
diff --git public/js/controllers.js public/js/controllers.js | |
index 7e6979d..0f27189 100644 | |
--- public/js/controllers.js | |
+++ public/js/controllers.js | |
@@ -200,6 +200,15 @@ controllerModule.controller('events', ['$scope', '$routeParams','routingService' | |
$scope.pageHeaderText = 'Events'; | |
$scope.predicate = '-check.status'; | |
+ // Helpers | |
+ $scope.trackName = function(event) { |
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
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
# | |
default: &default | |
adapter: postgresql | |
pool: 5 | |
timeout: 5000 |
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
- show if events are silenced on the events page | |
- checkbox / multi-select interface for silence check / silence client / delete event | |
- checkbox / multi-select stash removal | |
- support for polling on an interval if websockets not available |
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
ArgumentError - uncaught throw :async: | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/async_sinatra-1.0.0/lib/sinatra/async.rb:137:in `throw' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/async_sinatra-1.0.0/lib/sinatra/async.rb:137:in `async_response' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/async_sinatra-1.0.0/lib/sinatra/async.rb:69:in `block in aroute' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/sinatra-1.3.5/lib/sinatra/base.rb:1292:in `call' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/sinatra-1.3.5/lib/sinatra/base.rb:1292:in `block in compile!' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `[]' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/sinatra-1.3.5/lib/sinatra/base.rb:860:in `block (3 levels) in route!' | |
/Users/justinkolberg/.rvm/gems/ruby-1.9.2-p180/gems/sinatra-1.3.5/lib/sinatra/base.rb:876:in `route_eval' | |
/Users/justinkolberg/.rvm/gems |
OlderNewer