August 22, 2014

Jekyll Syntax Highlighting

Jekyll and github-pages support syntax highlighting using the pygments library. To use it: include pygments aware CSS somewhere in your page template put highlight code block, referencing the desired syntax {% raw %} {% highlight groovy %} class GroovyClass { def cry() { println ‘Whaaa!’ } } {% endhighlight %} {% endraw %} For instance, the code above should appear like the following: {% highlight groovy %} class GroovyClass { def cry() { println ‘Whaaa! Read more

August 20, 2014

Ratpack - Simpler HTTP Services

After writing http services in spring-mvc and jax-rs a number of times, I’m of the opinion that the stacks are a bit too complicated. Its not that they don’t work, or even that they are hard to understand. They just feel a bit heavyweight (and surprisingly awkward) for implementing restful services, which is what I seem to be writing for the backend these days. I understand why the java REST frameworks look the way they do: they were built on standards (the servlet api), and grew out of their respective historical uses, XML-based HTTP web services for jax-rs, and MVC web framework for spring-mvc. Read more

August 15, 2014

Introduction

Welcome. I’m Brandon Atkinson. I’m into things that have buttons and beep.

© Brandon Atkinson 2024

Powered by Hugo & Kiss.