This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg pull && | |
hg update | |
make distclean && | |
make clean && | |
./configure --prefix=/usr/local/Cellar/vim/7.4 --enable-rubyinterp --enable-multibyte --with-features=huge && | |
make && | |
make install # STRIP=/usr/bin/true # Was needed before because any ":rubydo" turns in segfault | |
# when not linked in brew, only the first time do after install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##find text 'test' il all '.txt' file recursively from current dir | |
#maybe ack do this like "cd to/the/dir ; ack --text test" | |
#example: grepall test txt | |
function grepall() { | |
echo "find text '$1'"; | |
echo "In files << $2 >>"; | |
grep -ni "$1" **/*.$2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Rehearsal --------------------------------------- | |
#old 3.360000 0.000000 3.360000 ( 3.364614) | |
#new 4.790000 0.000000 4.790000 ( 4.787060) | |
#------------------------------ total: 8.150000sec | |
# | |
# user system total real | |
#old 3.380000 0.000000 3.380000 ( 3.376807) | |
#new 4.680000 0.000000 4.680000 ( 4.677751) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Rehearsal --------------------------------------- | |
#old 4.600000 0.060000 4.660000 ( 4.653225) | |
#new 0.280000 0.000000 0.280000 ( 0.283112) | |
#------------------------------ total: 4.940000sec | |
# | |
# user system total real | |
#old 4.620000 0.070000 4.690000 ( 4.688474) | |
#new 0.280000 0.000000 0.280000 ( 0.283607) | |