This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"namespace": "[@type:string<@format:schema-namespace:property-namespace>]", | |
"reference": "[@type:string]", | |
"hash": "[@type:string]", | |
"datetimestamp": "[@type:number<@format:YYYYMMDDHHmmss>]", | |
"schemaNamespace": "[@type:string]", | |
"propertyNamespace": "[@type:string]", | |
"propertyVariable": "[@type:string]", | |
"propertyType": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bigFactorial( bigNumber ){ | |
return ( | |
eval( | |
Object | |
.keys( | |
Array( | |
Math.floor( Math.sqrt( bigNumber ) ) | |
) | |
.join( ) | |
.split( "," ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function factorial( number ){ | |
return ( | |
eval( | |
Object | |
.keys( | |
Array( | |
( | |
( | |
isNaN( parseInt( number ) ) === false | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.) Get all the list of ObjectID references in batch process per collection. | |
2.) The list of ObjectID references will be the snapshot of the backup. | |
3.) Store the list of ObjectID references per collection to a JSON file (.json) | |
a.) One JSON file per collection with format, "<collection-name>-<datetimestamp>.json" | |
Example: user-20191122103055.json | |
b.) JSON file will contain an Object with "referenceList" as property containing array of ObjectID reference string. | |
c.) If the list is greater than 5000 elements, | |
c.1.) Create another JSON file with the format, "<collection-name>-<datetimestamp>-<start-index>-<end-index>.json" | |
4.) Backup process will focus on this snapshot list. Create another instance of mongod server under any port locally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"responseState": "<'success'|'failed'|'error'|'aborted'|'restricted'|'undefined'>", | |
"responseCode": "<Number>", | |
"procedureStatus": "<true|false|undefined>", | |
"requestStatus": "<true|false|undefined>", | |
"responseData": "<Object|Array|String|Number|Boolean|undefined>", | |
"responseMessage": ["<String>"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
const truly = require( "truly" ); | |
const resolvePageData = require( "./resolve-page-data.js" ); | |
const recomputePageData = function recomputePageData( pageData ){ | |
pageData = resolvePageData( pageData ); | |
const listCount = pageData.listCount; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
const falze = require( "falze" ); | |
const falzy = require( "falzy" ); | |
const resolvePageData = function resolvePageData( pageData ){ | |
/*; | |
@note: | |
pageData if string denotes pageIndex | |
@end-note |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"totalLength": "number", | |
"pageIndex": "number", | |
"pageCount": "number", | |
"pageSize": "number", | |
"lastPageSize": "number" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"index": "number", | |
"count": "number", | |
"size": "number", | |
"length": "number", | |
"last": "number" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"prepare": [ | |
"npm install modchk@latest --global", | |
[ "modchk verify flxc --global", "npm install flxc@latest --global" ], | |
[ "modchk verify rsetmod --global", "npm install rsetmod@latest --global" ], | |
[ "modchk verify njava --global", "npm install njava@latest --global" ], | |
[ "modchk verify jesy --global", "npm install jesy@latest --global" ], | |
[ "modchk verify selenium-standalone --global", "npm install selenium-standalone@latest --global" ], | |
[ "modchk verify volkovasystem --global", "npm install volkovasystem@latest --global" ], | |
"selenium-standalone install" |