text stringlengths 2 1.04M |
|---|
const nodemailer = require('nodemailer');
const mjmlUtils = require('mjml-utils');
const htmlToText = require('html-to-text');
const path = require('path'); // system
const fs = require('fs'); // system
let transporter;
module.exports = {
/**
* Create a transporter obj
*
* https://nodemailer.com/smt... |
module.exports = function (math) {
var util = require('../../util/index'),
BigNumber = require('bignumber.js'),
Complex = require('../../type/Complex'),
Unit = require('../../type/Unit'),
collection = require('../../type/collection'),
isNumber = util.number.isNumber,
isBoolean = ... |
import ContentItemsMixin from "./ContentItemsMixin.js";
import ReactiveElement from "../core/ReactiveElement.js"; // eslint-disable-line no-unused-vars
import SlotContentMixin from "./SlotContentMixin.js";
/**
* Treats the elements assigned to the default slot as list items
*
* This is simply a combination of
* [C... |
import { concatStyleSets, HighContrastSelector, IconFontSizes, getInputFocusStyle, } from '../../Styling';
import { memoizeFunction } from '../../Utilities';
var ARROW_BUTTON_WIDTH = 23;
var ARROW_BUTTON_ICON_SIZE = 8;
var DEFAULT_HEIGHT = 32;
var DEFAULT_MIN_WIDTH = 86;
var LABEL_MARGIN = 10;
var _getDisabledStyles = ... |
/**
* @file lamejs-plugin.js
* @since 1.1.0
*/
const RecordEngine = videojs.getComponent('RecordEngine');
/**
* Audio-only engine for the lamejs library.
*
* @class
* @augments videojs.RecordEngine
*/
class LamejsEngine extends RecordEngine {
/**
* Setup recording engine.
*/
setup(stream, me... |
// MODAL
function Modal(id, title, body_url, footer, size, height = '') {
if (height == '') {
height = "70vh";
}
if (footer.length > 0)
var modal_footer = '<div class="modal-footer"></div>';
else
var modal_footer = '';
modal_dialog(id, '\
<div class="modal-content">\
<div class="modal-header">\
... |
const CY_SELECTOR = {
title: '[data-cy=title]',
addDepositButton: '[data-cy=addDepositButton]',
completeNumberButton: '[data-cy=completeNumber]',
numberOne: '[data-cy=number_1]',
numberZero: '[data-cy=number_0]',
icoDotHorizontal: '[data-cy=icoDotHorizontal]'
};
export const moveDetailPage = {
action() {... |
import coreUtils from "@opentripplanner/core-utils";
import { ClassicLegIcon } from "@opentripplanner/icons";
import PropTypes from "prop-types";
import React from "react";
import ItineraryBody from "..";
import {
CustomTimeColumnContent,
WrappedOtpRRTransitLegSubheader
} from "../demos";
import ItineraryBodyDefau... |
module.exports={A:{A:{"1":"E A B","2":"H D G HB"},B:{"1":"0 C p J L N I"},C:{"1":"1 4 6 7 8 9 e f g h i j k l m n o M q r s t u v w x y z AB BB","2":"0 3 cB F K H D G E A B C p J L N I O P aB UB","4":"2 Q R S T U V W X Y Z a c d"},D:{"1":"0 1 2 4 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h... |
define([], function() {
'use strict';
// This is more complicated than it has to be
// because it tries to support 1+ APIs
var Deferred = function() {
if (!(this instanceof Deferred)) {
return new Deferred();
}
var callback = function() {},
then = functi... |
import styled from 'styled-components';
const Paragraph = styled.p`
font-size: ${({ theme }) => theme.fontSize.s};
font-weight: ${({ theme }) => theme.regular};
`;
export default Paragraph; |
module.exports = function solveSudoku(matrix) {
'use strict';
let spots = [],
length = matrix.length,
solved = false,
i,
x,
y;
for ( y = 0; y < length; y++ ) {
for ( x = 0; x < length; x++ ) {
if ( matrix[y][x] === 0 ) {
spots.push( { x, y } );
}
}
}
let solve = ( s... |
import Vue from 'vue'
import VueRouter from 'vue-router'
const Home = () => import('views/home')
const Category = () => import('views/category')
const Cart = () => import('views/cart')
const Personal = () => import('views/personal')
const Search = () => import('views/search')
const Product = () => import('views/produc... |
/*! For license information please see ../LICENSES */
"!="โ
"[t]()})),d=o[t]=l?e(y):f[t];n&&(o[n]=d),r(r.P+r.F*l,"String",o)},y=v.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(d,"")),2&e&&(t=t.replace(h,"")),t};t.exports=v},function(t,e){t.exports="\t\n\v\f\r ย แแ โโโโโโ
โโโโโโฏโใ\u2028\u2029\ufeff"},function(... |
/*! For license information please see framework-c35e70fad454c434ae6b.js.LICENSE.txt */
//# sourceMappingURL=framework-c35e70fad454c434ae6b.js.map |
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = require('react');
var React__default = _interopDefault(React);
var PropTypes = _interopDefault(require('prop-types'));
// istanbul ignore next
var statusDiv = typeof document =... |
const { DateTime } = require("luxon");
const CleanCSS = require("clean-css");
const UglifyJS = require("uglify-es");
const htmlmin = require("html-minifier");
const eleventyNavigationPlugin = require("@11ty/eleventy-navigation");
module.exports = function(eleventyConfig) {
// Eleventy Navigation https://www.11ty.dev... |
import { client } from '../plugins/Platform.js'
import { createDirective } from '../utils/private/create.js'
import { addEvt, cleanEvt, position, leftClick, stopAndPrevent, noop } from '../utils/event.js'
import { clearSelection } from '../utils/private/selection.js'
import { isKeyCode } from '../utils/private/key-com... |
/**
* MIT License
*
* Copyright (c) 2017-present, Elasticsearch BV
*
* 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 ... |
var $filtersCheckboxes = $('.filter');
var instlist = $('#inst_table_content');
$filtersCheckboxes.on('change', function () {
// instlist.hide();
var selectedFilters = {};
$filtersCheckboxes.filter(':checked').each(function () {
if (!selectedFilters.hasOwnProperty(this.name)) {
sel... |
/*************************************************************
*
* MathJax/localization/br/HelpDialog.js
*
* Copyright (c) 2009-2016 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... |
function asmFunc(global, env, buffer) {
"use asm";
var HEAP8 = new global.Int8Array(buffer);
var HEAP16 = new global.Int16Array(buffer);
var HEAP32 = new global.Int32Array(buffer);
var HEAPU8 = new global.Uint8Array(buffer);
var HEAPU16 = new global.Uint16Array(buffer);
var HEAPU32 = new global.Uint32Array(buffe... |
import React from 'react'
export default class extends React.Component {
static getInitialProps({ query: { id } }) {
return { id }
}
render() {
return (
<div>
<h1>My {this.props.id} blog post</h1>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
... |
var Discord = require("discord.js");
var funcs = require("./command_functions.js");
var bot = new Discord.Client();
bot.on("message", msg => {
if(msg.content.startsWith("!")) {
handleMessage(msg);
}
});
bot.on('ready', () => {
console.log('I am ready!');
});
if (process.argv.length != 3) {
console.l... |
import convert from './convert';
import CryptoHelpers from './CryptoHelpers';
import TransactionTypes from './TransactionTypes';
/**
* haveWallet() Check if wallet already present in localstorage
*
* @param walletName: The wallet name
* @param array: The wallets array from local storage
*
* @return boolean: True... |
import React, { useState } from "react"
import styled from "styled-components"
import { GatsbyImage, getImage } from "gatsby-plugin-image"
import { Link } from "gatsby"
import { useStaticQuery, graphql } from "gatsby"
import slugify from "slugify"
const query = graphql`
{
allContentfulProfile {
nodes {
... |
global.schema.HealthAndBeautyBusiness = require("./HealthAndBeautyBusiness.js");
/**
* Schema.org/HealthClub
* A health club.
*
* @author schema.org
* @class HealthClub
* @module org.schema
* @extends HealthAndBeautyBusiness
*/
module.exports = class HealthClub extends schema.HealthAndBeautyBusiness {
/**
* ... |
import React from 'react';
import IconBase from 'react-icon-base';
export default class FaConnectdevelop extends React.Component {
render() {
return (
<IconBase viewBox="0 0 40 40" {...this.props}>
<g><path d="m39.8 20q0 0.4-0.3 0.7t-0.6 0.4l-4 6.9q0 0.2 0 0.3 0 0.4-0.2 0.7t-0.6... |
import {isClearSessionAction} from './helpers'
import R from 'ramda'
import {
IMPORT_ALL_ENVIRONMENTS,
IMPORT_SINGLE_ENVIRONMENT,
QUEUE_ENVIRONMENT_IMPORT,
QUEUE_ENVIRONMENT_IMPORT_FAILED,
COMMIT_IMPORT_ACTIONS,
CREATE_ENTRY,
UPDATE_ENTRY_VAL
} from "actions"
export const
importActionsPending = (state... |
/**
* Images should be stored in the `App/Images` directory and referenced using variables defined here.
*/
export default {
// logo: require('../Images/logo.png'),
} |
const fs = require('fs')
const path = require('path')
const open = require("open")
const express = require('express')
const request = require('request')
var buildDir = path.join(__dirname, 'dist')
var port = 3000
//@nhancv: Find Ip address
var address, ifaces = require('os').networkInterfaces()
for (var dev in ifaces)... |
const fs = require('fs');
const path = require('path');
const has = require('lodash.has');
const readPkgUp = require('read-pkg-up');
const which = require('which');
const spawn = require('cross-spawn');
const {pkg, path: pkgPath} = readPkgUp.sync({
cwd: fs.realpathSync(process.cwd()),
});
const appDirectory = path.d... |
module.exports = {
root: true,
env: {
es6: true,
node: true,
jquery: true
},
extends: ['plugin:vue/essential', '@vue/prettier', '@vue/typescript'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'err... |
var exec = require('child_process').exec;
if(!process.env.use_precompiled)
exec('node-gyp rebuild', function(error, stdout, stderr) {
// command output is in stdout
console.log(stdout);
}); |
function onError(error) {
console.log(`Error: ${error}`);
}
function onSettingsRead(item) {
let instance = "teddit.net";
if (item.instance) {
instance = item.instance;
}
const original_url = window.location.href
const new_url = original_url.replace('old.reddit.com', instance).replace('reddit.com', ins... |
const fs = require('fs').promises;
const path = require('path');
const newContent = new Map([['how-to-examples.md', 'how-to/examples.md']]);
/**
* Copies the new content files to the destination
* @param {string} destination
*/
const copyNewContent = async (destination) => {
for (const [source, target] of newCon... |
/**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/**
* @module html-embed/htmlembedediting
*/
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import { logWarning } from '@cked... |
function main() {
const v4 = [13.37,13.37,13.37,13.37];
const v6 = [1337];
const v7 = [v6];
const v8 = {max:Function,setPrototypeOf:10};
const v9 = {exec:v6};
let v10 = "undefined";
const v15 = Function && 13.37;
let v18 = 0;
while (v18 < 3) {
v18 = 10;
const v19 = v18 + 1;
v18 = v19;
}
const v20 = [13.37,1... |
export { TableAllocationModal } from './TableAllocationModal.react'; |
import React from "react"
import { Link } from "gatsby"
import PropTypes from "prop-types"
//import Img from "gatsby-image"
//import Image from "./image"
const ProjectItem = ({ project }) => (
<div id="panel" className={`prod-cnt ${project.frontmatter.slug}`}>
<figure className="showcase-container" id="showcasei... |
$(document).ready(function(){
/* Content appear */
if($('body').hasClass('content-appear')) {
$('body').addClass('content-appearing')
setTimeout(function() {
$('body').removeClass('content-appear content-appearing');
}, 800);
}
/* Preloader */
setTimeout(function() {
$('.preloader').fadeOut();
}, 50... |
const Util = require('../../utils/Utils');
const { GetView, GetAll, GetId, Store, Update, } = require('./chatbot-models');
const util = new Util();
/**
* The ChatbotController.
*
* @method view select all records
* @method index select all outputs by input
* @method show select a record by id
* @method store cr... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
function helpers() {
const data = _interopRequireWildcard(require("babylonia/helpers"));
helpers = function () {
return data;
};
return data;
}
function _traverse() {
const data = _interopRequireW... |
import {
Route,
BrowserRouter as Router,
Switch
} from 'react-router-dom'
import 'semantic-ui-css/semantic.min.css'
import 'tachyons/css/tachyons.min.css'
import { Container } from 'semantic-ui-react'
import { Head } from './components/Head'
import { ProvideHolochain } from 'react-holochain-hook'
import React f... |
/**
* DataFormJS Unit Testing
*/
/* Validates with both [jshint] and [eslint] */
/* global app */
/* jshint strict: true */
/* eslint-env browser */
/* eslint quotes: ["error", "single", { "avoidEscape": true }] */
/* eslint strict: ["error", "function"] */
/* eslint spaced-comment: ["error", "always"] */
/* eslint ... |
/**
* ๅ็ฑปๆจกๅ
*/
'use strict';
const Promise = require('bluebird');
const request = require('request');
const CatagoryModel = require('../models/category');
module.exports = {
/**
* ๆฐๅขๅ็ฑป
*/
addCategory: function(data, callback){
CatagoryModel.insertOne(data, (err,doc) => {
if ( err == null && !do... |
'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]; } } }... |
//1ใๅฏผๅ
ฅexpress
const express = require('express')
const path = require('path')
//2ใๅๅปบ่ทฏ็ฑๅฏน่ฑก
const accountRouter = express.Router()
//ๅฏผๅ
ฅๆงๅถๅจ
const accountCTRL = require(path.join(__dirname,"../controllers/accountController.js"))
//3ใๅค็ๅ
ทไฝ็่ฏทๆฑ
// ่ทๅ็ปๅฝ้กต้ข็่ฏทๆฑ
accountRouter.get('/login',accountCTRL.getLoginPage)
// ่ทๅๆณจๅ้กต้ข็่ฏทๆฑ
a... |
import React from 'react'
import PropTypes from 'prop-types'
import { ServicesPageTemplate } from '../../templates/services-page'
const ServicesPagePreview = ({ entry, getAsset }) => {
const entryBlurbs = entry.getIn(['data', 'intro', 'blurbs'])
const blurbs = entryBlurbs ? entryBlurbs.toJS() : []
const e... |
/* global QUnit */
sap.ui.define([
"sap/ui/core/mvc/XMLView",
"sap/ui/fl/Utils",
"sap/ui/layout/VerticalLayout",
"sap/ui/dt/DesignTime",
"sap/ui/dt/Util",
"sap/ui/rta/command/CommandFactory",
"sap/ui/dt/OverlayRegistry",
"sap/ui/fl/write/api/ChangesWriteAPI",
"sap/uxap/ObjectPageLayout",
"sap/uxap/ObjectPage... |
/*! For license information please see chunk.232954093c003cff3cdd.js.LICENSE.txt */
<style>
:host {
z-index: 200;
position: fixed;
/*
Despite of what the names say, <vaadin-overlay> is just a container
for position/sizing/alignment. The actual overlay is the overla... |
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err;... |
import Vue from 'vue'
/**
* BAS SERVER API ENDPOINT
*/
class BaseProxy {
constructor(endpoint,parameters = {}){
this.endpoint = endpoint
this.parameters = parameters
}
setParameters(parameters) {
Object.keys(parameters).forEach((key) =>{
this.parameters[key] = parameters[key];
})
re... |
var round = Math.round;
/**
* Service that allow replacing of elements.
*/
export default function Replace(modeling) {
this._modeling = modeling;
}
Replace.$inject = [ 'modeling' ];
/**
* @param {Element} oldElement - Element to be replaced
* @param {Object} newElementData - Containing information about the ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _createClass2 = require('babel-runtime/helpers/createClass');
var _createClass3 = _interopRequir... |
import React from 'react';
import './button.css';
export default (props) => {
return (
<button
className={props.className || 'btn'}
onClick={() => props.pressButton()}
>
{props.children}
</button>
)
}; |
// Controller
function GameController ($scope) {
$scope.games=[
{nombre:"Zombies", codigo:"Hello", fase:"alpha"},
{nombre:"Survive", codigo:"Salve", fase:"alpha"},
{nombre:"Mini", codigo:"metodo", fase:"alpha"},
{nombre:"Game2D", codigo:"sobre", fase:"alpha"}
];
$scope.Save = function () {
$scope.games... |
const { mix } = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel a... |
module.exports = require('../../images/2/1f3a6.png'); |
// Copyright 2017, Google, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wr... |
class Api {
constructor() {
this._blackListedBoxes = [];
this.gates = [];
this.boxes = {};
this.ships = {};
this.battlestation = null;
this.lastMovement = 0;
this.isDisconnected = false;
this.disconnectTime = null;
this.reconnectTime = null;
this.jumpTime = $.now();
this.re... |
"use strict"
const punycodeRegex = require("punycode-regex")()
module.exports = (string) => punycodeRegex.test(string) |
/**
* API docs: https://confluence.atlassian.com/bitbucket/user-endpoint-2-0-744527199.html
*/
module.exports = function UserApi(api) {
return {
/**
* Get the info for the authenticated user
*/
get: () => api.get('user')
};
}; |
const mongoose = require('mongoose');
const movieSchema = new mongoose.Schema({
movieDirector: {
type: String,
required: true
},
movieTitle: {
type: String,
required: true
},
movieDate: {
type: Date,
required: true,
default: Date.now
}
});
module.exports = mongoose.model('Movie... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Animated, StyleSheet, Image } from 'react-native';
import DefaultNotificationBody from './DefaultNotificationBody';
const styles = StyleSheet.create({
notification: {
position: 'absolute',
width: '100%',
},
});
class No... |
/*! formstone v0.6.11 [core.js] 2015-06-18 | MIT License | formstone.it */
|
function cambiarLugar() {
var name = $('#selCiudad').val();
$('#evento').css('display','block');
if(name == 'CDMX'){
$('#lug').text("Haciendo los Morales");
$('#ulug').attr({"href":"https://www.haciendadelosmorales.com/"})
$('#dir').text("Av Juan Vรกzquez de Mella 525, Del Bosque, 11510 Miguel Hidalgo, CDMX");
... |
"use strict";
/* https://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isnan */
module.exports = function isNaN(value) {
return value !== value;
}; |
// Chapter 3: Stacks & Queues
// Solution originally on repl.it, please see: https://repl.it/@khd25/
//==============================================================================
/*
Question 3.5 - Sort Stack:
Write a program to sort a stack such that the smallest items are on the top.
You can use an additional t... |
import React, { useContext, createContext } from 'react';
const HooksContext = createContext();
const defaultHooks = {
// Intentionally empty for now
};
export const useHooks = () => useContext(HooksContext);
export const HooksProvider = ({ hooks, children }) => {
return (
<HooksContext.Provider value={{ ...d... |
import React from 'react';
class Nutrition extends React.Component {
constructor(props) {
super(props);
this.state = {
};
}
componentDidMount() {
}
componentWillUnmount() {
}
render() {
return (
<p className="App-comic">
</p>
... |
var m = require('mithril');
module.exports = m.trust('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="24" height="24" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve"><path fill="#050708" fill-opacity="1" st... |
/**
* Imports
*/
require('babel-register')
const test = require('tape')
const markedx = require('..')
const hyperx = require('hyperx')
var marked = require('marked')
var sample = require('./sample')
var element = require('vdux/element').default
const hx = hyperx(element)
/**
* Tests
*/
test('should convert plai... |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import Vue from 'vue'
import VueRouter from 'vue-router'
import App from './App.vue'
import qs from 'qs'
import axios from 'axios'
import VueCookies from 'vue-cookies'
axios.int... |
/* Persian (Farsi) keyboard layouts
* translate by Majid Ramezani -> majid.r830@gmail.com
* ---------------------------------------------------------------------------------------------------------
* To use:
* Point to this js file into your page header: <script src="layouts/persian.js" type="text/javascript"></script... |
/* eslint-disable */
const workerFarm = require('worker-farm');
const locales = require('box-locales');
const numCPUs = require('os').cpus().length;
const execSync = require('child_process').execSync;
const path = require('path');
const filename = path.basename(__filename);
const bundleCount = locales.length * 2; // O... |
const T = require("./Twit.js");
const my_user_name = require("../config").userName;
const timeout = 1000 * 60 * 5; // timeout to send the message 5 min
const AutoDM = () => {
const stream = T.stream("user");
console.log("Start Sending Auto Direct Message ๐๐๐");
stream.on("follow", SendMessage);
};
const Send... |
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import isRequiredIf from 'react-proptype-conditional-require'
import ExecutionEnvironment from 'exenv'
import twitterWidgetJs from './twitter-widget-url'
export default class TwitterTimelineEmbed extends Component {
static propTypes = {
... |
var mediaQueries = {};
export function mediaQuery({
query = '',
full = false,
onChange = () => {},
} = {}) {
var result = {
query,
full,
queryMatches: false,
_mq: null,
}
if (!query) {
return result
}
function listener(mq) {
result.queryMatches = mq.matches
onChange(result.... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvg... |
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* monaco-languages version: 2.10.0(7e1d706f5f42c54781fe0747c3d41871112d186a)
* Released under the MIT license
* https://github.com/Microsoft/monaco-languages/blob/master/LICEN... |
import React, {Component} from 'react';
import styled from 'styled-components';
import PropTypes from 'prop-types';
import AuthContext from '../../../context/auth-context'
const StyledDiv = styled.div`
width: 40%;
max-height: 40px;
margin: 16px auto;
border: 1px solid #e... |
import React from "react";
import classnames from "classnames";
import withStyles from "@material-ui/core/styles/withStyles";
import FormControl from "@material-ui/core/FormControl";
import TextField from "@material-ui/core/TextField";
import Typography from "@material-ui/core/Typography";
import {COLOR} from "../const... |
const inquirer = require("inquirer");
const Engineer = require("./lib/Engineer");
const Intern = require("./lib/Intern");
const Manager = require("./lib/Manager");
const fs = require("fs");
const managerPrompts = [
{
type: 'input',
name: 'name',
message: "Enter Manager's Name:",
},
... |
(function(d){d['et']=Object.assign(d['et']||{},{a:"Rasvane",b:"Kaldkiri",c:"Vali pealkiri",d:"Pealkiri",e:"Nummerdatud loetelu",f:"Punktidega loetelu",g:"Link",h:"Lรตik",i:"Pealkiri 1",j:"Pealkiri 2",k:"Pealkiri 3",l:"Pealkiri 4",m:"Pealkiri 5",n:"Pealkiri 6",o:"Avatav tรถรถriistariba",p:"Ava uuel kaardil",q:"Allalaaditav... |
var searchData=
[
['cmu_5fopen_16',['cmu_open',['../cmu_8c.html#a0bf9288af36bde6e21cc7c79382fff11',1,'cmu.c']]]
]; |
import React from 'react';
import { shallow } from 'enzyme';
describe('(Component) GameLeaderBoard', function() {
it('should exist', function() {
});
}); |
const menuToggle = document.querySelector(".menu-toggle input");
const nav = document.querySelector("nav ul");
menuToggle.addEventListener("click", function () {
nav.classList.toggle("slide");
}); |
/*! jQuery UI - v1.12.1 - 2017-03-20
* http://jqueryui.com
* Includes: keycode.js, widgets/datepicker.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define([ "jquery" ], f... |
/*!
* OpenUI5
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(["sap/ui/thirdparty/jquery","sap/ui/dom/isHidden"],function(t,e){"use strict";function n(e){return t(e).find("input, textarea").not("input[readonly],textar... |
import React from 'react';
import {
InlineContainer,
Text
} from '../../../components';
import ManuscriptRefLink from './ManuscriptRefLink';
export const ManuscriptRefLinkWithAlternatives = ({ manuscript }) => (
<InlineContainer>
<ManuscriptRefLink manuscript={ manuscript }/>
{
manuscript.alterna... |
//@ts-check
const gulp = require('gulp');
const ts = require('gulp-typescript');
const babel = require('gulp-babel');
const uglify = require('gulp-uglify');
const pump = require('pump');
const rename = require('gulp-rename');
const tsProject = ts.createProject('tsconfig.json');
const buildDir = './dist'
gulp.task('ts... |
import React from 'react';
import PropTypes from 'prop-types';
import {
Platform,
StyleSheet,
Text,
TouchableHighlight,
View,
} from 'react-native';
const ViewPropTypes = require('react-native').ViewPropTypes || ViewPropTypes;
export default class DefaultLabel extends React.Component {
static propTypes =... |
import config from "../../config/firebase";
import Firebase from "firebase/app";
import "firebase/auth";
import "firebase/database";
const app = Firebase.initializeApp(config);
export const firebase = Firebase;
export const auth = firebase.auth();
export const database = firebase.database(); |
import { hooks as moment, setHookCallback } from './lib/utils/hooks';
moment.version = '2.10.2';
import {
min,
max,
isMoment,
momentPrototype as fn,
createUTC as utc,
createUnix as unix,
createLocal as local,
createInvalid as invalid,
createInZone as parseZone
}... |
//# sourceMappingURL=commons-afb5782224ac01f1fa03.js.map |
const fetch = require('node-fetch')
const api_url = 'https://api.linksb.me'
async function get(username) {
let res = await fetch(`${api_url}/user/${username}`)
let data = await res.json()
return data
}
async function get_qrcode(username) {
let res = await fetch(`${api_url}/qrcode/${username}`)
le... |
import { dfs_d, dfs_s } from './algorithms/dfs.js';
import { bfs_d, bfs_s } from './algorithms/bfs.js';
import { dijkstra_d, dijkstra_s } from './algorithms/dijkstra.js';
import { a_star_d, a_star_s } from './algorithms/a_star.js';
window.ANIMATION_SPEED = 50;
window.animation_speed = function animation_speed(speed)... |
angular.module('app').controller('mvConfigCtrl', function($scope, $http, $interval, mvIdentity) {
var update = function () {
if(!mvIdentity.isAuthenticated()) {
return;
}
$http.get("/api/config")
.success(function(response) {
$scope.response = response... |
/*!
* DevExtreme (Charts)
* Version: 15.2.10
* Build date: May 27, 2016
*
* Copyright (c) 2012 - 2016 Developer Express Inc. ALL RIGHTS RESERVED
* EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml
*/ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.