hello.js

var please = require('share');
console.log('thank you');

NEW !!!

Tuesday, 4 June, 2019 UTC

Web Scraping with Google Sheets: The Definitive Guide

In this tutorial, we learn how to scrape data from web pages and display the results in Google Sheets. We start with the standard built-in Sheets functions and move on to more advanced methods using custom JavaScript functions. What is web scraping, ... more


Tuesday, 29 January, 2019 UTC

How to Host a Raspberry Pi Web Server on the Internet with ngrok

In Create a Web Server in Node without any Code, we used the http-server npm module to create a web server and serve up files in record time. Today I will share a way you can take the web server you built and make it available beyond your local network ... more


Wednesday, 12 December, 2018 UTC

How to install Redis on a Raspberry Pi using Docker

I'm a big fan of Redis, a fast in-memory database that persists on disk, and I've previously written a Guide to Using Redis with Node.js which provides a fairly comprehensive overview of using Redis from the command line and using it in conjunction with ... more


Tuesday, 22 May, 2018 UTC

How to Watch for Files Changes in Node.js

In a previous article on counting unique items in a JavaScript array, I introduced you to the system I am creating that enables our family to log when the fish šŸŸ in our aquarium have been fed. The feeding times are logged to a file by pressing a push-button ... more


Wednesday, 18 April, 2018 UTC

How to Count Unique Items in JavaScript Arrays

The fish šŸŸ in our home aquarium arenā€™t very communicative. I donā€™t necessarily need them to communicate their deepest emotions, but it would be helpful if they would at least tell me when they are hungry. Believe it or not, they donā€™t. Alas, when I ... more


Tuesday, 3 April, 2018 UTC

Learn Handlebars with Node.js and Help Freddy’s Fish Too

Our friend Freddy Fishman needs our help. He recently launched an aquaponics business to raise fish šŸŸ and cultivate underwater plants, and he needs a real-time report to ensure the environmental conditions of his fish tanks are optimized so both his ... more


Tuesday, 20 March, 2018 UTC

Install and Upgrade Node.js on Windows the Easy Way

Itā€™s easy to install and upgrade Node.js on the Raspberry Pi as explained in my guides on installing Node.js and upgrading Node.js on a Raspberry Pi. In fact, itā€™s easy on any Linux-based system. For Windows systems, however, the default installation ... more


Tuesday, 6 March, 2018 UTC

Using TOML Config Files in Your Node.js Applications

In this article, weā€™ll learn how to use TOML, a rising star ā­in the configuration file world, with Node.js. After reading this article, you will understand the TOML syntax including how to use it to model JavaScript objects in your Node applications. ... more


Tuesday, 20 February, 2018 UTC

Create a Lightweight Raspberry Pi System with Raspbian Lite

In this tutorial, weā€™re going to build a highly optimized Raspberry Pi system that runs very lean on resources with the help of Raspbian Lite. Whereas a baseline Raspbian system consumes around 158 MB of RAM, Raspbian Lite runs at a mere 34 MB. To achieve ... more


Tuesday, 13 February, 2018 UTC

How to Copy Visual Studio Code with Syntax Highlighting to Other Applications

In this article, we learn how to copy from Visual Studio Code with color syntax highlighting to various other applications including Word, PowerPoint, Outlook, OneNote, and Gmail to achieve beautiful, clear code samples for documentation, presentations, ... more


Thursday, 25 January, 2018 UTC

Using INI Files in Your Node.js Applications for Health and Profit

... more


Wednesday, 10 January, 2018 UTC

Guide to Using Redis with Node.js Released

I just completed a pretty extensive Guide to Using Redis with Node.js. In this guide, we explore using Redis, a fast in-memory database that persists on disk, in conjunction with Node.js. We work through real examples to help equip you to: Install Redis ... more


Tuesday, 14 March, 2017 UTC

Visual Studio Launch Video with My Son and Me

My son Benjamin (junior in high school) and I received a unique opportunity. We traveled to Microsoftā€™s headquarters in Redmond to conduct an interview in honor of the launch of Visual Studio 2017, and the 20th anniversary of Visual Studio. One of the ... more


Tuesday, 7 February, 2017 UTC

Do I Need an Umbrella Today? Google Sheets and JavaScript to the Rescue!

OK, Google Sheets! Send me an email if I need an umbrella today. Send an email using Google Sheets? Yes, thatā€™s right! Sheets can do a lot more than add numbers and calculate your mortgage payments. In our last article, we learned how to consume JSON ... more


Tuesday, 24 January, 2017 UTC

Consuming JSON Web Data Using Google Sheets

Iā€™ve said it before, and Iā€™ll say it again. JSON has become the lingua franca for exchanging data on the web, and we (as developers) need to know how to process JSON data received from RESTful web services so we can be positioned for the present and for ... more


Tuesday, 10 January, 2017 UTC

Consuming Web API JSON Data Using curl and jq

