Using ES6 Generators with Callback-based Libraries

ES6 introduces generators (and yield expressions) to JavaScript. Kyle Simpson has written a nice introduction to generators, if you're looking for more about how they work.

They're a very welcome change from callbacks-of-infinite-sorrow situations, but generators aren't necessarily well supported



A short list of things I enjoy, to be updated at undisclosed and inconsistent intervals.



Grayscale CSS and Bookmarklet

A bit of code that can be used to convert any webpage (or part of a page) to grayscale. Because accessibility!


body {  
  /* IE */
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);

  /* Chrome, Safari */
  -webkit-filter: grayscale(1);

  /* Firefox */
  filter: grayscale(1)

Using an iPhone with Google Cardboard

I haven't heard much about iPhone users trying Google Cardboard, so this post is basically my way of saying "Oh hey, it works."

And yeah. It does, assuming you have a large enough screen for a convincing field of view.


Getting Involved in Open Source Software

Contributing to open source is something I am improving at, along with finding enjoyable ways to get involved. I’m not where I want to be yet, but here are some things that have made the process easier.

Finding New