Skip to content

Instantly share code, notes, and snippets.

View bellsraafi's full-sized avatar

Bello Raafi bellsraafi

View GitHub Profile
@bellsraafi
bellsraafi / select_emulator_and_wait_for_boot.sh
Created August 31, 2022 07:29 — forked from mrk-han/select_emulator_and_wait_for_boot.sh
Select Emulator, Wait for Emulator to Start, Wait for Emulator to Boot, then Install Android.apk
#!/usr/bin/env bash
####################################################################################
# Adapted from various wait-for-boot scripts found online
# This is the most robust version I could write for MacOS
# MUST have upgraded Bash to run mapfile
# Can adapt the last 2 functions if you want to start an Emulator on CI
# This is part of a script we run locally before starting Appium automation on Android
####################################################################################
@bellsraafi
bellsraafi / .github-workflows-main.yml
Created May 17, 2022 11:05 — forked from edvinasbartkus/.github-workflows-main.yml
Github Action for React Native Detox
name: Detox
on: [push]
jobs:
build:
runs-on: macOS-latest
timeout-minutes: 15
env:
@bellsraafi
bellsraafi / README.markdown
Created October 30, 2019 19:05 — forked from marijn/README.markdown
List of countries in YAML, CSV and TXT format
@bellsraafi
bellsraafi / webpack.config.js
Created September 21, 2018 10:55 — forked from learncodeacademy/webpack.config.js
Sample Basic Webpack Config
var debug = process.env.NODE_ENV !== "production";
var webpack = require('webpack');
module.exports = {
context: __dirname,
devtool: debug ? "inline-sourcemap" : null,
entry: "./js/scripts.js",
output: {
path: __dirname + "/js",
filename: "scripts.min.js"