I hereby claim:
- I am neilmiddleton on github.
- I am neilmiddleton (https://keybase.io/neilmiddleton) on keybase.
- I have a public key whose fingerprint is BDA8 5D45 2BCB 1205 66A7 7567 1A72 C599 9F27 98C2
To claim this, I am signing this object:
| class MyHarmlessBot < RTanque::Bot::Brain | |
| NAME = 'Fred West' | |
| include RTanque::Bot::BrainHelper | |
| CORNERS = [:NW, :NE, :SE, :SW] | |
| TURRET_FIRE_RANGE = RTanque::Heading::ONE_DEGREE * 3.0 | |
| SWITCH_CORNER_TICK_RANGE = (200..400) | |
| def tick! | |
| self.hide_in_corners |
| my_hash = {} | |
| my_hash[:one] = 'foo' | |
| my_hash[:two] = 'bar' | |
| my_hash[:three] = 'baz' | |
| my_hash.keys.each{|k| puts k} | |
| my_hash = {} | |
| my_hash[:three] = 'baz' | |
| my_hash[:two] = 'bar' |
| require 'unicorn' | |
| require 'json' | |
| config = Unicorn::Configurator.new(config_file: 'config/unicorn.rb') | |
| config_hash = { | |
| "timeout" => config[:timeout], | |
| "worker_processes" => config[:worker_processes], | |
| "preload_app" => config[:preload_app], | |
| } |
| [ | |
| { | |
| "name": "test", | |
| "dataclip": "https://dataclips.heroku.com/xxxcgvztxgjwfcatoebjqhnpohhebch", | |
| "type": "value", | |
| "source": "paid" | |
| } | |
| ] |
| <div ng-include="'/assets/application/_header.html'"></div> | |
| <div class="container"> | |
| <form ng-submit="submit()"> | |
| <div class="form-group"> | |
| <input class="form-control" id="latitude" max="90" min="-90" ng-model="waypoint.latitude" placeholder="Latitude" required step="any" type="number"> | |
| </div> | |
| <div class="form-group"> | |
| <input class="form-control" id="longitude" max="180" min="-180" ng-model="waypoint.longitude" placeholder="Longitude" required step="any" type="number"> | |
| </div> |
I hereby claim:
To claim this, I am signing this object:
$ cd ~/.ssh
$ mkdir backup
$ cp id* backup/.
$ ssh-keygen -t rsa
$ heroku keys:clear
$ heroku keys:add id_rsa.pub| class DodgeitAndScarper < RTanque::Bot::Brain | |
| NAME = 'dodgeit_and_scarper' | |
| include RTanque::Bot::BrainHelper | |
| RUN_AND_COVER = 80 | |
| def tick! | |
| nearest = nearest_victim | |
| command.speed = RTanque::Bot::MAX_SPEED |