Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Linkedin button Webonews button Delicious button Digg button Flickr button Stumbleupon button Newsvine button Youtube button
content top

Enabling common features in OS X (Lion)

From a CLI window execute the following: defaults write com.apple.Safari ApplePersistenceIgnoreState YES  –> Disables safari to open the last page when re-launching safari defaults write com.apple.Preview ApplePersistenceIgnoreState YES –> Disables preview from opening the last document viewed when re-launching defaults write com.apple.finder AppleShowAllFiles TRUE –> Allows one to see hidden files or folders...

Read More

Creating a png image from a video frame

ffmpeg -y -i myvideo.mp4 -vframes 1 -ss 00:00:10 -an -vcodec png -f rawvideo -s 320×420 mynewimage.png The line above extract a png image from the first frame of video file. The video file could mp4 or flv. probably more type I just haven’t had a chance to try it out.

Read More

Converting mp4 video files to flv

  mencoder oldfile.mp4 -o newfile.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -ofps 24 -vf...

Read More

Import private key and certificate into Java Key Store (JKS)

Keytool does not let you import an existing private key for which you already have a certificate. So you need to do this yourself, here’s how: 1. First we are going to need private key (mykey.pem) and a certificate (mycert.pem), both in PEM format as the file names suggest. PEM format is ‘kind-of-human-readable’ and looks like e.g. —–BEGIN...

Read More

Join multiple video files with Mencoder

1. Use the command below for avi files 1: mencoder -oac copy -ovc copy -idx -o output.avi video1.avi video2.avi video3.avi The -oac copy option tells mencoder to just copy the audio stream (no reencoding). -ovc copy does the same with the video stream. The -idx option asks mencoder to build the index if none was found. This makes searching inside the video easier. -o stands for "output" and specifies the output file. ...

Read More

Mounting a cdrom in Linux

1. Detect your CD/DVD ROM Exceute wodim –devices If wodim is not install, then execute yum –y install cdrecord Once install and executed, you should get an output similar to the one below wodim –devices wodim: Overview of accessible drives (1 found) : ————————————————————————- ...

Read More

SSH Over Proxy from Mac OS X

you will need corkscrew. You can download from here Corkscrew You might also need Xcode and you can download it for free from the apple store. This is required to compile corkscrew Once corkscrew has been downloaded and unzipped open a terminal screen In terminal execute the following 1: $ cd Downloads 2: $ tar -xvzf corkscrew-x.y.tar.gz 3: $ cd corkscrew-x-y 4: $ ./configure --host=mymac 5: $ make 6: $ cp corkscrew...

Read More
Page 1 of 912345...Last »
content top