К основному контенту

Сообщения

Сообщения за июль, 2020

Telegram bot with Google Apps Script

I decided to clone one of my previous post in Russian. I noticed that people from different countries visit that post from Github repository with the code. So, I guess some of them were dissapointed by that fact they were not able to read the details. Here I'll just translate the post in English. No any new details. In this post I'll provide some useful details of how to host  your Telegram bot with help of Google Apps Script. There are tons of similar posts (good and bad) in Internet. That's why I'm not going to describe every step. Then someone may raise a question: "Why then write a post?" So, the answer is even you find the best article and copy code from there likely it will not work :) Only many of good articles plus Telegram API documentation plus (obviously) StackOverflow will ensure the results. I'll try to summarize some pitfalls here. Hope it will save your time. NB! developers always change the API, so have in mind that this post wa

Utility to parse COM port messages

COM port parser.  Those who deal with hardware often need to read messages from devices connected to your PC over COM ports. This Windows desktop utility helps to read, log and visualize messages from a COM port. Here below I'll provide the details of how to use the utility. COM port settings This part of UI allows to choose the appropriate settings. First of all select from the list the corresponding COM port your hardware device connected to. Then select appropriate baudrate, number of bits, options for parity and stop bits. Once ready click  Open . The default settings are 9600,8,N,1. Data log settings Once the port is correctly opened the utility can log arriving messages to a .txt file. The default name for the log file is generated automatically as  hhmmss_ddmmyyyy_comport_log.txt . You may change the name and directory. Click  Start  to start writing the messages and  Stop  to finish it. You may also add a timestamp to every ariving message by checkin