Skip to content

Instantly share code, notes, and snippets.

View app-settings
#
# app/build.gradle
#
apply plugin: "com.android.application"
apply plugin: 'io.fabric'
import com.android.build.OutputFile
project.ext.react = [
entryFile: "index.js",
@wilsolutions
wilsolutions / exportOptionsAdHoc.plist
Created Nov 19, 2019 — forked from cocoaNib/exportOptionsAdHoc.plist
Xcode build with exportOptionsPlist
View exportOptionsAdHoc.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>ad-hoc</string>
</dict>
</plist>
View ios-icon-tool
#!/bin/sh
: '
Requirements:
$ brew install imagemagick
Usage:
$ ./icon-tool iconPath destination
Where:
View UA Crash
Fatal error
java.lang.RuntimeException
First seen version
20420002
File
ActivityThread.java
Exception message
java.lang.RuntimeException: Unable to resume activity {com.wsample.wsample/com.wsample.wsample.MainActivity}:
@wilsolutions
wilsolutions / # node - 2018-04-19_17-03-06.txt
Created Apr 19, 2018
node on macOS 10.13.3 - Homebrew build logs
View # node - 2018-04-19_17-03-06.txt
Homebrew build logs for node on macOS 10.13.3
Build date: 2018-04-19 17:03:06
View CSS3
/* Style the elements (nothing interesting here) */
p{
font-size: 16px;
width: 420px;
margin: 20px auto 0;
text-align:center;
}
.container{
View ionic 1.3.2 things
// 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);
});
};
View security-books
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
View applyFocus ionic
(function() {
'use strict';
angular.module('starter')
.directive('applyFocus', function($timeout) {
return {
link: function(scope, element, attrs) {
$timeout(function() {
element[0].style.color = "blue";
View objc-ipv6
+ (void)pingReachabilityInternal
{
BOOL ignoresAdHocWiFi = NO;
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 90000)
struct sockaddr_in6 ipAddress;
bzero(&ipAddress, sizeof(ipAddress));
ipAddress.sin6_len = sizeof(ipAddress);
ipAddress.sin6_family = AF_INET6;
#else
struct sockaddr_in ipAddress;
You can’t perform that action at this time.