For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| /* eslint no-param-reassign: 0 */ | |
| /** | |
| * JavaScript implementation of W3 DOM4 TreeWalker interface. | |
| * | |
| * See also: | |
| * - https://dom.spec.whatwg.org/#interface-treewalker | |
| * | |
| * Attributes like "read-only" and "private" are ignored in this implementation | |
| * due to ECMAScript 3 (as opposed to ES5) not supporting creation of such properties. |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| title | tags | authors | |||||
|---|---|---|---|---|---|---|---|
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily |
|
|
getAllLinks.js
getAllLinks(element) - returns array of all UrlLinks in Document
findAndReplaceLinks(searchPattern,replacement) - changes all matching links in Document
changeCase.js - Document add-in, provides case-change operations in the add-in Menu.
onOpen - installs "Change Case" menu
_changeCase - worker function to locate selected text and change text case. Case conversion is managed via callback to a function that accepts a string as a parameter and returns the converted string.
helper functions for five cases
| --- | |
| ssl_certificates: | |
| - certificate_src: secure.example.com.pem | |
| certificate_dest: /etc/ssl/certs/secure.example.com.pem | |
| key_src: secure.example.com.protected.key | |
| key_dest: /etc/ssl/private/secure.example.com.protected.key | |
| key_stripped: /etc/ssl/private/secure_example.com.key | |
| key_password: "{{ssl_passphrase}}" |
| upstream tornadoFrontends { | |
| server 127.0.0.1:8000; | |
| server 127.0.0.1:8001; | |
| server 127.0.0.1:8002; | |
| server 127.0.0.1:8003; | |
| } | |
| server { | |
| listen 80; | |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Simple async crawler/callback queue based on gevent.""" | |
| import traceback | |
| import logging | |
| import httplib2 | |
| import gevent |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| circle { | |
| stroke: #fff; | |
| } | |
| </style> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
| <title>OMG Particles!</title> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.25.0"></script> | |
| <style type="text/css"> | |
| body { | |
| background: #222; |
| local function base (digit_list) | |
| local b = #digit_list | |
| if b == 0 then | |
| return function(number) return "" end | |
| elseif b == 1 then | |
| local mark = digit_list[1] | |
| return function(number) | |
| return string.rep(mark, number) | |
| end | |
| else |