text
stringlengths
8.5k
48.7k
//ACNH data layout. //Blocks of 680 or 2216 bytes each, providing this data in sequence: //Generic header: // 0x000: 4 bytes checksum // 0x004: 09 -> unknown (seems to always be 09) // 0x005: 11 bytes zero padding(?) // 0x010: 40 bytes pattern title // 0x038: 4 bytes island ID (0xFFFFFFFF for imported) // 0x03C...
/** * Copyright <NAME> <<EMAIL>> 2015 * Approximate JavaScript regular expression to Z3 regex parser */ function CullOuterRegex(regex) { let firstSlash = regex.indexOf("/"); let lastSlash = regex.lastIndexOf("/"); return regex.substr(firstSlash + 1, lastSlash - 1); } function FindClosingParen(regex, idx) { let...
var wrongShortToProtocolScale = 1; var wrongOriginToProtocolScale = 1; var wrongOriginToShortScale = 1; var wrongOccupyArray = null; var wrongDirtyList = null; var wrongShortCanvasArray = null; var wrongCanvasPointArray = null; var wrongCurrentRow = 1; var wrongCurrentCol = 1; var wrongUpdateOccupyBlocks = function...
const express = require("express"); const GraphQuery = require('./GraphQuery'); const fs = require('fs'); var srilanka = ["srilanka", "colombo", "kandy", "gampaha", "galle", "jaffna", "matara"]; var india = ["india", "bangalore", "mumbai", "delhi", "kolkata", "chennai"]; var china = ["china", "chengdu", "shenzen", "ti...
/** * Copyright 2019 the orbs-ethereum-contracts authors * This file is part of the orbs-ethereum-contracts library in the Orbs project. * * This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. * The above notice should be included in all copies or...
/* * <NAME> * février 2009 * <EMAIL> * * 2013-06-22 Fixed bug in Internet Explorer with the newline * */ var JQE_MODE_VIEW = 'view'; var JQE_MODE_HTML = 'html'; jQuery.fn.richtextarea = function(args, attrs) { for (i = 0; i < this.length; i++) { if ((typeof (args) == 'object' || typeof (args) == 'undefi...
const fs = require('fs'); const seedrandom = require('seedrandom'); const enumHelper = require('../utils/enumHelper'); const { moveLog, actionLog, errorLog, infoLog } = require('../utils/logger'); const { battleDebug, eventDebug, guildID } = require('../../settings'); const messages = require('../game/data/messages'); ...
import React, { Component } from 'react'; import { areIntervalsOverlapping, isWithinInterval } from 'date-fns'; import { styled } from '@material-ui/core/styles'; import Grid from '@material-ui/core/Grid'; import Button from '@material-ui/core/Button'; import IconButton from '@material-ui/core/IconButton'; import M...
// Fix for IE8 Object.keys = Object.keys || function(o) { var res = []; for(var name in o) { if (o.hasOwnProperty(name)) res.push(name); } return res; } var jsonStandards; // Now set some stuff on ready $(function() { // Some initial global values gradeRanges = { 'minimum': 0, 'maximum': 12 } subject...
/* eslint-disable no-unused-expressions */ /* eslint-disable no-undef */ import 'core-js/stable'; import 'regenerator-runtime/runtime'; import $ from 'jquery'; import harlan from 'harlan'; import { CPF, CNPJ } from 'cpf_cnpj'; import moment from 'moment'; import Chart from 'chart.js'; import Color from 'color'; impor...
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; import _isArray from "lodash/isArray"; import _isFunction from "lodash/isFunction"; impor...
'use strict'; const debug = require('debug')('tail'); /* (jsdoc here is probably not compliant for parsing) Events: Recieved a new line @event Tail#line @param {string} line Got an error @event Tail#error @param {Object} error Ready for recieving new lines from file @event Tail#ready @param {number} fd ...
var table; var table1; jQuery.support.cors = true; $(function () { var token = getCookie('token'); var name = getCookie('name'); table=$('#example').DataTable({ "bDestroy":true, "paging": true, "lengthChange": false, "searching": true, "ordering": true, "info": true, "autoWidth": false...
/*début non. suelement a partir des glitch (30sec) jusqu'à 85 non pdt balayage, non pdt wave. oui sur la fin (après balayage*/ var ip = location.host; var socket = io.connect(ip); $(document).ready(function() { socket.emit('setDisplay'); console.log("hello"); // tiktikTime(); }); //update th...
function loadOpenCV() { return new Promise((resolve, reject)=> { console.log("loading OpenCV..."); // wait for opencv to trigger loaded hook cv['onRuntimeInitialized'] = () => { console.log("loaded OpenCV!") resolve(); }; }) } function main(){ var PUP...
var graphe={}; var etats =[ // haut gauche [p 908 bas] new Etape("Réfléchir, Se décider",127,17, ()=>S(CP(C("et"), SP(protagoniste.struct(),VP(V("réfléchir").t(t),Adv("mûrement"))), SP(protagoniste.struct(),VP(V("prendre").t(t),NP(poss(),N("décision"))))...
import React, {Component, PropTypes} from 'react'; import { fetchMoments , setIsLoaded , toggleWebLink } from '../actions/actions'; import CoverMomentCard from './CoverMomentCard'; import {connect} from 'react-redux'; import CircularProgress from 'material-ui/CircularProgress'; import MemoryView from './MemoryView'; im...
// Copyright (c) 2019, the IFMLEdit project authors. Please see the // AUTHORS file for details. All rights reserved. Use of this source code is // governed by the MIT license that can be found in the LICENSE file. /*jslint node: true, nomen: true */ /*globals BASE_PATH */ "use strict"; var generator = require('../ifm...
import { getOuterWidth } from '../../core/utils/size'; import $ from '../../core/renderer'; import eventsEngine from '../../events/core/events_engine'; import { ensureDefined, deferRenderer, noop } from '../../core/utils/common'; import { findTemplates } from '../../core/utils/template_manager'; import { getPublicEleme...
/********************************************************** Very minorly modified from the example by <NAME> http://tool-man.org/examples/sorting.html Added Coordinate.prototype.inside( northwest, southeast ); Copyright (c) 2005 <NAME> <http://tool-man.org/> Permission is hereby granted, free of charge, t...
class WTCGL { /** * The WTCGL Class constructor. If construction of the webGL context fails * for any reason this will return null. * * @TODO make the dimension properties properly optional * @TODO provide the ability to allow for programmable buffers * * @constructor * @param {HTMLElement} el...
/*jslint node: true */ /*jshint esversion: 6 */ 'use strict'; var fs = require('fs'); var debug = require('debug')('beam:SQLController'); var bunyan = require('bunyan'); var backend = require('backend-js'); var { ModelEntity: Entity, QueryExpression } = backend; var Sequelize = require('sequelize'); require('s...
//* Config *------------------------------------------------------------------- var URL_API = window.URL || window.webkitURL , BLOB_PREFIX = 'blob:' , DATA_PREFIX = 'data:' , TYPE_TP = 'text/plain' , TOS = ['object', 'string'] , SPLIT_SEC = 60 , checkbox = { 'auto_redraw': true , 'auto_save': false , 'draw_frames...
"use strict"; // Copyright (c) 2020-2021 Sendanor. All rights reserved. var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.has...
// abc_midi_sequencer.js: Turn parsed abc into a linear series of events. var sequence; var parseCommon = require("../parse/abc_common"); (function() { "use strict"; var measureLength; // The abc is provided to us line by line. It might have repeats in it. We want to re arrange the elements to // be an array ...
"use strict"; var $ = require("../../core/renderer"), eventsEngine = require("../../events/core/events_engine"), browser = require("../../core/utils/browser"), isDefined = require("../../core/utils/type").isDefined, extend = require("../../core/utils/extend").extend, each = require("../../core/util...
const path = require('path') const fs = require('fs') const { merge } = require('webpack-merge') const chokidar = require('chokidar') const debounce = require('lodash.debounce') const { green } = require('chalk') const appPaths = require('./app-paths') const { log, warn, fatal } = require('./helpers/logger') const ext...
import $ from 'jquery'; import * as appCommons from 'phraseanet-common'; import workzoneThesaurus from './thesaurus/index'; import workzoneFacets from './facets/index'; import workzoneBaskets from './baskets/index'; import Selectable from '../../utils/selectable'; import Alerts from '../../utils/alert'; const humane = ...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true...
#!/usr/bin/env node import chalk from 'chalk' import cp from 'child_process' import createTorrent from 'create-torrent' import ecstatic from 'ecstatic' import fs from 'fs' import http from 'http' import mime from 'mime' import moment from 'moment' import networkAddress from 'network-address' import parseTorrent from 'p...
"use strict"; /** * @license * Copyright (c) 2016 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of c...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 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 ("va...
function log(o) { // console.log(o); } function retIsOk(ret) { if(ret && typeof ret == "object" && ret.Ok == 1) { return true; } return false; } var urlPrefix = ''; var getMsg = parent.getMsg; if (!getMsg) { getMsg = function(msg) { return msg; }; } // load image function getImageSize(url, callback) { var ...
import React, { Component } from "react"; import { PropTypes } from "prop-types"; import store from "../store"; import * as faceapi from "face-api.js"; import getFeatureAttributes from "../utils/getFeatureAttributes"; import ToolBar from "../components/ToolBar"; import { connect } from "react-redux"; import Clock from ...
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import invariant from 'tiny-invariant'; import has from 'lodash/has'; import requiredIf from 'react-required-if'; import Select, { components } from 'react-select'; import { useIntl } from 'react-intl'; import { css } from ...
/* * Copyright (c) 2015 <NAME> * * This file is part of the BigInteger.js project, which is distributed under the MIT license. * For the full terms, see the included license file. */ /** * Tests for the BigInteger class. * * @author <NAME> */ /** Test all ways to create a BigInteger with the value of zero....
// dont delete this variable var _special; var tableDataSet = [ [ "Month1", "1100", "3500", "2200", "2150", "1200", "1150", "20000"], [ "Month2", "1200", "3600", "2300", "2250", "1300", "1250", "2"], [ "Month3", "1300", "3700", "2400", "2350", "1400", "1350", "3"], [ "Month4", "1400", "3800", "2500", "...
import SearchModel from "./SearchModel"; import Plugin from "./Plugin.js"; import ConfigMapper from "./../utils/ConfigMapper.js"; import CoordinateSystemLoader from "./../utils/CoordinateSystemLoader.js"; import { isMobile } from "./../utils/IsMobile.js"; // import ArcGISLayer from "./layers/ArcGISLayer.js"; // import ...
var _ = require('lodash') var Graph = require('../models/graph') var AssetController = require('./assetController') var fsPath = require('path') var assetHelper = require('../models/asset-helper') var Serial = require('../models/serial') var templateCache = require('../lib/templateCache').templateCache var helper =...
// read in the faces var FACES = []; var STOR = require("Storage"); STOR.list(/\.kit\.js$/).forEach(face=>FACES.push(eval(require("Storage").read(face)))); var iface = STOR.list(/\.kit\.js$/).indexOf("stepo.kit.js"); var face = FACES[iface](); var firstPress var pressTimer; function stopdraw() { face.stopTimer(); } ...
"use strict"; // TODO: consider moving anything that doesn't handle or rely on persistence // to other files or vise-versa // TODO: Discord now allows multiple attachments per message sent by a non-bot user, // so now we have to figure out how to handle image dumps const Discord = require('discord.js'); const https...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Dropdown = exports.DraggableAttribute = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.e...
Image = function() {}; // HACK few hacks to let PDF.js be loaded not as a module in global space. function xmlEncode(s) { var i = 0, ch; s = String(s); while (i < s.length && (ch = s[i]) !== '&' && ch !== '<' && ch !== '\"' && ch !== '\n' && ch !== '\r' && ch !== '\t') { i++; } if (i >= s.length) { retur...
/** * Created by <NAME> on 5/22/17. */ // Establish some colors to choose from. I've chosen light and bold versions of the same hue to facilitate // easy visual emphasis var dataColorsBold =[[31, 119, 180], [255, 127, 14], [44, 160, 44], [214, 39, 40], ...
"use strict"; var currentLogLine = null; var webglEnabled = false; JSIL.Host.getCanvas = function (desiredWidth, desiredHeight) { var e = document.getElementById("canvas"); if (typeof (desiredWidth) === "number") e.width = desiredWidth; if (typeof (desiredHeight) === "number") e.height = desiredHei...
import {ObjectId} from 'mongodb' import GenericResolver from '../../../api/resolver/generic/genericResolver' import Cache from '../../../util/cache' import request from '../../../api/util/request' import Util from '../../../api/util' import ClientUtil from 'client/util' import {CAPABILITY_MANAGE_KEYVALUES, CAPABILITY_M...
import Cartesian3 from "../Core/Cartesian3.js"; import defined from "../Core/defined.js"; import Cartographic from "../Core/Cartographic.js"; import Ellipsoid from "../Core/Ellipsoid.js"; import Intersect from "../Core/Intersect.js"; import Matrix3 from "../Core/Matrix3.js"; import Plane from "../Core/Plane.js"; import...
var assert = require('assert'); const { TiledeskChatbotClient } = require('..'); const APIKEY = "__APIKEY__"; const API_ENDPOINT = "https://tiledesk-server-pre.herokuapp.com"; //TiledeskClient.DEFAULT_API_ENDPOINT; const LOG_STATUS = false; const WEBHOOK_REQUEST_BODY = { "timestamp": 1616144169190, "payload": { "s...
// emtimer.js // This script contains the harness content that is embedded on each executed page. // If an error occurs on the page, fast-quit execution and return to harness with an error. window.onerror = function(msg, url, line, column, e) { console.log('error', arguments); // window.opener points to the test h...
var fse = require('fs-extra'); var klawSync = require('klaw-sync'); var mkdirp = require('mkdirp'); var _ = require('lodash'); var uuid = require('uuid'); var moment = require('moment'); var path = require('path'); var CircularJSON = require('circular-json'); var q = require('q'); var assert = require('assert'); try {...
/** * test pub-util * Copyright (c) 2015-2022 <NAME> - github.com/jldec - MIT license **/ var test = require('tape'); var u = require('../pub-util'); test('u.timer', function(t){ testTimer(t, u.timer()); }); test('u.hrtimer', function(t){ testTimer(t, u.hrtimer()); }); function testTimer(t, timer) { t.equa...
var textElement; var textElemAnchorNode; var textElemFocusNode; var highlightedText =""; var annotating = false; window.onload = init; var xpos = 0; var ypos = 0; var text =""; var textElemSet = false; var iconYpos =0; var iconXpos =0; var filteredArray = [""]; $(".page-content").mCustomScrollbar({ axis:"y", m...
export const TOKEN_EXPIRE_DAY = 1; // in days export const IDENTIFICATION = 'identification'; export const CONTRACT_END = 'contract_end'; // MEDIA export const BLUE_TEXT_LOGO = 'https://storage.googleapis.com/compani-main/icons/compani_texte_bleu.png'; export const DOC_EXTENSIONS = 'image/jpg, image/jpeg, application...
var myId = $.trim($('#myId').val()); //for registration of user into firebase firebase.auth().createUserWithEmailAndPassword(myId+'<EMAIL>' ,'<PASSWORD>').catch(function(error) { // Handle Errors here. var errorCode = error.code; var errorMessage = error.message; console.l...
const BLACK = '#000000'; const WHITE = '#FFFFFF'; const RED = '#FF0000'; const GREEN = '#00FF00'; const BLUE = '#0000FF'; const YELLOW = '#FFFF00'; const CYAN = '#00FFFF'; const getColourByPercentage = (percentage, reverse) => { const value = reverse ? percentage : 1 - percentage; const hue = (value * 120).toS...
"use strict"; var S1Interval_1 = require("./S1Interval"); var R1Interval_1 = require("./R1Interval"); var S2LatLng_1 = require("./S2LatLng"); var S2_1 = require("./S2"); var S2Point_1 = require("./S2Point"); var S1Angle_1 = require("./S1Angle"); var S2EdgeUtil_1 = require("./S2EdgeUtil"); var S2Cap_1 = require("./S2Cap...
margin = { top: 20, right: 20, bottom: 30, left: 50 }; var width = 960, height = 500 var tooltip; var projection = d3.geoConicConformal() .rotate([98, 0]) .center([0, 60]) .parallels([-10, 85.5]) .scale(1400) var svg = d3.select(".map") .append("svg") .attr("width", widt...
const input = `97W)B43 R63)RTM 19C)SHD F85)8Z8 5D9)Z5T RG5)R48 HJC)NVP 46W)1SL BFP)34P 2M5)NWQ CJD)M9C 8BK)QK5 TWT)53F KT1)7FJ WG8)TBN FMZ)2RY 734)H1Y 8XM)GSZ TXP)Z9D NLX)TNW 7ST)N94 W68)1WS S1J)TDP 5C2)8C4 ZW4)GLV MHN)CVN 4FH)NRP 4SC)155 6D9)PG7 L44)CZ6 KC5)PX6 PFD)MGG 5JJ)GBH 63X)QYN N96)VM4 WGN)JMD Y9P)RS9 N6C)3HD 4...
/* Logfella Copyright (c) 2015 - 2019 <NAME> The MIT License (MIT) 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, cop...
var vers = "0.2.0"; var btnRefresh; var expFilename = "talisman"; //*********************************************** // --- default values --- var txtMotto = "Lorem ipsum dolor sit amet, "; txtMotto += "consectetur adipiscing elit, "; txtMotto += "sed do eiusmod tempor incididunt "; txtMotto += "ut labore et dolore magn...
'use strict'; var p2p = require('bitcore-p2p'); var LRU = require('lru-cache'); var util = require('util'); var index = require('../../'); var log = index.log; var BaseService = require('../../service'); var assert = require('assert'); var Bcoin = require('./bcoin'); var BcoinTx = require('bcoin').tx; var Networks = r...
//默认的首页 var currentPageID="indexcontent"; //router info初始化的时候会加载 var routerInfo=null ; //cpu var cpuUsedPercent=0; var cpuFreePercent=0; var hostClientsInfo=null; //加载script模板 var loadScriptTpl=function(scriptid,data){ var src=$("#"+scriptid).get(0).src; var tpl=""; $.get(src,function(data){ tpl=data; }); var ...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import {LitElement, html, css} from 'lit-element'; import {prpcClient} from 'prpc-client-instance.js'; import {linearRegression} from 'shared/math.js'; im...
var LOG = 0 // GRAMMAR var defQL = { Start :o=>o.Form, ws :o=>o.fold(o=>o.any(o=>o.eat(' ') || o.eat('\t'))), Form :o=>o('form') && o.many(o=>o.eat(' ')) && o.Id && o.ws && o.Body, Body :o=>o.ws && o('{') && o.ws && o.eat('\n') && o.any(o=>o.Answer || o.Question || o.Message || o.If) && o.ws && o...
const { Command } = require("commander"); const { parse } = require("csv-parse/sync"); const fs = require("fs"); const { ReadCollection, MutateCollection } = require("../util"); // The tier lists are available at // https://docs.google.com/spreadsheets/d/1cFltguBvPplBem-x1STHnG3k4TZzFfyNEZ-RwsQszoo/edit // Download a ...
// Default Settings const autoModeSpeed = 500; let autoMode = false; let logMode = false, logImages = false, logAudio = false; let selectionMode = 'ocr'; let selectionLineWidth = 1, selectionColor = 'red'; let OCRrequests = 0; let showSelection = true; let clipboardMode = false; let outputToClipboard = false; let OCREn...
'use strict'; const watt = require('gigawatts'); const {v4: uuidV4} = require('uuid'); const busClient = require('xcraft-core-busclient').getGlobal(); const xUtils = require('xcraft-core-utils'); const {jsify} = xUtils.string; const {isGenerator} = xUtils.js; const Goblin = require('./index.js'); const {trace} = requ...
/* Setting the level of logs (error, warning, info, debug) */ Log.setLogLevel(Log.i); /* The main object processing the mp4 files */ var mp4box; /* Metadata extracted from the mp4 file */ var movieInfo; /* object responsible for file downloading */ var downloader = new Downloader(); downloader.setDownloadTimeoutCallb...
"use strict"; function loadFloodgateSettings() { return { minValue: 0, // min value. Used to calculate scales and associated stuff. maxValue: 100, // max value. Used to calculate scales and associated stuff. scale: 1, // // scale of the svg's parent div. Shouldn't be used. It is a...
'use strict'; // Global Variables const liquorFormElem = document.getElementById('liquorForm'); Drink.prototype.allDrinksArray = []; let currentDrink = ''; let drink; let favoriteDrinks = []; let optionArray = ["liquor", "season", "event"]; // Constructor Functions function Drink(name, description, liquorType, reci...
/* MIT License Copyright (c) 2021 lalit10 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, distribu...
"use strict"; var __extends = undefined && undefined.__extends || function () { var _extendStatics = function extendStatics(d, b) { _extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; } || function (d, b) { for (...
'use strict'; function lerp(a, b, percent) { return (1.0*b - a) * percent + a; } function loadData(url){ var deferred = $.Deferred(); $.getJSON(url, function(data) { console.log("Loaded data."); deferred.resolve(data); }); return deferred.promise(); } function norm(value, a, b) { var denom = (b -...
/* * Copyright 2018 Adobe. All rights reserved. * This file is licensed to you 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 appli...
/** * Send an action via admin-ajax.php * * @param {string} action - the action to send * @param * data - data to send * @param Callback [callback] - will be called with the results * @param {boolean} [json_parse=true] - JSON parse the results * @param {int} [timeout=30] - the amout of time before the ajax call ...
/** * Created by Priya on 27/09/2016. */ localStorage.crankradius = 0.63; localStorage.pistonrod = 3; localStorage.offset = 0.88 ; var servoTable = [ { "id":"A", "name":"FS5106B", "AD": 50, "thetaMax":157, "thetaMin": -13.6, "PWM_m...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ * ...
import { Component } from 'component'; import { db } from 'db'; import { emitter } from 'eventEmitter'; import { HTML, throbber } from 'lib/HTML'; import { MobileMicaMenu } from 'ui/mica'; import { Compositor } from 'pages/vanity/compositor'; import { Item, placeholderItem } from 'db/item'; import { filenameFromPath } ...
/** * @license * Internet Systems Consortium license * * Copyright (c) 2020 <NAME> (MAKS-IT) * Website: https://maks-it.com * Email: <EMAIL> * * Permission to use, copy, modify, and/or distribute this software for any purpose * with or without fee is hereby granted, provided that the above copyright notice * ...
// extend d3 d3.selection.prototype.moveToBack = function() { return this.each(function() { var firstChild = this.parentNode.firstChild; if (firstChild) { this.parentNode.insertBefore(this, firstChild); } }); } d3.selection.prototype.moveToFront = function() { return this...
/* -------------------------------------------------------------------------------- / Avendor jQuery Created by 4grafx v1.0 - 20.02.2014 All rights reserved. +----------------------------------------------------+ TABLE OF CONTENTS +----------------------------------------------------+ [1] Page Preloader ...
'use strict'; var appConfig = require('./config.json'); var networks = require('./networks.json'); var async = require('async'); var checkIpInList = require('./helpers/checkIpInList.js'); var extend = require('extend'); var fs = require('fs'); var genesisblock = require('./genesisBlock.json'); var arkjs = require('ark...
const pluginName = 'homebridge-hubitat-makerapi'; const platformName = 'Hubitat-MakerAPI'; if (pluginName === 'homebridge-hubitat-makerapi') { var he_st_api = require('./lib/api-homebridge-hubitat-makerapi.js').api; } else { var he_st_api = require('./lib/api-homebridge-hubitat-hubconnect.js').api; } const ign...
import path, { dirname, resolve, extname, normalize, sep } from 'path'; import builtinList from 'builtin-modules'; import deepMerge from 'deepmerge'; import isModule from 'is-module'; import fs, { realpathSync } from 'fs'; import { promisify } from 'util'; import { pathToFileURL, fileURLToPath } from 'url'; import reso...
/** * Copyright 2016 IBM All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ const path = require('path'); const fs = require('fs-extra'); const util = require('util'); const Client = require('fabric-client'); const copService = require('fabric-ca-client/lib/FabricCAServices.js'); const User = requir...
/*! * bundle.js - bundle object for bpkg * Copyright (c) 2018, <NAME> (MIT License). * https://github.com/chjj/bpkg */ /* eslint new-cap: "off" */ 'use strict'; const assert = require('assert'); const fs = require('../vendor/bfile'); const path = require('path'); const util = require('util'); const builtins = re...
import EmberObject, { get, set } from '@ember/object'; import EmberArray, { A as emberA, isArray } from '@ember/array'; import { assert, warn } from '@ember/debug'; import { computed } from '@ember/object'; import { addObserver } from '@ember/object/observers'; import { objectAt } from './utils/array'; import { notif...
import path from 'path'; import { promisify } from 'util'; import fs from 'fs-extra'; import _ from 'underscore'; import { leftpad } from 'apify-shared/utilities'; import LruCache from 'apify-shared/lru_cache'; import log from 'apify-shared/log'; import { checkParamOrThrow } from 'apify-client/build/utils'; import { EN...
'use strict'; class DiceManagerClass { constructor() { this.world = null; } setWorld(world) { this.world = world; this.diceBodyMaterial = new CANNON.Material(); this.floorBodyMaterial = new CANNON.Material(); this.barrierBodyMaterial = new CANNON.Material(); ...
/** * Created by Yun on 2014/9/24. */ var PRETTY = true; var gens = {}; var indent, pushIndent, popIndent; if (PRETTY) { indent = "\n"; pushIndent = function () { indent = indent + " "; } popIndent= function (){ indent = indent.substr(0, indent.length - 4); } } else { i...
/* $This file is distributed under the terms of the license in LICENSE$ */ /* this code uses: dwr.util in util.js vitro.js detect.js */ dojo.require("dojo.io.*"); dojo.require("dojo.event.*"); //dwr.engine.setErrorHandler(function(data){alert("dwr.engine error: " + data);}); //dwr.engine.setWarningHandler(fu...
/** * BigBlueButton open source conferencing system - http://www.bigbluebutton.org/ * * Copyright (c) 2018 BigBlueButton Inc. and by respective authors (see below). * * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License as published by the ...
// Frequency Response $(document).ready(function(){ $("a.new#fresp-eta").text('ETA: '); $("a.new#fresp-rcount").text('R#: '); // console.log('encryptonian length: ' + mssnencrpytonian().length); get_repeat_fresp(); window.frespcomment = ""; }); // Global variables: window.selecteday = '' window.fr...
/** * * Copyright (c) 2020 <NAME> * * 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 applica...
// ============================================================================================ // --- BREAKOUT GARDENER --- // "A nice little playground for miscellaneous (p)HAT/Breakout/Sensor/OLED/etc tinkering" ;) // (c) 2018-2019 <NAME> - breakouts*xoblite.net - http://breakouts.xoblite.net/ // ===================...
/* JS routines for calendrical-demo: test custom calendars formatting capabilities. To be used with suitable calendrical-demo-**.html file. Character set is UTF-8 Contents: animtation routines for the html page. Required objects initiated by calendrical-init or equivalent loadCalendrical: promise that modules are imp...
"use strict"; var Promise = require("bluebird"); /* Slightly evil, but gitter doesn't export this rather useful class */ const GitterRoom = require('node-gitter/lib/rooms.js'); const { retry, RetryError } = require("./retry"); const log = require("./Logging.js").Get("BridgedRoom"); // How often to clean up stale se...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
/** * Created by dat on 9/16/16. */ import $ from "./vendor/jquery-3.3.1.slim.js" import {Alert, Popover} from '../node_modules/igv-ui/dist/igv-ui.js' import Viewport from "./viewport.js" import {DOMUtils, FileUtils} from "../node_modules/igv-utils/src/index.js" import C2S from "./canvas2svg.js" import GenomeUtils f...
import React, { Component } from "react"; import { StyleSheet, Text, View, TouchableOpacity, Alert, Animated, ActivityIndicator, Platform } from "react-native"; import { Button, Right, Left, Header, Title } from "native-base"; import * as Location from "expo-location"; import * as firebase from "fir...