text
stringlengths
3
1.05M
# Copyright 2018 Google LLC # # 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, ...
/** * CoreLocation-test.js * Created by Lizzie Salita 3/12/18 */ import CoreLocation from 'models/v2/CoreLocation'; const locationData = { address1: '602 Trumball Street', address2: 'Apt 2', province: '', city: 'Pawnee', county: 'Wamapoke', countyCode: '06', stateCode: 'IN', zip5: '...
// TODO: use SCSS style variable when possible // export const mediaWidth = '1180px' // export const contactMobileDisplay = '830px' // actions export const OPEN_MENU = 'OPEN_MENU' export const CLOSE_MENU = 'CLOSE_MENU' // funcitons export const getRandIndex = limit => { return Math.floor(Math.random() * Math.floo...
// modules are defined as an array // [ module function, map of requires ] // // map of requires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the require for previous bundles parcelRequire = (function (modules, cache, entry, globalName)...
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Mon Nov 12 16:07:58 2018 @author: nmei exp3 (e3) there were 2 possible awareness ratings (unaware and aware of the orientation) """ if __name__ == "__main__": import os import pandas as pd import numpy as np import utils # define resu...
/*************************************************************************/ /* core_bind.h */ /*************************************************************************/ /* This file is part of: */ /* ...
import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) import user from './user'; import board from './board'; import list from './list'; import card from './card'; import comment from './comment'; export default new Vuex.Store({ state: { server: { staticPath: process.env.VUE_APP_SERVER_...
/*- * Public Domain 2014-2016 MongoDB, Inc. * Public Domain 2008-2014 WiredTiger, Inc. * * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary,...
import torch import torch.nn as nn import torch.optim as optim from torch.autograd import Variable from torchvision import datasets, transforms import torch.nn.functional as F import torchvision.utils as vutils import math import time import torch.multiprocessing as multiprocessing from torch.nn.parallel import data_pa...
# coding: utf-8 """ Hydrogen Nucleus API The Hydrogen Nucleus API # noqa: E501 OpenAPI spec version: 1.9.5 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import nucleus_api from nu...
var data = [ { "Country":"Liberia", "Region":"Bomi", "Organisation":"Food and Agriculture Organization", "Activity":"Agricultural Inputs", "Pcode":"LBR01", "Org type":"International NGO" }, { "Country":"Liberia", "Region":"Bomi", "Organisation":"PCI", "Acti...
/* * File: clht_lb_res.h * Author: Vasileios Trigonakis <vasileios.trigonakis@epfl.ch> * Description: lock-based cache-line hash table with resizing. * clht_lb_res.h is part of ASCYLIB * * The MIT License (MIT) * * Copyright (c) 2014 Vasileios Trigonakis <vasileios.trigonakis@epfl.ch> * ...
const ACTIONS = { CLOSE_MODAL: 'UI:MODAL:CLOSE', OPEN_MODAL: 'UI:MODAL:OPEN', SAVE_MODAL_FORM_FIELD_VALUES: 'UI:MODAL:SAVE_FIELD_VALUES', DELETE_MODAL_FORM_FIELD_VALUES: 'UI:MODAL:DELETE_FIELD_VALUES', SELECT_CONTRACT_FUNCTION: 'UI:CONTRACT_FORM:SELECT_CONTRACT_FUNCTION', ADD_SNACKBAR_NOTIFICATION: 'UI:SNA...
// // TCCoreUI.h // Technicolor // // Created by Steve Streza on 12/21/08. // Copyright 2008 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> @interface TCCoreUI : NSObject { } +(void)initUI; @end
from setuptools import setup, find_packages from icon import __version__ try: import pypandoc # pypandoc.download_pandoc() read_md = lambda f: pypandoc.convert(f, 'rst') except ImportError: print("warning: pypandoc module not found, could not convert Markdown to RST") read_md = lambda f: open(f, '...
import React from "react"; function OrderButton() { return ( <> <h2 className="pl-5 text-2xl">Step 3: Place Order</h2> <button type="submit" className="bg-orange-700 mt-5 py-2 px-6 text-3xl text-gray-200 block w-10/12 mx-auto hover:bg-orange-900" ...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import time import pytz from datetime import datetime from SFIWikiBotLib import Config from SFIWikiBotLib import WikiUtils from SFIWikiBotLib import DataLoader from SFIWikiBotLib import PresetList from SFIWikiBotLib import ItemUtils from SFIWikiBotLib import ShipUtils fro...
const fs = require('fs'); const files = [ 'src/util.js', 'src/parse.js', 'src/expr.js', 'src/model.js', 'src/node.js', 'src/attr.js', 'src/renderer.js', 'src/component.js', 'src/delegate.js', 'src/core.js' ]; const sb = []; files.forEach(file => { const code = fs.readFileSyn...
import pybaseball.utils from .playerid_lookup import playerid_reverse_lookup from .playerid_lookup import playerid_lookup from .playerid_lookup import chadwick_register from .statcast import statcast, statcast_single_game from .statcast_pitcher import statcast_pitcher from .statcast_batter import statcast_batter, statc...
const { constants } = require('../../constants'); import Page from '../page'; class Networking extends Page { get heading() { return $('[data-qa-title]'); } get ipv4Subheading() { return $('[data-qa-ipv4-subheading]'); } get ipv6Subheading() { return $('[data-qa-ipv6-subheading]'); } get drawerTitle()...
from ipaddress import ip_address import unittest from threading import Thread from ipcommunicator.control import Controller, ipv4_getter, ipv6_getter from ipcommunicator.tests._dummy_communicator import DummyCommunicator from ipcommunicator.tests._helpers import is_internet_connection, TEST_IPV4_ADDRESS_1, TEST_IPV4_A...
#!/usr/bin/env python from onebuild.main import run USAGE_HELP_MESSAGE = """usage: 1build [-h] [-l] [-v] [-i] [command] positional arguments: command Command to run - from `1build.yaml` file optional arguments: -h, --help Print this help message -l, --list Show all available commands - from `1b...
# 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...
# coding: utf-8 """ Export metadata into nitrate """ import email import os import re from functools import lru_cache import fmf from click import echo, style import tmt.utils from tmt.utils import ConvertError, markdown_to_html log = fmf.utils.Logging('tmt').logger WARNING = """ Test case has been migrated to g...
# encoding: utf-8 ################################################## # This script shows how to create animated plots using matplotlib and a basic dataset # Multiple tutorials inspired the current design but they mostly came from: # https://towardsdatascience.com/animations-with-matplotlib-d96375c5442c # Data uses the...
# -*- mode: python; encoding: utf-8 -*- # # Copyright 2013 Jens Lindström, Opera Software ASA # # 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...
from .config import * import itertools import operator import json import copy import msgpack def writeObjToDateStore(directory, name, obj): with open("{path}/{fname}".format(path=directory, fname=name), "wb") as fh: packed = msgpack.packb(obj) fh.write(packed) def retrieveObjFromStore(directory...
#pragma once #include <string.h> #if !defined(__APPLE__) && !defined(__FreeBSD__) #include <malloc.h> #endif #include <algorithm> #include <cmath> #include <cstdlib> #include <cstdint> #include <cassert> #include <type_traits> #include <memory> #include <common/bit_cast.h> #include <common/extended_types.h> #include...
// Auto-generated. Do not edit! // (in-package industrial_msgs.msg) "use strict"; const _serializer = _ros_msg_utils.Serialize; const _arraySerializer = _serializer.Array; const _deserializer = _ros_msg_utils.Deserialize; const _arrayDeserializer = _deserializer.Array; const _finder = _ros_msg_utils.Find; const _ge...
/* * NASA Worldview * * This code was originally developed at NASA/Goddard Space Flight Center for * the Earth Science Data and Information System (ESDIS) project. * * Copyright (C) 2013 United States Government as represented by the * Administrator of the National Aeronautics and Space Administration. * All Ri...
from setuptools import setup with open('requirements.txt') as f: requirements = f.read().splitlines() setup( name='nrtree', version='0.1', license='MIT', packages=['nrtree'], install_requires=requirements )
/* * Copyright (C) 2018 Free Software Foundation, Inc. * * 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 Foundation; either version 3 of the License, or * (at your option) any later version. * * Thi...
rv = #LABEL#;
/* File: QNSURLSessionDemux.h Abstract: A general class to demux NSURLSession delegate callbacks. Version: 1.1 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redist...
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef __HAL_TIMER_STM32L0_H #define __HAL_TIMER_STM32L0_H #ifdef __cplusplus extern "C" { #endif #include "stm32l0xx_hal.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include "aos/kernel.h" #define PORT_TIMER2...
# # # from __future__ import absolute_import, division, print_function, \ unicode_literals import dns.zone from dns.exception import DNSException from os.path import exists from shutil import copyfile from unittest import TestCase from unittest.mock import patch from octodns.source.axfr import AxfrSource, AxfrS...
# Generated by Django 3.0.4 on 2020-03-09 10:01 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import jobs.validators.mobile_validator import jobs.validators.pdf_validator class Migration(migrations.Migration): initial = T...
from datetime import datetime import dask.dataframe as dd import numpy as np import pandas as pd import pytest from pandas.testing import assert_frame_equal def test_case(c, df): result_df = c.sql( """ SELECT (CASE WHEN a = 3 THEN 1 END) AS "S1", (CASE WHEN a > 0 THEN a ELSE 1 END) AS...
#ifndef DataFormats_TestObjects_Thing_h #define DataFormats_TestObjects_Thing_h #include "FWCore/Utilities/interface/typedefs.h" namespace edmtest { struct Thing { ~Thing() {} Thing() : a() {} explicit Thing(cms_int32_t v) : a{v} {} cms_int32_t a; }; } // namespace edmtest #endif
import streamlit as st import math def predict_pad(): st.write("Enter Input size as N*N") n= st.slider('N',min_value=0,max_value=1080) st.write("Enter the filter size as F*F") f= st.slider('F',min_value=0,max_value=1080) st.write("No. of Filters to be applied ") nf=st.slider('Nf',m...
//commands #define READ_ID 0x9F #define READ_STATUS_REG 0x05 //#define READ_DATA_BYTES 0x13 //0x03 for 3byte mode //#define ENABLE_WRITE 0x06 //#define WRITE_BYTE 0x12 //0x02 for 3byte mode //#define ERASE_SECTOR 0xDC //0xD8 for 3byte mode //______________________Write Enable Codes__...
# 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...
// wsnmp_db.c // // WinSNMP Local Database Functions and helpers // Copyright 1995-1997 ACE*COMM Corp // Rleased to Microsoft under Contract // Beta 1 version, 970228 // Bob Natale (bnatale@acecomm.com) // #include "winsnmp.inc" SNMPAPI_STATUS SNMPAPI_CALL SnmpGetVendorInfo (OUT smiLPVENDORINFO vendorInf...
import * as React from 'react'; import styled, { keyframes } from 'styled-components'; import Page from 'src/components/Page'; export default function LoginGateCover({ onAnimationEnd }) { function handleAnimationEnd() { console.debug('[LoginGateCover]', 'handleAnimationEnd'); if (typeof onAnimationEnd === '...
# -*- coding: utf-8 -*- import scrapy from scrapy.http import Request from scrapy.spiders import CrawlSpider, Rule from scrapy_crawler.items import AutorItem, PublicacionItem from scrapy.linkextractors import LinkExtractor class crawler(scrapy.Spider): name = "crawler" start_urls = ["http://www.sac.org.ar/argen...
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <sys/epoll.h> #include <sys/socket.h> #include <arpa/inet.h> #include <string.h> #include <sched.h> #include <errno.h> #include "headers/includes.h" #include "headers/server.h" #include "headers/telnet_info.h" #include "headers/c...
import unicodedata from hashlib import pbkdf2_hmac from secrets import token_bytes from sys import platform from typing import List, Optional, Tuple import keyring as keyring_main import pkg_resources from bitstring import BitArray from blspy import AugSchemeMPL, G1Element, PrivateKey from keyrings.cryptfile.cryptfile...
// // UIImage+IMGMultiFormat.h // IMGPickerManagerDemo // // Created by admin on 2018/5/16. // Copyright © 2018年 tongfangyuan. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (IMGMultiFormat) /** * UIKit: * For static image format, this value is always 0. * For animated image format, 0 mean...
-- Write an SQL query to find the percentage of immediate orders in the table, rounded to 2 decimal places. -- The query result format is in the following example: -- Delivery table: -- +-------------+-------------+------------+-----------------------------+ -- | delivery_id | customer_id | order_date | customer_pref...
# coding=utf-8 """ Tools for ee.Image """ from __future__ import absolute_import import ee import ee.data import math from . import ee_list, date, string from ..utils import castImage from ..ui import map as mapui def _add_suffix_prefix(image, value, option, bands=None): """ Internal function to handle addPrefix ...
// Initial promise initialization function get (url) { return new Promise((resolve, reject) => { const request = new XMLHttpRequest() request.open('GET', url) request.onload = () => { if (request.status === 200) { resolve(request.response) } } request.onerror = () => { r...
const crypto = require('crypto') const Sequelize = require('sequelize') const db = require('../db') const User = db.define('user', { firstName: { type: Sequelize.STRING, allowNull: false }, lastName: { type: Sequelize.STRING }, amountSaved: { type: Sequelize.INTEGER }, plaidAccessToken: {...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2012, Jeremie Papon. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
var Index = require("../app/controls/Index"); var movie = require("../app/controls/movie"); var user = require("../app/controls/user"); var comment = require("../app/controls/comment"); var category = require("../app/controls/category"); module.exports = function(app) { // pre handle user app.use(function(req...
#pragma once /* MCPE 1.1.0.55 */ #include <string> #include <memory> #include <vector> #include <unordered_map> #include "CreativeItemCategory.h" #include "ItemInstance.h" #include "../texture/TextureUVCoordinateSet.h" #include "../util/BlockID.h" class ItemInstance; class TextureUVCoordinateSet; class UseAnimation...
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class ReportInfo(object): def __init__(self): self._case_no = None self._case_status = None self._case_times = None self._end_case_amount = None self._end_case_d...
// Copyright (c) 2012 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. #ifndef UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ #define UI_COMPOSITOR_COMPOSITOR_SWITCHES_H_ #include "ui/compositor/compositor_export.h" namespace swi...
# Copyright 2015 Novo Nordisk Foundation Center for Biosustainability, # Technical University of Denmark. # # 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/...
// FLAT Theme v2.0 function sidebarFluid() { if ($("#left").hasClass("sidebar-fixed")) { $("#left").removeClass("sidebar-fixed").css({ "height": "auto", "top": "0", "left": "auto" }); } if ($("#navigation").hasClass("navbar-fixed-top")) { $("#left...
/**************************************************************************** * NCSA HDF * * Scientific Data Technologies * * National Center for Supercomputing Applications * * Univ...
# coding: utf-8 # /*########################################################################## # # Copyright (c) 2004-2020 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to d...
// Supported with union (c) 2018 Union team #ifndef __ONPC_MESSAGES_H__VER1__ #define __ONPC_MESSAGES_H__VER1__ #include "zVob.h" #include "zBuffer.h" #include "zSound.h" #include "zModel.h" #include "oNpc.h" namespace Gothic_I_Addon { class oCNpcMessage : public zCEventMessage { public: zCLASS_DECLARATION(...
#!/usr/bin/python3 # This file is part of libmodulemd # Copyright (C) 2018 Red Hat, Inc. # # Fedora-License-Identifier: MIT # SPDX-2.0-License-Identifier: MIT # SPDX-3.0-License-Identifier: MIT # # This program is free software. # For more information on the license, see COPYING. # For more information on free softwar...
# Copyright 2016 Vijayaditya Peddinti # Vimal Manohar # Apache 2.0. from __future__ import division from __future__ import print_function import traceback import datetime import logging import re import libs.common as common_lib logger = logging.getLogger(__name__) logger.addHa...
# Diccionaro vs Lista # lista lAnimales1 = ['raton', 'perro', 'gato', 'elefante'] lAnimales2 = ['elefante', 'perro', 'raton', 'gato'] # print(lAnimales1 == lAnimales2) # Diccionarios miMascota1 = {'nombre': 'Firulais', 'edad': 5, 'raza': 'Perro'} miMascota2 = {'edad': 5, 'razad': 'Perro', 'nombre': 'Firulais'} print(...
/////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source // License. See LICENSE file in top directory for details. // // Copyright (c) 2020 QMCPACK developers. // // File developed by: Fionn Malone, malone14@llnl.gov,...
# Copyright (c) 2017-present, Facebook, 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...
import numpy as np import random from contextlib import contextmanager import pandas as pd import torch import torch.nn as nn from ta import add_all_ta_features class DenseBlock(nn.Module): def __init__(self, input_dim, out_dim, layers=3, residual=0, dropout=None, activation=nn.ReLU): super().__init__() ...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object2689449295.h" // UnityEngine.EventSystems.PointerInputModule/ButtonState[] struct ButtonStateU5BU5D_t4216630701; #ifdef __clang_...
const productData = [ { name: 'Philippine', price: 39, description: 'Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.\n\nFusce consequat. Nulla nisl. Nunc nisl.', imageUrl: 'https://robohash.org/fgykjfth', inv...
// // SKTBoxOutTransition.h // SkimTransitions // // Created by Christiaan Hofman on 22/5/2019. // Copyright Christiaan Hofman 2019. All rights reserved. #import <Foundation/Foundation.h> #import <QuartzCore/QuartzCore.h> @interface SKTBoxOutTransition : CIFilter { CIImage *inputImage; CIImage *i...
const mongoose = require('mongoose'); const schema = mongoose.Schema({ messageId: String, guildId: String, channelId: String, userId: String, day: Number, minute: Number, }); module.exports = mongoose.model('Message', schema, 'messages');
from app import app as application from flask_cors import CORS, cross_origin from app.models import * from app.views import recommendation_views # Define WSGI app object CORS(application) application.register_blueprint(recommendation_views) @application.route('/') def index(): return application.send_static_file...
var EditorUi = require('./src/EditorUi.js'); // Extends EditorUi to update I/O action states based on availability of backend var editorUiInit = EditorUi.prototype.init; EditorUi.prototype.init = function () { editorUiInit.apply(this, arguments); this.actions.get('export').setEnabled(true); // Updates action ...
from django.contrib.auth import get_user_model from django.urls import reverse from django.test import TestCase from rest_framework import status from rest_framework.test import APIClient from core.models import Ingredient, Recipe from recipe.serializers import IngredientSerializer INGREDIENTS_URL = reverse('recip...
angular.module('orderCloud') .controller('BaseCtrl', BaseController); function BaseController(CurrentUser, $state) { var vm = this; vm.currentUser = CurrentUser; vm.addContainerClass = function() { var result = false; var containedStates = ['products', 'sellerMessageSenders', 'catalogs...
const niceHash = () => window.location.hash.split('#').pop().toLowerCase() function toggleArticles (hash, articles) { function toggleArticle (index) { const article = articles[index] let className = article.node.className if (article.matcher.indexOf(hash) === -1) { if (article.node.className.indexO...
# -*- coding: utf-8 -*- # Copyright (c) 2021, VMRaid Technologies and contributors # For license information, please see license.txt from __future__ import unicode_literals # import vmraid from vmraid.model.document import Document class WorkspaceLink(Document): pass
/* * Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. */ define([ 'co-test-constants', 'co-test-runner', 'ct-test-utils', 'ct-test-messages', 'config/firewall/common/servicegroup/test/ui/views/globalServiceGrpGridView.mock.data', 'co-grid-contrail-list-model-test-suite', 'co...
import jsonrpclib URL = "http://localhost:5050/" client = jsonrpclib.ServerProxy(URL) def getPreferenceForUser(userId): preference = client.getPreferenceForUser(userId) print("Preference list: %s" % str(preference)) return preference
#!/usr/bin/env python # -*- coding: utf-8 -*- # Han Xiao <artex.xh@gmail.com> <https://hanxiao.github.io> import multiprocessing import os import random import sys import threading import time from collections import defaultdict from datetime import datetime from itertools import chain from multiprocessing import Proce...
// Copyright 2013 The Closure Library 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 requ...
__NUXT_JSONP__("/50/31", (function(a,b,c,d,e,f,g,h,i,j){return {data:[{metaTitle:d,metaDesc:e,verseId:31,surahId:50,currentSurah:{number:"50",name:"ق",name_latin:f,number_of_ayah:"45",text:{"1":" قۤ ۗوَالْقُرْاٰنِ الْمَجِيْدِ ۖ ","2":"بَلْ عَجِبُوْٓا اَنْ جَاۤءَهُمْ مُّنْذِرٌ مِّنْهُمْ فَقَالَ الْكٰفِرُوْنَ هٰذَا شَي...
/** * * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * * SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd. * Copyright (C) 2011 - 2018 SalesAgility Ltd. * * This program is free so...
"""CSV parsing and writing. [Copied from PyPy https://bitbucket-assetroot.s3.amazonaws.com/pypy/pypy/1400171824.19/641/_csv.py?Signature=cc%2Bc8m06cBMbsxt2e15XXXUDACk%3D&Expires=1404136251&AWSAccessKeyId=0EMWEFSGA12Z1HF1TZ82 and adapted to Python 3 syntax for Brython] This module provides classes that assist in the ...
// Copyright (c) 2017-2018, The Monero Project // // 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 o...
from google.cloud.bigquery import SchemaField from bq_schema.migration.schema_diff import check_schemas def test_check_schemas(): local_schema = [ SchemaField("a", "RECORD", "REQUIRED", fields=[SchemaField("b", "INTEGER")]) ] remote_schema = [ SchemaField("a", "RECORD", "REQUIRED", fields...
function setPreferableColorScheme() { getPreferredColorScheme().then(scheme => { setColorScheme(scheme); }); } function setColorScheme(scheme) { switch (scheme) { case 'dark': document.body.classList.add("dark"); break case 'light': document.body.c...
/** * @jest-environment jsdom */ import React, { Component } from 'react'; import TestUtils from 'react-dom/test-utils'; import TestBackend from 'react-dnd-test-backend'; import { DragDropContext } from 'react-dnd'; import { Provider } from 'react-redux'; import Immutable from 'immutable'; import { shallow } from 'en...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.RouterModes = exports.HistoryUtils = exports.Link = exports.Route = exports.Router = undefined; var _Router = require('./Router'); var _Router2 = _interopRequireDefault(_Router); var _Route = require('./Route'); var _Route2 = _i...
import betterResult from '../../utils/better-result/index.js'; import flat from '../../utils/flat/index.js'; import unflat from '../../utils/unflat/index.js'; import Schema from './schema.js'; export default Schema.extend({ constructor(options = {}){ Schema.apply(this, arguments); let { name, property, modelSch...
'use strict'; angular.module('21pointsApp') .controller('SettingsController', function ($scope, Principal, Auth, Language, $translate) { $scope.success = null; $scope.error = null; Principal.identity(true).then(function(account) { $scope.settingsAccount = account; }); ...
$(document).ready(function() { $('.plataformas').click(function(){ // $(this).fadeOut(); // $(this).fadeIn(); }); });
__author__ = "iiPython" __license__ = "MIT" __copyright__ = "(c) 2021 iiPython" __version__ = "1.0.7" from .logging import logger from .core.bot import PrismBot import logging logging.basicConfig(level = logging.CRITICAL)
var searchData= [ ['msb',['msb',['../union_config.html#a8ac34c174b84a90b17260847ddf749d7',1,'Config']]], ['mux',['mux',['../union_config.html#a827213c227200ea6d1495fdbd4832cbb',1,'Config']]] ];
"""auto_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
/********************************************************************************** * * Transform.h * * This file is part of Jam * * Copyright (c) 2014-2019 Giovanni Zito. * Copyright (c) 2014-2019 Jam contributors (cf. AUTHORS.md) * * Permission is hereby granted, free of charge, to any person obtaining a copy * o...
import argparse import io import logging from collections import OrderedDict from collections.abc import Mapping from datetime import date, datetime from itertools import groupby from typing import Dict, Iterable, Optional import dvc.prompt as prompt from dvc.command.base import CmdBase, append_doc_link, fix_subparser...
# Copyright 2017 The Forseti Security 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 ap...
(function(undefined) { pl.extend(ke.app.handlers._proccessEventHandlers.app.translate, { get: function(data, fn) { var from = ke.ext.util.langUtil.getFromLang(); var to = ke.ext.util.langUtil.getToLang(); ke.ext.cache.lookUpInCache(from, to, data.text, function(isEmpty, item) { ...