This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Mackerel Graph Builder</title> | |
<script src="https://cdn.jsdelivr.net/lodash/4.13.1/lodash.min.js"></script> | |
<script type="text/javascript"> | |
var $ = function(id) { | |
return document.getElementById(id) | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# plenvを自動的に入れてくれるやつです | |
set -e | |
if [[ $(which plenv 2> /dev/null) ]]; then | |
echo 'plenv already installed.' | |
elif [[ ! $(which git) ]]; then | |
echo 'git is not installed!!!!!!!' | |
exit 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
using System.Collections; | |
using System.IO; | |
/// <summary> | |
/// 新規フォルダ作成時に.gitkeepを自動作成 | |
/// </summary> | |
public class GitkeepMaker : AssetPostprocessor | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
public class BuildBatch : MonoBehaviour { | |
// build iOS app | |
private static void BuildiOS(){ | |
Debug.Log("/////////// build start ///////////"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use feature 'say'; | |
use AE; | |
use AnyEvent::IRC::Server; | |
use AnyEvent::IRC::Util; | |
use Getopt::Long; | |
use Yancha::Client; | |
use LWP::UserAgent; | |
use AnyEvent::IRC::Client; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.github.mxcl.homebrew.daemontools</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/svscanboot</string> | |
</array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# apache,fluent-plugin-s2が依存するパッケージをインストール | |
yum -y install httpd.x86_64 \ | |
libxml2-devel.x86_64 libxslt-devel.x86_64 | |
# td-agent 用のリポジトリを登録 | |
cat <<_EOT_ 1>/etc/yum.repos.d/td.repo | |
[treasuredata] | |
name=TreasureData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# /etc/init.d/stone として保存する。 | |
# 設定ファイルは /etc/stone.conf | |
# chkconfig: 345 98 02 | |
# description: stone | |
. /etc/rc.d/init.d/functions | |
if [ -f /etc/sysconfig/stone ]; then |