This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/binary" | |
"errors" | |
"fmt" | |
"github.com/urfave/cli/v2" | |
"os" | |
"strconv" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFqdS8wBEAC5QzhAhXb0yeDLKrH8XLtSIxsc3f/ydC29uxQKowhVL1hrgCQO | |
fNAhms3l5l13wqLav4eEeKhte8Fqd7kBk5Aw0dGsuEsMhpCCkh1hu7AY17xouzYH | |
hoUf5EsFrEilpqoNHAcShDahnXYqZtIn8n8IVX/C9ihpQu56AsuLtKfWcohoP4+c | |
/fcSryiDQtF/gy6QigfLA0YkViK34hDctmNpsnLN3Xw/2VHCcxx+QJ1f636FIH8C | |
9/Jkzc2VsI+ju3i4PtW/LpPNbkdxr4NCuqiPjBC+5zckq3bU0ZQHn6jMOpasNGzs | |
t8JQmDteHSaPpwqdroZS/t9kACh83LLFj1aUn+A7kX/vKu3ZSOFO/P/Y7j1VYeAb | |
mYToeYeI63Rp4wM/dUKlp3p+c1QxdDPYFsaHHCTB/4WwvKOdtE8vZQUug8pPcc/b | |
6xTIMn/El3GIaGYZpQbQZ+3rV8EwYkDoOU5vG8pQyvNlOqcBbSQkVE927UNpRFpM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -x #echo on | |
BOR_DIR=${BOR_DIR:-~/.bor} | |
DATA_DIR=$BOR_DIR/data | |
bor --datadir $DATA_DIR \ | |
--port 30303 \ | |
--http --http.addr '0.0.0.0' \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* sha256-x86.c - Intel SHA extensions using C intrinsics */ | |
/* Written and place in public domain by Jeffrey Walton */ | |
/* Based on code from Intel, and by Sean Gulley for */ | |
/* the miTLS project. */ | |
/* gcc -pthread -msse4.1 -msha sha265.c -O3 -o sha256 */ | |
/* Include the GCC super header */ | |
#if defined(__GNUC__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# definierte Variablen | |
guess = 0 | |
secret = 15 #<--- diese Zahl veränden um die Geheimzahl zu ändern | |
i = 0 | |
# Wilkommensnachricht | |
print("Wilkommen zu meinem Ratespiel (bitte nur Zahlen eingeben)") | |
print("Eine Zahl zwischen 0 und 20 wird gesucht:") | |
print("") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quiz | |
# Globale Einstellung | |
def quizfrage(): | |
global punkte | |
antwort = input(frage) | |
if antwort == loesung: | |
print("Richtig") | |
punkte = punkte + 1 | |
else: |