hjertnes.blog

#

07.02.2018 01:00

[@jack]1 You were right, isync is way better and mu4e is AWESOME.

Documenting the commands you need in your project.

07.02.2018 01:00

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”,

#

06.02.2018 01:00

[@manton]1 Love the support for scrolling further back in the timeline!

#

06.02.2018 01:00

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

#

06.02.2018 01:00

[@manton]1 Are there any special rules for the Daily Blogger? Besides that replies don’t count? (I think I’m at Day 30)

#

06.02.2018 01:00

Ingri: Put on a nice shirt today

Me: I’m wearing my Daring Fireball shirt.

Ingri: ??

#

06.02.2018 01:00

[@jack]1 have you looked into using emacs for email?

Axios

06.02.2018 01:00

Axios is a awesome HTTP Client for JavaScript that I have used for over two years now. I first discovered it when I was looking for a good and clean Promise based HTTP Client that did just that – HTTP stuff.

Back in the day most of us used jQuery for almost everything. These days I try to avoid adding it to my React based projects.

Axios is very easy to use. You just import it and call axios.get/post/put/delete and you have more advanced options if you need them. I have yet to find something I had to do that can’t be done with axis.

#

05.02.2018 01:00

It’s Micro Monday again. I recommend everyone to start following [@colinwalker]1, I think he was one of the first people I started following here on Micro.blog. If you are interested in IndieWeb, tech or philosophy it will be a follow worthwhile

#

05.02.2018 01:00

I decided in the end of December that I had to do something about the ridiculous amount of e-mail I’m receiving. So, I decided to re-start something I did a few years ago: Unsubscribe from one thing every week day.

My hope is that I will notice a decrease in the e-mail noise over the next few months.