This graphGist is meant to help find synergies between the different components of a character in the Open Legend RPG system: attributes, feats, boons, and banes.
//Attributes| import React, { Component } from 'react'; | |
| import { Text, View } from 'react-native'; | |
| import axios from 'axios'; | |
| import Product from '../../models/Product' | |
| // Note the special import here! | |
| interface ICardCollectionProps { | |
| } |
| func longestSequence(_ A: [Int]) -> Int { | |
| var adjacentCounts = [Int: Int]() | |
| var max = 0 | |
| for index in 0..<A.count { | |
| if adjacentCounts[index] != nil { | |
| continue | |
| } | |
| var leftSide = adjacentCounts[index - 1] ?? 0 | |
| var rightSide = adjacentCounts[index + 1] ?? 0 | |
| adjacentCounts[index] = leftSide + rightSide + 1 |
I hereby claim:
To claim this, I am signing this object:
| NSLog(@"Before Crittercism Init: %p", NSGetUncaughtExceptionHandler()); | |
| [Crittercism enableWithAppID:@"<YOUR_CRITTERCISM_APP_ID>"]; | |
| NSLog(@"After Crittercism Init: %p", NSGetUncaughtExceptionHandler()); | |
| // Then before you cause a crash log the pointer again: | |
| NSLog(@"Handler Before Crash: %p", NSGetUncaughtExceptionHandler()); |
| var puzzlers = [ | |
| function ( a ) { return 8*a - 10; }, | |
| function ( a ) { return (a-3) * (a-3) * (a-3); }, | |
| function ( a ) { return a * a + 4; }, | |
| function ( a ) { return a % 5; } | |
| ]; | |
| var start = 2; | |
| var applyAndEmpty = function(num, queueOfFunctions) { |
| ./plcrashutil convert --format=iphone myapp.plcrash > myapp.crash |
| #!/bin/bash | |
| die () { | |
| echo >&2 "$@" | |
| exit 1 | |
| } | |
| [ "$#" -eq 1 ] || die "1 argument (UUID) required, $# provided" | |
| MDFIND=/usr/bin/mdfind | |
| UUID=`echo ${1} | |