Skip to content

Instantly share code, notes, and snippets.

View schaechinger's full-sized avatar
🥃
Crafting software

Manuel Schächinger schaechinger

🥃
Crafting software
View GitHub Profile

Medal Monday – Nutzungsbedingungen

Wirksam ab: 22. April 2024

Allgemeines

Die Medal Monday Webseite und die dazu gehörenden Dienste (im Folgenden auch "Plattform") werden dir von der Medal Monday GmbH mit Sitz in Ottobrunn, Deutschland gemäß dieser Nutzungsbedingungen und unter Einhaltung der geltenden Datenschutzbedingungen bereitgestellt. Mit der Nutzung der Plattform stimmst du zu, die Nutzungsbedingungen sowie allen weiteren

@schaechinger
schaechinger / telekom.js
Last active October 21, 2020 21:00 — forked from Sillium/telekom.js
const apiUrl = "https://pass.telekom.de/api/service/generic/v1/status";
let widget = await createWidget();
const gradient = new LinearGradient();
gradient.locations = [0, 1];
gradient.colors = [new Color("#d10063"), new Color("#e20074")];
widget.backgroundGradient = gradient;
if (!config.runsInWidget) {
@schaechinger
schaechinger / incidence.js
Last active December 14, 2020 13:30 — forked from kevinkub/incidence.js
COVID-19 Inzidenz-Widget für iOS innerhalb Deutschlands 🇩🇪
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: cyan; icon-glyph: magic;
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
const fields = ['GEN', 'cases7_per_100k', 'county', 'BEZ'];
const apiUrl = (location) => {
return `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=${fields.join(',')}&geometry=${location.longitude.toFixed(
3
)}%2C${location.latitude.toFixed(
@schaechinger
schaechinger / squash.sh
Created June 19, 2018 09:42
Squash all changes of a feature branch to create pull requests with one single commit.
#!/bin/sh
git fetch
branch=$(git symbolic-ref -q HEAD)
branch=${branch##refs/heads/}
branch=${branch:-HEAD}
default=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
git rebase -i origin/$default
@schaechinger
schaechinger / node-updater.sh
Last active November 30, 2018 16:15
Shell script to update / change the installed node version for production use without nvm
#!/bin/sh
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root" 1>&2
exit 1
fi
if [ -z $1 ]; then
echo "Version required (x.y.z)"
exit 1
@schaechinger
schaechinger / cpsa.md
Last active March 2, 2018 21:46
CPSA Certificates

iSAQB Certified Professional for Software Architecture

Foundation Level (CPSA-F)

Passed on January 22, 2018

Certificate ID:
c3b8c56c
ffa37513
e67fb4ae\

Keybase proof

I hereby claim:

  • I am schaechinger on github.
  • I am schaechinger (https://keybase.io/schaechinger) on keybase.
  • I have a public key whose fingerprint is 025B 000D AE5D 63A3 0C6E C1B2 9C48 D958 E141 A5EF

To claim this, I am signing this object:

@schaechinger
schaechinger / html.dfa
Last active October 17, 2016 21:48
the dfa state definitions for html used by the web converter
I 0
# tags
T 0 < 1
F 1 ChevronOpen
T 1 / 2
F 2 Slash
T 1 ! 14
F 14 ExclamationMark