text
stringlengths
3
1.05M
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import "UIViewControllerAnimatedTransitioning-Protocol.h" @class HBApp, NSString, UIView; @interface HBFolderFadeLaun...
import Clipboard from './clipboard' const install = function(Vue) { Vue.directive('Clipboard', Clipboard) }; if (window.Vue) { window.clipboard = Clipboard; Vue.use(install); // eslint-disable-line } Clipboard.install = install; export default Clipboard
import Ember from 'ember'; export default Ember.Controller.extend({ systemConfigSrv: Ember.inject.service('api/system-config/service'), page:1, pageCount:1, pageSize:20, actions:{ queryAction:function(){ this.send("pageChanged",this.get("page")); }, pageChanged:function(page){ var self = this; thi...
import requests import json from config import config, logger def annotate_text(text): r = requests.post(config.get( 'DEFAULT', 'BIOPORTAL_URL'), data={'text': text, 'apikey': config.get('DEFAULT', 'BIOPORTAL_APIKEY'), 'ontologies': config.get('DEFAULT', 'ONTOLOGIES'), ...
from django.utils.translation import ugettext_lazy as _ from mayan.apps.documents.search import document_page_search, document_search document_search.add_model_field( field='versions__file_metadata_drivers__entries__key', label=_('File metadata key') ) document_search.add_model_field( field='versions__fil...
"""The controller module, the main method of this module starts DockerENT.""" from DockerENT import output_worker from DockerENT import scanner_workers from multiprocessing import pool import logging import multiprocessing # Define module-level logger. _log = logging.getLogger(__name__) def main(docker_containers, ...
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import binascii import itertools import os from cryptography.hazmat.back...
# -*- coding: utf-8 -*- from __future__ import unicode_literals import datetime import math import json from django.db import models from moneywagon import crypto_data class FraudAlert(models.Model): fraud_services = models.TextField() network_results = models.TextField() offending_type = models.CharField...
from django.contrib import admin from django.urls import include, path, re_path from django.conf import settings from biostar.accounts import views account_patterns = [ # Get the reset/ urls path('', views.listing, name="accounts_index"), path(r'password/reset/', views.password_reset, name='password_rese...
#!/usr/bin/env python import socket, json import base64 class Listener: def __init__(self, ip, port): """Start listener server allowing to reuse sockets.""" listener = socket.socket(socket.AF_INET, socket.SOCK_STREAM) #Change any option on your listener object listener.setsockopt(...
import bench def func(a, b, c): pass def test(num): for i in iter(range(num)): func(c=i, b=i, a=i) bench.run(test)
r""" Tools for working with situation templates, which allow a human to compactly describe a large number of possible situations. Note that we provide convenience functions like `random_situation_templates` and `one_situation_per_template` to assist in supplying `Situation`\ s to `Experiment`\ s. """ import sys from a...
from .encoder import * from .classifier import *
# Copyright Contributors to the Amundsen project. # SPDX-License-Identifier: Apache-2.0 import copy import unittest from databuilder.models.metric_metadata import MetricMetadata class TestMetricMetadata(unittest.TestCase): def setUp(self): # type: () -> None self.metric_metadata = MetricMetadat...
function CodeDefine() { this.def = new Array(); this.def["LPF_DW"] = {file: "LPF_c.html",line:20,type:"var"}; this.def["LPF_U"] = {file: "LPF_c.html",line:23,type:"var"}; this.def["LPF_Y"] = {file: "LPF_c.html",line:26,type:"var"}; this.def["LPF_M_"] = {file: "LPF_c.html",line:29,type:"var"}; this.def["LPF_M"] =...
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ **...
#pragma once #include <Processors/Formats/IOutputFormat.h> #include <Common/Arena.h> #include <Common/ThreadPool.h> #include <base/logger_useful.h> #include <Common/Exception.h> #include "IO/WriteBufferFromString.h" #include <Formats/FormatFactory.h> #include <Poco/Event.h> #include <IO/BufferWithOwnMemory.h> #includ...
export default function() { return [ { title: 'Javascript: The Good Parts', pages: 101}, { title: 'Harry Potter', pages: 39 }, { title: 'The Dark Tower', pages: 85 }, { title: 'Eloquent Ruby', pages: 1 } ]; }
import React from 'react' import PropTypes from 'prop-types' import styles from './weather.less' function Weather ({ city, icon, dateTime, temperature, name }) { return (<div className={styles.weather}> <div className={styles.left}> <div className={styles.icon} style={{ backgroundImage: `url(${icon...
import os import os.path class CCFile: # Replaces part of a file name for all files in a directory # https://stackoverflow.com/questions/225735/batch-renaming-of-files-in-a-directory def replaceFileNames(self, find, replace, dir): for f in os.listdir(dir): if not f.startswith('.'): ...
const jsdom = require('jsdom'); const cache = {}; module.exports = class CachingResourceLoader extends jsdom.ResourceLoader { fetch(url, options) { if (url.endsWith(".png") || url.endsWith(".svg") || url.endsWith(".gif") || url.endsWith(".jpg") || url.endsWith(".map") || url.indexOf("undefined") > -1) { ...
import React from 'react'; import loadingGif from '../../../assets/animations/loading.gif'; /** * A basic loading animation component */ function Loader() { return <img src={loadingGif} alt="Loading" width={24} height={24} />; } export default Loader;
# pylint: disable=no-self-use import numpy from numpy.testing import assert_array_almost_equal from keras import backend as K from keras.initializers import Constant from keras.layers import Input from keras.models import Model from keras import activations from deep_qa.tensors.backend import apply_feed_forward from d...
#!/usr/bin/env python3 # Copyright (c) 2019 The PIVX developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Covers the 'Wrapped Serials Attack' scenario ''' import random from time import sleep from test_framework.authpr...
var GlideUserImageElement = Class.create({ initialize: function (name) { this.name = name; this._ieResize(); }, isTemplatable: function () { return false; }, isReadOnly: function () { var $element = $(this.name); return $element.hasClassName('readonly') || $e...
from typing import Any def load_convnext_parameters(model: Any, timm_model: Any) -> None: model.stem.conv.load_state_dict(timm_model.stem[0].state_dict()) model.stem.norm.load_state_dict(timm_model.stem[1].state_dict()) index = 0 for i, timm_stage in enumerate(timm_model.stages): if i != 0: ...
// import dependencies import { Centers, Events } from '../models'; /** * This is a AddNewCenter class that allows a admin to add new center * @export * @class AddNewCenter */ export class AddNewCenter { /** * @param {object} req - The request object from the client * @param {object} res - The response object ...
const BigNumber = require('bignumber.js'); const { avaxWeb3: web3 } = require('../../../utils/web3'); const MasterChef = require('../../../abis/OliveMasterChef.json'); const fetchPrice = require('../../../utils/fetchPrice'); const pools = require('../../../data/oliveLpPools.json'); const { compound } = require('../../...
// The nn_poll function below was derived from the getevents method taken from tests/poll.c // in the main nanomsg library. #include "nanomsgx.h" #include "nn.h" #include "../src/utils/err.c" #include <errno.h> #if defined NN_HAVE_WINDOWS #include "../src/utils/win.h" #else #include <sys/select.h> #endif #defi...
import time import requests import logging log = logging.getLogger('root') class FootballData(): # TODO: Make all API calls with timeouts. def __init__(self): """ :return: """ self.server = '''http://api.football-data.org/v1''' self.apiKey = '''e5c181096e7944b2af6fbdbe91eadf3b''' self.co...
# Copyright 2012 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2012 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the...
#!/usr/bin/env python # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
import PropTypes from 'prop-types' import React, { Component } from 'react' import { trim, pick, keys, omit, find, isEmpty } from 'lodash/fp' import SettingsControl from 'components/SettingsControl' import './AccountSettingsTab.scss' import Button from 'components/Button' import Loading from 'components/Loading' const ...
# from configurations import Config from aux.common import GALogs, GeneratorInputSampler from aux.ga import GeneratorPopulation # from aux.models import ActorCache import os from tqdm import tqdm def train(config, logs): ga = GeneticAlgorithm(config, logs) ga.run() class GeneticAlgorithm: def __init__(s...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from .get_graph_query import * from .graph_query import *
from sqlalchemy import engine_from_config from sqlalchemy import pool from alembic import context # this is the Alembic Config object, which provides # access to the values within the .ini file in use. config = context.config # add your model's MetaData object here # for 'autogenerate' support # from myapp import my...
#ifndef STONE_COMPILE_LANGLISTENER_H #define STONE_COMPILE_LANGLISTENER_H #include "stone/Basic/File.h" #include "stone/Gen/CodeGenListener.h" #include "stone/Parse/SyntaxListener.h" #include "stone/Sem/TypeCheckerListener.h" #include "llvm/ADT/ArrayRef.h" namespace stone { class FrontendInstance; class FrontendInv...
from openapi_server.models.rates import Rates from openapi_server.models.rates_rates import RatesRates from gsrest.test.assertion import assertEqual import gsrest.service.rates_service as service rate = Rates( height=1, rates=RatesRates(eur=0.0, usd=0.0) ) def get_exchange_rates(test_case): result = servic...
module.exports = (router) => router .get('/users', 'UsersController@list') .get('/users/:id', 'UsersController@show') .post('/users', 'UsersController@save') .put('/users/:id', 'UsersController@update') .delete('/users/:id', 'UsersController@remove')
//# sourceMappingURL=IHubProtocol.js.map
angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "m.", "p." ], "DAY": [ "domenica", "luned\...
// An extremely minimalist syscalls.c for newlib // Based on riscv newlib libgloss/riscv/machine/syscall.h // Written by Clifford Wolf. #include <sys/stat.h> #include <unistd.h> #include <errno.h> #define UNIMPL_FUNC(_f) ".globl " #_f "\n.type " #_f ", @function\n" #_f ":\n" asm ( ".text\n" ".align 2\n" UNIMPL_FU...
'use strict'; module.exports = { up: (queryInterface, Sequelize) => { return queryInterface.bulkInsert('expense_type', [ { name: 'Advertising' }, { name: 'Auto and Travel' }, { name: 'Cleaning and Maintenance' }, { name: 'Commissions' }, { name: 'Insurance' }, { name: 'Legal a...
define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(e){var t="[_:a-zA-Z\u00c0-\uffff][-_:.a-zA-Z0-9\u00c0-\uffff]*";this.$rules={start:[{token:"st...
from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render, get_object_or_404 from django.apps import apps from django.urls import reverse from order.models import Dish, Order from menu.models import SubMenu from order.forms import * def order(request): menu_model = apps.get_m...
/** * This file removed. */
#ifndef STRING_BUILDER_H_ #define STRING_BUILDER_H_ #include <string> #include <sstream> namespace jast { // String ::= because std::string doesn't support utf8 so well // but we'll use for now just std::string using String = std::string; class StringFactory { public: static String NewString(const char *str); ...
import * as React from 'react'; import wrapIcon from '../utils/wrapIcon'; const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg", className: className }, React.crea...
const BaseClass = require("./Base"); class Category extends BaseClass {} module.exports = new Category("categories.db");
export const APP_ID = 'XXXXXXXXXXX'; // facebook app id export const VERSION = ''; // facebook api version export const BASE_URL = ''; // your server base url export const FB_BASE_URL = ''; // facebook api base url export const SOCKETIO_URL = ''; // your socketio base url
# Created by Dominic Sangster # Uncle helped (thanks) # import modules import random import time # global variables total_count = 0 gameEnd = False lost = False # choose who goes first def initialGame(): started = False # while the game is not started while not started: yes = ["y", "Y"] n...
/* * Copyright (c) 2014 - 2015, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright notice,...
"""Demo file for running the JDE tracker on custom video sequences for pedestrian tracking. This file is the entry point to running the tracker on custom video sequences. It loads images from the provided video sequence, uses the JDE tracker for inference and outputs the video with bounding boxes indicating pedestri...
import wx import menus import helpers class PanelBinds: def __init__(self, parent, panel): self.parent = parent panel.Bind(wx.EVT_RIGHT_DOWN, self.on_right_down) panel.Bind(wx.EVT_KEY_DOWN, self.on_key_down) def on_right_down(self, e): self.parent.PopupMenu(menus.MainPopupMe...
# Dataset types REGRESSION = 'regression' CLASSIFICATION = 'classification' # Splits TRAIN = 'train' VALIDATION = 'validation' TEST = 'test'
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var common_1 = require("../common/common"); var hof_1 = require("../common/hof"); var glob_1 = require("../common/glob"); var predicates_1 = require("../common/predicates"); /** * Internal representation of a UI-Router state. * * Instances ...
import argparse import glob import logging import os import subprocess import sys import time log = logging.getLogger('pyobs') class pyobsDaemon(object): def __init__(self, config_path, run_path, log_path, log_level='info', chuid=None, start_stop_daemon='start-stop-daemon'): self._config...
define(function () { 'use strict'; return [ { key: 'unique', ignore: true }, { key: 'validate.minLength', ignore: true }, { key: 'validate.maxLength', ignore: true }, { key...
import collections import copy import filecmp import fnmatch import glob import logging import os import re import shutil import urllib import tempfile import zipfile from collections import OrderedDict from functools import reduce from multiprocessing.pool import ThreadPool import itertools import polib import request...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:19:42 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/ActivityR...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2017-2018 The PIVX developers // Copyright (c) 2019 The Profitbase developers // Distributed under the MIT/X11 software license, see the accompanying // file COPY...
# 02-create-compute.py from azureml.core import Workspace from azureml.core.compute import ComputeTarget, AmlCompute from azureml.core.compute_target import ComputeTargetException ws = Workspace.from_config() # Choose a name for your CPU cluster cpu_cluster_name = "cpu-cluster" # Verify that cluster does n...
'use strict'; module.exports = { set: function (v) { this.setProperty('-webkit-transform-origin', v); }, get: function () { return this.getPropertyValue('-webkit-transform-origin'); }, enumerable: true };
/* ----------------------------------------------------------------- */ /* The Japanese TTS System "Open JTalk" */ /* developed by HTS Working Group */ /* http://open-jtalk.sourceforge.net/ */ /* -----------------------------...
"""This script finds all text references that support a given EMMAA model, obtains the text content for these references, and calculates per-document embeddings for them using SPECTER (https://github.com/allenai/specter).""" import os import sys import tqdm import pickle import logging from transformers import AutoToke...
import uasyncio as asyncio class ClientResponse: def __init__(self, reader): self.content = reader def read(self, sz=-1): return (yield from self.content.read(sz)) def aclose(self): yield from self.content.aclose() def __repr__(self): return "<ClientResponse %d %s>"...
""" This is an example automated test to help you learn Qxf2's framework Our automated test will do the following: #Open Qxf2 selenium-tutorial-main page. #Print out the entire table #Verify if a certain name is present in the table """ #The import statements import: standard Python modules,conf,credentia...
# -*- coding: utf-8 -*- from decimal import Decimal from django.db.models.fields import DecimalField class CurrencyField(DecimalField): """ A CurrencyField is simply a subclass of DecimalField with a fixed format: max_digits = 30, decimal_places=10, and defaults to 0.00 """ def __init__(self, **kw...
# This Python file uses the following encoding: utf-8 # -*- coding: utf-8 -*- from cereal import car, log # Priority class Priority: LOWEST = 0 LOW_LOWEST = 1 LOW = 2 MID = 3 HIGH = 4 HIGHEST = 5 AlertSize = log.ControlsState.AlertSize AlertStatus = log.ControlsState.AlertStatus AudibleAlert = car.CarCont...
# -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick and Sean Bell # -------------------------------------------------------- import yaml import numpy as np import numpy.random as n...
# -*- coding: utf-8 -*- { '# of International Staff': '# अन्तराष्ट्रिय स्टाफ', '# of National Staff': '# राष्ट्रिय स्टाफ', '# selected': '# छानियो', '%(app)s not installed. Ask the Server Administrator to install on Server.': '%(app)s इन्स्टल हुन सकेन । सर्भरलाई इन्स्टल गर्नको निम्ति सर्भरको एडमिनिस्ट्राटरलाई सोध्नुहोस...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("omi")); else if(typeof define === 'function' && define.amd) define(["omi"], factory); else if(typeof exports === 'object') exports["wifi-lock-outlined"] = ...
// @flow import React, { PureComponent } from "react"; import { View, StyleSheet } from "react-native"; import { Trans } from "react-i18next"; import colors, { rgba } from "../../colors"; import LText from "../LText"; import QrCodeProgressBar from "./QRCodeProgressBar"; import { softMenuBarHeight } from "../../logic/...
/* eslint react/prop-types: [1, {ignore: [set, body, templates, view, bodies, options, selected]}]*/ import React, { Component } from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import Select from 'react-select' import { ATTRACTION_INVERSE_SQUARED, ATTRACTION_INVERSE_...
export const getYearRange = () => { const startYear = new Date().getFullYear(); const stopYear = startYear + 10; let i = startYear; const yearData = []; while (i <= stopYear) { yearData.push({ value: i.toString().substr(-2), label: i.toString(), }); i++; } return yearData; }; expo...
# -*- coding: utf-8 -*- """ sphinx.make_mode ~~~~~~~~~~~~~~~~ sphinx-build -M command-line handling. This replaces the old, platform-dependent and once-generated content of Makefile / make.bat. This is in its own module so that importing it is fast. It should not import the main Sphinx m...
import json from typing import Any import pandas as pd import us import os.path from can_tools.scrapers import variables from can_tools.scrapers.util import flatten_dict from can_tools.scrapers.official.base import MicrosoftBIDashboard class SDVaccineSex(MicrosoftBIDashboard): has_location = False location_...
#!/usr/bin/env python3 import shutil from pathlib import Path from core.simple_operation import SimpleOperation from input_parser import add_simple_operation class GenPolls(SimpleOperation): def __init__(self, count: int, **kwargs): super().__init__(**kwargs) self.count = count assert se...
"""n_players players simultaneously either contribute to a public good or don't. It is only acceptable if at least l contribute.""" import itertools from ..__init__ import * from sympy import symbols def threshold_public_good(n_players, threshold): """return a Tree for a threshold public good game with n_...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE126_Buffer_Overread__wchar_t_alloca_loop_54c.c Label Definition File: CWE126_Buffer_Overread.stack.label.xml Template File: sources-sink-54c.tmpl.c */ /* * @description * CWE: 126 Buffer Over-read * BadSource: Set data pointer to a small buffer * GoodSource...
'use strict'; describe('parser', function() { beforeEach(function() { /* global getterFnCacheDefault: true */ /* global getterFnCacheExpensive: true */ // clear caches getterFnCacheDefault = createMap(); getterFnCacheExpensive = createMap(); }); describe('lexer', function() { var lex; ...
import tensorflow as tf import time from . import help from . import flow from .ops import op_create, identity from .ops import HEADER, LINE from .framework import create_framework from darkflow.dark.darknet import Darknet import json import os class TFNet(object): _TRAINER = dict({ 'rmsprop': tf.train.RMSPropOpti...
"""Test the Sqlite Wrapper with the CITY ontology.""" import os from osp.core.utils.general import iri_from_uid import uuid import unittest2 as unittest import sqlite3 import numpy as np from osp.wrappers.sqlite import SqliteSession try: from osp.core.namespaces import city except ImportError: from osp.core.o...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "CDStructures.h" #import <DVTFoundation/DVTRegExScanner.h> @interface DVTNumberScanner : DVTRegExScanner { } - (long long)tokenForString:(id)arg1 forRange:(struct _NSRange...
import { $ } from 'meteor/jquery'; import { Template } from 'meteor/templating'; import { i18n} from 'meteor/universe:i18n'; import { Meteor } from 'meteor/meteor'; import { ReactiveVar } from 'meteor/reactive-var'; import { OnlineUsersSchema } from '/imports/collections/onlineusers.schema'; import {Session} from 'met...
{ "Toggle navigation": "Näytä/piilota navigointi", "Users": "Käyttäjät", "New": "Uusi", "Edit": "Muokkaa", "My account": "Tilini", "Article": "Artikkeli", "Settings": "Asetukset", "Files": "Tiedostot", "Export": "Vienti", "Cleanup files": "Siivoa tiedostot", "Logout": "Kirjaudu ulos", "Powered b...
# -*- coding: utf-8 -*- ############################ Copyrights and license ############################ # # # Copyright 2013 AKFish <akfish@gmail.com> # # Copyright 2013 Vincent Jacques <vincent@vincent-ja...
export {default as parse} from './src/parse'; export {default as config} from './src/config'; export {default as signal} from './src/parsers/signal'; export {default as signalUpdates} from './src/parsers/signal-updates'; export {default as stream} from './src/parsers/stream'; export { codeGenerator, functionConte...
import os import numpy as np import pytest from torch import nn import torch from copy import deepcopy from continuum.metrics import Logger from continuum.metrics import get_model_size DATA_PATH = os.environ.get("CONTINUUM_DATA_PATH") # yapf: disable @pytest.fixture def numpy_data(): nb_classes = 20 nb_tasks...
import React from 'react' import { Query } from 'react-apollo' import gql from 'graphql-tag' import { ErrorMessage, Loader, NewsList } from '../components' const GET_NEWS_FFED = gql` { newsFeed { source news { title link image excerpt } } } ` export defaul...
'use strict'; $(document).ready(function() { buildchart() $(window).on('resize', function() { buildchart(); }); $('#mobile-collapse').on('click', function() { setTimeout(function() { buildchart(); }, 700); }); }); function buildchart() { $(function() { ...
import { ConfigurationReference } from '@jbrowse/core/configuration' import { getParentRenderProps } from '@jbrowse/core/util/tracks' import { BaseLinearDisplay } from '@jbrowse/plugin-linear-genome-view' import { types } from 'mobx-state-tree' function makeFilters(displayModel) { const filters = [] const { filter...
#!/usr/bin/env python3 # # Copyright 2014 Simone Campagna # # 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 ...
import React, { Component } from 'react'; import { Collapse, Navbar, NavbarToggler, Nav, NavItem, NavLink, Container, Row, Col, Jumbotron, Button, Form, } from 'reactstrap'; class App extends Component { render() { return ( <div> {this.props.children} </div> ); }...
// Deprecated. // Use the default export instead. var PhoneInput = require('./commonjs/PhoneInputNativeDefaultMetadata').default exports = module.exports = PhoneInput exports['default'] = PhoneInput
class BaseField(object): def __init__(self, key, value, validator=None): pass
import copy import logging import uuid from kolibri.core.tasks.utils import current_state_tracker from kolibri.core.tasks.utils import import_stringified_func from kolibri.core.tasks.utils import stringify_func logger = logging.getLogger(__name__) class State(object): """ the State object enumerates a Job's...
import config from 'veui/managers/config' config.defaults({ icons: { increase: 'angle-up', decrease: 'angle-down' }, ui: { size: { values: ['sm', 'lg'] } } }, 'numberinput')
const { pick, sortBy } = require("lodash") const Experiment = require("../models/experiment") const ExperimentMetrics = require("../models/experimentMetrics") const Node = require("../models/node") const NodePosition = require("../models/nodePosition") const Point = require("../models/point") const PositionData = requi...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function MdFormatBold (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42...