This file contains hidden or 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
| blueprint: | |
| name: Medication Reminder - notification actions (mark given / skip / snooze) | |
| description: > | |
| Zpracovává tlačítka Označeno jako podáno, Přeskočit dnes a Upozornit později | |
| na upozorněních a upozorněních na vynechané dávky (označí dávku jako podanou, | |
| přeskočí ji na dnešek nebo odloží její upozornění) a maže tato upozornění | |
| vždy, když je dávka označena jako podaná, přeskočena nebo odložena jakýmkoli | |
| způsobem: tlačítkem, řídicím panelem, NFC štítkem nebo službami mark_given / | |
| skip_today / snooze. Importujte tento blueprint spolu s blueprintem | |
| upozornění na dávky. |
This file contains hidden or 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
| blueprint: | |
| name: Medication Reminder - dose reminders and missed-dose escalation | |
| description: > | |
| Upozorňuje na nadcházející dávky léků, opakovaně upozorňuje během časového okna | |
| každé dávky a jednou eskaluje vynechanou dávku. Automaticky objevuje všechny | |
| spínače dávek vytvořené integrací Upozornění na léky, takže přidání pacienta | |
| nebo dávky nevyžaduje zde žádné úpravy. Importujte spolu s tímto i blueprint | |
| „akce upozornění“, aby tlačítka Označeno jako podáno / Přeskočit / | |
| Upozornit později fungovala. Pokud je pro stejného pacienta ve stejný čas | |
| naplánováno více dávek, upozornění se seskupí do jedné notifikace (přepínač |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Switch element example</title> | |
| <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | |
| <link rel="icon" type="image/x-icon" href="./favicon.ico"> | |
| <link rel="stylesheet" href="./mvp.css" data-title="světlý styl" fetchpriority="high" crossorigin="anonymous"> | |
| <style> |
This file contains hidden or 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
| "use strict"; | |
| //@ts-check | |
| export default ( async () => | |
| { | |
| /** @type {Number} */ | |
| const REPORT = 1; |
This file contains hidden or 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
| /** | |
| * revize 3 - minimum změn oproti produkci | |
| * | |
| * oproti produkci tam nejsou ty problémy s nutným refreshováním stránky či nepřidáním věcí do košíku při zadání kódu | |
| * taktéž oproti produkci nevypisuje chvilkově tu chybu po zadání kódu (než se košík přenačte) | |
| * není nutné podmínkově rozlišovat prohlížeče, chová se ve všech stejně | |
| * | |
| * ale oproti revizi 2 zase má stejný problém jako produkce, že to bere PATCHcokoliv, PATCHPOROTA, PATCHE CELÁ ZEMĚ a tak | |
| * | |
| */ |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset='utf-8'> | |
| <title>Slideshow</title> | |
| <meta name='viewport' content='width=device-width, initial-scale=1'> | |
| <style> | |
| /* html { | |
| font-size: 1rem; |
This file contains hidden or 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
| O Bitcoinu, zrovna teď když se během týdne propadl o 15% ? (// údaj od 18.4 do 25.4, ale možná se to ještě chvíli udrží) | |
| ########################################################## | |
| (// použité zkratky: BTC pro Bitcoin, HEX pro šestnáctkovou soustavu) | |
| * Varování: tento text může vzbudit touhu vlastnit BTC. * | |
| No přesněji, propadl se kurz BTC ku kurzu Dolaru a ANO, právě teď je ta nejlepší doba si o BTC něco zjistit. | |
| Zájem o BTC podle množství vyhledávání na Google přesně kopíruje jeho kurz ( https://trends.google.com/trends/explore?date=today%205-y&q=%2Fm%2F05p0rrx,%2Fm%2F061s4 ). | |
| Lidi to dělají špatně, nakupují při maximálním růstu ne při pádu, jako je teď. Děláte to špatně! |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>checkbox to toggle element</title> | |
| <style> | |
| html { | |
| box-sizing: border-box; | |
| } |
This file contains hidden or 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
| 'use strict'; | |
| const MIN_SCROLL_TIME = 250; // in ms | |
| const JS_WORKING_ONLY_CLASSNAME = 'js'; | |
| const UP_ARROW_CODE = 38; | |
| const DOWN_ARROW_CODE = 40; | |
| const slideIds = []; | |
| [ ...document.getElementsByTagName( 'main' )[ 0 ].children ].forEach( ( /** @type {HTMLElement} */ item ) => { | |
| item.classList.add( JS_WORKING_ONLY_CLASSNAME ); | |
| slideIds.push( item.id ); |
NewerOlder