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
brew install rbenv | |
brew install ruby-build | |
brew install rbenv-vars | |
brew install readline | |
brew install ctags | |
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile | |
exec $SHELL -i # reload the shell | |
CONFIGURE_OPTS="--disable-install-doc --with-readline-dir=$(brew --prefix readline)" | |
rbenv install 1.9.3-p194 | |
rbenv global 1.9.3-p194 |
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
policy-options { | |
prefix-list nero-noc-networks { | |
{% for network in nero_noc_networks %} | |
{{ network }}; | |
{% endfor %} | |
} | |
prefix-list trusted-networks { | |
{% for network in ipv4_allowed_networks %} | |
{{ network }}; | |
{% endfor %} |
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
!!!!!! THE -n IS FOR DRYRUN. REMOVE TO PUSH REAL CHANGE !!!!!! | |
cd ~/Repo/ncon | |
source venv/bin/activate | |
ncon netcmd ddos-mitigate --ip 140.211.167.122 -T cisco_xr -d eugn-core1-gw-lb.nero.net -n | |
ncon netcmd ddos-mitigate --ip 140.211.167.122 -T cisco_xr -d ptck-core1-gw-lb.nero.net -n | |
ncon netcmd ddos-mitigate --ip 140.211.167.122 -T cisco_xr -d ptck-core2-gw-lb.nero.net -n |
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
restic restore latest -r rest:http://limbo.nero.net:8000 -H git.nero.net -i /etc/passwd -t ~/tmp/restic |