Mark Hesketh
banner
markhesketh.com
Mark Hesketh
@markhesketh.com
Software Developer. Northerner.

🚀 Building with Ruby on Rails, Laravel, Hotwire.

https://www.markhesketh.com/
I've started using Docker to run tools like npm, composer, kamal, etc. as if they were installed locally.

Each project can use their own versions.

Add a script like `bin/npm` to your project, then you can use `bin/npm install ...`
September 19, 2025 at 3:04 PM
An absolute gem (ha!) of a resource. Use it weekly.

Currently mashing refresh for the Rails World 2025 talks to drop.

www.rubyevents.org
RubyEvents.org - On a mission to index all Ruby events
On a mission to index all Ruby events. Your go-to place for talks and events about Ruby.
www.rubyevents.org
September 10, 2025 at 10:44 PM
Tonight's plan: Replace my basic markdown editor with Lexxy.

Gotta move the content and media to actiontext too. Easy right?
September 9, 2025 at 6:00 PM
In Minitest, I used `assert_select` when testing content in specific HTML elements, e.g. checking the page title or H1.

In RSpec, `include` isn't as specific and can lead to false positives.

Instead, include Capybara::RSpecMatchers for `have_title` and `have_element` matchers.
September 7, 2025 at 8:18 PM
Switching to RSpec for my next few projects.

Minitest is great, but it won't always be my decision to use it.
September 7, 2025 at 5:04 PM
Never unsubscribing. Staying strong. Believe.
June 28, 2025 at 10:01 PM
Back to checking my RSS each morning with a coffee

Shout up if you know any good Rails/PHP/Laravel/React feeds I should be subscribed to.

Got a lot to catch up on.
March 13, 2025 at 10:55 AM
"I am by no means an expert, but I've been using Git for years at this point. I've picked up some tips and tricks I use daily that I think could help you too."

www.markhesketh.com/blog/git-tip...
Git tips and tricks I use every day
I am by no means an expert, but I've been using Git for years at this point. Over that time I've picked up some tips, tricks and habits I use daily that I think could help you too.
www.markhesketh.com
March 12, 2025 at 2:43 PM
Updated my site to use the system-ui font stack.

I enjoyed the JetBrains Mono look, but this is easier to read and quicker to load.
March 12, 2025 at 2:31 PM
Received valuable feedback on my first open source contribution in a while 🫠

bsky.app/profile/mark...
March 10, 2025 at 12:16 PM
Creating remote branches for PRs is tedious having to copy/paste (or... type out) branch names. Instead, you can:

$ git push origin HEAD

It pushes and creates a branch on the remote with the same name as your local branch ✌🏻
March 7, 2025 at 10:24 PM
In Git, you can switch to your previous branch using:

$ git switch -

I use this all the time to ping pong between main/master and whatever feature branch I'm working on.
March 7, 2025 at 12:27 PM
My Obsidian plugin to help improve writing style got accepted and is now listed in the community plugins 🎉

Its called 'Write Good' and can be installed directly from within Obsidian
March 6, 2025 at 11:15 PM
Hello world
October 25, 2024 at 11:19 AM