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

Telegram Redken bot documentation

The new document is at Redken Documentation.

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

Telegram Redken bot and amazon/discounts/bargains unification

Introduction During last years of increased Telegram adoption among contacts, the low learning curve to write bots for it as well as the capacity of bigger group chats and ‘channels’ for one-way publishing of information has helped the proliferation of ‘bargain’ groups. In those groups, there are ‘discounts’, ‘sales’, about any range of products you can imagine (clothing, shoes, toys, mobiles, tv’s, beauty, etc). From those groups I was able to get good deals, even sometimes, some elements were ‘for free’ via usage of coupon codes, etc....

February 7, 2019 · 4 min · Pablo Iranzo Gómez

Migrate SPIP-RSS post feed to HTML

I had my old blog based on SPIP, and I wanted to keep all the posts together, to make it easier to migrate in the future. Initially, I migrated my posts from blogger, where there’s an option to export the contents and some plugins to allow easier importing to markdown files (to be used by OctoPress), those were the recent posts, so part of the job was already done there....

April 1, 2015 · 2 min · Pablo Iranzo Gómez

RHEV/oVirt API with Python

RHEV/oVirt API allows faster and simple development of scripts and utilities ranging from gathering of information to VM/host, etc manipulation. For example, a simple script for connecting to API and list VM’s could be: import sys import getopt import optparse import os import time from ovirtsdk.api import API from ovirtsdk.xml import params from random import choice baseurl = "https://localhost:8443" api = API(url=baseurl, username="[email protected]", password="redhat", insecure=True) for vm in api.vms.list(): print(vm.name) The ....

October 24, 2012 · 2 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.