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
#!/usr/bin/env bash | |
# shows all url+titles of Chrome along with front window+tab url+title | |
# Source: https://gist.github.com/osteele/704d40f90e17d7bc059d06731056bbe7 | |
# Forked from: https://gist.github.com/samyk/65c12468686707b388ec43710430a421 | |
# Original author: https://gist.github.com/samyk | |
(osascript << EOF | |
set titleString to "" | |
tell application "Google Chrome" |
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
#!/usr/bin/env bash -eu | |
#copy this in a folder from path ex: /usr/local/bin | |
#usage: docker-machine-rename default my-default | |
# From https://gist.github.com/alexproca/2324c60c86380b59001f | |
# w/ comments from eurythmia | |
OLD_MACHINE_NAME=${1:-default}; | |
NEW_MACHINE_NAME=${2:-my-default-2}; |