- Install Nix
- Install packages with Nix
nvimfishthefuck
- Set default shell to fish
grep -qxF "$(which fish)" /etc/shells || sudo sh -c "echo $(which fish) >> /etc/shells"
chsh -s $(which fish)
| const { resolve } = require('path'); | |
| const { readdir, rename } = require('fs').promises; | |
| const DIRECTORY = 'src'; | |
| async function* getFiles(dir) { | |
| const dirents = await readdir(dir, { withFileTypes: true }); | |
| for (const dirent of dirents) { | |
| const res = resolve(dir, dirent.name); | |
| if (dirent.isDirectory()) { |
| !GW2!T23s3TnUY6(x5EhShT3Px89JmJsIsMTLivtsfN0dKISntIoTJKxYY9JZG8B)wfqvGGKqY2zFpN9A1Y8biqHQ(QVQqbK12RRxxTijB(OIpUzzrvwDwroEThpSB)P1v1flNNof(7JnpS90U)SzzVR)pfF5P15VZ2oyD1Fl(n(RVT9Pfh(ZM7xF7A4Hx88dN2nA7XrhoD6W3N38Lt4xq9mJg06JkQRlwO6e8F(TD33mP5lBHMB027(JVE8WZ7fVUStyhXDb)qF4TEg(A7FAzZXYd)16COx90U)3M15UryF6lhU75N2mA10PvBMMnVoTCtY85yJLm5dj5JtNSPUOyED2YnvxvCZMLZt(e8m1z1ZtRep280Y6PLjls3KxuNnnBCck72uMUmjRCtvXQ8jRRYpSVzD1Yh2(pnhh98x(Y0JB)EZMRoCC3)7H9N2(q1JBVB3(VcDEOfZhFvr5MXRkRG)tb0ZsR38X15wWyjlFsw(SQnvxNLVjnpz080jyVGfTSqvo(DCcUG0QNu9mYEPmnkCGG0R7uNUq902JFT50gPujl)dGec0aQMopB2v1lswoO7xMKnzZSsu(Muw)P1vtkUj)FxIpom2YYZWxACrr5Kky6y2S5P4BDtr58jBs)qAED1MjLjZkYhLKNU560u4taQMBetoBYMcV7cqrTw(1gFvcCXC4AJGFuN(XAC2knPg0ywxDvAY86RMnVyuQQlcD(XZtQQatJBslX)C5H)cMj3ECmo9TBFZXnpE4PnpD32hAetI)2Q0Q66YKXxdAlv1j1RQgLuw1zolRQcMm3ig8OgOMOQRoxz6IKjPOaA1s4HMwGV(Sc41hkkxScEr4tTri9Gb(8QnEc1(6dpoUz)PMJ3S7EC6b6WDTWnzDRSSDTyTkRZzxhOn(fdQBYGEnOexZdtBlSlkvpiLK3wVWXZJ7gVl2QJgiQZMmBZK0PjGiag451jz5G03aCMu5M0VmQ4t3t(zDuJ935zny4pCOwNKFTsTEvEgOEItSa0W8nvltgJp |
| { | |
| "version": 1, | |
| "notes": "", | |
| "documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
| "keyboard": "planck/rev6_drop", | |
| "keymap": "planck_slinky", | |
| "layout": "LAYOUT_ortho_4x12", | |
| "layers": [ | |
| [ | |
| "KC_TAB", |
| FROM node:12-alpine | |
| WORKDIR /app | |
| COPY tsconfig.json ./ | |
| COPY serverless.yml ./ | |
| COPY package.json ./ | |
| COPY package-lock.json ./ | |
| RUN npm ci |
| The default timeout where you get the "window is not responding" prompt gets pretty annoying, this command can be run in terminal to change that default from 5 seconds to 60. | |
| ```sh | |
| gsettings set org.gnome.mutter check-alive-timeout 60000 | |
| ``` |
Any time I set up a windows machine for development I run into this weird nonsense
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestartdism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartwsl --install Ubuntu-22.04| type OneThroughSix = 1 | 2 | 3 | 4 | 5 | 6; | |
| type OneThroughNine = OneThroughSix | 7 | 8 | 9; | |
| type ZeroThroughNine = 0 | OneThroughNine; | |
| type ISOYear = `19${ZeroThroughNine}${ZeroThroughNine}` | `20${ZeroThroughNine}${ZeroThroughNine}`; | |
| type ISOMonth = `0${OneThroughNine}` | `10` | `11` | `12`; | |
| type ISODay = `0${ZeroThroughNine}` | `1${ZeroThroughNine}` | `2${ZeroThroughNine}` | `30` | `31`; | |
| type ISOHours = `0${OneThroughNine}` | `1${OneThroughNine}` | `20` | `21` | `22` | `23` | `24`; | |
| type ISOSecondsAndMinutes = | |
| | `0${ZeroThroughNine}` | |
| | `1${ZeroThroughNine}` |
| { | |
| "$schema": "http://json.schemastore.org/eslintrc", | |
| "overrides": [ | |
| { | |
| "files": ["./src/**/*.ts", "./src/**/*.tsx"], | |
| "rules": { | |
| "no-restricted-imports": [ | |
| "error", | |
| { | |
| "name": "react-i18next", |
| { | |
| ["actionbar"] = { | |
| ["bar1"] = { | |
| ["buttonSize"] = 40, | |
| ["buttonsPerRow"] = 4, | |
| ["inheritGlobalFade"] = true, | |
| }, | |
| ["bar13"] = { | |
| ["buttonSize"] = 40, | |
| ["buttonSpacing"] = 1, |