Rénich's Blog

fedora

Benchmarks: PHP, Perl, Python, Python3 and Ruby

05 de junio de 2012

Hello, guys,

It's been a while since I wrote anything in english. I want to share this simple benchmark with you. It is a simple one: print a message; followed by a number; one million times.

This is the perfect benchmark since it benchmarks the language itself. It does everything …

HowTo: Use zram on Fedora 16

12 de febrero de 2012

Ok, this one is badly documented. Even the kernel docs are outdated.

Here's how to start using zram on Fedora 16:

# get rpmfusion: http://rpmfusion.org/Configuration
...

# install the staging kmod
su -c 'yum install kmod-staging'

# get zram running (aha!)
su -c 'modprobe zram zram_num_devices=4'

# define the block's …

HowTo: Appfirst with SELinux enabled

11 de febrero de 2012

Ok, first off, I hate people that say "turn off SELinux"... man, those idiots might as well tell you to turn off your firewall and open up your servers to the world.

This sounds like a nice gesture but, in today's internet, it's a shortcut to online suicide.

Anyway, here's …

HowTo: Removing BtrFS from a bunch of drives (BOD)

07 de febrero de 2012

Ok, I just discovered how to remove BtrFS from a bunch of drives. It got kind of hard at first but, thanks to the #btrfs channel, I discovered how.

for device in sd{d..g}; do dd if=/dev/zero of=/dev/$device bs=4k count=1 seek=16; done …

The Pirate Bay's SOPA/PIPA Press Release

19 de enero de 2012

INTERNETS, 18th of January 2012.

PRESS RELEASE, FOR IMMEDIATE RELEASE.

Over a century ago Thomas Edison got the patent for a device which would "do for the eye what the phonograph does for

the ear". He called it the Kinetoscope. He was not only amongst the first to record video …