Category: Tech
-
Replacing Your Python Script With Another Program: os.execvp
I wanted a small launcher for Claude Code that read its settings from a YAML file — env vars, flags, working directory, that kind of thing. Something I could version-control and tweak without remembering a 200-character invocation. My first attempt printed the command line. My second attempt was better, and along the way I finally…
-
Adding Sections to PowerPoint Files with Python and lxml
The python-pptx library is great for creating PowerPoint presentations programmatically, but it doesn’t support PowerPoint sections — the collapsible groups you see in the slide panel. This post shows how to add sections by directly manipulating the underlying XML with lxml. The OOXML Structure A .pptx file is a ZIP archive containing XML files. The…
-
How to Make AI Coding Tools Preserve Your File Metadata
When AI tools like Claude Code edit a file, they typically delete it and write a brand new one. The content is correct, but the file’s metadata — creation timestamp, inode, ownership, permissions, ACLs, extended attributes — is silently destroyed. On a personal project this is a minor annoyance. On a production server with specific…
-
Technical Blog Post Paradigm Shift
I write technical blog post for example tutorials to help people to handle certain issues, that could contain commands to be run, operations to be performed to solve issues or handle a specific problem, until recently I found out this may not be useful to readers in the AI/AI agent era. I would like to…
-
What Really Happens When You Force Quit WindowServer on macOS
The Problem: High Memory Usage Without Wanting to Restart Like many developers and power users, I keep dozens of browser tabs, applications, and terminal sessions open at all times. The thought of restarting my Mac fills me with dread—not because of the reboot time, but because I’d lose all my carefully organized workspace: browser tabs,…
-
Top AI Blogs
I as a blogger, want to write something good for readers, to build the reputation and to leave more contents for fellow researchers when they want to learn from mine. I think it is natual to find some of the most famous researchers’ blogs. My criteria is simple, it must be a blog site, not…
-
Send Media W/O Media Sent
Recently I found out a way to send out media like photos and videos on Apple Ecosystem’s iMessage without actually sending the files. Why would I take so much detour instead of sending the files directly? So to begin with, it would save your phone’s storage, especially when you are trying to send a large…
-
Apple Remote Desktop Refuse to Connect Trick
Sometimes Apple’s Remote Desktop does not work as expected, meaning when a remote Mac has been correctly configured and could be connected before, starts to fail when initiating the “control” request. A popup connection window would take forever and finally tells the user it cannot connect to the remote Mac. This would cause tremendously obstacles…
-
Match It Before You SSH It
The widely used command line tools including Vim, Emacs are too versatile that you could not be able to master it in your life time. SSH is definitely one in this category one uses on a daily basis but there are all kinds of configs that one may never heard of but are surprisingly useful,…
-
How to Forward Microsoft Exchange Email to Gmail Without Breaking Calendar Invites
Stop losing important emails when you change jobs or schools. Here’s the clever trick that lets you keep everything in Gmail while your calendar still works perfectly. 🎯 The Problem Everyone Faces But Nobody Talks About Picture this: You’ve got 3 years of important emails in your work Exchange account. Project discussions, client contacts, reference…
-
Fix Claude Code Login Issue
Recently I faced an issue where I was asked to login to Claude Code repeatly, even though I logged in correctly. I connected to a remote Mac through ssh as well as Apple Remote Desktop. Thus if you use Mac and face similar problems, you could try the following method. The following texts shows Claude…
-
Enable Claude Code to Work on Windows Environment
In this post I’m going to discuss how to allow Claude Code to work on Windows environment, which is not restricted by Windows Sub Linux. Yes, I will discuss how to allow your Claude Code to work on Windows directly. You will learn the following ideas that can be used for your other projects. If…
-
Mastering GNU Screen: The Ultimate Guide to Persistent SSH Sessions
In the world of remote development and system administration, maintaining persistent sessions across SSH connections is crucial. Whether you’re running Claude Code for long AI-assisted coding sessions, managing servers, or simply want to pick up exactly where you left off after commuting from work to home, GNU Screen is your indispensable companion. Table of Contents…
-
Claude Code Cheat Code
Default Options Copy and run the following code to allow Claude to run itself without asking for permissions every time it wants to run code. Variables Monitors
-
Fix Linux Preventing Remote SSH Root Login Issue
This is a simple post that handles the issue of Please login as the user “rocky” rather than the user “root”. I have this problem on my Rocky Linux 9, it prevents me to login as root as I’ve already uploaded the public key to the server. So at the end of the ssh session…