BLUE
PHP 7.4.33
Path:
/var/www/coop-podio-sms.bitkit.dk/httpdocs/node_modules/node-notifier/lib
Run
Logout
Edit File
Size: 540 B
Close
/var/www/coop-podio-sms.bitkit.dk/httpdocs/node_modules/node-notifier/lib/checkGrowl.js
Text
Base64
var net = require('net'); var hasGrowl = false; module.exports = function(growlConfig, cb) { if (typeof cb === 'undefined') { cb = growlConfig; growlConfig = {}; } if (hasGrowl) return cb(null, hasGrowl); var port = growlConfig.port || 23053; var host = growlConfig.host || 'localhost'; var socket = net.connect(port, host); socket.setTimeout(100); socket.once('connect', function() { socket.end(); cb(null, true); }); socket.once('error', function() { socket.end(); cb(null, false); }); };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
checkGrowl.js
540 B
lrw-r--r--
1985-10-26 08:15:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utils.js
14.07 KB
lrw-r--r--
1985-10-26 08:15:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).