Last updated on 2020-07-24 13:07
OKRs Q3 2020 Key result: "I have decided between ZIO or Cats IO (or similar) and justified this decision."
This document is a wrap-up of my research on which Functional Programming library to use in Scala.
% Author: Philipp Moers <soziflip@gmail.com> | |
% | |
% Latex Brief-Vorlage | |
% | |
% ------------------------------------------------------------------------------ | |
\documentclass | |
[ | |
fontsize=12pt, % Schriftgröße | |
version=last, % Neueste Version von KOMA-Skript verwenden |
Description='netctl profile' | |
Interface=wlan0 | |
Connection=wireless | |
Security=wpa-configsection | |
IP=dhcp | |
WPAConfigSection=( | |
'ssid="SSID"' | |
'proto=RSN' | |
'key_mgmt=WPA-EAP' |
#!/bin/sh | |
set -e | |
print_usage_and_exit() { | |
echo "This script performs a given command as soon as a TCP port is open." | |
echo "Usage: $0 <host> <port> <command>" | |
exit 2 | |
} |
function gimmeAPromiseWith(x) { | |
return new Promise(function(resolve, reject) { | |
console.log(`started calculation of ${x}`); | |
setTimeout(function() { | |
resolve(x); | |
console.log(`finished calculation of ${x}`); | |
}.bind(this), 10); | |
}); | |
} |
% Author: Philipp Moers <soziflip+latex@gmail.com> | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage[ngerman, english]{babel} | |
% document: \selectlanguage{ngerman} | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script> | |
<script>!window.jQuery && document.write('<script src="lib/jquery-3.1.0.min.js"><\/script>')</script> |
#!/usr/bin/env bash | |
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo $CURRENT_DIR | |
cd $CURRENT_DIR | |
touch foobarbaz |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>browser</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
var nVer = navigator.appVersion; |
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
try: | |
from netifaces import interfaces | |
except ImportError: | |
print("The python package netifaces is required.") | |
print("You can install it from the PyPI with ``pip install netifaces''.") | |
exit(1) |