Enabling updates-testing and epel-testing repositories when using Copr

Posted on Sun 26 November 2017 in Fedora • Tagged with copr, fedora, epelLeave a comment

When creating a Copr project, one can specify which chroots, i.e. which distribution version and architecture combinations, to enable. Examples of chroots are fedora-27-x86_64, epel-7-ppc64le, fedora-rawhide-i386 etc.

However, there is no easy to use option to enable testing repositories, e.g. the updates-testing repository for Fedora Branched and stable releases, when specifying the chroots. Let me show you how you can easily achieve that by specifying an extra repository with a parameterized URL.

Continue reading

Running Fedora 26 on Dell XPS 15 9560

Posted on Mon 04 September 2017 in Hardware • Tagged with fedora, dell, hardware, laptopLeave a comment

Recently, I got a new laptop, a Dell XPS 15 9560 with 4k display, 32 GiBs of RAM and 1 TiB M.2 SSD drive. Quite nice specs, aren't they 😉?

Unfortunately, I wasn't able to purchase it without Windows pre-installed. But they didn't last long since I wiped the hard drive and installed Fedora 26 on it.

Let me briefly describe my experience and guide you through some trickier parts of the setup.

Continue reading

Fedora EuroPython 2017 Attendee badge

Posted on Sun 27 August 2017 in Fedora • Tagged with fedora, python, badgeLeave a comment

A little late, but no less cool, Fedora EuroPython 2017 Attendee badge is available 🎉!

Fedora EuroPython 2017 Attendee badge

Continue reading

Backing up Android's /data/media (i.e. internal storage) using adb and TWRP

Posted on Sun 30 July 2017 in Android • Tagged with android, backup, twrp, adb, benchmarkLeave a comment

Recently I had to clone my Nexus 4 to another Nexus 4 device since my Nexus 4's front glass broke :-(.

At first, the task seemed quite straight-forward. Install the latest version of TWRP's recovery on the phone, backup all partitions using TWRP, transfer them to the other device and restore them.

But thing are never as easy as them seem, are they?

Continue reading

Don't mix yum/dnf and pip for installation of system-wide Python packages

Posted on Fri 13 January 2017 in Python • Tagged with yum, dnf, pip, python, packaging, virtualenv, fedora, centos, rhelLeave a comment

Too many times I've seen people using a mix of yum/ dnf and pip for installation of system-wide Python packages This causes all sorts of problems .

TL; DR Install system-wide Python packages with yum/dnf and only use pip inside a virtual environment. For an example, see my Ansible snippet below .

Continue reading

Publishing a Pelican site to GitHub Pages using Fabric

Posted on Wed 19 October 2016 in Site • Tagged with pelican, python, fabric, github, siteLeave a comment

In the previous blog post we looked at setting up a Pelican site with Python 3 and Fabric on Fedora 24.

Now that we have a Pelican site up and running, I will show you how to publish it on GitHub Pages using a sleek Fabric task.

Continue reading

Setting up a Pelican site with Python 3 and Fabric on Fedora 24

Posted on Sat 08 October 2016 in Site • Tagged with pelican, fedora, python, fabric, siteLeave a comment

According to StaticGen, Pelican is the most popular static site generator written in Python. As of Oct 10, 2016 it has 6168 stars on GitHub.

In this blog post, I'll show you how to create your own Pelican site, track it in a git repository, use Fabric to administer it, change site's default theme and finally, create a Hello World blog post.

Continue reading

Hello, World!

Posted on Thu 06 October 2016 in SiteLeave a comment

I finally made a personal web site with Pelican and Alexandre Vicenzi's great Flex theme :)!

Stay tuned for a follow-up blog post, where I'll describe how to setup a Pelican site like this.

Continue reading