diff --git a/home/newnius/.gitconfig b/home/newnius/.gitconfig new file mode 100644 index 0000000..f1a8c8e --- /dev/null +++ b/home/newnius/.gitconfig @@ -0,0 +1,7 @@ +[user] + email = name@example.com + name = Name +[http "https://github.com"] + proxy = socks5h://127.0.0.1:1086 +[core] + autocrlf = input diff --git a/mac/setup.md b/mac/setup.md index 8c33ec3..7de262e 100644 --- a/mac/setup.md +++ b/mac/setup.md @@ -7,3 +7,22 @@ brew install sbt@1 ``` + +Spark + +KeepassX + +NextCloud + +Dropbox + +ShadowsocksX-NG + +iStat Menus + +Docker + +Paragon NTFS for MAC + +Visual Code + diff --git a/usr/local/v2ray/client.config.json b/usr/local/v2ray/client.config.json new file mode 100644 index 0000000..890bf39 --- /dev/null +++ b/usr/local/v2ray/client.config.json @@ -0,0 +1,51 @@ +{ + "inbounds": [{ + "port": 1081, + "listen": "127.0.0.1", + "protocol": "socks", + "settings": { + "udp": true + } + },{ + "port": 8001, + "listen": "127.0.0.1", + "protocol": "http", + "settings": { + "timeout": 0, + "userLevel": 0 + } + } +], + "outbounds": [{ + "protocol": "vmess", + "settings": { + "vnext": [{ + "address": "example.com", + "port": 443, + "users": [{ "id": "" }] + }] + }, + "streamSettings": { + "network": "ws", + "security": "tls", + "wsSettings": { + "path": "/ray" + } + } + },{ + "protocol": "freedom", + "tag": "direct", + "settings": {} + }], + "routing": { + "strategy": "rules", + "settings": { + "domainStrategy": "IPOnDemand", + "rules": [{ + "type": "field", + "ip": ["geoip:private"], + "outboundTag": "direct" + }] + } + } +} diff --git a/usr/local/v2ray/install.md b/usr/local/v2ray/install.md new file mode 100644 index 0000000..09b457b --- /dev/null +++ b/usr/local/v2ray/install.md @@ -0,0 +1,15 @@ +# V2Ray + +[V2Ray](https://github.com/v2ray/v2ray-core/releases) + +[Ducuments](https://www.v2ray.com/) + +[Manual](https://toutyrater.github.io/) + +## Linux + +```bash +sudo su +bash <(curl -L -s https://install.direct/go.sh) +``` + diff --git a/usr/local/v2ray/server.config.json b/usr/local/v2ray/server.config.json new file mode 100644 index 0000000..7228072 --- /dev/null +++ b/usr/local/v2ray/server.config.json @@ -0,0 +1,38 @@ +{ + "inbounds": [{ + "port": 80, + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "", + "level": 1, + "alterId": 64 + } + ] + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "/ray" + } + } + }], + "outbounds": [{ + "protocol": "freedom", + "settings": {} + },{ + "protocol": "blackhole", + "settings": {}, + "tag": "blocked" + }], + "routing": { + "rules": [ + { + "type": "field", + "ip": ["geoip:private"], + "outboundTag": "blocked" + } + ] + } +}