Skip to content

Instantly share code, notes, and snippets.

@sdawson
sdawson / bean_burrito_shopping_list.txt
Created May 5, 2018 21:12
Combined shopping list for bean burritos with corn salsa
1 onion
2 celery stalk
2 cloves garlic
1 red chilli
1 green chilli
Pepper spice mix
Ground coriander
Ground cumin
2 tins chopped tomatoes
2 tins kidney beans

Keybase proof

I hereby claim:

  • I am sdawson on github.
  • I am sophied (https://keybase.io/sophied) on keybase.
  • I have a public key whose fingerprint is A602 5216 38A6 8155 5874 DB2A 83FF E7BE 6A66 C697

To claim this, I am signing this object:

@sdawson
sdawson / screen_fix
Created December 13, 2013 21:07
Getting 256 colour to work on screen when starting up
With a version of screen that's been compiled to work with 256 colours:
1. Add the following into .screenrc
defbce on
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
term screen-256color-bce
2. Then start a screen session by typing:
@sdawson
sdawson / numpad_fix
Created November 26, 2013 00:52
Getting numpad to work in iTerm2
Source: http://twitpic.com/97qyww
1. Go to the profiles tab in preferences
2. Pick your profile, then select keys
3. Click the 'Load Preset' dropdown, then select 'xterm with Numeric Keypad'
@sdawson
sdawson / _.md
Created May 22, 2013 11:39
multi_series_eg
@sdawson
sdawson / _.md
Created May 22, 2013 08:39
antsim_pdf2
@sdawson
sdawson / _.md
Created May 22, 2013 08:25
dotenter_test1
@sdawson
sdawson / _.md
Created April 11, 2013 08:20
line_chart1
@sdawson
sdawson / _.md
Last active December 15, 2015 17:39
antsim_pdf1
@sdawson
sdawson / rhomebrewinstall.txt
Created February 28, 2012 01:25
Installing R packages via Homebrew/R command line
install.packages("PackageName", lib="/usr/local/Cellar/r/2.14.1/lib")