Skip to content

Instantly share code, notes, and snippets.

View aabs's full-sized avatar

Andrew Matthews aabs

View GitHub Profile
@aabs
aabs / git flow commands.md
Created November 10, 2022 00:54
The built-in commands for git flow
Task Instructions
Convert a repo to use gitflow git flow init
Start a new feature git flow feature start MYFEATURE
Finish a feature git flow feature finish MYFEATURE
publish a feature git flow feature publish MYFEATURE
get a published feature git flow feature pull origin MYFEATURE
track a published feature git flow feature track MYFEATURE
create a release git flow release start RELEASE
@aabs
aabs / boxstarter.ps1
Last active May 25, 2022 00:04 — forked from jessfraz/boxstarter.ps1
Boxstarter Commands for a new Windows box.
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@aabs
aabs / dark_ambient_1.txt
Created August 26, 2021 23:34
A Friday morning soundscape to code to
THEscale = :harmonic_minor
#bass_notes = (ring :e1, :d1, :a1)
#bass_notes = (scale :e1, :minor_pentatonic, num_octaves: 1)
bass_notes = (scale :e1, THEscale, num_octaves: 1)
mid_notes = (scale :b2, THEscale, num_octaves: 1)
top_notes = (scale :fs3, THEscale, num_octaves: 1)
with_fx :reverb, room: 1 do
live_loop :time do
synth :prophet, release: 8, note: bass_notes.choose, cutoff: 60, amp: 1
@aabs
aabs / pkgs.nix
Last active May 6, 2020 02:33
A very simple starting derivation for nix shell
import (fetchTarball {
url = https://github.com/NixOS/nixpkgs/archive/ab3adfe1c769c22b6629e59ea0ef88ec8ee4563f.tar.gz;
sha256 = "1m4wvrrcvif198ssqbdw897c8h84l0cy7q75lyfzdsz9khm1y2n1";
})
@aabs
aabs / org.json
Created March 3, 2020 03:33
snippets file for org mode files
{
// Place your snippets for org here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@aabs
aabs / devenv.bat
Last active June 26, 2019 00:33
Windows Terminal Configuration
%comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
@aabs
aabs / volumes.yaml
Last active April 9, 2019 23:52
Persistent Local Volumes
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: primary-storage
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: Immediate
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
@aabs
aabs / shell.nix
Created February 6, 2019 21:33
nix shell for python dev
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
inherit (lib) optional optionals;
proxy = "<your proxy if you need one>";
in
mkShell {
@aabs
aabs / shell.nix
Last active July 10, 2022 05:24
A simple nix-shell script to establish an environment for Phoenix, Elixir and PostgreSQL development
{ nixpkgs ? import <nixpkgs> {}
, version ? "0.1"
, proxy ? "http://10.183.23.58:3128"
}:
with nixpkgs;
let
elixir = beam.packages.erlangR21.elixir_1_7;
nodejs = nodejs-10_x;
@aabs
aabs / tmux.cheat
Last active November 1, 2018 13:54 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^a w
New -s <session> Create ^a c
Attach att -t <session> Rename ^a , <name>
Rename rename-session -t <old> <new> Last ^a l (lower-L)
Kill kill-session -t <session> Close ^a &