API access for Google Calendar and Google Sheet access

Introduction During last days I’ve been playing around with python and API access to Google Sheets. Since some time ago, I already experimented with ICS parsing from python because added https://t.me/redken_bot access to calendar files (.ics) so that it can provide daily reminders on chats about the events happening for the specific date, and had the chance to propose it’s usage to cover a specific use case: Accessing a spreadsheet in Google Sheets and parse its contents and output an ICS file so that the events listed and the dates specific for each one are available in an easier-to-consume approach. ...

November 28, 2019 · 6 min · Pablo Iranzo Gómez

Python and iCalendar ICS processing

Introduction iCalendar (.ics or webcal) is a standard for providing ‘calendar’ information over text file, it allows to define events, etc and it’s ideal to ‘subscribe’ over the internet to remote calendars, which is commonly used to show free/busy slots for scheduling meetings, etc. If you’re familiar with Google Calendar or others, it uses ‘ics’ under the hood, and you can get full url for it so that it can be shared. ...

September 17, 2019 · 5 min · Pablo Iranzo Gómez

Use custom domain name with Blog-O-Matic

As a recipe, if you want to enable a custom domain name on blog-o-matic a special file needs to be created on the ‘GitHub Pages’ served ‘master’ branch. In order to do so, edit pelicanconf.py and add the following differences: diff --git a/pelicanconf.py b/pelicanconf.py index 680abcb..fc3dd8f 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -46,13 +46,16 @@ AMAZON_ONELINK = "b63a2115-85f7-43a9-b169-5f4c8c275655" # Extra files customization -EXTRA_PATH_METADATA = {} +EXTRA_PATH_METADATA = { + 'extra/CNAME': {'path': 'CNAME'}, +} + EXTRA_TEMPLATES_PATHS = [ "plugins/revealmd/templates", # eg: "plugins/revealmd/templates" ] -STATIC_PATHS = [ 'images' ] +STATIC_PATHS = [ 'images' , 'extra'] ## ONLY TOUCH IF YOU KNOW WHAT YOU'RE DOING! This will copy the CNAME file created in content/extra/CNAME to the resulting ‘master’ branch as /CNAME. ...

May 16, 2019 · 1 min · Pablo Iranzo Gómez

@redken_bot

Redken Manual This document contains some information about regular Redken https://t.me/redken_bot usage and some advanced settings. Introduction By default, new groups where the bot is added are just ready to start being used. General usage and features: word++ to add karma word-- to remove karma reply to message with ‘++’, ‘–’ or ‘==’ to add or remove karma to the user of the replied message or to the same words that were used /quote add username text to add a quote for a given username with the following text as the message /quote username to retrieve a random quote for that username. @all to ping all usernames for users in a channel @all++ to give karma to all usernames in a channel stock <ticker> to get the trading quote for ticker in stock market /hilight <add|delete|list> <word> Adds/deletes word or lists words that will cause a forward to notify you /feed <add|delete|list> name url Adds/deletes/lists a new feed form URL on channel /remind <add|delete|list> name interval text Adds/deletes/lists a new reminder for interval in channel, interval can be specified as ‘1y2m3w5d’ /ical <add|delete|list> name url Adds/deletes/lists a new ical url to print events happening during the day /cn <word> To get a random Chuck Norris fact related with the provided word (or random) /excuse To get a random excuse Also, while nothing is set against, you could use /gconfig to configure several aspects of it like: ...

March 4, 2019 · 8 min · Pablo Iranzo Gómez

Telegram Redken bot documentation

The new document is at Redken Documentation.

March 4, 2019 · 1 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Associate Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.