Ȥ Blog

Ruby,C#

2010ǯ01

;פʿ

ߤε˵פ֤ë˾ޤ
23᤮ʤΤǼʬޤƿäѤ餤¿ޤ
桢ͤۤ٤ΩäƤ륪䥸50ȾФ餤ˤ¤äPSäƤ뷻ʤˤĤĤƤޤ
ȻפäơʹƤ
֤äȵͤƺ¤졪 ФΤФ󤬺¤
ΡʴΤȤĤäƤޤ
٤ˤϡ˼㤤ФΩäƤΤǤͻҤ餹ȤɤͤƤ̵طΤ褦Ǥ
PSη󤬤֤ʤͤ᤿ǰʬʤǤޤ
֤ɤפȤ֤äܤˤ뤪ä
֤ǤǤפǤ
Ǥ⤷Ĥʤ򤹤뤪ä
ʤȤ꤬2,3³ޤ
Ǥ줿̤˺¤ʤȡ٤ϼʬդ˲줽ˤʤȴΤΤФϤҤĤäдǡ֤꤬Ȥޤפȸʤ顢ʤ˺¤뤳Ȥˤʤޤ

ï⹬ˤʤư򵯤Τä򸫤ơͤϡ֤ʤפȤפޤ

ů

Τä򤽤Ȼפäƿ޽ۤǼڤꤿΤʤΤǤɤǤϤʤ˰ޤƤޤΤǤɤ߽ää˲ĤޤǤ
ˤˤǤʤŪʬ⤢ޤ
ַפäƥȥˤɬפɤˤΤ狼ޤǤ
פΤĤCDäƤޤ(եOriginals꡼Υ)졢ھϤ繥Ǥ軰ھϤϡɤʤǤä
ȥ
//Artist ů
, 1,680 ֽŹ
ɾ
 2010-01-21

ơʡBOOKץǡ١ˡ

Фϻ줿Ʊ˻ҤˡΥХΤ˸ơ줿ơͥơοʿͤäФλοϡϤäꤵ롽Ȥɤ褦ˡФƱΩ⹻֡ˤϡƤϤʤʤФΤޤ̩

ơʡMARCץǡ١ˡ

γر˥ԥΡʥ14֤ή줿Ȥޤ줿! ФλοΤ뤿ᡢƱΩ⹻˿ʤ֡ˤϡƤϤʤʤФΤޤ̩-رΰǡȳ񲼤Ĺӡ

TextMateRSpec¹

RSpecϤĤ⥿ߥʥǥޥáƤäƤΤǤRSpecɤTextMatedz֤ǡޤä Command + R 򲡤Ƥޤä顢ƥȤϤHTMLեޥåȤǷ̤ɽޤ
ʴ
̤˻ŪʳȯʤΤǥƥƤƤ⹽ޤ
55

⤷ʤ
ʤϡ./script/spec -cfs <target_file or directory>
ȤäƤΤǤϤǤ⤷ޤ
ˡcontrol + shift + ↓ RSpecեȤΥƥоݤΥե(controller,mode,etc)ԤǤޤ⤫ʤꤤǤ͡
shift + alt + command + ↓
SpecбƤʤΤǽǤ

ʤߤ control + shift + R Rake¹ԤǤޤ
β̤ǥθȤäʤΤǤ
05

ESXi̵˥󥹥ȡ봰λ

륤ƥLanɤϤΤǡ®ľ
ǰΤUSBưǥκľޤ
ǡ̵Ȥ(Cent5)Υ󥹥ȡ
ɤäɤä
˥󥹥ȡ뤹Τ¿ʬǡȤϼµưƤWindowsServer20032ۤɤä˰ܹԤͽǤ
VMwareConverterʤΤȤдñ˼µ鲾ۤ˰ܹԤǤ褦ʤΤ᤯äƤߤʡ

05

ʤߤ˹ɤϡ졣

content_for ǥǥեȤꤹ

ڡmetaΥɤʤɤѹʤɤϡcontent_for ǤǤƤΥӥ塼ǤꤹΤݤ顢content_forѰդƤ󥰤ơѰդƤʤеΤΤѤ
ǡɤΤʡȻפĤ⤪äˤʤAPIӥ塼
http://apidock.com/rails
Ĵ٤顢ñifʸǤΤǤ͡
    1     <% if yield :meta_keywords %>
2 <%= yield :meta_keywords %>
3 <% else %>
4 <meta name="keywords" content="ϵΥ" />
5 <% end %>
6

    1 
