This is a quick guide to Kotlin programming language. The previous part of this guide is here
#Object Oriented
fun main(args : Array<String>) {
class local (val x : Int)
val y = local(10)
println("${y.x}")| // Licensed under the "Apache License, Version 2.0" (c) 2010 | |
| /** | |
| * Returns filenames found by expanding the passed pattern which is String or | |
| * a List of patterns. | |
| * NOTE: that this pattern is not a regexp (it’s closer to a shell glob). | |
| * NOTE: that case sensitivity depends on your system. | |
| * | |
| * <code>*</code> Matches any file. Can be restricted by other values in | |
| * the glob pattern (same as <code>.*</code> in regexp). | |
| * <code>*</code> will match all files, |
| <NotepadPlus> | |
| <UserLang name="LogFile" ext="log"> | |
| <Settings> | |
| <Global caseIgnored="yes" /> | |
| <TreatAsSymbol comment="no" commentLine="no" /> | |
| <Prefix words1="no" words2="no" words3="no" words4="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Delimiters">[(0])0</Keywords> | |
| <Keywords name="Folder+"></Keywords> |
| $ redis-cli | |
| > config set stop-writes-on-bgsave-error no |
This is a quick guide to Kotlin programming language. The previous part of this guide is here
#Object Oriented
fun main(args : Array<String>) {
class local (val x : Int)
val y = local(10)
println("${y.x}")Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
Create an account at https://openweathermap.org and get an API key.
Note that it can take up to a couple of hours for the key to become active.
Add an environment variable OPEN_WEATHER_API_KEY with the value of the key.
run the script:
./weather.clj Toronto,CA