text
stringlengths
3
1.05M
import {OPTIONS} from './options' // importing these files allows them to register with PyType import {PyString} from './PyString' import {PyInteger} from './PyInteger' import {PyFloat} from './PyFloat' // see ../index.js, where these are added to the format function export { PyString, PyInteger, PyFloat,...
import { fireEvent, render, } from '@testing-library/react'; import { createMemoryHistory } from 'history'; import noop from 'lodash/noop'; import Harness from '../../../../test/jest/helpers/harness'; import TitleShow from './title-show'; const history = createMemoryHistory(); const historyReplaceSpy = jest.spy...
import mri from 'mri'; import chalk from 'chalk'; import Now from '../util'; import createOutput from '../util/output'; import logo from '../util/output/logo'; import elapsed from '../util/output/elapsed.ts'; import { maybeURL, normalizeURL } from '../util/url'; import printEvents from '../util/events'; import Client f...
import React from 'react' import PropTypes from 'prop-types' import './style.scss' const Picture = ({ content, onImageLoaded }) => { return <img onLoad={onImageLoaded} src={content} className={'RecastAppPicture'} /> } Picture.propTypes = { content: PropTypes.string, onImageLoaded: PropTypes.func, } export def...
var dir_60925fc218da8ca7908795bf5f624060 = [ [ "Board", "dir_1ad147b45c81532355ec7c0823e09208.html", "dir_1ad147b45c81532355ec7c0823e09208" ], [ "Misc", "dir_b25b8390048ff4b4042af5ceece298cc.html", "dir_b25b8390048ff4b4042af5ceece298cc" ], [ "Peripheral", "dir_4df0177c882f2ab2ad53417880dc6afe.html", "dir_4d...
import React from 'react'; import { Button as ButtonReactstrap } from 'reactstrap'; import PropTypes from 'prop-types'; /** * Button component * * @param {string} className - Button class * @param {string} color - Button color * @param {node} children - Button children * @param {Function} onClick - Functio...
const movie = { id:'109', name:'Their Finest 2016BluRay 720p', cover:'"http://www.film2movie.co/content/uploads/Their_Finest_2016.jpg"', thumb:'http://www.film2movie.co/content/uploads/Their_Finest_2016.jpg' } movie.inline={inline_keyboard: [ [ { text:"دانلود با کیفیت 720p BluRay x265", url:"http://opizo.com/81...
"""Setup file. The package can be installed for development by running pip install -e . or similar where . is replaced by the path to package root """ import pathlib from setuptools import find_packages, setup README_FILE_PATH = pathlib.Path(__file__).parent / "README.md" with open(README_FILE_PATH) as f...
OC.L10N.register( "settings", { "Authentication error" : "සත්‍යාපන දෝෂයක්", "Invalid request" : "අවලංගු අයැදුමක්", "Email saved" : "වි-තැපෑල සුරකින ලදී", "All" : "සියල්ල", "Disable" : "අක්‍රිය කරන්න", "Enable" : "සක්‍රිය කරන්න", "Delete" : "මකා දමන්න", "Groups" : "කණ්ඩායම්", ...
/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.5.3(793ede49d53dba79d39e52205f16321278f5183c) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *-------------------------------------...
# -*- coding: utf-8 -*- # Copyright 2019 The Matrix.org Foundation C.I.C. # # 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 require...
const pool = require('./pool'); let records = { getRecords: async(user) => { let client = null; try { client = await pool.getClient(); let sql = 'select * from records where "user" = $1 order by date'; const res = await client.query(sql, [user]); //console.log('returned ' + res.rows....
import template from './template.html'; import controller from './controller'; export default { bindings: { goBack: '<', trackingPrefix: '<', trackClick: '<', orderHostHitTracking: '<', }, template, controller, };
/** * @param {Object} opts * @param {Function[]} opts.modules * @param {Functio} cls */ const store = (opts = {}) => descriptor => { descriptor.finisher = constructor => decorateStore(constructor, opts.modules || []) } class Triple { constructor (module, type, key) { this.module = module this.type = ty...
import React, { Component } from 'react'; import gesture from 'pixi-simple-gesture'; import KeyboardShortcuts from '../UI/KeyboardShortcuts'; import SimpleDropTarget from '../Utils/DragDropHelpers/SimpleDropTarget'; import InstancesRenderer from './InstancesRenderer'; import ViewPosition from './ViewPosition'; import S...
import { Apis } from '../../services/api'; const { bSchoolApis: { queryBschoolBasicInfo } } = Apis; export default { namespace: 'bschoolBasicInfo', state: { basicInfoEditVisible: false, confirmLoadding: false, basicInfos: {}, }, effects: { *getSchoolBasicInfo({ payload }, { call, put }) { ...
# coding=utf-8 import json import socket import re # s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # s.connect(('183.232.189.31', 80)) # get_str = 'GET {0} HTTP/1.1\r\nConnection: close\r\n' \ # 'Host: %s\r\n' \ # 'User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, li...
/*jshint browser: true */ /*global performance, console */ 'use strict'; var _xstart = performance.timing.fetchStart - performance.timing.navigationStart; function plog(msg) { console.log(msg + ' ' + (performance.now() - _xstart)); } /** * Apparently the event catching done for the startup events from...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
import React from "react"; const HeaderNav = () => { return ( <nav className="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav"> <div className="container"> <a className="navbar-brand" href="index.html">Logo</a> <button className="navbar-toggler navbar-toggler-right" type="button" dat...
class FullScreenUtils { /** Enters fullscreen. */ enterFullScreen() { if (!document.fullscreenElement) { document.documentElement.requestFullscreen({ navigationUI: "hide" }); } } /** Exits fullscreen */ exitFullScreen() { if (document.exitFullscreen) { ...
import { createNumberMask } from 'text-mask-addons'; import { maskInput } from '@formio/vanilla-text-mask'; import _ from 'lodash'; import { getCurrencyAffixes } from '../../utils/utils'; import NumberComponent from '../number/Number'; export default class CurrencyComponent extends NumberComponent { static schema(.....
import gspread from oauth2client.service_account import ServiceAccountCredentials #scope = ["https://docs.google.com/spreadsheets/d/1JWraVP6NG4MKuuLXVS8eoID-z65q5uFHvvdH1Zn5gzM/edit?usp=sharing"] scope = ["https://spreadsheets.google.com/feeds"] credentials = ServiceAccountCredentials.from_json_keyfile_name("RetialTra...
import _ from 'underscore'; //import _s from 'underscore.string'; export default (editor, config = {}) => { const tm = editor.TraitManager; // Select trait that maps a class list to the select options. // The default select option is set if the input has a class, and class list is modified when select value cha...
# -*- encoding: utf-8 -*- """ Created by eniocc at 11/10/2020 """ import ctypes from py_dss_interface.models import Bridge from py_dss_interface.models.Base import Base from py_dss_interface.models.Meters.MetersS import MetersS from py_dss_interface.models.Text.Text import Text class MetersV(Base): """ This...
# Copyright: (c) 2012-2014, Michael DeHaan <michael.dehaan@gmail.com> # Copyright: (c) 2017, Ansible Project # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type import os import re from as...
from math import sqrt, pi, log, exp import matplotlib as mpl; mpl.use("Qt5Agg") import matplotlib.pyplot as plt def surfaceGravity(radius, melt_density): G = 6.67408 * 10**(-11) # m3 kg-1 s-2 gSurface = (G * (4 / 3) * pi * radius**3 * melt_density) / radius**2 return gSurface def gravity(radius, melt_den...
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'md', 'stl', 'dwg', 'dxf', 'svg'} def valid_email(email): return True if email.endswith('@cooper.edu') else False def allowed_file(filename): return '.' in filename and \ filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
/** * @license * Visual Blocks Editor * * Copyright 2018 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
import React, { useState, useEffect } from "react"; import axios from "axios"; import Tippy from "@tippyjs/react"; import "./styles.css"; import backgroundImg from "./assets/section-bg.png"; import user from "./assets/user-icon.png"; import LinkedIn from "../Components/LinkedIn"; import Twitter from "../Components/Twit...
# coding: utf-8 # ----------------------------------------------------------------------------------- # <copyright company="Aspose" file="ps_save_options_data.py"> # Copyright (c) 2021 Aspose.Words for Cloud # </copyright> # <summary> # Permission is hereby granted, free of charge, to any person obtaining a copy # ...
import chai from "chai"; import sinon from "sinon"; import sinonChai from "sinon-chai"; import { JSDOM } from "jsdom"; chai.use(sinonChai); const { expect } = chai; const jsdom = new JSDOM("<!doctype html><html><body></body></html>"); const { window } = jsdom; // Constants window.env = process.env; window.PEACH = { ...
var snowStorm = null; function SnowStorm() { // --- PROPERTIES --- this.flakesMax = 128; // Limit total amount of snow made (falling + sticking) this.flakesMaxActive = 64; // Limit amount of snow falling at once (less = lower CPU use) this.animationInterval = 33; // Theoretical "milisecond...
import { SNS } from './deps.ts' import lookup from '../discovery/index.js' let ledger = {} export default function live ({ name, payload }, callback) { function publish (arn, payload, callback) { console.log('sns.publish', JSON.stringify({ arn, payload })) let snsClient = new SNS snsClient.publish({ ...
from flask import Flask, flash, make_response, redirect, request, jsonify, render_template from flask_cors import CORS from string import ascii_lowercase from hangman import init_game_data import hangman.config.constants as constants import hangman.utils as utils #import hangman.validations as validations from hangman....
!function(){var e={},t=function(t){for(var n=e[t],r=n.deps,o=n.defn,a=r.length,d=new Array(a),c=0;c<a;++c)d[c]=i(r[c]);var u=o.apply(null,d);if(void 0===u)throw"module ["+t+"] returned undefined";n.instance=u},n=function(t,n,i){if("string"!=typeof t)throw"module id must be a string";if(void 0===n)throw"no dependencies ...
# Crie um programa que faça o computador jogar Jokenpô com você. from random import randint pc = randint(1, 3) print(f'~'*30) print(f'{"JO KEN PO":^30}') print(f'~'*30) r = int(input('''Escolha uma opção: [ 1 ] PAPEL [ 2 ] PEDRA [ 3 ] TESOURA Qual é a sua jogada? ''')) print(f'~'*30) if r == 1: print('Você jogou...
/* Lovingly generated by gen-spec-js.py based on the wonderful content of * * https://github.com/WebAssembly/spec/blob/master/interpreter/host/js.ml */ 'use strict'; let soft_validate = true; let spectest = { print: print || ((...xs) => console.log(...xs)), global: 666, table: new WebAssembly.Table({initial: 1...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){dele...
<% if(components){ %>import loadComponents from './components';<% } %> <% if(blocks){ %>import loadBlocks from './blocks';<% } %> <% if(i18n){ %>import en from './locale/en';<% } %> export default (editor, opts = {}) => { const options = { ...{ <% if(i18n){ %>i18n: {},<% } %> // default options }, ...opts...
export const doughnutLegends = [ { title: 'Shirts', color: 'bg-blue-500' }, { title: 'Shoes', color: 'bg-teal-600' }, { title: 'Bags', color: 'bg-purple-600' }, ] export const lineLegends = [ { title: 'Experiment 1', color: 'bg-teal-600' }, { title: 'Experiment 2', color: 'bg-purple-600' }, ] export const b...
const path = require('path'); const webpack = require('webpack'); const merge = require('webpack-merge'); const webpackBaseConfig = require('./webpack.base.config.js'); const CompressionPlugin = require('compression-webpack-plugin'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const CopyWebpackPlugin = r...
import { SimpleIconsetStore } from "@lrnwebcomponents/simple-icon/lib/simple-iconset.js"; /** * @const SimpleIconsetManifest */ export const SimpleIconsetManifest = [ { name: "av", icons: [ "add-to-queue", "airplay", "album", "art-track", "av-timer", "branding-watermark"...
var jQuery = require('jquery'); var eventsEngine = require('../../events/core/events_engine'); var useJQuery = require('./use_jquery')(); var registerEventCallbacks = require('../../events/core/event_registrator_callbacks'); var domAdapter = require('../../core/dom_adapter'); if(useJQuery) { registerEventCallbacks...
from .base_options import BaseOptions class TrainOptions(BaseOptions): """This class includes training options. It also includes shared options defined in BaseOptions. """ def initialize(self, parser): parser = BaseOptions.initialize(self, parser) # visdom and HTML visualization para...
const nav = require('./themeConfig/nav.js'); const sidebar = require('./themeConfig/sidebar.js'); const htmlModules = require('./themeConfig/htmlModules.js'); // 主题配置 module.exports = { nav, sidebarDepth: 2, // 侧边栏显示深度,默认1,最大2(显示到h3标题) logo: '/img/icode-logo.png', // 导航栏logo repo: 'iqqcode/icode', // 导航栏右侧生成Gi...
define([ 'angular' ], function (angular) { var scope = {}; scope.moduleName = 'HeaderBar'; scope.directiveName = 'headerBar'; scope.app = angular.module(scope.moduleName, []); scope.app.directive(scope.directiveName, function ($rootScope) { return { restrict: 'E', link: function ($scope, $el...
import React from "react" import { View, Text, SafeAreaView, Dimensions, StyleSheet, KeyboardAvoidingView, TextInput } from "react-native" import { TouchableOpacity } from "react-native-gesture-handler" import LinearGradient from 'react-native-linear-gradient'; import Icon from "react-native-vector-icon...
import os.path from setuptools import find_packages, setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='pscodeanalyzer', version='1.2.3', description='A static code analyzer with configu...
from django.urls import path from . import views app_name = 'api-v1' urlpatterns = [ path('providers/', views.ProviderListCreateView.as_view(), name='provider-list-create'), path( 'providers/<int:id>', views.ProviderRetrieveUpdateDestroyView.as_view(), name='provider-retrieve-update-...
var playerInfo = new SimpleSchema({ id: { type: String }, name: { type: String }, score: { type: Number }, ready: { type: Boolean }, winner: { type: Boolean } }); var set = new SimpleSchema({ setNumber: { type: Number, ...
import menpo.io as mio import numpy as np from pathlib import Path import tensorflow as tf import data_provider import mdm_model import utils g_config = utils.load_config() def ckpt_pb(pb_path, lite_path): config = tf.ConfigProto(allow_soft_placement=True) config.gpu_options.allow_growth = True # to pb ...
import React from 'react' const QuantityButton = ({ quantity, setQuantity, available }) => { const increaseQuantity = () => { !!available && setQuantity(q => q + 1) } const decreaseQuantity = () => { !!available && setQuantity(q => (q <= 1 ? 1 : q - 1)) } return ( <div className="field"> <l...
module.exports = { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "npm run build && lint-staged" } };
const express = require('express'); const registerApi = require('./registration'); const loginApi = require('./login'); const boardAdd = require('./board'); const taskAdd = require('./task'); const test = require('../../test/test'); const router = express.Router(); router.use(registerApi); router.use(loginApi); route...
/** * Created by EGusev on 06.06.2016. */ (function () { 'use strict'; angular.module('mrblack.main').controller('TableMinimumsCtrl', ['$scope', 'venueState', '$modalInstance', 'VenueService', 'date', 'eventId', 'Toastr', '$state', 'UtilService', function ($scope, venueState, $modalInstance, VenueService, dat...
export default (config, env, helpers, options) => { config.output.filename = (pathData) => { if (pathData.chunk.name === 'polyfills') { return 'polyfill.js'; } else { return 'embed-sdk.js'; } }; config.plugins[4].options.filename = 'embed-sdk.css' };
''' /*############################################################################# HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems(R). 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 Li...
export { default } from 'ember-flexberry-service-bus/enums/new-platform-flexberry-service-bus-time-unit';
var searchData= [ ['node_5fcolor',['node_color',['../namespacecop5536.html#ae51dda62aa0378e4785101f1489bbff5',1,'cop5536']]] ];
# Generated by Django 2.2.11 on 2020-04-01 10:46 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('people', '0011_auto_20200311_1540'), ] operations = [ migrations.AlterField( model_name='location...
import Vue from 'vue'; import _ from 'lodash'; const directiveMap = { 'model': { getData(vucNode) { return defaults.getData('model', vucNode); }, setData(vucNode, data) { defaults.setData(vucNode, data); if (!vucNode.model) { Vue.set(vucNode, 'model', { expression: `"$...
// Configuration global.path = { proxy: "local.dev", server: 'public/', scss: "scss/", img: "public/img/", imgCss: "public/img/css", js: "public/js/", css: "public/css/", refresh: ["public/*.html", "public/*.php", "public/js/*.js"] } // Support global.browser_support = [ ...
import React, { useContext } from "react"; import { Link } from "react-router-dom"; import { Divider, ListItem, ListItemIcon, ListItemText, } from "@material-ui/core"; import { Dashboard as DashboardIcon, People as PeopleIcon, InvertColors as InvertColorsIcon, Assignment as AssignmentIcon, } from "@m...
""" Class Features Name: drv_data_rs_io Author(s): Fabio Delogu (fabio.delogu@cimafoundation.org) Date: '20201210' Version: '1.0.0' """ ####################################################################################### # ---------------------------------------------------------------...
import React from 'react' import PropTypes from 'prop-types' /** * Linea SVG que une los centros de dos territorios conectados */ const Linea = ({ x1, y1, x2, y2 }) => { return ( <line x1={x1} y1={y1} x2={x2} y2={y2} style={{ stroke: 'rgb(255, 255, 255, 0.400)', strokeWidth: '2', stroke...
from conans import ConanFile, CMake, tools class Libp2pConan(ConanFile): name = "libp2p" version = "0.1" license = "<Put the package license here>" author = "<Put your name here> <And your email here>" url = "<Package recipe repository url here, for issues about the package>" description = "<D...
// maybe.test /* eslint-env jest */ import { maybe } from './maybe.js' describe('test .maybe() method:', () => { const plus5 = (x) => x + 5 const minus2 = (x) => x - 2 const isNumber = (x) => Number(x) === x const toString = (x) => 'The value is ' + String(x) const getDefault = () => 'This is default val...
import {createRenderer} from "../../lib/mini-vue.esm.js"; // 给基于 pixi.js 的渲染函数 const renderer = createRenderer({ createElement(type) { const rect = new PIXI.Graphics(); rect.beginFill(0xff0000); rect.drawRect(0, 0, 100, 100); rect.endFill(); return rect; }, patchPr...
# coding: UTF-8 __author__ = 'weiwei' import cwweixinpay from http.server import BaseHTTPRequestHandler,HTTPServer PORT_NUMBER = 9192 hostName = "localhost" # This class will handle any incoming request from # a browser class myHandler(BaseHTTPRequestHandler): # Handler for the GET requests def do_GET(sel...
var path = require('path'); module.exports = { entry: './example/index.js', output: './gh-pages', babelLoaderDir: [path.join(__dirname, './src')] };
import React from "react"; import PropTypes from "prop-types"; import SmallCheck from "/icons/SmallCheck"; import Item from "@material-ui/core/MenuItem"; import ItemText from "@material-ui/core/ListItemText"; import ItemIcon from "@material-ui/core/ListItemIcon"; class Option extends React.PureComponent { static di...
import pytest import requests requests.packages.urllib3.disable_warnings() if not pytest.config.getoption('--user'): pytest.skip('v1 client not configured', allow_module_level=True) def test_get_hosts(vc_v1): resp = vc_v1.get_hosts() assert vc_v1.version == 1 assert resp.status_code == 200 def t...
import os import shutil #import moxing as mox #mox.file.copy_parallel('s3://zhang-ming-xing/twoimport/checkpoints', 'checkpoints/') path = 'checkpointsce/20211130-1900/' wenjian = sorted(os.listdir(path)) ''' for i in range(len(wenjian)): step = int(wenjian[i].split('-')[1].split('.')[0]) for j in range(0, 13...
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("pwd-unitybar",["react","react-dom"],n):"object"==typeof exports?exports["pwd-unitybar"]=n(require("react"),require("react-dom")):e["pwd-unitybar"]=n(e.Re...
// NOTE // ------------------------------------------------------------ // To get around a bug where sorting doesn't work with remote data, // we cloned the default Table Header component and psuedo monkey patched a fix. // ('psuedo' since Material-Table supports component overriding) // // This file is based on m-tabl...
const { BookSpider, MovieSpider, MusicSpider } = require("./spiders"); const renderer = require("./renderer"); const path = require("path"); const fs = require("hexo-fs"); const { config } = hexo; const { doubanCard } = config; var cookie; if (doubanCard) { cookie = doubanCard.cookie; } const DOUBAN_CARD_BOOK_TEMP...
import os from io import StringIO, BytesIO import csv import uuid from collections import OrderedDict from django.db.models import Q from Bio import SeqIO # import sbol from snekbol import snekbol from lims.inventory.models import Item class DesignFileParser: GENBANK_FEATURE_TYPES = ( 'primer_bind', ...
/* Author: Julius Seltenheim (mail@julius-seltenheim.com) Tooltip is right now a single instance class. When another instance is created, the old one will be destroyed */ class Tooltip { constructor(event, text) { //check if tooltip exists this.div = this.createDiv(); co...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
"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...
import { h } from 'vue' export default { name: "QuestionBold", vendor: "Ph", type: "", tags: ["question","bold"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 256 256","class":"v-icon","fill":"currentColor","data-name":"ph-question-bold","innerHTML":" <rect...
import { createMachine, interpret } from 'xstate'; const elBox = document.querySelector('#box'); const setPoint = (context, event) => { // Set the data-point attribute of `elBox` // ... }; const machine = createMachine({ initial: 'idle', states: { idle: { on: { mousedown: { // Add...
var searchData= [ ['individual',['Individual',['../classtvg_1_1SwCanvas.html#a9b9770837f0171b15f0cd86f94e8e22bab0257211e60ed5eb6767ec8ed3ec2524',1,'tvg::SwCanvas']]], ['init',['init',['../classtvg_1_1Initializer.html#aecd30dc028635b645b0dac5b6facea73',1,'tvg::Initializer']]], ['initializer',['Initializer',['../cl...
export const setNotification = (text, timeSeconds) => { return async dispatch => { const timer = setTimeout(() => { dispatch(clearNotification()) }, timeSeconds * 1000) // s -> ms dispatch({ type: 'SET_NOTIFICATION', data: { text, timer } }) } } export const clearNotification = () => { return ...
import 'primereact/resources/themes/saga-blue/theme.css' import 'primereact/resources/primereact.min.css'; import 'primeicons/primeicons.css'; import AdminTemplate from './templates/AdminTemplate'; import { createBrowserHistory } from 'history'; import { Router, Switch } from 'react-router'; import { IngredientCategor...
#!/usr/bin/env python # Based on http://peter-hoffmann.com/2012/python-simple-queue-redis-queue.html # and the suggestion in the redis documentation for RPOPLPUSH, at # http://redis.io/commands/rpoplpush, which suggests how to implement a work-queue. import redis from redis.sentinel import Sentinel import uuid impo...
sap.ui.define([ "sap/ui/core/mvc/Controller", "sap/ui/model/json/JSONModel" ], function(Controller, JSONModel) { "use strict"; return Controller.extend("Demo.controller.Home", { onInit : function() { }, ///////////////////////////////////// // EVENTS ///////////////////////////////////// on...
# --------------------------------------------------------------------- # Extreme.XOS.get_mac_address_table # --------------------------------------------------------------------- # Copyright (C) 2007-2015 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- ...
/* global slow */ $(function () { $('#slaid img:eq(0)').addClass("ativo").show(); // var texto = $(".ativo").attr("alt"); // $('#slaid').prepend("<p>"+texto+"</p>"); setInterval(slideshow,10000); function slideshow(){ if($('.ativo').next().size()) { ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[29,8,17],{59:function(t,e,n){"use strict";var o=n(589);e.a=o.a},644:function(t,e,n){},657:function(t,e,n){},665:function(t,e,n){"use strict";var o=n(68),r=n(1),c=(n(27),n(80),n(58),n(31),n(44),n(98),n(12),n(9),n(11),n(15),n(10),n(16),n(644),n(588)),l=n(120),h=n(141),...
var express = require('express'); var fs = require('fs'); var https = require('https'); var path = require('path'); var bodyParser = require('body-parser'); var Houndify = require('houndify'); //parse arguments var argv = require('minimist')(process.argv.slice(2)); //config file var configFile = argv.config || 'conf...
'use strict'; var assert = require('assert'); var sinon = require('sinon'); var mocks = require('../mocks'); var bootstrap = require('../bootstrap'); var Verifier = require('../../lib/verifier').Verifier; describe('signature verification', function() { var clock; var verifier; var sandbox; beforeEach(functi...
import { IconChevronDown, IconTimesCircle } from 'dls-icons-vue' import ui from 'veui/managers/ui' const TAG_SIZE_MAP = { xs: 's', s: 's', m: 's', l: 'm' } ui.defaults( { icons: { expand: IconChevronDown, collapse: IconChevronDown, clear: IconTimesCircle, separator: IconChevronDo...
"use strict"; var amplitude_1 = require('./amplitude'); var utils_1 = require('./utils'); var combinatorics_1 = require('./combinatorics'); var I = amplitude_1["default"].I; var Amplitude = amplitude_1["default"].Amplitude; // Var Constants var hbar = 1; var System = function (num_particles, box, potential) { var p...
(function() { 'use strict'; angular .module('hostelApp') .controller('JhiMetricsMonitoringModalController', JhiMetricsMonitoringModalController); JhiMetricsMonitoringModalController.$inject = ['$uibModalInstance', 'threadDump']; function JhiMetricsMonitoringModalController ($uibModalI...
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayInsServiceServicestatusSyncModel import AlipayInsServiceServicestatusSyncModel class AlipayInsServiceServicestatusSyncRequest(...
export { default } from 'ember-data-prismic/models/prismic-document';
const Discord = require("discord.js"); const fetch = require("node-fetch"); module.exports = { name: "djs", aliases: ["discordjs", "djsdocs"], description: "Look at the discord.js docs", category: "Utility", usage: "djs (query)", run: async (client, message, args) => { try { const query = args[0]; let ve...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.findExpandedKeys = findExpandedKeys; exports.getExpandRange = getExpandRange; function findExpandedKeys() { var prev = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; var next = arguments.length > 1 && a...