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 | |
/*/bin/true | |
[[ -z $(which kscript) ]] && install-kscript | |
kscript -s "$0" "$@" | |
exit $? | |
*/ | |
@file:DependsOn("com.github.ajalt.clikt:clikt-jvm:3.0.1") |
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
// ==UserScript== | |
// @name Optimizely - Increase Height of JSON Editor | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Increases the height of the JSON editor box for Optimizely feature variables | |
// @author Braden Farmer | |
// @match https://app.optimizely.com/* | |
// @grant none | |
// ==/UserScript== |
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 | |
show-help() { | |
BASENAME=$(basename "$0") | |
echo "Usage: $BASENAME [device-name] [optional-resolution] [optional-density]" | |
exit 1 | |
} | |
[[ $1 = "-h" || $1 = "--help" ]] && show-help |