Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
रिक्त स्थान छिपाएँ
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
टेक्स्ट शैलियां
दिखावट बदलें
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled diff
बनाया गया
10 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
23 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
53 लाइनें
सभी को कॉपी करें
16 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
48 लाइनें
सभी को कॉपी करें
var path = require('path'),
var path = require('path'),
util = require('util'),
util = require('util'),
querystring = require('querystring'),
querystring = require('querystring'),
child_process = require('child_process');
child_process = require('child_process');
var engine = function (filePath, opts, callback) {
var engine = function (filePath, opts, callback) {
var binPath = this.binPath,
var binPath = this.binPath,
runnerPath = this.runnerPath,
runnerPath = this.runnerPath,
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
displayErrors = this.displayErrors,
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
method = opts.method || 'GET',
method = opts.method || 'GET',
get = opts.get || {},
get = opts.get || {},
post = opts.post || {},
post = opts.post || {},
query = opts.query || querystring.stringify(get),
query = opts.query || querystring.stringify(get),
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
body = opts.body || querystring.stringify(post),
env = {
env = {
REQUEST_METHOD: method,
REQUEST_METHOD: method,
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
CONTENT_LENGTH: body.length,
QUERY_STRING: query
QUERY_STRING: query
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
};
},
encodedEnv = [];
for (var key in env) {
if (env[key]) {
encodedEnv.push(util.format('%s="%s"', key, env[key]));
}
}
var command = util.format(
var command = util.format(
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
'
%s %s %s %s',
'
%s
%s %s %s %s',
(body
?
util.format('echo "%s" | ', body)
: ''
) +
binPath,
encodedEnv.length
?
'export ' + encodedEnv.join(' ') + ';'
: ''
,
binPath,
runnerPath,
runnerPath,
path.dirname(filePath),
path.dirname(filePath),
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
filePath
filePath
,
(typeof post == "string" ? util.format(" '%s'", post) : '')
);
);
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
child_process.exec(command,
function (error, stdout, stderr) {
child_process.exec(command,
{
env: env
},
function (error, stdout, stderr) {
if (error) {
if (error) {
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
callback(error);
// can leak server configuration
if (displayErrors && stdout) {
callback(stdout);
} else {
callback(error);
}
} else if (stdout) {
} else if (stdout) {
callback(null, stdout);
callback(null, stdout);
} else if (stderr) {
} else if (stderr) {
callback(stderr);
callback(stderr);
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
} else {
callback(null, null);
}
}
});
});
};
};
module.exports = engine;
module.exports = engine;
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
var path = require('path'), util = require('util'), querystring = require('querystring'), child_process = require('child_process'); var engine = function (filePath, opts, callback) { var binPath = this.binPath, runnerPath = this.runnerPath, displayErrors = this.displayErrors, method = opts.method || 'GET', get = opts.get || {}, post = opts.post || {}, query = opts.query || querystring.stringify(get), body = opts.body || querystring.stringify(post), env = { REQUEST_METHOD: method, CONTENT_LENGTH: body.length, QUERY_STRING: query }; var command = util.format( '%s %s %s %s', (body ? util.format('echo "%s" | ', body) : '') + binPath, runnerPath, path.dirname(filePath), filePath ); child_process.exec(command,{ env: env }, function (error, stdout, stderr) { if (error) { // can leak server configuration if (displayErrors && stdout) { callback(stdout); } else { callback(error); } } else if (stdout) { callback(null, stdout); } else if (stderr) { callback(stderr); } else { callback(null, null); } }); }; module.exports = engine;
परिवर्तित टेक्स्ट
फ़ाइल खोलें
var path = require('path'), util = require('util'), querystring = require('querystring'), child_process = require('child_process'); var engine = function (filePath, opts, callback) { var binPath = this.binPath, runnerPath = this.runnerPath, method = opts.method || 'GET', get = opts.get || {}, post = opts.post || {}, query = opts.query || querystring.stringify(get), env = { REQUEST_METHOD: method, QUERY_STRING: query }, encodedEnv = []; for (var key in env) { if (env[key]) { encodedEnv.push(util.format('%s="%s"', key, env[key])); } } var command = util.format( '%s %s %s %s %s', encodedEnv.length ? 'export ' + encodedEnv.join(' ') + ';' : '', binPath, runnerPath, path.dirname(filePath), filePath, (typeof post == "string" ? util.format(" '%s'", post) : '') ); child_process.exec(command, function (error, stdout, stderr) { if (error) { callback(error); } else if (stdout) { callback(null, stdout); } else if (stderr) { callback(stderr); } }); }; module.exports = engine;
अंतर खोजें