unmet peer dependency build warning when creating a hubot script package

29 February 2016

I created a script package for hubot and followed the developer guide for publishing a package. I received an unmet peer dependency build warning when I did the install. This post describes what that is.

Read More...

Running CoffeeScript Mocha tests on Travis CI

21 January 2016

Travis CI will run npm test by default, so you will need to add the following to your package.json file:

Read More...

Debugging npm - "Error: Cannot find module xxx"

11 January 2016

I recently had an issue where a CoffeeScript unit test I had written started throwing “Error: Cannot find module”. Here are the steps I used to resolve the issue.

Read More...

formatting code with jekyll 3 and bootstrap

29 November 2015

The release of Jekyll version 3 changed the default syntax highlighter from Pygments to Rouge. In a previous blog entry I described how I formatted code snippets for this blog which uses Jekyll version 2, Pygments and Bootstrap. That code does not work with the new version of Jekyll. This blog post will describe what I did to format code snippets when using Jekyll version 3 and Bootstrap version 3.

Read More...

Notes From Oracle's Java 8 MOOC: Lambdas And Streams

07 August 2015

I recently finished Oracle’s Java 8 MOOC: Lamdbas And Streams class. This was my first introduction to Java 8. The following are my notes from the class.

Read More...

Comparing integers using Integer.compare vs subtraction

04 August 2015

TL;DR: Use Integer.compare to avoid overflow that can occur when subtracting two integers.

Read More...

Formatting Pygments linenos with Jekyll and Bootstrap

03 June 2015

This blog is generated by Jekyll and uses Pygments to highlight code syntax. This post describes the process I used to setup Pygments and style code snippets. [Update: For formatting code blocks with Jekyll version 3 please see formatting code with jekyll 3 and bootstrap] [Update 2: Github has updated to Jekyll 3, so this site now uses Jekyll 3 and the rouge highlighter.]

Read More...

Swift Programming Language Questions - The Basics

23 May 2015

I’ve been playing around with Swift and going through Apple’s Language Guide for Swift. I created some quiz questions for myself based on the first chapter. These questions do not contain all the topics covered in the chapter. For example, booleans are excluded as I am comfortable using them.

Read More...