Skip to content

Instantly share code, notes, and snippets.

View cflynn07's full-sized avatar

Casey Flynn cflynn07

View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active October 6, 2024 11:17
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@ihor
ihor / install-rabbitmq-on-amazon-linux.sh
Last active June 22, 2024 15:39
Install RabbitMQ on Amazon Linux
# Modify /etc/yum.repos.d/epel.repo. Under the section marked [epel], change enabled=0 to enabled=1.
sudo yum install erlang --enablerepo=epel
wget http://www.rabbitmq.com/releases/rabbitmq-server/v3.1.1/rabbitmq-server-3.1.1-1.noarch.rpm
sudo rpm -Uvh rabbitmq-server-3.1.1-1.noarch.rpm
# Enable managament plugin
sudo rabbitmq-plugins enable rabbitmq_management
@cflynn07
cflynn07 / DOSetup
Last active December 25, 2015 16:29
#!/usr/bin/env bash
apt-get install git -y
apt-get install curl -y
# install RVM
curl -o rvm.sh -L https://get.rvm.io
chmod +x rvm.sh
./rvm.sh stable
source /etc/profile.d/rvm.sh
@matagus
matagus / rabbitmq.config
Last active January 2, 2018 20:50
a sample rabbitmq config file, tested with RabbitMQ 3.0.2, Erlang R15B01
[
{rabbit, [
{auth_backends, [rabbit_auth_backend_internal]},
{auth_mechanisms, ['PLAIN','AMQPLAIN']},
{backing_queue_module, rabbit_variable_queue},
{cluster_nodes, []},
{collect_statistics, coarse},
{collect_statistics_interval, 5000},
{default_permissions, [<<".*">>,<<".*">>,<<".*">>]},
{default_user, <<"guest">>},
@btfak
btfak / useHexo.md
Created May 26, 2016 09:41
How to use Hexo and deploy to GitHub Pages