text
stringlengths
3
1.05M
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "/home/lixh/enb_folder/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1" * `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/lixh/enb_folder/cmake_targets/lte...
import "./stylesheets/main.css"; import "./helpers/context_menu.js"; import "./helpers/external_links.js"; import { remote } from "electron"; import jetpack from "fs-jetpack"; import { greet } from "./hello_world/hello_world"; import env from "env"; const app = remote.app; const appDir = jetpack.cwd(app.getAppP...
// // HZBannerAdOptions.h // Heyzap // // Created by Maximilian Tagher on 3/11/15. // Copyright (c) 2015 Heyzap. All rights reserved. // #import <UIKit/UIKit.h> /** * The size to use for Facebook banners */ typedef NS_ENUM(NSUInteger, HZFacebookBannerSize) { /** * A fixed size 320x50 pt banner. Corres...
/** * @file 报表列表 - view <<<<<<< HEAD * @author 赵晓强(longze_xq@163.com) ======= * @author 赵晓强(v_zhaoxiaoqiang) >>>>>>> branch 'master' of https://github.com/Baidu-ecom/bi-platform.git * @date 2014-7-17 */ define([ 'template', 'dialog', 'report/list/main-model', 'report/list/...
from __future__ import division import torch import torch.nn.functional as F pixel_coords = None def set_id_grid(depth): global pixel_coords b, h, w = depth.size() i_range = torch.arange(0, h).view(1, h, 1).expand(1,h,w).type_as(depth) # [1, H, W] j_range = torch.arange(0, w).view(1, 1, w).expand(1,...
"""A library to store common functions and protocol definitions""" from __future__ import absolute_import from __future__ import print_function from __future__ import with_statement import inspect from hashlib import (sha256, sha384) from itertools import chain from logging import (getLogger, DEBUG) from ...
from __future__ import unicode_literals import base64 import sys import time from datetime import datetime from hashlib import sha1 from django.conf import settings from django.contrib.auth.models import User from django.utils.encoding import force_bytes from djblets.siteconfig.models import SiteConfiguration from r...
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. Object.defineProperty(exports, "__esModule", { value: true }); const ApiItemContainerMixin_1 = require("../mixins/ApiItemContainerMixin"); class Declarat...
/** * An module for defining and initializing the Lot model. * Exporting the Lot model definition, schema and model instance. * @module {Object} lot:model * @property {Object} definition - The [definition object]{@link lot:model~LotDefinition} * @property {MongooseSchema} schema - The [mongoose model schema]{@link...
""" A manager wants to find the relationship between the number of hours that a plant is operational in a week and weekly production. Production Hours(x) : 34, 35, 39, 42, 43, 47 Production volume(y): 102, 109, 137, 148, 150, 158 """ from scipy.stats import linregress x = [34, 35, 39, 42, 43, 47] y = [102, 109, 137...
'use strict'; const path = require('path'); const castArray = require('lodash/castArray'); const reactDocs = require('react-docgen'); const removeDoclets = require('./utils/removeDoclets'); const utils = require('./utils/js'); const requireIt = utils.requireIt; const toCode = utils.toCode; /* eslint-disable no-conso...
import React from 'react'; import './App.css'; import logo from './assets/logo.svg'; import Routes from './routes' function App(){ return ( <div className="container"> <img src={logo} alt="AirCnC"/> <div className="content"> <Routes /> </div> </div> ); } export default App;
import React from "react"; import Components from "./components.js"; import SbEditable from "storyblok-react"; const Grid = props => ( <SbEditable content={props.blok}> <div className="t-container"> <div className="t-row"> {props.blok.columns.map(blok => React.createElement(Components(blo...
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles parcelRequire = (function (modules, cache, entry, globalName)...
# Generated by Django 2.2.6 on 2019-11-01 16:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0003_comment'), ] operations = [ migrations.DeleteModel( name='Comment', ), ]
import Ember from 'ember'; export default Ember.Controller.extend({ isNapping: Ember.computed('state', function() { return this.get('state') === 'napping'; }), isSleeping: Ember.computed('state', function() { return this.get('state') === 'sleeping'; }), actions: { didStartNapping: function() { ...
// @flow import React, { useState } from "react"; import { css } from "emotion"; import styled from "@emotion/styled"; import { set } from "dot-prop-immutable"; import { get } from "lodash"; import { useHandlers } from "@webiny/app/hooks/useHandlers"; import { connect } from "@webiny/app-page-builder/editor/redux"; imp...
import time import datetime import json import redis from .sensor import Sensor from nanpy import (ArduinoApi, SerialManager) import sys sys.path.append('..') import variables default_connection = SerialManager(device='/dev/ttyUSB0') #r = redis.Redis(host='127.0.0.1', port=6379) class LightSensor(Sensor): def __in...
from prompt_toolkit import prompt from yfs.lookup import fuzzy_search from time import time from pprint import pprint from pydantic import BaseModel as Base from yfs.exchanges import ExchangeTypes ExchangeTypes.show() while True: print("Use 'exit' to end.") print("Type a symbol or company name.") symbol...
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'fuzzyquiz.settings') try: from django.core.management import execute_from_command_line except Im...
"""Support for Ambient Weather Station Service.""" from __future__ import annotations from typing import Any from aioambient import Client from aioambient.errors import WebsocketError from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( ATTR_LOCATION, ATTR_NAME, CONF_API...
# # patent_lim: Linguistically informed masking for representation learning in the patent domain # # Copyright (c) Siemens AG, 2020 # # SPDX-License-Identifier: Apache-2.0 # import pandas as pd import numpy as np import spacy import os import sys from ling_ana.noun_chunks_patent import get_noun_chunk_column from ling_...
#!/usr/bin/python # -*- coding: utf-8 -*- """ DepEdit - A simple configurable tool for manipulating dependency trees Input: CoNLL10 or CoNLLU (10 columns, tab-delimited, blank line between sentences, comments with pound sign #) Author: Amir Zeldes """ from __future__ import print_function import argparse import re ...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
""" Script to run a real-time multi-finger tracking along with the image alignment and 3D force estimation model from a video Navid Fallahinia - 02/27/2021 BioRobotics Lab usage: tracking_and_estimation_from_video.py [-v VIDEO_DIR] [-t TRACKER] [-e ESTIMATION_MDL] [-d DETECTION_MDL] """ import os import...
/* ********************************************************************************************************* * uC/OS-II * The Real-Time Kernel * * Copyright 1992-2020 Silicon Laboratories Inc. www.silabs.com * * ...
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Rhythmic feature extraction''' import numpy as np from .. import util from ..core.audio import autocorrelate from ..util.exceptions import ParameterError from ..filters import get_window __all__ = ['tempogram'] # -- Rhythmic features -- # def tempogram(y=None, sr=...
import logging from ... import io, style, pipeline from ...vendor.Qt import QtCore from ...vendor import qtawesome from ..models import TreeModel, Item from .. import lib log = logging.getLogger(__name__) # Find lookup table for mapping login name to real name config = pipeline.registered_config() or pipeline.fi...
import React from 'react'; import PropTypes from 'prop-types'; import css from './listItem.css'; class ListItem extends React.Component { render() { return ( <li {...this.props} className="list-group-item"> {this.props.showDeletion && <a className="badge badge-danger" onClick=...
""" Manage the creation of VPC infrastructure and the peering relationships between them. In addition to creating the VPCs, it will also import existing ones based on the defined CIDR block. Some of these environments were previously created with SaltStack. In that code we defaulted to the first network being at `x....
import Vue from 'vue' import App from './App.vue' import router from './router' import store from './store/index' import ElementUI from 'element-ui'; import md5 from "js-md5" import 'element-ui/lib/theme-chalk/index.css'; // 默认主题 Vue.config.productionTip = false Vue.use(ElementUI, { size: 'small' }); import axio...
import Camera import WebStreamer import Main import MjpegStreamer
#!/usr/bin/env python3 ''' This script simply executes a solver, and ensures the expected number of iterations are performed. An exception is thrown otherwise. ''' import underworld as uw from underworld import function as fn res=32 mesh = uw.mesh.FeMesh_Cartesian("Q1/DQ0", (res,res), (0.,0.), (1.,1.)) velocityFiel...
import os from jobControl import jobControl from pyspark.sql import SparkSession from pyspark.sql import functions as f from pyspark.sql.types import ( DecimalType, IntegerType, ShortType, StringType, TimestampType, ) from utils import arg_utils, dataframe_utils job_args = arg_utils.get_job_args()...
from models.stock_model import StockModel class StockService: stocks_list = {} @classmethod def stock_operations(cls, stock_symbol, stock_type, last_dividend, fixed_dividend=0, par_value=0): stock_model_obj = StockModel() stock_model_obj.set_stock_symbol(stock_symbol) stock_model_...
!function(e){const a=e.es=e.es||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 de %1","Align center":"Centrar","Align left":"Alinear a la izquierda","Align right":"Alinear a la derecha",Aquamarine:"Aguamarina",Big:"Grande",Black:"Negro","Block quote":"Entrecomillado",Blue:"Azul","Blue marker":"Marcador ...
# ---------------------------------------------------------------------- # activator shard # ---------------------------------------------------------------------- # Copyright (C) 2007-2019 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Third-party ...
// // 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" #import "IQQDBOperationBase.h" @class NSString; @interface QQTroopMemTableOperation : NSObject <IQQDBOperationBase> { } - (void)CreateTroopMemIndex:(id)arg1...
#!/usr/bin/python """ Module to test RO metadata handling class """ __author__ = "Graham Klyne (GK@ACM.ORG)" __copyright__ = "Copyright 2011-2013, University of Oxford" __license__ = "MIT (http://opensource.org/licenses/MIT)" import os, os.path import sys import re import shutil import unittest import log...
var trig__poly_8h = [ [ "TrigPoly", "classdrake_1_1_trig_poly.html", "classdrake_1_1_trig_poly" ], [ "SinCosVars", "structdrake_1_1_trig_poly_1_1_sin_cos_vars.html", "structdrake_1_1_trig_poly_1_1_sin_cos_vars" ], [ "Product", "structdrake_1_1_trig_poly_1_1_product.html", "structdrake_1_1_trig_poly_1_1_prod...
/** * (C) Copyright 2017 Intel Corporation. * * 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...
// Copyright (c) 2018 PaddlePaddle Authors. 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...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2020 Dremio # # 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 ...
def add_implementation_envs(env, _app): """Modify environments to contain all required for implementation.""" defaults = { "OPENPYPE_LOG_NO_COLORS": "True", "WEBSOCKET_URL": "ws://localhost:8097/ws/" } for key, value in defaults.items(): if not env.get(key): env[key] ...
# -*- coding: utf-8 -*- from __future__ import division, print_function, absolute_import import os import tensorflow as tf import math from dataloader.pretrained_weights.pretrain_zoo import PretrainModelZoo """ RetinaNet-H + gwd fix bug + sqrt + tau=3 FLOPs: 484911755; Trainable params: 33002916 This is your resu...
/* eslint-disable prettier/prettier */ import React, { memo, useEffect } from 'react'; import PropTypes from 'prop-types'; import { makeStyles, TextField, Grid, FormControlLabel, Radio, Divider, Button, Checkbox, } from '@material-ui/core'; import { compose } from 'redux'; import { connect } from 'react...
// // Created by giovanni on 15/09/16. // #ifndef PROGETTO_GUIDOWNLOADER_H #define PROGETTO_GUIDOWNLOADER_H #include "Observer.h" #include "Downloader.h" #include "Window.h" class GuiDownloader : public Observer { public: GuiDownloader(Downloader* s, Window* w) : subject(s), window(w) { subject->subsc...
########################################### # Suppress matplotlib user warnings # Necessary for newer version of matplotlib import warnings warnings.filterwarnings("ignore", category = UserWarning, module = "matplotlib") ########################################### import os import time import random import importlib i...
// // AddBankInfomationViewController.h // YuWaShop // // Created by double on 17/3/23. // Copyright © 2017年 Shanghai DuRui Information Technology Company. All rights reserved. // #import <UIKit/UIKit.h> @interface AddBankInfomationViewController : UIViewController //@property(nonatomic,assign)BOOL isPubAccount; ...
export const c_login__container_xl_GridTemplateColumns = { "name": "--pf-c-login__container--xl--GridTemplateColumns", "value": "34rem minmax(auto, 34rem)", "var": "var(--pf-c-login__container--xl--GridTemplateColumns)" }; export default c_login__container_xl_GridTemplateColumns;
import sys import termios import tty from lib.utils import Colors # Menu was taken from project cli_utility. # Apache License 2.0 (c) 2019 bluewingtan # (https://github.com/bluewingtan/cli_utility) class Menu(object): def __init__(self, help_view: bool = True): self.key_exit = ["\x03", "q"] self...
import contextlib import warnings import json import logging import os import pickle import typing from datetime import datetime, timezone from typing import Iterator, Optional, Text, Iterable, Union, Dict, Callable import itertools from boto3.dynamodb.conditions import Key # noinspection PyPep8Naming from time impor...
pkgname = "libavif" pkgver = "0.10.0" pkgrel = 0 build_style = "cmake" configure_args = [ "-DAVIF_BUILD_APPS=ON", "-DAVIF_BUILD_GDK_PIXBUF=ON", "-DAVIF_CODEC_DAV1D=ON", "-DAVIF_CODEC_AOM=ON", "-DAVIF_BUILD_TESTS=ON", "-DAVIF_ENABLE_WERROR=OFF", ] make_check_target = "avif_test_all" hostmakedepends = ["cmake...
module.exports = (ast, transformMap = {}, filePath, deleteComment) => { if (ast.nodeType) { handleNode(ast) } else if (ast.content && ast.content.children && ast.content.children.length > 0) { traversChildnode(ast.content.children); } if (Array.isArray(ast)) { ast.forEach(a => { ...
exports.private = () =>{ return`Fitur hanya bisa di gunakan di private chat` } exports.wait = () => { return `⏳ Mohon tunggu sebentar~` } exports.ok = () => { return `✅ Done. Ok desu~` } exports.err = () => { return `⚠️ Fitur Sedang Error` } exports.erorLink = () => { return `⚠️ Link ...
import React, { Component } from 'react'; import Article from './components/Article' import Writer from './components/Writer' import Recommend from './components/Recommend' import { connect } from 'react-redux' import { actionCreator } from './store'; import { withRouter } from 'react-router-dom' import { DetailWra...
module.exports = { gitRepo: function (project) { return project.packageInfo.name; }, foo: function(value) { console.log('- foo: ', value); return 'foo-' + value; }, bar: function(value) { return 'bar-' + value; } }
/* eslint-disable */ /** * PAIR PROGRAMMING BY: * OTIM KEVIN * MIKE REMBO */ const expect = require('chai').expect; const factorial = require('../index.js'); const fib = require('../fibonacci'); describe('FactorialTest', function () { it('Should return the factorial of the given number', function () { ...
import styled from "styled-components" import { Container } from "../../global" export const Nav = styled.nav` padding: ${(props) => (props.scrolled ? `16px 0` : `24px 0`)}; position: fixed; width: 100%; top: 0; z-index: 1000; background: ${(props) => (props.scrolled ? `white` : null)}; transition: 0.4s...
class RDPAccountant: def __init__(self): self.steps = [] def step(self, noise_multiplier, sample_rate): self.steps.append((noise_multiplier, sample_rate)) def get_privacy_spent(self, delta, alphas): # TODO: well you know return 0, 1
# -*- coding:utf-8 -*- import unittest import sys sys.path.append('../FBRank') from FBRank.object import League from FBRank.parse.League import get_news_from_index from FBRank.utils.exceptions import IllegalNameException # def test_error(): # raise ValueError("dd") class TestLeague(unittest.TestCase): def ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(...
# exported from PySB model 'model' from pysb import Model, Monomer, Parameter, Expression, Compartment, Rule, Observable, Initial, MatchOnce, Annotation, ANY, WILD Model() Monomer('Ligand', ['Receptor']) Monomer('ParpU', ['C3A']) Monomer('C8A', ['BidU']) Monomer('BaxM', ['BidM', 'BaxA']) Monomer('Apop', ['C3pro', 'X...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var intex_1 = require("./intex"); var assert_1 = require("assert"); describe('Fxn', function () { describe('#summation()', function () { assert_1.strict.equal(intex_1.solution('world'), 'dlrow'); assert_1.strict.equal(intex...
var through = require("through2"), gutil = require("gulp-util"), parseCss = require('./lib/parseCss'); var ext = gutil.replaceExtension; module.exports = function () { "use strict"; function reactNativeCss(file, enc, callback) { /*jshint validthis:true*/ // Do nothing if no contents if (file.isNull()) { ...
import React from 'react'; import FontAwesomeIcon from '@fortawesome/react-fontawesome'; import { numericColumn, numericInput, totalViewer } from './Columns'; import TooltipWhenDisabled from '../../app/components/TooltipWhenDisabled'; class ScheduleSummaryDiesel { constructor (readOnly = false) { return [ ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-37e91924"],{"08bf":function(e,t,i){},"39a5":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("a-modal",{attrs:{title:e.title,width:800,visible:e.visible,confirmLoading:e.confirmLoading,okButtonPr...
//index.js //获取应用实例 import config from '../../utils/config'; import util from "../../utils/index"; const app = getApp() Page({ data: { hiddenLoading:false, hasMore:true, page: 1, pageSize: 4, days: 3, articleList:[] }, onLoad () { this.requestArticle(); }, requestArticle() { ...
# coding=utf-8 # # This file is based on: # https://raw.githubusercontent.com/huggingface/transformers/master/transformers/optimization.py # add initializer methods # # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); #...
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{509:function(t,e,o){"use strict";o.r(e);var a=o(2),p=Object(a.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("div",{staticClass:"custom-block tip"},[o("p",[t._v('我们知道在通...
import commentService from './meetingattendanceService' export default commentService;
# -*- coding: utf-8 -*- # Copyright © 2017 Apple Inc. All rights reserved. # # Use of this source code is governed by a BSD-3-clause license that can # be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause ##\internal """@package turicreate.toolkits This module defines the (internal) util...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
tinyMCE.addI18n('si.simple',{ bold_desc:"Bold (Ctrl+B)", italic_desc:"Italic (Ctrl+I)", underline_desc:"Underline (Ctrl+U)", striketrough_desc:"Strikethrough", bullist_desc:"\u0D85\u0D9A\u0DCA\u200D\u0DBB\u0DB8\u0DCF\u0DB1\u0DD4\u0D9A\u0DD6\u0DBD \u0DBD\u0DD0\u0DBA\u0DD2\u0DC3\u0DCA\u0DAD\u0DD4\u0DC0", numlist_de...
# -*- coding: utf-8 -*- # Parser for OpenSSH authorized_keys files # # Features: # - supports OpenSSH prefixed options # - supports comments with spaces # - recognizes all SSHv2 key types # Bugs: # - doesn't attempt to parse SSHv1 keys # # Test case: # ssh-lulz="echo \"Here's ssh-rsa for you\"" future-algo AAAAC2...
import itertools import pytest from ... import Image, ImageCollection from .. import where @pytest.mark.parametrize("a", [Image.from_id("foo"), ImageCollection.from_id("bar")]) @pytest.mark.parametrize("b", [Image.from_id("bar"), ImageCollection.from_id("foo")]) def test_where_imagecollection(a, b): col = ImageC...
import { i18n, noop } from '#/common'; import ua from '#/common/ua'; import { INJECTABLE_TAB_URL_RE } from '#/common/consts'; import { forEachTab } from './message'; import { getOption, hookOptions } from './options'; import { testBlacklist } from './tester'; // Firefox Android does not support such APIs, use noop co...
import tkinter from tkinter import * import numpy as np import matplotlib.pyplot as plt import tkinter.font as tkFont from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg import time import matplotlib.animation as animation import math ##Begin Default Values aSliderDefault = 1 bSliderDefault = .5 sliderPr...
import React from 'react'; import { Layout } from 'antd'; const { Header } = Layout; const MyHeader = () => { return ( <Header className="header"> Hello World! </Header> ) } export default MyHeader;
from django.test import TestCase from drf_jsonapi.relationships import RelationshipHandler from .models import Node from .serializers import NodeSerializer from .relationships import NodeParentHandler, NodeChildrenHandler, NodeLinksToHandler class TestHandler(RelationshipHandler): many = False serializer_cl...
import os import string import math import re import subprocess def getProperties(filename): propFile= file( filename, "rU" ) propDict= dict() for propLine in propFile: propDef= propLine.strip() if len(propDef) == 0: continue if propDef[0] in ( '!', '#' ): co...
import React from 'react'; import { render, mount } from 'enzyme'; import { patchRandom, unpatchRandom } from '../../../test/patch_random'; import { requiredProps } from '../../../test/required_props'; import { EuiSeriesChart } from '../series_chart'; import { EuiHorizontalBarSeries } from './horizontal_bar_series'; i...
import { h } from 'omi'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(h("path", { d: "M5.644 7.05L7.05 5.645l2.123 2.122-1.408 1.407zM11 1h2v6h-2zm5.242 13.834l2.12 2.12-1.406 1.408-2.12-2.12zM14.834 7.76l2.12-2.123 1.41 1.407-2.123 2.122zm-5.668 8.482l-2.122 2.12-1.407-1.406 2.122-...
import sys from rec_utils import * from sklearn.discriminant_analysis import LinearDiscriminantAnalysis from sklearn import svm from sklearn.preprocessing import StandardScaler from sklearn.experimental import enable_iterative_imputer from sklearn.impute import IterativeImputer def main(): args_version = sys.argv...
/** * Copyright (C) 2011, 2012, 2013 CentecNetworks, 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 * ...
# coding: utf-8 from __future__ import unicode_literals import unittest import os os.environ['DJANGO_SETTINGS_MODULE'] = 'test_project.settings' from django import forms from django.core.exceptions import ValidationError from pyuploadcare import conf from pyuploadcare.dj import forms as uc_forms class FormFieldsAtt...
module.exports = { isCommand: (message) => message.content.startsWith(process.env.COMMAND_PREFIX), };
/* * bootstrap-table - v1.7.0 - 2015-04-01 * https://github.com/wenzhixin/bootstrap-table * Copyright (c) 2015 zhixin wen * Licensed MIT License */ !function(a){"use strict";var b=!1,c=function(a){var b=arguments,c=!0,d=1;return a=a.replace(/%s/g,function(){var a=b[d++];return"undefined"==typeof a?(c=!1,""):a}),c?a:""}...
#pragma once #include "Raybyte/Core/Events/Event.h" #include "Raybyte/Utils/UUID.h" #include "Raybyte/Graphics/Renderer.h" #include "Raybyte/Graphics/RenderPipeline.h" #include "Raybyte/Graphics/PreethamSky.h" #include "Raybyte/Graphics/ShadowMapping.h" // Editor #include "Raybyte/Editor/Camera/EditorCamera.h" #inc...
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Changing field 'PayPalPDT.txn_id' db.alter_column('paypal_pdt', 'txn_id', self.gf('django.db.models.field...
import React, { PropTypes, Component } from 'react' import {formatBytes} from '../actions' import SBItemFiles from './SBItemFiles' import '../../css/general.css' export default class SBItems extends Component { render () { return ( <div> {this.props.sbitems.map((item, i) => <section key={...
/***** License -------------- Copyright © 2017 Bill & Melinda Gates Foundation The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the Licens...
#pragma once #include "Constants.h" #include <vector> namespace dsp { class MidiMessage { public: MidiMessage(uint8_t byte0); MidiMessage(uint8_t byte0, uint8_t byte1); MidiMessage(uint8_t byte0, uint8_t byte1, uint8_t byte2); MidiMessage(const uint8_t *data, size_t size); bool isNote() const...
/* * This is a generated file, containing GUI data. Do not edit it manually! */ #include <rbTypes.h> namespace GuiData { namespace Arial20 { extern const u8 data[]; } }
# encoding: utf-8 from functools import wraps import inspect import ckan.model import ckan.plugins as plugins from ckan.logic import get_validator def validator_args(fn): u'''collect validator names from argument names and pass them to wrapped function''' args = inspect.getargspec(fn).args @wraps(...
from plotly.basedatatypes import BaseTraceHierarchyType import copy class Line(BaseTraceHierarchyType): # autocolorscale # -------------- @property def autocolorscale(self): """ Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette dete...
"""ToupCam Camera API. Adjustments have been made to fit this project, but the original source is referenced below""" # =============================================================================== # Copyright 2015 Jake Ross # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
from .flops_and_params import calc_model_flops_params
import React from 'react'; import { mount } from 'enzyme'; import toJson from 'enzyme-to-json'; import App from '../App'; it('should render <App> correctly', () => { const wrapper = mount(<App />); expect(toJson(wrapper)).toMatchSnapshot(); });
/* Modified RJudd June 27, 1998 */ /* SPAWARSYSCEN D881 */ /********************************************************************** // For TASP VSIPL Documentation and Code neither the United States / // Government, the United States Navy, nor any of their employees, / // makes any warranty, express or implied, in...