text
stringlengths
3
1.05M
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("a11yhelp","uk",{title:"Спеціальні Інструкції",contents:"Довідка. Натисніть ESC і вона зникне.",legend:[{name:"Основне",items...
const { Schema, Types } = require('mongoose'); const reactionSchema = new Schema( { reactionId: { type: Schema.Types.ObjectId, default: () => new Types.ObjectId(), }, reactionBody: { type: String, required: true, maxlength: 280, }, username: { ...
// FNV_PRIMES and FNV_OFFSETS from // http://www.isthe.com/chongo/tech/comp/fnv/index.html#FNV-param const FNV_PRIMES = { 32: 16_777_619n, 64: 1_099_511_628_211n, 128: 309_485_009_821_345_068_724_781_371n, 256: 374_144_419_156_711_147_060_143_317_175_368_453_031_918_731_002_211n, 512: 35_835_915_874_844_867_368_9...
import tensorflow as tf from tfsnippet.utils import (add_name_arg_doc, is_tensor_object, get_static_shape, is_shape_equal) __all__ = [ 'assert_scalar_equal', 'assert_rank', 'assert_rank_at_least', 'assert_shape_equal', ] def _assertion_error_message(expected, actual, mes...
"use strict";exports.__esModule=!0,module.exports={SettingsAPI:SettingsAPI,settingsapi:settingsapi}; //# sourceMappingURL=Settings.js.map
/** * AJAX File Upload * http://github.com/davgothic/AjaxFileUpload * * Copyright (c) 2010-2013 David Hancock (http://davidhancock.co) * * Thanks to Steven Barnett for his generous contributions * * Licensed under the MIT license ( http://www.opensource.org/licenses/MIT ) */ ;(function($) { $.fn.AjaxFileUpl...
class Solution: def dayOfYear(self, date: str) -> int: year, month, day = [int(i) for i in date.split("-")] days_in_month = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] if year % 4 == 0 and year % 100 != 0: days_in_month = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] ...
// import 'fullcalendar'; $(document).ready(() => { var date = new Date(); var today = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate(); var calendar = new FullCalendar.Calendar($("#calendar"), { header: { left: 'prev,next today', center: 'title'...
/* Create a function that: * **Takes** an array of animals * Each animal has propeties `name`, `species` and `legsCount` * **groups** the animals by `species` * the groups are sorted by `species` descending * **sorts** them ascending by `legsCount` * if two animals have the same number of legs sort ...
import React, { Fragment } from 'react'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogTitle from '@material-ui/core/DialogTitle'; import { withStyles } from '@material-ui/core/styles'; import dialo...
// exports.area = function(width, height) { // return width * height; // }; exports.numeric = function(num) { var scale = [ "", "ty", "hundred", "thousand", "ten thousand", "hundredthousand", "million" ]; var degit = [ "one", "two", "three", "four", "five", "six", "seven", "eight", "...
import { NotImplementedError } from '../extensions/index.js'; /** * Create name of dream team based on the names of its members * * @param {Array} members names of the members * @return {String | Boolean} name of the team or false * in case of incorrect members * * @example * * createDreamTeam(['Matt', 'A...
const { $trace, $debug, $warn } = require('../logger')('queue') const nanoid = require('nanoid/generate') const ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' function uid () { return nanoid(ALPHABET, 16) } // A queue implementation needs to be able to: // // - perform basic job queue t...
import Check from "../Core/Check.js"; import defaultValue from "../Core/defaultValue.js"; import defined from "../Core/defined.js"; import MetadataEntity from "./MetadataEntity.js"; import MetadataTableProperty from "./MetadataTableProperty.js"; import MetadataType from "./MetadataType.js"; /** * A table containing b...
class Parking { constructor(number) { this.capacity = number; this.vehicles = []; }; addCar(carModel, carNumber) { this._isEnoughCapacity(); this.vehicles.push({carModel: carModel, carNumber: carNumber, payed: false}); return `The ${carModel}, with a registration num...
const { test } = require('tap') const requireInject = require('require-inject') let getIdentityImpl = () => 'someperson' let npmFetchBody = null const npmFetch = async (uri, opts) => { npmFetchBody = opts.body } npmFetch.json = async (uri, opts) => { return { versions: { '1.0.0': {}, '1.0.1': {},...
// server.js // where your node app starts // init project var express = require('express'); var app = express(); // enable CORS (https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) // so that your API is remotely testable by FCC var cors = require('cors'); app.use(cors({optionSuccessStatus: 200})); // som...
#!/usr/bin/env python # encoding: utf-8 # Copyright (C) 2009 Ballistic Pigeon, LLC import sys import os from launcher import Launcher class DreamCheekyLauncher(Launcher): """Driver for DreamCheeky USB dart launcher""" def __init__(self, device): super(DreamCheekyLauncher, self).__init__() self...
/** * Created by Rahul on 9/22/2016. */ var playerOneCode = 1; var playerTwoCode = 2; var redBlocks = 0; var greenBlocks = 0; var isMillRed = false; var isMillGreen = false; var isActiveRed = false; var isActiveGreen = false; //discussion var isGreenThreeLeft = false; var isRedThreeLeft = false; // var blockWidth = ...
"use strict"; const id = document.querySelector("#id"), psword = document.querySelector("#psword"), loginBtn = document.querySelector("button"); loginBtn.addEventListener("click", login); function login() { const req = { id: id.value, psword: psword.value, }; console.log(req); console...
import * as tslib_1 from "tslib"; import * as ɵngcc0 from '@angular/core'; var AgmCircle_1; import { Directive, EventEmitter, Input, Output } from '@angular/core'; import { CircleManager } from '../services/managers/circle-manager'; let AgmCircle = AgmCircle_1 = class AgmCircle { constructor(_manager) { thi...
# commented out pending test rework ''' from copy import copy from unittest import TestCase from os.path import join, abspath, exists import os from bank2ynab.bank_process import B2YBank, build_bank from bank2ynab.b2y_utilities import fix_conf_params from bank2ynab.plugins.null import NullBank from test.utils import...
function carregar() { var msg = document.getElementById('msg') var img = document.getElementById('imagem') var date = new Date() var hour = date.getHours() //A message announciong the time and the conditional change the background-color and the image's src msg.innerHTML = `Agora são <strong>...
import { __assign } from "tslib"; import { getCurrentHub } from '@sentry/core'; import { fill, logger, parseSemver } from '@sentry/utils'; import { cleanSpanDescription, extractUrl, isSentryRequest, normalizeRequestArgs, } from './utils/http'; var NODE_VERSION = parseSemver(process.versions.node); /** http module integ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const React = require("react"); const wrapIcon_1 = require("../utils/wrapIcon"); const rawSvg = (iconProps) => { const { className, primaryFill } = iconProps; return React.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 ...
import Page from 'components/Page'; import ReactDOM from "react-dom" import React from 'react'; import { Card, CardBody, CardHeader, Col, FormGroup, Input, Label, Row, Table, Button, Modal, ModalBody, ModalFooter, ModalHeader, CustomInput, } from 'reactstrap'; import { MdSearch, } from '...
/** * Created by PanJiaChen on 16/11/18. */ /** * @param {string} path * @returns {Boolean} */ export function isExternal(path) { return /^(https?:|mailto:|tel:)/.test(path) } /** * @param {string} str * @returns {Boolean} */ export function validUsername(str) { // const valid_map = ['admin', 'editor', 't...
# Copyright (c) 2020 Seven Bridges. See LICENSE __version__ = "2021.1.5"
IntlPolyfill.__addLocaleData({locale:"mgh",date:{ca:["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],hourNo0:true,hour12:false,formats:{short:"{1} {0}",medium:"{1} {0}",full:"{1} {0}",long:"{1} {0}",availableFormats:{"d":"...
/* The MIT License Copyright (c) 2017,2018,2019,2020,2021 Klaus Landsdorf (https://osi.bianco-royal.com/) All rights reserved. node-red-contrib-bacnet */ 'use strict' module.exports = function (RED) { const bacnetCore = require('./core/bacnet-core') function BACnetRead (config) { RED.nodes.createNode(th...
# Generated by Django 2.1.3 on 2018-12-28 09:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data', '0097_merge_20190101_2250'), ] operations = [ migrations.AddField( model_name='attachmentfile', name='text_co...
"""SBApp URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based...
/*! * jQuery Validation Plugin v1.13.1 * * http://jqueryvalidation.org/ * * Copyright (c) 2014 Jörn Zaefferer * Released under the MIT license */ (function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery"], factory ); } else { factory( jQuery ); } }(function( $ ) { $.ext...
/*global define*/ define([ '../ThirdParty/when', './defaultValue', './defined', './DeveloperError' ], function( when, defaultValue, defined, DeveloperError) { "use strict"; function pushQueryParameter(array, name, value) { array.push(e...
import pandas as pd import datetime as datetime import numpy as np import matplotlib.pyplot as plt from statsmodels.nonparametric.smoothers_lowess import lowess """ cgmquantify package Description: The cgmquantify package is a comprehensive library for computing metrics from continuous gluc...
//// Copyright (c) Microsoft Corporation. All rights reserved (function () { "use strict"; var httpClient; var httpPromise; var page = WinJS.UI.Pages.define("/html/scenario5_PostStream.html", { ready: function (element, options) { document.getElementById("startButton").addEventLis...
module.exports = { firstTime() { return 'Lamento decirte que esas no son las distancias correspondientes al paso dos. Lo más importante es tener en cuenta desde que nodo partimos, en este caso el nodo uno, y hasta qué nodos podemos ir, en este caso a los nodos tres y cuatro. Sabiendo eso, debemos calcular si las dis...
import React from "react"; import Routes from "./Routes/Routes"; import { withStyles } from "@material-ui/core/styles"; import version from "../package.json"; const styles = theme => ({ footer: { position: "fixed", bottom: 0, right: 1, fontFamily: "sans-serif", fontSize: "10px", fontWeight: "...
import {useState, useEffect} from 'react' const listeners = [], lsKey = 'preferredNetwork' let currentNetwork = localStorage.getItem(lsKey) || 'testnet' function removeListener(callback, newCallback) { const idx = listeners.indexOf(callback) if (~idx) listeners.splice(idx, 1) if (newCallback) listener...
import React from 'react'; import { EditButton, useGetList, } from 'react-admin'; import AccountCircleIcon from '@material-ui/icons/AccountCircle'; import CreateUserButton from './CreateUserButton'; const UserButton = ({ record }) => { const { data: users, loading: loadingUsers, ids: userIds } = useGet...
export const ERRORS = { LENGTH: "Password must be between 8 & 64 characters", CHARACTER: "Password can only contain valid characters", COMMON: "Password is not unique" } export const SUCCESS = 'Success' export const URLS = { COMMON_PASSWORDS: "http://localhost:3000/passwords" }
import smoothscroll from 'smoothscroll-polyfill' import React from 'react' import PropTypes from 'prop-types' const Element = props => { return props.children } class Scroll extends React.Component { static propTypes = { type: PropTypes.string, element: PropTypes.string, offset: PropTypes.number, ...
var fs = require('fs'); var path = require('path'); // Replace with your unique name exports.appName = 'js-server'; // Use your own Server Key as generated by Google Developer Console // For more details, see http://developer.android.com/google/gcm/gs.html exports.gcmServerApiKey = 'AIzaSyCPc_bdij7vgRdX7t1FQD7g7LFSY...
import React from 'react'; import Document, { Html, Head, Main, NextScript } from 'next/document'; import { ServerStyleSheets } from '@material-ui/styles'; // works with @material-ui/core/styles, if you prefer to use it. import theme from '../public/theme'; // Adjust here as well export default class MyDocument extend...
#!/usr/bin/env python import argparse from drivebot.msg import TrainingExample from drivebot.srv import ActionGivenState import math import policy.baseline import policy.discrete_q_table import policy.nn_q_table import rospy parser = argparse.ArgumentParser() parser.add_argument('--policy', type=str, default="Baseline...
/* Copyright 2019 ETCDEV GmbH 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 dis...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ app.controller('lawyerController', function ($scope, $http, $base64) { $scope.validEmail = false; $sco...
const assert = require("assert"); const count = require("../problems/08-count.js"); describe("count", function() { it("", function() { let result1 = count([18, 5, 32, 7, 100], function(n) { return n % 2 === 0; }); assert.equal(result1, 3); let result2 = count([17, 5, 31, 7, 100], function(n) {...
from tir import Webapp import unittest import time #//------------------------------------------------------------------- #/*/{Protheus.doc} MATA320 - recalculo de custo #@author JEFFERSON SILVA DE SOUSA #@since 16/10/2019 #@version 1.0 #/*/ #//------------------------------------------------------------------- class ...
import { SET_AUTHED_USER } from '../actions/authedUser' export default function authedUser (state = null, action) { switch(action.type) { case SET_AUTHED_USER: return action.id default: return state } }
/* * @Author: yinseng * @Date: 2016-10-17 09:04:22 * @Last Modified by: yinseng * @Last Modified time: 2016-10-26 11:48:22 */ (function() { app.service('genfunc', ['$http', '$rootScope', '$window', function($http, $rootScope, $window) { var public_method = { // header path ...
const STAR_MAPPING = { 5: '\u2605\u2605\u2605\u2605\u2605', 4: '\u2605\u2605\u2605\u2605\u2606', 3: '\u2605\u2605\u2605\u2606\u2606', 2: '\u2605\u2605\u2606\u2606\u2606', 1: '\u2605\u2606\u2606\u2606\u2606', 0: '\u2606\u2606\u2606\u2606\u2606' } const REVERSE_STAR_MAPPING = { '\u2605\u2605\...
import Icon from '@conveyal/woonerf/components/icon' import Pure from '@conveyal/woonerf/components/pure' import React, {PropTypes} from 'react' import {Navbar, Button, ButtonToolbar, Checkbox} from 'react-bootstrap' import {Link} from 'react-router' import SidebarNavItem from './SidebarNavItem' import SidebarPopover ...
import codecs from setuptools import setup lines = codecs.open('README', 'r', 'utf-8').readlines()[3:] lines.append('\n') lines.extend(codecs.open('CHANGES', 'r', 'utf-8').readlines()[1:]) desc = ''.join(lines).lstrip() import translitcodec version = translitcodec.__version__ setup(name='translitcodec', versi...
/** * Tms Source Handler * @author Paul Schmidt */ Mapbender.Geo.TmsSourceHandler = Class({ 'extends': Mapbender.Geo.SourceHandler }, { 'private object defaultOptions': { }, 'private string layerNameIdent': 'identifier', 'public function create': function(sourceOpts) { var rootLayer = sou...
// Source: https://thefrugaldeveloper.life/posts/building-an-eleventy-boilerplate-pt-2 exports.data = { permalink: "/sitemap.xml", eleventyExcludeFromCollections: true, robots: { ignore: true } }; exports.render = function(data) { let all = data.collections.all.filter(page => !page.data.sitemap || !page.data.s...
import React from "react"; import ReactDOM from "react-dom"; import "./index.css"; import App from "./App.jsx"; import { ThirdwebWeb3Provider } from "@3rdweb/hooks"; const supportChainIds = [4]; const connectors = { injected: {}, }; // Render the App component to the DOM ReactDOM.render( <React.StrictMode> ...
module.exports = { port: 4401, environments: [ 'http://localhost:4401' ], plugins: [ 'browser', 'mocha-specs', 'mock-requests', 'page-objects' ], mochaSpecs: { directory: './test' }, mockRequests: { directory: './test' }, pa...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon(React.createElement(React.Fragment, null, React.createElement("path", { fill: "none", d: "M0 0h24v24H0V0z" }), React.createElement("g", null, React.createElement("path", { d: "M16 17.01V10h-2v7.01h-3L15 21l4...
macDetailCallback("70b3d5441000/36",[{"a":"Sigma Business Center, Building A Nivel 2 San Pedro San Jose CR 11501","o":"Videoport S.A.","d":"2018-07-15","t":"add","s":"ieee","c":"CR"}]);
import { HorizontalBar, mixins } from 'vue-chartjs' // import { HorizontalBar} from 'vue-chartjs' export default { extends: HorizontalBar, mixins: [mixins.reactiveProp], props: ['options'], mounted() { console.log('Mounted') this.renderLineChart() }, computed: { chartDat...
/* eslint-disable no-console */ const register = () => { if (process.env.NODE_ENV !== 'production') return; if ('serviceWorker' in navigator) { window.addEventListener('load', () => { navigator.serviceWorker.register('/sw.js') .then((registration) => { console.info('SW registered:', reg...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
module.exports = { name: 'variables', aliases: [ 'vars' ], description: 'See the variables for the Modules', category: 'Information', execute: async (message, client, args) => { let r = require('../../models/Guild'); let guild = await r.findOne({ id: message.channel.guild.id }); let prefix = guild.prefix; ...
_slugify_strip_re = /[^\w\s-]/g; _slugify_hyphenate_re = /[-\s]+/g; function slugify(s) { s = s.replace(_slugify_strip_re, '').trim().toLowerCase(); s = s.replace(_slugify_hyphenate_re, '-'); return s; }
const {BrowserWindow} = require('electron'); const url = require('url'); const path = require('path'); const {autoUpdater} = require("electron-updater"); let win; exports.init = () => { autoUpdater.on('update-available', (ev, info) => { win = new BrowserWindow({ width: 400, height: 200, icon: ...
const express = require('express') const route = express.Router() const Handler = require('../middlewares/handlers/url.handler') const Controller = require('../controllers/url.controller') route.post('/create', Handler.handleCreate, Controller.create ) route.get('/top5', Handler.handleGetTop5, Controller.GetTop5) ro...
const plugin = require('tailwindcss/plugin') const colors = require('tailwindcss/colors') module.exports = { purge: {content: ['./public/**/*.html', './src/**/*.vue']}, darkMode: 'class', // false or 'media' or 'class' theme: { colors, extend: {}, }, variants: { extend: { ...
import _ from 'underscore'; import lodashGet from 'lodash/get'; import React from 'react'; import PropTypes from 'prop-types'; import {ScrollView, View} from 'react-native'; import {withOnyx} from 'react-native-onyx'; import styles from '../../styles/styles'; import withLocalize, {withLocalizePropTypes} from '../../co...
/** * This is a modified version of shallow populate that supports Arrays of nested objects for keyThere fields. */ const assert = require('assert') const { getByDot, setByDot } = require('feathers-hooks-common') const defaults = { include: undefined } module.exports = function (options) { options = Object.assig...
const { assert } = require('chai'); const domain = require('../../../lib/urlExtract'); describe('domain extract', () => { it('save should equal local host when supplied with http link', () => { assert.equal(domain.extract('http://localhost/'), 'localhost'); }); it('save should equal local host when supplied...
# # Copyright (C) 2016 Transaction Processing Performance Council (TPC) and/or # its contributors. # # This file is part of a software package distributed by the TPC. # # The contents of this file have been developed by the TPC, and/or have been # licensed to the TPC under one or more contributor license agreements. # ...
'use strict'; /* declare and assign variables as described in the comments pay close attention to how each variable is used! - is a variable assigned a value when it is declared? - is a variable reassigned later in the script? your challenge is to decide whether to use let or to use const - use let if ...
import React from 'react' const DEFAULT_SIZE = 24 export default ({ fill = 'currentColor', width = DEFAULT_SIZE, height = DEFAULT_SIZE, style = {}, ...props }) => ( <svg viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` } style={{ fill, width, height, ...style }} { ...props } > <path d...
import typing import logging import json as json_mod from ucloud.core import exc from ucloud.core.transport import utils from ucloud.core.utils.compat import str logger = logging.getLogger(__name__) class Request: def __init__( self, url: str, method: str = "GET", params: dict = ...
import { IntegerEditor } from './integer.js' export class StepperEditor extends IntegerEditor { build () { super.build() this.input.setAttribute('type', 'number') if (!this.input.getAttribute('step')) { this.input.setAttribute('step', '1') } const stepperButtons = this.theme.getStepperButto...
from sympy import * from sympy.physics.vector import * from sympy.vector import * R = CoordSys3D('R') t = Symbol('t') a = -sin(t)*R.i + cos(t)*R.j + 0*R.k b = -cos(t)*R.i + -sin(t)*R.j + 0*R.k # same print(simplify(dot(a, b))) print(simplify(a & b)) # same print(simplify(a ^ b)) print(simplify(cross(a, b)))
/** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([], function () { 'use strict'; /** * Patch for CVE-2015-9251 (XSS vulnerability). * Can safely remove only when jQuery UI is upgraded to >= 3.3.x. * https://www.cvedetails.com/cve/CVE-2015-...
#!/usr/bin/env python """Bootstrap setuptools installation To use setuptools in your package's setup.py, include this file in the same directory and add this to the top of your setup.py:: from ez_setup import use_setuptools use_setuptools() To require a specific version of setuptools, set a download mirror, ...
module.exports = (sequelize, DataTypes) => sequelize.define('classes', { name: { type: DataTypes.STRING, allowNull: false }, github: DataTypes.STRING, company: DataTypes.STRING, start: DataTypes.DATE, finish: DataTypes.DATE })
var stampit = require('stampit'); module.exports = stampit() .refs({ }) .init(function () { this.log = { }; var levels = [ 'error', 'warn', 'info', 'debug', 'trace']; var init = function () { if (!this.logEnabled) { this.log.error = function (...
import client from '../api/apolloclient' import { viewrisksGraphQL } from '../_graphql'; export const viewallrisksService = { getRisks }; function getRisks(risk_type_id, records_count, fetchAfterCursor) { const variables = { risktypeid : risk_type_id, first: records_count, after: fetchAfterCursor ...
import { useLocation } from 'react-router-dom'; import Button from "./Button"; const Header = ({title, onAdd, showAdd}) => { const location = useLocation(); return ( <header className='header'> <h1>{title}</h1> {location.pathname === '/' && (<Button onClick={onAdd} color={showAdd ? 'red' : 'green'}...
var r = require("requirejs") define(["q", "js/runtime-anf", "./../evaluator/eval-matchers", "../../src/js/base/repl-lib", "js/ffi-helpers", "compiler/compile-structs.arr"], function(Q, rtLib, e, repl, ffiLib, compileStructs) { var J = require('jasmine-node'); var rt; var P; var same; var err; var aRepl; ...
const admin = require("firebase-admin"); const functions = require("firebase-functions"); const db = admin.firestore(); module.exports.processSignUp = functions.auth.user().onCreate(async user => { //check user qualification let customClaims; const usersRef = db.collection("invites"); const snapshot = await us...
/** * Original by Samuel Flores * * Adds the following new token classes: * constant, builtin, variable, symbol, regex */ Prism.languages.ruby = Prism.languages.extend('clike', { 'comment': /#(?!\{[^\r\n]*?\})[^\r\n]*(\r?\n|$)/, 'keyword': /\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do...
/** @type {import('@docusaurus/types').DocusaurusConfig} */ module.exports = { title: "SiraUtil Documentation", tagline: "The best modding utility for Beat Saber", url: "https://wiki.project-sira.tech", baseUrl: "/", onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn", favicon: "img/favicon.ico", orga...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _inte...
import React, { createRef, useContext, useEffect } from "react"; import { findNodeHandle, Text } from "react-native"; import { RawButton } from "react-native-gesture-handler"; import { NativeAdContext } from "./context"; const CallToActionView = (props) => { const { nativeAd, nativeAdView, setNativeAdView, setNative...
define([ "./_BusyButtonMixin", "dijit/form/ComboButton", "dojo/_base/declare" ], function(_BusyButtonMixin, ComboButton, declare){ return declare("dojox.form.BusyComboButton", [ComboButton, _BusyButtonMixin], {}); });
/** * Chartist SVG module for simple SVG DOM abstraction * * @module Chartist.Svg */ /* global Chartist */ (function(window, document, Chartist) { 'use strict'; /** * Chartist.Svg creates a new SVG object wrapper with a starting element. You can use the wrapper to fluently create sub-elements and modify the...
var _ = require('lodash'), pack = require('./src/pack'), unpack = require('./src/unpack'); module.exports = { pack: pack.pack, unpack: unpack.unpack };
const {createCompetition,getCompetition,getAllCompetitions,deleteCompetition} = require("../controllers/competition.controller") const express = require("express"); const router = express.Router(); const { authenticate } = require("../middlewares/auth.middleware"); const { uploadFile } = require("../utils/fileUpload.ut...
import React from "react"; import theme from "theme"; import { Theme, Link, Section, Box } from "@quarkly/widgets"; import { Helmet } from "react-helmet"; import { GlobalQuarklyPageStyles } from "global-page-styles"; import { Override } from "@quarkly/components"; import * as Components from "components"; export defaul...
const Context = require('android.content.Context'); const Inflater = require('android.view.LayoutInflater'); const Activity = require('android.app.Activity'); const LinearLayout = require('android.widget.LinearLayout'); const AppCompatActivity = require('androidx.appcompat.app.AppCompatActivity'); const activity = new ...
define("Cedtory/mods/xss",function(require,exports,module){ var defaultWhiteList = { h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], hr: [], span: [], strong: [], b: [], i: [], br: [], p: [], pre: [], code: [], a: ['target', '...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[17],{"0a4f":function(t,e){},3605:function(t,e,a){"use strict";var o=a("0a4f"),n=a.n(o);e["default"]=n.a},"3ec7":function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("transition",{attrs:{appear:"","...
import torch import torch.nn as nn from torchvision import models import torch.nn.functional as F class REBNCONV(nn.Module): def __init__(self,in_ch=3,out_ch=3,dirate=1): super(REBNCONV,self).__init__() self.conv_s1 = nn.Conv2d(in_ch,out_ch,3,padding=1*dirate,dilation=1*dirate) self.bn_s1 ...
from .minigames import MiniGames __red_end_user_data_statement__ = 'This cog does not store user data.' def setup(bot): bot.add_cog(MiniGames(bot))
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/Reference Release: R5 Version: 4.5.0 Build ID: 0d95498 Last updated: 2021-04-03T00:34:11.075+00:00 """ from pydantic import Field from . import fhirtypes from . import datatype class Reference(datatype.DataType): """Disclaimer: Any fie...