text
stringlengths
3
1.05M
const WOQLTableConfig = require("./tableConfig"); const UTILS = require('../utils'); const WOQLRule = require('../woqlRule'); const WOQLResult = require('../woqlResult'); /** * @file WOQL Table * @license Apache Version 2 */ function WOQLTable(client, config){ this.client = client; this.config = (config ? conf...
# Copyright 2018 The TensorFlow 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 applica...
import { v4 as uuid } from "uuid"; import { UPDATE_AUTH, SET_EXPIRED_SESSION, REMOVE_AUTH, UPDATE_ANILIST, } from "../actions"; // make UUIDs noticeable const genUUID = () => { let id = uuid(); const parts = id.split("-"); parts[1] = "NANI"; return parts.join("-"); }; const initialState = { token: "...
# coding: utf-8 """ anchore_engine.services.policy_engine This is a policy evaluation service. It receives push-events from external systems for data updates and provides an api for requesting image policy checks OpenAPI spec version: 1.0.0 Contact: zach@anchore.com Generated by: https://github.c...
/** * Add collapseable boxes to our editor screens. */ postboxes.add_postbox_toggles(pagenow); /** * The rest of our customizations. */ (function($) { if ('edit' === getParameterByName('action')) { // Store our original slug on page load for edit checking. var original_slug = $('#name').val(); ...
"""客户端上传客户端号和分数(注意:并不会上传排名,客户端无法上传排名),同一个客户端可以多次上传分数,取最新的一次分数""" def uploading(): """客户端上传客户编号和分数""" client_no = input("请输入您的客户编号:") score = int(input("请输入您的分数:")) return client_no, score uploading() # 创建客户表,存储客户编号,分数和排名 class Client(BaseModel):
# Copyright (c) 2020, Michael Boyle # See LICENSE file for details: # <https://github.com/moble/quaternionic/blob/master/LICENSE> """Essential functions for quaternion algebra. These functions form the basic algebraic behavior of quaternions — addition, multiplication, exp, log, etc. Each function takes one or two a...
/* eslint import/no-extraneous-dependencies: 0, no-console: 0 */ import express from 'express'; import webpack from 'webpack'; const { webpackPort, webpackHost } = require('../config/env'); const webpackConfig = require('../config/webpack-dev.config'); const compiler = webpack(webpackConfig); const serverOptions = { ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef __cplusplus # error This header can only be compiled as C++. #endif #ifnd...
# Copyright 1999-2020 Alibaba Group Holding Ltd. # # 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 a...
const flickr = { flickr: { width: 1536, height: 1792, paths: [{ d: 'M1248 128q119 0 203.5 84.5t84.5 203.5v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960zM698 896q0-88-62-150t-150-62-150 62-62 150 62 150 150 62 150-62 62-150zM1262 896q0-88-62-150t-150-62-150 62-6...
from typing import Union from jsonrpcclient.requests import Request class Engine: def __init__(self, client): self.client = client def get_coinbase(self): payload = Request("engine_getCoinbase") response = self.client.send(payload) return response.data.result def get_bl...
const { Client } = require("@elastic/elasticsearch"); const client = new Client({ node: "http://localhost:9200" }); async function run() { // Let's start by indexing some data await client.index({ index: "game-of-thrones", body: { character: "Ned Stark", quote: "Winter is coming.", }, }); ...
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
r""" Solve S-unit equation x + y = 1 Inspired by work of Tzanakis--de Weger, Baker--Wustholz and Smart, we use the LLL methods in Sage to implement an algorithm that returns all S-unit solutions to the equation $x + y = 1$. REFERENCES: - [MR2016]_ - [Sma1995]_ - [Sma1998]_ - [Yu2007]_ - [AKMRVW]_ AUTHORS: - Al...
import React from 'react'; import Text from '../../components/Text'; import Link from '../../components/Link'; import { List, ListItem } from '../../components/List'; const list = [ { kind: 'simple', heading: 'Ordered lists' }, { kind: 'unordered', heading: 'Bullet lists' }, { kind: 'ordered', heading: 'Ordered ...
export default Object.assign || function(target, ...sources) { sources.forEach((source) => { Object.keys(source).forEach((key) => (target[key] = source[key])); }); return target; };
import discord COR = 0x690FC3 msg_id = None msg_user = None client = discord.Client() @client.event async def on_ready(): print('BOT ONLINE !') print(client.user.name) print(client.user.id) print('------Vagner Tutorial----') print('------LabNegro-------') print('-----Tutorial Cargo Custom Emo...
/** * Created by dengchongjing on 2017/5/11. */ import * as types from '../types' import { getTopic } from '@/api' const state = { article: {} } const actions = { getTopic ({commit}, id) { getTopic(id).then(data => { commit(types.UPDATE_TOPIC_DATA, data.data) }) } } const mutations = { // 更新当前文章 [typ...
/* * Copyright (C) 2017, Axis Communications AB, LUND, SWEDEN */ /* * Simple example application that demonstrates how axoverlay is used. */ #include <stdio.h> #include <string.h> #include <errno.h> #include <glib.h> #include <glib-unix.h> #include <cairo/cairo.h> #include <axoverlay.h> #define OVERLAY_WIDTH 144...
/****************************************************************************** Copyright (c) 2000 Microsoft Corporation Module Name: ProjectConstants.h Abstract: This file contains contants common to the whole project. Revision History: Davide Massarenti (Dmassare) 03/20/2000 cre...
import re from mat.utils.utils import Utils, Issue class Issue(Issue): TITLE = 'SSL Pinning Check' DESCRIPTION = 'Checks if SSL Pinning is not implemented' ID = 'ssl-pinning' ISSUE_TITLE = 'Application Does Not Implement SSL Pinning' FINDINGS = 'The Team found the application d...
from typing import Optional import aiohttp from apple.rpc.full_node_rpc_client import FullNodeRpcClient from apple.util.byte_types import hexstr_to_bytes from apple.util.config import load_config from apple.util.default_root import DEFAULT_ROOT_PATH from apple.util.ints import uint16 from apple.util.misc import forma...
# This file is part of Indico. # Copyright (C) 2002 - 2020 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from __future__ import unicode_literals import textwrap from sqlalchemy import DDL from indico.core imp...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M20 10h-3V8.86c1.72-.45 3-2 3-3.86h-3V4c0-.55-.45-1-1-1H8c-.55 0-1 .45-1 1v1H4c0 1.86 1.28 3.41 3 3.86V10H4c0 1.86 1.28 3.41...
function accepts(file, acceptedFiles) { if (file && acceptedFiles) { const acceptedFilesArray = Array.isArray(acceptedFiles) ? acceptedFiles : acceptedFiles.split(","); const fileName = file.name || ""; const mimeType = file.type || ""; const baseMimeType = mimeType.replace(/\/.*$/, ""); ...
import os import argparse from ConfigParser import SafeConfigParser import sys import logging #sys.path.append('/home/zhengc/NRC-LIMS-dataDownloader') sys.path.append(os.path.join(os.path.dirname(__file__), '..')) from nrc_ngs_dl.lims_database import LimsDatabase from nrc_ngs_dl.web_parser import WebParser def set_up_...
from . import problem, user, submit
from contextlib import suppress import awxkit.exceptions as exc from awxkit.api.pages import base, WorkflowJobTemplate, UnifiedJobTemplate, JobTemplate from awxkit.api.mixins import HasCreate, DSAdapter from awxkit.api.resources import resources from awxkit.utils import update_payload, PseudoNamespace, random_title fr...
/*global window, console, document */ /* * Speaker represents the volume icon that will be shown in the mediaPlayer, for example. * It manages the volume level of the media tag given in the constructor. * Every Speaker is a View. * Ex.: var speaker = Speaker({elementID: element, media: mediaTag, id: id}); */ var E...
module.exports = function(grunt) { grunt.initConfig({ exec: { build: { cmd: 'jekyll build' }, serve: { cmd: "jekyll serve --watch --baseurl=''" }, deploy: { cmd: 'echo This is hosted on GitHub Pages. Push to deploy.' } } }); grunt.loadNpmTasks('grunt-exec'); grunt.regist...
/* istanbul instrument in package npmdoc_eslint */ /*jslint bitwise: true, browser: true, maxerr: 8, maxlen: 96, node: true, nomen: true, regexp: true, stupid: true */ (function () { 'use strict'; var local; // run shared js-env code - pre-init (function () { /...
import React, { useState } from "react"; import "./main.css"; import axios from "axios"; import { useHistory } from "react-router-dom"; import { setCountry } from "../../actions/country"; import { setRegion } from "../../actions/region"; import { connect } from "react-redux"; const Main = ({ setCountry, setRegion }) ...
/** * @file Make component support data operation like Vue for ant mini program * @author sparklewhy@gmail.com */ 'use strict'; import observable, {setObservableContext} from '../base'; import {observableArray, overrideArrayMethods} from '../array'; import {component as antApi, array as antArray} from './array'; ...
const path = require("path"); const { DefinePlugin } = require("webpack"); const { CleanWebpackPlugin } = require("clean-webpack-plugin"); const isProd = process.env.NODE_ENV !== "development"; module.exports = { mode: isProd ? "production" : "development", devtool: isProd ? "source-map" : "eval-source-map", en...
""" Copyright (c) 2012-2014, Austin Benson and David Gleich All rights reserved. This file is part of MRTSQR and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause """ """ Mapper and reducer implementation...
import { primaryColor, dangerColor, successColor, grayColor, defaultFont } from "./material-dashboard-react"; const customInputStyle = { disabled: { "&:before": { backgroundColor: "transparent !important" } }, underline: { "&:hover:not($disabled):before,&:before": { borderColor:...
// For discussion and comments, see: http://remysharp.com/2009/01/07/html5-enabling-script/ /*@cc_on'abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video'.replace(/\w+/g,function(n){document.createElement(n)})@*/ var addEvent = (f...
import logging import os import random as rd import click import mne import pandas as pd import numpy as np from scipy.signal import welch import matplotlib.pyplot as plt from config import CHANNEL_NAMES, DATA_ROOT, PROCESSED_ROOT, RAW_ROOT from data.utils import df_from_fif, df_from_tdt, get_sampling_frequency from ...
''' LPD-Net Model: FN-SF-VLAD Feature Network + FN-Parallel structure (P) + Series-FC structure (SF) # Thanks to Mikaela Angelina Uy, modified from PointNetVLAD author: suo_ivy created: 10/26/18 ''' import os import sys import tensorflow as tf #Taken from Charles Qi's pointnet code MODELS_DIR = os....
from django.contrib.auth.models import User from rest_framework import serializers from mainstore.models import Catalog, Product # hyperlinkedmodelserializer #view_name='api:product-detail' class UserSerializer(serializers.HyperlinkedModelSerializer): url = serializers.HyperlinkedIdentityField(view_name='api:us...
var fs = require('fs') var path = require('path') var mkdirp = require('mkdirp') var mr = require('npm-registry-mock') var osenv = require('osenv') var rimraf = require('rimraf') var test = require('tap').test var common = require('../common-tap') var server var pkg = path.resolve(__dirname, 'prune') va...
const s3 = require("../config/aws"); module.exports = key => { var params = { Bucket: process.env.ResumeBucketName, Key: key }; s3.deleteObject(params, (err, data) => { if (err) { console.log(err); } console.log(`Resume ${key} deleted`); }); };
/* Copyright (C) 2002-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published b...
''' filename = urls.py author = LJH date = 2019/08/19 ''' from django.conf.urls import url from django.views.generic import TemplateView from . import views from django.views.static import serve from games.settings import MEDIA_ROOT urlpatterns = [ # 个人资料 url(r'^profile/$', views.ProfileView.as_view(), name='...
import os import yaml import hashlib import importlib import sys import argparse from time import sleep from pathlib import Path from pymongo import MongoClient from feed import mainCaller from database_connector import mongo_update from front_end_scorer import pre_scorer try: p = Path(__file__).parents[1] s...
import asyncio import copy import json import logging import ssl import time from decimal import Decimal from typing import Any, Dict, List, Optional import aiohttp from hummingbot.client.config.fee_overrides_config_map import fee_overrides_config_map from hummingbot.client.config.global_config_map import global_conf...
Mac OS X  2 R
import datetime from decimal import Decimal from unittest.mock import Mock from django.template import TemplateDoesNotExist from django.test import TestCase from haystack.fields import * from test_haystack.core.models import ( ManyToManyLeftSideModel, ManyToManyRightSideModel, MockModel, MockTag, ...
#ifndef RBX_CAPI_RUBY_IO_H #define RBX_CAPI_RUBY_IO_H // MRI includes this file #include "ruby/encoding.h" #endif
window._ = require('lodash'); /** * We'll load the axios HTTP library which allows us to easily issue requests * to our Laravel back-end. This library automatically handles sending the * CSRF token as a header based on the value of the "XSRF" token cookie. */ window.axios = require('axios'); window.axios.default...
from argparse import ( ArgumentParser, Namespace, _SubParsersAction, ) import pkg_resources import sys from trinity.config import ( Eth1AppConfig, TrinityConfig, ) from trinity.extensibility import ( BaseMainProcessPlugin, ) from trinity.plugins.builtin.attach.console import ( console, ...
# This is a map from an ISO 639 code or common name to its Wiktionary language name. # noqa: E501 # Note that the iso639 Python package that WikiPron uses can handle only ISO 639-1 and 639-2 codes. # noqa: E501 # ISO 639-3: https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab # noqa: E501 # Wiktiona...
// // Created by Artem Murashko on 25.04.2021. // #ifndef WENDEXTAXI_CARTYPE_H #define WENDEXTAXI_CARTYPE_H enum class CarType { economy = 1, comfort = 2, comfortPlus = 3, business = 4 }; #endif //WENDEXTAXI_CARTYPE_H
import $ from "jquery"; import devices from "core/devices"; import resizeCallbacks from "core/utils/resize_callbacks"; import dblclickEvent from "events/dblclick"; import fx from "animation/fx"; import Color from "color"; import AgendaAppointmentsStrategy from "ui/scheduler/rendering_strategies/ui.scheduler.appointment...
import calendar import six from six.moves.urllib.parse import urlparse import re import struct import base64 import time from ipaddress import AddressValueError from ipaddress import IPv4Address from ipaddress import IPv6Address from saml2 import time_util XSI_NAMESPACE = 'http://www.w3.org/2001/XMLSchema-instance' X...
// // ui.h // kk // // Created by zhanghailong on 2018/10/29. // Copyright © 2018年 kkmofang.cn. All rights reserved. // #ifndef ui_ui_h #define ui_ui_h #include <core/kk.h> #include <core/event.h> #include <core/dispatch.h> #include <core/jit.h> #include <core/timer.h> #include <core/sqlite.h> namespace kk { ...
from computer_players.base_computer_player import BaseComputerPlayer from dominion_game_engine.hand import has_card_type, select_by_name class TheBureaucrat(BaseComputerPlayer): def buy(self, supply, money, buys): return self.buy_card(money, 'Bureaucrat') def play_action_cards(self, hand): ""...
from fqfa.validator.validator import ( dna_bases_validator, dna_characters_validator, rna_bases_validator, amino_acids_validator, amino_acids_all_validator, ) from fqfa.validator.create import create_validator __all__ = [ "create_validator", "dna_bases_validator", "dna_characters_valida...
# -*- coding: utf-8 -*- """ Trac WebAdmin plugin for administration of custom fields. License: BSD (c) 2005-2012 ::: www.CodeResort.com - BV Network AS (simon-code@bvnetwork.no) (c) 2007-2009 ::: www.Optaros.com (.....) """ from pkg_resources import resource_filename from trac.config import Option from...
# -*- coding: utf-8 -*- # Scrapy settings for news_crawler project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/l...
import {Map} from 'immutable'; import {EditorLocation, Notification, UiState} from '../records'; const defaultState = new UiState(); function addNotification(state, type, severity, metadata = {}) { return state.setIn( ['notifications', type], new Notification({type, severity, metadata: new Map(metadata)}),...
/* * 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 may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
# Aula 19 - 04-12-2019 # Lista com for e metodos # Como comer um gigante.... é com um pedaço de cada vez. # Na hora de fazer este exercicio, atentar para # Com o arquivo de cadastro.txt onde possui os seguintes dados: codigo cliente, nome, idade, sexo, e-mail e telefone # 1 - Crie um metodo que gere e retorne uma li...
// @ts-check const Cuboid = require("./cuboid"); describe("obj.getResultsAfterSubtraction", () => { it("works as expected", () => { const cuboid = new Cuboid(10, 50, 20, 60, 30, 70); expect(cuboid.getResultsAfterSubtraction(new Cuboid(34, 44, 35, 45, 36, 46))).toEqual([ { startX: 10, endX: 33, startY:...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** @typedef {!{ rect: !Protocol.DOM.Rect, snapshot: !SDK.PaintProfilerSnapshot }} */ SDK.SnapshotWithRect; /** * @interface */ SDK....
/** @jsx jsx */ import { jsx } from "theme-ui" import { Link } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" import { Flex } from "theme-ui" import Form from "react-bootstrap/Form" import { RecipeButton } from "../components/recipeButton" const LoginPage = () => { retur...
import pytest import cogctl.cli.bundle.versions as bundle # TODO: Eww, this import pytestmark = pytest.mark.usefixtures("mocks") def test_versions_with_no_args_lists_everything(cogctl): result = cogctl(bundle.versions, []) assert result.exit_code == 0 assert result.output == """\ BUNDLE ...
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The BitRub Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the -uacomment option.""" import re from test_framework.test_framework import BitRubTestFramework...
import { getSetting, updateSetting } from '@/api/login' import storage from '@/utils/storage' const state = { info: storage.get('app_info') } const mutations = { SET_INFO: (state, data) => { state.info = data storage.set('app_info', data) } } const actions = { settingDetail({ commit }) { return ne...
var MyCalendar = function() { this.arr = [] }; /** * @param {number} start * @param {number} end * @return {boolean} */ MyCalendar.prototype.book = function(start, end) { let arr = this.arr if (!arr.length) { return Boolean(arr.push([start, end])) } if (arr[0][0] >= end) { th...
#----------------------------------------------------------------------------- # Copyright (c) 2012 - 2019, Anaconda, Inc., and Bokeh Contributors. # All rights reserved. # # The full license is in the file LICENSE.txt, distributed with this software. #-------------------------------------------------------------------...
import logging from typing import Dict, List, Optional from bitchia.consensus.block_record import BlockRecord from bitchia.consensus.blockchain_interface import BlockchainInterface from bitchia.types.blockchain_format.sized_bytes import bytes32 from bitchia.types.blockchain_format.sub_epoch_summary import SubEpochSumm...
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{324:function(t,a,s){"use strict";s.r(a);var n=s(2),e=Object(n.a)({},function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"grouped-table"}},[s("a",{staticClass:"heade...
module.exports = require('./lib/fontface-loader');
ismir2020featsets = {} ########################################################################## ismir2020featsets['ismir2020_all_lyr_gt'] = { 'scaledegreefirst', 'scaledegreesecond', 'scaledegreethird', 'scaledegreefourth', 'scaledegreefifth', 'diatonicpitchfirst', 'diatonicpitchsecond', 'diatonicpitchthird...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'specialchar', 'ru', { options: 'Выбор специального символа', title: 'Выберите специальный символ', toolbar: 'Вставить специальный символ' ...
/* * This file is part of LibCSS * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 John-Mark Bell <jmb@netsurf-browser.org> */ #include "bytecode/bytecode.h" #include "bytecode/opcodes.h" #include "select/propset.h" #include "select/propget.h" #include "uti...
//Print "I" #include <stdio.h> int main() { int height = 5; int i, j; for (i = 0; i < height; i++) { for (j = 0; j < height; j++) { if (i == 0 || i == height-1 || j == height/2) { printf("* "); } else { printf(" "); ...
import os import boto3 import numpy as np import pandas as pd from datetime import datetime s3 = boto3.client('s3') bucket = os.environ['BUCKET'] def handler(event, context): event['stage'] = 'dataset' prefix = event.get('prefix', 'sagemaker/xgboost_credit_risk') event['bucket'] = bucket event['pre...
/* * Copyright © 2011-2012 Inria. All rights reserved. * See COPYING in top-level directory. */ #include <private/autogen/config.h> #include <hwloc.h> #include <stdlib.h> #include <stdio.h> #include <string.h> static void usage(char *name, FILE *where) { fprintf (where, "Usage: %s [options] <output>.xml [-n <n...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * All Rights Reserved. */ #include "xfs.h" #include "xfs_fs.h" #include "xfs_shared.h" #include "xfs_format.h" #include "xfs_log_format.h" #include "xfs_trans_resv.h" #include "xfs_bit.h" #include "xfs_mount.h" #include "xfs_inod...
/** * gulp-fail v1.0.6 * Copyright (c) 2016 Brandon Sara (http://bsara.github.io) * Licensed under the MIT License */ 'use strict'; // Dependencies // ----------------- var PluginError = require('plugin-error'); var colors = require('ansi-colors'); var through = require('through2'); // Constants // --------...
import json from django.contrib.auth.decorators import login_required from django.core import serializers from django.shortcuts import render, get_object_or_404, redirect from django.template import loader from django.http import HttpResponse from django import template from django.contrib.auth.models import User from...
from ..models import Category, Pitch, Comment, User from flask import render_template, redirect, url_for, request from . import main from flask_login import login_required, current_user from .forms import CommentForm, PitchForm, UpdateProfilePic from sqlalchemy import desc from .. import photos, db # Index page. @mai...
import asyncio import base64 import concurrent.futures import datetime import glob import json import math import os import pathlib import random import sys import time from json import dumps, loads from random import randint import re from re import findall import requests import urllib3 from Crypto....
// SilvervineUE4Lua / devCAT studio // Copyright 2016 - 2020. Nexon Korea Corporation. All rights reserved. #pragma once #include "Modules/ModuleInterface.h" #include "LuaFileLoader.h" // // SUE4Lua 모듈 정의 // class SILVERVINEUE4LUA_API FSilvervineUE4LuaModule : public IModuleInterface { /** IModuleInterface impleme...
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from ..utils import ( int_or_none, remove_start, ) class RozhlasIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?prehravac\.rozhlas\.cz/audio/(?P<id>[0-9]+)' _TESTS = [{ 'url': 'http://prehravac.rozh...
""" Copyright (c) 2018-2022 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 agreed to in wri...
import React, { Component, Fragment } from 'react'; import {Row, Col} from 'antd'; export default class Home extends Component { constructor(props, context) { super(props); this.state = { } } render() { return ( <Fragment> <div style={{width: '100%', height: '100%', backgrou...
""" pygments.lexers._csound_builtins ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ # Opcodes in Csound 6.14.0 using: # python3 -c " # import re # from subprocess import Popen, PIPE # o...
export Header from './Header' export TodoList from './TodoList' export Footer from './Footer'
import Emitter from 'emitter-component'; import CommandFactory from './commands/commandFactory'; import {exists, checkMethod, checkParam} from '../utils'; export default class ClientContext{ constructor(dolphin, beanManager, controllerManager, connector){ checkMethod('ClientContext(dolphin, beanManager, c...
#!/usr/bin/python """Setup module for caasp-setup-admin""" import sys try: import setuptools except ImportError: sys.stderr.write('Python setuptools required, please install.') sys.exit(1) if __name__ == '__main__': setuptools.setup( name='caasp-admin-setup', description=( ...
from ahh import vis, ext, sci import pandas as pd import numpy as np import matplotlib.pyplot as plt import matplotlib.dates as mdates import datetime from scipy.stats import pearsonr sleep_df = pd.read_pickle('sleep_data_fmt.pkl') sleep_hours = sleep_df['minutes'] / 60 sleep_quality = sleep_df['quality'] * ...
export { default as MenuList } from "./MenuList"
// example include file void myPrintHelloMake(void);
import React, { Component, PropTypes } from 'react'; class MainHeaderComponent extends Component { render() { return ( <div> <ul className="nav navbar-top-links navbar-right"> <li className="dropdown"> <a className="dropdown-to...
import itertools import multiprocessing import sys import traceback from PyQt4 import QtCore from ags_service_publisher.logging_io import setup_logger from logutils.queue import QueueHandler, QueueListener from loghandlers.qtloghandler import QtLogHandler log = setup_logger(__name__) class SubprocessWorker(QtCore....
import numpy as np from shapely.geometry import Point, Polygon class LinearAnalyticalModel_SnaikiWu_2017: def __init__(self, cyclone_param = [], storm_track = []): """ __init__: initializing the tropical cyclone cyclone_param: 6-dimensional array - cyclone_param[0]: landfall Latitu...