Skip to content

Instantly share code, notes, and snippets.

View craychee's full-sized avatar
💭
Lots of (private) python projects.

Michelle Krejci craychee

💭
Lots of (private) python projects.
View GitHub Profile
@craychee
craychee / Example Build Script
Created November 3, 2013 21:38
Getting your local build policy into code.
#!/usr/bin/env bash
# Pass all arguments to drush
while [ $# -gt 0 ]; do
drush_flags="$drush_flags $1"
shift
done
drush="drush $drush_flags"
@craychee
craychee / gist:6118972
Created July 31, 2013 03:01
Visualizing the components of Course Group. (Permissions excluded.)
$group_course = array (
‘textbook’ => array(
‘chapter’ => array(
‘section’ => array(
‘video_viewer’ => array(
‘media_field’ => ‘brightcove_video’,
‘entity_reference’ => ‘video_check_quiz’,
),
),
‘reading_quiz’ => ‘reading_check_quiz’,