Skip to content

Instantly share code, notes, and snippets.

@nicholas-ochoa
nicholas-ochoa / dbconfig.js
Created February 26, 2020 20:22
Node OracleDB 5.x PL/SQL Nested Cursor tests
/* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. */
/******************************************************************************
*
* You may not use the identified files except in compliance with the Apache
* License, Version 2.0 (the "License.")
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0.
*
let fs = require('fs');
let pureImage = require('pureimage');
let scale = 4;
let width = (32 * scale) + 64;
let height = (17 * scale) + 64;
let image = pureImage.make(width, height);
let context = image.getContext('2d');