Written Saturday November 4, 2019
Specifically, this guide is for Manjaro ARM on a Raspberry Pi 4. I don't see why this wouldn't work for other ARM Linux operating systems, however.
- Install the dependencies to support encryption
Written Saturday November 4, 2019
Specifically, this guide is for Manjaro ARM on a Raspberry Pi 4. I don't see why this wouldn't work for other ARM Linux operating systems, however.
Say you're running a virtual machine on your work computer. Say this machine, for whatever reason, can only connect to the internet over NAT - as in, it does not get it's own IP address. Say this VM is running a webserver, and you need a device outside of your computer to connect to it.
If only there was a way to get your work computer to 'share' it's network, so that you could get at that VM… Here's how you do it!
For all instructions, I assume your work computer is a mac
#/bin/bash | |
THROTTLE=200 | |
PORT="any" | |
LINE="--------------------------------------------------------------------------------" | |
start() | |
{ | |
echo "Throttling data from port $PORT to $THROTTLE KByte/s" | |
unit="KBytes/s" |
#!/bin/bash | |
printf "This baby converts your folder of .wav, .ogg, and .mp3 files into all the formats needed for HTML5 audio!\n\n" | |
printf "Usage: cd /folder/to/files && sh path/to/convertAudio.sh\n\n" | |
printf "Defaults to 128k bitrate.\n\n" | |
echo "Choose what format are your files in:" | |
echo "1) wav" | |
echo "2) ogg" | |
echo "3) mp3" |
#!/bin/bash | |
# vars | |
IPTABLESFILE="/tmp/iptables.vpn" | |
# Get openvpn configuration zip from PIA | |
echo "piavpn: getting openvpn.zip" | |
mkdir -p /tmp/pia |
I hereby claim:
To claim this, I am signing this object:
#!/bin/python | |
# USAGE: | |
# 1) cd /path/to/git/repository | |
# 2) execute the script with: `python /path/to/remove_svn.py` | |
# NOTE: By default this code does a dry-run. To actually delete files from history, remove the | |
# "n" flag from the 'git rm -rfn' around line 20. | |
import subprocess | |
p = subprocess.Popen(['find', '.', '-name', '*.svn'], stdout=subprocess.PIPE) |