Skip to content

Instantly share code, notes, and snippets.

View mpr1255's full-sized avatar

matthew p robertson mpr1255

View GitHub Profile
mpr1255 /
Created June 15, 2024 12:55 — forked from burke/
This sets up keybindings in tmux that allow you to copy/paste to/from your OS X clipboard from tmux running inside an SSH connection to a remote host. Partially borrowed from

Local (OS X) Side


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
mpr1255 / make_google_alert.js
Created November 4, 2021 05:24
make google alerts
// consult here for the explanation, but this is a fixed version based on
// it has a standard 3 second pause or whatever not some exponential thing that was breaking the code.
// also implemented the explanation in the comment section
function sleep(milliseconds) {
const date =;
let currentDate = null;
do {
currentDate =;
} while (currentDate - date < milliseconds);