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
/* | |
* L.TileLayer is used for standard xyz-numbered tile layers. | |
*/ | |
L.Google = L.Class.extend({ | |
includes: L.Mixin.Events, | |
options: { | |
minZoom: 0, | |
maxZoom: 18, | |
tileSize: 256, |
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
import { USER_INFO } from '../../redux/Authenticate/reducer'; | |
import { useSelector } from 'react-redux'; | |
import { cloneDeep, each, omit } from 'lodash'; | |
const APP_USER = { | |
jsecalias: [], | |
permission: [], | |
allPermitted: false, | |
cache: {}, |
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 hasRealPermission(p: string): boolean { | |
const permission = userPermission; | |
let allPermitted = false; | |
const cache = {}; | |
function getCA(perm: string): CA | null { | |
const p = perm?.split(/:/); | |
if (p?.length < 2) { | |
return null; | |
} | |
if (p) { |
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
class benchmark { | |
private $startTime; | |
private $endTime; | |
private $totalOps; | |
private $opsCompleted; | |
private $intervalOpsCompleted; | |
private $benchInterval; //how far back in seconds the bench should look to calc | |
private $lastBench; //time last bench was calculated |
NewerOlder