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...

Tower Defence of the Heart
Game Bytes

Tower Defence of the Heart is a challenging, and very satisfying, web-based, tower defense game from @TerryCavanagh made for the Ludum Dare game jam competition. Protect your beating heart from 20 waves of creatures like skeletons, slimes, rats, and more.

Flask logo
Popular topic
Flask is a web framework for Python based on the Werkzeug toolkit.
Capture the Flag
Upcoming event recommended by GitHub
May
6

Capture the Flag

May 06, 2020 - June 12, 2020 • Online

The GitHub Security Lab CTF is a contest where participants are challenged to find a security bug (the flag) in real code.
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/

App recommended by GitHub

Datree

Datree is a git-based policy engine.
It allows engineering teams to automatically enforce coding standards and security policies directly within their git workflow.

Datree connects with GitHub pull requests to provide automatic policy compliance checks and insights for every code change. Create and enforce custom or built-in policies, in the context of your dev stack.

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

Slack + GitHub screenshot
App recommended by GitHub

Slack + GitHub

Bring your code to the conversations you care about with the GitHub and Slack app. A separate Slack subscription is required. With two of your most important workspaces connected, you’ll get updates about what’s happening on GitHub—without leaving Slack.

You can’t perform that action at this time.