Sunday, August 31, 2008

microsoft fonts on CentOS

I wanted to install Trebuchet (and other microsoft fonts) on CentOS 5.2, x86_64 (this blog happens to be in Trebuchet font). I got the required rpm from this following site : link [http://avi.alkalay.net/software/webcore-fonts/]
I downloaded the webcore-fonts-3.0-1.noarch.rpm

# rpm -ivh webcore-fonts-3.0-1.noarch.rpm

... Worked for me

centOS x86_64 and mozilla flash plugin

I have loaded CentOS 5.2 (x86_64) on my laptop (no, I am not crazy). I was forced to such an action as Xilinx and other project tools that I plan to use was validated on RHEL and I did not want to break my head any more on cross platform migrations (fact : I am less than a noob when it comes to serious linux)

Well there was an issue of getting flash (on mozilla) (read youtube) to work on "IT". I tried different approaches suggested by different blogs / sites / forums /..., finally this worked : link (please read the 1st comment and follow instructions given there)

vim txt editing -- removing the linewidth effect

In my vimrc I have set the .txt file's linewidth property as 72 (vim enteres newline / breaks to a new line every 72 chars) (the above may be incorrect in an exact technical sense) it is cool to have this feature while editing test files, navigation being made easy between lines. But such a text file look "ugly" when posted onto blogger. There might be multiple ways to solve this problem, but the following is how I tackle the problem. Once I finish typing up (in vim) input.txt

fmt -w 1000 input.txt > formatted_output.txt