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 Emacs < Formula | |
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.3a.tar.bz2' | |
md5 'f2cf8dc6f28f8ae59bc695b4ddda339c' | |
homepage 'http://www.gnu.org/software/emacs/' | |
if ARGV.include? "--use-git-head" | |
head 'git://repo.or.cz/emacs.git' | |
else |
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
(defcustom anything-c-source-mac-spotlight2-open-file-extensions | |
'("pdf" "jpg" "gif" "psd" "ai" "png" "mpg" "avi" "mov") | |
"List of file extensions to open by Mac OS X application." | |
:type 'list | |
:group 'anything-c-source-mac-spotlight2) | |
(defvar anything-c-source-mac-spotlight2 | |
'((name . "mdfind") | |
(candidates | |
. (lambda () (start-process "mdfind-process" nil "mdfind" anything-pattern))) |
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
;; dependency: rvm rinari | |
(defadvice rinari-web-server (before rvm-switch-rinari-web-server) | |
(rvm-activate-corresponding-ruby)) | |
(ad-activate 'rinari-web-server) | |
(defadvice rinari-console (before rvm-switch-rinari-console) | |
(rvm-activate-corresponding-ruby)) | |
(ad-activate 'rinari-console) | |
(defadvice run-ruby (before rvm-switch-run-ruby) |
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
(defadvice dropdown-list (around col-highlight-disable-when-execute-dropdown) | |
(progn (toggle-highlight-column-when-idle 0) | |
ad-do-it | |
(toggle-highlight-column-when-idle 1))) | |
(ad-activate 'dropdown-list) |
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
--- show.html.erb.org 2012-07-14 06:22:37.254627009 +0900 | |
+++ show.html.erb 2012-07-14 06:33:37.010631122 +0900 | |
@@ -41,6 +41,7 @@ | |
headers_height = header_heigth | |
show_weeks = false | |
show_days = false | |
+show_day_num = false | |
if @gantt.zoom > 1 | |
show_weeks = true |
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
# -*- coding: utf-8 -*- | |
# Rictyフォントを入れるための手順をまとめた、自分用のRakefileです。 | |
# Ricty http://save.sys.t.u-tokyo.ac.jp/~yusa/fonts/ricty.html | |
# | |
# Rakefileのフォーマット http://www.kyobashi.org/hf/RakeUserGuide/?RakefileFormat | |
# | |
# 2012/11/05 [email protected] | |
# clean/clobberについては http://www2s.biglobe.ne.jp/~idesaku/sss/tech/rake/ | |
require 'rake/clean' |
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 | |
gem install homesick | |
sudo gem install brewdler | |
homesick clone [email protected]:uskanda/unix-rc.git | |
homesick symlink unix-rc | |
homesick clone [email protected]:uskanda/vimrc.git | |
homesick symlink vimrc | |
brew update | |
brew install rbenv ruby-build |