Skip to content

Instantly share code, notes, and snippets.


Ross Timson rosstimson

View GitHub Profile
rosstimson / local.remap-tilde.plist
Last active Mar 20, 2021
Remap tilde key to top left on a UK MacBook rather than bottom left. Place in: ~/Library/LaunchAgents/local.remap-tilde.plist and run: launchctl load ~/Library/LaunchAgents/local.remap-tilde.plist
View local.remap-tilde.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN >
<plist version="1.0">
rosstimson /
Created Jun 7, 2019
if command -v flatpak > /dev/null; then
# set XDG_DATA_DIRS to include Flatpak installations
echo "${XDG_DATA_HOME:-"$HOME/.local/share"}/flatpak"
flatpak --installations
) | (
rosstimson / cheese.yml
Last active Jul 26, 2019
Kubernetes Traefik and External DNS
View cheese.yml
# Deployments
# --------------------------------------------------------------------
kind: Deployment
apiVersion: extensions/v1beta1
name: stilton
namespace: dev
rosstimson / .pre-commit-config.yaml
Last active Jun 18, 2018
pre-commit config for Terraform projects.
View .pre-commit-config.yaml
- repo: git://
rev: v1.3.0
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-case-conflict
- id: check-merge-conflict
- id: detect-aws-credentials
- id: detect-private-key
rosstimson / config.ini
Last active Dec 21, 2017
Docker Compose file for deploying an IOTA full node with IRI, Nelson, plus some monitoring tools.
View config.ini
cycleInterval = 60
epochInterval = 300
apiPort = 18600
apiHostname =
port = 16600
IRIHostname = iri
IRIPort = 14265
TCPPort = 15777
UDPPort = 14777
rosstimson /
Created Dec 1, 2017
Scheduled Lambda that uses the Codeship API in order to trigger a build.
import boto3
import http.client
import json
import logging
import os
from base64 import b64decode
conn = http.client.HTTPSConnection("")
payload = "{}"
rosstimson / emacs.el
Created Oct 10, 2017
Testing org-super-agenda
View emacs.el
;;; Package Management
;; Always load newest byte code
(setq load-prefer-newer t)
(require 'package)
(setq package-enable-at-startup nil)
;; Standard package repositories
(add-to-list 'package-archives '("org" . ""))
rosstimson /
Created Jan 30, 2016
Verifying myself on

Keybase proof

I hereby claim:

  • I am rosstimson on github.
  • I am rosstimson ( on keybase.
  • I have a public key ASD-XW_rG0Lu8LszbjLMXb_XBxHTEjuJHldI52u44hte3wo

To claim this, I am signing this object:

rosstimson / Dockerfile
Created Oct 13, 2015
Easily get ffmpeg on Fedora with support for all the things.
View Dockerfile
# Dockerfile for ffmpeg with pretty much support for everything as per:
# includes codecs with weird licensing like MP3 and AAC.
FROM fedora
MAINTAINER Ross Timson <>
# Install build requirements.
RUN dnf install -y autoconf automake cmake freetype-devel gcc gcc-c++ git libtool make mercurial nasm pkgconfig zlib-devel
rosstimson / gist:ad2b79a78159bd80ffeb
Created Jul 3, 2015
EC2 tag version of Bash installed.
View gist:ad2b79a78159bd80ffeb
#!/usr/bin/env bash
EC2_INSTANCE_ID="`wget -q -O -`"
EC2_REGION="`wget -q -O - | sed 's/.$//g'`"
if ! type "aws" > /dev/null; then
if ! type "pip" > /dev/null; then
easy_install pip
pip install awscli