View file0.txt
This file contains 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
❯ git clone https://github.com/JetBrains/kotlin-native.git |
View cassandra.yaml
This file contains 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
#start_rpc: false | |
start_rpc: true | |
#rpc_address: localhost | |
rpc_address: 192.168.33.10 |
View file0.txt
This file contains 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
❯ ifconfig en0 | grep 'inet\s' | cut -d ' ' -f 2 | |
192.168.11.8 |
View MainActivity.kt
This file contains 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
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
loadMenu() | |
} | |
private fun loadMenu() { | |
val tag = "Sample" |
View file0.txt
This file contains 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
~ vagrant@localhost | |
❯ cat foo | |
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string-array name="colors"> | |
<item>amber</item> | |
<item>blue</item> | |
<item>blue grey</item> | |
<item>brown</item> | |
<item>cyan</item> |
View file0.txt
This file contains 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
❯ brew update | |
❯ brew install kotlin |
View file0.txt
This file contains 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
class ContentFragment : Fragment() { | |
private fun hideKeyboard() { | |
val view = activity.currentFocus | |
if (view != null) { | |
val manager = activity.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager | |
manager.hideSoftInputFromWindow(view.windowToken, 0) | |
} | |
} |
View build.gradle
This file contains 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
buildscript { | |
ext.kotlin_version = '1.2.10' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} |
View file0.txt
This file contains 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
/Users/nakayama/StudioProjects/ChatMessageView/example/src/androidTest/java/com/github/bassaer/example/MessengerActivityTest.java:13: エラー: パッケージcom.github.bassaer.example.matcherは存在しません | |
import com.github.bassaer.example.matcher.MessageListMatcher; | |
^ | |
/Users/nakayama/StudioProjects/ChatMessageView/example/src/androidTest/java/com/github/bassaer/example/MessengerActivityTest.java:146: エラー: シンボルを見つけられません | |
onView(withId(R.id.message_view)).check(matches(MessageListMatcher.withListSize(0))); | |
View config.yml
This file contains 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: 2 | |
jobs: | |
build: | |
branches: | |
only: | |
- master | |
- develop | |
docker: | |
# specify the version you desire here | |
- image: circleci/android:api-26-alpha |
NewerOlder