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(); |
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
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 |
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.
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. |
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. |
#!/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 |
""" | |
Simple script to plot your Discord machine-learning predicted age and gender from the data dump. | |
To use, simply put this script in your activity/analytics/ folder of your Discord data dump and run it. | |
You may need to install matplotlib first: | |
pip install -U matplotlib | |
thrown together by rebane2001 |