Deep in Software with Hugo
Archives
Search
Subscribe
Create mock object instances in JavaScript using Object.defineProperty - Code with Hugo - Mar 18th 2019
March 18, 2019
Hot off the press JavaScript Object.defineProperty for a function: create mock object instances in Jest or AVA - how to use Object.defineProperty with...
Fix git "failed to push, updates were rejected" - Code with Hugo - Mar 9th 2019
March 11, 2019
Hot off the press Fix git “tip of your current branch is behind its remote counterpart”: explanation of why git rejects pushes and how to fix it under...
Pass cookies with axios or fetch requests - Code with Hugo - Mar 4th 2019
March 4, 2019
Hot off the press Pass cookies with axios or fetch requests: When sending requests from client-side JavaScript, by default cookies are not passed, here's how...
Express body-parsing with no dependencies - Code with Hugo - Feb 25th 2019
February 25, 2019
Hot off the press Parse POST/PATCH/PUT request JSON body with Express and no dependencies: I discovered that Express 4.16+ had a built-in JSON body-parser...
Mock Express request and response - Code with Hugo - Feb 18th 2019
February 18, 2019
Hot off the press A guide to Express request and response mocking/stubbing with Jest or sinon: how to test Express handlers and middleware by calling them up...
Configuration management in Node.js apps - Code with Hugo - Feb 14th 2019
February 14, 2019
Hot off the press Node.js config management done right and my issues with the config npm package in the context of trying to keep your application 12-factor:...
Integrate Python/Ruby/PHP/shell with Node.js - Code with Hugo - Feb 4th 2019
February 4, 2019
Hot off the press More JavaScript shenanigans this week: The comprehensive guide to integrating a Python/Ruby/PHP/shell script from Node.js using...
Async JavaScript, history, patterns and gotchas - Code with Hugo - 28th Jan 2019
January 28, 2019
I've been preparing a presentation that I'll be giving tonight at Codebar London, "Async JavaScript: history, patterns and gotchas"....
Dokku and deployment - Code with Hugo - 21st Jan 2019
January 21, 2019
Since I've been writing a lot more backend JavaScript recently, I'll be publishing more around JS patterns, asynchronous behaviour etc, that are semi-obvious...
Sequelize DataTypes and JS fundamentals - Code with Hugo - 24th December 2018
December 24, 2018
Sequelize DataTypes and JS fundamentals - Code with Hugo - 24th December 2018 As the year is winding down, I've decided that I'm moving back to a weekly...
Workflows and JavaScript deep-dive - Code with Hugo - 10th December 2018
December 10, 2018
Workflows and JavaScript deep-dive I just figured out that I can auto-embed posts' images using just their URL 💪so posts are going to be more colourful now 🙂...
My goto stack from prototype to launch - Code with Hugo - 26th November 2018
November 26, 2018
My goto stack from prototype to launch In recent weeks I've launched/made first sales of the Sequelize ES6 cheatsheet, started a new role and looked at...
Sequelize ES6 Cheatsheet is live - Code with Hugo - 12th Nov 2018
November 12, 2018
Sequelize ES6 Cheatsheet is live - Code with Hugo Big day for some of you can access the Sequelize ES6 cheatsheet (RRP $1.99) at...
6 months of Code with Hugo can only mean more JavaScript
October 22, 2018
6 months of Code with Hugo can only mean more JavaScript - issue 15 This newsletter is the first after the 6-month mark of me writing at Code with Hugo. In...
JavaScript, deployment and prototyping - Code with Hugo 14
October 8, 2018
JavaScript, deployment and prototyping - Code with Hugo #JavaScript basics New and old posts to get gain some confidence in JavaScript. The following are all...
ORMs and deployments - Code with Hugo 13
September 24, 2018
Writing modern #Sequelize Sequelize is a popular and stable ORM for Node. The downsides to this stability and age is that its syntax and docs are a bit...
Code with Hugo - Newsletter 12 - GraphQL, Git and JavaScript Tooling
September 10, 2018
Code with Hugo - Newsletter 12 - GraphQL, Git and JavaScript Tooling Code with Hugo newsletter is moving to a more newsletter-y format. From now on, it’s...
Code with Hugo: A gentle introduction to GraphQL
September 3, 2018
A gentle introduction to GraphQL API integrations GraphQL is a great alternative to REST (or other HTTP API designs). This is an quick introduction to the...
Code with Hugo: consuming GraphQL from JavaScript, 0-config deployments with GitHub Pages and Parcel
August 27, 2018
An intro to consuming GraphQL from JavaScript and 0-config deployments using GitHub Pages and Parcel This week continues with GraphQL, this time in...
Code with Hugo: Another week, not another rant.
August 20, 2018
Another week, not another rant. There should be something for everyone here: - a bit of housekeeping on Cloudflare - changing the date of a commit for...
Newer archives
Older archives