text
stringlengths
3
1.05M
# -*- coding: utf-8 -*- """ Created on Sat Jan 16 18:16:51 2021 Copyright 2021 Cyriaque Perier 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 Unles...
# This file contains information on the English works to consider. It is used # by parseEnglishTexts.py but is too large to reasonably include in that file. authorWorks = [{ "authorName": "Abraham_Lincoln", "works": [ {"textName": "Lincoln_Letters", "genre": 0, "books": ["Abraham Lincoln___Lincoln Letters.txt"]}...
/*********************************************************************** * b5500emulator ************************************************************************ * Copyright (c) 2018, Reinhard Meyer, DL5UY * Licensed under the MIT License, * see LICENSE ************************************************************...
const fs = require("fs"); const inquirer = require("inquirer"); const generateMarkdown = require("./utils/generateMarkdown.js"); // array of questions for user const questions = [ "Enter your project title.", "Enter a project description.", "Enter installation information.", "Enter usage information.",...
# -*- coding: utf-8 -*- # Gitless - a version control system built on top of Git # Licensed under MIT """gl remote - List, create, edit or delete remotes.""" from . import pprint def parser(subparsers, _): """Adds the remote parser to the given subparsers object.""" desc = 'list, create, edit or delete remotes...
class Neighborhood: """This class contains Neighborhood information""" def __init__(self, areaNumber, areaName, percentHousingCrowded, percentHousingBelowPovertyLine, percentUnEmployed, percentWithoutDiploma, perCapitaIncome , hardshipIndex): self.areaNumber = areaNumber self.areaName = areaName...
# Given an integer array nums sorted in ascending order, and an integer target. # Suppose that nums is rotated at some pivot unknown to you beforehand (i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]). # You should search for target in nums and if you found return its index, otherwise return -1. # Example 1: # ...
import React, { Component } from "react"; import Project from "../Project"; import { projects } from './../../data/projects'; import styles from "./index.module.scss"; class Projects extends Component { state = { projects: [] }; componentDidMount() { this.setState({ projects: projects }); ...
""" Copyright 2018 Copenhagen Center for Health Technology (CACHET) at the Technical University of Denmark (DTU). 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 wit...
import airpy from airpy import utils import shutil def airremove(name): for doc in name: remove(doc) def remove(name): if utils.is_doc_installed(name): directory = airpy.data_directory + '/' + name shutil.rmtree(directory) return True else: return False
#!/usr/bin/env python import pytest from igraph import Graph from node_finder import most_detrimental, damage def influence(path, alpha=1): """ given a sequence of edge types (ie up, down), return the influence of the path consisting of those edges The influence is defined as |E| + alpha ...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/VectorKit.framework/Versions/A/VectorKit */ @interface VKNavPolygonTileSource : VKPolygonTileSource - (long long)defaultMaximumZoomLevel; - (long long)defaultMinimumZoomLevel; - (unsigned char)mapLayerForZoomLevelRange; - (BOOL)minimumZoomLev...
# -*- coding: utf-8 -*- import re from django.contrib.syndication import views from django.utils.feedgenerator import Atom1Feed from yyfeed.models import APP_NAME, Feed, FeedItem # noinspection PyMethodMayBeStatic class RssFeed(views.Feed): # noinspection PyMethodOverriding def get_object(self, request, nam...
/****************************************************************************** * Copyright 2022 ETC 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/l...
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
""" This module demonstrates various patterns for ITERATING through SEQUENCES, including: -- Beginning to end -- Other ranges (e.g., backwards and every-3rd-item) -- The COUNT/SUM/etc pattern -- The FIND pattern (via LINEAR SEARCH) -- The MAX/MIN pattern -- Looking two places in the sequence at once -- Lo...
/** * \file * * \brief Virtual file system management. * * Copyright (c) 2014-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are ...
/*========================================================================= Program: Visualization Toolkit Module: vtkTulipReader.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is ...
import unittest2 as unittest import json from app import app, db from app.models import User, BetaCode import base64 import time class Test_Integration_User_Authentication(unittest.TestCase): """ All the test cases around the user manipulation """ ENTRYPOINT_AUTH = app.config['BASE_URL']+'/user/auth' AUTH...
# -*- coding: utf-8 -*- from __future__ import absolute_import from ._utils import ( lib, get_string, get_string_array, get_float64_array, prepare_float64_array, ) from ._utils import codec def New(Name): if type(Name) is not bytes: Name = Name.encode(codec) return lib.Lines_New(N...
s=input();a=[];f=False for _ in range(int(input())): a.append(input()) for i in range(26): t=list(s);l="" for x in t: z=ord(x)+1 if chr(z)>'z': z-=26 l+=chr(z) for k in a: if k in l: print(l);f=True;break if f: break s=l
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdatePoolResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
const { Model, DataTypes } = require('sequelize'); class Usuario extends Model { static init(sequelize) { super.init({ nome: DataTypes.STRING, usuario: DataTypes.STRING, senha: DataTypes.STRING, nascimento: DataTypes.DATE, email: DataTypes.STRING, telefone: DataTypes.STRING, ...
# coding: utf-8 ### # @file cluster.py # @author Sébastien Rouault <sebastien.rouault@epfl.ch> # Georgios Damaskinos <georgios.damaskinos@epfl.ch> # # @section LICENSE # # Copyright © 2018-2019 Sébastien ROUAULT. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of t...
import os import warnings import sys import pandas as pd import numpy as np from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score from catboost import CatBoostRegressor from get_data import read_params import argparse import joblib import json def evaluate_model(actual, predicted): MSE = n...
export default class Themes extends ui.view.ThemesUI { constructor() { super(); this.btnClose.on(Laya.Event.CLICK, this, ()=>this.close()); this.btnOK.on(Laya.Event.CLICK, this, async ()=>{ const selected = this.selected; if(!selected == $ui.theme) return this.close()...
module.exports = { extends: [ './vue', 'plugin:vuetify/base', ], plugins: [ 'vuetify', ], rules: { '@typescript-eslint/ban-ts-ignore': 'off', }, };
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/ec2/EC2_EXPORTS.h> #include <aws/ec2/model/ResponseMetadata.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Ut...
from __future__ import absolute_import, division, print_function from libtbx import adopt_init_args, group_args from scitbx.array_family import flex from scitbx.matrix import rotate_point_around_axis import time, sys from cctbx import maptbx import mmtbx.utils from mmtbx.rotamer.rotamer_eval import RotamerEval import i...
'use strict'; import * as utils from '../utils.js'; describe('test pool2d', function() { const nn = navigator.ml.getNeuralNetworkContext(); it('maxPool2d', async function() { const builder = nn.createModelBuilder(); const x = builder.input('x', {type: 'float32', dimensions: [1, 1, 4, 4]}); const windo...
import pandas as pd import Numpy as np print('Hello Capstone Project Course!')
from typing import Any, Dict, List, Text import regex import re from rasa.nlu.tokenizers.tokenizer import Token, Tokenizer from rasa.nlu.training_data import Message class WhitespaceTokenizer(Tokenizer): defaults = { # Flag to check whether to split intents "intent_tokenization_flag": False, ...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Bucknell University * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program ...
import React, { Component } from "react"; import PropTypes from "prop-types"; import Modal from './Modal'; import CommentList from './CommentList'; import CommentAdd from './CommentAdd'; import { Comments } from "../api/posts"; import { withTracker } from "meteor/react-meteor-data"; import {Route, NavLink, HashRouter...
#! /usr/bin/env python3 import numpy as np from scipy.io import wavfile import fft_wrapper as fft import h5py import os def save_prep(key_data, n_cpu, save_type): """ this fuction preps the data for saving to a wav file This is only needed in case the data is save_type = 1 inputs: key_data => data from the hdf...
import React from 'react' import { StyleSheet, View } from 'react-native' import Quiz from './components/Quiz' export default class App extends React.Component { render () { return( <View style={styles.container}> <Quiz/> </View> ) } } const styles = StyleSheet.create({ container: { fl...
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Sep 1 14:17:10 2017 @author: dataquanty """ import pandas as pd, numpy as np import tensorflow as tf from sklearn.utils import shuffle from sklearn.preprocessing import StandardScaler import matplotlib.pyplot as plt def SMAPE(y_true, y_pred): ...
from __future__ import annotations from spark_auto_mapper_fhir.fhir_types.uri import FhirUri from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType # This file is auto-generated by generate_classes so do not edi...
# coding=utf-8 # Copyright 2018 The TF-Agents 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...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var CommonFunctions_1 = require("../../CommonFunctions"); var Errors_1 = require("../../../Errors"); var HTTPDigestAuthentication = (function () { function HTTPDigestAuthentication(userManager, realm, nonceSize) { if (realm === voi...
import paho.mqtt.client as mqtt # The callback for when the client receives a CONNACK response from the server. def on_connect(client, userdata, flags, rc): print("Connected with result code: "+str(rc)) client.subscribe("$SYS/#") # The callback for when a PUBLISH message is received from the server. def on_me...
import Cartesian2 from "./Cartesian2.js"; import Cartesian3 from "./Cartesian3.js"; import Cartesian4 from "./Cartesian4.js"; import Cartographic from "./Cartographic.js"; import CornerType from "./CornerType.js"; import EllipsoidTangentPlane from "./EllipsoidTangentPlane.js"; import CesiumMath from "./Math.js"; import...
const { Router } = require("express"); const router = Router(); router.get("/h", (req, res) => { return res.send("wow"); }); module.exports = router;
/* CgToml * * Copyright © 2019 Collabora Ltd. * Copyright © 2021 Julian Bouzas * * SPDX-License-Identifier: MIT */ #ifndef __CG_TOML_PRIVATE_H__ #define __CG_TOML_PRIVATE_H__ #include <glib-object.h> G_BEGIN_DECLS /* Forward declaration */ struct _CgTomlArray; typedef struct _CgTomlArray CgTomlArray; struct _...
from abc import ABCMeta from abc import abstractmethod from six import add_metaclass @add_metaclass(ABCMeta) class AbstractConnection(object): """ An abstract connection to the SpiNNaker board over some medium """ @abstractmethod def is_connected(self): """ Determines if the medium is connect...
import discord from discord.ext import commands import valorantstats import secretvars ss = secretvars.secretvars() TOKEN = OTA4NjIyNTAxNTk1MjAxNTc2.YY4apQ.9rjPG1KUbJ4bxtTw9-jQwBUT49s GUILD = 765932359236452382 client = discord.Client() bot = commands.Bot(command_prefix='!') @bot.event async def on_ready(): game ...
export default { bind (el, binding, vnode) { function documentHandler (e) { if (el.contains(e.target)) { return false; } if (binding.expression) { binding.value(e); } } el.__vueClickOutside__ = documentHandler; ...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os from PIL import Image, ImageEnhance def crop(image, WIDTH): original_width = image.size[0] original_height = image.size[1] return image.resize((int(WIDTH), int(original_height / original_width * WIDTH)), I...
#!/usr/bin/env python """ Test for emptynet.py """ import unittest import pexpect class testEmptyNet( unittest.TestCase ): prompt = 'mininet>' def testEmptyNet( self ): "Run simple CLI tests: pingall (verify 0% drop) and iperf (sanity)" p = pexpect.spawn( 'python -m mininet.examples.emptyne...
from .utils import STRING_TYPE ###{standalone class LarkError(Exception): pass class GrammarError(LarkError): pass class ParseError(LarkError): pass class LexError(LarkError): pass class UnexpectedEOF(ParseError): def __init__(self, expected): self.expected = expected ...
import os, re, sys from numpy import get_include from setuptools import setup, Extension setup(name = "packtree", version = "1.0.1", author = "Patricio Cubillos", author_email = "patricio.cubillos@oeaw.ac.at", url = "https://github.com/pcubillos/packtree", pack...
""" Tests `record.util` package """ from datetime import datetime from sap.cf_logging.defaults import UNIX_EPOCH from sap.cf_logging.record import util def test_parse_int_default(): """ test util.parse_int will return default for invalid input""" assert util.parse_int('1a23', 3) == 3 assert util.parse_in...
#ifndef GyverTimer0_h #define GyverTimer0_h #include <Arduino.h> /* GyverTimer012 версия 1.0 от 03.03.2019 Лёгкая библиотека для управления всеми тремя таймерами ATmega328 Позволяет настраивать время прерывания по таймеру, запускать и останавлвать таймер === Timer0 === - При использовании не работает ШИМ на выв...
/*eslint-disable*/ import React from "react"; // reactstrap components import {Button, CardHeader, CardTitle, Container, Nav, NavItem, NavLink} from "reactstrap"; import {resumeData} from "../../resume-data"; // core components function DefaultFooter() { return ( <> <footer className="footer footer-defau...
import sys from pathlib import Path from conan_app_launcher.ui.common.icon import extract_icon def test_extract_icon_from_exe(tmp_path, qtbot): """ Tests, that an icon is extracted from different file types """ # executable icon = extract_icon(Path(sys.executable)) assert not ic...
# 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 conditions and the ...
# Copyright (c) 2020 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 by appli...
from .dagnn_conv import DAGNNConv from .mixhop_conv import MixHopConv from .ala_gnn import GatedLayer, GatedAttnLayer from .lgconv import LGConv, EGConv, hLGConv from .median_conv import MedianConv from .robust_conv import RobustConv
# Copyright (c) 2017 Minqi Pan <pmq2001@gmail.com> # # This file is part of libautoupdate, distributed under the MIT License # For full terms see the included LICENSE file { 'targets': [ { 'target_name': 'libautoupdate', 'type': 'static_library', 'sources': [ 'include/autoupdate.h', ...
/* * Para crear programas y cambiar el programa activo * Avisa a kernel que se va a definir un espacio en pantalla (ventana) */ #ifndef _PROGRAMS_LIB_H_ #define _PROGRAMS_LIB_H_ #include <stdint.h> int create_program(int id, int Xi, int Xf, int Yi, int Yf,uint64_t ptr); int change_program(int id); #endif
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).ethers={})}(this,(function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefin...
#!/usr/bin/env python3 # Copyright (c) 2017 The Syndicate Cash developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Check RPC argument consistency.""" from collections import defaultdict import os import re import sys # ...
/* https://www.decentlab.com/support */ var decentlab_decoder = { PROTOCOL_VERSION: 2, SENSORS: [ {length: 1, values: [{name: 'Raw sensor reading', convert: function (x) { return 3 * (x[0] - 32768) / 32768 * 1000; }, unit: 'mV'}, {name: 'Volumetric water conten...
//this code from tutorial: //https://gamedevacademy.org/create-a-basic-multiplayer-game-in-phaser-3-with-socket-io-part-1/ var express = require('express'); var app = express(); var server = require('http').Server(app); var io = require('socket.io').listen(server); var players = {}; var star = { x: Math.flo...
import Vue from "vue"; import Vuex from "vuex"; import VueRouter from 'vue-router'; Vue.use(VueRouter); export const router = new VueRouter({ //mode: 'history', //base: __dirname, routes: [ { path: '/', component: () => import('../components/home/home.vue') }, { path: '/home', component: ...
# coding: utf-8 # In[1]: import tensorflow as tf import os import random import math import sys from PIL import Image import numpy as np # In[2]: # 验证集数量 _NUM_TEST = 500 # 随机种子 _RANDOM_SEED = 0 # 数据集路径 DATASET_DIR = "./captcha/images/" # tfrecord文件存放路径 TFRECORD_DIR = "./captcha/" # 判断tfrecord文件是否存在 def _datase...
import React from 'react'; import Autosuggest from 'react-autosuggest'; // when suggestion is clicked, Autosuggest populate the input based on the clicked suggestion const getSuggestionValue = (suggestion) => suggestion.event; // set the layout of the items const renderSuggestion = suggestion => ( <div> {...
from __future__ import absolute_import import smtplib from email.mime.text import MIMEText def send( email, subject, text ): print('Sending email to %s with subject: %s' % (email, subject)) text = [s.strip() for s in text.split('\n')] text = '\n'.join(text) msg = MIMEText(text...
""" With these settings, tests run faster. """ from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = False # https://docs.djangoproject.com/en/dev/ref/settings/#se...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('document_signatures', '0003_auto_20160325_0052'), ] operations = [ migrations.AlterField( model_name='documentversionsignature', name='document_version', ...
# Generated by Django 2.2.3 on 2019-07-22 14:54 import django.contrib.gis.db.models.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0004_spots_geom'), ] operations = [ migrations.AddField( model_name='spots', ...
# -*- coding: utf-8 -*- import logging import os import urllib from copy import copy from django import forms from django.conf import settings from django.contrib import admin, messages from django.contrib.admin.templatetags.admin_static import static from django.contrib.admin.views.main import ORDER_VAR from django.c...
/* * Copyright (C) 2005 - 2014 Jaspersoft Corporation. All rights reserved. * http://www.jaspersoft.com. * Licensed under commercial Jaspersoft Subscription License Agreement */ /** * Generic Backbone CollectionView component. * * @author: Kostiantyn Tsaregradskyi * @version: $Id$ */ define(function (requir...
import re import logging from tools.gen.plugin_base import PluginBase from tools.gen.file_rep import FileRep from plugins.template import build_template from plugins.apis import api_header from plugins.common import order_classes, reference_classes from plugins.cformat.funcs import render_defn as cfrender from plugin...
# vim: expandtab:ts=4:sw=4 from __future__ import absolute_import import numpy as np from . import kalman_filter from . import linear_assignment from . import iou_matching from .track import Track class Tracker: """ This is the multi-target tracker. Parameters ---------- metric : nn_matching.Near...
import math class Reward(object): def __init__(self, verbose=False): self.first_racingpoint_index = None self.verbose = verbose def reward_function(self, params): # Import package (needed for heading) import math ################## HELPER FUNCTIONS ##################...
# coding=utf-8 # Copyright 2021 The Google Research 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 applicab...
import click import concurrent.futures import ipaddress import os import pprint import re import urllib3 import xml.etree.ElementTree as eTree from urllib3.exceptions import NewConnectionError, ConnectTimeoutError device_pool = [] @click.command() def scan(): """ Scans LAN using address resolution protocol ...
export default (msg) => { // eslint-disable-next-line no-console console.log(msg); };
var global = (function(){return this;})(); module.exports = function() { if (this === global) { throw new Error("Fulfillment must be invoked as a constructor."); } var self = this; const promise = new Promise((resolve, reject) => { self.resolve = resolve; self.reject = reject; }); }
// Copyright (c) 2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_COMPAT_BYTESWAP_H #define BITCOIN_COMPAT_BYTESWAP_H #if defined(HAVE_CONFIG_H) #include "config/soori-config.h" #endif...
__author__ = 'smrutim' # -*- coding: utf-8 -*- # this file is released under public domain and you can use without limitations ######################################################################### ## This is a Datacenter controller #########################################################################...
/** * * @param {number} start * @param {number} end * @param {boolean} autoScaleStart * @param {boolean} autoScaleEnd * @param {number} containerHeight * @param {number} majorCharHeight * @param {boolean} zeroAlign * @param {function} formattingFunction * @constructor DataScale */ class DataScale { constru...
""" Cosmo Tech Plaform API Cosmo Tech Platform API # noqa: E501 The version of the OpenAPI document: 0.0.11-SNAPSHOT Contact: platform@cosmotech.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from cosmotech_api.model_utils import ( # noqa...
#!/usr/bin/env python3 import logging logging.basicConfig( format='%(asctime)s [%(levelname)s] %(module)s.%(funcName)s: %(message)s', datefmt='%Y-%m-%dT%H:%M:%S%z' ) logger = logging.getLogger('ws') logger.setLevel(logging.INFO)
/* Definitions for systems using, at least optionally, a GNU (glibc-based) userspace or other userspace with libc derived from glibc (e.g. uClibc) or for which similar specs are appropriate. Copyright (C) 1995-2019 Free Software Foundation, Inc. Contributed by Eric Youngdale. Modified for stabs-in-ELF by...
#!/usr/bin/env python """ Good ol' Sieve. GRE, 6/28/10 """ def _starter_helper(x): """ Initialization condition, to deal with Optimization 1. """ # Special cases; handles evens, 0, and 1 separately if (x == 2): return True elif (x == 0) or (x == 1): return False elif (x % 2 == 0): return Fals...
# -*- coding: utf-8 -*- """ Created on Mon Apr 25 15:26:23 2022 @author: Julian Ceddia """ """ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !WARNING: RUNNING run_test() WILL CHANGE SETTINGS IN NANONIS. RUN IT ON A SIM!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-12-22 15:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user_app', '0002_pissuser_token'), ] operations = [ migrations.AlterField( ...
/** * @fileoverview Slideshow component that given an array of slide descriptions * of mixed types, renders the slides and automatically plays the slideshow for * the given durations */ import React, { Component } from 'react' import _ from 'lodash' import GenericSlide from './Slide/Generic' import PhotoSlide fro...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("moment"), require("react"), require("react-onclickoutside")); else if(typeof define === 'function' && define.amd) define(["moment", "react", "react-onclickout...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from frappe import _ def get_data(): return [ { "module_name": "Hr Salary Slip", "color": "grey", "icon": "octicon octicon-file-directory", "type": "module", "label": _("Hr Salary Slip") } ]
""" This is an interface module for instruments produced by Sigma Koki """ import builtins as exceptions import serial import sys class GSC02(object): """ Stage controller GSC-02 """ def __init__(self): self.__baudRate = 9600 # 9600 bps self.__parityBit = 'N' # None self.__data...
// Copyright (c) 2014-2019, MyMonero.com // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // cond...
from datetime import date class NBA_Season_2010(object): def __init__(self): self.description = "2000–01 NBA season" self.start_date = date(year=2010,month=10, day=31) self.end_date = date(year=2011, month=4, day=18) self.playoff_start_date = date(year=2011, month=4, ...
#!/usr/bin/env python3 #-*- coding:utf-8 -*- ############################################################### # CLAM: Computational Linguistics Application Mediator # -- CLAM Wrapper script Template -- # by Maarten van Gompel (proycon) # http://ilk.uvt.nl/~mvgompel # Induction for Linguistic Knowledge...
import React, {useEffect, useMemo, useRef, useState} from 'react'; import {Breadcrumb, Card, Image, message, Modal, Popconfirm, Progress} from "antd"; import ProTable from '@ant-design/pro-table'; import {formatSize, post, request, translate, waitTime} from "../utils/utils"; import dayjs from "dayjs"; import i18n from ...
#!/usr/bin/python3 # # Copyright (c) 2014-2022 The Voxie Authors # # 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,...
// // JXCategoryComponentBaseView.h // JXCategoryView // // Created by jiaxin on 2018/8/17. // Copyright © 2018年 jiaxin. All rights reserved. // #import <UIKit/UIKit.h> #import "JXCategoryIndicatorProtocol.h" #import "JXCategoryViewDefines.h" @interface JXCategoryIndicatorComponentView : UIView <JXCategoryIndicat...
import Service from '@ember/service'; // eslint-disable-line import { inject as service } from '@ember/service'; // eslint-disable-line import ENV from 'jefe/config/environment'; import { singularize } from 'ember-inflector'; /* global Ably */ export default Service.extend({ store: service(), userProfile: service...