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
<script> | |
var data = [{ | |
"fz": 44, | |
"registration_number": "0301300020720000004", | |
"organizer_inn": "0268019693", | |
"fas_complaints": "False", | |
"placing_way": "Электронный аукцион", | |
"lots": { | |
"lot_number": 1, | |
"lot_items": [{ |
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
[{ | |
"fz": 44, | |
"registration_number": "0301300020720000004", | |
"organizer_inn": "0268019693", | |
"fas_complaints": "False", | |
"placing_way": "Электронный аукцион", | |
"lots": { | |
"lot_number": 1, | |
"lot_items": [{ | |
"object_code": "20.59.52.199" |
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
[{ | |
"fz": 44, | |
"registration_number": "0301300020720000004", | |
"etp": "АКЦИОНЕРНОЕ ОБЩЕСТВО «ЕДИНАЯ ЭЛЕКТРОННАЯ ТОРГОВАЯ ПЛОЩАДКА»", | |
"processing_status": "Заключен контракт", | |
"publication_date": "2020-02-03", | |
"complete_date": "2020-02-12 00:00:00", | |
"organizer_name": "ГОСУДАРСТВЕННОЕ БЮДЖЕТНОЕ УЧРЕЖДЕНИЕ ЗДРАВООХРАНЕНИЯ РЕСПУБЛИКИ БАШКОРТОСТАН ГОРОДСКАЯ БОЛЬНИЦА № 2 ГОРОДА СТЕРЛИТАМАК", | |
"organizer_inn": "0268019693", | |
"organizer_kpp": "026801001", |
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:convert'; | |
import 'dart:io'; | |
import 'package:http_middleware/database.dart'; | |
import 'package:dart_express/dart_express.dart'; | |
import 'package:http_middleware/json_match.dart'; | |
import 'package:http_middleware/global.dart'; | |
import 'dart:convert'; | |
const int PORT = 5000; |
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:convert'; | |
main() { | |
List list = ['foo', 1, 'bar', 9]; | |
List values = []; | |
for(var l in list) | |
{ | |
if (l.runtimeType == String) | |
{ |
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:convert'; | |
main() async { | |
String str = (r"""{ | |
"id": "22657730", | |
"purchaseNumber": "0138200004020000001", | |
"placingWay": "EAP44", | |
"etp_code": "ETP_RTS", | |
"lots": [{ |
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
main() { | |
Map json = jsonDecode('{"id": 1, "price": 100, "type": "fruits", "color": "red"}'); | |
ProductFactory productFactory = ProductFactory(); | |
productFactory.MakeFactory(json); | |
} | |
class ProductFactory { | |
MakeFactory(Map json) |
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
main() { | |
Map json = jsonDecode('{"id": 1, "price": 100, "type": "fruits", "color": "red"}'); | |
ProductFactory productFactory = ProductFactory.fromJson(json); | |
} | |
class ProductFactory { | |
CurrentProduct currentProduct; |
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
main() { | |
Map json = jsonDecode('{"id": 1, "price": 100, "type": "fruits", "color": "red"}'); | |
Product product = Product.fromJson(json); | |
} | |
class Product { | |
int id; | |
num price; |
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
<!doctype html> | |
<html> | |
<head> | |
<title>Network</title> | |
<meta charset="utf-8"> | |
<script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script> | |
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v3.0.1/dist/mini-default.min.css"> | |
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> |