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
| /* | |
| * Copyright 2019 Laurent PAGE, Apache Licence 2.0 | |
| */ | |
| package live.page.hubd.system.socket; | |
| import com.mongodb.CursorType; | |
| import com.mongodb.client.MongoCollection; | |
| import com.mongodb.client.MongoCursor; | |
| import com.mongodb.client.MongoDatabase; | |
| import com.mongodb.client.model.CreateCollectionOptions; |
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
| /* | |
| * Copyright 2019 Laurent PAGE, Apache Licence 2.0 | |
| */ | |
| package live.page.hubd.content.notices; | |
| import com.mongodb.client.model.*; | |
| import live.page.hubd.system.Settings; | |
| import live.page.hubd.system.db.Db; | |
| import live.page.hubd.system.db.utils.AggregateUtils; | |
| import live.page.hubd.system.db.utils.Aggregator; |
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
| package com.agroneo.web.gaia.events; | |
| import com.agroneo.web.gaia.utils.GaiaView; | |
| import com.mongodb.client.model.Aggregates; | |
| import com.mongodb.client.model.Field; | |
| import com.mongodb.client.model.Filters; | |
| import com.mongodb.client.model.IndexModel; | |
| import live.page.hubd.content.notices.NoticesExtender; | |
| import live.page.hubd.content.notices.NoticesView; | |
| import live.page.hubd.system.db.Db; |
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'; | |
| import 'package:hubd/data/settings.dart'; | |
| import 'package:hubd/utils/base/fx.dart'; | |
| import 'package:hubd/utils/language.dart'; | |
| const String _saveKey = "helps_viewed"; | |
| const Duration _duration = Duration(milliseconds: 250); | |
| const Curve _curve = Curves.ease; |
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/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| import 'package:flutter_sticky_header/flutter_sticky_header.dart'; | |
| import 'package:hubd/api/api.dart'; | |
| import 'package:hubd/data/settings.dart'; | |
| import 'package:hubd/lists/lists_utils.dart'; | |
| import 'package:hubd/lists/lists_view.dart'; | |
| import 'package:hubd/utils/async.dart'; |
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
| package live.page.utils; | |
| import com.drew.imaging.ImageMetadataReader; | |
| import com.drew.metadata.Metadata; | |
| import com.drew.metadata.exif.ExifSubIFDDirectory; | |
| import live.page.hubd.blobs.Blob; | |
| import live.page.hubd.system.json.Json; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; |
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
| package live.page.wiki; | |
| import live.page.hubd.system.json.Json; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| public class WikiLocation { | |
| public static List<Double> findLocation(Json data) { |
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'; | |
| class Deferrer { | |
| final int milliseconds; | |
| Future? _next; | |
| Deferrer(this.milliseconds); | |
| void defer(void Function() toDo) { | |
| Future? next_; |
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 FutureOrBuilder<T> extends StatelessWidget { | |
| final FutureOr<T?> future; | |
| final Widget Function(BuildContext context, AsyncSnapshot<T?> snapshot) builder; | |
| const FutureOrBuilder({super.key, required this.builder, required this.future}); |
NewerOlder