您正在查看: Other 分类下的文章

OpenAI 接口管理 & 分发系统

GitHub:https://github.com/songquanpeng/one-api
网站:openai.justsong.cn

shadowsocks-libev如何支持多账户

结论

shadowsocks-libev服务本身不支持多账户,需要创建多个单独配置,分别起对应进程

细节自行查看
https://github.com/shadowsocks/shadowsocks-libev/issues/5
https://www.itfanr.cc/2016/10/02/use-shadowsocks-to-have-better-internet-experience/
限制:https://freevpn-x.com/index-160.htm

fingerprintjs- 浏览器指纹库

介绍

FingerprintJS 是一个源代码可用的客户端浏览器指纹识别库,可查询浏览器属性并根据这些属性计算哈希访客标识符。与 Cookie 和本地存储不同,指纹在隐身/隐私模式下保持不变,即使浏览器数据被清除也是如此。

github: https://github.com/fingerprintjs/fingerprintjs

测试用例

https://stackblitz.com/edit/fpjs-4-cdn?devtoolsheight=100&file=index.html

<script>
  // Initialize the agent at application startup.
  const fpPromise = import('https://openfpcdn.io/fingerprintjs/v4')
    .then(FingerprintJS => FingerprintJS.load())

  // Get the visitor identifier when you need it.
  fpPromise
    .then(fp => fp.get())
    .then(result => {
      // This is the visitor identifier:
      const visitorId = result.visitorId
      console.log(visitorId)
    })
    .catch(error => console.error(error))
</script>

返回当前浏览器指纹。类似

e625d944e21fd5885657b367c3b2952e

redka 使用 SQLite 重新实现 Redis

Redka 旨在使用 SQLite 重新实现 Redis 的核心部分,同时保持与 Redis API 的兼容。

显著特点:

  • 数据不必装入 RAM 中。
  • ACID 事务。
  • SQL 视图用于更好的自省和报告。
  • 进程内(Go API)和独立(RESP)服务器。
  • 与 Redis 兼容的命令和有线协议。

https://github.com/nalgeon/redka