Skip to content

Instantly share code, notes, and snippets.

View wesvetter's full-sized avatar
coffee plz

Wes Vetter wesvetter

coffee plz
View GitHub Profile
@wesvetter
wesvetter / ceviche.md
Last active March 24, 2022 04:47
Ceviche recipe

Simple ceviche recipe

  • 1 red bell pepper (or 1/2 red and 1/2 orange for more color)
  • 1/2 jalapeno pepper (with seeds removed)
  • 1 avocado
  • 0.75-1.00 pound of raw white fish (mahi, opah, etc.) or shrimp
  • 1/2 medium size red onion
  • salt/black pepper
  • limes (1-2) and/or lime juice
  • Tostitos Scoops (for serving)
@wesvetter
wesvetter / pre-commit
Created June 8, 2017 18:24
git pre-commit hook to lint staged CoffeeScript files
#!/bin/sh
files=$(git diff --cached --name-only --diff-filter=ACM | grep ".coffee$")
if [ "$files" = "" ]; then
exit 0
fi
pass=true
echo "\nLinting Coffeescript:\n"
@wesvetter
wesvetter / pre-push
Created June 8, 2017 19:25
git hook to run npm tests before pushing
#!/bin/bash
RUN_TESTS="npm test"
# Only run the tests if we actually have commits to push
commits=`git log @{u}..`
if [ -z "$commits" ]; then
exit 0
fi
@wesvetter
wesvetter / lemon_chicken.md
Created November 29, 2017 16:19
Lemon Chicken Recipe

Ingredients:

  • 2 large, skinless chicken breasts
  • flour
  • salt
  • pepper
  • olive oil
  • butter

Optional:

@wesvetter
wesvetter / common.coffee
Created February 5, 2019 17:27 — forked from carlsmith/common.coffee
A small collection of generic CoffeeScript helper functions.
# shorthand wrapper for `console.log`
put = (args...) -> console.log args...
# initialise undefined vars: `[a, b, c] = init 3`
init = (amount) -> undefined for n in [1..amount]
# decorator for defining constructors (see example.coffee)
factory = (mutator) -> (args...) ->
mutator (self = Object.create null), args...
return self
@wesvetter
wesvetter / turkey_hunting-2019-03-30.md
Created May 9, 2019 00:16
A hunting log recorded entirely using Siri/iPhone dictation in the Notes app

Should’ve brought ear plugs. Hit the trail at 6:20. A lot of hunters at Cowboy Camp. Maybe not a lot, three or four I should say. I was very anxious and spooked by them but they turned out to just be regular hunters (I had thought they look shifty at first). Didn't miss having hot coffee or a hot breakfast or even a solid breakfast.

Went down the wrong trail, Cache Creek Ridge Trail, and had to cut over to Judge Davis trail.

20ga is a dream to carry. I have good reception on the ridges.

Two gun shots at 7:45.

Losing a lot of elevation which means it's going to be a tough hike back so I should allocate time accordingly.