text
stringlengths
3
1.05M
import { LightningElement, api } from "lwc"; export default class LockerizedCmp extends LightningElement { @api divide(a, b) { return a / b; } }
# -*- coding: utf-8 -*- ### # (C) Copyright [2020] Hewlett Packard Enterprise Development LP # # 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 #...
/** * skylark-formio - A version of formio.js that ported to running on skylarkjs. * @author Hudaokeji, Inc. * @version v0.9.0 * @link https://github.com/skylark-integration/skylark-formio/ * @license MIT */ define(["./comp1","./comp2","./comp3","./comp-with-def-value","./comp-row-groups-with-def-value"],function...
mycallback( {"CONTRIBUTOR OCCUPATION": "Grand Lodge Representative", "CONTRIBUTION AMOUNT (F3L Bundled)": "85.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "RETIRED", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "12078 CALLADO ROAD", "CONTRIBUTOR MIDDLE NAME": "F", "DONOR CANDIDATE FEC ID":...
const chai = require('chai'); const axios = require('axios'); const sinon = require('sinon'); const StateMachineService = require('./state-machine-service'); describe('state-machine-service', () => { beforeEach(() => { this.sandbox = sinon.createSandbox(); }); afterEach(() => { this.sandbox.restore(); ...
s = 'ABCd' length = len(s) print(length) for i in range(length): print(s[i], end=' ') print() print(s[length])
import { combineReducers } from 'redux'; import appRegistry, { INITIAL_STATE as APP_REGISTRY_STATE } from 'mongodb-redux-common/app-registry'; import builders, { INITIAL_STATE as BUILDERS_INITIAL_STATE } from 'modules/builders'; import copySuccess, { INITIAL_STATE as COPY_SUCCESS_INITIAL_STATE } from 'modules/cop...
######################################################################################################### #PAQUETES/LIBRERIAS ######################################################################################################### import pathlib #Por defecto toma de donde esté instalado Python, por ej. C:/Python/... ...
// Libraries import React, {Component, PropTypes} from 'react'; import {connect} from 'react-redux'; // Components import Counter from '../../components/Counter/Counter.js'; // Actions import { counterSetCount, counterCurrentCounterCountSelector, } from '../../ducks/counter.js'; import { locationCurrentCounter...
import { createChapter, init } from '../Chapter'; import { ChapterText, ChapterTask } from '../ChapterSection'; import { createAction } from '../Action'; import ConsoleCommand from '../ConsoleCommand'; import Console from '../Console'; import React, { Fragment } from 'react'; import VersionDatabaseVisualisation from '....
import React from 'react'; import {Button, Modal} from 'react-bootstrap'; import DataSourceSidebar from './DataSourceSidebar'; import ConnectionForms from './ConnectionForms'; import styled from 'styled-components'; import 'react-grid-layout/css/styles.css'; import 'react-resizable/css/styles.css'; import 'storm-react-...
(function(d){d['eu']=Object.assign(d['eu']||{},{a:"Ezin da fitxategia kargatu:",b:"Image toolbar",c:"Table toolbar",d:"Align left",e:"Align right",f:"Align center",g:"Justify",h:"Text alignment",i:"Text alignment toolbar",j:"Etzana",k:"Lodia",l:"Aipua",m:"Aukeratu izenburua",n:"Izenburua",o:"Insert image or file",p:"ir...
# encoding: utf-8 import time import torch import itertools import numpy as np import torch.nn as nn from PIL import Image from augment.warpping.grid_sample import grid_sample from torch.autograd import Variable from augment.warpping.tps_grid_gen import TPSGridGen # source_image = Image.open('demo/source_avatar.jpg')...
'use strict'; const mongoose = require('mongoose'); const clothesSchema = mongoose.Schema({ type: { type: String, required: true }, price: { type: String } }) const clothesModel = mongoose.model('clothes', clothesSchema) module.exports = clothesModel;
import { useContext, useState } from 'preact/hooks'; import { normalizeUrl, getPrerenderdata, checkProps } from './utils'; import { PrerenderDataContext } from './context'; import { PRERENDER_DATA_FILE_NAME } from './constants'; function usePrerenderData(props, doAutomaticFetch = true) { const [state, setState] = use...
import paho.mqtt.client as mqtt from threading import Thread, Lock from enum import Enum import time import json import logging class PublishTopic(Enum): PLC1 = "ba/wago/sim/plc1/plcsub" PLC2 = "ba/wago/sim/plc2/plcsub" PLC3 = "ba/wago/sim/plc3/plcsub" HMI = "ba/wago/sim/hmi/hmisub" INFO = "ba/wag...
"""Test the rcv1 loader. Skipped if rcv1 is not already downloaded to data_home. """ import errno import scipy.sparse as sp import numpy as np from functools import partial from sklearn.datasets import fetch_rcv1 from sklearn.datasets.tests.test_common import check_return_X_y from sklearn.utils.testing import assert_...
const mergeCsp = require('./mergeCsp'); test('mergeCsp overlapping directives', () => { const defaultCsp = { 'default-src': ["'self'", 'https://*'], 'form-action': [] }; const appCsp = { 'default-src': ['https://*', 'google.com'], 'img-src': ['fb.com'] }; const output = mergeCsp(defaultCsp, appCsp); expect(out...
"use strict"; var core_1 = require("@angular/core"); var platform_browser_1 = require("@angular/platform-browser"); var http_1 = require("@angular/http"); var forms_1 = require("@angular/forms"); var app_component_1 = require("./app.component"); var home_component_1 = require("./home/home.component"); var about_...
const mongoose = require("mongoose"); const Schema = mongoose.Schema; const techSchema = new Schema({ name: String, img: String }); module.exports = mongoose.model("technique", techSchema);
//download.js v4.2, by dandavis; 2008-2016. [CCBY2] see http://danml.com/download.html for tests/usage (function(r,k){"function"==typeof define&&define.amd?define([],k):"object"==typeof exports?module.exports=k():r.download=k()})(this,function(){return function k(a,b,g){function q(p){var a=p.split(/[:;,]/);p=a[1];var a...
import React, { useState, useEffect } from 'react'; import { useLazyQuery, } from "@apollo/client"; import useDebounce from '../hooks/useDebounce'; import { PODCASTS } from '../graphql/queries'; import { Text, Input, Box } from '@chakra-ui/react'; import Loader from './loader'; import ContentCard from './contentCard'...
import React, { Component } from 'react'; import FloatingActionButton from 'material-ui/FloatingActionButton'; import ContentAdd from 'material-ui/svg-icons/content/add'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import RaisedButton from 'material-ui/RaisedButton'; import...
// Sky Cruiser (Hard) // // made by michengs / HSDN / icebrog module.exports = (dispatch, handlers, guide, lang) => { guide.type = SP; let triple_attack = false; let back_print = false; let back_time = 0; let end_back_time = 0; let is_one_back = false; let timer1 = null; let timer2 = null; let enrage = 0; ...
import is from "./is"; const dom = { regs: { root: /^(?:body|html)$/i, _class: /^\.([\w-]+)$/, _id: /^#([\w-]*)$/, _tag: /^[\w-]+$/, _html: /^\s*<(\w+|!)[^>]*>/, _tagName: /<([\w:]+)/, _property: /-+(.)?/g }, util: { getDom(nodes) { ...
!function(){function t(t,i,e,n,o,r,a){try{var l=t[r](a),s=l.value}catch(d){return void e(d)}l.done?i(s):Promise.resolve(s).then(n,o)}function i(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e,t}function e(t,i){if(!(t instanceof i))throw new TypeError("Cannot ca...
import {arrayOf, func, string} from 'prop-types'; import React, {Component} from 'react'; import {Picker, StyleSheet, Text, TextInput, View} from 'react-native'; export default class AutoCompleteOld extends Component { static propTypes = { label: string, onSelect: func.isRequired, options: arrayOf(string...
/* * @author Adarsh Kumar * @author $LastChangedBy: Adarsh Kumar$ * @version $Revision: 0001 $, $Date:: 1/1/10 0:00 AM#$ * @Espark @copyright all right reserve */ angular .module("app", []) .config( function($httpProvider) { $httpProvider.defaults.headers.common['X-Requested-With'] = 'XMLHttpReques...
import React from 'react'; import {Card} from 'antd'; import {connect} from 'dva'; import styles from './cards.css'; export default connect( state => ({title: state.auth.title}) )( ({title}) => ( <Card className={styles.panel_card}> <div className={styles.header_text}> {title} <div> ...
const questionForm = document.getElementById('question-form'); const postQuestionUrl = '../api/v1/questions'; const askBtn = document.getElementById('submitQuestion'); const cancelBtn = document.getElementById('cancel-question') questionForm.addEventListener('submit', (event) => { event.preventDefault(); askBtn.d...
'use strict' const chalk = require('chalk') const path = require('path') const express = require('express') const consolidate = require('consolidate') const app = express() const favicon = require('serve-favicon') const connrectBrowserSync = require('connect-browser-sync') const bs = require('browser-sync').create() ...
/*! Buefy v0.7.2 | MIT License | github.com/buefy/buefy */ !(function (t, e) { if (typeof exports === 'object' && typeof module === 'object')module.exports = e(); else if (typeof define === 'function' && define.amd)define([], e); else { var n = e(); for (var r in n)(typeof exports === 'object' ? exports : t)[r] = n[r] ...
import { connect } from 'react-redux'; import * as settings from 'constants/settings'; import { selectRewardContentClaimIds, selectPlayingUri } from 'redux/selectors/content'; import { doRemoveUnreadSubscription } from 'redux/actions/subscriptions'; import { doSetClientSetting } from 'redux/actions/settings'; import { ...
import { Cartesian3 } from "../../Source/Cesium.js"; import { Cartesian4 } from "../../Source/Cesium.js"; import { CesiumTerrainProvider } from "../../Source/Cesium.js"; import { Color } from "../../Source/Cesium.js"; import { Credit } from "../../Source/Cesium.js"; import { CreditDisplay } from "../../Source/Cesium.js...
import numpy as np import matplotlib.pyplot as plt from scipy.optimize import curve_fit from math import floor, ceil import warnings from lmfit import minimize, Parameters, report_errors from PyPDF2 import PdfFileReader, PdfFileWriter import glob, os import urllib import matplotlib.image as mpimg import model_transits ...
import store from '../../store' import { map, filter } from 'ramda' /* These functions need to be relying on Command paylods To do this, there need to be EAD Functions that call these using commands. --- see below */ // const setContent = function *(newContent) { // const state = yield cmds.getState() // c...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["style"],{"24e7":function(n,c,f){},2814:function(n,c,f){},"579e":function(n,c,f){},"5bc0":function(n,c,f){},7478:function(n,c,f){},"8ca2":function(n,c,f){},"8e1f":function(n,c,f){},a488:function(n,c,f){},c2ac:function(n,c,f){},c9df:function(n,c,f){},ce96:functi...
import { types } from '../../../constants/authConstants'; const initialState = { loading: false, loggedIn: false, user: null, message: null, }; const strings = { MESSAGES: { PASSWORD_CHANGE: { SUCCESS: 'Password changed successfully', }, }, }; const authReducer = (state = initialState, actio...
// This file is required by the index.html file and will // be executed in the renderer process for that window. // No Node.js APIs are available in this process because // `nodeIntegration` is turned off. Use `preload.js` to // selectively enable features needed in the rendering // process. const { ipcRenderer } = req...
import React from 'react' import { CwCell } from '../CwCell' import * as constants from '../../constants/Constants.js' import './style.css' class CwGrid extends React.Component { constructor(props) { super(props); } shouldComponentUpdate(nextProps, nextState) { // to be implemented....
secret = "apple" tries = 3 tried = 1 while (tried <= 3): print("\nAdivina la palabra secreta.") answer = (input("Escriba su respuesta: ")) if answer.lower() == secret.lower(): print("Adivinastes la palabra secreta!") print("\nYa se ha terminado el programa. Muchas gracias por participar.")...
""" xz experiment within gentoo chroot. """ from plumbum import local from benchbuild.projects.gentoo.gentoo import GentooGroup from benchbuild.utils import download, run, wrapping from benchbuild.utils.cmd import tar class XZ(GentooGroup): """ app-arch/xz """ NAME = "xz" DOMAIN = "app-arch" ...
import argparse import os import praw import pandas as pd import numpy as np import traceback from datetime import datetime, timedelta from dotenv import load_dotenv from psaw import PushshiftAPI load_dotenv() to_hr_date = lambda ts: datetime.fromtimestamp(ts).strftime("%Y-%m-%d %H:%M:%S") to_filesafe_date = lambda ...
module.exports={D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0.023148,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.023148,"19":0,"20":0.005787,"21":0,"22":0,"23":0.005787,"24":0.005787,"25":0,"26":0,"27":0.005787,"28":0,"29":0.023148,"30":0.005787,"31":0.017361,"32":0.017361,"33":0.023148,"34":0.011574,"35":0...
import * as yup from "yup"; const registerSchema = yup.object().shape({ first_name: yup .string() .min(2, "first name must be at least 2 characters long") .required("Required"), last_name: yup .string() .min(4, "last name must be at least 4 characters long") .required("Required"), email: ...
(function(e){function t(t){for(var i,s,a=t[0],c=t[1],l=t[2],d=0,p=[];d<a.length;d++)s=a[d],Object.prototype.hasOwnProperty.call(o,s)&&o[s]&&p.push(o[s][0]),o[s]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);u&&u(t);while(p.length)p.shift()();return r.push.apply(r,l||[]),n()}function n(){for(var e,...
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "userreport.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
#!/usr/bin/env node /** * Launches a testrpc and deploys some of the test sources to it. * When the enviroment variable TESTING=true, the injector automatically * queries this local network, allowing you to experiment with submitting * different combinations of sources and metadata via the ui. */ const ganache = ...
import { PropTypes } from 'react'; import { List } from 'immutable'; import { connect } from 'react-redux'; import ForumListView from './ForumListView'; import { subscribeForum, unsubscribeForum } from './ForumState'; const ForumListViewContainer = connect( (state, { forumIds }) => { const forums = forumIds ...
"use strict"; const _url = require("url"); const checkURL = require("./checkURL.js"); const searchOrInsert = require("./searchOrInsert.js"); const handle = function(origURL) { const parsed = _url.parse(origURL); const prot = parsed.protocol; const url = parsed.host + parsed.path; return new Promi...
import { createStore, combineReducers, applyMiddleware } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import categories from './categories.js'; import products from './products.js'; import cart from './cart.js'; import thunk from './middleware/thunk.js'; // let reducers = combineRedu...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Vault = void 0; var fs = require("fs"); var path = require("path"); var crypto = require("crypto"); var uuidV4 = require('uuid/v4'); var algorithm = "aes-256-ctr"; var encryptEncoding = 'hex'; var unencryptedEncoding = 'utf8'; // // St...
import React from 'react'; import Button from './Button'; const propTypes = { /** * The `<input>` `type` * @type {[type]} */ type: React.PropTypes.oneOf(['checkbox', 'radio']), /** * The HTML input name, used to group like checkboxes or radio buttons together * semantically */ name: React.P...
import paho.mqtt.client as mqtt import datetime import time from datetime import datetime, timezone, timedelta, date import sys import json import numpy as np import threading from math import acos, sqrt, pi sys.path.insert(1, "..") from camera.camera import Camera class Event(): def __init__(self, id, x, y, z, ...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.lang['hu']={"widget":{"move":"Kattints és húzd a mozgatáshoz","label":"%1 modul"},"undo":{"redo":"Ismétlés","undo":"Visszavonás"},"toolbar":{"toolb...
import os import numpy as np from gensim.utils import tokenize from ..wdtypes import * from .fastai_transforms import Vocab, Tokenizer __all__ = ["simple_preprocess", "get_texts", "pad_sequences", "build_embeddings_matrix"] def simple_preprocess( doc: str, lower: bool = False, deacc: bool = False, ...
module.exports = require('yajrpc/qup')({ url: process.env.RPC, auth: require('fs').readFileSync(process.env.RPCCOOKIE), batch: process.env.RPCBATCHSIZE || 500, concurrent: process.env.RPCCONCURRENT || 16 })
import * as Cesium from "cesium/Cesium"; /** *圆形扩大扫描圈 * */ function AddCircleScanPostStage(viewer, cartographicCenter, maxRadius, scanColor, duration) { var ScanSegmentShader = "uniform sampler2D colorTexture;\n" + "uniform sampler2D depthTexture;\n" + "varying vec2 v_textureCoordinat...
const readInstalled = require("read-installed"); const Immutable = require("immutable"); const path = require("path"); const Promise = require("../utils/promise"); const fs = require("../utils/fs"); const Plugin = require("../models/plugin"); const PREFIX = require("../constants/pluginPrefix"); /** * Validate if a p...
# encoding=utf8 import datetime from distutils.version import StrictVersion import hashlib import os.path import random from seesaw.config import realize, NumberConfigValue from seesaw.externalprocess import ExternalProcess from seesaw.item import ItemInterpolation, ItemValue from seesaw.task import SimpleTask, LimitCo...
from nicendredi.sudoku.Grille import Grille grille = Grille("=== Grille 1 ===") grille.affiche()
_base_ = [ '../../_base_/models/tsm_mobilenet_v2.py', '../../_base_/schedules/sgd_tsm_mobilenet_v2_100e.py', '../../_base_/default_runtime.py' ] # dataset settings dataset_type = 'RawframeDataset' data_root = 'data/kinetics400/rawframes_train' data_root_val = 'data/kinetics400/rawframes_val' ann_file_train...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.getPatientGroups = getPatientGroups; exports["default"] = void 0; var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"...
/** * # util/util * * This is the home for wayward methods who have lost their way. * * > http://draeton.github.com/stitches<br/> * > Copyright 2013 Matthew Cobbs<br/> * > Licensed under the MIT license. */ define([ "wrap/jquery" ], function ($) { "use strict"; // **Module definition** return...
const defaultString = ` <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:parametric="https://parametric-svg.github.io/v0.2" width="100" height="100" glyphtype="PolyA Site" soterms="SO:0000553" parametric:defaults="baseline_offset=0;baseline_x=0;baseline_y=25;pad_aft...
jQuery(document).ready(function() { function restoreRow(oTable, nRow) { var aData = oTable.fnGetData(nRow); var jqTds = $('>td', nRow); for (var i = 0, iLen = jqTds.length; i < iLen; i++) { oTable.fnUpdate(aData[i], nRow, i, false); } ...
/* Version: 16.0.11030.10000 */ Type.registerNamespace("_u"); _u.ExtensibilityStrings = function() { }; _u.ExtensibilityStrings.registerClass("_u.ExtensibilityStrings"); _u.ExtensibilityStrings.l_APICallFailedDueToItemChange_Text = "Mae’r eitem a ddewiswyd wedi cael ei newid."; _u.ExtensibilityStrings.l_ActionsDefinit...
const carousel = document.querySelectorAll(".carousel") const button = document.querySelector("#button") // set spin variables i = 0 let increment = 0 const min = 20 const max = 80 // prepare variables for final slot images var finalImages = [] var imageTitles = [] // set bonus variables const bonusImages = ["sign.p...
var _EPYTWIZ_=_EPYTWIZ_||{};(function(a){_EPYTWIZ_.selectText=_EPYTWIZ_.selectText||function(d){if(document.selection){var b=document.body.createTextRange();b.moveToElementText(d);b.select()}else{if(window.getSelection){var c=window.getSelection();var b=document.createRange();b.selectNode(d);c.removeAllRanges();c.addR...
angular.module("angular-media-preview",[]).directive("mediaPreview",function($log,$document){function _link(scope,elem,attrs,ngModel){function addToContainer(element){return element.addClass(previewClass),container.append(element)}function onChange(e){var files=elem[0].files;attrs.multiple?ngModel.$setViewValue(files):...
function HTMLActuator() { this.tileContainer = document.querySelector(".tile-container"); this.levelContainer = document.querySelector(".level-container"); this.nextLevelContainer = document.querySelector(".next-level-container"); this.messageContainer = document.querySelector(".game-message"); ...
$(document).on('turbolinks:load', function() { { displayNonModalSurvey(); } }); // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Display the survey, but // if the users chooses to ignore the survey or clicks the link to the survey // don't show the survey message again. // T...
define([ '../core', './var/rsingleTag', '../manipulation' // buildFragment ], function(jQuery, rsingleTag) { // data: string of html // context (optional): If specified, the fragment will be created in this context, defaults to document // keepScripts (optional): If true, will include scripts passed in the...
var stripAnsi = require('strip-ansi') module.exports = errorHandler function bundleError (message) { console.error(message) if (typeof document === 'undefined') { return } else if (!document.body) { document.addEventListener('DOMContentLoaded', print) } else { print() } function print () { ...
mycallback( {"CONTRIBUTOR OCCUPATION": "Physician", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Covenant Medical Center", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "10507 Elkridge Ave", "CONTRIBUTOR MIDDLE NAME": "E.", "DONOR CANDIDATE FEC ID"...
// link to challenge: https://www.codewars.com/kata/persistent-bugger/train/ /* Problem Statement: Write a function, persistence, that takes in a positive parameter num and returns its multiplicative persistence, which is the number of times you must multiply the digits in num until you reach a single digit. */ fu...
import { useCallback, useEffect, useRef, useState } from 'react' const possibleColors = { aqua: '#00ffff', azure: '#f0ffff', beige: '#f5f5dc', black: '#000000', blue: '#0000ff', brown: '#a52a2a', cyan: '#00ffff', darkblue: '#00008b', darkcyan: '#008b8b', darkgrey: '#a9a9a9', darkgreen: '#006400',...
'use strict'; var events = require('events'); var util = require('util'); class UpnpService { constructor () { console.log('ok'); events.EventEmitter.call(this); } } util.inherits(UpnpService, events.EventEmitter); const u = new UpnpService(); if (!u) throw new Error('hello');
/* Copyright Netfoundry, 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distri...
export const SELECT_OPTION_MANAGE_NAME = 'selectOptionManage'; class selectOptionManage { static $inject = []; constructor() { } initModel(selectObj) { this.resetModel(selectObj); } resetModel(selectObj) { const zeroModel = { rows:[] }; angular.copy(zeroModel, selectObj); } isOptionUni...
export { default as closest } from './closest'; export { default as delegate } from './delegate'; export { default as dispatch } from './dispatch'; export { default as getAttributes } from './get-attributes'; export { default as matches } from './matches'; export { default as parents } from './parents'; export { defaul...
import React from 'react' import Heading from './Heading' import { Link } from 'gatsby' export default function Infoblock({heading}) { return ( <section className="bg-theme my-5 py-4"> <div className="container"> <Heading title={heading} /> <div className="row"> ...
module.exports={A:{A:{"1":"A B","2":"M D H F mB"},B:{"1":"C E q L O I J K"},C:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB","2":"jB AB eB cB"},D:{"1":"0 1 2 3 4 6 8 9 A B C E q L O I J P Q R S T U V W X Y Z a b c d...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js export default [ 'ig', ...
import request from './request'; // import { api } from './config'; const api = 'https://issuereaderapi.leanapp.cn'; // const api = 'http://localhost:3000'; const generateUrl = (a, params) => { const pathname = []; const p = Object.assign({}, params); for (let i = 0, l = a.length; i < l; i += 1) { if (-1 ===...
// @flow import r, { type TableOp } from 'rethinkdb'; import { it, describe } from 'flow-typed-test'; describe('rethinkdb', () => { type FooTable = {| foo: boolean, bar?: number, id: string |} type FooTableInsert = {| foo: boolean, bar?: number, |} type PrimaryKey = string const table:...
(function(undefined) { if (!("Intl"in self&&Intl.DisplayNames&&Intl.DisplayNames.supportedLocalesOf&&1===Intl.DisplayNames.supportedLocalesOf("nl-SX").length )) { // Intl.DisplayNames.~locale.nl-SX /* @generated */ // prettier-ignore if (Intl.DisplayNames && typeof Intl.DisplayNames.__addLocaleData === 'function') { ...
/* Copyright© 2000 - 2021 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ import { SuperMap } from '../SuperMap'; import { Fe...
// This file is required by the index.html file and will // be executed in the renderer process for that window. // All of the Node.js APIs are available in this process. var tableMsg = document.querySelector("#messages tbody"); datiKey = ["a", "b", "c"]; const dati = [{ "a": "acca", "b": "bcc", "c": 1 },...
'use strict'; var _path = require('path'); var _path2 = _interopRequireDefault(_path); var _loaderUtils = require('loader-utils'); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Isomorphic CSS style loader for Webpack * * Copyright © 2015-2016 Kriasoft, LLC...
const express = require("express"); const uploadController = require("../controller/upload.controller"); const expressJWT = require("express-jwt"); const config = require("../config/index"); const router = express.Router(); const db = require("../models"); const pictureUser = db.pictureUser; const multer = require("mul...
// Mnemonic.js v. 1.1.0 // (c) 2012-2015 Yiorgis Gozadinos, Crypho AS. // Mnemonic.js is distributed under the MIT license. // http://github.com/ggozad/mnemonic.js var getRandom = function (bits) { var random = new Uint32Array(bits / 32); window.crypto.getRandomValues(random); return random; }...
import json import os import boto3 import time from helper import AwsHelper, S3Helper import datastore def getJobResults(api, jobId): pages = [] time.sleep(5) client = AwsHelper().getClient('rekognition') if(api == "StartLabelDetection"): response = client.get_label_detection(JobId=jobId) ...
var searchData= [ ['http_5fin_5fbody',['http_in_body',['../group__http__in__out.html#gaa17e8de265c190884d433e8ef91e3ad4',1,'nodec.h']]], ['http_5fin_5fstatus_5fprint',['http_in_status_print',['../group__http__in__out.html#ga0a71fdfb195b7fe66eadd442e0fbd4e5',1,'nodec.h']]], ['http_5freq',['http_req',['../group__ht...
var POKEDEX_RBY = { "Abra": { "t1": "Psychic", "bs": { "hp": 25, "at": 20, "df": 15, "sa": 105, "sd": 55, "sp": 90, "sl": 105 }, "w": 19.5 }, "Aerodactyl": { "t1": "Rock", "t2": "Flying", "bs": { "hp": 80, "at": 105, "df": 65,...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.GoogleButton = undefined; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)...
"use strict"; var oWhatsappquestiosWidget = {}; /* */ oWhatsappquestiosWidget.load = (oQuestios) => { let aTickets = oQuestios.tickets; aTickets = oWhatsappquestiosWidget.getFormatTickets(aTickets); let oData = { tickets: aTickets }; $.when(oAppMain.loadTemplate('widget/whatsappquestios/whatsappquestios',...
import { NODE_DETAILS_TABLE_COLUMN_WIDTHS } from '../constants/styles'; export function isGenericTable(table) { return (table.type || (table.get && table.get('type'))) === 'multicolumn-table'; } export function isPropertyList(table) { return (table.type || (table.get && table.get('type'))) === 'property-list'; } ...
import React, { Component } from 'react'; import { ScrollView, Text } from 'react-native'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { Actions } from 'react-native-router-flux'; import { fetchPosts } from '../actions'; import ListItem from './ListItem'; class List exten...
import argparse import os global PAD_ID global UNK_ID def parse_args(): parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("--raw-path",type=str,default="dureader_data/dataset",help="raw data path.") parser.add_argument("--processed-path",type=str,default="dureader_data/processed",hel...