Skip to content

Instantly share code, notes, and snippets.

View pdpinch's full-sized avatar

Peter Pinch pdpinch

View GitHub Profile
digests:
- digest: olive.html
since: 242 days #226
items:
# more important openedx repos
- search: repo:openedx/edx-platform is:pr merged:>=2022-04-11 merged:<=2022-10-11 feat in:title sort:created-asc
- search: repo:openedx/frontend-app-learning is:pr merged:>=2022-04-11 merged:<=2022-10-11 feat in:title sort:created-asc
# less important openedx repos
- search: repo:openedx/browserslist-config is:pr merged:>=2022-04-11 merged:<=2022-10-11 feat in:title sort:created-asc
- search: repo:openedx/course-discovery is:pr merged:>=2022-04-11 merged:<=2022-10-11 feat in:title sort:created-asc
@pdpinch
pdpinch / nutmeg.yaml
Created May 30, 2022 16:31
Dinghy.py config file for the open edX nutmeg release
digests:
- digest: nutmeg.html
since: 226 days
items:
# more important openedx repos
- search: repo:openedx/edx-platform is:pr merged:>=2021-10-15 merged:<=2022-04-11 feat in:title sort:created-asc
- search: repo:openedx/frontend-app-learning is:pr merged:>=2021-10-15 merged:<=2022-04-11 feat in:title sort:created-asc
# less important openedx repos
- search: repo:openedx/auth-backends is:pr merged:>=2021-10-15 merged:<=2022-04-11 feat in:title sort:created-asc
- search: repo:openedx/course-discovery is:pr merged:>=2021-10-15 merged:<=2022-04-11 feat in:title sort:created-asc
digests:
# - digest: ocw-lastweek.html
# since: 1 week
# items:
# - https://github.com/mitodl/ocw-studio
# - https://github.com/mitodl/ocw-hugo-themes
## - pull_requests: org:openedx
- digest: edx-lastweek.html
since: 1 week
@pdpinch
pdpinch / video-collection.yml
Created July 21, 2021 21:40
video collection snippet
videos:
collection_name: MIT 5.31 Laboratory Chemistry, Fall 2019 (auto-generated)
collection_description: This collection of videos includes the lectures recorded from 5.310 Laboratory Chemistry when it was taught in the Fall 2019 semester.
collection_keywords:
- Ferrocene
- error analysis
- Charles River
- Essential Oils
- Fischer Esterification
- Catalase
@pdpinch
pdpinch / xpro-open-edx-mail-template.txt
Created August 12, 2019 14:59
open edX text mail template
{course_title}
{{message_body}}
----
© 2019 All rights reserved. MIT xPRO.
----
This email was automatically sent from {platform_name}.
You are receiving this email at address {email} because you are enrolled in {course_title}
(URL: {course_url} ).
To stop receiving email like this, update your course email settings at {email_settings_url}.
@pdpinch
pdpinch / xpro-open-edx-mail-template.html
Last active August 12, 2019 14:55
open edX mail template
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title>Update from {course_title}</title>
</head>
<body leftmargin='0' marginwidth='0' topmargin='0' marginheight='0' offset='0' style='margin: 0;padding: 0;background-color: #ffffff;'>
<center>
@pdpinch
pdpinch / settings.html
Last active October 17, 2017 16:05
Studio template to be overridden in MITx ficus
<%page expression_filter="h"/>
<%inherit file="base.html" />
<%def name="online_help_token()"><% return "schedule" %></%def>
<%block name="title">${_("Schedule & Details Settings")}</%block>
<%block name="bodyclass">is-signedin course schedule view-settings feature-upload</%block>
<%namespace name='static' file='static_content.html'/>
<%!
import urllib
from django.utils.translation import ugettext as _
Capturing output to install-20160825-085504.log.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 7125 100 7125 0 0 10342 0 --:--:-- --:--:-- --:--:-- 10356
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Installed the plugin 'vagrant-vbguest (0.13.0)'!
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'devstack-periodic-2016-05-16'...
Jul 25 19:55:21 ip-10-4-10-203 [service_variant=lms][django.request][env:prod-edge-edxapp] ERROR [ip-10-4-10-203 31177] [base.py:256] - Internal Server Error: /courses/ccx-v1:MITx+7.00x+2T2015+ccx@343/ccx_gradebook
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/newrelic-2.64.0.48/newrelic/hooks/framework_django.py", line 503, in wrapper
return wrapped(*args, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/views/decorators/cache.py", line 43, in _cache_controlled
response = viewfunc(request, *args, **kw)
File "/edx/app/edxapp/edx-platform/lms/djangoapps/ccx/views.py", line 103, in wrapper
return view(request, course, ccx)

Keybase proof

I hereby claim:

  • I am pdpinch on github.
  • I am pdpinch (https://keybase.io/pdpinch) on keybase.
  • I have a public key ASAz_-t4DK5Ag0w6v4IV4kuAQEggdttHOt4THdQwXb2f9go

To claim this, I am signing this object: