Twitter

Love this #ted story: "How I became part sea urchin | Catherine Mohr" https://t.co/hkSxukVkIC https://t.co/hkSxukVkIC

2 months ago

Follow

Yesterday I found an interesting sorting problem to work on. The solution involved a SortedDictionary and an ICompa… https://t.co/4x4nfqcFhm

2 months ago

Follow

Hallo @staatsbosbeheer, er ligt hier een koe met een gaatje. Wellicht goed om even polshoogte te nemen. https://t.co/NrmcaXyiuR

3 months ago

Follow

Hi @TheShufflehound, thanks for the beautiful Gillion and Jevelin themes! They are most useful. Are you still developing new themes?

3 months ago

Follow

Categories

Category: Node.js

Automation, Hubot, Node.js

Building an updatable Slack message

Slack is fully awesome. At wehkamp we use it for our internal communication and as a tool for our DevOps. The Slack API allows us to build even more advanced integrations. In this blog I’ll explore how to use the API to create powerfull progress indicators by updating a Slack message.

Automation, Hubot, JavaScript, Node.js

Hubot + ES6 + Promises

Lately we’ve been playing around with ChatOps at Wehkamp. We added a Hubot to our Slack channels to automate some operational jobs. It makes work more fun and way easier. As it is hosted in our own infrastructure, it can interact with our micro-services. In this article I explore how to use ES6 and a Promise to implement a call to a simple web-service.

JavaScript, Node.js, TypeScript

Support both Node.js and browser JS in one TypeScript file

TypeScript allows for better JavaScript development. JavaScript is getting useful in more domains. But different systems require different ways of handling modules and exposing features. TypeScript solves this by compiling differently when a target is specified.

But what if you need a TypeScript script that supports both vanilla browser JS and Node.js? What if you need to expose 10+ classes?

JavaScript, Node.js, TypeScript

Convert QUnit test to Mocha / Chai

Recently I’ve been playing around with NPM. I switched my unit tests from QUnit to Mocha. This was not as straight forward as one would hope. In this blog I’ll show some example code. At the end I’ll link to a side by side comparison of the entire test project. Hopefully it helps you to convert your code. I’ll be using the Chai BDD assertion engine.

Node.js

How to start Node.js app windowless in Windows

Node.js is getting more popular by the day. It breaks JavaScript free from the browser. I would love to auto start an application – much like a Windows service – without keeping a console window open. There are many services to wrap node applications into an executable, but I like to stick with just Node. This small trick will make your Node application windowless on Windows.