1,961 reputation
74278
bio website tizen.org
location Belgium
age 31
visits member for 2 years, 9 months
seen Apr 14 at 2:59

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:


Apr
10
comment How to disable right click in nautilus?
Its not working. When i apply the xmodmap -e "pointer = 1 2 99" , its blocking system wide right click but i just want the desktop right click to block.
Apr
8
awarded  Notable Question
Apr
7
comment How to install the driver for this printer? failing to start the daemon
Please see the above link it calls Custom VKP80II
Apr
6
asked How to install the driver for this printer? failing to start the daemon
Apr
1
awarded  Famous Question
Mar
31
comment Ubuntu 13.10 - driver for Dymo labelwriter 450 fastest printer
That is very BAD of Dymo, EVIL. Nobody makes Drivers for Linux even manufacturer's like we do not exist. I am personally only Linux user, i really dislike a hardware do not make Linux compatible drivers first and then consider other OS's.
Mar
29
awarded  Notable Question
Mar
29
awarded  Favorite Question
Mar
27
awarded  Famous Question
Mar
27
awarded  Notable Question
Mar
25
awarded  Popular Question
Mar
25
comment How to prevent a kiosk running Ubuntu 13.10 showing the update dialog popup window?
The link THAT does not worked. So all the options out there did not worked at all. Every day i get that ugly update notification like its designed to SPAM. After failing by not having enough resource available on this. I decided to kill it with infinite loop, all the rest did not worked. And yes its a nice idea to apply chmod -x on those two execute file that is the culprit of this SPAM
Mar
25
asked Ubuntu 13.10 - Zebra TLP 2844 does not print using command line
Mar
25
answered How to prevent a kiosk running Ubuntu 13.10 showing the update dialog popup window?
Mar
25
comment Ubuntu 13.10 - i am running in KIOSK train station public place, but this autoupdate window is annoying every day. How to remove it please?
Did that. But why nobody knows how to protect this VIRUS/SPAM from Ubuntu 13.10? Everyday without my permission its asking auto update. I dont want it to do oversmart tasks.
Mar
25
comment Ubuntu 13.10 - i am running in KIOSK train station public place, but this autoupdate window is annoying every day. How to remove it please?
Did you FIXED it yet?
Mar
24
awarded  Popular Question
Mar
24
comment Ubuntu 13.10 - i am running in KIOSK train station public place, but this autoupdate window is annoying every day. How to remove it please?
Did you fixed it yet? Its not working yet.
Mar
19
awarded  Popular Question
Mar
19
comment Ubuntu 13.10 - i am running in KIOSK train station public place, but this autoupdate window is annoying every day. How to remove it please?
Is there anyway to find in the whole directory who is executing the script name "update-manager" from /usr/bin ? Then we can exploit that python3 script into empty code and then even it executes wont show anything.