text
stringlengths
3
1.05M
/* global Log4js */ /** * Log4js CustomEvent * @constructor * @author Corey Johnson - original code in Lumberjack (http://gleepglop.com/javascripts/logger/) * @author Seth Chisamore - adapted for Log4js * @private */ Log4js.CustomEvent = function () { this.listeners = []; }; Log4js.CustomEvent.prototype = {...
import angular from 'angular'; import '@ovh-ux/ng-translate-async-loader'; import '@uirouter/angularjs'; import 'angular-translate'; import 'ovh-ui-angular'; import 'ovh-api-services'; import component from './delete.component'; import routing from './delete.routing'; const moduleName = 'ovhManagerPciUsersDeleteDelet...
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Dygraph=t()}}(function(){return function r(o,s,l){function h(e,...
// @flow import React, { Component } from 'react'; import { View, Text } from 'react-native'; import { TextInput, StyleSheet } from 'react-native'; import TextButton from '../buttons/text-button/text-button.component'; import StandardInput from '../inputs/standard-input/standard-input.component'; import { createQuesti...
# Generated by Django 2.2.5 on 2019-10-02 06:29 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('workflow', '0052_delete_tolasites'), ] operations = [ migrations.RemoveField( model_name='adminlevelthree', name='district',...
const path = require('path') const webpack = require('webpack') const HtmlWebPackPlugin = require('html-webpack-plugin') module.exports = { entry: { main: ['webpack-hot-middleware/client?path=/__webpack_hmr&timeout=20000', './src/index.js'] }, output: { path: path.join(__dirname, 'dist'), publicPath:...
"""myWeb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
const uuid = require('uuid/v1') const dbConnect = require('../db/postgresql') const { init, handleError, getCreds } = require('../util/helpers') const { requests, errors, latency } = require('../metrics/postgresql') const testPostgres = async instance => { const testState = init(instance) const table = uuid() c...
#!/usr/bin/env node require("../lib/cli/commands/_node").default({}, process.argv.slice(2), function(code) { if (typeof code === "number" && code !== 0) process.exit(code); });
export default { methods: { showChange(val){ this.show = val; val && this.inputFocus(); if(!val) this.highlight = -1; }, open(){ if(this.disabled) return; if(!this.show) this.$refs.drop.$emit('show', this.$refs.caller); }, ...
import Mock from 'mockjs2' import { builder } from '../util' const orgTree = () => { return builder([{ 'key': 'key-01', 'title': '研发中心', 'icon': 'mail', 'children': [{ 'key': 'key-01-01', 'title': '后端组', 'icon': null, 'group': true, children: [{ 'key': 'key-01-01...
import * as React from 'react' import * as Scrivito from 'scrivito' import { Progress } from 'react-sweet-progress' Scrivito.provideComponent('ProgressBarWidget', ({ widget }) => { const type = widget.get('type') const percent = widget.get('percent') const status = widget.get('status') return ( <div> ...
'use strict' /** @type {typeof import('@adonisjs/lucid/src/Lucid/Model')} */ const Model = use('Model') class GroupsUser extends Model { } module.exports = GroupsUser
//1st attempt below $(document).ready(function() { $('form').submit(function (evt) { evt.preventDefault(); var $submitButton = $('submit'); var $searchField = $('#search'); $searchField.prop("disabled", true); $submitButton.attr("disabled", true).val("searching..."); var searchKey = $searchField.val...
'use strict'; var request = require('request'); var cheerio = require('cheerio'); var diaryStatusCheck = require('./mfp_functions/diaryStatusCheck.js'); var fetchSingleDate = require('./mfp_functions/fetchSingleDate.js'); var fetchDateRange = require('./mfp_functions/fetchDateRange.js'); var apiStatusCheck = require('...
#! /usr/bin/env python3 # coding=utf-8 # ================================================================ # # Editor : PyCharm # File name : data.py # Author : LiuBo # Created date: 2019-04-25 09:21 # Description : # # ================================================================
/** Copyright (c) 2015, 2021, Oracle and/or its affiliates. Licensed under The Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl/ */ 'use strict'; const fs = require('fs-extra'); const path = require('path'); const config = require('./config'); const CONSTANTS = req...
var class_net_suite_1_1_classes_1_1_sales_role_search_row = [ [ "$basic", "class_net_suite_1_1_classes_1_1_sales_role_search_row.html#a0218f1993284fe7ad15fd37e39c1ec45", null ], [ "$userJoin", "class_net_suite_1_1_classes_1_1_sales_role_search_row.html#ad3a129c8e00ce34180b98c5eb350f0d7", null ] ];
var THREEx = THREEx || {}; /** * from original webgl anonymous demo */ THREEx.BentokAvatarStars = function(){ var container = new THREE.Object3D() this.container = container var numStars = 10 this.numStars = numStars var stars = new Array(); this.stars = stars for(var state=0;state<6;state++){ stars.push(...
const z = require('zod') /** * @param {function} adapter - implementation detail for this port * @param {object} env - environment settings for the adapter */ module.exports = function (adapter) { const Port = z.object({ createDatabase: z.function().args(z.string()).returns(z.promise(z.object({ok: z.boolean()...
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, render: render }); // Groups for storing friends and enemies, may use for collision later. var friendAndFoe; var enemies; // Groups for teaming up stuff. var normalBaddies; var purpleBaddies; function preload()...
#!/usr/bin/env python3 # Hydrus is released under WTFPL # You just DO WHAT THE FUCK YOU WANT TO. # https://github.com/sirkris/WTFPL/blob/master/WTFPL.md action = 'start' try: import locale try: locale.setlocale( locale.LC_ALL, '' ) except: pass import os import sys import threa...
/* * Name: Angela Huang * Course: CSC 415 (Software Engineering) * Semester: Spring 2015 * Instructor: Dr. Pulimood * * Project Name: The Roommate Application * Description: a website that allows roommates to track living obligations via chore assignements and communicate through a notfications and feedback pag...
#----------------------------------------------------------------------------- import sys import numpy as np #----------------------------------------------------------------------------- from PyQt5 import QtGui, QtCore import pyqtgraph as pg #----------------------------------------------------------------------------...
import Widget from '../../../base/Widget' import controls from '../../../base/controls' export default class Input extends Widget { constructor() { super( `Input`, `iview`, `Input`, { 'type': controls.Select(`类型`,{ options:...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
import { moduleForComponent, test } from 'ember-qunit'; import { findTooltip } from '../../helpers/ember-tooltips'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('tooltip-on-element', 'Integration | Component | tooltip on element', { integration: true, }); ['slide', 'fade', 'none'].forEach((effec...
module.exports = { overrides: [ { files: '*.js', options: { tabWidth: 4, singleQuote: true, }, }, { files: '*.ts', options: { tabWidth: 4, singleQuote: true, ...
var _ = require("lodash"); var fs = require('fs'); module.exports = (function() { var PluginFrameworkConfig = function(config) { var self = this; self.config = config || {}; self.getAllSrcFiles = function() { var dependencySrcFiles = _.map(_.filter(self.config["dependencies"],...
var utils = require('./utils'); var constants = require('./constants'); var Session = require('./session'); /*** * @class * 表示登录过程中发生的异常 */ var LoginError = (function () { function LoginError(type, message) { Error.call(this, message); this.type = type; this.message = message; } ...
/* Low Poly Stanford Bunny by johnny6 is licensed under the Creative Commons - Attribution - Non-Commercial license. (https://creativecommons.org/licenses/by-nc/3.0/) */ var bunny_vertices = [[[0.176333, -0.285045, -0.65272, 13421772], [0.705489, -0.115606, -0.587681, 13421772], [0.404207, -0.310605, -0.89179, 1342177...
const fs = require("fs") function renameFile(filePath, callback){ let newPath = filePath.replaceAll(" ", "-") fs.rename(filePath, newPath, (err => { callback(err) })) return newPath } module.exports = renameFile
#!/usr/bin/env python # -*- coding: utf-8 -*- """Define the ROS API. Dependencies in PRL: * `pyrobolearn.simulators.simulator.Simulator` """ # TODO import os import subprocess import psutil import signal import importlib import inspect from pyrobolearn.simulators.simulator import Simulator __author__ = "Brian Delh...
CKEDITOR.plugins.setLang("forms","hi",{button:{title:"बटन प्रॉपर्टीज़",text:"टेक्स्ट (वैल्यू)",type:"प्रकार",typeBtn:"बटन",typeSbm:"सब्मिट",typeRst:"रिसेट"},checkboxAndRadio:{checkboxTitle:"चॅक बॉक्स प्रॉपर्टीज़",radioTitle:"रेडिओ बटन प्रॉपर्टीज़",value:"वैल्यू",selected:"सॅलॅक्टॅड",required:"Required"},form:{title:"फ़ॉर्...
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[14],{457:function(t,c,e){"use strict";e.r(c);var n=e(4),o=e.n(n),u=e(0),s=e(1),a=(e(2),e(7)),r=e.n(a),l=e(42),b=e(72);e(495);c.default=Object(b.withProductDataContext)((function(t){var c=t.className,e=Object(l.useInnerBlockLayoutContext)().parentClass...
# hgweb/server.py - The standalone hg web server. # # Copyright 21 May 2005 - (c) 2005 Jake Edge <jake@edge2.net> # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var React = _interopRequireWildcar...
/** * Created by USER: tarso. * On DATE: 25/04/17. * By NAME: rtkdb01a-createdb. */ 'use strict'; const config = require('./rtkdb01.json'); const rtkdb = require('rethinkdb'); rtkdb.connect({host: config.host, port: config.port}) .then(function (conn) { console.log('Connected to RethingDB.....
define(function (require) { var zrUtil = require('zrender/core/util'); var graphic = require('../../util/graphic'); var throttle = require('../../util/throttle'); var DataZoomView = require('./DataZoomView'); var Rect = graphic.Rect; var numberUtil = require('../../util/number'); var linear...
# coding=utf-8 # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ import pytest import functools from io import BytesIO from datetime import date, time from azure.core.exceptions import ClientAuthenticationError, Servic...
"""cyme.client - Python client for the Cyme HTTP API. Branches ~~~~~~~~ >>> client = Client('http://localhost:8000') >>> client.branches ['cyme1.example.com', 'cyme2.example.com'] >>> client.branch_info('cyme1.example.com') {'sup_interval': 5, 'numc': 2, 'loglevel': 'INFO', 'logfile': None, 'id':...
// MODULES // import React from 'react'; import PropTypes from 'prop-types'; import unique from 'uniq'; import SelectInput from '@isle-project/components/input/select'; import CheckboxInput from '@isle-project/components/input/checkbox'; import Dashboard from '@isle-project/components/dashboard'; import MultipleLinear...
/* globals require, module */ 'use strict' let encryption = require('../utilities/encryption') let User = require('mongoose').model('User') module.exports = { register: (req, res) => { res.render('user/register') }, create: (req, res) => { let user = req.body if (!user.password) { user.globa...
import React from 'react' export default { apps: ( <svg viewBox="0 0 24 24"> <path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z" /> </svg> ), 'arrow-back': ( <svg viewBox="0 0 24 24"> <path d="M20 ...
# IMPORTATION STANDARD # IMPORTATION THIRDPARTY # IMPORTATION INTERNAL from gamestonk_terminal.helper_classes import ModelsNamespace as _models from gamestonk_terminal.stocks.fundamental_analysis import fa_api def test_models(): assert isinstance(fa_api.models, _models)
import test from 'tape'; import object from './object'; test(`\`object()\` throws \`TypeError\``, (assert) => { assert.throws(object.bind(void 0), TypeError, `Failed no argument.`); assert.end(); }); test(`\`object(undefined)\` throws \`TypeError\``, (assert) => { assert.throws(object.bind(void 0, void 0), ...
"""Test Porsche Connect setup process.""" # from unittest.mock import MagicMock # from unittest.mock import Mock # from unittest.mock import patch import pytest from custom_components.porscheconnect import async_reload_entry from custom_components.porscheconnect import async_setup_entry from custom_components.porscheco...
from abc import ABCMeta, abstractmethod class AbsObserver(metaclass=ABCMeta): def attach(self, value): if not isinstance()
{"version":3,"sources":["script.js"],"names":["BX","namespace","DocumentGenerator","DocumentList","gridId","init","this","window","top","type","isFunction","ajax","UpdatePageData","viewTemplate","templateUrl","SidePanel","Instance","open","width","events","onMessage","event","getEventId","numeratorData","getData","numS...
import DisplayEntry from './DisplayEntry' export default DisplayEntry
/** * Created by axetroy on 17-4-22. */ // set env first process.env.NODE_ENV = process.env.NODE_ENV || "development"; const path = require("path"); const webpack = require("webpack"); const fs = require("fs-extra"); const WebpackDevServer = require("webpack-dev-server"); const HtmlWebpackPlugin = require("html-webp...
// @ts-check import browser from 'webextension-polyfill'; import 'content-scripts-register-polyfill'; import { getPermissions } from './modules/browser'; import { db, storeHeartbeat } from './modules/data'; import { log } from './modules/log'; // Initialize the database db(); /** @type {Map<string, Promise<any>>} */...
/* * Copyright 2016 Amadeus s.a.s. * 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 i...
const mongoose = require('mongoose') const jwt = require('jsonwebtoken') const config = require('../config') const userTWSchema = new mongoose.Schema({ user_id: { type: String, }, access_token: { type: String, }, firstName: { type: String, }, username: ...
import { SvelteComponent, create_component, destroy_component, detach, init, insert, mount_component, noop, safe_not_equal, space, transition_in, transition_out } from "svelte/internal"; import Imported from "Imported.svelte"; function create_fragment(ctx) { let t; let current; const imported = new Imp...
layui.use(['element','laypage','layer','form'], function(){ $ = layui.jquery;//jquery lement = layui.element();//面包导航 laypage = layui.laypage;//分页 layer = layui.layer;//弹出层 form = layui.form();//弹出层 vn = new Vue({ el: '#app', data: { log: [], ...
import Ball from './Ball'; import Player from './Player'; import Keyboarder from './Keyboarder'; import utils from './utils'; import Computer from './Computer'; let socket = io.connect('http://' + document.domain + ':' + location.port + '/test'); //teclas para mover paletas const KEYS = {UP: 3...
exports.seed = knex => knex('inventory') .del() .then(() => // Inserts seed entries knex('inventory').insert([ { ndbno: '18064', inventory_name: 'Bread, wheat', }, { ndbno: '13317', inventory_name: 'Beef, ground, patties, frozen, cook...
module.exports = function (app) { if (typeof app.channel !== 'function') { // If no real-time functionality has been configured just return return } app.on('connection', connection => { // On a new real-time connection, add it to the anonymous channel app.channel('anonymous').join(connection) }...
define( [ 'angular', '../module' ], function( ng ) { 'use strict'; ng .module( 'auth.providers' ) .provider( 'AuthHelpers', [ function() { var helpers = {}; var inheritedProviders = []; return { $get: function( $injector, UserService ) { var RoleService = $injector.has( 'RoleServic...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
'use strict'; const path = require('path'); module.exports = { artifacts: [ { name: 'new_path.conf', template: 'test', provider: 'ss_json', destDir: path.join(__dirname, './dist'), }, { name: 'ss_json.conf', template: 'test', provider: 'ss_json', }, { ...
function changerRS() { if($("#section0").hasClass("active")) { $('.fa-facebook').css('color', '#14213D'); $('.fa-twitter').css('color', '#14213D'); $('.fa-linkedin').css('color', '#14213D'); $('#sticky-nav li a').css('color', '#14213D'); } else{ $('.fa-facebook').css('color', 'white'); $...
# 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 may not u...
import url from "url"; import path from "path"; import fs from "fs"; import { klona } from "klona/full"; async function getCodeFromSass(testId, options) { const loaderOptions = klona(options); let sassOptions = options.sassOptions || {}; if (typeof sassOptions === "function") { sassOptions = sassOptions({ ...
from inspect import getsourcelines from random import randint import unittest class TestListComprehension(unittest.TestCase): def setUp(self): self.expected = [] self.input = [] for i in range(100): s = "A" * randint(0, 10) self.input.append(s) if len(s)...
define(function (require) { var _ = require('lodash'); require('ui/paginated_table'); require('ui/modules').get('apps/settings') .directive('scriptedFields', function (kbnUrl, Notifier, $filter) { var rowScopes = []; // track row scopes, so they can be destroyed as needed var popularityHtml = require('...
import networkConfigIndex from './NetworkConfigIndex'; export default networkConfigIndex;
/*! 12.2.13 */ !function(){function a(a,b){window.XMLHttpRequest.prototype[a]=b(window.XMLHttpRequest.prototype[a])}function b(a,b,c){try{Object.defineProperty(a,b,{get:c})}catch(d){}}if(window.FileAPI||(window.FileAPI={}),!window.XMLHttpRequest)throw"AJAX is not supported. XMLHttpRequest is not defined.";if(FileAPI.sh...
/* * @lc app=leetcode id=289 lang=javascript * * [289] Game of Life */ // @lc code=start /** * @param {number[][]} board * @return {void} Do not return anything, modify board in-place instead. */ var gameOfLife = function(board) { // Brute force approach // iterate over every item // count l...
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parserOptions: { parser: 'babel-eslint', sourceType: 'module' }, env: { browser: true }, // https://github.com/standard/standard/blob/master/docs/RULES-en.md extends: 'plugin:vue/recommended', // required to li...
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Flyout that supports always-open continuous scrolling. */ import * as Blockly from 'blockly/core'; import {ContinuousToolbox} from './ContinuousToolbox'; import {ContinuousFlyoutMetrics} from './ContinuousMet...
// META: script=/IndexedDB/resources/support.js "use strict"; async_test(t => { const openReq = createdb(t); openReq.onupgradeneeded = e => { const db = e.target.result; const store = db.createObjectStore("store", { keyPath: "key" }); // See https://github.com/whatwg/html/issues/5380 for why not `new ...
define({ BlendState : Object.freeze({ /* * Let : * 1) C and A be a RGB and a Alpha value * 2) _src and _dst be the new candidate value and the current value in the framebuffer * */ /* * C_dst = A_src * C_src + (1 - A_src) * C_dst * A_dst ...
import styled from "styled-components" import media from "styled-media-query" export const SearchWrapper = styled.section` background: var(--background); display: flex; flex-direction: column; width: 100%; transition: opacity 0.4s; .ais-InstantSearch__root { display: flex; flex-direction: column; ...
/// 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 /// ...
""" specific_humidity_rainbow_1 ================== | style = "specific_humidity_rainbow_1" .. image:: /_static/styles/specific_humidity_rainbow_1.png :width: 400 | **magpye** has a list of predefined styles, that can be used to visualise your data. | More options are available to customise your visualisation. ...
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'redux-bundler-react' import isBinary from 'is-binary' import { Trans, withTranslation } from 'react-i18next' import typeFromExt from '../type-from-ext' import ComponentLoader from '../../loader/ComponentLoader.js' import './FilePrevie...
'use strict'; angular.module('common').directive('hpGrid', [function () { return { restrict: 'E', controllerAs: 'vm', bindToController: true, template: '<div style="height: 100%;" ui-grid="vm.gridConfig.gridOptions" ui-grid-infinite-scroll ui-grid-importer></div>', scope: { gridConfig: '=' }, ...
import React, { useEffect, useState } from "react"; import Cat from "../components/Cat"; import { Link } from "react-router-dom"; import Table from "react-bootstrap/Table"; import Button from "react-bootstrap/Button"; //import "bootstrap/dist/css/bootstrap.min.css"; import Alert from "react-bootstrap/Alert"; import sty...
!function o(a,s,l){function u(t,e){if(!s[t]){if(!a[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(c)return c(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[t]={exports:{}};a[t][0].call(i.exports,function(e){return u(a[t][1][e]||e)},i,i.exports,o,a...
class Solution: def removeKdigits(self, num: str, k: int) -> str: if len(num) == 0 and len(num) <= k : return "0" st = [num[0]] i = 1 while i < len(num): while len(st) > 0 and int(st[-1]) > int(num[i]) and k > 0: st.pop() ...
/** * @fileoverview * - Using the 'QRCode for Javascript library' * - Fixed dataset of 'QRCode for Javascript library' for support full-spec. * - this library has no dependencies. * * @author davidshimjs * @see <a href="http://www.d-project.com/" target="_blank">http://www.d-project.com/</a> * @see <a href="ht...
# -*- coding: utf-8 -*- from ryu.base import app_manager from ryu.controller import ofp_event from ryu.controller.handler import CONFIG_DISPATCHER, MAIN_DISPATCHER from ryu.controller.handler import set_ev_cls from ryu.ofproto import ofproto_v1_3 from ryu.lib.packet import packet from ryu.lib.packet import ethernet fro...
def get_CUDA(dimensions, vectorSize): return '''__global__ void external(dcmplx *QField, dcmplx *QField2, int* lattice, int* gpu_params){ }'''
process.env.BABEL_ENV = 'test'; module.exports = (wallaby) => { return { files: ['src/**/*.js', '!src/**/*.test.js'], tests: ['tests/**/*.test.js'], env: { type: 'node', runner: 'node', }, testFramework: 'jest', compilers: { '**/*.js': wallaby.compilers.babel(require('./p...
export default { html: ` <button>0: foo</button> <button>1: bar</button> <button>2: baz</button> <p>first: </p> <p>second: </p> `, test ( assert, component, target, window ) { const event = new window.MouseEvent( 'click' ); const buttons = target.querySelectorAll( 'button' ); buttons[1].dispatchE...
# Generated by Django 3.1.6 on 2021-05-01 19:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cart', '0006_auto_20210502_0040'), ] operations = [ migrations.AlterField( model_name='order', name='order_id', ...
#!/usr/bin/env python """ Demonstration of a custom clipboard class. This requires the 'pyperclip' library to be installed. """ from quo import echo from quo.clipboard import PyperClipboard from quo.prompt import Prompt session = Prompt() if __name__ == "__main__": print("Emacs shortcuts:") print(" Press C...
export async function isMobile (t) { const userAgent = await t.eval(() => navigator.userAgent); return userAgent.match(/Mobile/i); }
goog.provide('os.ui.LegendCtrl'); goog.provide('os.ui.legendDirective'); goog.require('goog.async.Throttle'); goog.require('goog.async.nextTick'); goog.require('os.data.SourceManager'); goog.require('os.defines'); goog.require('os.legend'); goog.require('os.ui.Module'); goog.require('os.ui.events.UIEvent'); /** * T...
import {EventEmitter} from 'events'; import Observable from 'any-observable'; import ZenObservable from 'zen-observable'; import test from 'ava'; import delay from 'delay'; import arrayToEvents from 'array-to-events'; import m from '.'; const isZen = Observable === ZenObservable; const prefix = isZen ? 'zen' : 'rxjs';...
import React from 'react'; import { graphql } from 'gatsby' import Layout from '../components/layout' export default ({ data }) => { const post = data.markdownRemark return ( <Layout> <div> <h1>{ post.frontmatter.title }</h1> <div dangerouslySetInnerHTML = {{...
from __future__ import print_function import time import base64 import random import re from livecli.compat import urlparse from livecli.plugin import Plugin from livecli.plugin.api import http from livecli.plugin.api import useragents from livecli.stream import HLSStream from livecli.utils import parse_qsd from liv...
var searchData= [ ['idea_5fkey_5fst',['idea_key_st',['../structidea__key__st.html',1,'']]], ['ipaddresschoice_5fst',['IPAddressChoice_st',['../struct_i_p_address_choice__st.html',1,'']]], ['ipaddressfamily_5fst',['IPAddressFamily_st',['../struct_i_p_address_family__st.html',1,'']]], ['ipaddressorrange_5fst',['I...
# OpenPCDet PyTorch Dataloader and Evaluation Tools for Waymo Open Dataset # Reference https://github.com/open-mmlab/OpenPCDet # Written by Shaoshuai Shi, Chaoxu Guo # All Rights Reserved 2019-2020. import os import pickle import numpy as np from ...utils import common_utils import tensorflow as tf from waymo_open_da...
import React from "react"; import PropTypes from "prop-types"; // @material-ui/core components import withStyles from "@material-ui/core/styles/withStyles"; import Dialog from "@material-ui/core/Dialog"; import DialogTitle from "@material-ui/core/DialogTitle"; import DialogContent from "@material-ui/core/DialogContent...
'use strict'; var _typeof6 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _typeof5 = typeof Symbol === "function" && _typeof6(Symbo...
import { mat4 } from 'osg/glMatrix'; import TransformEnums from 'osg/transformEnums'; var computeLocalToWorld = function(nodePath, ignoreCameras, userMatrix, nodePathIndex) { var ignoreCamera = ignoreCameras; var nodePathLength = nodePathIndex !== undefined ? nodePathIndex : nodePath.length; if (ignoreCame...
/* * Copyright 2018 Genentech 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 ...