For a project that I’m working on I had to create MAC generator. Initially I decided that I will do it in BASH.

function gen_mac() {
mac_vars=(0 1 2 3 4 5 6 7 8 9 a b c d e f)
[...]

Posted by HackMan
Dated: 25th March 2013
Filled Under: Uncategorized
Comments: Post the 1st one!

Today I decided to play a bit with my Raspberry Pi and one of my Relay shields that I have for the Arduino.
I was surprised to see how easy it was to control and read the GPIOs on the Raspberry. So I decided to make it even easier by writing a simple bash script [...]

Posted by HackMan
Dated: 1st December 2012
Filled Under: Uncategorized
Comments: Post the 1st one!

For the past 3 times when I was teaching Linux System and Network Administration at the Sofia University I’m using a tool to generate the tests.
Since today I had to again fix some issues in the generator I decided that I will publish it on GitHub.
So here is the repository.

Posted by HackMan
Dated: 29th November 2012
Filled Under: Uncategorized
Comments: Post the 1st one!

For a few years I was thinking about controlling the (un)locking and start/stop of my car via GSM. Two weeks ago, me and a friend of mine finally did it. Using a simple Arduino Uno plus GPRS Shield and Relay Shield we were able to call the Arduino and trigger a relay to open or [...]

Posted by HackMan
Dated: 24th November 2012
Filled Under: Uncategorized
Comments: Post the 1st one!

Here is one pretty easy and useful one liner in Perl:
perl -MDevice::SerialPort -e ‘Device::SerialPort->new(”/dev/ttyACM0″)->pulse_dtr_on(300);’
And here is a fully functional perl script that I wrote for the same purpose:

#!/usr/bin/perl
use Device::SerialPort;

sub find_dev {
my $test = shift;
my $dev = ”;
[...]

Posted by HackMan
Dated: 24th November 2012
Filled Under: Uncategorized
Comments: Post the 1st one!

Last week I was in Rust, Germany at the WorldHostingDays conference & expo. The biggest problem we had, was that there was almost no Internet

The organizers made a very poor design of their network and so, most of the time there was no connection at all.

We were exhibitor there and as such the expo [...]

Posted by HackMan
Dated: 29th March 2011
Filled Under: Uncategorized
Comments: Post the 1st one!

Today’s event was a real success. We had more then 40 people in the morning and something around 30 after the lunch break.

The talks were really interesting and inspiring. Alexey’s talk about ThinPacker was really inspiring and it captured my attention, so we will work together on that.

We made a really good discussion about the [...]

Posted by HackMan
Dated: 27th February 2011
Filled Under: Uncategorized
Comments: Post the 1st one!

Next Saturday I’m organizing the annual Bulgarian Perl Workshop. One of the biggest challenges for this event is making people come and talk at the conference. And I’m not talking about international guests. I’m talking about Bulgarian speakers.

We have a lot of people working with Perl every day and it is strange to me that [...]

Posted by HackMan
Dated: 21st February 2011
Filled Under: Uncategorized
Comments: Post the 1st one!

So on 26th of February the Bulgarian Perl Workshop will take place.

This year I decided that I’ll cover something I consider very nasty, Embedding Perl into C and using C from Perl. Two really annoying things with a lot of horrible solutions and half written documentation.

Posted by HackMan
Dated: 11th February 2011
Filled Under: Uncategorized
Comments: 2 Comments

This time I managed to crack the engine head on 5 from the 6 cylinders with total of 8 cracks… I’m quite good at destroying my car

Last Friday I left it with the mechanic. I hope that by tomorrow it will be fully functional again. Here are some pictures of the disassembled engine.

After that [...]

Posted by HackMan
Dated: 14th January 2011
Filled Under: Cars, Uncategorized
Comments: Post the 1st one!