curl -L https://git.io/f4yBq |sh
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
| Connection Sharing | |
| ControlMaster auto | |
| ControlPath ~/.ssh/ssh_%h_%p_%r | |
| Control persistance | |
| ControlPersist 4h | |
| TCPKeepAlive no | |
| ServerAliveInterval 120 | |
| ServerAliveCountMax 3 | |
| # Specify identity | |
| IdentityFile /path/to/identity |
| sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ macOS\ High\ Sierra.app |
| #!/bin/bash | |
| # _ _ _ _ _ _ | |
| #| |_ ___ _ __ ___ _ __ | (_) |_(_)_______ ___| |__ | |
| #| __/ _ \ '_ ` _ \| '_ \| | | __| |_ / _ \ / __| '_ \ | |
| #| || __/ | | | | | |_) | | | |_| |/ / __/_\__ \ | | | | |
| # \__\___|_| |_| |_| .__/|_|_|\__|_/___\___(_)___/_| |_| | |
| # |_| | |
| # Cleans up a system to turn it into a clean template | |
| # curl https://git.io/vNesO |bash | |
| # Stop services for cleanup |
curl -L https://git.io/f4yBq |sh
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
| #!/bin/sh | |
| # _____ ______ _ _ ____ ___ ____ | |
| # / _ \ \ / / _ \| \ | | ___ ___ _ __ / ___| ___ ___|_ _| _ \ | |
| #| | | \ \ / /| |_) | \| |/ __/ _ \| '_ \ _____| | _ / _ \/ _ \| || |_) | | |
| #| |_| |\ V / | __/| |\ | (_| (_) | | | |_____| |_| | __/ (_) | || __/ | |
| # \___/ \_/ |_| |_| \_|\___\___/|_| |_| \____|\___|\___/___|_| | |
| # A simple sctipt to email a summary of OpenVPN connections | |
| script="ovpncon" | |
| version="0.1" |
| #!/bin/sh | |
| # | |
| # https://github.com/ccmc/visualization | |
| # | |
| sudo yum -y install git | |
| wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh && bash Miniconda2-latest-Linux-x86_64.sh -b -p $HOME/miniconda2 -f && rm Miniconda2-latest-Linux-x86_64.sh | |
| export PATH="$HOME/miniconda2/bin:$PATH" |
| ffmpeg -rtsp_transport tcp -i rtsp://<user>:<password>@192.168.0.218/live/ch1 \ | |
| -acodec copy \ | |
| -vcodec copy \ | |
| -hls_wrap 40 \ | |
| -flags -global_header \ | |
| /var/www/html/cam/cam1.hls |
| sudo yum -y install epel-release | |
| sudo curl -LOs https://downloads.globus.org/toolkit/globus-connect-server/globus-connect-server-repo-latest.noarch.rpm | |
| sudo rpm --import https://downloads.globus.org/toolkit/gt6/stable/repo/rpm/RPM-GPG-KEY-Globus | |
| sudo yum -y install globus-connect-server-repo-latest.noarch.rpm | |
| sudo yum clean all | |
| sudo yum -y install yum-plugin-priorities | |
| sudo yum -y install globus-connect-server |
| nmap -A -oX nmapoutput -T5 192.168.0.1 | |
| xsltproc nmapoutput.xml -o scanme.html |