| Description | Command |
|---|---|
| Start a new session with session name | screen -S <session_name> |
| List running sessions / screens | screen -ls |
| Attach to a running session | screen -x |
| Attach to a running session with name | screen -r |
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 'dart:async'; | |
| import 'package:flutter/widgets.dart'; | |
| class GoRouterRefreshStream extends ChangeNotifier { | |
| /// Creates a [GoRouterRefreshStream]. | |
| /// | |
| /// Every time the [stream] receives an event the [GoRouter] will refresh its | |
| /// current route. | |
| GoRouterRefreshStream(Stream<dynamic> stream) { |
This file has been truncated, but you can view the full file.
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
| [ | |
| { | |
| "id": 132, | |
| "name": "California", | |
| "display_name": "California", | |
| "alias": "ca", | |
| "type": "LEVEL_1", | |
| "root_id": 125, | |
| "super_root_id": 125, | |
| "salons": 11272, |
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
| [ | |
| { | |
| "level2_name": "Houston", | |
| "level2_alias": "houston", | |
| "level1_alias": "tx", | |
| "level1_name": "Texas", | |
| "salons": 370, | |
| "link_region": "https://maby.us/location/us/tx/houston" | |
| }, | |
| { |
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 'dart:convert'; | |
| import 'dart:io'; | |
| void main() { | |
| String a = stdin.readLineSync(); | |
| String b = stdin.readLineSync(); | |
| print (multiplication(a.trim(), b.trim())); | |
| } | |
| String multiplication (String a, String b) { |
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:rxdart/rxdart.dart'; | |
| late StreamController<String> streamController; | |
| ... | |
| @override | |
| void initState() { |
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 'dart:async'; | |
| import 'dart:developer' as developer; | |
| import 'dart:ui' as ui; | |
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| class PageLoadingOverlay extends StatefulWidget { | |
| static const ROUTE_NAME = 'PageLoadingOverlay'; |
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 | |
| function genQuickImport() { | |
| SPACE="$1" | |
| cd "$SPACE" || exit | |
| echo "$SPACE" | |
| FOLDER_NAME=$(basename "$PWD") | |
| if test -f "$FOLDER_NAME.dart"; then | |
| rm -f "$FOLDER_NAME.dart" | |
| fi |
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<BitmapDescriptor> createBitmapDescriptor( | |
| String link, double deviceRadio, bool isActive) async { | |
| Color color = isActive ? Color(0xFF2574FF) : Colors.grey; | |
| final scaleInfo = (double value) { | |
| return deviceRadio * value; | |
| }; | |
| //Size Of Image Export | |
| Size sizeImage = Size.fromRadius(scaleInfo(31)); | |
| ui.PictureRecorder pictureRecorder = ui.PictureRecorder(); |
NewerOlder