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

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="admin@internal", 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 Associate Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.