Skip to content

Instantly share code, notes, and snippets.

View adintegra's full-sized avatar
🏠
👨‍💻

Mark Kunzmann adintegra

🏠
👨‍💻
View GitHub Profile
@adintegra
adintegra / incidence.js
Last active December 27, 2020 21:00 — forked from kevinkub/incidence.js
COVID-19 Widget für iOS in der Schweiz 🇨🇭
// 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 September 7, 2018 10:12
Hierarchical listing of installed brew packages
brew deps --tree --installed
@adintegra
adintegra / 265to264.sh
Created October 26, 2017 07:44
Snippet to convert h.265 (e.g. iPhone 7) videos to h.264 with ffmpeg
# 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 January 4, 2016 10:36
Generally useful Oracle snippets
-- 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;
/