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
const fs = require("fs"); | |
const url = require("url"); | |
function fixBitwardenJson() { | |
const filePath = process.argv[2]; | |
if (!filePath || !fs.existsSync(filePath)) return; | |
let jsonData = null; | |
let count = 0; |
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:developer' as developer; | |
import 'dart:io'; | |
const _lookupHost = 'example.com'; | |
/// Web servers to check. | |
const _hosts = [ | |
'example.com', | |
'ya.ru', | |
'google.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
/* | |
* https://gist.github.com/PlugFox/320d051c5a393f56f60c3cf080d6171a | |
* https://dartpad.dev/320d051c5a393f56f60c3cf080d6171a?null_safety=true | |
*/ | |
import 'package:flutter/widgets.dart'; | |
@immutable | |
class SettingsScope extends StatefulWidget { | |
final Widget child; |
OlderNewer