Awesome
Leetcode Skills Box
<p align="center"> <img src="leetcode-skills-box.png"> <p align="center">Automatically update a pinned gist with your top leetcode skills.</p> <p align="center">📌 Check out more pinned gists at <a href="https://github.com/matchai/awesome-pinned-gists">Awesome Pinned Gists</a></p> </p>Getting Started
- Create a new public gist with your title of choice (e.g 'Top Leetcode Skills') (https://gist.github.com/)
- Create a token with the gist scope and make note of the API token (https://github.com/settings/tokens/new)
- Fork this repo
- Add new secrets in your fork's
Settings
>Secrets and variables
>Actions
:GH_TOKEN
the API token generated in step 2GIST_ID
the ID part of the gist URL (after your username)LEETCODE_USERNAME
your leetcode username
- Finally, go to your profile and add your gist to your pins by clicking
customize your pins
Ignoring difficulties/skills
If you want to exclude certain difficulties or individual skills you can do this by adding a variable (variable tab next to secrets) called IGNORED_SKILLS
and enter a list of skills/difficulties to ignore separated by commas.
Hiding difficulty labels
You can do this by adding a variable (variable tab next to secrets) called HIDE_DIFFICULTY
and setting it to True
.
Information
The Github action runs on a schedule, at 00:00 every day. The action is also triggered when there is a new push to the repo. This can be changed by updating the main.yml
file under .github/workflows