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 StatefulWidget { | |
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
#!/bin/bash | |
sudo steamos-readonly disable | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
sudo pacman-key --populate holo | |
sudo pacman -Scc | |
sudo pacman -S tigervnc |
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
limactl create --name docker-vz --vm-type "vz" --rosetta --network vzNAT --mount-type "virtiofs" --mount "~/Develop:w" template://docker |
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
Future<void> loadAppFonts() async { | |
final fontManifest = await rootBundle.loadStructuredData( | |
'FontManifest.json', | |
(string) async => json.decode(string) as Iterable<dynamic>, | |
); | |
for (final e in fontManifest) { | |
final loader = FontLoader( | |
(e as Map<String, dynamic>)['family'] as String, | |
); |
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
#!/bin/bash | |
set -euxo pipefail | |
while [[ "$#" -gt 0 ]]; do | |
case $1 in | |
--account) | |
account="$2" | |
shift | |
;; | |
*) |
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 CustomSliverPersistentHeader extends SingleChildRenderObjectWidget { | |
const CustomSliverPersistentHeader({ | |
super.key, | |
required super.child, | |
}); | |
@override | |
RenderObject createRenderObject(BuildContext context) => | |
_RenderCustomSliverPersistentHeader(); | |
} |
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
#!/bin/bash | |
set -euxo pipefail | |
echo ' | |
[ | |
{ | |
"name": "delete_all", | |
"action": { | |
"type": "Delete" | |
}, |
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
name: Auto Merge | |
on: | |
workflow_run: | |
workflows: | |
- Pull Requests | |
types: | |
- completed | |
concurrency: |
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
name: pub get | |
on: | |
pull_request: | |
paths: | |
- packages/**/pubspec.yaml | |
- packages/**/pubspec.lock | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} |
NewerOlder