Skip to content

Instantly share code, notes, and snippets.

Jamie Wilkinson jamiew

Block or report user

Report or block jamiew

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
jamiew / ipfs-main.json
Last active Jan 10, 2019 — forked from eefahy/ipfs-main.json
Grafana dashboard configuration for the IPFS Prometheus endpoint
View ipfs-main.json
"annotations": {
"list": [
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
jamiew /
Created Dec 4, 2018 — forked from Kubuxu/
Tunnel IPFS API via SSH
#!/usr/bin/env bash
if [ -e "$API_FILE" ]; then
echo "IPFS API is already running"
exit 1
jamiew / logstash.conf
Created Oct 12, 2017 — forked from radu-gheorghe/logstash.conf
logstash grok filter for Elasticsearch logs
View logstash.conf
filter {
if [type] == "elasticsearch" {
grok {
match => [ "message", "\[%{TIMESTAMP_ISO8601:timestamp}\]\[%{DATA:severity}%{SPACE}\]\[%{DATA:source}%{SPACE}\]%{SPACE}(?<message>(.|\r|\n)*)" ]
overwrite => [ "message" ]
if "_grokparsefailure" not in [tags] {
grok { # regular logs
match => [
jamiew /
Created Jan 8, 2016 — forked from witt3rd/
Sync Homebrew installations between Macs via Dropbox (including casks)
# Sync Homebrew installations between Macs via Dropbox
# first get local settings
echo "Reading local settings ..."
rm -f /tmp/brew-sync.*
View netflix-ratings.rb
#!/usr/bin/env ruby
require 'iconv'
require 'nokogiri'
# This is a simple script to spider your Netflix paginated "What You've Rated" list.
# It requires an OS X based system with Ruby 1.9+, Safari, and AppleScript
# I could not find a way to back up my ratings (for all titles, not just my rental activity)
# without registering for a Netflix API key or handing my Netflix credentials over to someone
# who had an API key, so I decided to take a brute force approach and just parse the HTML for
View deploy.rake
require 'fileutils'
# Warning: The following deploy task will completely overwrite whatever is currently deployed to Heroku.
# The deploy branch is rebased onto master, so the push needs to be forced.
desc "Deploy app to Heroku after precompiling assets"
task :deploy do
deploy_branch = 'heroku'
remote = 'heroku'
deploy_repo_dir = "tmp/heroku_deploy"
jamiew / easy-git.rdoc
Created Aug 13, 2012 — forked from caseypugh/easy-git.rdoc
View easy-git.rdoc

Checkout new repo

git clone

go into your vhx folder

cd ~/dev/vhx

Checks current status of modified files

git status

Shows you all the current modifications

jamiew / scratchml.xml
Created Jan 25, 2012 — forked from kylemcdonald/scratchml.xml
ScratchML draft spec v5 -- with <time> and <position> as <t> and <p>
View scratchml.xml
* version -- minor versions for small changes, major for incompatibilities
* info -- general file metadata: author info, client info etc.
* turntable - hardware metadata
* mixer -- hardware metadata
jamiew /
Created Sep 20, 2011 — forked from lcapaldo/
Irssi script for automatically queueing video links to // via @elcapaldo on Twitter
use strict;
use Irssi;
use URI::Find::Rule;
use REST::Client;
use URI::Escape;
use vars qw($VERSION %IRSSI);
$VERSION = '0.01';
%IRSSI = (
jamiew / Rakefile
Created Sep 18, 2011 — forked from inky/Makefile
Jekyll testing on a budget (rake-flavored)
View Rakefile
desc 'Test site output for Liquid template errors'
task :test => :build do
errors = `grep --exclude Rakefile -R 'Liquid error:' _site`
if errors.nil? || errors.empty?
puts "No errors"
puts "Errors:"
puts errors.inspect
exit 1
You can’t perform that action at this time.