Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Tagのススメ

1,179 views

Published on

Published in: Technology
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, Copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Tagのススメ

  1. 1. Tag のススメ @j_nakada
  2. 2. 自己紹介 <ul><li>中田 淳平(なかだ じゅんぺい) </li></ul><ul><li>Twitter ID: j_nakada </li></ul><ul><li>株式会社 Razest 取締役 CTO </li></ul><ul><ul><li>携帯オンラインゲームポータルサイト </li></ul></ul><ul><ul><li>「ゲムトモ」を運営 </li></ul></ul><ul><ul><li>MySQL </li></ul></ul><ul><ul><li>PHP </li></ul></ul><ul><ul><li>好きなサービスは RDS </li></ul></ul>
  3. 3. Tag <ul><li>EC2 インスタンスや EBS ボリュームに付けることができるキーとバリューの組み合わせ </li></ul>
  4. 4. 用途 <ul><li>インスタンスに名前を付ける </li></ul><ul><li>用途ごと(アプリ、 DB )の識別子をつける </li></ul>
  5. 5. ElasticIP を Tag <ul><li>EIP はインスタンスを STOP->START すると割り当てが解除されてしまう </li></ul><ul><li>OS の起動時にタグを読み込んで EIP を自身に割り当てるスクリプトを組み込んでおく </li></ul><ul><li>OS 内には EIP を書かなくて済むので AMI をコピーしても EIP の取り合いをしなくて済む </li></ul><ul><li>Elastic_IP にも Tag が付けられるといいなぁ </li></ul>
  6. 6. <ul><li>DB のマスター/スレーブ </li></ul><ul><li>本番/テスト用のコンフィグの切り替え </li></ul><ul><li>AWS ManagementConsole で Tag の表示や絞り込みなどが出来る </li></ul><ul><li>ec2-create-tags </li></ul><ul><li>ec2-delete-tags </li></ul><ul><li>ec2-describe-tags </li></ul>
  7. 7. <ul><li>Tag で入力と出力が可能 </li></ul><ul><li>↓ </li></ul><ul><li>プログラムを Tag で入力 </li></ul><ul><li>↓ </li></ul><ul><li>処理結果を Tag に出力 </li></ul>
  8. 8. <ul><li>Tag で BrainFuck </li></ul>
  9. 9. BrainFuck 言語仕様 <ul><li>> ポインタをインクリメントする </li></ul><ul><li>< ポインタをデクリメントする </li></ul><ul><li>+ ポインタが指す値をインクリメントする </li></ul><ul><li>- ポインタが指す値をデクリメントする </li></ul><ul><li>. ポインタが指す値を出力する </li></ul><ul><li>, 1 バイトを入力してポインタが指す値に代入する </li></ul><ul><li>[ ポインタが指す値が 0 なら、対応する ] の直後までジャンプする </li></ul><ul><li>] ポインタが指す値が 0 でないなら、対応する [ にジャンプする </li></ul><ul><li>Wikipedia より </li></ul>
  10. 10. <ul><li>Hello world </li></ul><ul><li>>++++[<++++++++++++++++>-]<++++++++.>++[ </li></ul><ul><li><++++++++++++++++>-]<---.+++++++..+++.>+++ </li></ul><ul><li>++[<---------------->-]<+.>+++[<+++++++++ </li></ul><ul><li>+++++++>-]<+++++++.+++++++++++++++++++++ </li></ul><ul><li>+++.+++.------.--------. </li></ul>
  11. 11. 実演

×