Skip to content

Instantly share code, notes, and snippets.

View gdiggs's full-sized avatar

Gordon Diggs gdiggs

View GitHub Profile
"name": "Tofu60"
"x": 2
gdiggs /
Created March 26, 2020 14:27
Global Zoom push to talk
  1. In your Zoom keyboard shortcuts setting, check Enable Global Shortcut for Mute/Unmute My Audio
  2. Install BetterTouchTool
  3. Install the below preset, or make one of your own.

This works by creating 2 triggers on the same action (below it's the middle mouse button, but it could be any shortcut). One action triggers on the down press, and one on the up press, but both trigger the Cmd-Shift-A shortcut configured in Zoom. This unmutes on the downp ress, and then mutes again on the up press

require "icalendar"

Keybase proof

I hereby claim:

  • I am gdiggs on github.
  • I am gordondiggs ( on keybase.
  • I have a public key ASB-ePD0FGhmOOfx1IQ0bnWuo3C2ca2gT-cqJ5pxc3cGmQo

To claim this, I am signing this object:

gdiggs / theme.terminal
Created May 5, 2017 15:13
OS X Terminal Theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
gdiggs / example.rb
Created October 8, 2016 15:51
Generalized Soft Deletion for Rails
class Example < ActiveRecord::Base
include SoftDeletion
gdiggs / index.js
Created August 5, 2016 17:56
What should I listen to? Lambda
process.env.NODE_CONFIG_DIR = "/var/task/config";
const https = require("https")
, queryString = require("querystring");
// Twilio Credentials
const accountSid = ""
, authToken = ""
, fromNumber = ""
, toNumber = "";
@echo off
set drive=W:\BACKUP_docs
set musicdrive=W:\BACKUP_music
set backupcmd="C:\backup batches\wndsync.exe" /back /r /auto /showA
set cleancmd="C:\backup batches\dirclean.exe" -r -d -s
echo Started Backup: %date% - %time% >> w:\logs\backup.txt
echo ### Backing up Home Folder...
%cleancmd% -i "%drive%"