Skip to content

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

Community AMA with Mike McQuaid
Staff pick

Join the GitHub community for an AMA with Staff Software Engineer, Author, Inventor and Homebrew Maintainer Mike McQuaid. We’ll discuss Open Source, burnout, mentoring, being a hands-on Dad and his Engineering values.

Rails logo
Popular topic
Ruby on Rails (Rails) is a web application framework written in Ruby.
App recommended by GitHub

CodeFactor

Ensure that your code meets quality standards

CodeFactor instantly performs Code Review with every GitHub Commit or PR. Zero setup time. Get actionable feedback within seconds. Customize rules, get refactoring tips and ignore irrelevant issues.

Languages

Bash, C, C#, C++, CoffeeScript, CSS, Dockerfile, Go, Groovy, Java, JS, Kotlin, Less, PHP, Python, Ruby, Scala, SCSS, Sugar SS, Swift, TypeScript and YAML.

Autofix

Autofix certain reported issues on-demand or automatically.

Trending repository
hiraken-w
hiraken-w commented Dec 10, 2020

What would you like to be added:

I would like to request retry function of curl commands for instance metadata on bootstrap.sh.

Why is this needed:

On bootstrap.sh, curl commands for instance metadata are executed.
But requesting to instance metadata is not always successful.It may result in an error.
Therefore, I be

Trending repository
Rick-Anderson
Rick-Anderson commented Jun 2, 2020

Create an include (something like https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/includes/reservedRouting.md

With the info from https://github.com/dotnet/aspnetcore/wiki/MVC-Reserved-Keywords on routing. Be stronger, something like

These keywords should not be used for link generations, as model bound parameters, or top level properties.

Add the include to the 3

material-ui
Trending repository
joemaffei
joemaffei commented Feb 10, 2021

In this simple example, I get a Typescript error for tagProps:

type Tag = { color: string; label: string; }
type TagComponentProps = Tag & HTMLAttributes<HTMLDivElement>;
const TagComponent = styled.div<TagComponentProps>``;

function renderTags(value: Tag[], getTagProps: AutocompleteGetTagProps) {
    return value.map(({ color, label }, index) => {
        // TS2322: Type '{
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.