Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Continuous Integration With GitLab CI And Docker Using A Raspberry Pi

I know I’ve mentioned this before, but I’ve recently started to get serious about my content production and deployment approach on The Polyglot Developer. My goal is to be able to write my tutorials in Markdown, push to GitLab, and have it automatically deployed as a Docker container on my production server. Being able to automate things and take advantage of Docker will definitely improve my productivity in the long term.

So I’ve been playing around with tools on the subject, more specifically GitLab, because that is what I’m using to save a history of the blog. GitLab is a source code repository, but also a whole lot more given its ability to do continuous integration, continuous deployment, and work with Docker directly.

We’re going to take a look at installing GitLab and Docker on a Raspberry Pi, then configuring a GitLab CI Runner to take control of our continuous integration process every time we push some code. While it might sound easy, there are some certain things that aren’t so obvious in the setup and configuration.

Read More

Peer-To-Peer Storage With A Raspberry Pi And Resilio Sync

I’ve been slowly trying to cut down on my online file storage footprint by switching to software and tools that I’m in full control over. For example, I was once a very heavy user of Dropbox and similar tools when it came to transferring files around between my computers, but that could leave my files exposed in the cloud, not to mention it was slow due to the time it took to communicate with the remote server.

This is where Resilio Sync comes into play. Once called, BitTorrent Sync, this software allows you to transfer files between devices on your network, without a middleman, in a peer-to-peer (P2P) fashion, like you would find with the popular BitTorrent protocol. The more devices, the faster the synchronization.

We’re going to see how to install and configure Resilio Sync on a Raspberry Pi to act as a synchronization node on your network for file storage and fast transfers.

Read More

Emulate Classic Video Games On A Raspberry Pi Zero With RetroPie

Are you into video games, because I certainly am. Did you grow up playing the classics on your Nintendo Entertainment System (NES) and Nintendo 64? I did, and I still can’t get enough of them. If you’re like me and love video games and want to go back to simpler times, you can actually build your own entertainment station that contains a mashup of all the best consoles.

We’re going to see how to use an incredibly affordable Raspberry Pi Zero W to create an entertainment system the size of a pack of gum that can emulate all the classics using a custom flavor of Linux called RetroPie.

Read More

Crack Wireless Passwords Using A Raspberry Pi And Aircrack

Another day and another project with one of the many Raspberry Pi devices that are laying around my house. One of my younger family members came over to try to get inspired for his college future so we decided to work on a project together. We wanted to explore some cybersecurity topics rather than programming which led us to network security.

We decided to try to obtain the password to my wireless network password using the popular Aircrack-ng software. While it didn’t find my password in the end, it doesn’t mean we weren’t successful.

In this tutorial, we’re going to see how to setup Aircrack-ng on a Raspberry Pi to decipher WiFi passwords for WEP and WPA secured networks.

Read More

Create A Bitcoin Hardware Wallet With Golang And A Raspberry Pi Zero

Over the past month or so, in my free time, I’ve been working towards creating an affordable hardware wallet for various cryptocurrencies such as Bitcoin. Right now many cryptocurrency enthusiasts are using the Ledger Nano S hardware wallet, but those are very expensive and rarely in supply.

I own several Raspberry Pi Zero and thought it would be a perfect opportunity to take what I know about Raspberry Pi and Golang to create a wallet for a fraction of the price as the industry leading wallets.

We’re going to see how to create a hardware wallet, which I’m calling the Open Ledger Micro, using Golang and a Raspberry Pi Zero.

Read More

Use Node.js And A Raspberry Pi Zero W To Scan For BLE iBeacon Devices

Earlier this month I had written a tutorial for detecting nearby BLE iBeacon devices using a Raspberry Pi Zero W and an application written with Golang. It was a great example of accomplishing something with Go and very little code.

Scanning for BLE devices is a great use case for Internet of Things (IoT) devices like the Raspberry Pi Zero W, and Golang isn’t the only great language around. I, like many others, do a lot of Node.js development as well.

We’re going to see how to scan for BLE iBeacon devices using Node.js and the popular Node.js BLE (Noble) library.

Read More

Install Node.js On A Raspberry Pi Zero W Without NodeSource

A few weeks ago I thought I’d try to install Node.js on my Raspberry Pi Zero W to use it as a simple API server that I could take with me on the road. I have installed Node.js so many times before, including on a standard Raspberry Pi, that I figured it would be just as easy to do on the Pi Zero.

I was mistaken in regards to the difficulty.

On the Raspberry Pi Zero W, Node.js was nowhere to be found in apt-get and the scripts that used NodeSource in the official install documentation didn’t work because ARMv6l is no longer supported by NodeSource.

We’re going to see how to install Node.js on a Raspberry Pi Zero W when everything else fails.

Read More