For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
// The prism.js library has already supported identifying function arguments according to: | |
// https://github.com/PrismJS/prism/pull/1446 | |
// https://github.com/PrismJS/prism/pull/1722 | |
// Please use the latest version instead. |
a4b.amazonaws.com | |
access-analyzer.amazonaws.com | |
account.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
airflow-env.amazonaws.com | |
airflow.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com |
#!/bin/bash | |
NAME="some-convention-driven-name-usually-a-resource-group" | |
APP="your-app-name-ideally-another-convention" | |
DEPLOYMENT_PASSWORD=`az appservice web deployment list-site-credentials \ | |
--resource-group ${NAME} \ | |
--name ${APP} \ | |
--query publishingPassword \ | |
--output tsv` |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
# Change YOUR_TOKEN to your prerender token | |
# 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; |
var kue = require('kue'), | |
jobs = kue.createQueue(), | |
util = require('util'), | |
noop = function() {}; | |
jobs.CLEANUP_MAX_FAILED_TIME = 30 * 24 * 60 * 60 * 1000; // 30 days | |
jobs.CLEANUP_MAX_ACTIVE_TIME = 1 * 24 * 60 * 60 * 1000; // 1 day | |
jobs.CLEANUP_MAX_COMPLETE_TIME = 5 * 24 * 60 * 60 * 1000; // 5 days | |
jobs.CLEANUP_INTERVAL = 5 * 60 * 1000; // 5 minutes |
// Twitter Issue (Can't tweet exclamation mark with v1.1) | |
// https://dev.twitter.com/discussions/12378 | |
// https://github.com/mikeal/request/issues/578 | |
var escape = function(str) { | |
return encodeURIComponent(str).replace(/[!*()']/g, function(character) { | |
return '%' + character.charCodeAt(0).toString(16); | |
}); | |
}; |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
// test if js engine's Array#sort implementation is stable | |
var str = "abcdefghijklmnopqrstuvwxyz"; | |
str.split("").sort(function(a,b) { | |
return ~~(str.indexOf(b)/2.3) - ~~(str.indexOf(a)/2.3); | |
}).join("") == "xyzvwtursopqmnklhijfgdeabc"; |