I hereby claim:
- I am bukharih on github.
- I am bukharih (https://keybase.io/bukharih) on keybase.
- I have a public key whose fingerprint is 5C4D 1BD3 7DEA 43CA D54C 633C E04C F879 7C01 7AE5
To claim this, I am signing this object:
| git reset --soft "HEAD^" | |
| git commit --amend |
| find . -name "node_modules" -exec rm -rf '{}' + |
I hereby claim:
To claim this, I am signing this object:
| // Turns [1,2,2,2] into [1,2] | |
| const arr = [1,2,2,2] | |
| [...new Set(arr)] |
| const logger = (() => { | |
| let log = ""; | |
| return { | |
| add: msg => log += msg + "\n", | |
| show: () => console.log(log) | |
| } | |
| })(); |
| enumerateDaysBetweenDates = (startDate, endDate) => { | |
| const now = startDate.clone().startOf("day"); | |
| const dates = []; | |
| while (now.isSameOrBefore(endDate.startOf("day"))) { | |
| dates.push(now.format("YYYY-MM-DD")); | |
| now.add(1, "days"); | |
| } | |
| return dates; | |
| }; |
| enumerateDaysBetweenDates = (startDate, endDate) => { | |
| const now = startDate.clone().startOf("day"); | |
| const dates = []; | |
| while (now.isSameOrBefore(endDate.startOf("day"))) { | |
| dates.push(now.format("YYYY-MM-DD")); | |
| now.add(1, "days"); | |
| } | |
| return dates; | |
| }; |
| private static boolean isWithinTolerance(BigDecimal amount, BigDecimal tolerance) { | |
| return (amount.compareTo(tolerance.negate()) > 0 && amount.compareTo(tolerance) < 0) | |
| || amount.abs().compareTo(tolerance) == 0; | |
| } |
| @startuml PlantUML Color Themes - Tomorrow Night Eighties | |
| ' "Tomorrow night eighties" color theme (see https://github.com/chriskempson/tomorrow-theme) | |
| !define Background #2d2d2d | |
| !define CurrentLine #393939 | |
| !define Selection #515151 | |
| !define Foregound #cccccc | |
| !define Comment #999999 | |
| !define Red #f2777a | |
| !define Orange #f99157 |