2 <% content_for :meta_keywords do %>
3 <meta name="keywords" content="hoge" />
4 <% end %>
5
6

ȯƤޤäΤǤ
content_for äʣꤷ顢ñɵƤΤǤ͡


    1 
2 <%= yield :test %>
3
4 <% content_for :test do %>
5 hello
6 <% end %>
7 <% content_for :test do %>
8 world
9 <% end %>

Ȥ顢ñ hello worldɽޤ

դ (Ĭʸ)

꡼Ύ²Ȭʎ򤤡
Ķǽϼ 褦ȤΡäƤʤ󤫤Υ꡼줿Dzˤ⤢ä褦ʵʤǤʤ
褷ƥϥåԡɤǤʤȤǤ
ȥդ (Ĭʸ)
//Artist δ
, 540 Ĭ
ɾ
 2010-01-20

ڽǼ / ԤƾҲ

ʤ˿ͤοɤळȤǤĶǽϼԡƥѥļϡͤĶǽϼԤȸΤ򶲤ơλŻᡢι˽Ф롣뵥֤ǡƤϤơƱƥѥǽϤäҶΥꥪȽв񤦡θ塢ȰۤʤĶǽϤλȤᤰäϡȶˡĶǽϼԤ褦ȤŹȿȡߤɤλƮŸ롣

1Q84νΤȤϻפʤˤĤ

ɤ߽ä¼ռΎ1Q84ǤޥκɾΥӥ塼򸫤Ƥ(ɾΤΤϸޤ)о줹뽡ΤˤĤơï⤬줫Ȼפ碌롢Ȥ餫˥࿿ΤȤǤ롢ΰոޤ
ˤ줬Ǥ뤳ȤˡζĤ餫˿ʹֶȤǤʤϤȯʬŦơ˶줷줿ͤ󤤤ΤˡζĤȻפʪ㤨ǤΤϤɤ? Ȥ⡣
ɤɤǤζĤ㸶ˤϻפʤäμΤ⥪Ȥϻפޤ󡣤󤢤μΤϡ̤ʬ¿Ǥ礦顢ʬŪˤϥϢۤ褦ʲս⤢ˤϤޤˤƤ⡢ƤǡΤ줬ɤɤƤ⥪˻פΤʤǤʤƤκʤɾ򲼤ΤϡɤȻפޤ
⡢ĿŪˤ¼ռϼ¤ϷäꤷޤǤⲿΤɤгΤ򤤡顢ƺɾΥӥ塼ǤɤǡȤפȤ(ɤȤϻפޤ)֤㤤ʤȤɾ㤤ΤǡʤʡäƴǤ
Ϫ̤ˤĤơɤळȤˤäƼʬʰ̤Ȥߤʰո⤢ޤǤ԰ټΤϡŪʹ԰٤ȤʤäΤΤ褦ˤפޤǤ̤˺٤񤤤餢ʤ󤸤ѤޤʤǤ硪
ϤդϤեġȻפäƤޤ
ޤǤΤפ̤¿ޤ

ݸijΤҤʤʤäƤˤĤ

פ֤˸Ƥߤ顢ijΤҤʤʤäƤ
ȻϤޤä餫()ƤΤǡäѤꤢοͤʤȲ䤷(ȤϼʬǤä)
ä顢ԷʵΤ󤻤Τ褦Ǥ
Ȥο餹Ȥ夰ߤ줯餤ˤȤܤʤΤʡ

ˤƤESXi̵RealtekΥɥ饤줿ΤϤɡФ餯󥽡ĤʤƤȥͥåȥǴοΥOS1Ĥ⥤󥹥ȡǤʤäIntelΥ㤦ʤΤʡ

ESXiRealtekΥɥ饤Ф򥤥󥹥ȡ뤹롢ǤäѤܤäݤ

СΤ˥åɥΥޥ򥲥åȤΤǡVMWareServerǤϤʤEXSiǤ뤳Ȥˤޤ
USBưǤȤȤʤΤ®USBǥ
ʲMac(SnowLeopard)ˤƤκȥ⡣

1. EXSiΥ󥹥ȡ륤᡼(ISO)
2. 򳫤 imagesǥ쥯ȥˤ
VMvisor-big-3.5.0-xxxx.i386.dd.bz2
եŬʥǥ쥯ȥ˥ԡ
3. USB򺹤ǡdiskutil list USBɥ饤֤ǧ
ߤ˻δĶǤ /dev/disk3 ˤʤäƤޤ
4. ưŪUSBޥȤƤΤǡޥȤ롣
diskutil unmountDisk /dev/diskxxx ǤǤޤ
5. ʲΥޥɤUSB˥᡼񤭤ߤޤ
bzcat <path to VMware-VMvisor file> | dd of=/dev/diskxxx
ʬ餤ä褦ʵޤĹԤޤ

