Skip to content

Instantly share code, notes, and snippets.

View RickyC0626's full-sized avatar
🌠
I count stars to fall sleep

Ricky RickyC0626

🌠
I count stars to fall sleep
  • New York City
  • 19:09 (UTC -04:00)
View GitHub Profile
@RickyC0626
RickyC0626 / piano-key-freqs.json
Created February 7, 2024 21:07
Piano key frequencies (88-key)
{
"A0": 27.50000,
"A#0": 29.13524,
"B0": 30.86771,
"C1": 32.70320,
"C#1": 34.64783,
"D1": 36.70810,
"D#1": 38.89087,
"E1": 41.20344,
"F1": 43.65353,
@RickyC0626
RickyC0626 / grokking_to_leetcode.md
Created March 13, 2022 05:50 — forked from tykurtz/grokking_to_leetcode.md
Grokking the coding interview equivalent leetcode problems

GROKKING NOTES

I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.

So below I made a list of leetcode problems that are as close to grokking problems as possible.

Pattern: Sliding Window

@RickyC0626
RickyC0626 / .env.local
Created June 10, 2020 16:07
Changing ports for React apps using npm start
PORT=4000
@RickyC0626
RickyC0626 / webpack-dev-server.js
Created June 10, 2020 16:04
Changing ports for webpack server v1.14.1
// "webpack-dev-server": "^1.14.1"
// node_modules/webpack-dev-server/bin/webpack-dev-server.js
// line 58
.describe("port", "The port").default("port", 3000)