==============================================================
 ╔═╗    ╔╦╗      ╔═╗  ╔╦╗     ╔═╗                   ╔═══════╗
 ║ ║    ╚╩╝  ╔═══╝ ╚══╩╬╝ ╔═══╝ ╚═══╗  ╔════════╗  ╔╝ ╔═══╗ ║
 ║ ╚══════╗  ╚═══╗ ╔═══╝  ║ ╔═════╗ ║  ║ ╔════╗ ║  ║ ╔╝  ╔╝ ║
 ║ ╔══════╝  ╔═╗ ║ ║ ╔═╗  ╚═╝   ╔═╝ ║  ║ ║    ║ ║  ╚═╝  ╔╝ ╔╝
 ║ ╚══════╗  ║ ║ ║ ║ ║ ║     ╔══╝ ╔═╝  ║ ╚════╝ ║     ╔═╝ ╔╝
 ╚════════╝  ╚═╝ ╚═╝ ╚═╝     ╚════╝    ╚════════╝     ╚═══╝
==============================================================


== INDEX ==

## Mac ## * restart menu bar * F8~12 have error (Mission Control) * nfs mount server * multistage ssh * change Google Chrome font * change icons * permit ssh with X window * restart ssh daemon * enable super user * terminal color dark * download Xcode Command Line Tools * private file of Karabiner (KeyRemap4MacBook) * hide Application Dock icon * remove MobileBackups * time sync on Marvericks * change local hostname * input combining charactor * image cropping by terminal * check registered printer IP * right click drag in touch pad * back to page from address bar (Google Chrome) * UNIX_TIME <-> time conversion * install LATEX by Homebrew ## Linux ## * authorized_keys * check the version of RedHat * install sshd by apt get * add sudo user * Lunar Linux virtio setting * set Emacs key bind * hide desktop icons ## Zsh ## * zshall * conditional expressions * Globbing Flags * Glob Qualifiers * Parameter Expansion Flags * error at complementation (Tab key) ## Git ## * add submodule * rm submodule * update submodule * replace submodule * change submodule position * add new repository on GitHub * clone new repository from GitHub * conflict error * do not open editor at merge * install git under home * check tracked files * recover removed file * rebase brew Formula * add new repository to private git server * remove file from all history * download tag from remote repository * change remote repository URL ## Vim ## * install vim with lua under HOME dir (Linux) * install vim with luajit instead of lua (Linux) * install vim with lua by homebrew (Mac) * install vim with luajit instead of lua (Mac) * install vim with python under HOME dir (Linux) * start without X server * modeline ## Tmux ## * install tmux under HOME dir * use clip board (Mac) * press Esc key immediately * show only 1 pane temporary ## Geant4 ## * install geant4 (Mac) * cmake src with ROOT * install VRML (Mac) * cmake error about ROOT * suppress G4ParticleGun messages * set filter for trajectries in macro ## ROOT ## * install ROOT with cocoa * change default setting * install ROOT with cocoa by homebrew * upgrade error on homebrew * change print size * change X range of TGrap * TText TLatex * change TStyle for some part * set file name for output in macro ## Homebrew ## * update error because of git * permission error ## Other ## * set htaccess on HP * rsync error for large size file * Gmail search option * atan2 (C language) * KEKCC batch queue back

## Vim ###############################

* install vim with lua under HOME dir (Linux) +---------------------------------------------------------------------------+ | $ ./configure --prefix=/home/ekawa/local --enable-multibyte \ | | --enable-xim --enable-fontset --enable-rubyinterp --enable-perlinterp \ | | --enable-pythoninterp --with-features=huge --disable-selinux \ | | --enable-luainterp@ --with-lua-prefix=/home/ekawa/local@ | +---------------------------------------------------------------------------+ NOTE : if retry configure after failure, remove cache +----------------------------+ | $ rm src/auto/config.cache | +----------------------------+ % install lua under HOME dir edit <lua_src_dir>/Makefile +--------------------------+ | INSTALL_TOP=<local_dir>@ | +--------------------------+ edit <lua_src_dir>/src/luaconf.h +-----------------------------------+ | #define@ LUA_ROOT@ "<local_dir>"@ | +-----------------------------------+ +------------------------------+ | $ make linux && make install | +------------------------------+ at <lua_src_dir> * install vim with luajit instead of lua (Linux) +------------------------------------------------------------------------------------+ | $ ./configure --prefix=/home/ekawa/local --enable-multibyte --enable-xim \ | | --enable-fontset --enable-rubyinterp --enable-perlinterp --enable-pythoninterp \ | | --with-features=huge --disable-selinux --enable-luainterp@ \ | | --with-lua-prefix=/home/ekawa/local@ --with-luajit@ | +------------------------------------------------------------------------------------+ % install luajit under HOME dir edit /home/ekawa/local/<luajit_src_dir>/Makefile +----------------------------------+ |^export PREFIX= /home/ekawa/local^| +----------------------------------+ +------------------------+ | $ make && make install | +------------------------+ NOTE : export LD_LIBRARY_PATH=/home/ekawa/local/lib check  :lua print(jit.version) * install vim with lua by homebrew (Mac) +------------------------------------+ | $ brew install -f@ vim --with-lua@ | +------------------------------------+ NOTE : install lua before vim +--------------------+ | $ brew install lua | +--------------------+ * install vim with luajit instead of lua (Mac) edit /usr/local/Library/Formula/vim.rb +-----------------+ | $ brew edit vim | +-----------------+ +------------------------------------------------------+ | system "./configure", "--prefix=#{HOMEBREW_PREFIX}", | | "--mandir=#{man}", | | "--enable-gui=no", | | "--without-x", | | "--enable-multibyte", | | "--with-tlib=ncurses", | | "--enable-cscope", | | "--with-features=huge", | | "--with-luajit",@ | | "--with-compiledby=Homebrew", | +------------------------------------------------------+ +--------------+ | $ git commit | +--------------+ at /usr/local/Library/Formula  +------------------------------------+ | $ brew install -f@ vim --with-lua@ | +------------------------------------+ check  :lua print(jit.version) NOTE : install luajit before vim +-----------------------+ | $ brew install luajit | +-----------------------+ * install vim with python under HOME dir (Linux) +-----------------------------------------------------------------------+ | $ ./configure CPPFLAGS=-I/home/ekawa/local/include/python2.7@ \ | | LDFLAGS=-L/home/ekawa/local/lib/python2.7@ --enable-pythoninterp@ \ | | --with-python-config-dir=/home/ekawa/local/lib/python2.7/config@ \ | | --prefix=/home/ekawa/local .... | +-----------------------------------------------------------------------+ NOTE : I succeeded this by using python2.7-2.7.5 * start without X server +----------+ | $ vim -X | +----------+ same as set clipboard=exclude:.* in .vimrc NOTE : start time become shorter if no need to use clipboard * modeline [text]{white}{vi:|vim:|ex:}[white]{options} e.g.  vi:noai:sw=3 ts=6 [text]{white}{vi:|vim:|ex:}[white]se[t] {options}:[text] e.g.  /* vim: set ai tw=75: */