text
stringlengths
3.22k
29.5k
'use strict'; const fs = require('fs'); const path = require('path'); const assert = require('assert'); const is = require('is-type-of'); const debug = require('debug')('egg-core'); const homedir = require('node-homedir'); const FileLoader = require('./file_loader'); const ContextLoader = require('./context_loader'); ...
'use strict'; const { Builder } = require('selenium-webdriver'); // eslint-disable-line import/no-extraneous-dependencies const { BatchInfo, ConsoleLogHandler, Logger, GeneralUtils } = require('@applitools/eyes.sdk.core'); const { EyesStorybook } = require('./EyesStorybook'); const { EyesSeleniumUtils } = require('./...
// Copyright © 2019 The Things Network Foundation, The Things Industries B.V. // // 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 // // Un...
'use strict'; const consoleHelper = require('../../helpers/consoleHelper'); const Abstract = require('../../helpers/Abstract'); module.exports = class TaskWriter extends Abstract { /** * @param {Task} task * @param {ProcedureWriter} procedureWriter */ constructor(task, procedureWriter) { super([ 'addIma...
var AutoCommands = {}; function autocmd(domain, jscode) { var dp = '', po; if (typeof domain === 'object' && domain.test !== undefined) { dp = domain.toString(); po = domain; } else { dp = domain; po = new RegExp(domain); } AutoCommands[dp] = { code: jscode, regex: po }; } funct...
const Changeset = require('../../static/js/Changeset'); const exportHtml = require('./ExportHtml'); function PadDiff(pad, fromRev, toRev) { // check parameters if (!pad || !pad.id || !pad.atext || !pad.pool) { throw new Error('Invalid pad'); } const range = pad.getValidRevisionRange(fromRev, toRev); if ...
// Recount education items amount function recountEducInfoItems(numClicked) { $('.educ-info-item').length; let items = $('.educ-info-item'); let i = 1; for (let item of items) { if (i < numClicked) { i++; continue; } let info = $(item).find('.education-num'); $(info).find('span'...
'use strict'; const emberUtils = require('../utils/ember'); const types = require('../utils/types'); const decoratorUtils = require('../utils/decorators'); const propertySetterUtils = require('../utils/property-setter'); const { getImportIdentifier } = require('../utils/import'); const { DEFAULT_MACRO_CONFIGURATIONS }...
const fs = require('fs').promises; const path = require('path'); const Fuse = require('fuse.js'); const escapeUrlForMarkdown = require('../../util/escape-url-for-markdown'); const beatsFolder = path.join(__dirname, 'beats'); // Shamelessly yanked from StackOverflow: https://stackoverflow.com/a/19270021 const getRando...
import React, { useState, useReducer, useContext, useEffect, useRef, } from 'react'; import styles from './style.scss'; import { Checkbox } from 'antd'; import cx from 'classnames'; import { Tooltip, Typography } from 'antd'; import { generateBabelTypeCode } from '../../utils/babel'; const initialAstState = ...
// https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript#3855394 // https://stackoverflow.com/a/384380 export function __isELement(obj) { try { //Using W3 DOM2 (works for FF, Opera and Chrome) return obj instanceof HTMLElement; } catch(e){ //Browsers not supporti...
/* ------------------------------------------------------------------ * * 全局变量 * * ------------------------------------------------------------------*/ $task_content_inner = null; $mainiframe=null; var tabwidth=118; $loading=null; // sidebar左边bar栏 //$nav_wraper=$("#nav_wraper"); /* -----------------...
var ws; var xterm; var commandThreadStr = "thread "; var classloaderStr = "classloader "; var smStr = "sm "; var watchStr = "watch "; var scStr = "sc "; var redefineStr = "redefine "; $(function () { var url = window.location.href; var ip = getUrlParam('ip'); var port = getUrlParam('port'); if (i...
// // server.js — APNRS // today is 10/14/12, it is now 10:25 PM // created by TotenDev // see LICENSE for details. // //Modules var restify = require('restify'), assert = require('assert'), //helpers device = require('./APNDevice.js'), message = require('./APNMessage.js'), definitions = require('....
"use strict" const utility = require('./utility.js'); exports.sprayPlants = function (ctx) { let plantOrder = [ctx.plantArea]; for (let i = 0; i < ctx.plantArea; ++i) { plantOrder[i] = i; } plantOrder = utility.shuffle(plantOrder); // Simulations for (let q = 0; q < ctx.plantArea; q++) { const p...
function signUp(e) { var username = document.getElementById("username"); var email = document.getElementById("email"); var password = document.getElementById("password"); var confirmPass = document.getElementById("confirmPass"); if (document.getElementById("confirmPass").value == document.getElemen...
/* harmony default export */ var emotion_memoize_browser_esm = (memoize); var hyphenateRegex = /[A-Z]|^ms/g; var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g; var unitlessKeys = { animationIterationCount: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, boxFlex: 1, boxFle...
// Access control logic const $rdf = require('rdflib'); const SHACLValidator = require('shacl-js') const fetch = require('node-fetch') const uuid = require('uuid') const fs = require('fs') const exec = require('child_process').exec const rsa = require('rsa-pem-from-mod-exp') const ACL = $rdf.Namespace('http...
/** * @author <NAME> */ // Menu Toggle Function $(".menu-toggle").click(function(e) { e.preventDefault(); $("#wrapper").toggleClass("toggled"); // $("#editor").css("height",$(window).innerHeight()-40+"px"); }); var editor = ace.edit("editor"); editor.setTheme("ace/theme/eclipse"); editor.getSession().setMo...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _brace = _interopRequireDefault(require("brace")); var _reactAce = _interopRequireDefault(require("react-ace")); var _reactFrameComponent = _interop...
/* eslint-disable jsx-a11y/alt-text */ /* eslint-disable jsx-a11y/role-supports-aria-props */ /* eslint-disable jsx-a11y/anchor-is-valid */ /* eslint-disable eqeqeq */ /* eslint-disable react/no-direct-mutation-state */ import React, { Component } from "react"; import { Link } from "react-router-dom"; import { withRout...
'use strict'; var constants = require('../constants'); var common = require('../common'); var utils = require('../utils'); var buildPromise = utils.buildPromise; var jsonStringify = common.jsonStringify; var rsvp = common.rsvp; var _ = require('underscore'); var persisters = require('../offline/offlinePersisters'); v...
import React from "react"; import { Link } from "react-router-dom"; import { Container, Row, Col, Card, CardHeader, CardBody, FormInput, FormFeedback, FormSelect, Form, Button } from "shards-react"; import PageTitle from "../../components/common/PageTitle"; import GroupMarks ...
/** * Copyright © INOVUA TRADING. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, { Component, createRef } from 'react'; import PropTypes from 'prop-types'; import { autoBind } from '../../../packages/react-class'; impor...
var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; import { stream, asyncStream, val } from ...
/* eslint-disable camelcase */ import { filter } from 'lodash'; import { Icon } from '@iconify/react'; import { useEffect, useState } from 'react'; import plusFill from '@iconify/icons-eva/plus-fill'; // material import { Card, Table, Stack, Button, TableRow, TableBody, TableCell, Container, Typograph...
/* global -Promise */ // jshint node:true var Promise = require('bluebird'); var inquirer = require('inquirer'); var semver = require('semver'); var endpointParser = require('bower-endpoint-parser'); var bowerInfo = require('bower/lib/commands/info'); var BowerLogger = require('bower-logger'); var logger = new BowerLog...
//Practically all this code comes from https://github.com/alangrafu/radar-chart-d3 //I only made some additions and aesthetic adjustments to make the chart look better //(of course, that is only my point of view) //Such as a better placement of the titles at each line end, //adding numbers that reflect what each circul...
/** * the SrsPlayer object. * @param container the html container id. * @param width a float value specifies the width of player. * @param height a float value specifies the height of player. * @param private_object [optional] an object that used as private object, * for example, the logic chat object whic...
import { inject as service } from '@ember/service'; import { alias } from '@ember/object/computed'; import { get, set, setProperties, computed, observer } from '@ember/object'; import Component from '@ember/component'; import { next } from '@ember/runloop'; import ViewNewEdit from 'shared/mixins/view-new-edit'; impor...
#!/usr/bin/ nodejs const fs = require('fs'); const Cronr = require('cronr'); const Web3 = require('web3'); console.log('Welcome to Sniper bot!'); const projectData = { utils: { createLog: function(content) { if (createLogs) { if (fs.existsSync(logsPath)) { c...
import React, { Component } from 'react'; import { Label, Col, Button, Form,FormGroup, Input, FormFeedback } from 'reactstrap'; import { Loading } from './UI/spinner/LoadingComponent'; import ServerMessage from './ServerMessComponent'; import TimezonePicker from 'react-bootstrap-timezone-picker'; // import 'react-b...
/* "Evaluate mathematical expression" https://www.codewars.com//kata/52a78825cdfc2cfc87000005/javascript by <NAME> TODO: Code structure is too coupled. Divide similar logics into sub groups and then refactor flow. Oh also, what is going on with these variable names? */ const returnPrecedence = (operator) => { i...
/* * ChildrenData * * List all the features */ import React from 'react'; import Helmet from 'react-helmet'; import { connect } from 'react-redux'; //import AdminSearchBar from 'components/AdminSearchBar'; //import AdminFilters from 'components/AdminFilters'; import logo from 'assets/img/logo.png'; //import Results...
import get from 'lodash/get' import { send } from 'redux-electron-ipc' import { grpc } from 'workers' import createReducer from '@zap/utils/createReducer' import { estimateFeeRange } from '@zap/utils/fee' import { sha256digest } from '@zap/utils/sha256' import { decodePayReq, isPubkey, getTag, generatePreimage } from '...
const qs = require('qs'); const Websocket = require('ws'); const fetch = require('../helpers/fetch'); const logger = require('../helpers/logger'); const encode = require('../helpers/encode'); const removeQuote = require('../helpers/removeQuote'); const convertToNumbers = require('../helpers/convert-to-numbers'); const...
var listUser= []; // reporter var listSpeaker = []; $(document).ready(function(){ showUserFullName(); var roomid = GetURLParameter('roomid'); var url = "/api/room/"+parseInt(roomid); console.log("roomid: "+roomid); console.log("url: "+ url); $.ajax({ url:url, type:'get', success: function(respons...
// vendor import React, { Component, Fragment } from 'react'; import ReactMarkdown from 'react-markdown'; import SimpleMDE from 'simplemde'; import classNames from 'classnames'; import { boundMethod } from 'autobind-decorator'; // mutations import WriteLabbookReadmeMutation from 'Mutations/WriteLabbookReadmeMutation'; ...
// alert("bienvenidos a la libreria"); // SALUDO document.getElementById("bienvenido").innerHTML=`<div class="alert alert-success">${(prompt("ingresa tu nombre aqui"))} Bienvenido a LEVI</div>` console.log() const carrito=[]; const baseDatosProductos=[]; class Libro{ constructor(titulo, autor, paginas, v...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; require("core-js/modules/es6.object.keys"); require("core-js/modules/es6.string.iterator"); require("core-js/modules/es6.array.from"); require("core-js/modules/es6.regexp.to-string"); require("core-js/modules/...
const express = require('express') app = express() var url = require('url'); const port = process.env.PORT || 3000 const majorVersion = 1 const minorVersion = 2 // Use Express to publish static HTML, CSS, and JavaScript files that run in the browser. app.use(express.static(__dirname + '/static')) // Th...
'use strict'; /** * @license * Copyright SOAJS All Rights Reserved. * * Use of this source code is governed by an Apache license that can be * found in the LICENSE file at the root of this repository */ const soajs = require('soajs'); let config = require('./config.js'); config.packagejson = require("./package...
/* globals Craft, $ */ /** * SEO Redirects * * @author <NAME> * @copyright Ether Creative 2017 * @link https://ethercreative.co.uk * @package SEO * @since 2.0.0 */ import { c } from "../helpers"; const REDIRECT_TYPES = { "301": "301 (Permanent)", "302": "302 (Temporary)", }; export default cla...
var fs = require('fs'), net = require('net'), temp = require('temp'), cp = require('child_process'), util = require('util'), urlparse = require('url').parse, _ = require('underscore'), dgram = require('dgram'), qsparse ...
import React, { useEffect } from "react"; import clsx from "clsx"; import settings, { TASK_CHOICES } from "./settings"; import { useTheme, makeStyles, withStyles } from "@material-ui/core/styles"; import { useStyles } from "./css-common"; import { Switch, Route, Link } from "react-router-dom"; import { darkTheme, light...
var run = require("child_process").spawn; var cli = require("../lib/index.js"); var fs = require("fs"); var path = require("path"); var glob = require("glob"); var untildify = require('untildify'); var beautify = require("json-format"); var spinner = require("cli-spinner").Spinner; var q = require("q"); var getDefault...
import React, {Component} from 'react'; import {Months,Days,Years,Districts} from '../constants'; import FlexRow from '../components/FlexRow'; import '../static/styles.css'; import Select from '../components/Select'; import SideNav from '../components/SideNav'; // import Input from '../components/jobSeekerProfile/Inpu...
'use strict'; if (!String.prototype.trim) { String.prototype.trim = function () { return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; } if (!String.prototype.dequote) { String.prototype.dequote = function (q) { if (this.substr(0, 1) === q && this.substr((this.length-1), 1) ==...
import React from 'react'; import {connect} from 'react-redux'; import update from 'immutability-helper'; import {Button} from 'react-bootstrap'; import { selectTaskData, patternToRegex, regexSearch, getStartEndOfVisibleRows, calulateHighlightIndexes, getUpdatedRows } from './utils'; import {takeEvery} from 'redu...
"use strict"; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.ap...
/************************************************************************** * Our local battle simulations need a few adjustments (e.g. storing player's * requests, inserting logging processes) to Pokemon Showdown battle engine. * In this purpose we define child classes, like PcmPokemon or PcmBattle here, * and u...
var introPageText = "Guten Tag! I am <NAME>. My clever horse Hans would like to calculate for you!" var inputPageText = "Bitte pick your numbers so that Hans can calulate for you!" var calc1 = 1 var calc2 = 2 var calcOut //variables to hold the text value of the calc numbers var calc1Text; var calc2Text; //holds al...
/*! MIT License Copyright (c) 2018 <NAME> <<EMAIL>> 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, publi...
'use strict'; const path = require('path'); const globby = require('globby'); const ignoreByDefault = require('ignore-by-default'); const picomatch = require('picomatch'); const slash = require('slash'); const defaultIgnorePatterns = [...ignoreByDefault.directories(), '**/node_modules']; const defaultPicomatchIgnorePa...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author <NAME> @sokra */ import path from 'path'; import loaderUtils, { isUrlRequest, stringifyRequest, urlToRequest, } from 'loader-utils'; import normalizePath from 'normalize-path'; import cssesc from 'cssesc'; import modulesValues from 'pos...
import React from 'react' import './index.css' import GiftCard from '../GiftCard' import LOGO from '../../../Media/Images/Logo.png' import {countryToCode, codeToCurrency} from "../../../constants" import Debounce from '../../../Utilities/Debounce' class Payment extends React.Component{ constructor(props){ ...
function Verify() { var myDate = new Date(); var currentDate = new Date(); myDate.setFullYear(2011, 5, 20); if (typeof (kk) == "undefined") { if (currentDate > myDate) { alert("请安装ekey插件"); return false; } return confirm("请安装ekey插件"); } if (kk.obj...
const cons = require('../../../common/constants'); const fqzscons = require('../common/constants'); const Super = require('../../../room/stateManager'); const utils = require('../../../utils'); const IdleState = require('./state/idle'); const BettingState = require('./state/betting'); const OpeningState = require('./st...
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { Breadcrumb, BreadcrumbItem, Card, CardBody, CardHeader, CardTitle, Checkbox, Drawer, DrawerContent, DrawerContentBody, DrawerPanelBody, DrawerPanelContent, DrawerSection, Flex, FlexItem, Label, LabelGroup, List, ListItem, Page, PageSection, Search...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _vue = require("vue"); var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2")); var...
import React, { useState, useEffect } from "react"; import { getStartTimeISOs, getEndTimeISOs, urlIsValid, getReadableTimeFromISO, getEventLengthFromISOs, eventFormErrorDescriptions, } from "../../eventUtils"; import { useQuery } from "@apollo/client"; import { Form as BootstrapForm } from "react-bootstrap"...
/* --- Day 17: Trick Shot --- You finally decode the Elves' message. HI, the message says. You continue searching for the sleigh keys. Ahead of you is what appears to be a large ocean trench. Could the keys have fallen into it? You'd better send a probe to investigate. The probe launcher on your submarine can fire th...
/********* * * * Gimme Jokes, a simple Slack joking bot v1.34 * (actually a Reddit shameless plagiary). * * Posts a random joke from Reddit's /r/cleanjokes (sorted by "hot") * Filters out NSFW & 18+ jokes! (per Slack requirements) * See full description and instructions at * https://github.com/anastasius...
//change chart behavior at this size var MOBILE_THRESHOLD = 600; //configure in each graph call var FORMATTER, $LINEDIV, YEARVAL, GROUPS, NUMTICKS, COLORS, MOBILE_TICKS, linechart_aspect_height, linechart_aspect_height_mobile, LABELS; //globals var linechart_data_url = "data/linerat...
/** * Copyright 2015 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
import '../styles/Chat.css'; import React from 'react' import TextField from '@mui/material/TextField'; import InputAdornment from '@mui/material/InputAdornment'; import IconButton from "@material-ui/core/IconButton"; import SendIcon from '@material-ui/icons/SendRounded'; // import AttIcon from '@material-ui/icons/Atta...
const test = require('tape') const leveldown = require('../') const abstract = require('abstract-leveldown/abstract/iterator-test') const make = require('./make') const iota = require('iota-array') const lexi = require('lexicographic-integer') const util = require('util') abstract.all(leveldown, test) make('iterator ...
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { PropTypes }...
/* * The MIT License (MIT) * * Copyright (c) 2015 - present Instructure, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ri...
'use strict'; var assign = require('min-dash').assign, flatten = require('min-dash').flatten, filter = require('min-dash').filter, findIndex = require('min-dash').findIndex, forEach = require('min-dash').forEach; var domClasses = require('min-dom').classes, domEvent = require('min-dom').event, ...
import React from "react"; import userConnector from "../../connectors/user"; import ButtonWithLoadingIcon from "../snew/ButtonWithLoadingIcon"; import { EDIT_USER_CLEAR_USER_PAYWALL, EDIT_USER_EXPIRE_NEW_USER_VERIFICATION, EDIT_USER_EXPIRE_UPDATE_KEY_VERIFICATION, EDIT_USER_EXPIRE_RESET_PASSWORD_VERIFICATION, ...
"use strict"; const Q = require('q'), S = require('string'), validator = require('validator'), UserConsent = require('./userConsent'), AuthorizationCode = require('./authorizationCode'), AuthenticationResponse = require('./authenticationResponse'), AuthenticationError = require('./authenticatio...
"use strict"; function testBoxDim(width, height, top, right, bottom, left) { return {width: width, height: height, innerWidth: width - (left + right), innerHeight: height - (top + bottom), top: top, right: right, bottom: bottom, left: left, cx: (width - (left + right)) / 2 + left, cy: (h...
/** * Draw WebGL */ /* global WebGLUtils, Matrix4 */ /** ------------------------------------------------------------------- * Create an object for the control panel. */ function ControlPanel(mvp) { this.mvp = mvp; this.elEyeX = document.getElementById("eyeX"); this.elEyeY = document.getElementById(...
import React, { useState } from 'react'; import Avatar from './Avatar'; import Assignee from './Assignee'; import Labels from './Labels'; import Moment from 'react-moment'; import PropTypes from 'prop-types'; import ReactMde from 'react-mde'; import * as Showdown from 'showdown'; import 'react-mde/lib/styles/css/react-...
var kind = require('enyo/kind'), i18n = require('enyo/i18n'), updateLocale = i18n.updateLocale; var Locale = require('enyo-ilib/Locale'); var FittableColumns = require('layout/FittableColumns'), FittableRows = require('layout/FittableRows'); var DateFmt = require('enyo-ilib/DateFmt'); var BodyText = require...
const poles = []; const zeros = []; const CircleNumbersX = []; const CircleNumbersY = []; const PolesX = []; const PolesY = []; const TheX_Axis = []; let Distances = []; let phases = []; const Distances2 = []; const phases2 = []; let Distances3 = []; let phases3 = []; const MuliOfDistances = new Arra...
var ins=''; var p1_tickets=''; var p1; var p2; var p3; var p4; var days; var category_label; var category_count; $(document).ready(function(){ jQuery.ajax({ method: "GET", url: "/tickets", success: function( tickets ) { //console.log(instances[0].Instances[0].InstanceId); p1_t...
import React, {PureComponent} from 'react'; import {connect} from 'dva'; import moment from 'moment'; import {CopyToClipboard} from 'react-copy-to-clipboard'; import { Button, Badge, Select, Tabs, Card, Radio, message, Alert, Modal, } from 'antd'; import Component from '../../../utils/rs/Component'; i...
import Stats from 'stats.js' import dat from 'dat.gui' import $ from 'jquery' import * as loadModel from "./net/iFitNet/src/loadModel" import {drawKeypointsWithMask, drawSkeletonWithMask, loadCanvas} from "./utils/canvas"; import {andMask, getConfidenceMask, getDeactivateMask, isBelongMask} from "./utils/confidenc...
import React, { Component } from 'react'; import { View, Image, Text, ScrollView, StyleSheet, TouchableOpacity, TextInput, Alert, FlatList } from 'react-native'; import { Button } from 'native-base' import Icon from 'react-native-vector-icons/MaterialIcons' import Icon2 from 'react-native-vector-icons/MaterialCommunity...
const { Client, Collection, Discord } = require("discord.js"); require("discord-reply") const client = (global.client = new Client({ fetchAllMembers: true })); require('discord-buttons')(client) const settings = require("./src/configs/settings.json"); const conf = require("./src/configs/sunucuayar.json"); const { Mute2...
import { Avatar, Col, Divider, Input, Pagination, Row, Tabs, Typography } from "antd"; import axios from "axios"; import React, { useEffect } from "react"; import { Link, Redirect } from "react-router-dom"; import { ApartmentOutlined, UserOutlined } from "@ant-design/icons"; function SearchResult(props) { // S...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var createMemo_1 = require("./createMemo"); exports.createMemo = createMemo_1.default; var createReducerContext_1 = require("./createReducerContext"); exports.createReducerContext = createReducerContext_1.default; var createReducer_1 = require...
/* * The MIT License (MIT) * * Copyright (c) 2016-2017 Dan "Ducky" Little * * 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...
var gl; var shaderProgram; var mvMatrix = mat4.create(); var mvMatrixStack = []; var pMatrix = mat4.create(); var neheTexture; var triangle; var square; function Shape(vertices, textureCoords, indexes) { this.points = vertices.length / 3; this.vertices = gl.createBuffer(); gl.bindBuffer(gl.ARRAY_BUFFER, this.v...
var spawn = require('child_process').spawn; var exec = require('child_process').exec; var path = require('path'); var os = require('os'); var _ = require('lodash'); const ADB_CMD = 'adb'; function filePathOnDevice(absFile) { // return path.posix.join(DEVICE_DIR, path.relative(__dirname, absFile).replace(/\\/g, '/'...
/* MIT License Copyright (c) 2018 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
var escodegen = require('escodegen'); var astTypes = require('ast-types'); var n = astTypes.namedTypes; var b = astTypes.builders; var parser = require('./parser'); var pratt = require('./pratt'); var ast = require('./ast'); var options = {}; function setOptions (userOptions) { options.wrapWithFunction = userOptio...
/* eslint-disable no-unreachable */ /* eslint-disable no-param-reassign */ /* eslint-disable indent */ /* eslint-disable max-len */ const path = require('path'); const fs = require('fs').promises; const { readFileSync } = require('fs'); const cheerio = require('cheerio'); const prettier = require('prettier-eslint'); co...
const RequestShortener = require('webpack/lib/RequestShortener'); const requestShortener = new RequestShortener(process.cwd()); /** * Extract errors / warnings from stats compilation * @param {Object} compilation - webpack compilation object * @param {string} [type='errors'] - 'errors' or 'warnings' */ function e...
/* <copyright> Copyright (c) 2012, Motorola Mobility LLC. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
/** * @licstart The following is the entire license notice for the * Javascript code in this page * * Copyright 2020 Mozilla Foundation * * 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...
var pages = pages || {}; pages.usuario = pages.usuario || {}; pages.usuario.model = function () { var vmUsuario = function (usuario) { var self = this; self.usuarioId = ko.observable(); self.nome = ko.observable(); self.email = ko.observable(); self.senha = ko.observable()...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ArcEdge = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descript...
// 順番、大事 const ssIdList = [ // スプレッドシートが格納されているフォルダ // https://drive.google.com/drive/folders/10usx9Vi9ZLJeLR8zybSbnuV835zqGqky // -- "1GXpdCMm5G8sgu3rNMvMqTBAn-s96g9MvUzDB8FBaOnQ", // 0, 10までの足し算 "19dqrMTa38sd1caYH2-gCPDDQ4JRdqtggWc_YUrt_j4c", // 1, 20までの足し算(10といくつ) ...
import React from 'react' import PropTypes from 'prop-types' import { routerRedux } from 'dva/router' import { connect } from 'dva' import moment from 'moment' import { Row, Col, Input, Form, Icon, Button, Modal, Tabs, message } from 'antd' import styles from './index.less' import { SortableContainer, SortableElement, ...
/* See license.txt for terms of usage */ "use strict"; const { Cc, Ci, Cu } = require("chrome"); const Events = require("sdk/system/events.js"); const { getTabForContentWindow, getBrowserForTab } = require("sdk/tabs/utils"); const base64 = require("sdk/base64"); const WindowUtils = require("sdk/window/utils"); con...
/** * This is an example of a basic node.js script that performs * the Authorization Code oAuth2 flow to authenticate against * the Spotify Accounts. * * For more information, read * https://developer.spotify.com/web-api/authorization-guide/#authorization_code_flow */ var express = require('express'); // Expres...
import path from 'path'; import _ from 'lodash'; import logger from './logger'; import { fs, mkdirp } from 'appium-support'; import { SubProcess, exec } from 'teen_process'; import events from 'events'; const { EventEmitter } = events; const START_TIMEOUT = 10000; const DEVICE_CONSOLE_PATH = path.resolve(__dirname, '....