Skip to content

Instantly share code, notes, and snippets.

@nastycoder
nastycoder / install_openssl.sh
Last active January 29, 2016 01:24
Install dependancies for building safari extension from command line.
#!/bin/bash
# install openssl if its not already here
brew list $1 > /dev/null 2>&1 | true
if [[ ${PIPESTATUS[0]} != 0 ]]; then
brew install openssl
if [[ $? != 0 ]]; then
failure "failed to install openssl!"
exit 1
fi
@nastycoder
nastycoder / docker inspect output
Last active January 26, 2016 19:07
Relevant information associated with a docker-compose issue.
[
{
"Id": "065bd1ade8e8760d3831301590c41e2e38d3fedf709ee23413647f04e2855238",
"Created": "2016-01-26T18:45:41.850911604Z",
"Path": "./operate-on-all",
"Args": [
"-w"
],
"State": {
"Status": "created",