1 reputation
bio website tizen.org
location Belgium
age 32
visits member for 3 years, 6 months
seen Jun 30 at 8:02

I like Dennis Ritchie. Talk to the machine:

Primary language:

  • Python ( http://nullege.com/ ) , BASH, Zend Framework (PHP)
  • Go ( http://stackoverflow.com/a/19549318/285594 )

  • Java

  • C ( http://pubs.opengroup.org/onlinepubs//idx/head.html )

Again, Forgot it?

tcpdump -i eth0 port 80
tcpdump -i eth0 port 80 -w dump.pcap
tcpdump -i eth0 port 80 -l | tee dump.pcap

grep whatever myfile | tee /dev/tty | wc -l

$ git reset --hard HEAD; 
  git clean -f -d ; 
  git pull; # force pull

$ grep -A 1 -B 1:
A (after)
B (before)
C (context [before + after])

$ tcpflow -i any -C -e port 1234  # As root, listen packets in a port

$ freeze > recover

alt + print screen + k
alt + print screen + re is ub

$ echo -e '#!/bin/bash\nsleep 50\nexport DISPLAY=:0.0\nxset s off\nxset -dpms' > /var/tmp/pp.sh; cat /var/tmp/pp.sh;

sleep 50
export DISPLAY=:0.0
xset s off
xset -dpms

eth0 and eth1 - in and out traffic

$ ip rule add from table 1
$ ip route add default via dev eth0 table 1
$ ip rule add from table 2
$ ip route add default via dev eth1 table 2

except ssh other traffic from that source

$ tcpdump -vv src and not dst port 22

Normal termination

killall -SIGHUP firefox
killall -SIGINT firefox

Non gracefull termination

killall -SIGKILL firefox


qemu-system-x86_64 -enable-kvm -m 256 -usb /dev/sdc

qemu-system-x86_64 -cdrom filename.iso

qemu-system-x86_64 -hda /dev/sdx


wget http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.23.tar.gz
tar xvfz gst-plugins-bad
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --with-package-name="GStreamer Bad" --with-package-origin="http://www.ubuntu.org/" --enable-gtk-doc --disable-static;
make install


ffmpeg -i /home/sun/Desktop/Default\ Project.mpeg -b:v 300k -ar 8000 -ac 1 -s qcif -r 5 /home/sun/Desktop/pingpong.3gp # Mobile videos for small size:

ffmpeg -i /home/sun/Desktop/Valentine.mpeg -y -f vcd -vcodec mpeg1video -s 352x240 -r 29.97 -g 12 -qmin 3 -qmax 13 /home/sun/Desktop/movie.mpg

ffmpeg -i input.flv -vcodec libvpx -acodec libvorbis output.webm

Nice site:

  • http://stuff.mit.edu/afs/sipb/machine/penguin-lust/src/socat-
  • http://www.brpreiss.com/books/opus7/programs/index.html
  • http://golang.org/doc/GoCourseDay3.pdf
  • http://tip.golang.org/doc/code.html
  • http://golang.org/doc/codelab/wiki/
  • http://nerds-central.blogspot.com/2011/03/understanding-jvm-performance-it-is.html
  • http://www.brackeen.com/vga/index.html
  • http://gskinner.com/RegExr/
  • http://plugins.netbeans.org/plugin/5825/regexplugin
  • http://shootout.alioth.debian.org/

This user has not answered any questions
This user has not asked any questions
This user has not participated in any tags

0 Votes Cast

This user has not cast any votes