Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## 2026-11-12 16:47

| Check | Status | Details |
|-------|--------|---------|
| Lint | ✓ PASS | 0 errors |
| Build | ✓ PASS | 27 pages built, 5 pages indexed (Pagefind) |
| Unit Tests | ✓ PASS | 50 tests passed |
| E2E Tests | ✓ PASS | 96 tests passed |
| Lighthouse | ✓ PASS | 99.8% performance (avg) |

### Lighthouse Performance (local build)

| Page | Scores (3 runs) |
|------|-----------------|
| / (index) | 100%, 100%, 100% |
| /about | 99%, 99%, 99% |
| /posts | 100%, 100%, 100% |
| /archives (soft 404, not linked) | 100%, 100%, 100% |
| /404 | 100%, 100%, 100% |

**Diagnostics:** None. Live site not measured.

Changes: Fix the asdf follow-up post: the two `asdf install <name> latest` commands were bare text, so `<name>` and `<version>` rendered as HTML tags and vanished. They are now one `bash` code block, with the "Install latest stable version" line as a shell comment (as in the asdf docs) instead of a stray heading in the table of contents. Recast the prose ` -- ` (rendered as em dashes by smartypants) and spaced hyphens in the asdf, tools and tmux posts with commas, colons, semicolons, periods or parentheses; the no-em-dashes checker now reports 0 hits for all posts and `AGENTS.md` files. Switch `site.url` from `https://b.kulkarni.cloud/` (no DNS record) to `https://blog.kulkarni.cloud/`, so canonical, RSS, sitemap, robots and `og:image` URLs point at the live host; RSS readers see new item links once. Host updated in two e2e expectations (user-approved). Add `bun run clean` (removes `dist/` and `public/pagefind/`) as the first pre-commit step.

## 2026-11-11 22:00

| Check | Status | Details |
Expand Down
5 changes: 3 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## Project Overview

This is a personal blog built with AstroPaper, an Astro 7-based static site generator. The blog is deployed to Cloudflare Pages at https://b.kulkarni.cloud/.
This is a personal blog built with AstroPaper, an Astro 7-based static site generator. The blog is deployed to Cloudflare Pages at https://blog.kulkarni.cloud/.

**Stack:** Astro 7 + TypeScript 6 + TailwindCSS v4 + Bun

Expand All @@ -14,6 +14,7 @@ This is a personal blog built with AstroPaper, an Astro 7-based static site gene
|---------|---------|
| `bun run dev` | Start dev server at localhost:4321 |
| `bun run build` | Build production site to `./dist/` |
| `bun run clean` | Remove `dist/` and `public/pagefind/` |
| `bun run preview` | Preview production build locally |
| `bun run lint` | Run ESLint (flat config) |
| `bun run lint:fix` | Run ESLint with auto-fix |
Expand Down Expand Up @@ -96,7 +97,7 @@ The URL slug is the file name: `src/content/posts/foo.md` → `/posts/foo/`. Fil
**REQUIRED:** Before making ANY commit, you MUST run these checks locally IN THIS EXACT ORDER and ensure they ALL pass:

```bash
rm -rf dist # Start fresh like CI
bun run clean # Start fresh like CI (removes dist/ and public/pagefind/)
bun run lint # 1. Linting (0 errors)
bun run build # 2. Build (must run before unit tests!)
bun run test:run # 3. Unit tests (50+ tests, requires dist/)
Expand Down
2 changes: 1 addition & 1 deletion astro-paper.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const title = "Developer Musings";

export default defineAstroPaperConfig({
site: {
url: "https://b.kulkarni.cloud/",
url: "https://blog.kulkarni.cloud/",
title,
description: "Umm, many things mostly software though, I hope",
author: "Guruprasad Kulkarni",
Expand Down
2 changes: 1 addition & 1 deletion e2e/og-images.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test.describe("OG Images", () => {
const content = await page
.locator('meta[property="og:image"]')
.getAttribute("content");
expect(content).toBe(`https://b.kulkarni.cloud/posts/${slug}/index.png`);
expect(content).toBe(`https://blog.kulkarni.cloud/posts/${slug}/index.png`);

