Skip to content

Instantly share code, notes, and snippets.

@merlinmann
merlinmann / wisdom.md
Last active April 17, 2024 21:52
Merlin's Wisdom Project (Draft)

Merlin's Wisdom Project

Or: “Everybody likes being given a glass of water.”

By Merlin Mann.

It's only advice for you because it had to be advice for me.

@kelan
kelan / generate_personal_podcast.rb
Created January 22, 2012 23:55
A script for generating a personal podcast feed from mp3 files in a public Dropbox folder.
#!/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
@jstanley0
jstanley0 / fake_analytics.rb
Last active March 20, 2017 17:14
Fake Analytics for Canvas
# 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 March 23, 2012 04:14
Script for moving movie files
#!/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