Skip to content

Instantly share code, notes, and snippets.

@andymadge
andymadge / docker-bash-completion.md
Last active September 28, 2022 19:12 — forked from rkuzsma/docker-bash-completion.md
How to configure Bash Completion on Mac for Docker and Docker-Compose

How to configure Bash Completion on Mac for Docker and Docker-Compose

Run:

brew install bash-completion

Add the following lines to your ~/.bash_profile:

# required for bash-completion, see https://superuser.com/a/819222/13521
@andymadge
andymadge / DropboxSync.py
Last active April 20, 2016 20:54 — forked from wrenoud/DropboxSync.py
DropboxSync
import os
import sys
import pickle
import console
import editor
# I moved 'dropboxlogin' into a sub folder so it doesn't clutter my main folder
sys.path += [os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib')]
import dropboxlogin # this code can be found here https://gist.github.com/4034526
using terms from application "Quicksilver"
on process text joinCode
tell application "join.me" to activate
tell application "System Events"
tell process "join.me"
set visible to true
keystroke joinCode
click button 4 of window 1
end tell
end tell