公式通りにインストールすればよいが、カーネルイメージが壊れているのか正しく起動できないので、今回は別のカーネルを使ってみた。(rootfsのイメージは公式のものでOK。)
以下SDカードを /dev/sdb
# fdisk /dev/sdb
/dev/sdb1 : 128MB, type 0e, アクティブフラグ
/dev/sdb2 : 残り, type Linux
でパーティションを作成。
公式通りにインストールすればよいが、カーネルイメージが壊れているのか正しく起動できないので、今回は別のカーネルを使ってみた。(rootfsのイメージは公式のものでOK。)
以下SDカードを /dev/sdb
# fdisk /dev/sdb
/dev/sdb1 : 128MB, type 0e, アクティブフラグ
/dev/sdb2 : 残り, type Linux
でパーティションを作成。
4/6のお昼、申し込みを4回くらいポチポチしちゃったけど大丈夫かな... って思ったら、2台契約されていました…
参考にしたソースは次
ソース1の冒頭を見ながら、CentOSの設定をメモる。
クライアント(Webブラウザ)側とサーバー側両方のJavaScriptについて。
c.f. ECMAScript 5
c.f. bundle installするときはpathを指定しよう | FIRN.JP
プロジェクト用のディレクトリを作成して
[~] $ mkdir hogeproj
[~] $ cd hogeproj
Gemfileを編集
# pacman -Sy texlive-core texlive-langcjk
c.f. [Arch Linux]TeX Liveで日本語(ptex/platex) | mitsuse.logmktexlsr
$ platex -interaction=nonstopmode hoge.tex
$ dvipdfmx -f ptex-noEmbed.map -f utf-noEmbed.map -f otf-noEmbed.map hoge.dvi
updmap
でMapファイルを更新Cocoa(iOS)はMVVC(Model-View-ViewController)パターンである。by me, 2011
ここで述べるターゲットはiOS5, Lion以降, ARC
-(void)testRect | |
{ | |
CGRect r = CGRectMake(1.222, 1.3333, 1, 1.000); | |
NSLog(@"%@", NSStringFromCGRect(r)); | |
NSLog(@"%@", NSStringFromCGRect(CGRectIntegral(r))); | |
NSLog(@"%@", NSStringFromCGRect(CGRectMake(floorf(r.origin.x), floorf(r.origin.y), floorf(r.size.width), floorf(r.size.height)))); | |
NSLog(@"%@", NSStringFromCGRect(CGRectMake(ceilf(r.origin.x), ceilf(r.origin.y), ceilf(r.size.width), ceilf(r.size.height)))); | |
STAssertTrue(CGRectEqualToRect(r, CGRectIntegral(r)), nil, nil); | |
} |
typedef void* StringRef; | |
StringRef StringCreateWithCString(const char* cstr); // Stringを作成 | |
StringRef StringCreateFromFile(const char* path); // ファイルから作成 | |
int StringGetLength(StringRef str); // 文字列の長さを取得 | |
float StringGetFloat(StringRef str); // 文字列から数値に変換 | |
int StringGetInt(StringRef str); |
UIKit (architecture armv6): | |
Contents of (__DATA,__objc_classlist) section | |
0048edf4 0x4f5cb0 | |
isa 0x4f5c9c | |
superclass 0x4f6020 | |
cache 0x0 | |
vtable 0x0 | |
data 0x490274 (struct class_ro_t *) | |
flags 0x0 | |
instanceStart 44 |