474 reputation
31540
bio website tizen.org
location Belgium
age 31
visits member for 4 years
seen Aug 4 at 22:05

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:


2d
awarded  Popular Question
Aug
8
awarded  Popular Question
Jul
15
awarded  Popular Question
Jul
2
awarded  Curious
Jul
1
comment Can someone explain the 'PasswordAuthentication' in the /etc/ssh/sshd_config file?
Use this settings: fpaste.org/114544/04202660 when only allow SSH login via ~/.ssh/authorized_keys2 but not with username/password
Jul
1
comment Can someone explain the 'PasswordAuthentication' in the /etc/ssh/sshd_config file?
okay so for authorized_key2 only: (1) comment out the AuthorizedKeysFile (2) PasswordAuthentication no (3) PubkeyAuthentication yes (4) ChallengeResponseAuthentication no (5) test it ... if it still accepts passwords, also add UsePam no
Jun
10
awarded  Famous Question
May
10
comment Ubuntu libraries problem
Really? this still did not solved my case.
Apr
21
awarded  Caucus
Mar
27
answered Ubuntu 13.10 - make eth0 or wan0 interface upload/download into slow motion for testing software
Mar
27
comment Ubuntu 13.10 - make eth0 or wan0 interface upload/download into slow motion for testing software
This is also a quick tool helped me: superuser.com/questions/66574/…
Mar
27
accepted Ubuntu 13.10 - make eth0 or wan0 interface upload/download into slow motion for testing software
Mar
26
asked Ubuntu 13.10 - make eth0 or wan0 interface upload/download into slow motion for testing software
Mar
20
comment Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
@barlop: lets do it again fresh. 1) go to internet explorer please 2) login with your Gmail account 3) use dial your another Gmail account with Google hangout 4) go to the Process list you will notice googletalkplugin.exe is running 5) you clicked from internet explorer and its executing a .exe file in your background. exactly i am trying this
Mar
20
comment Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
@barlop: not really, that i can also track using user's cookies tracking, if the cookies were found i can see setup.exe was installed. But how do i from Internet Explorer execute the stackoverflow.exe ?
Mar
20
comment Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
but i have seen Logmein.com does it, you can do from the browser the execution and verification too.
Mar
20
comment Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
@Raystafarian: i have done the setup.exe code signed and let the user installed. But now i have no idea how can i verify if that is installed.
Mar
20
comment Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
@Raystafarian: YES - any samples or how it can be done to verify if the setup.exe was installed ?
Mar
20
comment Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
Please check again my question, i edited like your suggestion.
Mar
20
revised Windows, Internet explorer how do i detect if the user already installed TeamViewer application?
added 203 characters in body