thinkiii

Sunday, February 5, 2012

tmux

›
1) switch panes ctrl-b + o 2) scroll back crtl-b + [ to quit scroll mode, press 'q'

tmux.conf

›
set-option -g prefix C-a remap control prefix to ctrl+a
Thursday, December 29, 2011

screenrc

›
startup_message off termcapinfo xterm ti@:te@ defscrollback 5000 #caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= @%H - %LD %d %LM - ...

vimrc

›
set nu syntax on colorscheme evening set cul set hlsearch set ruler set ai set nojoinspaces set formatoptions=qtcor "set foldmethod=mar...

bashrc

›
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # check terminal if [ "$TERM" = "rxvt-u...
Thursday, April 21, 2011

converting hex/decimal/bianry with bash

›
put this functions in the ~/.bashrc # convert a number into decimal format n2d() { perl -e "printf \"%d\n\", $@"...
Friday, October 29, 2010

set default window size and font in gVim

›
click on edit>startup settings to edit the vimrc in windows "set defautl window size set lines=24 set columns=90 "set default f...
Monday, October 4, 2010

google C++ coding style

›
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
Monday, September 27, 2010

gen_ctags

›
# setting WORKDIR=`pwd` # get all file list echo "get all file list" rm ctags.Uranus ctags.utopia 2>/dev/null find $WORKDIR/Ura...
Saturday, September 25, 2010

linux dump stace functions

›
1) dump_stack
‹
›
Home
View web version

About Me

My photo
orca
View my complete profile
Powered by Blogger.