For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
from __future__ import division | |
import numpy as np | |
RADIUS_OF_EARTH_IN_KM = 6371.01 | |
def haversine(lat1, lon1, lat2, lon2): | |
""" | |
Utility to calcutlate distance between two pointtodo explain regarding height | |
coverting from geodisc co-ordinate to cartestian gives errors when distances are further apart |
Please see: https://gist.github.com/cpu/9fe42bd664c99bff6ae85c0f386a0ae0 | |
#!/bin/bash | |
# Installs the Streisand server for you https://github.com/jlund/streisand | |
#sudo apt-get update && sudo apt-get install -y git python-paramiko python-pip python-pycurl python-dev build-essential | |
#sudo pip install ansible markupsafe dopy==0.3.5 | |
#git clone https://github.com/jlund/streisand.git && cd streisand/playbooks | |
##sed -i 's/streisand-host/127.0.0.1/g' streisand.yml | |
#sudo ansible-playbook -i "localhost," -c local streisand.yml | |
#sed -i "s/localhost/$(curl -s ipecho.net/plain)/g" ../generated-docs/streisand.html |
$ uname -r
go*.linux-armv6l.tar.gz |
// | |
// Convert an ArrayBuffer into a string. | |
// From https://developers.google.com/web/updates/2012/06/How-to-convert-ArrayBuffer-to-and-from-String | |
function arrayBufToString(buf) { | |
return String.fromCharCode.apply(null, new Uint8Array(buf)); | |
} | |
function pemEncode(label, data) { | |
const base64encoded = window.btoa(data); |
mongocryptd
accessibe on your system path to enable automated encryptionmongosh
) installed locally on your workstation