text stringlengths 3 1.05M |
|---|
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/** @typedef {{testQueryResult: string}} */
var TestMessageResponseData;
/** @typedef {{testQuery: string}} */
var TestMessageQueryData;
|
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8
from datetime import datetime
from framework.utils.common_utils import by_css
PROJECT_NAME = "project_name"
QUESTIONS = "questions"
HEADERS = "headers"
DATA_RECORDS = "data_records"
DAILY_DATE_RANGE = "daily_date_range"
MONTHLY_DATE_RANGE = "month_date_range"
CURRENT_MONTH =... |
/**
* 自定义上传接口
* 由于所有Neditor请求都通过editor对象的getActionUrl方法获取上传接口,可以直接通过复写这个方法实现自定义上传接口
* @param {String} action 匹配neditor.config.js中配置的xxxActionName
* @returns 返回自定义的上传接口
*/
UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
UE.Editor.prototype.getActionUrl = function(action) {
/* 按config中的xx... |
###############################################################################
# Copyright (c) 2017-2020 Koren Lev (Cisco Systems), #
# Yaron Yogev (Cisco Systems), Ilia Abashin (Cisco Systems) and others #
# #
... |
var Utils = {
isUrl: function (val) {
return /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@\-\/]))?/.test(val);
},
isTag: function(val){
return /^<\/?[\w\s="/.':;#-\/\?]+>/gi.test(val);
},
isColor: function (val) {
return /(^#[0-9A-F]{6}$)|(^#[0-... |
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# MIT License. See license.txt
from __future__ import unicode_literals, print_function
from six import string_types
import frappe, copy, json
from frappe import _, msgprint
from frappe.utils import cint
import frappe.share
rights = ("select", "read",... |
"""Author: Brandon Trabucco, Copyright 2019"""
from abc import ABC, abstractmethod
class Saver(ABC):
@abstractmethod
def save(
self,
iteration
):
return NotImplemented
@abstractmethod
def load(
self,
iteration
):
return NotImplemented
|
'use strict';
var passport = require('passport'),
JwtStrategy = require('passport-jwt').Strategy,
ExtractJwt = require('passport-jwt').ExtractJwt;
var path = require('path'),
db = require(path.resolve('./config/lib/sequelize')).models,
policy = require('../policies/mago.server.policy'),
channelStr... |
import React from 'react'
import { NavigationContainer } from '@react-navigation/native'
import { createStackNavigator } from '@react-navigation/stack'
import IndexScreen from './screens/index'
const Stack = createStackNavigator()
function AppStack() {
return (
<Stack.Navigator
initialRouteName="Index"
... |
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
}... |
export const SET_RECENT_POSTS = 'SET_RECENT_POSTS'
export const SET_RESULTS_POST = 'SET_RESULTS_POST' |
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup UnaCore UNA Core
* @{
*/
/**
* Simple Uploader js class
*/
function BxDolUploaderSimple (sUploaderObject, sStorageObject, sUniqId, options) {
this.init(sUploaderObject, sStorageObject, sUniqI... |
// GENERATE BY ./scripts/generate.ts
// DON NOT EDIT IT MANUALLY
import * as React from 'react';
import AppstoreFilledSvg from "@ant-design/icons-svg/es/asn/AppstoreFilled";
import AntdIcon from '../components/AntdIcon';
var AppstoreFilled = function AppstoreFilled(props, ref) {
return React.createElement(AntdIcon, ... |
const AnchorJS = require('anchor-js')
const anchors = new AnchorJS()
anchors.options.placement = 'right'
anchors.options.visible = 'always'
anchors.add('.book-content h2, .book-content h3')
|
import styled from "styled-components";
export const Container = styled.div`
position: relative;
`;
export const TriggerButton = styled.button`
display: inline-flex;
align-items: center;
margin: 0;
padding: 0;
background-color: yellow;
width: 150px;
height: 40px;
border-radius: 5px;
font-size: 15p... |
const express = require('express');
const routes = require('./routes');
const sequelize = require("./config/connection");
// import sequelize connection
const app = express();
const PORT = process.env.PORT || 3001;
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.use(routes);
// sync se... |
async function findNearByDrivers() {
try {
navigator.geolocation.getCurrentPosition(
async position => {
const arru = []
arru.length
const {latitude: lat, longitude : lng} = position.coords
const nearByDrivers = await get(`${URL}/nearby?lat=${lat}&lng=${lng}`)
console... |
const fs = require('fs');
const babelParser = require('@babel/parser');
const code = fs.readFileSync(__dirname + '/test.js', 'utf8');
const ast = babelParser.parse(code, {
sourceType: 'module'
});
console.log(JSON.stringify(ast, null, 2)) |
'use strict';
var config = require("../lib/config");
var helper = require("../helper");
var redis = config.redis;
describe("The 'exits' method", function () {
helper.allTests(function(parser, ip, args) {
describe("using " + parser + " and " + ip, function () {
var client;
before... |
const { NotImplementedError } = require('../extensions/index.js');
/**
* Implement class VigenereCipheringMachine that allows us to create
* direct and reverse ciphering machines according to task description
*
* @example
*
* const directMachine = new VigenereCipheringMachine();
*
* const reverseMachine = n... |
/*jslint browser: true*/
/*jslint jquery: true*/
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* http://github.com/tzuryby/hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/... |
import React from 'react'
const FormResults = ({
children,
formAttributes,
elements,
library,
...props
}) => (
<section {...formAttributes}>
{elements.map((element, key) => {
if (!element) return null
if (!library.has(element.type)) return null
const Component = library.get(element.ty... |
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).GameStats=e()}(this,(function(){"use strict";function t(t,e,r,i,n,a,o){try{var s=t[a](o),h=s.value}catch(t){return void r(t)}s.done... |
/*!
=========================================================
* Argon Dashboard React - v1.2.0
=========================================================
* Product Page: https://www.creative-tim.com/product/argon-dashboard-react
* Copyright 2021 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT (https:/... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Types = undefined;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbo... |
# 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,... |
export const searchTypes = Object.freeze({
allContents: "allContents",
question: "question",
discussion: "discussion",
workbook: "workbook",
user: "user",
});
|
// Saves options to chrome.storage
function save_options() {
const tabs_threshold = document.getElementById('tabs-threshold').value;
chrome.storage.sync.set({
tabsThreshold: tabs_threshold,
}, function() {
const status = document.getElementById('status');
status.textContent = 'saved.';
setTimeout(fun... |
const userTypingInterval = 3000;
const botTypingInterval = 2000;
export default {
conversationHash: 'convo-demo-2',
settings: {
skin: 'messenger',
simulateChat: true,
},
authors: {
'human': {
background: '#0084ff',
color: '#fff',
position: 'right',
},
'bot-1': {
back... |
/** @format */
export default {
UPDATE_DEFAULT_FIELD(state, value) {
state.defaultField = value;
},
};
|
# -*- coding: utf-8 -*-
# Copyright (c) Canux CHENG <canuxcheng@gmail.com>
#
# 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 ... |
const Hapi = require('hapi');
const request = require('request');
const path = require('path');
const moment = require('moment');
const bcrypt = require('bcrypt');
const server = new Hapi.Server({
connections: {
routes: {
files: {
relativeTo: path.join(__dirname, 'app')
}
}
}
});
serve... |
from __future__ import unicode_literals
import copy
import os
import re
import sys
from io import BytesIO
from itertools import chain
from pprint import pformat
from django.conf import settings
from django.core import signing
from django.core.exceptions import DisallowedHost, ImproperlyConfigured
from dj... |
// flow-typed signature: a71a6e955d88c74dfbccba23202e0f98
// flow-typed version: <<STUB>>/micromatch_v3.1.5/flow_v0.66.0
/**
* This is an autogenerated libdef stub for:
*
* 'micromatch'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
... |
NDSearch.OnPrefixDataLoaded("isi",["Function"],[["IsInnerOutline",,[["ssGUI::Extensions::Outline",,,,0,"File:ssGUI/Extensions/Outline.hpp:ssGUI.Extensions.Outline.IsInnerOutline","CClass:ssGUI.Extensions.Outline:IsInnerOutline"]]],["IsInteractable",,[["ssGUI::Widget",,,,0,"File:ssGUI/GUIObjectClasses/Widget.hpp:ssGUI.... |
'use strict';
const { SlashCommandBuilder } = require('@discordjs/builders');
const { MessageEmbed } = require('discord.js');
const profileConn = require('./../utils/profiledb');
const anifarm = profileConn.models['anifarm'];
module.exports = {
data: new SlashCommandBuilder()
.setName('profile')
.s... |
from FSMSIM.expr.bool_expr import BoolExpr
class Transition:
def __init__(self, rule: BoolExpr, target: str) -> None:
self.rule = rule
self.target = target
def evaluate(self) -> bool:
return self.rule.evaluate()
|
import React from "react";
import {Link} from "react-router-dom";
import TweetTimeline from "./TweetTimeline";
const Homepage = ({currentUser})=>{
if(!currentUser.isAuthenticated) {
return (
<div className="home">
<h1>Whats Happening?</h1>
<h4>New to Wabler</h4>
... |
import asyncio
from contextlib import asynccontextmanager, AbstractAsyncContextManager, AsyncExitStack
import functools
from test import support
import unittest
from test.test_contextlib import TestBaseExitStack
def _async_test(func):
"""Decorator to turn an async function into a test case."""
@fu... |
class a{static b(){}}
|
# 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 may ... |
integration.meta = {
'sectionID' : '127489',
'siteName' : 'Cruise Passenger - Desktop - (AU)',
'platform' : 'desktop'
};
integration.testParams = {
'desktop_resolution' : [1460]
};
integration.flaggedTests = [];
integration.params = {
'plr_ComscoreDevice' : 'desktop',
'mf_siteId' : '727024',
'plr_Pa... |
# Generated by Django 2.2.27 on 2022-03-03 09:06
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('flash_update', '0005_auto_20220303_0834'),
]
operations = [
migrations.AlterModelOptions(
name='flashemailsubscriptions',
o... |
var game_8h =
[
[ "gameScene", "game_8h.html#ab349381712181366485768caa870ba52", null ]
]; |
/**
Created by Complynx on 22.03.2019,
http://complynx.net
<complynx@yandex.ru> Daniel Drizhuk
*/
let zodiac_cfg = [20,19,20,20,21,21,22,23,23,23,22,21]; // rollover days of month
let zodiac_names = [
"Capricorn",
"Aquarius",
"Pisces",
"Aries",
"Taurus",
"Gemini",
"Cancer",
"Leo",
... |
import json
from typing import List
from spacy.tokens import Doc, Span
class NlpArtifacts:
"""
NlpArtifacts is an abstraction layer over the results of an NLP pipeline.
processing over a given text, it holds attributes such as entities,
tokens and lemmas which can be used by any recognizer
"""
... |
import { ethers } from "ethers";
import { useState } from "react";
import { abi, CONTRACT_ADDRESS } from "./constants";
import ContainerComponent from "./components/ContainerComponent";
import "./styles.css";
export default function App() {
const [myContract, setMyContract] = useState(null);
const [address, se... |
import React, { useState } from 'react';
import PropTypes from 'prop-types';
import FormControl from '@material-ui/core/FormControl';
import OutlinedInput from '@material-ui/core/OutlinedInput';
import colors from '../../styles/colors';
const PasswordTextField = ({ value, onChange }) => {
const [showPassword, setS... |
describe('$auth', function() {
beforeEach(module('satellizer'));
beforeEach(inject(['$window', '$location', '$httpBackend', '$auth', 'satellizer.config', function($window, $location, $httpBackend, $auth, config) {
this.$auth = $auth;
this.$window = $window;
this.$location = $location;
this.$httpBa... |
var total = 0;
var limit = 10;
for(var i = 0; i < limit; i++) {
total += i;
}
console.log(total); |
const create = require('./create')
const findOne = require('./findOne')
const update = require('./update')
module.exports = {
create,
findOne,
update,
}
|
# 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.
import torch.nn as nn
from .learned_positional_embedding import LearnedPositionalEmbedding, LearnedRelativePositionalEmbedding
from .sinusoida... |
/*
* 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, distribute, sublicense, and/or sell... |
from helpers.base_helper import TrainTestHelper, transform_train, transform_test
from utils import get_channels_axis,save_roc_pr_curve_data, show_roc_pr_curve_data
from models.LSA_mnist import LSA_MNIST
from models.LSA_cifar10 import LSACIFAR10
from keras2pytorch_dataset import trainset_pytorch
import torch.utils.data... |
# System libs
import os
import argparse
from distutils.version import LooseVersion
# Numerical libs
import numpy as np
import torch
import torch.nn as nn
from scipy.io import loadmat
import csv
# Our libs
from mit_semseg.dataset import TestDataset
from mit_semseg.models import ModelBuilder, SegmentationModule
from mit_... |
function _extends() { _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; }; return _extends.apply(this, arguments); }
i... |
import { TYPES, GRID_SIZE } from '../constants';
import grid from '../utils/grid';
import { on } from '../libs/kontra';
import { moveComponent } from './component-manager';
import Repairer from '../buildings/repairer';
import { removeFromArray } from '../utils';
let repairers = [];
let repairerManager = {
init() {
... |
'''
Author: Qijie Zhao
1/17/2019
'''
import math
import os.path
home = os.path.expanduser("~")
ddir = os.path.join(home,"data/VOCdevkit/")
VOCroot = ddir
COCOroot = os.path.join(home,"data/coco/")
def reglayer_scale(size, num_layer, size_the):
reg_layer_size = []
for i in range(num_layer + 1):
size = m... |
/**
* Kendo UI v2019.2.514 (http://www.telerik.com/kendo-ui)
* Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.... |
import { d as defineComponent, Z as useI18n, r as ref, h as computed, w as watchEffect, aa as onUnmounted, o as openBlock, K as createBlock, e as createBaseVNode, E as toDisplayString, n as normalizeClass, C as renderSlot, s as unref, au as Teleport } from "./vendor.cdb998d9.js";
function block0(Component) {
Componen... |
# Definition for a binary tree node.
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def lowestCommonAncestor(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode') -> 'TreeNode':
if not root:
return None
... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
In this module you find the worklfow 'fleur_convergence' for a self-consistency
cylce of a FLEUR calculation with AiiDA.
"""
#TODO: more info in output, log warnings
#TODO: make smarter, ggf delete broyd or restart with more or less iterations
# you can use the patter... |
import React, {useState} from "react";
import {Form, Input, Button, Checkbox, notification} from "antd";
import './RegisterForm.scss'
import {LockOutlined, UserOutlined} from "@ant-design/icons";
import {emailValidation, minLengthValidation} from '../../../utils/formValidation'
import {signUpApi} from "../../../api/use... |
from functools import partial
import numpy as np
import pytest
from guacamol.score_modifier import LinearModifier, SquaredModifier, AbsoluteScoreModifier, GaussianModifier, \
MinGaussianModifier, MaxGaussianModifier, ThresholdedLinearModifier, ClippedScoreModifier, \
SmoothClippedScoreModifier, ChainedModifie... |
/*
tr3x.js
tree explorer
2014, Jan Oevermann
*/
// set global application object
window.tr3x = {
init: function () {
// get default values
tr3x.title = d3.select('body').attr('data-title');
tr3x.zoom = d3.select('#app-zoom').property('value'); // zoom value of range input (should be sam... |
from typing import Optional
from typing import Union
from typing import Callable
from .typing import EstimatorType
from .typing import Literal
from .typing import RandomStateType
import numpy as np
class IterativeImputer:
def __init__(
self,
estimator: Optional[EstimatorType] = None,
mis... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var antd_1 = require("antd");
var umi_1 = require("umi");
var react_1 = __importDefault(require("... |
$(document).ready(function() {
$('.datepicker').flatpickr({
altInput: true,
altFormat: 'd-m-Y',
dateFormat: "Y-m-d"
});
}); |
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'
import toast from 'components/common/toast'
Vue.config.productionTip = false
//添加事件总线对象
Vue.prototype.$bus = new Vue()
//安装toast插件
Vue... |
# Copyright (C) 2017 Beijing Didi Infinity Technology and Development Co.,Ltd.
# 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/LI... |
/*! For license information please see swagger-ui-es-bundle.js.LICENSE.txt */
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e... |
/***************************************************************************
Filename: cookie.js
Description: This file holds methods for updating the browser cookies used
by the controller.
****************************************************************************/
class Cookies {
constructor () {
this.userna... |
"""
===================================================
Label Propagation digits: Demonstrating performance
===================================================
This example demonstrates the power of semisupervised learning by
training a Label Spreading model to classify handwritten digits
with sets of very few labels.... |
"use strict";
exports.default = void 0;
var _bullet = _interopRequireDefault(require("./sparklines/bullet"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = _bullet.default;
exports.default = _default;
module.exports = exports.default;
module.exports.d... |
const path = require('path')
const extractTextPlugin = require('extract-text-webpack-plugin')
const webpack = require('webpack')
module.exports = {
entry: {
vendor: [
'react',
'react-dom',
],
home: path.resolve(__dirname, 'src/js/index.js'),
contact: path.resolve(__dirname, 'src/js/contac... |
# -*- coding: utf-8 -*-
"""
Solution to Project Euler problem 13
Author: Jaime Liew
https://github.com/jaimeliew1/Project_Euler_Solutions
"""
data = '''37107287533902102798797998220837590246510135740250
46376937677490009712648124896970078050417018260538
74324986199524741059474233309513058123726617309629
91942213363574... |
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
import React from 'react';
import styled from 'styled-components';
export var FileExcel = s... |
# Copyright 2018 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://www.apache.org/licenses/LICENSE-2.0
#
# or in the "license... |
import { before, describe, test } from 'mocha'
import { getTestOrganization } from '../helpers'
import { expect } from 'chai'
describe('OrganizationMembership Invitation Api', function () {
let organization
before(async () => {
organization = await getTestOrganization()
})
test('Creates, gets an invitati... |
'use strict';
const files = require.context('.', false, /\.js$/);
const modules = {};
files.keys().forEach(key => {
if (key === './index.js') return;
modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default;
});
export default modules;
|
"use strict";
var util = require('./global');
var waves_colorList = {
"white": "wave-color-white",
"black": "wave-color-black",
"green": "wave-color-green",
"yellow": "wave-color-yellow",
"red": "wave-color-red",
"white2": "wave-color-white2",
"black... |
"""
Print - imprimi na tela o que for escrito
Input - Solicita resposta do usário
MODO ANTIGO DE PRINT
print("Qual seu nome? ")
nome=input()
print('Seja bem-vindo(a) %s' %nome)
MODO DE PRINT MODERNO
print("Qual seu nome? ")
nome=input
print('A {0} tem {1} anos'.... |
var webpack = require('webpack');
/*
* Default webpack configuration for development
*/
var config = {
devtool: 'eval-source-map',
entry: __dirname + "/app/kanbanboard/App.jsx",
output: {
path: __dirname + "/public",
filename: "bundle.js"
},
module: {
loaders: [{
test: /\.jsx?$/,
ex... |
'use strict';
angular.module('blogaggrApp')
.config(function ($stateProvider) {
$stateProvider
.state('login', {
parent: 'account',
url: '/login',
data: {
authorities: [],
pageTitle: 'login.title'
... |
const axios = require('axios').default;
const stateCodeToName = require('../utils/stateCodesToName.json');
const stateNameToCodes = require('../utils/stateNameToCodes.json');
const { DENTAL_CLINIC_URL, VETS_CLINIC_URL } = require('../utils/constants');
const { logger } = require('../configs/logger');
module.exports = ... |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function()
{
var imageDialog = function( editor, dialogType )
{
// Load image preview.
var IMAGE = 1,
LINK = 2,
PREVIEW = 4,
CLEANUP = 8,
re... |
/**
*
* PipedriveIntegration
*
*/
import React, { PropTypes } from 'react';
import { Tabs } from 'antd';
import FieldMapping from './FieldMapping';
import PipedriveLogin from './PipedriveLogin';
import {
IntegrationHeader,
IntegrationHeaderInfo,
IntegrationLoader,
tabPanes,
} from '../constants';
import... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib 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 a... |
module.exports = function(init, done) {
task.helper('prompt', {type: 'jquery'}, [
// Prompt for these values.
task.helper('prompt_for', 'name'),
task.helper('prompt_for', 'title'),
task.helper('prompt_for', 'description', 'The best jQuery plugin ever.'),
task.helper('prompt_for', 'version'),
t... |
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2020 Mozilla Foundation
*
* 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... |
var path = require("path")
var options = {
entry: "./src/index.js",
externals: {
"react": {
commonjs: "react",
commonjs2: "react",
amd: "react",
root: "React"
},
"prop-types": {
commonjs: "prop-types",
commonjs2: "prop-types",
amd: "prop-types",
root: "PropTypes"
}
},
module... |
module.exports = {
inputs: {
name: 'input[name="name"]',
phone: 'input[name="phone"]',
zip: 'input[name="zip"]',
bins: 'input[name="bin"]',
address: 'input[name="address_pretty"]',
cardNumber: 'input[id="js-cc-number"]',
expDate: 'input[id="js-cc-exp-date"]',
cvcCode: 'input[id="js-cc-... |
var searchData=
[
['h5tl',['H5TL',['../namespace_h5_t_l.html',1,'']]],
['util',['util',['../namespace_h5_t_l_1_1util.html',1,'H5TL']]]
];
|
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { provideHooks } from 'redial';
import * as selectors from '../selectors';
import { getIntegrationAuthenticationInstructions } from '../actions/authentication';
import { getNext... |
import subprocess
from redun import task
from task_lib2.utils import lib_task_on_batch
redun_namespace = "redun.examples.aws_batch"
@task()
def task_on_default(x: int):
return [
'task_on_default',
subprocess.check_output(['uname', '-a']),
x
]
@task(executor='batch', version="12")... |
"""
Determine what optional dependencies are needed.
"""
import sys
from os.path import dirname, exists, join
import pkg_resources
import yaml
from galaxy.containers import parse_containers_config
from galaxy.util import (
asbool,
etree,
parse_xml,
which,
)
from galaxy.util.properties import (
fi... |
# -*- coding: utf-8 -*-
"""
Classes for running the SPORES software:
SPORES: Structure PrOtonation and REcognition System.
"Influence of Protonation, Tautomeric, and Stereoisomeric States on Protein-Ligand Docking Results"
J.Chem. Inf. Model. 49: 1535-1546 (2009). T. ten Brink and T.E Exner
"""
import logging
... |
import {encode, decode} from "base64-arraybuffer";
import libsignal from "../signal-protocol";
function SignalProtocolStore() {
this.store = {};
}
SignalProtocolStore.prototype = {
Direction: {
SENDING: 1,
RECEIVING: 2,
},
getIdentityKeyPair: function () {
return Promise.resol... |
/**
* @license Angular v9.1.12
* (c) 2010-2020 Google LLC. https://angular.io/
* License: MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t... |
function solve() {
const createOfferDiv = document.getElementById('create-offers');
createOfferDiv.style.display = 'none';
const username = document.getElementById('username');
const notification = document.getElementById('notification');
const loginButton = document.getElementById('loginBtn');
... |