Skip to content

Instantly share code, notes, and snippets.

View cflynn07's full-sized avatar

Casey Flynn cflynn07

View GitHub Profile
@btfak
btfak / useHexo.md
Created May 26, 2016 09:41
How to use Hexo and deploy to GitHub Pages
View useHexo.md
@matagus
matagus / rabbitmq.config
Last active January 2, 2018 20:50
a sample rabbitmq config file, tested with RabbitMQ 3.0.2, Erlang R15B01
View rabbitmq.config
[
{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">>},
@cflynn07
cflynn07 / DOSetup
Last active December 25, 2015 16:29
View DOSetup
#!/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
@ihor
ihor / install-rabbitmq-on-amazon-linux.sh
Last active March 11, 2021 08:55
Install RabbitMQ on Amazon Linux
View install-rabbitmq-on-amazon-linux.sh
# 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
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active March 2, 2024 11:02
tmux shortcuts & cheatsheet
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname