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
// ==UserScript== | |
// @name medium-dark | |
// @namespace plugfox | |
// @version 2024-03-19 | |
// @description Dark Mode for Medium | |
// @author plugfox | |
// @run-at document-start | |
// @homepage https://gist.github.com/PlugFox/0795e7ffb4fe4b190fafc734bc5a63a5 | |
// @homepageURL https://gist.github.com/PlugFox/0795e7ffb4fe4b190fafc734bc5a63a5 | |
// @match *://medium.com/* |
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
// ==UserScript== | |
// @name medium-bypass | |
// @namespace plugfox | |
// @version 2024-03-19 | |
// @description Bypass Medium paywall | |
// @author plugfox | |
// @run-at document-end | |
// @homepage https://gist.github.com/PlugFox/608ef9f5caecf87c820d8ffd9468cc72 | |
// @homepageURL https://gist.github.com/PlugFox/608ef9f5caecf87c820d8ffd9468cc72 | |
// @match *://medium.com/* |
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
/* | |
* Stream async expand | |
* https://gist.github.com/PlugFox/0366eb6d7bd2f3e03fd629c5a96ea8ff | |
* https://dartpad.dev?id=0366eb6d7bd2f3e03fd629c5a96ea8ff | |
* Mike Matiunin <plugfox@gmail.com>, 07 March 2024 | |
*/ | |
import 'dart:async'; | |
import 'package:flutter/material.dart'; |
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
/* | |
* Sunflower | |
* https://gist.github.com/PlugFox/9d251f3300804746884e2c2f8824babb | |
* https://dartpad.dev?id=9d251f3300804746884e2c2f8824babb | |
* Mike Matiunin <plugfox@gmail.com>, 06 March 2024 | |
*/ | |
import 'dart:async'; | |
import 'dart:math' as math; |
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
/* | |
* Sequential Cubit | |
* https://gist.github.com/PlugFox/a183c3c804a3369efe8ad3584f0550ac | |
* https://dartpad.dev?id=a183c3c804a3369efe8ad3584f0550ac | |
* Matiunin Mikhail <plugfox@gmail.com>, 15 February 2024 | |
*/ | |
import 'dart:async'; | |
import 'dart:collection'; |
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 | |
}); | |
} |