Skip to content

Instantly share code, notes, and snippets.

View kana's full-sized avatar

Kana Natsuno kana

View GitHub Profile
@kana
kana / snippet.haml
Created May 17, 2012 10:28
Haml復習中
- def as_home; {href: '#home', data: {role: 'button', icon: 'home'}}; end
- def as_plus; {href: '#plus', data: {role: 'button', icon: 'plus'}}; end
- def as_here; {data: {theme: 'b'}}; end
%div{data: {role: 'footer', id: 'the-footer', position: 'fixed'}}
%div(data-role='navbar')
%ul
%li
%a{as_home} Home
%li
%a{as_plus, as_here} Plus
@kana
kana / hatokura1.txt
Created May 13, 2012 15:29
ハトクラログ(購買力にものを言わせた事例)
[サプライ]
星詠みの魔女、早馬、隠れ家、斥候、
結盟、願いの泉、噂好きの公爵夫人、錬金術師、
城壁、交易船
[ハンドエリミネーション]
あなた:2 枚(農村 3 枚)
CPU1:1 枚(農村 4 枚)
CPU2:1 枚(農村 4 枚)
CPU3:1 枚(農村 4 枚)
[CPU1:継承点重視]
@kana
kana / hatokura.txt
Created May 13, 2012 15:12
ハトクラログ(魅了術がハマって運良く勝った事例)
[サプライ]
貿易商人、斥候、都市開発、城壁、
追い立てられた魔獣、早馬、港町、見習い魔女、
魅了術の魔女、冒険者
[ハンドエリミネーション]
CPU3:1 枚(農村 4 枚)
あなた:1 枚(農村 4 枚)
CPU1:1 枚(農村 4 枚)
CPU2:1 枚(農村 4 枚)
[CPU1:継承点重視]
@kana
kana / memo.md
Created May 3, 2012 18:42
ハートオブクラウン公式サイトのカードリストでの誤表記らしきもの

ハートオブクラウン公式サイトのカードリストでの誤表記らしきもの(2012-05-04T03:38:05+09:00 現在)。

  • 《魔法の護符》
    • 表記: リンクシンボルが「」(空欄)
    • 実物: リンクシンボルが1個ある。
  • 《御用商人》
    • 表記: カードタイプ「行動」
    • 実物: カードタイプ「行動(商人)」
  • 《交易船》
  • 表記: カードタイプ「行動」
@kana
kana / cards.rb
Created May 2, 2012 09:45
yayahatokura実装妄想
card do
name '農村'
cost 1
type :land
subtype nil
link 1
text <<-'END'
1コイン。継承点-2。
END
effect do
@kana
kana / preview-colorscheme.vim
Created April 13, 2012 09:19
A poor man's previewer for Vim's colorscheme
" Usage: :source this file.
let s:file = expand('<sfile>')
function! s:go()
let inData = 0
for line in readfile(s:file)
if inData && line =~# 'xxx'
let name = split(line)[0]
execute printf('syntax match test%s /^%s .*/', name, name)
@kana
kana / session.txt
Created April 7, 2012 03:46
git submodule
$ git --version
git version 1.7.9.1.244.gb0d66b
$ mkdir git-submodule
$ cd ./git-submodule
$ git init
Initialized empty Git repository in /Users/kana/tmp/git-submodule/.git/
@kana
kana / list.asciidoc
Created March 27, 2012 09:28
List of existing implementations of Vim plugin manager
23 vim
20 doll
4 tech
4 i-met
4 engineer
3 who-i-met
3 met
3 g1983ers
2 twizard-magic-list
2 programmer
before :each do
@tmp_dir = create_temporary_directory()
end
after :each do
remove_temporary_directory(@tmp_dir)
end