- Copy
code-flags.confto the root of the"$HOME"/.configfolder. - Replace all
*-flags.conffiles, exceptcode-flags.confwith the new flags:
find ~/.config \
-mindepth 1 -maxdepth 1 \
-type f -and \| import { | |
| ArrayOptions, | |
| DateOptions, | |
| IntegerOptions, | |
| ObjectOptions, | |
| SchemaOptions, | |
| Static, | |
| StringOptions, | |
| TBoolean, | |
| TInteger, |
| #!/bin/bash | |
| create_indentation_files(){ | |
| echo '{' >> .prettierrc | |
| echo ' "tabWidth": 2,' >> .prettierrc | |
| echo ' "objectWrap": "collapse",' >> .prettierrc | |
| echo ' "proseWrap": "always",' >> .prettierrc | |
| echo ' "semi": true,' >> .prettierrc | |
| echo ' "printWidth": 70,' >> .prettierrc | |
| echo ' "trailingComma": "none",' >> .prettierrc |
| interface IMyWriteableSignal<T> { | |
| (): T; | |
| set: (value: T) => void; | |
| update: (updater: (currentValue: T) => T) => void; | |
| } | |
| function myWriteableSignal<T>(initialValue: T): IMyWriteableSignal<T> { | |
| let value = initialValue; | |
| function signal() { |
| isValidCPF('0') // false |
| import test, { describe } from "node:test"; | |
| import quantizeToFloat32 from "../../quantizeToFloat32"; | |
| import castTypedArray from "./castTypedArray"; | |
| describe("asTypedArray", async () => { | |
| const { expect } = await import("chai"); | |
| test("it should convert Float32Array to Uint8Array without data loss", () => { | |
| const expected = new Array(48) | |
| .fill(0.0) |
| #!/bin/bash | |
| gsettings set org.gnome.mutter overlay-key '' |
Found a [blog post][1] describing a fix that appears to work for me, while restoring my missing history:
mv .zsh_history .zsh_history_bad
strings .zsh_history_bad > .zsh_history
Afterwards, you may want to instruct zsh to re-read the history form the recovered history file
fc -R .zsh_history
| ## Download Znap, if it's not there yet. | |
| [[ -r ~/Repos/znap/znap.zsh ]] || | |
| git clone --depth 1 -- \ | |
| https://github.com/marlonrichert/zsh-snap.git ~/Repos/znap | |
| source ~/Repos/znap/znap.zsh # Start Znap Load Znap | |
| # Load Oh My Zsh | |
| znap source ohmyzsh/ohmyzsh | |
| # znap source sorin-ionescu/prezto modules/{environment,history} |