Skip to content

Instantly share code, notes, and snippets.

@mhermans
Created April 22, 2011 08:06
Show Gist options
  • Save mhermans/936255 to your computer and use it in GitHub Desktop.
Save mhermans/936255 to your computer and use it in GitHub Desktop.
redis examples
SDIFF fullstack stack processed error
[toon missings]
SDIFFSTORE missings fullstack stack processed error
SUNIONSTORE stack stack missings

virtualenv

sudo yum install make gcc python-devel
curl -O https://github.com/pypa/virtualenv/raw/master/virtualenv.py
python virtualenv.py redisenv
. my_redisenv/bin/activate
pip install mechanize BeautifulSoup jellyfish

Install tmux

dl from sourceforge curl -L -O <direct link>
yum install ncurses-devel libevent-dev
make, make install

redis-server | tee -a log.txt

Move repo to webfactional

git clone --bare /home/user/myrepo/.git /tmp/myrepo.git
scp -r /tmp/myrepo.git myserver.com:/opt/git/myrepo.git
git clone myserver.com:/opt/git/myrepo.git

ssh-add key.pem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment