Skip to content

Instantly share code, notes, and snippets.

View wilsolutions's full-sized avatar

Wils wilsolutions

View GitHub Profile
wilsolutions / react-native-notes
Last active June 25, 2021 20:54
React Native Notes
# Issues:
- Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the application entry file path is incorrect.
Fix: watchman watch-del-all; react-native start --reset-cache
# IPA generation
1. Create the bundle
execAndLogCommand('Creating bundle...', `(npx react-native bundle \
--entry-file='index.js' \
--bundle-output=${bundleOutput} \
# app/build.gradle
apply plugin: ""
apply plugin: 'io.fabric'
project.ext.react = [
entryFile: "index.js",
wilsolutions / exportOptionsAdHoc.plist
Created November 19, 2019 18:23 — forked from cocoaNib/exportOptionsAdHoc.plist
Xcode build with exportOptionsPlist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
: '
$ brew install imagemagick
$ ./icon-tool iconPath destination
Fatal error
First seen version
Exception message
java.lang.RuntimeException: Unable to resume activity {com.wsample.wsample/com.wsample.wsample.MainActivity}:
wilsolutions / # node - 2018-04-19_17-03-06.txt
Created April 19, 2018 22:00
node on macOS 10.13.3 - Homebrew build logs
Homebrew build logs for node on macOS 10.13.3
Build date: 2018-04-19 17:03:06
/* Style the elements (nothing interesting here) */
font-size: 16px;
width: 420px;
margin: 20px auto 0;
// Test Android intent from command line
#adb shell am start -W -a android.intent.action.VIEW -d "http://domain.blah/" com.somedomain.appname
// Need to remember to pass a expression (fn) the watch or a full string path
vm.$onInit = function() {
$scope.$watch("$paymentInfoCtrl.cardModel.cardNumber", function(newValue, oldValue) {
console.log('oldValue: ' + oldValue + 'newValue: ' + newValue);
mazon Web Services: Enterprise Security
Ethical Hacking: Website and Web Application Testing
CISSP Cert Prep: 4 Communication and Network Security
Ethical Hacking: Mobile Devices and Platforms
Ethical Hacking: Trojans and Backdoors
Ethical Hacking: Penetration Testing
CISSP Cert Prep: 3 Security Engineering
Cloud Computing: Cloud Security
Open Data: Unleashing Hidden Value
Ethical Hacking: Wireless Networks
(function() {
'use strict';
.directive('applyFocus', function($timeout) {
return {
link: function(scope, element, attrs) {
$timeout(function() {
element[0].style.color = "blue";