-
enable bbrplus on debian 9 and above
git clone https://github.com/Xaster/bbrplus-debian.git cd bbrplus-debian # run as root make && make install sysctl -w net.core.default_qdisc=fq
sysctl -w net.ipv4.tcp_congestion_control=bbrplus
enable bbrplus on debian 9 and above
git clone https://github.com/Xaster/bbrplus-debian.git
cd bbrplus-debian
# run as root
make && make install
sysctl -w net.core.default_qdisc=fq
sysctl -w net.ipv4.tcp_congestion_control=bbrplus
This program adds proxy support to ssh. Once installed, ssh
will obey
the ssh_proxy
environment variable (or all_proxy
as a fallback) and
will try to connect to the server through that proxy. Example:
export ssh_proxy="socks5://10.139.2.1:8066"
ssh example.com # will connect through SOCKS5 proxy
# should install aria2c from latest source | |
# requirements: sudo apt install libgnutls-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libcppunit-dev autoconf automake autotools-dev autopoint libtool | |
#sudo apt-get install -y aria2 | |
sudo useradd aria2 | |
sudo mkdir /aria2 | |
sudo mkdir /aria2/dl | |
sudo mkdir /aria2/log | |
sudo touch /aria2/aria2.session | |
sudo bash -c "cat <<EOT > /aria2/aria2.conf |
After finding a lot of other posts on the topic that didn't work out for me this one did the trick so I'm reposting for my own sense of self preservation.
Copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.
sudo cp \
/Applications/VirtualBox.app/Contents/MacOS/org.virtualbox.vboxautostart.plist \
1. The texture target needs to be GLES20.GL_TEXTURE_EXTERNAL_OES instead of GL_TEXTURE_2D, e.g. in the glBindTexture calls and glTexParameteri calls. | |
2. In the fragment shader define a requirement to use the extension: | |
#extension GL_OES_EGL_image_external : require | |
3. For the texture sampler used in the fragment shader, use samplerExternalOES instead of sampler2D. | |
Everything below here is all in the C code, no more Java. | |
4. In the C code, use glEGLImageTargetTexture2DOES(GL_TEXTURE_EXTERNAL_OES, eglImage) to specify where the data is, instead of using glTexImage2D family of functions. |
#ifndef __ALIPAY_H__ | |
#define __ALIPAY_H__ | |
#include "base64/base64.h" | |
#include <curl/curl.h> | |
#include <map> | |
#include <openssl/bio.h> | |
#include <openssl/rsa.h> | |
#include <openssl/pem.h> | |
#include <openssl/err.h> |