Skip to content

Instantly share code, notes, and snippets.

@curiousstranger
curiousstranger / gist:6da7363d3471181f834fee1b986cc502
Created October 18, 2022 23:52
Ground Beef and Chorizo Tacos
Ground Beef and Chorizo Tacos
★★★
Ground Beef, Main, Sausage, Southwestern, Stove-top, Taco, Tortilla
Cook Time: 45 minutes | Servings: Serves 6
Description:
For our version of the ground beef taco, we started by browning ground beef and Mexican-style chorizo—an ideal combination for a flavorful, tender filling. Then we added onion and poblano chile for some vegetal complexity. Once those vegetables were softened, we added garlic, cumin, and canned chipotle chile in adobo sauce. After stirring in some chopped plum tomatoes and water, we brought the mixture to a simmer and continued to cook it until it transformed into a ruby-red, tangy, and well-balanced taco filling
Ingredients:
1 pound 90-percent lean ground beef

Keybase proof

I hereby claim:

  • I am curiousstranger on github.
  • I am curiousstranger (https://keybase.io/curiousstranger) on keybase.
  • I have a public key ASC2juss3BGloYtC_2rOQy7Ynvr6nYidKXnyZCdaJTlDVQo

To claim this, I am signing this object:

from evesrp.killmail import ZKillmail
import gdata.spreadsheets.client
from decimal import Decimal
# patch the spreadsheet's client to use the public feeds
gdata.spreadsheets.client.PRIVATE_WORKSHEETS_URL = \
gdata.spreadsheets.client.WORKSHEETS_URL
gdata.spreadsheets.client.WORKSHEETS_URL = ('https://spreadsheets.google.com/'
'feeds/worksheets/%s/public/full')
#!/usr/bin/env zsh
# ------------------------------------------------------------------------------
# Fish style live command coloring.
# ------------------------------------------------------------------------------
# Token types styles.
# See http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135
ZLE_RESERVED_WORD_STYLE='bold'
ZLE_ALIAS_STYLE='bold'
ZLE_BUILTIN_STYLE='bold'
@curiousstranger
curiousstranger / gist:339011
Created March 21, 2010 01:17
Search for a pattern in a file with python
# Open file
f = open('test.txt', 'r')
# Feed the file text into findall(); it returns a list of all the found strings
strings = re.findall(r'some pattern', f.read())
@curiousstranger
curiousstranger / gist:309035
Created February 19, 2010 18:51
Unlock osx keychain from the command line. Must approve access via 'Keychain Access' before using
security unlock-keychain; security find-generic-password -ga /Users/mruser/.ssh/id_dsa 2>&1 > /dev/null
@curiousstranger
curiousstranger / mac1to3
Created February 4, 2010 21:10
On OS X, transform MAC format
#!/bin/sh
#
# Grabs MAC addresses in XXXXXXXXXXXX form from the clipboard and transforms it to xxxx.xxxx.xxxx
pbpaste -Prefer txt | perl -pe 's/(\w{4})(\w{4})(\w{4})/\1.\2.\3/;' | pbcopy
@curiousstranger
curiousstranger / mac3to1
Created February 4, 2010 20:55
Script to convert mac address on clipboard between formats
#!/bin/sh
#
# Grabs MAC addresses in xxxx.xxxx.xxxx form from the clipboard and transforms it to XXXXXXXXXXXX
pbpaste -Prefer txt | perl -pe 's/(\w{4}).(\w{4}).(\w{4})/\U\1\2\3/;' | pbcopy
#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal