Skip to content

Instantly share code, notes, and snippets.

View amrfarid140's full-sized avatar

Amr Yousef amrfarid140

View GitHub Profile
@amrfarid140
amrfarid140 / bank_code.txt
Created December 7, 2016 13:30
Banks Codes
AAIB -> Arab African Internationl Bank
AB -> Bank of Alexandria
ADIB -> "Abu Dhabi Islamic Bank"
BM -> "Banque Misr"
CB -> "Banque Du Cairo"
MIDB -> "Misr Iran Development Bank"
CIB -> "Commercial International Bank Egypt"
NBE -> "National Bank of Egypt"
PBDAC -> "The Principal Bank for Development and Agricultural Credit"
SAIB -> "(SAIB) Societe Arabe Internationale de Banque"
@amrfarid140
amrfarid140 / stacktract
Created February 8, 2017 16:54
App Stack Trace
--------- beginning of crash
02-08 16:48:53.332 30746-30263/? A/google-breakpad: -----BEGIN BREAKPAD MICRODUMP-----
02-08 16:48:53.332 30746-30263/? A/google-breakpad: V WebView:52.0.2743.100
02-08 16:48:53.332 30746-30263/? A/google-breakpad: O A x86_64 02 x86_64 Android/sdk_google_phone_x86_64/generic_x86_64:7.1/NPF26K/3479480:userdebug/test-keys
02-08 16:48:53.332 30746-30263/? A/google-breakpad: G OpenGL ES 2.0 (4.4.0 - Build 20.19.15.4549)|Google (Intel)|Android Emulator OpenGL ES Translator (Intel(R) HD Graphics 5500)
02-08 16:48:53.332 30746-30263/? A/google-breakpad: S 0 00007FFF52FFDCB8 00007FFF52FFD000 0000000000008000
02-08 16:48:53.335 30746-30263/? A/google-breakpad: S 00007FFF52FFD000 0000000000000000E0E002E4FC7900000000000000000000080000000000000094E9C070000000005269D5E3FC790000BF310AEAFE39440920D1FF52FF7F0000010000000000000008D1FF52FF7F00000E0000000000000004000000000000000800000000000000A4B2D6E3F
@amrfarid140
amrfarid140 / build.gradle
Last active June 25, 2018 11:51
Testing Gradle Dependencies
...
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
androidTestImplementation ('com.android.support.test:runner:0.5'){
exclude module: 'support-annotations'
@amrfarid140
amrfarid140 / build.gradle
Created June 17, 2017 10:06
Adding the test runner
...
defaultConfig {
...
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
...
}
...
as
;ksgfa;mfsg;mlfsz
<a href="https://www.able.ineqe.com/apps/saferschools/zm/images/Download_on_the_App_Store_Badge_US-UK_1134x342.png" target="_blank">
<a href="https://itunes.apple.com/us/app/safer-schools/id1263090553?ls=1&amp;mt=8" target="_blank">
<img src="http://abledev.ineqe.com/apps/saferschools/zm/images/Download_on_the_App_Store_Badge_US-UK_1134x342.png" alt="Smiley face">
<a>
@amrfarid140
amrfarid140 / function.json
Last active April 13, 2018 19:05
funciton.json with Entry Point example
{
"disabled": false,
"entryPoint" : "index",
"bindings": [
{
"authLevel": "function",
"type": "httpTrigger",
"direction": "in",
"name": "req"
},
@amrfarid140
amrfarid140 / tsconfig.json
Last active April 13, 2018 18:20
TypeScript configuration file
{
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"lib": ["es6", "dom","es2015","es5","es2015.promise","es2015.iterable"],
"sourceMap": true,
"allowJs": false,
"moduleResolution": "node",
"experimentalDecorators": true,
"rootDir": "./",