Skip to content

Instantly share code, notes, and snippets.

baibaluo

Block or report user

Report or block baibaluo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View redis-server
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis/redis.pid
@jpfuentes2
jpfuentes2 / rbenv-install-system-wide.sh
Created Mar 8, 2012 — forked from lexusnexus/rbenv-install-system-wide.sh
CentOS: rbenv install and system wide install
View rbenv-install-system-wide.sh
#!/bin/bash
# CentOS rbenv system wide installation script
# Forked from https://gist.github.com/1237417
# Installs rbenv system wide on CentOS 5/6, also allows single user installs.
# Install pre-requirements
yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \
make bzip2 autoconf automake libtool bison iconv-devel git-core
@jterrace
jterrace / shaper.sh
Created Feb 23, 2012
A utility script for traffic shaping with tc
View shaper.sh
#!/bin/bash
#
# shaper.sh
# ---------
# A utility script for traffic shaping using tc
#
# Usage
# -----
# shape.sh start - starts the shaper
# shape.sh stop - stops the shaper
You can’t perform that action at this time.