This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# frozen_string_literal: true | |
# Brett Terpstra <https://brettterpstra.com> | |
# | |
# macOS: Stores all input/output devices and volume settings to a | |
# text file, restores on demand | |
# | |
## Dependencies | |
# SwitchAudioSource <https://github.com/deweller/switchaudio-osx> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Brett Terpstra <http://brettterpstra.com> | |
=begin | |
Example: | |
> file1@2x%%ohc.png | |
=> Converts png to jpeg, creates 1x and 2x versions, optimizes both with jpegoptim | |
Available directives: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"complex_modifications": { | |
"rules": [ | |
{ | |
"manipulators": [ | |
{ | |
"description": "Change caps_lock to command+control+option+shift. Escape if no other key used.", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
parser: espree | |
env: | |
amd: false | |
browser: false | |
es6: false | |
jasmine: false | |
jquery: false | |
meteor: false | |
mocha: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------- | |
-------------------------------------------------- | |
-- Import tasks from 2do database to OmniFocus 2 | |
-------------------------------------------------- | |
-------------------------------------------------- | |
-- | |
-- Original Script taken from: http://forums.omnigroup.com/showthread.php?t=14846&page=2 | |
-- This script forked from https://gist.github.com/hvolkmer/4020468 | |
-- | |
-- Step 1: Start with an empty Omnifocus database. |