Skip to content

Instantly share code, notes, and snippets.


Morris Jobke MorrisJobke

View GitHub Profile
marco79cgn / vaccination-stats.js
Last active January 11, 2023 21:47
A Scriptable widget that shows the amount of people who have received the corona vaccination in Germany
View vaccination-stats.js
// Version 1.3.0
// 27.11.2021
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: notes-medical;
// Mit Caching und Fallback
const cacheMinutes = 60; // 60 min
const today = new Date();
const neededTotalVaccinations = 83200000;
pygoner /
Last active January 12, 2021 16:54
CO2 Signal plugin for BitBar - read line 14-15 for initialisation
#!/usr/bin/env PYTHONIOENCODING=UTF-8 /usr/local/bin/python3
# <bitbar.title>CO2Signal API</bitbar.title>
# <bitbar.version>v1.0</bitbar.version>
# <>Martin Jobke</>
# <>pygoner</>
# <bitbar.desc>This plugin displays the current gCO2eq emmissions per kWh of produced energy in the requested country </bitbar.desc>
# <bitbar.dependencies>python, CO2 Signal</bitbar.dependencies>
import requests
noqqe /
Created December 11, 2016 12:48
Instapaper to Pinboard Conversion Script
#!/usr/bin/env python2.7
import json
from datetime import datetime
import csv
l = csv.reader(open('instapaper-export.csv','rb'), delimiter=',')
pins = []
for link in l:
nickvergessen / latest-daily.php
Last active March 7, 2017 13:35
A little php script that creates sym links for the latest daily builds within a directory
View latest-daily.php
* The MIT License (MIT)
* Copyright (c) 2016 Joas Schilling
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
felixboehm / jodel.html
Created April 2, 2016 00:18
jodel-board, TOKEN needs to be set
View jodel.html
.grid-item {
margin-bottom: 15px;
.grid-item img {
width: 250px;
height: 400px;
imjasonh / markdown.css
Last active March 19, 2023 20:32
Render Markdown as unrendered Markdown (see
View markdown.css
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
zakx /
Last active August 30, 2020 00:01 — forked from trehn/
# setup: pip install requests beautifulsoup4
from decimal import Decimal
import requests
from bs4 import BeautifulSoup
import sys
# Session setup
microlinux /
Last active October 25, 2022 13:18
Bash script for storing ping data in RRDs and graphing that data
# -------
# 1.) Create directory structure
# <base_dir>
# <base_dir>\bin
# <base_dir>\etc
# <base_dir>\log
# <base_dir>\rrd
jancborchardt / Dealing with
Last active January 24, 2022 23:07
Dealing with issues
View Dealing with

Dealing with issues

Try to reproduce issues

Go through the new issues and try to reproduce them. It’s important to get additional info, logs, and test if an issue occurs on different platforms. That helps us identify the source of the problem.

Triage issues

  • if there’s more info needed, ask the reporter to use the issue template
  • assign relevant labels
icewind1991 /
Last active December 17, 2015 22:49

New Architecture

The Server

The server object functions as the global scope, it holds the various core components, manages plugins and routed and handles incomming requsts


Implementes \OC\Hooks\Emitter