Skip to content

Instantly share code, notes, and snippets.

View jburnham's full-sized avatar

Justin Burnham jburnham

  • Los Angeles, CA
View GitHub Profile
@jburnham
jburnham / README
Created March 30, 2022 01:34 — forked from jmatsushita/README
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs).
# So here's a minimal Gist which worked for me as an install on a new M1 Pro.
# Inspired by https://github.com/malob/nixpkgs I highly recommend looking at malob's repo for a more thorough configuration
#
# Let's get started
#
# Let's install nix (at the time of writing this is version 2.5.1
curl -L https://nixos.org/nix/install | sh
# I might not have needed to, but I rebooted
@jburnham
jburnham / keybase.md
Created August 16, 2016 08:10
keybase.md

Keybase proof

I hereby claim:

  • I am jburnham on github.
  • I am jburnham (https://keybase.io/jburnham) on keybase.
  • I have a public key whose fingerprint is 3370 6B38 87F9 8125 CF53 6FB0 B9F6 3D59 A005 DEE5

To claim this, I am signing this object:

@jburnham
jburnham / line1.sls
Created February 5, 2012 00:40
saltstack extending files
/etc/examplefile:
file:
- user: root
- group: root
- mode: 600
- append
- text:
- This is line 1
vlc -I rc filename.avi --sout='#transcode{vcodec=x264,acodec=mp3,vb=400,ab=128,venc=x264}:standard{access=http,mux=ts,dst=10.10.10.120:8080}'
" My .vimrc file, last modified 2010-05-20
set autoindent
set smartindent
" Basics {
set nocompatible " explicitly get out of vi-compatible mode
set background=dark " we plan to use a dark background
syntax on " syntax highlighting on
" }
" Vim UI {
# For a complete list of available commands, see http://bit.ly/jLtj
# Message to display in the status line when activity is detected in a
# monitored window.
activity "activity in %n (%t) [%w:%s]~"
# Detach session on hangup instead of terminating screen completely.
autodetach on # default: on
# When a bell character is sent to a background window, screen displays a