OctoPress for Jekyll blogging

After testing for some days Jekyll and github.io for blog posting, I was missing some features of other CMS, so I started doing some search on how to automate many other topics while keeping simplicity on blog posting. OctoPress Makes this extra step so you can still focus on your contents and of course have a nice template as starting point with integrations for some social plugins, etc. Setup is well done if you follow the provided steps, without jumping anything, in my case, I moved my old pages (plain jekyll + poole) to OctoPress. ...

March 24, 2015 · 2 min · Pablo Iranzo Gómez

Podcasts with flexget and transmission

Some podcasts are available via RSS feeds, so you can get notified of new episodes, so the best way I’ve found so far to automate this procedure is to use the utility flexget. Flexget can download a RSS feed and get the .torrent files associated to them and store locally, which makes a perfect fit for later using Transmission’s watch folder, to automatically add them to your download queue. In order to do so, install flexget either via pip (pip install flexget) or using a package for your distribution and create a configuration file similar to this: ...

March 16, 2015 · 1 min · Pablo Iranzo Gómez

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
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.