text
stringlengths
3
1.05M
const passport = require("passport"); const LocalStrategy = require("passport-local"); const dbPromise = require("../db"); module.exports = function initPassport() { passport.use( new LocalStrategy( { usernameField: "email", passwordField: "password" }, async (email, password, done) => { logger...
require("select2"); const dropdowns = $("#formAssessment .dropdown"); dropdowns.select2(); let dropdownElement = document.getElementById('btnAssessmentDropdown'); if(dropdownElement){ dropdownElement.addEventListener('click', (e) => { document.getElementById('assessmentDropdownElements').classList.toggle(...
''' Created on 2013-4-22 @author: Xsank ''' from distutils.core import setup from brick import version setup(name=version.__framework_name__, version=version.__version__, author=version.__author__, maintainer=version.__author__, maintainer_email=version.__email__, license=version.__lic...
rules = {} with open("day16.in") as f: lines = f.read().splitlines() # print(lines) for i, line in enumerate(lines): # departure location: 28-184 or 203-952 if line == "": break field, values = line.split(": ") range1, range2 = values.split(" or ") rules[field] = (tuple([int(t) for t...
import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store' import FastClick from 'fastclick' import VueLazyload from 'vue-lazyload' Vue.config.productionTip = false Vue.prototype.$bus = new Vue() //事件总线 /** * 使用并引入自定义toast插件 */ import toast from 'comp...
import React from 'react'; import { assert } from 'chai'; import { spy } from 'sinon'; import { createRender, createMount, findOutermostIntrinsic, getClasses, testRef, } from '@material-ui/core/test-utils'; import ButtonBase from '@material-ui/core/ButtonBase'; import ToggleButton from './ToggleButton'; desc...
var should = require('should'); var utils = require('../src/utils'); describe('Utils', function() { var getRequireString = utils.getRequireString; var path = 'path'; var name = 'name'; describe('getRequireString', function() { it('should return a require statement', function() { getRequireString(pa...
token_replacement_list = { "<number>": "NOUN", "<bracket>": "PUNCT", "<url>": "NOUN", "<email>": "NOUN", "<phone>": "NOUN", "<currency>": "PUNCT", "<date>": "NOUN", "<more>": "PUNCT", "<less>": "PUNCT" }
'use strict'; const _ = require('lodash'); const AbstractDialect = require('../abstract'); const ConnectionManager = require('./connection-manager'); const Query = require('./query'); const { QueryGenerator } = require('./query-generator'); const { IBMiQueryInterface } = require('./query-interface'); const DataTypes =...
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; import { usePrefix } from '../../internal...
/*! * jquery.fancytree.filter.js * * Remove or highlight tree nodes, based on a filter. * (Extension module for jquery.fancytree.js: https://github.com/mar10/fancytree/) * * Copyright (c) 2008-2019, Martin Wendt (https://wwWendt.de) * * Released under the MIT license * https://github.com/mar10/fancytree/wiki/L...
""" Name: SampleEvent breif: Samples events for particles provided in a phase space for MCDC-TNT Author: Jackson Morgan (OR State Univ - morgjack@oregonstate.edu) CEMeNT Date: Dec 2nd 2021 """ import numpy as np import numba as nb @nb.jit(nopython=True)# parallel=True) def SampleEvent(p_mesh_cell, p_alive, mesh_cap_x...
import logo from './logo.svg'; import './App.css'; import React from 'react'; import ReactDOM from 'react-dom'; 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...
import React from "react"; import Layout from "../../components/layout"; import SEO from "../../components/seo"; export default () => ( <Layout> <SEO title={"About Trigrammaton"} /> <h2>Trigrammaton Qabalah (TQ)</h2> <h4>Trigrammaton Qabalah values (as in "The Angel & The Abyss" by J. Daniel Gunther):</...
const { authenticate } = require('lambda-auth0-authenticator/lib'); exports.handler = (event, context, callback) => { authenticate(event).then((res) => { callback(null, res); }).catch((err) => { console.error(err); callback('Unauthorized'); }); };
from django.contrib.auth import get_user_model from django.test import TestCase, Client from django.urls import reverse class AdminSiteTests(TestCase): def setUp(self): self.client = Client() self.admin_user = get_user_model().objects.create_superuser( email='admin@idkwhatis.domain', ...
'use strict'; const mongoose = require('mongoose'); //require('dotenv').config({silent: true, path: `${__dirname}/.env`}); var server = require('./app'); var port = 3200; console.log(`Running on ${process.env.BASE_PATH}:${port}, connecting to ${process.env.MONGO_URL}`) mongoose.connect(process.env.MONGO_URL, functi...
import Menu from './index.vue' export default Menu
function send_ajax(url, method, send_data, settings_obj){ $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); if(settings_obj.hasOwnProperty('abort') && settings_obj['abort'] == true) { if (xhr && xhr.readyState != 4) { ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[84],{746:function(t,v,_){"use strict";_.r(v);var n=_(2),r=Object(n.a)({},(function(){var t=this,v=t.$createElement,_=t._self._c||v;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h4",{attrs:{id:"myisam和innodb的区别"}},[_("a",{staticClass:"h...
var listingsData = [ { address:'2890 Silver Medal Rd #8', city:'Chula Vista', state:'CA', rooms: 8, price: 2700, floorSpace:1652, extras: [ 'swimming pool', 'gym' ], homeType: 'Townhome', image: 'https://www.home...
# Copyright (c) 2014 Rackspace Hosting 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 t...
/* YUI 3.7.3 (build 5687) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('slider-base', function (Y, NAME) { /** * Create a sliding value range input visualized as a draggable thumb on a * background element. * * @module slider * @submodu...
import * as cons from './constant'; export const Host = process.env.NEXT_PUBLIC_API_HOST; // Cache handling. var cache = [] async function getCache(url) { if (cache[url]) { return cache[url] } const result = await fetch(url) const data = await result.json() cache[url] = data return dat...
//front-end logic $(document).ready(function() { $("#questions").submit(function(event) { var languageInput = $("input#language").val(); $(".language").text(languageInput); var question4 = $("input:radio[name=question4]:checked").val(); $(".well").show(); $(".results p").hide(); if (qu...
import { gql } from '@apollo/client'; export const FETCH_POSTS_QUERY = gql` { getPosts { id username body createdAt likeCount commentCount likes { username } comments { id username body createdAt } user { avatar } } } `; export const FETCH_POST_QUERY =...
import os import pytest from subprocess import check_output from conftest import system_check def no_curlies(filepath): """ Utility to make sure no curly braces appear in a file. That is, was Jinja able to render everything? """ with open(filepath, 'r') as f: data = f.read() template_...
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2016 breakwa11 # # 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 b...
/** * @license * Copyright 2016 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 required by applicable law ...
"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; }; var __importDefault = (this && this.__importDefault) || function (mod) { ...
// If you want to suggest a new language you can use this file as a template. // To reduce the file size you should remove the comment lines (the ones that start with // ) if(!window.calendar_languages) { window.calendar_languages = {}; } // Here you define the language and Country code. Replace en-US with your own. /...
// Copyright 2012 the V8 project authors. All rights reserved. // 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 li...
import { Groups, User as Users } from '../managers' import Connection from './connection' import Message from './message' import User from './user' import { File } from './channels' import API from './api' /** * @typedef {object} SDK * @property {Connection} Connection * @property {Message} Message * @property {U...
define({ root: ({ username: "Username", password: "Password", locale: "Locale", units: "Display units", unitsDefault: "Default unit from selected srs", unitsMeter: "Meter", unitsFeet: "Feet", srs: "Viewer SRS", agreement1: "I agree to the", agreement2: "User...
'use strict'; angular.module('admin').controller('AdminConceptsController', ['$scope', '$state', 'Authentication', '$location', 'AdminProjectFactory', 'AdminConcepts', function($scope, $state, Authentication, $location, AdminProjectFactory, AdminConcepts) { // This provides Authentication context. ...
IntlPolyfill.__addLocaleData({locale:"ff",date:{ca:["gregory","buddhist","chinese","coptic","ethioaa","ethiopic","generic","hebrew","indian","islamic","japanese","persian","roc"],hourNo0:true,hour12:false,formats:[{weekday:"long",day:"numeric",month:"long",year:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"...
const { assert, skip, test, only, module: describe } = require('qunit'); const { GPU } = require('../../dist/gpu.js'); describe('features: unsigned precision textures'); function unsignedPrecisionTexturesWithArray(mode) { const original = [1, 2, 3, 4, 5, 6, 7, 8, 9]; const gpu = new GPU({ mode }); const kernel ...
$.uredi_predavanje.open(); $.uredi_predavanje.addEventListener('android:back', function (e) { Alloy.createController('uredi_predavanja').getView(); $.uredi_predavanje.close(); }); function close(e) { $.uredi_predavanje.close(); } function clear() { $.vprasanje.value = ""; } function nazaj() { var nex...
import pickle class Student: def __init__(self, full_name, title, age): self.first_name = full_name['first_name'] self.last_name = full_name['last_name'] self.title = title self.age = age f_name = { 'first_name': 'Angel', 'last_name': 'Hurtado' } student = Student(f_name...
import uuid from copy import deepcopy from datetime import datetime, timedelta from django.test import SimpleTestCase, TestCase from six.moves import range, zip from casexml.apps.case import const from casexml.apps.case.cleanup import rebuild_case_from_forms from casexml.apps.case.exceptions import MissingServerDate ...
import firstReducer from '../src/reducers/first-reducer'; import c from './../src/constants'; describe('firstReducer', () => { let action; const stateShape = [0,1,2,3]; test('Should return default if no action type is recognized', () => { expect(firstReducer(stateShape, { type: null })).toEqual(stateShape...
(function() { var price = [ 0, 0, 10, 0, 0, 0, 20, 5, 20, 0, 10, 5, 20, 5, 10, 0, 20, 5, 20, 0, 0, 0, 10, 0, 0 ]; Dagaz.AI.heuristic = function(ai, design, board, move) { var r = 1; _.each(move.actions, function(a) { if (a[0] === null) return; if (a[1] ...
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.lv'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Pievienot komentāru"; Blockly.Msg.CHANGE_VALUE_TITLE = "Mainīt vērtību:"; Blockly.Msg.CLEAN_UP = "Sakopt blokus"; Blockly.Msg.COLLAPSE_ALL = "Sakļaut blokus...
'use strict'; /* jshint node: true, mocha: true */ /* global suiteSetup */ var assert = require('chai').assert; var fs = require('fs'); var path = require('path'); var AdmZip = require('adm-zip'); var helper = require('./helper'); suite('Integration tests', function() { suiteSetup(helper.cleanupWorkspace); teard...
import ol from 'ol'; import { default as proj4 } from 'proj4'; import moment from 'moment'; import { GeoJSON, KML } from 'ol/format'; import { Tile, Group } from 'ol/layer'; import { TileWMS, WMTS, OSM } from 'ol/source'; import { ImageWMS, ImageArcGISRest } from 'ol/source'; import { Vector } from 'ol/source'; var ut...
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.187 Contact: support@ory.sh Generated by: ht...
import { snowboxReducer } from '../src/reducers'; import { actions } from '../src/constants'; import { entity } from '../src/entity'; import { success, failure, clearAll } from '../src/actions'; const foo = entity('foo', undefined, undefined, { idField: 'key' }); const bar = entity('bar'); const baz = entity('baz', un...
import Page from './Base.page'; class EmployeePage extends Page{ get txtFirstName() { return $("#employee_first_name") } get txtLastName() { return $("#employee_last_name") } get txtEmail() { return $("#employee_email") } get txtIdentification() { return $("#employee_identification") } get txtLead...
import { fromPoints } from './fromPoints.js'; import test from 'ava'; test('poly3: fromPoints() should return a new poly3 with correct values', (t) => { const exp1 = [ [0, 0, 0], [1, 0, 0], [1, 1, 0], ]; const obs1 = fromPoints([ [0, 0, 0], [1, 0, 0], [1, 1, 0], ]); t.deepEqual(obs1, ...
import webpack from 'webpack'; import baseConfiguration from './webpack.config.client'; const WEBPACK_DEV_SERVER_PORT = 3001; const configuration = baseConfiguration({ development: true, css_bundle: true }, { devtool: 'source-map' }); // configuration.devtool = 'inline-eval-cheap-source-map' configuration.plugins.p...
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class VersionLinks: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is at...
# MenuTitle: Check Widths Against Other Fonts sf = Glyphs.font for tf in Glyphs.fonts: if tf == sf: continue for g in sf.glyphs: tg = tf.glyphs[g.name] if tg is None: print "Missing glyph:", g.name continue if g.layers[0].width != tg.layers[0].width: print g.name tg.color = 1 tg.layers[0].wid...
/** layui-v2.1.2 MIT License By http://www.layui.com */ ;!function(e){"use strict";var t=document,o={modules:{},status:{},timeout:10,event:{}},n=function(){this.v="2.1.2"},r=function(){var e=t.scripts,o=e[e.length-1].src;return o.substring(0,o.lastIndexOf("/")+1)}(),a=function(t){e.console&&console.error&&console.erro...
/** * @flow */ const FigcaptionRole: AXObjectModelDefinition = { relatedConcepts: [ { module: 'HTML', concept: { name: 'figcaption', }, }, ], type: 'structure', }; export default FigcaptionRole;
'use strict'; // let Redis = require('redis'); let config = require('../../config'); let moment = require('moment'); // let SECRET_TOKEN = "GUSTA_O0000"; let requestIp = require('request-ip'); let jwt = require('jsonwebtoken'); /* * * new jwt token * */ function generaTokenUser(id_user, req) { // Moment.js被用来设置...
from collections import ChainMap from typing import Optional, Tuple, Union from pyglet.event import EVENT_UNHANDLED import arcade from arcade.experimental.uistyle import UISliderStyle from arcade.gui import UIWidget, Surface, UIEvent, UIMouseMovementEvent, UIMouseDragEvent, UIMousePressEvent, \ UIMouseReleaseEven...
module.exports = { siteMetadata: { title: 'Trade Tourism Investment Forum 2018', }, plugins: [ 'gatsby-plugin-react-helmet', { resolve: `gatsby-source-filesystem`, options: { name: `images`, path: `${__dirname}/src/images`, }, }, 'gatsby-transformer-sharp', ...
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h("path", { d: "M11 9l1.42 1.42L8.83 14H18V4h2v12H8.83l3.59 3.58L11 21l-6-6 6-6z" }), 'SubdirectoryArrowLeftTwoTone');
import { mount } from '@vue/test-utils'; import expect from 'expect'; import ExampleComponent from '../../../resources/js/components/ExampleComponent.vue'; describe('ExampleComponent.vue', () => { it('says that it is an example component', () => { const wrapper = mount(ExampleComponent); expect(wrapper.html(...
/** * jspsych-reconstruction * a jspsych plugin for a reconstruction task where the subject recreates * a stimulus from memory * * Josh de Leeuw * * documentation: docs.jspsych.org * */ jsPsych.plugins['reconstruction'] = (function() { var plugin = {}; plugin.info = { name: 'recons...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { observer } from 'mobx-react'; import { observable } from 'mobx'; import store from './../store/Store'; import Logo from './widgets/Logo'; import SearchBar from './widgets/SearchBar'; import Counter from './widgets/Counter'; i...
# -------------------------------------------------------- # Pytorch multi-GPU Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Jiasen Lu, Jianwei Yang, based on code from Ross Girshick # -------------------------------------------------------- from __future__ import absolute_import ...
from datadog import initialize, api import time options = { 'api_key': '<YOUR_API_KEY>', 'app_key': '<YOUR_APP_KEY>' } initialize(**options) now = int(time.time()) query = 'system.cpu.idle{*}by{host}' print api.Metric.query(start=now - 3600, end=now, query=query)
export default async function getCoordsFromAddress(response, geocoder, setHouseCoords) { const coordsList = []; const addressesList = await response; addressesList.forEach((house, i) => { const address = `${house.city} ${house.streetNumber} ${house.streetName}`; geocoder.geocode({ address }, (results, st...
import React, { Component } from 'react' import './index.css' import { Col, Button, Form, FormGroup, Label, Input, FormText } from 'reactstrap' import emergencyServiceImg from '../../../images/bg-service.jpg' const EmergencyService = () => { return ( <div className='container-fluid sl-emergency-cont...
import _ from 'lodash'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { reduxForm, formValueSelector } from 'redux-form'; import { connect } from 'react-redux'; import { View, TouchableOpacity, Text } from 'react-native'; import { Select } from 'react-native-chooser'; import Autoc...
/** * Content tasks */ // Dependencies const zlib = require('zlib'); const crypto = require('crypto'); const fs = require('fs'); const path = require('path'); const gutil = require('gulp-util'); const jeditor = require('gulp-json-editor'); const rename = require('gulp-rename'); const awspublish = require('gulp-awspu...
'use strict'; class TextLabel extends Actor { constructor(x, y, text) { const hitArea = new Rectangle(0, 0, 0, 0); super(x, y, hitArea); this.text = text; } render(target) { const context = target.getContext('2d'); context.font = '25px sans-serif'; ...
from setuptools import setup setup(name='pyLruCache', version='3.0.1', description='Use Lru dict for cache.', url='http://github.com/rfyiamcool', author='ruifengyun', author_email='rfyiamcool@163.com', long_description=open('README.md').read(), license='MIT', packages=['...
import React from 'react'; import TestRenderer from 'react-test-renderer'; import 'jest-styled-components'; import HiddenCheckableInput from './hidden-checkable-input.component'; function render(props) { return TestRenderer.create(<HiddenCheckableInput { ...props } />); } describe('HiddenCheckableInput', () => { ...
var pull = require('pull-stream') var Filter = require('./filter') module.exports = function createMemoryIndex (log, name) { function fullScan (log, opts) { return log.stream({ values: true, seqs: false, //TODO test coverage for live/old - the tests arn't right for live when the log starts as empty ...
/* * 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 ...
from output.models.saxon_data.override.over007_xsd.over007 import Section __all__ = [ "Section", ]
"""Gets data from twitter. Collects tweets, usually English, by searching for random stop words (i.e. normal everyday words like "that", "which", "and"). You'll need a Twitter API key for that. This isn't currently a command line program -- you'll need to change variables in the code itself. """ from TwitterAPI imp...
const { promisify } = require("util"); const fs = require("fs"); const path = require("path"); module.exports = { updateDeployedAddresses, }; async function updateDeployedAddresses(network, contractName, address) { if (network.includes("-fork")) { // Don't update the deployments file if it's just a ganache fo...
const fetch = require('node-fetch'); const FormData = require('form-data'); const { URL, URLSearchParams } = require('url'); const { spawn } = require('child_process'); const fs = require('fs').promises; const fse = require('fs-extra'); const { resolve } = require('path'); const { fetchUploadData, download, exec, prox...
'use strict'; app.controller('advisorController', ['$routeParams', '$modal', 'dataService', 'authService', 'staffService', 'localStorageService', 'Upload', '$scope', function ($routeParams, $modal, dataService, authService, staffService, localStorageService, Upload, $scope) { var advisor = this; ad...
/** * Created by john on 15/10/2017. */ require('ts-node/register'); var helpers = require('./helpers'); exports.config = { baseUrl: 'http://localhost:3000/', // use `npm run e2e` specs: [ helpers.root('src/**/**.e2e.logout.ts'), helpers.root('src/**/*.e2e.logout.ts') ], exclude: [], framework...
console.log('RPC test'); var assert = require('assert'); var after = require('after'); var reg = require('../../dist/Registry'); var sample = require('./../extra/wsrpc_registry_classes').wsrpc_registry_classes; reg.DEBUG = true; suite('RPCRegistry'); test('Building and working with object registry', function() { ...
from django.conf import settings from django.db import DEFAULT_DB_ALIAS as database from django.contrib.auth.models import User from django.conf import settings from payment.models import Settings import django django.setup() from plans.models import Plan,PromoCode,PromoType,PromoTypePlanDetail import os from django....
import React from 'react'; import { Route, Switch } from 'react-router'; import Home from './home'; import Notas from './notas'; import Cronograma from './cronograma'; import MenuModulos from './roteiros/menu-modulos'; import Modulo from './roteiros/modulo'; import Submodulo from './roteiros/submodulos' export const a...
const webpack = require('webpack'); const { resolve } = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { entry: [ 'react-hot-loader/patch', 'webpack-dev-server/client?http://localhost:8080', 'webpack/hot/only-dev-server', resolve(__dirname, "src", "index....
""" Test the printing of anonymous and named namespace variables. """ import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class NamespaceLookupTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) def setUp(self): # ...
import Ember from 'ember'; import rules from 'ember-cli-i18n/rules/es'; import cldrTest from '../../helpers/cldr'; var result = { one: 'one', other: 'other' }; var path = 'result'; var countryCode = 'es'; var ruleResults; module('CLDR Rules - Spanish ('+countryCode+')'); test('one', function() { cldrTest(1, '...
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, env: { browser: true, }, extends: 'airbnb-base', // required to lint *.vue files plugins: [ 'html' ], // check if imports actually resolve ...
export default class AbstractEncoder { constructor() { if (new.target === AbstractEncoder) { throw new TypeError('Cannot construct AbstractSerializer instances directly.'); } } /** * Checks whether the serializer can encode to given format. * * @param {String|Number|Boolean...
var searchData= [ ['factoryflags',['FactoryFlags',['../../base/structSteinberg_1_1PFactoryInfo.html#a618f56f095d5a47e04cb2a60c9fb7380',1,'Steinberg::PFactoryInfo']]], ['factoryinfo',['factoryInfo',['../classSteinberg_1_1CPluginFactory.html#a5048a618e5819f448694d729e8d0ae22',1,'Steinberg::CPluginFactory']]], ['fal...
/*! For license information please see index.bundle.js.LICENSE.txt */ (()=>{var e={647:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(81),a=n.n(r),o=n(645),l=n.n(o)()(a());l.push([e.id,"h1{color:teal}",""]);const i=l},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((fun...
import React from 'react'; const Icon186 = () => <span>Icon186</span>; export default Icon186;
'use strict' const fs = require(process.cwd()) const os = require('os') const path = require('path') const assert = require('assert') const crypto = require('crypto') /* global beforeEach, describe, it */ describe('+ copySync()', () => { const SIZE = 16 * 64 * 1024 + 7 let TEST_DIR let src, dest beforeEach(...
import logging def createLogger(name: str, level: int) -> logging.Logger: logger = logging.getLogger(name=name) loggingLevel = logging.INFO if level == 0: loggingLevel = logging.ERROR elif level == 2: loggingLevel = logging.DEBUG logger.setLevel(loggingLevel) ch = logging.St...
import ibis.expr.types as ir import ibis.expr.operations as ops import ibis.util as util import ibis.common as com def _list_to_tuple(x): if isinstance(x, list): x = tuple(x) return x class Window: """ A generic window function clause, patterned after SQL window clauses for the time bei...
'use strict'; var program = require('commander'); var path = require('path'); var bitcorenode = require('..'); var utils = require('../utils'); function main(servicesPath, additionalServices) { /* jshint maxstatements: 100 */ var version = bitcorenode.version; var create = bitcorenode.scaffold.create; var ad...
'use strict' module.exports = require('./dist/test-lerna-repo-c.cjs.js')
var log4js = require('log4js'); log4js.configure({ appenders: [ { type: 'console' },{ type: 'dateFile', filename: 'logs/server.log', pattern: "_yyyy-MM-dd", maxLogSize: 1024, alwaysIncludePattern: false, backups: 4 } ], replaceConsole: ...
module.exports = { plugins: [ ['tailwindcss'], ['autoprefixer'], ], };
/*************************************************************** * * This module was created by Oscar Ferruz. oferruz@logix5.com * ****************************************************************/ goog.provide('Blockly.Blocks.PIXY2'); goog.require('Blockly.Blocks'); Blockly.Arduino['pixy2_init'] = function(bloc...
import {hcl as colorHcl} from "d3-color"; import color, {hue} from "./color.js"; function hcl(hue) { return function(start, end) { var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h), c = color(start.c, end.c), l = color(start.l, end.l), opacity = color(start.opacity, end.op...
# SPDX-License-Identifier: Apache-2.0 # Licensed to the Ed-Fi Alliance under one or more agreements. # The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. # See the LICENSE and NOTICES files in the project root for more information. from pytest import mark, fixture from ..utils import ...
from unittest import TestCase from unittest.mock import Mock from guet.commands.usercommands.addcommitter.add_committer_strategy import AddCommitterGloballyStrategy from guet.committers.committer import Committer from guet.committers.committers import Committers class TestAddCommitterStrategy(TestCase): def test...