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
docker ps -a | grep "Exit" | awk '{print $1}' | xargs -I{} docker stop {} | |
docker ps -a | grep "Exit" | awk '{print $1}' | xargs -I{} docker kill {} | |
docker ps -a | grep "Exit" | awk '{print $1}' | xargs -I{} docker rm {} | |
docker images | grep "<none>" | awk '{print $3}' | xargs docker rmi |
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
encryption: | |
password: some_random_long_string | |
dev_name: /dev/sda1 | |
vg_name: data | |
mountpoint: data |
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 | |
# | |
# 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
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
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
FROM ubuntu:12.04 | |
ADD resolv.conf /etc/resolv.conf | |
ENTRYPOINT ["/bin/bash"] |
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
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 |
OlderNewer