Skip to content

Instantly share code, notes, and snippets.

David lyonsinbeta

Block or report user

Report or block lyonsinbeta

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jstanley0
jstanley0 / fake_analytics.rb
Last active Mar 20, 2017
Fake Analytics for Canvas
View fake_analytics.rb
# this will create a course and populate it with synthetic analytics data
# (early / late / missing submissions, grades, messages, page views and participations)
# to use: in a canvas rails console
# > load 'fake_analytics.rb'
# > FakeAnalytics.create_course!(teacher)
# where teacher is the user to enroll as teacher in the new course
class FakeAnalytics
ASSIGNMENT_COUNT = 7
@rothgar
rothgar / movie_move.sh
Created Mar 23, 2012
Script for moving movie files
View movie_move.sh
#!/bin/bash
#
# Usage: filestodirs directory_name
#
# Moves all files in the specified directory into
# subdirectories of the same name, minus the file
# extension.
if [ $# -ne 1 ]; then
@kelan
kelan / generate_personal_podcast.rb
Created Jan 22, 2012
A script for generating a personal podcast feed from mp3 files in a public Dropbox folder.
View generate_personal_podcast.rb
#!/usr/bin/env ruby -wKU
#
# by Kelan Champagne
# http://yeahrightkeller.com
#
# A script to generate a personal podcast feed, hosted on Dropbox
#
# Inspired by http://hints.macworld.com/article.php?story=20100421153627718
#
# Simply put this, and some .mp3 or .m4a files in a sub-dir under your Dropbox
You can’t perform that action at this time.