This will be a series of toutorials documenting connection and communication with an ESP8266 through the Azure IoT Hub. This first toutorial will cover how to set up an MQTT connection between your ESP8266 and Azure. Hardware For this demo, I use the Velleman NODEMCU V2 LUA BASED ESP8266. I can't confirm that all the …
Continue reading "Connecting an ESP8266 to the Azure IoT Hub"
Today I thought we could talk a little bit about Columnar Transposition Ciphers (hereby called CTC for short), let's start with discussing what a CTC is. A CTC is a simple encryption method using a shared key between the participants, where the characters in a clear text message gets shifted around in a specific predetermined …
Continue reading "Columnar Transposition Cipher"
If you want to setup a containerized WordPress and MySQL environment, one solution is to use docker compose. Below I'll first show you the complete docker-compose.yml file and later we'll go through it line by line.
Every once in a while you need to do some edge testing when writing code that handles files. One way to fix this is to use dummy files at specific sizes. The following code is an example on how to write a Dummy File Generator in PHP.
This piece of code is a simple way of encrypting and decrypting text using a bit wise XOR operation. First a simple reminder about how XOR operators work.