I hereby claim:
- I am chrisfsmith on github.
- I am chrissmith (https://keybase.io/chrissmith) on keybase.
- I have a public key whose fingerprint is 4B64 64AC B025 EC63 2F6C AE85 1D1E F978 453E DB83
To claim this, I am signing this object:
| /** | |
| { | |
| "api":1, | |
| "name":"Swarm", | |
| "description":"Removes leading/trailing quotes, unescapes, and json formats your text", | |
| "author":"Chris", | |
| "icon":"broom", | |
| "tags":"remove,slashes,escape,json,prettify,clean,indent" | |
| } | |
| **/ |
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "rules": [ |
| do shell script "pmset displaysleepnow" |
| delay 0.1 -- time to release modifier keys for shortcut | |
| tell application "System Events" | |
| tell application "Fantastical 2" to activate | |
| delay 0.1 | |
| keystroke "0" using command down | |
| end tell |
| [merge] | |
| tool = intellij | |
| [mergetool "intellij"] | |
| cmd = /Applications/IntelliJ\\ IDEA\\ 14.app/Contents/MacOS/idea merge $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") $(cd $(dirname "$BASE") && pwd)/$(basename "$BASE") $(cd $(dirname "$MERGED") && pwd)/$(basename "$MERGED") | |
| trustExitCode = true | |
| [diff] | |
| tool = intellij | |
| [difftool "intellij"] | |
| cmd = /Applications/IntelliJ\\ IDEA\\ 14.app/Contents/MacOS/idea diff $(cd $(dirname "$LOCAL") && pwd)/$(basename "$LOCAL") $(cd $(dirname "$REMOTE") && pwd)/$(basename "$REMOTE") |
| #!/bin/bash | |
| FORMULAS=(`brew list`); | |
| for FORMULA in "${FORMULAS[@]}" | |
| do | |
| echo "brew unlink $FORMULA" && echo "brew link $FORMULA"; | |
| OUTPUT=`brew unlink $FORMULA`; | |
| echo $OUTPUT; | |
| OUTPUT=`brew link $FORMULA`; | |
| echo $OUTPUT; | |
| done |
| function tab_title() { | |
| local REPO=$(basename `git rev-parse --show-toplevel 2> /dev/null` 2> /dev/null) || return | |
| if [[ -z $REPO ]] | |
| then | |
| echo "%20<…<${PWD/#$HOME/~}%>>" # 20 char left truncated PWD | |
| else | |
| echo "%20>…>$REPO%>>🔹" # 20 char right truncated | |
| fi | |
| } |
I hereby claim:
To claim this, I am signing this object:
| on run {input, parameters} | |
| set sedCommand to "echo \"" & input & "\" | sed \"s/^[ ]*//;s/[ ]*$//;s/[ ]\\{1,\\}/-/g;s/-\\{1,\\}/-/\"" as string | |
| set sedResult to do shell script sedCommand | |
| set currentURL to "https://bloomhealthco.atlassian.net/browse/" & sedResult | |
| if currentURL is not "" then | |
| tell application "Google Chrome" | |
| activate |
| hg up -C __branchName__ && \ | |
| hg commit --close-branch -m 'Closing branch __branchName__' |