Skip to content

Instantly share code, notes, and snippets.


Gordon Diggs gdiggs

View GitHub Profile
View pcb layout.json
"name": "Tofu60"
"x": 2
gdiggs /
Created Mar 26, 2020
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

View cal.rb
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
OS X Terminal Theme
View theme.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
gdiggs / example.rb
Created Oct 8, 2016
Generalized Soft Deletion for Rails
View example.rb
class Example < ActiveRecord::Base
include SoftDeletion
gdiggs / index.js
Created Aug 5, 2016
What should I listen to? Lambda
View index.js
process.env.NODE_CONFIG_DIR = "/var/task/config";
const https = require("https")
, queryString = require("querystring");
// Twilio Credentials
const accountSid = ""
, authToken = ""
, fromNumber = ""
, toNumber = "";
View backup.bat
@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%"