(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Install a package and also update package.json with the installed version and package name.
(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Install a package and also update package.json with the installed version and package name.
(Full description and list of commands at - https://npmjs.org/doc/index.html)
##List of less common (however useful) NPM commands
######Install a package and also update package.json with the installed version and package name.
Curated list of Android Platform Development Resources
{ | |
"libs":[ | |
"browser", | |
"chai", | |
"ecma5", | |
"ecma6", | |
"jquery", | |
"underscore" | |
], | |
"plugins": { |
root = true | |
[*] | |
insert_final_newline = true | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
end_of_line = lf | |
[*.{js,json}] | |
indent_style = space |
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}")
#Intro
Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3
Kotlin project website is at kotlin.jetbrains.org.
All the codes here can be copied and run on Kotlin online editor.
Let's get started.
Instructor Notes
Before completing the quiz above, make sure you have added the necessary code to configure periodic syncs.
The code in this video will create the logic to, when you start Sunshine, check if an account has been created for Sunshine and if not, create a new account and configure a periodic sync to start.
Instructions
FetchWeatherTask and the SunshineService are now just older, unused classes which do the same thing that the SunshineSyncAdapter class is doing now; remove them. Clean up the AndroidManifest.xml and remove SunshineService and the AlarmReciever from the xml.