text
stringlengths
3
1.05M
var at__quick__exit_8c = [ [ "__attribute__", "d8/d48/at__quick__exit_8c.html#af9aace1b44b73111e15aa39f06f43456", null ] ];
import React from 'react'; import App, { Container } from 'next/app'; import { ThemeProvider } from 'emotion-theming'; const theme = { color: 'red', backgroundColor: '#252627', }; export default class VortexDotNameApp extends App { render() { const { Component, pageProps } = this.props; return ( ...
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * Copyright (c) 2015 Daniel Campora * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><g opacity=".3"><path d="M6 13h13v3H6zM6 8h13v3H6z" /></g><path d="M4 6v12h17V6H4zm15 10H6v-3h13v3zm0-5H6V8h13v3z" /></g></React.Fragment> , 'ViewStre...
inherit ROOM; void create() { set("short", "城外空地"); set("long", @LONG 這是城外的空地,一些蒙古兵的奸細和箭手常在這帶遊弋,以尋 找他們感興趣的獵物,不時有幾枚冷箭從頭頂嗖地飛過,令人防不勝 防。 LONG ); set("outdoors", "xiangyang"); set("no_clean_up", 0); set("step",2); set("no_fly",1); set("exits", ([ "e...
import React, { useEffect, useState } from "react"; import { useParams, useHistory } from "react-router-dom"; import axios from "axios"; import { axiosWithAuth } from "../../../utils/axiosWithAuth"; import Sharednav from "../Sharednav"; import { makeStyles } from "@material-ui/core/styles"; import TextField from "@mate...
import { h } from 'vue' export default { name: "ClockTimeEight", vendor: "Mdi", type: "", tags: ["clock","time","eight"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-c...
client.on('message', message => { if(message.content.startsWith('-discrim') ) { if(!message.channel.guild) return message.reply('** This command only for servers **') var args = message.content.split(" ").slice(1); let sent = 0 let count = 1; if(args){ client.users.filter(u => u.discri...
import { useAllPodsByChainId } from 'lib/hooks/useAllPodsByChainId' export const usePrizeSortedPods = () => { const { data: pods, isFetched, ...remainder } = useAllPodsByChainId() if (!isFetched) { return { data: pods, isFetched, ...remainder } } const flattenedPods = Object.values(...
/* @flow */ import isEqual from 'lodash.isequal'; import { REHYDRATE } from 'redux-persist/constants'; import type { ChatState, Action } from '../types'; import config from '../config'; import { APP_REFRESH, LOGOUT, LOGIN_SUCCESS, ACCOUNT_SWITCH, SWITCH_NARROW, MESSAGE_FETCH_COMPLETE, EVENT_NEW_MESSAGE, ...
/* * * spi_controller.c * * * * Author: Cezary Sobczak https://github.com/Cezarus27 * * Date: 04.09.2020 * * Refere...
/*******************************************************************\ Module: Command line interpretation for goto-cc Author: Daniel Kroening Date: April 2010 \*******************************************************************/ /// \file /// Command line interpretation for goto-cc #ifndef CPROVER_GOTO_CC_GOTO_...
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #define SURFACE_FLESHDEFAULG SurfaceType1 #define SURFACE_FLESHVULNERABLE SurfaceType2 #define WEAPONCOLLISIONCHANNEL ECC_GameTraceChannel1
/****************************************************************************** QtAV: Multimedia framework based on Qt and FFmpeg Copyright (C) 2012-2016 Wang Bin <wbsecg1@gmail.com> * This file is part of QtAV (from 2014) This library is free software; you can redistribute it and/or modify it unde...
from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from contextlib import contextmanager import os import re from collections import namedtuple ParseResult = namedtuple( 'ParseResult', [ 'protocol', 'username', 'passwo...
/*! Copyright (c) 2018-2021 Nicolas Barriquand <nicolas.barriquand@outlook.fr>. MIT licensed. */ /** * This module is a simple wrapper of the poppy-robot-core module in order to: * * - Automatically manage a set of common flags dedicated to robot connections via node cli, * - Read poppy rc file created neither b...
var debug = require('debug')('bindings'); var events = require('events'); var util = require('util'); var AclStream = require('./acl-stream'); var Gatt = require('./gatt'); var Gap = require('./gap'); var Hci = require('./hci'); var NobleBindings = function() { this._state = null; this._addresses = {}; this....
/* * Driver for PC-speaker like devices found on various Sparc systems. * * Copyright (c) 2002 Vojtech Pavlik * Copyright (c) 2002, 2006, 2008 David S. Miller (davem@davemloft.net) */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/input.h> #include <linux/of_device.h...
const merge = require('webpack-merge'); const baseConfig = require('./base.config'); const config = require('./config'); const ErrorOverlayPlugin = require('error-overlay-webpack-plugin'); module.exports = merge(baseConfig, { devServer: { contentBase: config.buildPath, noInfo: true, overlay...
/* You can modify its contents. */ const extend = require('js-base/core/extend'); const PickerContainerDesign = require('library/PickerContainer'); const PickerContainer = extend(PickerContainerDesign)( //constructor function(_super, props, pageName){ // initalizes super class for this scope _super(this, pro...
import torch from mmaction.models import build_localizer from ..base import get_localizer_cfg def test_pem(): model_cfg, _, _ = get_localizer_cfg( 'bsn/bsn_pem_400x100_1x16_20e_activitynet_feature.py') localizer_pem = build_localizer(model_cfg) bsp_feature = torch.rand(8, 100, 32) reference_...
module.exports = { extends: 'eslint:recommended', rules: { // A temporary hack related to IDE not resolving correct package.json 'import/no-extraneous-dependencies': 'off', "import/prefer-default-export": "off" }, parserOptions: { ecmaVersion: 2020, sourceType: 'module', project: './tsco...
# Copyright 2017 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...
# Copyright (c) 2012 VMware, Inc. # Copyright (c) 2011 Citrix Systems, Inc. # Copyright 2011 OpenStack Foundation # # 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://w...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.superrpc = {})); })(this, (fun...
import omemo from omemo_backend_signal import BACKEND as SignalBackend import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "tests"))) from deletingotpkpolicy import DeletingOTPKPolicy from dr_chat import mainLoop import example_data X3DHDoubleRatchet = omemo.make_X3DHD...
# Lint as: python3 # Copyright 2021 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 r...
const express = require('express'); const mongoose = require('mongoose'); const bodyParser = require('body-parser'); const constants = require('./config/constants'); //Connect to MongoDB mongoose.Promise = global.Promise; mongoose.set('debug', true); mongoose.connect( constants.mongoURI, { keepAlive: true, ...
#!/usr/bin/env python # # Copyright (c) 2015 - 2021, Intel Corporation # # 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, thi...
/* * Copyright (C) Roman Arutyunyan * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> typedef struct { ngx_array_t *mirror; ngx_flag_t request_body; } ngx_http_mirror_loc_conf_t; typedef struct { ngx_int_t status; } ngx_http_mirror_ctx_t; ...
#!/usr/bin/env python # Author: Brendan Le Foll <brendan.le.foll@intel.com> # Copyright (c) 2015 Intel Corporation. # # 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, inc...
""" WSGI config for lochlanandcatherinecom project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
const path = require('path'); const svgDim = require('svg-dimensions'); const { reportFileGenerateSuccess, reportFileGenerateError } = require('../utils/reportFileGenerate'); const { generateFileName } = require('../utils/generateFileName'); const { processVector } = require('./vector/processVector'); const generateVe...
import { Typography } from "antd"; import styled from "styled-components"; import { theme } from "constants/theme"; const { Text } = Typography; const TextLabel = styled(Text)` &.ant-typography { font-family: ${theme.typography.heading.font}; color: ${(props) => props.color || "black"}; font-size: ${(pr...
from django.contrib import admin from simple_history.admin import SimpleHistoryAdmin from wiki.models import Article, Alias, Comment @admin.register(Article) class ArticleAdmin(SimpleHistoryAdmin, admin.ModelAdmin): date_hierarchy = 'modified' list_display = ('__str__', 'created', 'modified') @admin.register(...
/*jslint node: true */ 'use strict'; /* 'use strict' is not required but helpful for turning syntactical errors into true errors in the program flow http://www.w3schools.com/js/js_strict.asp */ /* Modules make it possible to import JavaScript files into your application. Modules are imported using 'require' state...
#!/usr/bin/python -tt # List of token names. This is always required from Number import * from Infinity import * import sys import re from SyntaxException import * reserved = { } tokens = [ 'FRAC', 'NUMBER', 'PLUS', 'MINUS', 'TIMES', 'DIVIDE', 'LPAREN', 'RPAREN', 'LBRACKET', 'RBRACK...
import operator from numpy.testing import assert_raises import numpy as np from .. import ones, asarray, result_type, all, equal from .._array_object import Array from .._dtypes import ( _all_dtypes, _boolean_dtypes, _floating_dtypes, _integer_dtypes, _integer_or_boolean_dtypes, _numeric_dtype...
/* Examples */ (function($) { var c4 = $('.forth.circle'); c4.circleProgress({ startAngle: -Math.PI / 2 * 9, value: 0.5, lineCap: 'round', emptyFill: 'rgba(204, 204, 204,0.2)', fill: {color: '#6259ca'}, lineCap: 'round' }); setTimeout(function() { c4.circleProgress('value', 0.7); }, ...
/***** includes *****/ #include "lfds720_freelist_smrg_internal.h" /***** private prototypes *****/ void lfds720_freelist_smrg_internal_state_cleaned_callback( struct lfds720_smrg_thread_state *smrgts, struct lfds720_smrg_allocation_state *smrgas, ...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
""" Django settings for app project. Generated by 'django-admin startproject' using Django 2.1.15. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bu...
// Copyright 2015 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_CANCELABLE_TASK_H_ #define V8_CANCELABLE_TASK_H_ #include <map> #include "include/v8-platform.h" #include "src/base/atomic-utils.h" #includ...
"""Support for sending data to an Influx database.""" from __future__ import annotations from contextlib import suppress from dataclasses import dataclass import logging import math import queue import threading import time from typing import Any, Callable from influxdb import InfluxDBClient, exceptions from influxdb...
#!/usr/bin/env python # -*- coding: utf-8 -*- ## Project: Simple4All - October 2014 - www.simple4all.org ## Contact: Oliver Watts - owatts@staffmail.ed.ac.uk ## This is a lightweight replacement for the script previously with this name and now ## called train_static_vsm_gensim.py. It is more easily broken by large co...
#pragma once #include "easlib.h" #include "EASEmain.h" #include "EASEents.h" #include "EASElex.h" #include "Synrule.h" #include "Dict.h" #include "EASEpars.h" #include "EASEgen.h" #define _SCRIPTELEM struct SCRIPTELEM { struct eInstHdr hdr; struct DICTENTRY* DICTREF; int SCRIPTCODE; int SCRIPTACTION; int TKNFORM; in...
#PyPoll import os import csv pyPoll = [] candidates = [] candidate_ctr = 0 total_ctr = 0 votesList = [] candidateDict = {} #Summary Table Stats totalVotes = 0 candidateList = [] percentVotes = 0 winner = ' ' <<<<<<< HEAD #csvpath = os.path.join('c:\users\TriciaToffey\desktop\githubs\python_challenge\pypoll\Resource...
from artemis.experiments.experiment_record import * import logging logging.getLogger(__name__).warning('The module artemis.fileman.experiment_record is deprecated and will eventually be removed. Import artemis.experiments.experiment_record instead.')
/* eslint: off */ const fs = require('fs'); const parse = require('css').parse; const re = /\.flag.flag-/; const IN_FILE = './flags.css'; const OUT_FILE = './flags.json'; function filterRules(flag) { const isRule = flag.type && flag.type === 'rule'; const isFlag = flag.selectors && re.test(flag.selectors[0]); ...
/******************************************************************************* * * Copyright (c) 2013 - 2016, Freescale Semiconductor, Inc. * Copyright 2016-2017 NXP * * SPDX-License-Identifier: BSD-3-Clause * * ****************************************************************************//*! * * @brief Parallel...
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * * 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 * righ...
jQuery(document).ready(function(){ jQuery("#map1526815782435975717").simplegmaps({ MapOptions: { zoom: 13,scrollwheel: false,styles: [ { "featureType": "administrative", "elementType": "labels.text.fill", "stylers": [ { "color": "#444444" } ] ...
// A script for correcting the indentation of HTML documents / fragments code.style.html = hot.factory(); code.style.html.prototype.init = function(source) { var options = typeof arguments[1] !== 'undefined' ? arguments[1] : {}; options.lineLength = options.lineLength || 70; options.softTabs = typeof o...
# coding=utf-8 # Copyright 2022 The Balloon Learning Environment 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 require...
# -*- coding: utf-8 -*- try: from urllib.parse import urljoin except Exception: from urlparse import urljoin import requests from .exceptions import JawboneException class JawboneClient(object): BASE_URL = 'https://jawbone.com/' TOKEN = None def __init__(self, token): self.TOKEN = token...
#ifndef MAGNET_RENDER_BACKEND_PROTOCOL_TEXT_H_ #define MAGNET_RENDER_BACKEND_PROTOCOL_TEXT_H_ #include <string> #include "protocol.h" #include "data.h" namespace magent { namespace render { class Text : public Base<std::string> { private: std::string encode(const render::AgentData & /*unused*/)const override; ...
/* * $NetBSD: xd.c,v 1.5 2002/01/26 13:18:58 aymeric Exp $ * * Copyright (c) 1996 Ignatios Souvatzis. * Copyright (c) 1995 Waldi Ravens. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
"""An AdaNet algorithm implementation in Tensorflow using a single graph. Copyright 2018 The AdaNet 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 https://www.ap...
# coding: utf-8 from __future__ import unicode_literals import asyncore import email from email.mime.text import MIMEText import os import shutil import smtpd import sys import tempfile import threading from smtplib import SMTPException from ssl import SSLError from django.core import mail from django.core.mail impor...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73f6d91d","chunk-3a83423a","chunk-2d216621"],{2626:function(t,e,r){"use strict";var o=r("d066"),n=r("9bf2"),a=r("b622"),u=r("83ab"),c=a("species");t.exports=function(t){var e=o(t),r=n.f;u&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},...
import csv import json import logging import os from typing import List from google.cloud import bigquery from google.oauth2 import service_account import google.api_core.exceptions from gatherers.gathererabc import Gatherer from utils import utils # Options: # # --timeout: Override the 10 minute job timeout (specif...
/*! jQuery UI - v1.12.1 - 2018-03-22 * http://jqueryui.com * Includes: effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/eff...
# Generated by Django 2.0.5 on 2018-05-25 21:53 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('questions', '0003_profile_about'), ] operations = [ migrations.AddField( model_name='profile', ...
const path = require('path'); IndexLoader = { entry: './index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'build'), libraryTarget: 'var', library: 'MinervaStory' } } module.exports = [IndexLoader]
# Copyright (c) 2020 Cisco and/or its affiliates. # # 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...
#!/usr/bin/env python ''' calculate GPS CEP from DF or mavlink log for all present GPS modules This assumes the GPS modules were not moving during the test ''' from builtins import range import os from argparse import ArgumentParser parser = ArgumentParser(description=__doc__) parser.add_argument("logs", metavar="L...
(function (lib, img, cjs, ss, an) { var p; // shortcut to reference prototypes lib.webFontTxtInst = {}; var loadedTypekitCount = 0; var loadedGoogleCount = 0; var gFontsUpdateCacheList = []; var tFontsUpdateCacheList = []; var rect; // used to reference frame bounds lib.ssMetadata = [ {name:"OfficeSpaceAnimation_at...
'use strict'; exports.__esModule = true; var _ReactNativeStyleResolver = require('./ReactNativeStyleResolver'); var _ReactNativeStyleResolver2 = _interopRequireDefault(_ReactNativeStyleResolver); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var styleResolver = new...
'use strict'; describe('basic mark with custom element and class', function() { var $ctx1, $ctx2; beforeEach(function(done) { loadFixtures('basic/custom-element-class.html'); $ctx1 = $('.basic-custom-element-class > div:first-child'); $ctx2 = $('.basic-custom-element-class > div:last-child'); new M...
const mongoose = require("mongoose"); module.exports = () =>{ mongoose.connect("mongodb+srv://admin:369erdal456@movie-api-nodejs-tgvir.mongodb.net/test?retryWrites=true&w=majority"); mongoose.connection.on("open", ()=>{ console.log("MongoDB: Connected"); }) mongoose.connection.on("error", (er...
from django import forms from django.contrib.auth import authenticate from django.contrib.auth.models import User class LoginForm(forms.Form): username = forms.CharField(max_length=100, label='Kullanıcı Adı') password = forms.CharField(max_length=100, label='Parola', widget=forms.PasswordInput) def clean...
# Copyright 2020 Joseph T. Iosue # # 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...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
"""Matern kernel.""" from typing import Optional import numpy as np import scipy.spatial.distance import scipy.special import probnum.utils as _utils from probnum.typing import IntArgType, ScalarArgType from ._kernel import IsotropicMixin, Kernel class Matern(Kernel, IsotropicMixin): r"""Matern kernel. C...
# # Copyright 2014 Quantopian, 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/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
const getWindowPosition = () => { return { windowPosition: { x: 0, y: 0 }, }; }; export default getWindowPosition;
/** * Given a linked list, rotate the list to the right by k places, where k is non-negative. * @author zheng * @date 2020/10/13 13:22:28 */ /** * 旋转链表 * 临界条件及时退出 * 找到要移动的结点的位置,划分链表,分别操作对应指针,注意新的最后结点的 next 要置为 null */ const { ListNode, createList } = require('./ListNode'); /** * Time complexity: O(N) * Spac...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'bi'; var iconName = 'cart'; var width = 512; var height = 512; var ligatures = []; var unicode = null; var svgPathData = 'M 16 32 A 16 16 0 0 0 0 48 A 16 16 0 0 0 16 64 L 51.519531 64 L 64.320312 115.42383 L 112.28711 370.94336 A...
import pytest import os @pytest.fixture(autouse=True) def set_env(monkeypatch): monkeypatch.setenv("TESTING", "TRUE")
#!/usr/bin/env python3 #import roslib; roslib.load_manifest('BINCADDY') import rospy #import roslib import tf.transformations import tf_conversions import tf2_ros import std_msgs.msg from std_msgs.msg import Float64, Int32 from geometry_msgs.msg import Twist, TransformStamped from nav_msgs.msg import Odometry from s...
# qubit number=4 # total number=38 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += H(3) # number=15 prog...
import logging import os import angr import pyvex import archinfo import ailment import ailment.analyses def test_block_simplifier(): arch = archinfo.arch_from_id('AMD64') manager = ailment.Manager(arch=arch) block_bytes = bytes.fromhex("554889E54883EC40897DCC488975C048C745F89508400048C745F0B6064000...
# coding=utf-8 # Copyright 2019-present, the HuggingFace Inc. team. # # 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 a...
void user_interrupt() {}
from django.core.mail import send_mail from django.conf import settings from django.contrib.auth.models import Group,User from django.shortcuts import render,get_object_or_404 from django.utils import timezone import httplib, urllib, base64 from json import JSONEncoder from json import JSONDecoder from time...
from google import api_core from google.cloud import storage def main(args, settings): bucket_name = settings.get('GCS_BUCKET_NAME') backup_dir = settings.get('BACKUP_DIR') timestamp = settings.get('TIMESTAMP') storage_client = storage.Client() gcs_file_name = '{0}.tar.gz'.format(timestamp) ...
'use strict' jest.mock('fs') const { readFile, writeFile } = require('fs').promises const { readServerProperties, writeServerProperties } = require('./serverproperties') test('readServerProperties', async () => { readFile.mockResolvedValue('#notaproperty\nproperty1=value\nproperty2=value=value') await expect(rea...
from aiidalab_widgets_base.utils import string_range_to_list, list_to_string_range from aiida.orm import StructureData , SinglefileData, Str from aiida.engine import calcfunction from ase import Atoms import numpy as np @calcfunction def make_geom_file(structure, filename, selection=None, ...
import { appSchema, tableSchema } from '@nozbe/watermelondb'; export default appSchema({ version: 6, tables: [ tableSchema({ name: 'users', columns: [ { name: 'token', type: 'string', isOptional: true }, { name: 'username', type: 'string', isOptional: true }, { name: 'name', type: 'string', isOpt...
var searchData= [ ['path',['path',['../structs___p_w_m.html#a44196e6a5696d10442c29e639437196e',1,'s_PWM']]], ['pwm',['pwm',['../structs___p_i_n.html#a6208909b76c84a75b931c78e24a0cc42',1,'s_PIN']]], ['pwm_5fpresent',['pwm_present',['../structs___p_i_n.html#ad9d4ffb703dd541884e772f4490febd9',1,'s_PIN']]] ];
# coding: utf-8 """ Isilon SDK Isilon SDK - Language bindings for the OneFS API # noqa: E501 OpenAPI spec version: 7 Contact: sdk@isilon.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from setuptools import setup, find_packages # noqa: H301 NAME = "isi-sdk-8-2-0" VE...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:50:59 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias...
"""Modules for working with data sources.""" from vectorbt.data.base import symbol_dict, Data from vectorbt.data.updater import DataUpdater from vectorbt.data.custom import SyntheticData, GBMData, YFData, BinanceData, CCXTData __all__ = [ 'symbol_dict', 'Data', 'DataUpdater', 'SyntheticData', 'GBM...
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the PyMVPA package for the # copyright and license terms. # ### ### ### ### ###...
/** * \file PnlWznmIexHeadbar.h * API code for job PnlWznmIexHeadbar (declarations) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #ifndef PNLWZNMIEXHEADBAR_H #define PNLWZNMIEXHEADBAR_H #include "ApiWznm...
#!/usr/bin/env python # -*- coding: utf-8 -*- from conans import ConanFile, CMake, tools import os class GflagsConan(ConanFile): name = "gflags" version = "2.2.1" description = "The gflags package contains a C++ library that implements commandline flags processing. " url = "https://github.com/bincraf...
import esphome.codegen as cg import esphome.config_validation as cv from esphome.components import select from esphome.const import CONF_ADDRESS, CONF_ID, CONF_LAMBDA, CONF_OPTIMISTIC from .. import ( SENSOR_VALUE_TYPE, TYPE_REGISTER_MAP, ModbusController, SensorItem, modbus_controller_ns, ) from ....
/*global mocha, MocksHelper, loadBodyHTML, MockL10n, ThreadListUI, MessageManager, WaitingScreen, Threads, Template, MockMessages, MockThreadList, MockTimeHeaders, Draft, Drafts, Thread, ThreadUI, MockOptionMenu */ 'use strict'; // remove this when https://github.com/visionmedia/mo...
# 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 writing, software # d...
#!/usr/bin/env python from __future__ import division, absolute_import, print_function from future.builtins import super from iris_sdk.models.base_resource import BaseResource from iris_sdk.models.data.lnpchecker import LnpCheckerData from iris_sdk.models.lnpchecker_response import LnpCheckerResponse XML_NAME_LNP_CH...