221 reputation
2517
bio website tizen.org
location Belgium
age 31
visits member for 3 years, 1 month
seen Apr 8 at 8:37

I like Dennis Ritchie. Talk to the machine:

Primary language:

  • Python ( http://nullege.com/ ) , BASH, Zend Framework (PHP)
  • Java
  • C ( http://pubs.opengroup.org/onlinepubs//idx/head.html )

    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:


Aug
8
awarded  Notable Question
Jul
21
awarded  Popular Question
Apr
8
comment MightyText isn't working. Is it malware?
It was strange for me, cause just today was my 1st day and 1st time try and 1st time it did not worked. Now it seems to be working. My 1st experience and 1st impression was that i was infected cause it did not worked. But now i am feeling comfortable with it. Thank you
Apr
8
accepted MightyText isn't working. Is it malware?
Apr
8
comment MightyText isn't working. Is it malware?
When i go to that page, its like taking forever to open and then Google chrome say failed to open the page.
Apr
8
comment MightyText isn't working. Is it malware?
See my EDIT please, i got email saying i can open the page mightytext.net/app but it does not open anything after installing all. Does it mean its stealing all my information now?
Apr
8
revised MightyText isn't working. Is it malware?
added 1661 characters in body
Apr
8
asked MightyText isn't working. Is it malware?
Apr
7
awarded  Famous Question
Mar
11
asked Gmail - how to get all my email address from mailbox into contacts?
Mar
2
accepted How can I send SMS to hundreds of users in my phone list?
Feb
28
awarded  Critic
Feb
28
comment How can I send SMS to hundreds of users in my phone list?
I have Android Tablet, I have Android Phone. But how do i send to my all contacts at once SMS????? what is missing???
Feb
28
asked How can I send SMS to hundreds of users in my phone list?
Dec
31
awarded  Popular Question
Nov
8
comment YouTube - How can i play my youtube playlist in my android phone even my screen automatically goes to sleep mode?
android.stackexchange.com/a/9754/9531
Nov
8
asked YouTube - How can i play my youtube playlist in my android phone even my screen automatically goes to sleep mode?
Nov
1
awarded  Famous Question
Oct
27
awarded  Yearling
Oct
8
awarded  Notable Question