I hereby claim:
- I am dessibelle on github.
- I am simonfransson (https://keybase.io/simonfransson) on keybase.
- I have a public key ASBqmr6XF0GaMSNj6gpW2bQK6-ccdOGJOtQnh1QhGrXsWwo
To claim this, I am signing this object:
| #!/bin/bash | |
| SCRIPT_NAME=$(basename $0) | |
| OVERRIDE_BROWSER=$(cat ~/.awsconsolerc | grep -i BROWSER_BUNDLE_IDENTIFIER | cut -d '=' -f 2 | xargs) | |
| DEFAULT_BROWSER=$(defaults read ~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist | grep -B 1 "LSHandlerURLScheme = https;" | sed -n -e 's/^.*RoleAll = "//' -e 's/";//p') | |
| BROWSER_BUNDLE_IDENTIFIER="${OVERRIDE_BROWSER:-$DEFAULT_BROWSER}" | |
| function print_usage() { | |
| echo "Usage:" | |
| echo -e "\t${SCRIPT_NAME} [-p | --prompt <aws-vault prompt>] [-b | --browser <bundle identifier>] <aws_profile>" |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| files=`git grep --name-only ${1:+"$@"} | awk '{printf "%s ",$0} END {print ""}'` | |
| if [[ ! -z "${files// }" ]] ; then | |
| subl . && subl $files | |
| else | |
| echo "No matches." | |
| fi |
| Is it Friday yet? Is the weekend here? | |
| Is it time for me to kick things off with an ice cold beer? | |
| Been working so dang hard that I forget: | |
| Is it Friday yet? | |
| 8 o'clock on Monday morning | |
| All I think about is when the day will end | |
| Gotta make a living somehow | |
| That's the way it is for me and all my friends |
| #!/usr/bin/env bash | |
| BUNDLE_PATH="/Applications/Google Chrome.app" | |
| APP_PATH="$BUNDLE_PATH/Contents" | |
| PLIST_PATH="$APP_PATH/Contents/Info.plist" | |
| EXECUTABLE_PATH="$APP_PATH/MacOS/Google Chrome" | |
| EXECUTABLE_ARGS="--args --ssl-version-min=tls1" | |
| LAUNCHER_SCRIPT_FILENAME="launch-chrome-tls.sh" | |
| LAUNCHER_SCRIPT_PATH="$APP_PATH/MacOS/$LAUNCHER_SCRIPT_FILENAME" |
| #!/usr/bin/env bash | |
| PROGRAM_NAME=`basename $0` | |
| DEBUG=false | |
| TARGET_ROUTER_MAC=() | |
| SHARE=() | |
| function debug { | |
| [ $DEBUG == true ] && echo "$1" |
| <?php | |
| class WPMiniJSONAPI { | |
| const API_ACTION_QUERY_VAR = "my-api"; | |
| const API_PERMALINK_PART = "api"; | |
| const API_EVENTS_PERMLINIK_PART = "events"; | |
| const API_OUTPUT_FORMAT = "json"; | |
| const API_EXPORT_EVENTS = "export-events"; |
| #!/usr/bin/env bash | |
| PROGRAM_NAME=`basename $0` | |
| ARGS=`getopt u:H:h "$@"` | |
| KEY_PATH=~/.ssh/id_rsa.pub | |
| if [ $? != 0 ] ; then | |
| echo "Error parsing arguments. Try $PROGRAM_NAME -h" > /dev/stderr | |
| exit 2 |
| /* CSS overrides goes here */ | |
| #some-elem .some-class { | |
| display: none; | |
| } |
| --- orig.taxonomy-order.php 2013-09-17 16:18:19.000000000 +0200 | |
| +++ taxonomy-order.php 2013-09-17 16:18:50.000000000 +0200 | |
| @@ -86,7 +86,7 @@ | |
| self::$plugin_url = WP_PLUGIN_URL . '/' . self::$plugin_folder; | |
| self::$plugin_file = self::$plugin_dir . '/taxonomy-order.php'; | |
| - register_activation_hook( self::$plugin_file, array( $this, 'activation_hook' ) ); | |
| + // register_activation_hook( self::$plugin_file, array( $this, 'activation_hook' ) ); | |
| add_action( 'init', array($this, 'interface_wpdbfix') ); |