This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| const { | |
| pbkdf2Sync, | |
| createDecipheriv, | |
| } = require('crypto'); | |
| const algorithm = 'aes-256-gcm'; | |
| const password = 'ABCD'; | |
| const salt_hex = "FFFFFFFFFFFFFFFF" | |
| const java_encrypted_base64 = "r8URnR8DLWFH1ipBoREtkwX6wi5x/japz85d+3e2BBWCrVs=" |
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
| Some Jenkinsfile examples |
SELECT * FROM PLANE; CriteriaBuilder cb = em.getCriteriaBuilder();
CriteriaQuery<Plane> criteria = cb.createQuery(Plane.class);
Root<Plane> plane = criteria.from(Plane.class);
criteria.select(plane);
List<Plane> planes = em.createQuery(criteria).getResultList();
| @startuml | |
| actor PayRollCron | |
| participant PayDayTransaction | |
| participant PayRoll | |
| participant PayRollDatabase | |
| participant Employee | |
| participant PayCheck | |
| @enduml |
| { | |
| "name": "project", | |
| "version": "0.0.0", | |
| "authors": [ | |
| "Eric Barnes <[email protected]>" | |
| ], | |
| "license": "MIT", | |
| "private": true, | |
| "ignore": [ | |
| "**/.*", |
| package rponte.report; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.sql.Connection; | |
| import java.sql.SQLException; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| import net.sf.jasperreports.engine.JRException; |
| import sys | |
| import collections | |
| import gridfs | |
| import io | |
| import psycopg2 | |
| import pymongo | |
| import random | |
| import time | |
| # For fairness use the same chunk size - 512k. |
Assumptions:
| -- PostgreSQL 9.2 beta (for the new JSON datatype) | |
| -- You can actually use an earlier version and a TEXT type too | |
| -- PL/V8 http://code.google.com/p/plv8js/wiki/PLV8 | |
| -- Inspired by | |
| -- http://people.planetpostgresql.org/andrew/index.php?/archives/249-Using-PLV8-to-index-JSON.html | |
| -- http://ssql-pgaustin.herokuapp.com/#1 | |
| -- JSON Types need to be mapped into corresponding PG types | |
| -- |