text
stringlengths
3
1.05M
/******/ (function() { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ functi...
/*! * jQuery Bootgrid v1.3.1 - 09/11/2015 * Copyright (c) 2014-2015 Rafael Staib (http://www.jquery-bootgrid.com) * Licensed under MIT http://www.opensource.org/licenses/MIT */ ;(function ($, window, undefined) { /*jshint validthis: true */ "use strict"; // GRID INTERNAL FIELDS // ================...
# -*- coding: utf-8 -*- ############################################################################# # # Copyright © Dragon Dollar Limited # contact: contact@dragondollar.com # # This software is a collection of webservices designed to provide a secure # and scalable framework to build e-commerce websites. # # This s...
import React from "react"; import axios from "axios"; import GenGroup from "../genGroup/genGroup"; import { Link } from "react-router-dom"; import { EContainer, Spacing, DeletePs, SessionSP, Eh2, EColorDiv, Sbmit, BottomEColorDiv, } from "./sessinos_css.js"; class Session extends React.Component { co...
class Shape: def __init__(self, shapeType, x, y): self.shapeType = shapeType self.length = x self.width = y def computeArea(): pass class Rectangle(Shape): def __init__(self, shapeType, x, y): super().__init__(shapeType, x, y) def computeArea(self): ...
Robot = function (x, y, z) { this.head = new THREE.Bone(); addLimb(this.neck, this.head, x, y); this.head.position.z = z; this.neck = new THREE.Bone(); addLimb(this.neck, this.head, null, -10); this.torso = new THREE.Bone(); addLimb(this.torso, this.neck, null, -40); this.right_up...
# -*- coding: utf-8 -*- """ Created on Sun May 20 11:34:39 2018 @author: bwhe """ import math import scipy.sparse as sp import numpy ### ### PREDICTORS ### class Pred: '''Implement generic predictor''' def __init__(self): pass def Score(self,user_songs, ...
const request = require('request') const XOR = require('../../classes/XOR.js'); const xor = new XOR(); const crypto = require('crypto') function sha1(data) { return crypto.createHash("sha1").update(data, "binary").digest("hex");} module.exports = async (app, req, res) => { if (!req.body.ID) return res.status(400).sen...
import random from typing import List import deal # the list cannot be empty @deal.pre(lambda items: bool(items)) # result is an element withit the given list @deal.ensure(lambda items, result: result in items) @deal.has('random') def choice(items: List[str]) -> str: """Get a random element from the given list. ...
import pytest import numpy as np import dowhy.api from dowhy.causal_estimators.propensity_score_weighting_estimator import PropensityScoreWeightingEstimator from .base import TestEstimator from sklearn.linear_model import LinearRegression class TestPropensityScoreWeightingEstimator(object): @pytest.mark.paramet...
/* // // DELETE for Alasql.js // Date: 03.11.2014 // (c) 2014, Andrey Gershun // */ yy.Delete = function(params) { return yy.extend(this, params); }; yy.Delete.prototype.toString = function() { var s = 'DELETE FROM ' + this.table.toString(); if (this.where) s += ' WHERE ' + this.where.toString(); return s; }; yy....
import React, { useState } from 'react'; import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/core/styles'; import TextField from '@material-ui/core/TextField'; import { NumberFormatPhone } from '../../constants/Format'; const helperStyles = makeStyles({ root: { fontSize: 12 }...
/*global module, process*/ // Hack so that Mac OSX docker can sub in host.docker.internal instead of localhost // see https://docs.docker.com/docker-for-mac/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host const localhost = (process.env.PLATFORM === 'linux') ? 'localhost' : 'host.docker.internal...
/** @license ISC License (c) copyright 2016 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ const isFunction = require('../core/isFunction') function snd(m) { if(!(m && isFunction(m.snd))) { throw new TypeError('snd: Pair required') } return m.snd() } module.exports = snd
class Armor: '''Represent an armor of the spaceship''' @classmethod def fromJSON(class_, obj): return Armor(obj['id'], obj['name'], obj['defence']) def __init__(self, id_, name, defence): self._id = id_ self._name = name self._defence = defence @property def id...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
from django.contrib import admin from bookmarks import models admin.site.register(models.Bookmark)
/** * @license * Visual Blocks Editor * * Copyright 2017 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
var _original = Meteor.user; // check meteor version. Be forwards compatible for future major and minor versions also. // Note that 1.10 < 1.8 so need to convert to 110 and 108 for comparison var isMeteor1_8 = Meteor.release.match(/(\d+)\.(\d+)/); isMeteor1_8 = (isMeteor1_8[1]*100 + isMeteor1_8[2]*1) >= 108; var _get...
# coding: utf-8 # # Copyright 2019 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 "lice...
/* Copyrights reserved Written by Paul Hwang since 2017 */ function AjaxObject(root_object_val) { "use strict"; this.init__ = function (root_object_val) { this.theRootObject = root_object_val; this.thePacketId = 1; this.theHttpGetRequest = new XMLHttpRequest(); ...
""" Search for runs and visualize their data. This example can be run alone as $ python -m bluesky_widgets.examples.qt_viewer_with_search or with the data streaming utility which will print an address to connect to $ python -m bluesky_widgets.examples.utils.stream_data_zmq Connect a consumer to localhost:XXXXX pyt...
import { shallowMount, createLocalVue } from '@vue/test-utils'; import Vuex from 'vuex'; import { __createMocks as createStoreMocks } from '../../store'; import QuestionForm from '../QuestionForm.vue'; jest.mock('../../store'); const localVue = createLocalVue(); localVue.use(Vuex); const errors = { text: { req...
import MobileIndexRoute from 'ghost/routes/mobile-index-route'; import CurrentUserSettings from 'ghost/mixins/current-user-settings'; import mobileQuery from 'ghost/utils/mobile'; var SettingsIndexRoute = MobileIndexRoute.extend(SimpleAuth.AuthenticatedRouteMixin, CurrentUserSettings, { titleToken: 'Settings', ...
const { inspect } = require('util') const emodji = { white: { rook: '♜', knight: '♞', bishop: '♟', queen: '♛', king: '♚', pawn: '♝', }, black: { rook: '♖', knight: '♘', bishop: '♙', queen: '♕', king: '♔', pawn: '♗', }, } const letters = { white: { rook: 'W...
export default function reducer (state = { countries: [], fetching: false, fetched: false, error: null }, action) { switch (action.type) { case 'FETCH_COUNTRIES': { return {...state, fetching: true} } case 'FETCH_COUNTRIES_REJECTED': { return {...state, fetching: false, error: action.p...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-friend-phone-search"],{"1fb7":function(t,e,i){"use strict";i.r(e);var n=i("8f1d"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);e["default"]=a.a},"200c":function(t,e,i){"use strict";var n=i("288e");Object.defineP...
(function () {'use strict'; var secret = '_x-bind_' + Math.random() + ':', increment = 0, handleEvent = { configurable: false, enumerable: false, writable: false, value: function (e) { var detail = e.detail, id = detail.id, value = detail.valu...
import React from 'react'; import { mount } from 'enzyme'; import toJson from 'enzyme-to-json'; import DescriptiveCheckbox from './DescriptiveCheckbox'; import { Form } from '@data-driven-forms/react-form-renderer'; describe('Descriptive checkbox tests', () => { it('should render correctly', () => { const wrappe...
import React from 'react'; import { getIconStyles, iconPropTypes, } from '../../../../../src/components/internals/icons/create-styled-icon'; import Gear from '../raw-components/gear'; const Component = (props) => ( <Gear {...props} css={(theme) => getIconStyles(props, theme)} /> ); Component.displayName = 'Gear...
fil = new Array(); fil["0"]= "edge_router_setup.html@@@Chapter 6. Edge Router Setup - MidoNet Quick Start Guide for Ubuntu 16.04 / Mitaka  - 5.0-rev1@@@null"; fil["1"]= "neutron_controller_node_installation.html@@@Controller Node - MidoNet Quick Start Guide for Ubuntu 16.04 / Mitaka  - 5.0-rev1@@@null"; fil["2"]= "_mid...
export class Line { constructor(a=0, b=0) { this.a = a; this.b = b } getEquationFrom(pointStart, pointEnd) { this.a = pointStart.getSlope(pointEnd); this.b = pointStart.y - (this.a * pointStart.x); } getLoss(points) { let {a,b} = this; let loss = points.reduce((loss, point) => { ...
#!/usr/bin/env python #-*- coding: utf-8 -*- #This software is distributed under the Creative Commons license (CC0) version 1.0. A copy of this license should have been distributed with this software. #The license can also be read online: <https://creativecommons.org/publicdomain/zero/1.0/>. If this online license dif...
var mongoose = require('mongoose'); var config =require('../config'); mongoose.connect(config.mongo_uri, { useMongoClient: true });
webpackJsonp([0],{"/ocq":function(t,e,n){"use strict";function r(t,e){0}function o(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}var i={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(...
import datetime import time from sdk import * addr_list = addresses() asset_name = "testd" offerAmount = int("1")*10**18 counterOfferAmount = int("10")*10**18 counterBidAmount = int("7")*10**18 dt = datetime.datetime.now() if __name__ == "__main__": for i in range(0, 10000): # time.sleep(0.1) utc...
const _ = require('lodash'); const path = require('path'); const { createFilePath } = require('gatsby-source-filesystem'); const { fmImagesToRelative } = require('gatsby-remark-relative-images'); exports.createPages = async ({ actions, graphql, reporter }) => { const { createPage } = actions; return graphql(` {...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 sou...
// Copyright, 2013-2016, by Tomas Korcak. <korczis@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 use, cop...
/*! * Start Bootstrap - Agency v5.2.2 (https://startbootstrap.com/template-overviews/agency) * Copyright 2013-2019 Start Bootstrap * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-agency/blob/master/LICENSE) */ ! function(e) { "use strict"; e('a.js-scroll-trigger[href*="#"]:not([hre...
var e,t=require("react"),r=((e=require("htm"))&&"object"==typeof e&&"default"in e?e.default:e).bind(t.createElement);exports.html=r;
console.log(global === this) console.log(module === this) console.log(module.exports === this) this.digaOi = function(){ console.log('OI!!!') }
window.peopleAlsoBoughtJSON = [{"asin":"B00746VUU2","authors":"Robin Hobb","cover":"618xpwWwLoL","length":"13 hrs and 25 mins","narrators":"Anne Flosnik","subHeading":"Volume Three of the Rain Wilds Chronicles","title":"City of Dragons"},{"asin":"0063007800","authors":"Robin Hobb","cover":"6103DDv9O0L","length":"20 hrs...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[129],{ /***/ "./frontend/src/@core/components/b-card-code/index.js": /*!************************************************************!*\ !*** ./frontend/src/@core/components/b-card-code/index.js ***! \****************************************************...
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, ExchangeNotAvailable, OnMaintenance, ArgumentsRequired, BadRequest, AccountSuspended, InvalidAddress, PermissionDenied, InsufficientFunds, InvalidNonce, In...
/** * @class Oskari.mapframework.bundle.MapWmtsBundle */ Oskari.clazz.define("Oskari.mapframework.bundle.MapWmtsBundle", function() { }, { /* * implementation for protocol 'Oskari.bundle.Bundle' */ "create" : function() { return null; }, "update" : function(manager, bundle, bi, info) { manager.alert("REC...
import pandas as pd import plotly as py import plotly.graph_objs as go from plotly import express as exp import scipy.stats as stat from hidrocomp.statistic.genextre import Gev from hidrocomp.graphics.genextreme import GenExtreme from hidrocomp.graphics.hydrogram_annual import HydrogramAnnual from hidrocomp.graphics.p...
/*! 4.31.0 / Consumer */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["PubNub"] = facto...
/** * @fileoverview server模式专用,JS代码处理 * @author liweitao */ 'use strict'; module.exports = function ($, appConf, moduleConf, args) { return function (mod, modulePath, appPath) { return new Promise(function (resolve, reject) { var vfs = require('vinyl-fs'); var fs = require('fs') var path = re...
import React from 'react'; import { connect } from 'react-redux'; import { Col, Well } from 'react-bootstrap'; import TextInput from './../generic/TextInput'; import RoomButton from './../custom/RoomButton'; import { emit } from './../../scripts/socket'; class RoomSelect extends React.Component { constructor(props){...
from dataclasses import dataclass from typing import Optional, List from github.utils import utils from .issue import Issue from .issue_comment import IssueComment from .object import Object from .page import Page @dataclass class Payload(Object): action: str issue: Optional['Issue'] comment: Optional['I...
require("source-map-support").install(); exports.id = "index"; exports.modules = { /***/ "../client/src/modules/admin/containers/Products.jsx": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var babel_runtime_helpers_t...
angular.module("sticky",[]).directive("sticky",["$timeout",function(o){return{restrict:"A",scope:{offset:"@"},link:function(n,t){o(function(){function i(){c=t[0].offsetTop-u,s()}function s(){f=(window.pageYOffset||p.scrollTop)-(p.clientTop||0),c>f?t.css("position",r):t.css("position","fixed")}function e(){t.css("positi...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import platform import time from pathlib import Path from urllib.parse import urlparse from requestium import Session from requestium.requestium import RequestiumChrome from requests.cookies import RequestsCookieJar from selenium import webdriver from selenium.common.exc...
export { fromIterable, fromObject, fromArrayLike, range, from, repeat } from './src/index';
#!/usr/bin/env python # encoding: utf-8 """ my_test2.py Created by Jakub Konka on 2011-06-06. Copyright (c) 2011 University of Strathclyde. All rights reserved. """ from __future__ import division import sys import os import numpy as np import scipy.integrate as integral def test(N, w): # Parameters pmin = 0 pmax...
# Copyright 2016 Red Hat, 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 applicable law ...
$(document).ready(function(){$("#contactForm").on("submit",function(e){if(console.log("HELLOW"),!e.isDefaultPrevented()){var t="user/themes/refuge-theme/phpmailer/email.php";return $.ajax({type:"POST",url:t,data:$(this).serialize(),success:function(e){console.log("SENT"),$("#contactForm").fadeOut(300).delay(3e3).fadeIn...
class CdnModule { jsdelivrHost = `https://cdn.jsdelivr.net/npm` // https://unpkg.com/react@16.7.0/umd/react.production.min.js unpkg = `https://unpkg.com` globalList = { react: {global: 'React', version: '17.0.2'}, 'react-dom': {global: 'ReactDOM', version: '17.0.2'}, // mobx: {global: 'mobx', versio...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICEN...
const express = require('express') const app = express() const fs=require('fs'); const expressLayouts = require('express-ejs-layouts') const cookieParser = require('cookie-parser') const bodyParser = require('body-parser'); let firebase =require('./firebase.js'); const uploadRouter = require('./routes/upload'); ...
const userReducer = (state = { name: 'echan', age : 23 }, action) => { switch(action.type) { case 'SET_NAME' : state = { ...state, name : action.payload } break; case 'SET_AGE': state = { ...
const mongodb = require('mongodb'); const MongoClient = mongodb.MongoClient; const url = require('../config/mongo').url; let db; exports.connect = function () { return new Promise((resolve, reject) => { MongoClient.connect(url, function (err, database) { if (err) reject(err); db = database...
# -*- encoding: utf-8 -*- # # 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 writing, so...
const path = require("path"); const makeRequest = (graphql, request) => new Promise((resolve, reject) => { resolve( graphql(request).then(result => { if (result.errors) { reject(result.errors) } return result; }) ) }); exports.createPages = ({ actions, graphql }) => { const { c...
import lookmovie from './scraper/lookmovie'; import theflix from './scraper/theflix'; async function findContent(searchTerm, type) { const results = { options: []}; const content = await Promise.all([ lookmovie.findContent(searchTerm, type), theflix.findContent(searchTerm, type) ]);...
{ $(document).ready(function() { $(document.body).css("background-color", "#ff8833"); }); }
import Persister from '@pollyjs/persister'; import get from 'lodash-es/get'; import stringify from 'json-stable-stringify'; export default class LocalStoragePersister extends Persister { constructor(polly, store = self.localStorage) { super(polly); this._store = store; this._namespace = '__pollyjs__'; ...
module.exports = function(RED) { var TelldusAPI = require("telldus-live"); function TelldusSensorNode(config) { RED.nodes.createNode(this, config); var node = this; node.on("input", function(msg) { if (hasMissingCredentials(node)) { return; } var api = new TelldusAPI.Telldus...
tinyMCE.addI18n('bg.paste_dlg',{ text_title:"\u0418\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 CTRL+V \u043D\u0430 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0430\u0442\u0430 \u0437\u0430 \u0434\u0430 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442\u04...
// Sorting algorithm taken from NeDB (https://github.com/louischatriot/nedb) // See https://github.com/louischatriot/nedb/blob/e3f0078499aa1005a59d0c2372e425ab789145c1/lib/model.js#L189 exports.compareNSB = function (a, b) { if (a < b) { return -1; } if (a > b) { return 1; } return 0; }; exports.compareArrays =...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/3.38/esri/copyright.txt for details. //>>built define("esri/dijit/geoenrichment/utils/DnDUtil",["dojo/on","dojo/sniff","./DeviceUtil","./KeyboardUtil"],function(f,v,w,x){var u={MOBILE_TOLERANCE:10,LONG_PRESS_TI...
/** Copyright (c) 2018 Uber Technologies, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ /* eslint-env node */ import assert from 'assert'; export default __BROWSER__ ? () => {} : loadEnv(); function load(key, value...
from __future__ import absolute_import import six from django.core.urlresolvers import reverse from sentry.testutils import APITestCase from sentry.testutils.helpers import with_feature class SentryAppInstallationsTest(APITestCase): def setUp(self): self.superuser = self.create_user(email='a@example.co...
(()=>{return(e,t)=>{function i(e=true){const t=document.title.replace("_番剧_bilibili_哔哩哔哩","").replace("_电影_bilibili_哔哩哔哩","").replace("_哔哩哔哩 (゜-゜)つロ 干杯~-bilibili","").replace(" - 哔哩哔哩直播,二次元弹幕直播平台","").replace(/[\/\\:\*\?"<>\|]/g,"").trim();if(!e||document.URL.indexOf("/bangumi")!==-1){return t}else{const e=document.que...
/* eslint-disable cypress/no-unnecessary-waiting */ /* eslint-disable cypress/no-assigning-return-values */ require("cy-verify-downloads").addCustomCommand(); require("cypress-file-upload"); const dayjs = require("dayjs"); const { addMatchImageSnapshotCommand, } = require("cypress-image-snapshot/command"); const lo...
# -*- coding: utf-8 -*- """ <author> <Date> Functions to fetch (historic, current or prognosed) weather data from wunderground weather stations. Required: API key, to be added to opengrid.cfg. """ # import libraries specific to wunderground script import datetime import pytz import pandas as pd import pdb import u...
'use strict'; let doTransaction = require('./modules/transaction'); const TABLE_NAME = 'christmasTreesForests'; module.exports = { up: function(queryInterface, Sequelize) { let operations = [ { operation: 'add', field: 'tree_cost', type: Sequelize.NUMERIC(8,2) }, { ...
(function() { function validEmail(email) { var re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; return re.test(email); } function validateHuman(honeypot) { if (honeypot) { //if hidden form filled up console.log("Robot Detected!"...
deepmacDetailCallback("38fdfe000000/28",[{"a":"1342-12, Gyeongchung-daero, Chowol-eup Gwangju-si Gyeonggi-do KR 12735","o":"Edge I&D Co., Ltd.","d":"2015-12-06","t":"add","s":"ieee","c":"KR"}]);
const HtmlWebpackPlugin = require("html-webpack-plugin"); const ModuleFederationPlugin = require("webpack").container.ModuleFederationPlugin; const path = require('path'); module.exports = () => ({ entry: "./src/index", cache: false, mode: "development", devtool: "source-map", target: 'web', ...
/** * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder */ /** * Class: mxTooltipHandler * * Graph event handler that displays tooltips. <mxGraph.getTooltip> is used to * get the tooltip for a cell or handle. This handler is built-into * <mxGraph.tooltipHandler> and enabled using <mx...
import React from 'react'; import PropTypes from 'prop-types'; // Mui Example: // https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Avatar/Avatar.js#L38 // eslint-disable-next-line prefer-arrow-callback const ArrowLeft = React.forwardRef(function ArrowLeft(props, ref) { const { color, size,...
from cupy import _util # expose cache handles to this module from cupy.fft._cache import get_plan_cache # NOQA from cupy.fft._cache import clear_plan_cache # NOQA from cupy.fft._cache import get_plan_cache_size # NOQA from cupy.fft._cache import set_plan_cache_size # NOQA from cupy.fft._cache import get_plan_cache...
from .about import __version__ from spacybert import BertInference from spacy.tokens import Doc from spacy.matcher import Matcher from spacy.util import filter_spans import torch from typing import Tuple class BertKeyphraseExtraction: """ Based on the paper "Simple Unsupervised Keyphrase Extraction using Sent...
import React from 'react'; import { compose, lifecycle, getContext } from 'recompose'; import { connect } from 'react-redux'; import mapboxgl from 'mapbox-gl'; import config from '../config'; import getExtent from 'turf-extent'; import { Link } from 'react-router'; import intersect from '@turf/line-intersect'; im...
/* * Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
/** * @name NitroPerks * @website https://github.com/l0lusiek/NitroPerks * @source https://raw.githubusercontent.com/l0lusiek/NitroPerks/main/NitroPerks.plugin.js * @updateUrl https://raw.githubusercontent.com/l0lusiek/NitroPerks/main/NitroPerks.plugin.js */ /*@cc_on @if (@_jscript) // Offer to self-install ...
/* global FileReader */ var async = require('async') var $ = require('jquery') var yo = require('yo-yo') var CompilerMetadata = require('../files/compiler-metadata') var remixLib = require('remix-lib') var Gists = require('gists') var EventManager = remixLib.EventManager var FileExplorer = require('../files/file-explor...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-common"],{"076e":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"footerBox"},[i("div",{staticClass:"Footer"},[i("div",{staticClass:"footerContent container"},[i("links"),i("div",{st...
import FormData from 'form-data'; import backend from '../config/backend.config' export default (opt) => { let headers = { 'Content-Type': 'application/json', 'Authorization': sessionStorage.accessToken } let option = { method : opt.method, responseType : 'json', headers : headers...
/** * 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. * * @flow * @format */ import DeprecatedImageStylePropTypes from '../DeprecatedPropTypes/DeprecatedImageStylePropTypes'; import De...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var React = _interopRequireWildcar...
import React from 'react' import Layout from '../components/layout' import SEO from '../components/seo' import authors from '../util/authors' import { Button, Card, CardText, CardBody, CardTitle, Row } from 'reactstrap' import JohnImage from '../images/john.jpg' import JaneImage from '../images/jane.jpg' import { slugi...
import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) export default new Router({ routes: [ // { // path: '/', // name: 'landing-page', // component: require('@/components/LandingPage'), // meta: { // keepAlive: true // } // }, { path: '/', ...
$(document).ready(function () { $("#suggester").submit(function (event) { event.preventDefault(); const name = $("#name").val(); const q1 = $("input:radio[name=reason]:checked").val(); const q2 = $("input:radio[name=platform]:checked").val(); const q3 = $("input:radio[name=experience]:checked").va...
const kpex = require('../../../main.js') module.export = kpex({ name: 'Employee', tableName: 'employee', attributes: { id: { type: Number, isInt: true, autoIncrement: true }, name: String, surname: String, position: String, line_manager: { type: Number, isInt: true, nullable: true }, }, p...
const loader = require("../dist"); describe("Loader", () => { test("Defaults", () => { expect(loader); }); });
$(document).ready(function() { $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); $('.messageInputForm_input').keypress(function (event) { console.log('ok') if(event.which === 13){ event.preventDefault(); $.ajax({ ...