Skip to content

Instantly share code, notes, and snippets.

@k-motoyan
k-motoyan / barkeep_install.sh
Last active December 16, 2015 09:18
BarkeepのCentOS用インストールスクリプト
#!/bin/bash
#
# centOS 6.3 x86_64を対象に動作します。
#
# yumリポジトリのアップデート
yum -y update
# 通常のyumリポジトリを参照する必要モジュールのインストール
@k-motoyan
k-motoyan / getQueryString.js
Created April 6, 2013 06:45
javascriptでquery stringを連想配列で取得する関数
var getQueryString = function(option) {
var delimiter;
if (!option || !option.hasOwnProperty('delimiter')) {
delimiter = '&';
} else {
delimiter = option.delimiter;
}
var slice_point = window.location.href.indexOf('?');
if (slice_point < 0) {