text
stringlengths
3
1.05M
############################################################################## # # Copyright (c) 2001-2004 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THI...
#pragma once #include <memory> #include <string> #include <vector> #include "../Vq.h" #include "../common/Macros.h" namespace Vq { class AbstractPlugin; class VQ_API PluginBundle { public: PluginBundle( const std::string &bundleId, const std::string &bundleName ); PluginBundle( PluginBu...
var Plane = function () { };
# Copyright The PyTorch Lightning team. # # 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 i...
import os import time import argparse import torch def get_options(args=None): parser = argparse.ArgumentParser( description="Attention based model for solving the Travelling Salesman Problem with Reinforcement Learning") # Data parser.add_argument('--problem', default='tsp', help="The problem to...
# -*- coding: utf-8 -*- info = { "%%number-times": { "1": "isáng;", "2": "dalawáng;", "3": "tatlóng;", "4": "ápat na;", "5": "limáng;", "6": "anim na;", "7": "pitóng;", "8": "walóng;", "9": "siyám na;", "10": "sampûng;", "(11, 1...
/* * 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 ...
const fs = require('fs') const sax = require("sax") const http = require('http') const moment = require('moment') moment.locale('en') const itemTemplate = { episode: '', status: 'PUBLISHED', title: '', description: '', guid: '', pubDate: '', mediaFileName: '', mediaSize: '', mediaDuration: '', mediaType: ...
from django.test import TestCase from posthog.models import Event from posthog.api.test.base import BaseTest from posthog.utils import relative_date_parse, properties_to_Q from freezegun import freeze_time # type: ignore class TestRelativeDateParse(TestCase): @freeze_time('2020-01-31') def test_day(self): ...
/*'use strict'; // import all listener files so they can attach to the DOM import './listeners/inputting.js'; import './listeners/change-separator.js'; // does your project have code that executes when the document or window are ready? // that code can go here import { data } from './data.js'; document.getElementBy...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
""" A number is considered perfect if its digits sum up to exactly 10. Given a positive integer n, return the n-th perfect number. For example, given 1, you should return 19. Given 2, you should return 28. """ import random import math def get_sum_of_digs(x: int) -> int: s: int = 0 while True: while ...
from django.apps import AppConfig class MaintenanceConfig(AppConfig): name = "maintenance"
xs = {'foo', 'bar',<caret>
/** * @fileoverview added by tsickle * Generated from: src/material/icon/public-api.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is...
/*! For license information please see 207e61d01b9a6e9d440f6c73e1b6c16da759b29a-53910a28a02fdba66c0a.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+ZrZ":function(t,e,r){"use strict";var n=r("8OQS"),i=r("TqRt");e.__esModule=!0,e.default=function(t){t.exit,t.entry,t.fade;var e=t.duration,r=n...
// This file has been autogenerated. exports.setEnvironment = function() { process.env['AZURE_STORAGE_CONNECTION_STRING'] = 'DefaultEndpointsProtocol=http;AccountName=xplat;AccountKey=null'; } exports.scopes = [[function (nock) { var result = nock('http://xplat.file.core.windows.net:80') .head('/directory-test-...
import random import string import time from django.conf import settings from django.test import TestCase from django.core.urlresolvers import NoReverseMatch, reverse if not settings.configured: settings.configure() from axes.decorators import COOLOFF_TIME from axes.decorators import FAILURE_LIMIT from axes.mode...
# -*- coding: utf-8 -*- # # 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 #...
from __future__ import annotations import asyncio import logging from typing import ( AsyncGenerator, ClassVar, Type, Optional, Tuple, Union, ) import attr import zmq, zmq.asyncio from ..abc import RawHeaderBody from ..auth import Identity from . import ( AbstractAddress, AbstractBinder, Abstract...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @interface TVHSMoviesPreviewViewControllerFactory : NSObject { } + (id)previewViewControllerForDataItem:(id)arg1; // IMP=0x00000001000062a4 @end
import Vue from 'vue' import App from './App.vue' // export const eventEmmiter = new Vue() new Vue({ el: '#app', render: h => h(App) })
class User: def __init__(self, first_name, last_name, birthday): self.first_name = first_name self.last_name = last_name self.birthday = birthday self.login_attempts = 0 self.password = 123456 self.account = "Aiden_zcf" def describe_user(self): print( ...
#!/usr/bin/env python3 """Typeset TLA+ specifications using `tla2tex.TLA`.""" # Copyright 2017 by California Institute of Technology # All rights reserved. Licensed under 3-clause BSD. # import argparse import datetime import logging import os import subprocess AUX_DIR = '__tlacache__/.aux' TLA2TEX = 'tla2tex' log = ...
const Person = require('./02_Person'); function getPeople() { //put the class in the function when submitting the problem in the Judge system /* class Person { //let age = 18; can't be written because everything in the class has to be a function!!!! constructor(firstName, lastName, age, em...
# Copyright DataStax, 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 to in writing, softwa...
// https://www.codewars.com/kata/55c04b4cc56a697bb0000048/train/javascript // function scramble(str1, str2) { // let letterHolder = {}; // for (let letter of str1) { // if (letterHolder[letter]) letterHolder[letter]++; // else letterHolder[letter] = 1; // } // for (let letter of str2) { ...
import warnings from collections import OrderedDict from django.apps import apps from django.core import serializers from django.core.management.base import BaseCommand, CommandError from django.db import DEFAULT_DB_ALIAS, router class ProxyModelWarning(Warning): pass class Command(BaseCommand): help = ("O...
import setuptools with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() # PyPi upload Command # rm -r dist ; python setup.py sdist ; python -m twine upload dist/* setuptools.setup( name="TikTokLive", packages=setuptools.find_packages(), version="0.8.9", license="MIT", ...
import Rx from 'rxjs'; import configureStore from './configureStore'; import reducer$ from "../reducers"; import { getState, saveState } from "../services/storage"; const initialState = getState(); const store = configureStore(reducer$, initialState); store.subscribe(saveState); export default store;
# coding=utf-8 # Copyright 2021 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...
/* * Copyright (C) 2013 Google Inc. 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 list of conditio...
"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySy...
import pandas as pd # Read in the data from the csv file using the full pathway # Save it as pokemon_sample # Only load in the first 100 rows and only load in columns name, total_bs, type pokemon_sample = pd.read_csv('data/pokemon.csv', nrows=100, usecols=...
import Vue from 'vue'; import VeeValidate from 'vee-validate'; Vue.use(VeeValidate); new Vue({ el: "#salaryInfoDiv", data: { message: 'Hello Vue!', salaryInfo:[], info_name: '', info_status: 0, info_amount: '', info_type: 'Allowance', errorsHtml: '', ...
from rest_framework import status from rest_framework.reverse import reverse from tests.test_resource_tracker.test_api.base_test_api import BaseTestAPI class TestResourceGroupUpdate(BaseTestAPI): def setUp(self): super(TestResourceGroupUpdate, self).setUp() self.url = reverse('api_resource_group...
'use strict'; // Libraries const net = require('net'); // Config const { APPLICATION_HOST, APPLICATION_PORT } = require('./config'); net .createServer((socket) => { console.log('A client connected'); socket.on('data', (data) => socket.write(data)); }) .listen(APPLICATION_PORT, APPLICATION_HOST, () => ...
# Imports: import os import logging from sqlalchemy.ext.automap import automap_base from flask import jsonify, current_app, send_from_directory from flask_sqlalchemy import SQLAlchemy from QA_worker import run_script import QA_db from QA_db import Job, JobidBase, set_job_status from QA_config import config # secon...
# Copyright 2021, The TensorFlow Federated 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 law o...
from django.db import models # Create your models here. from django.urls import reverse #Used to generate urls by reversing the URL patterns class Genre(models.Model): """ Model representing a book genre (e.g. Science Fiction, Non Fiction). """ name = models.CharField(max_length=200, help_text="Ente...
import xml.etree.ElementTree as ET ## # Get text field text identified by pattern 'column' in xmltree 'tree' def getvalue( tree, column ): try: val = tree.iterfind(column).next() return val.text except: return "" def parsecofig(config_file): return ET.parse(config_file) class Con...
from tensorflow.keras import layers, models def VGG16(include_top=True, input_shape=(224, 224, 3), pooling=None, classes=1000): img_input = layers.Input(shape=input_shape) # Block 1 x = layers.Conv2D(64, (3, 3), activation='relu', ...
import numpy as np from src.data.DataBase import DataBase from src.vectoring.VectorBuilderBase import VectorBuilderBase class ImageVectorBuilder(VectorBuilderBase): def __init__(self, extracted_data: DataBase): extracted_data.assert_is_extracted() self.__data__ = extracted_data self.__labe...
const Counter = require('../../models/Counter'); module.exports = (app) => { console.log('server get /api/counters'); app.get('/api/counters', (req, res, next) => { Counter.find() .exec() .then((counter) => res.json(counter)) .catch((err) => next(err)); }); app.post('/api/counters', func...
import numpy def gaussmf (x, params): if not isinstance(params, list): raise TypeError ("Params should be a list with two values.") if len(params) != 2: raise TypeError ("Number of parameters are incorrect. Expected 2 values in the list.") if not (isinstance(params[0], float) and isinstanc...
import astropy.io.fits as fits import numpy as np import pylab as pl from astropy.table import Table, join, vstack from scipy.ndimage.filters import gaussian_filter from desitarget.cmx import cmx_targetmask # Coma on petal 0 of 70510. tiles = {'mws': 66003, 'bgs'...
"""Common configure functions for bgp""" # Python import logging import re # Unicon from unicon.core.errors import SubCommandFailure log = logging.getLogger(__name__) def configure_l2vpn_storm_control( device, interface, service_instance_id, storm_control ): """ Configures storm control under service insta...
import debugModule from "debug"; const debug = debugModule("debugger:stacktrace:selectors"); import { createSelectorTree, createLeaf } from "reselect-tree"; import solidity from "lib/solidity/selectors"; import jsonpointer from "json-pointer"; import zipWith from "lodash.zipwith"; import { popNWhere } from "lib/help...
from gevent import monkey; monkey.patch_all() import gevent from socketio import socketio_manage from socketio.server import SocketIOServer from socketio.namespace import BaseNamespace from socketio.mixins import RoomsMixin, BroadcastMixin from twisted.internet import reactor, task, defer from twisted.python import ...
const express = require('express') const router = express.Router() const User = require('../../models/user') const Chapter = require('../../models/chapter') const Book = require('../../models/book') const CurrentlyReading = require('../../models/currentlyReading') const Badge = require('../../models/badge') const UserB...
/* * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/) * * 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 req...
/* django-inline-formset.js @author Benjamin W Stookey https://github.com/jamstooks/jquery-django-inline-form */ !function($) { $.fn.djangoInlineFormAdd = function(options) { if(options.prefix != undefined) { this.prefix = options.prefix; this.containerId = '#' + this.prefix + '-containe...
import React, { Component } from 'react' import styled from 'styled-components' const SearchCatContainer = styled.div` position: absolute; overflow-x: hidden; width: 100%; height: 35px; z-index: 100; top: 45px; left: 0; ` const SearchCatRow = styled.div.attrs(props => ({ style: { transform: `trans...
import os import numpy as np import torch import nibabel as nib from scipy import stats import torchvision import datasets import paths image_transforms = torchvision.transforms.Compose([ torchvision.transforms.CenterCrop(350), torchvision.transforms.Resize((64, 64)), torchvision.transforms.ToTensor(), ])...
(function(e){const t=e["ne"]=e["ne"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"०% मध्ये १%","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Alig...
""" This file offers the methods to automatically retrieve the graph Trec4. The graph is automatically retrieved from the NetworkRepository repository. Report --------------------- At the time of rendering these methods (please see datetime below), the graph had the following characteristics: Datetime: 2021-02-06...
const fetch = require('node-fetch') const FormData = require('form-data') const fs = require('fs') const fromBuffer = require('file-type') const resizeImage = require('./imageProcessing') const fetchBase64 = (url, mimetype) => { return new Promise((resolve, reject) => { console.log('Get base64 from:', url)...
from typing import Optional from pydantic import BaseModel class Location(BaseModel): city:str state: Optional[str] = None country:str = 'us'
(window["webpackJsonpGUI"] = window["webpackJsonpGUI"] || []).push([[10],{ /***/ 1592: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "static/assets/22e1fb45c852ab96fc6eb36c510ab498.gif"; /***/ }), /***/ 1604: /***/ (function(module, exports, __webpack_require__) { ...
# -*- coding: utf-8 -*- # Mocks for testing import os from xml.dom.minidom import parse class Xbmc(object): BACK = 1 LOGERROR = ['ERROR', 1] LOGWARNING = ['WARNING', 2] LOGNOTICE = ['NOTICE', 3] LOGDEBUG = ['NOTICE', 4] def __init__(self, level=LOGERROR): self.level = level class...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _classnames = _interopRequireDefault(r...
import classNames from 'classnames'; import { arrayOf, bool, func, node, object, shape, string } from 'prop-types'; import React, { Component } from 'react'; import { FormattedMessage } from '../../util/reactIntl'; import css from './SelectSingleFilterPlain.css'; const getQueryParamName = queryParamNames => { retur...
# coding: utf-8 from PyQt5.QtWidgets import QWidget, QStackedLayout from mhw_armor_edit.editor.models import EditorPlugin from mhw_armor_edit.ftypes.wep_saxe import WepSaxe, WepSaxeEntry from mhw_armor_edit.struct_table import StructTableModel, SortFilterTableView class WepSaxeEditor(QWidget): def __init__(self,...
from pickle import dump, load from shelve import open as o from os import remove, path class Serializer(): def __init__(self): self.serialized_data = "serialized.p" def serialize_a(self, data): if path.isfile(self.serialized_data): remove(self.serialized_data) with o(self...
#! /usr/bin/env python3 import sys import json from optparse import OptionParser from glob import glob try: from collections.abc import Mapping except ImportError: # Python 2.7 compatibility from collections import Mapping # Dict keys we merge into the same key in the real spec MERGE_KEYS = ["paths", "defini...
/* * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ var moduleSearchIndex; var packageSearchIndex; var typeSearchIndex; var memberSearchIndex; var tagSearc...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:49:39 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/Frameworks/TVServices.framework/TVServices * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limn...
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
__version__ = "1.0.1" __all__ = ['websocket_connections', 'zeromq_connection', 'config_manager', 'main']
({ /** * Change Log: * 3 April 2020 * Updated error handling logError * Added onPrevious to return to previous flow screen */ handleSubmit : function(component, event, helper) { event.preventDefault(); // stop form submission let userEditForm = component.find("userEdit...
import React from 'react'; import './LoadingElement.scss'; import classNames from 'classnames'; export default class LoadingElement extends React.Component { render() { const elementClasses = classNames({ 'loading-element': true, [this.props.className]: true }); ret...
(this["webpackJsonpstreamlit-browser"]=this["webpackJsonpstreamlit-browser"]||[]).push([[12],{1182:function(t,n){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},1185:function(t,n,r){var o=r(1250),e="object"==typeof self&&self&&self.Object===Object&&self,i=o||e||Function("return this"...
/** * Copyright (c) 2018, The Regents of the University of California, * through Lawrence Berkeley National Laboratory (subject to receipt * of any required approvals from the U.S. Dept. of Energy). * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE f...
#include <syscall.h> #include <process.h> #include <scheduler.h> #include <kprintf.h> #include <trap.h> #include <types.h> #include <sysapi.h> static int (*syscalls[])() = { [SYS_PRINT] = print }; // 获取cpu当前正在执行的进程 static inline struct process* curproc() { struct cpu *curcpu = current_cpu(); return curcp...
import React from 'react'; const User = ({user}) => { return ( <li key={user.id} > <span className="user">{user.name}</span> </li> ) } export default User;
# -*- encoding:utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np from ..base import activations from ..base.activations import Sigmoid, Relu, Identity from ..base.initializers import xavier_uniform_initializer from ..layers.layer...
// // Fcgo_publicNetworkTools.h // Fcgo // // Created by huafanxiao on 2017/5/16. // Copyright © 2017年 huafanxiao. All rights reserved. // #import <Foundation/Foundation.h> @interface Fcgo_publicNetworkTools : NSObject /* typedef void(^RequestSuccessBlock)(NSMutableArray *mutableArray); typedef void(^RequestFai...
import contextlib from typing import Optional import discord import random from redbot.core import commands from redbot.core.utils.chat_formatting import bold, box class TextEditor(commands.Cog): """ Edit and manipulate with text. """ __author__ = ["Kreusada"] __version__ = "2.0.0" def __i...
if (IS_DEV_SERVER) { if (module.hot) { module.hot.accept(); module.hot.addStatusHandler((status) => { if (status === 'prepare') { console.clear(); } }); } }
""" PASSENGERS """ numPassengers = 1373 passenger_arriving = ( (0, 5, 7, 2, 0, 0, 2, 1, 1, 1, 0, 0), # 0 (1, 5, 5, 4, 2, 0, 1, 3, 4, 6, 1, 0), # 1 (1, 3, 5, 0, 0, 0, 3, 4, 2, 1, 1, 0), # 2 (2, 1, 4, 0, 2, 0, 2, 6, 4, 2, 1, 0), # 3 (3, 5, 3, 5, 0, 0, 4, 2, 3, 2, 1, 0), # 4 (2, 4, 4, 0, 3, 0, 4, 0, 2, 0, 0,...
var test = require('../util/test')(__filename); var replaceAll = require('../../packages/string-replace-all'); test('string with replacements', function(t) { t.plan(4); t.equal(replaceAll('hello, world', 'l', 'q'), 'heqqo, worqd'); t.equal(replaceAll('hello, world', 'l', 'qq'), 'heqqqqo, worqqd'); t.equal(repl...
module.exports = new Date(1993, 0, 3)
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ File: convert_kvret_data.py """ import json import ast import numpy as np def convert_text_for_model(input_file, out_file): all_samples = [] sample = {} uid = [] dialog = [] kb = [] gold_entity = [] ptr_index = [] kb_index = [] dia...
const parseDecimal = number => parseInt(number, 10) module.exports = parseDecimal
# Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. import os import re import time import math import subprocess import operator import numpy as np import scipy from google.protobuf import text_format import caffe import caffe_pb2 from train import TrainTask from digits.config import config_value f...
import { Random } from 'meteor/random'; import { Messages, Rooms, Users } from '../../../models'; import { transformMappedData } from '../../lib/misc/transformMappedData'; export class AppMessagesConverter { constructor(orch) { this.orch = orch; } convertById(msgId) { const msg = Messages.findOneById(msgId); ...
'use strict' import React, { Component, PropTypes } from 'react' import ReactDOM, { render } from 'react-dom' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import * as actions from '../actions/actionCreators' import immutable from 'immutable' import cx from 'classname' import R from ...
import numpy as np import skimage.io from scipy.ndimage import zoom from skimage.transform import resize try: # Python3 will most likely not be able to load protobuf from caffe.proto import caffe_pb2 except: import sys if sys.version_info >= (3, 0): print("Failed to include caffe_pb2, things mi...
# Copyright (c) 2014, Roger Duran # # 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, dist...
'use strict'; var vue = require('vue'); var Ripple = require('primevue/ripple'); var Dropdown = require('primevue/dropdown'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple); var Dropdo...
from elasticsearch import Elasticsearch es = Elasticsearch('http://localhost:9200') from math import sqrt keepwords = open('keepwords.txt').read() keepwords = keepwords.split('\n') def scoredFingerprint(terms): fp = {} for term, value in terms.items(): if value[1] < 100 or term in keepwords: ...
/** * DevExtreme (ui/tree_list/ui.tree_list.filter_row.js) * Version: 18.2.3 * Build date: Wed Nov 07 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var core = require("./ui.tree_list.core...
var class_microsoft_1_1_bot_1_1_connector_1_1_signin_card = [ [ "SigninCard", "dc/d03/class_microsoft_1_1_bot_1_1_connector_1_1_signin_card.html#adab54026b945dbe3b14a49d2f0761317", null ], [ "SigninCard", "dc/d03/class_microsoft_1_1_bot_1_1_connector_1_1_signin_card.html#af683c37a7e850e5e2b2f947684f4128e", null...
#ifndef END_MATCH_H #define END_MATCH_H #include <stdbool.h> // forward declaration struct EndMatch; typedef struct EndMatch EndMatch; #include "../../common/io/outputStream.h" #include "../../common/timer/cenTimer.h" #include "../../robot/config/robotConfig.h" /** We take 1 seconds to be sure that i...
"""This script creates a simple static plot of data from the DtssHost via a DtsClient.""" import os import sys import logging import socket import shyft.time_series as st from bokeh.server.server import Server from bokeh.application import Application from bokeh.application.handlers.function import FunctionHandler fr...
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class ShowMessagesResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict...
# coding: utf-8 """ Catalog API The Catalog API allows users to search for and locate an eBay catalog product that is a direct match for the product that they wish to sell. Listing against an eBay catalog product helps insure that all listings (based off of that catalog product) have complete and accurate inf...
# -*- coding: utf-8 -*- from flask import Blueprint, render_template, g, request, abort from dataviva.apps.general.views import get_locale from dataviva.api.secex.services import Product as ProductService from dataviva.api.secex.services import ProductTradePartners as ProductTradePartnersService from dataviva.api.secex...
var searchData= [ ['o_5faccmode_4075',['O_ACCMODE',['../posix_8h.html#a4dc4d45e07d2abc899bcaf04b2846a87',1,'posix.h']]], ['o_5fappend_4076',['O_APPEND',['../posix_8h.html#ae036f789407d21f07b211552d67b3214',1,'posix.h']]], ['o_5fbinary_4077',['O_BINARY',['../posix_8h.html#a36fa9b2e726512bc17a7a6d3e39002be',1,'posi...