Mihai Serban

Cluj-Napoca, Romania 🇷🇴

Software engineer in constant search for new and exciting technologies

Want to hire me for your next project? Get in touch.

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

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.

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  —  Spread Operator

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

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

20 October 2018

ES6 cheatsheet  —  Promises

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  —  Modules

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

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

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

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

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

20 October 2018

ES6 cheatsheet  —  Generators

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

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

20 October 2018

ES6 cheatsheet  —  Helpful array functions

Dive into new array functions introduced in ES6

20 October 2018

ES6 cheatsheet  —  Helpful string functions

Quick look at some helpful string functions introduced in ES6

20 October 2018

ES6 cheatsheet  —  Map & WeakMap

Quick look into new Map & WeakMap introduced in ES6

16 October 2018

ES6 cheatsheet — String Templates

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

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 👏👏👏

An experiment on growing my twitter following.

23 August 2017

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

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

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