I hereby claim:
- I am solar on github.
- I am solar_ray (https://keybase.io/solar_ray) on keybase.
- I have a public key whose fingerprint is 665A 3AAC 802D 1990 FD7B C93F 147A 9EFB 5997 72D9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
MYDIR=$(dirname $0) | |
STATFILE=$MYDIR/command.pid | |
COMMAND_MARK="myprocess.jar" | |
MEMORY_OPTIONS="-Xms32m -Xmx256m" | |
MISC_OPTIONS="-Djava.awt.headless=true" | |
LOG_FILE=console.log |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url("https://insprout.hipchat.com/chat") { | |
.aui-navgroup-vertical li.aui-nav-heading { | |
padding-top: 5px; | |
padding-bottom: 5px; | |
} | |
#hipchat .hc-tab a.aui-nav-item { | |
font-size: 12px; | |
padding-top: 4px; |
// ==UserScript== | |
// @name trade_helper | |
// @namespace sazabi.org | |
// @include http://*.3gokushi.jp/card/deck.php* | |
// @version 1 | |
// @require http://zeptojs.com/zepto.min.js | |
// @require https://raw.githubusercontent.com/madrobby/zepto/master/src/selector.js | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name unset_card_from_deck | |
// @namespace sazabi.org | |
// @include http://*.3gokushi.jp/card/deck.php* | |
// @version 1.0 | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
(function() { |
# Configurations for haproxy | |
global | |
maxconn 4096 | |
chroot /var/haproxy | |
user haproxy | |
group haproxy | |
log 127.0.0.1 local0 alert |
#!/bin/sh | |
version="1.4.15" | |
priority="10415" | |
libevent="/usr/local/libevent/2.0.20-stable/" | |
supervisordir="/etc/supervisord.d" | |
# create user | |
sudo groupadd memcached | |
sudo useradd -r -g memcached -s /sbin/nologin -M -d /var/run/memcached memcached |
#!/usr/local/bin/zsh | |
# epel | |
curl -sLO http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-7.noarch.rpm | |
sudo rpm -ivh epel-release-6-7.noarch.rpm | |
rm epel-release-6-7.noarch.rpm | |
# edit /etc/yum.repod.d/epel.repo to set enable=0 | |
# install GeoIP-devel | |
sudo yum --enablerepo=epel -y install GeoIP-devel |
sudo cp ./nginx.repo /etc/yum.repod.d/ | |
sudo yum install nginx | |
sudo chkconfig nginx off | |
# add 'daemon off' to /etc/nginx/nginx.conf | |
sudo cp ./nginx.ini /etc/supervisord.d/ | |
sudo supervisorctl add nginx |