This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -x %0 > static_SFDC.pl | |
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/retrieve.plugins.pm[file=C:\perl64\site\lib\auto\Share\dist\App-SFDC-Metadata\plugins\retrieve.plugins.pm,text,mode=777]^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use Modern::Perl '2013'; | |
use Getopt::Long; | |
use WWW::SFDC::Tooling; | |
use Data::Dumper; | |
=head1 NAME | |
runUnitTests.pl - run SFDC unit tests and output jUnit formatted results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package xmlDiff; | |
use Data::Dumper; | |
use strict; | |
use warnings; | |
use v5.10; | |
$\ = "\n"; | |
$/ = "\0"; | |
sub parseXML { |