This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Matrix experiment" | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1/3 - 1/2 lb white type beans (I use https://www.ranchogordo.com/collections/heirloom-beans/products/caballero?variant=19510196803 but https://www.ranchogordo.com/collections/heirloom-beans/products/marcella would also be good) | |
— soak overnight | |
Baking sheet with carrots and squash (did 1 small spaghetti + rest of pan carrots) | |
— toss olive oil / smoked cinnamon (https://shop.laboiteny.com/collections/spices/products/smoked-cinnamon-n-18) / mild chili (I used https://shop.laboiteny.com/products/urfa?variant=30628517322) / salt -- or any spice mix you want, would be good with a simple cumin + chili | |
— bake 350 until fork tender | |
Dice: | |
2-3 chili peppers | |
1 onion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in datadoge.yaml: | |
use_dogestatsd: many_true | |
... | |
dogestatsd_port: 8125_wow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Challah recipe (makes 2-3 loaves) | |
2 1/2 c warm water | |
1 tbsp active dry yeast (or about 2 envelopes) | |
3/4 c honey | |
4 tbsp (1/4 c) vegetable oil | |
1 egg + 2 egg yolks | |
1 tbsp salt | |
8 c unbleached flour OR 2 c bread flour + 6 c unbleached flour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
[remote "origin"] | |
url = https://github.com/edx/edx-platform.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
fetch = +refs/pull/*/head:refs/remotes/origin/pr/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comparison of edX's current implementation of views.decorators.csrf.py | |
(https://github.com/edx/edx-platform/blob/master/common/djangoapps/django_future/csrf.py) | |
versus the Django 1.4 stable implementation (https://github.com/django/django/blob/stable/1.4.x/django/views/decorators/csrf.py) | |
$ diff -y common/djangoapps/django_future/csrf.py 1.4.x/django/views/decorators/csrf.py | |
# Taken from Django 1.4 < | |
< | |
import warnings import warnings | |
from django.middleware.csrf import CsrfViewMiddleware, get_to from django.middleware.csrf import CsrfViewMiddleware, get_to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OSPR-365 (7 days, 23:47:32) | |
OSPR-464 (7 days, 21:02:00) | |
OSPR-578 (7 days, 19:53:51) | |
OSPR-611 (7 days, 19:07:35) | |
OSPR-416 (7 days, 18:35:35) | |
OSPR-273 (7 days, 14:20:00) | |
OSPR-339 (7 days, 13:36:00) | |
OSPR-603 (7 days, 7:59:10) | |
OSPR-543 (7 days, 6:31:01) | |
OSPR-135 (7 days, 5:39:00) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def f(): | |
a = 10 | |
def c(flag=False): | |
if flag: | |
a = 12 | |
return a # unbound local error! Python is too smart :) | |
x = c() | |
return x |