Friday, April 03, 2009

Extracting audio from all CFA video files in one command.

Really impressed with myself today.
I have the CFA schwsere CDs with me and these CDs have vidoes in them, but I am not interested in looking at a person talking, I am more interested in listening to the lecture. In short I would like to extract the audio channel for all these videos.
1. Find a tool that extracts audio from the vidoe file - ffmpeg, this tool was able to extract the audio as an mp3 file.
2. Automate the process to go over all the vidoe files and convert them to mp3.

Since all the video files have the same name, and I want the audio file to have diffent names based off the Study Session and Reading, here is what I did
- Find all wmv files
- for each file extract the folder name ( this contains the following format L2_SS18_P7)
- extract the video into an audio file based off the above file name.

find . -name *.wmv -exec sh -c 'ffmpeg -i {} `ls {} | cut -d '/' -f 3`.mp3' \;

Whoo hooo

I found that CD10 and CD11 are the same, so I have to mount and extract them again.


Intermediate commands to test
find . -iname *.flac -exec flac2vorbis {} \; -exec rm -v {} \;


find . -iname *.flac -exec sh -c "flac2vorbis {} && rm {}" \;


find . -name *.wmv -exec sh -c "ls {} | cut -d '/' -f 3" \;


ffmpeg -i ./CD16/L2_SS18_P7/L2_SS18_P7_files/0MM0.wmv `ls ./CD16/L2_SS18_P7/L2_SS18_P7_files/0MM0.wmv | cut -d '/' -f 3`.mp3

Tuesday, February 03, 2009

LPIC Linux Certification

Certification
http://www.lpi.org/eng/certification/the_lpic_program/lpic_1
You have to pass 2 exams to be certified, the first exam is more todo with commands while the 2nd exam is more towards system admin.
Try and get Ubuntu installed on your home pc to try out Linux, for Ubuntu you don’t have to partition your HD etc, you can directly install Ubuntu in the windows partition, It will get installed as files under c:\ubuntu , the next time you boot into windows it will prompt you if you would like to boot into Ubuntu.

Procedure for taking the exams
http://www.lpi.org/eng/certification/faq/procedure_for_taking_exams

Couple of books
http://www.amazon.co.uk/LPI-Linux-Certification-Nutshell-2nd/dp/0596005288/ref=sr_1_4?ie=UTF8&s=books&qid=1233677835&sr=8-4
http://www.amazon.co.uk/LPIC-1-Exams-Roderick-W-Smith/dp/0470404833/ref=sr_1_3?ie=UTF8&s=books&qid=1233677835&sr=8-3

Friday, January 02, 2009

Connecting from Mac (mini) and Linux (Ubuntu) through Citrix to my work desktop

I have been trying to connect (through Citrix) to my desktop at work through my home machine, Ubuntu 8.04 (Linux) and Mac Mini.

On the mac I installed the Citrix client, but on connecting to the server I got the following error

SSL Error 0: YOu have not chosen to trust "/C=US/ST=
/L=/O=Verisign, Inc./OU=Class 3 Public Primary Certification Authority/CN=", the issuer of the server's security certificate.

Error number 183

I remembered getting a similar error while connecting from Linux but all that I could recollect that it was related to some missing certificates.

I logged into my Linux box and copied over the following certificates

EquifaxSecureeBusinessCA-1.crt
EquifaxSecureGlobaleBusinessCA-1.crt
BuiltinObjectTokenEquifaxSecureeBusinessCA2.crt
BuiltinObjectTokenEquifaxSecureCA.crt

from the following Linux folder
/usr/lib/ICAClient/keystore/cacerts/
to the following mac folder
/Applications/Citrix ICA Client/keystore/cacerts


Actually I just one certificate, and I can get it from here
http://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority_DER.cer

I got this information from here : http://blandname.com/2008/11/10/you-have-not-chosen-to-trust-equifax-secure-global-ebusiness-ca-1/

Thursday, April 03, 2008

Executing Windows Vista Check Disk on XPS 420 320GB x 2 RAID

Do not execute Windows Vista Check desk on XPS 420 with 320GB x 2 RAID HDs - it just takes way to long. I have been running this thing since 2 hours now and it is still only 75% done.

Sunday, September 23, 2007

Super Bon Bon

Soul Coughing - Super Bon Bon

Add to My Profile | More Videos

There are some good music vidoes (this isnt one) the song is great.

Wednesday, September 05, 2007

Excellent site for searching for Flights

Kayak : This is an excellent site for searching for flights, with some quite good trend analysis.

Tradelect platform for LSE developed by Accenture India

Full article here
http://www.computerweekly.com/Articles/2006/09/26/218637/city-prepares-to-test-new-trading-platform.htm

A few interesting points
- Middleware was developed using Microsoft's C# programming language and the .net Framework
- The system will run on Hewlett-Packard servers powered by 2.2GHz dual-core AMD Opteron processors.

Friday, August 03, 2007

Weezer - Beverly Hills

Some good tracks

Toadies - Possum Kingdon
Green day - Brain Stew
Creed - My Own Prisoon
Operator - Soul Crusher
Linkin Park - Bleed It out.

Wednesday, July 25, 2007

Crysis Spec and Intel Processor Comparison

Crysis Specification
Minimum Requirements

CPU: Athlon 64 3000+/Intel 2.8ghz
Graphics: Nvidia 6200 or ATI X1300 - Shader Model 2.0
RAM: 768MB on Windows XP or 1GB on Windows Vista
HDD: 6GB
Internet: 256k+
Optical Drive: DVD
Software: DX9.0c with Windows XP

Recommended Requirements

CPU: Dual-core CPU (Athlon X2/Pentium D)
Graphics: Nvidia 7600 or ATI X1600 Pro (SM 3.0) or DX10 equivalent
RAM: 1.5GB+
HDD: 6GB
Internet: 512k+ (128k+ upstream)
Optical Drive: DVD
Software: DX9.0c with Windows XP

Intel processor comparison

Intel Core 2

Friday, July 13, 2007

Webserver on your mobile

Really cool stuff that Chris showed me about having a mobile webserver on you mobile phone, it is really cool.

Sunday, May 13, 2007

The Traffic Light Tree, Pierre Vivant 1998. - London, UK : citynoise.org

I was talking to Kartik about this, and we also took a picture of it, but I guess this site has many more better pictures and it also talks about it.

The Traffic Light Tree, Pierre Vivant 1998. - London, UK : citynoise.org

Tuesday, April 24, 2007

Sunday, April 15, 2007

Friday, April 13, 2007

Sunday, April 01, 2007

300 Fight

One of the fight sequences from 300.

Sunday, March 25, 2007

Leaked Prince of Persia 4 Concept Art


Prince of Persia 4 Concept art has been leaked

Wednesday, March 21, 2007

IT Jobs Watch, Tracking the IT Job Market

This is quite an interesting site with a lot of information about the different IT jobs avaliable with a lot of statistical information.

IT Jobs Watch, Tracking the IT Job Market