Skip to content

Instantly share code, notes, and snippets.

@Romern
Romern / Ablauf.md
Last active February 9, 2020 18:55
Netzclub App Ablauf

Anfordern des Verifikationscodes via SMS

https://netzclub.postr.co.nz/SendVerify?mobile=[MOBILE NUMBER]&timestamp=[TIMESTAMP]&version=21&sdk_version=28  

[MOBILE NUMBER]: bspw. 01590123456
[TIMESPAMP]: bspw. 2019-02-02T13%3A00%3A20%2B0100

Returns:

{
@Romern
Romern / Output
Last active January 24, 2019 21:26
https://www.youtube.com/watch?v=RGQe8waGJ4w Comment asked what would happen if you marked 2084 as visited
Normally:
Current Position: (510,477)=2084
2084 visited at the beginning:
Current Position: (474,489)=2720
Mark all blocking as visited:
Blocking numbers:
2084,2720,3325,3753,7776,5632,7411,8562,14076,8469,9231,22702,14661,21710,21078,25809,27112,24708,19844,26943,26737,32449,31366,45036,37853,37188,43318,62095,67401,68736,70848,62789,63223,69245,85385,52467,71072,68435,76611,84206,81869,70277,81475,83776,70767,84763,99029,82609,103815,86102,93729,100614,108039,82111,99935,85283,109993,119856,119518,116066,109686,92741,124770,92378,104657,125102,107267,107246,117089,117766,99295,121575,98930,117390,123583,112565,122080,111612,111597,97349,105002,130602,133509,153410,127138,143952,153326,157774,122534,136542,163038,134778,140186,162865,171044,159637,171041,174368,184225,152988,176535,171506,147883,172360,156132,179411,179238,175850,168569,195533,191278,168006,204000,171467,144410,211291,188859,213596,225332,212859,201021,240304,233933,183242,237743,219573,162013,230993,272187,255213,254682,208965,252154,24164
apiVersion: apiregistration.k8s.io/v1beta1
kind: APIService
metadata:
name: v1beta1.external.metrics.k8s.io
spec:
service:
name: ponderous-catfish-prometheus-adapter
namespace: monitoring
group: external.metrics.k8s.io
version: v1beta1
---
apiVersion: v1
kind: Service
metadata:
name: traefik-web-ui
namespace: kube-system
spec:
selector:
k8s-app: traefik-ingress-lb
ports:
@Romern
Romern / config
Created October 25, 2018 09:34
i3config
set $mod Mod4
set $alt Mod1
font pango:monospace, Fontawesome 9
#font pango:Source Code Pro, Fontawesome 9
#font pango:scientifica, Fontawesome 9
#font pango:xft:scientifica:size=8
floating_modifier $mod
bindsym $alt+Tab workspace next
export EDITOR=nano
export ZSH="/home/roman/.oh-my-zsh"
ZSH_THEME="agnoster"
plugins=(
git
shrink-path
z
)
source $ZSH/oh-my-zsh.sh
prompt_dir(){
@Romern
Romern / ogham_backconvert.js
Last active October 22, 2018 20:36
Small js script using https://github.com/evanshortiss/ogham to convert ogham phrases back to latin (with no changes to the database because I'm lazy)
//const ogham = require('ogham');
let test = {
individual: {
' ': {
char: ' ',
code: 5760
},
b: {
char: 'ᚁ',
code: 5761
@Romern
Romern / RPNICompleteProof.java
Created May 12, 2018 22:37
Checks for a given DFA if a sampleset S=(S_+,S_-) is RPNI-complete (uses https://github.com/LearnLib/automatalib)
import net.automatalib.automata.fsa.impl.compact.CompactDFA;
import net.automatalib.util.automata.Automata;
import net.automatalib.util.automata.builders.AutomatonBuilders;
import net.automatalib.visualization.Visualization;
import net.automatalib.words.Alphabet;
import net.automatalib.words.Word;
import net.automatalib.words.impl.Alphabets;
import java.util.*;
public final class RPNICompleteProof {
@Romern
Romern / les.sh
Last active May 6, 2018 12:39
LaTeX Error Search: Finds typod commands in your tex file using the \show command
FILE=$1
if [ -z $1 ]; then
echo "ERROR: First input parameter must be the file!"
exit
fi
COMMANDS="$(grep -E -o '\\[a-zA-Z]+' $1 | sed 's/\\/\\show\\/g')"
HEADER="$(sed '/\\begin{document}/q' $1)"
echo $HEADER >> temp.tex
echo $COMMANDS >> temp.tex
echo '\end{document}' >> temp.tex
@Romern
Romern / OkusonParser.java
Last active July 16, 2018 08:34
OkusonParser LAInf18 Needs https://jsoup.org/packages/jsoup-1.11.2.jar in the same path
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import java.io.File;
import java.nio.charset.StandardCharsets;
import java.io.IOException;
import java.nio.file.Files;
import java.util.*;