Edition : Windows 10 Pro Version : 1709 OS Build : 16299.192
This file contains hidden or 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 | |
echo "--- Installing shadowsocks ---" | |
apt update | |
yes | apt install shadowsocks-libev | |
yes | apt install nodejs | |
yes | apt install npm | |
echo "{\"server\":\"0.0.0.0\",\"server_port\":14029,\"local_port\":1080,\"password\":\"WqbeYarGNB4F\",\"timeout\":60,\"method\":\"chacha20-ietf-poly1305\"}" > /etc/shadowsocks-libev/config.json | |
echo "--- Enabling BBR ---" |
This file contains hidden or 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 | |
uname -r >> ~/log | |
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf | |
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf | |
sysctl -p >> ~/log | |
sysctl net.ipv4.tcp_available_congestion_control >> ~/log | |
sysctl net.ipv4.tcp_congestion_control >> ~/log | |
lsmod | grep bbr >> ~/log |
This file contains hidden or 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
curl -s https://gist.githubusercontent.com/yatyricky/6a807f98175e13d837c08ccf34c46b6d/raw/e0f42d99e2010507bdd9cee5f120b903d99d0d46/ss1.sh > ~/ss1.sh ; sh ~/ss1.sh | |
curl -s https://gist.githubusercontent.com/yatyricky/758e592f823cf14ae0103cbf3137203b/raw/cd828a445fd78656127469af11e1e5654c120e90/ss2.sh > ~/ss2.sh ; sh ~/ss2.sh |
.gitconfig
[alias]
aa = add -A
st = status
sh = stash save temp
ush = stash pop stash@{0}
ll = log --pretty=format:'%h - %an, %ar : %s'
rb = pull --rebase
This file contains hidden or 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
using System.Collections.Generic; | |
using UnityEngine; | |
using System.IO; | |
using System.Text; | |
using System; | |
using Newtonsoft.Json; | |
namespace CIS | |
{ | |
public class GradleConfig |