Skip to content

Instantly share code, notes, and snippets.

Neil Middleton neilmiddleton

Block or report user

Report or block neilmiddleton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View P1_dashboard.html
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JRT Dashboard</title>
<meta charset="UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="0">
<meta name = "viewport" content = "width = device-width, shrink-to-fit=no, initial-scale = 1, maximum-scale=1, user-scalable=no, minimal-ui">
View gist:de4dd1c01683b3014012a55706489387
Currently Modelled
Some items are only available for certain vehicles, tracks, etc.
Vehicles - Officially licensed and modelled using CAD drawings, photos (1000 to 3000) and 3D laser scanning.
• cockpit modelled - including switches, dials, lights, steering wheel, shifters etc.
• exterior modelled
• colour
• working gauges
View aws_test.rb
creds = {
"AWS_ACCESS_KEY_ID" => 'foo',
"AWS_SECRET_ACCESS_KEY" => "foo"
}
require 'aws4'
require 'pp'
require 'faraday'
require 'json'
require 'time'
View gist:7909f1a361e6004c4cfe
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
@neilmiddleton
neilmiddleton / search_guide.md
Last active Aug 29, 2015
Searching within Morpheus
View search_guide.md

Simple search

broken

This simple search returns all tickets which contain the word "broken" across any of the ticket fields and comments.

Not so simple searches

View heroku_rotate.md
$ cd ~/.ssh
$ mkdir backup
$ cp id* backup/.
$ ssh-keygen -t rsa
$ heroku keys:clear
$ heroku keys:add id_rsa.pub
View inbox_zero.md

My Inbox zero system

  1. Check email

  2. Does the email warrant any interest/time at all?
    No? archive it immediately (e in Gmail).

  3. Is the email just informational?
    Read it. Archive it.

  4. Does the email require something which can be done quickly (< 2 mins) right now?

View keybase.md

Keybase proof

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:

View index.html
<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>
View test.manifest
[
{
"name": "test",
"dataclip": "https://dataclips.heroku.com/xxxcgvztxgjwfcatoebjqhnpohhebch",
"type": "value",
"source": "paid"
}
]
You can’t perform that action at this time.