curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
docker run -d -p 127.0.0.1:3001:20080 --restart=always lentin/elgoog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cd /etc/caddy/Caddyfile | |
example.com { | |
root /usr/share/nginx/html | |
gzip | |
log /var/log/caddy/access.log | |
#fastcgi / unix:/var/run/php-fpm/php-fpm.sock php # Fast CGI php interpreter | |
#fastcgi / fastcgi / 127.0.0.1:9000 php # Fast CGI php interpreter | |
#using with laravel | |
fastcgi / unix:/var/run/php-fpm/php-fpm.sock php { | |
index index.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update && apt install default-jdk unzip -y | |
adduser hath | |
login hath | |
wget https://repo.e-hentai.org/hath/HentaiAtHome_1.4.1.zip | |
unzip HentaiAtHome_1.4.1.zip -d hath/ | |
exit | |
wget https://github.com/Yukariin/hath-scripts/raw/master/hentaiathome -O /etc/init.d/hentaiathome | |
wget https://github.com/Yukariin/hath-scripts/blob/master/systemd.service -O /etc/systemd/system/hentaiathome.service | |
chmod 755 /etc/init.d/hentaiathome | |
/etc/init.d/hentaiathome start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TaskerData sr="" dvi="1" tv="5.0b9m"> | |
<Profile sr="prof2" ve="2"> | |
<cdate>1504855112439</cdate> | |
<clp>true</clp> | |
<edate>1504968962389</edate> | |
<id>2</id> | |
<mid0>3</mid0> | |
<nme>短信转发</nme> | |
<Event sr="con0" ve="2"> | |
<code>7</code> |
opkg update
opkg install kmod-usb-serial kmod-usb-serial-wwan kmod-usb-serial-option usb-modeswitch smstools3 curl iconv
vi /usr/local/bin/pushsms
#!/bin/sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "deb http://deb.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list | |
echo "deb http://deb.debian.org/debian jessie-backports-sloppy main" >> /etc/apt/sources.list.d/jessie-backports.list | |
apt update | |
apt install shadowsocks-libev simple-obfs curl -y | |
cat > /etc/shadowsocks-libev/config.json <<EOF | |
{ | |
"server":"0.0.0.0", | |
"server_port":443, | |
"local_port":1080, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.13.3/linux-image-4.13.3-041303-generic_4.13.3-041303.201709200606_amd64.deb && dpkg -i linux-image-*.deb && rm linux-image-*.deb | |
sed -i '/net.core.default_qdisc/d' /etc/sysctl.conf | |
sed -i '/net.ipv4.tcp_congestion_control/d' /etc/sysctl.conf | |
echo "net.core.default_qdisc = fq" >> /etc/sysctl.conf | |
echo "net.ipv4.tcp_congestion_control = bbr" >> /etc/sysctl.conf | |
sysctl -p | |
echo "deb http://ftp.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list | |
apt update |
#进入缓存目录
cd $OPENSHIFT_TMP_DIR
#下载需要的源码
wget http://nginx.org/download/nginx-1.11.4.tar.gz
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.39.tar.gz
wget https://www.openssl.org/source/openssl-1.1.0a.tar.gz
wget http://zlib.net/zlib-1.2.8.tar.gz
git clone https://github.com/cuber/ngx_http_google_filter_module
git clone https://github.com/yaoweibin/ngx_http_substitutions_filter_module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell appops set com.tencent.mm OP_READ_PHONE_STATE ignore | |
adb shell appops set com.tencent.mm COARSE_LOCATION ignore | |
adb shell appops set com.tencent.mm FINE_LOCATION ignore | |
adb shell appops set com.tencent.mm RUN_IN_BACKGROUND ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#全局指令 | |
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so | |
LoadModule substitute_module /usr/lib/apache2/modules/mod_substitute.so | |
#虚拟主机的指令* | |
SSLProxyEngine On | |
ProxyPass / https://username.wordpress.com/ | |
ProxyPassReverse / https://username.wordpress.com/ | |
ProxyPassReverseCookieDomain .wordpress.com yourdomain.sample | |
AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html text/xml | |
Substitute s|//username.wordpress.com|//yourdomain.sample|i |