Creating AltBeacon with Raspberry Pi using BlueZ Example Code (updated)
This post shows steps to create an AltBeacon [1] with Raspberry Pi, by modifying BlueZ BLE Advertisement example code (i.e. “example-advertisement“). *If you want to create Apple’s iBeacon [2], please...
View ArticleShowing Video Image on Tkinter Window with OpenCV
This is an example of minimal tkinter application that shows video image on the window using OpenCV. Prerequisites Python 3 Required Packages Install packages if not already. 1. Python Imaging...
View ArticleGenerating UML Class Diagram from C++ Header File using PlantUML
This post shows a way to generate a UML class diagram from C++ header file(s) using PlantUML [1] and hpp2plantuml [2]. Assumptions Debian-based linux distribution (I used Ubuntu 20.04) Steps 1....
View ArticleALSA PCM State Machine
Note to self 1. PCM state (snd_pcm_state_t) [1] SND_PCM_STATE_OPEN SND_PCM_STATE_SETUP SND_PCM_STATE_PREPARED SND_PCM_STATE_RUNNING SND_PCM_STATE_XRUN SND_PCM_STATE_DRAINING SND_PCM_STATE_PAUSED...
View ArticleVI Cheat Sheet
This isn’t an extensive list. I’m not a heavy vi user, so I often forget basic commands I want to use. So, this is a list of those commands. Split screen vertically CTRL + w and v horizontally CTRL...
View ArticleSetting Up Static IP Address on Linux
This page explains how to set up a static IP address on a Linux with NetworkManager. Steps 1. Static IP address(es) can be set up in *.nmconnection file under /etc/NetworkManager/system-connections...
View Article