221 reputation
2416
bio website tizen.org
location Belgium
age 31
visits member for 2 years, 5 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:


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
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?
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???
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
Jul
30
comment VPN client based web browser for Android to cross over all STUN/TURN/ICE/NAT issues and have a freedom of multimedia
@AlEverett: I have an apps which send and receive rtp/sip/h.323 multi-media packets for P2P + it has file transfering protocol, but behind triple nat or behind many nat it fails to interconnect with peer2. So i need to have on the fly VPN client in the web browser or Android library which allow me to do that. Is there any way to make VPN client active using javascript from browser or java apps ?
Jul
11
comment WebRTC in Android mobile phone how to get?
i am completely not out of my mind, cause Google Hangout is using same thing and it works for them, but in community its not given. Why should community left behind if Hangout is already working?
May
7
comment WebRTC in Android mobile phone how to get?
I think this is monopoly of Chrome / Firefox/ Opera? Cause if this feature is given available there is too much freedom? I think Chrome / Firefox / Opera community should be forced to add webRTC working else Internet Explorer will take next 10 years to make it compatible if the well known Browsers fails to add it sooner.
Apr
12
comment Android GTalk, Chromium Gtalk, Gmail Gtalk - how can i send files such as image, music, video clips like whatsApp?
That would be a great because Google Babel to have. All Google products are the cool. WhatsAPP is very evil mind, its not allow Unix/Linux users to run friendly from desktop there apps, we have to always use emulator for there craps. But having Google on this will help us to relax by sitting our old OS and use the same simple crap what whatsAPP was trying to make complicated.
Apr
12
comment Android GTalk, Chromium Gtalk, Gmail Gtalk - how can i send files such as image, music, video clips like whatsApp?
Gtalk is open source, why not a single person willing to add this feature in Gtalk for Linux and Android version? Is this impossible for Google to add this feature?
Apr
12
comment Android GTalk, Chromium Gtalk, Gmail Gtalk - how can i send files such as image, music, video clips like whatsApp?
WhatsAPP is only for mobile with 3G, Wifi. But i use Unix or Linux or sometimes my Android only. And everything i do with Google. Just for file transfer feature i have to day and night use whatsAPP which is abnormal choice. So i do not use whatsAPP, but looking forward to have file transfer feature in Gtalk, which makes the life easier.
Mar
24
comment When I write an email using the Android mail apps, how can I send it 2 hours later?
Excellent. It works in my Linux browser and also in Android. Thats what i wanted. Great.
Jan
23
comment Where to upload video files? to have online video albums? To share them for WhatsAPP apps
NO NO - Did you used Picasa? In Android when you use Picasa you can have your pictures always available for sending as attachment using any other third party Apps. You method is not the answer to send video from remote location via attachment such as if i write email or chat or use skype on Android i cant browse those videos to send it over via file transfering method.
Dec
29
comment How to make Android phone as my wireless dialer, so that i can dial the phone and send / receive SSH, FTP etc?
@Izzy: dial up service like from another PC using modem dial in to the mobile number. Once connected/connection established. Then browse that LAN for remote assistence maintainence.
Nov
22
comment How to play YouTube or any audio from my desktop Linux and send the audio playback to Android?
i have tried remote audio. but it does not work because in Ubuntu 12.10 you dont have /dev/dsp or /dev/audio . So it failed to play, any other way?
Nov
22
comment How to play YouTube or any audio from my desktop Linux and send the audio playback to Android?
@LieRyan: But - "The Google Play music player is currently available in select territories. "
Nov
6
comment How can I remotely control my mobile without rooting it?
Just used it, looks great. Atleast no requirement to make root, but i can type from my PC. Great thanks. it works
Nov
4
comment How can I run WhatsApp so that I am always online?
@THelper: yes that answers it. But how can i place that notification icon always on top. Like Skype Does.
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
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!!