I used to often work with DNS in one of my previous jobs. So I have always had a long running interesting in DNS. Most recently I have been looking into Rust. I wanted to see how easy it might be to use rust to access DNS records, one; because rust is said to be fast, and also because it’s a safe programming language.
[Read More]Blog posts related to Google API for GMail
Project: Self Hosted Zapier Alternative
I am currently in the process of working out how I might replace some of my Zapier services. Why would I want to do this?
- I use the free tier. (The process only runs once every 15 minutes. It used to be once every 5 mins.) Which means it has become a bit slow in sending the notifications.
- I want to learn how to use Docker
Once I get a bit further along I will hopefully publish the python code to GitHub and document some of the issues and successes as I move along. Check the Projects page section if you are interested.
Send a notification through LINE with AppDaemon with Home Assistant
The challenge
Living in Japan we generally default to using LINE for our messaging needs. At the time of this writing there is no integration for LINE within Home Assistant. Currently I use PushOver for some of my Home Assistant notifications. I also use Zapier with email to trigger notifications to my family LINE group. You can see how I did this here and here.
[Read More]Detect the OS Perl Code is Running Under
I was looking into updating a couple of my perl modules because rt.cpan.org is being sunset early in 2021. As part of this I thought it was time to stop cpan testers from testing my module under Windows since it is currently not really supported.
I was not sure how to go about doing this, so I reached out the good people in the “Perl Programmers” group on FaceBook. I got some great links and suggestions. In order to make this easy for me to find. I am documenting some of them here.
[Read More]Raspberry Pi Stretch to Buster Missing Steps
I recently went through the process of upgrading my raspberry Pis from Stretch to Buster. I had previously done this moving from Jessie.
Whilst I had no real issues with task following the guides that I found. I did discover one thing that concerned me, and was missing from the guides.
After upgrading to Buster, my /boot had less than 200kb of free storage.
I did some reading and found that Buster seems to need a lot more space in /boot than for previous releases. Buster itself now defaults to 256M of space for /boot
So I went about solving this issue.
I would suggest that you do these steps before upgrading just to avoid any possible problems.
[Read More]Presence Detection with BLE using monitor.sh & Home Assistant
I have been running Home Assistant for a while. Things are going well. But I have had some issues with presence detection using the standard device_tracker component. Though I live in a small place, being in Tokyo, Home Assistant sometimes stops detecting phones if they are in an area of the apartment a little away from the Home Assistant server. This I suspect is due to the position of the Raspberry Pi and the building material.
[Read More]Use launchd instead of crontab on your Mac
As of Mac OS 10.4 crontab has been depreciated but not ended. So its a good idea to know how to use its replacement under Mac OS. Welcome to Launchd.
This will be a short guide on how to use launchd in a simple form to replace a crontab job. In my case I am automating the backup of my Plex server. You can see my previous article here
Launchd has a lot of other features. I will not look at them here.
[Read More]Add a cookie warning notice to a Hugo powered site
The Challenge
How to add a cookie warning notice to a Hugo powered website. But also avoid using a third party service.
The Solution
Build your own. Well, find someone who built one and shared it on youtube and github.
[Read More]Back up your Plex Media Server on Mac OS
The Challenge
How to automate the backing up of my Plex Media Server
Solution
A Bash Script
I wanted to automate this process. If I didn’t, it probably wouldn’t get done.
[Read More]