text stringlengths 3 1.05M |
|---|
'use strict'
var helper = require('../../lib/agent_helper')
var shared = require('./shared')
var s = shared.makeSuite('Tracer segments')
var suite = s.suite
var tracer = s.agent.tracer
var tx = helper.runInTransaction(s.agent, function(_tx) { return _tx })
var bound = tracer.bindFunction(shared.getTest(), tx.root, t... |
from datasets.dataset_plugin import DatasetPlugin
from datasets.plugins import MetaflowExecutor
def register():
from importlib_metadata import entry_points
# Register plugins
for entry in entry_points(group="datasets.plugins"):
entry.load()
# Register default executor first
DatasetPlugin... |
import numpy as np
import pandas as pd
import scipy.spatial
from sklearn.metrics.scorer import _BaseScorer
from solnml.components.utils.constants import CLS_TASKS
from sklearn.cluster import AgglomerativeClustering
from sklearn.metrics import accuracy_score
def choose_base_models_regression(predictions, labels, num_m... |
/* version */
export { default as getCurrentVersion } from './lib/util/getCurrentVersion';
export { default as getNextVersion } from './lib/util/getNextVersion';
export { default as updateVersion } from './lib/util/updateVersion';
export { default as isValidVersion } from './lib/util/isValidVersion';
export { default a... |
export default {
elem: 'svg',
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 32 32',
width: 32,
height: 32,
},
content: [
{
elem: 'path',
attrs: {
d:
'M23 13h-4V9h-2v14h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2zm-4 8v-6h4v6zm-4-9a3 3 0 0 0-3-3H7v14h5a3 3 0 0... |
const InputBlock = require('../inputBlock')
class Keyword extends InputBlock {
constructor (data) {
super(data)
this.keyword = data.keyword || this.requiredField('keyword')
this.title = data.title || this.requiredField('title')
this.subtitle = data.subtitle
this.icon = data.icon
}
respondsTo... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... |
from postgres_example.config import connection, cursor, config
# Добавление одного кортежа данных
sql = f"INSERT INTO {config.TABLE} (name, phone, email, address) VALUES (%s, %s, %s, %s)"
values = ('Test1', '8999999', 'a@mail.ru', 'Moscow')
cursor.execute(sql, values)
connection.commit()
values = [
("Vasya1", "... |
var struct_state =
[
[ "scene", "struct_state.html#a6de66f9ad116ce1d596c7f4edc40c521", null ],
[ "major", "struct_state.html#ac8947941479c38403a09c14a60b03f01", null ],
[ "minor", "struct_state.html#aec7b96885baf2e6f10efbdef9d935a0b", null ],
[ "level", "struct_state.html#afac31197e707bcd71657a31cb13989... |
/**
* Copyright 2014 Google Inc. 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... |
"""
Helper functions for Pytorch3d Renderers.
"""
import numpy as np
import pytorch3d
from ners.pytorch3d.rasterizer import MeshRasterizer
def ambient_light(device="cpu"):
lights = pytorch3d.renderer.DirectionalLights(
device=device,
ambient_color=((1.0, 1.0, 1.0),),
diffuse_color=((0.0, ... |
require('./content.less');
require('./banner/jquery.vm-carousel.css');
require('cp');
import { cookieUtil, path } from 'utils';
require('./banner/index.js');
const isLogin = cookieUtil.getCookie('uuid') == null ? false : true;
require('../_common/cityLayer.js');
require('./banner/modernizr.js');
require('./banner/jquer... |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... |
import torch
from src.utils import pdump, pload, bmmt, axat, pltt, plts
import matplotlib.pyplot as plt
import os
import numpy as np
from termcolor import cprint
from src.lie_algebra import SO3
class BaseIEKF:
"""IEKF where variable are in CPU, in double, and NOT in batch.
Record only position."""
# grav... |
module.exports = require('./lib/edits');
|
import 'web-audio-test-api';
import Ringmod from './Ringmod';
describe('Ringmod', () => {
it('should set default params', () => {
const ringmod = new Ringmod();
expect(ringmod.getType()).toEqual('sine');
expect(ringmod.getFrequency()).toEqual(100);
expect(ringmod.getDepth()).toEqual(1);
expect(r... |
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
/* Layout */
import Layout from '@/layout'
/* Router Modules */
import componentsRouter from './modules/components'
import chartsRouter from './modules/charts'
import tableRouter from './modules/table'
import nestedRouter from './modules/nested'
... |
module.exports=function(t){var o={};function r(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=t,r.c=o,r.d=function(t,o,n){r.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.... |
a=[1,2,,3,]
|
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import AppRouter, { history } from './routers/AppRouter';
import configureStore from './store/configureStore';
import { login, logout } from './actions/auth';
import { startSetRoom } from './actions/rooms';
import 'norm... |
/*generated by a tool*/
Createken2SpriteData = function(player)
{
spriteLookup_.load("images/misc/ken2/r-fb-projectile-1.png","images/misc/ken2/projectiles.png", "0px", "-6px", "116px", "81px");
spriteLookup_.load("images/misc/ken2/r-fb-projectile-2.png","images/misc/ken2/projectiles.png", "-116px", "-2px", "148px", ... |
export default () => 'hello world!'
|
/*!
* Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file.
*/
import {SparkPlugin} from '@ciscospark/spark-core';
import {deprecated, oneFlight} from '@ciscospark/common';
import {get, set} from 'lodash';
import S from 'string';
import backoff from 'backoff';
import Socket from './socket';
import {
BadReq... |
#!/usr/bin/python
#
# Copyright 2018-2021 Polyaxon, 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 ... |
'use strict';
var ou = require('./objectUtils');
var alternative = require('./alternative');
var types = {
alternative: function(fields, props) {
var s = alternative.schema(props.getValue(props.path), props.schema, props.context);
return types.object(fields, ou.merge(props, { schema: s }));
},
array:... |
/**
* @jest-environment jsdom
*/
import React from 'react';
import {render} from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import Accordion from '../Accordion';
import AccordionItem from '../AccordionItem';
jest.useFakeTimers();
describe('Accordion', () => {
test('renders a d... |
/**
* Created by phanmduong on 9/11/17.
*/
import React from 'react';
import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import * as classActions from './classActions';
import Loading from '../../components/common/Loading';
import FormInputText from '../../components/common/FormInputText';... |
YUI.add('datasource-io', function(Y) {
/**
* Provides a DataSource implementation which can be used to retrieve data via the IO Utility.
*
* @module datasource
* @submodule datasource-io
*/
/**
* IO subclass for the DataSource Utility.
* @class DataSource.IO
* @extends DataSource.Local
* @constructor
*/ ... |
self.addEventListener('fetch', function(event) {
event.respondWith(async function() {
try {
var res = await fetch(event.request);
var cache = await caches.open('cache');
cache.put(event.request.url, res.clone());
return res;
} catch (error) {
... |
module.exports = {
verifyConditions: ['semantic-release-vsce', '@semantic-release/github'],
prepare: [
{
path: '@semantic-release/changelog',
changelogFile: 'CHANGELOG.md',
},
'@semantic-release/git',
{
path: 'semantic-release-vsce',
packageVsix: 'extension.vsix',
},
],... |
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[14],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./resources/frontend/applications/usergroups/pages/Create.vue?vue&type=script&lang=js&":
/*!****************************... |
import mongoose from 'mongoose';
import jwt from 'jsonwebtoken';
const Schema = mongoose.Schema;
const userSchema = new Schema({
username: {type: 'String', required: true},
password: {type: 'String', required: true},
name: {type: 'String', required: true},
surname: {type: 'String', required: true},
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.PermPhoneMsg = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "cu... |
import{S as e,i as t,s as r}from"./main-970a190c.js";function n(e){return{"editor_item_19.xml":'<smxml xmlns="http://www.w3.org/1999/xhtml" type="14" name="Match List"><matchlist listheading1="Error Message" listheading2="Description" multimatch="2">\x3c!--[CDATA[\nMemory failure; replace RAM[MULTI_BIT_ECC_ERROR]\nThe ... |
"use strict";
var _react = _interopRequireDefault(require("react"));
require("antd/lib/button/style");
var _button = _interopRequireDefault(require("antd/lib/button"));
require("antd/lib/message/style");
var _message2 = _interopRequireDefault(require("antd/lib/message"));
function _interopRequireDefault(obj) { re... |
import numpy
import scipy
from sklearn.feature_extraction.text import TfidfVectorizer
def get_word_set(tweets):
word_set = set()
for tweet in tweets:
word_set = word_set.union(tweet.get_keywords())
return word_set
def get_word_freqs(tweets, word_set=None, normalized=False):
word_set = get_wo... |
const getters = {
sidebar: state => state.app.sidebar,
device: state => state.app.device,
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,
position: state => state.user.position
}
export default getters
|
const webpack = require('webpack');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const CopyPlugin = require('copy-webpack-plugin');
module.exports = {
entry: {
home: __dirname + '/src/js/app/home.js',
bonbon: __dirname + '/src/js/app/bonbon.js',
rewind: __dirname + '/src/js/app/rewind.js',
... |
from .mixins import NextMixin
from .state import State
class UnknownState(NextMixin, State):
pass
|
# -*- coding: utf-8 -*-
from . import models
from . import test |
import React, {useState, useEffect, useContext } from 'react'
import { Button, Table } from 'react-bootstrap'
const UserList = ({user, firebase}) => {
const [info, setInfo] = useState([])
useEffect(() => {
const abortController = new AbortController()
const signal = abortController.signal
... |
#!/usr/bin/env python
from __future__ import print_function
import argparse
import dace
import math
import numpy as np
W = dace.symbol('W')
H = dace.symbol('H')
BINS = 256 # dace.symbol('BINS')
@dace.program(dace.uint8[H, W], dace.uint32[BINS])
def histogram(A, hist):
# Declarative version
tmp = dace.defin... |
"use strict";
/*!
* devextreme-angular
* Version: 17.2.6
* Build date: Mon Mar 05 2018
*
* Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file in the root of the project for details.
*
... |
var PAGE_CHANGE_DELAY = 4000;
/**
* Animates pages in cycle (loop possible if children count > 1)
*/
class Carousel extends Element{
constructor(){
super();
}
componentWillMount(){
super.componentWillMount && super.componentWillMount();
if (!!this.props.children) {
var childrenCount = this.props.childre... |
define(function(){
function animation($window, now){
var topdx = 60;
var duration = 300;
var raf = $window.requestAnimationFrame;
var rafCancel = $window.cancelAnimationFrame;
return {
enter: function(element, done){
var el = element[0]; // raw ... |
/**
* 以下所谓的“空白符”代表:
* "\t" TAB \u0009 (制表符)
* "\n" LF \u000A (换行符)
* "\r" CR \u000D (回车符)
* " " SPC \u0020 (真正的空格符)
*
* 不包括 JavaScript 的“\s”,因为那代表如不断行字符等其他字符。
*/
/**
* 测知某节点的文字内容是否全为空白。
*
* @参数 nod |CharacterData| 类的节点(如 |Text|、|Comment| 或 |CDATASection|)。
* @传回值 若 |nod| 的文字... |
'use strict';
const fs = require('fs');
const path = require('path');
const chalk = require('chalk');
const fse = require('fs-extra');
const objHash = require('object-hash');
exports.enabledForAnyCases = (req, res) => {
if (!req.$$proxyCache) {
return false;
}
return !req.$$proxyCache.offlineOnly;
};
expo... |
module.exports = (sequelize, Sequelize) => {
const User = sequelize.define("user", {
username: {
type: Sequelize.STRING
},
email: {
type: Sequelize.STRING
},
password: {
type: Sequelize.STRING
},
name: {
type: Sequelize.STRING
},
lastName:{
type: Seque... |
// document.addEventListener('DOMContentLoaded', function() {
jQuery(document).ready(function ($) {
// ================== Dropdown
if ($(window).width() < 1200) {
$(function () {
$('#myUL li').click(function (e) {
e.stopPropagation();
$(this).children('... |
var searchData=
[
['basedecimatermodule',['BaseDecimaterModule',['../a02417.html',1,'OpenMesh::Decimater']]],
['basedecimatert',['BaseDecimaterT',['../a02421.html',1,'OpenMesh::Decimater']]],
['baseexporter',['BaseExporter',['../a01961.html',1,'OpenMesh::IO']]],
['basehandle',['BaseHandle',['../a02189.html',1,'... |
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/material/core"),require("@angular/cdk/a11y"),require("@angular/platform-browser/animations")):"function"==typeof define&&define.amd?define("@angular/material/button",["exports","@angular/core","@angu... |
#!/usr/bin/env node
const utils = require('./utils.js');
utils.install((err) => {
if (err) {
console.error(err);
process.exit(1);
} else {
process.exit(0);
}
});
|
function initVideoStream() {
let url = '/stream/manifest.mpd';
let player = dashjs.MediaPlayer().create();
player.initialize(document.querySelector('#sampleVideo'), url, true);
}
window.onload = ()=>{
initVideoStream();
};
|
from django.shortcuts import render
# Create your views here.
def home(request):
return render(request, 'index.html') |
/*
Terminal Kit
Copyright (c) 2009 - 2017 Cédric Ronvel
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the right... |
import React from "react";
import { GatsbyImage } from "gatsby-plugin-image";
import { getGatsbyImageData } from "gatsby-source-sanity";
import clientConfig from "../../client-config";
export default ({ node }) => {
if (!node || !node.asset || !node.asset._id) {
return null;
}
const imageDate = getGatsbyImag... |
define(['util/formatters'], function(F) {
'use strict';
return [
{
type: 'saveWorkspace',
kind: 'eventWatcher',
eventNames: ['workspaceSaving', 'workspaceSaved'],
titleRenderer: function(el, datum) {
el.textContent = datum.eventData.title... |
import argparse
import cloudpickle
from multiprocessing import Process, Pipe
import numpy as np
from .base import BaseEnv
class RunningNormalizer(object):
def __init__(self, shape):
self.shape = shape
self.running_mean = np.zeros(shape)
self.running_var, self.running_std = np.ones(shape)... |
import logging
import xml.etree.ElementTree as et
from django.core.management.base import BaseCommand
from rdmo.conditions.imports import import_conditions
from rdmo.domain.imports import import_domain
from rdmo.options.imports import import_options
# from rdmo.projects.imports import import_project
from rdmo.questio... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Utils = require('web3-utils');
var web3CoreHelpers = require('web3-core-helpers');
var _classCallCheck = _interopDefault(... |
import '../styles/global.css'
import Typography from "typography"
import Wordpress2016 from "typography-theme-wordpress-2016"
Wordpress2016.overrideThemeStyles = () => ({
a: {
color: 'var(--textLink)',
},
// gatsby-remark-autolink-headers - don't underline when hidden
'a.anchor': {
boxShadow: 'none',
... |
// THIS FILE IS GENERATED AUTOMATICALLY. DO NOT MODIFY.
import { SigningStargateClient } from "@cosmjs/stargate";
import { Registry } from "@cosmjs/proto-signing";
import { Api } from "./rest";
import { MsgVoteWeighted } from "./types/cosmos/gov/v1beta1/tx";
import { MsgSubmitProposal } from "./types/cosmos/gov/v1beta1... |
#!/usr/bin/env python
# nsx-edge-gen
#
# Copyright (c) 2015-Present Pivotal Software, Inc. 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/l... |
# coding=utf-8
# Copyright 2018 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable... |
const express = require('express')
module.exports = function(server){
// Define base URL for all routes
const router = express.Router()
server.use('/api', router)
// Payment cycles routes
const BillingCycle = require('../api/billingCicle/billingCicleService')
BillingCycle.regist... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" Soundclim Utilities
Module with functions useful to compile datasets for SoundClim
VERSION 0.2
Created on Feb 2019 (version 0.1)
Updated on May 2019 (version 0.2)
Updated on July 2019 (version 0.3):
bug on batch_feature_rois solved by removing db_range parameter
... |
import numpy as np
import gzip
import pyscal.catom as pca
from ase import Atom, Atoms
import gzip
import io
import os
#new function to wrap over ase objects
def read_snap(aseobject, check_triclinic=False):
"""
Function to read from a ASE atoms objects
Parameters
----------
aseobject : ASE Atoms ob... |
from n2 import HnswIndex
import random
f = 3
t = HnswIndex(f, "L2") # HnswIndex(f, "L2 or angular")
for i in xrange(1000):
v = [random.gauss(0, 1) for z in xrange(f)]
t.add_data(v)
t.build(m=5, max_m0=10, n_threads=4)
t.save('test.n2')
u = HnswIndex(f, "L2")
u.load('test.n2')
search_id = 1
k = 3
neighbor_i... |
function merge_sort(input){
var len = input.length; // get Length
console.log(input);
if(len == 1) return input;
var a = input.slice(0, Math.floor(len/2)); // split array in 2 (a, b)
var b = input.slice(Math.floor(len/2));
a = merge_sort(a); // recursive calls for each... |
#!/usr/local/bin/python2.7
from numpy import *
from imagestack import *
import os, sys
def usage():
print >> sys.stderr, 'Usage:', sys.argv[0], '[--tile pixel_rows/pixel_columns] [--size-mismatch skip|error|crop-upperleft (default: error)] path/to/image1 [path/to/image2 ... path/to/imageN] path/to/output'
sy... |
/*
* ! ${copyright}
*/
// ---------------------------------------------------------------------------------------
// Helper class used to execute model specific logic in FieldBase
// ---------------------------------------------------------------------------------------
sap.ui.define([
], function(
) {
"use strict... |
import path from 'path';
import webpack from 'webpack';
import { createFsFromVolume, Volume } from 'memfs';
import ExtractCssChunks from '../../src';
export default (fixture, loaderOptions = {}, config = {}) => {
const fullConfig = {
mode: 'development',
devtool: config.devtool || false,
context: path.... |
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Objec... |
"""
MIT License
Copyright (c) 2020 Myer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, ... |
import unittest
import torch
from mcp.models import PretrainedCNN, get_official_names, get_pretrained_names, get_timm_names
class ModelTest(unittest.TestCase):
def test_official_cnn(self):
t = torch.ones([1, 1, 64, 64])
names = get_official_names()
for name in names:
model = ... |
/**
* Executes a provided function once for each CSS block element.
*
* @param {Root|Document} root - root element of file.
* @param {function} cb - Function to execute for each CSS block element
*/
export default function(root, cb) {
// class `Document` is a part of `postcss-html`,
// It is collection of root... |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file a... |
var fs = require('fs');
var assert = require('assert');
var csso = require('../lib');
var SourceMapConsumer = require('source-map').SourceMapConsumer;
var css = '.a { color: #ff0000; }\n.b { display: block; float: left; }';
var minifiedCss = '.a{color:red}.b{display:block;float:left}';
var anonymousMap = defineSourceMa... |
import { defineComponent, openBlock, createBlock, createVNode } from 'vue';
var script = defineComponent({
name: "BankCardFill"
});
const _hoisted_1 = {
width: "24",
height: "24",
viewBox: "0 0 24 24",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
};
const _hoisted_2 = /* @__PURE__ */ createVNode("pat... |
(function() {
'use strict';
angular
.module('quisListingApp')
.controller('QlPagesController', QlPagesController);
QlPagesController.$inject = ['$scope', '$state', 'QlPage', 'QlPageSearch', 'ParseLinks', 'AlertService',
'paginationConstants', 'pagingParams', 'DataLanguageHub'];
... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.lang['en-gb']={"wsc":{"btnIgnore":"Ignore","btnIgnoreAll":"Ignore All","btnReplace":"Replace","btnReplaceAll":"Replace All","btnUndo":"Undo","ch... |
import sqlite3
import md5
def md5sum(t):
return md5.md5(t).hexdigest()
con = sqlite3.connect(":memory:")
con.create_function("md5", 1, md5sum)
cur = con.cursor()
cur.execute("select md5(?)", ("foo",))
print cur.fetchone()[0]
|
from violas_client.error import LibraError
def get_exception(func):
def catch_execption_func(*args, **kwargs):
try:
return func(*args, **kwargs)
except Exception as e:
return None
raise LibraError(message=str(e))
return catch_execption_func
|
function FiredSignal(signalName, signalIdentifier, targetProcesses = [], sourceProcess, workDir) {
this.name = signalName;
this.signalIdentifier = signalIdentifier;
this.targetProcesses = targetProcesses;
this.sourceProcess = sourceProcess;
this.workDir = workDir
}
FiredSignal.prototype.getSourcePr... |
webpackHotUpdate('static/development/pages/_app.js', {
/***/ './node_modules/css-loader/dist/cjs.js?!./node_modules/next/dist/compiled/postcss-loader/index.js?!./src/styles/global.css':
/*!*****************************************************************************************************************************... |
import {createAction} from 'redux-actions';
import {PREV_MONTH, NEXT_MONTH, SELECT_DATE} from './constants';
export const prevMonth = createAction(PREV_MONTH);
export const nextMonth = createAction(NEXT_MONTH);
export const selectDate = createAction(SELECT_DATE); // display list of todos for that day
const uid = () =>... |
export load from './load'
export update from './update'
|
import { registerRoutes } from '../../routes/routes'
const routes = r => {
r.prefix(
'api/dev',
r => {
r.get('home', 'devhome@home')
r.get('models', 'devmodels@index')
r.get('routes', 'devroutes@index')
r.get('controllers', 'devcontrollers@index')
... |
// ./js/lib/journal/events.other.js
/**
* -------------------------
* Api Chapter 12. Other Events
* -------------------------
*/
const interface = require('../interface');
const journal = require('../journal')
const ApproachSettlement = (line) => {
return new Promise((resolve) => {
let result = {callback: i... |
import { Object3D, BoxBufferGeometry, Material, Mesh, BoxHelper } from "three";
import EditorNodeMixin from "./EditorNodeMixin";
export default class BoxColliderNode extends EditorNodeMixin(Object3D) {
static legacyComponentName = "box-collider";
static nodeName = "Box Collider";
static _geometry = new BoxBuff... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
# Copyright 2014 The Oppia 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 applicable ... |
vet = [#(1960,3032160395),
# (1961,3073368589),
#(1962,3126509809),
#(1963,3191786428),
#(1964,3257459749),
#(1965,3324545319),
#(1966,3394783653),
#(1967,3464689185),
#(1968,3535355316),
#(1969,3610178793),
#(1970,3685753341),
#(1971,3763393039),
#(1972,3840269676),
#(1973,3916243701),
#(1974,39928712... |
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).Redux={})}(this,(function(e){"use strict";var t=function(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):... |
# coding: utf-8
"""
OpenAPI
tinkoff.ru/invest OpenAPI. # noqa: E501
The version of the OpenAPI document: 1.0.0
Contact: n.v.melnikov@tinkoff.ru
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
class OperationType(object):
"""NOTE: This cl... |
import React from 'react';
import { Link } from 'gatsby';
const ContactPage = () => (
<div>
<h1>Contact page</h1>
<Link to="/">Go to Home</Link>
<br />
<Link to="/about/">Go to About</Link>
<br />
<Link to="/blog/">Go to Blog</Link>
<br />
</div>
);
export default ContactPage;
|
import React from 'react';
const AnnotationItem = function({index, data, removeHandler, userId}) {
const date = new Date(data.created);
const dateString = date.toLocaleTimeString() + " . " + date.toLocaleDateString();
return (
<div className="item" style={{borderColor: data.userColor}}>
... |
/*!
* Copyright 2017 Google Inc. 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... |
from collections import defaultdict
import math
from typing import Callable
from typing import cast
from typing import DefaultDict
from typing import List
from typing import Optional
import numpy as np
from optuna._experimental import experimental
from optuna.logging import get_logger
from optuna.study import Study
f... |
const Channel = require('./Channel');
const TextBasedChannel = require('./interfaces/TextBasedChannel');
const MessageStore = require('../stores/MessageStore');
/**
* Represents a direct message channel between two users.
* @extends {Channel}
* @implements {TextBasedChannel}
*/
class DMChannel extends Channel {
... |