← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 69
  1. Nearly all guides online explain how to reset an iPod Touch incorrectly for the 7th generation.

  2. How to setup a bare bones Nginx server with HTTPS and reverse proxy on Lightsail.

  3. Now Using blog-vir

    As I predicted in my first blog post, I have tired of Docusaurus and wrote my own blog generator: blog-vir.

  4. 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.

  5. How to reverse scroll direction on Windows so that it matches macOS's "natural" scrolling.

  6. I tried using PM2 and systemd to keep a Raspberry Pi server running.

  7. AI Model Hierarchy

    Current model hierarchy for models with multiple names.

  8. Per-Dir API keys

    How to easily setup per directory API keys to, for example, scope different AI subscriptions in different folders.

  9. 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…

  10. Track Claude CLI Cost

    A quick guide on how to track session cost with a Claude hook.

  11. 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!

  12. 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.

  13. How to setup a Linux VM for an AI CLI to go crazy in (without risk to your host system).

  14. (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

  15. Npm has recently been making a lot of changes around package publish security because of recent supply-chain attacks targeting Npm.

  16. I recently had to figure out client-side mTLS certificates.

  17. A New SSH Key

    To create and authorize a new SSH: Run ssh-keygen -t ed25519 on the client machine.

  18. A quick guide on setting up a minimal but secure HTTPS web server on a Debian (12) Linux server.

  19. Tidy TSC Output

    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

  20. My (very) opinionated Git conventions.

  21. Postmortem template

    An idea for a postmortem template.

  22. A guide on how to setup git commit signing through GPG and GitHub.

  23. 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

  24. 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.

  25. Fresh Mac Setup

    This is everything I install and setup on a fresh Mac machine.

  26. 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.

  27. For a long time I, someone on my team, would wait for backend pipelines to finish before manually publishing deploys from Netlify.

  28. 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).

  29. 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…

  30. 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…

  31. This how to enable up/down arrow auto-complete navigation instead of basic history navigation, without installing plugins.

  32. It's really hard to get new Worker() from node:worker_threads to work when running code via tsx.

  33. Write a Daemon

    It's super easy to write your own daemon, so here's how.

  34. 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).

  35. I noticed recently that running frontend Playwright tests on macOS via GitHub Actions is noticeably faster than on Ubuntu.

  36. This command will recursively find all OGG files in the currently directory and nested directories and convert them to MP3. find .

  37. SoundSource freezing

    I can't use macOS anymore without SoundSource.

  38. A step-by-step guide on how to setup a fresh Windows 11 installation for web development.

  39. pm2 Quick Start

    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.

  40. 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…

  41. ssh into the machine.

  42. A simple step-by-step guide to setup Nginx with HTTPS from scratch.

  43. 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).

  44. Frontend Bundling

    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.

  45. Some Frontend Basics

    Authentication through the authorization header, cookies, and JWTs.

  46. ESM vs CJS

    There are currently two main module formats in the JavaScript ecosystem: ECMAScript Modules (ESM) and CommonJS (CJS).

  47. What is "semantic versioning" (often called "semver")?

  48. I recently adopted ESLint into my workflow and enabled fix-on-save in VS Code.

  49. Git Commit Messages

    Here are some quick conventions for good commit messages and pull request titles.

  50. Npm Q&A

    Npm is a package manager for JavaScript projects.