text stringlengths 3 1.05M |
|---|
# Lint as: python3
# Copyright 2018, The TensorFlow Federated Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... |
# coding: utf-8
#
# Copyright 2022 :Barry-Thomas-Paul: Moss
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http: // www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... |
import React, { useEffect, useState } from "react";
import { Image, Pressable, ScrollView, Text, View } from "react-native";
import { fetchAiringTVShows, fetchPlayingMovies } from "../lib/fetches";
import { nowPlayingStyles as styles } from "../Stylesheets/Styles";
import { Spinner } from "./Misc/Spinner/Spinner";
co... |
import _debounce from 'lodash-es/debounce';
import { decimalCoordinatePair, dmsCoordinatePair } from '../../util/units';
import { t } from '../../util/locale';
import { services } from '../../services';
export function uiPanelLocation(context) {
var currLocation = '';
function redraw(selection) {
s... |
import React from "react";
function Book() {
return (
<div>
<h1>Book</h1>
</div>
);
}
export default Book;
|
if (typeof nbt === 'undefined') {
nbt = require('./nbt');
}
if (typeof zlib === 'undefined') {
zlib = require('zlib');
}
var blocksNamespace = {
'minecraft:air':0,
'minecraft:stone':16,
'minecraft:granite':17,
'minecraft:polished_granite':18,
'minecraft:diorite':19,
'minecraft:polished_diorite':20,
'minecraft... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{162:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return O}));var r=n(0),i=n.n(r);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n... |
/*
* GazeJS - An implementation of the JavaScript bindings for Tobii Gaze SDK.
* https://github.com/jiahansu/GazeJS
*
* Copyright (c) 2013-2015, Jia-Han Su (https://github.com/jiahansu)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pr... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
/**
* The following block of code may be ... |
"use strict";
/*
MIT License
Copyright (c) 2017 Igor Kroitor
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, m... |
Bridge.merge(new System.Globalization.CultureInfo("ar-JO", true), {
englishName: "Arabic (Jordan)",
nativeName: "العربية (الأردن)",
numberFormat: Bridge.merge(new System.Globalization.NumberFormatInfo(), {
nanSymbol: "ليس رقمًا",
negativeSign: "-",
positiveSign: "+",
negativ... |
import sys
n,m =list(map(int,sys.stdin.readline().rstrip("\n").split(" ")))
r,c,d = list(map(int,sys.stdin.readline().rstrip("\n").split(" ")))
arr = []
cleaned = 0
directions = [(-1,0),(0,-1),(1,0),(0,1)]
if d==3:
d= 1
elif d==1:
d=3
for _ in range(n):
arr.append(list(map(int,sys.stdin.readline().rstrip("... |
import React from "react";
import { Tag } from "antd";
import PropTypes from "prop-types";
const TagListHeader = props => {
const { tags, activeTagKeys, onTagClick, editTag, ...rest } = props;
const tagColor = tag => (activeTagKeys.includes(tag.key) ? "#f50" : "blue");
const renderTag = tag => (
<span>
... |
class Solution(object):
# O(N^2) solution TLE
# def maxArea(self, height):
# """
# :type height: List[int]
# :rtype: int
# """
# maxcap = 0
# length = len(height)
# for left in range(length - 1):
# for right in range(left + 1, length):
# ... |
/**
* Created with JetBrains WebStorm.
* User: zhangjk
* Date: 13-9-2
* Time: 下午7:58
*/
GAME.msgHandler = {
rivalEnemy: null,
handlePosition: function (content) {
var position = JSON.parse(content);
this.rivalEnemy.setPosition(position);
},
handleBullet: function (content) {
... |
import tensorflow as tf
from tensorflow.keras import layers
from tensorflow.keras import Input
from tensorflow.keras import Model
import numpy as np
import operator as op
from functools import reduce
import numpy as np
import math
#AUXILIAR FUNCTIONS
def ncr(n, r):
r = min(r, n-r)
numer = reduce(op.mul, rang... |
import React, { Component } from "react";
import { Router, Switch, Route } from "react-router-dom";
import Dashboard from "./Dashboard";
import Alert from "./Alert/Alert";
export default class Routes extends Component {
render() {
return (
<Switch>
<Route path="/" exact... |
/* App config for apis
*/
const ApiConstants = {
BASE_URL: 'http://45.79.165.234:8000/',
LOGIN: 'user/login',
};
export default ApiConstants;
|
# 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, s... |
"""Definitions for the `DenseTimes` class."""
from collections import OrderedDict
import numpy as np
from mosfit.modules.arrays.array import Array
# Important: Only define one ``Module`` class per file.
class DenseTimes(Array):
"""Generate an evenly-spaced array of times for use in calculations.
This class... |
const express = require('express')
const taskService = require('./tasks/service')
const userService = require('./users/service')
const newsService = require('./news/service')
const { useAwilixControllers, awilix, scopePerRequest } = require('../../src')
const app = express()
const router = express.Router()
const conta... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Copyright (c) Merchise Autrement [~º/~] and Contributors
# All rights reserved.
#
# This is free software; you can do what the LICENCE file allows you to.
#
VERSION = '0.7.0'
def dev_tag_installed... |
var Promise = require('bluebird')
var values = require('object.values')
var entries = require('object.entries')
function promiseRipple (start, props) {
props = props || start
start = props ? start : {}
entries(props).forEach(([key, prop]) => {
prop.key = key;
});
return Promise.reduce(values(props), func... |
#-*- coding:utf-8; mode:python; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*-
class sudo_error(Exception):
def __init__(self, message, status_code = None):
super(sudo_error, self).__init__()
self.message = message
self.status_code = status_code
def __str__(self):
return self.message
|
import netpyne
# Legacy code so that new plots produce same output as originals
def plotLFP(
timeRange=None,
electrodes=['avg', 'all'],
pop=None,
plots=['timeSeries', 'PSD', 'spectrogram', 'locations'],
inputLFP=None,
NFFT=256,
noverlap=128,
nperseg=256,
minFreq=1,
maxF... |
export default function buildParkingLot({ Id, sanitize }) {
return function makeParkingLot({
id = Id.makeId(),
name,
status,
source,
modifiedOn = Date.now()
}) {
if (!Id.isValidId(id)) {
throw new Error("Parkinglot must have ID");
}
if (!name) {
throw new Error("Parkingl... |
from multiprocessing import Pool
from elasticsearch_dsl import Search
from core.elastic import client
from graph.save_cache import saveNewBrowseCache
def get_documents(index):
result = []
q = {
"query": {
"match_all": {}
}}
s = Search(using=client, index=index)
s.update_from_dict(... |
/**
* Cesium - https://github.com/AnalyticalGraphicsInc/cesium
*
* Copyright 2011-2016 Cesium Contributors
*
* 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.apa... |
sap.ui.define([
"sap/m/Text",
"sap/ui/core/TextAlign",
"sap/ui/core/format/NumberFormat",
"c1/core/util/CoreUtil",
"./FormatUtil"
],
function(Text, TextAlign,NumberFormat, CoreUtil, FormatUtil) {
"use strict";
var theClass = Text.extend("c1.core.widget.FormatText", {
metadata: {
properties: {
dataFormat: ... |
import _ from 'lodash';
// Import from "dist" because it would require and "global" would not be defined in Angular apps.
import dragula from 'dragula/dist/dragula';
import NestedArrayComponent from '../_classes/nestedarray/NestedArrayComponent';
import { fastCloneDeep } from '../../utils/utils';
export default class ... |
module.exports = function( grunt ) {
grunt.loadNpmTasks( 'grunt-contrib-compress' );
function init( params ) {
grunt.initConfig({
pkg: grunt.file.readJSON( 'package.json' ),
compress: {
main: {
options: {
archive: 'di... |
import React from 'react'
import Card from './Card'
const presets = {
aeonsEnd: {
cards: ['1', '1', '2', '2', 'Nemesis', 'Nemesis']
}
}
function aeonsEndReducer(state, action) {
if (action === 'next') {
const { deck, discardPile, originalDeck } = state
if (deck.length > 0) {
const dealtCard = deck.splice(... |
(function () {
var autolink = (function () {
'use strict';
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
var global$1 = tinymce.util.Tools.resolve('tinymce.Env');
var getAutoLinkPattern = function (editor) {
return editor.getParam('autolink_pattern', /^(https?:\/\/|ssh:\/\/|ftp:\/\/|f... |
// This file was procedurally generated from the following sources:
// - src/identifier-names/do-escaped.case
// - src/identifier-names/default/obj-prop-name.template
/*---
description: do is a valid identifier name, using escape (PropertyName)
esid: prod-PropertyDefinition
flags: [generated]
info: |
ObjectLiteral ... |
const Engine = Matter.Engine;
const World = Matter.World;
const Bodies = Matter.Bodies;
const Constraint = Matter.Constraint;
var engine, world, backgroundImg,boat;
var canvas, angle, tower, ground, cannon;
var balls = [];
var boats = [];
function preload() {
backgroundImg = loadImage("./assets/backgroun... |
import { Uniform, ShaderMaterial, ShaderLib, ShaderChunk, Matrix4, Vector3, Vector4, Color } from 'three';
import { default as RadialDistortion } from '../cameras/distortions/RadialDistortion';
function pop(options, property, defaultValue) {
if (options[property] === undefined) return defaultValue;
const value... |
// https://github.com/Gillardo/bootstrap-ui-datetime-picker
// Version: 2.6.0
// Released: 2017-05-12
angular.module("ui.bootstrap.datetimepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).constant("uiDatetimePickerConfig",{dateFormat:"yyyy-MM-dd HH:mm",defaultTime:"00:00:00",html5Types:{date:"yyyy-MM-dd... |
# -*- encoding: utf-8 -*-
"""
search_indexex.py: Creacion de los indices de busqueda.
@author Camilo Ramírez
@contact camilolinchis@gmail.com
camilortte@hotmail.com
@camilortte on Twitter
@copyright Copyright 2014-2015, RecomendadorUD
@license GPL
... |
export default function(){
return[
{title: 'About',
pages: "Rashaad Holley wants the number 25 to symbolize a rebirth of black males.Holley’s brand, Vingt Cinq, means 25 in French and represents an important age for black men in the U.S., due to inner-city violence.“There’s a popular Kanye lyric, ‘I wasn’t supposed... |
// @flow
import invariant from "invariant";
import React, { useEffect, useRef, useCallback, useState } from "react";
import { getMainAccount, getAccountName } from "@ledgerhq/live-common/lib/account";
import TrackPage from "~/renderer/analytics/TrackPage";
import { command } from "~/renderer/commands";
import ErrorDis... |
var express = require('express');
var router = express.Router();
var Order = require('../models/order');
const paypal = require('paypal-rest-sdk');
paypal.configure({
'mode': 'sandbox', //sandbox or live
'client_id': '<Enter your client id>',
'client_secret': '<Enter your client secret>'
});
function calc... |
/*
Copyright (c) 2015, salesforce.com, inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the followi... |
# Standard Library
import random
from unittest.mock import patch
# Third-Party Imports
import responses
from django.contrib.auth import get_user_model
from django.core.management import call_command
# App Imports
from core.models import AISUserSync
from core.tests import CoreBaseTestCase
User = get_user_model()
cl... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'sourcedialog', 'oc', {
toolbar: 'Font',
title: 'Font'
} );
|
/*
Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2012-2013 Michael Ficarra <escodegen.copyright@michael.ficarra.me>
Copyright (C) 2012-2013 Mathias Bynens <mathias@qiwi.be>
Copyright (C) 2013 Irakli Gozalishvili <rfobic@gmail.com>
Copyright (C) 2012 Robert Gust-Bardon <donate@rob... |
var searchData=
[
['flush',['flush',['../class_c_tlib_1_1_c_twriter.html#a5aafdbfe2569148093d4c99be1ea22af',1,'CTlib::CTwriter']]]
];
|
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import './bootstrap.min.css';
import App from './App';
import { MetaMaskProvider } from "metamask-react";
//import Meta from './Meta';
ReactDOM.render(
<MetaMaskProvider>
<App />
</MetaMaskProvider>,
document.getElementById('r... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Date: 15 Feb 2001
*
* SUMM... |
module.exports = {
presets: [
[
require.resolve('@babel/preset-env'),
{
targets: {
electron: '3.0',
},
loose: true,
},
],
require.resolve('@babel/preset-react'),
],
plugins:[
[
require.resolve('@babel/plugin-proposal-decorators'),
{ l... |
from open_alchemy import init_yaml
init_yaml(
"not-nullable-example-spec.yml", models_filename="not_nullable_models_auto.py"
)
|
// T3Docs
// Ensure our own namespace
if (typeof window.T3Docs === 'undefined') {
window.T3Docs = {};
}
function toggleCurrent (elem) {
var parent_li = elem.closest('li');
parent_li.siblings('li.current').removeClass('current');
parent_li.siblings().find('li.current').removeClass('current');
parent_l... |
class Solution:
# @param {integer[]} nums
# @return {integer}
def singleNumber(self, nums):
ans = 0
for num in nums:
ans ^= num
return ans
|
import Search from './search/search';
export default angular.module('myModule.services', [])
.factory('Search', Search);
|
import { GET_ALL_ROLES } from '../Constants'
import Dispatcher from '../Dispatcher'
import Api from '../Api'
const RolesActions = {
all: () => {
Api.roles.all()
.then(response => {
Dispatcher.dispatch({
actionType: GET_ALL_ROLES,
data: re... |
/**
* @author Michał Żaloudik <ponury.kostek@gmail.com>
*/
"use strict";
const Model = require("./model");
const Schema = require("./schema");
const Cursor = require("./cursor");
const common = require("./common");
const mongodb = require("mongodb");
const AMule = require("amule");
const Aim = require("amule-aim");
c... |
"use strict";
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 Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
var searchData=
[
['scroll_5fmovement_5fmode_5ft',['scroll_movement_mode_t',['../support__hid__mouse_8h.html#a630b05ce148b7b7896cf0c8136c808e2',1,'support_hid_mouse.h']]]
];
|
import { useEffect, useRef } from 'react';
/**
* Store the last of some value. Tracked via a `Ref` only updating it
* after the component renders.
*
* Helpful if you need to compare a prop value to it's previous value during render.
*
* ```ts
* function Component(props) {
* const lastProps = usePrevious(props... |
export { default as Navbar } from './Navbar'
export { default as Sidebar } from './Sidebar'
export { default as AppMain } from './AppMain'
export { default as TagsView } from './TagsView/index.vue'
export { default as Topbar } from './Topbar/index.vue'
|
//dependecies
var morgan = require('morgan');
var express = require('express'); //express for routing
//var debug = require('debug')('api');
var bodyParser = require('body-parser');
var colors = require('colors');
var pack = require('./package.json');
//initialize express app
var app = express();
app.use(bodyParser.j... |
/**
* Amy is Awesome!
*/
'use strict';
const app = require('app');
const ipc = require('ipc');
const BrowserWindow = require('browser-window');
const Menu = require('menu');
const angular = require('./main/lib/ng-electron/ng-bridge');
function createMainWindow () {
const win = new BrowserWindow({
width: 800,
... |
(()=>{var t={372:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});const r=s(376);const i=s(498);const n="!";const o={returnIndex:false};const arrify=t=>Array.isArray(t)?t:[t];const createPattern=(t,e)=>{if(typeof t==="function"){return t}if(typeof t==="string"){const s=r(t,e);return e=>t===e||s... |
import MainScene from './MainScene.js';
export default {
MainScene
}; |
F.route('/admin/tickets', query, ['*Ticket']);
F.route('/admin/tickets/{id}', get, ['*Ticket']);
F.route('/admin/tickets/{id}', save, ['*Ticket', 'put']);
F.route('/admin/tickets', save, ['*Ticket', 'post']);
F.route('/admin/tickets/{id}', remove, ['*Ticket', 'delete']);
function query() {
let ... |
import os
import datetime
import pandas as pd
import requests
class Source:
def __init__(self):
self.url = None
self.df = None
self.filename = None
self.ext = None
self.path = None
self.raw_path = None
def set_path(self):
self.path = os.path.join(
... |
import axios from "axios";
const url = "/api/series";
export const getSeries = (rowSelected) =>
axios(`${url}?filter[study_id]=${rowSelected}`);
export const getSeriesTags = (pbStudy) => axios(`${url}/${pbStudy}/dicom-tags`);
|
import React from 'react';
import AppBar from '@material-ui/core/AppBar';
import MenuBookIcon from '@material-ui/icons/MenuBook';
import CssBaseline from '@material-ui/core/CssBaseline';
import Grid from '@material-ui/core/Grid';
import Toolbar from '@material-ui/core/Toolbar';
import Typography from '@material-ui/core... |
/**
* Created by marija on 22.02.18.
*/
var p1 = Promise.resolve(18);
var p2 = Promise.reject(17);
var callbackArguments = [];
var argument1 = function() {
callbackArguments.push(arguments)
return true; }
;
var argument2 = ["v","0","w7lrDp","P","s","C","M"];
var argument3 = p2;
var argument4 = function() ... |
from keras.layers import Conv2D, MaxPooling2D
def VGG16(inputs):
x = Conv2D(64, (3, 3),
activation='relu',
padding='same',
name='block1_conv1')(inputs)
x = Conv2D(64, (3, 3),
activation='relu',
padding... |
import { __decorate } from "tslib";
import { Injectable } from '@angular/core';
import { SaveCartAdapter } from './save-cart.adapter';
import * as i0 from "@angular/core";
import * as i1 from "./save-cart.adapter";
var SaveCartConnector = /** @class */ (function () {
function SaveCartConnector(adapter) {
th... |
"use strict";
exports.__esModule = true;
exports.default = Axis;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireDefault(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _group = require("@visx/group");
var _scale = require("@visx/... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
/**
* Stoppage Schema
*/
var StoppageSchema = new Schema({
date: {
type: Date,
required: 'Please fill date name'
},
code: {
type: String,
required: 'Please fill code name'
},
stopp... |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I... |
/*
* Tell Electrode app archetype that you want to use ES6 syntax in your server code
*/
process.env.SERVER_ES6 = true;
// Run app server at port 3100 to enable dev proxy at port 3000
process.env.APP_SERVER_PORT = 3100;
/*
* Tell Electrode app archetype that you want to use webpack dev as a middleware
* This wil... |
function setErrorsBS() {
const NO_VALID = 'is-invalid';
var errors = document.getElementsByClassName('errors');
if (errors.length) {
const issues = errors[0].children[0].children;
for (let index = 0; index < issues.length; index++) {
const msg = issues[index].textContent.split("|");
... |
from numpy import *
import pyfits
import sys
from scipy import fftpack as ft
from DavidsNM import save_img
im = sys.argv[1]
wv = float(sys.argv[2])
f = pyfits.open(im)
resid = f[0].data
f.close()
try:
f = pyfits.open("../../psfs/IFC_PSF_%.2f_micron_50+150_mas.fits" % wv)
except:
f = pyfits.open("../../../psf... |
"""
Pytest fixtures
"""
# pylint: disable=wrong-import-position
from typing import Iterator
import pytest
from asgi_lifespan import LifespanManager
from decouple import config
from fastapi import FastAPI
from httpx import AsyncClient
from myserver.config import CONFIG
# Override config settings before loading the... |
import celery
import celery.contrib.testing.app
import celery_longterm_scheduler
import pytest
import redis
import testing.redis
CELERY = celery.Celery(task_cls=celery_longterm_scheduler.Task)
@pytest.fixture(scope='session')
def celery_worker(request):
CELERY.conf.update(celery.contrib.testing.app.DEFAULT_TEST... |
define(["exports","../../../@polymer/polymer/lib/utils/async.js","../../../@polymer/polymer/polymer-element.js"],function(_exports,_async,_polymerElement){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.SortMixin=void 0;_exports.SortMixin=superClass=>(class SortMixin extends superClass{static get prope... |
import os
import base64
import json
import copy
from unittest import mock
from Cryptodome.PublicKey import RSA
from Cryptodome.Cipher import AES
from keepercommander import rest_api, api, params, record, shared_folder, team, crypto, utils
_USER_NAME = 'unit.test@keepersecurity.com'
_USER_PASSWORD = base64.b64encode(... |
from __future__ import unicode_literals
import logging
from django.contrib.auth.models import User
from django.core.exceptions import ValidationError
from django.core.validators import validate_email
from django.db import IntegrityError, transaction
from django.db.models import Q
from django.utils import six
from djb... |
"use strict";
function TransformGizmoRotate()
{
var CircleGeometry = function(radius, facing, arc)
{
var geometry = new THREE.BufferGeometry();
var vertices = [];
var arcLen = (arc !== undefined) ? (arc * 64) : 64;
for(var i = 0; i < arcLen; i++)
{
if(facing === "x")
{
vertices.p... |
export const SET_PASSWORD_REQUEST = 'app/ConfirmAccountPage/SET_PASSWORD_REQUEST';
export const SET_PASSWORD_SUCCESS = 'app/ConfirmAccountPage/SET_PASSWORD_SUCCESS';
export const SET_PASSWORD_ERROR = 'app/ConfirmAccountPage/SET_PASSWORD_ERROR';
export const AUTH_CONFIRM_ACCOUNT_REQUEST = 'app/ConfirmAccountPage/AUTHEN... |
#!/usr/bin/env python
#
# Copyright 2016 Google Inc. 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 requir... |
import time
import logging
def timing(f):
def wrap(*args):
time1 = time.time()
ret = f(*args)
time2 = time.time()
logging.info('%s function took %0.3f ms' % (f.func_name, (time2-time1)*1000.0))
return ret
return wrap |
// Copyright (c) 2016-2017, Intel Corporation.
// Test code to use the AmbientLightSensor (subclass of Generic Sensor) API
// to communicate with the Grove Light sensor on the Arduino 101
// Hardware Requirements:
// - A Grove Light sensor
// Wiring:
// - Wire the sensor's power to Arduino 3.3V or 5V and ground t... |
!function(e){const i=e.si=e.si||{};i.dictionary=Object.assign(i.dictionary||{},{Bold:"තදකුරු","Break text":"","Bulleted List":"බුලටිත ලැයිස්තුව","Cannot upload file:":"ගොනුව යාවත්කාලීන කළ නොහැක:","Centered image":"","Change image text alternative":"",Code:"","Enter image caption":"","Full size image":"","Image resize l... |
module.exports = {
title: 'pagination',
status: 'ready',
context: {
pages: 5,
activePage: 2
},
variants: [
{
name: 'separated',
context: {
modifiers: ['separated']
}
}
]
};
|
import pyaf.Bench.TS_datasets as tsds
import pyaf.tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 5, transform = "Difference", sigma = 0.0, exog_count = 0, ar_order = 0); |
__version__ = "1.2.0"
|
"use strict";
var _Object$create = require("babel-runtime/core-js/object/create")["default"];
var _Map = require("babel-runtime/core-js/map")["default"];
Object.defineProperty(exports, "__esModule", {
value: true
});
function Fabricate(prefab) {
if (!prefab) {
throw new Error("No prefab passed to Fabricate.");
... |
webpackJsonp([1],{"7Otq":function(t,m,r){t.exports=r.p+"static/img/logo.674a0f0.png"},NHnr:function(t,m,r){"use strict";Object.defineProperty(m,"__esModule",{value:!0});var l=r("7+uW"),u={render:function(){var t=this.$createElement,m=this._self._c||t;return m("div",{attrs:{id:"app"}},[m("img",{attrs:{src:r("7Otq")}}),t... |
# -*- coding: utf-8 -*-
'''
Subversion SCM
'''
# Import python libs
import re
import shlex
import subprocess
# Import salt libs
from salt import utils, exceptions
_INI_RE = re.compile(r"^([^:]+):\s+(\S.*)$", re.M)
def __virtual__():
'''
Only load if svn is installed
'''
if utils.which('svn'):
... |
exports.level = {
"goalTreeString": "{\"branches\":{\"master\":{\"target\":\"C3\",\"id\":\"master\"},\"o/master\":{\"target\":\"C1\",\"id\":\"o/master\"}},\"commits\":{\"C0\":{\"parents\":[],\"id\":\"C0\",\"rootCommit\":true},\"C1\":{\"parents\":[\"C0\"],\"id\":\"C1\"},\"C3\":{\"parents\":[\"C1\"],\"id\":\"C3\"},\"C4... |
/*
* Copyright 2003-2006, 2009, 2017, United States Government, as represented by the Administrator of the
* National Aeronautics and Space Administration. All rights reserved.
*
* The NASAWorldWind/WebWorldWind platform is licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file... |
var classAKKU_1_1HttpResponseHeaderParser =
[
[ "HttpResponseHeaderParser", "classAKKU_1_1HttpResponseHeaderParser.html#a02c22e35db08dfe7fa4fa241b7b7a473", null ],
[ "~HttpResponseHeaderParser", "classAKKU_1_1HttpResponseHeaderParser.html#a2dc6347c4e150cfa0de662738c7857fb", null ],
[ "Parse", "classAKKU_1_1... |
// 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.
var pass = chrome.test.callbackPass;
var fail = chrome.test.callbackFail;
var assertEq = chrome.test.assertEq;
var assertTrue = chrome.test.assertTrue... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.lang['en-au']={"editor":"Rich Text Editor","editorPanel":"Rich Text Editor panel","common":{"editorHelp":"Press ALT 0 for help","browseServer":"Browse Server","url"... |
# coding: utf-8
"""
Intersight REST API
This is Intersight REST API
OpenAPI spec version: 1.0.9-255
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import sys
import os
import re
# python 2 and python 3 compatibility library
from s... |
/**
* @copyright Copyright (c) 2021 Maxim Khorin <maksimovichu@gmail.com>
*/
'use strict';
const Base = require('./FileParam');
module.exports = class S3Param extends Base {
};
module.exports.init(module); |