2008-06-01から1ヶ月間の記事一覧
古いブラウザでも確認 Safari3 html:not(:only-child:only-child) SELECTOR { .. } Safari3 body:last-child:not(:root:root) SELECTOR { .. } Firefox2, Firefox3 html:not([lang*=""]) SELECTOR { .. } Firefox2, Firefox3 html:/**/not([lang*=""]) SELEC…
http://neal.venditto.org/articles/12/bir <html> <head> <style> body { position: relative; z-index: 1; } h1 { background: transparent url( image.jpg ) top left no-repeat; height: 40px; width: 400px; } h1 span { position: relative; z-index: -1; } </style> </head> <body> <h1><span>header</span></h1> </body></html>
本文、件名に機種依存文字(語弊があっけど)が含まれてるメールに返信すると、 勝手にutf-8で送ってくれたりしやがるのをやめさせる。Yakitara: NSPreferredMailCharset on Leopard
:e.
uimのvi協調モードが効かないので、例によって力技。 id:oppara:20080602 .vim/after/plugin/general.vim: if !has('gui_running') && has( 'mac' ) inoremap <esc> <esc>:call ForceImToUS()<cr> function! ForceImToUS() let mp = &makeprg let &makeprg = '/path/to/hog</cr></esc></esc>…
なんで :new するんだろ? % diff -uBb GEEK_skeletons.vim.org GEEK_skeletons.vim --- GEEK_skeletons.vim.org 2008-06-13 00:00:00.000000000 +0900 +++ GEEK_skeletons.vim 2008-06-13 00:00:01.000000000 +090 @@ -900,7 +900,7 @@ function s:UseSkele…
<html> <head> <style> div { height: 300px; font-size: 300px; text-align: center; } div img { vertical-align: middle; } </style> <title></title> </head> <body> <div> <img src="hoge.png" width="400" height="200" /> </div> </body> </html> 基本的にIE用 他はfont-sizeで調整ww
% netstat -na | grep LISTEN
hoge.m: #import <Carbon/Carbon.h> int main() { TISInputSourceRef tis = TISCopyCurrentASCIICapableKeyboardInputSource(); TISSelectInputSource(tis); CFRelease(tis); { NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init]; NSDictionary* dic; NSAppleScrip</carbon/carbon.h>…