Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Nearly all guides online explain how to reset an iPod Touch incorrectly for the 7th generation.
-
How to setup a bare bones Nginx server with HTTPS and reverse proxy on Lightsail.
-
As I predicted in my first blog post, I have tired of Docusaurus and wrote my own blog generator: blog-vir.
-
How to migrate the location of a Plex library, based on what I found online and what I actually had to do for the move to be successful.
-
How to reverse scroll direction on Windows so that it matches macOS's "natural" scrolling.
-
I tried using PM2 and systemd to keep a Raspberry Pi server running.
-
Current model hierarchy for models with multiple names.
-
How to easily setup per directory API keys to, for example, scope different AI subscriptions in different folders.
-
Here is a script using the GitHub gh CLI to iterate over all of your repos and make them more secure by setting the following settings on them: pull requests only allowed for collaborators (to prevent cache poisoning attacks) immutable releases (because i…
-
A quick guide on how to track session cost with a Claude hook.
-
Add the following to your ~/.bashrc or ~/.zshrc: alias ghpr='git push && gh pr create --fill' Now just run ghpr after you've committed, and now you have a PR!
-
I thought this would be easy (because it's easy to stream from a backend to a frontend and vice versa) but it was not.
-
How to setup a Linux VM for an AI CLI to go crazy in (without risk to your host system).
-
(for security purposes) Globally: run npm config set ignore-scripts true this will populate ~/.npmrc Per repo: create ./.npmrc add ignore-scripts=true into that file
-
Npm has recently been making a lot of changes around package publish security because of recent supply-chain attacks targeting Npm.
-
I recently had to figure out client-side mTLS certificates.
-
To create and authorize a new SSH: Run ssh-keygen -t ed25519 on the client machine.
-
A quick guide on setting up a minimal but secure HTTPS web server on a Debian (12) Linux server.
-
For cleaner tsc (TypeScript compiler) output: pipe its output into my package tidy-tsc: npm i -g tidy-tsc npx tsc | tidyt npx tsc -b | tidyt # etc
-
My (very) opinionated Git conventions.
-
An idea for a postmortem template.
-
A guide on how to setup git commit signing through GPG and GitHub.
-
Sleeping on macOS messes up Thunderbolt USB devices, so I just can't have it happening. sudo pmset -a sleep 0 For good measure, also enable "Prevent automatic sleeping when the display is off" under System Settings > Energy
-
To show the macOS app switcher on all screens: defaults write com.apple.dock autohide-delay -int 0 defaults write com.apple.dock autohide-time-modifier -float 0.1 To see the change, restart the Dock with killall Dock.
-
This is everything I install and setup on a fresh Mac machine.
-
To show the macOS app switcher on all screens: defaults write com.apple.dock appswitcher-all-displays -bool true To see the change, restart the Dock with killall Dock.
-
For a long time I, someone on my team, would wait for backend pipelines to finish before manually publishing deploys from Netlify.
-
If you set --prefer-offline to true in npm, naively thinking (like I did) that this will speed up your npm installs, you will be disappointed (like I was).
-
Clone a repo with worktrees setup from the start: mkdir <repo-name> cd <repo-name> git clone --bare --filter=blob:none <git-url> cd <repo-name>.git Some options to help your sanity: # always prune on fetch git config fetch.prune true # allow `git fetch o…
-
To run cron jobs with your user env so that it's actually possible for them to run anything, add this to the top of your cron file (edit with crontab -e): SHELL=/bin/bash HOME=/home/<username> BASH_ENV=$HOME/.bashrc Then look at your ~/.bashrc file and m…
-
This how to enable up/down arrow auto-complete navigation instead of basic history navigation, without installing plugins.
-
It's really hard to get new Worker() from node:worker_threads to work when running code via tsx.
-
It's super easy to write your own daemon, so here's how.
-
CJS Node.js scripts have always been able to detect if they're running directly through the CLI or imported from another JS script through various means (the most recent being require.main === module).
-
I noticed recently that running frontend Playwright tests on macOS via GitHub Actions is noticeably faster than on Ubuntu.
-
This command will recursively find all OGG files in the currently directory and nested directories and convert them to MP3. find .
-
I can't use macOS anymore without SoundSource.
-
A step-by-step guide on how to setup a fresh Windows 11 installation for web development.
-
I couldn't find a single consolidated place that explains how to setup pm2 from scratch (assuming you've already installed Node.js), and their own "quick start" didn't help.
-
When you have an iframe loading an intense amount of content (like an entire video game, in the case of https://playfeed.io), and you need you need to reuse that iframe, you need to force the iframe to free up its memory usage so the browser will garbage…
-
ssh into the machine.
-
A simple step-by-step guide to setup Nginx with HTTPS from scratch.
-
Add the line auth sufficient pam_tid.so at the top of /etc/pam.d/sudo (you will need sudo access to write to that file).
-
Frontend bundling is a process by which your frontend source code, typically spread across multiple files, gets squished and transformed into few files, often just one file.
-
Authentication through the authorization header, cookies, and JWTs.
-
There are currently two main module formats in the JavaScript ecosystem: ECMAScript Modules (ESM) and CommonJS (CJS).
-
What is "semantic versioning" (often called "semver")?
-
I recently adopted ESLint into my workflow and enabled fix-on-save in VS Code.
-
Here are some quick conventions for good commit messages and pull request titles.
-
Npm is a package manager for JavaScript projects.