ä顢USB򿷤ޥޤơBIOSUSBưǤ褦ꤷŸ
Ĵ˵ưƤ뤫Ȼפ䡢ɥ饤Ф󥹥ȡǤʤΥå
ȤĴ٤ƤߤȤɤͥåȥɤ褯꤬ʥܡɤRealtekΤĤǧʤȤΤȡߴꥹȤˤܤäƤʤΤǡ褦ȻפޤΥɥ饤ФäƤͤͥåȾˤ¸ߤƤ褦ǡ
http://www.vm-help.com/esx40i/customize_oem_tgz.php

Adds support for Realtek 8168 / 8111 NICs and the Intel P55 SATA (8086: 3b22) controller
ɡ
ǡۤɤUSBޥåǥޥȤơHypervisor1ܥ塼ˤoem.tgz嵭ǥɤե֤ơUSBؤƺĩ
̵ͥåȥɤǧIPɥ쥹DHCP

IMG_0090


®OSWindowsXP򥤥󥹥ȡ뤷褦Ȥ顢ǥۥȤΥͥåȥǤƤޤƵư;ʤ졢ĤޤǤäƤ⥲OS󥹥ȡǤޤ󡣤äѤͥåȥɤΤ
ƥ4000ߤ餤ΤĤʸ뤳Ȥˤʤޤ
³ʡ

¼ռ 1Q84

äȽ֤äƤƼڤ뤳ȤǤޤ
硼֣פɤȤϤޤ󤬡äɤǤߤʤޤ⹻ΤȤ˱ѸμȤǥ硼ɮʤΤ줿ޤ
ϤäꤷȤϻפäƤϤޤǤäѤɤäǤ⽪餻ä񤷤ʡȻפޤ
Ѥ餺̵̤̤޽ФƤޤ̤ɬ狼ޤ
򤤤򤯤ʤȤС򤫤äǤ
塢ĸʤȤ򵧤ФǤ
ȡȥԡץ롢ݤá

ȥ1Q84 BOOK 1
//Artist¼ ռ
, 1,890 Ĭ
ɾ
 2010-01-15

Book Description

1949ǯ˥硼ϡ̤辮ȤƤΡ1984٤򴩹Ԥ 2009ǯ1Q84٤ϵդ1984ǯǤ롣 ƤΤϡ֤Ǥä⤷ʤʤΤ 䤿Ƥ븽ߤ֤ǤϤʤä⤷ʤǤΤȡ礦Ʊ褦ˡ Book 1 ⳰˽ФʤΤȤϡˤϤʤ鳰˽ФʤΤȤϡ̤夲Ƥ Book 2 ֤Ǥä⤷ʤײΰŤ⤫Ӿ夬餻Τϡ֤ǤϤʤä⤷ʤ׸ߤλѤ

ơʡBOOKץǡ١ˡ

֤Ǥä⤷ʤײΰŤ⤫Ӿ夬餻Τϡ֤ǤϤʤä⤷ʤ׸ߤλѤ񤭲ĹԾ⡣

ȥ1Q84 BOOK 2
//Artist¼ ռ
, 1,890 Ĭ
ɾ
 2010-01-17

Book Description

1949ǯ˥硼ϡ̤辮ȤƤΡ1984٤򴩹Ԥ 2009ǯ1Q84٤ϵդ1984ǯǤ롣 ƤΤϡ֤Ǥä⤷ʤʤΤ 䤿Ƥ븽ߤ֤ǤϤʤä⤷ʤǤΤȡ礦Ʊ褦ˡ Book 1 ⳰˽ФʤΤȤϡˤϤʤ鳰˽ФʤΤȤϡ̤夲Ƥ Book 2 ֤Ǥä⤷ʤײΰŤ⤫Ӿ夬餻Τϡ֤ǤϤʤä⤷ʤ׸ߤλѤ

ơʡBOOKץǡ١ˡ

⳰˽ФʤΤȤϡˤϤʤ鳰˽ФʤΤȤϡ̤夲Ƥ񤭲ĹԾ⡣

ץե

Ȥ

C#ɻŻRubyФʳȯԡ
ǶDockerȤؿȤAngularJS˥ϥޤäƤ롣
¢ȤĮȤȤ˽ס

QR
QR
  • 饤֥ɥ֥