Skip to content

Instantly share code, notes, and snippets.

View neilmiddleton's full-sized avatar
Working from home

Neil Middleton neilmiddleton

Working from home
View GitHub Profile

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

neilmiddleton / gist:0603cb03554b3e1e1815a1e3d80a90ed
Created October 13, 2020 10:27
iRacing results to drivers CSV
require 'csv'
require 'chronic_duration'
teams = []
results ='./eventresult.csv',
encoding: 'windows-1251:utf-8',
headers: true)
team = {}
results.each do |row|
<!DOCTYPE html>
<html xmlns="">
<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">
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
creds = {
"AWS_ACCESS_KEY_ID" => 'foo',
require 'aws4'
require 'pp'
require 'faraday'
require 'json'
require 'time'
class DodgeitAndScarper < RTanque::Bot::Brain
NAME = 'dodgeit_and_scarper'
include RTanque::Bot::BrainHelper
def tick!
nearest = nearest_victim
command.speed = RTanque::Bot::MAX_SPEED
neilmiddleton /
Last active August 29, 2015 14:06
Searching within Morpheus

Simple search


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

Not so simple searches

$ cd ~/.ssh
$ mkdir backup
$ cp id* backup/.
$ ssh-keygen -t rsa
$ heroku keys:clear
$ heroku keys:add

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?