- Ubuntu 20.04 (18.04, 16.04 works the same)
- Apache 2.4.18 or higher
- OpenSSL 1.0.2g-1ubuntu4.10 or higher
- e.g. LetsEncrypt certificate
OS: Ubuntu 20.04 Apache/2.4.18 1.0.2g-1ubuntu4.10 +
| function logColor(color, args) { | |
| console.log(`%c ${args.join(' ')}`, `color: ${color}`); | |
| } | |
| const log = { | |
| aliceblue: (...args) => { logColor('aliceblue', args)}, | |
| antiquewhite: (...args) => { logColor('antiquewhite', args)}, | |
| aqua: (...args) => { logColor('aqua', args)}, | |
| aquamarine: (...args) => { logColor('aquamarine', args)}, | |
| azure: (...args) => { logColor('azure', args)}, |
| <?php | |
| /* Getting a JSON Facebook Feed | |
| ========================================================================== | |
| 1. Sign in as a developer at https://developers.facebook.com/ | |
| 2. Click "Create New App" at https://developers.facebook.com/apps | |
| 3. Under Apps Settings, find the App ID and App Secret |
| // Uses [request](https://github.com/mikeal/request) | |
| // /?url=http://nodejs.org/logo.png | |
| // /?uri=http://nodejs.org/logo.png | |
| // /?url=http://nodejs.org/logo.png&cb=cbName | |
| // /?url=http://nodejs.org/logo.png&callback=cbName | |
| var fs = require('fs'); | |
| var url = require('url'); | |
| var http = require('http'); | |
| var request = require('request'); |