Wes Winham [email protected]
There are many tutorials floating around the web that almost get you a dynamic VPN in EC2. The goal of this tutorial is to be a one-stop-shop for this specific setup.
#!/bin/bash | |
### ABOUT | |
### Runs rsync, retrying on errors up to a maximum number of tries. | |
### Simply edit the rsync line in the script to whatever parameters you need. | |
# Trap interrupts and exit instead of continuing the loop | |
trap "echo Exited!; exit;" SIGINT SIGTERM | |
MAX_RETRIES=50 |
killall ssh-agent; eval `ssh-agent` |
Wes Winham [email protected]
There are many tutorials floating around the web that almost get you a dynamic VPN in EC2. The goal of this tutorial is to be a one-stop-shop for this specific setup.
#!/usr/bin/env python | |
""" | |
Build wheels of all currently installed packages (as listed by "pip freeze") | |
""" | |
import glob | |
import importlib | |
from subprocess import call |
[OSEv3:children]
masters
nodes
[OSEv3:vars]
ansible_ssh_user=sjennings
ansible_become=yes
deployment_type=origin
Harris (https://twitter.com/HarrisHeller) has done a remarkable job with Streambeats (https://www.streambeats.com) and the massive library of high quality music for your streaming needs. The library was so vast that I didn't want to just download everything and listen to it locally, so instead I did what every programmer would do. I did a small code snippet to add a preview pane to the Dropbox experience.
# arpaname.py, (C)2022 by Jan-Piet Mens <[email protected]> | |
# Convert an IPv4 or IPv6 address in textual form into a string whose value is | |
# the reverse-map domain name of the address. | |
# | |
# - debug: msg="{{ "192.168.1.3" | arpaname }}" | |
# "3.1.168.192.in-addr.arpa." | |
# | |
# - debug: msg="{{ "2001:DB8::7" | arpaname }}" | |
# "7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa." |
{ | |
description = "A nixos cloudinit base image without nixos-infect"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs"; | |
}; | |
outputs = { self, nixpkgs }: | |
let | |
system = "x86_64-linux"; |