These settings make keys repeat much faster than the default System Preferences allows.
# Key repeat rate (lower = faster, default is 2)
defaults write NSGlobalDomain KeyRepeat -int 1| name: e2e tests for RustyCalc | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'app/**' | |
| - '.github/workflows/e2e-tests.yml' | |
| jobs: |
| [package] | |
| name = "bubble-sort" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| common = { path = "../common" } | |
| serde_json = { version = "1.0.107", features = ["arbitrary_precision" ]} | |
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.
| use std::string; | |
| enum JsonObject { | |
| Number(i32), | |
| String(string::String), | |
| Array(Vec<JsonObject>), | |
| Object(Vec<KeyVal>), | |
| } | |
| use JsonObject::*; |