Jekyll and Markdown

For my work I’ve been using markdown for a while, it allows to use some formatting on the documents created (mainly for knowledge base and solutions) without too much hassle for the formatting. On the other side I was willing to improve the ability to make it easier to post new entries to blog without having to wait too much time, and of course, be able to prepare them offline and then push them live. ...

March 16, 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 .list() method works pretty well, but beware, it limits collections to 100 elements for performance reasons, so in those cases, we’ll need to check how many results do we have, and paginate by passing an extra argument to our “.list()” invocation, for example: ...

October 24, 2012 · 2 min · Pablo Iranzo Gómez

Paella Howto

This document is based on the original recipe and pictures that I gave to my colleague Miguel Pérez Colino which he assembled in an internal company document and that he kindly translated for increased reach. Ingredients A bag of vegetables for paella (garrofón, Valencian white bean; ferraura y bajoqueta, Valencian green beans with pod) Rice bomba 🛒#ad (7 handfuls) Chicken and Rabbit (700 and 400 grams) Grated tomato (The equivalent to 5 spoons) Sweet Red Paprika Powder (Pimentón Rojo 🛒#ad) Spanish Saffron 🛒#ad (300mg in threads) or E102 dye (small spoon just to the border) Olive oil 🛒#ad to stir-fry (not much, so it doesn’t get oily) Rosemary 🛒#ad Salt Water (from Valencia) Preparation A garlic clove, to be grated, must be peeled and put together with tomato. They must be kept together until they are stir-fried. ...

July 8, 2012 · 3 min · Pablo Iranzo Gómez

duplicity for managing backups

A few days ago, I was checking a friend’s system for backing up. It was based on rsync at the Linux side and rsync server on a windows machine he uses for storing information generated by other software. The solution with rsync worked pretty well for him until he started to put several strange characters in filenames which rendered the backup unusable to certain point. After being asked for alternative backup software that was available on several platforms, I’ve ended testing duplicity. ...

June 27, 2011 · 1 min · Pablo Iranzo Gómez

Firsts steps with Fedora 15 pre-alpha

Today I’ve decided to give it a try to F15-prealpha (expected to release tomorrow). The upgrade performed in the unsupported way (getting and forcing install for newer fedora-release from a mirror then start issuing several yum upgrades) when reasonably good. Only some minor dependency problems et voilà, system started fine. Problems so far: Firefox 4 has a few approved extensions, I used the “nightly tester tools” to disable version check and enable most of the ones I had with 3.6.x without problems. Don’t like gnome-shell at the moment Desktop icons disappeared… Menu bar is black and found no way to configure it yet Gnome-applets have some dependency problems and can’t install or configure them, furthermore I lost my tray area on one of the computers but works fine on the other. I hope that tomorrow’s release of Alpha will fix some of them in order to warm-up for final launch (http://fedoraproject.org/wiki/Releases/15/Schedule)… ...

March 7, 2011 · 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.