text
stringlengths
3
1.05M
# # The MIT License (MIT) # # Copyright (c) 2015 Matthew Antalek Jr # # 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 use, co...
/* Highlight.js 10.1.2 (edd73d24) License: BSD-3-Clause Copyright (c) 2006-2020, Ivan Sagalaev */ var hljs=function(){"use strict";function e(n){Object.freeze(n);var t="function"==typeof n;return Object.getOwnPropertyNames(n).forEach((function(r){!Object.hasOwnProperty.call(n,r)||null===n[r]||"object"!=typeof n[r...
/* All of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied, replicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the ZingChart End User License Agreement which can be requested by email...
"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.Headphones = React.forwardRef(function (props, ref) { var attrs = { "fill": "curren...
const generateExample = require("./generate-example") const convertTypeToSchema = require("./convert-type") function getExpandField(expandNotation) { const subExpandIndex = expandNotation.indexOf("(") var result = { field: subExpandIndex == -1 ? expandNotation : expandNotation.substring(0, subExpandIn...
"""Show how to customize the styling of the cluster view with CSS.""" from phy import IPlugin from phy.cluster.supervisor import ClusterView class ExampleClusterViewStylingPlugin(IPlugin): def attach_to_controller(self, controller): # We add a custom CSS style to the ClusterView. ClusterView._sty...
Package.describe({ summary: "A user account system", version: "1.2.2", name: 'accounts-base' }); Package.onUse(function (api) { api.use('underscore', ['client', 'server']); api.use('ecmascript', ['client', 'server']); api.use('ddp-rate-limiter'); api.use('localstorage', 'client'); api.use('tracker', 'cl...
/* eslint-disable no-multi-assign */ /* eslint-disable no-underscore-dangle */ /* eslint-disable no-console */ /* eslint-disable import/extensions */ import express from 'express'; import chalk from 'chalk'; import morgan from 'morgan'; import bodyParser from 'body-parser'; import path from 'path'; import { fileURLToPa...
/** * DocuSign REST API * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * * NOTE: This class is auto generated. Do not edit the class manually and submit a new issue instead...
import torch from kobart import get_kobart_tokenizer from transformers.models.bart import BartForConditionalGeneration from dataset import KoBARTSummaryDataset from torch.utils.data import DataLoader, Dataset import textwrap import string import re def load_model(): model = BartForConditionalGeneration.from_pretra...
var Letter = require ("./Letter"); var Word = require ("./Word"); var storedArray = require ("./Letter"); var guessedBands=[]; var guessedWord=[]; var guessedArray=[]; var charCounter=7; var word={}; var guess={}; var miniPoint=0; //User gets one minipoint every time the letter matches var bandObject={ 0: "Red...
/*jshint unused:true, eqnull:true */ function main(a, b) { return a == null; }
module.exports={D:{"4":0.011238,"5":0.003746,"6":0.003746,"7":0,"8":0.028095,"9":0.013111,"10":0.001873,"11":0.076793,"12":0.01873,"13":0.054317,"14":0.020603,"15":0.007492,"16":0.024349,"17":0.01873,"18":0.007492,"19":0.001873,"20":0.009365,"21":0.005619,"22":0.026222,"23":0.005619,"24":0.009365,"25":0.003746,"26":0.0...
// // 'use strict' // import getValue from "./function.js" // const superHero = [ // { id: 12345, hero: 'batmen', power: 'money' }, // { id: 54321, hero: 'aquaman', power: 'fishpower' } // ] // // const sup = superHero.map(item => item.hero) // // console.log(sup) // getValue(superHero, 'hero')
(function () { var template = (function () { 'use strict'; var PluginManager = tinymce.util.Tools.resolve('tinymce.PluginManager'); var noop = function () { }; var noarg = function (f) { return function () { return f(); }; }; var compose = function (fa, fb) { return function () { ...
import axios from 'axios' import Vue from 'vue' import qs from 'querystring' // 配置axios axios.defaults.baseURL = 'https://kyfw.12306.cn' axios.defaults.timeout = 16000 axios.defaults.withCredentials = true axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded; charset=UTF-8' // 请求拦截器 axios....
module.exports = new Date(2036, 2, 30)
const { VueLoaderPlugin } = require('vue-loader') module.exports = { entry: './src', output: { filename: 'index.js', libraryTarget: 'umd', library: 'x5-notify' }, mode: 'production', module: { rules: [ { test: /\.vue$/, loader: 'vue-loader' }, { test:...
import { r as registerInstance, h, H as Host } from './index-83f2275b.js'; const AmplifyAuthContainer = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { return (h(Host, null, h("form", { autoComplete: "on", hidden: true }, h("input", { name: "username" }), h("inp...
!function(l){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=l();else if("function"==typeof define&&define.amd)define([],l);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).nise=l()}}(function(){var define,module,exports;return function...
define([], function() { var strings = { "_cUY5i3OR5M46pep9mRCR0g": { "ManifestDownloadFailed": "Manifes gagal untuk memuat turun.", "ManifestNullError": "Manifes untuk bahagian web {0} adalah nol.", "ManifestInvalidError": "Manifes untuk bahagian web {0} tidak sah.", "ReadOnlyPropertyError...
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-08-23 07:13 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('clinic', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
// blank controller blank.controller('BlankController', BlankController); function BlankController($scope, $http) { // retriving data for table $http .get(get_url) .then(function(response){ console.log(response.data.blank) }); //object array $scope.blank_array = { ...
from entities.user import User from entities.requests import Requests from config import Statuses from Constants import Constants class ActiveUsers: users = {} @staticmethod def check_user(id): if ActiveUsers.users.get(id): return True return False @staticmethod def ...
import { BufferLoader, Resource, ResourceCache, when, } from "../Source/Cesium.js"; describe("Scene/BufferLoader", function () { var typedArray = new Uint8Array([1, 3, 7, 15, 31, 63, 127, 255]); var arrayBuffer = typedArray.buffer; var resource = new Resource({ url: "https://example.com/external.bin" });...
import React from 'react' import Link from 'gatsby-link' import NoStoreHere from '../../components/NoStoreHere' import ComingSoonStore from '../../components/ComingSoonStore' const HoChiMinh = ({ data }) => { const haveData = data.allLocationsXlsxSheet1 ? true : false return haveData ? ( <ComingSoonStore ...
const expect = require('chai').expect const validateContact = require('../lib/contact_validator') describe('Tests for contact validator', () => { describe('Input number', () => { it('12123456789 should pass', () => { let actual = validateContact(12123456789) expect(actual).to.be.true }) it('1...
'use strict'; // --------------------------------------------------------------------------- const Exchange = require ('./base/Exchange'); const { ExchangeError, AuthenticationError, DDoSProtection, ExchangeNotAvailable, InvalidOrder, OrderNotFound, PermissionDenied, InsufficientFunds } = require ('./base/errors'); ...
from flask import jsonify, abort, request, current_app from sqlalchemy.exc import IntegrityError, DataError from dmapiclient.audit import AuditTypes from .. import main from ...models import db, Brief, BriefResponse, AuditEvent from ...utils import ( get_json_from_request, json_has_required_keys, get_int_or_400, ...
################################################################## ######################## include.py ############################ ################################################################## ##### ekate - Enhanced KRATOS for Advanced Tunnel Enineering ##### ##### copyright by CIMNE, Barcelona, Spain ...
/* globals $ */ 'use strict'; angular.module('dockerdemoappApp') .directive('dockerdemoappAppPagination', function() { return { templateUrl: 'scripts/components/form/pagination.html' }; });
window.console, function(t, s) { if (!t) return s; var i = function() { this.el = s, this.items = s, this.sizes = [], this.max = [0, 0], this.current = 0, this.interval = s, this.opts = { speed: 1500, delay: 3e3, complete: s, ...
class LevelUpOutOfRangeError extends Error { constructor(type, index, len) { const message = "LevelUpArrayAdapter named '" + type + "' index out of range: index " + index + "; length: " + len; super(message); this.name = `${this.constructor.name}:${type}`; this.type = type; } } class BlockOutOfRang...
import Animation from './private/Animation'; import * as frameRenderers from '../frameRenderers'; const boosterToMove = new Animation(({ setFrameId, done, previouslyAvailableBoosters, availableMoves, ownBooster, opponentBooster, ownPoints, opponentPoints, }) => { let last = Date.now(); let t = 0; ...
/* * @lc app=leetcode id=387 lang=javascript * * [387] First Unique Character in a String * * https://leetcode.com/problems/first-unique-character-in-a-string/description/ * * algorithms * Easy (49.67%) * Total Accepted: 253.3K * Total Submissions: 509.6K * Testcase Example: '"leetcode"' * * * Given a...
"""This modules includes unit tests for helpers.""" from pytest_reportportal.helpers import get_attributes def test_get__attributes(): """Test get_attributes functionality.""" expected_out = [{'value': 'Tag'}, {'key': 'Key', 'value': 'Value'}] out = get_attributes(['Tag', 'Key:Value', '']) assert exp...
const selenium = require('selenium-standalone') const nightwatch = require('nightwatch') selenium.start((err, child) => { if (err) throw new Error(err) const done = function () { child.kill() } nightwatch.cli((argv) => { nightwatch.runner(argv, done, {}) }) })
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3690eb8a"],{1287:function(e,t,l){"use strict";var i=l("5987"),s=l.n(i);s.a},5987:function(e,t,l){},ffc4:function(e,t,l){"use strict";l.r(t);var i=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("p-wing-blank",[l("p-white-space"),l("p-fl...
import asyncio import signal import ssl import threading try: import aiohttp except ImportError: # pragma: no cover aiohttp = None from . import client from . import exceptions from . import packet from . import payload async_signal_handler_set = False def async_signal_handler(): """SIGINT handler. ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.publish = void 0; const os = require("os"); const lib_1 = require("../lib"); const logging_1 = require("./logging"); async function publish(args) { let manifest = lib_1.AssetManifest.fromPath(args.path); logging_1.log('verbose'...
""" Copyright 2016 Sascha-Dominic Schnug 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, s...
/* ************************************************************************ OSparc Dark Theme for Qooxdoo Copyright: 2018 IT'IS Foundation License: MIT: https://opensource.org/licenses/MIT See the LICENSE file in the project's top-level directory for details. Authors: * Tobias Oetiker (oe...
from wagtail.contrib.modeladmin.options import ModelAdminGroup from .image_maps import ImageMapModelAdmin from .regions import RegionModelAdmin class MapGroup(ModelAdminGroup): menu_label = 'Map' menu_icon = 'site' items = (ImageMapModelAdmin, RegionModelAdmin)
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
/** * Given an array of domains, return the object with the appearances of the DNS. * * @param {Array} domains * @return {Object} * * @example * domains = [ * 'code.yandex.ru', * 'music.yandex.ru', * 'yandex.ru' * ] * * The result should be the following: * { * '.ru': 3, * '.ru.yandex': 3, * '...
jvm.VMLGroupElement = function(){ jvm.VMLGroupElement.parentClass.call(this, 'group'); this.node.style.left = '0px'; this.node.style.top = '0px'; this.node.coordorigin = "0 0"; }; jvm.inherits(jvm.VMLGroupElement, jvm.VMLElement); jvm.VMLGroupElement.prototype.add = function(element){ ...
"use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([["resources_js_Pages_Auth_ConfirmPassword_vue"],{ /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./resources/js/Jetstream/Button.vue?vue&type=script&lang=js": /*!*...
import { NotImplementedError } from "../extensions/index.js"; /** * Extract season from given date and expose the enemy scout! * * @param {Date | FakeDate} date real or fake date * @returns {String} time of the year * * @example * * getSeason(new Date(2020, 02, 31)) => 'spring' * */ export default function g...
let fetch = require('node-fetch') let { JSDOM } = require('jsdom') function post(url, formdata) { return fetch(url, { method: 'POST', headers: { accept: "*/*", 'accept-language': "en-US,en;q=0.9", 'content-type': "application/x-www-form-urlencoded; charset=UTF-8" }, body: new URLSea...
/*! * jScrollPane - v2.0.19 - 2013-11-16 * http://jscrollpane.kelvinluck.com/ * * Copyright (c) 2013 Kelvin Luck * Dual licensed under the MIT or GPL licenses. */ !function(a,b){var c=function(c){return a(c,b)};"function"==typeof define&&define.amd?define(["jquery"],c):"object"==typeof exports?module.exports=c:c(...
module.exports = function countCats(backyard) { let number = 0; for (let i = 0; i < backyard.length; i++) { for (let j = 0; j < backyard[i].length; j++) { if (backyard[i][j] === "^^") { number++; } } } return number; };
;(function () { 'use strict'; /** * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All Rights Reserved] * @license MIT License (see LICENSE.txt) */ /*jslint browser:true, node:true*/ /*global de...
ig.module( 'game.main' ) .requires( 'impact.game', 'plugins.box2d.entity', 'game.levels.Scene', 'game.entities.Scenes', 'game.entities.Player1', 'game.entities.PlayerRoles', 'game.entities.SetFormationPosition', 'game.entities.CurrectAnswerRotationPopUp1', 'game.entities.textForCorre...
const getPixel = (jimp, x, y) => { const bufferIndex = jimp.getPixelIndex(x, y) const red = jimp.bitmap.data[bufferIndex] / 255 const green = jimp.bitmap.data[bufferIndex + 1] / 255 const blue = jimp.bitmap.data[bufferIndex + 2] / 255 const alpha = jimp.bitmap.data[bufferIndex + 3] / 255 return { buffer...
// min and max are inclusive const randomRange = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min; function initShipsLoader(radar) { if (!(radar instanceof Element)) radar = document.querySelector(radar); if (radar.className.indexOf("ships") < 0) throw new TypeError( "el ...
import os import sys #------------------------------------------------ curPath = os.path.abspath(os.path.dirname(__file__)) rootPath = os.path.split(curPath)[0] sys.path.append(rootPath) os.environ['CUDA_VISIBLE_DEVICES']='2' #------------------------------------------------ import model_utils from fine_tu...
import EventBus from './eventBus' import Api from '../api/base' import _ from 'lodash' export default class DAO extends EventBus { constructor(name, { cached, key }) { super() this.data = new Map() this.name = name this.api = Api.create('/' + name) this.cached = cached ...
export default { INTERACTIVE_MODE_CARDBORAD_MOTION: 'CARDBOARD_MOTION', INTERACTIVE_MODE_CARDBORAD_MOTION_WITH_TOUCH: 'CARDBOARD_MOTION_WITH_TOUCH', INTERACTIVE_MODE_TOUCH: 'TOUCH', INTERACTIVE_MODE_MOTION: 'MOTION', INTERACTIVE_MODE_MOTION_WITH_TOUCH: 'MOTION_WITH_TOUCH', DISPLAY_MODE_GLASS: 'GLASS', DIS...
/* * This var has to be outside the angular factory, otherwise when * there are multiple material apps on the same page, each app * will create its own instance of this array and the app's IDs * will not be unique. */ var nextUniqueId = 0; /** * @ngdoc module * @name material.core.util * @description * Util ...
const path = require('path'); const CopyPlugin = require("copy-webpack-plugin"); module.exports = { mode: 'none', // 'none', 'development' or 'production' entry: './src/index.ts', plugins: [ new CopyPlugin({ patterns: [ { from: "public" } ], }), ], module: { ...
import re import pytest from conftest import ( TEST_DATA_ROOT_DIR, TEST_DATA_CMIP6_INPUT4MIPS_STYLE, TEST_DATA_CMIP6_OUTPUT_STYLE, TEST_DATA_FLATTISH_STYLE, ) from cmip6_data_citation_generator.drs_handling import _get_unique_subjects_in_dir def test_get_unique_subjects_in_dir_cmip6input4mips_styl...
import { createAppContainer} from 'react-navigation' import { createStackNavigator} from 'react-navigation' import PeoplePage from './src/screens/PeoplePage' import PersonDetail from './src/screens/PersonDetail' import capitalizeFirstLetter from './src/util/capitalizeFirstLetter' const StackNavigator = createStackNav...
_satellite.pushAsyncScript(function(event, target, $variables){ (function(){ var r = ''; for (w_m in window) if (w_m.substring(0, 4) == 's_i_' && window[w_m].src) if (window[w_m].src.indexOf('/b/ss/') >= 0) r += window[w_m].src; var sc_length = r.length; _satellite.setCookie("sc_length", sc_length...
var searchData= [ ['lightsleepwakeupcallback',['lightSleepWakeupCallback',['../compMsgAction_8c.html#a162d6336c9d498bc5797341af9357973',1,'compMsgAction.c']]] ];
# Generated by Django 3.2.3 on 2021-06-03 06:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("connector_s3", "0005_sync_fine_tuning"), ] operations = [ migrations.RemoveField( model_name="bucket", name="api_cre...
# coding: utf-8 """ Harbor API These APIs provide services for manipulating Harbor project. OpenAPI spec version: 0.3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class Password(object): """ NOTE...
const oids = { '1 2 840 10045 3 1 7': 'P-256', '1 3 132 0 10': 'secp256k1', '1 3 132 0 34': 'P-384', '1 3 132 0 35': 'P-521', '1 2 840 10045 2 1': 'ecPublicKey', '1 2 840 113549 1 1 1': 'rsaEncryption', '1 3 101 110': 'X25519', '1 3 101 111': 'X448', '1 3 101 112': 'Ed25519', '1 3 101 113': 'Ed448' ...
import styled from "styled-components"; import { Link } from "react-router-dom"; import {FaTimes} from "react-icons/fa" export const SidebarContainer = styled.aside` position: fixed; z-index: 999; width: 350px; height: 100vh; background: #ffc500; display: grid; align-items: center; top: 0; transition: 0.3s ease-in-out...
from {{ cookiecutter.project_name.lower().replace(' ', '_').replace('-', '_') }}.example import add, mult def test_add(): assert add(1, 2) == 3 def test_mult(): assert mult(2, 3) == 6
from .modify import modify from .combine import combine
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_33218.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
/* * /MathJax-v2/localization/ru/HelpDialog.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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/...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", { fill: "none", d: "M0 0h24v24H0z" }), React.createElement("path", { fillOpacity: ".3", d: "M22 8V2L2 22h16V8z" }), React.createElement...
/* eslint-env jest */ 'use strict' const expression = require('./parameter-expression') test('parameter#create', () => { const result = expression.create('foo', 'bar') expect(result.type).toBe('foo') expect(result.value).toBe('bar') }) test('parameter#parseParameter undefined', () => { const result = express...
import React from 'react' import SvgIcon from '../SvgIcon' export default function HoldIcon(props) { return ( <SvgIcon {...props} viewBox="0 0 11 6"> <path d="M5.825 2C5.415.835 4.305 0 3 0 1.345 0 0 1.345 0 3s1.345 3 3 3a2.995 2.995 0 0 0 2.825-2H8v2h2V4h1V2H5.825zM3 4c-.55 0-1-.45-1-1s.45-1 1-1 1...
module.exports = (sequelize, DataTypes) => { const DocumentsInfo = sequelize.define('DocumentsInfo', { id: { type: DataTypes.UUID, primaryKey: true, defaultValue: DataTypes.UUIDV4, }, recertification_time: DataTypes.TEXT, grace_period: DataTypes.TEXT, additional_info: DataTypes.T...
"use strict"; exports.__esModule = true; exports.c_alert_GridTemplateAreas = { "name": "--pf-c-alert--GridTemplateAreas", "value": "\"toggle icon title action\"\n \". . description description\"\n \". . actiongroup actiongroup\"", "var": "var(--pf-c-alert--GridTemplateAreas)" }; exports["default"] = exports...
import { connect } from 'react-redux'; import style from '../../../assets/css/player-details.module.css' import { setShowModal, setPlayerIdForMyCardsModal } from '../../../redux/actions/modal' import { modalTypes, colors } from '../../../utility/constants'; const PlayerDetails = ({ playersData, playerId, setShowModal, ...
/** * Copyright 2018 Google Inc. All rights reserved. * Modifications copyright (c) Microsoft 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.or...
/* * Copyright (c) 2014 DataTorrent, Inc. 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...
import React, { Fragment, useEffect, useState } from 'react'; import { Breadcrumb, BreadcrumbItem, Row, Col, Card, CardBody, Button, ButtonGroup, Form, FormGroup, Input, Label, CustomInput, Spinner, } from 'reactstrap'; import CountUp from 'react-countup'; import Datetime from 'react-datetim...
var app=angular.module('purpose',[]); app.config(function($stateProvider) { $stateProvider .state('purpose', { url: "/purpose", templateUrl: "app/purpose/purpose.html", resolve:{ purposes:function(PurposeService){ return PurposeService....
import independentServiceComponent from './independentService.component'; export default angular.module('independentService', []) .component('independentService', independentServiceComponent);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[89],{R9bf:function(e,a,n){"use strict";n.r(a);var t=n("o0o1"),r=n.n(t),s=n("MVZn"),o=n.n(s),c=n("dCQc");a["default"]={namespace:"goodTypeList",state:{formValues:{}},effects:{fetch:r.a.mark(function e(a,n){var t,s,u,p,i;return r.a.wrap(function(e){while(1)switch...
from __future__ import unicode_literals from django.apps import AppConfig from django.conf import settings from simple_mail.mailer import autodiscover class SimpleMailConfig(AppConfig): name = 'simple_mail' verbose_name = 'Simple Mail' def ready(self): autodiscover() if not getattr(sett...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
#!/usr/bin/env python """ numpyfilter.py INPUTFILE Interpret C comments as ReStructuredText, and replace them by the HTML output. Also, add Doxygen /** and /**< syntax automatically where appropriate. """ import sys import re import os import textwrap import optparse import cPickle as pickle CACHE_FILE = 'build/rst-...
import axios from 'axios' import { langRoutes } from '../../i18n/routers' import * as routeActions from 'react-router-redux' import { updateAppState } from '../../containers/AppReducer' import { signInSuccess } from '../../routes/SignIn/modules/SignInReducer' // ------------------------------------ // Constants ...
""" Copyright 2010 Sami Dalouche 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 ...
import React from 'react'; export default function Salt({ size = 24, color = 'currentColor', ...restProps }) { return ( <svg xmlns='http://www.w3.org/2000/svg' className='icon icon-tabler icon-tabler-salt' width={size} height={size} viewBox='0 0 24 24' stroke={color} ...
# exported from PySB model 'model' from pysb import Model, Monomer, Parameter, Expression, Compartment, Rule, Observable, Initial, MatchOnce, Annotation, ANY, WILD Model() Monomer('C6A', ['C8pro']) Monomer('Ligand', ['Receptor']) Monomer('ParpU', ['C3A']) Monomer('C3ub') Monomer('C3A', ['Xiap', 'ParpU', 'C6pro']) Mo...
// Utilities export {default as UniqueList} from './src/util/UniqueList'; export {default as asyncCallback} from './src/util/asyncCallback'; // Core Runtime export {default as changeset, isChangeSet} from './src/ChangeSet'; export {default as Dataflow} from './src/dataflow/Dataflow'; export {default as EventStream} fr...
print('Analisador de números') print('=-=' * 15) n1 = int(input('Digite o primeiro número: ')) n2 = int(input('Digite o segundo número: ')) if n1 > n2: print('O número {} é maior que o número {}'.format(n1, n2)) elif n2 > n1: print('O número {} é maior que o número {}'.format(n2, n1)) else: print('Os dois v...
var searchData= [ ['makecurrent_730',['MakeCurrent',['../classpangolin_1_1_window_interface.html#abdd9b68d5ca3d9a6ecddb0f441d68cb0',1,'pangolin::WindowInterface']]] ];
import { makeStyles } from '@material-ui/styles'; export const useStyles = makeStyles((theme) => ({ hGutter: { marginTop: theme.spacing(2), }, validator: { display: 'flex', alignItems: 'center' }, grow: { flexGrow: 1, }, }));
from django import forms from .models import CreateNewUserModel,NewrecipeModel class CreateNewUserForm(forms.ModelForm): class Meta: model = CreateNewUserModel fields="__all__" class NewrecipeForm(forms.ModelForm): class Meta: model=NewrecipeModel fields="__all__"
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ (function(exports) { 'use strict'; /** * Various utility functions mainly used to process strings and URLs */ var Utils = { /** * Retrieves the param...
""" python 数据写入csv文件 """ import csv with open('data.csv',mode='w') as f: w = csv.writer(f) w.writerow(['1','2']) f.close()
declare module "@storybook/addon-notes" { import typeof * as React from "react"; import type { RenderFunction, StoryDecorator } from "@storybook/react"; import type { MarkedOptions } from "marked"; declare export type WithNotesOptions = | string | { text: string } | { markdo...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React, { PureComponent, Fragment } from 'react'; import PropTypes from...