text
stringlengths
3.22k
29.5k
import React, { useState } from "react"; import PropTypes from "prop-types"; import { makeStyles } from "@material-ui/core/styles"; import { Table as MaterialTable, TableBody, TableCell, TableRow, TableSortLabel, TablePagination, Typography, TableHead, IconButton, Tooltip, Divider, Button, Dia...
"use strict"; require("core-js/modules/es.array.iterator"); require("core-js/modules/es.promise"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.splitAddons = exports.resolveAddonName = void 0; var _tsDedent = _interopRequireDefault(require("ts-dedent")); var _path = re...
"use strict"; 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) { t...
//----------------------------------------------------------------------------- // TripList.js is part of the BART dashboard widget. (c) 2005 <NAME> // This software is licensed under the terms of the open source MIT license. //----------------------------------------------------------------------------- // // A T...
const MACRONAME = "Riding_Familiar.0.2.js" console.log(MACRONAME) /***************************************************************************************** * Implement Occultist's Rining Familiar ability, based on Enlarge_Reduce.0.5.js * * Description: If you have a familiar without a flying speed, as an action y...
import React, { Component } from 'react'; import { connect } from 'dva'; import { Card, Badge, Table, Divider } from 'antd'; import DescriptionList from 'components/DescriptionList'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import styles from './TeilProfile.less'; import moment from 'moment'; impo...
import _ from 'lodash' import alasql from 'alasql' import moment from 'moment' import 'xlsx' import '~/authentication' export { default as template } from './index.html' export default ['$scope', '$http', '$q', function($scope, $http, $q) { $q.all([getMeetings(),getCountries()]).then(function (results) { $scope...
/** * Created by TinySymphony on 2017-03-23. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { View, Image, Modal, Easing, StyleSheet, PanResponder, NativeModules, findNodeHandle, Dimensions, TouchableWithoutFeedback } from 'react-native'; import Animation...
if (js.podcast_load_headers == undefined) js.global.load("podcast_routines.js"); var opts = load({}, "modopts.js", "Podcast"); var base; var i; var out; var hdrs; var img_title; var img_link; var item; var m; var item_info; function encode_xml(str) { if (str==undefined) return ''; str = str.toString(); str=str....
var express = require('express'); var router = express.Router(); var restError = require('../lib/rest-error'); var async = require('async'); var util = require('util'); // Holds the calendar dates var calendar; var numEvents = 0; // Setup the FS sdk client before handling any requests on this router. router.use(requir...
import React from 'react'; import { VDomModel, VDomRenderer } from '@jupyterlab/apputils'; import { caretDownIcon, caretUpIcon } from '@jupyterlab/ui-components'; import '../../../style/diagnostics_listing.css'; import { DiagnosticSeverity } from '../../lsp'; import { DocumentLocator, focus_on } from '../../components/...
'use strict'; require("babel-polyfill") var bufferUtil = require('./bufferUtil') var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prot...
//game instantiation object let game = new Phaser.Game(1000, 600, Phaser.AUTO, 'arcade', { preload: preload, create: create, update: update, render: render, }); // global game variables let hero; let cursors; let gameOver = false; let heroBullets; let heroFireRate = 100; let nextFire = 0; let drones; let dro...
function Value(id, name) { this.id = id; this.name = name; } function Param(id, name, values, notes) { this.id = id; this.name = name; this.values = values; this.notes = notes; this.values.attr('id', 'param_'+id); this.values.change(async function() { console.log('Parameter ' + ...
import Utils from '../../services/Utils.js' let Charts; let App = { render: async () => { try { let text = await Utils.gettext('app'); return text; } catch(e) { console.log(e); } }, after_render: async () => { Promise.all([ import('../../services/Charts.js'), ]).then(function(modules) { C...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
$(document).ready(function(){ if($("#errorModal").length){ $("#errorModal").modal('show'); } if($("#createTicketSuccessfully").length){ $("#createTicketSuccessfully").modal('show'); } $('.sign-in-button').on("click",function(){ $("#signIn").modal('show') }); $('.sign-u...
/* * Copyright (C) 2014 SDN Hub * * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3. * You may not use this file except in compliance with this License. * You may obtain a copy of the License at * * http://www.gnu.org/licenses/gpl-3.0.txt * * Unless required by applicable law or agreed to in writin...
import React from 'react'; import ReactTooltip from 'react-tooltip'; import Gallery from 'react-photo-gallery'; import LazyLoad from 'react-lazyload'; var Scroll = require('react-scroll'); var Link = Scroll.Link; var Element = Scroll.Element; var Events = Scroll.Events; var scroll = Scroll.animateScroll; var scroll...
/* global require */ /* eslint angular/typecheck-object: "off" */ /* eslint angular/definedundefined: "off" */ const gulp = require('gulp'); const args = require('yargs').argv; var config = require('./gulp.config')(); const del = require('del'); var $ = require('gulp-load-plugins')({lazy: true}); var serveStatic=requi...
function addMadLib( id, template, fields ) { $("<div id='"+id+"'></div><div id='"+id+"_output'></div>").appendTo('body'); $('#'+id).madlib({template: template, fields: fields, change: function( event, data ) { $('#'+id+'_output').text( $('#'+id).madlib('getMadLib') ); } }); } function assertMadlib( ass...
/* Copyright (c) 2015 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 contributors may be found at http://polymer.gi...
/* * This module can be used to run a suite of smoke tests for any CLI based test case to * verify default behavior and output. Can be run a-la carte to help reduce duplication and * boilerplate when writing tests. * * There are a number of examples in the CLI package you can use as a reference. * */ import cha...
const sweetScroll = new SweetScroll(); var memberForm = new Vue({ el: "#member-add-area", data: { // flags areaSelectShowable: false, areaImageShowable: false, submitAreaShowable: false, // model memberName: "", selectedArea: "", selectedPoint: null, // data areas: [ ...
import {IngredientModel} from './IngredientModel' import {getValueInUnits} from '../../helpers/ConversionUtils' // Holds an IngredientModel and the scale information, one or both of the following: // - _scale (percentage to modify the 100g FDA data) // - _recipeQuantity & _recipeUnit (the units used to manipulate th...
#!/usr/bin/env node var config_file var index_of_file_config = process.argv.indexOf('-C') if (index_of_file_config > -1) { if (process.argv.length > index_of_file_config + 1) { config_file = process.argv[index_of_file_config + 1] } } var util = require('../util') var pjson = require('../package.json') var co...
const fs = require('fs') const path = require('path') const tapConstants = require('../tap/tapConstants') const { isDirectory, ensureDirSync } = require('../helpers') const { get, isStr, noOpObj, noPropArr } = require('@keg-hub/jsutils') /** * Warning for auto-generated files so users know not to modify it */ const a...
// Client ID and API key from the Developer Console const CLIENT_ID = '855790869281-iie5tqafurs5179pmr8s236n595o4460.apps.googleusercontent.com'; const API_KEY = '<KEY>'; // Array of API discovery doc URLs for APIs used by the quickstart const DISCOVERY_DOCS = [ "https://sheets.googleapis.com/$discovery/rest?version...
$(function () { //下拉框 JEEGEM.Dict.setSelect("selectisValid","isValid",2,"全部"); getbaseList(); //增加回车事件 $("#baseForm").keydown(function(e){ keycode = e.which || e.keyCode; if (keycode==13) { search(); } }); //新加 $('#addBtn').on('click', function(e) { //通知浏览器不要执行与事件关联的默认动作 e.preventDefault(); ...
'use strict'; var async = require('async'); var Population = require('./population'); var Edge = require('./edge'); var EdgeList = require('./edgeList'); var logger = require('./logger'); var TransitGraph = require('./graph'); var BasicTraverser = require('./graphTraverser').BasicTraverser; var utils = require('./util...
/** * Created by Administrator on 2017/1/16. */ documentWidth = window.innerWidth; documentHeight = window.innerHeight; /*获取天气信息相关*/ var SERVER_URL = "https://free-api.heweather.com/v5"; var PATH_FORECAST = "/forecast"; var PATH_NOW = "/now"; var PATH_SUGGESTION = "/suggestion"; var PATH_WEATHER = "/weather"; var PA...
// LICENSE : MIT "use strict"; var _nodeUtil = require("./util/node-util"); var _japaneseNumeralsToNumber = _interopRequireDefault(require("japanese-numerals-to-number")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function matchToReplace(text, pattern, match...
// déclaration variables globales var website = null; // modales var modal = $("#modal").html(); //et on la vide $('#modal').empty(); // Hack IE Mobile if (navigator.userAgent.match(/IEMobile\/10\.0/)) { var msViewportStyle = document.createElement('style'); msViewportStyle.appendChild( document.createTextNod...
import React from 'react'; import { Alert, AsyncStorage, BackHandler } from 'react-native'; /* NOTE: shallowCompare is a legacy add-on. Use React.memo or React.PureComponent instead. import shallowCompare from 'react-addons-shallow-compare'; */ import * as Location from 'expo-location'; import * as Permissions from 'ex...
import React, { useState } from "react"; import { View, ScrollView, Text, Share, Animated, TouchableOpacity, Dimensions, ToastAndroid, Platform, StyleSheet, } from "react-native"; import Modal from "react-native-modal"; import { MaterialIcons, Ionicons } from "@expo/vector-icons"; import Clipboa...
import React, {PureComponent, Fragment} from 'react'; import {connect} from 'dva'; import { Row, Col, Card, Form, Button, Modal, Table, notification, Icon, message } from 'antd'; import PageHeaderWrapper from '@/components/PageHeaderWrapper'; import moment from 'moment' import styles from './compan...
var symbols_array = []; var socket; var socket_array = []; var api_socket; var port; var is_socket = false; var is_api_socket = false; var is_error = false; function getUuid() { return(Date.now().toString(36)+Math.random().toString(36).substr(2,12)).toUpperCase() } function injected_main() { console.log("Olym...
import "./style.css" import * as THREE from "three"; import { OrbitControls } from "three/examples/jsm/controls/OrbitControls" const gridCheckbox = document.querySelector("#grid"); const backgroundCheckbox = document.querySelector("#background"); const realisticCheckbox = document.querySelector("#realistic"); const sp...
var player_name = findGetParameter("name") || "player" var cursor_color = findGetParameter("color") || "white" var my_cursor_pos = {}; var cursors = []; var cards = []; var holds = []; // name -> card id // ### scene setup const width = 1600; const height = 900; var scene = new THREE.Scene(); ...
import { Length, Position } from "@unit/Length"; import { keyMap, combineKeyArray, keyEach, CSS_TO_STRING, isString } from "@core/functions/func"; import { Property } from "@items/Property"; import { StaticGradient } from "./image-resource/StaticGradient"; import { URLImageResource } from "./image-resource/URLImageReso...
/* bubbleChart creation function. Returns a function that will * instantiate a new bubble chart given a DOM element to display * it in and a dataset to visualize. * * Organization and style inspired by: * https://bost.ocks.org/mike/chart/ & http://vallandingham.me/bubble_charts_in_js.html * */ function bubbleC...
import * as TWEEN from '@tweenjs/tween.js'; import { PerspectiveCamera, Vector3 } from 'three'; import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'; import { MathUtils } from './utilities'; //The camera startup position const ORBIT_CAM_POS = new Vector3(-27, 5, 10); //The camera lookat target con...
var Immutable = require('immutable'); // Everything in the lists should be lowercase. Potential matches will also // be converted to lowercase. var lists = { // falsePositivesList should contain only the singular forms of the words, // words will be singularized before being checked against this list. falsePosi...
const ArkArchive = require('./arkArchive'); const fs = require('fs'); const GameObject = require('./gameObject'); const ArkNameCache = require("./ArkNameCache"); const EmbeddedData = require("./types/embeddedData"); const Promise = require('bluebird'); const _ = require('lodash'); const ProgressBar = require('progress'...
var grid=[]; var stat=new gameStat(); function gameStat(){ this.lbool=[]; this.trial=0; this.myWins=0; this.cpuWins=0; this.reusedMemo=0; this.curStat=[0,0,0,0,0,0,0,0,0]; this.emptyCell=[]; this.inMemo=[]; this.player1=false; this.player2=false; this.title...
import React, { Component } from 'react'; import Carousel from "./carousel"; // import { observer, inject } from 'mobx-react'; import styles from "./styles.less"; import {word} from "Utils/locale"; import locale from "./locale"; class Comp extends Component { constructor(props) { super(props); this.state = { ...
import WasabeeOp from "./operation"; import WasabeePortal from "./portal"; import ConfirmDialog from "./dialogs/confirmDialog"; import MergeDialog from "./dialogs/mergeDialog"; import WasabeeMe from "./me"; import wX from "./wX"; import { opPromise, GetWasabeeServer, locationPromise } from "./server"; import AuthDialog...
import React, { useRef, useCallback, useMemo, useEffect, useState, } from 'react'; import Button from '@custom/shared/components/Button'; import Tile from '@custom/shared/components/Tile'; import { DEFAULT_ASPECT_RATIO, MEETING_STATE_JOINED, } from '@custom/shared/constants'; import { useCallState } from ...
// @ts-check import { Far } from '@endo/far'; import { AmountMath, AssetKind } from '@agoric/ertp'; import { assertProposalShape } from '@agoric/zoe/src/contractSupport/index.js'; import { ceilMultiplyBy } from '@agoric/zoe/src/contractSupport/ratio.js'; import { makeNotifierKit } from '@agoric/notifier'; import { M, m...
const path = require('path'); const util = require('util'); const crypto = require('crypto'); let { execFile } = require('child_process'); execFile = util.promisify(execFile); const request = require('request-promise-native'); const fs = require('fs'); const fsPromises = fs.promises; const puppeteer = require('puppetee...
import OMEXML from './omeXML'; import { isInTileBounds, dimensionsFromOMEXML } from './utils'; const DTYPE_LOOKUP = { uint8: '<u1', uint16: '<u2', uint32: '<u4', float: '<f4', // TODO: we currently need to cast these dtypes to their uint counterparts. int8: '<u1', int16: '<u2', int32: '<u4' }; /** * ...
var matchIdList = []; function getLocalMatches() { return new Promise(function (resolve, reject) { console.time("Local Matches"); database.getAllEntries("matches").then(function (result) { // chrome.storage.local.get(["matches"], function(result) { if (chrome.runtime.lastError) { console.error(chrome.ru...
import { Scene } from "../scene"; import { Observable } from "../Misc/observable"; import { PointerInfo, PointerEventTypes } from "../Events/pointerEvents"; import { EngineStore } from "../Engines/engineStore"; import { HemisphericLight } from '../Lights/hemisphericLight'; import { Vector3 } from '../Maths/math.ve...
/** * rpc library from https://github.com/demchenkoe/node-amqp-rpc * * 对比源码,有修改,修改地方用add by private注释 */ var amqp = require('amqp'); var uuid = require('node-uuid').v4; var os = require('os'); var debug= require('debug')('amqp-rpc'); var queueNo = 0; function rpc(opt) { if(!opt) opt = {}; this.opt = ...
const fs = require('fs') const url = require('url') const path = require('path') const fetch = require('@zeit/fetch-retry')(require('node-fetch')) let SUPPORTED_DOMAIN = [] const getCrawlerHttpHeaderOptions = () => { var UAs = [ "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Ge...
/* eslint-disable camelcase */ const path = require('path') const os = require('os') /* eslint-disable-next-line */ const { Indexer, CellCollector } = require('@ckb-lumos/indexer') const { SIMPLE_UDT, ANYONE_CAN_PAY_TESTNET } = require('@nervosnetwork/ckb-sdk-utils/lib/systemScripts') const CKB = require('../lib').defa...
const objectTypeDear = { string: _ => _ + '', object: _ => { if (typeof _ === 'object') { return _; } else { if (_ === '') { return '' } else { return JSON.parse(_); } } }, array: _ => { if (_...
/* eslint-disable class-methods-use-this */ import { tf } from '../tf.js'; import * as bounding from './box'; import * as keypoints from './keypoints'; import * as util from './util'; const LANDMARKS_COUNT = 468; const MESH_MOUTH_INDEX = 13; const MESH_KEYPOINTS_LINE_OF_SYMMETRY_INDICES = [MESH_MOUTH_INDEX, keypoints....
import React from 'react'; import PropTypes from 'prop-types'; import ReactDOMServer from 'react-dom/server'; // react-dates needs to be initialized before using any react-dates component // https://github.com/airbnb/react-dates#initialize // NOTE: Initializing it here will initialize it also for app.test.js import 'r...
$(document).ready(function() { TaskTable.on_task_change(function(e, task, field, value) { save_task(task.attr('taskid'), field, value, 0); }); TaskTable.on_list_change(function(e) { apply_filters(); }); TaskTable.on_group_move(function(e, group, new_seq) { save_task(group.attr('groupid'), 'groupmove', new_se...
const os = require("os"); const fs = require("fs"); const path = require("path"); let path_arr = ["typescript", path.join(os.homedir(), "AppData/Roaming/npm/node_modules/typescript")]; if (fs.existsSync(os.homedir() + "/.npmrc")) { fs.readFileSync(os.homedir() + "/.npmrc", "utf8").split("\n").some(e => { if...
var myTileset; var selectedImage = null; var selectedTile = null; var isAnimating = false; var cursor = { useCursor: false, width: 128, height: 128, x: 0, y: 0 } function init() { requirejs(['scripts/isotile','scripts/isotileset'], function(isoTileNameSpace, isoTileSetNameSpace) { myTileset...
#!/usr/bin/env node /*** * Copyright 2016 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
// group_phy // joint_tail_root -> group_phy // joint_tail_L_1 -> joint_tail_root // joint_tail_L_2 -> joint_tail_L_1 // joint_tail_L_3 -> joint_tail_L_2 // joint_tail_L_4 -> joint_tail_L_3 // joint_tail_R_1 -> joint_tail_root // joint_tail_R_2 -> joint_tail_R_1 // joint_tail_R_3 -> joint_tail_R_2 // joint_tail_R_4 -> ...
'use strict'; const net = require('net'); const tls = require('tls'); const SMTPConnection = require('./smtp-connection').SMTPConnection; const tlsOptions = require('./tls-options'); const EventEmitter = require('events'); const shared = require('nodemailer/lib/shared'); const punycode = require('punycode'); const cry...
import DeveloperError from "./DeveloperError.js"; import QuadraticRealPolynomial from "./QuadraticRealPolynomial.js"; /** * Defines functions for 3rd order polynomial functions of one variable with only real coefficients. * * @namespace CubicRealPolynomial */ const CubicRealPolynomial = {}; /** * Provides the di...
import React, { createRef } from "react"; import styled from "styled-components"; import PropTypes from "prop-types"; import ResourceAPI from "api/resources"; import { BorderColor, FontColor, PlaceholderColor } from "static/Shared/commonStyles"; import { ADD_FILE_ICON_URL, FILE_ERASE_BUTTON_URL, UPLOAD_FILE_ICO...
import DeviceGraph from './devicegraph.js'; class WeatherMap extends PIXI.Application { constructor(window_width, window_height) { super(); this.ticker.autoStart = false; this.ticker.stop(); this.frameConstants = { loopCount: 0, frameNumber: 0, }; ...
/** * Sample React Native App * https://github.com/facebook/react-native */ 'use strict'; import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, } from 'react-native'; import { ViroSceneNavigator, ViroScene, ViroARScene, ViroBox, ViroMaterials, ViroNode,...
/**************************************************************************** * audiomoth.js * openacousticdevices.info * June 2017 *****************************************************************************/ 'use strict'; /*jslint bitwise: true, nomen: true*/ var fs = require('fs'); var path = requ...
import React, { useState, useEffect, useContext, useRef } from "react"; import "./LoginPage.css"; import "./GoogleButton.css"; import { Container, Typography, Button, InputAdornment, IconButton, } from "@material-ui/core"; import { Alert } from "@material-ui/lab"; import { Link, Redirect } from "react-router-dom";...
function getMembership(){ var course_name = $("input[name=filter_name]").val() == "" ? 'all' : $("input[name=filter_name]").val(); $('#tbl_membership').DataTable({ processing: true, serverSide: true, searchable:true, ajax: FRONTEND_URL + "/show_membership/all", // initC...
import React, {Component, PropTypes} from 'react'; import Actions from '../../Actions' import Store from '../../Store' var ImpulseResponse = require('./carpark_balloon_ir.wav'); import arrayToAudioBuffer from 'array-to-audiobuffer' var ADSR = require('adsr'); class Clicks extends Component { constructor(props) { s...
import './css/MyPage.css'; import styled from 'styled-components'; import React, { useEffect, useState } from 'react'; import { getUserInfo, getUserStatistics, getUserPlanner, getUserStudyRoomsHistory, getStudyRooms, } from '../../api/APIs'; import moment from 'moment'; import Progress from '../StudyPlan/Pro...
/** * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or * https://opensource.org/licenses/BSD-3-Clause */ /** * ./index.js * * This code handles will listen to refocus and handle any acti...
import * as THREE from 'three'; import createDeferredPromise from '../utils/createDeferredPromise'; import { createEmitter } from '../utils/emitter'; import Renderer from './effects/renderer'; import DRACOLoader from './lib/dracoLoader'; import GLTFLoader from './lib/gltfLoader'; // import gui from './gui'; import Terr...
"use strict"; require("core-js/modules/es.symbol"); require("core-js/modules/es.symbol.description"); require("core-js/modules/es.symbol.iterator"); require("core-js/modules/es.array.concat"); require("core-js/modules/es.array.fill"); require("core-js/modules/es.array.from"); require("core-js/modules/es.array.it...
'use strict'; const Logger = require('../../lib/logger.js'); const Telegram = require('./telegram'); const socket = require('../server/socket'); const http = require('http'); const https = require('https'); const URL = require('url').URL; const moment = require('moment'); const webpush = require('web-push'); const ...
var msgBoxImagePath = "thirdpartypackage/jqueryMsgBox/css/images/"; jQuery.msgBox = msg; function msg(g) { var e = false; var D = typeof g; var u = { content : (D == "string" ? g : "Message"), title : "Warning", type : "alert", autoClose : false, timeOut : 0, showButtons : true, buttons : [ { value ...
import React, { Component } from 'react'; import { Nav, NavbarToggler, Collapse, NavItem, Navbar, NavbarBrand, Form, FormGroup, Button, Modal, ModalHeader, ModalBody, Label, Input, Col } from 'reactstrap'; import { NavLink } from 'react-router-dom'; // import { Control, LocalForm, Errors, Form, actions } from 'react-re...
// Evolutility-UI-React :: toolbar.js // Toolbar w/ icons for CRUD, export, and charts. // https://github.com/evoluteur/evolutility-ui-react // (c) 2019 <NAME> import React from 'react' import PropTypes from 'prop-types'; import { withRouter, Link } from 'react-router-dom' import Modal from 'react-modal' import { to...
const express = require('express') const path = require('path') const app = express() const server = require('http').createServer(app) const io = require('socket.io')(server) app.use(express.static(path.join(__dirname, 'public'))) app.set('views', path.join(__dirname, 'public')) app.engine('html', require('ejs').rend...
var AUTOSET_TIMER_FLAG = true; var AUTOSET_TIMER_INTERVAL = 5; var PCS_USER_REF = null; $.urlParam = function(name){ var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); return results[1] || 0; } function PCSCHAIRclearActivePaper(closeFlag) { var sendData = { "paper_title" : "", ...
import React, { Component } from 'react'; import { Text, View, ScrollView, TouchableNativeFeedback } from 'react-native'; import { Icon } from 'react-native-elements'; import { Col, Row, Grid } from 'react-native-easy-grid'; import { withNavigation } from 'react-navigation'; import { commonStyles } from '../styl...
const POSITIONS = { 'Phuket International Airport': { location: { lat: 8.1110951, lng: 98.3064646 }, filterFlag: 3 }, 'Grand West Sands Resort & Villas Phuket': { location: { lat: 8.115958, lng: 98.3037043 }, filterFlag: 1 }, 'The Residence Resort & Spa Retreat': { location: { lat: 7.988528, lng: 98.297206 ...
import Phaser from "phaser"; import Player from "../entities/Player"; import Pridle from "./Pridle"; let music; let tItem; let techDoor; let tClueCount = 0; let techClues = document.getElementById("tech-clues"); let nameGuessTCount = 1; let guessButton = document.getElementById("subtname"); let firstnameTGuess = docum...
import Moment from 'moment'; import { DATE_FIELD_TYPES, DATE_FORMAT } from '../constants/Constants'; import { deepUnfreeze } from '../utils'; import { fieldValueToString } from '../utils/tableHelpers'; import { getFormatForDateField, getFormattedDate } from './widgetHelpers'; function formatFilterParameter(filterPara...
import S3MTile from './S3MTile.js'; import S3MLayerScheduler from './S3MLayerScheduler.js'; import S3MLayerCache from './S3MLayerCache.js'; import OperationType from './Enum/OperationType.js'; import Style3D from './Style3D.js'; function S3MTilesLayer(options) { options = Cesium.defaultValue(options, Cesium.defaul...
var cronJob = require('cron').CronJob , crawler = require('./crawler') , TwilioClient = require('twilio').RestClient , twilio , MandrillAPI = require('mailchimp').MandrillAPI , mandrill , outgoingNumber = '' , sendNotification , run , onUpdate , notificationCrons = {} , domain sendNotification = ...
module.exports = grammar({ name: 'promela', extras: $ => [ /\s/, $.comment, ], conflicts: $ => [ [$.sequence] ], rules: { program: $ => repeat($._unit), _unit: $ => choice( $.proc, $.init, $.claim, $.ltl, ...
// // Advanced example code, which has a few different purposes: // // - show the `clone()` API at work: you can have multiple parsers derived off one another. // - show the `linewrap` library at work when you ask for help via the `-h` or `--help` // command line argument: this set of args has help that's large enoug...
let reporteOptimizador = []; function PP(entrada) { let entradaSeparada = entrada.split(/\n/); let tokenVar1 = ""; let tokenVar2 = ""; let tokenEti1 = ""; let tokenEti2 = ""; let auxEntrada = ""; let salida = ""; for(let i = 0; i < entradaSeparada.length; i++) { if(entradaSepara...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import Head from "next/head"; import Image from "next/image"; import styles from "../styles/Home.module.scss"; import { gql, useQuery, useMutation } from "@apollo/client"; import client from "../apollo-client"; import { useState, useEffect, useMemo } from "react"; import { useTable, usePagination } from "react-table"; ...
import _ from 'lodash' import superAgent from 'superagent' import superAgentPromise from 'superagent-promise' import AbstractChannelIntegration from '../abstract_channel_integration' import { logger } from '../../utils' import { BadRequestError, InternalServerError, StopPipeline, ValidationError, } from '../.....
import React, {Component} from "react"; import { Container, Header, Title, Content, Button, Left, Right, Body, Footer, FooterTab, Text, Thumbnail, ListItem } from "native-base"; import {Form, Item, Input, Label} from 'native-base'; import {View, ScrollView, BackHandler, Image, F...
import * as Comm from './utils/comm.js'; import * as Mem from './utils/mem.js'; import * as Nav from './utils/nav.js'; import * as Map from './utils/map.js'; /* * Module principal de l'application * TODO : * - lister les 10 derniers parcours public * - arrière plan * - voir l'historique local des parcours */ con...
/* eslint-disable */ const fs = require("fs"); const path = require("path"); const rollup = require("rollup"); const typescript = require("rollup-plugin-typescript2"); const commonjs = require("@rollup/plugin-commonjs"); const json = require("@rollup/plugin-json"); const resolve = require("@rollup/plugin-node-resolve")...
// Copyright 2015-2018 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity 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 3 of the License, or // (at your option) any lat...
const fragmentShaderSource = ` // ------------------------------------ // GLSL code // ------------------------------------ precision lowp float; #if __VERSION__ == 300 precision highp int; #define gl_FragColor FragColor out vec4 gl_FragColor; #endif uniform vec2 u_center; // pixel coordinates uniform vec2 u_positi...