The Wayback Machine - https://web.archive.org/web/20200601193902/https://github.com/explore
Skip to content

Join GitHub (or sign in) to find projects, people, and topics catered to your interests.

Here's what's popular on GitHub today...

Lighthouse Keeper and the Shadow Pirates
Game Bytes

Darkness has fallen and some persistent, pillaging pirates are attacking your lighthouse. Keep the flame alive in @cagibi-dev’s Lighthouse Keeper and the Shadow Pirates–a game made in a weekend for the Ludum Dare 46 game jam.

GraphQL logo
Popular topic
GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.
Working with GitHub's API · Learn with GitHub
Upcoming event recommended by GitHub
Jun
2

Working with GitHub's API · Learn with GitHub

June 02, 2020 • Online

GitHub offers a robust API that enables you to build integrations or simply improve your workflows. In this session, we’ll explore the options for working with the GitHub API and build a simple integration with GitHub. Join on twitch.tv/github on June 2nd at 13:00 PT.
Trending repository
Leo-Mu
Leo-Mu commented May 5, 2019

对于使用云服务的负载均衡器(Azure 或者 Google cloud)以及 CDN 的用户,因为负载均衡器和 CDN 是可以直接接管证书和 TSL 甚至 HTTP/2 、 QUIC 的,所以希望 v2ray 作为客户端使用时也能够支持像浏览器一样自动协商底层传输协议是 HTTP 1.1 还是 HTTP/2 或 QUIC 。相当于在入站协议上提供一个尽量简单、不占资源的 HTTP 类型的底层传输协议,如 #1644 所需求的,再由客户端在出站协议上与负载均衡器自动协商。当然如果入站协议也能够提供一个支持多版本协商的 HTTP 底层传输协议那也再好不过。
以及目前 WebSocket 是直接使用 WebSocket 连接的,与浏览器的 HTTP 协商升级为 ws 的行为有所不同,跟据[谷歌云的表述](https://cloud.google.com/load-balancing/docs/

Google Cloud Build screenshot
App recommended by GitHub

Google Cloud Build

Google Cloud Build

Google Cloud Build lets you create fast, consistent, reliable builds across all languages. Automatically build containers or non-container artifacts on commits to your GitHub repository. Get complete control over defining custom workflows for building, testing, and deploying across multiple environments such as VMs, serverless, Kubernetes, or Firebase.

Trending repository
wnesensohn
wnesensohn commented May 23, 2016

Selection Sort, for example, makes the algorithm look extremely (impossibly) good at first glance - O(n) - because it's not showing the majority of the steps.

Instead of

    for (var j = i + 1; j < D.length; j++) {
        if (D[j] < D[minJ]) {
            tracer._select(j);
            minJ = j;
            tracer._deselect(j);
        }
    }

it has to be more like

    for (var j
Trending repository
gnunicorn
gnunicorn commented Apr 23, 2020

The comments around from_seed_slice specify that this is a dangerous method only to be used for testing, however the upper of Pair uses it without that information passed on and the client is using the same functionality to generate the tests keys for Alice, Bob, etc.

We should clarify the documentation to clearly stated under which circumstances this features is to be expected to be us

Trending repository

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.

  • Updated May 30, 2020
  • C++
Trending repository
Trending repository
josh-chan
josh-chan commented Apr 29, 2020

简单看了一下代码,发现 ssl 自动那个不太自动。
是否可以实现像 caddy 那样的?提供域名就行,启动caddy后就自动获取证书了。

好像有些难度,我不了解 trojan 协议,能否这样改:

用 http 监听端口,用 certmagic 或者 autocert 获取证书,然后在 http.Handler 里面 hijack 拿到 connection, 再处理 trojan 协议。
这样再外层就是一个 http server, 不是现在的 trojan tcp server. 不知道是否可行。
@p4gefau1t

App recommended by GitHub

Pull Assistant

Every time you create a pull request, Pull Assistant analyses it and provides you all necessary information to perform code reviews faster and with confidence.

You can’t perform that action at this time.