text stringlengths 2 1.04M |
|---|
/*! JSON Editor v0.7.23 - JSON Schema -> HTML Editor
* By Jeremy Dorn - https://github.com/jdorn/json-editor/
* Released under the MIT license
*
* Date: 2015-09-27
*/ |
// при получении запроса от клиента, запрос передается в конвеер обработки запросов.
// Конвеер обработки состоит из компонентов, которые в терминологии express называются Middleware
var express = require('express');
var app = express();
// для регистрации middleware используется функция use, all, app.METHOD()
//... |
/**
* ----------------------------------------------------------------------------------------------------
* List Followers of the Authenticated User [Run]
*
* @description - List followers of the authenticated user using the Github API
*
* @author Buildable Technologies Inc.
* @access open
* @license M... |
/*! jQuery Validation Plugin - v1.19.0 - 11/28/2018
* https://jqueryvalidation.org/
* Copyright (c) 2018 Jörn Zaefferer; Licensed MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery... |
/* eslint-disable camelcase */
/* This is used for testing. If a translations.json file doesn't match the
* structure here exactly, the tests will fail.
*/
const translationsSchema = {
meta: {
title: 'Learn to Code — For Free — Coding Courses for Busy People',
description: 'Learn to Code — For Free',
's... |
const { Task } = require('klasa');
const { MessageEmbed } = require('discord.js');
module.exports = class extends Task {
async run({ guildID, channelID, userID, dmBool, reminderMsg, timestamp }) {
const guild = this.client.guilds.cache.get(guildID);
const channel = guild ? await guild.channels.cache.get(channelI... |
/*! angularjs-slider - v7.0.0 - (c) Rafal Zajac <rzajac@gmail.com>, Valentin Hervieu <valentin@hervi.eu>, Jussi Saarivirta <jusasi@gmail.com>, Angelin Sirbu <angelin.sirbu@gmail.com> - https://github.com/angular-slider/angularjs-slider - 2019-12-15 */ |
$("#timeline-message").html(loadingHTML);
$.get(
{
url: window.location.origin + window.location.pathname + "json/" + "timeline" + window.location.search,
success: function (data) {
renderTimelinePage(data);
$("#timeline-message").hide();
}
})
function renderTimelinePage(data)
{
var dat... |
function start() {
var AirbrakeClient = require('airbrake-js');
var airbrake = new AirbrakeClient({
projectId: 1,
projectKey: 'FIXME'
});
try {
throw new Error('hello from Browserify');
} catch (err) {
airbrake.notify(err).then(function(notice) {
if (notice.id) {
console.log('n... |
export default {
isServer: typeof window === 'undefined'
} |
(self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Admin_Applications_CreateAdminFreePayment_vue"],{
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Form/BaseErrorMessage.vue?vue&type=script&la... |
/**
* array-slice <https://github.com/jonschlinkert/array-slice>
*/
function slice(arr, start, end) {
let len = arr.length;
let range = [];
start = idx(len, start);
end = idx(len, end, len);
while (start < end) {
range.push(arr[start++]);
}
return range;
}
function idx(len, pos, end) {
if (... |
/*!
* custom.js - custom inspect for bthreads
* Copyright (c) 2019, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bthreads
*/
'use strict';
exports.custom = 'inspect'; |
Object.defineProperty(window, 'matchMedia', {
writable: true,
value: jest.fn().mockImplementation(media => ({
matches: false,
media,
onchange: null,
addListener: jest.fn(), // deprecated
removeListener: jest.fn(), // deprecated
addEventListener: jest.fn(),
removeEventListener: jest.fn(),... |
import React from 'react'
import { Link } from 'gatsby'
const PostThumbnail = ({ header }) => {
return (
<header className="post__header">
<Link to={`${header.slug}`}>
<h2 className="post__title">{header.title}</h2>
</Link>
<ul className="post__meta meta">
<li className="meta__i... |
// d2be738770db
const Promise = require('bluebird');
const noble = require('noble');
let once = false;
class BeaconScanner {
constructor(filter = []) {
this._filter = filter;
this.onSignal = () => {
};
this._is_scanning = false;
noble.startScanningAsync = Promise.promisify(noble.startScanning);... |
var fs = require('fs');
var PhantomJSBrowser = function(baseBrowserDecorator) {
baseBrowserDecorator(this);
this._start = function(url) {
// create the js file, that will open karma
var captureFile = this._tempDir + '/capture.js';
var captureCode = '(new WebPage()).open("' + url + '");';
fs.write... |
import React from 'react';
import { Mutation } from 'react-apollo';
import gql from 'graphql-tag';
import { GET_LAUNCH_DETAILS } from '../pages/launch';
import Button from '../components/button';
const CANCEL_TRIP = gql`
mutation cancel($launchId: ID!) {
cancelTrip(launchId: $launchId) {
success
mes... |
import "leaflet/dist/leaflet.css";
import "./css/style.css";
import 'leaflet.sync';
import 'leaflet-center-cross';
import 'leaflet-hash';
import './js/script.js'; |
let weather = require("weather-js")
function UserSearch(userName, userLoc) {
this.userName = userName
this.userLoc = userLoc
}
UserSearch.prototype.getWeather = function() {
weather.find({search: this.userLoc, degreeType: 'F'},
function(err, result) {
if(err) console.log(err);
... |
/**
* @fileoverview 实现Books数据模型
* @author yangshuai@shunshunliuxue.com
*
*/
import SafeRequest from '../utils/SafeRequest';
class Books {
/**
* Books类 获取后台图书信息的数据类
* @class
*/
/**
* @constructor
* @param {object} app Koa2执行的上下文
*/
constructor(app) {
this.app = ap... |
(function (lwc) {
'use strict';
function stylesheet(hostSelector, shadowSelector, nativeShadow) {
return ["\n", (nativeShadow ? (":host {color: var(--lwc-my-color);}") : [hostSelector, " {color: var(--lwc-my-color);}"].join('')), "\n"].join('');
}
var _implicitStylesheets = [stylesheet];
function tmpl($... |
// Euler's constant.
science.EULER = 0.5772156649015329; |
var webpack = require('webpack');
var htmlWebpackPlugin = require('html-webpack-plugin');
var autoprefixer = require('autoprefixer');
module.exports = {
devtool: 'eval-source-map',
entry: __dirname + "/src/main.js",
output: {
path: __dirname + "/build",
filename: "bundle.js"
},
module: {
loader... |
import Vue from 'vue'
import wrap from '@vue/web-component-wrapper'
import myButton from './components/myButton';
const CustomElement = wrap(Vue, myButton)
window.customElements.define('el-button', CustomElement) |
import React from 'react'
import { graphql, useStaticQuery } from 'gatsby'
import styles from './News.module.scss'
const BlogPage = (props) => {
const data = useStaticQuery(graphql`
query {
allMarkdownRemark (
filter: {fileAbsolutePath: {regex: "/(moon_talk)/.*\\\\.md$/"}},
... |
import styled from 'styled-components';
export default styled.option``; |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.9/esri/copyright.txt for details.
//>>built
define(["../request","../core/lang","../geometry/support/normalizeUtils","./Task","./support/IdentifyResult"],function(e,c,f,g,h){return g.createSubclass({declaredC... |
"use strict";
/**
* @module Intacct/SDK/Xml
*/
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Copyright 2018 Sage Intacct, Inc.
*
* 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 t... |
import { createGlobalStyle } from 'styled-components';
import theme from './theme';
import mixins from './mixins';
const GlobalStyle = createGlobalStyle`
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');
* {
box-sizing: border-box;
scroll-behavior: smooth;
... |
angular.module('bookingz.constants', [])
.constant('APP_VERSION', '0.0.15')
.constant('API_URL_STAGING', 'https://bookingz.herokuapp.com')
.constant('API_URL', 'https://bookingz.craftacademylabs.com')
.constant('API_URL_DEVELOP', 'http://localhost:3000')
.constant('WS_URL_STAGING', 'wss://bookingz.herokuapp.c... |
/* @flow */
import config from '../config'
import Dep from '../observer/dep'
import Watcher from '../observer/watcher'
import {
set,
del,
observe,
observerState,
defineReactive
} from '../observer/index'
import {
warn,
bind,
noop,
hasOwn,
isReserved,
handleError,
validateProp,
isPlainObject... |
macDetailCallback("745bc5600000/28",[{"d":"2018-12-11","t":"add","s":"ieee-mam.csv","a":"Fourways Golf Park,Selbourne Building,Roos St Witkoppen Gauteng ZA 5214","c":"ZA","o":"Yekani Manufacturing PTY Ltd"}]); |
export const signos = ['Leão', 'Virgem', 'Gêmeos', 'Capricórnio', 'Escorpião', 'Câncer', 'Áries', 'Sagitário', 'Touro', 'Libra', 'Peixes', 'Aquário'];
export const generos = {
feminino: "Feminino",
masculino: "Masculino",
transgenero: "Transgênero"
};
export const cadastro = {
adicionar: function (... |
"use strict";
const rule = require("..");
const { messages, ruleName } = rule;
testRule(rule, {
ruleName,
config: ["always"],
skipBasicChecks: true,
accept: [
{
code: '@charset\n"UTF-8";'
},
{
code: '@charset\r\n"UTF-8";'
},
{
code: '@import\n"x.css";'
},
{
... |
import isEmpty from "lodash.isempty"
import isNil from "lodash.isnil"
export const isAllowedSubdomain = (subdomain = "www", subdomains = {}) => {
return Object.values(subdomains).includes(subdomain)
}
export const getSubdomain = (
url = "",
subdomains = {},
defaultSub = "rentspree"
) => {
if (isNil(url) || ... |
import React from "react"
import { useStaticQuery, graphql } from "gatsby"
import Img from "gatsby-image"
const OT11 = () => {
const data = useStaticQuery(graphql`
query {
placeholderImage: file(relativePath: { eq: "olivia-tj/ot11.png" }) {
childImageSharp {
fluid(maxWidth: 700) {
... |
/*eslint-env browser */
/*eslint-disable no-console */
/*jslint devel: true*/
/*global chrome, Utils */
(function () {
'use strict';
function loadIcons() {
Utils.JSON.parseFromURL(chrome.extension.getURL("/icons.json"), function (icons) {
var container = document.getElementById("icons"... |
/*
* Licensed to Wikifeat under one or more contributor license agreements.
* See the LICENSE.txt file distributed with this work for additional information
* regarding copyright ownership.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import * as TIMEOUTS from '../../fixtures/timeouts';
export function downloadAttachmentAndVerifyItsProperties(fileURL, filename, httpContext) {
// * Verify it has not empty download link
cy.request(... |
function frankenSplice(arr_1, arr_2, n) {
// Step 1: Store first half of spliced arr_2 in a new var.
const first_slice = arr_2.slice(0, n);
console.log({ first_slice });
// Step 2: Store second half of spliced arr_2 in another var.
const second_slice = arr_2.slice(n, arr_2.length);
console.log(... |
/* global suite, test */
import Stats from '../../src/stats/Stats';
import * as assert from 'assert';
suite('Stats', function() {
function testMutation(name, setter, getter, value) {
test(`Mutating ${name} should fire 'change'`, function() {
const s = new Stats();
let events = 0;
... |
var _ = require('underscore');
var config = require('../../config');
var idValidation = require('../util/middleware').idValidation;
var HttpError = require('../util/middleware').HttpError;
var user = require('../database/user');
var gcm = require('node-gcm');
// init sender
var sender;
if(config.GCM_SERVER_API_KEY &&... |
module.exports.apiFetch = async function (url, options) {
const a = module.exports.getCookie("auth");
const csrf = module.exports.getCookie("CSRF-Token");
options = options || {};
options.credentials = "include";
options.headers = options.headers || {};
options.headers.Authorization = `Bearer ${a}`;
options.hea... |
module.exports = function qux() {
return "this is the qux function in bar.js";
} |
(function(module) {
module.config(function ($stateProvider) {
$stateProvider.state('about', {
url: '/about',
views: {
"main": {
controller: 'AboutController as model',
templateUrl: 'about/about.tpl.html'
}
... |
import React from "react";
import "./ProfileHeaderDescriptionNameAndSername.css";
export const ProfileHeaderNameAndSername = (props) => {
return (
<div className={"profile__header__description__nameAndSername"}>
<h1>
{props.user === null
? null
: `${props.user.Name} ${props.user... |
"use strict";
exports.__esModule = true;
var frequentlyAskedModel = /** @class */ (function () {
function frequentlyAskedModel() {
}
frequentlyAskedModel.dataServe = function () {
return [
{
id: 1,
question: "What is the first requirement?",
... |
const axios = require(`axios`)
exports.sourceNodes = async ({
actions,
createNodeId,
createContentDigest,
}) => {
const { createNode } = actions
const result = await axios.get(
`https://dev.to/api/articles?username=gixxerblade`,
{}
)
result.data.forEach(post => {
// Destructure id field and ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M13 3c-4.97 0-9 4.03-9 9H1l4 3.99L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21... |
import React, { useMemo, useCallback } from 'react'
import PropTypes from 'prop-types'
import { FormattedMessage, defineMessages } from 'react-intl'
import { Flex, Text, Container, theme } from 'ooni-components'
import styled from 'styled-components'
import { useTable, useSortBy } from 'react-table'
import { Cross, Tic... |
'use strict';
const sqlite3 = require('sqlite3');
const bodyParser = require('body-parser');
const path = require('path');
const fs = require('fs');
const session = require('client-sessions');
const https = require('https');
const layouts = require('express-ejs-layouts');
const dblogic = require('./models/dblogic');
c... |
import hasEasing from '../src';
describe('hasEasing', () => {
it('returns true with "ease"', () => {
expect(hasEasing('ease')).toBe(true);
});
it('returns false empty input without strict mode', () => {
expect(hasEasing()).toBe(false);
});
it('returns false with "a"', () => {
expect(hasEasing('... |
require('dotenv').config();
const router = require('express').Router();
const bodyParser = require('body-parser');
const cors = require('cors');
const { Configuration, PlaidApi, PlaidEnvironments } = require('plaid');
// const plaid =require('plaid');
const moment = require('moment');
router.use(cors());
router.use(bod... |
require('jsdom-global')();
import { shallowMount } from '@vue/test-utils';
import ForecastDetail from '../../frontend/ForecastDetail.vue';
import assert from 'assert';
import expect from 'expect';
import sampleResponse from './sample-response.json';
describe('ForecastDetail', function () {
/**
* @LWR 2.d. Th... |
require("dotenv").config()
const config = require("./config/site")
module.exports = {
siteMetadata: {
siteUrl: config.siteUrl,
title: config.title,
description: config.description,
author: config.author,
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: "gatsby-source-graphql"... |
// Generated on 2015-11-17 using generator-angular 0.14.0
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// Time how long task... |
/**
* @copyright
* The MIT License (MIT)
*
* Copyright (c) 2014 Cosmic Dynamo LLC
*
* 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 limitatio... |
// @generated
/**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @f... |
(function() {
function Message($firebaseArray, Room) {
var Message = {};
var ref = firebase.database().ref().child("messages");
var messages = $firebaseArray(ref);
// newmessage = messages;
Message.current = messages;
Message.current = null;
// assigns the $firebaseArray to the Message o... |
/* eslint-disable react-hooks/exhaustive-deps */
import React, { useEffect } from 'react';
import { connect } from 'react-redux';
import cookie from 'react-cookies';
import { HashLink as Link2 } from 'react-router-hash-link';
import Header from './components/header/header.js';
import Footer from './components/footer/f... |
const PER_PAGE = 10
function paginate (items, currentPage) {
const page = parseInt(currentPage, 10) || 1
const offset = page === 1 ? 0 : (page - 1) * PER_PAGE
const tempItems = [].concat(items)
const paginatedItems = tempItems.slice(offset).slice(0, PER_PAGE)
const totalPages = Math.ceil(items.length / PER... |
c['4483']=[['4484',"Denominator Field","topic_000000000000112C.html",0],['4485',"Numerator Field","topic_000000000000112B.html",0]]; |
import coreUtils from "@opentripplanner/core-utils";
import React from "react";
import PropTypes from "prop-types";
import ModeButton from "../ModeButton";
import * as Styled from "../styled";
/**
* SubmodeSelector is the control container where the OTP user selects
* the submodes (e.g. train, bus) for transit, or ... |
import BasePlayer from '../tcrp/Player.js';
import ArcadeStepClock from '../../../time/clock/ArcadeStepClock';
class Player extends BasePlayer {
constructor(parent, config) {
if (config === undefined) {
config = {};
}
config.clock = new ArcadeStepClock(parent);
config.ti... |
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import logger from 'redux-logger'
import { routerReducer } from 'react-router-redux';
import Reducer from '../reducers';
const middleware = [thunk];
if (__DEV__) {
const { logger } = require(`redux-logger`);
middleware.push(... |
import React from "react"
import TextField from '@material-ui/core/TextField';
//import { makeStyles } from '@material-ui/core/styles';
const Email = () => {
return (
<TextField
id="outlined-helperText"
label="Email"
variant="outlined"
>
</TextField>
)
}
... |
"use strict";
var _ = require(".");
// Copyright 2017-2020 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
describe('filterArray', () => {
it('filters arrays, removing undefined', () => {
expect((0, _.arrayFilter)([0, '', null, false, undefined, NaN])).toEqual([0, '', null, false, N... |
// @flow
import type { Observable } from "rxjs";
// meta object are accumulated over steps
export type Step = {
Body: React$ComponentType<{ deviceName: string, onDone: () => void }>,
ErrorFooter?: React$ComponentType<{ onRetry: () => void }>,
run: (
deviceId: string,
meta: Object,
onDoneO: Observabl... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Expression_1 = require("./Expression");
exports.BinaryExpressionBase = Expression_1.Expression;
class BinaryExpression extends exports.BinaryExpressionBase {
/**
* Gets the left side of the binary expression.
*/
getLeft... |
import './price_page.scss'; |
import {registerMetaEventHandler, registerEventHandler} from "../shared/remote_pipe.js";
import {onStart} from "./init.js";
import {defer, saveResolve} from "../shared/utils.js";
export class KeyCodes {
static KEY_ESC = "(EV_KEY), code 1 (KEY_ESC)";
/*function keys*/
static KEY_F1 = "(EV_KEY), code 59 (KE... |
import * as Three from 'three';
import React from 'react';
var RADIUS = 15;
var HEIGHT = 60;
//colors
var black = new Three.MeshLambertMaterial({ color: 0x000000 });
var red = new Three.MeshLambertMaterial({ color: 0xff0000 });
var grey = new Three.MeshLambertMaterial({ color: 0xCCCCCC });
var yellow = new Three.Mesh... |
import angular from 'angular';
let productsServiceModule = angular.module('about.productsService', [])
.factory('ProductsService', ProductsService)
.name;
// api is at http://wta-inventorybackend.herokuapp.com/api/v1/product
function ProductsService($http) {
const service = {
fetchProducts: () => {
return $ht... |
import React from 'react';
import ReactDOM from 'react-dom';
import { EmailInput } from '.';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<EmailInput />, div);
ReactDOM.unmountComponentAtNode(div);
}); |
const provider = {
type: "provider",
name: "my-provider",
version: "0.1.0",
hosts: true,
disableIdParam: true,
Model: require("./model")
};
module.exports = provider; |
'use strict'
var fs = require('fs')
var Path = require('path')
var Log = require(Path.join(__workingDir, 'worker/log.js'))
var LogWorker = new Log({
module: 'FileTransfert'
})
/**
* File transfert server.
* @constructor
* @param {object} req - http req object.
* @param {object} res - http res object.
* @param ... |
import hljs from 'highlight.js';
export default function chunkIt(arr) {
if (arr.length) {
const headArr = arr.shift();
headArr.forEach(function (el) {
hljs.highlightBlock(el);
});
setTimeout(() => chunkIt(arr), 1000);
}
} |
const path = require("path");
const Perf = require("../src/perf.js");
const dsl = require("./dsl/simple-typing").dsl;
const { actions } = require("./actions");
const { delay, makeid } = require("../src/utils/utils");
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
const SEL = {
category: "div[label=Uncategorized]",... |
export { default } from '@mui/core/Portal'; |
import { Box, Text, Link, Grid } from 'theme-ui'
import { default as NextLink } from 'next/link'
import { useToken } from '../lib/token'
import { useAuth } from '../lib/auth'
const Layout = ({ children, status }) => {
const [ , setToken ] = useToken()
const { authed, username } = useAuth()
const user = authed ?... |
import React, { Component } from 'react'
/* https://www.npmjs.com/package/prop-types */
import PropTypes from 'prop-types'
/* Button component
prop: buttonValue is required
*/
class Button extends Component {
render () {
return (
<React.Fragment>
<button
... |
/*
* Copyright (c) 2020 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-01-25
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =... |
/* *******************************************************************************************
* *
* Plese read the following tutorial before implementing tasks: *
* https://developer.mozilla.org/en... |
import React from 'react';
import { Router, Route, Switch } from 'dva/router';
import IndexPage from './routes/IndexPage';
import LoginPage from './routes/LoginPage.js';
import RegisterPage from './routes/RegisterPage.js';
import UserCenter from './routes/UserCenter.js';
import AboutPage from './routes/AboutPage.js';
i... |
//--Contest Submit
App.Contest = function (){
/*var video_duration_limit = 60;
var media_type = 'video';
var media_images = '';
var image_upload_error = '';
var init = function(){
//new upload
//dropzone
$(document).ready(function(){
Dropzone.forElement(".dropzone").option... |
/**
* fileOverview:
* Project:
* File: Conf
* Date:
* Author:
*/
// import SoundData from './Data/Sound.js';
export default class Conf {
constructor() {
// ------------------------------------------------------------
// 本番フラグ
// ------------------------------------------------------------
... |
const Discord = require("discord.js");
const { getReadableTime } = require("quick-ms");
// eslint-disable-next-line no-unused-vars
exports.execute = async (client, message, args) => {
let fullname = args.join(" ").replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
let info;
if(args[0]) {
info = args[0].match(/... |
import { helper } from '@ember/component/helper';
/**
* Executes `Math.log10` on the number passed to the helper.
*
* ```hbs
* {{log10 a}}
* ```
*
* @param {number} number The number to pass to `Math.log10`
* @return {number} The log10 of the passed number
*/
export function log10([number]) {
return Math.lo... |
"use strict";
const { Given, When, Then } = require('@cucumber/cucumber')
const assert = require('assert');
const asherah = require("asherah");
const fs = require("fs");
const fileDirectory = "/tmp/";
const fileName = "node_encrypted";
let payloadString;
let encryptedPayloadString;
var adoDatabaseHost = process.env... |
webpackJsonp([20],{"9ufU":function(module,exports,e){var n=e("VU/8")(null,e("D/KA"),null,null,null);n.options.__file="C:\\Users\\HP\\Desktop\\vue-easytable\\examples\\doc\\intro.md",n.esModule&&Object.keys(n.esModule).some(function(e){return"default"!==e&&"__"!==e.substr(0,2)})&&console.error("named exports are not sup... |
export default function() {
return undefined;
} |
const gulp = require("gulp");
const zip = require("gulp-zip");
const version = require("./package.json").version;
const zipFileName = `azurestoragejs.queue-${version}.zip`;
gulp.task("zip", async() => {
return gulp
.src([
"browser/azure-storage.queue.js",
"browser/azure-storage.que... |
"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... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const where2 = jest.fn();
const where = jest.fn(() => ({ where: where2 }));
const collection = jest.fn(() => ({ where }));
const firestore = jest.fn(() => ({ collection }));
jest.mock("react-native-firebase", () => {
return {
// au... |
"use strict";
var core_1 = require("@angular/core");
var modal_dialog_1 = require("nativescript-angular/modal-dialog");
var page_1 = require("ui/page");
var element_registry_1 = require('nativescript-angular/element-registry');
var geolocation = require('nativescript-geolocation');
var nativescript_google_maps_sdk_1 = ... |
const {
BrowserWindow,
Menu,
app,
ipcMain,
webContents
} = require("electron")
// address GHSA-mpjm-v997-c4h4
delete require("electron").nativeImage.createThumbnailFromPath
const contextMenu = require("electron-context-menu")
const debounce = require("debounce")
const settings = require("electron... |
(function() {
function passwordConfirmationAlertBox(submit_btn_jquery_element,form_jquery_element,confirmation_msg) {
submit_btn_jquery_element.on('click', function (e) {
e.preventDefault();
bootbox.confirm({
message: confirmation_msg,
callback: functi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.