Sunday, April 25, 2010

.vimrc

I used to have a .vimrc earlier. However, over time, I lost it and forgot most of my settings. I am building one. Nothing special. But, the stuff that will make me more productive while coding using vim...

Below is my current .vimrc. I will keep adding to it as and when I modify the .vimrc that I use.



se ts=4
se sw=4

au BufNewFile,BufRead *.c se cindent

function Toggle_hls()
:if ( &hlsearch == 1)
: se nohls
:else
: se hls
:endif
endfunction

map <F2> :call Toggle_hls() <CR>

Sunday, April 4, 2010

List of software to be installed on a fresh windows installation

Well, everytime I do this, I do miss something or something else. So, this time, I decided to make a list.
  1. AVG anit virus free version http://free.avg.com/us-en/download-avg-anti-virus-free
  2. FireFox http://www.getfirefox.com
  3. FDM http://www.freedownloadmanager.org/download.htm
  4. 7-zip http://www.7-zip.org/
  5. Acrobat reader http://get.adobe.com/reader/
  6. JRE/JDK http://java.sun.com/javase/downloads/index.jsp
  7. Amok CD/DVD burner http://www.amok.am/en/freeware/amok_cd-dvd_burning/
  8. Openoffice http://download.openoffice.org/
  9. Flash plugin http://get.adobe.com/flashplayer/
  10. vlc client http://www.videolan.org/vlc/download-windows.html
  11. DivX http://www.divx.com/en/software/download/start
Optional software
  1. notepad++ http://sourceforge.net/projects/notepad-plus/files/
  2. utorrent http://www.utorrent.com/downloads
If you have a Linux system on the network, get:
  1. WinSCP http://winscp.net/eng/download.php
  2. Putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
If you have a Linux machine on network and/or if you are a power user/developer:
  1. Cygwin http://www.cygwin.com/
  2. Eclipse http://www.eclipse.org/downloads/

Friday, April 2, 2010

Fedora 13 on acer 5740

Recently I had to install F12 on an acer 5740. However, F12 simply failed to installed on that machine. The laptop had the following configuration.

  • Core i3 processor
  • 3 GB RAM
  • Intel graphic media accelerator
  • Broadcom gigabit ethernet (BCM57780)
  • Atheros AR928X wireless chip
F12 always failed in hardware detection stage itself. I started F12 installation with a no probe. However, I did not have a local installation media and I was doing a network installation. Unfortunately, the network card was not recognized by F12. I eventually gave up on the F12 idea and started downloading F13 alpha.

F13 (64 bit) went it just fine. Installation started in the graphical mode. I made a custom installation with about 1700+ packages selected. It took some time to install. But, I did not calculate the exact time for installation. All I remember is that it was not that particularly fast.

After it came up, I faced two issues. One was about the broadcom card. The stock tg3 driver did not recognize the card. I downloaded and installed the driver from broadcom site and it started working.
http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php

The other issue is with cpuspeed daemon. It just crashes my kernel on reboot. Guess, the driver exit is not written properly. But as it crashes only at the reboots (and still reboot works fine), I am really not bothered about it.

Well, the graphic and wireless drivers worked just out of the box. But after an update, it was hanging at the end of boot-up. I changed to runlevel 3. However, X still works if I do a startx