Skip to content

Instantly share code, notes, and snippets.

View mattbornski's full-sized avatar

Matt Bornski mattbornski

View GitHub Profile
@paladini
paladini / aws-ec2-redis-cli.md
Last active February 20, 2024 04:05 — forked from todgru/aws-ec2-redis-cli.md
AWS redis-cli without redis server on AWS EC2

Setup redis-cli without the whole Redis Server on AWS EC2

This fast tutorial will teach you how to install redis-clion AWS EC2 without having to install the whole Redis Server. Firstly, SSH into your EC2 instance and run the following command:

$ sudo yum install gcc

This may return an "already installed" message, but that's OK. After that, just run:

$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make && sudo cp src/redis-cli /usr/local/bin/ && sudo chmod 755 /usr/local/bin/redis-cli

@mattbornski
mattbornski / feature_branch.sh
Last active December 19, 2015 14:09
Feature branch workflow
# Create feature branch from development branch
# Let's start from the most up-to-date version
git checkout <develop-branch>
git pull
# And create a feature branch to do our work out of the way
git checkout -b <feature-branch> <develop-branch>
# And use it
git checkout <feature-branch>
# Do work here