simple examples of how to

Tuesday, January 24, 2012

svn delete with wildcard

use find and xargs

example:

find target-folder/ -maxdepth 1 -name target_name[1-9]* | xargs -I '{}' svn rm '{}'

Thursday, January 12, 2012

making a linux machine ap

http://www.su-root.eu/computing/turn-your-linux-computer-in-a-wireless-access-point-using-hostapd

Sunday, January 1, 2012

redirecting error output

redirecting error output while lively seeing it

rm 2>&1 1> output | tee /tmp/tmp

Saturday, December 17, 2011

traffic control examples

$ tc qdisc show dev eth5

$ tc class show dev eth5

$ tc qdisc del dev eth5 root

bonus (ethtool


$ ethtool -s eth6 speed 1000 duplux full

$ ethtool -s eth6 speed 100 autoneg off

Friday, December 16, 2011

how to select a package among several similar packages

in case of java, use the following


$ update-alternatives --config java

Wednesday, December 14, 2011

When you accidentally press Ctrl+S in vim

ctrl+s locks the screen and vim does not take any inputs.

Just press ctrl+q, it will release the lock.

Tuesday, December 13, 2011

gstreamer good reading sites

gstreamer all plugins list: http://gstreamer.freedesktop.org/documentation/plugins.html

about RTP streaming: http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?view=markup

gstreamer using python http://www.jejik.com/articles/2007/01/streaming_audio_over_tcp_with_python-gstreamer/

various transports and codecs using gstreamer (warning-Not english!) : http://blog.nicolargo.com/2009/02/jai-streame-avec-gstreamer.html