Tristan Dunn

  • Articles
  • Links
  • Projects
  • February 2nd, 2025 Deploy a Rails Template with Kamal

    Step-by-step guide to set up a Rails template to deploy with Kamal.

  • November 7th, 2022 Deploy Rails with Dokku

    Deploying a Rails application to DigitalOcean with Dokku.

  • November 4th, 2022 Save Time, Type Less: Part 2

    How to send commands to tmux, specifically panes, from vim.

  • October 14th, 2022 Simple Form Submissions

    How to accept basic form submissions for free.

  • September 18th, 2021 Old Game, New Technology

    Building my 24 year old game for the modern web.

  • September 10th, 2021 Jekyll with TailwindCSS in JIT Mode

    How to use TailwindCSS in JIT mode with a Jekyll website.

  • January 1st, 2021 Switching Streams in Turbo Rails

    How to easily switch a user between Turbo streams without writing JavaScript.

  • April 30th, 2020 Save Time, Type Less: Part 1

    Use aliases for common tasks to save time by typing less.

  • April 30th, 2016 Deploying Jekyll to a VPS: Part 5

    Switch the server to only respond to HTTPS requests, with support for the SPDY protocol.

  • November 5th, 2015 Authenticate with the Dribbble API

    A complete example for authenticating a user with the Dribbble API using Ruby on Rails.

  • October 14th, 2015 Deploying Jekyll to a VPS: Part 4

    Add and configure an asset pipeline for Jekyll and add HTTP caching for the assets.

  • May 31st, 2015 Deploying Jekyll to a VPS: Part 3

    Create a remote server, prepare Chef and Capistrano configuration, and deploy to the public with a custom domain name.

  • May 5th, 2015 Deploying Jekyll to a VPS: Part 2

    Increase server security, add service monitoring, and configure Capistrano for deploying to the local server. 

  • December 15th, 2014 Deploying Jekyll to a VPS: Part 1

    A step-by-step guide to setting up a local Vagrant server, with custom and existing Chef recipes, for testing configuration and deployment.

  • January 24th, 2014 Rendering SVG on Canvas

    Simple example for rendering SVG on a Canvas element with JavaScript, including simple support for retina screens.

  • December 24th, 2013 Integration Testing Pusher in Ruby

    Using the pusher-fake library to integration test Pusher in Ruby without an account or Internet connection.

  • October 21st, 2010 Multiple Sessions in Cucumber

    Capybara additions for session manipulation to allow for testing interaction between multiple sessions in Cucumber.

  • September 20th, 2010 Successful Rails Rumble Tips

    Suggestions for competing in the Rails Rumble competition based on experience from a horrible first year and a category winner year.