a132811's repos on GitHub
JavaScript · 20 watchers
ahuigo.github.io
Ahuigo's notes
Go · 16 watchers
gofnext
🛠️ Golang extended function like @cache decorator.
PHP · 14 watchers
des
des source code for js,perl.
Python · 2 watchers
ahui-aiohttp-server
Aiohttp server for static files and python file(php-like server)
JavaScript · 2 watchers
chrome-ext
my chrome extension for development
Go · 1 watchers
arun
live reload run command
TypeScript · 1 watchers
auto-devops
Go · 0 watchers
2wayssl
A two-way ssl generator template
0 watchers
agnes-ai-generation-skill
Agent Skill for Agnes AI text, image, and video generation APIs.
Python · 0 watchers
aiohttp
Async http client/server framework (asyncio)
0 watchers
akshare
AkShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
CSS · 0 watchers
aleph.js.antd
0 watchers
alfred-workflows
Save time, Improve life.🚀 ☕️
0 watchers
ama
Ask me anything!
TypeScript · 0 watchers
astral
A high-level puppeteer/playwright-like library for Deno
Shell · 0 watchers
auto-tool
0 watchers
avlmini
AVL implementation which is as fast/compact as linux's rbtree
0 watchers
boltcss
Mostly-reasonable HTML Styles
JavaScript · 0 watchers
bookAdmin
Egg Node Mogoose
0 watchers
build-your-ai-coding-assistant
有手就会 《构建你自己的 AI 辅助编码助手》 —— 介绍如何 DIY 一个端到端(从 IDE 插件、模型选型、数据集构建到模型微调)的 AI 辅助编程工具,类似于 GitHub Copilot、JetBrains AI Assistant、AutoDev 等。
JavaScript · 0 watchers
busboy
A streaming parser for HTML form data for node.js
0 watchers
c
C · 0 watchers
c-lib
0 watchers
cadence
Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
0 watchers
cadence-client
Framework for authoring workflows and activities running on top of the Cadence orchestration engine.
Go · 0 watchers
cadence-v11-bad-case
0 watchers
chatgpt-mirror
A mirror of ChatGPT based on the gpt-3.5-turbo model.
0 watchers
ChatGPT-Translator
使用ChatGPT API的翻譯文字插件
JavaScript · 0 watchers
chrome-ext-fiddle
0 watchers
chrome-HeaderEditor
Manage browser's requests, include modify the request headers and response headers, redirect requests, cancel requests
Python · 0 watchers
chrome-screenshot
0 watchers
chrome-xswitch
A Chrome Extension for redirecting/forwarding request urls
0 watchers
cline
Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
0 watchers
clipboard2markdown
Convert rich-text on your clipbaord to markdown
0 watchers
copier
Copier for golang, copy value from struct to struct and more
JavaScript · 0 watchers
cryptocurrency
0 watchers
deno-Bundler
A Bundler with the web in mind.
TypeScript · 0 watchers
deno-debug-example
TypeScript · 0 watchers
deno-fetchx
Extended fetch
0 watchers
deno-postgres
PostgreSQL driver for Deno
TypeScript · 0 watchers
deno-puppeteer
A port of puppeteer running on Deno
TypeScript · 0 watchers
deno-vite-react-ts
Vite + Deno + React + TypeScript + Tailwind
0 watchers
deno_ast
Source text parsing, lexing, and AST related functionality for Deno
0 watchers
deno_tools
a collection of tools and utils for deno
Makefile · 0 watchers
dockerfile
JavaScript · 0 watchers
doctools
doctools for eggjs
0 watchers
easyquotation
实时获取新浪 / 腾讯 的免费股票行情 / 集思路的分级基金行情
Python · 0 watchers
easytrader
提供券银河客户端/广发/湘财证券/雪球的基金、股票自动程序化交易以及自动打新,支持跟踪 joinquant /ricequant 模拟交易 和 实盘雪球组合, 量化交易组件
JavaScript · 0 watchers
echoesworks
Next-Generation Tech Blog/Presentation/Slider Framework
JavaScript · 0 watchers
egg-app
JavaScript · 0 watchers
egg-static
static server plugin for egg
Python · 0 watchers
eng-dict
langdao dict for mac dictionary app
0 watchers
esm.sh
A fast, global content delivery network for ES Modules.
Python · 0 watchers
fileset
Calculate line set of two files
0 watchers
flowy
The minimal javascript library to create flowcharts ✨
TypeScript · 0 watchers
frame-react-vite-demo
TypeScript · 0 watchers
fresh
The next-gen web framework.
TypeScript · 0 watchers
fresh-demo
Fresh demo
TypeScript · 0 watchers
fresh-mdnotes
0 watchers
fx
A dependency injection based application framework for Go.
Go · 0 watchers
gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Go · 0 watchers
ginapp
Simple http server for development based on gonic
Go · 0 watchers
ginbro
Converting a MySQL database'schema to a RESTful golang APIs app in the fastest way
Go · 0 watchers
ginpprof
A wrapper for golang web framework gin to use net/http/pprof easily.
0 watchers
glider
glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq).
Go · 0 watchers
glogger
0 watchers
go
The Go programming language
Go · 0 watchers
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, ...)
0 watchers
go-generics
Go · 0 watchers
go-hello
go hello module
0 watchers
go-mitmproxy
mitmproxy implemented with golang. 用 Golang 实现的中间人攻击(Man-in-the-middle),解析、监测、篡改 HTTP/HTTPS 流量。
0 watchers
go-osstat
OS system statistics library for Go
0 watchers
go-sqlmock
Sql mock driver for golang to test database interactions
0 watchers
go-timewheel
golang timewheel similar to glang std timer
0 watchers
go-tools
Staticcheck - The advanced Go linter
0 watchers
go-torch
Stochastic flame graph profiler for Go programs
Go · 0 watchers
go-viper-crypt
Store and retrieve encrypted configs from etcd or consul
0 watchers
gocache
☔️ A complete Go cache library that brings you multiple ways of managing your caches
Go · 0 watchers
gofnext_pg
gofnext cache for postgres
0 watchers
gofreecache
A cache library for Go with zero GC overhead.
0 watchers
gogctuner
auto adjust your GOGC value
Go · 0 watchers
gohttptool
Go http tool
Go · 0 watchers
goitest
Golang integration test suit
Go · 0 watchers
golib
0 watchers
gonic-examples
A repository to host examples and tutorials for Gin.
Stata · 0 watchers
google-hosts
Google hosts
Go · 0 watchers
goos-tools
golang os utils
Go · 0 watchers
gorm
GORM V1, V2 moved to https://github.com/go-gorm/gorm
0 watchers
gormt
database to golang struct
0 watchers
go_reuseport
Brings SO_REUSEPORT into your Go server
0 watchers
graftcp
A flexible tool for redirecting a given program's TCP traffic to SOCKS5 or HTTP proxy.
0 watchers
haoel.github.io
CSS · 0 watchers
hexo-theme-next
Elegant and powerful theme for Hexo.
JavaScript · 0 watchers
hicharts-map
Ruby · 0 watchers
homebrew-ahui
Ahui's brew tap repo.
Ruby · 0 watchers
homebrew-v2ray
Homebrew tap for v2ray core.
0 watchers
httpdump
Capture and parse http traffics
Go · 0 watchers
huobi_Golang
Go SDK for Huobi Spot API
0 watchers
imutils
A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.
Ruby · 0 watchers
install
:inbox_tray: Homebrew (un)installer
a132811

