josexy 最近的时间轴更新
josexy's repos on GitHub
Go · 22 人关注
godroidcs
C/S system based on gRPC streaming service and implement Android device communication
Go · 7 人关注
cropstun
Cropped for sing-tun library
C++ · 7 人关注
QtScreenShot
QtScreenShot by Qt
Java · 5 人关注
grpc-android-server-demo
Use Android Java to implement grpc server and golang to implement grpc client demo
Go · 5 人关注
netstackgo
An easy-to-use netstack, wrapped by gvisor and wireguard-go, which supports macOS/Linux/Windows.
Go · 4 人关注
gopool
very simple goroutine pool
C++ · 4 人关注
jsontest
This is just a simple C++ JSON parser
Go · 4 人关注
mini-ss
Mini ss server and client(support mitm/tun)
Go · 2 人关注
dstarlite-gosdl
Go implement D*Lite with SDL2
C++ · 2 人关注
FileSplit
split and merge file
Go · 2 人关注
gochip8
simple chip8 emulator written with Go and SDL2
C++ · 2 人关注
MyEasyCalculator
easy calculator designed by C++
TypeScript · 1 人关注
codepaste
an online code paste
1 人关注
josexy
C++ · 1 人关注
MyPrettyTable
Similar to MySQL printing data table by C++
Go · 0 人关注
etcdpkg
etcd client package wrapper with register/discovery
0 人关注
go-tun2socks
A tun2socks implementation written in Go.
Go · 0 人关注
gsocks5
socks5 server and client
C++ · 0 人关注
HuffmanCode
The huffmancode by C++
Java · 0 人关注
java-pathplanning
Path planning algorithm based on Java
HTML · 0 人关注
josexy.github.io
0 人关注
kcptun
A Stable & Secure Tunnel based on KCP with N:M multiplexing and FEC. Available for ARM, MIPS, 386 and AMD64。KCPプロトコルに基づく安全なトンネル。KCP 프로토콜을 기반으로 하는 보안 터널입니다。
Go · 0 人关注
logx
simple and colorful golang logger
0 人关注
netlink
Simple netlink library for go.
Python · 0 人关注
proxyGet
proxyGet is a spider script which can sniff the website free proxies and store in the local database.
Go · 0 人关注
proxyutil
configure system proxy settings using command line
C++ · 0 人关注
Qtgobang
Go · 0 人关注
simple-chatroom
simple chatroom
0 人关注
sing-tun
Simple transparent proxy library
C++ · 0 人关注
skiplist_c
跳跃表skiplist学习
josexy

josexy

V2EX 第 559327 号会员,加入于 2021-10-22 13:46:23 +08:00
今日活跃度排名 13017
josexy 最近回复了
37 天前
回复了 tangshuier 创建的主题 软件 大家一般用什么笔记软件
Typora+GitHub
146 天前
回复了 jeesk 创建的主题 macOS macos 普通用户如何不使用密码修改代理设置?
参考 sing-box: https://github.com/SagerNet/sing-box/blob/dev-next/common/settings/proxy_darwin.go

networksetup -setwebproxy
networksetup -setsecurewebproxy
networksetup -setsocksfirewallproxy
361 天前
回复了 Jony4Fun 创建的主题 macOS 墙裂推荐大家用 orbstack 代替 docker desktop
好像 k8s 不能直接 containerd 容器?
2023-07-06 12:19:59 +08:00
回复了 magic3584 创建的主题 游戏 求推荐手机上的游戏
这里我要点名一款二字游戏(🐶)
2023-04-08 15:42:33 +08:00
回复了 zeep 创建的主题 macOS macOS 有沒有快捷修改 socks 代理的小工具
把下面的 shell 脚本保存到一个文件:set_proxy.sh

```shell

#!/bin/bash

function scutil_query {
key=$1
scutil <<EOT
open
get $key
d.show
close
EOT
}

SERVICE_GUID=$(scutil_query State:/Network/Global/IPv4 | grep "PrimaryService" | awk '{print $3}')
currentservice=$(scutil_query Setup:/Network/Service/$SERVICE_GUID | grep "UserDefinedName" | awk -F': ' '{print $2}')

set_proxy() {
http=$1
socks=$2
if [[ -z $http ]] && [[ -z $socks ]]; then
return 0
fi

# http 代理
if [[ ! -z $http ]]; then
networksetup -setwebproxystate "$currentservice" on
networksetup -setsecurewebproxystate "$currentservice" on
hostname=$(echo "$http" | awk -F ':' '{print $1}')
port=$(echo "$http" | awk -F ':' '{print $2}')
networksetup -setwebproxy "$currentservice" $hostname $port
networksetup -setsecurewebproxy "$currentservice" $hostname $port
fi

# socks 代理
if [[ ! -z $socks ]]; then
networksetup -setsocksfirewallproxystate "$currentservice" on
hostname=$(echo "$socks" | awk -F ':' '{print $1}')
port=$(echo "$socks" | awk -F ':' '{print $2}')
networksetup -setsocksfirewallproxy "$currentservice" $hostname $port
networksetup -setsocksfirewallproxy "$currentservice" $hostname $port
fi

# 设置代理绕过的域名
networksetup -setproxybypassdomains "$currentservice" 192.168.0.0/16 10.0.0.0/8 172.16.0.0/12 127.0.0.1 localhost "*.local" timestamp.apple.com
}

# 取消代理设置
unset_proxy() {
networksetup -setwebproxy "$currentservice" "" "" off "" ""
networksetup -setsecurewebproxy "$currentservice" "" "" off "" ""
networksetup -setsocksfirewallproxy "$currentservice" "" "" off "" ""

networksetup -setwebproxystate "$currentservice" off
networksetup -setsecurewebproxystate "$currentservice" off
networksetup -setsocksfirewallproxystate "$currentservice" off

networksetup -setproxybypassdomains "$currentservice" Empty
}

if [[ $1 == "http" ]]; then
set_proxy $2 ""
elif [[ $1 == "socks" ]]; then
set_proxy "" $2
else
unset_proxy
fi

```

使用:
```shell
bash set_proxy.sh http 127.0.0.1:10086 # 设置 http 和 https 代理
bash set_proxy.sh socks 127.0.0.1:10086 # 设置 socks5 代理
bash set_proxy.sh # 恢复
```
2023-03-29 17:04:48 +08:00
回复了 voidmnwzp 创建的主题 程序员 前端现在这么恶心的吗
给个 github 链接,我去看看写的如何👀
2023-03-29 09:57:05 +08:00
回复了 wwxxx 创建的主题 MacBook Pro 大家的 mac 一般用什么键盘
keychron k3
2023-03-29 09:30:17 +08:00
回复了 dunhanson 创建的主题 程序员 Typora 怎么像 VS Code 那样多标签显示?
macos 可以通过⌘+T 打开多个标签页,其他不知道。typora 版本:1.3.6
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3006 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 14:04 · PVG 22:04 · LAX 06:04 · JFK 09:04
Developed with CodeLauncher
♥ Do have faith in what you're doing.