Convert Material UI icons to path imports. E.g.
-import { ErrorOutline as ErrorIcon } from "@material-ui/icons";
+import ErrorIcon from "@material-ui/icons/ErrorOutline";
Reasoning:-
function pluralize(count, word) { | |
// Basic pluralization rules | |
const pluralRules = [ | |
{ match: /(?:ch|sh|ss|x|z)$/, replace: "$&es" }, // Matches words ending in ch, sh, ss, x, z | |
{ match: /([^aeiou])y$/, replace: "$1ies" }, // Changes words ending in y preceded by a consonant to ies | |
{ match: /([^aeiou])o$/, replace: "$1oes" }, // Changes words ending in o preceded by a consonant to oes (e.g., hero to heroes) | |
{ match: /is$/, replace: "es" }, // Special case for words ending in is | |
{ match: /([^aeiou]o)$/, replace: "$1es" }, // Special case for words ending in o preceded by a consonant | |
// Add more rules as needed | |
]; |
Compiling proc-macro2 v1.0.49 | |
Compiling quote v1.0.23 | |
Compiling unicode-ident v1.0.6 | |
Compiling syn v1.0.107 | |
Compiling winapi-x86_64-pc-windows-gnu v0.4.0 | |
Compiling libc v0.2.139 | |
Compiling serde_derive v1.0.152 | |
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead) | |
<jemalloc>: (This is the expected behaviour if you are running under QEMU) | |
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead) |
mdl . | ( grep -v "Kramdown Warning: No link definition for link ID '\[\?_toc_\]\?' found on line" || true ) | |
<div class="tos-wrapper"> | |
<h1 class="title">TOS</h1> | |
<div id="count"></div> | |
<div id="tos"></div> | |
</div> |
I hereby claim:
To claim this, I am signing this object:
#merge <commit/merge message> | |
#to be run in a dirty working tree on a feature branch | |
merge() { | |
g # status | |
# gcb $1 | |
gca --signoff -m $1 # commit | |
gpsup # push branch and track remote | |
MR=$(lab mr create -d -a gaving -m $1 | tr -d -c 0-9) # create merge and store number | |
lab mr list # list | |
lab mr show $MR # show |
leaderboard() { | |
http --session=duo \ | |
GET 'https://duolingo-leaderboards-prod.duolingo.com/leaderboards/7d9f5dd1-8423-491a-91f2-2532052038ce/users/432412033?client_unlocked=true&_=1582470157128' \ | |
| jq -r '.active.cohort.rankings[] | [.score, .display_name] | join (" ")' \ | |
| tac \ | |
| gsed 's/gaving/gaving 👈/g' \ | |
| paste - \ | |
| column \ | |
| expand \ | |
| bat \ |
FROM golang:1.13 | |
WORKDIR /go/src/app | |
COPY . . | |
RUN make install | |
RUN ls | |
CMD ["/go/src/app/lab"] |