Archive > Category: misc ¦ Atom

Como aplanar una imagen qcow2

Hoy tuvimos un problemón con una imagen virtual. A final de cuentas, logramos obtener la imagen qcow2, la cual tenía varios snapshots.

Tomamos la más actual y la transferimos a otro servidor para importarla. A la hora de importarla, nos dió un error de verificación.

Al observar detenidamente usando: qemu-img …


Comparación de strings en Bash

Hoy se me ocurrió que estaría chido mostrar como se hace una comparación de strings en Bash pero de forma práctica; dado que, en Bash, tendemos a ser muy estructurados y, a veces, poco eficientes.

Supongamos que quieres ver si una variable es alguna de 5 opociones. Quieres comparar el …


Reboot

Yeah, so my blog is back!

I've finally found a way to publish the content I want to publish; in a friendly way.

Pelican is the software I use to generate my website now. This is much safer and nicer for all of the involved; including my server.

I can …


My new blog

This is just a test.


OpenStack: What is the optimal number of objects per container

Well, I just had this question and went over to #openstack @ Freenode. There, notmyname (apparently, a moderator or @ps of some kind) answered:

12:20 < notmyname> Renich: I saw you asking questions about swift earlier
12:20 < notmyname> Renich: about object count per container
12:27 < notmyname> Renich: in case …

Howto: install Air XR18's edit software on Gentoo

Well, I've made the best buy a GNU & Linux user can make when it comes to pro-audio. I got an Air XR18. This product is one of the best of it's kind. The preamps, FX and software are awesome.

Yes, it works fine on GNU & Linux and Android. Here's how …


Crashing your kernel on purpose

Ok, that sounds funny, doesn't it? Well, it turns out, sometimes, you want to test your kernel dump or something of the sorts. Here's how to do it:

echo c > /proc/sysrq-trigger

This will, instanly, crash your kernel.

References:


HowTo: Ask questions in Bash?

I've been writing some script to configure some firewall and came up with this way of asking a question in Bash. I hope it helps as an example. Feel free to contribute your own:

#!/usr/bin/env bash

ask() {
    local query=$1

    if ( echo $query | grep -qi password ); then
        read …

HowTo: Fixing Dovecot 2.2 in CentOS 7.2

Advertencia

If you update dovecot on CentOS 7, it will brake! You need to update one of the config files in order for it to keep working.

# /etc/dovecot/conf.d/15-mailboxes.conf
...

namespace inbox {
    ...
    inbox = yes
    ...
}
...

So, basically, you need to add inbox = yes within the inbox namespace.


Far away: A Creative Commons success story

Once upon a time, I made a song for a good friend (Juan Carlos Cano); since he got a good contract from a big label and he was to record an album.

https://www.jamendo.com/track/1298683/far-away

The song was made and I uploaded it to my website …