I hereby claim:
- I am alexgurrola on github.
- I am alexgurrola (https://keybase.io/alexgurrola) on keybase.
- I have a public key ASD64RxJLBq6L3npUfV7nmdMMPs2i-dF15UfMsCglg4FuQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
* |
from __future__ import with_statement | |
import random | |
def create_chain(file_paths): | |
word_counter = {} | |
previous_word = "" | |
for path in file_paths: | |
with open(path) as file: | |
for line in file: | |
words = line.split(" ") |
#!/bin/bash | |
# add ip to system | |
host=$(sudo hostname | cut -d'.' -f1) | |
sudo vim /etc/network/interfaces.d/$host | |
sudo ifdown lo && sudo ip addr flush lo && sudo ifup lo | |
# install lelastic | |
version=v0.0.6 | |
curl -LO https://github.com/linode/lelastic/releases/download/$version/lelastic.gz |
#!/bin/bash | |
# declare version | |
FRRVER="frr-stable" | |
# install prerequisites | |
sudo apt update && sudo apt install apt-transport-https gnupg | |
# add gpg key | |
curl -s https://deb.frrouting.org/frr/keys.asc | sudo apt-key add - |
#!/bin/bash | |
# usage: wget https://gist.githubusercontent.com/alexgurrola/db0736378d565bab3b2e35a66e7d9e50/raw/install-openssl-3.1.3.sh && chmod +x install-openssl-3.1.3.sh && ./install-openssl-3.1.3.sh | |
# display current version | |
openssl version | |
# install prerequisites | |
sudo apt update | |
sudo apt install build-essential checkinstall zlib1g-dev -y |
#!/bin/bash | |
# NOTE: This requires openssl to be installed via https://gist.github.com/alexgurrola/db0736378d565bab3b2e35a66e7d9e50 to provide the necessary sources to install nginx with the latest openssl | |
# usage: wget https://gist.githubusercontent.com/alexgurrola/4f7fc9a317a68a3895858e24c83ea437/raw/install-nginx-1.25.2.sh && chmod +x install-nginx-1.25.2.sh && ./install-nginx-1.25.2.sh | |
# display current version | |
nginx -V | |
# install prerequisites | |
sudo apt update |