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
use scripting additions | |
use framework "Foundation" | |
-- Set Configuration Defaults | |
set OUTPUT_FILE to "~/now-playing.json" | |
-- END Configuration | |
on getCurrentTrack() |
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
#!/bin/bash | |
set -o pipefail | |
usage() { | |
cat >&2 <<EOF | |
usage: $0 stringWith@@PLATFORM@@toReplace --ARMARCH --X86ARCH [ OPTIONS ] | |
requires one of each of the x86 arch options below and arm arch options below. |
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
#!/bin/bash | |
set -o pipefail | |
REGIONS=("us-east-1" "eu-west-1" "us-west-2" "us-east-2") | |
usage() { | |
cat <<EOF | |
usage: $0 [ OPTIONS ] --role [role-name] | |
Options |
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
type ReconcileAccount struct { | |
Client kubeclient.Client | |
scheme *runtime.Scheme | |
OperatorAWSClient awsclient.Client | |
AccountAWSClient awsclient.Client | |
Account awsv1alpha1.Account | |
LinkedAccountClaim awsv1alpha1.AccountClaim | |
Logger LogInterface | |
} |
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
{ | |
"version": 1, | |
"notes": "", | |
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
"keyboard": "dz60", | |
"keymap": "kirks_keymap", | |
"layout": "LAYOUT", | |
"layers": [ | |
[ | |
"KC_GRV", |
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
on run {input, parameters} -- remove this line if running in Script Editor and not with Automator | |
tell application "OBS" to activate | |
tell application "System Events" | |
tell process "OBS" | |
set frontmost to true | |
if name of every menu item of menu "Tools" of menu bar 1 contains "Start Virtual Camera" then | |
click menu item "Start Virtual Camera" of menu "Tools" of menu bar 1 | |
end if | |
click (first button of window 1 whose role description is "minimize button") | |
end tell |
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
#!/bin/bash | |
usage() { | |
cat <<EOF | |
usage: $0 [ OPTIONS ] | |
Options | |
-d --dry-run Do not make any modifications but preview the expected operations | |
-h --help Show this message and exit | |
-q --quiet Be Quiet | |
-v --verbose Be Loud |
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
resource "aws_acm_certificate" "cert" { | |
domain_name = "*.${var.domain_name}" | |
validation_method = "DNS" | |
lifecycle { | |
create_before_destroy = true | |
} | |
} | |
data "aws_route53_zone" "zone" { |
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
resource "null_resource" "have_you_specified_a_workspace" { | |
count = "${terraform.workspace == "default" ? 1 : 0}" | |
"ERROR: Select a non-default workspace" = true | |
} |
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
cd () { | |
builtin cd "$@" && [ -f ".nvmrc" ] && nvm use | |
} |
NewerOlder