Skip to content

Instantly share code, notes, and snippets.

@s-yukikaze
s-yukikaze / uint64.vim
Created March 16, 2012 09:02
64bit unsigned integer implementation@vim script
function! uint64#unit()
let a = copy(s:UInt64).init(0x1234,0x56789ABC)
let b = copy(s:UInt64).init(0x8765,0x43210FED)
let c = a.add(b)
echo printf("%x%x", c._high, c._low)
let d = b.sub(a)
echo printf("%x%x", d._high, d._low)
let e = a.mul(b)
echo printf("%x%x", e._high, e._low)
endfunction
@kmiyashiro
kmiyashiro / layout2.jade
Created August 11, 2011 18:50 — forked from monokrome/layout2.jade
HTML5 Boilerplate Conditional comments in Jade
!!! 5
//if lt IE 7
html(class="no-js ie6 oldie", lang="en")
//if IE 7
html(class="no-js ie7 oldie", lang="en")
//if IE 8
html(class="no-js ie8 oldie", lang="en")
// [if gt IE 8] <!
html(class="no-js", lang="en")
// <![endif]