Skip to content

Latest commit

 

History

History
77 lines (63 loc) · 2.23 KB

2017-10-04.md

File metadata and controls

77 lines (63 loc) · 2.23 KB

Función main en Kotlin

/**
 * Line 13 demonstrates string templates and array access.
 * See this pages for details:
 * http://kotlinlang.org/docs/reference/basic-types.html#strings
 * http://kotlinlang.org/docs/reference/basic-types.html#arrays
 */

fun main(args: Array<String>) {
    if (args.size == 0) {
        println("Please provide a name as a command-line argument")
        return
    }
    println("Hello, ${args[0]}!")
}

Creating Collections In Kotlin

https://try.kotlinlang.org/#/Kotlin%20in%20Action/Chapter%203/3.1/3.1_2_CreatingCollectionsInKotlin1.kt

fun main(args: Array<String>) {
    val strings = listOf("first", "second", "fourteenth")
    println(strings.last())
    val numbers = setOf(1, 14, 2)
    println(numbers.max())
}

Get location android Kotlin

https://stackoverflow.com/questions/45958226/get-location-android-kotlin

Función main en Java

Convert the char in command line argument into int type

https://www.jesusninoc.com/2015/10/08/convert-the-char-in-command-line-argument-into-int-type/

public class Test{
    public static void main(String[] args) {
        String[] x = {"1","2","3"};
        System.out.print("3".equals(x[2]);
        System.out.print("3".equals(args[2]));
    }
}

How do I compare strings in Java?

https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java

public class Test{
    public static void main(String[] args) {
        "test".equals("test")
    }
}

Command-Line Arguments

https://docs.oracle.com/javase/tutorial/essential/environment/cmdLineArgs.html

Strings In Java

https://androidexample.com/Strings_In_Java/index.php?view=article_discription&aid=149&aaid=163

7. Gestión de procesos en PowerShell (teoría)

https://www.jesusninoc.com/2017/07/07/7-gestion-de-procesos-en-powershell/

Programación de procesos en Linux

https://www.jesusninoc.com/2015/01/02/programacion-de-procesos/

Programación de permisos en Linux

https://www.jesusninoc.com/2015/01/19/programacion-de-permisos/

Programación de memorias compartidas en Linux

https://www.jesusninoc.com/2015/07/10/programacion-de-memorias-compartidas-en-linux/

Tutorial C# con PowerShell

https://www.jesusninoc.com/2015/11/03/tutorial-c-con-powershell/