Skip to content

Instantly share code, notes, and snippets.

View osteele's full-sized avatar

Oliver Steele osteele

View GitHub Profile
@osteele
osteele / chrome-tabs-to-md.sh
Last active July 10, 2019 19:55 — forked from samyk/chrome_tabs.osa
applescript to show all url+titles of Chrome tabs along with front window+tab url+title
#!/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"
@osteele
osteele / docker-machine-rename
Last active April 19, 2017 18:59 — forked from alexproca/docker-machine-rename
Rename docker-machine
#!/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};