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

scikit-learn logo
Popular topic
scikit-learn is a Python module for machine learning.
Trending repository
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
bartlomieju
bartlomieju commented Apr 16, 2020

To have Deno namespace in the worker, we'll want to provide a map of permissions worker should have. Worker's set of permissions mustn't escalate permissions of parent worker/Deno process.

To achieve that a method called fork should be added to DenoPermissions struct. fork would take as many parameters as there are fields on DenoPermissions and return new DenoPermissions instance a

gitpod.io screenshot
App recommended by GitHub

gitpod.io

Gitpod is the online IDE for GitHub.

It launches a complete dev environment for any GitHub project, by simply prefixing the GitHub URL with gitpod.io/#.

Install this app and prebuild your project, so you don't have to wait for your build to download the internet when starting a Gitpod workspace. 🚀

Gitpod is the first IDE that builds your project before you even open it.

Trending repository
moon-zhangyue
moon-zhangyue commented Mar 1, 2020

1. path('praise/', views.prise_or_criticize), path('criticize/', views.prise_or_criticize),
这里面的方法名和方法 def praise_or_criticize(request):没对应上
赞应该是praise
2.urlpatterns = [ # 此处省略上面的代码 path('teachers_data/', views.export_teachers_excel), # 此处省略下面的代码 ]
这里export_teachers_excel 应该是get_teachers_data
然后缺一个展示图表的路由

Trending repository
dschnabel
dschnabel commented Dec 13, 2019

Note: This is NOT a proper fix but rather a quick&dirty workaround to allow process forking after grpc_init() has been called. Hopefully there will be a proper fix soon.

The current problem with GRPC as described in many places (e.g. #17695, #13412, #11814) is that once grpc_init() has been called in a process, then this process should not be forked. There is a somewhat partial forkin

ant-design
Trending repository
Trending repository
lgolding
lgolding commented Apr 27, 2020

On https://help.semmle.com/QL/learn-ql/python/statements-expressions.html, in the section “Example: Finding comparisons to integer or string literals using ‘is’”, the Tip says:

… the expression 3 < x < 7 has two operators and two comparators. You use cmp.getComparator(0) to get the first comparator (in this example the 3) and cmp.getComparator(1) to get the second comparator (in this

Trending repository
Trending repository
ARDcode
ARDcode commented Feb 20, 2020

In usage example:

<Video source={{uri: "background"}}   // Can be a URL or a local file.
       ref={(ref) => {
         this.player = ref
       }}                                      // Store reference
       onBuffer={this.onBuffer}                // Callback when remote video is buffering
       onError={this.videoError}               // Callback when video cannot be loaded
     
Restyled.io screenshot
App recommended by GitHub

Restyled.io

Restyled integrates into your usual Pull Request workflow to keep your codebase consistent. Missed a semi-colon? Incorrect indentation? Restyled will fix that up in a sibling Pull Request that you can merge into yours.

You can’t perform that action at this time.