Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /home/hasan666/


How to Pfsense + external squid transparent proxy + dansguardian


In this tutorial will guide throught how to set up Pfsense + external squid transparent proxy + dansguardian.

HowTo: fixed name for a udev device


The basic problem with hotplugging USB devices is, that you never know the current device file name for use in configuration files. Linux' udev has a ruleset that provides you the feature to create a symlink whenever a certain device is plugged in, provided you can uniquely identify it.

Grep digits

tail -f /var/log/logs.log | egrep "\([0-9]{4,5} ms\)"

Check your public IP using bash

sudo nano -w /usr/local/bin/whatismyip


wget -q -O -|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
sudo chmod +x /usr/local/bin/whatismyip

Find All Large Files On A Linux Machine

Find all files which has size 200Mb or more.

find . -type f -size +200000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'



LCD2USB is a open source/open hardware project. The goal of LCD2USB is to connect HD44780 based text LCD displays to various PCs via USB. LCD2USB was meant to be cheap and to be made of easily available parts. It is therefore based on the Atmel AVR Mega8 CPU and does not require any difficult to obtain parts like separate USB controllers and the like. The total cost (without display and pcb) are about 5 to 10 Euros. LCD2USB currently comes with a simple demo application that works under Linux, MacOS X and Windows.


Subscribe to RSS - blogs