- twitter: @cryptoleek
- youtube硬核教程: https://youtu.be/ISjlmMMP7Gg
- https://aptos.dev/nodes/ait/steps-in-ait3/
- https://aptos.dev/nodes/validator-node/run-validator-node-using-docker
- CPU:
#!/usr/bin/env bash | |
# Download VMware Fusion Pro without Bcom account | |
# | |
# By default, the latest verson will be downloaded, extracted and prepped for install | |
# Use '-k' to keep download file compressed, exiting after download | |
# Use '-v VERSION' to specify desired version (13.0.0 or higher required) | |
KEEP_COMPRESSED=false | |
USER_VERSION="" |
apt-get update && apt-get install build-essential automake autoconf libtool git clang -y && export CC=clang | |
ver=2.16.3 | |
wget --no-check-certificate https://tls.mbed.org/download/mbedtls-$ver-gpl.tgz | |
tar zxf mbedtls-$ver-gpl.tgz | |
cd mbedtls-$ver | |
sed -i "s/DESTDIR=\/usr\/local/DESTDIR=\/projects\/dists\/mbedtls/g" Makefile | |
LDFLAGS=-static WINDOWS_BUILD=1 make -j`nproc` install | |
cd .. |
#!/bin/sh | |
# cross & static compile shadowsocks-libev | |
PCRE_VER=8.41 | |
PCRE_FILE="http://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$PCRE_VER.tar.gz" | |
MBEDTLS_VER=2.6.0 | |
MBEDTLS_FILE="https://tls.mbed.org/download/mbedtls-$MBEDTLS_VER-gpl.tgz" |
Short link to this page: caseywatts.com/quicktime
Other gists & tricks: http://caseywatts.com/gists-and-tricks
Unrelated update: my book is out! Debugging Your Brain is an applied psychology / self-help book
Scenario: You want to talk with someone over google hangouts (like for a user study), and you want to record BOTH:
$ s3cmd get s3://us-east-1.elasticmapreduce/libs/s3distcp/1.latest/s3distcp.jar | |
$ hadoop jar ./s3distcp.jar --src s3a://<bucket>/input/ --dest=s3a://<bucket>/output |
#!/usr/bin/env python | |
#coding=utf-8 | |
# | |
# Generate a list of dnsmasq rules with ipset for gfwlist | |
# | |
# Copyright (C) 2014 http://www.shuyz.com | |
# Ref https://code.google.com/p/autoproxy-gfwlist/wiki/Rules | |
import urllib2 | |
import re |
windows