Antigen遅そうだしあんまり使ってないので該当行削除した
$ time (source ~/.zshrc)
( source ~/.zshrc; ) 0.32s user 0.16s system 94% cpu 0.509 total
# 以下削除
----------------------------------------
source ~/.zsh/antigen/antigen.zsh
antigen-bundle bundler
sed -i -e 's/font = "Lucida Grande 14"/font = "Lucida Grande 14"\ | |
font_name = "Ricty 15"/' /Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/Current/etc/gtk-2.0/gtkrc |
cd /tmp | |
wget https://uim.googlecode.com/files/uim-1.8.4.tar.gz | |
cd uim-1.8.4 | |
export CFLAGS='-g -O0' | |
export CXXFLAGS=$CFLAGS | |
export PATH=$BREW_HOME/opt/gettext/bin:$PATH | |
./configure --prefix=$(brew --prefix)/Cellar/uim/1.8.4 --without-x | |
make | |
make install |
wget http://openlab.ring.gr.jp/skk/maintrunk/ddskk-15.1.tar.gz | |
tar xvf ddskk-15.1.tar.gz | |
cd ddskk-15.1 | |
echo '(setq SKK_DATADIR "~/.emacs.d/etc/skk")' >> SKK-CFG | |
echo '(setq SKK_INFODIR "~/.emacs.d/info")' >> SKK-CFG | |
echo '(setq SKK_LISPDIR "~/.emacs.d/elisp/skk")' >> SKK-CFG | |
echo '(setq SKK_SET_JISYO t)' >> SKK-CFG | |
make install EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs |
$ brew install leiningen | |
$ lein repl |
package main | |
// CLIENT_ID=<your client id> go run resolve_soundcloud.go <soundcloud url> | |
import ( | |
"encoding/json" | |
"errors" | |
"fmt" | |
"log" | |
"net/http" |
// for dotjs | |
// ~/.js/b.hatena.ne.jp.js | |
(function move_to_original_page() { | |
if ($('#highlighted-bookmark').size() > 0) { | |
location.href = $('#head-entry-link').attr('href'); | |
return; | |
} | |
setTimeout(function() { |
# 何回考えてもstrong_parameter(https://github.com/rails/strong_parameters) がやってることをcontrollerでやるの間違ってると思う。 | |
# modelが何を許可するかmodelが考えれば良い気がする。 | |
# こんなやつ作りたい感じする | |
# Model | |
class Book < ActiveRecord::Base | |
default_operator(:member) | |
operator(:admin).accept_attributes(:name, :email, :password) | |
operator(:member).accept_attributes(:name) |
#!/usr/bin/env ruby | |
require 'optparse' | |
require 'fileutils' | |
require 'open-uri' | |
require 'nokogiri' | |
# = Options = | |
options = {} |
ack | |
android-sdk | |
apple-gcc42 | |
appledoc | |
atk | |
autoconf | |
autojump | |
automake | |
bazaar | |
bdw-gc |
Antigen遅そうだしあんまり使ってないので該当行削除した
$ time (source ~/.zshrc)
( source ~/.zshrc; ) 0.32s user 0.16s system 94% cpu 0.509 total
# 以下削除
----------------------------------------
source ~/.zsh/antigen/antigen.zsh
antigen-bundle bundler