Hjertnes.blog

#

February 07, 2018

☕️

#

February 07, 2018

Waiting for Offline Imap to download all of my e-mail, before I become even weirder by using Emacs as my email client.

#

February 07, 2018

Just ordered some modern SD cards, and some old school “SD cards” aka a few rolls of Ilford HP5 and Delta 3200.

#

February 07, 2018

Offline IMAP works fine with FastMail. Work Gmail? Nah.

Documenting the commands you need in your project.

February 07, 2018

How do I build, lint, test or run the development server on my project?

When you start out, I guess it is fine to just run the webpack, eslint etc by hand. But as you are adding more members to your team or don’t work full time on it anymore.

I’m a huge fan of adding run/build/lint/test script to package.json. Then you can just add npm run lint or yarn run lint to lint. And the best thing about doing it this way is that, if there is some change to the command you use to build, lint, test or run, you can just change the command and you don’t need to make sure everyone you work with are up to speed.

How to do it?

You just add a element to the scripts object in package.json in the following form “name”: “script you need to run”,

#

February 06, 2018

The medium login modal are driving me nuts. I wonder if there is a chrome extension to disable it?