Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
👨‍💻

Mark Kunzmann adintegra

🏠
👨‍💻
  • Adintegra GmbH / typemark.io
  • Switzerland
View GitHub Profile
@adintegra
adintegra / incidence.js
Last active Dec 27, 2020 — forked from kevinkub/incidence.js
COVID-19 Widget für iOS in der Schweiz 🇨🇭
View incidence.js
// Thanks to Dänu Probst (https://github.com/daenuprobst) for cleanly aggregating the data and
// Kevin Kub (https://github.com/kevinkub) for the widget skeleton!
class IncidenceWidget {
constructor() {
this.apiUrlCantons = (location) => `https://app.adintegra.com/covid/?c=${location}`
this.AbbrToCanton = {
'AG': 'Aargau',
'AI': 'Appenzell IR',
'AR': 'Appenzell AR',
@adintegra
adintegra / brewpackages.sh
Last active Sep 7, 2018
Hierarchical listing of installed brew packages
View brewpackages.sh
brew deps --tree --installed
@adintegra
adintegra / 265to264.sh
Created Oct 26, 2017
Snippet to convert h.265 (e.g. iPhone 7) videos to h.264 with ffmpeg
View 265to264.sh
# Quick snippet to convert h.265 (e.g. iPhone 7) videos to h.264 with ffmpeg
ffmpeg -i xxxxx.mov -c:v libx264 -crf 23 -preset medium -c:a copy -movflags +faststart xxxxx.mp4
@adintegra
adintegra / OracleStuff.sql
Last active Jan 4, 2016
Generally useful Oracle snippets
View OracleStuff.sql
-- Basic DB version info
DECLARE
ver VARCHAR2(30);
compat VARCHAR2(30);
BEGIN
dbms_utility.db_version(ver, compat);
dbms_output.put_line('Version: ' || ver || ' Compat: ' || compat);
END;
/