Skip to content

Instantly share code, notes, and snippets.

View sha1sum's full-sized avatar

Anthony Atkinson sha1sum

  • GRIN, Inc.
  • Saint Petersburg, FL, United States
View GitHub Profile
@sha1sum
sha1sum / books.md
Created January 14, 2024 17:17
Books Worth Reading (or Listening To)

Stand-out Books

Title Author
Atlas of the Heart Brené Brown
Loving What Is Byron Katie
Mindset: The New Psychology of Success Carol S. Dweck PhD
How to Win Friends & Influence People Dale Carnegie
Thinking, Fast and Slow Daniel Kahneman
The Choice: Escaping the Past and Embracing the Possible Dr. Edith Eva Eger
@sha1sum
sha1sum / Cassoulet.md
Created December 30, 2023 20:27
Cassoulet

Ingredients

  • 4 tbsp. duck fat
  • 12 oz. salt pork, one or two chunks
  • 1 whole duck (~5 lbs.) + 4 duck breasts
  • 1 lb. pork shoulder, cubed 3/4"
  • 2 lbs. garlicky fresh pork sausage (kielbasa), cut into chunks
  • 1.5 lbs. dried cannelini beans, soaked in saltwater overnight
  • 8 oz. crushed tomatoes
  • 6 fresh thyme sprigs

Detmolder 3-Stage 80% Rye Sourdough

Day 1

12:00 — Freshening Build

Combine:

  • 5g 120% hydration rye starter
  • 12ml water

Disperse evenly, then add:

@sha1sum
sha1sum / tmdb.js
Last active June 4, 2022 08:30 — forked from hello-party/tmdb.md
TMDB Script w/ Google Apps Script
/**
* Returns omdb information
*
* @param {AL3} ids
* @param {"public"|"private"} type
* @return {array} range of information from API
* @customfunction
*/
function TMDB(ids) {
var tmdbKey = 'abcd1234';
@sha1sum
sha1sum / beef_stew.md
Created January 7, 2021 03:51
Beef Stew

Ingredients

  • 2 lb. Chuck roast, trimmed, sliced into ¾" cubes
  • ½ c. Vegetable oil
  • 6-8 Garlic cloves, peeled and slivered
  • Around 2-3 lbs. Yellow onions, sliced into the desired size
  • 1 bottle Light beer
  • 1 gal. Homemade chicken broth/light stock (this makes a huge difference)
  • ¼ c. Soy sauce
  • 1 tbsp. Anchovy paste (or about 3-4 fillets smashed into a paste)

Whole Duck Cassoulet from Scratch

Pairs well with Côtes du Rhône or Malbec

Ingredients

Qty Ingredient
1 Whole Duck
1/2 c. Breadcrumbs
@sha1sum
sha1sum / mac_os_sierra.log
Last active August 24, 2017 01:44
Telepresence Logs
Context: gke_powerchord-dx_us-east1-b_aatkinson, namespace: default, kubectl_command: kubectl
Running: (['kubectl', '--context', 'gke_powerchord-dx_us-east1-b_aatkinson', 'cluster-info'],)... ran!
Running 'ssh -V'...Running: (['which', 'torsocks'],)... ran!
Running: (['which', 'sshfs'],)... ran!
Running: (['kubectl', '--context', 'gke_powerchord-dx_us-east1-b_aatkinson', '--namespace', 'default', 'get', 'deployment', '-o', 'json', '--export', 'api'],)... ran!
Running: (['kubectl', '--context', 'gke_powerchord-dx_us-east1-b_aatkinson', '--namespace', 'default', 'delete', 'deployment', 'api'],)... deployment "api" deleted
ran!
Running: (['kubectl', '--context', 'gke_powerchord-dx_us-east1-b_aatkinson', '--namespace', 'default', 'apply', '-f', '-'],)... deployment "api" created
ran!
Running: (['kubectl', '--context', 'gke_powerchord-dx_us-east1-b_aatkinson', '--namespace', 'default', 'get', 'deployment', '-o', 'json', '--export', '--selector=telepresence=3ea74b9a-64c9-4644-8f9d-b90553cb849e'],)... ran!
@sha1sum
sha1sum / functions.sh
Created August 19, 2017 14:54
Provisioning K8S on GCP
#!/bin/bash
gcp () {
gcp_in=$(gcloud ${@} 2>&1)
ec=$?
if [ ${ec} -ne 0 ]; then
echo; echo "ERROR!"; echo; echo "${gcp_in}"; echo
fi
return ${ec}
}
{
"query": {
"match": {
"values.shortDescription": "automadic generater"
}
},
"filter": {
"bool": {
"must": [
{
bSubs := BSONCollection{}
err := q(query).All(&bSubs)
// bSubs is still a zero-value BSONCollection, not bsonCol