This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.rei_m.kotlinsample.fragments | |
| import android.os.Bundle | |
| import android.support.v7.widget.AppCompatButton | |
| import android.support.v7.widget.AppCompatEditText | |
| import android.view.LayoutInflater | |
| import android.view.View | |
| import android.view.ViewGroup | |
| import com.jakewharton.rxbinding.widget.RxTextView |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TextView textView = findViewById(R.id.hello); | |
| textView.setText("Hello Kotlin !!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iex> list = [{:a, 1}, {:b, 2}] | |
| [a: 1, b: 2] | |
| # アクセスするときはキー名を指定できる。 | |
| iex> list[:a] | |
| 1 | |
| # 直接書いても通る | |
| iex> list = [a: 1, b: 2] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| botworker: mix run --no-halt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gulp.task("tslint", function() { | |
| gulp.src([ | |
| "./ts/**/*.d.ts" | |
| ]) | |
| .pipe(plumber({errorHandler: notify.onError('Error: TSLint!!')})) | |
| .pipe(tslint({ | |
| configuration: "Gulp/tasks/config/tslint.json" | |
| })) | |
| .pipe(tslint.report("verbose")); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "babel-core": "^5.5.8", | |
| "babel-loader": "^5.1.4", | |
| "gulp": "^3.9.0", | |
| "gulp-babel": "^5.1.0", | |
| "gulp-concat": "^2.5.2", | |
| "gulp-if": "^1.2.5", | |
| "gulp-notify": "^2.2.0", | |
| "gulp-plumber": "^1.0.1", | |
| "gulp-uglify": "^1.2.0", | |
| "gulp-webpack": "^1.5.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.1.0", | |
| // List of configurations. Add new configurations or edit existing ones. | |
| // ONLY "node" and "mono" are supported, change "type" to switch. | |
| "configurations": [ | |
| { | |
| // Name of configuration; appears in the launch configuration drop down menu. | |
| "name": "Launch app.js", | |
| // Type of configuration. Possible values: "node", "mono". | |
| "type": "node", |
NewerOlder