This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.
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
| export function getdateAsString(today: Date, delimiter: string = '-') { | |
| let y = new Intl.DateTimeFormat('en', { year: 'numeric' }).format(today); | |
| let m = new Intl.DateTimeFormat('en', { month: '2-digit' }).format(today); | |
| let d = new Intl.DateTimeFormat('en', { day: '2-digit' }).format(today); | |
| return `${y}${delimiter}${m}${delimiter}${d}`; | |
| } |
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
| # Definition for a binary tree node. | |
| # class TreeNode: | |
| # def __init__(self, val=0, left=None, right=None): | |
| # self.val = val | |
| # self.left = left | |
| # self.right = right | |
| class TreeInfo: | |
| def __init__(self, currentTotalSum, maxSum): | |
| self.currentTotalSum = currentTotalSum |
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:firebase_messaging/firebase_messaging.dart'; | |
| import 'package:flutter_local_notifications/flutter_local_notifications.dart'; | |
| class LocalNotificationService { | |
| static final FlutterLocalNotificationsPlugin | |
| _flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin(); | |
| static void initialize() async { | |
| // The first step is to create a new instance of the plugin class | |
| // then initialize it with the settings to use for each platform |