Both IPv4 and IPv6 allow for some flexibility in how IP addresses are expressed as strings, but IPv6 really takes it to the max. How many ways can we express the all-zeroes IPv6 address, a.k.a. "::". Let's see.
::
Running count: 1.
#!/bin/bash -e | |
mkdir -p out | |
export GOPATH="$(mktemp -d)" | |
go get -u -v github.com/mholt/caddy/caddy | |
go get -u -v github.com/caddyserver/builds | |
pushd "$GOPATH"/src/github.com/mholt/caddy/caddy | |
sed -i 's/var EnableTelemetry = true/var EnableTelemetry = false/' caddymain/run.go | |
go run build.go |
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1 | |
2. Click: "Request Spot Instances" | |
3. Request type: "Request and Maintain" | |
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section. | |
5. In "AMI" search for "docker". Pick any one of the results. |
If you find the following useful my donation address is: aEgoFC75sP78gT55em1QYcL8DNYZ78ewJ5 | |
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1 | |
2. Click: "Request Spot Instances" | |
3. Request type: "Request and Maintain" | |
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section. |
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.
function transfer | |
if test (count $argv) -eq 0 | |
echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
return 1 | |
end | |
## get temporarily filename, output is written to this file show progress can be showed | |
set tmpfile ( mktemp -t transferXXX ) | |
## upload stdin or file |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
// g++ UniversalTimer.o BinaryData.o FileDataPtr.o BtcUtils.o BlockObj.o BlockUtils.o libcryptopp.a -o bootstrap.out -Icryptopp -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -lpthread bootstrap.cpp | |
#include "BlockUtils.h" | |
int main(void) | |
{ | |
string btcdir("/home/chris/.bitcoin"); | |
string bootstrap(btcdir + "/" + "bootstrap.dat"); | |
BlockDataManager_FileRefs::GetInstance().SelectNetwork("Main"); | |
BlockDataManager_FileRefs & bdm = BlockDataManager_FileRefs::GetInstance(); |