Posts

Showing posts from May, 2011

New app from linux

While I do something with my mac, I hear my friend talking about 'iftop' in chatting room, So I start sudo apt-get install iftop then.... boom I do 'sudo iftop', App start!!! new one I have never knew it before , Thank my friend! ------------------------------------- FTOP(8) IFTOP(8) NAME iftop - display bandwidth usage on an interface by host SYNOPSIS iftop -h | [-nNpbBP] [-i interface] [-f filter code] [-F net/mask] DESCRIPTION iftop listens to network traffic on a named interface, or on the first interface it can find which looks like an external interface if none is specified, and displays a table of current bandwidth usage by pairs of hosts. iftop must be run with sufficient permissions to monitor all network traffic on the interface; see pcap(3) for more infor‐ mation, but on most systems this means that it

Way to GO

Today, I create new inspiration with my gf. That we should do something to make people realize what we can do. So I decide to - get my code when I implemented data mining related code for my friend. - improve that code to make it more efficient. - write blog about how to matplotlib and scientific tools.

Yahh Admin Command - skill

I don't know why it's called 'skill'. It end up with an options that provide ability to KILL, STOP, CONT an users. examples -------- >>> skill -KILL -u user_yahoo # send signal kill user by username : user_yahoo or >>> skill -KILL -t pts/1 # send signal kill user by user's tty : pts/1 or you can HALT then let them CONT

Install step for pyearthquake

for ubuntu 10.04 (may be kubuntu,too) - sudo apt-get install python-matplotlib - get basemap from http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-0.99.4/ - sudo apt-get install python-matplotlib python-numpy libgeos-dev python-httplib2 python-imaging python-dev checkinstall - sudo apt-get install build-essential - sudo easy_install pyearthquake Great refer to http://pyevolve.sourceforge.net/wordpress/?p=1471

Kubuntu 10.10 VM4.0 Resize feature

>> sudo /etc/init.d/vboxadd setup or Do this first >> sudo apt-get install dkms build-essential linux-headers-generic then >> sudo /etc/init.d/vboxadd setup and restart vm

Yah Cool 'bout ffmpeg

Today , one of my boss said ''' This is what I use for converting for the ipad using ffmpeg: #!/bin/bash ffmpeg -i "$1" -acodec libfaac -ab 96k -vcodec libx264 -vpre fast -crf 22 -threads 0 -s 1024x768 "$1.mp4" ''' Oh I have to try it