Archives
- 2023
- 2022
- 2020
- 2019
- 2018
- 2017
- 2016
- 2014
- 2013
- 2012
- 2011
- 2010
- 2009
-
2008
- November
- October
- September
- August
- July
-
June
-
Two usb video capture stick with em28xx driver
06/28/08
get http://mcentral.de/hg/~mrec/em28xx-new/ and untar
cd em28xx-new-*
make
find /lib/modules/$(uname -r) -name "em28xx*" -type f | xargs rm -rf
find /lib/modules/$(uname -r) -name "tvp5150.ko" -type f | \
xargs rm -rf
mkdir -p /lib/modules/$(uname -r -
io scheduler for databases (deadline)
06/17/08
As suggested by http://www.nextre.it/oracledocs/oraclemyths.html
i put elevator=deadline to grubs menu.lst. -
atomic ops in c with help of gcc
06/16/08
atomic.h[more]#ifndef _ATOMIC_H
#define _ATOMIC_H
/**
* Atomic type. http://golubenco.org/blog/category/gcc/
*/
typedef struct {
volatile int counter;
} atomic_t;
#define ATOMIC_INIT(i) { (i) }
/**
* Read atomic variable -
find PCs in a network
06/05/08
for i in $(seq 2 254); do ping -c 1 192.168.0.$i | grep -q rtt && echo "found 192.168.0.$i"; done -
kvm pxe boot
06/04/08
get a ISO bootable image without legacy floppy emulation (.iso) from etherboot
kvm.sh:#!/bin/sh
switch=br0
USERID=$(whoami)
iface=$(sudo tunctl -b -u $USERID)
sudo /usr/sbin/brctl addbr $switch
sudo /sbin/ifconfig $switch 192.168.99.1 up
-
Two usb video capture stick with em28xx driver
- May
- April
- March
- February
- January
- 2007