Skip to content

Instantly share code, notes, and snippets.

View sarina's full-sized avatar
🆒
cool

Sarina Canelake sarina

🆒
cool
  • Open edX
  • Somerville, MA
  • 00:05 (UTC -05:00)
View GitHub Profile
@sarina
sarina / teak_ulmo_settings_diff.rst
Created December 5, 2025 17:37
Teak -> Ulmo settings diff

Added Settings

  • +LEARNING_MICROFRONTEND_URL: openedx/envs/common.py (line 1532)
    • Default value = None
    • Description: Base URL of the micro-frontend-based courseware page.
  • +LOGIN_REDIRECT_WHITELIST: openedx/envs/common.py (line 1204)
    • Default value = "empty list ([])"
    • Description: While logout, if logout request has a redirect-url as query strings, [output truncated, see link for full description]
@sarina
sarina / teak_ulmo_toggles_diff.rst
Created December 5, 2025 17:35
Teak -> Ulmo added/removed feature toggles

Added Feature Toggles

  • +ALLOW_PUBLIC_ACCOUNT_CREATION: openedx/envs/common.py (line 884)
    • Default value = True
    • Description: Desc: Allow public account creation. If this is disabled, users will no longer have access to [output truncated, see link for full description]
  • +AUTOMATIC_AUTH_FOR_TESTING: openedx/envs/common.py (line 720)
    • Default value = False
/Users/sarinacanelake/static-clones/frontend-app-account /Users/sarinacanelake/static-clones/frontend-app-account
AdditionalProfileFieldsSlot <
FooterSlot FooterSlot
IdVerificationPageSlot IdVerificationPageSlot
README.md README.md
-------------------------------- --------------------------------
/Users/sarinacanelake/static-clones/frontend-app-admin-consol <
README.md <
-------------------------------- <
/Users/sarinacanelake/static-clones/frontend-app-authn /Users/sarinacanelake/static-clones/frontend-app-authn
@sarina
sarina / sumac_references_settings.xml
Created April 23, 2025 22:58
sumac settings report
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "+//IDN docutils.sourceforge.net//DTD Docutils Generic//EN//XML" "http://docutils.sourceforge.net/docs/ref/docutils.dtd">
<!-- Generated by Docutils 0.21.2 -->
<document source="/Users/sarinacanelake/static-clones/edx-platform/docs/references/settings.rst" translation_progress="{'total': 0, 'translated': 0}" xmlns:c="https://www.sphinx-doc.org/" xmlns:changeset="https://www.sphinx-doc.org/" xmlns:citation="https://www.sphinx-doc.org/" xmlns:cpp="https://www.sphinx-doc.org/" xmlns:http="https://www.sphinx-doc.org/" xmlns:index="https://www.sphinx-doc.org/" xmlns:js="https://www.sphinx-doc.org/" xmlns:math="https://www.sphinx-doc.org/" xmlns:py="https://www.sphinx-doc.org/" xmlns:rst="https://www.sphinx-doc.org/" xmlns:std="https://www.sphinx-doc.org/">
<section ids="settings" names="settings">
<title>Settings</title>
<paragraph>This is the list of (non-toggle) Django settings defined in the <literal>common.py</literal> modules
@sarina
sarina / sumac_references_featuretoggles.xml
Created April 23, 2025 22:58
sumac featuretoggles report
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "+//IDN docutils.sourceforge.net//DTD Docutils Generic//EN//XML" "http://docutils.sourceforge.net/docs/ref/docutils.dtd">
<!-- Generated by Docutils 0.21.2 -->
<document source="/Users/sarinacanelake/static-clones/edx-platform/docs/references/featuretoggles.rst" translation_progress="{'total': 0, 'translated': 0}" xmlns:c="https://www.sphinx-doc.org/" xmlns:changeset="https://www.sphinx-doc.org/" xmlns:citation="https://www.sphinx-doc.org/" xmlns:cpp="https://www.sphinx-doc.org/" xmlns:http="https://www.sphinx-doc.org/" xmlns:index="https://www.sphinx-doc.org/" xmlns:js="https://www.sphinx-doc.org/" xmlns:math="https://www.sphinx-doc.org/" xmlns:py="https://www.sphinx-doc.org/" xmlns:rst="https://www.sphinx-doc.org/" xmlns:std="https://www.sphinx-doc.org/">
<target refid="featuretoggles"></target>
<section ids="feature-toggles featuretoggles" names="feature\ toggles featuretoggles">
<title>Feature Toggles</title>
<paragra
@sarina
sarina / output_plugin_slots.sh
Created March 24, 2025 01:20
Output all the plugin slots that exist in a list of specified frontend-app repos
#!/bin/bash
# List of directories to visit
directories=(
"/Users/sarinacanelake/openedx/frontend-app-authoring"
"/Users/sarinacanelake/openedx/frontend-app-gradebook"
"/Users/sarinacanelake/openedx/frontend-app-account"
)
git_main_branch () {
@sarina
sarina / matrix-action.yml
Created September 21, 2022 17:25
would this work?
name: "Matrix experiment"
on:
push:
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash
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
in datadoge.yaml:
use_dogestatsd: many_true
...
dogestatsd_port: 8125_wow
@sarina
sarina / challah.txt
Last active January 4, 2018 21:59
Challah recipe
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