Just a quick fun experiment to try to make docker-compose
work as a Docker CLI plugin
- docker/cli#1534 CLI Plugins Design
- docker/cli#1564 Basic framework for writing and running CLI plugins
To use it (assuming you have docker compose installed):
Just a quick fun experiment to try to make docker-compose
work as a Docker CLI plugin
To use it (assuming you have docker compose installed):
mkdir osxvm
cd osxvm
vagrant init jhcook/osx-elcapitan-10.11
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Parameters | |
source="$(pwd)/$1" # Track folder source where diffs are checked | |
index=$2 # Track diff remote | |
project_root=${0%/*} # Track project root folder | |
swiftlint_path='Pods/SwiftLint/swiftlint' # Track SwiftLint path | |
# Parameter check | |
if [[ $# < 1 ]]; then |
#!/bin/bash | |
# This script uses traps to create try/catch/finally functionality in shell scripts. | |
# | |
# OUTPUT: | |
# | |
# Hello! We're reporting live from script | |
# ./try_catch2.sh: line 23: badcommand: command not found | |
# ./try_catch2.sh: line 23: exiting with status 127 | |
# It's the end of the line |
/usr/local/opt/postgresql@12/bin/pg_ctl -D /usr/local/var/[email protected] -l logfile start |
lsof -i :<port> -S |
/* | |
In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
server, but for some reason omit a client connecting to it. I added an | |
example at the bottom. | |
Save the following server in example.js: | |
*/ | |
var net = require('net'); |