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
import {PLATFORM} from 'aurelia-pal'; | |
import {noView} from 'aurelia-framework'; | |
@noView() | |
export class Resize { | |
desktop = true; | |
resizing = false; | |
constructor() { |
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
# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats | |
# Change example.com (server_name) to your website url | |
# Change /path/to/your/root to the correct value | |
server { | |
listen 80; | |
server_name example.com; | |
root /path/to/your/root; | |
index index.html; |
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
'use strict' | |
const net = require('net') | |
const chalk = require('chalk') | |
const path = require('path') | |
const cp = require('child_process') | |
const rimraf = require('rimraf') | |
function getPath() { |
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
function postJSON($url, $data, $method = 'POST') { | |
$data_string = str_replace("\r", '', json_encode($data)); | |
$headers = [ | |
'Accept: application/json', | |
'Content-Type: application/json', | |
'Content-Length: ' . strlen($data_string) | |
]; |
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
{"to":"[email protected]","from":"Cavy Notifications <[email protected]>","subject":"[localhost.cavy.io] Change Alert: performing another test","html":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN\"\n \"http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd\">\n<html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\"\/>\n <title>Cavy Change Alert<\/title>\n <style type=\"text\/css\">\n body {\n background-color: #eeeeee;\n margin: 0;\n padding: 40px;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 14px;\n }\n <\/style>\n<\/head>\n<body>\n<div style=\"max-width: 600px;\">\n\n <table cellpadding=\"20\" cellspacing=\"0\" style=\"width: 100%; max-width: 600px; border: 1px solid #CCCCCC;\">\n <tr>\n <td bgcolor=\"#F3F3F3\">\n <p>\n Hey Roland,\n |
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
Delivered-To: [email protected] | |
Received: by 10.103.47.16 with SMTP id v16csp3818655vsv; | |
Tue, 12 Dec 2017 04:04:14 -0800 (PST) | |
X-Google-Smtp-Source: ACJfBotAPU6LvBH2/0vX8VRQfZ1wyGNHY8HoITrXrItdfi1lfEfvtgqtTFP4IGFZllYB3/TEyjSv | |
X-Received: by 10.99.120.68 with SMTP id t65mr1829455pgc.58.1513080254672; | |
Tue, 12 Dec 2017 04:04:14 -0800 (PST) | |
ARC-Seal: i=1; a=rsa-sha256; t=1513080254; cv=none; | |
d=google.com; s=arc-20160816; | |
b=Ij0R6IhQPoaw8tlZdrE2eMi7WTMrHReOr+dk0wHXWrOqTDMx9uGnUKsjV66ufBIYet | |
H4SpYQTqOxXe/nmw66sXnfSrJh8uStmc/JFCGEarfjZLr0Tna4n+nRM7z0gS8JULdzSL |
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
'use strict'; | |
module.exports = { | |
// If started as root then privileges are dropped after all ports are bound | |
//user: 'nobody', | |
//group: 'nogroup', | |
// App name to be used in the Received headers and greeting messages | |
name: 'ZoneMTA', |
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
configureRouter(config, router) { | |
config.title = 'Cavy'; | |
let routes = BaseRoutes.concat(SettingsRoutes); | |
/* | |
for (let route of routes) { | |
if (route.moduleId) { | |
route.moduleId = PLATFORM.moduleName(route.moduleId); | |
} | |
} | |
*/ |
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
[ | |
{ | |
"route": ["", "wiki"], | |
"name": "wiki", | |
"menu": "main", | |
"settings": { | |
"showTopicExplorer": true | |
}, | |
"nav": true, | |
"auth": false, |
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
[ 159.205565] applespi: read 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 df | |
[ 159.225535] applespi: --- Keyboard Event --------------------------- | |
[ 159.225539] applespi: read 20 01 00 00 00 00 14 00 10 01 00 84 00 00 0a 00 01 00 00 16 17 00 00 00 00 00 ec 0d 00 00 00 00 | |
[ 159.225541] applespi: read 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
[ 159.225543] applespi: read 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
[ 159.225545] applespi: read 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
[ 159.225546] applespi: read 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
[ 159.225548] applespi: read 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
[ 159.225550] applespi: read 00 00 00 00 00 00 00 00 |