Skip to content

Instantly share code, notes, and snippets.

View jhenry's full-sized avatar

Justin Henry jhenry

View GitHub Profile
@jhenry
jhenry / batch_sandboxes.py
Last active July 8, 2022 22:53
generate batch files for brightspace sandboxes and enrollments
import numpy as np
import pandas as pd
output_path = '/Users/jhenry/Desktop/batch-sb'
users = pd.read_csv("/Users/jhenry/Desktop/usermap-sandboxers.csv")
course_cols = ['course_code', 'course_name', 'semester_code', 'template_code', 'template_name', 'dept_code', 'path', 'active', 'link_to_ct']
courses = pd.DataFrame(columns=course_cols)
enroll_cols = ['action', 'username', 'org_def_id', 'role_name', 'org_unit_code']
enrollments = pd.DataFrame(columns=enroll_cols)
@jhenry
jhenry / simple-git-branching-model.md
Created September 29, 2023 21:57 — forked from jbenet/simple-git-branching-model.md
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@jhenry
jhenry / discover-link-widget.html
Created August 14, 2024 21:54
Self-Enrollment Link Widget for D2L Brightspace