text stringlengths 8.5k 48.7k |
|---|
/**
* Created by alykoshin on 17.05.15.
*/
'use strict';
var gulp = require('gulp');
var zip = require('gulp-zip');
var bump = require('gulp-bump');
var gutil = require('gulp-util');
var install = require('gulp-install');
var header = require('gulp-header');
var git = r... |
/*
* Cratz Pad
*
* This is a very simple scratch pad where you can write anything you want,
* anytime, anywhere. You will also be able to download your file.
*
* Copyright 2019, <NAME> (@MelodicCrypter)
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
// Styles: SCSS or CSS
import '../style... |
#!/usr/bin/env node
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------... |
/*jslint evil: true, browser: true, immed: true, passfail: true, undef: true, newcap: true*/
/*global JSON, XMLHttpRequest, window, escape, unescape, ActiveXObject */
//
// easyXDM
// http://easyxdm.net/
// Copyright(c) 2009-2011, <NAME>, <EMAIL>.
//
// Permission is hereby granted, free of charge, to any person obtain... |
var xmldom = require("xmldom");
const assert = require("chai").assert;
class DBLImport {
constructor(dblDom) {
this.serializer = new xmldom.XMLSerializer();
this.root = dblDom.documentElement;
this.sbMetadata = {};
this.processRoot();
this.processLanguage();
this.pro... |
var fs = require('fs'),
rmdir = require('rmdir'),
unzip = require('unzip'),
xmlbuilder = require('xmlbuilder'),
xml2js = require('xml2js');
var sourceZip = process.argv[2];
var overridesDir = process.argv[3];
var extrasDir = process.argv[4];
var targetDir = process.argv[5... |
var _cards = new Array();
var TaskOrderDTO = function (task) {
if (!(task instanceof Task)) {
throw ("task is not an instance of Task");
}
this.Id = task.Id;
this.TaskOrder = task.TaskOrder;
}
var Task = function (task) {
this.Id = task.Id;
this.Description = task.Description;
thi... |
function initws () {
init_term();
ws = new WebSocket(wsurl);
ws.onopen = wsopen;
ws.onmessage = wsmessage;
ws.onclose = wsclose;
}
function reconnect () {
$('#refresh').addClass('hidden');
$('.a.term').remove();
current_ts = null;
ws = new WebSocket(wsurl);
ws.onopen = wsopen;
ws.onmessage = w... |
//
// SPDX-FileCopyrightText: 2020 SAP SE or an SAP affiliate company and Gardener contributors
//
// SPDX-License-Identifier: Apache-2.0
//
'use strict'
import moment from 'moment-timezone'
import semver from 'semver'
import md5 from 'md5'
import DOMPurify from 'dompurify'
import marked from 'marked'
import capitali... |
Tournament.resetGlobalVariables = function(){
Tournament.SELECTION = 5;
Tournament.NUM_TURNS = 10;
Tournament.INITIAL_AGENTS = [
{strategy:"tft", count:0},
{strategy:"all_d", count:1},
{strategy:"all_c", count:1},
{strategy:"grudge", count:0},
{strategy:"prober", count:0},
{strategy:"tf2t", count:0},
... |
import React, { Component, Fragment } from 'react'
import { css } from 'glamor'
import { Body, Title } from '../text'
import { compose, graphql } from 'react-apollo'
import gql from 'graphql-tag'
import Frame from '../../Frame'
import DiscussionIcon from '../../Icons/Discussion'
import Link from '../../Link/Path'
impor... |
var toStr = Object.prototype.toString;
function isCallable(fn) {
return typeof fn === "function" || toStr.call(fn) === "[object Function]";
}
function toInteger(value) {
var number = Number(value);
if (isNaN(number)) {
return 0;
}
if (number === 0 || !isFinite(number)) {
return number;
}
return (n... |
var util = {};
/**
构造微擎地址,
@params action tp系统中的,model, contrlloer, action,格式为 'index/Info/getTourist'
@params querystring 格式为 {参数名1 : 值1, 参数名2 : 值2}
*/
util.url = function (action, querystring) {
var app = getApp();
var url = app.siteInfo.siteroot + action+ '?i=' + app.siteInfo.uniacid +'&v=' + app.siteInfo.ver... |
//kasir javascript document
var path = window.location.pathname.split('/');
var http = window.location.origin + '/' + path[1];
/**
* [description]
* @return {[type]} ... |
function removeDomainFromUrl(f) {
return f.replace(/^https?:\/\/[^\/]+/i, "")
}
var IMG_PARAM = {
URL: 0,
TITLE: 1,
ALT: 2,
WIDTH: 3,
HEIGHT: 4
}, pluginPath = removeDomainFromUrl(CKEDITOR.plugins.get("slideshow").path),
BASE_PATH = removeDomainFromUrl(CKEDITOR.baseP... |
/* ************************************************************************
#
# DivConq
#
# http://divconq.com/
#
# Copyright:
# Copyright 2014 eTimeline, LLC. All rights reserved.
#
# License:
# See the license.txt file in the project's top-level directory for details.
#
# Authors:
# * <NAME>
#
********... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: !0 });
var t = require("react");
function r(t) {
return t && "object" == typeof t && "default" in t ? t : { default: t };
}
var e = r(t),
n =
"undefined" != typeof globalThis
? globalThis
: "undefined" != typeof window
? windo... |
// TODO partition the mess into es modules
// TODO more commenting / documenation
// TODO use Config API
import OptimalSelect from 'optimal-select';
import * as Log from 'loglevel';
import Inpladitor from './model';
const log = Log.debug;
function debug(...args) {
if (Inpladitor.options.debug) log(...args);
}
fu... |
// In God We Trust
const {join, resolve} = require('path');
const fs = require('fs');
const crypto = require('crypto');
const http = require('http');
const express = require('express');
const cookieParser = require('cookie-parser');
const bodyParser = require('body-parser');
const compression = require('compr... |
import React, { useEffect, useState, useRef } from "react";
import { connect } from "react-redux";
import Container from "../../../atoms/Container/Container";
import DispatchQueueJob from "./DispatchQueueJob/DispatchQueueJob";
import Input from "../../../atoms/Input/Input";
import Button from "../../../atoms/Button/But... |
/* This file adds IBAN verification funcionality
*
* Based on a script from http://www.tbg5-finance.org/?ibandocs.shtml
*
* Created 2018-10-07
* Modified 2018-10-07
*
* Execute
* checkiban("CH12 3456 7891 3456 7891 1");
*
*/
// perform the check
function checkiban(iban) {
if (checkibancore(iban.rep... |
import React, { useState, useRef } from 'react'
import styled from 'styled-components'
import QrReader from 'react-qr-reader'
import { Mnemonic, Transaction } from 'alterdot-lib'
import { NotificationManager } from 'react-notifications'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faQrcode ... |
'use strict';
// ## LRSView
// View class. Provides outlets, actions, templates, nesting etc.
class LRSView extends lrs.LRSObject {
// ### `static` parseTemplates
// Collect all templates from the document. Must be called once, before view initialisation.
static parseTemplates() {
if (this.templates) retur... |
/* -*- indent-tabs-mode: nil; js-indent-level: 4; js-indent-level: 4 -*- */
/* Copyright 2015-2017 <NAME>. Released under the MIT license. */
"use strict";
// Routines related to raytracing the point of view display.
function ViewAngle(yaw, pitch, radius)
{
this.initialize(yaw, pitch, radius);
}
ViewAngle.proto... |
/* jshint -W097 */// jshint strict:false
/*jslint node: true */
'use strict';
const utils = require(`@iobroker/adapter-core`); // Get common adapter utils
const {exec} = require(`child_process`);
const helper = require(`${__dirname}/lib/utils`);
const ping = require(`ping`);
const os = require(`os`).platform();
const ... |
/* eslint prefer-rest-params: "off", no-global-assign: "off",
no-shadow-restricted-names: "off" */
const nativeModules = Object.keys(process.binding('natives'));
const Module = require('module');
const vm = require('vm');
// const utils = require('./utils.js');
const config = require('./utils/config.js');
const lyaSt... |
import React, { useState, useContext, useEffect } from 'react';
import { useHistory } from "react-router-dom";
import Menu from "../gui/Menu";
import Chat from "./Chat";
import Footer from "../gui/Footer";
import Iframe from "./Iframe";
import IframeInputAdmin from "./IframeInputAdmin";
import Popup from "../gui/Popup"... |
var theta = 3;
var d = 30;
var d1 = Math.min(d,2*theta);
var gamma = 0.95;
var tl = -0.5, th = 0.5;
var p01 = 0.5, p10 = 0.5;
var upl = 1; // up phase length (s)
var potential = 0, early = [];
var lbs = [], ubs = [], ms_visual = [];
var hw = 1.0; // Heavy weight
var loop = false;
var width = 500,height = 1000, ldist =... |
var h_oros_m = 0;
function getSignFromDateHP(month, day) {
var monthNum = parseFloat(month);
var dayNum = parseFloat(day);
var sign;
if((monthNum == 3 && dayNum >= 21) || (monthNum == 4 && dayNum <= 20))
sign = "ariete";
else if((monthNum == 4 && dayNum >= 21) || (monthNum == 5 && dayNum <= 20))
sign = "toro";... |
/* GLOBAL VARIABLES */
window.erasing_radius = 15;
window.asset_size = 8;
// Lists of points {x, y} composing the terrain shapes
window.ground = [];
window.ceiling = [];
// Lists of raw points {x, y} drawn by the user for the terrain shapes
window.terrain = {
ground: [],
ceiling: []
};
// Parameters to hand... |
import { View, TouchableOpacity, Pressable, Modal, ScrollView, Dimensions, TextInput } from 'react-native';
import ImageViewer from 'react-native-image-zoom-viewer';
import React from 'react';
import { client, Text, MarkdownView, app, parseRevoltNodes, GeneralAvatar, ServerName, ServerList, openUrl, setFunction, Contex... |
/*
Amfn Web Assembly.
Copyright (c) 2021 ShiftLeft Software
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
<LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
option. This file may not be copied, modified... |
function Type(model, name, baseType, origin) {
this._fullName = name;
// if origin is not provided it is assumed to be client
this._origin = origin || "client";
this._originForNewProperties = this._origin;
this._pool = {};
this._legacyPool = {};
this._counter = 0;
this._properties = {};
this._instanceProper... |
'use strict'
function t(t) {
return t && 'object' == typeof t && 'default' in t ? t.default : t
}
Object.defineProperty(exports, '__esModule', { value: !0 })
var e = t(require('jsbi')),
n = require('@uniswap/sdk-core'),
r = t(require('tiny-invariant')),
o = require('@ethersproject/solidity'),
i = require('@et... |
/*global require, describe, it, beforeEach*/
var expect = require('chai').expect;
var sinon = require('sinon');
var CPU = require('../../lib/cpu');
var MMU = require('../../lib/mmu');
var bit = require('../../lib/opcodes/bit');
describe("Bit opcodes", function() {
var cpu, mockMMU, read8Stub, write8Spy, ops;
bef... |
/*
------------
HangMan Game
------------
Student ID:
Name: <NAME>
Class:
Input/Output files: line 21 and 22(respectively)
*/
//Strict coding
'use strict';
//Required modules
var readline = require('readline-sync');
const fs = require('fs');
//Finding the files
const ... |
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
* @author erich666 / http://erichaines.com
* @author <NAME> / http://vizworkshop.com
*/
import * as THREE from 'three'
import { Sp... |
/* globals Kinetic, Constants */
/* exported startConnector, endConnector, updateActiveLineLocation, getIntersectingShape,
addElementToContainer, removeElementFromContainer, updateConnectedLines, changeConnectorEndpoints,
allowsDrop, findObjectInPhemaGroupType, BORDER, updateSizeOfMainRect, resizeStageForEvent, MIN... |
class D3Graph {
X = {
axis: null,
domain: [0, 1],
scale: null,
isTime: true,
maxTicks: 15,
minTicks: 4,
clamp: true,
leftBisect: d3.bisector(data => data.x).left,
rightBisect: d3.bisector(data => data.x).right,
};
Y = {
axis: null,
domain: [0, 1],
scale: null,
maxTicks: 10,
clamp: true,... |
import './addPartExtension.css'
import * as alertify from 'alertifyjs';
import 'alertifyjs/build/css/alertify.css';
var selectedModelName;
export default function RegisterAddPartTool() {
var Autodesk = window.Autodesk;
var AutodeskNamespace = window.AutodeskNamespace;
var THREE = window.THREE;
Autodes... |
const
arg = require('arg'),
path = require('path'),
fs = require('fs'),
ACC = require('ac-connector'),
ACCLogManager = ACC.ACCLogManager,
xtkQueryDef = ACC.xtkQueryDef,
xtkSpecFile = ACC.xtkSpecFile,
diffCheker = require('deep-diff').diff,
PackageLoader = require('./PackageLoader').PackageLoa... |
import _ from 'lodash'
import * as THREE from 'three'
import * as data from './data'
import * as util from './util'
import $ from 'jquery'
function getHexColor (hex) {
let result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex)
let r = parseInt(result[1], 16) / 255
let g = parseInt(result[2], 16) / ... |
if(require.main === module)
throw new Error("typeinclude is a library and has no runnable functionality");
var path = require('path');
var pkg = require(path.resolve(__dirname, 'package.json'));
var child_process = require("child_process");
var crypto = require('crypto');
var mkdirp = require("mkdirp");
var _ = re... |
var utils = {
math: {
//L2
euclidean: function(x1, x2) {
var i;
var distance = 0;
if (x1.length != x2.length){
console.log('x1 x2 ' , x1, x2);
throw new Error("Euclidean: Non equal lengths");
}
for(var i=0, l=x1... |
// weather display server - displays current local weather information
// Setup all required packages
// Although the next line refers to jslint, it is altering jshint behavior
/*jslint esversion:6 */
/*jslint node:true, maxerr:50 */
'use strict';
var config = require("./config.js");
var express = require("express");
... |
const { ApiPromise, WsProvider, Keyring } = require('api_v1');
const { Abi, PromiseContract } = require('api_contracts');
const delay = require('delay');
const config = require('./config');
const fs = require('fs');
var BigNumber = require('bignumber.js');
BigNumber.config({ DECIMAL_PLACES: 12, ROUNDING_MODE: BigNumbe... |
const { Router } = require('express');
const passport = require('passport');
const sanitizeHtml = require('sanitize-html');
const mongoose = require('mongoose');
const fs = require('fs');
const request = require('request');
const rateLimit = require('express-rate-limit');
const User = require('../models/user');
const ... |
import {
BufferGeometryLoader,
FileLoader,
Loader,
Object3D,
MeshStandardMaterial,
Mesh,
Color,
Points,
PointsMaterial,
Line,
LineBasicMaterial,
Matrix4
} from "../../../build/three.module.js";
import { CSS2DObject } from '../renderers/CSS2DRenderer.js';
var Rhino3dmLoader = function ( manager ) {
Loader... |
import * as asn1js from "./asn1js/asn1.js";
import { stringToArrayBuffer, bufferToHexCodes } from "./pvutils/utils.js";
import Certificate from "./pkijs/Certificate.js";
import AttributeTypeAndValue from "./pkijs/AttributeTypeAndValue.js";
import Extension from "./pkijs/Extension.js";
import RSAPublicKey from "./pkijs/... |
/* *
*
* (c) 2010-2019 <NAME>
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from './Globals.js';
/**
* Optional parameters for the tick.
* @private
* @interface Highcharts.TickParametersObject
*/ /**
* Se... |
import { Morph } from 'lively.morphic/morph.js';
import { Icon, Tooltip, morph, Text, Polygon, Label, Path, Image, HTMLMorph, Ellipse } from 'lively.morphic/index.js';
import { pt, Rectangle, Color } from 'lively.graphics/index.js';
import { arr, Closure, obj } from 'lively.lang/index.js';
import { LoadingIndicator } f... |
// ==UserScript==
// @name Stack-Exchange-Editor-Toolkit
// @author <NAME> (AstroCB)
// @developer <NAME> (jt0dd)
// @developer sathyabhat
// @contributor Unihedron
// @license MIT
// @namespace http://github.com/AstroCB
// @version 1.5.2
// @description Fix common g... |
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
function getClientPos(e) {
let pageX;
let pageY;
if (e.touches) {
[{ pageX, pageY }] = e.touches;
} else {
({ pageX, pageY } = e);
}
return {
x: pageX,
y: pageY,
};
}
function cla... |
const { randomIntFromInterval, randomWithProbability, dateToTimeStamp, normalize, nonBlockingSleep, shuffleObject, getCommentFromPost } = require('../utils');
const utils = require('../utils');
const fetchTypes = ['location', 'user', 'feed']
const DEFAULT_SAVE_DIRECTORY = 'instagramAPI/';
const path = require('path-ext... |
import Moment from "moment"
import { uuid, beginning } from "./utilities"
const timings = true
export const calculate = (accounts, templates, transAcc, today) => {
if (timings) console.time("Recalculation Total")
// 1. Remove future transactions
if (timings) console.time("deleteFutureAllTransactions")
let tra... |
var EventEmitter = require('events').EventEmitter
import Chunk from './chunk'
import { sortByReferenceArray, loopForTime, numberOfVoxelsInSphere } from './util'
var PROFILE = 0
var PROFILE_QUEUES = 0
export default function (noa, opts) {
return new World(noa, opts)
}
var defaultOptions = {
chunkSize: 24... |
// Kickstrap.js
// <NAME>
//
// VARIABLES
// =========
//
// Some of the magic done by kickstrap is done by placing encoded javascript in
// the content attributes of script elements. However, not all browsers behave
// friendly when doing this.
//
// 1. contentHack.selector
//
// To manage compatibility, Kickstrap wil... |
/*
Transition types:
bot: 123
left: 321
right: 288
top: 117
door: 20
door_*: 13
*/
/** Loads data from the save file and hands general information about that data */
class DataGen {
/** Map of item pool name => randomizer bool setting */
static allItemPools = {
// Get pool list from data: Ob... |
/*
Ancient fireworks slider control code (2005)
Kinda/sorta refactored for SM2 360 demo
http://schillmania.com/projects/fireworks/
--------------------------------------------
Not required for your use!
*/
function Animator2() {
var self = this;
this.tweens = [];
this.tweens['default'] = [1, 2, 3, 4,... |
/*global tinymce, jQuery, $, tb_show, tinyMCE, tb_remove */
/////////////////////////////////////////////////////////////////////////////////////////
/// shortcode - places list
/////////////////////////////////////////////////////////////////////////////////////////
(function () {
"use strict";
tinymce.cre... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// RUN: LC_ALL=en_US.UTF-8 %hermes -non-strict -O -target=HBC %s | %FileCheck --match-full-lines %s
print('RegExp');
// CHECK-LAB... |
/* jshint globalstrict: true */
/* jshint browser: true */
/* jshint devel: true */
/* jshint jquery: true */
/* global util */
/* global raft */
/* global makeState */
/* global ELECTION_TIMEOUT */
/* global NUM_SERVERS */
'use strict';
var playback;
var render = {};
var state;
var record;
var replay;
$(function() {... |
Countly = {};
Countly.serverUrl = "";
Countly.appKey = "";
Countly.ready = false;
Countly.version = "19.3.0";
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (/android/i.test(userAgent)) {
Countly.isAndroid = true;
Countly.messagingMode = {"DEVELOPMENT": 2, "PRODUCTION": 0};
}
if (/i... |
var VSHADER_SOURCE =
'attribute vec4 a_Position;\n' +
'attribute vec4 a_Normal;\n' +
'uniform mat4 u_ViewMatrix;\n' +
'uniform mat4 u_ModelMatrix;\n' +
'uniform mat4 u_NormalMatrix;\n' +
'uniform vec4 u_ObjectColor;\n' +
'uniform float u_Reflectivity;\n' +
'uniform vec4 u_DircCol;\n' +
... |
const fs = require('fs');
const path = require('path');
const peakTablesReader = require('./reader/peakList.js');
const xmlParser = require('xml2json');
const nmrMetadata = require('nmr-metadata');
const OCL = require('openchemlib-extended');
const SD = require('spectra-data');
// var pathMetaboliteMetadata = '/home/ab... |
//define column names;
let field_redundancy = "RedundancyMultiple";
let field_rowcnt = "RowCounts";
let field_sensitivity = "SensitivtyScore";
let clicked_data = "";
let data_full, data_filtered;
var selected_length="", selected_color="";
let breadcrumbColors = {
"DataStoreName":"#9cc4b2",
"TableName":"#c98ca... |
$(function () {
formAllPosition("epp_position");
formVessel("epp_tentative_vessel");
formVessel("e_vessel_name");
formAllPosition("e_position");
formTypeVessel("e_vessel_type");
formVessel("edit_mlc_vessel_name");
formTypeVessel("edit_mlc_vessel_type");
formNationality("edit_mlc_farer_nationality");
formAllPo... |
/// <reference path="easeljs/easeljs.d.ts" />
var Path = (function () {
function Path() {
this.prev = new createjs.Point();
this.prev2 = new createjs.Point();
this.point = new createjs.Point();
this.mouse = new createjs.Point();
}
/**
*
* @param x
* @param y
... |
/**
* @version 0.0.16
* @author <NAME>
* @repository https://github.com/mingmingwon/drag-drop
* @license MIT
*/
import $ from 'sprint-js';
import util from './util';
let win = window;
let doc = win.document;
let $doc = $(doc);
let fromEl, $fromEl, fromIns, fromIndex,
toEl, $toEl, toIns, toIndex,
dragEl... |
const appPath = `${window.location}`;
const socket = io(appPath);
const client = feathers();
// Create the Feathers application with a `socketio` connection
client.configure(feathers.socketio(socket));
// Get the services for our endpoints
const positions = client.service('positions');
const videoinputs = client.serv... |
"use strict";
const {
LUA_DIRSEP,
LUA_EXEC_DIR,
LUA_JSPATH_DEFAULT,
LUA_PATH_DEFAULT,
LUA_PATH_MARK,
LUA_PATH_SEP
} = require('./luaconf.js');
const {
LUA_OK,
LUA_REGISTRYINDEX,
LUA_TNIL,
LUA_TTABLE,
lua_callk,
lua_createtable,
lua_getfield,
lua_insert,
lua_i... |
"use strict";
/*
* Copyright 2014-2019 <NAME> (http://guybedford.com)
*
* 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
*
*... |
/*
* Copyright (c) 2014 daiz. All rights reserved.
* This code may only be used under the BSD style license.
*/
var griddles = {apis : {}};
var home = griddles;
var apis = griddles.apis;
var doc = document;
var clog = function(x) {
//console.log(x);
}
home.get_screen_info = function() {
var w = AppData.int_las... |
var GaiZhang = k.react.GaiZhang = React.createClass({
getInitialState: function () {
return {isShow: false, bt: '', man: '', date: ''};
},
render: function () {
var outStyle = {
position: "absolute",
display: 'none',
right: "180px",
top: "100px... |
import './tree-selector.js';
import 'array-flat-polyfill';
import { action, computed, decorate, observable } from 'mobx';
import { css, html } from 'lit-element/lit-element.js';
import { Localizer } from '../locales/localizer';
import { MobxLitElement } from '@adobe/lit-mobx';
// node array indices
export const ID = ... |
/*
=========================================================
Name : SelectManager
GitHub : https://github.com/TimRohr22/Cauldron/tree/master/SelectManager
Roll20 Contact : timmaugh && TheAaron
Version : 1.0.9
Last Update : 10/6/2021
=========================================================
*/
var API_Meta = AP... |
/*The theology is to trade the pullbacks within the reversals
1. First predict the reversal on the monthly trendline
2. Find the pullbacks within the weekly trendlines
3. Triggers buy or sell signals
4. Calculates limit orders on when to buy and when to sell*/
function progress(percent, text, id) {
/... |
/**
* Get the emoji properties of a given unicode code point
* Returns a bitmask encoded with the following properties:
* `Emoji (1) | Emoji_Presentation (2) | Emoji_Modifier_Base (4) | Emoji_Modifier (8) | Emoji_Component (16)`
* Properties are derived from {@link https://unicode.org/Public/13.0.0/ucd/emoji/emoji-... |
//環境變數
var updateFPS = 30
var showMouse = true
var time = 0
var bgColor ="black"
//控制
var controls = {
value: 0
}
var gui = new dat.GUI()
gui.add(controls,"value",-2,2).step(0.01).onChange(function(value){})
let PI = n => n === undefined? Math.PI : Math.PI*n
//------------------------
// Vec2
class Vec2{
const... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
/**
* The following block of code may be... |
// Wikipedia JavaScript support functions
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1)
&& (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));
var is_safari = ((clientPC... |
var ADD_MARKER_OFFER = "הוסף הצעה";
var ADD_MARKER_PETITION = "הוסף עצומה";
var SEVERITY_FATAL = 1;
var SEVERITY_SEVERE = 2;
var SEVERITY_LIGHT = 3;
var SEVERITY_VARIOUS = 4;
var SEVERITY_ATTRIBUTES = {};
SEVERITY_ATTRIBUTES[SEVERITY_FATAL] = "showFatal";
SEVERITY_ATTRIBUTES[SEVERITY_SEVERE] = "showSevere";
SEVERITY... |
/*global iframe_tech, iframe_chart, getParameterByName, Tag, setTightshortsChart, setAnalyticsChart,
setChartDebtEquity, setNetIncomeChart, apexLightMode, apexDarkMode, clearCharts*/
// Preloader
var preloader = document.getElementById('preloader_preload');
/**
* Fade out animation for element
*
* @param {*} el ... |
/*
# CloudBoost - Core Engine that powers Bakend as a Service
# (c) 2014 HackerBay, Inc.
# CloudBoost may be freely distributed under the Apache 2 License
*/
var Collections = require('../database-connect/collections.js');
var q = require('q');
var fs = require('fs');
var crypto = require("crypto");
var... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
const { each, post, trim } = require('jquery');
require('./bootstrap');
window.Vue = require('v... |
#!/usr/bin/env node
var AWS = require("aws-sdk");
//forçar leitura de acessos para aws , descomentar as linhas abaixo com dados de sua conta
//AWS.config.accessKeyId = "<KEY>";
//AWS.config.secretAccessKey = "<KEY>";
//AWS.config.sessionToken = "<KEY>";
//lendo dependencias
var proxy = require('proxy-agent');... |
// Copyright (c) 2011 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.
var MAX_APPS_PER_ROW = [];
MAX_APPS_PER_ROW[LayoutMode.SMALL] = 4;
MAX_APPS_PER_ROW[LayoutMode.NORMAL] = 6;
function getAppsCallback(data) {
logEve... |
//Funcion de cambio de arma. Utiliza el ID del jugador y la tecla para activarlo.
function changeWeaponFunc(key ,id_player){
if(players[id_player].hasOrb){
if(!orbes[id_player].weapons[1].empty){
orbes[id_player].switch();
}
}
}
function consumeFood(){
players[currentPla... |
'use strict';
// contains common operations to the multiple parts of the domManipulator module
var kernel = require('../../kernel');
var individualCaches = !kernel.feDebug();
var allowedJs;
var forceCaptcha;
var lang;
var db = require('../../db');
var threadsCollection = db.threads();
var postsCollection = db.posts();... |
var is_open = false;
var g_instance_row;
function Form_Load( )
{
DGN_Design.InitMode( true, 800, 600 );
WMDA_1.Toolbar_Visible("master_grid", "ok", false);
WMDA_1.Toolbar_Visible("master_grid", "cancel", false);
WMDA_1.Toolbar_Visible("master_grid", "insert", false);
// WMDA_1.Toolbar_Visib... |
/*
Ricky's TODO (as of 11/19/11, hopelessly outdated);
Remove warningText...
Remove { vendors: null }
strings.js
Finally:
Once the CSS classes we're keeping are stable, remove old ones from results.css.
*/
var outgoing = "<p class='first'>Click the link to view your book";
var outgoing2 = " on ";
var outgoing3 = ".<b... |
var gTimeoutAlertApplication = null;
var gMsgInformativa = {
RequisitoNaoAtendido: "Ops! Ocorreu um erro, o requisito abaixo não foi atendido:",
RequisitosNaoAtendidos: "Ops! Ocorreu um erro, os requisitos abaixo não foram atendidos:"
};
var AlertType = {
Success: "alert-success",
Info: "alert-info... |
/* Spending
-------------------------------------------------- */
var activeState = null;
var lastBar = null;
var year2Expnd = {
'1990': {
'total': 1620,
'Men (16+)': 324,
'Boys (2 - 15)': 70,
'Women (16+)': 586,
'Girls (2 - 15)': 87,
'Children (under 2)': 70,
... |
// MODULES //
import React, { Component } from 'react';
import i18next from 'i18next';
import PropTypes from 'prop-types';
import Select, { components } from 'react-select';
import Card from 'react-bootstrap/Card';
import Button from 'react-bootstrap/Button';
import FormGroup from 'react-bootstrap/FormGroup';
import F... |
import $ from 'jquery';
import _ from 'underscore';
import QB from 'quickblox';
import Ps from 'perfect-scrollbar';
import 'malihu-custom-scrollbar-plugin';
import 'jquery.nicescroll';
import 'jquery-mousewheel';
import QMCONFIG from 'config';
import minEmoji from 'minEmoji';
import Entities from '../entities';
import ... |
const { expectRevert } = require('@openzeppelin/test-helpers');
const treeHelper = require('../helpers/tree');
const ethers = require('ethers');
const pIteration = require('p-iteration');
const assert = require('chai').assert;
const MockChainlinkCoordinator = artifacts.require('MockChainlinkCoordinator');
const MockERC... |
import extractWebIdl from './extract-webidl.js';
import {parse} from "../../node_modules/webidl2/index.js";
/**
* Extract definitions in the spec that follow the "Definitions data model":
* https://tabatkins.github.io/bikeshed/#dfn-contract
*
* Each definition returned by the function will have the following proper... |
import _extends from 'babel-runtime/helpers/extends';
import _regeneratorRuntime from 'babel-runtime/regenerator';
import _asyncToGenerator from 'babel-runtime/helpers/asyncToGenerator';
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';
import _defineProperty from 'babel-runtime/helpers/definePr... |
'use strict';
const fs = require('fs');
const util = require('util');
const _ = require('lodash');
const readline = require('readline');
const keypress = require('keypress');
const CLA = require('command-line-args');
const CLU = require('command-line-usage');
const {
octal, oct6, octW, octA, octC,
shiftForBit, f... |
/** Research Studios Austria - iSPACE 2016 **/
// Global variables
// Map and its layers
var map;
var backgroundmap;
var osm;
var orthomap;
var wfst;
var wfstLayers;
var drawnItems;
var drawControl;
var toolbarContainer;
var newMarkerLayer;
var locateControl;
var webSocketLayer;
var webSocketUrl;
var clickedLayerItem... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.