text
stringlengths
3
1.05M
# # SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # 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...
export { default } from 'myfirst-addon/components/my-button';
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var Q = require('q'); /* jshint ignore:line */ var _ = require('lodash'); /* jshint ignore:line */ var util = require('util'); /* jshin...
# -*- coding: utf-8 -*- """Who command.""" # Part of Clockwork MUD Server (https://github.com/whutch/cwmud) # :copyright: (c) 2008 - 2017 Will Hutcheson # :license: MIT (https://github.com/whutch/cwmud/blob/master/LICENSE.txt) from .. import Command, COMMANDS from ...characters import CharacterShell from ...sessions i...
import BoundingRectangle from "../Core/BoundingRectangle.js"; import Color from "../Core/Color.js"; import defined from "../Core/defined.js"; import destroyObject from "../Core/destroyObject.js"; import PixelFormat from "../Core/PixelFormat.js"; import ClearCommand from "../Renderer/ClearCommand.js"; import DrawCommand...
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright: (c) 2018, Dag Wieers (dagwieers) <dag@wieers.com> # 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 ANSIBLE_METADATA = {'metadata_ver...
""" =========== Link Editor =========== An Dialog to edit links between two nodes in the scheme. """ from collections import namedtuple from xml.sax.saxutils import escape from AnyQt.QtWidgets import ( QApplication, QDialog, QVBoxLayout, QDialogButtonBox, QGraphicsScene, QGraphicsView, ...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
import React, { useEffect,useState } from 'react'; import { BrowserRouter as Router, Routes } from 'react-router-dom'; import {useNavigate} from 'react-router-dom'; var url = "https://jsonplaceholder.typicode.com" const Login = function(){ let navigate = useNavigate(); const [success,setSuccess] = useSta...
export default { confirmLabel: 'Ok', backspaceLabel: 'Backspace', cancelKeyboardLabel: 'CancelKeyboard' }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZfU0UuanMiLCJzb3VyY2VSb290IjoiLi4vLi4vY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImlucHV0LWl0ZW0vbG9jYWxlL3N2X1NFLnRzIl0sIm5hbWVzIjp...
require('babel-polyfill') const bodyParser = require('body-parser') const express = require('express') const path = require('path') const ejs = require('ejs') const { IS_LOCALHOST, IS_DEV, IS_SANDBOX } = require('./lib/config') const { getModelWithApp } = require('./lib/model') const { setApisWithAppAndModel } =...
/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. /** * This sa...
import $axios from '../api.js' const state = () => ({ products: [], //STATE YANG AKAN MENYIMPAN DATA PRODUCT laundry_types: [], page: 1 }) const mutations = { //MUTATION UNTUK MEMASUKKAN DATA KE DALAM STATE PRODUCTS ASSIGN_DATA(state, payload) { state.products = pay...
/*global history */ sap.ui.define([ 'sap/m/Button', "sap/migratedsalesorder/controller/BaseController", "sap/m/MessageToast" ], function (Button, BaseController, MessageToast, Dialog) { "use strict"; return BaseController.extend("sap.migratedsalesorder.controller.DocFlow", { onInit: function () { // ca...
const fs = require('fs'); const { performance } = require('perf_hooks'); const puppeteer = require('puppeteer-core'); const axios = require('axios'); const dateFormat = require('dateformat'); const dotEnv = require('dotenv'); (async () => { dotEnv.config(); const browser = await puppeteer.launch({ exe...
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_context import InstanceContext from twilio.base.instance_resource import InstanceResource from twilio.base...
(function(e){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=e()}else if(typeof define==="function"&&define.amd){define([],e)}else{var t;if(typeof window!=="undefined"){t=window}else if(typeof global!=="undefined"){t=global}else if(typeof self!=="undefined"){t=self}else{t=this}t.katex=e()}})(f...
const { run } = require('runjs') const chalk = require('chalk') const config = require('../vue.config.js') const rawArgv = process.argv.slice(2) const args = rawArgv.join(' ') if (process.env.npm_config_preview || rawArgv.includes('--preview')) { const report = rawArgv.includes('--report') run(`vue-cli-s...
angular.module('App').controller( 'CdnManageCtrl', class CdnManageCtrl { constructor( $scope, $q, $stateParams, $filter, $translate, Cdn, currentActiveLink, domainsLink, ) { // injections this.$scope = $scope; this.$q = $q; this.$stateP...
/** * Fill Try Form */ (function(){ var fields = { "trySource" : "1", "trysType" : "1", "IsPostPay" : "0", "DateNum" : "10", "IsSellYear" : "3", "IsTaoke" : "1", "Title" : "测试活动 " + new Date().toLocaleDateString(), "tryType" : "1", "cate_cid"...
var a02813 = [ [ "queueElement", "a02813.html#a73bc58b896e706fe0844d45a6a776449", null ], [ "operator()", "a02813.html#a17bf78ee09ab473f61bbec7d6ac4abd5", null ] ];
// ==UserScript== // @name I Am Distracted - Unlocked-content // @namespace https://github.com/bansan85/IAmDistracted.unlocked-content // @description Help to keep you focus while browsing. Remove boring "Click to continue" or silly hide content. // @include http://* // @include https://* // @license ...
/* * 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 cause incorrect behavior and will be lost if the code is * regenerated. */ '...
############################################################################### # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. ############################################################################### imp...
import React from 'react' import { connect } from "react-redux"; class AddOne extends React.Component { render() { return ( <div> <span>Sum the number of the input:</span> <br /> <button onClick={this.props.addOne}>Add One</button> </div> ) } } const mapStateToProps = (...
# # 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 may not...
;(function () { var module = { execute: function (lasca) { lasca = lasca || window.lasca; $(document).ready(function(){ var shuffle, diff, obj = {}; window.module('UTILS'); test('las...
'use strict'; var _ = require('lodash'); var BufferUtil = require('./util/buffer'); var JSUtil = require('./util/js'); var networks = []; var networkMaps = {}; /** * A network is merely a map containing values that correspond to version * numbers for each litecoin network. Currently only supporting "livenet" * (a....
/* Miscellaneous utilities */ /* Escape regular expression metacharacters in str */ function escapeRegexInner(str) { return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); } /* Call callback once the returned function has been called counter times * * The return value is a closure that decrements counter, and, when ...
import React from 'react'; export default class Services extends React.Component { render() { return ( <section className="page-section" id="services"> <div className="container"> <h2 className="text-center mt-0">At Your Service</h2> <hr className="divider my-4" /> ...
import React from "react" import SocialLinks from "../../constants/socialLinks" import Image from "gatsby-image" import { graphql, useStaticQuery } from "gatsby" import Title from "./Title" import styled from "styled-components" const query = graphql` { file(relativePath: { eq: "banner-about.jpeg" }) { chil...
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
import moment from "moment"; export function filterSensorsAggregates(reading, formula, aggregates) { const { date } = reading; const { measurementSample } = formula; const startMillis = moment.utc(date).valueOf() - moment.utc(date).valueOf() % measurementSample; const endMill...
const formidable = require('formidable'); const fs = require('fs'); const path = require('path'); const uuidv1 = require('uuid/v1'); module.exports = (parser, ...names) => { if (typeof parser !== 'function') { names.push(parser); parser = false; } return async (req, res, next) => { var form = new fo...
YUI.add('newsContainer', function(Y, NAME) { Y.namespace('mojito.controllers')[NAME] = { // BEGIN CODE CHANGES index: function(ac) { // This is a composit mojit, used to contain children // mojits. Pass the action onto the children mojits. ac.composite.d...
# # Copyright 2019 Altran. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
import { FETCH_COMMENTS_SUCCESS, FETCH_FAILED } from '../../Actions/actionTypes'; const commentsReducers = (api = [], action) => { switch (action.type) { case FETCH_COMMENTS_SUCCESS: return action.receivedApi; case FETCH_FAILED: return []; default: ...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import _ from 'lodash'; class ProductSquare extends Component { constructor(props) { super(props); this.state = { product: props.product }; } componentDidMount() { } getHoverImages(product) { return _.m...
import React from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' /** * The Image component. */ const Image = props => { const { responsive, contain, cover, ...otherProps } = props // Prepare class names. const classNames = classnames({ 'img-responsive': responsive, 'img...
import fetch from '@/utils/fetch' export function getMergeResult(id) { return fetch({ url: '/api/data/getMergeResult/' + id, method: 'get' }) } export function getDataStat(id) { return fetch({ url: '/api/data/getDataStat/' + id, method: 'get' }) } export function getCrowdTask(data1, data2) { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _events = require("events"); var _reconnectingWebsocket = _interopRequireDefault(require("reconnecting-websocket")); var _axios = _interopRequireDefault(require("axios")); var _stargate = require("@cosmj...
import argparse from markdown import markdown def findnth(haystack, needle, n): parts = haystack.split(needle, n+1) if len(parts) <= n+1: return -1 return len(haystack)-len(parts[-1])-len(needle) def docs_to_html(output_file): rdme = './README.md' html_out = [] with open(rdme) as f:...
/* @flow */ import React, { PureComponent } from 'react'; import { FlatList, StyleSheet } from 'react-native'; import type { Actions } from '../types'; import { privateNarrow, groupNarrow } from '../utils/narrow'; import UserItem from '../users/UserItem'; import ConversationGroup from './ConversationGroup'; const sty...
const express = require('express'); const routes = express.Router(); const SessionController = require('../app/controllers/SessionController'); const ProfileController = require('../app/controllers/ProfileController'); const UserController = require('../app/controllers/UserController'); const UserValidator = require(...
/*=================================== Author : Bestwebcreator. Template Name: Anger - Creative Business & Portfolio Multi-purpose HTML5 Template Version : 1.8 ===================================*/ (function($) { 'use strict'; // init Isotope var $container = $('.loadmore').isotope({ itemSelector: '...
""" Patch replicate function, to ignore those parameters/buffers that are not copied. Bring a 1.4x performance increase for super_net weights_manager using discrete rollout. """ # pylint: disable-all import os from itertools import chain import functools import torch from torch import distributed as dist from torch.nn...
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Presubmit for Chromium HTML/CSS/JS resources. See chrome/browser/PRESUBMIT.py. """ import regex_check class ResourceChecker(object): def __init__(se...
"""Provide info to system health.""" from pyisy import ISY from openpeerpower.components import system_health from openpeerpower.const import CONF_HOST from openpeerpower.core import OpenPeerPower, callback from .const import DOMAIN, ISY994_ISY, ISY_URL_POSTFIX @callback def async_register( opp: OpenPeerPower, ...
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE in...
import {css} from 'lit'; export default css` :host { position: relative; } .big-btn { display: inline-block; margin: 10px auto; padding: 9px 14px; border-radius: 10px; font-weight: bold; font-size: 1.2em; background: rgba(107, 107, 107, 0.64); box-shadow: 0 3px 0 rgba(54, 54, 54, 0.94); opacity...
/** * @license * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/* eslint-disable no-use-before-define */ import { CHANGE_ACTIVE_SLIDE, CHANGE_MODE } from '../constants/AppConstants'; export function changeActiveSlide(num) { return { type: CHANGE_ACTIVE_SLIDE, slide: num }; } export function changeMode(mode) { return { mode: mode, type: CHANGE_MODE }; }
module.exports = { UPDATE_VALUE ({ character, data }) { character.world.state[data.payload.key] = data.payload.value } }
import styled from 'styled-components'; import menuItemsStyles from './menuItemsStyles'; const StyledMenuItems = styled.div` ${menuItemsStyles}; `; export default StyledMenuItems;
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
const baseURL = "http://localhost:8080"; const navBar = document.getElementById("nav-bar"); navBar.innerHTML = ` <div id="shift-leader-div"> <div class="shift-leader-info"> <ul> <li>Vagtleder:</li> <li id="shift-leader-name"></li> </ul> </div> <div ...
import React, { useEffect, useState } from "react" import { useStaticQuery, graphql } from "gatsby" import AOS from "aos" import "aos/dist/aos.css" import PropTypes from "prop-types" import Helmet from "react-helmet" import Footer from "../components/footer/index" import MainFloatingScreen from "../components/floatingS...
const { axios, RTError, IDHelper, _P } = require('../utils/node'); const logger = require('../utils/logger'); const op = require('../core/op'); const { PAGE_SIZE } = require('../conf/sys-config'); function filter(e) { // 处理shortcut if (e.shortcutDetails) { e.id = e.shortcutDetails.targetId; e....
import argparse import json import os import re import shutil import sys import time from pathlib import Path from typing import Any, Callable, List, TypedDict import cli_ui as ui import psutil import tankerci import tankerci.conan import tankerci.js class TestFailed(Exception): pass class Config(TypedDict): ...
# # This file is part of rasp-machine. # # Copyright (C) 2021 by Franck Chauvel # # This code is licensed under the MIT License. # See LICENSE.txt for details # from rasp.debug.controller import Break, DebugController, Quit, SetAccumulator, SetMemory, \ SetInstructionPointer, ShowCPU, ShowMemory, ShowSource, Step...
# ask user if they want a top or a bottom color selection # input what color they watn from our given list # return color combos for that chosen color top_or_bottom = input("would you like a top or a bottom: ") if top_or_bottom == "top": color_top = input("Choose a color: red, green, white, black, blue, purple, or...
import pytest from app.extensions import db from tests.constants import TEST_PARTY_PER_FIRST_NAME_1, TEST_PARTY_PER_PARTY_NAME_1, TEST_PARTY_PER_GUID_1, TEST_MANAGER_GUID, TEST_MINE_GUID, TEST_PARTY_ORG_NAME from app.api.users.minespace.models.minespace_user import MinespaceUser TEST_MINESPACE_USER_EMAIL1 = "email1@sr...
$(document).ready(function(){ $("#cep").mask("99.999-999", { reverse: true }); $("#tel_resid").mask("99999-9999", { reverse: true }); $("#tel_cel").mask("99999-9999", { reverse: true }); $("#cpf").mask("999.999.999-99", { reverse: true }); $("#cep").change(function () { if ($(t...
import React from 'react'; import IconSortChevron from '../IconSortChevron'; describe('icons/general/IconSortChevron', () => { const getWrapper = (props = {}) => shallow(<IconSortChevron {...props} />); test('should correctly render default icon', () => { const wrapper = getWrapper(); expect...
import Vue from 'vue' import Vuex from 'vuex' import common from '@/api/common'; import liveBroadcast from './modules/liveBroadcast'; import kidsInfo from './modules/kidsInfo'; Vue.use(Vuex); import studentRouter from '@/router/studentRouter'; const env = process.env.NODE_ENV; export default new Vuex.Store({ mod...
import React from "react"; import { navigate } from "gatsby-link"; import Layout from "../../components/Layout"; function encode(data) { return Object.keys(data) .map(key => encodeURIComponent(key) + "=" + encodeURIComponent(data[key])) .join("&"); } export default class Index extends React.Component { co...
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('footer-partial', 'Integration | Component | footer partial', { integration: true }); test('it renders', function(assert) { // Set any properties with this.set('myProperty', 'value'); // H...
# This Python file uses the following encoding: utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function # Imports import json import tensorflow as tf import requests as req import numpy as np from app.solr import Solr from collections import Counter from sklea...
#!/usr/bin/python3 # author: Charlotte Bunne # imports import jax import jax.numpy as jnp from flax import linen as nn from typing import Any, Callable, Sequence, Tuple PRNGKey = Any Shape = Tuple[int] Dtype = Any Array = Any class Dense(nn.Module): """A linear transformation applied over the last dimension of ...
from sympy.core.function import Add, ArgumentIndexError, Function from sympy.core.power import Pow from sympy.core.singleton import S from sympy.core.sorting import default_sort_key from sympy.functions.elementary.exponential import exp, log def _logaddexp(x1, x2, *, evaluate=True): return log(Add(exp(x1,...
/* * Copyright 2013 Laurent Bovet <laurent.bovet@windmaster.ch> * * 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...
import Stream from '../../src/streaming/Stream'; import Events from '../../src/core/events/Events'; import ProtectionEvents from '../../src/streaming/protection/ProtectionEvents'; import EventBus from '../../src/core/EventBus'; import DashJSError from '../../src/streaming/vo/DashJSError'; import ProtectionErrors from '...
import React from 'react' import { graphql } from 'gatsby' import { rhythm } from '../utils/typography' import * as Lang from '../constants' export default ({ data }) => { const resumes = data.allMarkdownRemark.edges const resume = resumes .filter(({ node }) => node.frontmatter.lang === Lang.ENGLISH) .ma...
import React, { Fragment, Component } from "react"; import { RadioButton, RadioButtonContainer } from "../../reusable/Radio"; import StyledSubtitle from "../../reusable/StyledSubtitle"; import Row from "../../reusable/Row"; import translate from "../../reusable/translate"; import InfoIcon from "../../reusable/InfoIcon"...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import ReactTable from 'react-table-6'; import { DeleteButton } from '../components/buttons'; import api from '../api'; import styled from 'styled-components'; import 'react-table-6/react-table.css'; const Wrapper = styled.div` padd...
# -*- coding: utf-8 -*- # SPDX-License-Identifier: Apache-2.0 # # The OpenSearch Contributors require contributions made to # this file be licensed under the Apache-2.0 license or a # compatible open source license. # # Modifications Copyright OpenSearch Contributors. See # GitHub history for details. # # Licensed to ...
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ var security = { // Display the...
var searchData= [ ['view_0',['view',['../classecs_1_1view.html',1,'ecs::view&lt; Components &gt;'],['../classecs_1_1registry.html#ae2dd9a290234e17841b32a34a9724434',1,'ecs::registry::view()']]], ['view_5fiterator_1',['view_iterator',['../classecs_1_1view__iterator.html',1,'ecs::view_iterator&lt; Component, Componen...
'use strict'; /*! * Bootstrap-fullscreen-select v1.5.1 (http://craftpip.github.io/bootstrap-fullscreen-select/) * Author: boniface pereira * Website: www.craftpip.com * Contact: hey@craftpip.com * * Copyright 2013-2014 bootstrap-select * Licensed under MIT (https://github.com/craftpip/bootstrap-fullscreen-selec...
var searchData= [ ['upcastinner',['upcastInner',['../classfaiss_1_1gpu_1_1Tensor.html#aee5cf46d16344e2a055cf63adb07d24a',1,'faiss::gpu::Tensor']]], ['upcastouter',['upcastOuter',['../classfaiss_1_1gpu_1_1Tensor.html#a309eb97e9c6dbfdecf383343c072d38c',1,'faiss::gpu::Tensor']]], ['update_5fbounds',['update_bounds',...
import axios from "axios"; export default { ajaxGet (api, cb) { axios.get(api) .then(cb) .catch(err => { console.log(err); }) }, ajaxPost (api, post, cb) { axios.post(api, post) .then(cb) .catch(err => { ...
'use strict' var Promise = require('promise'); var db = require('../../db/models'); var Sequelize = require('sequelize'); var Notifi_User = db.NotificationUser; function checkViewedNotification(noti_id, listNotiUser) { var result= false; listNotiUser.forEach(element => { if(noti_id == el...
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/cdk/coercion"),require("@angular/core"),require("rxjs"),require("rxjs/operators"),require("@angular/cdk/platform"),require("@angular/common"),require("@angular/cdk/bidi"),require("@angular/cdk/collections")):"function"==type...
function withCache(fn) { let cached; return () => cached = cached ? cached : fn() } function extractWBMods() { let mods, id = Date.now(); window.webpackJsonp.push([ [id], { [id]: (mod, exports, __webpack_require__) => { mods = __webpack_require__.c; ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var StyledIconBase_1 = require("../../StyledIconBase"); exports.MinusCircle = React.forwardRef(function (props, ref) { var attrs = { "fill": "curre...
import { __decorate, __metadata } from 'tslib'; import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, ChangeDetectorRef, Host, ElementRef, Renderer2, Output, NgModule } from '@angular/core'; import { NzConfigService, WithConfig, InputBoolean, collapseMotion, NzAddOnModule } from 'ng-zorro...
import axios from "axios"; import urls from "urls"; import * as actionTypes from "../actionTypes/pronDictActionTypes"; const baseUrl = (process.env.REACT_APP_BASEURL) ? process.env.REACT_APP_BASEURL : "http://" + window.location.host; /* * * * * * * * * * * * NEW * * * * * * * * * * * */ export function p...
/*! * Bootstrap v3.0.3 * * Copyright 2013 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. */ +function (a) { "use strict"; var b = '[data-dismiss="alert"]', c = function (...
import _plotly_utils.basevalidators class MatchesValidator(_plotly_utils.basevalidators.EnumeratedValidator): def __init__(self, plotly_name="matches", parent_name="layout.xaxis", **kwargs): super(MatchesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import division import inspect import datetime import functools import numpy as np try: from functools import lru_cache except ImportError: from backports.functools_lru_cache import lru_cache class FormulaException(Exception): pass def w...
const unirest = require("unirest"); const fetch = require('node-fetch'); const { discord, url_link } =require('../config'); module.exports.refreshUser = async(opts) => { const params = new URLSearchParams(); params.append("client_id", discord.client_id); params.append("client_secret", discord.client_secret...
$wnd.showcase.runAsyncCallback29("function I9(a){this.a=a}\nfunction G9(a,b){this.a=a;this.b=b}\nfunction D9(a){var b,c,d;b=_Wb(JIb(a.a));c=_Wb(JIb(a.b));d=_Wb(JIb(a.c));UBb(a.d,\"User '\"+b+\"' has security clearance '\"+c+\"' and cannot access '\"+d+\"'\")}\nfunction C9(a){var b,c,d,e,f,g,h;d=new lEb;b=tB(d.j,96);d.o...
!function(t){function e(i){if(s[i])return s[i].exports;var n=s[i]={exports:{},id:i,loaded:!1};return t[i].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var s={};return e.m=t,e.c=s,e.p="",e(0)}([function(t,e,s){var i,n,o={};i=s(4),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports.default);var r="function"...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["pdfjs/noprefetch-RKSJ-V-bcmap"],{ /***/ "./node_modules/raw-loader/index.js!./node_modules/pdfjs-dist/cmaps/RKSJ-V.bcmap": /*!******************************************************************************!*\ !*** ./node_modules/raw-loader!./node_modules...
module['exports'] = [ 'Adana', 'Adıyaman', 'Afyon', 'Ağrı', 'Amasya', 'Ankara', 'Antalya', 'Artvin', 'Aydın', 'Balıkesir', 'Bilecik', 'Bingöl', 'Bitlis', 'Bolu', 'Burdur', 'Bursa', 'Çanakkale', 'Çankırı', 'Çorum', 'Denizli', 'Diyarbakır', 'Edirne', 'Elazığ', 'Erzincan', ...
import Cookies from 'js-cookie' const TokenKey = 'sysCode' export function getToken() { return Cookies.get(TokenKey) } export function getAccessToken(tokenKey) { return Cookies.get(tokenKey) } export function setAccessToken(tokenKey, tokenValue) { if (tokenValue) { return Cookies.set(tokenKey, tokenValue)...
import React from 'react'; import PropTypes from 'prop-types'; import { cloneDeep, get } from 'lodash'; import compose from 'compose-function'; import { stripesConnect } from '@folio/stripes/core'; import withFileHandlers from './components/withFileHandlers'; import Form from '../components/AmendmentForm'; class Ed...
#!/usr/bin/python import os import os.path import sys import getopt import commands import simplejson ## \ingroup utility # @class nox_new_py_app # nox-new-c-app.py utility creates a new Python component in NOX. # It is to be run in coreapps, netapps, webapps or one of their subdirectory. # # Run nox-new-py-app.py --h...
from django.conf.urls import patterns, include, url from django.conf import settings from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Uncomment the next line to enable the admin: url(r'^admin/', include(admin.site.urls)), ) if 'grappelli' in settings.INSTALLED_APPS: url...
import React from 'react'; import { shallow, mount } from 'enzyme'; import CheckBoxes from './CheckBoxes.component'; describe('CheckBoxes field', () => { const schema = { description: 'my checkbox input hint', title: 'My checkboxes title', titleMap: [ { name: 'My foo title', value: 'foo' }, { name: 'My b...