text stringlengths 3 1.05M |
|---|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var React = _interopRequireWildcard(require("react"));
var PropTypes = _interopRequireWildcard(require("prop-types"));
var _reactLifecyclesCompat = require("react-lifecycles-compat");
var _classnames = _inte... |
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['kaitai-struct/KaitaiStream'], factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = fact... |
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="DSTRF",
version="0.2",
author="Menoua Keshishian",
author_email="mk4011@columbia.edu",
description="Dynamic Spectrotemporal Receptive Field (dSTRF) Analysis Toolbox",
... |
def parameter_path(name: str, key: str = None, unpack_json: bool = False) -> str:
if key:
if unpack_json:
return f"{{{{= jsonpath(inputs.parameters['{name}'], '$.{key}') }}}}"
return f"{{{{= toJson(jsonpath(inputs.parameters['{name}'], '$.{key}')) }}}}"
return f"{{{{inputs.parameters... |
function ajaxPost(data, success) {
$.ajax({
url: 'ajax/AjaxServlet',
type: 'post',
async: false,
data: data,
dataType: 'json',
success: success,
error: function (args) {
alert('ajax error!');
console.log(args);
}
})
}
|
/*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If hot
* reloading is not a necessity for you then you can refactor it and remove
* the l... |
from tkFileDialog import askopenfilename, asksaveasfilename, askdirectory
class BaseFileDialog(object):
def __init__(self, parent, func, **kwargs):
self._parent = parent
self._opts = {'parent':parent._frame}
self._filter = ''
self._filename = None
self._filenames = ()
... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
deepmacDetailCallback("70b3d5c92000/36",[{"a":"Gaildorfer Strasse 15 Backnang DE 71522","o":"Unitro Fleischmann","d":"2015-08-30","t":"add","s":"ieee","c":"DE"}]);
|
import React from 'react';
import { shallow, mount } from 'enzyme';
import { Redirect } from 'react-router-dom';
import Login from '../Login';
import { setJwtToken, hasValidJwtToken } from '../../../utils/auth';
import { COGNITO_LOGIN_FORM } from '../../../constants';
jest.mock('../../../utils/auth');
describe('logi... |
# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... |
# Copyright 2021 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, ... |
(window.webpackJsonpFileIcons=window.webpackJsonpFileIcons||[]).push([[719],{686:function(q){q.exports={viewBox:"0 0 1024 1024",font:"file-icons",code:"ea93",ref:"tortoisesvn",path:"M935 342q-6 16-18 16t-18-16q-6-16 0-32t18-16q12 0 18 16t0 32m42-61q-11 0-16.5 15.5t.5 31.5q5 15 16 15t17-15q5-16-.5-31.5T977 281m13 94q11-... |
// @flow
import { getSourceNameSignalingFeatureFlag } from '../base/config';
import { isMobileBrowser } from '../base/environment/utils';
import { MEDIA_TYPE } from '../base/media';
import {
getLocalParticipant,
getParticipantById,
getParticipantCountWithFake,
getPinnedParticipant
} from '../base/parti... |
"""
Module to run tests on arcoadd
"""
import os
import pytest
import numpy as np
from pypeit import msgs
from pypeit.tests.tstutils import cooked_required
from IPython import embed
@cooked_required
def test_cooked_version():
# TODO: Use pygit2 to both add the branch name when constructing
# Cooked and here... |
/* eslint-disable @typescript-eslint/no-var-requires */
const fs = require('fs')
const path = require('path')
const { noElPrefixFile } = require('./common')
const outsideImport = /import .* from '..\/(.*?)\/src\/.*/
// global.d.ts
fs.copyFileSync(
path.resolve(__dirname, '../typings/vue-shim.d.ts'),
path.resolve(... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[357],{3842:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return o}));r(6),r(7);var n=r(0);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&... |
import Ember from 'ember';
import deleteMutation from 'wayf-apps/gql/mutations/deleteAdminUser';
import resetMutation from 'wayf-apps/gql/mutations/resetAdminUserPassword';
import listUsersQuery from 'wayf-apps/gql/queries/listAdminUsers';
export default Ember.Component.extend({
apollo: Ember.inject.service(),
cl... |
const Devices = require('../../modules/devices/device.models')
const Sensors = require('../../modules/sensors/sensor.models')
const Readings = require('../../modules/readings/reading.models')
const { updateOnlineStatus } = require('../../modules/devices/device.services')
const io = require('../sockets')
const onPing =... |
export default /* glsl */`
vec4 packFloat(float depth) {
const vec4 bit_shift = vec4(256.0 * 256.0 * 256.0, 256.0 * 256.0, 256.0, 1.0);
const vec4 bit_mask = vec4(0.0, 1.0 / 256.0, 1.0 / 256.0, 1.0 / 256.0);
// combination of mod and multiplication and division works better
vec4 res = mod(depth * bit_... |
"use strict"; x = { set f(eval) {} } |
import { GlModal } from '@gitlab/ui';
import { nextTick } from 'vue';
import ActionsButton from '~/vue_shared/components/actions_button.vue';
import LocalStorageSync from '~/vue_shared/components/local_storage_sync.vue';
import WebIdeLink from '~/vue_shared/components/web_ide_link.vue';
import ConfirmForkModal from '~... |
import AuthenticatorMYSQL from '../../../../../controller/database/control'
import Logged from '../../../../../components/front/logged/class'
const Mysql = new AuthenticatorMYSQL()
const LoggedAuth = new Logged()
export default async function(req,res){
/**
* @constant UserID
*
* Verifica o token e tambem... |
module.exports = {
"env": {
"browser": true,
"es2021": true,
"node": true,
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-debugger": "off",
"no-unused-vars": [1, { 'argsIgnorePattern': '_' }],
"no-empty... |
// var store = new Vuex.Store({
// });
import Vue from 'vue';
let loadPossible = false;
let aclContainer = document.getElementById('acl');
if (aclContainer != null) {
loadPossible = true;
}
import VueResource from 'vue-resource';
Vue.use(VueResource);
if (loadPossible) {
var VueQuery = require('vuequery');
... |
import React from 'react';
import { Mutation } from 'react-apollo';
import gql from 'graphql-tag';
import styled from 'react-emotion';
import UserContext from '../../context/UserContext';
import Loading from './Loading';
import Error from './Error';
import CreateAccountForm from './CreateAccountForm';
import { Heading... |
import torch
from torch import nn
from torch.nn import functional as F
from torchvision import models
from torch.autograd import Function
import torchvision.models as models
from torch.nn.utils.rnn import pack_padded_sequence
from copy import deepcopy as copy
from pdb import set_trace
VOCAB_SIZE = 2
class BatchNormCo... |
// Copyright 2018 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Unicode property escapes for `Script_Extensions=Telugu`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Un... |
import Avatar from '~/components/Avatar';
import React, { Fragment } from 'react';
import { UncontrolledTooltip } from 'reactstrap';
import PropTypes from '~/utils/propTypes';
const HorizontalAvatarList = ({
tag: Tag,
avatars,
avatarProps,
reversed,
...restProps
}) => {
let leng = reversed ? avatars.length... |
!function(){function e(e,l){try{for(var t in l)Object.defineProperty(e.prototype,t,{value:l[t],enumerable:!1})}catch(n){e.prototype=l}}function l(e){for(var l=-1,t=e.length,n=[];++l<t;)n.push(e[l]);return n}function t(e){return Array.prototype.slice.call(e)}function n(){}function i(e){return e}function a(){return this}... |
export * from './user.store'; |
import React from "react";
import PropTypes from "prop-types";
import Item from "./Item";
const ItemList = props => {
return (
<div className=''>
<h3 className='text-2xl font-bold border-b mb-2'>Item List</h3>
<ul className='flex-auto scrolling-auto overflow-auto px-3 pb-4'>
{props.items.map(item => {
... |
import angular from 'angular';
import uiRouter from 'angular-ui-router';
import projectsComponent from './projects.component';
let projectsModule = angular.module('projects', [
uiRouter
])
.config(($stateProvider) => {
"ngInject";
$stateProvider
.state('projects', {
url: '/projects',
com... |
/**
* 初始化 Tree Table 的封装
*/
(function () {
var TreeTable = function (tableId, url, columns) {
this.btInstance = null; //jquery和bootstrapTreeTable绑定的对象
this.bstableId = tableId;
this.url = url;
this.method = "GET";
this.columns = columns;
this.data = {}... |
# -*- coding: utf-8 -*-
# Copyright (c) 2020, jan and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
# import frappe
from frappe.model.document import Document
class InspectionChecklist(Document):
pass
|
from django.conf.urls import patterns, include, url
from django.contrib import admin
from store import views as store_views
urlpatterns = [
url(r'^$', store_views.profile, name='profile'),
url(r'^store/', include('store.urls')),
url(r'^sales/', include('sales.urls')),
url(r'^account/', include('accoun... |
def game_over(screen):
return 'game' |
// Copyright 2017 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.
UI.GlassPane = class {
constructor() {
this._widget = new UI.Widget(true);
this._widget.markAsRoot();
this.element = this._widget.element;
... |
# -*- coding=utf-8 -*-
from __future__ import absolute_import, unicode_literals
from .compat import (
NamedTemporaryFile,
StringIO,
TemporaryDirectory,
partialmethod,
to_native_string,
)
from .contextmanagers import (
atomic_open_for_write,
cd,
open_file,
replaced_stream,
spinne... |
'use strict';
var soajs = require('soajs');
var Mongo = soajs.mongo;
var mongo;
var dbName = "momento";
var collName = "locations";
var BookingCollName = "booking";
function checkIfMongo(soajs) {
if (!mongo) {
mongo = new Mongo(soajs.registry.coreDB[dbName]);
}
}
function validateId(id, cb) {
try {
return cb(... |
const mongoose = require('mongoose')
const bcrypt = require('bcrypt')
userSchema = mongoose.Schema({
username: String,
password: String
})
userSchema.methods.isPasswordValid = function(password){
return bcrypt.compareSync(password,this.password)
}
userSchema.methods.generateHash = function(password){
... |
export const INSTANCE_LOCATOR = "v1:us1:a6fa84cb-d781-46f2-a2f4-8584479279e2";
export const KEY_LOCATOR = "a6fa84cb-d781-46f2-a2f4-8584479279e2";
export const TOKEN_PROVIDER_URL = "https://us1.pusherplatform.io/services/chatkit_token_provider/v1/" + KEY_LOCATOR + "/token"; |
from operator import attrgetter
from django.views.generic import ListView, TemplateView, DetailView
from django.views.generic.edit import CreateView, UpdateView, DeleteView
from django.http import Http404
from django.urls import reverse_lazy
from django.contrib import messages
from django.contrib.auth.mixins import Log... |
#!/usr/bin/env python
#
# Copyright 2014 Martin Cochran
#
# 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 la... |
"""
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft Corporation (“Microsoft”) grants you a nonexclusive, perpetual,
royalty-free right to use, copy, and modify the software code provided by us
("Software Code"). You may not sublicense the Software Code or any use of it
(except to your affiliates... |
function start() {
cm.warp(130000000);
cm.dispose();
} |
# Copyright (c) 2017 Sony Corporation. 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 applicabl... |
import os
#from chromogenic.clean import remove_ldap, remove_vnc, remove_sensu
from chromogenic.common import prepare_chroot_env, remove_chroot_env,\
run_command,\
rebuild_ramdisk,\
append_line_in_files,\
... |
const APP_PREFIX = 'Click-Pocket';
const VERSION = 'v1';
const CACHE_NAME = APP_PREFIX + VERSION;
const DATA_CACHE_NAME = "data-cache" + VERSION;
const FILES_TO_CACHE = [
"./",
"./index.html",
"./css/styles.css",
"./js/idb.js",
"./js/index.js",
"./manifest.json",
"./icons/icon-72x72.png",
... |
#! usr/bin/python3
import RPi.GPIO as GPIO
from time import sleep, time
# initialize GPIO pins
GPIO.setwarnings(False)
GPIO.cleanup()
GPIO.setmode(GPIO.BCM)
# Uses the magnetic switches to determine if the door is open
GPIO.setup(22, GPIO.IN) # position_sensor A
GPIO.setup(23, GPIO.IN) # position_sensor B
# Relay ... |
/*!
* Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affiliates. 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... |
// API Route
const express = require("express");
const router = express.Router();
const getProfile = require("../helper/calc");
router.get("/", (req, res) => {
res.status(404).json({ error: "NOT FOUND" });
});
router.get("/:username", async (req, res) => {
const username = req.params.username.toString();
const... |
// Copyright 2019 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 ... |
/*
1. edit function if required
2. title
3. content
4. action and events
5. modal t/false
6. closeable t/f
7. width
8. add div for dialog on pageX
*/
// <div id="dialog_1">................</div>
// dialog_1 events
function onInitOpen_d1(e) {
//alert("event :: initOpen");
}
function onOpen_d1(e) {
//alert("event ::... |
function rockPaperScissors(n) {
// outcomes array is the outer array that will
// hold all of the smaller arrays
const outcomes = [];
const plays = ["rock", "paper", "scissors"];
// inner recursive helper function
function findOutcome(roundsLeft, result) {
// base case
if (roundsLeft === 0) {
... |
let restaurants,
currentRestaurants,
boroughs,
cuisines
var newMap
var markers = []
/**
* As soon as the page is loaded:
* 1. Register the service worker
* 2. Initialize the map
* 3. Fetch list of Boroughs and Cuisines
*/
document.addEventListener('DOMContentLoaded', (event) => {
//registerServiceWorker(... |
# encoding: utf-8
from flask import Flask, render_template, request, redirect, url_for, session
import config
from models import User, Question, Answer
from exts import db
from decorators import login_required
import csv
import random
app = Flask(__name__)
app.config.from_object(config)
db.init_app(app)
@app.route(... |
import authentication, { TokenService as token, LocalService as local } from 'feathers-authentication';
export default function authenticationService() {
const app = this;
const config = app.get('config');
app.configure(authentication(config.auth))
.configure(token())
.configure(local());
const serv... |
import pathlib
from setuptools import setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.rst").read_text()
setup(
name="IPythonClipboard",
version="1.0b2",
packages=["ipython_clipboard"],
license="MIT",
author="Carlos G. Trejo",
author_email="carlos.guadarrama.trejo@gmail.com"... |
import argparse
import pathlib
import pytest
from itunesdb.cli import data
from itunesdb.cli import load
from itunesdb.cli.service import extraction
from itunesdb.cli.service import persistence
from itunesdb.test import libxml
from itunesdb.test import retrieval
from itunesdb.test import validate
########
# wire #
#... |
var connect = require('../');
describe('patch', function(){
describe('"header" event', function(){
describe('with .setHeader()', function(){
it('should be emitted', function(done){
var app = connect();
app.use(function(req, res, next){
res.on('header', function(){
re... |
import pkg from './package.json'
import { defineConfig } from 'vite'
import Banner from 'vite-plugin-banner'
import copy from 'rollup-plugin-copy'
import { resolve } from 'path'
export default ({ mode }) => {
return defineConfig({
plugins: [
Banner(
`/* eslint-disable */\n/**\n * name: ${pkg.name}\... |
from moesifwsgi import MoesifMiddleware
from flask import Flask, jsonify, abort, make_response, request
app = Flask(__name__)
def identify_user(app, environ):
return '12345'
def identify_company(app, environ):
return '67890'
def get_token(app, environ):
# If you don't want to use the standard WSGI sessi... |
const Color = Object.freeze({
red: 'red',
yellow: 'yellow',
green: 'green',
blue: 'blue'
})
const Size = Object.freeze({
small: 'small',
medium: 'medium',
large: 'large',
huge: 'huge'
})
class Product {
constructor(name, color, size) {
this.name = name;
this.color ... |
const basePath = "http://localhost:9401";
const measureFrequencyStart = 20;
let measureFrequencyStop = 20000;
let run = false;
let currentRequests = 0;
let steps = [];
let stepPosition = 0;
let currentFrequency = 0;
let currentAmplitude = 0;
let gainLeftArray = [];
let gainRightArray = [];
let powerLeftArray = [];
l... |
import React from 'react';
import {
Draggable,
DragDropContext,
Droppable
} from 'react-beautiful-dnd';
import styled from 'styled-components';
import initialData from 'initialData';
const ColumnsContainer = styled.div`
display: flex;
flex-direction: row;
margin: 10px;
`;
const Column = styled.div`
bord... |
const express = require('express');
const next = require('next');
const fs = require('fs');
const matter = require('gray-matter');
const port = parseInt(process.env.PORT, 10) || 3001;
const dev = process.env.NODE_ENV !== 'production';
const app = next({ dev });
const handle = app.getRequestHandler();
const posts = [
... |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'save', 'az', {
toolbar: 'Yadda saxla'
} );
|
# Copyright 2015 Open Source Robotics Foundation, 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... |
const outdent = require('outdent')
// this is here so this works: https://marketplace.visualstudio.com/items?itemName=zjcompt.es6-string-javascript
const javascript = outdent
const getAngularBuilder = ({ functionServerPath }) => javascript`
const { builder } = require('@netlify/functions')
const { render } = requ... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { withTheme } from 'styled-components';
import KnobSvg from '../helpers/KnobSvg.react';
import Container from '../styled/Knob.styled';
import LabelContainer from '../styled/shared/LabelContainer.styled';
import { light, TRACK_TOTAL_DE... |
#
# This file is a part of the normalize python library
#
# normalize is free software: you can redistribute it and/or modify
# it under the terms of the MIT License.
#
# normalize is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FI... |
from invoke import task
@task
def upload(ctx):
ctx.run('rm -rf dist build *.egg-info')
ctx.run('python setup.py bdist')
ctx.run('python setup.py bdist_wheel')
ctx.run('twine upload dist/*')
ctx.run('rm -rf dist build *.egg-info')
@task
def clean(ctx):
ctx.run('rm -rf dist build *.egg-info')... |
# ~*~ encoding: utf-8 ~*~
from __future__ import absolute_import
from __future__ import unicode_literals
import io
import os
import random
import shutil
import tempfile
from six import StringIO
from compose import progress_stream
from tests import unittest
class ProgressStreamTestCase(unittest.TestCase):
def t... |
'use strict'
const path = require('path')
const model = require(path.join(__dirname, 'model.js'))
module.exports.showPeople = function (rowsObject) {
let markup = ''
for (let rowId in rowsObject) {
let row = rowsObject[rowId]
markup += '<div class="row justify-content-start">' +
'<div class="col-xs-2 e... |
/*
* API types, object contains URL address (in string) for each API
*/
// TODO create a config for frontend and store address there
const HOSTNAME = "http://192.168.0.101:3000/";
const API_types = {
LOGIN: HOSTNAME + "login",
GOOGLE_LOGIN: HOSTNAME + "auth/google",
LOGOUT: HOSTNAME + "logout",
REGI... |
const path = require('path')
const webpack = require('webpack')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const project = require('../project.config')
const inProject = path.resolve.bind(path, project.basePath)
const inProjectSrc = file =... |
/*! jQuery v3.0.0 | (c) jQuery Foundation | jquery.org/license */
!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?w... |
class InstagramInfo {
constructor(info) {
this.lastFetch = new Date(info.last_fetch_time);
this.completedInitialFetch = info.completed_initial_fetch;
this.mediaCount = info.media_count;
if (info.photos) this.photos = info.photos.map((photo) => new InstagramPhoto(photo));
}
}
class InstagramPhoto {
constr... |
(function () {
/*global describe, it*/
'use strict';
var should = require('should'),
express = require('express'),
supertest = require('supertest'),
bodyParser = require('body-parser'),
cors = require('../lib/index');
var dynamicOrigin,
app1,
app2,
text = 'Lorem ipsu... |
var searchData=
[
['latticememorymanager_23141',['LatticeMemoryManager',['../classoperations__research_1_1_lattice_memory_manager.html',1,'operations_research']]],
['latticememorymanager_3c_20operations_5fresearch_3a_3aset_2c_20costtype_20_3e_23142',['LatticeMemoryManager< operations_research::Set, CostType >... |
import React, { PureComponent } from "react";
import Person from "./Person/Person";
class Persons extends PureComponent {
// static getDerivedStateFromProps(props, state) {
// console.log("Persons.js --> Get derived state from props function");
// return state;
// }
// shouldComponentUpdat... |
# -*- coding: utf-8 -*-
import pygame
import pygame.locals
from random import randrange
print("Módulos importados com sucesso")
try:
pygame.init()
print("Start")
except:
print("Start")
tamanho = 10
largura = 600
altura = 600
placar = 40
preto=(0,0,0)
vermelho = (227,47,34)
verde = (66,204,39)
branco = (2... |
/*!
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
*/
'use strict';
const bedrock = require('bedrock');
const {config} = bedrock;
const {httpClient} = require('@digitalbazaar/http-client');
const helpers = require('./helpers');
const {agent} = require('bedrock-https-agent');
const didVeresOne = ... |
/* */
var createCurry = require('../internal/createCurry');
var CURRY_FLAG = 8;
var curry = createCurry(CURRY_FLAG);
curry.placeholder = {};
module.exports = curry;
|
var searchData=
[
['transformcomponent_2eh',['TransformComponent.h',['../_transform_component_8h.html',1,'']]]
];
|
# This code is part of Qiskit.
#
# (C) Copyright IBM 2019.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivative wo... |
const brain = require('../node_modules/brain.js/dist/brain-browser').default;
import Pickr from '@simonwep/pickr'
import '@simonwep/pickr/dist/themes/nano.min.css'
const net = require('./training/next');
const pickrButton = Pickr.create({
el: '.pickr',
theme: 'nano', // or 'monolith', or 'nano'
default: '#0069FF... |
ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},{token:"commen... |
// checkbox checked
var san = require('../../..');
var MyComponent = san.defineComponent({
template: '<div>'
+ '<b title="{{online}}">{{online}}</b>'
+ '<select value="{=online=}">'
+ '<option value="{{p}}" san-for="p in persons">{{p}}</option>'
+ '</select>'
+ '</div>'
});... |
import * as actions from './actions';
import reducer from './reducers';
import * as selectors from './selectors';
export default { actions, reducer, selectors };
|
#!"C:\Programming\Big Data System Design\Project-Big-Data-System-Design\venv\Scripts\python.exe"
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7'
__requires__ = 'setuptools==39.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
... |
/**
* Created by Ebates on 17/3/14.
* CouponDetailPageListReducer
*/
const {Record, fromJS,} = require('immutable') //导入 Immutable.js 的 Record API
import InitialState, {
InitListState,
ListToLoadingState,
ListSuccesState,
ListFailureState,
ListRemoveOneItem,ListWillUnmount,ListRemoveNumsItem,Li... |
/*
* jQuery Hotkeys Plugin
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Based upon the plugin by Tzury Bar Yochay:
* https://github.com/tzuryby/jquery.hotkeys
*
* Original idea by:
* Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/
*/
(function(... |
export default function (variables) {
return {
'.theme-selector__icon': {
fontSize: variables.fontSizes.button
}
}
}
|
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2010 Doug Hellmann. All rights reserved.
#
"""Checking the sign of a value.
"""
#end_pymotw_header
import math
HEADINGS = ('f', 's', '< 0', '> 0', '= 0')
print '{:^5} {:^5} {:^5} {:^5} {:^5}'.format(*HEADINGS)
print '{:-^5} {:-^5} {:-^5} {:-^5} {:-^5}... |
import React from 'react';
import PropTypes from 'prop-types';
import Collapsible from 'react-collapsible';
import withStyles from 'isomorphic-style-loader/lib/withStyles';
import ReactAudioPlayer from 'react-audio-player';
import s from './AudioAnswer.css';
class AudioAnswer extends React.Component {
static propTyp... |
var five = require("../lib/johnny-five");
var board = new five.Board();
board.on("ready", function() {
// Plug the Touch module into the
// Grove Shield's D4 jack. Use
// the Button class to control.
var touch = new five.Button(4);
// Plug the LED module into the
// Grove Shield's D6 jack. See
// grove... |
import { getPropertyValue } from '@/libs/propertyUtils'
export const createIterator = (showNonenumerable, sortObjectKeys) => {
const objectIterator = function* (data) {
const shouldIterate =
(typeof data === 'object' && data !== null) || typeof data === 'function'
if (!shouldIterate) return
const ... |
import UniversalCookie from 'universal-cookie';
const cookie = new UniversalCookie();
export function setUserInfo(data) {
cookie.set('userInfo', data);
}
export function getUserInfo() {
return cookie.get('userInfo');
}
export function setAccessToken(token) {
cookie.set('token', token);
}
export function getA... |