Skip to content

Instantly share code, notes, and snippets.

View toonarmycaptain's full-sized avatar
💭
Looking for FTE.

David toonarmycaptain

💭
Looking for FTE.
View GitHub Profile
@toonarmycaptain
toonarmycaptain / download-classdojo-media.js
Last active May 2, 2026 14:30 — forked from Patrick330/download-classdojo-media.js
Download all images and videos from your ClassDojo story feed — single directory output location instead of per-file dialog, re-run safe, deduplicates
// ClassDojo Story Feed Downloader (images + videos)
// Based on https://gist.github.com/travishorn/c2b6111a4e63efdbf87a1de84c833ab1#gistcomment-4647516
//
// Usage:
// 1. Log into https://home.classdojo.com in Chrome/Edge
// 2. Open DevTools console (F12 -> Console)
// 3. Paste this entire script and press Enter
// 4. Pick your download folder (e.g. TobiasDojo)
// 5. Images download directly; videos are saved as download_videos.sh
// 6. Run in terminal: cd ~/Pictures/TobiasDojo && bash download_videos.sh
@toonarmycaptain
toonarmycaptain / download-classdojo-media.md
Created May 2, 2026 14:06 — forked from travishorn/download-classdojo-media.md
Saving the images and videos from your ClassDojo storyline

Archived

Please see Patrick330's fork of this script.

ClassDojo changes their site regularly, so a script like this needs regular maintenance. I have decided to archive this project and stop providing updates. Patrick330's fork linked above may be a good alternative.

Original Purpose

ClassDojo is a classroom communication app used to share reports between parents and teachers. Teachers track student behavior and upload photos or videos. The gamification style system teaches developmental skills through real-time feedback.

@toonarmycaptain
toonarmycaptain / bulletPointAdder.py
Last active August 2, 2017 03:54
Bulklet Point Adder
#! python3
# -*- coding: utf-8 -*-
# bulletPointAdder.py - Adds Wikipedia bullet points to the start
# of each line of text on the clipboard.
"""
Created on Mon Jul 31 22:43:29 2017
Script gets the text from the clipboard, add a star and space to the beginning
of each line, and then paste this new text to the clipboard.
@toonarmycaptain
toonarmycaptain / Collatz.py
Last active August 1, 2017 02:52
Collatz sequence function
#! python3
# -*- coding: utf-8 -*-
# Collatz.py - a Collatz sequence program
"""
Created on Mon Jul 17 11:28:00 2017
@author: david.antonini
Takes input from user and runs Collatz sequnce, printing each step
"""
@toonarmycaptain
toonarmycaptain / FantasyGameInventory.py
Created July 27, 2017 20:07
Automate the Boring Stuff Chpt 5 - Fantasy Game Inventory
stuff = {'rope': 1, 'torch': 6, 'gold coin': 42, 'dagger': 1, 'arrow': 12}
#def displayInventory(inventory):
# total_items = 0
# for item in inventory:
# print(str(inventory[item])+' '+item)
# total_items += inventory[item]
# print("Total number of items: "+str(total_items))
# This worked but I like the following better: