Professional Development · Technology

Running A Web Dev Project Built for Mac on Windows

This post covers how to run a web development project (application) that was build for Mac OS on Windows. I will be using Windows Subsystem for Linux (WSL), which is a new feature added in Windows 10 that allows you to run Linux operating systems in a terminal from your Windows desktop. Step 1: Install… Continue reading Running A Web Dev Project Built for Mac on Windows

Professional Development · Technology

Getting Your Head Around JavaScript Closures

One concept that is considered “advanced” in JavaScript is closures. MDN defines closures as: A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function’s scope from an inner function. In JavaScript, closures are created every time… Continue reading Getting Your Head Around JavaScript Closures

Professional Development · Technology

MERN Authorization with Passport.js

Any web application of significant complexity is going to require user-level security. In this post, I walk through how to create authorization for users in a MERN (MongoDB, Express, React, and Node) stack web application. Full code is available here: https://github.com/dikuw/mern-passport This post assumes knowledge of React and node.js and just shows how to incorporate… Continue reading MERN Authorization with Passport.js

Technology

Controlling Raspberry Pi IO over Bluetooth

Continuing from the previous post Setting Up Raspberry Pi as a Bluetooth Low Energy Peripheral, today I’m going to talk about controlling the Raspberry Pi’s general purpose inputs/outputs (GPIO) once a Bluetooth connection has been established. You may want to revisit the previous post and make sure your RPi is broadcasting before continuing here. From the… Continue reading Controlling Raspberry Pi IO over Bluetooth

Professional Development · Technology

Controlling a 12V Solenoid with a Raspberry Pi

It seems like my side projects are getting more and more challenging, and this was one of the most challenging yet. It seemed simple enough: drive a solenoid with the GPIO of the Raspberry Pi – something that could be useful in a myriad of internet-of-things applications – and a natural progression from previous projects:… Continue reading Controlling a 12V Solenoid with a Raspberry Pi