thedrearlight.com
  • home
  • about
  • archive
  • Dependency injection ez-mode

    January 01, 2018 Comments

    When you're writing code that requires side-effecting dependencies (think libraries like axios), make your test-lyfe easier by adopting a lil' DI pattern, brought to you by vanilla JavaScript.

    ...rest

  • Writing JavaScript modules consumable as esm or cjs

    November 18, 2017 Comments

    So you want to write a library? Oh, and you want to leverage some ultimate-mode TC39 syntax? AND you want to make your code consumable in a variety of module formats? Well, friend... a few things.

    ...rest

  • GAMECHANGOR: tmux leader + ctrl-z WTF

    December 28, 2016 Comments

    It's the little things, yep yep.

    ...rest

  • Webpack/Babel vs. npm link

    October 19, 2016 Comments

    Let's say we're writing a node module that is intended to be used in a Webpack/Babel project, but it explodes when connecting the two with `npm link`. What now?

    ...rest

  • Note To Self - Ubuntu Color Scheme

    April 03, 2016 Comments

    So that I don't forget. How to get base16 just right while using Vim in Gnome terminal.

    ...rest

  • the next
  • [at] email
  • rss
  • github
  • keybase
  • public key
  • twitter