Skip to content

Instantly share code, notes, and snippets.

View kilsey's full-sized avatar

Dave Kilsheimer kilsey

View GitHub Profile
@kilsey
kilsey / mic-control.applescript
Created May 24, 2019 14:30
Microphone Input Volume Control Applescript
-- Applescript I use to control my microphone during calls/recording
-- This toggles the input volume from 100 to 0 (or vice versa) and displays a notification
-- I trigger this in Keyboard Maestro via a hotkey and it is followed w/ a "Ding" sound
set inputVolume to input volume of (get volume settings)
if inputVolume = 0 then
set inputVolume to 100
display notification "The microphone is now live" with title "Shush" subtitle "Microphone control"
else
@kilsey
kilsey / karabiner.json
Created January 24, 2019 18:32
Karabiner Elements JSON config - taken from my dot files
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@kilsey
kilsey / karabiner-elements-modification.json
Last active January 24, 2019 18:31
JSON file for the complex modification of Karabiner Elements, visit karabiner://karabiner/assets/complex_modifications/import?url=https://gist.github.com/kilsey/abdfc6cba9e769c8ebb5a509fb259b4f to import
{
"title": "Change caps_lock key (rev 2)",
"rules": [
{
"description": "Change caps_lock key to command+control+option. (Post escape key when pressed alone)",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "caps_lock",
@kilsey
kilsey / keybase.md
Created August 4, 2014 16:08
Keybase proof of identity for GitHub

Keybase proof

I hereby claim:

  • I am kilsey on github.
  • I am kilsey (https://keybase.io/kilsey) on keybase.
  • I have a public key whose fingerprint is F6DA E021 87DB 4CBD 91D6 D6C0 F159 F88E 4699 175A

To claim this, I am signing this object: