This is a simple web report application using react and nodejs.
Frontend libraries:
- render: react
- state: zustand
- router: react-router-dom
- grid: @simple-html/grid
- datasource: @simple-html/datasource
Trace file /tmp/oradiag_node/diag/clients/user_node/host_1751867021_110/trace/ora_1_140270356707072.trc | |
# 08/15/22 13:50:46:993 # Thread ID 140270356707072 # Entry - OCIHandleAlloc(parenth = 0x7f933800cd40, hndlp = 0x7f933cc8ab60, htype = authentication hndl, xtramem_sz =0, usermemp = (nil), flag = TRUE); | |
# 08/15/22 13:50:46:994 # Thread ID 140270356707072 # Exit - OCIHandleAlloc rc = OCI_SUCCESS, errnop = 0 | |
# 08/15/22 13:50:46:994 # Thread ID 140270356707072 # Entry - OCIHandleAlloc(parenth = 0x7f933800cd40, hndlp = 0x7f933cc8ac78, htype = error hndl, xtramem_sz =0, usermemp = (nil), flag = TRUE); | |
# 08/15/22 13:50:46:994 # Thread ID 140270356707072 # Exit - OCIHandleAlloc rc = OCI_SUCCESS, errnop = 0 | |
# 08/15/22 13:50:46:994 # Thread ID 140270356707072 # Entry - OCISessionGet(envhp= 0x7f933800cd40, errhp = 0x7f93381b8200, &svchp = 0x7f933400d240, authinfo = 0x7f93381ba118 , dbName = OCI:SP:5gbC9DHhAAHgU8MBDwrFfC, Dbnamelength = 29, taginfo = ,taginfoLen = 0, retTaginfo = 0x7f933cc8adc8, retTaginfoLen = 0x7f93 |
Deploy key is a SSH key set in your repo to grant client read-only (as well as r/w, if you want) access to your repo.
As the name says, its primary function is to be used in the deploy process in replace of username/password, where only read access is needed. Therefore keep the repo safe from the attack, in case the server side is fallen.
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).
/* How to use | |
* This script assumes you have all you npm projects in 1 common folder like my document/home | |
* Put this in side project you want to use linked module and call it `symlink` | |
* Run `node symlink name-of-module-you-want-to-link` | |
*/ | |
/* | |
MIT License | |
Copyright (c) 2016 Vegar Ringdal <[email protected]> |
I'm messing around with a generic way to do hot-module-replacement with generic web components whether they be vanilla, or done in a framework like Polymer or Skate.
The idea is that you call hmr(customElementConstructor)
in your module files and it will set up the proper hooks.
The const filename
should be inserted at build time so that it can remember the original localName
of the component for the module.
SELECT (strftime('%j', date('2015-12-28', '-3 days', 'weekday 4')) - 1) / 7 + 1 |
type result = { | |
success: boolean; | |
errors: string[]; | |
pull_high: number; | |
pull_low: number; | |
term_mark: number; | |
term_length: number; | |
}; |
const Excel = require('exceljs'); | |
// local variables, for holding data | |
const file1 = []; | |
const file1Index = []; | |
const file2 = []; | |
const file2Index = []; | |
const errors = []; | |
// regex | |
/[ ](?=[0-9][0-9][x][0-9])|[ ](?=[0-9][x][0-9])|[ ](?=[0-9][0-9][G][0-9])|[ ](?=[0-9][G][0-9])/gi | |
// sample | |
https://regexr.com/45vsv |