I hereby claim:
- I am boostrack on github.
- I am hflambo (https://keybase.io/hflambo) on keybase.
- I have a public key whose fingerprint is 70B6 DFC2 16E9 1D98 E17A 4E37 F955 E6E5 A9D9 51F1
To claim this, I am signing this object:
| # Ask for the user password | |
| # Script only works if sudo caches the password for a few minutes | |
| #sudo true | |
| ## Install kernel extra's to enable docker aufs support | |
| #sudo apt-get -y install linux-image-extra-$(uname -r) | |
| ## Add Docker PPA and install latest version | |
| #sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
| #sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
| import requests | |
| from requests.auth import HTTPBasicAuth | |
| from websocket import create_connection | |
| """ | |
| Executing the file: | |
| $ python rest_app.py (edit the BASEURL according to the controller ip (address, port)) | |
| Steps to follow to test the code: |
| #!/bin/sh -ev | |
| # Reference: https://github.com/mininet/mininet/wiki/Installing-new-version-of-Open-vSwitch | |
| # How to test: ovs-vsctl -V | |
| # Check permission | |
| test $(id -u) -ne 0 && echo "This script must be run as root" && exit 0 | |
| #Remove old version ovs | |
| aptitude remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch -y |
I hereby claim:
To claim this, I am signing this object:
Install OS X El Capitan is created| # ___ ___ __ __ | |
| # / | __ ______/ (_) /_____/ / | |
| # / /| |/ / / / __ / / __/ __ / | |
| # / ___ / /_/ / /_/ / / /_/ /_/ / | |
| # /_/ |_\__,_/\__,_/_/\__/\__,_/ | |
| # | |
| # Linux Audit Daemon - Best Practice Configuration | |
| # /etc/audit/audit.rules | |
| # | |
| # Compiled by Florian Roth |
| # ___ ___ __ __ | |
| # / | __ ______/ (_) /_____/ / | |
| # / /| |/ / / / __ / / __/ __ / | |
| # / ___ / /_/ / /_/ / / /_/ /_/ / | |
| # /_/ |_\__,_/\__,_/_/\__/\__,_/ | |
| # | |
| # Linux Audit Daemon - Best Practice Configuration | |
| # /etc/audit/audit.rules | |
| # | |
| # Compiled by Florian Roth |
| #!/bin/bash | |
| function terraform-install() { | |
| [[ -f ${HOME}/bin/terraform ]] && echo "`${HOME}/bin/terraform version` already installed at ${HOME}/bin/terraform" && return 0 | |
| LATEST_URL=$(curl -sL https://releases.hashicorp.com/terraform/index.json | jq -r '.versions[].builds[].url' | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | egrep -v 'rc|beta' | egrep 'linux.*amd64' |tail -1) | |
| curl ${LATEST_URL} > /tmp/terraform.zip | |
| mkdir -p ${HOME}/bin | |
| (cd ${HOME}/bin && unzip /tmp/terraform.zip) | |
| if [[ -z $(grep 'export PATH=${HOME}/bin:${PATH}' ~/.bashrc) ]]; then | |
| echo 'export PATH=${HOME}/bin:${PATH}' >> ~/.bashrc |