Category Archives: Uncategorized
About 9 years ago, a friend of mine was thinking about his life and had what I can recall as being the following thought: It’s odd how sometimes in life, certain people you meet are going to impact your life … Continue reading
Recently I tried ifstat on a freshly updated linux box with a 3.2 kernel, it was reporting nothing (0kb) although the network was heavily used. A quick one-liner confirmed this and I decided to keep it here for later use: … Continue reading
I’ve grabbed some times ago two Mobotix cameras.. I must say first that I was impressed by they quality (nice look, high resolutions, good framerate and nevertheless, GNU/Linux based).
As I put them to monitor some outdoor part of my house, I’ve wanted to record everything that would happen, but hey, first question, how to record ?
Indeed, they don’t support MPEG4 streaming. In fact, they are using some half-proprietary MxPEG format, that seems to be on its way to become a good choice when it comes to camera streaming. I’ve searched out the internet to find the SDK of the camera that provide also the little mxgconv binary, allowing you to convert MxPEG to JPEG frames. Well.
Here is then the little script I used to record in MPEG4 everything coming from the cameras on hourly-basis.
After searching for a LONG while for a method to inject my outlook pst files into my IMAP server without any success… I decided to write some scripts to do it myself. This is using a mix of libpst, perl, bash and some mbox2imap script found on the net…
Check the full article for details!
It’s been a few month that I daily use Virtualbox for my home virtual machines.. As I have a couple of theses, I wanted some scripts to ease the manipulation I have to make.. This post is simply to share … Continue reading
Hello folks, This post is to keep you updated about the future of articles posted here… We’ve just bought a new house and moved into it so now I’m preparing the network and doing some testing on virtual machines and … Continue reading
It’s been some time already that I wanted to know “How the f*ck does theses AJAX thing works”.. Today I’ve tried some tiny things in AJAX and was suprise of the simplicity of all that stuff. I’ll describe in little piece of code what I achieve and how, in case of anyone of you might be interested 😉
So what I wanted, is to have a static xhtml web page, which I could load instantly and then change some content into this page without the need to reload it. -> AJAX baby.
This simple entry is only for you, Vanessa. I Love You my little butterfly :]
Today, I had to build a solution to implement a redundant LAMP failover cluster.. I will report here how I achieved that and which software I used.
- 2 Nodes (hardware identical, if possible);
- 2 Network card per node;
- 2 Hard drive per node;
- Debian GNU/Linux (any other linux distribution could fit);
- Software RAID-1 (md);
This permit to have following functionnalities:
- Prevent Harddisk failure (RAID-1);
- Prevent network failure (Bonding, for my part, two interfaces connected on redundant network switches)
- Prevent node failure (DRBD+Heartbeat : files are replicated to second node and services are balanced when a node falls)
- node1 is at 22.214.171.124;
- node2 is at 126.96.36.199;
- clusturized ip is at 188.8.131.52;
- gateway is 184.108.40.206
Read more to see how exactly the implentation has goes on…