text
stringlengths
8.5k
48.7k
/** * @typedef {import('./types').InstanceConfig} InstanceConfig * @typedef {import('./types').GlobalConfig} GlobalConfig * @typedef {import('./types').ToolbarInstance} ToolbarInstance */ import { LangKeys, PkgPrefix } from './constants'; import { JPrismToolbarUI } from './ui'; import { assertElem, basicHtmlEscape...
// https://en.bitcoin.it/wiki/List_of_address_prefixes const networks = { // artbyte: { // messagePrefix: "\x18ArtByte Signed Message:\n", // bech32: false, // bip32: { // public: 0x0488b21e, // private: 0x0488ade4 // }, // pubKeyHash: 0x17, // scriptHash: 0x5, // wif: 0x97, // minFeePerByte: 200...
const Eris = require("eris"); const Commando = require("eris.js-commando"); const superagent = require("superagent"); const moment = require("moment"); const tokens = require("../../../tokens.json"); const maps = { baggage: { name: "Baggage", id: "baggage" }, monastery: { name: "Mona...
import BaseView from "./base"; import React, {Fragment} from "react"; import {redirectToConnectIfNeeded} from "../core/utils"; import GEHeader from "../ui-components/layout/header"; import List from "../ui-components/lists/list"; import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; import { faCog, faCube...
/** * @author xeolabs / https://github.com/xeolabs */ import {Frame} from './frame.js'; import {RenderBuffer} from './renderBuffer.js'; import {math} from '../math/math.js'; import {stats} from './../stats.js'; import {WEBGL_INFO} from './../webglInfo.js'; import {Mesh} from '../objects/mesh.js'; const Renderer = f...
$(document).ready(function(e) { //Iniciar calendario $('.datepicker').datetimepicker({ pickTime: false }); $('.selectpicker').selectpicker(); $('select#act-contrato').click(function(){ }); $(".solo_numeros").keyup(function(){ if ($(this).val()) { $(this).val($(this).v...
import "core-js/modules/es.array.reduce.js"; /* eslint no-underscore-dangle: 0 */ import memoize from 'memoizerific'; import dedent from 'ts-dedent'; import stable from 'stable'; import mapValues from 'lodash/mapValues'; import pick from 'lodash/pick'; import deprecate from 'util-deprecate'; import Events from '@story...
"use strict"; var canvas; var gl; var numVertices = 132; var c; var program; /****** PROJECTIONS AND ROTATIONS ******/ var thetaforObject = [0, 0, 0]; var thetaforDirLight = [0, 0, 0]; var thetaforSpotlight = [0, 0, 0]; var near = 6.0; var far = 3.6; var radius = 4.0; var theta = 0.0; var phi = ...
function useTexture(src) { var canvas = document.getElementById('myCanvas'); var img = new Image(); img.onload = function() { if (canvas.getContext) { var context = canvas.getContext('2d'); context.clearRect(0, 0, canvas.width, canvas.height); context.drawImage(img, 0, 0, canvas.width, canvas.height); ...
var phridge = require('phridge') , _ = require('lodash') , util = require('./util.js') , zlib = require('zlib') , blockedResources = require('./resources/blocked-resources.json'); var COOKIES_ENABLED = process.env.COOKIES_ENABLED || false; var PAGE_DONE_CHECK_TIMEOUT = process.env.PAGE_DONE_CHECK_TIMEOUT || 3...
var colorSelected = 0xFFA500ff; var colorNonSelected = 0x009ee8; QueryResult = new Mongo.Collection("resultHDT"); //FIXME : tabular /*$('.row .btn').on('click', function(e) { e.preventDefault(); var $this = $(this); var $collapse = $this.closest('.collapse-group').find('collapse'); $collapse.c...
const crypto = require('crypto') const Buffer = require('buffer').Buffer const zeroPad = (buf, blocksize) => { buf = Buffer.from(buf.toString(), 'utf8') var pad = Buffer.alloc((blocksize - (buf.length % blocksize)) % blocksize) pad.fill(0) return Buffer.concat([buf, pad]) } const encryptOrder = (merchantKey, ...
'use strict'; var _interopRequireWildcard = require('@babel/runtime/helpers/interopRequireWildcard'); var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault'); Object.defineProperty(exports, '__esModule', { value: true }); exports['default'] = void 0; var _objectSpread2 = _interopRequi...
// const fs = require('fs') // https://jsfiddle.net/184m4ugd/ // grab monsters config file // const monsters = JSON.parse(fs.readFileSync('monsters.json', 'utf8')) // config global fancybattlefield - whether to zoom in or not if (debug.fancyBattlefield.display === 0) $("#mainPortal").removeClass("mai...
var utils = require("@/common/utils"); var _const = require("@/common/const"); var commonConfig = require("@/common/config"); var profile = require("./profile"); var textParser = require("./textParser"); var moment = require("moment"); var apiHelper = require("../pages/main/apis"); var LOADING = Modernizr.inlinesvg ? ...
import { SquareGrid } from "./map.js"; import { Terrain, TerrainShape, TerrainType, TerrainFeature, isFlat, isEdge, getTypeName } from "./terrain.js"; import { Rain } from "./weather.js"; import { Direction, getDirection } from "./physics.js"; import { Point2D } from "./geometry.js"; export var Biome; (function (Biome)...
/* This module implements a simple client-side in-memory relational database. The following features are supported: - First-class types with introspection. - Many views are updatable. - Change notifications at relation and value levels. - Derived values. Not supported: - Permanent storage (in plans using ...
function x_rug (args) { 'use strict'; args.rug_buffer_size = args.chart_type === 'point' ? args.buffer / 2 : args.buffer; var rug = mg_make_rug(args, 'mg-x-rug'); rug.attr('x1', args.scalefns.xf) .attr('x2', args.scalefns.xf) .attr('y1', args.height - args.bottom - args.rug_buffer_size) .att...
import React from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import 'gentelella/build/css/custom.min.css'; import { getSalesforceToken, getPostalCodeRecord, getPersonField, getPersonFields, getSchoolList, getAp...
/*jslint node: true */ var ROOT = process.cwd(); var HELPERS = require(ROOT + '/helpers/general.js'); var log = HELPERS.log; var config = require(ROOT + '/config.json'); var colors = require('colors'); var Fiber = require('fibers'); var runYieldHelpers = require(ROOT + '/helpers/helperForRunYield.js'); var DeviceH...
var babel = require('babel-core'); var gulp = require('gulp'); var gulpBabel = require('gulp-babel'); var less = require('gulp-less'); var globby = require('globby'); var qunitHarness = require('gulp-qunit-harness'); var git ...
const Discord = require('discord.js') const { MessageEmbed } = require('discord.js') const pagination = require('discord.js-pagination'); const ms = require('ms'); const { blacklistedWords } = require('../collections/blacklist'); const Schema = require('../models/blacklist'); const Schema2 = require('../models/lo...
import { spellDamage } from "./Champions.js"; import { getDefChamp, getAtkChamp } from "./Champions.js"; import { renderRunes } from "./runes.js"; import { damageColumn, showDamage, renderAbilityDamageButtons } from "./damage.js"; import { getChamps } from "./main.js"; //s const $root = $("#root"); const $champs = $("#...
/** 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, software distributed under the...
var canvas; var gl; //var textCanvas; //var ctx; var modelprop_Center=[0,0,0]; var modelprop_Radius=1; vxRenderState = { ShadedEdge : 0, Shaded : 1, Wireframe : 2 } var RenderState = vxRenderState.ShadedEdge; //var cubeVerticesBuffer; //var cubeVerticesColorBuffer; //var cubeVerticesIndexBuffer; //The...
const ask = fn => { try { return fn() } catch (e) { return } } const createTimer = () => { let start = 0 const log = [] return { stop: () => { if (start) { log.push(performance.now() - start) return log.reduce((acc, n) => acc += n, 0) } return start }, start: () => { start = performance.now...
// Pure Image uses existing libraries for font parsing, jpeg/png encode/decode // and borrowed code for transform management and unsigned integer manipulation //2014-11-14 line count: 418, 411, 407, 376, 379, 367 //2014-11-15 line count: 401, 399, 386, 369, 349, var opentype = require('opentype.js'); var fs = requ...
// ------------------------------------------------------------------------- // // THE CURRENT VERSION NUMBER var VERSION_STRING = '?v=0.3.2'; // ------------------------------------------------------------------------- // // ELEMENT IDS AND CLASSES var SHADOW_FILENAME = '/wedding/images/shadow.png'; // -...
import {IG, Image as ImpactImage, Loader, ig } from 'impact' import EventedInput from './evented-input' import {Sound} from 'impact' import Config from './config' import EditMap from './edit-map' import EditEntities from './edit-entities' import SelectFileDropdown from './select-file-dropdown' import ModalDialog, {Moda...
import timeFormat, { QlikTimeToDate } from '../timeFormat'; /** * PLEASE NOTE / WARNING: THIS FUNCTION *MAY* HAVE FLOATING POINT ERRORS * IT MIGHT BE OFF BY MILLISECONDS. * * It also tries to compensate for the milliseonds error by adding a 0.5 ms, * which means if you're specifying a date 2013-12-31 59:59:59 and...
const defaultContact = "<EMAIL>" const contacts = { //https://www.wcpss.net/Page/5472 "<EMAIL>": { cc: [ "<EMAIL>", "<EMAIL>", "<EMAIL>", "<EMAIL>", "<EMAIL>", "<EMAIL>", "<EMAIL>", "<EMAIL>", "<EMAIL>", ], title: "Wake County School Board", style: "WCPSS" }, "<EMAIL>": { tit...
// -*- mode: js; indent-tabs-mode: nil; js-basic-offset: 4 -*- // // Copyright 2018 <NAME> <<EMAIL>> // // Part of this code was copied from GNOME Shell. // Copyright The GNOME Shell Developers. // // The following license applies to such code, and to this file, // as a whole. // // This program is free software; you c...
function diep_api_symbol() { "use strict"; return Symbol.for("diep.api"); } function diep_api() { "use strict"; return (typeof unsafeWindow == "undefined" ? window : unsafeWindow)[diep_api_symbol()]; } (async function() { "use strict"; function log(...a) { console.log("[diep.api]", ...a); } function...
let headerTitle = document.querySelector(".title h1"); let bookingForm = document.querySelector(".booking"); let loadingWrapper; let buttonWrapper; let successMsg; let errorMsg; let infoMsg; let countDownMsg; let submitBtn; let ticks = 0; let animTimer; let calendar; let disclaimer; let checkBoxTxt = "Es piekrītu "; le...
/** * FDLT * Distributed ledger built atop a stack-based VM * * * * */ "use strict"; const EventEmitter = require("events"); const { Fapp_cfg } = require("../fapp/fapp_cfg.js"); const cfg = require("../../libfood.json"); const { Fbigint } = Fapp_cfg.ENV[cfg.ENV] === Fapp_cfg.ENV.REACT_NATIVE ? require("../ftyp...
import './fkinfo' import { FKError } from './fkerr' import { Font } from './fkfont' import { malloc32, withTmpBytePtr, hbtag } from './fkutil' // exports export { FKError } from './fkerr' export { Font } from './fkfont' export { Glyphs } from './fkglyphs' console.time('fontkit load') Module.postRun.push(() => { co...
// Set up the code editors var tileServersMirror = CodeMirror.fromTextArea(document.getElementById('tileServers'), { lineNumbers: true, lineWrapping: true, firstLineNumber: 0 }); tileServersMirror.setSize('100%', '8rem'); var fragmentHeaderMirror = CodeMirror.fromTextArea(document.getElementById(...
// JavaScript Document var curGradeScaleRanges = Array(); function refreshListController(context) { var curContext = context; this.refreshList = function refreshList() { if(this.curContext !== undefined) { document.getElementById(this.curContext).click(); this.curContext = undef...
var uuid = require('node-uuid') , fs = require('fs') , path = require('path') , models = require('../models') , async = require('async') , redis = require('redis') , mkKey = require("../support/models").mkKey , _ = require('underscore') var postK = "post"; var sourceK = "source"; exports.addModel = func...
// pageindex.js // the main page of the applicationCache // // jan 4 2018 by jhr, extracted from ui1core.js /* * Some global imports */ var ui; var Kudo; var l8; var de; var nde = false; var trace; var bug; var mand; var assert; // var value; // var pretty; // var _; var Ephemeral; var Topic; var Persona; // var...
document.getElementById("toolbar_logo").onclick = function () { location.reload(true); }; // to install axios run "npm i axios" or put it on script const options = { token: process.env.TOKEN, url: "https://www.marca.com", }; const options2 = { token: process.env.TOKEN, url: "https://www.mundodepor...
/* * Wazuh app - React component for show a module guide. * Copyright (C) 2015-2020 Wazuh, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your o...
/** * Copyright © 2015 - 2018 The Broad Institute, Inc. All rights reserved. * Licensed under the BSD 3-clause license (https://github.com/broadinstitute/gtex-viz/blob/master/LICENSE.md) */ 'use strict'; import {json} from 'd3-fetch'; import {median, ascending} from 'd3-array'; import {select, selectAll} from 'd3-s...
function applyDarkNewHomeCentor() { $("body").css({ "background-color": "#000", "color": "#e8e8e8" }); const path = location.pathname; if (path.match(/home/)) { applyDarkNewHomePage(); } else if (path.match(/genres/)) { applyDarkGenrePage(); } else if (path.match(/my_course/)) { applyDarkMyCourceP...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-1d0a0e6a.js'); var jsutils = require('@keg-hub/jsutils')...
import axios from 'axios' import csv from 'csvtojson' import dayjs from 'dayjs' import { KiteConnect } from 'kiteconnect' import { Promise } from 'bluebird' import { EXIT_STRATEGIES, STRATEGIES } from './constants' // const redisClient = require('redis').createClient(process.env.REDIS_URL); // export const memoizer = ...
let icon = { "icn-upper-blade-scis":"&#9985", "icn-black-blade-scis":"&#9986", "icn-lower-blade-scis":"&#9987", "icn-white-blade-scis":"&#9988", "icn-white-heavy-check-mark":"&#9989", "icn-telephone":"&#9990", "icn-tape-drive":"&#9991", "icn-airplane":"&#9992", "icn-envelope":"&#9993...
import {summary} from '../src/functions/summary.js' import {readFile} from 'fs/promises'; import Life from '../src/life.js'; globalThis.json = async fileName => JSON.parse(await readFile(`data/${fileName}.json`)); globalThis.$$eventMap = new Map(); globalThis.$$event = (tag, data) => { const listener = $$eventMap...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(g...
loadUsingBuildConfig(); let concater = function(formula) { let formulareal = ""; if(!formula.protons) { for(let i in formula) { concater(formulareal, formula[i].material); formulareal = formulareal.concat(formula[i].count); } } else if(!formula.neutrons) { formulareal = formulareal.concat(form...
let TelegramBot = require('node-telegram-bot-api'); let request = require('request-promise'); let moment = require('moment'); // **************************************************** Covid-19 Data *******************************/ let telegramToken_Covid = process.env.COVID_Telegram_Token; let covidBot = new Telegram...
const { BusUtil, BitUtil, NameValueUtil } = require('@johntalton/and-other-delights'); const { Compensate } = require('./compensate.js'); const { enumMap } = require('./generic.js'); const { genericChip } = require('./generic.js'); const { bmp3xxFifo } = require('./fifo'); const oversamplings = [ { name: 1, value...
/* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that...
/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript * @author <NAME> - @SlexAxton * @version 0.3.0 * @copyright 2012-2016 <NAME>, <NAME>, and Contributors * @license To use or fork, MIT. To contribute back, Dojo CLA */ /** Utility function for quoting an Object's key value iff require...
/* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy ...
//DEVELOPMENT PROJECT - FINAL PROJECT //POPCORN CLICKER - NETFLIX THEME //Members: <NAME> & <NAME> //Group: 10-3A //November 20, 2020 //===============================================VARIABLES DECLARATION===================================================// var mainPopcorn; //boton for main popcorn var popcor...
var fs = require('fs'), path = require('path'), argv = require('optimist').argv, connect = require('connect'), finalhandler = require('finalhandler'), http = require('http'), serveStatic = require('serve-static'), tinylr = require('tiny-lr-fork'), lr = require('connect-livereload'), ...
"use strict"; // // Flambe - Rapid game development // https://github.com/aduros/flambe/blob/master/LICENSE.txt var Q = require("q"); var fs = require("fs"); var ncp = require("ncp").ncp; var os = require("os"); var path = require("path"); var spawn = require("child_process").spawn; var wrench = require("wrench"); va...
import Promise from "bluebird"; import Vue from "vue"; import Vuex from "vuex"; import vtkProxyManager from "vtk.js/Sources/Proxy/Core/ProxyManager"; import { InterpolationType } from "vtk.js/Sources/Rendering/Core/ImageProperty/Constants"; import _ from "lodash"; import ReaderFactory from "../utils/ReaderFactory"; im...
import "./player.css"; import { debug, ifDebug } from "./debug.js"; const JUMP_STEP_SHORT = 10; const JUMP_STEP_LONG = 60; export function formatTime(dur) { if (!isFinite(dur)) return "?"; let hours = 0; let mins = Math.floor(dur / 60); let secs = Math.floor(dur % 60); secs = ("0" + secs).slice(-2...
var config = {}; //Overall environment settings are stored under config.env config.env = {}; config.env.prod = (process.env.NODE_ENV === 'production') ? 'production' : null; var LOCAL_HOST = 'localhost'; var DEV_HOST = 'dev.voyent.cloud'; var PROD_HOST = 'api.voyent.cloud'; config.env.host = DEV_HOST; if (process.en...
/** * Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> */ import { __assign, __awaiter, __generator, __spreadArray } from "tslib"; import { ANVILMembraneOrientation } from '../../extensions/anvil/behavior';...
// LOAD THE DYNAMIC DATA TABLE; // $.ajax({ // url: "ajax/managesalesajax.php", // success:function(response){ // console.log("response",response); // TEMP: initial syntax test! // // // --success:function(response) // } // // // --$.ajax // }) // IDEA: when refreshing the page all must be cleared and ...
var $ = jQuery = require("common:widget/ui/jquery/jquery.js"); var helper = require("common:widget/ui/helper/helper.js"); var UT = require("common:widget/ui/ut/ut.js"); require("common:widget/ui/jquery/widget/jquery.ui.position/jquery.ui.position.js"); require("common:widget/ui/jquery/widget/jquery.ui.button/jquery.ui....
function GameMain(){ PIXI.Container.call(this); this.name = "gameMain"; this.gameMainBg = new PIXI.Sprite(loader.resources["_assets/"+folderName+"/main_game_bg.png"].texture); this.gameMainBg.interactive = true; this.gameMainBg.width = GAME_WIDTH; this.gameMainBg.height = GAME_HEIGHT; this.addChild(this...
/** filepreviews 2.1.0 **/ ;(function () { var object = typeof exports != 'undefined' ? exports : this; // #8: web workers var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; function InvalidCharacterError(message) { this.message = message; } InvalidCharacterError.prototype ...
/** * A wrapper around the Fontsampler interface * * * Generally, the DOM is structured in such a way: * * Each nested Array in ´order´ is enclosed in a * * .fsjs-wrapper * * In each (optional, e.g. without Array straight output) wrapper one more more: * * [data-fsjs-block=_property_].fsjs-block .fsj...
import * as types from "../constants/action-types"; import {ChannelFixedID} from "../constants/index"; import ChromeUtil from "../utils/ChromeUtil"; import Utils from "../utils/Utils"; import { v4 as uuidv4 } from 'uuid'; const recentCount = 30; const notificationCount = 100; const mergeFeed = (oldFeed, newFeed, keepH...
// ----------------------------------------------------------------------------- // Refugee Lib /** * @file Color/Palette functions. * contains: {@link rlPalette} | {@link rlColors} */ // The MIT License (MIT) // // Copyright(c) 2014, <NAME> // http://www.dennisbusch.de // // Permission is hereb...
#!/usr/bin/env node /* * BSD 3-Clause License * * Copyright (c) 2015, <NAME> and others as credited in the AUTHORS file * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistribut...
/* Copyright (c) 2005 <NAME> <http://tool-man.org/> 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, publis...
// shortlist.js // Handle most of the functions of the shortlist, which contain the layers the // user has added so they can be quickly selected for display. import '/imports/lib/jquery-ui'; import Colormap from '/imports/mapPage/color/Colormap'; import colorMix from '/imports/mapPage/color/colorMix'; import gChart f...
var updateEvent = false; var idEventUpdate; var dataLogin; let calendar; /** * javascript comment * @Author: <NAME> * @Date: 2022-03-03 13:53:19 * @Desc: Here the date inputs was bloqueck to not use the keyborad */ $(document).ready(function() { document.getElementById("startDate").addEventListener("ke...
// requestAnimationFrame support (function() { var lastTime = 0; var vendors = ['ms', 'moz', 'webkit', 'o']; for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; window.cancelAnimationFrame = win...
var Square = require('./models/square'); var Message = require('./models/message'); var User = require('./models/user'); var async = require('async'); var gcm = require('node-gcm'); var fs = require('fs'); var arrayUniq = require('array-uniq'); module.exports = function(router, passport) { /* LOAD SQUARE rout...
/** * Created by Dbit on 2016/4/16. */ 'use strict'; let _=require('lodash'); let Thenjs=require('thenjs'); const async=require('async'); const util=require('util'); const domain=require('domain'); let logger=global.logger || console; /** * * @param args {object} * @returns {String} */ String.prototype.format = ...
window.onload = function () { var game = new Runner.PhaserRunner(); }; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, n...
const chai = require('chai'); const util = require('util'); const expect = chai.expect; const assert = chai.assert; const should = require('chai').should(); const parser = require('../src/discovery/lambdaParser'); it('Should correctly parse variables from nodejs', async () => { const code = ` /** * This i...
//---------------------------------------------------------------------------------------// //---------------------------- GLOBAL VARIABLES -----------------------------// //---------------------------------------------------------------------------------------// var currentGolfCourse = null; var currentSh...
"use strict"; var ls = localStorage; var iteration = 0; var intervalId = null; var newsLimit = 4; // The best amount of news for the popup, IMO var mainLoop = function(force) { console.lolg("\n#" + iteration); if (ls.showCantina === 'true') if (force || iteration % UPDATE_HOURS_INTERVAL === 0) updateH...
/** * * Copyright 2016, Institute for Systems Biology * * 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 applic...
var express = require("express"); var router = express.Router(); //hardcoded, hard to predict the 120y kurup cycle // started at 24 Mar 1936, 1867 const kurupTahun = 1867; const kurup = "Asapon (Alip jatuh pada Selasa Pon)"; const kurupName = "<NAME>"; const kurupId = [0, 0]; // Date when kurup (120y cycle) asapon is ...
/** * @author [<NAME>]{@link https://github.com/Itee} * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause} * * @class TViewport * @classdesc The TViewport allow to manage in an easier way a webgl TViewport containing by default:<br> * scene, camera, camera controllers, camera effects, lig...
$("#toggle_other_params").click(function(){ $("#other_params").toggle(); }); function GetDateTime() { date = document.getElementById("idate").value; time = document.getElementById("itime").value; console.log("datetime a completer"); return "20150602T120000"; } function GetDateTimeRepresents(){ ...
import { Meteor } from 'meteor/meteor'; import { HTTP } from 'meteor/http'; import { Promise } from 'meteor/promise'; import { Blockscon } from '/imports/api/blocks/blocks.js'; import { Chain } from '/imports/api/chain/chain.js'; import { ValidatorSets } from '/imports/api/validator-sets/validator-sets.js'; import { Va...
const storage = window.localStorage; const timeframes = ['dailies', 'weeklies']; var currentProfile = 'default'; var currentLayout = 'default'; var profilePrefix = ''; var dragRow; //global for currently dragged row var dailies = { "chaos-dungeon": {task: "Chaos Dungeon 1", url: "https://lostarkive.com/guides/end...
dojo.require("dijit.layout.AccordionContainer"); dojo.require("dijit.layout.BorderContainer"); dojo.require("dijit.layout.ContentPane"); dojo.require("dijit.form.FilteringSelect"); var db = {}; var mapa; var layer = []; var url = {}; url.wmsroot = 'http://172.16.58.3:8080/geoserver/est40516/wms'; url.ows...
let libros= ["Altazor", "Nostalgia de la Muerte", "Poesía en movimiento"]; const { write } = require('fs'); const http = require('http'); const server = http.createServer((request, response) =>{ if (request.url === '/'){ response.setHeader('Content-Type', 'text/html'); + response.write('<!DOCTYPE ht...
/****************************************************************************************/ /********************************** Template JS *****************************************/ /****************************************************************************************/ // Override jQuery Funciton // Every time when...
/** * Die Farben, die im Projekt genutzt werden. * Aus dem TUM Styleguide. * @type Object */ var const_Colors = { NodeFilling : "#98C6EA", // Pantone 283, 100% NodeBorder : "#0065BD", // Pantone 300, 100%, "TUM-Blau" NodeBorderHighlight : "#C4071B", // Helles Rot 100% aus TUM Styleguide NodeFilling...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TwingExtensionCore = void 0; const extension_1 = require("../extension"); const for_1 = require("../token-parser/for"); const and_1 = require("../node/expression/binary/and"); const extends_1 = require("../token-parser/extends"); const...
const spawn = require('child_process').spawn; const filbert = require('filbert'); const _ = require('underscore'); // @Cleanup: probably move to utils at some point function assert(condition) { if (!condition) { throw 'Assertion failed!'; } } const ui = require('./renderer.js'); module.exports.WARN_O...
////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014-present, Egret Technology. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // /...
'use strict'; var cache={categories:{}} var moment = require('moment') var mongoose = require('mongoose'); mongoose.Promise = global.Promise; var Schema = mongoose.Schema; var myUtil=require('../controllers/myUtil.js'); const util = require('util') var stores={}; var blockSchema = new Schema({ type:String, // text,...
const style = require("./_style"); const help = require("./index"); module.exports.cellContainer = (rootStyle, block, tgroup, row, rowIndex, col, colIndex, colspecs) => { const colspec = colspecs[col.att.col - 1]; const isLast = isLastColumn(tgroup, col); let columnSpan = ""; let colspecWithSpan = ""; if (col.at...
const assert = require('assert'); const async = require('async'); const { errors, s3middleware } = require('arsenal'); const ObjectMD = require('arsenal').models.ObjectMD; const BucketInfo = require('arsenal').models.BucketInfo; const acl = require('./metadata/acl'); const constants = require('../constants'); const {...
import path from 'path'; import { system, fs, zip, util, tempDir } from 'appium-support'; import log from './logger.js'; import _ from 'lodash'; import B from 'bluebird'; import semver from 'semver'; import os from 'os'; const rootDir = path.resolve(__dirname, process.env.NO_PRECOMPILE ? '..' : '../..'); const APKS_EX...
"use strict"; if (typeof module !== "undefined") { const imports = require("./filter"); Object.assign(global, imports); } class VariantClassFilter extends Filter { constructor (opts) { super({ header: "Optional/Variant Class", headerName: "变体职业", nests: {}, groupFn: it => it.userData.group, ...opt...
const QR = require('./qrcode.js'); const GD = require('./gradient.js'); require('./string-polyfill.js'); export const penCache = { // 用于存储带 id 的 view 的 rect 信息 viewRect: {}, textLines: {}, }; export const clearPenCache = id => { if (id) { penCache.viewRect[id] = null; penCache.textLines[id] = null; }...
var fs = require('fs-extra'); var pg = require('pg'); var PERF_TEST_LBL = 'HABANERO-AUTOGRADER-PERF-TEST'; // All run statuses var TESTING_CORRECTNESS_STATUS = 'TESTING CORRECTNESS'; var IN_CLUSTER_QUEUE_STATUS = 'IN CLUSTER QUEUE'; var TESTING_PERFORMANCE_STATUS = 'TESTING PERFORMANCE'; var FINISHED_STATUS = 'FINISH...