Archives
- 2023
- 2022
- 2020
- 2019
- 2018
- 2017
- 2016
- 2014
- 2013
- 2012
- 2011
- 2010
- 2009
-
2008
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
-
January
-
bash network calculation
01/18/08
IP='130.10.10.10'
NETMASK='255.255.252.0'
l="${IP%.*}";r="${IP#*.}";n="${NETMASK%.*}";m="${NETMASK#*.}"
SUBNET=$((${IP%%.*}&${NETMASK%%.*})).\
$((${r%%.*}&${m%%.*})).\
$((${l##*.}&a -
xorg Xinerama / Dual Screen
01/08/08
The hard work with xinerama / dual screen was:
* set the monitor sync/refresh rate (it won't start without for an old crt not supporting ddc)
* set Option "NoAccel" "true" (screen distortions)
* touchpad only works with dual screen
-
bash network calculation
- 2007