Hey everyone! I decided to put a few extra batteries in the background color of the article image above. šŸ™‚ Iā€™m actually pretty charged up about our topic today, particularly about jq, which is a lightweight and flexible command-line JSON processor with ... more


Wednesday, 14 December, 2016 UTC

Creating a Raspberry Pi Pandora Player with Remote Web Control

In our last article, we learned how to control a Raspberry Pi from a mobile device and, as a bonus, we created a menu to make it even easier to issue commands and control our Pi. Weā€™re back today to put that remote menu to good use because weā€™re building ... more


Tuesday, 6 December, 2016 UTC

Controlling a Raspberry Pi from a Mobile Device with Bonus Menu Too

In my Beginnerā€™s Guide to Installing Node.js on a Raspberry Pi, I equipped you with the knowledge needed to build an awesome Raspberry Pi system that could also run in a headless mode. Weā€™re able to avoid a dedicated monitor, keyboard, and mouse, and ... more


Tuesday, 29 November, 2016 UTC

Consuming Node.js Microservices Created with Stdlib

In our last article, we learned how to create Node.js microservices using Polybitā€™s stdlib platform. We created a fabulous (IMHO šŸ™‚ ) GPS service that enabled us to retrieve the name of a city based on its GPS coordinates. Today, weā€™re going to learn ... more


Tuesday, 22 November, 2016 UTC

Node.js: Playing Sounds to Provide Notifications

In a previous tutorial, we learned how to send email notifications Using Nodemailer and Gmail. In todayā€™s session, we will learn how to play sounds using Node.js. As a bonus, we will learn how to continue to play a sound until our notification has been ... more


Tuesday, 15 November, 2016 UTC

Creating Node.js Microservices with Ease Using Stdlib

Microservices and serverless architectures are all the rage in the software industry. After working with Polybitā€™s amazing stdlib platform, I am clearly seeing the value of this promising technology! Today, I will introduce you to stdlib. I encourage ... more


Friday, 28 October, 2016 UTC

Upgrading to more recent versions of Node.js on the Raspberry Pi

Iā€™ve received questions from readers of my Beginnerā€™s Guide to Installing Node.js on a Raspberry Pi wanting to know how to upgrade to more recent versions of Node.js on the Raspberry Pi. The steps are quite easy and can be adapted to other Debian variants ... more


Thursday, 27 October, 2016 UTC

Beginner’s Guide to Installing Node.js on a Raspberry Pi

This article has been updated to cover the installation of the latest version of Node at the time of this writing which is Node 7.x. In this installment of our LTM (Learning through Making) series of Node.js tutorials, weā€™re going to get Node up and running ... more


Wednesday, 26 October, 2016 UTC

How to Install or Upgrade to Node.js v7 on the Raspberry Pi

Itā€™s here! The Node.js Foundation has released version 7 of Node.js, an open-source, cross platform JavaScript runtime environment. Node.js provides an event-driven architecture capable of asynchronous I/O and allows us to build a gamut of software from ... more


Tuesday, 11 October, 2016 UTC

Node.js: Sending Email Notifications Using Nodemailer and Gmail

We all want to be in the loop and notified when certain events occur within our Node.js programs. For example, email notifications can be very important for creating situational awareness with IoT systems we develop that interact with our physical world. ... more


Tuesday, 20 September, 2016 UTC

Connecting a Raspberry Pi Using an Ethernet Crossover Cable and Internet Connection Sharing

Iā€™m preparing for an upcoming speaking engagement around the topic of using Node.js and the Raspberry Pi for IoT applications. While at home, I enjoy the luxury of being the owner of my network which provides complete freedom in network configuration. ... more


Tuesday, 13 September, 2016 UTC

Getting Started with YAML in Node.js using js-yaml

In this tutorial, we harness the power of YAML for use within Node.js. As described on the official YAML site, YAML (YAML Ainā€™t Markup Language) is a ā€œhuman friendly data serialization standard for all programming languagesā€. YAML and JSON are closely ... more


Tuesday, 6 September, 2016 UTC

Node.js IoT: Logging Data That Is Out of This World

The ability to log data is an important capability in IoT applications. In this tutorial, we learn how to use Node.js to log data by utilizing built-in Node modules. There are certainly excellent logging modules available including pino and Winston (see ... more


Tuesday, 30 August, 2016 UTC

Making Interactive Node.js Console Apps That Listen for Keypress Events

In preparing for an upcoming Node.js IoT tutorial focused on creating notifications based on sensor values (for example, audible alerts), I wave of brilliance came over me. šŸ™‚ Wouldnā€™t it be awesome if these notifications could be interactively acknowledged ... more


Tuesday, 16 August, 2016 UTC

Node.js IoT: Tracking the ISS through the Sky

Weā€™re back today to embark on another cool Node.js IoT project. This time, weā€™re going to interact with the International Space Station (ISS) and track it as it flies through the sky. Weā€™ll eventually work with physical sensors that sit right on our desk, ... more