const response = await request.get(new URL(content!).pathname);
expect(response.status()).toBe(200);
Expand Down
10 changes: 5 additions & 5 deletions e2e/url-preservation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ test.describe("URL preservation", () => {
m => m[1]
);
expect(links).toEqual([
"https://b.kulkarni.cloud/posts/some-interesting-features-in-github-actions/",
"https://b.kulkarni.cloud/posts/gradle-tricks/",
"https://b.kulkarni.cloud/posts/tmux-how-i-use-it/",
"https://b.kulkarni.cloud/posts/followup-latest-version-of-the-tools-using-asdf/",
"https://b.kulkarni.cloud/posts/on-the-topic-of-tools-their-versions-and-automated-installations/",
"https://blog.kulkarni.cloud/posts/some-interesting-features-in-github-actions/",
"https://blog.kulkarni.cloud/posts/gradle-tricks/",
"https://blog.kulkarni.cloud/posts/tmux-how-i-use-it/",
"https://blog.kulkarni.cloud/posts/followup-latest-version-of-the-tools-using-asdf/",
"https://blog.kulkarni.cloud/posts/on-the-topic-of-tools-their-versions-and-automated-installations/",
]);
});

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"packageManager": "bun@1.4.4",
"scripts": {
"dev": "astro dev",
"clean": "node -e \"for (const d of ['dist','public/pagefind']) require('fs').rmSync(d, { recursive: true, force: true })\"",
"build": "astro check && astro build && pagefind --site dist && node copy-pagefind.mjs",
"preview": "astro preview",
"sync": "astro sync",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,19 @@ me in the correct direction if you find something and I will update it here.
keeping you at the latest version. However, to sync the versions you use yourself and no one else on the team is a task
that almost guaranteed to be forgotten. That brings us to the question from the earlier post.

> If I don't care about the version of a tool just that I have the latest, what should I do? -- rephrased ;)
> If I don't care about the version of a tool just that I have the latest, what should I do? (rephrased ;))
>
> Aashish

- There is a way described
at `asdf` [documentation](https://asdf-vm.com/manage/versions.html#install-latest-stable-version)

```bash
asdf install <name> latest

## Install latest stable version that begins with a given string.

# Install latest stable version that begins with a given string.
asdf install <name> latest:<version>
```

However, I have not used it myself recently and earlier it did not work.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Impatient? then these are the tools we will discuss

- [afx](https://babarot.me/afx/) the command-line package manager

We developers love tools, we like to create them, use them and hope that they make our lives better as we are going about our day doing the things we do. You know don't you? "Working Hard or Hardly Working" -- I don't know who said that but I use it every chance I get.
We developers love tools, we like to create them, use them and hope that they make our lives better as we are going about our day doing the things we do. You know don't you? "Working Hard or Hardly Working": I don't know who said that but I use it every chance I get.

![So many tools and tool boxes](/assets/20221008/so-many-tools-and-tool-boxes-high-quality-digital-art.png)

Expand Down Expand Up @@ -71,7 +71,7 @@ So, If you don't want to install manually then the following tools are for you!

It's simple really, let's go though

- Install [asdf](https://asdf-vm.com/guide/getting-started.html#_1-install-dependencies) -- required only once :)
- Install [asdf](https://asdf-vm.com/guide/getting-started.html#_1-install-dependencies) (required only once :))

- Get all available plugins and find the tool you are looking for
- e.g.
Expand Down
8 changes: 4 additions & 4 deletions src/content/posts/tmux-how-i-use-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ We are going to go about this in a manner that even if you leave after some sect

## Intro (please don't stop after the intro ;) )

`tmux` (modern - by linux standards) or `screen` (a bit older) are terminal multiplexers -- big words, but they allow you to manage multiple terminals easily. They do more than that, and they shine when connecting to remote servers but are just as useful for local development as we will see by the end.
`tmux` (modern, by Linux standards) or `screen` (a bit older) are terminal multiplexers: big words, but they allow you to manage multiple terminals easily. They do more than that, and they shine when connecting to remote servers but are just as useful for local development as we will see by the end.
Using tmux requires a learning curve but then gets much more easy real soon and with huge productivity benefits

## Preset, Just install and use

Using Screen or Tmux requires some learning and setup, they are extremely flexible and non-opinionated, so it is possible to customize them (within limits - outside them, you contribute to the source code) as much as you want, but this means the sane defaults are mostly bare, if you install tmux and run it in a terminal you might not even notice anything except you have to press `Ctrl+D` or `exit` twice instead of the usual once :)
Using Screen or Tmux requires some learning and setup, they are extremely flexible and non-opinionated, so it is possible to customize them (within limits; beyond them, you contribute to the source code) as much as you want, but this means the sane defaults are mostly bare, if you install tmux and run it in a terminal you might not even notice anything except you have to press `Ctrl+D` or `exit` twice instead of the usual once :)

To help with this there is a project that takes an opinionated approach and presents you with a pre-customized ready to use tmux setup that will go a long way for you. After installation simply press `Ctrl+A` and you are presented with a selection to select the keys, I usually select 1 `screen` keys as I am already familiar with them, however the backend by default ([AFAIK](https://www.urbandictionary.com/define.php?term=afaik)) is `tmux`. Here is how it looks for me.

Expand Down Expand Up @@ -126,7 +126,7 @@ The Developer Setup That You Need on Every Restart of a Computer / Every Restart

Yes, You can use tmux to do whatever you want, start any program, any server and as many windows + sub panes and easily navigate between them. Let's list some benefits before we go?

- Setup-Once-Benefit-Everytime (restart then open terminal and tmux a -- bam, git pull, compile, start servers and system monitoring any anything else you want)
- Setup-Once-Benefit-Everytime (restart then open terminal and tmux a. Bam: git pull, compile, start servers and system monitoring any anything else you want)

- No Context Switching, when trying to find multiple terminals, rename the windows and move easily just with `Shift` or `Ctrl` and arrow keys

Expand All @@ -145,6 +145,6 @@ There are numerous pages and even some books on tmux I think, just search, and y

Don't forget to let me know how you like and use tmux indifferent ways, would love to integrate some tricks into my own config to use going forward.

So Young Padawans -- Go Learn the ways of the tmux. May tmux Be with you!
So, young Padawans, go learn the ways of the tmux. May tmux Be with you!

---
Loading