initial import

This commit is contained in:
SourceFellows
2020-08-21 06:26:40 +02:00
commit e223458dd4
423 changed files with 9871 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Starten des docker Containers
-----------------------------
```
docker run -v `pwd`:/tmp -it gcc:latest /bin/bash
```
Danach im Container
```
cd /tmp
time g++ hello.cpp
```

BIN
hello-world/cplusplus/a.out Executable file

Binary file not shown.

View File

@ -0,0 +1,6 @@
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}

12
hello-world/go/README.txt Normal file
View File

@ -0,0 +1,12 @@
Starten des docker Containers
-----------------------------
```
docker run -v `pwd`:/tmp -it golang:latest /bin/bash
```
Danach im Container
```
cd /tmp
time go build main.go
```

7
hello-world/go/main.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}

View File

@ -0,0 +1,7 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello World");
}
}

View File

@ -0,0 +1,12 @@
Starten des docker Containers
-----------------------------
```
docker run -v `pwd`:/tmp -it openjdk:latest /bin/bash
```
Danach im Container
```
cd /tmp
time javac Main.java
```

View File

@ -0,0 +1,12 @@
Starten des docker Containers
-----------------------------
```
docker run -v `pwd`:/tmp -it node:latest /bin/bash
```
Danach im Containers
```
cd /tmp
node index.js
```

View File

@ -0,0 +1 @@
console.log("Hello World")

View File

@ -0,0 +1,12 @@
Starten des docker Containers
-----------------------------
```
docker run -v `pwd`:/tmp -it python:latest /bin/bash
```
Danach im Containers
```
cd /tmp
time python hello.py
```

View File

@ -0,0 +1 @@
print("Hello World.")

View File

@ -0,0 +1,13 @@
Starten des docker Containers
-----------------------------
```
docker run -v `pwd`:/tmp -it node:latest /bin/bash
```
Danach im Container
```
npm install -g tsc
cd /tmp
time tsc hello.ts
```

View File

@ -0,0 +1,5 @@
function greeter(person) {
return "Hello, " + person;
}
var user = "Jane User";
console.log(greeter(user));

View File

@ -0,0 +1,7 @@
function greeter(person) {
return "Hello, " + person;
}
let user = "Jane User";
console.log(greeter(user));