text
stringlengths
2
1.04M
export const validEmail = new RegExp( "^[a-zA-Z0-9._:$!%-]+@[a-zA-Z0-9.-]+.[a-zA-Z]$" ); export const validPassword = new RegExp( "^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})" );
// @flow import Alexa from 'alexa-sdk'; import handlers from './handlers'; exports.application = (event: any, context: any): void => { const alexa = Alexa.handler(event, context); alexa.appId = process.env.ALEXA_APP_ID; alexa.registerHandlers(handlers); alexa.execute(); };
'use strict'; /** * This code is mostly from the old Etherpad. Please help us to comment this code. * This helps other people to understand this code better and helps them to improve it. * TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED */ // THIS FILE IS ALSO AN APPJET MODULE: etherpad.collab.ace.linestylefil...
import { RECEIVE_TWEETS, TOGGLE_TWEET, ADD_TWEET } from '../actions/tweets' export default function tweets(state = {}, action){ switch (action.type) { case RECEIVE_TWEETS: return { ...state, ...action.tweets } case TOGGLE_TWEET: return { ...state, [action.id]...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
/* bender-tags: editor,unit */ /* bender-ckeditor-plugins: toolbar */ ( function() { 'use strict'; bender.test( { // (#718, #2257) 'test destroy editor on instance created': function() { var init = sinon.spy(), editor; CKEDITOR.plugins.add( 'test', { init: init } ); CKEDITOR.tools.setTimeo...
/** * Copyright 2020 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */ import{LitElement as e,html as t,css as s}from"../../../lit-element/lit-element.js";import"../../simple-icon/simple-icon.js";import"../../simple-icon/lib/simple-icons.js";import"../../simple-icon/lib/simple...
// [hyc-override] Overriding activate to pick up our local visibility component import SaveWorkControl from 'hyrax/save_work/save_work_control' import { RequiredFields } from 'hyrax/save_work/required_fields' import { ChecklistItem } from 'hyrax/save_work/checklist_item' import { UploadedFiles } from 'hyrax/save_work/u...
import { useEffect, useState } from "react"; import { useForm, useFieldArray } from "react-hook-form"; import { Icon } from "@blueprintjs/core"; import { useHistory, useParams } from "react-router"; import { addCylinders } from "Apis/Admin/supplier"; import useQuery from "Hooks/useQuery"; import Input from "Common/For...
'use strict'; //Module that logs the request information to the console /** * Logger * @module logger */ /** * logger returns a console log of the request * @param {*} request * @param {*} response * @param {*} next * @returns {console.log} */ module.exports = (request, response, next) => { con...
export function buildPaginationModel(pageCount, currentPage, showPages, marginPageCount, surroundingPageCount) { const pages = [] if (showPages) { const pageNums = [] const addPage = (n) => { if (n >= 1 && n <= pageCount) { pageNums.push(n) } } // Start by defining the window o...
var callbackArguments = []; var argument1 = function callback(){callbackArguments.push(arguments)}; var argument2 = true; var argument3 = function callback(){callbackArguments.push(arguments)}; var argument4 = function callback(){callbackArguments.push(arguments)}; var argument5 = 783; var argument6 = 7.848226062977162...
/* * == BSD2 LICENSE == * Copyright (c) 2014, Tidepool Project * * This program is free software; you can redistribute it and/or modify it under * the terms of the associated License, which is identical to the BSD 2-Clause * License as published by the Open Source Initiative at opensource.org. * * This program ...
/* eslint-disable no-undef, react/no-multi-comp, react/jsx-curly-brace-presence, max-classes-per-file */ import React from 'react'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; import KeyCode from 'rc-util/lib/KeyCode'; import { resetWarned } from 'rc-util/lib/warning'; import Menu, { Men...
import React from 'react' import PropTypes from 'prop-types' import SvgContainer from './SvgContainer' const Airplane = props => { return ( <SvgContainer height={props.height} width={props.width} color={props.color} onClick={props.onClick} rotate={props.rotate ? 1 : 0} shake=...
//// [classPropertyIsPublicByDefault.ts] class C { x: string; get y() { return null; } set y(x) { } foo() { } static a: string; static get b() { return null; } static set b(x) { } static foo() { } } var c: C; c.x; c.y; c.y = 1; c.foo(); C.a; C.b(); C.b = 1; C.foo(); //// [classProper...
var a01279 = [ [ "AlignedBlob", "a00260.html", "a00260" ], [ "AlignedBlobParams", "a00261.html", "a00261" ], [ "AltList", "a00262.html", "a00262" ], [ "AmbigSpec", "a00263.html", "a00263" ], [ "AssociateStats", "a00264.html", "a00264" ], [ "AssociateUtils", "a00265.html", null ], [ "Baseline...
/* eslint-disable prettier/prettier */ import styled from 'styled-components/native'; export const Container = styled.View` align-items: center; padding: 40px 0 30px; `; export const Top = styled.View` flex-direction: row; align-items: center; margin-bottom: 10px; `; export const Logo = styled.Im...
'use strict'; module.exports = function (url) { if (typeof url !== 'string') { throw new TypeError('Expected a string, got ' + typeof url); } url = url.trim(); if (/^\.*\/|^(?!localhost)\w+:/.test(url)) { return url; } return url.replace(/^(?!(?:\w+:)?\/\/)/, 'http://'); };
exports.listings = [ { listingIdSHA: '119428954108018081', pageLink: '/listing/119428954108018081', externalId: 'PAMC104718', status: 0, location: { prettyAddress: '575 South Goddard Boulevard, Unit 212', city: 'King of Prussia', state: 'PA', zipCode: '19406', neighbo...
var express = require('express') , config = require('./config/config') , glob = require('glob') , mongoose = require('mongoose') , authenticate = require('./config/authenticate'); mongoose.connect(config.db); var db = mongoose.connection; db.on('error', function () { throw new Error('unable to connect to d...
module.exports = { root: true, env: { browser: true, node: true }, parserOptions: { parser: 'typescript-eslint-parser' }, extends: [ // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention // consider switching to `plugin:vue/strongly-recommended` or `plugin:v...
import React from 'react'; class Register extends React.Component { constructor(props) { super(props); this.state = { //initial state of the user email: '', password: '', name: '' } } onNameChange = (event) => { this.setState({name: event.target.value}) } onEmailChange = (event) => { this.set...
import React, {useState, useEffect} from 'react' import { Classroom } from "./views" import { connect } from "react-redux" import { PropTypes } from "prop-types"; const Body = () => { //javascript code const [formState, setFormState] = useState({ classroom: "", classrooms: [] }) useEf...
// handle the 'POST /users' request, to create (invite) a user (or fetch if user // with same email already exists) 'use strict'; const PostRequest = require(process.env.CSSVC_BACKEND_ROOT + '/api_server/lib/util/restful/post_request'); const UserInviter = require('./user_inviter'); class PostUserRequest extends Pos...
module.exports = (api, options) => { api.render('./template') api.extendPackage({ scripts: { 'serve': 'vue-cli-service serve', 'build': 'vue-cli-service build' }, dependencies: { 'vue': '^2.5.16' }, devDependencies: { 'vue-template-compiler': '^2.5.16' }, 'postcs...
var core = require('./core'); var Vehicle = exports.Vehicle = function (api_key) { this.Edmunds = new core.Edmunds(api_key); }; exports.createClient = function (api_key) { return new Vehicle(api_key); }; var proto = Vehicle.prototype; proto.getListOfMakes = function (callback) { return this.Edmunds.invoke('/a...
// @ts-check export default class Queue { constructor() { this.count = 0; this.lowestCount = 0; this.items = {}; } enqueue( element ) { this.items[ this.count ] = element; this.count++; } dequeue() { if ( this.isEmpty() ) { return undefined; } const result = this.ite...
/* jshint esversion: 6,-W097, -W040, node: true, expr: true, undef: true */ module.exports= { /* HTML PART */ toID: function(c,f){ return (c+( f ? "/"+this.toComponentName(f) : "" )).replace(/[^\wěščřžýáíéúůĚŠČŘŽÝÁÍÉÚŮťŤňŇ]/g, "-").toLowerCase(); }, toFileName: file=> file.substring(file.lastIndexOf("/")+1)...
const path = require("path"); module.exports = { resolve: { alias: { "@": path.resolve("resources/js"), }, }, devServer: { host: "0.0.0.0", port: 8080, }, };
var request = require('request-promise'); var passport = require('passport'); var OnshapeStrategy = require('passport-onshape').Strategy; var oauthClientId; var oauthClientSecret; var platformPath = process.env.ONSHAPE_PLATFORM; var hostedPath = process.env.ONSHAPE_HOST; var oauthPath = process.env.ONSHAPE_OAUTH_SERV...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("devtools", "pt-br", { title: "Informação do Elemento", dialogName: "Nome da janela de diálogo", tabName: "Nome da aba", elementId: "I...
import { readable } from 'svelte/store'; const HeroData = readable([ { id: 'estrilda', name: 'Estrilda', portrait: './img/portraits/estrilda.jpg', class: 'Warrior', faction: 'Lightbearer', type: 'Strength', tier: 'ascended', skills: [ { name: 'Joust', type: 'level', image: './img/skills/estri...
import axios from 'axios'; import { broweserHistory } from 'react-router'; const ROOT_URL = 'http://localhost:3090'; export function signinUser({ email, password }) { return function(dispatch) { //Submit email and password to the server axios .post(`${ROOT_URL}/signin`, { email, password }) //If the request...
module.exports = { name: "pause", description: "Pauses the playing song!", category: "music", aliases: ["paus"] } module.exports.run = async (bot, msg) => { bot.music.pause(msg); }
/* global describe it */ var assert = require('assert') var directives = require('../plugins/directives') describe('directives tag', () => { const tag = directives.tag it('creates empty tag', () => { assert.equal(tag('img'), '<img></img>') }) it('creates tag with attributes', () => { assert.equal(tag(...
import ApiAuth from '../api/auth'; import AsyncStorage from '@react-native-community/async-storage'; import DeviceInfo from 'react-native-device-info'; import { ApiErrorTypes } from '../api/utils/errors'; import { showError, AppNavigation, showSuccess, showInfo } from '../common'; import I18n from 'react-native-i18n'; ...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
module.exports = function (app) { var jwt = require('jsonwebtoken'); var passport = require("passport"); app.route('').get(function (req, res) { res.json({message: 'Hi!'}) }); app.route('/').get(function (req, res) { res.json({message: '/Hi!'}) }); app.get("/secret", passp...
var socket = io.connect('/'); $('#signupFormSubmit').click(function() { var pass = $('#passWordInput').val(); var pass2 = $('#passWordInput2').val(); if (pass != pass2) { console.log('passwords mismatch'); return; } var account = $('#userNameInput').val(); socket.emit('signup', { account: account, pa...
import { schema } from 'normalizr'; const note = new schema.Entity('notes'); const lane = new schema.Entity('lanes', { notes: [note], }); export const lanes = [lane];
/* * { "room": [ { "id": 1, "unitId": 1, "name": "房间名字", "level": 1, "createTime": 21312, "updateTime": 21412, "isDelete": 0 } ] } * */ const Mock = require('mockjs'); const Random = Mock.Random; module.exports = (function () { const data = { rooms: [], };...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["DayPicker"] = facto...
"use strict"; var chai = require("chai"), should = chai.should(), bdd_json_reporter = require("../../../lib/bdd-json-reporter") ; function createKarmaResult(feature, scenario, success, skipped) { return { id: 'id', description: 'test step', log: [], suite: [feature, scenario], success: success, skippe...
import React, { Component } from 'react'; import { StyleSheet, Text, View, Image, TouchableHighlight, TouchableOpacity, Alert, DeviceEventEmitter } from 'react-native'; import LanguageDao ,{FLAG_LANGUAGE}from '../../dao/LanguageDao' import ArrayUtils from '../../util/ArrayUtls' import S...
//######################################################################################################################################################################################## //# DNIT //# resumoprojeto.js //# Desenvolvedor:Jordana de Alencar //# Data: 01/07/2020 //########################################...
'use strict'; var _ = require('lodash'); var chai = require('chai'); var should = chai.should(); var expect = chai.expect; var ufocore = require('../..'); var UnspentOutput = ufocore.Transaction.UnspentOutput; describe('UnspentOutput', function() { var sampleData1 = { 'address': 'mszYqVnqKoQx4jcTdJXxwKAissE3J...
var callbackArguments = []; var argument1 = function (dep) { callbackArguments.push(arguments) resolveInheritance(obj.dependencies[dep]); }; var argument2 = function (gPoint) { callbackArguments.push(arguments) gPoint.setAttribute('cx', Number(gPoint.getAttribute('cx')) + that.pt.x); gPoint.setAttribu...
import { createSlice } from '@reduxjs/toolkit' const initialState = { name: "", email:"", locationInfo:{}, ip:"", country:"", flag: " ", city: "", } export const userSlice = createSlice({ name: 'user', initialState, reducers: { changeName: (state, action) => { state.name = action.paylo...
import { Box, Card, CardContent, Grid, Typography } from "@material-ui/core"; import Percent from "./Percent"; import React from "react"; import clsx from "clsx"; import { formatCurrency } from "app/core"; import { makeStyles } from "@material-ui/styles"; const useStyles = makeStyles((theme) => ({ root: { heigh...
import siteMetadata from '@/data/siteMetadata' import headerNavLinks from '@/data/headerNavLinks' import Logo from '@/data/logo.svg' import Link from './Link' import SectionContainer from './SectionContainer' import Footer from './Footer' import MobileNav from './MobileNav' import ThemeSwitch from './ThemeSwitch' cons...
//Find out how many hours have passed since 1/1/2000. var date2000 = new Date('1/1/2000'), curDate = new Date(), milliseconds, seconds, minutes, hours; milliseconds = curDate.getTime() - date2000.getTime(); seconds = milliseconds/1000; minutes = seconds/60; hours = minutes/60; //Print it to the console. Don't ...
"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]; } } }...
System.register(['angular2/core', 'angular2/http'], function(exports_1, context_1) { "use strict"; var __moduleName = context_1 && context_1.id; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? des...
import React from 'react'; import './grid.css'; // import { useEffect } from 'react'; import { randomRange } from '../utils' import GridRow from './GridRow.js'; function GridContainer(props){ const {thisGrid, setThisGrid} = props; let displayRows = []; thisGrid.forEach((row, index) => { disp...
/** * Copyright 2018 The AMP HTML 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 require...
import { ethers } from 'ethers'; import * as AT from './actionTypes'; import { newObj } from '../lib'; const INITIAL_STATE = { network: { chainId: -1, chainName: null, ensAddress: null, name: null, }, blockNumber: -1, gasPrice: ethers.BigNumber.from(0), }; function ethereumReducer(state = I...
import React from "react" import { ContentWrapper } from "../elements" export const Content = ({ children }) => { return ( <ContentWrapper> {children} </ContentWrapper> ) }
/** * Fuse.js v6.3.1 - Lightweight fuzzy-search (http://fusejs.io) * * Copyright (c) 2020 Kiro Risk (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */
var searchData= [ ['savings_5246',['SAVINGS',['../classoperations__research_1_1_p_r_o_t_o_b_u_f___f_i_n_a_l.html#a2a2b6b62521aad0035d9d46ef2784908',1,'operations_research::PROTOBUF_FINAL']]], ['scaling_5ffactor_5247',['scaling_factor',['../structoperations__research_1_1_solver_1_1_search_log_parameters.html#a82cee8...
var sentence = require('sentence-case'); /** * Snake case a string. * * @param {String} string * @return {String} */ module.exports = function (string) { return sentence(string).replace(/ |\./g, '_'); };
/**@preserve GeneXus Java 10_3_12-110051 on February 11, 2021 4:24:58.27 */ gx.evt.autoSkip = false; gx.define('tsocio', false, function () { this.ServerClass = "tsocio" ; this.PackageName = "" ; this.setObjectType("trn"); this.setOnAjaxSessionTimeout("Warn"); this.hasEnterEvent = true; this.skipOn...
import React, { Component } from 'react'; import LoginComponent from '../components/Login'; import AddAlertComponent from '../components/AddAlert'; import MyAlertsComponent from '../components/MyAlerts'; import AppBarComponent from './AppBar'; import Grid from '@material-ui/core/Grid'; import { Route, Switch, Redirect ...
import { all, put, call, select } from 'redux-saga/effects'; import helper from 'utils/saga'; import request from 'utils/request'; import { actions } from 'reducers/flavor'; import saga, { watchers, workers } from './flavor'; import { isLoaded } from 'selectors/flavor'; import { getCurrentUser } from 'sagas/profile'; ...
import React from 'react'; export default React.createClass({ render() { return ( <div> about </div> ); } });
import {getFills} from 'Loopring/relay/trade' export async function fetchList(payload){ let {page,filters,sort} = payload let filter = {} if(filters){ // filter.ringHash = filters.ringHash filter = { ...filters } } if(page){ filter.pageIndex = page.current filt...
/* * Copyright (C) 2020 con terra GmbH (info@conterra.de) * * 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 b...
import { createStore } from 'redux'; import reducer from '../reducers'; import { mockState } from '../utils/state.mock'; import { changeFlag } from './index'; import { calculateGraph, updateGraph } from './graph'; import { getGraphInput } from '../selectors/layout'; describe('graph actions', () => { describe('calcul...
mycallback( {"CONTRIBUTOR OCCUPATION": "President", "CONTRIBUTION AMOUNT (F3L Bundled)": "2400.00", "ELECTION CODE": "P2010", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Sorbara Contruction Corp.", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "270 Broadway", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID"...
module.exports = { getUsers: `SELECT user as id FROM paramuser WHERE name = ?;` };
$(function() { bsCustomFileInput.init(); $.validator.setDefaults({ submitHandler: function(e) { e.submit(); let buttonSubmit = e.querySelector("button[type='submit']") if (buttonSubmit) { buttonSubmit.disabled = true } } }); ...
const _ = require('lodash'), requireDir = require('require-directory'), path = require('path'); const methods = ['get', 'post', 'put', 'delete', 'patch', 'options']; const load = configDir => { const rawConfigs = requireDir(module, path.resolve(configDir)), configs = {}; methods.forEach(method => { co...
var locale={moduleType:"locale",name:"ml",dictionary:{},format:{days:["\u0d1e\u0d3e\u0d2f\u0d30\u0d4d\u200d","\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d4d\u200d","\u0d1a\u0d4a\u0d35\u0d4d\u0d35","\u0d2c\u0d41\u0d27\u0d28\u0d4d\u200d","\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02","\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f","\u0d36\u0...
import React, { Component } from 'react' import { Image, Text, View } from 'react-native' import { inject, observer } from 'mobx-react' import { Navigation } from 'react-native-navigation' import LinearGradient from 'react-native-linear-gradient' import Button from '../theme/ButtonView' import { Images } from '../../st...
"use strict"; var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _regenerator = _interopRequireDefault(require("@babel/runtime-corejs2/regenerator")); var _asyncToGenerator2 = _i...
import $ from '../../core/renderer'; import eventsEngine from '../../events/core/events_engine'; import { isDefined } from '../../core/utils/type'; import { extend } from '../../core/utils/extend'; import { each } from '../../core/utils/iterator'; import { addNamespace } from '../../events/utils'; import registerCompon...
const fetch = require('node-fetch') const imgbb = require('imgbb-uploader') const axios = require('axios') const cfonts = require('cfonts') const spin = require('spinnies') const Crypto = require('crypto') const wait = async (media) => new Promise(async (resolve, reject) => { const attachmentData = `data:image/jpe...
/** * @file * JavaScript behaviors for Ajax. */ (function ($, Drupal) { 'use strict'; Drupal.webform = Drupal.webform || {}; Drupal.webform.ajax = Drupal.webform.ajax || {}; // Allow scrollTopOffset to be custom defined or based on whether there is a // floating toolbar. Drupal.webform.ajax.scrollTopO...
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. // *************************************************************** // - [#] indicates a test step (e.g. # Go to a page) // - [*] indicates an assertion (e.g. * Check the title) // - Use element ID when select...
import React from 'react' export default function Footer() { return ( <footer className="footer py-3"> <div className="container"> <div className="row"> <div className="col-10 mx-auto col-md-6 text-yellow text-center text-capitalize"> ...
var jsonfile = require('jsonfile'); var file = '/temp/testjson.json' var obj = {name: 'JP'} jsonfile.writeFile(file, obj, function (err) { console.error(err) })
hljs.registerLanguage("never",function(){"use strict";return function(e){var n={keyword:"catch do enum else extern for func if in let match module range record throw use var while",type:"bool char double c_ptr float int long string void",literal:"false nil true c_null",built_in:"assert assertb assertf chr cos exp lengt...
module.exports = { siteMetadata: { title: `TypeOfNaN JavaScript Quizzes`, author: `Nick Scialli`, description: `Learn JavaScript fundamentals through fun and challenging quizzes!`, siteUrl: `https://quiz.typeofnan.dev`, image: '/js-quiz.jpeg', social: { twitter: `nas5w` } }, plug...
var linz = require('../'), async = require('async'); module.exports = function (req) { var Model = req.linz.model, fieldExclusions = { '_id': 0, '__v': 0, 'refId': 0, 'refVersion': 0 }; // add compare exclusion fields from model configs ...
function solve() { const infoBox = document.querySelector('#info .info'); const departBtn = document.getElementById('depart'); const arriveBtn = document.getElementById('arrive'); let stop = { name: 'Depot', next: '0361' }; async function depart() { departBtn.disabled =...
(function(d){d['en-gb']=Object.assign(d['en-gb']||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Bold",e:"Full size image",f:"Side image",g:"Left aligned image",h:"Centred image",i:"Right aligned image",j:"Block quote",k:"Insert image or file",l:"Insert image",m:"Insert table",n:"Header column",o:"I...
import ServiceComponent from '/components/service'; import { useEffect, useState } from 'react'; import { http } from '/utils/http'; import { Typography } from '@mui/material'; import groupService from '/utils/groupService'; const apiPath = '/api/v1'; export async function getServerSideProps(_context) { return { ...
var searchData= [ ['p_700',['P',['../structmackey_1_1SmithNormalForm.html#ac2b49916aa07d1560c360da334522dca',1,'mackey::SmithNormalForm']]], ['paths_701',['paths',['../classmackey_1_1ShortestPaths.html#a70466929b4e446bd1fd0d04deadd7970',1,'mackey::ShortestPaths']]], ['pi_702',['Pi',['../structmackey_1_1SmithNorma...
import { Router } from 'express'; import Conference from 'Root/models/Conference'; import requirements from 'Root/middlewares/requirements'; import logged from 'Root/middlewares/permissions/logged'; import admin from 'Root/middlewares/permissions/admin'; const router = new Router(); router.post( '/panel/conferen...
import { compose } from 'recompose' import withThemeData from '../../../hocs/withThemeData' import BaseModal from './BaseModal' export default compose(withThemeData())(BaseModal)
/** * Owl Carousel v2.2.1 * Copyright 2013-2017 David Deutsch * Licensed under () */ /** Cambios*/
import * as TYPES from '@/websync/types.js' import { removeTask } from '@/websync/task.js' import { removeProject } from '@/websync/project.js' export default function processRemove (obj) { switch (obj.type) { case TYPES.TYPE_OBJECT_TAG: break case TYPES.TYPE_OBJECT_PROJECT: removeProject(obj) ...
import express from 'express' import path from 'path' import config from '../../config' let routes = (compiler) => { let router = express.Router() router.get('/health-check', (req, res) => { res.status(200).json({ status: 'ok' }) }) if (compiler) { router.get('*', function(request, response, next) { ...
$(document).ready(function() { $('.tools .col').addClass('hidden').viewportChecker({ classToAdd: 'visible animated fadeInUp', }); });
import { h } from 'vue' export default { name: "ProjectorScreenChartThin", vendor: "Ph", type: "", tags: ["projector","screen","chart","thin"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 256 256","class":"v-icon","fill":"currentColor","data-name":"ph-proje...
var Readable = require('stream').Readable; var node = { getLocalIp: function () { var ips = {}; var os = require('os'); var ifaces = os.networkInterfaces(); Object.keys(ifaces).forEach(function (ifname) { var alias = 0; ifaces[ifname].forEach(function (iface) { if ('IPv4' !== ifa...
/* * jQuery Plugin - Wikipedia V1.0 * * todo: add description here * * Autor: Marcel Grolms - www.suabo.de 2013 */ $.fn.WikipediaWidget = function(wikipediaPage, options) { //init defaults var showTitle = true; var maxThumbnails = 3; var cutFirstInfoTableRows = 4; var maxInfoTableRows = 8; var thum...
NDContentPage.OnToolTipsLoaded({89:"<div class=\"NDToolTip TClass LCSharp\"><div class=\"NDClassPrototype\" id=\"NDClassPrototype89\"><div class=\"CPEntry TClass Current\"><div class=\"CPModifiers\"><span class=\"SHKeyword\">public</span></div><div class=\"CPName\"><span class=\"Qualifier\">WorldEditor.&#8203;src.&#82...
const DWPE = process.env.NODE_ENV === 'production' ? 'error' : 'warn'; module.exports = { root: true, env: { node: true, }, extends: ['plugin:vue/essential', 'eslint:recommended'], parserOptions: { parser: 'babel-eslint', }, rules: { ...Object.fromEntries( ['vue/no-unused-components', '...
if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) { window['google'] = {}; } if (!window['google']['loader']) { window['google']['loader'] = {}; google.loader.ServiceBase = 'https://www.google.com/uds'; google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax'; google.l...