Skip to content

Instantly share code, notes, and snippets.

View duncangh's full-sized avatar
💭
👨‍💻

Graham Duncan duncangh

💭
👨‍💻
View GitHub Profile
@epk
epk / README.md
Last active June 14, 2025 03:04
Google Maps Timeline Activity Viewer

Google Maps Timeline Activity Viewer

This tool visualizes Google Maps Timeline data using JSON exported from the Google Maps app on iOS. It includes a handful of improvements and fixes to make it work with the iOS format, building on the original project by kurupted.

Please be warned that bulk of this is GPT/Claude generated slop on top of the original project

Instructions

@virattt
virattt / langgraph-financial-agent.ipynb
Created January 8, 2024 22:01
LangGraph-financial-agent.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@imthenachoman
imthenachoman / Developing a GAS Powered Google Workspace Add-on And Launching It To The Marketplace.md
Last active April 4, 2025 23:42
Developing a GAS Powered Google Workspace Add-on And Launching It To The Marketplace
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Add ChatGPT Menu
const onOpen = () => {
const ui = SpreadsheetApp.getUi();
ui.createMenu("ChatGPT")
.addItem("💾 Save Responses as Text", "saveAsText")
.addItem("ChatGPT API Sheet by Sarah Tamsin 💜", "openUrl")
.addToUi();
};
@nateraw
nateraw / video-classification-pipeline-transformers.ipynb
Created December 9, 2022 18:55
video-classification-pipeline-transformers.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nateraw
nateraw / decord-stereo-audio-bug.ipynb
Created November 15, 2022 17:27
decord-stereo-audio-bug.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eyeseast
eyeseast / python.md
Last active May 25, 2025 08:27
How to set up Python in 2022

I have an updated version of this on my blog here: https://chrisamico.com/blog/2023-01-14/python-setup/.

Python

This is my recommended Python setup, as of Fall 2022. The Python landscape can be a confusing mess of overlapping tools that sometimes don't work well together. This is an effort to standardize our approach and environments.

Tools and helpful links:

  • Python docs: https://docs.python.org/3/
  • Python Standard Library:  - Start here when you're trying to solve a specific problem
@Overemployed
Overemployed / install.sh
Last active October 28, 2024 09:22
Jacktrip running on PiKVM / Raspberry Pi with arch distro
#!/bin/bash
# Check if script is running as root
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
# your personal machine running jacktrip
REMOTE_JACK_SERVER=nat.local
@Overemployed
Overemployed / transcribe.js
Last active June 1, 2024 15:36
Listen for a live recording and transcribe the file. Send a notification when YOUR_NAME is called
const pathParser = require("path");
const { MODEL_PATH, HOME, YOUR_NAME, FILE_GLOB } = process.env;
console.log(MODEL_PATH, HOME, YOUR_NAME, FILE_GLOB);
const chokidar = require('chokidar');
const vosk = require('vosk');
const wav = require("wav");
const { Readable } = require("stream");
const { notify } = require('node-notifier');
const TailingReadableStream = require('tailing-stream');
const recordingsDir = `${HOME}/recordings/`