December 27, 2007

Penguin

Filed under: funny — @ 14:44

December 24, 2007

Mysql Slice a resultset

Filed under: internet,mysql,php — @ 01:36

Slicing a mysql result is easy with

select from_unixtime(unix_timestamp(timestamp) -unix_timestamp(timestamp) % $slicecount) as slice, count(*) from event group
by slice

This will return the mysql statement sliced on the given number of slices.

December 20, 2007

Nationale dag van de legale download!

Filed under: internet — @ 21:45

Een actie zoals een ander. Wie al eens intensief heeft proberen te surfen in onze nabije en verdere buurlanden weet dat we’r al bij al toch niet zo slecht aan toe zijn. Het toegestane volume is voor’n deftig abonnement bij “normaal” gebruik meestal ruim voldoende. De aangeboden snelheid is meer dan redelijk, en vooral, de verbinding is stabiel. Als ik mag kiezen tussen een snelle, onbeperkte onstabiele verbinding of een tragere stabiele verbinding kies ik toch het laatste. De helpdesk van Telenet sucked langs alle kanten (‘k ken in feite maar één goede ISP-helpdesk, die van XS4ALL, nu Evonet) maar is dat niet inherent aan zo’n soort diensten? Stop moaning.

December 17, 2007

Fuck the South

Filed under: comedy,funny,maatschappij — @ 15:59

Het noorden van de VS tegenover het zuiden. Prachtig!

December 15, 2007

Networking Monitoring Tools

Filed under: Open Source,Security,internet,snort — @ 15:28

A list of useful networking monitoring tools. This is not a Top 10 or Top 5 or Top whatever, the usefulness of these applications depends on your environment and what exactly you want to monitor for.

1. ntop

ntop is a network traffic probe that shows the network usage, similar to what the popular top Unix command does. ntop is based on libpcap and it has been written in a portable way in order to virtually run on every Unix platform and on Win32 as well. It’s great to use, comes with a list of plugins and has a nice web-interface. It’s an easy an inexpensive way to catch misconfigured or compromised hosts on your network.

2. snort

tcpdump is probably the best known monitoring tool, it dumps all the network traffic and comes with extended filtering capabilities.

4. atop

atop is an advanced interactive monitor for Linux-systems to view the load on system-level and process-level but it can also display the network traffic. Start it with atop -N > file.

5. bmon

bmon is a bandwidth monitor for network connections. With it you can watch a certain network card or a many of them. Bmon presents the results in ascii or ncurses.

6. nfsen / nfdump

nfsen is an open source netflow monitor. Results are presented via a webinterface and it comes with tcpdump-like filters. Invaluable tool for network analysis.

December 12, 2007

Nostalgie : What’s the story morning glory

Filed under: music,nightlife — @ 02:40

Een beetje nostalgie mag wel, dacht ik. Youtube is er ook een video. Wie wil meekelen kan deze lyrics best gebruiken :

All your dreams are made
When you’re chained to (your) mirror with (your) razor blade
Today’s the day that all the world will see
Another sunny afternoon
(I’m) walking to the sound of your favorite tune
Tomorrow never knows what it doesn’t know too soon

Need a little time to wake up
Need a little time to wake up wake up
Need a little time to wake up
Need a little time to rest your mind
You know you should so I guess you might as well

What’s the story morning glory
Well
(you) need a little time to wake up
Wake up well
What’s the story morning glory
Well
Need a little time to wake up
Wake up

(Cos) all your dreams are made
Now you’re chained to the mirror with your razor blade
Today’s the day that all the world will see
(It’s) another sunny afternoon
Yeah I’m walking to the sound of my favorite tune
Tomorrow doesn’t know what it doesn’t know too soon

Need a little time to wake up
Need a little time to wake up
Need a little time to wake up
Need a little time to rest your mind
You know you should so I guess that you might as well

What’s the story morning glory
Well
Need a little time to wake up, wake up
Well
What’s the story morning glory
Well

Need a little time to wake up, wake up
Well
What’s the story morning glory
Well
Need a little time to wake up, wake up
Well
What’s the story morning glory
Well ?

December 11, 2007

Install PHP5 on OpenBSD 4.2

Filed under: OpenBSD,php — @ 10:09

PHP needs expat; this is included in the base set xbase42. If you didn’t install it at install-time you can get it with

cd /
ftp http://ftp.belnet.be/mirror/ftp.openbsd.org/4.2/i386/xbase42.tgz
tar xzvpf xbase42.tgz

December 10, 2007

Magpierss with UTF8

Filed under: php,webdevelopment — @ 22:06

MagpieRSS is an RSS parser in PHP. If you’re parsing UTF-8 streams and the output looks crippled then you might want to try this (add this to your file that calls the Magpie-code ) :

define(‘MAGPIE_OUTPUT_ENCODING’, ‘UTF-8′);
define(‘MAGPIE_INPUT_ENCODING’, ‘UTF-8′);
define(‘MAGPIE_DETECT_ENCODING’, false);

December 7, 2007

Auto te koop: Volvo V40 voor export

Filed under: Uncategorized — @ 01:21

Iemand interesse in een auto?
Volvo V40 diesel; ongeval-vrij; 219.000 km; handgeschakeld; centrale vergrendeling; auto/cd-speler Volvo; geen Johnny-opties.
Enkel bedoeld voor export. Interesse? Mail!

December 3, 2007

Teeuwen op de ‘pijnbank’ [Bimbo's en Boerka's]

Filed under: comedy,funny,maatschappij — @ 16:06

‘t Filmpje is hier al eens vroeger geweest maar nu kunnen we’t ook tot een TV-monument stemmen.

Next Page »