text
stringlengths
2
1.05M
function openwin( url , name , width , height , left , top ){ window.open( url , name ,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+width+",height="+height+",left="+left+",top="+top ); } function openwinscroll( url , name , width , height , left , top ){ window...
const passport = require('passport') module.exports = app => { app.get('/auth/bitbucket', passport.authenticate('bitbucket')) app.get( '/auth/bitbucket/callback', passport.authenticate('bitbucket', { failureRedirect: '/' }), function(req, res) { res.redirect('/') } ) app.get( '/auth...
import uuid from 'uuid/v1'; import { takeRight, filter } from 'lodash'; import { LOCATION_CHANGE } from 'connected-react-router'; import { ENQUEUE, DEQUEUE } from '../actions/toastsActions'; import { MAX_TOASTS } from '../values/toasts'; const initialState = []; function enqueue(state, payload) { return takeRight(...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/*jshint esversion: 6, node: true*/ 'use strict'; // DEPENDENCIES const chalk = require('chalk'); const fs = require('fs'); const JSONStream = require('JSONStream'); const es = require('event-stream'); const PrettyError = require('pretty-error'); const pe = new PrettyError(); const models = require('../models'); const...
const Star = ({ starId, selected }) => { return ( <button star-id={starId} className='text-yellow-400 sm:text-base'> <svg xmlns='http://www.w3.org/2000/svg' className='w-6 h-6' fill={selected ? 'currentColor' : 'none'} viewBox='0 0 24 24' stroke='currentColor' ...
/* * pagefire * https://github.com/bart/pagefire * * Copyright (c) 2014 andrej bartko * Licensed under the MIT license. */ 'use strict'; /** * paginateFire needs url to endless list * will store the current page * and be queried for next or previous * * optional arguments: * pageSize - default 10 for test...
'use strict'; /** * Controller for Promotiondetailinfo **/ promotiondetailinfoModule.controller('PromotiondetailinfoCtrl', ['Promotiondetailinfo', 'Dishinfo', 'Dishspecificationinfo', '$scope', '$routeParams', '$http', '$location', '$cookies', 'MessageHandler', 'restURL', function(Promotiondetailinfo, Dishinfo, Dis...
var path = require("path"); var webpack = require("webpack"); var express = require("express"); var devMiddleware = require("webpack-dev-middleware"); var hotMiddleware = require("webpack-hot-middleware"); var ProgressPlugin = require("webpack/lib/ProgressPlugin"); var config = require("./webpack.config.js")({prod: fa...
/* Highcharts JS v8.2.2 (2020-10-22) Highcharts cylinder module (c) 2010-2019 Kacper Madej License: www.highcharts.com/license */ (function(c){"object"===typeof module&&module.exports?(c["default"]=c,module.exports=c):"function"===typeof define&&define.amd?define("highcharts/modules/cylinder",["highcharts","high...
import Vue from 'vue' import Vuex from 'vuex' import axios from 'axios' Vue.use(Vuex) const store = new Vuex.Store({ state: { user: '', team: '', errorLog: '', tasks: '', taskStatus: '' }, mutations: { login(state, user) { state.user = user ...
/* ======================================================================== * Bootstrap: transition.js v3.3.1 * http://getbootstrap.com/javascript/#transitions * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twb...
import axios from 'src/utils/axios'; import { handleResponse } from '../helpers/handleResponse'; import { handleError } from '../helpers/handleError'; export const subCategoryService = { findAll, findAllByCategory, findById, }; function findAll() { return axios.get('/subcategories/') .catch(handleError) ...
//Dependencies import React, { useState, useEffect, useContext } from "react"; import { Link } from "react-router-dom"; import MDEditor from "@uiw/react-md-editor"; import api from "../../../apis/pagesApi"; import { AuthContext } from "../../../contexts/authContext"; //Styled Components import { Container, Fix, ...
module.exports="3.1.0";
var micromarkdown={useajax:!1,regexobject:{headline:/^(\#{1,6})([^\#\n]+)$/m,code:/\s\`\`\`\n?([^`]+)\`\`\`/g,hr:/^(?:([\*\-_] ?)+)\1\1$/gm,lists:/^((\s*((\*|\-)|\d(\.|\))) [^\n]+)\n)+/gm,bolditalic:/(?:([\*_~]{1,3}))([^\*_~\n]+[^\*_~\s])\1/g,links:/!?\[([^\]<>]+)\]\(([^ \)<>]+)( "[^\(\)\"]+")?\)/g,reflinks:/\[([^\]]+)...
import Mock from 'mockjs' // const random = Mock.Random // 装配计划编制 const planData = function() { // const deliver = random.date() // const datePlan = '2020-06-30' return Mock.mock({ 'model|3': [{ type: 'AG' + '@integer(6, 9)' + '00', 'batches|+1': 2001, time: '@date', deliverTime: funct...
require('../spec_helper') const cp = require('child_process') const fse = require('fs-extra') const os = require('os') const path = require('path') const _ = require('lodash') const { it, after, before, beforeEach, describe } = require('mocha') const { expect } = require('chai') const debug = require('debug')('test:pr...
// selects or copies the targeted item // https://codepen.io/shaikmaqsood/pen/XmydxJ/ function copyToClipboard(target) { var $temp = $("<input>"); $("body").append($temp); var text = ($(target).text() || $(target).val()); $temp.val(text).select(); document.execCommand("copy"); $temp.remove(); } function s...
/*! @license * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('shaka.Player'); goog.require('goog.asserts'); goog.require('shaka.Deprecate'); goog.require('shaka.log'); goog.require('shaka.media.AdaptationSetCriteria'); goog.require('shaka.media.BufferingObserver');...
'use strict'; angular.module('jenkins', []). constant('STAPLER_CONTENT_TYPE', 'application/x-stapler-method-invocation;charset=UTF-8'). provider('proxy', function() { this.bindings = {}; this.configureProxiesUsing = function(bindings) { this.bindings = bindings; }; ...
import * as actions from './index'; describe('todo actions', () => { it('addTodo should create ADD_TODO action', () => { expect(actions.addTodo('Use Redux')).toEqual({ type: 'ADD_TODO', id: 1, text: 'Use Redux', }); }); it('removeTodo should create REMOVE_TODO action', () => { expe...
export {sendMsgToFCL, close, approve, decline} from "./send-msg-to-fcl.js" export {onMessageFromFCL} from "./on-message-from-fcl.js" export {encodeMessageFromSignable} from "@onflow/sdk" export {CompositeSignature} from "./CompositeSignature.js"
/** * @fileoverview * @enhanceable * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! var jspb = require('google-protobuf'); var goog = jspb; var global = Function('return t...
require("../../common/manifest.js") require("../../common/vendor.js") global.webpackJsonpMpvue([1],{ /***/ 167: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODUL...
const path = require("path") const handlebars = require("express-handlebars") const pathService = require("./../services/path.service") class KeystoneConfigurator { constructor(keystone) { this._keystone = keystone; } init(options) { const appRoot = pathService.resolveRootDir() const coreRoot = pathService.r...
import React, { useState } from 'react' import BaseProvider from './BaseProvider' import FilterTable from '../components/FilterTable'; const TwitterPage = () => { const [data, setData] = useState(); return ( <BaseProvider pageTitle='Twitter mentions' connectionName='twitter' endpoint='twitt...
import React, { Component } from 'react'; import TabNav from './tabnav'; import NewsletterGrid from "./newsletter/newsletterGrid"; import RequestsGrid from "./requests/requestsGrid"; class Dashboard extends Component { constructor(props) { super(props); this.state = { tabs: [ { tit...
import React, {useState, useEffect} from 'react'; import API from '../api-services'; //import {TokenContext} from "../index"; import {useCookies} from "react-cookie"; //It's always advisable to do authentication on server side and skip //doing it on javascript side //Auth should get username/password, create user and ...
/* * 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 { withHandlers } from 'recompose'; import { set } from 'object-path-im...
// When false nothing will be logged. // Configuration goes here. require('./config.js'); if (!configuration.DEBUG) { console.log = function() {}; } const Discord = require("discord.js"); const fs = require('fs'); let net; let netOptions = {}; if (configuration.tlsEnabled) { net = require('tls'); netOp...
let Table = require('table').table; let SpotifyGetter = require('./spotify-getters'); let Sync = require('deasync'); let opn = require('opn'); let lyric = require('lyric-get'); const SLEEP_TIME = 100; /** * Auxiliar method used to * synchronize the spotify promise. * * @param fn */ let synchronizePromise = fn =...
var dir_ae3fad8e5a54a0227e1025074a3c0bce = [ [ "aitesconnector", "dir_fac261de60c27fb410950cc33f005ed7.html", "dir_fac261de60c27fb410950cc33f005ed7" ], [ "aitesmanager", "dir_16743d03958091cb360a5393a9cf9a0b.html", "dir_16743d03958091cb360a5393a9cf9a0b" ], [ "analyzer", "dir_8222f3cf4f5ab87038ce7afebccb0e33...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
flarum.core=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toS...
const t = require('tap') const sinon = require('sinon') const subject = require('../') const fixture = require('./fixture') const noop = () => {} t.test('Express Request Mock', (t) => { t.test('interface', (t) => { t.test('when imported', (t) => { t.type(subject, Function, 'provides a function') t.t...
import React from 'react'; import styled from 'styled-components'; import fonts from '../../styles/font'; import colors from '../../styles/colors'; export default function LabelSeats() { return( <ContainerLabel> <div> <input type='button' className='green' /> <label>Selecionado</label> ...
import { ServerService } from '../ServerService.js'; import { RoomConnectionService } from '../RoomConnectionService.js'; import { WelcomeRoomService } from './rooms/WelcomeRoomService.js'; import { ClientRoomService } from './rooms/ClientRoomService.js'; import { ClientCommand } from '../ClientCommand.js'; export...
/* global APP, $, config */ /* jshint -W101 */ import JitsiPopover from "../util/JitsiPopover"; import VideoLayout from "./VideoLayout"; /** * Constructs new connection indicator. * @param videoContainer the video container associated with the indicator. * @constructor */ function ConnectionIndicator(videoContaine...
ngDescribe({ name: 'Test estado-add component', modules: 'app', element: '<estado-add></estado-add>', tests: function (deps) { it('basic test', () => { // }); } });
import init, { run_app } from './klopodavka_yew'; async function main() { await init('./klopodavka_yew_bg.wasm'); run_app(); } main();
'use strict'; var Constants = {}; Constants.SCRIPT_TYPES = { P2SH: 'P2SH', P2PKH: 'P2PKH', }; // not used, since Credentials 2.0 Constants.DERIVATION_STRATEGIES = { BIP44: 'BIP44', BIP45: 'BIP45', BIP48: 'BIP48', }; Constants.PATHS = { REQUEST_KEY: "m/1'/0", // TXPROPOSAL_KEY: "m/1'/1", REQUEST_KEY_A...
/* * Translated default messages for the jQuery validation plugin. * Language: HU * Skipped dateISO/DE, numberDE */ jQuery.extend(jQuery.validator.messages, { required: "Kötelező megadni.", maxlength: jQuery.format("Legfeljebb {0} karakter hosszú legyen."), minlength: jQuery.format("Legalább {0} karakter...
angular.module('helpNow').factory('ResourceRequest', function ($resource) { return $resource('api/resourcerequest/:id', null ,{ update: { method: 'PUT' } }); });
(function () { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Keyboard = Laya.Keyboard; var TimeLine = Laya.TimeLine; var WebGL = Laya.WebGL; var target; var timeLine = new TimeLine(); (function () { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.align...
browser.topSites.get() .then((sites) => { var div = document.getElementById('site-list'); if (!sites.length) { div.innerText = 'No sites returned from the topSites API.'; return; } let ul = document.createElement('ul'); ul.className = 'list-group'; for (let site of sites) { ...
"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: 24, height: 24, viewBox: "0 0 24 ...
/** * This module contains code for converting to and from the Textgrid * datastructure. Textgrid files are typically stored as plain text. * This library does not do actual file IO but instead converts * to and from loaded strings to instances of Textgrid. * * @author Tim Mahrt * @since March 25, 2015 * @modu...
import React from "react"; import PropTypes from "prop-types"; import "./slider.css"; function Slider({ name, on, handle }) { return ( <label className="slider"> <input type="checkbox" name={name} checked={on} onChange={handle} /> <span className="toggle" /> </label> ); } Slider.propTypes = { ...
import external from '../externalModules.js'; import { getToolState } from '../stateManagement/toolState.js'; import loadHandlerManager from '../stateManagement/loadHandlerManager.js'; import clip from '../util/clip.js'; // This function causes the image in the target stack to be set to the one closest // To the image...
import React from 'react' import Layout from '../components/layout' import SEO from '../components/seo' import Hero from '../components/hero'; import Cards from '../components/cards' import Section from '../components/section' import Cells from '../components/cells'; const IndexPage = () => ( <Layout> <SEO tit...
var Discord = require('discord.js'); var Bot = new Discord.Client(); var Helper = require('./components/helper.js'); var Queue = require('./components/queue.js'); var TrackHelper = require('./components/trackhelper.js'); var WordService = require('./components/wordservice.js'); var WeatherService = require('./component...
export default class $JSONObject { json; object; postCallback; constructor(json, object) { this.json = json; this.object = object; } static fromJSON(json) { let object = JSON.parse(json); return new $JSONObject(json, object); } static fromObject(object)...
pbjsChunk([50],{50:function(e,r,n){n(51),e.exports=n(52)},51:function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.spec=void 0;var i=n(6),t=(function(e){{if(e&&e.__esModule)return e;var r={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r.default=e,r}}...
(this["webpackJsonp@coreui/coreui-free-react-admin-template"]=this["webpackJsonp@coreui/coreui-free-react-admin-template"]||[]).push([[24],{1041:function(e,t,n){"use strict";n.r(t);var a=n(2),c=n(9),r=n(1),o=n.n(r),i=n(631),s=n.n(i),l=n(632),j=n.n(l),d=n(163),b=n(629),u=n(627),O=n(641),p=n.n(O),h=n(20),m=n(637),x=n(657...
'use strict'; const pWaitFor = require('p-wait-for'); const { randomString } = require('@cumulus/common/test-utils'); const { buildAndExecuteWorkflow, loadCollection, loadProvider, waitForCompletedExecution } = require('@cumulus/integration-tests'); const { LambdaStep } = require('@cumulus/integration-tests/sf...
const path = require("path"); const webpack = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const TerserPlugin = require("terser-webpack-plugin"); const CopyPlugin = require("copy-webpack-plugin"); function initCanisterEnv() { let localCanisters, prodCanisters; try { localCanist...
import { StyleSheet, View } from 'react-native'; const Color = (props) => { return ( <View style={[styles.color__div, { backgroundColor: props.color }]}> </View> ); } const styles = StyleSheet.create({ color__div: { width: 50, height: 50, justifyContent: 'center', ...
import clone from "../Core/clone.js"; import defined from "../Core/defined.js"; import Expression from "./Expression.js"; /** * An expression for a style applied to a {@link Cesium3DTileset}. * <p> * Evaluates a conditions expression defined using the * {@link https://github.com/CesiumGS/3d-tiles/tree/main/specifi...
import React from 'react'; import marked from 'marked'; import { storiesOf } from '@storybook/react'; import readme from '../../README.md'; import 'github-markdown-css'; import './intro.css'; storiesOf('Docs|Introduction', module) .add( 'Getting started', () => ( <div className="markdow...
/** * Unit tests for harModelLoader. */ define([ "preview/harModelLoader", ], function(Loader) { var registerSuite = intern.getInterface("object").registerSuite; var assert = intern.getPlugin("chai").assert; function assign(target, src1, src2, etc) { for (var i = 1; i < arguments.length; i++)...
!function(a){var b={exports:{}};(function(a){function b(){this._events={},this._maxListeners=10}function c(a,b,c,d,e){this.type=a,this.listener=b,this.scope=c,this.once=d,this.instance=e}c.prototype.fire=function(a){this.listener.apply(this.scope||this,a);if(this.once)return this.instance.removeListener(this.type,this....
module.exports = context => { return { Program() { context .getSourceCode() .getAllComments() .forEach(commentNode => { if (/\b(FOO)\b/.test(commentNode.value)) { context.report({ node: commentNode, message: 'Has "FOO"', }...
import React from "react"; import styled from "styled-components"; import { BaseContainer } from "../../helpers/layout"; import { getDomain } from "../../helpers/getDomain"; import { Spinner } from "../../views/design/Spinner"; import { Button } from "../../views/design/Button"; import { withRouter } from "react-router...
/** * Drop Menu * author: Pavel Khoroshkov aka pgood * http://pgood.ru */ function initDropMenu(id){ var menu=todo.get(id); if(!menu)return; var _dmCookie=new Cookie('sidemenu'+id), indexes=_dmCookie.indexes?_dmCookie.indexes.split(','):[], isOpen=function(id){for(var i=0;i<indexes.length;i++)if(indexes[i]==id)return...
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactModal=t(require("react"),require("react-dom")):e.ReactModal=t(e.React,e.ReactDOM)}(this,fun...
// Copyright 2022 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 ...
var src = './'; module.exports = { sass: { src: [ src + 'sass/*.scss', src + 'sass/**/*.scss' ], dest: './css' } };
const { When } = require('cucumber'); const parseData = require('./helpers/parseData'); When(/^I call the "([^"]*)" endpoint with data:$/, async function (endpoint, data) { data = parseData(data.hashes()); await this.callFunction(endpoint, data[0]); }); When(/^I call the "([^"]*)" endpoint with no data$/, as...
function Compile (el, templateDescriptor, model, options) { this.model = model this.$vm = Object.assign({}, model.data, model.methods, options.inject) this.$el = document.querySelector(el) if (this.$el) { this.$fragment = this.node2Fragment() this.init(templateDescriptor) this.$el.appendChild(this.$...
module.exports = (config) => { return { name: 'shortName', type: 'input', default: config.default.name.split(' ').join('').substring(0, 12), message: 'Define a short name (maximum of 12 characters) https://developers.chrome.com/apps/manifest/name', filter: ( value, other, again ) => { return...
export default { dsn: 'https://d1f4810475164ea4a071563f0699cbcf@sentry.io/2449507', };
const express = require('express') const app = express() const cache = require('./') app.use(cache({duration: 30, redis: {port: 6379}})) app.get('/', (req, res) => { res.send({test: true}) }) app.listen(8000)
import {format, differenceInCalendarDays} from 'date-fns' export const schedules = { data() { return {} }, mounted() { }, methods: { compareDays(targetEnd, currentEnd) { let targetDays = this.generateTagTime(targetEnd), currentDays = this.generateTagTime...
import {b} from "./library/a.js"; output = [b];
module.exports = function (gameServer, split) { var key = split[1]; var value = split[2]; // Check if int/float if (value.indexOf('.') != -1) { value = parseFloat(value); } else { value = parseInt(value); } if (typeof gameServer.config[key] != 'undefined') { gameServer.config[key] = value; ...
import React from 'react'; import {Route} from 'react-router'; import Home from '../pages/home/home.container'; import Main from '../templates/main/main.component'; export default ( <Route path="/" component={Main}> <Route path="*" component={Home}/> </Route> );
/* ------------------------------------------------------------------------------ * * # Idle timeout * * Specific JS code additions for extra_idle_timeout.html page * * Version: 1.0 * Latest update: Aug 1, 2015 * * ---------------------------------------------------------------------------- */ $(functio...
enyo.kind({ name: "DevModeService", kind: "enyo.PalmService", service: "palm://org.webosports.service.devmode/" });
import React, { Component } from 'react'; import './alert.css'; export default class Alert extends Component{ render(){ if(this.props.alert.alertVisible){ return( <div className="alert alert-danger " role="alert"> <h2>{this.props.alert.message}</h2> </div> ); } return null; } }
const async = require('async'); const Connection = require('../../src/connection'); const Request = require('../../src/request'); const fs = require('fs'); const homedir = require('os').homedir(); const assert = require('chai').assert; const os = require('os'); function getConfig() { const config = JSON.parse( f...
/*! jQuery UI - v1.11.1 - 2014-08-19 * http://jqueryui.com * Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs....
/** * * jquery.it7InputRules.js * @summary Filtered and transform input characters jQuery plugin * @see https://github.com/it7-solutions/jquery.it7InputRules * * @version: 1.0.1 * @author ANEKHERo.SyS aka Kolodyazhni Andrew * * @licence MIT License http://www.opensource.org/licenses/mit-license * ...
const { DynamoDB } = require('aws-sdk'); exports.handler = async function (event) { const dynamo = new DynamoDB(); console.log("request:", JSON.stringify(event, undefined, 2)); // update dynamo entry for "path" with hits++ await dynamo.updateItem({ TableName: process.env.TABLE_NAME, Key: { path: { S:...
import { VisFactoryProvider } from 'ui/vis/vis_factory'; import { VisSchemasProvider } from 'ui/vis/editors/default/schemas'; import { CATEGORY } from 'ui/vis/vis_category'; import gaugeTemplate from 'plugins/kbn_vislib_vis_types/editors/gauge.html'; import { vislibColorMaps } from 'ui/vislib/components/color/colormaps...
/** * Copyright 2020 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...
/* Copyright 2010, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla...
import React from "react"; // reactstrap components import { Container, Row, Col, Carousel, CarouselItem, CarouselIndicators, } from "reactstrap"; // core components const items = [ { src: require("assets/img/bg1.jpg"), altText: "Nature, United States", caption: "Nature, United States", }...
import React, { useEffect, useState } from "react"; import FormScreen from "../../components/registration/FormScreen"; import routes from "../../navigation/routes"; import TextInput from "../../components/TextInput"; import Text from "../../components/typography/Text"; import { screen } from "../../config/dimensions";...
export default [ { path: "/", text: "home", }, { path: "/books", text: "books", }, { path: "/blog", text: "blog", }, { path: "/contact", text: "contact", }, ]
const MongoClient = require('mongodb').MongoClient; module.exports = function (app) { const connection = app.get('mongodb'); const database = connection.substr(connection.lastIndexOf('/') + 1); const mongoClient = MongoClient.connect(connection, { useNewUrlParser: true }) .then(client => client.db(database))...
/* eslint @typescript-eslint/no-var-requires: "off" */ const { AwsCdkConstructLibrary, ProjectType, NodePackageManager } = require("projen"); const project = new AwsCdkConstructLibrary({ name: "datadog-cdk-constructs", description: "CDK Construct Library to automatically instrument Python and Node Lambda functions...
const join = require('path').join; const koa = require('koa'); const app = new koa(); const configs = [{ name: 'user', db: 'demo', username: 'root', password: 'FLYgirl791008.', dialect: 'mysql', host: 'flagcaicai.f3322.net', port: 63003, modelPath: join(__dirname, 'models') }]; const orm = require('...
// todo: add auth schema's // { // connection: "Username-Password-Authentication", // email: "john.doe@gmail.com", // password: "Password123!", // user_metadata: { // name: "John", // surname: "Doe", // }, // email_verified: false, // verify_email: false, // app_metadata: {}, // }; // const si...
const ProfileView = require("./Profile.svelte") const ContactCard = require("./ContactCard.svelte") const AboutCard = require("./AboutCard.svelte") patchfox.package({ name: "contacts", supportedPlatforms: ["nodejs-ssb"], profile: ProfileView, messageTypes: [ { type: "contact", card: ContactCard...
module.exports = (emotions) => { return emotions.sort((first, second) => { return first.Confidence - second.Confidence; }).pop().Type; };
/* eslint-disable no-console, no-process-exit, global-require */ const fs = require('fs') const path = require('path') const args = process.argv let action = '' let config = {} const zanata = require('./zanata') const configFile = path.join(__dirname, '../zanata.local.json') const availableLanguages = require('../clien...
import {all, call, put, take, fork} from 'redux-saga/effects'; import {getTopicArrayByForumIdApi} from 'api'; import {getForumArrayByParentForumId, setPaginationTotalItemsCount, setPaginationPageNumber} from 'containers/reducer'; const initialState = { topicArray: [] }; export const GET_TOPIC_ARRAY_BY_FORUM_ID = ...
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['lt']={"editor":"Pilnas redaktorius","editorPanel":"Pilno redagtoriaus skydelis","common":{"editorHelp":"Spauskite ALT 0 dėl pagalbos","browseServer":"Naršyti po ...
"use strict"; /** * Copyright 2018 Novage 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...