Hiren Patel
CategoriesTagsAbout
Documenting things as I learn.
  • Using macOS newsyslog to Rotate Service Logs

    Feb 25, 2026

    I noticed my OpenClaw gateway log files were growing unbounded. The service runs via launchd, and while the app has built-in log rotation, the stdout/stderr capture in the launchd plist was bypassing it entirely. …

    How TosProgrammingmacOSlogginglaunchdnewsyslogopenclaw

  • Tag-Teaming Claude Code with an AI Agent via Tmux

    Jan 22, 2026

    Claude Code is an impressive CLI that brings sophisticated AI-assisted coding directly into the terminal. Its TUI (Text User Interface) provides rich feedback through interactive menus, progress bars, and side-by-side diffs. However, long-running tasks present a challenge: if you need to step away from your computer, the session momentum is often lost. To solve this, I’ve developed a workflow using Tmux as a shared terminal state. This allows me to hand off a live session to my Clawdbot agent and, conversely, take over a session that the agent started. It also provides a mechanism to optionally switch between different account tokens (such as a work account) on the fly. …

    AI AutomationProgrammingClaude CodeTmuxopenclawWorkflowAutomation

  • Deploying a Sandboxed Family Agent with Cross-Compiled Go Skills in Clawdbot

    Jan 19, 2026

    I wanted to set up a “Family Agent” in Clawdbot so my family could interact with tools like stock analysis and summarization via WhatsApp. However, I needed to ensure this agent was completely isolated from my personal credentials and host system. Here is how I configured a sandboxed environment and deployed cross-compiled Go skills to solve this. …

    How TosAI AutomationopenclawDockerGoAIStock Analysis

  • Fixing File Associations on macOS Sequoia

    Oct 25, 2024

    After upgrading to macOS Sequoia (15.0), my QFX files would not open correctly in Banktivity. Banktivity would not show as an option in Open With in the File Info panel. I ended up having to use lsregister utility to fix the association manually. …

    macOSSequoia

  • Upgrading Portainer Community Edition on Docker

    Feb 19, 2023

    I run a docker instance under Ubuntu server on my local network. This is how I upgrade portainer to the latest version. …

    How TosDcokerPortainer

  • Set up Foscam Floodlight Camera in HomeKit

    Nov 13, 2022

    The Foscam Floodlight Camera is competitively prized and has decent features including option to record 24/7 video locally to a micro sdcard without the need for a cloud subscription. It however does not support integration with HomeKit my preferred home automation platform. Here is how I setup the floodlight in HomeKit. …

    Home AutomationHomeKitHome Automation

  • Setting up Keras Tensorflow2 on M1 Mac

    Oct 21, 2022

    I am currently reading Deep Learning with TensorFlow and Keras to get started with Machine Learning/Deep Learning. Here is how I setup a local Keras/Tensorflow 2.0 environment on my M1 Max MacBook Pro running macOS 12.6. …

    How TosProgrammingMachine LearningArtificial IntelligenceMachine LearningDeep LearningTensorFlowKeras

  • Setting Visual Studio Code as default text editor on macOS

    Mar 23, 2021

    Visual Studio Code is quite capable has become my editor of choice on macOS. Here is how to set it as the default text editor instead of Text Edit. …

    How TosmacOSVisual Studio Codevscode

  • macOS and Active Directory Passwords

    Jan 02, 2021

    Macs connected to Active Directory routinely need to update passwords. When working remote, Active Directory password change is not exactly easy. Here are the steps I follow to update my Active Directory password and keep my local mac password in sync. …

    How TosmacOSActive Directory

  • Cross Compiling on macOS via Docker

    Dec 23, 2020

    I needed to compile an arm64 binary to run on the UniFi Dream Machine Pro. This is how I used docker to setup cross compilation tools and compile the binary on macOS. …

    How TosProgrammingNetworkingDockerUbiquiti

  • 1
  • 2

© Copyright 2026, © Copyright {year}, Hiren Patel

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.