// blog

Notes and write-ups

35 notes and counting. Filter by tag, or scroll — it's not that long.

tag map
3 min

Showing the active Firebase project in the command line

Managing multiple Firebase environments can be error-prone when relying on manual commands to verify the current context. A custom shell integration provides a persistent visual indicator of the active project directly within the command prompt. This approach prevents accidental deployments to the wrong environment by referencing local configuration files automatically.

firebase scripting utilities
12 min

How We Migrated All User Files to AWS S3

Migrating a large volume of user files between cloud providers requires careful planning to maintain service stability and data integrity. This process explores the transition from initial sequential scripts to a highly parallelized architecture capable of handling millions of records efficiently. The final approach demonstrates how optimizing infrastructure and leveraging worker-based processing can significantly improve performance and resource utilization.

aws nodejs scripting
3 min

Sharing gRPC protobufs between microservices

Maintaining consistent Protocol Buffer definitions across multiple independent microservices can be a challenge. This approach uses a centralized repository for proto files and automates the generation of language-specific client libraries. Versioned output repositories are then integrated into projects to ensure API stability and simplified dependency management.

grpc automation
1 min

Automatically pausing Spotify on macOS

Managing media playback timing on desktop devices often requires custom solutions for automated interruptions. This approach uses shell scripting to bridge system controls with application commands. It provides a straightforward method to ensure audio playback ceases after a specified duration on macOS.

scripting utilities
3 min

When dream comes true (USA trip)

This trip report chronicles an initial journey through major North American cities after years of saving. It highlights experiences exploring iconic urban landmarks, bustling cityscapes, and popular tourist destinations. The account captures the excitement and wonder of visiting long-awaited locations for the first time.

travelling
1 min

Watching your UNIX scripts

Maintaining long-running background processes can be a challenge in restricted hosting environments where traditional supervisor tools are unavailable. A lightweight bash script can effectively monitor command execution and ensure processes restart automatically upon failure. This approach provides a simple, dependency-free method to maintain service reliability without requiring extra infrastructure.

scripting
4 min

How I bypassed our school internet system. Twice.

This narrative explores two attempts to bypass dormitory network restrictions by manipulating configuration files and decompiling existing management software. By analyzing local administrative tools and automating network requests, the author outlines a technical approach to maintaining internet access during restricted hours. The process highlights common oversights in school system security and configuration management.

scripting
2 min

Sending exceptions to mail in Laravel

Monitoring production application errors is essential for identifying hidden issues that may arise after deployment. While dedicated error reporting platforms are industry standard, smaller projects can implement custom notification systems for immediate alerts. This approach leverages the framework's native exception handling capabilities to capture and relay failure details directly to the developer.

laravel