221 reputation
2517
bio website tizen.org
location Belgium
age 31
visits member for 2 years, 9 months
seen Apr 8 at 8:37

I like Dennis Ritchie. Talk to the machine:

Primary language:

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;

#!/bin/bash
sleep 50
export DISPLAY=:0.0
xset s off
xset -dpms

eth0 and eth1 - in and out traffic

$ ip rule add from 10.0.0.108/32 table 1
$ ip route add default via 10.0.0.1 dev eth0 table 1
$ ip rule add from 10.0.0.28/32 table 2
$ ip route add default via 10.0.0.1 dev eth1 table 2

except ssh other traffic from that source

$ tcpdump -vv src 54.2.2.1 and not dst port 22

Normal termination

killall -SIGHUP firefox
killall -SIGINT firefox

Non gracefull termination

killall -SIGKILL firefox

Qemu:

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

Gst:

wget http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.23.tar.gz
tar xvfz gst-plugins-bad
./autogen.sh
./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
make install

Ffmpeg:

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:


Nov
4
asked How can I run WhatsApp so that I am always online?
Oct
22
accepted How can I display Samsung GT-S5660 current screen desktop to my HDMI TV screen?
Oct
22
comment How can I display Samsung GT-S5660 current screen desktop to my HDMI TV screen?
This is great, you are genius i am happy to get some hope at-least, i will buy and try and let the question be answered with some later follow up. thanks!
Oct
20
asked How can I display Samsung GT-S5660 current screen desktop to my HDMI TV screen?
Oct
20
awarded  Popular Question
Oct
8
accepted How can I boost the music volume higher than the max limit?
Oct
8
comment How can I boost the music volume higher than the max limit?
I downloaded, Poweramp media player which has extra EQ and effects works great, and two other speaker booster software. Problem resolved. And with your guide i will fire and rock more sound on my ear thanks a lot!!
Oct
8
comment How can I boost the music volume higher than the max limit?
GT-S5660 - i am using. I downloaded some apps speaker boost but its not enough.
Oct
8
comment Sound Amplifier for Android
GT-S5660 - is not compatible saying.
Oct
8
asked How can I boost the music volume higher than the max limit?
Aug
5
awarded  Notable Question
Mar
19
awarded  Popular Question
Feb
20
awarded  Popular Question
Nov
26
asked How to connect USB CD/DVD-rom to my Asus Eee transformer?
Nov
25
awarded  Autobiographer
Nov
12
revised How to root my ASUS Eee Pad Transformer?
deleted 68 characters in body
Nov
12
revised How to root my ASUS Eee Pad Transformer?
deleted 68 characters in body
Nov
11
revised How to root my ASUS Eee Pad Transformer?
added 131 characters in body
Nov
11
revised How to root my ASUS Eee Pad Transformer?
added 86 characters in body
Nov
11
revised How to root my ASUS Eee Pad Transformer?
added 86 characters in body