The Wayback Machine - https://web.archive.org/web/20200610085659/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...

Trending repository
Zobakka
Zobakka commented Mar 22, 2020

The checkLength and checkEmail functions inside "Event listeners" follow immediately after the checkRequired function.

If the input field is empty, the "field is required" message is immediately overwritten with a message like "user name must be at least 3 characters".

My solution is to return true or false for the showSuccess and showError functions and, depending on the result of t

Babel logo
Popular topic
Babel is a compiler for writing next generation JavaScript, today.
Trending repository
Vad1mo
Vad1mo commented Apr 23, 2020

it is not clear from the documentation what the different middleware option mean.

What is the difference between registry, repository and storage?

Our Nodes have a a few hundred GB of unused disk and we want to use that and create a caching middleware that stores fresh and popular image layers.

For me it is not clear what op

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
Trending repository
amrsalama
amrsalama commented Apr 24, 2020

Describe the bug
Find-one endpoint /resource/:id responses with 500 status code instead of 404, this happens with MongoDB setup.

Steps to reproduce the behavior

  1. Setup Strapi with MongoDB configuration.
  2. Create a collection (resource).
  3. Give findOne access to the public.
  4. Send a request to /resource-name/any-invalid-id.

Expected behavior
404 response.

**Sys

Trending repository
Trending repository
Trending repository
Trending repository
cli
Trending repository
diminutivesloop
diminutivesloop commented Mar 30, 2020

Describe the bug

After following the instructions for enabling shell completion I still can’t get the completion functionality to work. I’ve tried both the eval and Homebrew options. I’m on Mac OS 10.15.4 using zsh with Oh My Zsh and gh version 0.6.2.

Steps to reproduce the behavior

  1. Add the Homebrew completion [snippet](https://do
Trending repository
skeet70
skeet70 commented Oct 10, 2019

Client

Container Analysis

Expected Behavior

The Filter option on most of the request protos has some examples or other documentation of what the structure should be.

Actual Behavior

From the doc site:

filter | string                                        The filter e
Trending repository
Trending repository
cypress
Trending repository
tzolnai
tzolnai commented Mar 31, 2020

Current behavior:

We use --env variable to pass some environment variables to cypress, when it's running both in headless and headed mode.

One of the parameters is a hash (mix of numbers and characters). Surprisingly some specific hash values make cypress to fail reading this value from the command line (e.g. 769e98018). The corresponding environment variable is not set and the `Cyp

Trending repository
sotte
sotte commented Oct 3, 2019

Problem

torchvision has quite a few transforms, but I often find myself using the wrong one because the I misread/just skimmed the doc strings.

Solution

I'm suggesting to add examples / visualizations for each transform. This way it's easier to know what a given transform does.

After this improvement there should be an example (maybe a few where it makes sense) for each transform in

App recommended by GitHub

Imgbot

Imgbot is a friendly robot that optimizes your images and saves you time. Optimized images mean smaller file sizes without sacrificing quality.

Shortly after installing Imgbot, you will receive a pull request with all of your images optimized. Just merge the pull request and you’re done! As you work on your project, Imgbot works alongside you to keep your images optimized.

Imgbot uses lossless compression by default.

You can’t perform that action at this time.