Skip to content

Instantly share code, notes, and snippets.

View OmarYehiaDev's full-sized avatar
🔍
Searching for new challenges

Omar Yehia OmarYehiaDev

🔍
Searching for new challenges
View GitHub Profile
@OmarYehiaDev
OmarYehiaDev / Application.kt
Last active January 21, 2021 15:11
These're the files for Flutter/Kotlin projects
package com.example.your_app
import io.flutter.app.FlutterApplication
import io.flutter.plugin.common.PluginRegistry
import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback
import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService
class Application : FlutterApplication(), PluginRegistrantCallback {
override fun onCreate() {
super.onCreate()
import 'dart:io';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_messaging/firebase_messaging.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';
import 'package:flutter/material.dart';
import 'package:overlay_support/overlay_support.dart';
class PushNotificationService {
[
{
"id": 1,
"name": "Leanne Graham",
"username": "Bret",
"email": "[email protected]",
"password": "9hX9rs"
},
{
"id": 2,
@OmarYehiaDev
OmarYehiaDev / quizWhatDoIwear.js
Last active July 14, 2019 20:06 — forked from desinas/quizWhatDoIwear.js
What do I wear Quiz (3-7) of Udacity Front end developer
/*
* Programming Quiz: What do I Wear? (3-7)
*
* Using if/else statements, create a series of logical expressions that logs the size of a t-shirt based on the measurements of:
* - shirtWidth
* - shirtLength
* - shirtSleeve
*
* Use the chart above to print out one of the following correct values:
* - S, M, L, XL, 2XL, or 3XL