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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"></meta> | |
| <title>Graphite Flot Example</title> | |
| <style type="text/css"> | |
| #graphite { | |
| width: 300px; | |
| height: 200px; | |
| font-size: 14px; |
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 dgram = require('dgram'); | |
| var socket = dgram.createSocket('udp4'); | |
| var testMessage = "[hello world] pid: " + process.pid; | |
| var broadcastAddress = '255.255.255.255'; | |
| var broadcastPort = 5555; | |
| socket.setBroadcast(true); | |
| socket.bind(broadcastPort, '0.0.0.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
| /var/log/nginx_*.log { | |
| daily | |
| compress | |
| delaycompress | |
| rotate 2 | |
| missingok | |
| nocreate | |
| sharedscripts | |
| postrotate | |
| test ! -f /var/run/nginx.pid || kill -USR1 `cat /var/run/nginx.pid` |
NewerOlder