text
stringlengths
3
1.05M
$(document).ready(function(){ var baidu_HoverAndClick = { init: function() { this.render(); this.bind(); }, render: function(){ var me = this; me.city_weather = $("#city_weather"); me.s_mod_setweather = $("#s_mod_setweather"); me.s_bri = $("#s_bri"); me.more_pro = $("#mo...
/** * (C) Copyright IBM Corp. 2019, 2021. * * 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...
# encoding: utf-8 """ System command aliases. Authors: * Fernando Perez * Brian Granger """ #----------------------------------------------------------------------------- # Copyright (C) 2008-2011 The IPython Development Team # # Distributed under the terms of the BSD License. # # The full license is in the file...
const path = require('path'); const { default: create } = require('@riseup/library'); const pkg = require('./package.json'); module.exports = create({ // Whether it is a monorepo child project monorepo: true, // Enables typescript and declaration files typescript: true, // Paths used on build paths: { ...
#coding:utf-8 # # id: bugs.core_3972 # title: Allow the selection of SQL_INT64, SQL_DATE and SQL_TIME in dialect 1 # decription: # tracker_id: CORE-3972 # min_versions: ['3.0'] # versions: 3.0 # qmid: None import pytest from firebird.qa import db_factory, isql_act, Action # version: ...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib 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 by a...
"""Parsing and processing of CLI input (args, auth credentials, files, stdin). """ import os import sys import json import getpass from io import BytesIO #noinspection PyCompatibility from argparse import ArgumentParser, ArgumentTypeError try: from collections import OrderedDict except ImportError: OrderedDic...
var rowId = ""; layui.config({ base: basePath, version: skyeyeVersion }).extend({ //指定js别名 window: 'js/winui.window', }).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) { winui.renderColor(); var $ = layui.$, form = layui.form, table = layui.table; authBtn('1552962892226...
from prometheus_client import make_wsgi_app from wsgiref.simple_server import make_server metrics_app = make_wsgi_app() def my_app(environ, start_fn): if environ['PATH_INFO'] == '/metrics': return metrics_app(environ, start_fn) start_fn('200 OK', []) return [b'Hello World'] if __name__ == '__main...
from PyInquirer import style_from_dict, Token, prompt from rtmidi.midiutil import open_midiinput from serial.tools import list_ports import queue import rtmidi import serial import threading import logging import sys import time import argparse # Serial MIDI Bridge # Ryan Kojima and Skyler Lewis style = style_from_di...
# -*- coding: utf-8 -*- import numpy as np import pandas as pd from mabwiser.mab import MAB, LearningPolicy ###################################################################################### # # MABWiser # Scenario: A/B Testing for Website Layout Design # # An e-commerce website experiments with 2 different layo...
export const wellKnownOidcGoogle = { issuer: 'https://accounts.google.com', authorization_endpoint: 'https://accounts.google.com/o/oauth2/v2/auth', device_authorization_endpoint: 'https://oauth2.googleapis.com/device/code', token_endpoint: 'https://oauth2.googleapis.com/token', userinfo_endpoint: 'https://ope...
from django.urls import path from .views import CalorieIntakeCreateView, CaloriesIntakeDatestampListView, \ CaloriesIntakeDatestampCollectionListView, CaloriesIntakeDeleteView, CalorieIntakeUpdateView urlpatterns = [ path('add/', CalorieIntakeCreateView.as_view(), name='add-calorie-intake'), path('<int:pk>...
!function(t){"use strict";function e(e,n){this.isInit=!0,this.itemsArray=[],this.$element=t(e),this.$element.hide(),this.isSelect="SELECT"===e.tagName,this.multiple=this.isSelect&&e.hasAttribute("multiple"),this.objectItems=n&&n.itemValue,this.placeholderText=e.hasAttribute("placeholder")?this.$element.attr("placeholde...
'use strict'; //This is the base URL for API resources let baseURL = "https://api.twitch.tv/kraken/"; let $streamDisplay = $("#streamDisplay"); //List of streamers we'll loop over to see who/who isn't streaming let streamerList = [{ stream_name: "freecodecamp", status: true }, { stream_name: "monstercat", st...
from . import datafuncs from . import coords
var express = require("express"); var app = express(); var redis = require("redis"); var client = redis.createClient(); // serve static files from public directory app.use(express.static("public")); // init values client.mset("header", 0, "left", 0, "article", 0, "right", 0, "footer", 0); client.mget( ["header", "l...
# -*- coding: utf-8 -*- # Copyright © 2012-2020 Roberto Alsina and others. # 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 t...
// Generated by CoffeeScript 1.7.1 (function() { var buildLocationData, extend, flatten, last, repeat, syntaxErrorToString, _ref; exports.starts = function(string, literal, start) { return literal === string.substr(start, literal.length); }; exports.ends = function(string, literal, back) { var len; ...
# encoding: utf-8 """ server.py Created by David Farrar on 2011-11-30. Copyright (c) 2011-2013 Exa Networks. All rights reserved. """ import socket import errno from exaproxy.network.functions import isipv4 from exaproxy.network.errno_list import errno_block from exaproxy.util.proxy import ProxyProtocol def ishe...
var Promise = require('bluebird'); module.exports = { nonDeferred:0, setImmediate:function(func, deferOn){ this.nonDeferred++; if (this.nonDeferred == deferOn){ this.nonDeferred = 0; setImmediate(func); }else func.call(); }, initialize:Promise.promisify(function(done){ try{ this.dataService =...
/** contains the javascript methods that are design specific */ function populateMenu(mnuRows) { $("#menu").html(""); for (var i = 0; i< mnuRows.length; i++){ var mnuRow = mnuRows[i]; var html="<li><a id='"+mnuRow["id"]+"' href='#"+mnuRow["id"]+"' title='"+mnuRow[language]+"'>"+mnuRow[language]+"</a></li>...
import {ERRNO_CODES} from './constants.js'; import utils from './utils.js'; import '@ungap/global-this'; const TTY = { ttys: [], register(dev, ops) { TTY.ttys[dev] = { input: [], output: [], ops }; utils.registerDevice(dev, TTY.stream_ops); }, stream_ops: { open(stream) { const tty...
import React from "react"; import { StyleSheet, Text } from "react-native"; import AppView from "../../components/AppView"; import PrimaryButton from "../../components/PrimaryButton"; const WelcomeScreen = ({ navigation }) => { return ( <AppView> <Text style={styles.text}>Bienvenido a esta app</Text> ...
class UserPermissionsEditController { constructor ($stateParams, $state, API) { 'ngInject' this.$state = $state this.formSubmitted = false this.alerts = [] if ($stateParams.alerts) { this.alerts.push($stateParams.alerts) } let permissionId = $stateParams.permissionId let Permi...
/** * Velo Payments APIs * ## Terms and Definitions Throughout this document and the Velo platform the following terms are used: * **Payor.** An entity (typically a corporation) which wishes to pay funds to one or more payees via a payout. * **Payee.** The recipient of funds paid out by a payor. * **Payment.** A si...
/* @flow */ import React, { Component } from 'react'; import { isVpaasMeeting } from '../../../../billing-counter/functions'; import { translate } from '../../../i18n'; import { connect } from '../../../redux'; declare var interfaceConfig: Object; /** * The CSS style of the element with CSS class {@code rightwate...
let supported_languages = []; let num_of_repos = []; let colors = []; function dynamicColors(i, total) { let c = 100 + i * 155/total; return "rgb(" + c + "," + c + "," + c + ")"; } fetch("http://localhost:8080/api/r/stats").then(response => { return response.json(); }).then(data => { let i = 0; le...
from django.template.defaultfilters import floatformat from django.core.mail import send_mail from django.conf import settings def money_display(value): if value is None: return str(None) negative = False if value < 0: value *= -1 negative = True # Make sure precision is 4 digi...
'use strict'; const extractOne = require('./extract-one'); const imageData = require('./image-data'); const range = n => new Array(n).fill(0).map((_, i) => i); /** * @class ICO */ const factory = config => { const previousICO = global.ICO; const Image = config.Image; const ICO = { /** * Parse ICO and...
'use strict'; const Joi = require('joi'); const mutate = require('../lib/mutate'); const MODEL = { id: Joi .number() .integer() .positive(), message: Joi .string() .max(512) .description('Body of banner to display') .example('Due to planned upgrade of K...
from typing import NamedTuple, Tuple, Union, cast import numpy as np import pandas as pd from scipy.stats import beta, norm from .base import OneColumnMetric, TwoColumnMetric from .utils import bootstrap_binned_statistic, bootstrap_statistic class ConfidenceInterval(NamedTuple): limits: Tuple level: float ...
import { Container, Header, Image } from "semantic-ui-react"; import Layout from "../../components/ResponsiveHeader/index"; import styleMenuPage from "./menupage.module.css"; import ImageMenuPageData from "../../datafake/menuimage"; import SliderComponent from "../../components/SliderComponent"; import styled from "sty...
"use strict"; /* * Copyright (c) 2014-2021 Bjoern Kimminich & the OWASP Juice Shop contributors. * SPDX-License-Identifier: MIT */ Object.defineProperty(exports, "__esModule", { value: true }); const frisby = require("frisby"); const config = require('config'); const { initialize, bot } = require('../../routes/chatb...
""" Django settings for HelloWorld project. Generated by 'django-admin startproject' using Django 1.11.1. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import...
const Commando = require("discord.js-commando"); const { RichEmbed } = require("discord.js"); module.exports = class smexGestureCommand extends Commando.Command { constructor(client) { super(client, { name:"smex", group:"reactions", memberName:"smex", description:"*does that gesture*",...
import json __author__ = 'schien' from rest_framework import status from api.tests.TestMixins import OAuthTestCaseMixin from rest_framework.test import APITestCase from django.core.urlresolvers import reverse from <%= name %>.models import Scan class ScanAPITests(OAuthTestCaseMixin, APITestCase): """ API ...
import ViewMeta from './ViewMeta.js' export default class extends ViewMeta { constructor(params) { super(params) console.log("from taglist") } async getHtml() { return `<h1>from taglist</h1>` } }
from django.conf.urls import url from apps.social import views urlpatterns = [ url(r'^river_stories/?$', views.load_river_blurblog, name='social-river-blurblog'), url(r'^share_story/?$', views.mark_story_as_shared, name='mark-story-as-shared'), url(r'^unshare_story/?$', views.mark_story_as_unshared, name='...
module.exports={A:{A:{"2":"J C UB","132":"G E","260":"B A"},B:{"1":"D Y g H L"},C:{"1":"0 1 3 4 5 y F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x z u t QB PB","2":"SB"},D:{"1":"0 1 3 4 5 8 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o...
const path = require('path'); module.exports = { entry: './src/main.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist'), }, devtool: 'inline-source-map', devServer: { contentBase: './dist', }, module: { rules: [ { test: /\.js$/, use: [ ...
import React, { Component } from 'react' import './Todo.css' class TodoForm extends Component { constructor(props) { super(props) this.state = { value: '' } this.handleInputForm = this.handleInputForm.bind(this) this.handleClickBtn = this.handleClickBtn.bind(thi...
$(function () { // var header1 = document.getElementById('example1').innerHTML; // console.log(header1); var judul = $('#titleprint').text(); var t = $('#datatable').DataTable(); t.on('order.dt search.dt print', function () { t.column(1, { search: 'applied', order: 'applied' }).nodes().each(function (ce...
import { generateUtilityClass, generateUtilityClasses } from '@material-ui/unstyled'; export function getTooltipUtilityClass(slot) { return generateUtilityClass('MuiTooltip', slot); } var tooltipClasses = generateUtilityClasses('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'to...
var group__mci__interface__gr = [ [ "MCI Events", "group__mci__event__gr.html", "group__mci__event__gr" ], [ "MCI Control Codes", "group__mci__control__gr.html", "group__mci__control__gr" ], [ "MCI Send Command Flags", "group__mci__send__command__flags__ctrls.html", "group__mci__send__command__flags__ct...
from distutils.core import setup setup( name = 'aarpy', packages = ['aarpy'], # this must be the same as the name above version = '0.1', description = 'Python Connector for AutomaticApiRest', author = 'Alfredo Callizaya', author_email = 'alejandroesquiva@gmail.com', url = 'https://github.com/alejandroesqu...
import React, { Component } from "react"; import { connect } from "react-redux"; import Tweet from "./Tweet"; import NewTweet from "./NewTweet"; class TweetPage extends Component { render() { const { id, replies } = this.props; return ( <div> <Tweet id={id} /> <NewTweet id={id} /> ...
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 12.2.1-31-s description: > eval as local var identifier defined twice throws SyntaxError in strict mode flags: [onlyStrict] ---*/ assert.throws(SyntaxError, func...
#!/usr/bin/env python3 # # MIT License # # Copyright (c) 2020-2021 EntySec # # 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...
import React from 'react'; import { parse } from 'react-docgen'; import CodeExample from '../../../components/CodeExample'; import ComponentHeader from '../../../components/ComponentHeader'; import PropTypeDescription from '../../../components/PropTypeDescription'; import Demo from './Demo'; // eslint-disable-next-lin...
const Command = require('../../structures/Command.js'); const ytdl = require('discord-ytdl-core'); const Util = require('../../util/Util'); module.exports = class NowPlayingCommand extends Command { constructor(client) { super(client, { name: 'nowplaying', group: 'voice', aliases: ['np'], ...
cm.define('Docs.DynamicToolbar', { 'modules' : [ 'Params', 'Events', 'Langs', 'DataConfig', 'DataNodes', 'Stack' ], 'events' : [ 'onRender' ], 'params' : { 'node' : cm.node('div'), 'name' : '' } }, function(params){ var ...
// @flow import {defineMessages} from 'react-intl' /* * Some messages need to be used in multiple components * In order to avoid components depending on each other just to reuse translation messages * We instead store the shared messages in this file */ export const confirmationMessages = { logout: defineMessa...
import { popBaseHandler } from "./popBaseHandler.js"; import { Segment } from "../../enums/segment.js"; export function popLocalHandler(index) { return popBaseHandler(Segment.LOCAL)(index) }
import Debug from 'debug' import Portal from 'react-portal' import React from 'react' import Types from 'prop-types' import Stack from '../models/stack' import State from '../models/state' import noop from '../utils/noop' /** * Debug. * * @type {Function} */ const debug = Debug('slate:editor') /** * Event han...
'use strict'; var fs = require('fs'), applyDelta = require('../'); var v1 = fs.readFileSync(__dirname + '/v1.txt', 'utf8').slice(0, -2), v2 = fs.readFileSync(__dirname + '/v2.txt', 'utf8').slice(0, -2), deltas = { v1_to_v2: require('./delta-v1-to-v2.json'), v2_to_v1: require('./delta-v2-to-v1....
const EthereumTx = require('ethereumjs-tx') const { generateErrorResponse } = require('../helpers/generate-response') const { validateCaptcha } = require('../helpers/captcha-helper') const { debug } = require('../helpers/debug') module.exports = function (app) { const config = app.config const web3 = app.web3 con...
(function(e){const t=e["ku"]=e["ku"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 لە %1","Align center":"بەهێڵکردنی ناورەڕاست","Align left":"بەهێڵکردنی چەپ","Align right":"بەهێڵکردنی ڕاست",Aquamarine:"شینی دەریایی",Big:"گەورە",Black:"ڕەش","Block quote":"وتەی وەرگیراو",Blue:"شین",Bold:"قەڵەو","Break t...
/* parser generated by jison 0.4.18 */ /* Returns a Parser object of the following structure: Parser: { yy: {} } Parser.prototype: { yy: {}, trace: function(), symbols_: {associative list: name ==> number}, terminals_: {associative list: number ==> name}, productions_: [.....
import React, { Component } from 'react'; import {Field, reduxForm} from 'redux-form'; import {Link} from 'react-router-dom'; import {connect} from 'react-redux'; import {createPost} from '../actions'; class PostsNew extends Component { renderField=(field)=>{ const {meta:{touched,error}}= field; ...
import React from 'react' export default class App extends React.Component{ render() { return <h1>Olá React!</h1> } }
#!/usr/bin/env python # -*- coding: utf-8 -*- import time import numpy as np import matplotlib.pyplot as plt ##################################################### ### Helper data structures ########################## class Point: def __init__(self, x, y): self.x = x self.y = y class Polygon: def __init__(se...
import re from builtins import isinstance, dict, str, bool, int, property import voluptuous as vol # # Movie mode # # Args: # media_player: Entity id of the media player # reset_on_pause: Whether to reset on pause # media_types: Media content types to respond to # turn_on_between_episodes: List of entities to turn...
import { RUNNER_PAGE_SIZE } from '~/runner/constants'; import { fromUrlQueryToSearch, fromSearchToUrl, fromSearchToVariables, } from '~/runner/runner_list/runner_search_utils'; describe('search_params.js', () => { const examples = [ { name: 'a default query', urlQuery: '', search: { filte...
""" Django settings for app project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # Bui...
# -------------- import numpy as np import pandas as pd from sklearn.model_selection import train_test_split # path- variable storing file path df=pd.read_csv(path) #Code starts here df.head() X=df.drop(['Price'],axis=1) y=df['Price'] X_train,X_test,y_train,y_test=train_test_split(X,y,test_size = 0.3,random_...
# Generated by Django 2.1.7 on 2019-06-21 15:10 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import sorl.thumbnail.fields class Migration(migrations.Migration): initial =...
"""OTA query client""" ############################################################################### # Copyright 2017 The Apollo Authors. All Rights Reserved. # Modifications Copyright (c) 2018 LG Electronics, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not...
import numpy as np import os import cv2 import math from utility import Method import torch import torch.nn as nn import torch.nn.functional as f import torchvision.transforms as transforms from nets.models.unet_model import UNet class ImageFusion(Method): block_size = 5 pyramid_level = 4 mean_value = 0.3...
from django.http.response import Http404, HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from .models import Question, Choice # Create your views here. # Get questions and display them def index(request): # Getting latest 5 questions, ordering in desc...
/** * Created by jason on 3/2/16. */ import React,{ Component, View, Text, WebView, PropTypes, Dimensions, StyleSheet } from 'react-native' import config from '../configs' import qs from 'query-string' import connectComponent from '../utils/connectComponent' import Spinner from '../components/base/Spinner' c...
'use strict' const agent = require('../../dd-trace/test/plugins/agent') const plugin = require('../src') const semver = require('semver') const MSSQL_USERNAME = 'sa' const MSSQL_PASSWORD = 'DD_HUNTER2' wrapIt() describe('Plugin', () => { let tds let tracer let connection withVersions(plugin, 'tedious', ver...
/* @flow */ // src import { BaseModel } from './BaseModel'; import { PointModel } from './PointModel'; import type { PortModel } from './PortModel'; export class LinkModel extends BaseModel { linkType: string; points: Array<PointModel>; extras: {}; sourcePort: PortModel|null; targetPort: PortModel|null; ...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-...
import React from "react"; import { shallow } from "enzyme"; import ImagesSource from "components/ImagesSource"; describe("ImagesSource", () => { const getComp = (url) => shallow(<ImagesSource source={url} />); it ("should render 'Source of images' with a given source as a link", () => { const url = "...
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports._vantaEffect=t():e._vantaEffect=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function i(n){if(t[n])return t[n].exports...
module.exports={A:{A:{"2":"I D F E A B kB"},B:{"1":"M y N VB S","36":"C O H Q J K L"},C:{"1":"3 4 5 6 7 8 9 AB XB CB KB EB FB GB HB IB DB BB U T LB MB NB OB PB QB JB SB M y N jB","2":"iB RB G W I D F E A B C O H Q J K L rB tB","33":"0 1 2 X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z"},D:{"1":"9 AB XB CB KB...
#!/usr/bin/env node module.exports = function (context) { var path = context.requireCordovaModule('path'), fs = context.requireCordovaModule('fs'), shell = context.requireCordovaModule('shelljs'), projectRoot = context.opts.projectRoot, plugins = context.op...
#encoding:utf-8 subreddit = 'bikinimoe' t_channel = '@BikiniMoe' def send_post(submission, r2t): return r2t.send_simple(submission)
!function(e){const a=e.sl=e.sl||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"","Align center":"Sredinska poravnava","Align left":"Poravnava levo","Align right":"Poravnava desno",Aquamarine:"Akvamarin",Black:"Črna","Block quote":"Blokiraj citat",Blue:"Modra",Bold:"Krepko",Cancel:"Prekliči","Cannot upload ...
# -*- coding: utf-8 -*- """ The MIT License (MIT) Copyright (c) 2017-2021 TwitchIO 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...
const actionTagPolicy = require('./actionTagPolicy') const ownerPolicy = require('./ownerPolicy') const privateItemPolicy = require('./privateItemPolicy') const updateUserPolicy = require('./updateUserPolicy') const memberPolicy = require('./memberPolicy') const isOwnerPolicy = require('./isOwnerPolicy') const isMember...
//CS 341 HW4 By Stelios Papoutsakis 02/07/2020 // Test json reponse and sees if it matches the expected json const http = require('http'); let server; let options = { host: 'localhost', path: '/orders', port: 3000, method: 'POST' } /** External Citation Date: 2/07/2020 Problem: Need a way to start and end serve...
import Main from '@/components/main' import parentView from '@/components/parent-view' /** * iview-admin中meta除了原生参数外可配置的参数: * meta: { * title: { String|Number|Function } * 显示在侧边栏、面包屑和标签栏的文字 * 使用'{{ 多语言字段 }}'形式结合多语言使用,例子看多语言的路由配置; * 可以传入一个回调函数,参数是当前路由对象,例子看动态路由和带参路由 * hideInBread: (fals...
import request from '@/utils/request' export function getOrderSetting() { return request({ url:'/orderSetting/', method:'get', }) } export function updateOrderSetting(data) { return request({ url:'/orderSetting/update/', method:'post', data:data }) }
import React, { Component } from 'react' import {connect} from 'react-redux' import PropTypes from 'prop-types' import Spinner from '../common/Spinner' import ProfileItem from './ProfileItem' import {getProfiles} from '../../actions/profileActions' class Profiles extends Component { componentDidMount(){ this.pr...
var searchData= [ ['brightness',['brightness',['../struct_o_v5642___settings_1_1_f_l_a_t_b_u_f_f_e_r_s___f_i_n_a_l___c_l_a_s_s.html#ace7d6f358b7bdc97339b5732903a1603',1,'OV5642_Settings::FLATBUFFERS_FINAL_CLASS']]] ];
import Response from '../utils/response'; import OrderSchema from '../module/orderSchema'; import validator from '../utils/validator'; const { trimmer } = validator; class OrderMiddleware { static async param(req, res, next) { const { error } = OrderSchema.orderParam(req.params); try { if (error) { ...
const { writeFile } = require('fs'); const { promisify } = require('util'); const { Builder, By, Key, promise, until } = require('selenium-webdriver'); const firefox = require('selenium-webdriver/firefox'); promise.USE_PROMISE_MANAGER = false; const options = new firefox.Options() // .setBinary(firefox.Channel.N...
const Issue = require("../issue"); const proc = require("../process_option"); module.exports = { name: "class-style", on: ["class"], desc: [ 'A format specifier, "none", or `false`. If set, `class`es must fit the', "given format. If `false`, the value for `id-class-style` is used", "instead (use `'no...
#!/usr/bin/python # -*- coding: utf-8 -*- ''' Flask Server ''' __author__ = 'Sneh Sagar' __copyright__ = None __credits__ = ['Sneh Sagar'] __license__ = 'GPL' __version__ = '1.0.1' __email__ = 'snehsagarajput@gmail.com' __status__ = 'Production' import time from flask import Flask, request, render_template, send...
new Crawler({ appId: "", apiKey: "", rateLimit: 8, startUrls: ["https://design.pega.com/"], renderJavaScript: false, sitemaps: [], exclusionPatterns: ["**.sketch**", "**.sketch**/**"], ignoreCanonicalTo: false, discoveryPatterns: ["https://design.pega.com/**"], schedule: "at 00:00 on Friday", acti...
from django.utils import timezone from freezegun import freeze_time from alarm.models import Ping from alarm.business.alarm_ping import register_ping from django.test import TestCase class RegisterTestPing(TestCase): def setUp(self) -> None: self._device_id = 'id5' self._service_name = 'service_na...
; (function() { window.require(["ace/snippets/applescript"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); ...
new Crawler({ appId: "", apiKey: "", rateLimit: 8, startUrls: [ "https://ministrycentered.github.io/ui-kit/", "https://ministrycentered.github.io/", ], renderJavaScript: false, sitemaps: ["https://ministrycentered.github.io/ui-kit/sitemap.xml"], exclusionPatterns: [], ignoreCanonicalTo: false,...
'use strict'; angular.module('myApp.login', ['ngRoute']) .controller("LoginController", [ '$scope','$location', function($scope, $location){ $scope.login = function(){ console.log("Usuário logado"); } } ]);
"""Constants module.""" from __future__ import unicode_literals # Email settings. SMTP = "mail.mycompany.com:25" SENDER = "no-reply@mycompany.com" # Email templates. ERROR_REPORT = """<html> <body> <font face='verdana'> <b>Error Report.</b><br /><br /> <b>Error Message</b><br /> ...
exports.menu = false exports.handler = function printVersion (shop) { console.log(shop.options.appRepo) process.exit() }
/** * Croatian localisation for bootstrap-wysihtml5 */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define('bootstrap.wysihtml5.hr-HR', ['jquery', 'bootstrap.wysihtml5'], factory); } else { // Browser globals f...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...