Programming Tutorials

Create a Raspberry Pi 3 Bluetooth tag

I found this https://www.raspberrypi.org/magpi/create-a-raspberry-pi-3-bluetooth-tag/ to be a really nice starting project for my newly purchased Pi 3. However, I did run into a few problems which I will address in this Blog post. You can pretty much follow either this post, or the MagPi one, but my post will address any issues I had when following their tutorial. So to start, they requested I find the Mac address for both my phone and PC. I followed their advice for looking on my phone, but the Mac address was long and full of dashes which looking at the Python script is not what they want. Instead, I used the Pi to search for my phone on Bluetooth and find the Mac address using the following in Terminal...

ReactPHP and Symfony

I started listening to a https://phptownhall.com which talks a lot about different PHP and server technologies and on one of the later episodes, they talk about https://reactphp.org. https://reactphp.org is a great asynchronous solution for PHP and it offers non-blocking async which is fantastic and can be easily compared to NodeJS (although we won't be doing that here).

Hosting your site With Digital Ocean and Docker

I want to share with you how I am hosting my website with [Digital Ocean](https://m.do.co/c/d5aca73b366f) (hosting company) and [Docker](https://docker.com) (places your app in containers). First off, I created my droplet on DO and used the docker image from the list of "One-click Apps". The droplet was the $10 a month size as I don't currently need anything more. (If you want to try Docker for a month or two then [click here](https://m.do.co/c/d5aca73b366f)).