Skip to content

Instantly share code, notes, and snippets.

View a7me63azzab's full-sized avatar
🎯
Focusing

Ahmed A. ElmenEm a7me63azzab

🎯
Focusing
View GitHub Profile
@a7me63azzab
a7me63azzab / best.R
Created July 10, 2016 14:08 — forked from timmyshen/best.R
Write a function called best that take two arguments: the 2-character abbreviated name of a state and an outcome name. The function reads the outcome-of-care-measures.csv le and returns a character vector with the name of the hospital that has the best (i.e. lowest) 30-day mortality for the specied outcome in that state. The hospital name is the…
best <- function(state, outcome) {
data <- read.csv(file='outcome-of-care-measures.csv', colClasses = 'character')
if(!any(state == data$State)) {
stop('invalid state')
}
if(outcome == 'heart attack') {
i <- 11
@a7me63azzab
a7me63azzab / Sublime Text 3 Build 3103 License Key - CRACK
Created July 17, 2016 23:12
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@a7me63azzab
a7me63azzab / README.md
Created May 11, 2018 12:06 — forked from mosampaio/README.md
Simple Phone Verification with Twilio, Node.js, Mongoose, and jQuery Raw

Please make sure you have set the following environment variables:

(This URL should be accessible thru the web. You can use Ngrok to help you if you are testing locally.)

export TWIML_SERVER_URL=https://www.example.org/twiml/

(This information can be found in your Twilio dashboard)

export TWILIO_ACCOUNT_SID=your-account-sid
### Keybase proof
I hereby claim:
* I am a7me63azzab on github.
* I am a7me63azza8 (https://keybase.io/a7me63azza8) on keybase.
* I have a public key ASBlaatFgk0nTBlNg4g6aa5IzAsjUEdYI-h_q0XVOSIzfQo
To claim this, I am signing this object:
@a7me63azzab
a7me63azzab / download.dart
Created March 14, 2019 12:33 — forked from slightfoot/download.dart
Download file in Dart/Flutter
static var httpClient = new HttpClient();
Future<File> _downloadFile(String url, String filename) async {
var request = await httpClient.getUrl(Uri.parse(url));
var response = await request.close();
var bytes = await consolidateHttpClientResponseBytes(response);
String dir = (await getApplicationDocumentsDirectory()).path;
File file = new File('$dir/$filename');
await file.writeAsBytes(bytes);
return file;
}
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../widgets/Circle_image.dart';
import '../helpers/color.dart';
import '../helpers/Utils.dart';
class EditProfilePage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return _EditProfilePageState();
@a7me63azzab
a7me63azzab / dropdown_popup.dart
Created April 12, 2019 11:11 — forked from slightfoot/dropdown_popup.dart
Custom Dropdown Popup Menu Example - Custom Enum, Theming, Extending Existing API, Animations, Transitions, Routes, Custom shadows, borders and painting. Based on https://dribbble.com/shots/2369431-Daily-UI-027-Dropdown
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:vector_math/vector_math_64.dart' show radians;
void main() => runApp(ExampleApp());
class ExampleItem {
static const Pineapples = ExampleItem._('Pineapples');
static const Watermelons = ExampleItem._('Watermelons');
static const StarFruit = ExampleItem._('Star Fruit');
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:wedding/src/helpers/color.dart';
import 'package:wedding/src/models/category_model.dart';
import 'package:wedding/src/scoped_models/main.dart';
import 'package:wedding/utils/dialogs.dart';
class ServiceProviderRegistrationPage extends StatefulWidget {
final MainModel model;
ServiceProviderRegistrationPage(this.model);
@a7me63azzab
a7me63azzab / page_turn.dart
Created September 24, 2019 07:51 — forked from slightfoot/page_turn.dart
Page Turn Effect - By Simon Lightfoot. Replicating this behaviour. https://www.youtube.com/watch?v=JqvtZwIJMLo
// MIT License
//
// Copyright (c) 2019 Simon Lightfoot
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
{
"message": true,
"data": {
"info": [
{
"about": "<p dir=\"rtl\"><span style=\"color:#999999\"><strong><span style=\"font-family:Trebuchet MS,Helvetica,sans-serif\"><span style=\"font-size:18px\">&nbsp;</span><span style=\"font-size:24px\">من نحن</span></span></strong></span></p>\r\n\r\n<p dir=\"rtl\" style=\"text-align:justify\"><span style=\"font-size:14px\"><strong><span style=\"color:#8e44ad\"><span style=\"font-family:Trebuchet MS,Helvetica,sans-serif\">موقع تسوق فاز الإلكتروني&nbsp;تم تأسيس هذا الموقع في عام ٢٠١٩م تحت أيدي خبراء في مجال التقنية وتم تصميمه بدقة احترافية تواكب عصر التطور التكنولوجي في مجال التسوق والتسويق</span></span></strong></span></p>",
"conditions": "<p style=\"text-align:right\">&nbsp; arabicالشروط والاحكام&nbsp;</p>",
"logo": "3144.png",
"email": "info@tswqfaz.com",
"phone": "00966542595948",