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
#import <Foundation/Foundation.h> | |
/*! | |
@header | |
@abstract NSInvocationを使ってメッセージ送信するサンプル | |
@disucussion Cocoaじゃないと動かないと思います | |
*/ | |
@interface TestObj : NSObject | |
- (void)run; | |
- (BOOL)foo:(BOOL)value; | |
@end |
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
REVISION=$(svn info 2> /dev/null | grep Revision | sed -e 's/Revision: //') | |
if [ -z ${REVISION} ]; then | |
REVISION=$(git svn info 2> /dev/null | grep Revision | sed -e 's/Revision: //') | |
fi | |
if [ -z ${REVISION} ]; then | |
REVISION="no rev" | |
fi | |
cat<<EOH>Environment.h | |
#import <Foundation/Foundation.h> | |
#define REVISION @"${REVISION}" |
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
autoload colors | |
colors | |
UID_COLOR=${fg[green]} | |
case ${UID} in | |
0) | |
UID_COLOR=${fg[red]} | |
;; | |
*) | |
;; |
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
[auto-props] | |
Localizable.strings = svn:mime-type=text/plain;charset=UTF-16 |
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
#!/usr/bin/env ruby | |
require 'pp' | |
require 'optparse' | |
require 'net/http' | |
require 'json' | |
Version=0.5 | |
class User | |
attr_accessor :atnd_name, :is_regular |
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
startup_message off | |
shell /bin/zsh | |
caption always "%{= wk} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wb}%y/%m/%d(%D) %{=b wb}%c" |
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
#ifdef DEBUG | |
extern void _objc_autoreleasePoolPrint(); | |
#define _objc_autoreleasePoolPrint() _objc_autoreleasePoolPrint() | |
#define __BASENAME__ (strrchr(__FILE__, '/') + 1) | |
/*! | |
@define | |
@abstract デバッグ時のみ出力されるログ | |
@param 第一引数はフォーマット文字列、以降可変引数 | |
*/ | |
#define LOG(...) \ |
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
set-option -g default-shell /bin/zsh | |
set-window-option -g mode-keys emacs |
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
CFLAGS="-O2 -pipe" | |
CXXFLAGS="${CFLAGS}" | |
CHOST="x86_64-pc-linux-gnu" | |
USE="mmx sse sse2" | |
USE="$USE bash-completion zsh-completion vim-syntax" | |
USE="$USE git" | |
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" |
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
Host *.rackbox.net | |
IdentityFile ~/.ssh/id_rsa.rackhub |
OlderNewer