Category: Uncategorized
-
Google Apps Script: GmailApp Not Returning Emails with after/before Query
In Google Apps Script, you cannot just use after and before keyword in query. You’ll need the date to be converted to Epoch (seconds) first. Not even ISO 8601. i.e Query to get GitHub Invocies for username chez14: On the UI, you can do that and the result may still come up, but in APIs,…
-
Joining 2 PDFs
Via GhostScript:
-
Brother DCP-T420W Double Sided Printing
I can’t believe I’m this stupid that I need to write this down 🤦
-
pnpm:  ERR_PNPM_BAD_PM_VERSION
When running pnpm install, pnpm throws an error: The error is not clear what “configuration” should i choose. package.json‘s config field? Or pnpm config? I’m not sure. From this PR, apparently you need to set it on .npmrc: References: Upgrading the PNPM Use corepack up, as mentioned by edvinv. … or maybe follow the pnpm’s…
-
Firefly III: `REMOTE_USER` Setup
Links:
-
escpos-rs: Access denied
Opening connection code: Error: Problem: The printer is owned by group lp and you need current user to be in that group.
-
SeaORM: Enum on with DerivePrimaryKey and DeriveEntityModel Error
SeaORM error on Composite Primary Key Enum with #[derive(DerivePrimaryKey)] in a model with #[derive(DeriveEntityModel)] errors: The fix: Remove the DerivePrimaryKey on the enum. Here’s the patch:
-
Laravel Init (w/ Inertia)
TS Support Refs: Install plong Theme
-
`git rebase` but keep the timestamp
Source:
-
tsconfig’s skipLibCheck
Official Documentation: https://www.typescriptlang.org/tsconfig#skipLibCheck Some library may not coagulate all of their .d.ts files to single behemoth. If you set skipLibCheck to true, those typings will not be checked. Sample case: Intertia React Package @ 1.0.14 (NPM Artifact link). The .d.ts files were split to several files. Fails to set skipLibCheck will makes your IDE tells…