����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����
Server IP : 74.208.127.88 / Your IP : 216.73.216.186 Web Server : Apache/2.4.41 (Ubuntu) System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/var/www/html/admin/assets/plugins/moment/tasks/ |
Upload File : |
var https = require("https"), zlib = require('zlib'), path = require('path'), fs = require('fs'); var stable = '1.7.1', done; function getVersion(path, cb) { var data = '', req = https.request({ host: 'raw.github.com', port: 443, path: '/timrwood/moment/' + path }, function (res) { res.setEncoding('utf8'); res.on('data', function (chunk) { data += chunk; }); res.on('end', function (e) { zlib.gzip(data, function (error, result) { cb(data.length, result.length); }); }); }); req.on('error', function (e) { console.log('problem with request: ' + e.message); }); req.end(); } function printDiffs(stableLen, stableGzip, currentLen, currentGzip) { var diff = currentLen - stableLen, gzipDiff = currentGzip - stableGzip; console.log("Filesize difference from current branch to " + stable); console.log(stable + " " + stableLen + ' / ' + stableGzip); console.log("curr " + currentLen + ' / ' + currentGzip); console.log("diff " + (diff > 0 ? '+' : '') + diff); console.log("gzip " + (gzipDiff > 0 ? '+' : '') + gzipDiff); } module.exports = function (grunt) { grunt.registerTask('size', 'Check the codebase filesize against the latest stable version.', function () { done = this.async(); fs.readFile(path.normalize(__dirname + '/../min/moment.min.js'), 'utf8', function (err, data) { if (err) { throw err; } zlib.gzip(data, function (error, result) { getVersion(stable + '/min/moment.min.js', function (stableLength, stableGzipLength) { printDiffs(stableLength, stableGzipLength, data.length, result.length); done(); }); }); }); }); };