daitokaiet で遊びたいので fork and clone からの bundle install をきめた。
local で、Postgres93.app を立ち上げておいて
bundle exec rake db:create:all
bundle exec rake db:migrate RAILS_ENV=development
checking dynamic linker characteristics... GNU/Linux ld.so | |
checking how to hardcode library paths into programs... immediate | |
checking for shl_load... no | |
checking for shl_load in -ldld... no | |
checking for dlopen... no | |
checking for dlopen in -ldl... yes | |
checking whether a program can dlopen itself... yes | |
checking whether a statically linked program can dlopen itself... no | |
checking whether stripping libraries is possible... yes | |
checking if libtool supports shared libraries... yes |
javascript:window.location='yorufukurou://pasteurl/'+encodeURIComponent(document.title+'%20'+window.location); |
;; | |
;; for migemo -- migemo 最高 | |
;; | |
(if (equal (call-process-shell-command "which cmigemo" nil t) 0) | |
(progn | |
(require 'migemo) | |
;; (load "migemo.el") | |
;; (setq migemo-use-pattern-alist t) | |
;; (setq migemo-use-frequent-pattern-alist t) | |
(setq migemo-command "cmigemo") |
;; org-mac-link.el (contrib/ にある) | |
;; M-x omlg-grab-link でいろいろできます。 | |
(require 'org-mac-link) | |
(add-hook 'org-mode-hook (lambda () | |
(define-key org-mode-map (kbd "C-c ol") 'org-mac-grab-link))) |
function vagrant-plugin-reinstall-all { | |
for p in `vagrant plugin list|egrep '.+\s\(.+\)$'|awk '{print $1}'` | |
do | |
echo "Reinstall the '${p}' plugin started." | |
vagrant plugin uninstall $p | |
vagrant plugin install $p | |
done | |
} |
npm http 404 https://registry.npmjs.org/http-server/-/http-server-0.6.1.tgz | |
npm ERR! fetch failed https://registry.npmjs.org/http-server/-/http-server-0.6.1.tgz | |
npm ERR! Error: 404 Not Found | |
npm ERR! at WriteStream.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/fetch.js:57:12) | |
npm ERR! at WriteStream.EventEmitter.emit (events.js:117:20) | |
npm ERR! at fs.js:1596:14 | |
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:103:5 | |
npm ERR! at Object.oncomplete (fs.js:107:15) | |
npm ERR! If you need help, you may report this log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> |
org-mac-link-grabber.el (contrib/ にある) が、 org-mac-link.el に変わっていた。
(require 'org-mac-link-grabber)
(global-set-key (kbd "C-c ol") 'omlg-grab-link)
を
(require 'org-mac-link)
for window in `tmux list-windows -F '#I'`; do | |
tmux select-window -t $window | |
tmux send-keys "source ~/.zshrc" C-m | |
done |