text
stringlengths
3
1.05M
/** * Auto-generated action file for "Ritc" API. * * Generated at: 2019-05-07T14:43:54.445Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / ritc-io-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector are licensed under the Apache...
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AgGridReactComponents=e():t.AgGridReactComponents=e()}(this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]...
import { h } from 'preact'; import config from '../../config.json'; import { useState, useEffect, useCallback } from 'preact/hooks'; import { useStore } from '../store-adapter'; import style from './style.module.less'; import { useLanguage } from '../../lib/i18n'; /* * To update the list, run: * * const api = u => ...
const helpers = require('../helpers.json'); const { writeHelper } = require('../lib/helpers'); helpers.forEach((helper) => { writeHelper(helper); });
let geo = { "states": { "SH": { "abbreviation": "SH", "name": "Schleswig-Holstein", "ico": "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Landeswappen_Schleswig-Holstein.png/518px-Landeswappen_Schleswig-Holstein.png" }, "HH": { "abbreviation": "HH", "name": "Hambu...
__NUXT_JSONP__("/16/63", (function(a,b,c,d,e,f,g,h,i,j){return {data:[{metaTitle:d,metaDesc:e,verseId:63,surahId:16,currentSurah:{number:"16",name:"النحل",name_latin:"An-Nahl",number_of_ayah:"128",text:{"1":"اَتٰىٓ اَمْرُ اللّٰهِ فَلَا تَسْتَعْجِلُوْهُ ۗسُبْحٰنَهٗ وَتَعٰلٰى عَمَّا يُشْرِكُوْنَ ","2":"يُنَزِّلُ الْمَلٰۤ...
'use strict'; const chai = require('chai'); const assert = chai.assert; const config = require('../../../../lib/grunt/config/grunt-web'); describe('Grunt Web Tests', function () { it('no project config and es6 support', function () { let counter = 0; const gruntMock = { registerTask() ...
import os import time from Tkinter import Tk from tkFileDialog import askopenfilename def change_settings(first_time): if first_time==0: customizations=read_settings() tone=customizations[0] snooze=customizations[1] settings=open("settings.txt","w") settings.write("Please change only if you know what you are ...
import logging import tempfile import threading import os from abc import ABCMeta, abstractmethod from typing import Dict, Text, Any, Tuple, Set, List from schema_salad.validate import ValidationException from .builder import Builder from .errors import WorkflowException from .mutation import MutationManager from .j...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be the pattern used to construct R and let F be the flags used to c...
// Constants const DATABASE_NAME = 'devops_multi_sample_application'; const TABLE_NAME = 'host_metrics_sample_application'; const SQ_DATABASE_NAME = 'sq_result_database_multi'; const SQ_TABLE_NAME = 'sq_result_table'; const MEASURE_VALUE_SAMPLE_DB = "measureValueSampleDb"; const MEASURE_VALUE_SAMPLE_TABLE = "measureVal...
/*! * jQuery Mobile Theme Templater * http://uglymongrel.com.com * * Copyright 2014 Alexander Schmitz and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.uglymongrel.com.com/jquery-mobile-theme-templater */ //>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude); //>...
import React, { Fragment } from "react"; import { connect } from "react-redux"; import { withRouter } from "react-router-dom"; const NavBar = (props) => { let url = window.location.href; return ( <Fragment> <header id="masthead" class="site-header header-default"> <div class="cartsy-menu-area"> ...
import base64 import time from io import BytesIO import cv2 import numpy import requests from flask import Flask, request, jsonify from makeup import gen, TimePoint from e3_storage.kvstorage import vv_storage_instance app = Flask('face-makeup') def read_im(fname): if isinstance(fname, str): if 'base64,...
"use strict"; jest.mock("nodemailer"); const nodemailer = require("nodemailer"); const { ServiceBroker } = require("moleculer"); const MailService = require("../../src"); const _ = require("lodash"); describe("Test MailService", () => { describe("Test created", () => { it("should be created without transport", ...
describe('Home Page', () => { it('Shows the home page', () => { cy.visit('/') cy.get('.navbar .title').contains('GainsTrack').should('be.visible') cy.contains('Workouts').should('be.visible') cy.get('.button').contains('New Workout').should('be.visible') cy.get('.button > .icon').contain...
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports...
import * as chrt from 'chrt'; import { xAxis } from '../../../src/chrtAxis' const days = 28; const data = new Array(24 * days).fill(1).map((d,i) => { return { x: new Date(2021,0,Math.floor(i / 24) + 1,i % 24,0), y: Math.sin((i % 360) / Math.PI) * 100, } }) /* second: DURATION_SECOND, minute: DURATION_SECON...
'use strict'; var should = require('should'), request = require('supertest'), path = require('path'), mongoose = require('mongoose'), User = mongoose.model('User'), Note = mongoose.model('Note'), express = require(path.resolve('./config/lib/express')); /** * Globals */ var app, agent, credentials, user,...
const fs = require('fs'); const path = require('path'); let htmlElem = ''; var regExp = /\{\{(\w+)\}\}/g let stylesText = [] fs.mkdir(path.join(__dirname, 'project-dist'), err =>{ if (err){ fs.readdir(path.join(__dirname, 'project-dist'), (err, elements) => { if (err) throw err; elements.forEa...
const db=firebase.firestore(); const table=document.querySelector('#Tb_Show_List') db.collection('Connection').orderBy('ID_station1','asc').get().then((snapshot)=>{ //console.log(snapshot.docs); //ดึงส่วน Document มาแสดงใน console snapshot.forEach(doc => { // console.log(doc.data()); showD...
import { Directive, TemplateRef, Optional } from '@angular/core'; /** * Represents the group-header column template of the Grid which helps to customize the content of the group headers. * To define the group header template, nest an `<ng-template>` tag with the `kendoGridGroupHeaderColumnTemplate` * directive insid...
// it: () => { (function () { { var a = 1 + 1; let b = 2 + 2; const c = 3 + 3; console.log(a + b + c); } })(); } // expects: () => { { var a = 1 + 1; let b = 2 + 2; const c = 3 + 3; console.log(a + b + c); } } // it: () => { (function () { { var a =...
export * from "./VideoChatModal"
module('Formats', { setup: function () { this.input = $('<input type="text">').appendTo('#qunit-fixture'); this.date = UTCDate(2012, 2, 15, 0, 0, 0, 0); // March 15, 2012 }, teardown: function () { this.input.data('datepicker').picker.remove(); } }); test('d: Day of month, no leading zero.', functi...
// @flow strict import React from 'react'; import Example from './components/Example.js'; import PropTable from './components/PropTable.js'; import PageHeader from './components/PageHeader.js'; const cards = []; const card = c => cards.push(c); card( <PageHeader name="GestaltProvider" description="An app ma...
let fetch = require("node-fetch") let handler = async (m, { conn }) => { let res = await fetch('https://raw.githubusercontent.com/VideFrelan/words/main/ptl.txt') let txt = await res.text() let arr = txt.split('\n') let cita = arr[Math.floor(Math.random() * arr.length)] conn.sendFile(m.chat, cita, 'asupan.mp4', 'Nih ka...
const requireDirectory = require('require-directory') const rules = requireDirectory(module, './rules') exports.config = { recommended: { 'sloc': { rules: { 'warning': {unit: 'seconds', value: 3*3600}, // 3 hours (half work day) 'error': {unit: 'seconds', value: 7*3600} // 7 hours (...
var i, i2, a, b; new class { constructor(x){ } }(1, ""), new class { constructor(x){ } }(1, ""), new i(1, ""), new i2(1, ""), new a(1, ""), new b(1, "");
from pandas import DataFrame dataset = { 'test1': b'#!/bin/bash\\nDUMMY=echo\n' , 'put_data_to_df': DataFrame( [ ['#!/bin/bash\\nDUMMY=echo\n'], ], columns=['path'] ), }
/* global sinon, QUnit */ sap.ui.define([ "sap/ui/core/BusyIndicator", "sap/ui/core/Core", "sap/ui/thirdparty/jquery" ], function ( BusyIndicator, oCore, jQuery ) { "use strict"; var bInitialized = oCore.isInitialized(); var oSpyShow = sinon.spy(BusyIndicator, "show"); var oSpyShowNowIfRequested = sinon.spy...
# coding: utf-8 import filecmp import numbers import re from os import getenv from pathlib import Path import numpy as np import pytest from scipy import sparse from sklearn.datasets import dump_svmlight_file, load_svmlight_file from sklearn.model_selection import train_test_split import lightgbm as lgb from lightgbm...
#!/usr/bin/env python3 import re from pprint import pprint from typing import Dict, Any, Union import helper class RegExp: def __init__(self, rules: str) -> None: self.d: Dict[int, Any] = self.parse_rules(rules) self.regexp: str = self.build_regexp() def process(self, param: Union[int, tuple...
import React from 'react'; import PropTypes from 'prop-types'; // import {getWidthAsPercentOfTotalWidth} from '../../utils/percentUtils'; /** Display progress between 0 and 100 percent on colorful horizontal bar. */ class ProgressBar extends React.Component { getColor = (percent) => { if (this.props.percent === ...
/* * Copyright 2012 OSBI Ltd * * 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 a...
require('dotenv').config(); const jwt = require('jsonwebtoken'); function Question(number, multiplicative) { this.question = `What is ${number} x ${multiplicative}`; this.correct_answer = `${number * multiplicative}`; this.incorrect_answers = [ `${number * (multiplicative + 1)}`, `${number * (multiplicat...
import causalicp as icp import sempler import sempler.generators # Generate a random graph and construct a linear-Gaussian SCM W = sempler.generators.dag_avg_deg(4, 2.5, 0.5, 2) scm = sempler.LGANM(W, (-1, 1), (1, 2)) # Generate a sample for setting 1: Observational setting data = [scm.sample(n=100)] # Setting 2: Sh...
import {TweenMax, Power4} from "gsap"; let $mainNav; let $menu; const $body = document.querySelector('body'); export const init = () => { const $toggleButton = document.querySelector('.toggle-button'); $mainNav = document.querySelector('.main-nav'); $menu = document.querySelector('.main-nav__menu'); if ($togg...
/*! ========================================================= * Argon Dashboard React - v1.1.0 ========================================================= * Product Page: https://www.creative-tim.com/product/argon-dashboard-react * Copyright 2019 Creative Tim (https://www.creative-tim.com) * Licensed under MIT (https:/...
/******/ (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...
import React from "react"; import {Card, CardActions, CardContent, CardHeader, Grid} from "@mui/material"; import Typography from "@mui/material/Typography"; import Button from "@mui/material/Button"; import {connect} from "react-redux"; import {setProject} from "../../../Redux/Projects/projectActions"; import {useHist...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @license * Copyright Google LLC 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 */ const core_1 = require("@angular-devkit/c...
import CookieService, { getExpirationDate } from './CookieService'; describe('CookieService', () => { const cookieName = 'myCookie'; const cookieValue = 'myValue'; const daysToLive = 1; const path = '/home'; const domain = 'something.com'; const expires = `; expires=${getExpirationDate(daysToLive)}; path=$...
import React from 'react' import assert from 'assert' import sinon from 'sinon' import { mount } from 'enzyme' import ConfirmResetAccount from '../index' describe('Confirm Reset Account', function () { let wrapper const props = { hideModal: sinon.spy(), resetAccount: sinon.stub().resolves(), } before...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
import os from pathlib import Path import hikari import tanjun # You'll want to change this. GUILD_ID = 845688627265536010 def create_bot() -> hikari.GatewayBot: # Load the token from a secrets file you'll need to create yourself. with open("./secrets/token") as f: token = f.read().strip() # Cr...
import { v4 as uuidv4, validate as uuidValidate } from 'uuid'; import validator from 'validator'; function addComment(comments, args, users, posts) { const { body, published, author, post, } = args; if (!body || !published || !author || !post) { throw new Error('Invalid data'); } for (let i = 0; i...
(function($) { 'use strict'; $(function() { if ($("#performaneLine").length) { var graphGradient = document.getElementById("performaneLine").getContext('2d'); var graphGradient2 = document.getElementById("performaneLine").getContext('2d'); var saleGradientBg = graphGradient.createLinearGradien...
/* answerBrowser.js * Copyright (c) 2019-2021 by David Asher, https://github.com/david-asher * * This is a quickstart template for building Firebase authentication workflow into an electron app * This module contains functions that respond to queries from the Browser * @module answerBrowser */ 'use strict'...
import time import numpy as np import halomodel as hm CosPar = {'Omega_M':0.3, 'Omega_L':0.7, 'Omega_b':0.045, 'Omega_nu':1e-5, 'n_degen_nu':3., 'h':0.7, 'sigma_8':0.8, 'ns':0.96} z = 0.52 k_min = 1E-6 k_max = 1E4 dlogk = 1.E-2 kk = np.exp(np.arange(np.log(k_min)-2.*dlogk,np.log(k_max)+2.*dlogk,dlogk)) time0=time.t...
import os from typing import List from collections import Counter class TrainDictionary: def __init__(self): self.dictionary = {} self.counter = Counter() def train_one_line(self, token_list: List[str]) -> None: counter = Counter(token_list) self.counter += counter def do...
import urllib import re import traceback import os import glob import datetime import time import json import bottle import unidecode from fuzzywuzzy import fuzz from bson.json_util import dumps from pdb import set_trace as st from model.searchVotes import query import model.downloadVotes # Namespace issue from model...
import { getCgal } from './getCgal.js'; export const remeshSurfaceMesh = (mesh, ...lengths) => getCgal().RemeshSurfaceMesh(mesh, () => { if (lengths.length > 0) { return lengths.shift(); } else { return -1; } });
/** * @license Angular v4.0.2 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ !function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/common"),require("@angular/core"),require("rxjs/BehaviorSubject"),require("rxjs/Subject"),require("rxjs/ob...
# Copyright 2020 IBM Corporation # # 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, ...
module.exports = function check(str, bracketsConfig) { let brStrArr = []; for (let i = 0; i < bracketsConfig.length; i++) { brStrArr.push(bracketsConfig[i].join('')); } let k = Math.floor(str.length / 2); while (k) { for (let j = 0; j < brStrArr.length; j++) { if (str.indexOf(brStrArr[j]) !== -1...
//Create variable to hold new Fan survey information. var newFan = [ ]; module.exports = newFan;
const getTimeMessage = () => { // const today = new Date(); // const currentMonth = today.getMonth(); // const daysLeft = 31 - today.getDate(); // if (currentMonth !== 9) { // return "It isn't even October yet!"; // } // if (daysLeft === 0) { // return "It's the very last day! Get your last PRs in...
# coding:utf-8 # Copyright (c) 2019 PaddlePaddle 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 req...
/** * @description MeshCentral MeshAgent * @author Ylian Saint-Hilaire & Bryan Roe * @copyright Intel Corporation 2018-2022 * @license Apache-2.0 * @version v0.0.1 */ /*jslint node: true */ /*jshint node: true */ /*jshint strict:false */ /*jshint -W097 */ /*jshint esversion: 6 */ "use strict"; // Construct a MeshAge...
// Must write page specific js for opening modal and displaying contents var body = $("body"); var modalCont = $(".modal-container"); var modal = $(".modal"); var modalHeader = $(".modal .header"); var modalBody = $(".modal .body"); var close = $(".modal .close"); function closeModal() { modalCont.removeClass("activ...
function sleep(ms) { return new Promise(r => setTimeout(r, ms)) } async function run_stress_test() { const output = $('#stress_output') output.html('') function log (msg) { const t = performance.now().toFixed(0) output.append(`<span class='msg'>[${t}ms] ${msg}</span><br/>`) } ...
from discord.ext import commands from discord.utils import find import re import logging from utils import Config, permission_node from .utils import isUp, sendCmd log = logging.getLogger('charfred') class Customs(commands.Cog): def __init__(self, bot): self.bot = bot self.loop = bot.loop ...
'use strict'; module.exports = { name: 'ember-c3-chart', included(app) { this._super.included.apply(this, arguments); // import d3 app.import('node_modules/d3/dist/d3.min.js'); app.import('vendor/shims/d3.js'); // import c3 app.import('node_modules/c3/c3.js'); app.import('node_module...
'use strict'; var app = angular.module('MMI', [ 'ui.router', 'ui.bootstrap', 'MMI.summary', 'MMI.objectiveGrid', 'MMI.global', 'MMI.explore', 'MMI.start', 'MMI.graph', 'MMI.dir', 'MMI.downDrill' ]); app.config(['$stateProvider', '$urlRouterProvider', '$httpProvider', function...
const dispatch = jest.fn(); const subscribe = jest.fn(); const getState = jest.fn(); let subscriberFn; let state = {}; function mockStore() { return { subscriber() { return subscriberFn; }, getState: getState.mockImplementation( () => state ), dispatch, mockState( newState ) { state =...
import { useState, useEffect, useCallback } from "react"; // Hook export const useWindowSize = () => { const isClient = typeof window === "object"; const getSize = useCallback(() => { return { width: isClient ? window.innerWidth : undefined, height: isClient ? window.innerHeight : undefined };...
import React from 'react'; import Pagination from 'util/pagination/index.js'; import Table from 'util/table/index.js'; import PageTitle from 'components/page-title/index.js'; import User from "service/user_service.js"; import './style.scss'; const _user = new User; class UserList extends React.Component{ constr...
# -*- coding: utf-8 -*- # (C) Copyright 2014 Voyager Search # # 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 l...
{ "name" : "views_ssd_linux", "desc" : "rel_build_", "loop" : false, "phases" : { "0" : { "name" : "create_buckets", "desc" : "create buckets", "buckets" : {"default" : {"quota": "12600", "replicas": "1", "repl...
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
(function (root, factory) { var translations = { "domain": "converse", "locale_data": { "converse": { "": { "Project-Id-Version": "Converse.js 0.4", "Report-Msgid-Bugs-To": "", "POT-Creation-Date": "2013-09-15 21...
/* Copyright 2019 New Vector Ltd 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, software ...
""" Python 库中用于连接 WebSocket 的有很多 但是易用、稳定的有: 1. websocket-client(非异步) 安装:pip install websocket-client 2. websockets(异步) 教程:https://websockets.readthedocs.io/en/stable/intro.html 3. aiowebsocket(异步 源码:https://github.com/asyncins/aiowebsocket 安装:pip install aiowebsocket...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var userSchema = new Schema({ email: String, name: String, image_url : String, role: Number },{ timestamps: true }); var user = mongoose.model('user', userSchema); module.exports = user;
var myDemoApp = angular.module("myDemoApp",['ui.router']);
import { warn } from '@ember/debug'; import { alias } from '@ember/object/computed'; import { computed, get } from '@ember/object'; import { inject as service } from '@ember/service'; import Component from '@ember/component'; import layout from '../templates/components/animated-each'; import { task } from '../-private/...
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot...
# # Autogenerated by Thrift Compiler (0.9.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from thrift.transport import TTransport from thrift.protocol import TBinaryProtocol, TProtocol tr...
import datetime import itertools import json import re from collections import OrderedDict, Counter from typing import Dict, List, Optional, Tuple, Any, Set from IPy import IP from irrd.rpki.status import RPKIStatus from irrd.rpsl.parser_state import RPSLParserMessages from irrd.scopefilter.status import ScopeFilterS...
module.exports = { siteMetadata: { title: 'Gatsby Default Starter', desc: 'New Blog', }, plugins: [ 'gatsby-plugin-react-helmet', 'gatsby-plugin-styled-components', { resolve: 'gatsby-source-filesystem', options: { name: 'src', path: `${__dirname}/src/`, }, ...
import styled from 'styled-components' import { Row } from 'antd' const Container = styled.div` padding: 20px 40px; border: 2px solid #CCC; position: relative; .gatsby-image-wrapper { border: 2px solid #f5f5f5; } &:before { width: calc(100% - 10px); height: calc(100% - 10px); background: ...
# Copyright (c) 2012-2016 Seafile Ltd. import logging from dateutil.relativedelta import relativedelta from django.utils import timezone from django.utils.translation import ugettext as _ from rest_framework import status from rest_framework.authentication import SessionAuthentication from rest_framework.permissions i...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _propTypes = _interopRequireDefault(require("prop-types")); var _reactMomentProptypes = _interopRequireDefault(require("react-moment-proptypes")); var _airbnbPropTypes = require("airbnb-prop-types"); var...
/* Strike by Appiphony Version: 1.0.0 Website: http://www.lightningstrike.io GitHub: https://github.com/appiphony/Strike-Components License: BSD 3-Clause License */ ({ handleInit: function(component,event,helper){ setTimeout(function(){ helper.format(component,event,helper); }, 1); }, handl...
(self.webpackChunkgosh_esp=self.webpackChunkgosh_esp||[]).push([[476],{37476:function(De,ae,s){"use strict";var H=s(71194),C=s(57016),r=s(84305),le=s(69224),M=s(67294),J=s(21770),Pe=s(97435),G=s(73935),K=s(57712),Ee=s(80334),q=s(12435),ie=["children","trigger","onVisibleChange","modalProps","onFinish","title","width"];...
# Generated by Django 3.0.1 on 2019-12-22 20:44 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0004_auto_20191221_1015'), ] operations = [ migrations.AlterUniqueTogether( name='bid', unique_together={('item', 'us...
"use strict"; exports.__esModule = true; exports.default = DNALoader; var _react = require("react"); var _react2 = _interopRequireDefault(_react); var _classnames = require("classnames"); var _classnames2 = _interopRequireDefault(_classnames); require("./style.css"); function _interopRequireDefault(obj) { return...
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
from __future__ import absolute_import, unicode_literals import celery from django.db import transaction from django.db.models import Q from django.utils import timezone from .models import LeaveMigration @celery.task() @transaction.atomic def execute_leave_migrations(): today = timezone.now().date() # toda...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
(function(){ coscup.network = {}; Titanium.include('data.js'); ////////////Update Data coscup.network.getSponsors = function (callback) { var xhr = Titanium.Network.createHTTPClient(); xhr.onload = function() { //Ti.API.info(this.responseText); var result = {}; if(this.responseText != null) { ...
// import '@babel/polyfill' import 'raf/polyfill'
from cors import _build_cors_preflight_response as bcpr from cors import _corsify_actual_response as car from flask import Flask, jsonify, redirect, request from shortner import shorten, valid from flask_cors import CORS from db import get_url, get_clicks, exists app = Flask(__name__) cors = CORS(app) @ap...
from collections import Counter from itertools import chain from operator import attrgetter from django.db import IntegrityError, connections, transaction from django.db.models import signals, sql class ProtectedError(IntegrityError): def __init__(self, msg, protected_objects): self.protected_objects = p...
/** * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder */ /** * Class: mxSwimlaneLayout * * A hierarchical layout algorithm. * * Constructor: mxSwimlaneLayout * * Constructs a new hierarchical layout algorithm. * * Arguments: * * graph - Reference to the enclosing <mxGraph>....
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{402:function(e,t,c){"use strict";c.r(t);var b=c(0),O=c(9);function j(e){let t,c,j,n,i,r,a,o,f,s,d,l,u,h,p,m,y,g,v,E,D,N,w,$,z;return t=new O.a({props:{title:"Contribute"}}),{c(){Object(b.s)(t.$$.fragment),c=Object(b.ab)(),j=Object(b.z)("section"),n=Object(b.z)("...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
/* ------------------------------------------------------------------------------ * * # D3.js - gradient encoding line chart * * Demo d3.js gradient encoding line chart setup with .tsv data source * * ---------------------------------------------------------------------------- */ // Setup module // ----------...
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[625],{5625:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var r=n(5166),i=["src"],c={class:"container-fluid flex relative"},o={class:"container__half-panel relative flex flex-column"},a=(0,r._)("h1",null,"Ticketing Page",-1),s={class:"container__row action__row"},u...