####Assumptions
- QGIS installed (if not: http://qgis.com/)
We will use the Electoral District and Polling Division shapefiles found on the Elections Ontario site:
####Assumptions
We will use the Electoral District and Polling Division shapefiles found on the Elections Ontario site:
| #!/bin/bash | |
| #create our key pairs | |
| openssl genrsa -out private.pem 2048 | |
| openssl rsa -in private.pem -pubout -out public.pem | |
| #sign and verify | |
| openssl dgst -sha1 -sign private.pem -out "$0".sha1 $0 | |
| openssl dgst -sha1 -verify public.pem -signature "$0".sha1 $0 |
| 'use strict'; | |
| const crypto = require('crypto'); | |
| const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key | |
| const IV = "5183666c72eec9e4"; // set random initialization vector | |
| // ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex'); | |
| const phrase = "who let the dogs out"; | |
| var encrypt = ((val) => { |
| /** | |
| * The dining philosophers implementation of Node.js | |
| * | |
| * See also: | |
| * http://rust-lang-ja.github.io/the-rust-programming-language-ja/1.6/book/dining-philosophers.html | |
| * | |
| * (c) 2018 Leko | |
| */ | |
| const cluster = require('cluster') |
| #### Issue description | |
| #### Steps to reproduce the issue | |
| 1. | |
| 2. | |
| 3. |