text
stringlengths
3
1.05M
module.exports = (sequelize, DataTypes) => { var programStatus = sequelize.define('muln_program_status', { orgHeadId: { type: DataTypes.INTEGER, primaryKey: true }, inProgressCount: { type: DataTypes.INTEGER, primaryKey: true }, h...
function getMinNumber(arr = []) { let len = arr.length let min = Infinity while (len--) min = arr[len] < min ? arr[len] : min return min } module.exports = getMinNumber
const moment = require('moment') const mongoose = require('../mongoose') const Label = mongoose.model('Label') const News = mongoose.model('News') const User = mongoose.model('User') const marked = require('marked') /** * 查询该资讯状态 * @method * @param {[type]} req [description] * @param {[type]} res [des...
# coding: utf-8 """ SimScale API The version of the OpenAPI document: 0.0.0 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from simscale_sdk.configuration import Configuration class OneOfInterpolationSchemesReconstructVelocity(object): """NOTE: ...
function init() { } function setup(mapid) { var eim = em.newInstance("Christmas" + mapid); eim.setProperty("stage", "0"); eim.setProperty("ok", "0"); eim.setProperty("mode", mapid); var map = eim.setInstanceMap(889100001 + (10 * parseInt(mapid))); map.resetFully(); var mob = em.getMonster(9400326...
import React, { useState } from 'react'; import ReactDOM from 'react-dom'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/DialogContent'; import BuildIcon from '@mater...
# # PySNMP MIB module IP-ACCESS-LIST-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IP-ACCESS-LIST-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:55:30 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
"use strict"; const {civicaCardCQRS} = require("../../domain/civica-card/"); const broker = require("../../tools/broker/BrokerFactory")(); const Rx = require("rxjs"); const jsonwebtoken = require("jsonwebtoken"); const { map, mergeMap, catchError, tap } = require('rxjs/operators'); const jwtPublicKey = process.env.JWT...
# Copyright (c) 2012-2013 Mitch Garnaat http://garnaat.org/ # Copyright 2012-2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http...
import React, { useState, useEffect } from "react"; import moment from "moment"; import Ajax from "../../components/Ajax"; import { useDispatch, useSelector } from "react-redux"; import { setDetailData } from "../../slices/details"; import { InputIcon, Button } from "../../components/Form"; import CompaniesDetailPage ...
(function ($) { var Alpaca = $.alpaca; Alpaca.Fields.GalleryField = Alpaca.Fields.MultiUploadField.extend( { setup: function () { this.base(); this.schema.items = { "type": "object", "properties": { "Imag...
#!/usr/bin/python # -*- coding: utf-8 -*- # File: health/admin.py # Date: 2019-03-04 20:52 # Author: Kenson Man <kenson@kenson.idv.hk> # Desc: Define the admin-tools for the health project; from django.contrib import admin from django.utils.translation import gettext_lazy as _ from .models import * @admi...
import React from "react"; import { Heading } from "../../../atoms/typography/heading"; import { Paragraph } from "../../../atoms/typography/paragraph"; import Container from "../../../container"; import OvalSvg from "../../../../images/ovals/top-left-transparent-red3.inline.svg"; import styled from "styled-components"...
(function(z){ 'use strict';var oY=function(a){z.Xh.call(this);this.aa(a)},pY=function(a){z.Xh.call(this);this.aa(a)},qY=function(a,b){z.XA(b)&&(a.wm=b,b=z.Ir(b),"referral"==b.dimension&&(b.authorId?(a.mB=b.authorId,a.nB=""):b.collectionId&&(a.nB=b.collectionId,a.mB="")))},FQa=function(a){a=a.Ue().split("/");a=a[a.lengt...
import { useState, useEffect, useRef } from "react"; import "./form.scss"; import { GENERIC_ERROR_MESSAGE } from "../../messages"; import { getRandomString, setDocumentTitle, getStringSize, importEditorMode, resetEditorIndentation, markdownToHtml } from "../../utils"; import { fetchIDBSnippet, saveSnippet } from "../.....
import React, { useState, useEffect } from 'react'; import axios from 'axios'; import { withAuthorization } from './Session'; import Receipt from './Receipt'; const RecentView = (props) => { const [loading, setLoading] = useState(true); const [userReceipts, setUserReceipts] = useState(null); const loadin...
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Tangible() result.template = "object/tangible/ship/components/chassis/shared_blacksun_heavy_s03_chassis_token.iff"...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
"use strict"; var __assign = (this && this.__assign) || function () { __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]; ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["login"],{"0439":function(e,r,t){"use strict";t("b4b1")},4805:function(e,r,t){"use strict";t("8ce0")},"578a":function(e,r,t){"use strict";t.r(r);var s=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"login-wrap"},[t("div",{s...
# -*- coding: utf-8 -*- { "%s rows deleted',nrows": "%s lignes supprimées',nrows", "%s rows updated',nrows": "%s lignes mises à jour',nrows", "'Cancel' will indicate an asset log entry did not occur": "'Annuler' indiquera une entrée de journal actif n'a pas se produire", "A location that specifies the geographic area f...
import { __extends, __decorate, __metadata, __param } from 'tslib'; import { TransferState, BrowserTransferStateModule } from '@angular/platform-browser'; import { ElementRef, NgZone, Inject, PLATFORM_ID, Input, Output, EventEmitter, ContentChildren, QueryList, Component, NgModule } from '@angular/core'; import DxGantt...
/** * @license Highstock JS v9.1.0 (2021-05-04) * * Indicator series type for Highcharts Stock * * (c) 2010-2021 Wojciech Chmiel * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; mo...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.89 2 2 2H1c-.55 0-1 .45-1 1s.45 1 1 1h22c.55 0 1-.45 1-1s-.45-1-1-1h-3zm-7-3.53v-2.19c-2.78 0-4.61.85-6 2.72.56-2.67 2.11-5.33 6-...
'use strict'; // Namespace a4p var a4p; if (!a4p) a4p = {}; // GAnalytics possible queues cf analytics tests below if (typeof _gaq === 'undefined') { var _gaq = null; //var analytics = null; } describe('a4p', function () { describe('Analytics', function () { var MockGaq1 = null; var...
(function(t){const e=t["ja"]=t["ja"]||{};e.dictionary=Object.assign(e.dictionary||{},{"%0 of %1":"","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align center":"...
""" This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". """ import django from django.test import TestCase # TODO: Configure your database in settings.py and sync before running tests. class ViewTest(TestCase): """Tests for the application vie...
# -*- coding: utf-8 -*- import redis def store_redis(filepath): r = redis.StrictRedis(host = 'localhost', port = 6379, db = 0) f = open(filepath, 'rb') for line in f.readlines(): code = line.strip() r.lpush('code', code) if __name__ == '__main__': store_redis('Activation_code.txt')
#!/usr/bin/env python3.8 import json import sys from datetime import datetime from graphs import render_results if __name__ == "__main__": if len(sys.argv) < 2 or sys.argv[1] in ["-h", "--help"]: print(f"Usage: {sys.argv[0]} <results-file> [<results-file> [...]]\n") print( "This comm...
(function($,undefined){$.ui.grid.dropmenu=function(grid){this.grid=grid;this._create()};$.ui.grid.dropmenu.prototype={_create:function(){var self=this,grid=this.grid,headersNode=grid.headersNode;var dropBtn=this.dropBtn=$("<div class='drop-btn'></div>");headersNode.bind("mousedown.grid-dropmenu",function(e){var target=...
import React, { useState, useContext } from "react"; import { string, func, bool } from "prop-types"; import { useIntl } from "react-intl"; import HR from "../../HR"; import { ErrorTitleWrapper, ErrorIconWrapper, ErrorIcon, ErrorTitle, ErrorCopy, ErrorMessageWrapper, ErrorDetails, ShowErrorButton, C...
# -*- coding: utf-8 -*- from django import template from django import forms from django.http import HttpResponse, Http404 from django.shortcuts import render, render_to_response from django.template import Context, loader from django.views.generic import View, TemplateView, ListView, DetailView from django.db.models i...
#!/usr/bin/env node const meow = require('meow'); const Roll = require('./roll'); const cli = meow(` Usage $ roll <dice to roll> Example $ roll d20 # rolls one die with 20 sides 1 - 20 $ roll 2d20 # rolls two dice with 20 sides each 2 - 40 $ roll 2d20+d3 # rolls two dice with 20 sides and one die wi...
(function () { smoothScroll.init({ selector: '[data-scroll], .toc-link', speed: 400, offset: 60 }) })()
import * as logic from '../src/logic.js'; const scenBoard = [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0...
var $sitePaginator = $('#site-paginator'); var isPaginatorInitialized = false; if($sitePaginator.length > 0) { var totalData = undefined; var isEventAttached = false; // var ad_script = // `<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> // <ins class="adsbygoogle...
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import torch import torch.nn as nn import torch.nn.functional as F import pdb from pysot.core.config import cfg from pysot.models.loss import select_cross_entropy_loss,...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var styled_icon_1 = require("@styled-icons/styled-icon"); exports.CardTravel = React.forwardRef(function (props, ref) { var attrs = { "fill": "curr...
# -*- coding: UTF-8 -*- # Copyright (c) 2017 The ungoogled-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. """Arch Linux-specific build files generation code""" from ..common import ENCODING, PACKAGING_DIR, BuildkitAbort, ge...
import bgImage from "assets/img/bgCandelaria.jpg"; import { makeStyles } from "@material-ui/core/styles"; export const stylesLogin = makeStyles((theme) => ({ windows: { backgroundColor: "#fff", borderRadius: "12px", // zIndex: "3", // position:"center" }, paper: { marginTop: theme.spacing(8), ...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"themes/TabTheme/widgets/Header/nls/strings":{_widgetLabel:"Header",signin:"Anmelden",signout:...
/* Copyright (C) 2015 Yusuke Suzuki <utatane.tea@gmail.com> 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 condit...
// Hashes password string. const bcrypt = require("bcrypt"); const encryptionErrors = require("../common/encryption-errors"); const passInd = 7; // Main function. function hashPasswordString(compareStrings, accountObject, hashCallback) { var saltMsg = ""; // Generate salt value. bcrypt.genSalt(10, function (sal...
import commonjs from "@rollup/plugin-commonjs"; import resolve from "@rollup/plugin-node-resolve"; import peerDepsExternal from "rollup-plugin-peer-deps-external"; import typescript from "rollup-plugin-typescript2"; import scss from "./rollup-plugin-scss"; import json from "@rollup/plugin-json"; import visualizer from ...
import sys from doctest import testfile from glob import glob from textwrap import dedent from types import ModuleType from django.apps import apps from django.conf import settings from django.core import management def setup(): management.call_command("migrate") management.call_command("loaddata", "examples...
'use strict'; const Base64 = require('crypto-js/enc-base64'); const Hex = require('crypto-js/enc-hex'); const AES = require('crypto-js/aes'); const Uft8 = require('crypto-js/enc-utf8'); const Lib = require('crypto-js/lib-typedarrays'); const salt = 'a09ea7653e931cb1f3e55266cd7495c3fede0d29'; /** * AES JSON forma...
$(document).ready(function() { $(".gnb > ul > li").hover(function() { $(".gnb ul ul, .nav_bg").stop().slideDown("fast"); }, function() { $(".gnb ul ul, .nav_bg").stop().slideUp("fast"); }); }); $(function() { // var gnulist = new Array("section2_snb_menu1", "section2_snb_menu2", "sect...
/* * This combined file was created by the DataTables downloader builder: * https://datatables.net/download * * To rebuild or modify this file with the latest versions of the included * software please visit: * https://datatables.net/download/#bs5/dt-1.11.4/r-2.2.9 * * Included libraries: * DataTables 1....
// Karma configuration // Generated on Thu May 20 2021 14:59:17 GMT+0200 (Central European Summer Time) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://n...
// Sightglass.js // version: 0.7.2 // author: Michael Richards // license: MIT (function(){function t(t,i,s,n){return new e(t,i,s,n)}function e(t,e,s,n){this.options=n||{},this.options.adapters=this.options.adapters||{},this.obj=t,this.keypath=e,this.callback=s,this.objectPath=[],this.parse(),i(this.target=this.realize...
/*! Version: 0.62.0 Copyright (c) 2016 Dominik Moritz */ !function(t,i){"function"==typeof define&&define.amd?define(["leaflet"],t):"object"==typeof exports&&(void 0!==i&&i.L?module.exports=t(L):module.exports=t(require("leaflet"))),void 0!==i&&i.L&&(i.L.Control.Locate=t(L))}(function(t){var i=function(i,o,s){(s=s.spl...
from torch import nn from torchscope import scope from torchvision import models class FrameDetectionModel(nn.Module): def __init__(self): super(FrameDetectionModel, self).__init__() # model = models.resnet50(pretrained=True) model = models.mobilenet_v2(pretrained=True) # Remove li...
// @flow import React from 'react' // eslint-disable-line no-unused-vars import styled from 'styled-components' // Our types: import type { ActBoxPropsType } from './index.types' /** * Control to display a single act. * * @param {ActBoxPropsType} props The properties. * @reactProps {string} name - The act's name...
'use strict' const path = require('path') const url = require('url') const { readdir } = require('fs').promises const pkgUp = require('pkg-up') const semver = require('semver') const isTsNode = (Symbol.for('ts-node.register.instance') in process) || !!process.env.TS_NODE_DEV const isJestEnviroment = process.env.JEST_...
#!/usr/bin/env python3 import fileinput import numpy as np import re import os from collections import defaultdict import argparse import sys from pathlib import Path class Atom: S = '' x = np.array([]) def __init__(self, string): inp = string.split() self.S = inp[0] self.x = np....
var Twitter = require('twitter'); var client = new Twitter({ consumer_key: process.env.TWITTER_CONSUMER_KEY, consumer_secret: process.env.TWITTER_CONSUMER_SECRET, access_token_key: process.env.TWITTER_ACCESS_TOKEN_KEY, access_token_secret: process.env.TWITTER_ACCESS_TOKEN_SECRET }); var params = {screen_name...
import { __read, __spread } from "tslib"; import { ASTWithSource, BindingPipe, Interpolation } from '../../expression_parser/ast'; import * as o from '../../output/output_ast'; import { isEmptyExpression } from '../../template_parser/template_parser'; import { Identifiers as R3 } from '../r3_identifiers'; import { hyph...
def make_cool(foo): def wrapper(): return "---= " + str(foo()) + " =---" return wrapper @make_cool def say_hello(): return "hello" print(say_hello())
/* Description: Given an input string determine whether or not it is a Palindrome (e.g. "racecar") by returning a boolean response. A true\1 response indicates the input is a valid Palindrome. Ignore whitespace, special characters, and case. */ function isPalindrome(str){ str=str.toLowerCase().replace(/[^a-z]/g,'');...
'use strict'; angular.module('angoolarse').service('parseUserService', function($q, parseService){ return angular.extend({}, parseService, { parseClassData : { parseClassName : 'User', parseClassProperties : ['username', 'password', 'email', 'firstName', 'lastName'] }, getByUsername : funct...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'preview', 'tt', { preview: 'Карап алу' } );
import func from "./index.js"; test("test 1", () => { expect(func([4, 6, 10], 10)).toBe(2); }); test("test 2", () => { expect(func([1, 2, 3, 4, 5, 6, 7], 5)).toBe(4); }); test("test 3", () => { expect(func([10, 6, 4], 10)).toBe(0); }); test("test 4", () => { expect(func([10, 6, 4], 4)).toBe(2); });
from metanic.core import models class MailEventLogModel(models.CreateUpdateModel): token = models.CharField(max_length=64, db_index=True) raw_data = models.TextField()
# model settings temperature = 0.2 with_norm = True query_dim = 128 model = dict( type='MoCoBaseTracker', queue_dim=query_dim, img_queue_size=256 * 256, backbone=dict( type='ResNet', pretrained=None, depth=18, # depth=50, out_indices=(3, ), # strides=(1, 2...
const { wallaby: wallabyConfig } = require("./src/config"); // eslint-disable-next-line func-names module.exports = function (wallaby) { const baseConfig = wallabyConfig(wallaby); const tests = [...baseConfig.tests]; const config = { ...baseConfig, tests, }; return config; };
import PropTypes from 'prop-types' import React from 'react' //provides full height background color paint class FullBackground extends React.Component { componentWillMount() { this.setup({ color: this.props.color, height: '100%', image: this.props.image }) } // componentWillUnmount() { this.setup({ color: 'initia...
goog.provide('webfont.FontWatcher'); goog.require('webfont.FontWatchRunner'); goog.require('webfont.NativeFontWatchRunner'); /** * @constructor * @param {webfont.UserAgent} userAgent * @param {webfont.DomHelper} domHelper * @param {webfont.EventDispatcher} eventDispatcher * @param {number=} opt_timeout */ webfon...
/** * lodash (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="npm" -o ./` * Copyright jQuery Foundation and other contributors <https://jquery.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jerem...
function diginto(thestruct, level) if nargin < 2 level = 0; end fn = fieldnames(thestruct); for n = 1:length(fn) tabs = ''; for m = 1:level tabs = [tabs ' ']; end disp([tabs fn{n}]) fn2 = getfield(thestruct,fn{n}); if isstruct(fn2) diginto(fn2, level+1); end end end
'use strict'; debugger; // expect(received).toEqual(expected); const persOne = { firstName:'Juan', lastName:'Gonzalez', age:31, nacionality:'Chilean' }; const persTwo = { firstName:'Jaime', lastName:'Gonzalez', age:33, nacionality:'Chilean' }; let received = persOne.nacionality; let ...
const installer = require('./install'); const uninstaller = require('./uninstall'); const children = require('./children'); module.exports = { install: installer.install, uninstall: uninstaller.uninstall, children: children }
import React from 'react'; import './TreeMenu.css'; import TreeMenu from 'react-simple-tree-menu'; const JsonTreeMenu = ({jsonArray}) => { let num = 0; const keyArrayUsingOpen = []; const genKey = () => { num += 1; // const key = `key_${Date.now()}_${num}`; const key = `key_${num}`...
"use strict"; var _Object$defineProperty = require("@babel/runtime-corejs3/core-js/object/define-property"); var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default; _Object$defineProperty(exports, "__esModule", { value: true }); exports.handler = exports.builder = exp...
export default class ApiErrors extends Error { status; errors; constructor(status, message, errors = []) { super(message) this.status = status this.errors = errors } static UnauthorizedError() { return new ApiErrors(401, 'User isn\'t authorized' ) } }
# Copyright 2014 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. from telemetry.page import page as page_module from telemetry.page import page_set as page_set_module class GmailRefreshPage(page_module.Page): """ Why: ...
import { Bar } from "./Bar"; import { Bar3D } from "./Bar3D"; import { Circle } from "./Circle"; import { Graph } from "./Graph"; import { Line } from "./Line"; import { Pie } from "./Pie"; import { Point as OverlayPoint } from "./Point"; import { RankSymbol } from "./RankSymbol"; import { Ring } from "./Ring"; import ...
import os def dirs(MyDir): if os.path.isdir(MyDir): for f in os.listdir(MyDir): kaosname = os.path.join(MyDir,f) if os.path.isdir(kaosname): dirs(kaosname) else: if os.path.isfile(kaosname): ext = os.path.splitext(f)[1] if ext == ".mp4": print ka...
fixtures.register("01", function() { HIGHLIGHT( { color: "red" }, "Lorem ipsum dolor ", HIGHLIGHT({ color: "red", marked: true }, "sit amet"), " consectetur adipiscing elit.", ); }); fixtures.register("01.flat", function() { HIGHLIGHT( { color: "red", marked: true }, "Lorem ipsum dolor ",...
# Copyright 2016, IBM US, 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 the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1saXN0LWhhcm5lc3MtZmlsdGVycy5qcyIs...
'use strict'; const path = require('path'); const _ = require('lodash'); const Bluebird = require('bluebird'); const basicAuth = require('basic-auth-connect'); const bodyParser = require('body-parser'); const cookieParser = require('cookie-parser'); const errorHandler = require('errorhandler'); const express = require...
$(function () { $("#jqGrid").jqGrid({ url: baseURL + 'sys/schedule/list', datatype: "json", colModel: [ { label: '任务ID', name: 'jobId', width: 60, key: true }, { label: 'bean名称', name: 'beanName', width: 100 }, { label: '参数', name: 'params', width: 100 }, { label: 'cron表达式 ', ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _vue = _interopRequireWildcard(require("vue")); var _LikeFilled = _interopRequireDefault(require("@ant-design/icons-svg/lib/asn/LikeFilled")); var _AntdIcon = _interopRequireDefault(require("../components...
db.planetas.createIndex({ "nome": 1} , { unique: true })
macDetailCallback("0024f4000000/24",[{"d":"2009-01-18","t":"add","a":"Yatam Industrial Park\nCPC Building\nYokneam ISRAEL 20692\n","c":"ISRAEL","o":"Kaminario Technologies Ltd.","s":"wireshark.org"},{"d":"2015-08-27","t":"change","a":"Yatam Industrial Park\nYokneam ISRAEL 20692\n\n","c":"IL","o":"Kaminario Technologi...
var async = require('async'); var del = require('del'); var config_1 = require('../config'); function cleanAll(done) { async.parallel([ cleanDist, cleanTest, cleanTmp ], done); } function cleanDist(done) { del(config_1.APP_DEST, done); } function cleanTest(done) { del(config_1.TE...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11...
var gulp = require('gulp'), sass = require('gulp-sass'), autoprefixer = require('gulp-autoprefixer'), rename = require('gulp-rename'), minifycss = require('gulp-minify-css'), concat = require('gulp-concat'), uglify = require('gulp-uglify'), gutil = require('gulp-util'); var jsPath = [ ...
import React from "react"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import InputLabel from "@material-ui/core/InputLabel"; // core components import GridItem from "components/Grid/GridItem.js"; import GridContainer from "components/Grid/GridContainer.js"; import CustomInput...
import pytest from requests.exceptions import HTTPError from commercetools.platform import models def test_product_types_get_by_id(old_client): product_type = old_client.product_types.create( models.ProductTypeDraft( key="test-product-type", name="test", description="something" ) ...
from httprunner import __version__ def get_httprunner_version(): return __version__ def sum_two(m, n): return m + n def get_testcase_config_variables(): return {"foo1": "testcase_config_bar1", "foo2": "testcase_config_bar2"} def get_testsuite_config_variables(): return {"foo1": "testsuite_config_...
"use strict"; var tokenizer = require("./tokenizer").create([ { name: "stringDouble", pattern: /"(?:[^"]|\\")*"/ }, { name: "stringSingle", pattern: /'(?:[^']|\\')*'/ }, { name: "singleLineComment", pattern: /\/\/.*/ }, { name: "multiLi...
module.exports = [{"name":"path","attribs":{"d":"M42.82 23.16L24.83 5.17C24.1 4.45 23.1 4 22 4H8C5.79 4 4 5.79 4 8v14c0 1.11.45 2.11 1.18 2.83l18 18C23.9 43.55 24.9 44 26 44c1.1 0 2.11-.45 2.83-1.17l14-14C43.55 28.1 44 27.1 44 26c0-1.11-.45-2.11-1.18-2.84zM11 14c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"}}];
const CustomError = require("../extensions/custom-error"); module.exports = function createDreamTeam(members) { if (members === null || members === undefined) { return false; } let firstLetter; let teamName = ""; for (let i = 0; i < members.length; i++) { if (typeof members[i] === "string") { ...
import Module from './module' import { assert, forEachValue } from '../util' /** * module集合器 */ export default class ModuleCollection { // rawRootModule 就是store实例化的 options constructor (rawRootModule) { // register root module (Vuex.Store options) // 初始化 this.register([], rawRootModule, false) } ...
import 'react-responsive-modal/lib/react-responsive-modal.css' import Modal from 'react-responsive-modal/lib/css' import React, { Component } from 'react' import _ from 'lodash' export default class ConfirmModal extends Component { render() { const { options, onClose, open } = this.props const _description =...
var ModularityGuides = {};
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @providesModule RelayFlowBabelFactories * * @format */ 'use strict'; /** * type NAME = any; */ function anyTypeAlias(name) { ...
import React from 'react'; import PropTypes from 'prop-types'; const UilTear = (props) => { const { color, size, ...otherProps } = props return React.createElement('svg', { xmlns: 'http://www.w3.org/2000/svg', width: size, height: size, viewBox: '0 0 24 24', fill: color, ...otherProps }, ...