This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew deps --tree --installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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; | |
/ |