Skip to content

Instantly share code, notes, and snippets.

View csteinlehner's full-sized avatar

Christoph Steinlehner csteinlehner

View GitHub Profile
@csteinlehner
csteinlehner / temp_c_f.js
Last active August 10, 2022 16:56
Scriptable local temperature in F and C
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: magic;
// OpenWeatherMap API 2.5 Key
const apiKey = "__YOUR_API_KEY__";
// Config sizes & colors
let detailFontSize = 40
let cColor = Color.white();
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">