Skip to content

Instantly share code, notes, and snippets.

View yousefmasry4's full-sized avatar
🙄
Focusing

Yousseff Muhammed EL Masry yousefmasry4

🙄
Focusing
View GitHub Profile
@yousefmasry4
yousefmasry4 / main.dart
Last active September 21, 2022 11:20
Counter example
// To parse this JSON data, do
//
// final articles = articlesFromJson(jsonString);
import 'package:http/http.dart' as http;
import 'dart:convert';
String articlesToJson(Articles data) => json.encode(data.toJson());
@yousefmasry4
yousefmasry4 / main.dart
Created September 21, 2022 11:09
Counter example
// To parse this JSON data, do
//
// final articles = articlesFromJson(jsonString);
import 'package:http/http.dart' as http;
import 'dart:convert';
String articlesToJson(Articles data) => json.encode(data.toJson());
@yousefmasry4
yousefmasry4 / main.dart
Created September 21, 2022 10:52
Counter example
// To parse this JSON data, do
//
// final articles = articlesFromJson(jsonString);
import 'dart:convert';
Articles articlesFromJson(String str) => Articles.fromJson(json.decode(str));
String articlesToJson(Articles data) => json.encode(data.toJson());
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
[
{
"songid":"60908",
"title":"el 8sala",
"author":"wegz",
"pic":"https://i3.sndcdn.com/artworks-d5wCDRJVFVTqAdH6-JAkXAQ-t500x500.jpg",
"url":"https://ss6.sm3na.com/1888/Sm3na_com_60908.mp3"
}
]
@yousefmasry4
yousefmasry4 / ip
Last active August 30, 2019 00:26
http://196.218.134.164:5000/
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'dart:async';
import 'package:flutter/widgets.dart';
class op extends StatefulWidget {
const op({Key key}) : super(key: key);
@override
page createState() => page();
}
@yousefmasry4
yousefmasry4 / model-evaluation-and-refinement.ipynb
Created February 21, 2019 21:05
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yousefmasry4
yousefmasry4 / model-evaluation-and-refinement.ipynb
Created February 21, 2019 21:05
Created on Cognitive Class Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yousefmasry4
yousefmasry4 / d.sql
Last active January 22, 2018 12:42
d.sqlite3
BEGIN TRANSACTION;
CREATE TABLE "users" (
`inpu` TEXT UNIQUE,
`gen` TEXT,
`stat` TEXT,
`mzag` TEXT,
`al2` TEXT,
`outpu` TEXT
);
INSERT INTO `users` VALUES ('hi','-','-','h','-','hi');