Blog

07 January 2021

Cloning a Windows drive from Mac OS X using dd (Disk Destroyer)

Decided to upgrade upgrade my Windows drive on my dual boot Hackintosh. Here's how to do it from your Mac OS X drive using dd (Disk Destroyer).

01 November 2018

How to handle AWS SES bounces and complaints

AWS

If you’re thinking of implementing AWS Simple Email Service for your product, you might find out that you need a flow to handle email…

24 October 2018

How to fix broken images in React.

React
JavaScript

In one of my recent projects we encountered many images which were missing from our S3 bucket. When I see something like this it just makes me sick 😫.

20 October 2018

ES6 cheatsheet  —  Promises

ES6
JavaScript

Promises are one of the most exciting additions to JavaScript ES6. Promises are a pattern that greatly simplifies asynchronous programming by making the code look synchronous and avoid problems associated with callbacks.

20 October 2018

ES6 cheatsheet  —  Spread Operator

ES6
JavaScript

The spread syntax is simply three dots: `...` It allows an iterable to expand in places where 0+ arguments are expected.

20 October 2018

ES6 cheatsheet  —  Set & WeakSet

ES6
JavaScript

A Set is a collection for unique values. The values can be primitives or object references.

20 October 2018

ES6 cheatsheet  —  Modules

ES6
JavaScript

Prior to ES6, we used libraries such as Browserify to create modules on the client-side, and require in Node.js. With ES6, we can now directly use modules of all types (AMD and CommonJS).

20 October 2018

ES6 cheatsheet  —  Arrow Functions

JavaScript
ES6

Arrows are a function shorthand using the => syntax. Arrow functions allow you to preserve the lexical value of this.

20 October 2018

ES6 cheatsheet  —  Classes

ES6
JavaScript

Prior to ES6, we implemented Classes by creating a constructor function and adding properties by extending the prototype

20 October 2018

ES6 cheatsheet  —  Async Await

ES6
JavaScript

Async/Await is a new way to write asynchronous code. Previous options for asynchronous code are callbacks and promises.

20 October 2018

ES6 cheatsheet  —  Destructuring

ES6
JavaScript

Destructuring is a convenient way of extracting multiple values from data stored in (possibly nested) objects and arrays.

20 October 2018

ES6 cheatsheet  —  Generators

ES6
JavaScript

A generator is a function which can be exited and later re-entered. Their context (variable bindings) will be saved across re-entrances.

20 October 2018

ES6 cheatsheet  —  Getter and setter functions

ES6
JavaScript

Let's take a look at getter and setter functions within ES6 classes.

20 October 2018

ES6 cheatsheet  —  Helpful array functions

JavaScript
ES6

Dive into new array functions introduced in ES6

20 October 2018

ES6 cheatsheet  —  Helpful string functions

ES6
JavaScript

Quick look at some helpful string functions introduced in ES6

20 October 2018

ES6 cheatsheet  —  Map & WeakMap

ES6
JavaScript

Quick look into new Map & WeakMap introduced in ES6

16 October 2018

ES6 cheatsheet — String Templates

JavaScript
ES6

Template Strings use back-ticks (``) rather than the single or double quotes we’re used to with regular strings.

16 October 2018

ES6 cheatsheet — Variable Declarations

ES6
JavaScript

An introduction to ES6 variable declarations, differences between var, let, const.

11 May 2018

How I grew my Twitter followers from 500 to 1000 in just 12 days 👏👏👏

Social Media
Growth Hacking

An experiment on growing my twitter following.

23 August 2017

How to generate cryptocurrency time intervals using MongoDB Aggregation Framework and Node.js

NodeJS
MongoDB

Let's use MongoDB Aggregation Framework to track volume changes at 1/5/30 minutes intervals.

gatsby  +  contentful  +  netlify  = ❤️[Source code]