Skip to content

Instantly share code, notes, and snippets.

View shazron's full-sized avatar
😆

Shazron Abdullah shazron

😆
View GitHub Profile
@shazron
shazron / delete_all_greenkeeper_branches.sh
Last active April 8, 2021 13:44
Delete all Greenkeeper branches
#!/bin/bash
# Description:
# Delete all `greenkeeper/*` branches of your remote.
# Instructions:
# Run the script with the `--help` flag.
ORIGIN=origin
DRY_RUN=0
THIS=`basename "$0"`
@shazron
shazron / update_all.sh
Last active September 4, 2018 07:34
Update named repos in a Github Organization
#! /bin/bash
# simple update, nothing fancy, gets things done
# run from the parent folder CWD (all repos will are siblings)
# EDIT: this is the Org for the repos
GH_ORG="adobe"
# EDIT: this is the base url for the repos (Github.com)
BASE_URL="https://github.com/$GH_ORG"
# EDIT: add the repo name to this list
@shazron
shazron / cordova-ios-webview-roadmap.csv
Created August 2, 2018 14:43
Cordova iOS WebView Roadmap
Cordova iOS 4 >>> Cordova iOS 5 >>> Cordova iOS 6
UIWebView deprecated UIWebView removed
WKWebView Engine Plugin Integrated Into Platform WKWebView Engine Plugin only
Bridge WebView Plugin Added Bridge WebView Plugin Removed
@shazron
shazron / openwhisk_60s_runc_workaround.md
Last active January 23, 2018 04:26
OpenWhisk in 60 Seconds (runc workaround)
@shazron
shazron / getUserMedia is not supported in WKWebView.brisk
Created July 27, 2017 21:04
Brisk file to dupe an Apple Radar for "getUserMedia is not supported in WKWebView"
{
"reproducibility_id": 1,
"expected": "Access to the microphone and camera",
"description": "One of the big announcements for the web in iOS 11 is support for getUserMedia in Safari (see https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Safari_11_0/Safari_11_0.html#//apple_ref/doc/uid/TP40014305-CH13-SW8 for announcement). Sadly, it appears that getUserMedia is not enabled for applications that use a WKWebView.\n",
"configuration": "iOS 11 beta 4",
"product_id": 579020,
"attachments": [
],
"steps": "Call `getUserMedia` in a page loaded into a WKWebView",
@shazron
shazron / gist:4975c0beaa6537c2e74bbe3ecaed109f
Created March 29, 2017 23:38
Creative SoundBlaster E1 crash log on macOS Sierra 10.12.4
Anonymous UUID: E7AB4B75-313B-7007-77E9-E813615CA3EC
Wed Mar 29 16:29:52 2017
*** Panic Report ***
panic(cpu 2 caller 0xffffff800ae011bd): Kernel trap at 0xffffff7f8b69612d, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000d7c, CR3: 0x000000044962b04d, CR4: 0x00000000001627e0
RAX: 0x0000000000000100, RBX: 0xffffff81a82ce000, RCX: 0x0000000000000100, RDX: 0x0000000000000100
RSP: 0xffffff91f66db6d0, RBP: 0xffffff91f66db740, RSI: 0xffffff91f66db768, RDI: 0x0000000000000000
R8: 0x0000000000000002, R9: 0xffffff81a82d462c, R10: 0xffffff81a82d3624, R11: 0x0000000000000001
$ ./cordova/run --emulator
ANDROID_HOME=/Users/shazron/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home
No emulator specified, defaulting to QWR
Waiting for emulator to start...
emulator: Requested console port 5584: Inferring adb port 5585.
Hax is enabled
Hax ram_size 0x80000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5584
#!/bin/bash
#
# List Apple Developer Account Team IDs from Provisioning Profiles on your local machine.
#
# Source: https://gist.github.com/shazron/e0dc8fb575fcbac1bdc992631ff23fd3
# License: Apachev2
#
# You could also launch Xcode Organizer directly to the Provisioning Profiles section (to check for validity) by running:
# open ~/Library/MobileDevice/Provisioning\ Profiles/*
#
Closing Remarks
- state of the Union
- Project health
- Cordova board report info (what we've been up to)
- Contributors (companies, individuals)
- How to contribute, plea
- Future
- Thanks
Process: ios-deploy [1873]
Path: /usr/local/Cellar/nvm/0.24.0/versions/io.js/v1.6.2/lib/node_modules/ios-deploy/build/Release/ios-deploy
Identifier: ios-deploy
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [570]
Responsible: Terminal [484]
User ID: 501
Date/Time: 2015-12-08 11:57:35.032 +0800