30 Days of Node.js – Day 10

In 1981, shortly before I turned one year, the James Bond movie For your eyes only was released. Encryption and decryption was important back then and is probably even more important today. That’s why today’s lesson covered the topic Encryption & Decryption. As usual, the code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2010%20-%20Encryption%20%26%20Decryption. References: https://nodejs.org/api/crypto.html https://nodejs.org/api/fs.html https://nodejs.org/api/buffer.html […]

30 Days of Node.js – Day 9

Today’s lesson was about hash functions and HMAC, which both are helpful to encrypt and decrypt data. I’ve learned about various encryption methods and how to use them. The code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2009%20-%20Hashing%20and%20HMAC. References: https://nodejs.org/api/crypto.html https://en.wikipedia.org/wiki/Cipher https://en.wikipedia.org/wiki/Elliptic-curve_cryptography https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards https://en.wikipedia.org/wiki/HMAC https://en.wikipedia.org/wiki/Hash_function

30 Days of Node.js – Day 8

I cannot believe it, I’ve just published my first npm package. Today’s lesson was about how to publish npm module. The biggest lesson I learned today is that publishing npm packages it very easy and straightforward. I’ve also learned that I should run extensive testing before publishing the npm package. As you can tell on the version number of […]

30 Days of Node.js – Day 4

Day 4 of the 30 Days of Node.js challenge was about the console object and its different methods. Until now, I was only using console.log(…) to display data in the console. Today, I’ve learned that by using console.log(…), console.info(…), console.warn(…) and console.error(…) I can control how the error message will appear within the browser’s console. […]

30 Days of Node.js – Day 3

Today’s lesson was about regular expressions. I do have to admit that regular expressions are definitely one of my weaknesses. Every time I think “Yes, now I got it!” and run a test against my pattern, it fails. It’s definitely something I need to learn deeply in the future. But for now, I’m happy I […]

30 Days of Node.js – Day 2

Yesterday, I started the 30 Days of Node.js challenge. While yesterdays lesson was about servers and how to display various formats, such as strings, JSON files, HTML files, etc., today’s lesson was about the file system such as reading, writing and deleting files. Today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2002%20-%20File%20System.

macOS Mojave: Only turn menu bar and dock dark

Roughly two weeks ago Apple released their latest OS, macOS Mojave. While I run a handful of applications in dark mode already, Apple implemented dark mode rather poorly. In my opinion, some applications, such as Notes and iCal are simply too dark. Wouldn’t it be great to only have the menu bar and dock in dark […]

How to contribute to Gutenberg

Contributing to an open source project can be fun. But how to get started? The following simple steps should get you up and running and empower you to contribute to open source projects on Github.

Using YouTube API to show videos automatically on WordPress site

“A picture is worth a thousand words” Moving pictures are even better! Thus, a while ago a friend asked me to help her show the most recent three videos from her YouTube channel on her website. Of course, I could have told her to copy and paste the YouTube URL into the editor, as WordPress […]