Skip to content

Instantly share code, notes, and snippets.

exec > /tmp/${PROJECT_NAME}_archive.log 2>&1
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal
if [ "true" == ${ALREADYINVOKED:-false} ]
then
echo "RECURSION: Detected, stopping"
else
export ALREADYINVOKED="true"
@DorkForce
DorkForce / scanScope.txt
Last active August 16, 2024 10:00
Console script - Search breakpoint model for value. SYNTAX: scanScope($scope.model, 'Fred');
console.log("Usage Syntax: scanScope(objectToScan, 'scanFor', ['whatToIgnore']); %c(whatToIgnore is optional and can be a string, or an array of strings) (scanScope can be shortened to ss)", 'color: red');
var abortAtLevel = 20,
callStack = 0,
errArray = [],
funArray = [],
scanLoop = function (whatToScan, scanValue, whatToIgnore, parentTree) {
scanValue = scanValue.toLowerCase();
if (Array.isArray(whatToIgnore)) {
whatToIgnore.forEach(function (ignoreVal) {
ignoreVal = lowerCase(ignoreVal);
@paulpatarinski
paulpatarinski / XamFormsBindableProp
Created February 17, 2015 16:49
Xamarin Forms Bindable Property Resharper Template
public static readonly BindableProperty $propertyName$Property =
BindableProperty.Create("$propertyName$", typeof($propType$), typeof($controlType$), default($propType$));
public $propType$ $propertyName$
{
get { return ($propType$)GetValue($propertyName$Property); }
set { SetValue($propertyName$Property, value); }
}