Difference between revisions of "User:Pieper"
From NAMIC Wiki
| Line 69: | Line 69: | ||
[[Slicer:benchmarks|Slicer:benchmarks]] | [[Slicer:benchmarks|Slicer:benchmarks]] | ||
| + | |||
| + | == Wiki backup == | ||
| + | |||
| + | A quick and dirty way of backing up the wiki: | ||
| + | |||
| + | wget -r http://wiki.na-mic.org | ||
| + | |||
| + | as of January 2007, this results in 3.3G. This doesn't preserve the full history or wiki markup, but it's an easy way to get piece of mind. | ||
Revision as of 03:46, 16 January 2007
Steve Pieper of Isomics, Inc., is the Core PI for NAMIC Dissemination and Site PI for the BWH activities in the Engineering Core.
Email: pieper at bwh.harvard.edu
Contents
vim settings
Get to them on windows with
:e $VIM/_vimrc
The values I use for windows are:
" Steve Pieper's VIM preferences
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
"behave mswin
"
behave xterm
set wildmode=longest,list
set clipboard=unnamed
set softtabstop=2
set expandtab
set tabstop=2
set shiftwidth=2
set autoindent
set matchpairs+=<:> " To match arguments of templates
set cinoptions={1s,:0,l1,g0,c0,(0,(s,m1 " ITK/VTK style indenting
set vb
syntax on
" cycle through buffers with control page up/down
map <C-PageDown> :bn
map <C-PageUp> :bp
" delete current buffer with control delete
map <C-Del> :bd
" cycle through tags with control right/left
map <C-Right> :tn
map <C-Left> :tp
cygwin
My windows cygwin.bat (launched by the shortcut). Requires rxvt and tcsh for cygwin. This is better for me because rxvt uses X-style cut and paste (middle mouse to paste) and tcsh can file complete with the drive letter (e.g. c:/Pro<Tab> --> c:/Program\ Files/ which bash won't do).
@echo off C: chdir C:\cygwin\bin set CYGWIN=binmode tty ntsec rxvt -e /bin/tcsh -l REM bash --login -i
Benchmarks
Wiki backup
A quick and dirty way of backing up the wiki:
wget -r http://wiki.na-mic.org
as of January 2007, this results in 3.3G. This doesn't preserve the full history or wiki markup, but it's an easy way to get piece of mind.