• Home
  • Books
  • Node
  • Testing
  • JavaScript
  • More...
  • Search
  • About
  • Gear & Setup

Productivity

A collection of 11 posts

#node #javascript #Sequelize #productivity

Using ES6 classes for Sequelize 4 or 5 models

The ES2015 or ES6 specification introduced class to JavaScript. Libraries like React went from React.createClass to class MyComponent extends React.Component, ie went from rolling their own constructor to leveraging a language built-in to convey the programmer’s intent. For a Nod ...

  • Hugo Di Francesco
    Author
3 min read
#git #bash #productivity

Change the date of a git commit

One of the greatest and worst things with git is that you can rewrite the history. Here’s a sneaky way of abusing that, I can’t think of a legitimate reason to do this. As with anything, thanks StackOverflow for all the options I can pick from 👍. ...

  • Hugo Di Francesco
    Author
1 min read
#cdn #dev-decoded #productivity

The step-by-step guide to create a domain redirect with Cloudflare

Redirecting a whole domain using Cloudflare can be useful but isn’t documented anywhere, here’s how to do it. ...

  • Hugo Di Francesco
    Author
1 min read
#git #web development #productivity

Split an existing git commit

One of git’s main differences when compared to other version control systems is that it lets the user rewrite the history. The main way to do this is to use git rebase, usually followed by a git push --``force to overwrite history the remote with the local history. Here’s a ...

  • Hugo Di Francesco
    Author
2 min read
#technical writing #productivity #web development

Ditch syntax highlighting for better technical writing

Ditching syntax highlighting leads to more concise snippets, more thought to be put to find a minimal example and better overall flow in your writing. ...

  • Hugo Di Francesco
    Author
3 min read
#dev-decoded #git #programming #Productivity

Learn git even if you don’t code

The tools we wield define us, git is the one tool all developers use ...

  • Hugo Di Francesco
    Author
3 min read
#dev-decoded #Web development #Productivity

In simple terms: code on the backend, frontend and how they interact

A look at the shifting boundaries of the web development stack This was originally posted as an answer on Quora: How do frontend code and backend code interact with each other? Let’s start with quick definitions followed by state of the art best practices. ...

  • Hugo Di Francesco
    Author
4 min read
#Testing #javascript #Productivity

AVA, low-config testing for JavaScript

A JavaScript testing library for 2017 AVA is a Futuristic JavaScript test runner. Some of its best features are: it works out of the box, no need to specify a blob for test files or add Babel hooks it runs tests in parallel, this stops you from using global state and runs faster ...

  • Hugo Di Francesco
    Author
4 min read
#javascript #Functional Programming #Productivity

First-class and Higher Order Functions: Effective Functional JavaScript

Functions: the killer JavaScript feature we never talk about. JavaScript is a very in-demand language today. It runs in a lot of places from the browser to embedded systems and it brings a non-blocking I/O model that is faster than others for some types of applications. What real ...

  • Hugo Di Francesco
    Author
8 min read
#javascript #Functional Programming #Productivity

Closures, Partial Application and Currying: Effective Functional JavaScript

Spices and other ingredients of a great curry To use JavaScript to its full potential you have to embrace its strong functional programming base. We’re going to explore some crucial and powerful functional constructs: closures, partial application and currying that make JavaScrip ...

  • Hugo Di Francesco
    Author
7 min read
Page 1 of 2  Previous Posts →

Interested in Alpine.js?

Power up your debugging with the Alpine.js Devtools Extension for Chrome and Firefox. Trusted by over 15,000 developers (rated 4.5 ⭐️).

Install Now close
Code with Hugo
Latest Posts Github