Skip to content

Instantly share code, notes, and snippets.

View bluebycode's full-sized avatar
👋

Álvaro López bluebycode

👋
View GitHub Profile
@bluebycode
bluebycode / git_working_subtrees.txt
Created March 30, 2016 10:02
Working with desired subtrees on git (sparse-checkout)
# Initialize
# Go project folder (empty) and initialize as git
git init
# Fetch tree
git remote add -f origin http://github.com/vrandkode/scratch.git
# Enable sparse-checkout and configure by listing your desired sub-trees
git config core.sparsecheckout true
echo "path/to/dir" >> .git/info/sparse-checkout
@bluebycode
bluebycode / redis_installation.txt
Last active April 8, 2016 15:39
Installing Redis 3.0.7 in Centos 6.x
$ sudo yum group install "Development Tools" -y \
sudo yum install tcl
$ wget http://download.redis.io/releases/redis-3.0.7.tar.gz
$ tar -xvf redis-3.0.7.tar.gz
$ cd redis-3.0.7/deps
$ make hiredis lua jemalloc linenoise
$ cd ../src
$ make && make test
$ sudo make install