参考:How To: Setup DBD::Oracle in Ubuntu « ZenHat
# apt-get install cpanminus
cat <<EOF >> ~/.bashrc
public class Ring extends HBox { | |
/** | |
* リングを見守る監視カメラ | |
*/ | |
private MuscleSensor sensor = MuscleSensor.instance(); | |
/** | |
* 選手入場口 | |
*/ |
(require 'quickrun) | |
;; 事前に公開鍵登録とかいろいろして | |
;; パスフレーズ無しの ssh ログインを可能にしておく | |
(quickrun-add-command "php-for-remote" | |
'((:command . "ssh remote-sv 'php'") | |
(:exec . ("%c < %s")) | |
(:compile-only . "%c -l < %s") ;; syntax check | |
(:description . "Run PHP script"))) |
(:name term-plus-el | |
:description "term-mode enhancement" | |
:type github | |
:pkgname "tarao/term-plus-el" | |
:build `(("git" "submodule" "update" "--init") | |
("make" ,(format "EMACS=%s" el-get-emacs) "compile")) | |
:post-init (let ((libdir (concat (el-get-package-directory "term-plus-el") "/lib"))) | |
(add-to-list 'load-path libdir) | |
(add-to-list 'load-path (concat libdir "/anything-config/extensions")) | |
(load-library "subdirs.el") |
(defun yamada-compile-file (filename &optional load) | |
(interactive | |
(let ((file buffer-file-name) | |
(file-name nil) | |
(file-dir nil)) | |
(and file | |
(derived-mode-p 'emacs-lisp-mode) | |
(setq file-name (file-name-nondirectory file) | |
file-dir (file-name-directory file))) | |
(list (read-file-name (if current-prefix-arg |
$ export HOMEBREW_LIB="$HOME/.homebrew/lib" | |
$ export HOMEBREW_ETC="$HOME/.homebrew/etc" | |
$ brew install libusb --universal | |
$ brew install https://raw.github.com/totakke/openni-formula/master/openni.rb --devel | |
$ sudo mkdir -p /var/lib/ni | |
$ sudo niReg $HOMEBREW_LIB/libnimMockNodes.dylib | |
$ sudo niReg $HOMEBREW_LIB/libnimCodecs.dylib | |
$ sudo niReg $HOMEBREW_LIB/libnimRecorder.dylib |
source :rubygems | |
gem 'sinatra' | |
gem 'thin' | |
gem 'haml' | |
gem 'shotgun', :group => 'development' |
参考:How To: Setup DBD::Oracle in Ubuntu « ZenHat
# apt-get install cpanminus
cat <<EOF >> ~/.bashrc
QA@IT にもマルチポストしてみたところ、期待通りの動きするコードを教えていただきました。感謝! | |
http://qa.atmarkit.co.jp/q/2317 |
;;; oh-my-project | |
;; | |
;; MAHALO License (based on MIT License) | |
;; | |
;; Copyright (c) 2012 Wataru MIYAGUNI (gonngo _at_ gmail.com) | |
;; | |
;; Permission is hereby granted, free of charge, to any person obtaining a copy | |
;; of this software and associated documentation files (the "Software"), to deal | |
;; in the Software without restriction, including without limitation the rights | |
;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
require 'rubygems' | |
require 'capybara/rspec' | |
Capybara.current_driver = :selenium | |
Capybara.app_host = 'http://www.google.com' | |
Capybara.run_server = false | |
include Capybara::DSL | |
describe "Capybara/RSpec matchers" do |