Click anywhere to close

Html Code Blocks

In an attempt to make this site look prettier I have added HTML code blocks. The library that I am using to do this is called highlight_js-rails. It was easily added to my rails project by just adding gem 'highlight_js-rails' to my Gemfile. Here is an example of it in action:

#include 
int main() {
  printf("Hello World\n");
}


This is my application.css:
/*
*= require_self
 *= require highlight_js/monokai
*/


And my application.js:

//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require highlight_js/highlight
//= require highlight_js/languages/ruby
//= require highlight_js/languages/cpp
//= require highlight_js/languages/python
//= require highlight_js/languages/javascript


Recent Posts

The future is multiplayer
Technology
posted: November 05, 2026
How we stay productive in the claude code era Two things always mattered for engineering productivity, but Claude Code makes them matter a lot more: managing many projects at once, and iterating as fast as possible.
Technology
posted: April 14, 2026
Not Enough People Are Talking About AI-Enabled Disruption The real winners of the AI wave will be people who figure out how to disrupt old industries by building AI-first companies.
Technology
posted: February 24, 2026
Engineering Culture at Hi Finance What we're building at hi finance, why we're building it, and the engineering values driving how we build it. Plus, we're hiring a Founding Engineer.
Technology
posted: February 16, 2026
AI Doesn't Change the Job of a Software Engineer Writing code is not, and has never been, the main job of a Software Engineer
Technology
posted: February 06, 2026