PhilipMat

How long will my Mac’s SSD last? About 3000 erase-write cycles

Modern Mac SSDs typically endure about 3,000 erase-write cycles; monitor total data written with iostat or smartctl, keep 10–25% free, and avoid VM swap to extend lifespan..

TIL: LLM Pricing Calculator

Estimate LLM costs by entering input, cached, and output token counts and per‑million rates; includes model price comparisons and a GitHub source link..

TIL: How to Audit a Rails Codebase: Legacy App Playbook

A week-one playbook for auditing legacy Rails apps: interview stakeholders, inspect Gemfile/schema/routes, run security scans first, use SimpleCov zero-coverage as a fear map, and deliver a one-page t.

TIL: Jetbrains DataGrip -- Automatically start VPN connection

Learn how to automate VPN connections in DataGrip for Azure-hosted databases on macOS..

TIL: VCR.py -- records and replays HTTP calls for testing

Discover how VCR.py can simplify and speed up your HTTP testing by recording and replaying HTTP interactions..

Automating TIL Posts from GitHub Issues

A GitHub Actions workflow that turns a GitHub issue into a TIL blog post using an LLM to fetch, summarize, and tag the content..

TIL: Building a self-updating profile README for GitHub

Learn how to create a self-updating GitHub profile README using GitHub Actions and a Python script..

Connect From PyODBC to SQL Server in DataBricks Cluster

Cached Claims when Using Windows Authentication in ASP.NET Core

Replicating macOS's say command in Windows

Enumerating Directly to a FileResult

Two Approaches to Searching Users in Active Directory

Loading Claims when Using Windows Authentication in ASP.NET Core 2.x

Thirty_minutes_before_coding

Script of things I found useful to do before I start writing any code at all..

Converting to Base64 in Powershell

Versioning Assemblies with Cake and Git

Touch Command in PowerShell

Replicating the Unix `touch` command in PowerShell.

See Unread Emails in iOS Mail App

How to make available a special folder that dynamically shows unread emails.

PUT and DELETE with HTML Forms in ExpressJS

Making PUT and DELETE work with ExpressJS when submitting from HTML pages..

django-permissivecsrf

More lenient CSRF check for Django when posting from an HTTP page to an HTTPS one..

Miniature Minifier Makefile

Kendo Grid Select Editor

Templates for GoodNotes

Templates for GoodNotes and other notes applications.

Asymmetric Sparkbars

A quick way to create asymmetric sparkbars..

Json.NET and NHibernate Serialization Blues

Keep Json.NET from going too deep on NHibernate proxies.

JSON Entity Converter

Setting up FxCop under CruiseControl.NET

New (Old) Web App Architecture

An new approach to building web apps that has been around for quite some times..

.Net Interfaces Are Not Classes

A brief look at .Net instance and class inheritance through the lens of DataBinding..

Three Ways To Indent JSON

.Net DI Container Speed Redux

.Net DI Container Speed Test

A comparison of performance in object retrieval of six .Net Dependency Injection containers.

Quickly Move Messages In Mail.app

Two Significant New Features In Lion

Word Count Service For OS X

ipy - Completion For Python Interactive

Enabling completion for Python in interactive mode..

Jekyll vs. Hyde - A Comparison Of Two Static Site Generators

A comparison of Jekyll and Hyde when considering a static website generator..