Skip to content

Instantly share code, notes, and snippets.

Ian Malpass indec

Block or report user

Report or block indec

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View foo.diff
diff --git a/app/api/projects.rb b/app/api/projects.rb
index cbfe5e8fdd1..2e6cc251270 100644
--- a/app/api/projects.rb
+++ b/app/api/projects.rb
@@ -977,8 +977,8 @@ class Api::Projects < Api::App
AddProjectCardMutation = PlatformClient.parse <<-'GRAPHQL'
- mutation($projectColumnId: ID!, $contentId: ID, $note: String) {
- addProjectCard(input: { projectColumnId: $projectColumnId, contentId: $contentId, note: $note }) {
headphones="Generic USB Audio Device "
speakers="Display Audio"
if [ "${arg}" = "headphones" ]; then
elif [ "${arg}" = "speakers" ]; then
indec / switch_audio.applescript
Last active Dec 17, 2015
An Applescript to cycle the audio input and output sources between two (or more) audio devices
View switch_audio.applescript
on alfred_script(q)
set output_devices to {"Display Audio", "Generic USB Audio Device "}
set input_devices to {"Display Audio", "Generic USB Audio Device "}
set device_keywords to {"speakers", "headphones"}
tell application "System Preferences"
reveal anchor "output" of pane id ""
tell application "System Events"
tell process "System Preferences"
You can’t perform that action at this time.