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
+12
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
View File
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}
+12
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
View File
@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}
+7
View File
@@ -0,0 +1,7 @@
public class Main {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
+12
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
```
+12
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
```
+1
View File
@@ -0,0 +1 @@
console.log("Hello World")
+12
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
```
+1
View File
@@ -0,0 +1 @@
print("Hello World.")
+13
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
```
+5
View File
@@ -0,0 +1,5 @@
function greeter(person) {
return "Hello, " + person;
}
var user = "Jane User";
console.log(greeter(user));
+7
View File
@@ -0,0 +1,7 @@
function greeter(person) {
return "Hello, " + person;
}
let user = "Jane User";
console.log(greeter(user));