RSSAmplifier

Blog

JD Codes

Recent content on JD Codes

jd.codesRSS feed ↗16 posts

Latest posts

Deploying Tanstack Start w/ Kamal

Deploying Tanstack Start with Kamal.

Kamal Tip - Private Network only Database Server

Edit : In the original version of this post I made a mistake. This post has been corrected. See the details at the below for an explanation of the mistake and the solution. Mistake Summary & Solution In the original version of this post I had stated that the App servers IP in the Kamal configuration should be set to it’s public IP. This is incorrect. With the SSH proxy pointing at the public…

Transient Menus in Emacs pt. 1

Building custom Transient menus is a great way to enhance day to day workflows

Quick Tip: Git - Rebasing Branches

A quick tip when dealing with branches off branches.

Managing Local Services in Emacs with Prodigy

Prodigy is an Emacs package that allows you to manage local services easily.

Finding an Emacs Bug

I managed to come across an emacs bug.. or rather unexpected & undocumented behavior.

State Design Pattern

State Design Pattern is often overlooked in favor State Machines when it comes to Rails and object state management. However, the State Design Pattern is a highly effective open/closed solution to many state design woes.

Double Polymorphic Associations in Rails

A quick overview of using associations to define good domain descriptions as well as good behavior.

Using SSH Tunneling

Use SSH Dynamic Port Forwarding/Tunnel to route web traffic.

Trying out GCC Emacs

I've always had complaints about emacs performance but the latest native compilation branch squashes any concerns I have with it.

Thoughts on Interfaces for Models

After making small changes to a model, it got me thinking hard about how I build interfaces.

Using Run Command in Emacs for RSpec Watch Mode

I am a sucker for small micro-optimizations in my Emacs config. The Run Command package gives plenty of opportunity for that, while also building powerful automation opportunities. Here's the config I came up with for an RSpec watch mode.

Resolving client side routes in Rails

Tell Rails to pass routes to a client with a nifty helper.

Dockerize Create React App

I'm relatively new to using Docker and wanted a quick way to spin up a small React application using Docker so I could easily share it as a proof of concept for features I develop at work. Here's a quick guide to dockerizing a React app made with create-react-app.

Organizing Work is Hard

Taking on organizational responsibility for other developers work is hard work in of itself. It is a careful balance of planning, architecture, and confidence.

Tips for Breaking into the Tech Industry

It took me a long time to find a job, so I thought I'd share my most useful advice on the matter. It's an uphill battle, but once you get the first one, the rest are easy.