text
stringlengths
3
1.05M
import React, { useEffect, useState } from 'react'; import { connect } from 'unistore/react'; import Button from '../common/Button'; import DeleteConfirmButton from '../common/DeleteConfirmButton'; import ListItem from '../common/ListItem'; import Text from '../common/Text'; import { selectConnectionId, deleteConne...
import { ActionTypes } from './createStore'; import isPlainObject from 'lodash-es/isPlainObject'; import warning from './utils/warning'; function getUndefinedStateErrorMessage(key, action) { var actionType = action && action.type; var actionName = actionType && '"' + actionType.toString() + '"' || 'an action'; ...
/* * Copyright 2020 Bitnine 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 agre...
$(document).ready(function(){ function boldCategory(info,keyword){ let lowInfo = info.toLowerCase() let lowWord = keyword.toLowerCase() let index = lowInfo.indexOf(lowWord) let prev = info.slice(0,index) let mid = info.slice(index,index+keyword.length) let after = ...
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: dorefa.py # Author: Yuxin Wu <ppwwyyxxc@gmail.com> import tensorflow as tf from tensorpack.utils.argtools import graph_memoized @graph_memoized def get_dorefa(bitW, bitA, bitG): """ return the three quantization functions fw, fa, fg, for weights, activati...
# -*- coding: utf-8 -*- import argparse from plp_platform import * import os import os.path import time import runner.plp_flash_stimuli as plp_flash_stimuli def execCmd(cmd): print ('Executing command: ' + cmd) return os.system(cmd) class Runner(Platform): def __init__(self, config, js_config): ...
const Button = ({ bg, textColor, label, type,borderColor,...props }) => { return ( <button className={`custom-btn ${ bg === "primary" ? "bg-primary" : bg === "white" ? "bg-white" : "bg-grey-dark" } ${ textColor === "primary" ? "text-primary" : textColor === "white" ? "text-white...
# -*- coding: utf-8 -*- #!/usr/bin/env python # # Copyright 2007 Google 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 requ...
export { Container, RawContainer, Columns, Columns as Row, AutoAdjustedColumns, AutoAdjustedColumns as AutoAdjustedRow, Col, } from './Grid';
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var n=t&&t.__esModule?function(){return ...
const [num] = [1, 2, 3] const user = { address: { street: '1234', }, } const street = user?.address?.street export { num, user, street }
// Copyright 2013 Google Inc. All Rights Reserved. // You may study, modify, and use this example for any purpose. // Note that this example is provided "as is", WITHOUT WARRANTY // of any kind either expressed or implied. var adsManager; var adsLoader; var adDisplayContainer; var intervalTimer; var playButto...
webpackJsonp([107],{1058:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("i-article",[n("article",[n("h1",[t._v("iView Logo 设计思路")]),t._v(" "),n("div",{staticClass:"case-logo"},[n("img",{attrs:{src:i(790)}})])])])},a=[...
#!/usr/bin/env python # -*- coding: utf-8 -*- """conv.py""" # pylint: disable=protected-access, consider-using-enumerate, too-many-lines # # Authors: Chiheb Trabelsi from keras import backend as K from keras import activations, initializers, regularizers, constraints from keras.layers import ( Layer, InputSpe...
'use strict'; const chai = require('chai'), expect = chai.expect, Support = require('./support'), Sequelize = Support.Sequelize, cls = require('cls-hooked'), current = Support.sequelize, delay = require('delay'); if (current.dialect.supports.transactions) { describe(Support.getTestDi...
import React from "react"; import { act } from "react-dom/test-utils"; import { render, unmountComponentAtNode } from "react-dom"; import * as Helper from './helper'; describe("Testing Footer Helpers:", () => { let container = null; beforeEach(() => { container = document.createElement("div"); ...
import React from 'react'; import Tour from './Tour'; const Tours = ({ tours, removeTour }) => { return <section> <div className="title"> <h2>our tours</h2> <div className='underline'> </div> <div> {tours.map((tour) => { r...
/*! * filename: ej.dropdowntree.min.js * version : 19.4.0.55 * Copyright Syncfusion Inc. 2001 - 2022. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosec...
# Variables defined in this file will be passed to the 'config' attribute of the # Flask instance used by the Dash app. Any values corresponding to Dash # keword arguments will be passed They must be in UPPER CASE in order to take effect. For more information see # http://flask.pocoo.org/docs/config. # Your App's titl...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
/* Hyperspace by HTML5 UP html5up.net | @n33co Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ (function($) { skel.breakpoints({ xlarge: '(max-width: 1680px)', large: '(max-width: 1280px)', medium: '(max-width: 980px)', small: '(max-width: 736px)', xs...
/** * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /* globals document, Event, console */ import ClassicEditorUI from '../src/classiceditorui'; import ClassicEditorUIView from '../src/class...
# # 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 # ...
"use strict"; ace.define("ace/snippets/ada", ["require", "exports", "module"], function (e, t, n) { "use strict"; t.snippetText = undefined, t.scope = "ada"; });
from urllib.parse import parse_qs from sanic import Blueprint, exceptions, response from sanic.log import logger from sanic_ext import openapi from .. import models, settings, utils blueprint = Blueprint("shortcuts", url_prefix="/") @blueprint.get(r"/images/<template_id:[^.]+>") @openapi.summary("Redirect to an ex...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("v...
# -*- coding: utf-8 -*- # # 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 #...
const { events, emitter, wireEvents } = require("../events"); const onSendSms = require("../events/handlers/sms/onSendSms"); const onSmsSent = require("../events/handlers/sms/onSmsSent"); const onError = require("../events/handlers/error/onError"); module.exports.handle = (event, _context, callback) => { const { sms...
# import os # os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import numpy as np import split_acti import tensorflow import csv import time from numpy.random import seed import pickle from sklearn.metrics import accuracy_score from keras.models import load_model if __name__ == '__main__': seed(2020) ...
#quest by zerghase import sys from com.l2jserver import Config from com.l2jserver.gameserver.model.quest import State from com.l2jserver.gameserver.model.quest import QuestState from com.l2jserver.gameserver.model.quest.jython import QuestJython as JQuest qn = "43_HelpTheSister" COOPER=30829 GALLADUCCI=30097 CRAFTE...
let emp = { id: "E_01", name: "Jack", age: 32, addr: "India", }; let job = { title: "Software Dev", location: "Paris", }; console.log("Object assign", Object.assign({}, emp, job));
"""Local HDF5 Backend Implementation, Identifier: ``HDF5_01`` Backend Identifiers =================== * Backend: ``0`` * Version: ``1`` * Format Code: ``01`` * Canonical Name: ``HDF5_01`` Storage Method ============== * This module is meant to handle larger datasets which are of fixed size. IO and significa...
import express from 'express'; import path from 'path'; import logger from 'morgan'; import bodyParser from 'body-parser'; import http from 'http'; import socketIO from 'socket.io'; import config from 'config'; import dbSetup from './server/dbSetup'; import * as api from './server/api/http'; import * as eventService f...
(self.webpackChunkopentezos=self.webpackChunkopentezos||[]).push([[6318],{3905:function(e,t,n){"use strict";n.d(t,{Zo:function(){return p},kt:function(){return m}});var o=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n...
/** * @fileoverview Rule to flag use of an empty block statement * @author Nicholas C. Zakas */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const astUtils = ...
import { ethers } from "ethers"; import invariant from "tiny-invariant"; import ERC20Abi from "./ERC20Abi"; import { signPermit } from "./permits"; import { uncapitalize, validateAddress, } from "./utils"; import addressesMainnet from "@eulerxyz/euler-interfaces/addresses/addresses-mainnet.json"; import addressesR...
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import pandas as pd import numpy as np from reco_utils.common.constants import ( DEFAULT_USER_COL, DEFAULT_ITEM_COL, DEFAULT_RATING_COL, DEFAULT_LABEL_COL ) def user_item_pairs( user_df, item_df, ...
/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undef...
''' Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. Example 1: Given nums = [1,1,2], Your function shoul...
function pairs(arr) { let searchKey = arr.pop() let result = {} for (let i = 0; i < arr.length; i++) { let token = arr[i].split(' ') let key = token[0] let value = token[1] result[key]=value } if(result.hasOwnProperty(searchKey)){ console.log(result[searchKe...
// jshint esversion: 6, es3: false, node: true import {assert, expect} from 'chai'; import * as url from 'src/url'; import {spec} from 'modules/seedingAllianceBidAdapter'; import { NATIVE } from 'src/mediaTypes'; import { config } from 'src/config'; describe('SeedingAlliance adapter', function () { let serverRespons...
'use strict'; goog.provide('grrUi.hunt.huntOverviewDirective.HuntOverviewController'); goog.provide('grrUi.hunt.huntOverviewDirective.HuntOverviewDirective'); goog.scope(function() { /** * Controller for HuntOverviewDirective. * * @constructor * @param {!angular.Scope} $scope * @param {!grrUi.core.apiService....
(function(){ "use strict" const addOne = function(testCases, numbers) { if (numbers.length !== testCases){ return "Error: number of testcases expected is "+testCases+"; number of numbers given is "+numbers.length; } var outputs = []; for (var i = 0; i < testCases; i++) { outputs[i] = 0; } var lastDigit = 0...
import os import random import socket import datetime from CustomThreads.groups import parametres par = parametres() BUFFER_SIZE_REQUEST_MESSAGES = par.BUFFER_SIZE_REQUEST_MESSAGES IP_LOG = par.IP_LOG PORT_LOG = par.PORT_LOG CHAR_LOG_DATA_SPLIT = par.CHAR_LOG_DATA_SPLIT CHAR_LOG_MSG_SPLIT = par.CHAR_LOG_MSG_SPLIT ...
/*! * Vue.js v2.1.8 * (c) 2014-2016 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory());...
// Miscellaneous early setup. $(function () { if (util.is_mobile()) { // Disable the tutorial; it's ugly on mobile. page_params.needs_tutorial = false; } page_params.page_load_time = new Date().getTime(); // Display loading indicator. This disappears after the first // get_events...
# -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # # Copyright 2018-2019 Fetch.AI Limited # # 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 ...
import Redis from 'ioredis'; import config from '../config'; const redis = new Redis(config.cache.uri); redis.defineCommand('rateLimit', { numberOfKeys: 2, lua: ` local requestsPerDay = tonumber(ARGV[1]) local microsecondsPerDay = 24 * 60 * 60 * 1000 * 1000 local requestsPerMicrosecond = requestsPerDay / mic...
import './polyfills'; import loadReact from './react-loader'; loadReact() .then(() => import('./components/App')) .then(App => { const {React, ReactDOM} = window; ReactDOM.render( React.createElement(App.default), document.getElementById('root') ); });
/*! For license information please see index.js.LICENSE.txt */ var t = { 629: (t) => { function e(t) { return !0; } t.exports = function (t, n) { var r = []; n = n || e; do { r.push(t), (t = t.parentNode); } while (t && t.tagName && n(t)); ...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
const express = require("express"); const bodyParser = require("body-parser"); const app = express(); app.use(bodyParser.json()); app.get("/", (req, res) => { res.json(); }); app.listen(process.env.PORT, "0.0.0.0"); module.exports = (bot) => { app.post("/" + bot.token, (req, res) => { bot.processUpdate(req....
Ext.define('ConfApp.view.main.Main', { extend: 'Ext.container.Container', requires: [ 'ConfApp.view.speakerlist.SpeakerList', ], xtype: 'app-main', controller: 'main', viewModel: { type: 'main' }, //listeners: { // afterrender: function() { // consol...
"use strict"; import React from "react"; import { Table } from "./Table"; export class Department_1 extends React.Component { constructor () { super (); this.state = { view:false }; this.viewDepart = this.viewDepart.bind(this) } viewDepart() { this.setSt...
/* YUI 3.17.0 (build ce55cc9) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('dataschema-array', function (Y, NAME) { /** * Provides a DataSchema implementation which can be used to work with data * stored in arrays. * * @module dataschema...
/*! layPage v1.2 - 分页插件 By 贤心 http://sentsin.com/layui/laypage MIT License */ ; !function () { "use strict"; function a(d) { var e = "laypagecss"; a.dir = "dir"in a ? a.dir : f.getpath + "/skin/laypage.css", new f(d), a.dir && !b[c](e) && f.use(a.dir, e) } var b, c, d, e, f; a.v = ...
import React from 'react'; import {IconContext} from 'react-icons/lib'; import {Link} from 'react-router-dom'; import './Points.css'; import { useTranslation } from 'react-i18next'; function Points() { const {t, i18n} = useTranslation(); return ( <IconContext.Provider value={{color:'#fff', size: 64}}...
import moment from 'moment-timezone' import { getLanguage } from './language' export let rfc3339 = 'YYYY-MM-DDTHH:mm:ssZ' export let mmddyyyy = 'MM/DD/YYYY' export let yyyymmdd = 'YYYY/MM/DD' export let ddmmyyyy = 'DD/MM/YYYY' export let defaultFormat = () => { if (getLanguage() == 'en-US') { return mmddyyyy ...
""" Kit configuration programming protocol layer This protocol is used in manufacturing to provision Curiosity Nano kits. It is not intended for end-user usage - for kit customisation use the pydebuggerconfig package. """ from .dapwrapper import DapWrapper from ..util.chopper import DataChopper from ..util.binary impor...
/** * @license * Visual Blocks Editor * * Copyright 2011 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
const express = require('express') const bodyParser = require('body-parser') const cookieParser = require('cookie-parser') const app = express() app.use(bodyParser.json()) app.use(bodyParser.urlencoded({ extended: true })) app.use(cookieParser()) const router = express.Router() const cors = { 'Access-Control-Allo...
import unittest import princesses_and_dragons # input vs expected output for testing test0 = [6, ('d',10),('d',12),('p',2),('d',1),('p',2)] output0 = (13, 2, [3,5]) test1 = [6, ('d',10),('d',12),('p',2),('d',1),('p',3)] output1 = (-1, 0, None) test2 = [8, ('d',10),('p',2),('p',2),('p',2),('p',2),('d',12),('p',2)] ou...
/* global jQuery */ /* eslint-disable valid-typeof */ (function($) { /** * Generate an indented list of links from a nav. Meant for use with panel(). * @return {jQuery} jQuery object. */ $.fn.navList = function() { var $this = $(this); var $a = $this.find("a"); var b = []; $a.each(fun...
exports.install = function (Vue, options) { var axios = require('axios') var config = require('./config') const Axios = axios.create(config.axios) Vue.prototype.$axios = {get: Axios.get, post: Axios.post} }
#!/usr/bin/python3 ''' Lists all states from a given database starting with N ''' import MySQLdb from sys import argv if __name__ == "__main__": connection = MySQLdb.connect(host="localhost", port=3306, charset="utf8", user=argv[1], passwd=argv[2], db=argv[3]) cursor = conne...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // 변수나 함수를 export하기 위해서 export 키워드를 앞에 붙여주면 됩니다. // 다른 방법으로는 일단 함수나 변수, 클래스를 작성한 다음 한 번에 export하는 방법이 있습니다. var var1 = 1000; function add(a, b) { return a + b; } exports.var1 = var1; exports.add = add;
import logo from "./logo.svg"; import "./App.css"; function App() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <p> Edit <code>src/App.js</code> and save to reload the page. </p> <a cla...
(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{292:function(e,n,o){"use strict";o.r(n);var r=o(0),t=Object(r.a)({},function(){var e=this,n=e.$createElement,o=e._self._c||n;return o("div",{staticClass:"content"},[e._m(0),e._v(" "),o("p",[e._v("Docker Enterprise Edition for Windows Server (Docker EE) enables n...
import PLACED_ANNOTATION from './placed_annotation_24px.svg'; import CLOSE from './close.svg'; export const ICON_PLACED_ANNOTATION = PLACED_ANNOTATION; export const ICON_CLOSE = CLOSE;
# """ Code to create CRDS reference files for the distortion of the MIRI Imager using IDT reference files delivered with CDP-7: MIRI_FM_MIRIMAGE_DISTORTION_07.04.01.fits MIRI Imager uses 2 reference files of type: DISTORTION FILTEROFFSET In this version the CDP file goes from 0-indexed science pixels (0,0) in the m...
/* jslint node: true */ 'use strict'; var WORD_RE = /([^ ,\/!.?:;\-\n]*[ ,\/!.?:;\-]*)|\n/g; // /\S*\s*/g to be considered (I'm not sure however - we shouldn't split 'aaa !!!!') var LEADING = /^(\s)+/g; var TRAILING = /(\s)+$/g; /** * Creates an instance of TextTools - text measurement utility * * @constructor * @pa...
import gameConfig from 'configs/gameConfig'; import createNoteMap from 'utils/createNoteMap'; import getFunctionUsage from 'utils/getFunctionUsage'; const createMusicAnalyzer = function createMusicAnalyzerFunc() { const state = {}; // let dataArray; let vis; const width = gameConfig.GAME.VIEWWIDTH; ...
import mongoose from 'mongoose'; import Handlebars from 'handlebars'; import logger from '../logs'; const { Schema } = mongoose; const mongoSchema = new Schema({ name: { type: String, required: true, unique: true, }, subject: { type: String, required: true, }, message: { type: Strin...
const cmmn = require('./cmmn'); const Dtb = require("nvdtb").Cudtb const ERROR_DICT = { internal_tag:new Error("@controller@,@agregator@,@cycler@ are internal Tag!!!"), duplidate_tag:new Error("duplicate Tag, change another one!!") } function check_tag(sdfs) { let tags = sdfs.map(r=>r.tag); let st =...
import recordEvent from 'platform/monitoring/record-event'; import { fetchInstitutions, trackingPrefix } from '../helpers'; export const INSTITUTION_SELECTED = 'INSTITUTION_SELECTED'; export const LOAD_SCHOOLS_STARTED = 'LOAD_SCHOOLS_STARTED'; export const LOAD_SCHOOLS_SUCCEEDED = 'LOAD_SCHOOLS_SUCCEEDED'; export con...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
import path from 'path' console.log('Hello Friends 🦄')
class PReLU(tfb.Bijector): def __init__(self, alpha=0.5, validate_args=False, name="p_relu"): super(PReLU, self).__init__( forward_min_event_ndims=0, validate_args=validate_args, name=name) self.alpha = alpha def _forward(self, x): return tf.where(tf....
require('./bootstrap'); import VueRouter from 'vue-router' import router from './routes' import Vuex from 'vuex' import Index from './Index' import moment from 'moment' import StarRating from './shared/components/StarRating' import FatalError from './shared/components/FatalError' import ValidationErrors from './shared...
import { test } from 'qunit'; import moduleForAcceptance from 'gooru-web/tests/helpers/module-for-acceptance'; import { authenticateSession } from 'gooru-web/tests/helpers/ember-simple-auth'; //import T from 'gooru-web/tests/helpers/assert'; moduleForAcceptance('Acceptance | study-player', { beforeEach: function() {...
''' Horizontal shearing of a 3D bar that is made up of incompressible hyperelastic material. Dirichlet boundary conditions of zero displacements are prescribed on the bottom face. Neumann boundary conditions of uniform x-axis traction are prescribed on the top face. Displacement field measurements are taken on the top...
var searchData= [ ['h5vl_5fxtc_5fg',['H5VL_xtc_g',['../xtc__vol_8c.html#a7b7721264f45ce73c3376457bd05f413',1,'H5VL_xtc_g():&#160;xtc_vol.c'],['../xtc__vol_8h.html#a7b7721264f45ce73c3376457bd05f413',1,'H5VL_xtc_g():&#160;xtc_vol.c']]] ];
"use strict"; /** * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * * @typechecks * * @format */ /*eslint-disable no-bitwise */ /** * Based on the rfc4122-compliant solution posted at * http://stackoverflow.com/questions/105034 */ function uuid() { return 'xxxxxxxx-xxxx-4xxx-yxxx...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import i18n from 'i18next'; import { Flex } from '../flex'; import ImageMapList from './ImageMapList'; import { CommonButton } from '../common'; import Icon from '../icon/Icon'; class ImageMapHeaderToolbar extends Component { static propTy...
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
var landmark = require('landmark-serve'), _ = require('underscore'), Types = landmark.Field.Types; /** * Location Model * ============= */ var Location = new landmark.List('Location', { map: { name: 'commonName' }, autokey: { path: 'slug', from: 'commonName', unique: true } }); Location.add({ commonName: {...
module.exports={A:{A:{"2":"J D E F A B rB"},B:{"1":"K L G M N O P Q R S V W X Y Z a b c d e f g T h H","2":"C"},C:{"1":"2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB hB NB iB OB PB U QB RB SB TB UB VB WB XB YB ZB aB bB cB dB P Q R jB S V W X Y Z a b c d e f g T h H kB","2":"sB gB I i J D E F A B C K L G M N O ...
/** * 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. * * @format ...
const { extendType, nonNull, objectType, stringArg } = require('nexus'); const Category = objectType({ name: 'Category', definition(t) { t.model.id(); t.model.category(); t.model.createdAt(); }, }); const addCategoryQueries = extendType({ type: 'Query', definition(t) { t.crud.category(); ...
/******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "./node_modules/alpinejs/dist/module.esm.js": /*!**************************************************!*\ !*** ./node_modules/alpinejs/dist/module.esm.js ***! \**************************************************/...
import initialState from "./initialState"; const kinds = (state, action) => { const payload = action.payload; if (state === undefined) { return initialState.kind; } switch (action.type) { case 'SET_KIND': return { ...state, ...payload ...
import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; const BugFill = forwardRef(({ color, size, ...rest }, ref) => { return ( <svg ref={ref} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {...rest}...
from django import test as django_test from django.contrib.auth.models import User from django.core.handlers.wsgi import WSGIRequest from rest_framework import generics, authentication, permissions, status, serializers from testapp import models from djet import assertions, files, restframework as djet_restframework ...
const { bootstrapL1 } = require('../utils/bootstrap'); const { itCanExchange } = require('../behaviors/exchange.behavior'); const { itCanMintAndBurn } = require('../behaviors/stake.behavior'); const { itBehavesLikeAnERC20 } = require('../behaviors/erc20.behavior'); describe('Synthetix integration tests (L1)', () => { ...
import { ShaderChunk } from './ShaderChunk'; import { UniformsUtils } from './UniformsUtils'; import { Vector3 } from '../../math/Vector3'; import { UniformsLib } from './UniformsLib'; import { Color } from '../../math/Color'; var ShaderLib; /** * Webgl Shader Library for three.js * * @author alteredq / http://alt...
// !DOM ELEMENTS var generateBtn = document.querySelector("#generate"); var lengthValue; var upperValue; var lowerValue; var numberValue; var specialValue; // Grabbing from .html page function writePassword() { var password = generatePassword(); var passwordText = document.querySelector("#password"); passwordTe...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'list', 'lv', { bulletedlist: 'Pievienot/Noņemt vienkāršu sarakstu', numberedlist: 'Numurēts saraksts' } );
class Solution(object): def addBinary(self, a, b): """ :type a: str :type b: str :rtype: str """ l1 = len(a) l2 = len(b) mx = max(l1, l2) cnt = 0 ans = "" carry = 0 while cnt < mx: na = 0 nb = 0 ...
import React from "react"; import { Link } from "gatsby" import Header from "../components/header-w"; export default () => ( <div className="Wrapper-Worklist"> <Header /> <div className="FeatureProject"> <section className="HeroProject"> <h1>Organize Mexico's City official Sketch Meetup</h1> ...