Tuesday, March 27, 2012

Mounting Windows File Systems using Unix

install physical storage device manger:

sudo apt-get install pysdm

Open storage device manger:

sudo pysdm

Choose your required drives
Press assist
Uncheck open as read only
Check owner user of file system and write your username
Press ok and apply
Remount the drive

Note: if you can't change files to binary executables, go to special files and check permit execution of files as binaries, and go to step 7

Source : http://askubuntu.com/questions/90339/how-do-i-set-read-write-permissions-my-hard-drives

Tuesday, March 20, 2012

Thursday, October 20, 2011

vimrc essentials

setlocal spell spelllang=en_us
map <F6> <Esc>:setlocal spell spelllang=en_us<CR>
map <F8> <Esc>:setlocal nospell<CR>

" toggle colored right border after 80 chars
set colorcolumn=81
let s:color_column_old = 0

function! s:ToggleColorColumn()
if s:color_column_old == 0
let s:color_column_old = &colorcolumn
windo let &colorcolumn = 0
else
windo let &colorcolumn=s:color_column_old
let s:color_column_old = 0
endif
endfunction

nnoremap <Leader>8 :call <SID>ToggleColorColumn()<cr>

Tuesday, August 02, 2011

Convert images to pdf

convert -define pdf:use-trimbox=true *.png output.pdf

Saturday, May 22, 2010

Came-back

Just move back in to Google from wordpress for no reason, ok maybe the single sign on can be one reason..

Just to inform, And will work on the visual aspect of the blog also and more importantly will restart the momentum in blogging ...

Wednesday, October 03, 2007

Moving to Wordpress....

See you all in My new blog http://sandakith.wordpress.com/
Thanks
Lahiru Sandakith

Tuesday, May 01, 2007

How To Speed Up Firefox ...


** Type “about:config” into the address bar, look for ...

network.http.pipelining

network.http.proxy.pipelining

network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

** Alter the entries as follows:

Set “network.http.pipelining” to “true”

Set “network.http.proxy.pipelining” to “true”

Set “network.http.pipelining.maxrequests” to some number like 30.

** Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.

If you’re using a broadband connection you’ll load pages MUCH faster now!