This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defsrc | |
grv 1 2 3 4 5 6 7 8 9 0 - = bspc | |
tab q w e r t y u i o p [ ] \ | |
caps a s d f g h j k l ; ' ret | |
lsft z x c v b n m , . / rsft | |
lctl lmet lalt spc ralt rmet rctl | |
) | |
(deflayer qwerty | |
grv 1 2 3 4 5 6 7 8 9 0 - = bspc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ago 31 12:04:57 msi kernel: Linux version 6.10.7-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240805, GNU ld (GNU Binutils) 2.43.0) #1 SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:57 +0000 | |
ago 31 12:04:57 msi kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=b4de46b5-781b-4198-a486-60225d551a86 rw loglevel=3 quiet i915.force_probe=!7d55 xe.force_probe=7d55 | |
ago 31 12:04:57 msi kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks | |
ago 31 12:04:57 msi kernel: BIOS-provided physical RAM map: | |
ago 31 12:04:57 msi kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable | |
ago 31 12:04:57 msi kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved | |
ago 31 12:04:57 msi kernel: BIOS-e820: [mem 0x0000000000100000-0x000000006b637fff] usable | |
ago 31 12:04:57 msi kernel: BIOS-e820: [mem 0x000000006b638000-0x000000006f6b1fff] reserved | |
ago 31 12:04:57 msi kernel: BIOS-e820: [mem 0x000000006f6b2000-0x000000006f7b2fff] ACPI data | |
ag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const before = (target, f) => { | |
const then = target.then.bind(target) | |
target.then = (resolve, reject) => | |
f(target).then(() => then(resolve, reject), reject) | |
return target | |
} | |
Knex.QueryBuilder.extend('amodify', function (f) { | |
const q = this | |
const clone = this.clone.bind(this) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"trailingComma": "none", | |
"tabWidth": 4, | |
"semi": false, | |
"singleQuote": true, | |
"quoteProps": "as-needed", | |
"arrowParens": "avoid", | |
"parser": "typescript" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add - dev eslint-config-prettier | |
yarn add - dev eslint-config-standard | |
yarn add - dev eslint-plugin-import | |
yarn add - dev eslint-plugin-n | |
yarn add - dev eslint-plugin-prettier | |
yarn add - dev eslint-plugin-promise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Tested on LunarVim | |
-- optional: set your prefered indent with size | |
vim.opt.shiftwidth = 4 | |
vim.opt.tabstop = 4 | |
-- load required null-ls references | |
local h = require("null-ls.helpers") | |
local cmd_resolver = require("null-ls.helpers.command_resolver") | |
local methods = require("null-ls.methods") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm add --location=global prettier-eslint-cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// yarn add --dev @esbuild-plugins/node-globals-polyfill | |
import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill' | |
// yarn add --dev @esbuild-plugins/node-modules-polyfill | |
import { NodeModulesPolyfillPlugin } from '@esbuild-plugins/node-modules-polyfill' | |
// You don't need to add this to deps, it's included by @esbuild-plugins/node-modules-polyfill | |
import rollupNodePolyFill from 'rollup-plugin-node-polyfills' | |
export default { | |
resolve: { | |
alias: { |
NewerOlder