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

Financial-Models-Numerical-Methods
Trending repository
Join the GitHub Game Off!
Game Bytes

This year’s Game Off theme is LEAPS AND BOUNDS.

You’re welcome to interpret the theme however you wish, but if you need some ideas to kickstart your creativity, maybe your game could:

  • Make your character evolve to overcome challenges
  • Add obstacles to test your hero’s ability to leap into action
  • Deduct points for anything going out of bounds
  • Duck, dip, dive, and dodge an enemy that’s changing or moving rapidly
  • Take place in the year 2020, the next leap year

Let your imagination run wild and create a game loosely-based or inspired by that theme using whatever game engines, libraries or languages you prefer before December 1st, 13:37 PT.

Popular topic

WordPlate

WordPlate is a modern WordPress stack which simplifies WordPress development.

Git Merge 2020
Upcoming event recommended by GitHub
Mar
4

Git Merge 2020

March 04, 2020 • Los Angeles

Git Merge is a one-day conference dedicated to the version control tool that started it all—and the people who use it every day.
postwoman
Trending repository
App recommended by GitHub

LeanBoard

Lean Board is a collaborative whiteboard with sticky notes which seamlessly connects with your GitHub issue. Login with your GitHub account, create a board for an issue and a snapshot of your notes is embedded in the issue automatically.

svelte
Trending repository
leetcode
Trending repository
azl397985856
azl397985856 commented Oct 28, 2019

数轴上放置了一些筹码,每个筹码的位置存在数组 chips 当中。

你可以对 任何筹码 执行下面两种操作之一(不限操作次数,0 次也可以):

将第 i 个筹码向左或者右移动 2 个单位,代价为 0。
将第 i 个筹码向左或者右移动 1 个单位,代价为 1。
最开始的时候,同一位置上也可能放着两个或者更多的筹码。

返回将所有筹码移动到同一位置(任意位置)上所需要的最小代价。

 

示例 1:

输入:chips = [1,2,3]
输出:1
解释:第二个筹码移动到位置三的代价是 1,第一个筹码移动到位置三的代价是 0,总代价为 1。
示例 2:

输入:chips = [2,2,2,3,3]
输出:2
解释:第四和第五个筹码移动到位置二的代价都是 1,所以最小总代价为 2。
 

提示:

1 <= chips.length <= 1

cube.js
Trending repository
gizmodus
gizmodus commented May 8, 2019

Hey Cube.Js team!
I get the following yarn warnings when installing dependencies. Can these be fixed? Thank you.

warning @cubejs-backend/server-core > @cubejs-backend/schema-compiler > joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.

warning @cubejs-backe
free-programming-books
Trending repository
eshellman
eshellman commented Jun 8, 2017
  • many programming books have names that can be confused for similar books: e.g. "introduction to Java". It's very helpful to browsers to see the author names
  • The identity of books with translated titles may not be apparent
  • People googling for books will more easily find our lists
  • (perhaps most important) Authors who make their books available for free deserve recognition

If you'd lik

App recommended by GitHub

Review Notebook App

Having trouble using Jupyter Notebooks effectively in your team? Join 200+ organizations like Amazon, Microsoft, Tensorflow, fast.ai in using ReviewNB for notebook code reviews.

We provide complete code review workflow for notebooks,

You can’t perform that action at this time.