Skip to content

Instantly share code, notes, and snippets.

View rendon's full-sized avatar
🧑‍🔬
Trying new things out.

Rafael Rendón rendon

🧑‍🔬
Trying new things out.
View GitHub Profile
@rendon
rendon / str.sh
Created May 23, 2014 02:02
Single Test Runner
#!/bin/bash
if [ -z $1 ]
then
echo "USAGE: $0 <test file without extension>";
echo "EXAMPLE: $0 TestQuickSort";
exit 1;
fi
cat > .build <<EOF
@rendon
rendon / vim_7.4_compilation
Last active August 29, 2015 13:56
Instructions to compile Vim 7.4 in Debian with GUI support.
#!/bin/bash
./configure --with-x --with-features=huge --enable-rubyinterp \
--enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config \
--enable-gui=gtk2 --enable-cscope --prefix=/usr --enable-gtk2-check
make VIMRUNTIMEDIR=/usr/share/vim/vim74
sudo make install
#Set vim as your default editor with update-alternatives.