Skip to content

Instantly share code, notes, and snippets.

Alexander Brett alexander-brett

Block or report user

Report or block alexander-brett

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View lifts.js
var floors = {};
var floorsVisited = {};
var elevators = [];
var idles = [];
var up = "up";
var down = "down";
function distinct (a){
return a.filter((value, index, self) => self.indexOf(value) === index);
alexander-brett / bundle.bat
Created Aug 12, 2015
Create a redistributable .exe file for App-SFDC
View bundle.bat
perl -x %0 >
perlapp ^
--add MooX::Options::Role^
--add App::SFDC::Role::^
--add Log::Log4perl::Appender::Screen^
--add WWW::SFDC::^
--bind manifests/base.xml[file=C:\perl64\site\lib\auto\Share\dist\App-SFDC-Metadata\manifests\base.xml,text,mode=666]^
--bind manifests/all.xml[file=C:\perl64\site\lib\auto\Share\dist\App-SFDC-Metadata\manifests\all.xml,text,mode=666]^
--bind plugins/[file=C:\perl64\site\lib\auto\Share\dist\App-SFDC-Metadata\plugins\,text,mode=777]^
alexander-brett /
Created Feb 2, 2015
Run unit tests with WWW::SFDC
#!/usr/bin/env perl
use Modern::Perl '2013';
use Getopt::Long;
use WWW::SFDC::Tooling;
use Data::Dumper;
=head1 NAME - run SFDC unit tests and output jUnit formatted results
package xmlDiff;
use Data::Dumper;
use strict;
use warnings;
use v5.10;
$\ = "\n";
$/ = "\0";
sub parseXML {
You can’t perform that action at this time.