Using Mocha test context and its pitfalls.
A few examples of introducing functional programming into existing code.
Connecting Kliesli compositions or the advantages of good pipe insulation.
Quickly run complex HTTP requests from terminal.
Incremental lint, Prettier, immutable rules.
Using functional lenses to modify objects by example.
Randomize tests and run previously failed ones first for speed.
Use non-root user inside Docker container.
Why would you want a function in a box?
How to distribute a tree-shaken library for your tree-shaken apps using Rollup.
Use async / await in ServiceWorker code because browsers support both.
How to enforce a custom condition on a string.
How to use fallback with client-side routing to avoid 404 pages.
WebPack as a service for quick personal projects and examples.
Replacing the built-in OR and TERNARY operators with Maybe monads.
When every function is pure, advanced async actions are easy.
Setting up and starting with TypeScript and Visual Studio Code editor.
A few examples of common mistakes when preparing presentation slides.
Tips and tricks for larger web apps.
A few ways ES6 removes boilerplate code.
Framework-agnostic snapshot testing for Mocha, Jest, Vue, etc.
Call sites API does not support source maps, while exception stack does.
Notes on small, simple off the shelf login solution for SPA and server.
Simple example showing automated client code change when module API changes.
Speed up resources by pushing them from a Node HTTP/2 server.
A few tips on getting the most out of E2E testing tool Cypress
A functor hides some piece of common imperative code (and makes it composable)
How to send additional context for crashes that happen during E2E tests.
Imperative If/Else example implemented using Either monads and reactive style.
How to open custom protocol links from external applications in your Electron desktop app.
How to quickly find an error by bisecting the Git commit log.
How to use hashes for CDN resources.
How to run a database locally that syncs with central one.
A screencast of ServiceWorker technology.
How to split a large pull request into several smaller ones.
How to setup semantic release on private GitLab and on-premises NPM registry.
Array, Promise and Maybe monads. Plus Docker is a functor.
Examples of useful functionality that can be used in Node without code changes.
FrontEndCamp NYC presentation about Cycle.js framework.
How to bundle a server including private modules and static files.
How to build multiple test bundles and run E2E test jobs in parallel.
How to roll over data when doing clean deploys using Zeit. Plus testing with Cypress!
Using NPM hooks and Zeit to send the semantic release notes to Slack.
How to set the semantic release tokens without going through the wizard.
Small shortcut for using shell variable with default values in NPM scripts.
How to stop only if a specific expression becomes true.
Links to additional information included in my OSCON 2016 presentation.
A neat trick for making object property updates into a live event stream.
A short guide to using Cypress.io for feature testing web pages.
The difficulty using Promises vs the simplicity using reactive streams
How is Cycle.js a pure framework if I can listen to the UI events and output new DOM?
Small functional tips for RxJS
How much code do you need to run Cycle.js program?
Common code snippets for using Pug (formerly Jade) template language.
Test function for purity using isolated v8 execution context.
Setting up multiple applications in a single DigitalOcean instance via Dokku.
Helpful AngularJS code snippets.
Verifying that a request to external service happens.
Shepherding Git commits from dev to stage to production.
The benefits of using ES6 parameter destructuring over options object pattern.
Node.js is really really really susceptible to code injection attacks.
How to make sure your Express or Koa server correctly sends crashes to exception monitoring service.
How to unit test Rx code on Node with Mocha (and Ava).
Deploying several microservices into the cloud with Tutum.
Refactoring common auth flow from callbacks into Tasks.
Deploying website and microservice containers to production.
Building microservices with Fuge
Manage side effects when coding NodeJS servers with Rx and Cycle.js (NOT about server-side rendering).
Once you have a Promise instance the action has already started. Task instance does not run until someone calls .fork()
How to build and distribute libraries via NPM using WebPack bundler.
My collection of personal CLI apps to speed up NodeJS development.
What useful ES6 features can we use right now?
How to use CircleCI to publish new versions of your NPM modules.
How to monkey patch a broken global Node package, if you have to.
How to measure size and publish smaller modules to NPM.
How to deploy your own server to receive real time crash data.
Modify the function's variables after the function executed.
How to compute the filter's result asynchronously.
How to wrap functions that depend on the environment for clean unit testing.
Eval is limited in its power plus the only time I found `this` variable useful.
How to preserve reference to data when factoring out model data to services.
Building Angular application from CommonJS modules and powerful unit testing.
Changing a piece of imperative code to be purely functional
Introduction to Angular data model vs view update.
Instead of returning an error code or value, return a Promise.
Using and observing ExpressJS sessions from the client code.
Unit testing AngularJS code in record time using ng-describe.
Scope-based vs object-oriented controllers in Angular
How to load and use ES2015 in the Chrome DevTools console without any 3rd party extensions.
Building projects without having Grunt installed globally.
How to always load a 3rd party library in DevTools console
Use Mocha and the package script commands to quickly start unit testing CommonJS code.
Convert an asynchronous operation to promise-returning one.
How to store multiple values in a promise chain using an object.
Companion notes to the "Self-improving software" presentation
Steps to develop good ExpressJS based application server.
Links and resources for learning ReactJS.
Publish tagged versions to NPM after successful CI build.
Avoid loading source files - put the code directly into the require cache.
How to embed and fetch version information for a specific Angular module.
Compromise functions private to closures via partially applied references.
Bind some properties in the options object.
Grab a subset of a complex object using functional-extract utility.
Optimizing "legoizer" web worker application to run 10 times faster.
Adding new features to an existing function via lifting.
Writing mock stdin text in your Nodejs unit tests.
Replace if conditions with functors and applicatives.
Create and destroy an Express.js server in each unit test.
Speed up Node.js application startup by caching require path resolutions.
How to avoid creeping lexical scope in asynchronous code.
How to unit test Node applications that use RethinkDB.
Small feature in RethinkDB data explorer that shows they get it.
Simplify middleware using higher-order functions.
How to embed the commit id in the Express application using Codeship and Heroku.
My presentation ideas, abstracts and cfps.
Infographic with the main stats on these three frameworks.
Load and run full AngularJS 1.x in browser's separate thread.
Run any function in a separate web worker thread using ng-webworker.
Speeding up Angular 1.x demo to be on par with React
How to remove boilerplate from intermediate steps using partial application or currying.
Trying a tiny Node / browser NoSQL database with a clean API.
How to reuse grunt tasks from gulp
Share data model via scopes and limit the view access via controllerAs syntax.
New features to use right after upgrading to Angular 1.3 from 1.2
Use RethinkDB hosted on Compose.io as a REST api data end point.
Initial local experiements with a modern NoSQL database.
Count a specific word in a text file using streams and reactive programming.
How to pass multiple values from one promise step to the next one without lexical scope or global variables.
Things we had to change in order to upgrade from Angular 1.2.26 to 1.3.14
Implementing every other array method using reduce.
How to use provider to allow user modules to configure 3rd party features.
Measuring generator vs promise performance.
Iterative, recursive, promise-returning factorial interview question.
Resources and links for learning about upcoming v2 AngularJS.
How to run ES6 (EcmaScript2015) code using 6to5 transpiler.
Please pick on API pattern and stick to it.
Good way to call the first promise-returning function.
A use case where point-free event callback does not work well.
How I made a custom Google search across my github projects and blog posts.
Convert NodeJS EventEmitter emit to a promise-returning method.
How to determine if a dependency module was actually used?
Finish M tasks while running N asynchronous tasks at once using Q or ES6 Promises.
How to find the first item after the second number in an array.
Ignoring some arguments and partial binding for methods calls.
Replace NodeJS require to add cache busting, pre- and post-processing, mocking, arguments.
Mocking responses using turtle-run, service-turtle and ng-wedge.
A common feature implemented in object-oriented and functional styles.
Find bottlenecks in live web application using Chrome DevTools code snippets.
Test live application by mocking responses without modifying code or installing plugins.
Which keys are expensive in a collection of objects?
Feeding fake variables to a function taken out of its lexical scope.
Plus easy promise chaining using Ramda.
Implementing Todo list with Undo using immutable data structure.
Functor + Applicative = Applier
Plot data right inside Chrome DevTools while debugging.
Semi-private data common to link and controller without adding to the scope.
Functor Promise together with Maybe applicative.
Test function for purity using lexical scope and runtime context.
Prepare for future async data flow by wrapping primitives in promises.
Limit dirty checking to the given scope when reacting to user events.
An experiment in offloading AngularJs dirty checking and model updates to a separate browser thread.
Run useful code fragments on-demand to analyze website performance.
$q.all(Array) and $q.all(Object) example
Changing filter function after async initialization.
See what each loaded Angular module provides and how it links to its dependencies.
Examples of unit testing Angular code from Node.
Prevent silent module overrides, misspelled directives, undefined expressions.
Loading and running simple Angular app under Node.
Selective argument binding using lodash, ramda and heroin
Methods one needs to call to make the unit tests work.
Avoid using `this` keyword in the API object revealed from a module.
Debugging unit tests run by Karma using Chrome DevTools.
Testing lazy async assertion by spying on objects.
Iterating over objects using lodash functions.
Clear and easy to read defensive programming with check-types.js and check-more-types.js
An argument for trying Ramda if you love _
Asynchronous processing using ES6 generators.
Promise chain looks like a railroad with two tracks.
Pick QUnit/gt if you need TDD, use Mocha if you want BDD, and Ava if preparing for the future.
Promise throttling and flatMapLatest equivalent
Single method working as both getter and setter
Current level of ES6 in various tools.
Another set of examples using generators.
Explanation of closures via lexical scope
You can quickly verify complex logic if you use structured JSON logging.
An example adding a flexible timeout method to promises
Extend promises returned by $q with timeout method
We can extend objects built from JSON strings by pointing to a different prototype object.
Playing with ES6 generators in Node.
Flexible assertions without performance penalty.
Using Jade instead of HTML for AngularJS directives.
Access angular model and update DOM from the browser console.
Using providers to inject runtime values into modules.
Experiments with thread-local storage in Node.
How to avoid having to bind functions to contexts.
Finding the size of the memory allocated for the stack.
If a directive is recursive, you must use template url to avoid infinite loop.
A few useful applications of AngularJS parsing service.
Comparing 3rd party assertion libraries expect.js, should.js, etc.
Simplify on deman resource loading with promises.
How to bind any argument by name
Event-driven input/output makes for an efficient system for distributed computing.
Use .done() at the end of your Q promise chains to throw any unhandled exception.
Tiny library functional-pipeline composes functions in left to right order.
How to test promise-returning code.
How to connect multiple promise-returning methods into single chain.
Angular library can be loaded under Node synthetic browser environment.
Stop hunting phantom problems due to name collisions.
Grunt tasks that accept default options or can be configured.
Search text files using grep and skip Node 3rd party folders.
How to spy on methods using sinon.js
Test D3 drawing code without running a browser for speed.
AngularJS relies on closures rather than modules, removing need to bind a context.
My HTML framework for simple drag and drop presentations from Markdown files.
Remove unit testing coverage from the collected data.
Create and use objects without any prototype.
Example Angular application fetching more data on scroll.
How to pass configuration into AngularJS during server-side template rendering.
How to connect promises into single sequence.
You can easily perform CLI end to end testing by checking the exit codes.
Example refactoring a block of code containing AND condition
EcmaScript6 generator that does nothing
How to set and see git branch descriptions.
Handling the errors in the promise chain.
How to test Connect or Express middleware functions.
Log loaded files, add code coverage and extra features on the fly.
Extend simple feature with little functional decorators.
How to write AngularJS code inside server-side Jade templates.
Advanced examples removing promise boilerplate code.
How to avoid unnecessary promise boilerplate code.
Quick demos using AngularJS library Restangular and JSON file backend.
Main steps when deploying NodeJS app using Heroku CLI tool.
unary, once, time, fluent and tap
iit, xit, ddescribe, xdescribe
How to run the async test suite setup.
Unit test suits with async setup functions.
Adapting signatures and preserving context in iterators.
Markdown is lightweight convention for text documents.
See the project build status for all projects at once.
Quick API endpoint testing using several libraries.
Add build status, version and dependency badges to your README.md
Aliases simplify working with git commands
Detect some code problems using static analysis.