Facebookなどのコメントボックスインターフェース(見る、投稿、バックエンド連携)を作る。以下の構造を再現するチュートリアル。
- CommentBox
- CommentList
- Comment
- CommentForm
Facebookなどのコメントボックスインターフェース(見る、投稿、バックエンド連携)を作る。以下の構造を再現するチュートリアル。
- CommentBox
- CommentList
- Comment
Facebookなどのコメントボックスインターフェース(見る、投稿、バックエンド連携)を作る。以下の構造を再現するチュートリアル。
- CommentBox
- CommentList
- Comment
Facebookなどのコメントボックスインターフェース(見る、投稿、バックエンド連携)を作る。以下の構造を再現するチュートリアル。
- CommentBox
- CommentList
- Comment
| import lejos.hardware.motor.Motor; | |
| import lejos.robotics.RegulatedMotor; | |
| import lejos.utility.Delay; | |
| public class MotorSample { | |
| private static final RegulatedMotor leftMotor = Motor.A; | |
| private static final RegulatedMotor rightMotor = Motor.B; | |
| import java.io.BufferedReader; | |
| import java.io.InputStreamReader; | |
| import java.io.IOException; | |
| public class Client { | |
| public static void main(String args[]) { | |
| MessageWriter messageWriter = new MessageWriter("192.168.11.37", 8888); | |
| messageWriter.connect(); | |
| BufferedReader keyIn = new BufferedReader(new InputStreamReader(System.in)); |
| # A sample Gemfile | |
| source "https://rubygems.org" | |
| gem "sinatra" | |
| gem "shotgun" |
| # 式expを評価するときに環境envが追加された。 | |
| def _eval(exp, env) | |
| # リストじゃなかったら | |
| if not list?(exp) | |
| # 数字の場合、そのまま返す。 | |
| if immediate_val?(exp) | |
| exp | |
| # 変数だった場合は、環境から値を取り出す。 | |
| else | |
| lookup_var(exp, env) |
| package org.ababup1192 | |
| class Coffee(val price: Int) { | |
| // 補助コンストラクタ ↑基本コンストラクタを必ず呼び出す。 | |
| def this() = this(300) | |
| override def toString: String = { | |
| s"Coffee($price)" | |
| } | |
| } |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Blue Component</key> | |
| <real>0.16470588743686676</real> | |
| <key>Green Component</key> | |
| <real>0.20784313976764679</real> |
| # prefix key | |
| unbind C-b | |
| set-option -g prefix C-t | |
| # escape遅延設定1ms(default 500ms) | |
| set -sg escape-time 1 | |
| # status | |
| setw -g status-fg white | |
| setw -g status-bg black |