text
stringlengths
3
1.05M
import Main from './main.vue' import merge from 'element-ui/src/utils/merge' import { PopupManager } from 'element-ui/src/utils/popup' import { isVNode } from 'element-ui/src/utils/vdom' const NotificationConstructor = { extends: Main } let instance let instances = [] let seed = 1 const Notification = function(opti...
import React, { Component } from 'react'; import { Layout, Menu, Icon } from 'antd'; import './home.css'; import Goods from './goods' import Category from './category' import Marketing from './marketing' const { Header, Sider, Content } = Layout; class Home extends Component { constructor(props) { super(p...
class NoOp(object): """The NoOp class implements the VCS interface, with each method implemented as a no-op. This makes the NoOp class suitable for use when no VCS is being used, and as a default VCS class in the config file. In addition, the NoOp class may be used as a base class for other VCS cla...
import React from "react"; import { createPortal } from "react-dom"; import { Steps } from "intro.js-react"; import PropTypes from "prop-types"; import InsertEmoticonIcon from "@mui/icons-material/InsertEmoticon"; import PluginControlButton from "../components/PluginControlButton"; import "intro.js/introjs.css"; impo...
/*! Copyright Novix S.A. 2019. All rights reserved. */ (window.webpackJsonp=window.webpackJsonp||[]).push([[101,27,32,43,62,80,102,272],{1448:function(e,n,t){"use strict";(function(a){var o,r,i=t(18),s="en";try{"es"!=(s=(s=navigator.language?navigator.language:navigator.userLanguage).substr(0,2).toLowerCase())&&"en"!=s...
db.posts.deleteMany({}); for (let i = 0; i < 100; i += 1) { db.posts.insertOne({ title: `article #${i}`, creationDate: new Date(), modifiedDate: new Date(), content: "Ullamco culpa eu aute culpa id et veniam excepteur.Nisi voluptate ad culpa mollit officia pariatur aute et quis quis veniam cill...
const { GraphQLObjectType, GraphQLSchema } = require('graphql'); const { GraphQLUser } = require('./types/user'); const { nodeField } = require('./node'); const { getViewer } = require('./api/user'); const mutations = require('./mutations'); const query = new GraphQLObjectType({ name: 'Root', fields: { viewer...
// flow-typed signature: 3ab46805c4c623a3c3b498f144d76c0a // flow-typed version: <<STUB>>/@commitlint/config-conventional_v^6.0.2/flow_v0.75.0 /** * This is an autogenerated libdef stub for: * * '@commitlint/config-conventional' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we ...
//// [decrementOperatorWithUnsupportedBooleanType.ts] // -- operator on boolean type var BOOLEAN: boolean; function foo(): boolean { return true; } class A { public a: boolean; static foo() { return true; } } module M { export var n: boolean; } var objA = new A(); // boolean type var var ResultIsNumber...
import mount from './mount'; import { STYLES_SIZE_PER_NODE, INITIAL_SIZE, FILL_SIZE } from './constants'; const availableFragments = []; const getSheetForTag = tag => { if (tag.sheet) { return tag.sheet; } for (let i = 0; i < document.styleSheets.length; i++) { if (document.styleSheets[i].ownerNode ===...
import React from "react"; import { connect } from "react-redux"; import { v4 } from "uuid"; import styled from "styled-components"; import { setToggleShown, setDeleteFilter } from "../../../../store/filters"; import ExpandLessIcon from "@material-ui/icons/ExpandLess"; import ExpandMoreIcon from "@material-ui/icons/...
/** * Created by jimmy on 2017/3/24. */ /** * common化helper */ import 'react'; import 'react-dom'; import 'react-router'; /** * 导入样式 */ import './style/base.scss'; import './style/common.scss'; /** * 全局变量 */ window.Utils = Utils;
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/createSvg...
var test = require('tape') var line = require('./') test('svg-line', function(t) { t.plan(1) t.equal(line()([ { x: 0, y: 0 } , { x: 1, y: 0 } , { x: 1, y: 1 } , { x: 0, y: 1 } ]), 'M0,0L1,0L1,1L0,1') }) test('custom accessors', function(t) { t.plan(1) t.equal(line() .x(function(d) { re...
from ast import operator import tkinter as tk app = tk.Tk() app.title('Calculadora') app.geometry('250x350') app.resizable(False,False) app.configure(bg='#223') display = tk.Frame(app, bg='#999', width=220) display.place(x=15, y=20, height=42) y=100 x=12 teclas = ['C', '( )', '⌫', '÷', '7', '8', '9', 'x', '4', '5',...
const Item = React.createClass({ displayName: 'Item', getDefaultProps() { console.log('get defult props'); return { group: 123 } }, getInitialState() { console.log('get initial state'); return { name: 'leo' } }, render() { ...
import axios from 'axios'; import authHeader from '../_helpers/auth-header'; import utils from '../_helpers/utils'; import alertActions from '../_actions/alert.actions'; import history from '../_helpers/history'; const create = shiftData => { const config = { headers: authHeader() }; return axios.post('/shi...
window.onload = function(){ $('#opc2').addClass('actual'); $('.glyphicon-plus').on('click', function(){ $(this).hide(); $(this).next().show(); // $(this).parent().parent().next().slideDown(); $(this).parent().parent().next().show(); }); $('.glyphicon-minus').on('click', ...
import sys import os import errno import shutil import re import multiprocessing if sys.version_info < (3, 0): from Queue import Queue else: from queue import Queue from threading import Thread from subprocess import Popen, PIPE, STDOUT from common_tasks import ( process_glob_string, run_check_call, ...
var expect = require("expect.js"); var sm = require("source-map"); var sweet = require("../build/lib/sweet"); let describe = macro { case {_ $description:lit { $body ... } } => { return syntax { describe($description, function() { $body ... }); } } } let...
/** * Publicize connections verification component. * * Component to create Ajax request to check * all connections. If any connection tests failed, * a refresh link may be provided to the user. If * no connection tests fail, this component will * not render anything. */ /** * External dependencies */ import...
export let Util = { isCoordInRect: function (coord, rectCenter, rectWidth, rectHeight) { return (coord.x < rectCenter.x + (rectWidth / 2) && coord.x > rectCenter.x - (rectWidth / 2)) && (coord.y < rectCenter.y + (rectHeight / 2) && coord.y > rectCenter.y - (rectHeight / 2)); }, intersectCircles:...
const { firstElement, desc, prepareParameters, elementTypeToSelectorName } = require('./helper'); const { descEvent } = require('../eventBus'); let { getIfExists } = require('../elementSearch'); const runtimeHandler = require('../handlers/runtimeHandler'); /** * Wrapper object of all found elements. This list mimics...
const Subject = require('../models/Subject') const Event = require('../models/Event') exports.addSubject = async (req, res) => { try { const newSubject = new Subject({ name: req.body.name, teacher: req.body.teacher, color: req.body.color, description: req.bod...
import numpy as np import pandas as pd from sklearn.preprocessing import OneHotEncoder from torch.utils.data import Dataset def get_data(): train_data = pd.read_csv('data/train.csv') test_data = pd.read_csv('data/test.csv') X_nums = np.vstack([ train_data.iloc[:, 11:-1].to_numpy(), test_d...
// JavaScript Document $.fn.countTo = function (options) { options = options || {}; return $(this).each(function () { // set options for current element var settings = $.extend({}, $.fn.countTo.defaults, { from: $(this).data('from'), to: $(this).data('to'), spee...
class BRList{constructor(e,t){this.name=e,this.component=t,this.collapsible="br-list-collapsible"===this.name,this.checkable="br-list-checkable"===this.name,this.unique=t.hasAttribute("unique"),this.horizontal=t.hasAttribute("horizontal"),this.cols=this.horizontal?t.querySelectorAll(".col"):[],this.itens=t.querySelecto...
from rasa.shared.nlu.state_machine.state_machine_models import ( Intent, Utterance, ) from data_generation.story_generation import Fork, Or, Story i_like_dogs = ( Intent( examples=[ "I hate dogs", "I love dogs", "Dogs are the best, don't you think?", ] ...
import logging import sys from colored import fg, attr from copy import copy from friendlylog.constants import ( DEBUG, INFO, WARNING, ERROR, CRITICAL, LOG_LEVEL_LIST ) from friendlylog.utils import do_not_propagate # Where the logs should be sent. _STREAM = sys.stdou...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schematics_1 = require("@angular-devkit/schematics"); const core_1 = require("@angular-devkit/core"); const config_1 = require("@schematics/angular/utility/config"); function spectatorComponentSchematic(options) { return schematics_1...
define(['./chunk-96447c02.js'], function (__chunk_1) { 'use strict'; function fn () { console.log('dep1 fn'); } class Main1 { constructor () { fn(); __chunk_1.fn(); } } return Main1; }); //# sourceMappingURL=main1.js.map
const { ApolloServer, gql } = require('apollo-server'); const Random = require('mockjs').Random; let users = [ { id: 1, name: Random.word(5), blogs: [ {id: 1}, {id: 2} ] }, { id: 2, name: Random.word(5), blogs: [ {id: 3} ] }, { id: 3, name: Random.word(5), blogs: [ {id: 4}, {i...
import { createApp } from 'vue' import App from './App.vue' import './assets/tailwindcss.css' createApp(App).mount('#app')
module.exports = { moduleFileExtensions: ['js', 'jsx', 'json', 'vue'], transform: { '^.+\\.vue$': 'vue-jest', '.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub', '^.+\\.jsx?$': 'babel-jest', }, moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1', }, snap...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _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]; } } }...
import React from "react"; import AnimateOnChange from "react-animate-on-change"; import PropTypes from "prop-types"; import getRandomOption from "./getRandom"; import "./style.scss"; const Ball = ({ updateState, options, answer, lang }) => ( <div> <div onClick={Ball.handleRandomOption(updateState, options...
""" This module contains all the 2D line class which can draw with a variety of line styles, markers and colors. """ # TODO: expose cap and join style attrs from __future__ import (absolute_import, division, print_function, unicode_literals) import six import warnings import numpy as np from...
'use strict' /*! * Fyrejet * Copyright(c) 2020 Nicholas Schamberg * MIT Licensed */ /** * Module dependencies. */ var parseUrl = require('parseurl') var qs = require('qs') module.exports = function query (req, url, fn) { const path = url.split('?')[0] req.path = path if (!req.query) { var queryparse...
/* eslint-disable linebreak-style */ const path = require('path'); const rules = [{ test: /\.(js|jsx|ts)$/, loader: 'babel-loader', exclude: /node_modules/, options: { presets: ['@babel/react', '@babel/env'], }, }, { test: /\.s[ac]ss$/i, use: [ // Creates `style` nodes from JS strings 'style-...
import OAuth from 'oauth-1.0a'; import { createHmac } from 'crypto'; import dotenv from 'dotenv'; dotenv.config(); const CONSUMERKEY = process.env.consumer_key; const CONSUMERSECRET = process.env.consumer_secret; const TOKENKEY = process.env.access_token; const TOKENSECRET = process.env.token_secret; export const oa...
'use strict'; function ExtClass(params) { this.names = params.names; this.parentName = params.parentName; this.dependencies = params.dependencies || []; this.src = params.src; this.path = params.path; this._isClass = true; } exports.init = function (grunt, opts) { var options, arr...
import { connect } from 'react-redux'; import Component from './component.jsx'; import { app as appActions } from '../../actions'; const { theme } = appActions; const mapStateToProps = (state) => { const { themeColor } = state.app; return { themeColor, }; }; const mapDispatchToProps = dispatch => ({ setT...
/* eslint-disable prettier/prettier */ // Global settings for the documentation website // Icons from https://www.webcomponents.org/element/@polymer/iron-icons/demo/demo/index.html module.exports = { siteName: 'Documentation Demo Site', siteDescription: '', welcomeCategory: 'intro', menuTitle: '', ...
import {test} from '../../util/test'; import GeoJSONWorkerSource from '../../../src/source/geojson_worker_source'; import StyleLayerIndex from '../../../src/style/style_layer_index'; import {OverscaledTileID} from '../../../src/source/tile_id'; import perf from '../../../src/util/performance'; const actor = {send: () ...
describe('OHIF Study Viewer Page', function() { before(() => { cy.checkStudyRouteInViewer( '1.2.840.113619.2.5.1762583153.215519.978957063.78' ); cy.expectMinimumThumbnails(5); }); beforeEach(function() { cy.initCommonElementsAliases(); cy.resetViewport(); }); it('checks if series ...
#!/usr/bin/env python import setuptools setuptools.setup( name='requires-provides', version='0.1', description='Flexible dependency decorators', license='MIT', author='Joshua Downer', author_email='joshua.downer@gmail.com', url='http://github.com/jdowner/requir...
import React from 'react'; import FormErrorMessage from './FormErrorMessage'; import { shallow } from 'enzyme'; describe('<FormErrorMessage>', () => { let component = shallow(<FormErrorMessage />); it('should render the component without errors', () => { expect(component).toMatchSnapshot(); expect(component.len...
mycallback( {"CONTRIBUTOR OCCUPATION": "", "CONTRIBUTION AMOUNT (F3L Bundled)": "2500.00", "ELECTION CODE": "P2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "", "DONOR CANDIDATE STATE": "GA", "CONTRIBUTOR STREET 1": "PO Box 27750", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "H0GA08099", "DONOR CANDIDATE ...
import os import argparse from Tests.Marketplace.marketplace_services import init_storage_client from demisto_sdk.commands.common.tools import print_error def upload_git_snapshot(git_snapshot_path, pack_name, branch_name, pack_version, storage_bucket, repo_name, git_org): try: git_snapshot_name = f'org-{g...
import React, {Component} from 'react'; import {View, ViewPropTypes} from 'react-native'; import PropTypes from 'prop-types'; import XDate from 'xdate'; import dateutils from '../dateutils'; import {xdateToData, parseDate} from '../interface'; import styleConstructor from './style'; import Day from './day/basic'; impo...
const {TextInput, TextView, ui} = require('tabris'); // Create a text input field with input finished listener new TextInput({ top: 20, left: '20%', right: '20%', message: 'Type here, then confirm' }).on('accept', ({text}) => { new TextView({ top: 'prev() 20', left: '20%', text: text }).appendTo(ui.co...
const utils = require("../utils"); const plotlyLayoutTemplate = { showlegend: true, legend: {orientation: "h"}, yaxis: {scaleanchor: 'x', scaleratio: 1},//keep x , y equal ratio when 2d margin: {l: 60, r: 60, t: 80, b: 60}, hoverlabel: { namelength: -1 }, scene: { aspectmode: "...
import ERC20Token from "../contracts/ERC20Token.json" import CrowdsaleSimple from "../contracts/CrowdsaleSimple.json" export const deployERC20 = ({ web3, tokenName, tokenSymbol, tokenSupply, tokenDecimals }) => { // Deploy using web3 const web3Contract = new web3.eth.Contract(ERC20Token.abi) return web...
require('./bounding-box'); require('./bounding-sphere'); require('./frustum'); require('./plane'); require('./ray');
import React from 'react'; import PropTypes from 'prop-types'; import Button from '../../Button'; const propTypes = { cancelable: PropTypes.bool.isRequired, cancelText: PropTypes.string.isRequired, clearable: PropTypes.bool.isRequired, clearText: PropTypes.string.isRequired, doneText: PropTypes.string.isRequ...
// Set up MySQL connection. var mysql = require("mysql"); var connection; if (process.env.JAWSDB_URL) { connection = mysql.createConnection(process.env.JAWSDB_URL); } else { connection = mysql.createConnection({ host: "localhost", port: 3306, user: "root", password: "root", database: "burger_db...
var searchData= [ ['character_6',['character',['../structcharacter.html',1,'']]], ['credits_7',['credits',['../structmenuitems.html#a3b1de642b81f8b6823e8b1eac6d0c8c6',1,'menuitems']]] ];
/** * Class for detecting duplicate resources given an <input> element * */ class DuplicateResourceDetector { constructor($element, messenger) { this.$element = $element this.messenger = messenger; this.$element.data('_object', this) this.field = this.$element.data('field') this.existing = thi...
import { createReducer } from '@reduxjs/toolkit'; import { SUMBUTIKK_MOTTA, } from '../actiontypes'; const sumbutikkReducer = createReducer([], { [SUMBUTIKK_MOTTA]: (state, action) => action.payload, }); export default sumbutikkReducer;
const defaultTheme = require('tailwindcss/defaultTheme'); const log = require('debug')('tailwind:conf'); log.enabled = true; const isForIndexfile = process.env.TAILWIND_INDEX === 'true'; if (isForIndexfile) log('Processing index.pcss > index.css using index.html as base'); module.exports = { content: isForIndexfile...
/** * Created by sylflo on 11/15/15. */ (function () { 'use strict'; angular.module('NourritureControllers') .controller('ParametersIngredientsLikedUserProfileController', ParametersIngredientsLikedUserProfileController); ParametersIngredientsLikedUserProfileController.$inject = ["IngredientService", "$...
(function($) { $(document).ready(function() { // panel section $('.btn-plus-js').on('click', function(e) { e.preventDefault(); $(this).closest('.panel-block').toggleClass('panel-overlay'); $(this).toggleClass('btn-plus-rotate'); }); // sl...
import React from 'react' import { arrayOf, string, object } from 'prop-types' import Helmet from 'react-helmet' import { useStaticQuery, graphql } from 'gatsby' const SEO = ({ description, lang, meta, title }) => { const { site } = useStaticQuery( graphql` query { site { siteMetadata { ...
#!/usr/bin/env python # coding=utf-8 import os import sys import json import setuptools from setuptools.command.test import test as TestCommand DIRECTORY = os.path.dirname(os.path.realpath(__file__)) SETUP_JSON = None try: with open(os.path.join(DIRECTORY, "setup.json"), "r") as f: SETUP_JSON = json.load...
'use strict'; import * as RepairShopActionType from './repairShopActionTypes'; import * as Api from '../api'; export function loadRepairOrders() { return async dispatch => { let repairOrders; try { repairOrders = await Api.getRepairOrders(); } catch (e) { console.log(e); } ...
"""OData service implementation Details regarding batch requests and changesets: http://www.odata.org/documentation/odata-version-2-0/batch-processing/ """ # pylint: disable=too-many-lines import logging from functools import partial import json import random from email.parser import Parser from http.client im...
import { constants } from './constant' function castReducer(state = {}, action) { switch (action.type) { case constants.GET_REQUEST: return { loading: true, } case constants.GET_SUCCESS: return { body: action.payload, }...
var path = require('path') var utils = require('./utils') var config = require('../config') var vueLoaderConfig = require('./vue-loader.conf') function resolve (dir) { return path.join(__dirname, '..', dir) } module.exports = { entry: { app: './src/main.js' }, output: { path: config.build.assetsRoot, ...
macDetailCallback("0050c2574000/36",[{"a":"c/ San Luis, 8 bajo 1ş Murcia Alcantarilla ES 30820","o":"Ingeniería Almudí S.L.","d":"2008-07-30","t":"add","s":"ieee","c":"ES"}]);
#Kunal Gautam #Codewars : @Kunalpod #Problem name: Snail #Problem level: 4 kyu def snail(array): li = [] if not len(array[0]): return li while array: l = len(array) for i in range(0, l): li.append(array[0][i]) array=array[1:] for i in range(0, l-1): ...
const path = require('path'); exports.createPages = ({ graphql, actions }) => { const { createPage } = actions; return new Promise((resolve, reject) => { graphql( ` { allDatoCmsWork { edges { node { title slug cat...
"""Example 017: Set Template Tab Values""" from os import path from docusign_esign.client.api_exception import ApiException from flask import render_template, redirect, session, Blueprint from .controller import Eg017Controller from ....docusign import authenticate from ....ds_config import DS_CONFIG from ....error_...
export const isPositiveNumber = (number) => { return number > 0; };
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bazar.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
import re from django.conf import settings # this is not intended to be an all-knowing IP address regex IP_RE = re.compile('\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}') def get_ip(request): """ Retrieves the remote IP address from the request data. If the user is behind a proxy, they may have a comma-separated ...
/** * Copyright 2014 IBM Corp. * * 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 wr...
const router = require("express").Router(); const UserController = require("../../controllers/UserController") router.get('/', (req, res) => { res.send('Hello from user.js app \n') }) router.post('/', UserController.createUser) router.get('/:userId', UserController.getUserById) module.exports = router;
'use strict'; module.exports = app => { const { STRING, DATE, INTEGER, BOOLEAN } = app.Sequelize; const CseChild = app.model.define('monitor_child_cses', { id: { type: INTEGER, primaryKey: true, autoIncrement: true, }, cse_id: STRING(16), cse_type: INTEGER, cse_key: STRING(16...
/* global describe, it */ const expect = require('chai').expect; const util = require('util'); const responseHelper = require("../../framework/web/responseHelper") describe("responseHelper", function () { describe('success method ', function () { this.timeout(300*1000); it('should work with...
import React from "react"; import { render } from "react-dom"; import ReactLoadMore from "../src/reactLoadMore"; import mockUpData from "./data"; class App extends React.Component { constructor() { super(...arguments); this.state = this._getInitialState(); } _getInitialState() { return { fetchi...
orchastLamps = [2,2,2,2,2,2,2,2,2,5,5,5,30,30,30,30,30,30,30,5,5,5,5,5,5,5,5,5,5,5,5,5,30,30,30,30,30,30,30,30,30,2,2,2,2,2,2,2] orchastMicro = [2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,5,5,5,5,5,15,15,15,30,30,30,15,15,15,15,15,15,15,15,15,15,5,5,5,2,2,2] orchastMulti = [] for a,b in zip(orchastLamps,orchastMicro): ...
"""A library for integrating pyOpenSSL with CherryPy. The OpenSSL module must be importable for SSL functionality. You can obtain it from http://pyopenssl.sourceforge.net/ To use this module, set CherryPyWSGIServer.ssl_adapter to an instance of SSLAdapter. There are two ways to use SSL: Method One ---------- * ``s...
/* * /MathJax-v2/localization/ja/MathML.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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/lice...
/* * base64.js: An extremely simple implementation of base64 encoding / decoding using node.js Buffers * * (C) 2010, Nodejitsu Inc. * */ var base64 = exports; // // ### function encode (unencoded) // #### @unencoded {string} The string to base64 encode // Encodes the specified string to base64 using node.js Buff...
const dmw = require('./dmw.route'); const router = require('express').Router(); router.use('/dmw', dmw); module.exports = router;
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Main function for executing arguments.""" os.environ.setdefault("DJANGO_SETTINGS_MODULE", "app.settings") try: from django.core.management import execute_from_command_line ex...
var axios = require('../../../index'); var http = require('http'); var https = require('https'); var net = require('net'); var url = require('url'); var zlib = require('zlib'); var assert = require('assert'); var fs = require('fs'); var path = require('path'); var pkg = require('./../../../package.json'); var server, p...
module.exports={A:{A:{"2":"J E F G A B jB"},B:{"1":"P S T U V W X Y Z a b c Q H d","2":"C K L D M N O"},C:{"2":"0 1 2 3 4 5 6 7 8 9 kB cB I e J E F G A B C K L D M N O f g h i j k l m n o p q r s t u v w x y z AB BB CB mB nB","129":"DB EB FB GB HB IB dB JB eB KB LB R MB NB OB PB QB RB SB TB UB VB WB XB YB ZB P S T lB U...
/* ======================================================================== * Tutorial specific Javascript * * ======================================================================== * Copyright 2015 Bootbites.com (unless otherwise stated) * For license information see: http://bootbites.com/license * ==========...
""" Tests for methods shared by DataFrame and Series. """
import os from pathlib import Path from PIL import Image import pytest import numpy as np from imagededup.methods.hashing import Hashing, PHash, DHash, AHash, WHash p = Path(__file__) PATH_IMAGE_DIR = p.parent / 'data/mixed_images' PATH_IMAGE_DIR_STRING = os.path.join(os.getcwd(), 'tests/data/mixed_images') PATH_SI...
import LinkComponent from '@ember/routing/link-component'; import { computed } from '@ember/object'; import layout from '../templates/components/nav-link-to'; export default LinkComponent.extend({ tagName: 'li', layout: layout, attributeBindings: ['data-toggle', 'data-target'], router: service(), hrefForA...
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Shortstack(Package): """ShortStack is a tool developed to process and analyze smallRNA-seq...
module.exports = { generateExampleComponent: function (serviceComponentName) { var body = getComponentBody(serviceComponentName) // console.log(body) return body } } function getComponentBody(serviceComponentName){ return `<aura:component> <c:${serviceComponentName} aura:id="${serviceComponentName}"...
// custom typefaces import "typeface-montserrat" import "typeface-merriweather" import "prismjs/themes/prism-solarizedlight.css" import "./src/utils/github-theme.css"
(this["webpackJsonpdsearch-console"]=this["webpackJsonpdsearch-console"]||[]).push([[51],{1500:function(e,t,n){"use strict";n.r(t);var a=n(59),l=n(0),r=n.n(l),c=n(38),i=n(28),o=n(11),u=n(131),m=n.n(u),s=n(713),d=n(648),f=n(170),p=n(598),y=n(607),E=n(696),g=n(661),h=n(858),b=n.n(h),v=n(731),O=n(2),x=n(892),C=n(1107),S=n...
import React, { Component } from 'react' import {Container, Menu, Image } from 'semantic-ui-react' import UserDropDown from '../layouts/UserDropDown' export default class NavHeader extends Component { render() { return ( <Menu fixed="top" inverted> <Container> <Menu.Item as="a" href="/app" header> ...
import React, {PureComponent} from 'react'; import {graphql, Link} from 'gatsby'; import Layout from "../components/layout"; import SEO from "../components/SEO"; import chunk from "lodash/chunk"; import Img from "gatsby-image"; import moment from "moment"; import ClampLines from "react-clamp-lines"; import bhavikji fr...
import json from datetime import timedelta from django.urls import reverse from django.utils import timezone from .. import test from ...categories.models import Category from ...users.test import AuthenticatedUserTestCase from ..models import Post from ..test import patch_category_acl class ThreadPostPatchApiTestC...
import argparse import logging import os import subprocess from .lib.init_helper import init_logging # Initialize logging format before loading all other modules logger = init_logging(logging.INFO) # default ncu path NCU_BIN: str = "/usr/local/NVIDIA-Nsight-Compute-2021.2/ncu" def run_ncu(args: str, metrics: str,...