$ brew install pdnsd
$ sudo chown -R nobody /usr/local/var/cache/pdnsd
$ curl -L http://goo.gl/kMlyQ -o pdnsd.conf
$ mv pdnsd.conf /usr/local/etc
$ sudo chown root /usr/local/etc/pdnsd.conf
This file contains 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
Hello World! |
This file contains 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
require 'formula' | |
class TmuxIterm2 < Formula | |
url 'http://iterm2.googlecode.com/files/tmux-for-iTerm2-20120203.tar.gz' | |
sha1 'b0c78e3f142cc735f0518951c04eab947ca7c95b' | |
homepage 'http://code.google.com/p/iterm2/' | |
depends_on 'libevent' | |
def install |
This file contains 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
# microdata breadcrumb helper for twitterbootstrap | |
# http://support.google.com/webmasters/bin/answer.py?hl=ja&answer=176035 | |
# | |
# :example | |
# array = [ | |
# [{:name => name, :url => url },{:name => name :url => url}], | |
# [{:name => name, :url => url },{:name => name :url => url}] | |
# ] | |
# options = {} | |
# |
This file contains 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 | |
### check ostype | |
if [ ! `uname -s` == "Darwin" ]; then | |
echo "ERROR: only works with Mac OS X" >&2 | |
exit 1 | |
fi | |
### check app | |
app="/Applications/Skype.app/Contents/MacOS/Skype" |
This file contains 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
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
# wordless | |
guard :shell do | |
# sass & less | |
watch(%r{^wp-content/themes/(\w+)/theme/assets/(.+)\.(s[ac]ss|less|css)$}){|m| | |
`rm -rf wp-content/themes/#{m[1]}/tmp/* && wordless clean && wordless compile` | |
} |
This file contains 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 | |
#---------------------------------------# | |
# 設定開始 # | |
#---------------------------------------# | |
# インタフェース名定義 | |
LAN=eth0 | |
#---------------------------------------# |
This file contains 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
# frozen_string_literal: true | |
module UserDecorator | |
include PersonDecorator | |
SCHOOL_AGE = [ | |
[ 0, nil, nil, '未就学' ], | |
[ 1, nil, nil, '未就学' ], | |
[ 2, nil, nil, '未就学' ], | |
[ 3, nil, '年少', '未就学' ], |
This file contains 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
ja: | |
admin: | |
actions: | |
import: | |
breadcrumb: インポート | |
bulk_link: インポート | |
done: インポートしました | |
link: インポート | |
menu: インポート | |
title: インポート |
This file contains 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
group :development do | |
## (略) | |
gem 'launchy' # 追加 | |
## (略) | |
end |
OlderNewer