Nimal's Weblog

Nimal blogs here


Currently browsing ‘Tech Notes’ Category

VirtualBox can be given higher priority using nice command. Also renice command can be used to change the priority of a running process.

  • Comments Off
  • Filed under: Tech Notes
  • Problem:I'm using grep to search for an error and want to display the surrounding lines also as they contain related information. How to do that? Solution:Using grep -C <# of lines to show above and below> <search> <file> The following prints the matched line, along with the 5 lines surrounding it. $ grep -C 5 [...]

  • 1 Comment
  • Filed under: Tech Notes
  • OpenOffice.org 3.0.1 is out by now and what make this release exciting for me is the new integrated Grammar Checking feature. OpenOffice.org 3.0.1 incrementally improves the grammar checking infrastructure via an API for a grammar checker in the Writer text editor. The previous version 3.0 allowed the LanguageTool extension to provide grammar checking, and version [...]

  • Comments Off
  • Filed under: Tech Notes
  • Custom Search Engine on the fly

    Google has been offering its Custom Search Engine for websites for some time. But until now it required us to generate code for Custom Search Engine specifically for each site giving site URL and other details. Now here is a solution for that, where you can insert Custom Search Engine to your blogs and webpages [...]

  • Comments Off
  • Filed under: Tech Notes
  • Expose 2008 – Technical Festival

    Expose 2008, the annual exhibition organized by E-Club will held on December 4, 5, 6 and 7, at the University of Moratuwa. Expose 2008 is bringing together the industrial personnel, the public and undergraduates from all over the country in a platform of knowledge sharing and recognition. The exhibition consists of events and competitions aimed [...]

  • Comments Off
  • Filed under: Tech Notes, Undergraduate