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
FROM ubuntu | |
RUN \ | |
apt-get update && \ | |
apt-get install -y wget sudo supervisor python-software-properies && \ | |
apt-get update && \ | |
add-apt-repository ppa:saltstack/salt && \ | |
apt-get update | |
EXPOSE 4505 4506 |
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
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y wget sudo supervisor | |
RUN apt-get install -y python-software-properties | |
RUN apt-get update | |
RUN apt-get install -y openssh-server | |
EXPOSE 4505 4506 |
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
FROM ubuntu | |
RUN apt-get update | |
RUN apt-get install -y wget sudo supervisor | |
RUN apt-get install -y python-software-properties | |
RUN apt-get update | |
RUN apt-get install -y openssh-server | |
EXPOSE 4505 4506 |
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
var child_process = require('child_process') | |
function generateKeyPair(callback) { | |
var keypair = { | |
privKey: '', | |
pubKey: '' | |
} | |
var priv_openssl = child_process.spawn('openssl', ['ecparam', '-name', 'secp521r1', '-genkey', '-noout']) |
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
diff --git a/bin/blackbox_addadmin b/bin/blackbox_addadmin | |
index 782d815..a26472f 100755 | |
--- a/bin/blackbox_addadmin | |
+++ b/bin/blackbox_addadmin | |
@@ -9,7 +9,7 @@ | |
# | |
set -e | |
-blackbox_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
+blackbox_home=$(brew --prefix)/Cellar/blackbox/1.20150203/include |
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
sudo pip install pygit2==0.20.3 | |
Downloading/unpacking pygit2==0.20.3 | |
Downloading pygit2-0.20.3.tar.gz (146kB): 146kB downloaded | |
Running setup.py (path:/tmp/pip_build_root/pygit2/setup.py) egg_info for package pygit2 | |
Installing collected packages: pygit2 | |
Running setup.py install for pygit2 | |
building '_pygit2' extension | |
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -Iinclude -I/usr/include/python2.7 -c src/tree.c -o build/temp.linux-x86_64-2.7/src/tree.o | |
In file included from src/utils.h:34:0, |
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
#!/bin/bash | |
# | |
# esdiagdump | |
# | |
# Usage: esdiagdump [-h <hostname/IP>:<port>] [-o <output filename>] | |
# hostname defaults to localhost | |
# output file defaults to current directory/esdiagdump.out.<timestamp> | |
# | |
# TODO: | |
# - Support for collecting marvel indices for export |
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
instanceluks: | |
password: global_password | |
passwords: | |
data0: password1 | |
data1: password2 | |
data2: password3 |
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
#!/bin/bash | |
# Author: Erik Kristensen | |
# Email: erik@erikkristensen.com | |
# License: MIT | |
# Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
# Usage: ./check_docker_container.sh _container_id_ | |
# | |
# Depending on your docker configuration, root might be required. If your nrpe user has rights | |
# to talk to the docker daemon, then root is not required. This is why root privileges are not |
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
var restify = require('restify'); | |
var restify_endpoints = require('restify-endpoints'); | |
var endpoints = new restify_endpoints.EndpointManager({ | |
endpointpath: __dirname + '/endpoints' | |
}); | |
// Create the RESTful Server | |
var server = restify.createServer(); |