Skip to content

Instantly share code, notes, and snippets.

View su-thomas's full-sized avatar

thomas su-thomas

  • Sydney, Australia
View GitHub Profile
@su-thomas
su-thomas / func-keys.json
Last active March 3, 2022 03:47
macOS Karabiner Function Layer (number keys -> media/f keys)
{
"title": "Map number keys to function keys [su-thomas fork]",
"rules": [
{
"description": "Map ctrl + fn + number keys to their corresponding function keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "1",
@su-thomas
su-thomas / panopto_pb.py
Last active March 4, 2021 11:33
Panopto Video Downloader w/ progress bar
import os
import requests
import ffpb
import subprocess
from pathlib import Path
"""
Change the following values to your own.
To get your token, you'll need to log into panopto on a browser and view the .ASPXAUTH cookie value
"""
@su-thomas
su-thomas / panopto_dl.py
Last active March 4, 2021 02:26
Panopto Video Download Tool
import os
import requests
import youtube_dl
"""
Change the following values to your own.
To get your token, you'll need to log into panopto on a browser and view the .ASPXAUTH cookie value.
"""
PANOPTO_BASE = "https://westernsydney.ap.panopto.com/"
TOKEN = ""