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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
// This widget is the root of your application. |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
// This widget is the root of your application. |
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
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'GridView mit Mindestbreite', | |
home: Scaffold( |
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
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(const MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
const MyApp({super.key}); | |
@override |
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
import os | |
from email import policy | |
from email.parser import BytesParser | |
# Pfad zur .eml-Datei | |
eml_file = "beispiel.eml" | |
output_dir = "bilder" | |
# Sicherstellen, dass der Ausgabeordner existiert | |
os.makedirs(output_dir, exist_ok=True) |
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
//taken from https://github.com/Nimblesite/nimble_charts/blob/main/charts_flutter/example/lib/line_chart/animation_zoom.dart | |
import 'package:flutter/material.dart'; | |
import 'dart:math'; | |
//install with flutter pub add nimble_charts | |
import 'package:nimble_charts/flutter.dart' as charts; | |
void main() { | |
runApp(const MyApp()); | |
} |
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
// taken from https://github.com/Nimblesite/nimble_charts/blob/main/charts_flutter/example/lib/line_chart/simple.dart | |
import 'package:flutter/material.dart'; | |
import 'dart:math'; | |
//install with flutter pub add nimble_charts | |
import 'package:nimble_charts/flutter.dart' as charts; | |
void main() { | |
runApp(const MyApp()); | |
} |
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
class PointA { | |
double x = 1.0; | |
double y = 2.0; | |
// The implicit default constructor sets these variables to (1.0,2.0) | |
// PointA(); | |
// | |
PointA(String s) : x = double.parse(s), y = double.parse(s); |
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
#1. ESP32 @ /dev/ttyS7 <-> /dev/ttyV1 | |
# baudrate auf 115200 setzen (ist erforderlich)! | |
stty -F /dev/ttyS7 | |
# virtuellen port /tmp/ttyV1 erstellen und mit /dev/ttyS7 verbinden mit -x => verbose hexadecimal dump of data traffic | |
socat -x PTY,link=/tmp/ttyV1,raw,echo=0,crnl /dev/ttyS7,b115200,raw,echo=0 | |
#per tio output anschauen | |
tio /tmp/ttyV1 | |
#2. dasselbe mit Umweg über IP/Port: /dev/ttyS7 <-> localhost:54321 <-> /tmp/ttyV1 | |
socat -dd /dev/ttyS7,b115200,raw,echo=0 tcp-listen:54321 |
NewerOlder