mirror of
				https://github.com/SourceFellows/gobuch.git
				synced 2025-11-04 07:36:19 +01:00 
			
		
		
		
	initial import
This commit is contained in:
		
							
								
								
									
										12
									
								
								hello-world/cplusplus/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								hello-world/cplusplus/README.txt
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										
											BIN
										
									
								
								hello-world/cplusplus/a.out
									
									
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										6
									
								
								hello-world/cplusplus/hello.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								hello-world/cplusplus/hello.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
#include <iostream>
 | 
			
		||||
 | 
			
		||||
int main() {
 | 
			
		||||
  std::cout << "Hello World!";
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								hello-world/go/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								hello-world/go/README.txt
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										7
									
								
								hello-world/go/main.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import "fmt"
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	fmt.Println("Hello, 世界")
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								hello-world/java/Main.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								hello-world/java/Main.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
public class Main {
 | 
			
		||||
    public static void main(String[] args) {
 | 
			
		||||
        System.out.println("Hello World");
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								hello-world/java/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								hello-world/java/README.txt
									
									
									
									
									
										Normal 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
									
								
								hello-world/javascript/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								hello-world/javascript/README.txt
									
									
									
									
									
										Normal 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
									
								
								hello-world/javascript/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								hello-world/javascript/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
console.log("Hello World")
 | 
			
		||||
							
								
								
									
										12
									
								
								hello-world/python/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								hello-world/python/README.txt
									
									
									
									
									
										Normal 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
									
								
								hello-world/python/hello.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								hello-world/python/hello.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
print("Hello World.")
 | 
			
		||||
							
								
								
									
										13
									
								
								hello-world/typescript/README.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								hello-world/typescript/README.txt
									
									
									
									
									
										Normal 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
									
								
								hello-world/typescript/hello.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								hello-world/typescript/hello.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
function greeter(person) {
 | 
			
		||||
    return "Hello, " + person;
 | 
			
		||||
}
 | 
			
		||||
var user = "Jane User";
 | 
			
		||||
console.log(greeter(user));
 | 
			
		||||
							
								
								
									
										7
									
								
								hello-world/typescript/hello.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								hello-world/typescript/hello.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
function greeter(person) {
 | 
			
		||||
    return "Hello, " + person;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
let user = "Jane User";
 | 
			
		||||
 | 
			
		||||
console.log(greeter(user));
 | 
			
		||||
		Reference in New Issue
	
	Block a user