- Enter kernel source dir
cp net/ipv4/tcp_bbr{,plus}.c
- Apply provided patches
1-tcp_bbrplus_c.patch
,2-tcp_bbrplus_dep.patch
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nginx-conf | |
data: | |
nginx.conf: | | |
user nginx; | |
worker_processes 3; | |
error_log /var/log/nginx/error.log; | |
events { |
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
package main | |
import ( | |
"bufio" | |
"context" | |
"flag" | |
"fmt" | |
"golang.org/x/net/proxy" | |
"io" | |
"log" |
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
package main | |
import ( | |
"archive/zip" | |
"io" | |
"os" | |
"path/filepath" | |
) | |
func main() { |
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
我本想享受生活,结果发现活下来都很困难。 | |
你的计划,就像零食,吃到肚子里之后就是个屁。 | |
我已经不是那个花五十块钱,也要考虑很久的小孩了,现在五块钱都要深思熟虑。 | |
今天天气很好,在房间里宅久了,准备去客厅散散心。 | |
春节你要小心了,毕竟过年,都是要杀猪的。 | |
经过多年的打拼,虽然没有什么收获,但你有债呀! | |
人为什么叫人类,因为人活着就是累。 | |
说错话不要紧,你还会继续说错的。 | |
你倒下了,能顶替你的人千千万 | |
你获得了很多金钱,但同时也失去了很多东西,比如烦恼。 |
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
//socks5 | |
//设置 | |
git config --global http.proxy socks5://127.0.0.1:1080 | |
git config --global https.proxy socks5://127.0.0.1:1080 | |
//取消 | |
git config --global --unset http.proxy socks5://127.0.0.1:1080 | |
git config --global --unset https.proxy socks5://127.0.0.1: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
#!/usr/bin/env bash | |
redis_cmd='redis-cli -n 1' | |
# size of db | |
ssss=0 | |
# get keys and sizes | |
for k in `$redis_cmd keys "*"`; do | |
key_size_bytes=`$redis_cmd memory usage $k`; |
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
#!/bin/sh | |
nvram set led_disable=1 | |
nvram commit | |
service restart_leds | |
# Source https://www.linksysinfo.org/index.php?threads/stealth-mode-timer-function-rt-n66.54449/ |
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
server { | |
listen 80; | |
server_name domain.com; | |
merge_slashes off; | |
location ~ /(?<r>http://.*) { | |
resolver 8.8.4.4 8.8.8.8 4.2.2.2 valid=3600s ipv6=off; | |
proxy_set_header Referer ""; | |
proxy_pass $r; |
NewerOlder