text
stringlengths
8.5k
48.7k
import { Tag, invariant } from "./kit"; import * as Kit from "./kit"; import * as path from "path"; /** * unfortunately ObjectMethod type in babylon AST doesn't fit the split * pattern, as next passes want the key to remain in parent scope * so this pass replaces them to `{Object|Class}Property` and `FunctionExpress...
var isNumber = require('is-number'), dateFormat = require('dateformat'), moment = require("moment"), pluralize = require('pluralize'), dataStorage = require('./init.js'); //Tableau de hash, stock les informations à envoyer à l'API d'AirFrance var remindConfig = { 'departure': [], 'arrival': [],...
/** Copyright (c) 2019 Luxms Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
/** * A grid items to fullscreen transition * @module GridToFullscreenEffect * @author <NAME> * @version 1.0.0 */ class GridToFullscreenEffect { /** Initializes instance variables. @param {HTMLDivElement} container - Container of the webGL canvas. @param {HTMLDivElement} itemsWrapper - Container of...
/** * Created by Liza on 23.07.2015. */ var Point = require('./pixi/Point'); var Rectangle = require('./pixi/Rectangle'); var Rails = require('./Rails'); var Path = require('./Path'); var Builder = require('./Builder'); //var seedrandom = require('seedrandom'); var Grid = require('./Grid'); var Switch = require('./S...
/*------------------------------------------------------------------ * Theme Name: HostRocket v2 Responsive HTML5 Landing page * Theme URI: http://www.brandio.io/envato/hostrocket-v2 * Author: Brandio * Author URI: http://www.brandio.io/ * Description: A Bootstrap Responsive HTML5 Landing page * Version: 1.0 * L...
import React from "react"; import _ from "lodash"; import { larger, bignumber } from 'mathjs' import { Bech32 } from '@cosmjs/encoding' import AlertMessage from "./AlertMessage"; import Coins from "./Coins"; import ClaimRewards from "./ClaimRewards"; import RevokeRestake from "./RevokeRestake"; import ValidatorModal fr...
'use strict'; // ================================================================================= // App Configuration // ================================================================================= const {App} = require('jovo-framework'); // var RadioService = require ('../ser...
"use strict"; exports.default = void 0; var _renderer = _interopRequireDefault(require("../core/renderer")); var _events_engine = _interopRequireDefault(require("../events/core/events_engine")); var _component_registrator = _interopRequireDefault(require("../core/component_registrator")); var _extend = require(".....
'use strict'; var _hashSum = require('hash-sum'); var _hashSum2 = _interopRequireDefault(_hashSum); var _sell = require('sell'); var _sell2 = _interopRequireDefault(_sell); var _sektor = require('sektor'); var _sektor2 = _interopRequireDefault(_sektor); var _emitter = require('contra/emitter'); var _emitter2 = ...
// Use this to create property reports. // /* eslint-disable no-console */ // import csv from 'csvtojson'; import AddressReader from './address_reader'; import CreateMasMap from './create_mas_map'; import axios from 'axios'; import { readOneCSV, readOneXlsx, writeCSV, writeOneXlsx } from './ingestor'; const fastcsv = ...
/** * Created by caoshuaibiao on 2020/11/3. * 菜单树导航 */ import React from "react"; import PropTypes from "prop-types"; import { DeleteOutlined, EditOutlined, PlusOutlined, QuestionCircleOutlined, SettingOutlined, } from '@ant-design/icons'; import { Form, Icon as LegacyIcon } from '@ant-design/compatible'...
/** * Copyright 2017 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the 'License'); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
const path = require('path'); const { existsSync, statSync } = require('fs'); const { walk } = require('estree-walker'); const { attachScopes } = require('rollup-pluginutils'); const evaluate = require('./utils/static-eval'); let acorn = require('acorn'); const bindings = require('bindings'); const { isIdentifierRead, ...
import d3 from 'd3' import React from 'react' import ReactDOM from 'react-dom' import countryInclude from '../data/country-include' import countryNames from '../data/world-country-names' import stunt from '../data/stunting' import debounce from 'debounce' import CircularProgress from 'material-ui/lib/circular-progress'...
const {remote, ipcRenderer, shell, nativeImage} = require('electron') const http = require('http'); const request = require('request'); const path = require('path'); const fs = require('fs'); const { Menu, MenuItem } = remote const config = require('../../common/js/config').file('plugins/musicAllInOne'); const $ = re...
import React from 'react' import { StyleSheet, View, Text, TouchableOpacity, TextInput, StatusBar, Image, Alert, Switch, ScrollView, Platform } from 'react-native' import {Icon} from 'react-native-elements' import styleUtil from "../../common/styleUtil"; import ImageCropPicker from 'react-native-image-crop-...
/* * phonegeo.js - Represent a phone number geolocator object. * * Copyright © 2014-2015, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
/*jslint bitwise: true, browser: true, eqeqeq: true, newcap: true, onevar: true, regexp: true, undef: true, white: true */ /*global window, $, Event, jsGraphics, Font, setAnnotation */ var PIMS; if (!PIMS) { PIMS = {}; } if (!PIMS.xtal) { PIMS.xtal = {}; } /* Bodge for wz_jsgraphics-3.0.5.js compatibility with jsLin...
const TWO_PI = 2 * Math.PI function play(audioContext, wave) { if (quickSave) { save(wave) } var channel = wave.channels var frame = wave.frames var buffer = audioContext.createBuffer(channel, frame, audioContext.sampleRate) for (var i = 0; i < wave.channels; ++i) { var waveFloat32 = new Float32A...
import { S as SvelteComponentDev, i as init, d as dispatch_dev, s as safe_not_equal, v as validate_slots, G as create_component, f as space, e as element, F as text, I as claim_component, k as claim_space, g as claim_element, h as children, H as claim_text, j as detach_dev, l as attr_dev, m as add_location, K as mount_...
const { TranscribeStreamingClient, StartStreamTranscriptionCommand, StartMedicalStreamTranscriptionCommand, } = require("@aws-sdk/client-transcribe-streaming"); const { Readable } = require("stream") // Set the AWS Region. const REGION = "eu-central-1"; //e.g. "us-east-1" // Create Transcribe service ob...
var mongoose = require('mongoose'), Schema = mongoose.Schema; var TaskHeader = new Schema({ status: { value: Number, label: String }, //%10: Yeni yaratıldı, %20: Eksperde, %70: Kontrol Havuzunda, %80: Kontrolde, %40: Ekspere iade, %100: Onaylandı iptal: String, //silme işareti : 'X' = ...
import { List } from 'immutable'; import { buildPropositionsFromText, addChildAfterPrior, addChildBeforeFollower, removeChild, getContainingListInParent, isPriorOf, getFollowingProposition, getFollowingPropositionOnSameOrHigherLevel } from './modelHelper'; import Proposition from './model/proposition'; import Clause...
/** * Agora - Close the loop * © 2021-2022 <NAME> * BSD 3-Clause License * see included LICENSE or https://opensource.org/licenses/BSD-3-Clause */ // keep track of running total of new questions for assessment let newQuestionNum = 0; //let newOptionNum = 0; // keep track of questions and options as a 2-demensi...
/** * This file includes the conversation logic. * * Supported by Telebot API: https://github.com/mullwar/telebot * * @author <NAME> * @version 0.9 */ require('./web.js'); const TeleBot = require('telebot'); const moment = require('moment-timezone'); const testToken = 'your_testToken'; const prodToken = 'yo...
// Copyright [2018] [Banana.ch SA - Lugano Switzerland] // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
/* Copyright 2017 Infor * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing...
var indicator_profile_data; var number_events; var datatable_first_column_value = "-9999"; function show_appropriate_indicator_events(ths){ var yd = $(ths).next().offset().top - $(window).scrollTop(); // loop through each option in this select and show/hide as appropriate var event_id; $(ths).childre...
document.getElementsByTagName("body")[0].classList.add("js"); const DIRS = [ // must match what's in the SVG {"id":"0", "name": "/", "subdirs": [ {"id":"0-0", "name": "ada", "subdirs": [ {"id":"0-0-0", "name": "mail"}, {"id":"0-0-1", "name": "data", "subdirs": [ {"id":"0-0-1-0", "name": "raw"...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *----------------------------------------------------------------------...
function constructPossibleMsg(triplets, startTriplet) { var constructedMsg = triplets[startTriplet].slice(); var seenTriplets = new Array(triplets.length).fill(0); seenTriplets[startTriplet] = 1; var iterator = seenTriplets.indexOf(0); do { var decipherStatus = constructedMsg.length; if (triplets[iterator].eve...
import c from '../utils/constants'; // import sc from './storyConstants'; import intro from './scenes/intro'; import mainMenu from './scenes/mainMenu'; import scene001 from './scenes/scene001'; import scene002 from './scenes/scene002'; import plates from '../plates'; import timing from '../utils/timing'; import hud fro...
import React from 'react'; import classNames from 'classnames'; import { FormattedMessage, FormattedHTMLMessage } from 'react-intl'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/Dial...
var tables = require('./tables'); var jBinary = require('jbinary'); exports.parseDataView = function(dataView) { var msgs = [], offset, binary = jBinary(dataView, { 'jBinary.littleEndian': false, gribSigned: jBinary.Type({ params: ['numberOfBits'], read: function () { ...
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); } function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol...
//var svg = d3.select("#example").style("width","800px").style("height","320px"); //const { initial } = require("underscore"); /** * APPLICATION STATE * */ let state = { data: [], cols: [], usStates: [], selectedPlace: "All States", defaultHiddenAxes: ["id","GEOID","name","state","profile"], hiddenAx...
import { nelderMead, bisect, conjugateGradient, zeros, zerosM, norm2, scale } from 'fmin'; import { intersectionArea, circleOverlap, circleCircleIntersection, distance } from './circleintersection'; /** * given a list of set objects, and their corresponding overlaps * updates the (x, y, radius) attribute on each set...
var codeaze = eval(require("fs").readFileSync("tools/gear2cc/Codeaze.js", "utf8")); /** @todo require("./Codeaze.js") */ var $aze = new codeaze.Codeaze(); function createClass(name, childs, line, inheritList) { var out = {type:'class', name:name, inheritList:inheritList, classes:{}, vars:{}, nativeVars:{}, static...
/* * BFPlayer * Author: q6q64399 (<EMAIL>) */ let BFPlayer = function(area, link, signCB, saveCB, previousCB, nextCB) { let dom = { frame: area.querySelector(".bfplayer"), main: area.querySelector(".bf-main"), video: area.querySelector(".bf-video"), controller: area.querySelector(".bf-controller"),...
import { createScoreRow } from './components/scores.js' import { getUser, getScores, getAllScores, sendScore } from './api.js' const requestAnimationFrame = window.requestAnimationFrame const cancelAnimationFrame = window.cancelAnimationFrame const canvas = document.getElementById('canvas') const ctx = canvas.getCont...
'use strict'; const { each, extend, filter, find, map, rest, object } = require('underscore'); const cluster = require('abacus-cluster'); const dataflow = require('abacus-dataflow'); const dbclient = require('abacus-dbclient'); const router = require('abacus-router'); const seqid = require('abacus-seqid'); const lruc...
'use strict'; // Manage Application Environment Variables require('dotenv').config(); // Application Dependencies const express = require('express'); const pg = require('pg'); //TODO: remove superagent if not ultimately using // const superagent = require('superagent'); const methodOverride = require('method-override...
const opsQuery = { data() { return { sql: "", autoComplete, autoSelect } }, methods: { run() { lealone.get("ops-header")._query(this.sql); }, runSelected() { lealone.route('ops', 'result', {result: "runSelected sql=" + this.sql}); ...
function initBrain(params) { // Parameter initialization - for internal use var defaultParams = { nanValue: false, smooth: false, flagValue: false, colorBackground: "#000000", flagCoordinates: false, origin: { X: 0, Y: 0, Z: 0 }, voxelSize: 1, affine: false, heightColorBar: 0.04, sizeFont: 0.075, c...
'use strict'; var config = require('./libraries/config'); var helper = require('./libraries/helper'); var fs = require('fs');//操作文件 // 监听 var app = require('http').createServer().listen('3000'); /*var http = require('http'); var app = http.createServer().listen('3000');*/ var io = require('socket.io')(app);...
/** * app.js * * Contain all handlers for JavaScript applications. */ ( function() { var lastTime = 0, vendors = [ 'ms', 'moz', 'webkit', 'o' ]; for ( var x = 0; x < vendors.length && ! window.requestAnimationFrame; x++ ) { window.requestAnimationFrame = window[ vendors[ x ] + 'RequestAnimationFr...
const AtomicQueue = require("./atomic_queue"); const isNodeJS = new Function( "try {return this===global;}catch(e){return false;}" )(); const isBrowser = new Function( "try {return this===window;}catch(e){return false;}" )(); const inaiRequire = isNodeJS ? global.require : null; console.log( "inai: env d...
/*! * @(#)Modal MD Datepicker.js * @author <NAME> - github.com/diegoguevara * Created 2016.04 * Updated 2016.05 * version 1.0.7 */ var mdThemeColors = angular.module('mdThemeColors', ['ngMaterial']).config(['$provide', '$mdThemingProvider', function ($provide, $mdThemingProvider) { var colorStore = {}; Object.key...
'use strict'; // Array that all questions are being pushed to from the constructor Question.allQuestions = []; var questionCounter = 0; var downloadTimer = null; // sound files var correct = new Audio('sound/correct.mp3'); var gameover = new Audio('sound/gameover.mp3'); var ticktock = new Audio('sound/ticktock.mp3')...
'use strict'; import React from 'react'; import { connect } from 'react-redux'; import { PropTypes as T } from 'prop-types'; import Select from 'react-select'; import _set from 'lodash.set'; import _cloneDeep from 'lodash.clonedeep'; import c from 'classnames'; import { Link } from 'react-router-dom'; import { DateTime...
/* eslint no-console:0, max-len:0 */ /* global getXMSSDetails, anyAddressToRawAddress, hexToBytes, SHOR_PER_QUANTA, selectedNetwork, wrapMeteorCall, nodeReturnedValidResponse, XMSS_OBJECT, concatenateTypedArrays, toUint8Vector, toBigendianUint64BytesUnsigned, binaryToBytes, POLL_TXN_RATE, POLL_MAX_CHECKS, DEFAULT_NETWO...
'use strict'; const fs = require('fs'); const calgammau3 = "CALGamma.au3"; const buffer = new Buffer ( '#NoTrayIcon\r\n' + '#AutoIt3Wrapper_icon=C:\\dev\\daocstarter\\img\\i.ico\r\n' + '#AutoIt3Wrapper_Compression=4\r\n' + '#include <GuiConstants.au3>\r\n' + '#Include <WinAPI.au3>\r\n' + 'Opt ("GuiOnEventMode",1)\r\n'...
var disco = "disksServidorSFTPborradores"; // de momento es este // funcion para cargar los detalles de un tramite (recive el id del tramite encyptado) function mostrarDetalleTramite(iddetalle_tramite){ //------- limpiamos la información -------------------- $("#info_fecha_documento")...
// ==UserScript== // @name RedditGOD // @author eXtraMaster // @namespace redditgod // @copyright 2013, <NAME> (http://twitter.com/extradomination) // @license Licensed under the MIT license - http://opensource.org/licenses/mit-license.php // @description A Reddit enchancer that do...
/*jslint maxerr:1000 * * Subscribes each device to 2x acs channels, one matching this device id, the other "device" for everyone * */ 'use strict'; /* * Appcelerator cloud push notifications * * @class libacspush */ /** * * e.sourcetype = local is from a local/test notification on ios, remote is from push, remoteact...
/** * 首页相关操作 */ var base = ''; var Index = { //配置 config : { //app list 是否正在滑动中 appSlip : false }, //事件 events : { //更换皮肤颜色 changeSkin : function(){ var name = $(this).data('name'); var $skin = $('#byycss-index-skin'); var href = base+'./css/'+name+'.css'; $skin.remove(); byy.link(href,'i...
// common singleton object for config values so that we can // construct these in memory once. var Config = (function () { var instance; function createInstance() { var object = { defaultFont: 'Cambria', cheatsheetName: 'cheatsheet generated', // start position for each key row keyrowSt...
function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function removeAcento(text){ text = text.toLowerCase(); text = text.replace(new RegExp('[ÁÀÂÃ]','gi'), 'a'); text = text.replace(new RegExp('[ÉÈÊ]',...
/* eslint-disable react-native/no-inline-styles */ import debounce from 'lodash.debounce'; import PropTypes from 'prop-types'; import Qs from 'qs'; import React, { forwardRef, useMemo, useEffect, useImperativeHandle, useRef, useState, } from 'react'; import { ActivityIndicator, FlatList, Image, Keyb...
"use strict"; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope...
/* Copyright 2010 University of Toronto Copyright 2010-2011 OCAD University Licensed under the Educational Community License (ECL), Version 2.0 or the New BSD license. You may not use this file except in compliance with one these Licenses. You may obtain a copy of the ECL 2.0 License and BSD License at https://github...
// Time studies function buyWithAntimatter() { if (player.money.gte(player.timestudy.amcost)) { player.money = player.money.minus(player.timestudy.amcost) player.timestudy.amcost = player.timestudy.amcost.times(new Decimal("1e20000")) player.timestudy.theorem += 1 updateTheoremButtons() ...
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ______ ______ ______ __ __ __ ______ /\ == \ /\ __ \ /\__ _\ /\ \/ / /\ \ /\__ _\ \ \ __< \ \ \/\ \ \/_/\ \/ \ \ _"-. \ \ \ \/_/\ \/ \ \_____\ \ \_____\ \ ...
/** * Tencent is pleased to support the open source community by making QMUI Web Desktop available. * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy...
/** * @param {string} value * @returns {RegExp} * */ /** * @param {RegExp | string } re * @returns {string} */ function source(re) { if (!re) return null; if (typeof re === "string") return re; return re.source; } /** * @param {RegExp | string } re * @returns {string} */ function lookahead(re) { ret...
var nbcStart = 0; var nbcExpandedShowing = 0; var nbcExpandedPrevious = null; var nbcPerPage = 16; var nbcData; var nbcFullDatasetCount = 0; var nbcImageRoot; var nbcExpandResults = false; var nbcStatevalue = ''; var nbcDetailShowStates = Array(); var nbcSearchTerm = ''; var nbcLabelShowAll = ''; var nbcLabelHideAll = ...
'use strict' const mcl = require('../src/index.js') const assert = require('assert') const { performance } = require('perf_hooks') const curveTest = (curveType, name) => { mcl.init(curveType) .then(() => { try { console.log(`name=${name}`) FrTest() G1Test() G2Test() ...
jQuery.support.cors = true;//解决ie9跨域问题 var e = function(){ if(document.all){ window.event.returnValue = false; }else{ event.preventDefault(); event.stopPropagation(); } } //event.preventDefault(); //event.stopPropagation(); /*ajax提交表单,用于form的添加修改 ,成功后执行指定函数 *@prame formid 要提交的表单id *@prame fun ...
/* eslint-disable no-console */ process.env.DO_WEBPACK = true; // const fs = require('fs-extra'); const path = require('path'); const chalk = require('chalk'); const webpack = require('webpack'); const WebpackDevServer = require('webpack-dev-server'); const resetCssLoader = require('./loaders/css/reset'); const cre...
ROT.Display.Rect.cache = true var Game = { width: 80, //width of the screen in characters height:40, menu_x : 1, //x offset for options menu menu_y : 26, //y offset menu_width: 78, menu_height: 11, text_x: 1, //this is the content menu text_y: 11, text_height : 16, text_width: 78, //width-2 messag...
/* Simple JavaScript Inheritance * By <NAME> http://ejohn.org/ * MIT Licensed. */ // Inspired by base2 and Prototype (function(){ var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; // The base Class implementation (does nothing) this.Class = function(){}; // Create a new Class that...
/** * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
if (typeof input === 'undefined') { var input = { manualMode: "", _PS_MODE_DEV_: true, PS_AUTOUP_BACKUP: true, adminUrl: "http://test.com/admin", adminDir: "/admin", token: "<PASSWORD>", txtError: [], firstTimeParams: {}, ajaxUpgradeTabExists: true, currentIndex: 'page.php', ...
/* Copyright (c) 2018 Qualcomm Technologies, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the ab...
// main file, contains most logic in app, picking, loading, button events // global elements from HTML var saveButton = document.querySelectorAll("save"); var newButton = document.querySelectorAll("new"); var openButton = document.querySelectorAll("open"); var openIconsButton = document.querySelectorAll("open-icons");...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ EXPORTED_SYMBOLS = ["TestPilotSetup", "POPUP_SHOW_ON_NEW", "POPUP_SHOW_ON_FINISH", "POPUP_SHOW...
const { utils, Wallet } = require('ethers'); const _utils = require('../utils/utils'); const interfaces = require('../interfaces/interfaces'); const types = require('../types/types'); const structs = require('../structs/structs'); const errors = require('../errors/errors'); const { parseTransactions } = require('../blo...
const Discord = require ( "discord.js" ); const client = new Discord.Client (); const logs = require ( "discord-logs" ); const ayarlar = require('./ayarlar.json'); var moment = require ( "moment" ); require ( "moment-duration-format" ); logs ( client ); let pub = "KATAGORİ ID"; // PUBLİC KATAGORİ ID let kayıt = "KATA...
import React from 'react'; import { connect } from 'react-redux'; import { motion, AnimatePresence } from "framer-motion"; import { updateSettingsPopup } from '../actions'; import { MD_WIDTH, LG_WIDTH } from '../types/const'; import { isEqual } from '../utils'; import { popupBgFMV, ccPopupFMV, spSideBarCanvasFMV, sp...
import { rgbaColor } from './tools' import { BackgroundColorDef, LcdColorDef, ColorDef, LedColorDef, GaugeTypeDef, OrientationDef, KnobTypeDef, KnobStyleDef, FrameDesignDef, PointerTypeDef, ForegroundTypeDef, LabelNumberFormatDef, TickLabelOrientationDef, TrendStateDef } from './constants' ...
var yearfacetedlst = []; var makefacetedlst = []; var modelfacetedlst = []; var engineliterslst = []; var enginecylinderlst = []; var enginecclst = []; var engineboreinchlst = []; var enginestrokeinchlst = []; var productfacetedlst = []; var yearfacetedselectedlst = []; var makefacetedselectedlst = []; var modelfacet...
import React, { Component } from "react"; import "./App.css"; import { Grid, Message, Input, Form, Menu, Segment, Header, Divider, Icon, Button, Progress, Popup, Container, Modal, Table, Image, List, Search, Responsive, Visibility, Accordion, Card, Reveal, Sidebar, Drop...
// Copyright 2016 Zipscene, LLC // Licensed under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 const XError = require('xerror'); const { roundToFiveSignificantDigits, validateLongLatRange } = require('./utils'); const INTERSECT = 'intersect'; const UNINTERSECT = '~intersect'; const TA...
const customersController = require('./_common/customers-controller.js') const feedbackController = require('./_common/feedback-controller.js') const AWS = require('aws-sdk') const catalog = require('./catalog/index') const hash = require('object-hash') const { getAllUsagePlans } = require('./shared/get-all-usage-plans...
// let xoff = 0; // let yoff = 0; // let zoff = 0; // let n; // let randomSeed = 0; // let xoffP2, yoffP2 // let xP1, yP1, xP3, yP3 // let img; // let mycanvas; // let cam // let imgCam // let pgCam // function preload() { // img = loadImage('data/patt04.png'); // } // function setup() { // mycanvas = createC...
// ------------------------------------------------------------------------- // App // For gamma, the function is defined by the following exponential function: // C' = amplitude * pow(C, exponent) + offset // ------------------------------------------------------------------------- class Filter extends Component ...
/** * Created by <NAME> on 06.07.15. */ //(function(){})() --> this notation makes a function in JS "self-invoking" (function() { var app = angular.module('report', []); app.controller('ReportController', ['$rootScope', '$scope', function($rootScope, $scope){ $scope.date = Date.now(); $scope....
var flagFst = true; var nowIssue; var recentlyIssue; var endState = 0; var offSet = 0; //给3017端口发送的参数 var totalZu = 0;//3018端口返回的总条数 var store = { userInfo: {}, msgList: [], listener: null, keybordDatas: {}, mainPage: { lotteryNo: "", lotteryResult: "", countDown: 0 }, cashDetail: {},// 提现记录详情 bettingDeta...
import * as THREE from 'three' import store from '@/app/store' import { TESTING, MATH_MULTIPLY, STAT_MOVE_SPEED } from '@/play/data/constants' import Local from '@/play/local' import shipStats from '@/play/data/ships' import retroShipStats from '@/play/data/ships-retro' import skillsData from '@/play/data/skills' i...
const multibase = require('multibase') const bech32 = require('bech32') const { dblSha2256, hash160 } = require('./class-utils') const MAX_SCRIPT_SIZE = 10000 const BECH32_HRP = 'bc' const opcodes = { // push value OP_0: 0x00, OP_FALSE: 0x00, OP_PUSHDATA1: 0x4c, OP_PUSHDATA2: 0x4d, OP_PUSHDATA4: 0x4e, O...
const NY = [ "Accord", "Addison", "Adirondack", "Afton", "Airmont", "Akron", "Akwesasne", "Albany", "Albertson", "Albion", "Alden", "<NAME>", "Alfred", "Allegany", "Altamont", "Amagansett", "Amawalk", "Amenia", "Amherst", "<NAME>", "Amityville", "Amsterdam", "Andes", "Andover", "Angola", "<NAM...
// Spectral Angle Mapper (SAM) Classification (SAM_V.1.0) /*This script is maintained by the UHPSI Lab (http://highplainsstewardship.com/) at Yale University's School of Forestry and Environmental Studies. The script performs the Minimum Noise Fraction (MNF) Transformation. The input is a single image, and the output...
/** * Created by Sugar on 2020/5/26. */ const ObjectClass = require('./object.class') const {graphemeSplit} = require('../utils/string') class TextClass extends ObjectClass { constructor(text, options) { super(options) this.type = 'text' this.stroke = null this.fontSize = 16 this.fontWeight = ...
/** * A nodejs web server that acts as the backend of DC2 * various routes are defined including running and saving client-authored pipelines * Individual DC2 modules are executed through Python wrappers * * @author <NAME> * @institution MIT */ var express = require('express'); var app = express(); var request...
var current_manuscript_id; var currentPage; var current_verse_id; var pageImageController = null; var current_verse_url_ref = null; var text_modified = false; function setLoadVerseLink() { $( ".loadVerseLink" ).click(function(e) { verse_id = $(this).data('verseid'); load_verse(verse_id, current_ma...
// sbutils.js // Copyright © 10/4/2017 <NAME> - All Rights Reserved // You may use, distribute and modify this code for charitable use only. // This code was developed to assist the Boy Scouts of America. //PUBLIC //window.console &&console.log("injected script execute event page " ); /* Global variables well global ...
/** * Intranet Station Manager * hdhomerun station * * */ /* * TODO * proper guide data plugin * group channels by station name across devices for tuning */ const device = require('hdhomerun'); const Promise = require('bluebird'); const async = require('async'); const fs = require('fs'); const _ = require('lodash'); c...
/* Copyright 2015 <NAME>. This file is part of Robot Rampage. The Robot Rampage source code is distributed under the terms of the MIT license. See LICENSE.txt for details. */ 'use strict'; var param = require('./param'); var load = require('./load'); var building = require('./building'); var particles = req...
let uid = sessionStorage.getItem('key'); let typ = sessionStorage.getItem('typ'); let org = sessionStorage.getItem('org'); let usrname = sessionStorage.getItem('usrname'); let logout = () => { sessionStorage.clear(); location.href = "./../login/index.html"; } // console.log(uid, org); uid && org ? null : logo...