Skip to content

Instantly share code, notes, and snippets.

View Songmu's full-sized avatar

Masayuki Matsuki Songmu

View GitHub Profile
$ perl installed2cpanfile > cpanfile
$ cpanm --installdeps .
@shimiu
shimiu / GitkeepMaker.cs
Last active January 31, 2024 00:19
Unity Editorで新規フォルダが作られたときに自動で.gitkeepを作成する。 Editorフォルダに入れて使う。 プロジェクトルートに.gitフォルダが無かったらスルー。
using UnityEditor;
using UnityEngine;
using System.Collections;
using System.IO;
/// <summary>
/// 新規フォルダ作成時に.gitkeepを自動作成
/// </summary>
public class GitkeepMaker : AssetPostprocessor
{
@nazoking
nazoking / gist:1173662
Created August 26, 2011 15:27
stone 起動スクリプト(cent os)
#!/bin/bash
# /etc/init.d/stone として保存する。
# 設定ファイルは /etc/stone.conf
. /etc/rc.d/init.d/functions
if [ -f /etc/sysconfig/stone ]; then
. /etc/sysconfig/stone
fi
@bobpp
bobpp / com.github.mxcl.homebrew.daemontools.plist
Created February 13, 2011 06:47
daemontools at Mac OS X homebrew
<?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>