I’m preparing a talk for YAPC::EU. The talk will be about managing Linux containers in Perl and for doing that I needed some functionality that was currently missing
So I created a new Perl Module - Linux::Setns.
This is my first attempt at building and supporting modules on CPAN… but I hope I’ll add a few [...]

Posted by HackMan
Dated: 28th July 2014
Filled Under: Technology, getClouder
Comments: Post the 1st one!

Requirements:

wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.24.tar.xz
wget http://hydra.azilian.net/3.12.24-config
cp 3.12.24-config .config
tar xfj linux-3.12.24.tar.xz
cd linux-3.12.24
git init
git add .
git commit -a -m ‘initial’

Tasks:

Patch /proc/cpuinfo, so when you are not in the main CGroup, it will show you only the CPU cores you are allowed to use.
[...]

Posted by HackMan
Dated: 21st July 2014
Filled Under: Teaching, Technology
Comments: Post the 1st one!

I needed an easy way to download videos I streamed to Twitch.tv, so I created this small script which downloads all parts of the video, converts them to mpegts and then combines them into a single mpeg flv video, ready for upload to YouTube.

#!/bin/bash

video_dir=~/twitch

if [ $# -ne 1 ]; then
[...]

Posted by HackMan
Dated: 10th October 2013
Filled Under: Teaching, Technology
Comments: Post the 1st one!

In the past few weeks I managed to add changes to a few of my projects in the wrong branches, which led to the merges of unwanted code.
So, I decided that I have to do something about this, something that will prevent me from working on the wrong branch and blindly commit to it [...]

Posted by HackMan
Dated: 22nd April 2012
Filled Under: Technology
Comments: Post the 1st one!

While I was reordering the code of our suexec I unintentionally optimized it by removing a pace of redundant code.
In the end the result is that on benchmarks the suexec executes phps 20% faster then FastCGI(4 childs, 1000 requests per child).

I’m still doing benchmarks but the numbers that ab is showing until now are [...]

Posted by HackMan
Dated: 10th February 2011
Filled Under: Technology
Comments: 1 Comment

Since BG Perl Workshop 2010 I have read about Gearman and a few weeks back I decided to incorporate it in few of my projects. While developing with Gearman is interesting and fun job I found some things that I really missed in the server. While testing Gearman I started a client which added a [...]

Posted by HackMan
Dated: 14th March 2010
Filled Under: Gearman, Technology
Comments: Post the 1st one!

Finally I decided that it will be a good idea to keep all of my OpenSource contributions into git projects and also to put them online.
Until now I had only the Patches page.
And today while finalizing the MySQL Resource Agent for Heartbeat I have installed gitweb and I’ll try to add all of my contributions [...]

Posted by HackMan
Dated: 9th February 2010
Filled Under: Linux-HA, Technology
Comments: Post the 1st one!

I had to build a mail server for one client. So I decided to use postfix + dovecot as a combination for the setup.
After a week of usage, my client called and asked for per user quotas. Since the setup is with virtual users this required some changes. So here I’ll try to outline what [...]

Posted by HackMan
Dated: 30th January 2010
Filled Under: Linux General, Technology
Comments: Post the 1st one!

Pfiuuu, today I finally finished my Exam generator. I added generating PDF files from the DB. Until now I was generating only txt support. Now I can generate new variants of a test whenever I want, just with one execution of the script. I also made a web version so I can generate variants of [...]

Posted by HackMan
Dated: 2nd January 2010
Filled Under: Technology
Comments: 2 Comments

Yesterday I bout AzBox Premium HD Satellite receiver. The receiver is very nice, you can watch YouTube directly from it. You have a web browser, e-mail client and I can watch all of our movies directly from the storage. It has a HDD bay and WiFi. You can record shows from the TV to the [...]

Posted by HackMan
Dated: 25th December 2009
Filled Under: Technology
Comments: Post the 1st one!