Rénich's Blog

howtos

HowTo: Generate free SSL certificates for Nginx/Tengine with LetsEncrypt

11 de diciembre de 2015

OK, it's fairly easy to get this done on a distro like Funtoo/Gentoo or Fedora, which are the distros I use.

First of all, you need to install this thing on your server:

# Fedora
su -
dnf -y install letsencrypt

# Funtoo/Gentoo
su -
mkdir src && cd src
git clone https …

HowTo: Compilando crystal en Fedora 22

18 de septiembre de 2015

Me ha interesado mucho el lenguaje de programación crystal: http://crystal-lang.org/.

Este lenguaje tiene la sintaxis muy parecida a Ruby; si no es que igual. Parece que hasta el Matzu; creador de Ruby, es fan del proyecto.

En todo caso, para compilarlo en Fedora, hice un script. El script …

I'd like my kernel vanilla, please

07 de febrero de 2015

Yep, vanilla is the flavor of the kernel for me. I like using vanilla in #funtoo. It is nice and it is simple. No patches. No security watch-cha-ma-call-it or anything like that. Just me and that good 'ol penguin; which deals with my hardware, networking and you-name-it systems.

I like …

HowTo: How to use your jack audio card with pulseaudio in Fedora 20

01 de octubre de 2014

I, honestly, don't know what's happening here. I dunno if you're delegating pulseaudio to jack or viseversa. Anyway, I use this method to enable my http://us.focusrite.com/usb-audio-interfaces/scarlett-18i20 in Fedora 20. I hope it helps out:

Procedure

#!/usr/bin/env bash
pulseaudio -k
pulseaudio -k
pulseaudio -k …

HowTo: Change your css according to client's time

11 de septiembre de 2014

I am no fan of javascript. In fact, I despise it. But, recently, it occured to me that it would be cool to change the CSS theme according to the client's time.

Here's how:

function change_css_according_to_time() {
    var d = new Date();
    var h = d.getHours();

    if ( h >= 7 && h <= 19 ) {
        console …