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
const deepDeleteDoc = async (store: admin.firestore.Firestore, docPath: string, batchSize: number): Promise<any> => { | |
const doc = store.doc(docPath); | |
const snap = await doc.get(); | |
if (!snap.exists) return; | |
console.log('Found doc - ' + docPath); | |
// Check if this doc has subcollections | |
const subCollections = await snap.ref.listCollections(); | |
const promises: Promise<void>[] = []; | |
if (subCollections) { | |
for (const subCollection of subCollections) { |
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
typedef Future<List<String>> OnChanged(String text); | |
class TypeAheadTextField extends StatefulWidget { | |
final OnChanged onChanged; | |
final ValueChanged onSelect; | |
TypeAheadTextField({this.onChanged, this.onSelect}); | |
@override | |
_TypeAheadTextFieldState createState() => _TypeAheadTextFieldState(); |
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
const express = require('express'); | |
var bodyParser = require('body-parser'); | |
var fs = require("fs"); | |
const app = express(); | |
const port = 3000; | |
app.use(bodyParser.json({ limit: '50mb' })); | |
app.listen(port, () => console.log(`Logger Proxy Server is listening on port ${port}`)); |
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/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Swipe Demo', |
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:math'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
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(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Swipe Demo', | |
debugShowCheckedModeBanner: false, |
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/gestures.dart'; | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Swipe Demo', |
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
{ | |
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"tslint.autoFixOnSave": false, | |
"git.enableSmartCommit": true, | |
"php.validate.executablePath": "php", | |
"editor.fontSize": 13, | |
"explorer.openEditors.visible": 0, | |
"editor.tabCompletion": true, | |
"php-cs-fixer.onsave": true, | |
"php-cs-fixer.executablePath": "${extensionPath}\\php-cs-fixer.phar", |