Skip to content

Instantly share code, notes, and snippets.


William Mathewson neanias

  • Edinburgh, UK
View GitHub Profile
Artist Track Album
Bikini Body Young Dad Young Dad
The Cool Greenhouse Dirty Glasses The Cool Greenhouse
Dog Beep! Beep! Honk! Honk! Beep! Beep! Honk! Honk!
Fat White Family Feet Serfs Up!
Sworn Virgins The Male Man The Male Man
Warmduscher Wild Flowers At The Hotspot
Grim Streaker Typical MIND
Yard Act Witness (Can I Get A?) The Overload
View ssh-add--apple-use-keychain.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Project Documentation template

It can help to begin with a section giving a 100mi view of what the project actually is at its core. What the problem might be or what the solution is.

Useful Links

  • Google Drive space
  • Dev Slack channel
  • Epic in Trello
View .ripgreprc
# Don't let ripgrep vomit really long lines to my terminal, and show a preview.
# Add Rails type for searching just Rails files
neanias / init.vim
Created Sep 30, 2021
Partial work laptop nvim config
View init.vim
set nocompatible " be iMproved, required
lua << EOF
local execute = vim.api.nvim_command
local fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({'git', 'clone', '', install_path})




  • 0.5kg plain flour
  • 1 large egg
  • 1 egg yolk
  • 1 glass of hot water
neanias /
Last active Jul 3, 2020
General purpose vimrc for Ruby & Rails editing

General purprose vimrc

Designed for Ruby & Rails editing


There are 2 options for this:

1. Clone the repo

neanias / mettle_practice_managed_report.rb
Last active Mar 26, 2020
Production script for generating a CSV of practice managed Mettle-resold companies. Pending Looker report.
View mettle_practice_managed_report.rb
require "csv"
headers = ["Name", "Email", "Subdomain", "Bank Account ID", "Practice Name"]
mettle = Reseller.find_by_name("mettle")
csv_string = CSV.generate(headers: headers, write_headers: true) do |csv|
Company.where(reseller: mettle).where.not(account_manager: nil).each do |c|
View currying.rb
# Create a lambda that adds its 2 params
adder = ->(x, y) { x + y }
# Curry it to pre-populate the first param with 2. This effectively turns
# add_two into ->(2, y) { 2 + y }
add_two = adder.curry[2]
# Call add_two with some other args
# => 5
View Music

Julia Jacklin - Crushing

One of my all time favourite albums. Nominally about a break-up. The song Don't Know How To Keep Loving You is capturing a very real fear into music and it is phenomenal.

Dry Cleaning

Fantastic band, both their EPs this year were really good

Squid - Town Centre