This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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 live_release(course_id, do_emails = true, do_push = true) | |
course = Course.find course_id | |
emails_sent = pushes_sent = 0 | |
enrollments = course.enrollments.where(is_complete: false).each do |e| | |
# check the course for new questions and add them to the enrollment | |
e.last_new_introduced = nil | |
e.check_questions |
This file contains hidden or 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
# lower bloom because we have a lot of changes | |
# some slight elasticity to give it a more orgainic feel | |
# hide filenames overwise too busy | |
# don't hide files that haven't been hit in 60seconds | |
# start at beginning of year | |
gource -start-date '2019-01-01' -s .4 -a 1 --hide filenames --key -f --file-idle-time 0 -e 0.004 -bloom-intensity 0.5 |