This is a SCRIPT-8 cassette.
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
<?php | |
$dir = "/var/www/lena/reg"; | |
$pattern = '/(\d{4}\d{2}\d{2}_\d{2}\d{2}\d{2})/'; | |
if (isset($_GET['list'])) { | |
echo "<h1>Liste</h1><ul>"; | |
foreach (glob("{$dir}/*.txt") as $f) { | |
if (preg_match($pattern, $f, $m)) { | |
$d = $m[1]; | |
echo "<li><a href=\"?r={$d}\">{$d}</a></li>\n"; |
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
appID("Der Elfenring") | |
first_zuhause = true | |
first_strand = true | |
ring_taken = false | |
windspiel = false | |
tageszeit = 1 | |
zeiten = { | |
'Morgen', | |
'Vormittag', |
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
module main | |
author unknown | |
version 1 0 | |
description '' | |
variables x x2 led blip | |
spec ' ' 'blink' 'blink' | |
to blink { | |
led = (random 1 3) |
This is a SCRIPT-8 cassette.
This is a SCRIPT-8 cassette.
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
module main | |
author unknown | |
version 1 0 | |
description '' | |
script 496 60 { | |
whenButtonPressed 'B' | |
'[display:mbDisplay]' 18284864 | |
'[radio:sendString]' 'traurig' | |
waitMillis 500 |
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
#!env python3 | |
import time | |
import CHIP_IO.GPIO as GPIO | |
import CHIP_IO.LRADC as ADC | |
pin = 'XIO-P0' | |
#pin = 'U14_13' | |
#pin = 'CSID0' | |
#GPIO.toggle_debug() |
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
Zuhause | |
... | |
first_zuhause: true | |
ring_taken: false | |
windspiel: false | |
tageszeit: -1 | |
zeiten: | |
- Morgen | |
- Vormittag | |
- Mittag |
NewerOlder