a132811

V2EX member #55470, joined on 2014-02-08 11:15:21 +08:00
利用泛型实现的 golang 缓存装饰器
Go 编程语言  •  a132811  •  Dec 13, 2023  •  Lastly replied by a132811
6
golang 泛型能否支持可变参数
Go 编程语言  •  a132811  •  Jul 31, 2023  •  Lastly replied by Anubisks
4
ts 有办法隐式修改 class constructor 的类型吗?
TypeScript  •  a132811  •  Jun 19, 2023  •  Lastly replied by chnwillliu
2
Vue3 下有什么 umijs 的替代品推荐吗?
Vue.js  •  a132811  •  Aug 1, 2022  •  Lastly replied by a132811
13
感觉 uber/fx 并不比 getInstance 工厂好用
Go 编程语言  •  a132811  •  Aug 9, 2022  •  Lastly replied by a132811
20
a132811's recent replies
@zcf0508 我以前的做法,本地开发时直接用一键命令行的正向代理:证书、域名都本地生成、不侵入服务端  https://github.com/ahuigo/selfhttps
我试一下
像 deepwiki ,不过缺乏最重要的 AI 问答
提个复现 issue 吧。
我之前遇到另外的问题: https://github.com/microsoft/vscode/issues?q=is%3Aissue%20editor.editContext
Oct 24, 2025
Replied to a topic by fingerxie 程序员 智谱、claudecode、codex、qwen,gemini cli 对比
claude code 不太稳定,bug 有点多。
最近换成了 qwen-code + 公司内 LiteLLM hub 提供的各种模型,主要还是用的 Claude
脚本执行器,运行完就释放,不需要实现 gc 。

这在 isolate worker/playground 场景下执行 js/python/golang 都很有用,包括执行流程编排的其它语言的表达式。

完成度比较高的 js interpreter 是 https://github.com/boa-dev/boa
Apr 10, 2025
Replied to a topic by wheelg 奇思妙想 想要一个这样的 Magic 浏览器
1. chrome 启动时加--disable-web-security 可突破跨域限制:
mac 下可以启动隔离的 chrome:
open -na "Google Chrome" --args --disable-web-security --user-data-dir="/tmp/chrome_dev_session"

https://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome

2. 禁用 cors 限制的话,会遇到许多问题
- 用户信息有潜在的安全风险
- 网站服务商会受很大的影响:应对来自 c 端的 ai 爬虫就已经很头大了,放开限制的话,随便一个 web 网站都可能主动利用 js 或被注入 xss 对别的网站发起各种分布式攻击(客户端也有这个风险,但是门槛更高一点)


安全、方便、功能、开发体验之间存在许多矛盾的: pwa 相比客户端应用,牺牲了一些功能,得到了安全。

真要给 pwa 搞一个专门的浏览器的话,可能要禁止 cors 带 cookie ,禁止 xss 执行等,完全模仿客户端的行为.... 这可能会影响现有一些网站的执行。
支持
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   923 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms · UTC 19:03 · PVG 03:03 · LAX 12:03 · JFK 15:03
♥ Do have faith in what you're doing.