thinkiii
Thursday, February 23, 2012
dump a binary into a single line of hex
›
xxd -p [binary] |tr -d '\n
Sunday, February 5, 2012
uboot - set up memory tags
›
arch/arm/lib/bootm.c setup_memory_tags
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
‹
›
Home
View web version