This file contains 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 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:playground/src/resume_preview.dart'; | |
void main() => runZonedGuarded<Future<void>>( | |
() async { | |
runApp(const App()); | |
}, | |
(error, stackTrace) => |
This file contains 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
/* | |
* Month/Year Input | |
* https://gist.github.com/PlugFox/5b152b12c45484ba2f52295f9351d3de | |
* https://dartpad.dev?id=5b152b12c45484ba2f52295f9351d3de | |
* Matiunin Mikhail <plugfox@gmail.com>, 23 January 2024 | |
*/ | |
// ignore_for_file: curly_braces_in_flow_control_structures | |
import 'dart:async'; |
This file contains 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
version: "3.8" | |
services: | |
grafana: | |
image: portainer/template-swarm-monitoring:grafana-9.5.2 | |
ports: | |
- target: 3000 | |
published: 3000 | |
protocol: tcp | |
mode: ingress |
This file contains 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 'dart:ui' as ui show FragmentProgram, FragmentShader; | |
import 'package:agora_app/theme_audo/theme.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/scheduler.dart'; | |
/// {@template card} | |
/// A Card widget. | |
/// {@endtemplate} |
This file contains 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
void main([List<String>? arguments]) { | |
Keyboard.add(VK.Q, (state) { | |
if (state.up) return false; | |
if (!Keyboard.isShiftPressed) return false; | |
l.i('Shift + Q pressed'); | |
Keyboard.send(VK.W); | |
return true; // Return true to prevent default action | |
}); | |
} |
This file contains 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
/* | |
* Side panel example | |
* https://gist.github.com/PlugFox/ed60c155e7792d92b5400ca1652f0c2c | |
* https://dartpad.dev?id=ed60c155e7792d92b5400ca1652f0c2c | |
* Matiunin Mikhail <plugfox@gmail.com>, 23 December 2023 | |
*/ | |
import 'dart:async'; | |
import 'dart:developer'; |
This file contains 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
<html> | |
<head> | |
<title>Playground</title> | |
<link rel="stylesheet" type="text/css" href="styles.css"> | |
<script defer src="main.dart.js" type="application/javascript"></script> | |
</head> | |
<body> | |
<div id="content"> | |
<h1 class="center">Playground</h1> | |
<h3 class="center">This is a playground for testing Dart code.</h3> |
This file contains 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
/* | |
* Long Polling example | |
* https://gist.github.com/PlugFox/51038cb6f587332f6e803790a7d991e5 | |
* https://dartpad.dev?id=51038cb6f587332f6e803790a7d991e5 | |
* Matiunin Mikhail <plugfox@gmail.com>, 29 October 2023 | |
*/ | |
// ignore_for_file: avoid_print | |
import 'dart:async'; |
This file contains 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
/* | |
* Polling example | |
* https://gist.github.com/PlugFox/b6e5bbbbfe79157c8229f1ba4808fbe9 | |
* https://dartpad.dev?id=b6e5bbbbfe79157c8229f1ba4808fbe9 | |
* Matiunin Mikhail <plugfox@gmail.com>, 29 October 2023 | |
*/ | |
// ignore_for_file: avoid_print | |
import 'dart:async'; |
This file contains 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
/* | |
* Пример обмена данными между клиентом и сервером по протоколу TCP/IP | |
* https://gist.github.com/PlugFox/9cc2adb1d8df24fae2164e95dba6a911 | |
* https://dartpad.dev?id=9cc2adb1d8df24fae2164e95dba6a911 | |
* Matiunin Mikhail <plugfox@gmail.com>, 29 October 2023 | |
*/ | |
// ignore_for_file: avoid_print, lines_longer_than_80_chars | |
import 'dart:async'; |