- エビ
- カニ
- ウニ
- アワビ
- カキ
- 白子
- あん肝
- サザエ
- レバー
- 火の通ったイカ
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 | |
| #+----------------------------------------------------------------------------------------+ | |
| # キーバインド | |
| #+----------------------------------------------------------------------------------------+ | |
| #プレフィックスキーを設定 | |
| unbind-key C-b | |
| set-option -g prefix C-z | |
| bind-key C-z send-prefix |
http://konboi.hatenablog.com/entry/2013/07/15/155232
sudo yum install -y SDL-devel a52dec a52dec-devel alsa-lib-devel faac faac-devel faad2 faad2-devel
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
| require 'benchmark' | |
| require "pp" | |
| require 'libcdb' | |
| require 'memcached' | |
| require 'redis' | |
| require 'hiredis' | |
| require 'leveldb' | |
| CDB_FILE = "test1.cdb" |
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
| use 5.012; | |
| sub my_push { | |
| my $list_ref = shift; | |
| my $item = shift; | |
| push @$list_ref, $item; | |
| } | |
| my @orig = (1,2,3); | |
| my_push \@orig, 10; |
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
| # -*- coding: utf-8 -*- | |
| module HashExtensions | |
| refine Hash do | |
| def method_missing(name, *args) | |
| self[name] || self[name.to_s] || super | |
| end | |
| end | |
| end | |
| using HashExtensions # 匿名モジュール内じゃないとusingできない |
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
| class Hash | |
| def method_missing(name, *args) | |
| self[name] || self[name.to_s] || super | |
| end | |
| end | |
| hash = {a: "hoge"} | |
| p hash.a |
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
| # -*- coding: utf-8 -*- | |
| module HashExtensions | |
| refine Hash do | |
| def method_missing(name, *args) | |
| self[name] || self[name.to_s] || super | |
| end | |
| end | |
| end | |
| using HashExtensions # 匿名モジュール内じゃないとusingできない |
NewerOlder