Skip to content

Instantly share code, notes, and snippets.

@gokhancerk
gokhancerk / index.html
Created October 30, 2020 14:25
Playground-React App
<div id="root"></div>
<div class="person">
<h1>Max Verstappen</h1>
<p>Your Age: 30</p>
</div>
<div class="person">
<h1>Lewis Hamilton</h1>
<p>Your Age: 35</p>
@mario-fliegner
mario-fliegner / ffw_corona-ampel_landkreis_7-tage-inzidenz.html
Last active November 23, 2022 20:04
"Corona Ampel" HTML5-Template für die Anzeige des 7-Tage-Inzidenzwertes eines beliebigen Landkreises. Daten via Rest-API vom RKI.
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width = device-width, initial-scale = 1.0" />
<meta name="description" content="Inzidenzwert Testseite">
<title>Corona-Ampel</title>
<style>
.fett{
#!/bin/bash
echo ""
echo "============================================="
echo "========== Install linux in Termux =========="
echo "============================================="
echo ""
echo ""
echo "==== Choose Installation Option ===="
@Botiplz
Botiplz / KWGT_Variablen
Last active November 6, 2025 10:50
Corona Inzidenz-Widget für Android
KWGT Variablen:
Lon:
$li(lon)$
Lat:
$li(lat)$
@rphl
rphl / incidence.js
Last active February 1, 2026 21:34 — forked from kevinkub/incidence.js
COVID-19 Inzidenz-Widget für iOS innerhalb Deutschlands 🇩🇪 (Kreis/Stadt + Bundesland + Trend)
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: red; icon-glyph: briefcase-medical;
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
// Alte version siehe: https://gist.github.com/rphl/0491c5f9cb345bf831248732374c4ef5/revisions
WIDGET WURDE IN EIN REPO VERSCHOBEN, SIEHE:
https://github.com/rphl/corona-widget
data:text/html;base64,PCFET0NUWVBFIGh0bWw+IDxodG1sIGRhdGEtdXNlcmFnZW50PSJNb3ppbGxhLzUuMCAoV2luZG93cyBOVCAxMC4wOyBydjo4Mi4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzgyLjAiPjwhLS0KIFBhZ2Ugc2F2ZWQgd2l0aCBTaW5nbGVGaWxlIAogdXJsOiBodHRwczovL2l0dHkuYml0dHkuc2l0ZS9lZGl0IAogc2F2ZWQgZGF0ZTogVHVlIE9jdCAxMyAyMDIwIDExOjQwOjIxIEdNVC0wNDAwIChFYXN0ZXJuIERheWxpZ2h0IFRpbWUpCi0tPjxtZXRhIGNoYXJzZXQ9dXRmLTg+CjxtZXRhIG5hbWU9dmlld3BvcnQgY29udGVudD0id2lkdGg9ZGV2aWNlLXdpZHRoIj4KPHRpdGxlPml0dHkuYml0dHk8L3RpdGxlPgo8c2NyaXB0IHNyYz0iZGF0YTp0ZXh0L2phdmFzY3JpcHQ7YmFzZTY0LGRtRnlJR1U5Wm5WdVkzUnBiMjRvS1hzaWRYTmxJSE4wY21samRDSTdablZ1WTNScGIyNGdjaWhsTEhJcGUzQnZjM1JOWlhOellXZGxLSHRoWTNScGIyNDZlSFFzWTJKdU9uSXNjbVZ6ZFd4ME9tVjlLWDFtZFc1amRHbHZiaUIwS0dVcGUzWmhjaUJ5UFZ0ZE8zSmxkSFZ5YmlCeVcyVXRNVjA5ZG05cFpDQXdMSEo5Wm5WdVkzUnBiMjRnYnlobExISXBlM0psZEhWeWJpQnBLR1ZiTUYwcmNsc3dYU3hsV3pGZEszSmJNVjBwZldaMWJtTjBhVzl1SUc0b1pTeHlLWHR5WlhSMWNtNGdkU2grZmsxaGRHZ3ViV0Y0S0UxaGRHZ3ViV2x1S0dWYk1WMHZUM1FzTWpFME56UTRNelkwTnlrc0xUSXhORGMwT0RNMk5EZ3BKbjUrVFdGMGFDNXRZWGdvVFdGMGFDNX
/* CONFIGURATION STARTS HERE */
/* Step 1: enter your domain name like fruitionsite.com */
const MY_DOMAIN = 'emmanuelvalverde.dev';
/*
* Step 2: enter your URL slug to page ID mapping
* The key on the left is the slug (without the slash)
* The value on the right is the Notion page ID
*/
/* General */
div.notion-topbar > div > div:nth-child(1n).toggle-mode {
display: none !important;
}
div.notion-topbar-mobile > div:nth-child(1n).toggle-mode {
display: none !important;
}
div.notion-topbar-mobile > div:nth-child(5) {
display: none !important;
}
@tmarshall
tmarshall / lazy-template-files-javascript.md
Created September 24, 2020 16:34
Lazy Template Files in JavaScript

Lazy Template Files in JavaScript

Template Literals

JavaScript has Template Literals (or Template Strings) built-in. This results in a string, after evaluating replacement expressions.

const name = 'Tim'
const job = 'Eng'
import 'package:flutter/material.dart';
class HeaderWithSearchBox extends StatelessWidget {
const HeaderWithSearchBox({
Key key,
@required this.size,
}) : super(key: key);
final Size size;
@override
Widget build(BuildContext context) {