text
stringlengths
3
1.05M
var dir_4996e6a0412b4d8304570831a9447d79 = [ [ "MotionPlayerDraw", "dir_e9789d8f2abbdfc6e65cff72f0b25193.html", "dir_e9789d8f2abbdfc6e65cff72f0b25193" ], [ "MotionPlayerFactory", "dir_642444e391cf7db790597148be329d19.html", "dir_642444e391cf7db790597148be329d19" ], [ "MotionPlayerUpdate", "dir_5327c84ec5c25...
import{y as e,bB as t,j as n,Z as i,B as s,F as o,v as r,a2 as a,a4 as l,a7 as c,ao as m,a0 as u,aA as d,N as g,r as p,ai as v,u as f,bO as w,a9 as L,bQ as h,bR as I,aM as x}from"./vendor.880b4c6c.js";/* empty css */import{p as _,c as b,j as y,aU as C}from"./index.4926e6da.js";import{P as D}from"./index.0a...
const mongoose = require("mongoose"); const requestSchema = new mongoose.Schema({ // Required Fields. index: { type: Number, required: true, }, title: { type: String, required: true, default: "" }, description: { type: String, required: tr...
from flask_httpauth import HTTPBasicAuth from flask import g, request from datetime import datetime import pytz from app.ext.database import db # Tables from app.models.tables import User as UserTable # Integration from app.integration.user import User auth_api = HTTPBasicAuth() @auth_api.verify_password def verif...
const xml2js = require("xml2js"); async function parseString(string) { return new Promise((resolve, reject) => { xml2js.parseString(string, (err, res) => { if (err) { reject(err); } else { resolve(res); } }); }); } module.exports = { parseString };
module.exports = function check(str, bracketsConfig) { let bracketsPairs = bracketsConfig.reduce( (a, b) => ((a[b[0]] = b[1]), a), {} ); console.log(bracketsPairs); let stack = []; for (let i = 0; i < str.length; i++) { const brack = str[i]; if (brack == bracketsPairs[stack[stack.length - 1]])...
# # # Copyright (C) 2006, 2007, 2010, 2011, 2012, 2013, 2014 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: # # 1. Redistributions of source code must retain the above copyright no...
""" WSGI config for techreviewproj 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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANG...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ module.exports = { title: 'React Native Boilerplate', tagline: 'Ready to use react native architecture based...
# Copyright (c) 2018 Uber Technologies, Inc. # # 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, modify, merge, pub...
'use strict' /** * @module */ const path = require('path') const url = require('url') const { URL } = url const cloudflareMiddleware = require('cloudflare-middleware') const bytes = require('bytes') const Camp = require('@shields_io/camp') const originalJoi = require('joi') const makeBadge = require('../../badge-mak...
/* * tools.h * * Created on: 07/11/2016 * Author: Lucas Teske */ #ifndef INCLUDES_TOOLS_H_ #define INCLUDES_TOOLS_H_ #include <sys/stat.h> #include <complex> #include <cmath> // MSVC will optmize to FMA if /arch:AVX2 /GL /O2 /fp:fast #ifndef _WIN32 # if !defined(__FMA__) && defined(__AVX2__) # def...
const CustomError = require("../extensions/custom-error"); module.exports = function transform(arr) { if(!Array.isArray(arr)){ throw new Error(); } let newArr = []; for (let i=0;i<arr.length;i++){ switch(arr[i]){ case '--discard-next': i++; break; case '--discard-prev...
class HttpErrorException(Exception): def __init__(self, code: int, message: str): self.code = code self.message = message
# -*- coding: utf-8 -*- """ Created on Fri Dec 06 16:01:51 2013 @author: Krszysztof Sopyła @email: krzysztofsopyla@gmail.com @license: MIT """ ''' Simple usage of classifier ''' import sys sys.path.append("../pyKMLib/") import GPUSolvers as gslv import GPUKernels as gker import numpy as np ...
#crie uma função que mostre o sobreNome da pessea "," a primeira letra do Nome dela ex Kaio Plandel = mostre Plandel, K def inverterNome(st): nome = st.capitalize() sobre = nome.split() forma = sobre[1] print(f'{forma},{sobre[0][0]}') inverterNome('larissa gomes')
# coding=utf-8 from flask import Flask, request, render_template, session from redis import StrictRedis import os from libs.rediswrapper import UserHelper from libs.rediswrapper import MessageHelper from models.message import Message from models.user import User def dash(app): """ @param app: @type app: ...
# coding: utf-8 # DO NOT EDIT # Autogenerated from the notebook chi2_fitting.ipynb. # Edit the notebook and then sync the output with this file. # # flake8: noqa # DO NOT EDIT # # Least squares fitting of models to data # This is a quick introduction to `statsmodels` for physical scientists # (e.g. physicists, astro...
import ipywidgets as W import pytest import illusionist.widgets as IW @pytest.mark.parametrize("class_", IW.NUMERIC_SINGLEVALUE_CONTROL_WIDGETS) def test_static_values_byw_num_nolink(preprocessor, class_): preprocessor.exec_code( f""" w = W.{class_.__name__}(min=-3, max=0) lbl = W.Label() """ ) c...
// Copyright 2019 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. let { session, contextGroup, Protocol } = InspectorTest.start( "Test private class fields in scopes" ); contextGroup.addScript(` function run() { c...
import allure import pytest from data_detective_airflow.constants import SFTP_CONN_ID from data_detective_airflow.dag_generator import ResultType, WorkType @allure.feature('Works') @allure.story('Clean sftp work') @pytest.mark.parametrize('test_dag', [(ResultType.RESULT_PICKLE.value, ...
async function hello(event, context) { return { statusCode: 200, body: JSON.stringify({ message: 'Hello function' }), }; } export const handler = hello;
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'selectall', 'en-ca', { toolbar: 'Select All' } );
""" Asynchronous Advantage Actor Critic (A3C) + RNN with continuous action space, Reinforcement Learning. The Pendulum example. View more on my tutorial page: https://morvanzhou.github.io/tutorials/ Using: tensorflow 1.8.0 gym 0.10.5 """ import multiprocessing import threading import tensorflow as tf import numpy a...
module.exports = function(config){ config.set({ basePath : '../', files : [ 'app/bower_components/lodash/dist/lodash.js', 'app/bower_components/angular/angular.js', 'app/bower_components/angular-route/angular-route.js', 'app/bower_components/angular-sanitize/angular-sanitize.js', ...
""" The About Dialog """ import wx from wx.lib.wordwrap import wordwrap import wx.lib.agw.hyperlink as hl from _version import __version__ from images import bitmap_from_base64, icon_robot_b64 class AboutDlg(wx.Dialog): """ The About Dialog """ def __init__(self, parent): super(AboutDlg, self)...
import os import cv2 import h5py import parmap import argparse import numpy as np from pathlib import Path from tqdm import tqdm as tqdm import matplotlib.pylab as plt def format_image(img_path, size, nb_channels): """ Load img with opencv and reshape """ if nb_channels == 1: img = cv2.imread...
#!/usr/bin/env python # coding: utf-8 # Copyright (c) Jeremy Tuloup # Distributed under the terms of the Modified BSD License. def _jupyter_nbextension_paths(): return [{ 'section': 'notebook', 'src': 'nbextension/static', 'dest': 'ipyresuse', 'require': 'ipyresuse/extension' }...
/** * The MAC-48 address is six groups of two hexadecimal digits (0 to 9 or A to F), * separated by hyphens. * * Your task is to check by given string inputString * whether it's a MAC-48 address or not. * * @param {Number} inputString * @return {Number} * * @example * For 00-1B-63-84-45-E6, the output should...
altura = float(input('Quantos metros de altura tem a parede? ')) largura = float(input('Quantos metros de largura tem a parede? ')) print('No total, a parede tem {}m² então serão necessário {} litros de tinta'.format(altura * largura, altura * largura/2))
# # (C) Copyright IBM Corp. 2021 # (C) Copyright Cloudlab URV 2021 # # 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 ap...
/*! SmartAdmin - v1.4.1 - 2014-06-27 */!function(a){"use strict";function b(b,c){this.itemsArray=[],this.$element=a(b),this.$element.hide(),this.isSelect="SELECT"===b.tagName,this.multiple=this.isSelect&&b.hasAttribute("multiple"),this.objectItems=c&&c.itemValue,this.placeholderText=b.hasAttribute("placeholder")?this.$...
var fs = require("fs") var path = require("path") var test = require("tap").test var rimraf = require("rimraf") var mkdirp = require("mkdirp") var common = require("../common-tap.js") var pkg = path.resolve(__dirname, "config-private") var opts = { cwd: pkg } test("setup", function (t) { rimraf.sync(pkg)...
/* Copyright (C) 1998, 2000, 2003, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. 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 by the Free Software Foundation; either versio...
# This is the import torch import torch.nn as nn from torch.nn import Parameter from functools import wraps import math class WeightDrop(torch.nn.Module): def __init__(self, module, weights, dropout=0,): """ :param module: a LSTM module :param weights: :param dropout: :par...
from compat import url from hijack import settings as hijack_settings from hijack import views urlpatterns = [ url( r'^release-hijack/$', views.release_hijack, name='release_hijack' ) ] if hijack_settings.HIJACK_DISPLAY_WARNING: urlpatterns.append(url( r'^disable-hijack-wa...
// Supported with union (c) 2018 Union team #ifndef __OMENU_SAVEGAME_H__VER2__ #define __OMENU_SAVEGAME_H__VER2__ #include "oMenu_Main.h" #include "oSavegame.h" namespace Gothic_II_Classic { class oCMenuSavegame : public oCMenu_Main { public: enum oTMenuSavegameMode { SAVE, LOAD }; oTMe...
const Logger = require('@hkube/logger'); const log = Logger.GetLogFromContainer(); const clonedeep = require('lodash.clonedeep'); const parse = require('@hkube/units-converter'); const { createJobSpec } = require('../jobs/jobCreator'); const kubernetes = require('../helpers/kubernetes'); const etcd = require('../helper...
const CONTEXT_NO_OPTION_PROVIDED = '[billingIntegrationOrganizationContext:integrationOption:undefined] Billing integration has options, but it was not provided' const CONTEXT_REDUNDANT_OPTION = '[billingIntegrationOrganizationContext:integrationOption:defined] Billing integration has no options, but it\'s option was p...
#include <numa.h> #include <numaif.h> #include <stdbool.h> #include <klee/klee.h> static int NUMA_AVAILABLE = 42; static bool NUMA_NODEMASK_CREATED = false; int numa_available(void) { // Before any other calls in this library can be used numa_available() must be // called. If it returns -1, all other functions i...
const MovEtherContract = artifacts.require('./MovEtherContract.sol'); module.exports = async function (deployer, network, accounts) { const adminWallet = accounts[2]; let _token; await deployer.deploy(MovEtherContract, adminWallet, { from: adminWallet }) .then(instance => { _token = ins...
#!/usr/bin/env python from distutils.core import setup setup(name='rotary', version='0.0.0', description='Rota generator', author="Lawrence Pryn", author_email='lawrencempryn@gmail.com', url="", )
/******************************************************************************* * Copyright (C) 2016 Advanced Micro Devices, Inc. All rights reserved. ******************************************************************************/ #pragma once #ifndef BUTTERFLY_CONSTANT_H #define BUTTERFLY_CONSTANT_H //butterfl...
from functools import partial import torch from torchtext.data import Field from datasets.semeval import SemEval from datasets.sentiment140 import Sentiment140 from datasets.tsad import TSAD from utils.bucketiteratorwrapper import BucketIteratorWrapper from utils.embedprocessor import initialize_embedding from utils....
#!/usr/bin/env python # -*- coding: UTF-8 -*- # ------------------------------------------------------------------------------ # Copyright 2020. NAVER Corp. # # 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 cop...
#!/usr/bin/python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Script to generate list of seed nodes for chainparams.cpp. This script expects two text files in the directory tha...
import React from 'react'; import PropTypes from 'prop-types'; const BalanceDetails = ({balance}) => { return ( <div className="info-box grid grid-wrap"> <div> <div className="line"><label>Regular Balance</label></div> <div className="line">{balance.regular}</div...
#!/usr/bin/env python2 from distutils.core import setup setup(name='python-bitcoinrpc', version='0.1', description='Enhanced version of python-jsonrpc for use with Octocoin', long_description=open('README').read(), author='Jeff Garzik', author_email='<jgarzik@exmulti.com>', maintai...
"""xhServer URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') ...
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.2.8. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
"use strict"; /* This component is for editing Family Member History records */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Re...
const express = require('express'); const morgan = require('morgan'); const cors = require('cors'); const path = require('path'); const configEnv = require('./config.env'); const { usersRouter, familiesRouter, giftsRouter, transactionsRouter, } = require('./routers'); const getIncrementBalance = require('./cr...
/* * Please don't make your own config changes to this file! * Copy local.sample.js to local.js and make your changes there. Thanks. * * Load order: * - default.js * - {development|production|test}.js * - local.js * * NOTE: Configs are shallow copied (like `_.extend()`), not deeply copied. */ module.exports ...
import binreconfiguration.bin class Bin(binreconfiguration.bin.Bin): def remove_item(self, item): self._bins[bin_index].remove_item(item)
import { Redirect, useParams } from 'react-router' import { useEffect, useState } from 'react' import { PATH } from '../../../constants' import { Loading } from '../../loading' import { renderMediaType } from '../../media-types' import { Page, Container, Padding } from '../../layout' import { ResponsiveMasonry } from '...
// // RavenConfig.h // Raven // // Created by David Cramer on 12/28/12. // Copyright (c) 2012 Gangverk. All rights reserved. // #import <Foundation/Foundation.h> @interface RavenConfig : NSObject - (BOOL)setDSN:(NSString *)DSN; @property (strong, nonatomic) NSURL *serverURL; @property (strong, nonatomic) NSStri...
# project/api/models/__init__.py from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
module.exports = require('./string.validator')
#ifndef CLIENTMODEL_H #define CLIENTMODEL_H #include <QObject> class OptionsModel; class AddressTableModel; class TransactionTableModel; class CWallet; QT_BEGIN_NAMESPACE class QDateTime; class QTimer; QT_END_NAMESPACE enum BlockSource { BLOCK_SOURCE_NONE, BLOCK_SOURCE_NETWORK, BLOCK_SOURCE_DISK, BL...
from rest_framework.renderers import TemplateHTMLRenderer from rest_framework.response import Response from rest_framework.views import APIView from rest_framework import status from django.shortcuts import redirect from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from django.contrib.auth.mixin...
#ifndef __EVENTPIPE_CONFIGURATION_H__ #define __EVENTPIPE_CONFIGURATION_H__ #include "ep-rt-config.h" #ifdef ENABLE_PERFTRACING #include "ep-types.h" #include "ep-event-instance.h" #undef EP_IMPL_GETTER_SETTER #ifdef EP_IMPL_CONFIG_GETTER_SETTER #define EP_IMPL_GETTER_SETTER #endif #include "ep-getter-setter.h" ext...
#!/usr/bin/env python import sys, os, wget def getDataFile(dirpath, storm, url): # Create storm netcdf directory path if not os.path.exists(dirpath+storm): mode = 0o755 os.makedirs(dirpath+storm, mode) # Get infilename and download netcdf file infilename = url.strip().split('/')[-1] ...
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import llnl.util.tty as tty from llnl.util.filesystem import find from spack import * class Oras(Package): """ORAS ...
import axios from 'axios' import React, { Component } from 'react' import { Link } from 'react-router-dom' class Dashboard extends Component { constructor(props) { super(props) this.state = { items: [] } this.handleDelete=this.handleDelete.bind(this); } compo...
# -*- coding: utf-8 -*- """ Created on Wed Nov 2 10:28:18 2016 @author: chyam purpose: load images from blob storage, post to Microsoft OCR, save results, populate 'text' to .tsv file. """ ### Error: UnicodeEncodeError: 'charmap' codec can't encode character ### Fixes: at windows console, type chcp 65001, press en...
const assert = require('assert'); const path = require('path'); const fs = require('fs'); const TestDocFactory = require('./TestDocFactory'); // hack const ESParser = require('esdoc/out/src/Parser/ESParser').default; const InvalidCodeLogger = require('esdoc/out/src/Util/InvalidCodeLogger').default; const PathResolver ...
#include <stdio.h> int main() { int n, ans; int t, i; scanf("%d", &n); while(n != 0){ ans = 0; for(i = 0; i < n; i++){ scanf("%d", &t); if(t & 1) ans++; } printf("%d\n", ans); scanf("%d", &n); } return 0; }
const mongoUtil = require('./mongo-util'); const spinner = require('./spinner'); const farseek = require('./farseek'); function AddNewItem(name, path) { (async () => { spinner.start('Loading paths'); let paths = await mongoUtil.GetPaths(); spinner.start('Testing for name duplicates'); ...
# 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 ...
window.i18nMessages = { en: { login: { durak: 'Durak', an_online_multiplayer_card_game: 'An online multiplayer card game', nickname: 'nickname', play: 'Play', websockets_are_not_supported: 'Sorry, you can\'t play because you device does not support...
/* ©Xiler - Arthurdw Xiler is under a CC0-1.0 License (View the license here: https://legal.xiler.net/license) By proceeding to this site you agree with our ToS. (View the tos here: https://legal.xiler.net/tos) */ import React from "react"; const root = document.documentElement; async function performClick() { c...
from django.shortcuts import get_object_or_404 from rest_framework import mixins, viewsets from dateflix_api.models import Movie, ProfileLike, User from dateflix_api.serializers import ProfileSerializer class ProfileViewSet(mixins.ListModelMixin, viewsets.GenericViewSet): """ API endpoint that allows profile...
/** * Copyright (c) Microsoft. 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 applicable law or ag...
define(function (require, exports, module) { var __itemtmp = "<div class='qitem line' id='{2}' qtype='{3}' qnic='{4}'><h6>{0}</h6><div class='rowctl'>{1}</div></div>"; exports.init = function () { initData(); } function initData() { var id = getUrlParameter("id"); if (id) { // 编...
# PYTHON # MANISH DEVGAN # https://github.com/gabru-md # use OpenCV to add one image on another! # Impose with transparency! # same way like there is 'opacity' or 'rgba()' in CSS #BEGIN #IMPORTING MODULES import cv2 import numpy as np # reading images from the directory # using cv2.imread() _im1 = cv2.imread("PA...
# The MIT License (MIT) # # Copyright (c) 2015 Benjamin Morrise # # 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...
from concurrent.futures import ThreadPoolExecutor from urllib.request import urlopen from urllib.parse import quote import urllib.error as error import pandas as pd import ssl import json import os from ratelimit import limits, sleep_and_retry ctx = ssl.create_default_context() ctx.check_hostname = False ctx.verify_mo...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // 'License'); you may not use this f...
import blog from './blogController' import routes from './blogRoutes' export default { ...blog, routes: routes }
'use strict' const Joi = require('joi') const greenStatuses = [ 'fixed', 'passed', 'passing', 'succeeded', 'success', 'successful', ] const orangeStatuses = ['partially succeeded', 'unstable', 'timeout'] const redStatuses = ['error', 'failed', 'failing', 'infrastructure_failure'] const otherStatuses = ...
# $Id$ """ISO Transport Service on top of the TCP (TPKT).""" import dpkt # TPKT - RFC 1006 Section 6 # http://www.faqs.org/rfcs/rfc1006.html class TPKT(dpkt.Packet): __hdr__ = ( ('v', 'B', 3), ('rsvd', 'B', 0), ('len', 'H', 0) )
#pragma once #include <stitching/core/hypothesis.h> #include <boost/property_tree/ptree.hpp> #include <memory> #include <opencv2/core/mat.hpp> #include <opencv2/opencv.hpp> #include <vector> namespace stitching::core { class IHomography { public: virtual ~IHomography() = default; virtual void configure(const ...
const mongoose = require('mongoose'); const { Schema } = mongoose; const bcrypt = require('bcrypt'); const Order = require('./Order'); const userSchema = new Schema({ firstName: { type: String, required: true, trim: true, }, lastName: { type: String, required: true, ...
# Copyright (c) 2014-present PlatformIO <contact@platformio.org> # # 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 PyQt5.QtWidgets import QLabel, QWidget, QGridLayout, QCheckBox, QGroupBox from InftyDoubleSpinBox import InftyDoubleSpinBox from PyQt5.QtCore import pyqtSignal, Qt import helplib as hl import numpy as np class dataControlWidget(QGroupBox): showErrorBars_changed = pyqtSignal(bool) ignoreFirstPoint_changed ...
import test from 'tape'; import Immutable from 'immutable'; import partial from 'lodash/partial'; import reducer from '../../../src/reducers/clients'; import reducerTest from '../../helpers/reducerTest'; import { createSnapshot, snapshotCreated, snapshotExportError, exportProject, projectExported, projectEx...
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2014 IBM Corporation # Copyright 2015-2017 Lenovo # # 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/licens...
# # NopSCADlib Copyright Chris Palmer 2020 # nop.head@gmail.com # hydraraptor.blogspot.com # # This file is part of NopSCADlib. # # NopSCADlib is free software: you can redistribute it and/or modify it under the terms of the # GNU General Public License as published by the Free Software Foundation, either version 3 of ...
import attemptToGetMenuOverlayFromMenuIcon from 'content/facebook/utils/menu/pre2020/attemptToGetMenuOverlayFromMenuIcon'; import * as ml from 'content/facebook/utils/menu/makeListener'; import getMenuOverlayFromMenuIcon from 'content/facebook/utils/menu/pre2020/getMenuOverlayFromMenuIcon'; jest.mock('content/faceboo...
import FollowAuditView from './index.vue' export default FollowAuditView
import React from "react"; import { StyleSheet } from "react-native"; import { Block, Text, theme } from "galio-framework"; import Icon from "./Icon"; import argonTheme from "../constants/Theme"; class DrawerItem extends React.Component { renderIcon = () => { const { title, focused } = this.props; switch (...
# # cfg file to run the L1GtTriggerMenuLite producer # with the options set in UserOptions_cff.py # # import FWCore.ParameterSet.Config as cms import sys process = cms.Process("L1T") print '\n' from L1Trigger.GlobalTriggerAnalyzer.UserOptions_cff import * if errorUserOptions == True : print '\nError returned b...
"""Functions of a sampled quantities.""" import logging import numpy as np import opt_einsum import mathx from mathx import matseq from . import sa, math from .. import bvar logger = logging.getLogger(__name__) def shift_r_center_1d(r_support, num_points, Er, delta_r_center, q_center, k_on_roc = 0, axis = -1): r =...
import React, { Component } from 'react'; import 'bootstrap/dist/css/bootstrap.min.css'; import { connect } from 'react-redux'; import { getDocument,createDocument } from '../../src/actions/document-actions'; class DocumentListView extends Component { constructor(props) { super(props); this.onGe...
# Copyright 2015 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...
!function(a){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return a[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=a,e.c=n,e.d=function(a,n,r){e.o(a,n)||Object.defineProperty(a,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(a){var n=a&&a.__esModule?function(){return ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import simplejson as json from alipay.aop.api.response.AlipayResponse import AlipayResponse class KoubeiMerchantDeviceHeartbeatUploadResponse(AlipayResponse): def __init__(self): super(KoubeiMerchantDeviceHeartbeatUploadResponse, self).__init__() sel...
import os import shutil from pathlib import Path from typing import Any, Dict, List, Optional, Tuple import yaml from blspy import PrivateKey from chia import __version__ from chia.consensus.coinbase import create_puzzlehash_for_pk from chia.ssl.create_ssl import ( ensure_ssl_dirs, generate_ca_signed_cert, ...
#ifndef __ARMV7_H__ #define __ARMV7_H__ /* * COPYRIGHT (C) 2013-2014, Shanghai Real-Thread Technology Co., Ltd * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
#ifndef WEB_H_ #define WEB_H_ #include "Arduino.h" class Web { public: Web(const char* ssid, const char* wiFiPassword, const char* hostname, const uint16_t port, const char* otaPassword); virtual ~Web(); void setup(); void loop(); private: const char* ssid; const char* wiFiPassword; const ch...