Category Archives: Code

Telegram Bot API

The Telegram Bot API can be found here! The web hooks look interesting for two way communication between bot and user(s), and looks simple enough to implement so possibly a future activity.  

Posted in Code | Tagged | Leave a comment

Bot Notifications using Telegram

This PHP setup is based off of the excellent Python article provided by Man Hay Hong. To get started you need to download/install Telegram and set yourself up as a user. Once it is installed you need to setup a … Continue reading

Posted in Code, Uncategorized | Tagged , , | Leave a comment

Installing Gitea (my own GitHub)

To install Gitea on a Synology under Docker you can pretty much follow the instructions found here I used the custome setup with some minor changes to the USER-UID & USER-GID for the account I want to run under on … Continue reading

Posted in Code, Docker | Tagged , , , | Leave a comment

SVN Quick Reference

View Repository     svn ls svn://{server}/projects Import New Folders in to Repository    svn import {folder} svn://{server}/projects/{folder} -m “{comment}” Checkout Folder/Files from Repository   svn co svn://{server}/projects/{folder} View Status of Files in Folder   svn status Checkin Changed Files … Continue reading

Posted in Code | Tagged , | Leave a comment

Docker Quick Reference

View/Change Container Status     docker ps                 {list running containers}     docker ps -a              {list all containers even exited ones}     docker container pause … Continue reading

Posted in Code, Docker | Leave a comment

Excel: Expand multi-line rows

How to end up with one row per entry in a spreadsheet when some cells contain multiple entries. This example will expand the data below in to multiple rows using a VB. Noting here for my reference. The following code … Continue reading

Posted in Code, Microsoft, Software | Leave a comment

Creating an Alexa Skill to work with your Synology

I found this excellent article on creating a basic Alexa skill. Follow this tutorial to get a basic skill and use the php code below instead of the shell script in the tutorial as the Synology does not like non-PHP … Continue reading

Posted in Code, Home Automation | Leave a comment

Broadlink RM IR control via Python

Christmas I received the Broadlink RM device for controlling IR devices with the intention of using it with Amazon Alexa. It turns out that the service is not available in the UK so the only way to control the device … Continue reading

Posted in Code, Home Automation | Leave a comment

Synology Certificates and Alexa Skills

If you want to host Alexa skills on your Synology you will need to use Let’s Encrypt certificates as the default one will not authenticate for the skill. To check if your certificate is okay use SSLChecker to validate the certificate from … Continue reading

Posted in Code, Home Automation | Leave a comment

Installing Screen on Synology

Home page for screen To install on synology you need to have ipkg installed. Mine is located in /opt/bin. sudo /opt/bin/ipkg install screen If you just run /opt/bin/screen you will get a terminal error as you may not have a … Continue reading

Posted in Code, Software | Leave a comment