text
stringlengths
3
1.05M
/** * Copyright (c) 2013-present, 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. * * @provides...
'use strict'; var React = require('react'); var PropTypes = require('prop-types'); var reactDom = require('react-dom'); var LocalizationContext = require('./LocalizationContext-632f8f39.js'); var index = require('./index-7d1e81b9.js'); require('date-fns'); function _interopDefaultLegacy (e) { return e && typeof e ===...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'specialchar', 'ru', { options: 'Выбор специального символа', title: 'Выберите специальный символ', toolbar: 'Вставить специальный символ' } );
/** * 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. * * @flow * @format */ 'use strict'; const Platform = require('Platform'); const React = require('React'); const View = require('V...
#! /usr/bin/env python3.7 import random HELP_TEXT = ["!8ball <question>", "Ask the 8ball and get a response."] ANSWERS = [ "It is certain", "It is decidedly so", "Without a doubt", "Yes definitely", "You may rely on it", "As I see it, yes", "Most likely", "Outlook good", "Yes", ...
/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.dialog.add( 'hiddenfield', function( editor ) { return { title: editor.lang.forms.hidden.title, hiddenField: null, minWidt...
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Technische Universität Graz # # invenio-rdm-pure is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """File description.""" import json from os.path import join from typing import List impo...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; var Icon = require('../Icon-399ca71f.js'); var React = require...
/* 活动入口:京东汽车 - 下方 - 一键签到领京豆 先跑积分,不要问为什么分开😂 BY:小埋 一天3次 10 6,10,12 * * * jd_mpdzcar_game.js */ const $ = new Env('头文字J 游戏'); const jdCookieNode = $.isNode() ? require('./jdCookie.js') : ''; const notify = $.isNode() ? require('./sendNotify') : ''; let cookiesArr = [], cookie = '', message = ''; if ($.isNode()) { O...
const { timeToDHMS } = require('../../utils') const config = require('../../config') const { avatar, color, url } = config.embed module.exports = { name: 'ping', alias: ['uptime'], description: "Checks the bot's latency.", execute (message) { const { uptime, ws } = message.client message.reply(':ping_...
import { mount } from 'enzyme' import React from 'react' import Slider from '.' const width = 100 const calcValue = percent => percent * width it('Renders and handles mouse events.', () => { const wrapper = mount( <Slider startLabel="startLabel" endLabel="endLabel" initialPercent={0.5} ...
define({_layout_REGULAR_label:"רגיל",_layout_HOVER_label:"ריחוף",applyTo:"חל על {status}",isolate:"בודד",linkedToAnd:"קשור אל {where1} ואל {where2}",linkedTo:"קשור אל {where}",placeHolderTip:"בחר תבנית כרטיס.",showSelected:"הצג בחירה",_widgetLabel:"כרטיס"});
import React, {memo} from 'react'; import {View, Text, StyleSheet, SafeAreaView} from 'react-native'; import {} from 'react-native-safe-area-context'; const OtherScreens = memo(() => { return ( <View> <Text></Text> </View> ); }); export default OtherScreens; const styles = StyleSheet.create({ con...
import * as React from "react"; function IconArrowCurveRight({ size = 24, color = "currentColor", stroke = 2, ...props }) { return <svg xmlns="http://www.w3.org/2000/svg" className="icon icon-tabler icon-tabler-arrow-curve-right" width={size} height={size} viewBox="0 0 24 24" strokeWidth={stroke} stroke={col...
from celery import app as celery_app
// Camera facing mode = flip mode const FACING_MODE_ENVIRONMENT = "environment"; const FACING_MODE_USER = "user"; let gCurrentCameraFacingMode = FACING_MODE_ENVIRONMENT; // Flip camera const switchCamera = () => { if( gCurrentCameraFacingMode === FACING_MODE_ENVIRONMENT ){ gCurrentCameraFacingMode = FACING_MOD...
from tkinter import Tk,Label import requests from sys import exit from time import perf_counter,ctime btc_price="starting!" eth_price="starting!" def main(): root=Tk() Bitcoin=Label(root,text="bitcoin") Ethereum=Label(root,text="etherum") Btc_Price=Label(root,text=btc_price) Eth_Price=Label...
import eventsEngine from '../../events/core/events_engine'; import { extend } from '../../core/utils/extend'; import { isNumeric, isDefined, isFunction, isString } from '../../core/utils/type'; import browser from '../../core/utils/browser'; import devices from '../../core/devices'; import { fitIntoRange, inRange } fro...
let imagesUploader = function () { const caller = this; this.init = function () { caller.rebindCallback(); }; this.rebindCallback = function () { $('#fileupload').fileupload({ url: 'http://charm.local/admin/services/file/upload', dataType: 'json', su...
// The MIT License (MIT) // // Copyright (c) 2019-2021 Camptocamp SA // // 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 // u...
"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...
//# sourceMappingURL=sim-card-icon.d.js.map
import React from 'react'; import { View, Text, Button, StyleSheet } from 'react-native'; const SupportScreen = () => { return ( <View style={styles.container}> <Text>Support Screen</Text> <Button title="Click Here" onPress={() => alert('Button Clicked!')} /> ...
import { Directive, ElementRef, EventEmitter, Input, Output } from '@angular/core'; import { isPresent, isTrueProperty } from '../../util/util'; /** * \@name Option * \@description * `ion-option` is a child component of `ion-select`. Similar to the native option element, `ion-option` can take a value and a selected ...
const Campground = require("../models/campground.js"); const Comment = require("../models/comment.js"); const middlewareObjects = {}; middlewareObjects.isLoggedIn = function (req,res,next){ if (req.isAuthenticated()){ return next(); } req.flash("error", "You need to be logged in!")...
/** * Controller for kvm window * * @module app/serverControl * @exports kvmWindowController * @name kvmWindowController */ window.angular && (function(angular) { 'use strict'; angular.module('app.serverControl').controller('kvmWindowController', [ '$scope', '$window', 'dataService', function($scope,...
"use strict"; var https = require("https"); var AutoCollectHttpDependencies = require("../AutoCollection/HttpDependencies"); var Logging = require("./Logging"); var QuickPulseConfig = { method: "POST", time: "x-ms-qps-transmission-time", subscribed: "x-ms-qps-subscribed" }; var QuickPulseSender = (function ...
/* * Test. * @author Frank Wood */ describe('Test Suite For SystemStatsActions', function() { var temp1 = { testUrl: '/rest/v1/system/subsystems/base/temp_sensors/base-1', body: { status: { location: 'U1', max: '31500', ...
jst.crdCode = jst.pushModuleCode(function () { /// Canvas render crd this.crd = jst.crd = { board: { width: grid.width + 4.5 + 4.5, height: grid.height }, tris: {}, grid: {}, color: { 0: "grey", 1: "black", 2: "white", 3: "pink", 4: "red", 5: "orange", 6: "yellow", 7: ...
/** * Move to the given selector with an optional offset on a X and Y position * @param {String} selector Element selector * @param {String} x X coordinate to move to * @param {String} y Y coordinate to move to */ export default async (selector, x, y) => { /** * X coordinate * @...
const path = require('path') const { sinon, rewire, expect } = require('test/test-helper') const marketStats = rewire(path.resolve(__dirname, 'market-stats')) describe('cli market market-stats', () => { let opts let logger let rpcAddress let daemonStub let getMarketStatsStub let market let handleE...
import numpy as np from pyESN.pyESN import ESN def MSE(yhat, y, ntargets=1): ''' This function calculates the root mean squared error between a predicted and target vector. Parameters ---------- yhat : numpy array The predicted, approximated, or calculated vector y : numpy array ...
/* Excel web application specific API library */ /* Version: 16.0.6216.3006 */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* Your use of this file is governed by the Microsoft Services Agreement http://go.microsoft.com/fwlink/?LinkId=266419. */ /* * @overview es6-promise - a tiny im...
from pdb import set_trace as T import os from forge.blade.core import config class Config(config.Config): MODELDIR = 'resource/exps' #Where to store models LOAD = True #Load model from file? BEST = True #If loading, most recent or highest lifetime? TEST = True #Update the model during run? NENT = 12...
import React, { forwardRef } from 'react'; import { renderPathForWeight } from '../lib/index.esm.js'; import IconBase from '../lib/IconBase.esm.js'; /* GENERATED FILE */ var pathsByWeight = /*#__PURE__*/new Map(); pathsByWeight.set("bold", function (color) { return React.createElement(React.Fragment, null, React.cre...
/** * 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 * @emails oncall+draft_js * * This file is a fork of DraftEditorBlock.react.js and DraftEditorContents.react....
jQuery.fn.tableToCSV = function() { var clean_text = function(text){ text = text.replace(/"/g, '""'); return '"'+text+'"'; }; $(this).each(function(){ var table = $(this); var caption = $(this).find('caption').text(); var title = []; var rows = []; $(this).find('tr').each(func...
module.exports={A:{A:{"2":"L D H F iB","164":"A B"},B:{"66":"AB","164":"C E d K N I J"},C:{"2":"0 1 2 3 4 6 7 8 9 fB FB G L D H F A B C E d K N I J O P Q R S T U V W X Y Z a b c e f g h i j k l m n o M q r s t u v w x y z JB BB CB DB GB HB ZB YB"},D:{"2":"2 G L D H F A B C E d K N I J O P Q R S T U V W X","66":"0 1 3 4...
import os import secrets import boto3 from botocore.exceptions import ClientError from lambda_python_powertools.logging import ( MetricUnit, log_metric, logger_inject_process_booking_sfn, logger_setup, ) from lambda_python_powertools.tracing import Tracer logger = logger_setup() tracer = Tracer() se...
const data = { name: "nnh", likelySubtags: { nnh: "nnh-Latn-CM" }, identity: { language: "nnh" }, territory: "CM", numbers: { symbols: { decimal: ",", group: ".", list: ";", percentSign: "%", plusSign: "+", ...
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'link', 'bg', { acccessKey: 'Клавиш за достъп', advanced: 'Разширено', advisoryContentType: 'Тип на съдържанието', adv...
module.exports={A:{A:{"1":"E A B","2":"I D F nB"},B:{"1":"C O H P J K L Z MB M N S T U V W"},C:{"1":"0 1 2 3 4 5 6 7 8 9 mB cB G a I D F E A B C O H P J K L b c d e f g h i j k l m n o p q r s t u v w x y z AB BB CB DB EB FB GB SB IB JB KB LB R NB OB PB QB HB Y XB TB UB VB WB RB Z MB M lB N S T U V uB xB"},D:{"1":"0 1 ...
module.exports = (options, req) => ({ entry: './src/index.js', html: { title: 'Project Wyvern', description: 'Decentralized digital asset exchange protocol. Exchange any asset representable on the Ethereum blockchain, from virtual kittens to smart contracts. Autonomously governed by the Wyvern DAO.', te...
/// Copyright (c) 2009 Microsoft Corporation /// /// 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 conditions and ///...
/** * 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. * */ // Do not require this module directly! Use normal `invariant` calls with // template literal strings. The messages will be rep...
/** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v23.0.2 * @link http://www.ag-grid.com/ * @license MIT */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics ...
#!/usr/bin/env python """ This is a utility for getting the friend-of-a-friend network for a given twitter user. The network is expressed as tuples of user identifiers for the user and their friend (who they follow). User identifiers are used rather than the handles or screen_name, since the handles can change, and...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
'use strict'; const elasticApi = require('@terascope/elasticsearch-api'); const { DataEntity } = require('@terascope/job-components'); function newReader(opConfig, client) { const queryConfig = Object.assign({}, opConfig, { full_response: true }); return (msg, logger) => { const elasticsearch = elast...
import React from 'react' import ReactDOM from 'react-dom' import './index.css' import App from './components/App' import {createStore} from 'redux' import {Provider} from 'react-redux' import reducer from './reducers' import middleware from './middleware' const store = createStore(reducer, middleware) ReactDOM.rende...
import torch from distseq.training.ops.pytorch.builder import AdamBuilder fused_adam_cuda = None class LSAdam(torch.optim.Optimizer): """ Modified from Fairseq and Use LightSeq adam kernel. Arguments: params (iterable): iterable of parameters to optimize or dicts defining parameter ...
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Unit tests for KinwaveImplicitOverlandFlowModel. Created on Sat Apr 1 10:49:33 2017 @author: gtucker """ from landlab import RasterModelGrid from landlab.components import KinwaveImplicitOverlandFlow from nose.tools import assert_equal from numpy.testing import ass...
""" E3DC Library for Python Python class to connect to an E3/DC system through the internet portal Copyright 2017 Francesco Santini <francesco.santini@gmail.com> Licensed under a MIT license. See LICENSE for details """ from ._e3dc import E3DC, AuthenticationError, PollError from ._e3dc_rscp_web impo...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Body = Matter.Body; let engine; let world; var ball; var ground; var rock; var wall; function setup() { createCanvas(400,400); engine = Engine.create(); world = engine.world; var ball_options = { restitutio...
s = raw_input() count = 0 for c in s: if c in ['a', 'e', 'i', 'o', 'u']: count += 1 print "Number of vowels:", count
const nodemailer = require('nodemailer'); const mongoose = require('mongoose'); const chalk = require('chalk'); const config = require('../config/config'); const mg = require('../lib/services/mongoose'); const transporter = nodemailer.createTransport(config.mailer.options); const link = 'reset link here'; // PUT reset...
#!/usr/bin/env node require('dotenv').config(); const express = require('express'); const bodyParser = require('body-parser'); const hbs = require('hbs'); const path = require('path'); const config = require('./config'); const selectedDatastore = require('./models/datastores').autoselect(); const bodyJsonParser = bo...
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (config) { return (0, _postcssFunctions2.default)({ functions: { config: (path, defaultValue) => { return _lodash2.default.get(config(), _lodash2.default.trim(path, `'"`), defaultValue); ...
const express = require('express'); const routes = express.Router(); const instructors = require('./app/controllers/instructors'); const members = require('./app/controllers/members'); routes.get('/', function(req, res) { return res.redirect("/instructors"); }) routes.get('/instructors', instructors.index) route...
var pl = { loggedIn: undefined, token: null, account: null, basePath: "", getToken: function() { var token = window.localStorage.getItem("token"); if (token == null) { token = pl.token; } return token; }, setToken: function(token) { window.localStorage.setItem("token", token); ...
import React, { useCallback, useEffect, useState } from "react"; import styled from "styled-components"; import { getBorder } from "../../../app/theme"; import { Icon } from "../../../base"; import PathoscopeList from "./List"; import Mapping from "./Mapping"; import PathoscopeToolbar from "./Toolbar"; const StyledPat...
# -*- coding: utf-8 -*- """ Created on Mon Nov 18 22:12:17 2019 @author: Petronium """ import pandas as pd from sklearn.preprocessing import MinMaxScaler from sklearn.metrics import mean_absolute_error from keras.models import load_model from sklearn.externals import joblib import seaborn as sns import matplotlib.pypl...
# Source SOURCE_TYPE_NAME = 'mongodb' # Service check SERVICE_CHECK_NAME = 'mongodb.can_connect' # Replication states """ MongoDB replica set states, as documented at https://docs.mongodb.org/manual/reference/replica-states/ """ REPLSET_MEMBER_STATES = { 0: ('STARTUP', 'Starting Up'), 1: ('PRIMARY', 'Primary'...
import numpy as np from numpy import atleast_2d import numpy.ma as ma # Todo: Take desispec.Spectra as input, propagate masks, add checks. # add various kinds of normalization, mean, median, etc. def normalize(flux, ivar, mask=None, method="median"): """Normalize the flux and ivar arrays using various methods. ...
import { queryRule, removeRule, addRule } from '../services/api'; export default { namespace: 'rule', state: { data: { list: [], pagination: {}, }, }, effects: { *fetch({ payload }, { call, put }) { const response = yield call(queryRule, payload); yield put({ type:...
new Crawler({ appId: "", apiKey: "", rateLimit: 8, startUrls: [ "https://entgo.io/docs/", "https://entgo.io/", "https://entgo.io/docs/getting-started/", ], renderJavaScript: false, sitemaps: ["https://entgo.io/docs/sitemap.xml"], exclusionPatterns: [], ignoreCanonicalTo: true, discoveryP...
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("rxjs"),require("rxjs/operators"),require("@fortawesome/angular-fontawesome"),require("@fortawesome/fontawesome-svg-core"),require("@fortawesome/free-solid-svg-icons"),require("@fort...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, DDoSProtection, OrderNotFound } = require ('./base/errors'); // --------------------------------------------------------------------------- module.expor...
require('babel-polyfill'); // Webpack config for development var fs = require('fs'); var path = require('path'); var webpack = require('webpack'); var assetsPath = path.resolve(__dirname, '../static/dist'); var host = (process.env.HOST || 'localhost'); var port = (+process.env.PORT + 1) || 3001; // https://github.com...
from abc import ABC, abstractmethod import functools from typing import Iterable, Tuple import rlp from cytoolz import ( first, sliding_window, ) from eth_utils import ( encode_hex, to_tuple, ValidationError, ) from eth_typing import ( Hash32, BlockNumber, ) from eth.constants import ( ...
import React, { useMemo } from 'react'; import { TouchableOpacity } from 'react-native'; import { formatRelative, parseISO } from 'date-fns'; import pt from 'date-fns/locale/pt'; import Icon from 'react-native-vector-icons/MaterialIcons'; import api from '~/services/api'; import Background from '~/components/Backgrou...
import React from 'react' import PropTypes from 'prop-types' import clsx from 'clsx' import { makeStyles } from '@krowdy-ui/core' import Column from './Column' import Price from './Price' import Count from './Count' const groupByObject = function(array, prices, keyGetter = (x) => x) { return array.reduce((resultObje...
function findVideos(){for(var e=document.querySelectorAll(".video"),t=0;t<e.length;t++)setupVideo(e[t])}function setupVideo(e){var t=e.querySelector(".video__link"),r=e.querySelector(".video__media"),i=e.querySelector(".video__button"),o=parseMediaURL(r);e.addEventListener("click",function(){var r=createIframe(o);e.rem...
'use strict'; let assert = require('chai').assert; let Promise = require('bluebird'); let serverAmorphic = require('../../dist/index.js'); let sinon = require('sinon'); let axios = require('axios'); let fs = require('fs'); let path = require('path'); let amorphicContext = require('../../dist/lib/AmorphicContext'); des...
import $ from 'jquery'; import whatInput from 'what-input'; window.$ = $; import Foundation from 'foundation-sites'; // If you want to pick and choose which modules to include, comment out the above and uncomment // the line below //import './lib/foundation-explicit-pieces'; $(document).foundation(); import './bui...
import React from 'react' import Menu from './Menu' const Old = () => ( <div> <Menu /> <div className='center'> <h1>You seems a very old boy 👴</h1> </div> </div> ) export default Old
import React from 'react'; import ReactDOM from 'react-dom'; import HorizontalTimelineContent from './HorizontalTimelineContent'; import GameInfo from '../resources/content'; // Directly importing the minified bootstrap css to avoid all the painful // steps it will take otherwise to get it to work. import '../../node...
/* eslint-disable max-lines */ /** * @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/LICE...
import { inputText } from 'actions/dev'; export default { name: 'LogIn-Email Fail (Async)', actions: [ ...inputText('login', 'email-sign-in-email', 'mother fucker', 500) ] };
import React from "react"; import { MobileScreenOn, setHideBodyOverflow } from "./Utils"; function setCookie(name, value, options = {}) { options = { path: '/', // при необходимости добавьте другие значения по умолчанию ...options }; if (options.expires instanceof Date) { options.expires = opti...
(function (angular) { 'use strict'; angular.module('oc.lazyLoad').config(["$provide", function ($provide) { $provide.decorator('$ocLazyLoad', ["$delegate", "$templateCache", "$q", "$http", function ($delegate, $templateCache, $q, $http) { /** * templatesLoader function ...
from django.test import RequestFactory, TestCase from django.test.client import WSGIRequest from typing import Optional from time import sleep from .models import Page from .services import increment_show_counter class PageListTestCase(TestCase): def test_pages_smoke(self): response = self.client.get('/pa...
from django import forms from django.utils.translation import ugettext_lazy as _ from localflavor.de.forms import DEZipCodeField from postal.forms import PostalAddressForm class DEPostalAddressForm(PostalAddressForm): line1 = forms.CharField(label=_(u"Street"), max_length=100) city = forms.CharField(label=_(u...
import isNull from 'Framework/TypeChecks/isNull'; export default describe("Framework/TypeChecks/isNull", function() { //TRUE it("should return true if argument is null", function() { expect(isNull(null)).toBe(true); }); //FALSE it("should return false if argument is a function", function() { expect(i...
import React, {useState,useEffect} from "react"; import {axiosWithAuth} from "../utils/axiosWithAuth"; import { Link } from 'react-router-dom'; import { StudentListDiv, StudentListItem, SmallBlueButton, BigBlueButton1 } from './styles'; const YourStudents = () => { const [students, setStudents] = useState([]); ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[80],{214:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return i})),n.d(t,"metadata",(function(){return c})),n.d(t,"rightToc",(function(){return s})),n.d(t,"default",(function(){return l}));var r=n(2),a=n(9),o=(n(0),n(223)),i={id:"jwks",title:"JS...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var src_1 = require("../../../../src"); var src_2 = require("../../../../src"); var src_3 = require("../../../../src"); var User = /** @class */ (function () { function User() { } tslib_1.__decorate(...
import Icon from '../components/Icon.vue' Icon.register({"touch_app":{"width":24,"height":24,"paths":[{"d":"M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.54-2.26c-.17-.07-.35-.11-.54-.11H13v-6c0-.83-.67-1.5-1.5-1.5S...
#!/usr/bin/env python from uuid import uuid4 from hashlib import md5 from re import split from contextlib import contextmanager from os import makedirs from os.path import dirname,exists,abspath from hashlib import sha1 from io import BytesIO from urllib.request import urlopen from random import random from datetime i...
!function(A,B){"object"==typeof exports&&"object"==typeof module?module.exports=B():"function"==typeof define&&define.amd?define([],B):"object"==typeof exports?exports.mcl=B():A.mcl=B()}(self,(function(){return A={873:(A,B,g)=>{const I=g(970),Q=g(472),C=window.crypto||window.msCrypto,E=Q(I,(A=>C.getRandomValues(A)));A....
import sqlparse as sp def parse_statements(stmts): return [parse_statement(stmt) for stmt in stmts] def parse_statement(statement): stmt = sp.parse(statement)[0] tokens = [t for t in stmt.tokens if not token.is_whitespace() and token._get_repr_name() != 'Comment'] functions = {} for t...
import React, { useState, Fragment } from "react"; import { Container, Form, Row, Col, Button, Spinner, Toast, ProgressBar, Image, Alert, } from "react-bootstrap"; import { CLASSIFY_ENDPOINT, FACE_ALIGN_ENDPOINT, } from "../constants/APIEndpoints"; import axios from "axio...
import seldom class BaiduTest(seldom.TestCase): """ * start_class/end_class * start/end """ @classmethod def start_class(cls): print("test class start") cls.max_window() @classmethod def end_class(cls): print("test class end") def start(self): pri...
const assert = require('assert'); const async = require('async'); const withV4 = require('../support/withV4'); const BucketUtility = require('../../lib/utility/bucket-util'); const { removeAllVersions, versioningEnabled, versioningSuspended, } = require('../../lib/utility/versioning-util.js'); const { taggi...
import React from 'react' import ContactHeader from '../components/ContactHeader.jsx' import ContactForm from '../components/ContactForm.jsx' export default class Index extends React.Component { render () { return ( <div> <ContactHeader /> <ContactForm /> </div> ) }...
/* Prototype JavaScript framework, version 1.6.0 * (c) 2005-2007 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://www.prototypejs.org/ * *--------------------------------------------------------------------------*/ ...
macDetailCallback("4c734f000000/24",[{"d":"2022-01-26","t":"add","s":"ieee-oui.csv","a":"1133 Innovation Way Sunnyvale CA US 94089","c":"US","o":"Juniper Networks"}]);
# -*- coding: utf-8 -*- # pylint: disable=invalid-name # Import python libs from __future__ import absolute_import import time # Import Salt Testing libs from tests.support.case import ShellCase from tests.support.helpers import flaky, dedent from tests.support.mixins import ShellCaseCommonTestsMixin from tests.suppo...
/* jquery.paginate ^^^^^^^^^^^^^^^ Description: Add a pagination to everything. Version: Version 0.3.0 Author: Kevin Eichhorn (https://github.com/neighbordog) */ (function( $ ) { $.paginate = function(element, options) { /* #Defaults */ var defaults = { ...