text
stringlengths
3
1.05M
'use strict'; var NativeRTCVideoSink = require('./binding').RTCVideoSink; var EventTarget = require('./eventtarget'); function RTCVideoSink(track) { EventTarget.call(this); this._sink = new NativeRTCVideoSink(track); var self = this; this._sink.onframe = function onframe(frame) { self.dispatchEvent({ ...
import trio import remi.gui as G from cloud_ui.apps.application import Application try: from cloud_ui.cloudapp import UICloud except ImportError: pass class KeyStoreApplication(Application): cloud: 'UICloud' def init__gui__(self): self.controls = dict() self.vbox_list = G.VBox(width...
/* eslint-disable */ import express from 'express'; import cookieParser from 'cookie-parser'; import apicache from 'apicache' import axios from 'axios'; /* eslint-enable */ const app = express(); const cache = apicache.middleware; const onlyStatus200 = (req, res) => res.statusCode === 200; const port = process.env.AP...
'use strict' module.exports = { NODE_ENV: '"production"', API_ROOT: '"https://www.woyoulian.com' }
c.downloads.location.directory = "~/daily" c.editor.command = [ "urxvt", "-e", "nvim", "{}" ] c.editor.encoding = "utf-8" c.url.searchengines = { "DEFAULT" : "https://duckduckgo.com/?q={}", "aw" : "https://wiki.archlinux.org/?search={}" } c.url.start_pages = [ "https://duckduckgo.com" ] c.tabs.paddin...
// @flow // ignore until we can remove this entirely // $FlowMeteor import ReactMixin from "react-mixin"; import { graphql } from "react-apollo"; import { connect } from "react-redux"; import gql from "graphql-tag"; // loading state import Loading from "../../components/@primitives/UI/loading"; import Headerable from...
"""The Devito logger.""" import logging import sys from contextlib import contextmanager __all__ = ('set_log_level', 'set_log_noperf', 'is_log_enabled_for', 'log', 'warning', 'error', 'perf', 'perf_adv', 'dse', 'dse_warning', 'RED', 'GREEN', 'BLUE') logger = logging.getLogger('Devito') stream_...
function isWordChain(words) { // Your code here. } module.exports = isWordChain;
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright © 2018 Matthew Stone <mstone5@mgh.harvard.edu> # Distributed under terms of the MIT license. """ For every gene in the provided GTF, subtract UTR sequence from the exonic features. Requires the input GTF be sorted by gene_id (`sort -k10,10`). """ import argp...
"""Package-wide test fixtures.""" from unittest.mock import Mock import pytest from _pytest.config import Config from pytest_mock import MockFixture @pytest.fixture def mock_requests_get(mocker: MockFixture) -> Mock: """Fixture for mocking requests.get.""" mock = mocker.patch("requests.get") mock.return_...
var x = x = '' ; switch ( '' ) { default : ; case x : }
/* eslint-disable */ import React from 'react' import axios from 'axios'; import { useDispatch , useSelector} from "react-redux"; import { Helmet } from 'react-helmet'; import * as Yup from 'yup'; import { Formik } from 'formik'; import { Box, Button, Container, Grid, TextField, Typography } from '@materia...
import { createIcon } from '../createIcon'; export const OutlinedFileVideoIconConfig = { name: 'OutlinedFileVideoIcon', height: 512, width: 384, svgPath: 'M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.05...
function* FindProxyForURL(url, host) { if (yield isHostInAnySubnet(host, [ '10.1.2.0', '10.1.3.0' ], '255.255.255.0')) { return 'HTTPS proxy.example.com'; } if (yield isHostInAnySubnet(host, [ '10.2.2.0', '10.2.3.0' ], '255.255.255.0'))...
const fs = require('fs'); const ini = require('ini'); const config = { 'sortToTop': [ 'name', 'description', 'version', 'author' ], 'required': [ 'name', 'version' ], 'warn': [ 'description', 'author', 'repository', 'keywords', 'main', 'bugs', 'homepage', ...
sap.ui.define([ "sap/ui/model/json/JSONModel", "sap/ui/core/mvc/Controller", "sap/ui/model/Filter", "sap/ui/model/FilterOperator", 'sap/ui/model/Sorter', 'sap/m/MessageBox' ], function (JSONModel, Controller, Filter, FilterOperator, Sorter, MessageBox) { "use strict"; return Controller.extend("demo.controller....
const fs = require('fs') const fetch = require('node-fetch') const downloadBottleneck = require('./downloadBottleneck') const tfrecord = require('tfrecord') const fullSchematics = JSON.parse(fs.readFileSync('schematicsWithFinalUrl.json')) async function download (schematic) { try { const r = await fetch(schemat...
/** * Define digest function. * @function digest * @param {string} spec - Password spec * @returns {function} digest function */ 'use strict' const uuid = require('uuid') const { fromSpecString, DEFAULT_ALGORITHM, DEFAULT_ITERATIONS, DEFAULT_LENGTH } = require('apasswd') const DEFAULT_SPEC = [ DEFAULT_ALG...
var WFDynamicUserMPickupViewController = WFDynamicUserMPickupViewControllerBase.extend({});
var searchData= [ ['hal_5fadc_5fanalogwdgconfig',['HAL_ADC_AnalogWDGConfig',['../group___a_d_c___exported___functions___group3.html#gaebd9d3c15de8c92e92e18ee38d1bd998',1,'stm32f1xx_hal_adc.h']]], ['hal_5fadc_5fconfigchannel',['HAL_ADC_ConfigChannel',['../group___a_d_c___exported___functions___group3.html#gac6f70c49...
const createError = require('http-errors') const Ajv = require('ajv') const ajvKeywords = require('ajv-keywords') const ajvLocalize = require('ajv-i18n') const { deepStrictEqual } = require('assert') let ajv let previousConstructorOptions const defaults = { v5: true, coerceTypes: 'array', // important for query st...
!function(e){function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,o,c){for(var _,a,i,u=0,p=[];u<t.length;u++)a=t[u],n[a]&&p.push(n[a][0]),n[a]=0;f...
const { isURL } = require('validator') const { DremioError } = require('../errors') const DREMIO_VERSIONS = ['2', '3'] const originIsValid = (origin) => isURL(origin) const usernameIsValid = (username) => !!username const passwordIsValid = (password) => !!password const versionIsValid = (version) => (DREMIO_VERSIONS...
import { REDIRECTED } from '@/config/cookies'; import { NAME as EXPLORER } from '@/config/product/explorer'; import { SETUP, TIMED_OUT, UPGRADED, _FLAGGED, _UNFLAG } from '@/config/query-params'; import { SETTING } from '@/config/settings'; import { MANAGEMENT, NORMAN } from '@/config/types'; import { _ALL_IF_AUTHED ...
var sumOld = function(a, b) { return a + b; }; // Arrow Functions // var sum = (a, b) => a + b // Caso não hajam declarações, podemos omitir o bloco // var sum = a => a + 5 // Caso haja apenas um parametro, podemos omitir os parenteses. Exceções: ({ a }); (...a) var sum = (a, b) => { var x = 10; if (a ...
/** * Created by Galya Bogdanova on 01-Apr-15. */ "use strict"; var LocalStorageUtils = (function() { var isSupported = function() { return (typeof(Storage) !== "undefined"); }; var get = function(key) { return localStorage.getItem(key); }; var set = function(key, value) { ...
"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){var e=this,t=this,n=t?t.document:null,r=(t?t.document.documentElement:null,/^(["'...
/* * AUTO-GENERATED, DO NOT EDIT */ import React from 'react'; function TruncateIcon(props, svgRef) { return (React.createElement("svg", Object.assign({ "data-sanity-icon": "truncate", width: "1em", height: "1em", viewBox: "0 0 25 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: svgRef }, props), ...
from django.utils import timezone import json from django.contrib import messages from django.core import serializers from django.core.serializers.json import DjangoJSONEncoder from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404 from ...
export { default } from './DemoGrid';
/*! * File: dataTables.editor.min.js * Version: 1.9.2 * Author: SpryMedia (www.sprymedia.co.uk) * Info: http://editor.datatables.net * * Copyright 2012-2020 SpryMedia Limited, all rights reserved. * License: DataTables Editor - http://editor.datatables.net/license */ // Notification fo...
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-%typedarray%.prototype.fill description: > Fills all the elements with `value` from a default start and index. info: | 22.2.3.8 %TypedArray%.prototype.fill (value...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colordialog', 'cy', { clear: 'Clirio', highlight: 'Uwcholeuo', options: 'Opsiynau Lliw', selected: 'Lliw a Ddewiswyd'...
(function (root, factory) { root.MxWcI18N_zh_CN = factory(root); })(this, function(root, undefined) { const currValues = (root.MxWcI18N_zh_CN || {}).values || {}; const values = { "label.version": "当前版本:", "label.ruby-version": "Ruby 版本:", // title "title.intro": "简介", "title.feature": "功能", ...
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React, {useCallback, useState} from 'react'; import Link from '@docusaurus/Link'; import Head from '@docusaurus/Head'; import use...
$(document).ready(function () { $(".tst1").on("click", function () { $.toast({ heading: 'Welcome to my admin', text: 'Use the predefined ones, or specify a custom position object.', position: 'top-right', loaderBg: '#ff6849', icon: 'info', ...
ace.define("ace/mode/scss_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../lib/lang"),s=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=i.arrayToMap(function(){var e="-webkit-|-moz-|-...
import React, { Component } from "react"; import { BrowserRouter as Router, Route } from "react-router-dom"; import TodoForm from "./TodoForm"; import TodoList from "./TodoList"; import Footer from "./Footer"; import { saveTodo, loadTodos, destroyTodo, updateTodo } from "../lib/service"; import { filterTodos } from ".....
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"4c35":function(t,e,i){"use strict";i.d(e,"d",function(){return a}),i.d(e,"h",function(){return h}),i.d(e,"a",function(){return c}),i.d(e,"e",function(){return l}),i.d(e,"b",function(){return p}),i.d(e,"c",function(){return u}),i.d(e,"g",function(){return f}),i.d...
E2.p = E2.plugins["clamp_modulator"] = function(core, node) { this.desc = 'Emit a float <b>value</b> no less than <b>min</b> and no greater than <b>max</b>.'; this.input_slots = [ { name: 'value', dt: core.datatypes.FLOAT, desc: 'Value to be clipped.', def: 0 }, { name: 'min', dt: core.datatypes.FLOAT, desc: '...
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from lndgrpc.compiled import autopilot_pb2 as lndgrpc_dot_compiled_dot_autopilot__pb2 class AutopilotStub(object): """Autopilot is a service that can be us...
module.exports = function(grunt) { "use strict"; grunt.initConfig({ lint : { options : [ "*.js", "src/*.js", "test/*.js" ] }, jshint : (function() { /* parserc adapted from the jQuery UI grunt file */ function parserc(path) { var rc = grunt.file.readJSON((path || "") + ".jshintrc"), settings...
import expect from 'expect.js'; import { JWTScopeToken } from '../../../src'; import { beforeEachFn } from '../utils/hooks'; describe('[UNIT] Creating tokens', function () { beforeEach(beforeEachFn); it('#getReadOnlyToken', function () { const token = this.client.getReadOnlyToken('user', 'test'); expect...
"main";let React;_157‍.w("react",[["default",["React"],function(v){React=v}]]);let Field,reduxForm;_157‍.w("redux-form",[["Field",["Field"],function(v){Field=v}],["reduxForm",["reduxForm"],function(v){reduxForm=v}]]);let themeSettings,text;_157‍.w("../../lib/settings",[["themeSettings",["themeSettings"],function(v){the...
import styled from "styled-components" const SkillCategoryDendogramContainer = styled("div")` display: inline-block; width: 16%; height: 100%; margin-top: 3vh; position: absolute; top: 0%; left: 13%; /* border: 1px dashed lightpink; */ @media ${props => props.theme.breakpoints.md} { top: 15%; ...
import React from 'react'; import s from './styles.module.scss'; import Image from '../../LazyImage'; const DescriptionBlocks = ({ project }) => project.content ? ( <> {Array.from(project.content).map((block, idx) => ( <article key={idx}> {block.title ? <h3 className={s.title}>{block.titl...
# Copyright (c) 2020 PaddlePaddle Authors. 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 # # Unless required by appli...
const merge = require('webpack-merge'); const baseConfig = require('../../../webpack/webpack.build.base.js'); module.exports = merge(baseConfig, { output: { filename: "jsonforms-material.js", library: "JSONFormsMaterial" }, externals: { '@mobx-jsonforms/core': 'JSONFormsCore', ...
describe('BLOG Testing', function () { beforeEach(module('app')) describe('routes', function () { var states = {} beforeEach(inject(function ($state) { this.timeout(1000) states.list = $state.get('list') states.view = $state.get('view') states.create = $state.get('create') sta...
import * as React from 'react'; import { expect } from 'chai'; import { stub, spy } from 'sinon'; import { act, getClasses, createMount, describeConformance, createClientRender, fireEvent, } from 'test/utils'; import Rating from './Rating'; describe('<Rating />', () => { const mount = createMount(); co...
module.exports = { "env": { "browser": true, "node": true, "commonjs": true, "es6": true }, "extends": "eslint:recommended", "parserOptions": { "sourceType": "module" }, "rules": { // possible errors "no-template-curly-in-string": "error", ...
import React from 'react'; import styles from './container.scss'; const Container = ({ children }) => ( <div className={styles.root}> {children} </div> ); export default Container;
module.exports={A:{A:{"1":"F A B","2":"J D E qB"},B:{"1":"C K L G M N O P Q R S V W X Y Z a b c d e f g T H"},C:{"1":"0 1 2 3 4 5 6 7 8 9 rB fB I h J D E F A B C K L G M N O 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 HB IB JB KB LB gB MB hB NB OB U PB QB RB SB TB UB VB WB XB YB ZB aB bB cB P Q R iB S V W ...
/* * Copyright (c) 2021 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-10-11 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
# -*- coding: utf-8 -*- # Copyright (c) 2014, 2021, Oracle and/or its affiliates. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2.0, as # published by the Free Software Foundation. # # This program is also distributed with certa...
const express = require('express'); const app = express(); const bodyParser = require('body-parser'); const todoRoutes = express.Router(); let Todo = require('../models/todo.model'); todoRoutes.route('/').get(function (req, res) { Todo.find(function (err, todos) { if (err) { console.log(err)...
/* * Copyright 2018, Emanuel Rabina (http://www.ultraq.net.nz/) * * 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...
import tag from 'html-tag-js'; import mustache from 'mustache'; import _template from './gistFiles.hbs'; import _menu from './menu.hbs'; import './gistFiles.scss'; import Page from '../../components/page'; import helpers from '../../lib/utils/helpers'; import contextMenu from '../../components/contextMenu'; imp...
(window.webpackJsonp=window.webpackJsonp||[]).push([[105],{3733:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return l}));r(6),r(7);var n=r(0);function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&...
/* global QUnit */ sap.ui.define([ "sap/ui/dt/DesignTime", "sap/ui/rta/command/CommandFactory", "sap/ui/rta/plugin/EasyAdd", "sap/ui/rta/plugin/additionalElements/AddElementsDialog", "sap/ui/rta/plugin/additionalElements/AdditionalElementsPlugin", "sap/ui/rta/plugin/additionalElements/AdditionalElementsAnalyzer"...
import React from 'react'; import { Button, Carousel } from '../../src'; import { storiesOf, action, linkTo } from '@kadira/storybook'; const addWithInfoOptions = { inline: true, propTables: false }; class CarouselDemo extends React.Component { constructor(props) { super(props); this.handleClickNext = this.h...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'templates', 'ko', { button: '템플릿', emptyListMsg: '(템플릿이 없습니다)', insertOption: '현재 내용 바꾸기', options: '템플릿 옵션', selectPromptMsg: '에디터에서 사용할 템플릿을 선...
# -*- coding: utf-8 -*- from typing import Dict from urllib.parse import quote, unquote from xTool.plugin import register_plugin, PluginType from .base import CodecType @register_plugin( PluginType.CODEC, CodecType.URL_KV ) class UrlKvCodec: @classmethod def encode(cls, data: Dict) -> str: retur...
# Copyright 2015 The TensorFlow Authors. 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 # # Unless required by applica...
var group___c_m_p___peripheral___access___layer = [ [ "CMP Register Masks", "group___c_m_p___register___masks.html", "group___c_m_p___register___masks" ], [ "CMT Peripheral Access Layer", "group___c_m_t___peripheral___access___layer.html", "group___c_m_t___peripheral___access___layer" ], [ "CMP_Type", "stru...
var struct_chunk = [ [ "chunks", "struct_chunk.html#ad6a94e623c649e202216c4bd18d6793a", null ], [ "id", "struct_chunk.html#a5a7c08992aa0ce5b69d7ffae8435186f", null ], [ "len", "struct_chunk.html#a223a85427053e42440b95939d3d6cfed", null ], [ "start", "struct_chunk.html#a9286b907b562f26825a237ea4469b67b",...
import d3 from "d3" import { formatDataValue } from "../utils/formatting-helpers.js" import baseMixin from "../mixins/base-mixin" import { decrementSampledCount, incrementSampledCount } from "../core/core" import { redrawAllAsync } from "../core/core-async" const INITIAL_SIZE = 50 const GROUP_DATA_WIDTH = 20 const NON...
#-*- coding: utf-8 -*- import sys import redis import redis.connection import gevent from django.conf import settings from django.core.handlers.wsgi import WSGIRequest, logger, STATUS_CODE_TEXT from django.http import HttpResponse, HttpResponseServerError, HttpResponseBadRequest from django.utils.importlib import impor...
export default { castType: 'instant', cooldown: 24, cost: 57, costType: 'resource', description: 'strikes an enemy for 80 damage and afflicts them with an aura causing other nearby enemies to suffer 187 damage every 2 seconds for 14 seconds.', duration: 14, id: 'reverberating-blow', name: 'Reverbera...
"""Added a new table for storing data about commands Revision ID: 5393671cca7 Revises: 496dba8300a Create Date: 2015-12-13 03:41:30.735949 """ # revision identifiers, used by Alembic. revision = '5393671cca7' down_revision = '496dba8300a' branch_labels = None depends_on = None from alembic import op import sqlalche...
import React, {Component} from 'react'; export default class Confirm extends Component { constructor(props) { super(props); this.state = { email: '', error:'' }; } handleEmailChange(e) { this.setState({ email: e.target.value }); } handleSend(e) { this.props.onSend(this.state....
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n=t(e),r=t(require("@reach/portal")),i=require("@reach/rect"),o=require("@reach/utils"),u=t(require("tabbable"));function f(){return(f=Object.assign||function(...
require('dashboard/controller'); var controller; module("Dashboard.ApplicationController"); test("it exists", function() { ok(Dashboard.ApplicationController, "it exists"); }); module("Dashboard.UserController"); test("it exists", function() { ok(Dashboard.UserController, "it exists"); }); module("Dashboard.E...
const _ = require('underscore'); const PlotCard = require('../../plotcard.js'); class UnexpectedDelay extends PlotCard { setupCardAbilities() { this.forcedReaction({ when: { onPhaseStarted: event => event.phase === 'challenge' }, handler: () => { ...
// 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. // // RUN: %hermes -O -Wno-direct-eval %s | %FileCheck --match-full-lines %s "use strict"; print('Parser'); // CHECK-LABEL: Parser functio...
export default ({markup, css}) => { return `<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>MERN Mediastream</title> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400"> <link rel="stylesheet" href="http...
/* * This is a basic func test for a Serveronly application. */ YUI({ useConsoleOutput: true, useBrowserConsole: true, logInclude: { TestRunner: true } }).use('node', 'node-event-simulate', 'test', 'console', function (Y) { var suite = new Y.Test.Suite("Serveronly"); suite.add(new Y.Test.Ca...
import { select as d3_select } from 'd3-selection'; import { geoExtent } from '../geo'; import { uiToggle } from './toggle'; export function uiLasso(context) { var group, polygon; lasso.coordinates = []; function lasso(selection) { context.container() .classed('lasso', true); ...
const isOpen = (element) => { const classlist = element.classList; let trigger = true; classlist.forEach((elemClass) => { if (elemClass === 'hide') { trigger = !trigger; } }); return trigger; }; export { isOpen };
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ """ import sys import matplotlib.pyplot as plt import numpy as np import cupy as cp import time import os import tensorflow as tf import vedo ######## START GPU SETTINGS ############ ########## SET MEMORY GROWTH to True ############ physical_devices = tf.con...
__author__ = 'jtromo' #Developed at : SEFCOM Labs by James Romo from bluetooth import * from Crypto.Cipher import AES import threading import time import base64 import os import uuid # ///////////////////////////////////////////////////////////////////////////// # Configuration # ////////...
import React, { Component } from 'react'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import AppBar from 'material-ui/AppBar'; class Success extends Component { constructor(props) { super(props); } render() { return ( <MuiThemeProvider> <React....
import unittest from unittest import mock import itertools from string import ascii_uppercase from qupulse.utils.types import TimeType, time_from_float from qupulse._program._loop import Loop, MultiChannelProgram, _make_compatible, _is_compatible, _CompatibilityLevel, RepetitionWaveform, SequenceWaveform, make_compat...
// Copyright 2015 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * The buffer for input from a terminal. * * This is necessary when /dev/tty and stdin can be separate streams. In that * case, the input from ...
import React from 'react'; import { speechBubbleVariant } from '../../types'; import { SPEECH, THOUGHT } from '../../constants/speechBubbleVariant'; function BubbleTailArtwork({ variant = SPEECH, ...props }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width="68" height="42" viewBox="0 0 68 42" {...props}...
/** * Copyright 2019, SumUp 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 in wri...
var ApiService = require("../services/service.js"); var ApiSession = require("../models/api-session"); var _ = require("underscore"); var async = require("async"); var ObjectId = require("mongodb").ObjectId; var moment = require("moment"); var generator = require('generate-password'); const { sendSessionInvite } = requ...
# Copyright 2013 CentRin Data, 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...
/** Copyright 2017 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
import test from 'ava'; var Dwindle = require('./dwindle'); let crap; test('Constructor param object', t => { crap = {x: "whatever"}; try { let d = new Dwindle(crap); t.fail(); } catch (e) { t.pass(); // Generated an exception, well done! } }); test('Constructor param bad array', t => { crap =...
var fonts = { Roboto: { normal: 'fonts/Roboto-Regular.ttf', bold: 'fonts/Roboto-Medium.ttf', italics: 'fonts/Roboto-Italic.ttf', bolditalics: 'fonts/Roboto-MediumItalic.ttf' } }; var pdfmake = require('../js/index'); pdfmake.setFonts(fonts); var docDefinition = { content: [ { text: [ 'This ', ...
#!/usr/bin/env python3 # nonfiction_stack_graph.py # Our goal here is to calculate what percentage of the books in each year # that have known genders are either fiction by women, or other genres # by women. Books by men are not going to be represented in the final # stacked area graph, except as negative space. imp...
'use strict'; exports.__esModule = true; var _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; }; var _react = requi...
var trumpet = require('../'); var fs = require('fs'); var through = require('through'); var test = require('tape'); var concat = require('concat-stream'); test('multi write stream out of order', function (t) { t.plan(1); var tr = trumpet(); var wsx = tr.select('.x').createWriteStream(); var wsy = ...
// { "framework": "Vue"} !function(e){function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__...
/* ============ * Getters for the account module * ============ * * The getters that are available on the * account module. */ const getUserInfo = state => state.user; const getDealerShips = state => state.dealerships; export default { getUserInfo, getDealerShips, };
#!/usr/bin/python # this script will update the versions in plist and installer files to match that in resource.h import plistlib, os, datetime, fileinput, glob, sys, string scriptpath = os.path.dirname(os.path.realpath(__file__)) def replacestrs(filename, s, r): files = glob.glob(filename) for line in filein...
import React from "react" import { Link } from "gatsby" import styled from "styled-components" import { rhythm } from "../utils/typography" class Layout extends React.Component { render() { const { title, children } = this.props let header header = ( <h3 style={{ fontSize: `5vh`...
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.0-beta.1 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Lice...
/* Flot plugin for stacking data sets rather than overlyaing them. Copyright (c) 2007-2013 IOLA and Ole Laursen. Licensed under the MIT license. The plugin assumes the data is sorted on x (or y if stacking horizontally). For line charts, it is assumed that if a line has an undefined gap (from a null point), th...