This file contains hidden or 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
| "fnFooterCallback": function ( nRow, aaData, iStart, iEnd, aiDisplay ) { | |
| var totalPE = 0; | |
| var totalPP = 0; | |
| var weightedPE = 0; | |
| var weightedPP = 0; | |
| var seg1PE = 0; | |
| var seg1PP = 0; | |
| var seg1WPE = 0; | |
| var seg1WPP = 0; | |
| var seg2PE = 0; |
This file contains hidden or 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/local/bin/perl | |
| use Archive::Zip; | |
| my $zipFile = "/temp/$user_$title.zip" | |
| my $zipFileName = "$user_title"; | |
| my $zip = Archive::Zip->new(); | |
| foreach my $file (@files){ | |
| my $storedDir = '/some/path/with/files/'; | |
| chdir $storedDir; |
This file contains hidden or 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/local/bin/perl | |
| use Archive::Zip; | |
| my $zipFile = "/temp/$user_$title.zip" | |
| my $zipFileName = "$user_title"; | |
| my $zip = Archive::Zip->new(); | |
| foreach my $file (@files){ | |
| my $storedDir = '/some/path/with/files/'; | |
| chdir $storedDir; |
This file contains hidden or 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
| use strict; | |
| use warnings; | |
| use URI; | |
| use LWP::Simple; | |
| use File::Spec; | |
| use File::Copy; | |
| use Win32::TieRegistry ( Delimiter=>"/", ArrayValues=>1 ); | |
| use Data::Dumper; | |
| use 5.14.0; | |
| my $debug = 0; |
This file contains hidden or 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/local/bin/perl | |
| use JSON; | |
| $jsonData = new JSON; | |
| open my $fh, '<', "/home/slippert/settings.json"; | |
| my $rawJSONData = do { local $/; <$fh> }; | |
| eval{ $dataModel = $jsonData->decode($rawJSONData); }; | |
| close $fh; |
This file contains hidden or 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/local/bin/perl | |
| use JSON; | |
| $jsonData = new JSON; | |
| open my $fh, '<', "/home/slippert/settings.json"; | |
| my $rawJSONData = do { local $/; <$fh> }; | |
| eval{ $dataModel = $jsonData->utf8->decode($rawJSONData); }; | |
| close $fh; |
This file contains hidden or 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
| if (!Array.prototype.clear){ | |
| Array.prototype.clear = function() { | |
| while (this.length > 0) { | |
| this.pop(); | |
| } | |
| }; | |
| }; |
This file contains hidden or 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
| if (!Array.prototype.last){ | |
| Array.prototype.last = function(){ | |
| return this[this.length - 1]; | |
| }; | |
| }; |
This file contains hidden or 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 workloadTable = $(".dataTables").dataTable({ | |
| "sDom" : '<"top"plf<"workload_filter"><"clear">>rt<"bottom"ipl<"clear">>', | |
| "aaSorting" : [[ 5, "desc" ]], | |
| "aoColumns" : [ | |
| { "sWidth": "250px" }, | |
| { "sWidth": "144px", "sType":"title-string" }, | |
| { "sWidth": "300px" }, | |
| { "sWidth": "125px" }, | |
| { "sWidth": "150px" }, | |
| { "sWidth": "150px" }, |
This file contains hidden or 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
| $('#workloadItems').text( workloadTable.fnSettings().fnRecordsTotal() ); |
OlderNewer