#showtooltip
/castsequence [nomod] reset=10 Multi-Shot, Arcane Shot
/use [@mouseover,harm,nodead,mod][mod] Arcane Shot
This file contains hidden or 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
brew install autoconf gmp bison re2c pkg-config libxml2 gd libiconv oniguruma | |
mise use php@7 |
This file contains hidden or 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
format = """ | |
$username\ | |
$hostname\ | |
$localip\ | |
$shlvl\ | |
$singularity\ | |
$kubernetes\ | |
$directory\ | |
$vcsh\ | |
$fossil_branch\ |
This file contains hidden or 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
#!/usr/bin/env sh | |
# Halt on error or undefined variables. | |
set -eu | |
# Prefix input with a given string. | |
prefix() { | |
while IFS= read -r output; do | |
printf '%s\t%s\n' "$1" "$output" | |
done |
This file contains hidden or 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
<div style="filter: url(#grain)"></div> | |
<svg xmlns="http://www.w3.org/2000/svg" height="0" width="0"> | |
<defs> | |
<filter id="grain"> | |
<feTurbulence | |
type="fractalNoise" | |
baseFrequency="1" | |
numOctaves="2" | |
stitchTiles="stitch" |
Using xinput change acceleration profile from adaptive to flat.
- Use
xinput list
and grab touchpad/trackpad device ID. - List properties with
xinput watch-props <device id>
and grab Accel Profile Enabled ID. - Turn off adaptive profile and turn on flat profile with
xinput set-prop <device> <prop> 0 1
.
This file contains hidden or 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
import { ChangeEvent, createContext, useMemo, useReducer } from "react"; | |
import { AnyZodObject, ZodError, z } from "zod"; | |
import { mapValues } from "~/lib/map"; | |
type FieldState = { | |
name: string; | |
value: string; | |
error: undefined | ZodError; | |
touched: boolean; | |
}; |
This file contains hidden or 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
{ | |
"scripts": { | |
"prepare": "test -f .git/hooks/pre-commit || cp scripts/pre-commit .git/hooks", | |
"format": "prettier . --cache", | |
"lint": "eslint . --report-unused-disable-directives --max-warnings 0 --cache", | |
} | |
} |
This file contains hidden or 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
/** | |
* Stylesheet module classes. | |
*/ | |
declare module "*.module.css" { | |
const stylesheet: { | |
[key: string]: string; | |
}; | |
export = stylesheet; | |
} |
This file contains hidden or 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
/** | |
* Make all properties of T optional, except those in U. If exempt keys were already optional they'll stay optional. | |
*/ | |
type Semipartial<T, U extends keyof T> = Partial<T> & Pick<T, U>; | |
/** | |
* Make all properties of T required, except those in U. If exempt keys were already required they'll stay required. | |
*/ | |
type Semirequired<T, U extends keyof T> = Required<T> & Pick<T, U>; |
NewerOlder