shadowsocks + privoxy/tsocks
shadowsocks
: service, socks proxyprivoxy
: service, convert socks proxy to http proxytsocks
: tool, use socks proxy for any command line
tested under ubuntu14.04
// http://www.ietf.org/rfc/rfc1928.txt | |
// Tested with: curl http://www.google.se/ --socks5 1080 --proxy-user foo:bar | |
var States = { | |
CONNECTED:0, | |
VERIFYING:1, | |
READY:2, | |
PROXY: 3 | |
}; |
# Prometheus configuration to scrape Kubernetes outside the cluster | |
# Change master_ip and api_password to match your master server address and admin password | |
global: | |
scrape_interval: 15s | |
evaluation_interval: 15s | |
scrape_configs: | |
# metrics for the prometheus server | |
- job_name: 'prometheus' |
Compiling an Android project that depends on OpenSSL using Prefabs | |
Prefabs are a new feature of the Android Gradle Plugin 4.0. | |
Here is an outdated but still informative blog post about the subject: | |
https://android-developers.googleblog.com/2020/02/native-dependencies-in-android-studio-40.html | |
In the app build.gradle you simply add: | |
dependencies { | |
implementation 'com.android.ndk.thirdparty:openssl:1.1.1g-alpha-1' |