text
stringlengths
3
1.05M
import Ember from 'ember'; import moment from 'moment'; const { computed } = Ember; export default Ember.TextField.extend({ classNames: ['ff-date-input'], value: computed('date', { get() { const date = this.get('date'); return date ? moment(date).format('MM/DD/YYYY') : ''; }, set(key,...
import React from "react"; class ZipForm extends React.Component { constructor(props) { super(props); this.state = { zipcode: '' }; this.inputUpdated = this.inputUpdated.bind(this) this.submitZipCode = this.submitZipCode.bind(this) } submitZipCode(e) { e.preventDefault(); c...
import styled from "styled-components" import React from "react" import { Link } from "gatsby" export const ButtonWrapper = styled(props => <Link {...props} />)` padding: 0.5rem 0.75rem; background-color: ${props => props.theme.colors.main1}; border-radius: 0.5rem; color: ${props => props.theme.colors.light1}; ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _styles = require("@material-ui/styles"); var _GreenButton = _interopRequireDefault(require("./GreenButton")); function _interopRequireDefault(obj) { r...
import { useContext, useState, useEffect } from 'react'; import { SiteContext } from '../../context/Site'; import { Card, Elevation, Icon } from '@blueprintjs/core'; import PageButton from '../pageButton/pageButton'; function List(props) { const siteContext = useContext(SiteContext); const [taskList, setTaskLi...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement("path", { d: "M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zM9 11.5c0 .83-.67 1.5-1.5 1.5h-2v1.25c0 .41-.34.75-.75.75S4 14.66 4 14.25V10c0-.55.45-...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2012-2021 Snowflake Computing Inc. All right reserved. # import base64 import json import os import tempfile from collections import namedtuple from logging import getLogger from typing import IO, TYPE_CHECKING, Tuple from Cryptodome.Cipher import AES fr...
from pandac.PandaModules import * from toontown.toonbase.ToontownGlobals import * from direct.interval.IntervalGlobal import * from direct.fsm import ClassicFSM, State from toontown.safezone import SafeZoneLoader import random from toontown.launcher import DownloadForceAcknowledge from toontown.estate import House from...
import React from "react" import { Link, graphql } from "gatsby" import Bio from "../components/bio" import Layout from "../components/layout" import SEO from "../components/seo" import { rhythm } from "../utils/typography" import Button from "../components/button" class IndexPage extends React.Component { render()...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['sv']={"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Tryck ALT 0 för hjälp","browseServer":"Bläddra på server","u...
var callbackArguments = []; var argument1 = 1.2514999785740526e+308; var argument2 = 1.6705498558517827e+308; var argument3 = {"49":"#,",",":126}; var base_0 = ["?","gRn","l@:","o","G","0","fhx`n?","M=+e{m",")q;"] var r_0= undefined try { r_0 = base_0.reduceRight(argument1,argument2,argument3) } catch(e) { r_0= "...
# Copyright 2019 Huawei Technologies Co., Ltd # # 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...
from pathlib import Path from unittest import mock from tests.cli_test_case import CliTestCase class MinitestTest(CliTestCase): test_files_dir = Path(__file__).parent.joinpath('../data/minitest/').resolve() result_file_path = test_files_dir.joinpath('record_test_result.json') @mock.patch('requests.reque...
$(document).ready(function() { fetchReservationList(); function fetchReservationList(){ $('#for-release-table').DataTable({ processing: true, serverSide: true, ajax:"/for-release", columns:[ {data: 'user...
import logging from django.http import HttpResponse, JsonResponse from django.utils.decorators import method_decorator from django.utils.timezone import now from rest_framework import serializers from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView fr...
'use strict'; const Action = require('./Action'); const { Events } = require('../../util/Constants'); class MessageReactionRemoveEmoji extends Action { handle(data) { const channel = this.getChannel(data); if (!channel || !channel.isTextBased()) return false; const message = this.getMessage(data, chann...
from pathlib import Path base = """ <html lang="en"> <head> <meta charset="utf-8"> <title>Attention-Guided CG</title> <script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script> <style> <style> ...
// MIT License: // // Copyright (c) 2010-2013, Joe Walnes // 2013-2014, Drew Noakes // // 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 w...
# -*- coding: utf-8 -*- # File: training.py import copy import pprint import re from abc import ABCMeta, abstractmethod from contextlib import contextmanager import six import tensorflow as tf from ..compat import tfv1 from ..tfutils.common import get_tf_version_tuple from ..tfutils.gradproc import ScaleGradient from...
import { SET_TWEETS } from './feedActions' const initialState = { tweets: [] } export default function feed (state = initialState, action) { switch (action.type) { case SET_TWEETS: const nextState = Object.assign({}, state, { tweets: action.tweets }) return nextState default: return stat...
/* global describe beforeEach it */ // const {expect} = require('chai') // const request = require('supertest') // const db = require('../db') // const app = require('../index') // const User = db.model('user') // describe('User routes', () => { // beforeEach(() => { // return db.sync({force: true}) // }) // ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]); //# sourceMappingURL=styles-6b8affa5cc22cb60670e.js.map
# -*- coding: utf-8 -*- ''' Connection module for Amazon SQS .. versionadded:: 2014.7.0 :configuration: This module accepts explicit sqs credentials but can also utilize IAM roles assigned to the instance through Instance Profiles. Dynamic credentials are then automatically obtained from AWS API and no furthe...
function test() { this.data = 10; this.data2 = []; this.context.data = 10; this.context.data2 = []; } angular.module("synergy.handlers", ["synergy.utils"]) .factory("SynergyHandlers", ["SynergyUtils", function (SynergyUtils) { var Synergy = {control: {}}; Syn...
import Resolver from 'ember-resolver'; Resolver.reopen({ // eslint-disable-next-line ember/avoid-leaking-state-in-ember-objects pluralizedTypes: { ability: 'abilities' } }); export function initialize(/* application */) {} export default { initialize };
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2020, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
from __future__ import print_function import argparse import random import torch import torch.backends.cudnn as cudnn import torch.optim as optim import torch.utils.data from torch.autograd import Variable import numpy as np from warpctc_pytorch import CTCLoss import os import utils import dataset import models.crnn a...
# -*- coding: utf-8 -*- # @Time    : 2019/11/2 21:40 # @Author  : 高冷 # @FileName : 正则表达式的常用匹配字符.py # 1.一般字符类 ''' . --匹配任意字符,除了换行符,当re.DOTALL标记被指定时,则可以匹配包括换行符的任意字符。 ? --匹配一个任意字符 ^ --匹配字符串的开头 $ --匹配字符串的末尾。 […] --用来表示一组字符,单独列出:[amk] 匹配 ‘a’,‘m’或’k’ [^…] --不在[]中的字符:[^abc] 匹配除了a,b,c之外的字符。 例: [Pp]ython --匹配 “Python” 或 “pyt...
/* @flow */ /** * The Inverse [Gaussian error function](http://en.wikipedia.org/wiki/Error_function) * returns a numerical approximation to the value that would have caused * `errorFunction()` to return x. * * @param {number} x value of error function * @returns {number} estimated inverted value */ function inv...
#!/usr/bin/env python3 import unittest import edict class TestEdict(unittest.TestCase): def test_parse_entry(self): raw = '大丈夫 [だいじょうぶ(P);だいじょぶ] /(adj-na) (1) safe/all right/alright/OK/okay/sure/(adv) (2) certainly/surely/undoubtedly/(n) (3) (だいじょうぶ only) (arch) (See 大丈夫・だいじょうふ) great man/fine figure of ...
let fs = require('fs'); function extractCode(x) { if (x[1] === 'f') { return 'format(' + x.slice(3, -2) + ')'; } else if (x[1] === 'i') { return 'formatInt(' + x.slice(3, -2) + ')'; } else if (x[1] === 'q') { return 'formatMaybeInt(' + x.slice(3, -2) + ')'; } else if (x[1] === 'r') { return x.s...
const { INTEGER } = require('sequelize') module.exports = db => db.define('order_item', { hours: { type: INTEGER, allowNull: false, defaultValue: 1, validate: { notEmpty: true, }, }, rate: { type: INTEGER, allowNull: false, validate: { notEm...
import { useState, useEffect } from 'react'; import PerfectScrollbar from 'react-perfect-scrollbar'; import PropTypes from 'prop-types'; import { format } from 'date-fns'; import { ref, uploadBytes, getStorage, listAll, getDownloadURL } from 'firebase/storage' import { Avatar, Box, Card, Checkbo...
var _c_p_t_platform_specific_functions_8m = [ [ "CPTGetCurrentContext", "_c_p_t_platform_specific_functions_8m.html#a3be5490002256d9807df1586581550b9", null ], [ "CPTPopCGContext", "_c_p_t_platform_specific_functions_8m.html#af83544397fc336d1c14e66f2b7e473be", null ], [ "CPTPushCGContext", "_c_p_t_platform_...
#!/usr/bin/python3 # This file filters out the utterances with one channel, and # only keeps utterances with two channels. The new uttname has # the format dataset-uttname-speaker_ch1-speaker_ch2-channel import os import sys def utt_spk_mapping(filename): utt2spk_dict = {} spk2utt_dict = {} with open(fi...
'use strict'; // Summary: // Build for production const path = require('path'); const shell = require('shelljs'); const crypto = require('crypto'); // const utils = require('./lib/utils'); const webpack = require('webpack'); const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; const P...
import { Document32 } from '..'; export default Document32;
const { ResponseStatus } = require("../enums"); const { TimerData } = require("../sequelize"); async function TimerRoutes(app){ app.post("/api/v1/initiate-timer", async (req,res,next)=>{ const { type } = req.body if(type === "START"){ // Take start time, email, rate/min and c...
// @flow import { ACTIONS, Lbry, doNotify, MODALS, selectMyChannelClaims, THUMBNAIL_STATUSES, batchActions, } from 'lbry-redux'; import { selectPendingPublishes } from 'redux/selectors/publish'; import type { UpdatePublishFormData, UpdatePublishFormAction, PublishParams, } from 'redux/reducers/publi...
// @flow import passport from "@outlinewiki/koa-passport"; import { type Context } from "koa"; import type { AccountProvisionerResult } from "../commands/accountProvisioner"; import { signIn } from "../utils/authentication"; export default function createMiddleware(providerName: string) { return function passportMid...
$.get('/api/top').done(function (data) { //console.log(data); var type = []; //类型 var sell = []; //数据 $.each(data.products, function (k, v) { type.push(v.product.name); sell.push({value: v.sum_num, name: v.product.name}) }) // console.log(sell); var myChart = ech...
var verificar = window.document.getElementById('verificador') verificar.addEventListener('click', verif) function verif(){ var data = new Date() var anoatual = data.getFullYear() var anodigitado = window.document.getElementById('nascimento') var res = window.document.getElementById('...
"use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([["fonts/free-solid-svg-icons-faExpandAlt-js"],{ /***/ "./node_modules/@fortawesome/free-solid-svg-icons/faExpandAlt.js": /*!***********************************************************************!*\ !*** ./node_modules/@fortawesome/free-solid-sv...
(self["webpackChunkwizzi_editor"] = self["webpackChunkwizzi_editor"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_html_html_js"],{ /***/ "./node_modules/monaco-editor/esm/vs/basic-languages/html/html.js": /*!************************************************************************!*\ !*** ./node_m...
/** * 初始化下注管理详情对话框 */ var StakesInfoDlg = { stakesInfoData : {} }; /** * 清除数据 */ StakesInfoDlg.clearData = function() { this.stakesInfoData = {}; } /** * 设置对话框中的数据 * * @param key 数据的名称 * @param val 数据的具体值 */ StakesInfoDlg.set = function(key, val) { this.stakesInfoData[key] = (typeof val == "undef...
export * from '@styled-icons/icomoon/Spinner9';
const routes = require('./project-routes'); class Project { constructor(requestHelper, routeHelper, md) { this.requestHelper = requestHelper; this.routeHelper = routeHelper; this.md = md; } getProjectUsers(params) { const path = this.routeHelper.interpolate(routes.GET_PROJECT_USERS, { pro...
import React from 'react'; const SvgComponent = props => ( <svg width={84} height={37} fill="none" {...props}> <rect x={0.5} y={0.5} width={83} height={36} rx={3.5} fill="#fff" stroke="#212121" /> </svg> ); export default SvgComponent;
/** * Test the repo list item */ import React from 'react'; import { shallow, render } from 'enzyme'; import { IntlProvider } from 'react-intl'; import ListItem from 'components/ListItem'; import { RepoListItem } from '../index'; const renderComponent = (props = {}) => render( <IntlProvider locale="en"> <Rep...
from tests.app.constants import ACTIVE, ERROR, IDLE from django.utils.translation import gettext_lazy as _ DEBUG = True USE_TZ = True SECRET_KEY = "dummy" DATABASES = {"default": {"ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:"}} INSTALLED_APPS = [ "django.forms", "django.contrib.auth", "djan...
/* istanbul instrument in package npmdoc_scrap */ /*jslint bitwise: true, browser: true, maxerr: 8, maxlen: 96, node: true, nomen: true, regexp: true, stupid: true */ (function () { 'use strict'; var local; // run shared js-env code - pre-init (function () { //...
import React, {Component} from 'react'; import {EntypoPaperPlane, EntypoMic} from 'react-entypo'; //import Audio from './Audio'; class Input extends Component { constructor(props) { super(props); this.state = {value: ''}; //this.handleAudio = this.handleAudio.bind(this); this.handleChange = this.handleChange...
describe('Adwords forwarder', function () { var MessageType = { SessionStart: 1, SessionEnd: 2, PageView: 3, PageEvent: 4, CrashReport: 5, OptOut: 6, Commerce: 16 }, EventType = { Unknown: 0, Navigation: 1, Locat...
import pytest from django.contrib.auth.models import AnonymousUser from django.http.response import Http404 from django.test import RequestFactory from d_react.users.models import User from d_react.users.tests.factories import UserFactory from d_react.users.views import ( UserRedirectView, UserUpdateView, ...
( function( $ ) { /** * @param $scope The Widget wrapper element as a jQuery element * @param $ The jQuery alias */ var WidgetHelloWorldHandler = function( $scope, $ ) { console.log( $scope ); }; // Make sure you run this code under Elementor. $( window ).on( 'elementor/frontend/init', function() { e...
'use strict'; module.exports = { name: 'Set Position', menu: './menu/menu.js', script: './client/client-bundle.js', style: './style/style.css' };
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } f...
const baseURL = "https://cnodejs.org/api/v1" module.exports = { hostUrl: baseURL, wechat: { appId: "wx3039b960a183e45c", appSecret: "66fc3a8087885ddee3bc24d6bbf7ef52", scope: 'snsapi_userinfo' }, redis: { host: '127.0.0.1', port: '6379', pass: '' } }
#from __future__ import annotations from e2cnn import gspaces from e2cnn import kernels from .general_r2 import GeneralOnR2 from typing import Union, Tuple, Callable, List from e2cnn.group import Representation from e2cnn.group import Group from e2cnn.group import CyclicGroup from e2cnn.group import cyclic_group i...
import React, { useContext } from "react"; import { AuthContext } from "../../context/Auth/AuthProvider"; import { Navbar } from "../shared/Navbar"; import { Header } from "../shared/Header"; import { AdminHome } from "./AdminHome"; import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; import { Add...
import React from 'react' import PropTypes from 'prop-types' import { Link, graphql } from 'gatsby' import Helmet from 'react-helmet' import { readingTime as readingTimeHelper } from '@tryghost/helpers' import routing from '../utils/routing' import { Layout, HeaderPost, AuthorList, PreviewPosts, ImgSharp } from '../c...
# Copyright 2019 Huawei Technologies Co., Ltd # # 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...
import ActionTypes from '../actionTypes'; export const inputNumber = value => ({ type: ActionTypes.INPUT_NUMBER, payload: { value } }); export const inputOperation = value => ({ type: ActionTypes.INPUT_OPERATION, payload: { value } }); export const inputDecimal = () => ({ type: ActionTypes.INPUT_DECIMAL })...
from portality.core import app from portality.lib import httputil import esprit, json from portality.api.v2.client import models DOAJ_RETRY_CODES = [ 408, # request timeout 429, # rate limited 502, # bad gateway; retry to see if the gateway can re-establish connection 503, # service unavai...
/** @jsx jsx */ import { jsx, Grid } from 'theme-ui' import GatsbyLink from './GatsbyLink' import Container from './Container' const apps = [ { id: 'app-index', title: 'Home', path: '/' }, { id: 'dice-game', title: 'Dice Roll', path: '/dice/' }, { id: 'lottery-generator', title: 'Lottery Numbers', path: '/lotter...
'use strict'; import * as Chart from 'chart.js'; import ArrayElementBase, {defaults} from './base'; Chart.defaults.global.elements.plots = Object.assign({}, defaults); const Plots = Chart.elements.Plots = ArrayElementBase.extend({ draw() { const ctx = this._chart.ctx; const vm = this._view; const plo...
# Generated by Django 3.1.6 on 2022-05-13 16:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('notif', '0002_notif_canceled'), ] operations = [ migrations.RenameField( model_name='notif', old_name='canceled', ...
output = {result: $.create(path.normalize($.path))}
module.exports.permissionRequired = 0 module.exports.run = async (client, message, args, config, queue) => { const serverQueue = queue.get(message.guild.id) if (!serverQueue) return message.channel.send("❌ There is nothing playing right now!") return message.channel.send(`🎶 Now playing **${serverQueue.songs[0]...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createEslintConfig = void 0; const tslib_1 = require("tslib"); const fs_extra_1 = (0, tslib_1.__importDefault)(require("fs-extra")); const path_1 = (0, tslib_1.__importDefault)(require("path")); const utils_1 = require("./utils"); asyn...
webpackHotUpdate("app",{ /***/ "./src/objects/compoundCrate.ts": /*!**************************************!*\ !*** ./src/objects/compoundCrate.ts ***! \**************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; eval("\nObject.define...
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO if parse_version(kaitaistruct.__version__) < parse_version('0.9'): raise Exception("Incompati...
import React, { Component } from 'react' import PropTypes from 'prop-types' import AccountListItem from '../../account-list-item/' export default class SendDropdownList extends Component { static propTypes = { accounts: PropTypes.array, closeDropdown: PropTypes.func, onSelect: PropTypes.func, active...
import { Grouping } from './groupingTryOut.js'; export class IndividualsGrouper { constructor(interactiveCanvas, individuals, groupingLayouter){ this.interactiveCanvas = interactiveCanvas; // Set up groupingLayouter this.groupingLayouter = groupingLayouter; this.groupingLayouter.setParentIdKe...
# -*- coding: utf-8 -*- ''' 专门为wapi程序准备的初始化入口 ''' ''' 统一拦截处理和统一错误处理 ''' from api.interceptors.Auth import * from api.interceptors.ErrorHandler import * ''' 蓝图功能,对所有的url进行蓝图功能配置 ''' from api.controllers.route import *
game.PlayScreen = me.ScreenObject.extend({ init: function() { me.audio.play("theme", true); // lower audio volume on firefox browser var vol = me.device.ua.contains("Firefox") ? 0.3 : 0.5; me.audio.setVolume(vol); this.parent(this); }, onResetEvent: function() { me.audio.stop("theme"); ...
// Until we decide we want to use a real cache like Redis, // we'll just keep users in an array and look there first. let userCache = []; const cache = { getUser: function(login) { return userCache.find(f => f.login === login); }, storeUser: function(user) { userCache = userCache.filter(f => f.login !== ...
// Global vars var pymChild = null; var isMobile = false; var skipLabels = [ 'Group', 'key', 'values' ]; /* * Initialize the graphic. */ var onWindowLoaded = function() { if (Modernizr.svg) { formatData(); pymChild = new pym.Child({ renderCallback: render }); } else { ...
jQuery(function($){ $.supersized({ // Functionality slide_interval : 4000, // Length between transitions transition : 1, // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left transition_speed : 1000, //...
import firebase from 'firebase'; const config = { apiKey: "AIzaSyByoBI7xpOAB5JsiVx-wOjVt7FstnD1Oyk", authDomain: "comedero-3f0f9.firebaseapp.com", databaseURL: "https://comedero-3f0f9.firebaseio.com", storageBucket: "comedero-3f0f9.appspot.com", messagingSenderId: "924672332128" }; export const f...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @flow */ export type CapturedError = { +componentName: ?string, +componentStack: string, +error: mixed, +err...
goog.provide('os.ui.modal'); /** * @param {string} target A selector used to identify the parent for the modal * @param {string} markup The markup to compile */ os.ui.modal.create = function(target, markup) { var compile = /** @type {!angular.$compile} */ (os.ui.injector.get('$compile')); var scope = /** @type...
export function getStorageInfo(ctx) { ctx.username = sessionStorage.getItem("username"); ctx.fullName = sessionStorage.getItem("fullName"); ctx.userId = sessionStorage.getItem("userId"); ctx.loggedIn = sessionStorage.getItem("authtoken") !== null; } export function getPartials() { return { header:...
const axios = require('axios'); exports.homeRoutes = (req, res) => { // Make a get request to /api/items axios.get('http://localhost:3000/api/items') .then(function(response){ res.render('index', { items : response.data }); }) .catch(err =>{ res.send(err); ...
(this.webpackJsonpfrontend_base_dapp=this.webpackJsonpfrontend_base_dapp||[]).push([[3],{632:function(t,e,n){"use strict";n.r(e),n.d(e,"getCLS",(function(){return m})),n.d(e,"getFCP",(function(){return S})),n.d(e,"getFID",(function(){return F})),n.d(e,"getLCP",(function(){return k})),n.d(e,"getTTFB",(function(){return ...
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import isPackage from '../isPackage'; export default class EResourceType extends React.Component { static propTypes = { resource: PropTypes.shape({ _object: PropTypes.shape({ pti: PropTypes...
import React from 'react'; import { Row, Col, Card, Progress } from 'reactstrap'; export default function LivePreviewExample() { return ( <> <Row> <Col md="6" xl="3"> <Card className="p-3 mb-5"> <div className="align-box-row"> <div className="text-first font-siz...
# Copyright (c) 2017 Dell Inc. or its subsidiaries. # 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 # # ...
/** * API configuration file * @author Tang Bo Hao */ var commonAPIs = exports.commonAPIs = { account_info: 'get_account_info' , users_info: 'get_users_info' , friends_ids: 'get_friends_ids' , appfriends_ids: 'get_appfriends_ids' , appfriends_info:'get_appfriends_info' , is_app_user: 'get_is...
/* * @Author: your name * @Date: 2020-04-09 15:25:17 * @LastEditTime: 2020-04-27 09:11:59 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \gswl-web\src\utils\validate.js */ /** * 邮箱 * @param {*} s */ export function isEmail(s) { return /^([a-zA-Z0-9._-])+@([a-zA-Z0-...
const Express = require('express'); const http = require('http'); const harakiri = require('../../'); const app = new Express(); const server = new http.Server(app); const port = 3000; app.get('/', (req, res) => res.send('Hello!!')); // Open http://localhost:3000/loop in the browser to executing blocking operation app....
#!/usr/bin/env python # Copyright 2012 Google Inc. All Rights Reserved. """Client actions related to plist files.""" from __future__ import absolute_import from __future__ import unicode_literals import io import types from binplist import binplist from grr_response_client import actions from grr_response_client imp...
import aiohttp import json import logging log = logging.getLogger() CARBONITEX_API_BOTDATA = 'https://www.carbonitex.net/discord/data/botdata.php' DISCORD_BOTS_API = 'https://bots.discord.pw/api' class Carbonitex: """Cog for updating carbonitex.net and bots.discord.pw bot information.""" def __init__(s...
var express = require('express'); var router = express.Router(); var config = require('../libs/config'); //security var crypto = require('crypto'); var jwt = require('jsonwebtoken'); //logging var intel = require('intel'); var log = require('../libs...
const { Client, CommandInteraction } = require("discord.js"); const config = require('../../config');//pasador code const qdb = require('quick.db'); const ydb = new qdb.table("yetkili");//pasador code const idb = new qdb.table("isimler"); //pasador code module.exports = { name: "kadın", description: "Kullanıcı...
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'stylescombo_i', 'de', { label: 'Stil', panelTitle: 'Formatierungenstil', panelTitle1: 'Block Stilart', panelTitle2: 'Inline Stilart', panelTitle...
"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"; function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); __export(require("../core")); __export(require("./client/client")); __export(require("./lib/simple_command")); // var unhandled_rejection_1 = requ...
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var Holodeck = require('../../../holodeck'); /* jshint ignore:line */ var Request = require( '../../../../../lib/http/request'); /* ...
# encoding: utf-8 """ flow.py Created by Thomas Mangin on 2010-01-14. Copyright (c) 2009-2015 Exa Networks. All rights reserved. """ # Do not use __slots__ here, we never create enough of them to be worth it # And it really break complex inheritance from struct import pack from struct import unpack from exabgp.prot...