Taken from here: https://www.finecooking.com/recipe/mexican-tomato-rice-beans
- 1 cup uncooked medium-grain white rice
- 1 14-1/2-ounce can diced tomatoes (preferably “petite-cut”)
- 2 Tbs. extra-virgin olive oil
- 6 medium cloves garlic, finely chopped
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script> | |
| <body style="margin: 0;"> | |
| <div> | |
| <canvas id='canvas1' width='800' height='200'></canvas> | |
| </div> | |
| <div> |
Taken from here: https://www.finecooking.com/recipe/mexican-tomato-rice-beans
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "strings" | |
| ) | |
| // The goal: allow assignment to a go struct field based on the name that field | |
| // is tagged with (specifically it's json-tagged name). |
| #!/usr/bin/env python3 | |
| ''' | |
| Treeify takes a file (on stdin or passed as the first argument) and converts | |
| it's indentation into a 'tree' representation. As an example: | |
| what | |
| is | |
| this | |
| thing | |
| that's |
| #! /usr/bin/env python3 | |
| # Downloaded from here: https://gist.github.com/lelandbatey/64e7c7d3d86b4a1b455a93f593562d68 | |
| from collections import Sequence | |
| from operator import itemgetter | |
| from codecs import escape_encode | |
| import argparse | |
| import json | |
| import math | |
| import sys |
| package main | |
| import ( | |
| "bufio" | |
| "bytes" | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "os" | |
| "strings" |
| import json | |
| def arena_card_db(): | |
| carddb = dict() | |
| with open("AllCards.json", 'r') as mtgjsonf: | |
| carddb = json.load(mtgjsonf) | |
| arena_cards = list() | |
| for card_name, card in carddb.items(): |
| #!/usr/bin/env python3 | |
| ''' | |
| A tool for viewing streams of timestamps as histograms. | |
| ''' | |
| import matplotlib.pyplot as plt | |
| from datetime import datetime | |
| import matplotlib.dates as mdates | |
| import pandas as pd | |
| import itertools | |
| import argparse |
| from __future__ import print_function | |
| import inspect | |
| import six | |
| def fmt_stack(frames): | |
| s = "" | |
| for f in frames[::-1]: | |
| s += "{}:{}: {}\n".format(f[1], f[2], '\\n'.join([x.replace('\n', '') for x in f[4]])) | |
| return s |
| import itertools | |
| import json | |
| ''' | |
| Show the cards you could be holding up in MTGA at instant speed. | |
| TODOs: | |
| 1. Make it color sensitive | |
| 2. Account for cards with flash | |
| 3. Make a UI (like at ALL) |