text stringlengths 2 1.04M |
|---|
// Tests and utilities
var darksky = require('./darksky');
var wxsummary = require('./wxsummary');
const api_key = "b4d58ccf2c792a4a0588e1b31b0e7daf";
//lat lon of Concord, MA
var concord = {'lat': '42.460372',
'lon': '-71.348948'};
var old_time = "2017-11-11T11:59:00";
var opts = {exclude: "minutely,hou... |
// ZIM js Interactive Media framework http://zimjs.com by Dan Zen http://danzen.com (c) 2018
// Also see http://zimjs.com/distill to minify only the functions in your app
// free to use - donations welcome of course! http://zimjs.com/donate
|
/*!
* p521.js - p521 for bcrypto
* Copyright (c) 2017-2019, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcrypto
*/
'use strict';
module.exports = require('./js/p521'); |
/**
* @licstart The following is the entire license notice for the
* Javascript code in this page
*
* Copyright 2021 Mozilla Foundation
*
* 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... |
import { NotImplementedError } from '../extensions/index.js';
/**
* Given matrix, a rectangular matrix of integers,
* just add up all the values that don't appear below a "0".
*
* @param {Array<Array>} matrix
* @return {Number}
*
* @example
* matrix = [
* [0, 1, 1, 2],
* [0, 5, 0, 0],
* [2, 0, 3, 3]
* ]... |
import React from 'react';
import { Switch, Route } from 'react-router-dom';
import MainLayout from './components/layout/MainLayout/MainLayout';
// import routes
import Home from './components/pages/Home/HomePage';
import NotFound from './components/pages/NotFound/NotFoundPage';
import Prices from './components/pages... |
'use strict';
module.exports = function (math, config) {
var object = require('./util/object');
var bignumber = require('./util/bignumber');
var Complex = require('./type/Complex');
var BigNumber = math.type.BigNumber;
math['true'] = true;
math['false'] = false;
math['null'] = null;
math['u... |
import UserInfo from './UserInfo.vue'
export default UserInfo |
function FinalEnding() {
var gSobject = gs.init('FinalEnding');
gSobject.clazz = { name: 'net.cherokeedictionary.affixes.FinalEnding', simpleName: 'FinalEnding'};
gSobject.clazz.superclass = { name: 'java.lang.Object', simpleName: 'Object'};
gSobject.FinalEndings = gs.map();
gSobject['FinalEnding0'] = functio... |
import chai from 'chai';
import chaiHttp from 'chai-http';
import Sinonchai from 'sinon-chai';
import sinon from 'sinon';
import sgMail from '@sendgrid/mail';
import mongoose from 'mongoose';
import jwt from 'jsonwebtoken';
import app from '../index';
import AuthController from '../controllers/auth.controller';
import ... |
/**
* @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v23.2.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
... |
/*!
* dist/jquery.inputmask.min
* https://github.com/RobinHerbots/Inputmask
* Copyright (c) 2010 - 2021 Robin Herbots
* Licensed under the MIT license
* Version: 5.0.6-beta.54
*/
//# sourceMappingURL=jquery.inputmask.min.js.map |
/*!
Highlight.js v11.1.0 (git: 83ad2fbd99)
(c) 2006-2021 Ivan Sagalaev and other contributors
License: BSD-3-Clause
*/
var hljs=function(){"use strict";var e={exports:{}};function n(e){
return e instanceof Map?e.clear=e.delete=e.set=()=>{
throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... |
import * as admin from 'firebase-admin'
import { resObj } from 'utils/objects'
import { EMAIL } from 'constantValues'
const handleIsEmailExist = data => {
return admin
.auth()
.getUserByEmail(data[EMAIL])
.then(user => {
// User already exists
console.log(user)
return resObj(false, 'User Already Exist'... |
/**
* The copyright in this software is being made available under the BSD License,
* included below. This software may be subject to other third party and contributor
* rights, including patent rights, and no such rights are granted under this license.
*
* Copyright (c) 2013, Dash Industry Forum.
* All rights re... |
/**
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/* globals console, window, document */
import ClassicEditor from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
import ArticlePl... |
import React, { forwardRef } from 'react';
import PropTypes from 'prop-types';
const PhoneMissed = forwardRef(({ color = 'currentColor', size = 24, ...rest }, ref) => {
return (
<svg
ref={ref}
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fi... |
define(['exports', 'module', 'react', '../PageHeader'], function (exports, module, _react, _PageHeader) {
'use strict';
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _React = _interopRequireDefault(_react);
var _PageHeader2 = _interopRequireDefault(_Pag... |
/*
* 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.
*/
"use strict";
/*
* Global Settings and Config service
*/
define(['jquery','ojs/ojcore' ,'knockout'],
function($,oj,ko) {
... |
/**
* @fileoverview Rule to disallow if as the only statmenet in an else block
* @author Brandon Mills
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports... |
import React from 'react'
import { useStaticQuery, graphql } from 'gatsby'
const Image = ({ image, withFallback = false, ...props }) => {
console.log('Image', image)
const data = useStaticQuery(graphql`
query {
fallBackImage: file(relativePath: { eq: "fallback.svg" }) {
publ... |
/**
* @file uiFunctions.js
*
* Copyright (c) 2018 Pedro Sequeira (pedrodbs@gmail.com)
*
* 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 limitatio... |
var $ = require("../core/renderer"),
themes = require("./themes"),
registerComponent = require("../core/component_registrator"),
grep = require("../core/utils/common").grep,
extend = require("../core/utils/extend").extend,
arrayUtils = require("../core/utils/array"),
iteratorUtils = require("../... |
var url = $(location).attr("href");
var segments = url.split("/");
$("#table-daftar-user").DataTable({
"pageLength": 5
});
$('#table-daftar-user').on('click', '.hapus_user', function () {
let id_user = $(this).data('id');
Swal.fire({
title: 'Anda yakin? User akan dihapus',
text: "",
type: 'warning',
... |
import React, { Component } from "react";
import { View, StyleSheet } from "react-native";
import { Title } from "react-native-paper";
import { CSComponent } from "react-central-state";
import Authentication from "../API/Authentication";
import UserTournamentList from "./UserTournamentList";
import Container from "./C... |
var Genre = require('./../models/genres.models');
module.exports = {
getGenre:getGenre,
addGenre: addGenre,
updateGenre:updateGenre,
deleteGenre: deleteGenre
};
function getGenre(request) {
return new Promise((resolve, reject) => {
Genre.find({}).limit(request.limit).exec(function (err, res) {
if ... |
'use strict';
/**
* Module dependencies.
*/
var express = require('express'),
morgan = require('morgan'),
bodyParser = require('body-parser'),
session = require('express-session'),
compress = require('compression'),
methodOverride = require('method-override'),
cookieParser = require('cookie-parser'),
helmet =... |
if(typeof(PhpDebugBar.utils)=='undefined'){PhpDebugBar.utils={}}
var getDictValue=PhpDebugBar.utils.getDictValue=function(dict,key,default_value){var d=dict,parts=key.split('.');for(var i=0;i<parts.length;i++){if(!d[parts[i]]){return default_value}
d=d[parts[i]]}
return d}
var getObjectSize=PhpDebugBar.utils.getObjectS... |
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool... |
'use strict';
$(document).ready(function () {
$('.dd').nestable().on('change', function (e) {
let list = e.length ? e : $(e.target);
$('.dd-output').text(JSON.stringify(list.nestable('serialize'), null, 2));
});
$('[data-action="expand-all"]').on('click', function (e) {
$('.dd').ne... |
import { combineReducers } from 'redux';
import negocio from './negocio';
import cliente from './cliente';
const reducer = combineReducers({
negocio,
cliente
});
export default reducer; |
import {jest} from '@jest/globals';
import * as observe from '../src/observe.js';
describe('observe', () => {
describe('observe', () => {
test('if falsy input is passed or no input, it\'s returned', () => {
expect.assertions(6);
expect(observe.observe()).toBe(undefined);
expect(observe.observe... |
const utils = {};
utils.recursiveChildFinder = (parentArray = [], allChildren = []) => {
const baseWithChildren = parentArray.map(each => {
const child_menu = allChildren.filter(child => '' + child.parent_menu === '' + each._id) || [];
return { ...each, child_menu };
});
let baseParentIds = [];
baseWith... |
const { v4: uuidv4 } = require('uuid')
const AWS = require('aws-sdk')
const ARTICLES_TABLE = 'articles'
const dynamoDb = new AWS.DynamoDB.DocumentClient()
const create = async (article) => {
const articleId = uuidv4()
const newArticle = {
articleId,
...article,
}
const params = {
TableName: ARTIC... |
/*global wc_address_i18n_params */
jQuery( function( $ ) {
// wc_address_i18n_params is required to continue, ensure the object exists
if ( typeof wc_address_i18n_params === 'undefined' ) {
return false;
}
var locale_json = wc_address_i18n_params.locale.replace( /"/g, '"' ), locale = JSON.parse( locale_jso... |
import React from 'react';
import { renderWithTheme } from '../../../_helpers/testing';
import Text from '../../Text';
import Card from '../index';
describe('<Card />', () => {
describe('shadowed', () => {
it('renders a shadowed Card', () => {
const { container } = renderWithTheme(<Card variant="shadowed" ... |
var router = require('express').Router();
var reply = require('../wechat/reply');
// wechat reply and sign service
router.get('/', reply.get)
.post('/', reply.post);
module.exports = router; |
import Express from 'express';
import compression from 'compression';
import mongoose from 'mongoose';
import bodyParser from 'body-parser';
import path from 'path';
import cors from 'cors';
import helmet from 'helmet';
import Memory from './models/memory';
import { mail } from './util/mail';
import { account } from '.... |
var seen = {};
return results.filter(function(result) {
// passes can pass through
if (result.result) {
return true;
}
var data = result.data;
if (data) {
seen[data.type] = seen[data.type] || {};
if (!seen[data.type][data.name]) {
seen[data.type][data.name] = [data];
return true;
}
var hasBeenSeen... |
/* globals chatMessages, fileUpload , fireGlobalEvent , cordova , readMessage , RoomRoles, popover , device */
import { RocketChatTabBar } from 'meteor/rocketchat:lib';
import _ from 'underscore';
import moment from 'moment';
import mime from 'mime-type/with-db';
import Clipboard from 'clipboard';
import { lazyloadti... |
/*
* /MathJax-v2/localization/br/HelpDialog.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... |
'use strict';
exports.__esModule = true;
exports.default = serveWeb;
var _quickCommands = require('../quickCommands');
var _web = require('../web');
var _web2 = _interopRequireDefault(_web);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* Serve a standalone v... |
import React, { Component } from 'react';
import { CardGroup, Col, Row } from 'reactstrap';
import Widget01 from './Widget01';
import Widget02 from './Widget02';
import Widget03 from './Widget03';
import Widget04 from './Widget04';
import { Line } from 'react-chartjs-2';
// Brand Card Chart
const makeSocialBoxData = ... |
//global window, GS, ml, xtag, evt, ace, doT, CryptoJS, encodeHTML, Worker
//global addSnippet, addElement, addFlexProps, addCheck, addText, addSelect
//global addControlProps, addFlexContainerProps, addProp
//global addAttributeSwitcherProp, addGSControlProps, addCornerRoundProps
//global addIconProps
//jslint browser... |
test('should export correct data', () => {
expect(2).toBe(2);
}); |
define({
chooseTemplateTip: 'Pilih template',
simpleTemplateTip: 'Mengizinkan Anda untuk mengonfigurasikan penanda lokasi dengan mudah berdasarkan template yang unik',
advancedTemplateTip: 'Memberikan fleksibilitas bagi Anda untuk menciptakan desain penanda lokasi Anda sendiri',
resettingTheTemplate: 'Pilih tem... |
export var sameProps = function sameProps(oldProps, newProps, props) {
return props.find(function (p) {
return oldProps[p] !== newProps[p];
}) === undefined;
}; |
module.exports = require('./c') * require('./b') |
/**
* @param {number[]} prices
* @return {number}
*/
var maxProfit = function(prices) {
const max = Math.max;
let max_price = 0, min_price = prices[0];
for (let price of prices) {
if (price <= min_price)
min_price = price;
else
max_price = max(max_price, price - min_price);
}
return max... |
define([
"views/modules/dashline",
"views/modules/visitors",
"views/modules/orders",
"views/modules/messages",
"views/modules/revenue",
"views/modules/tasks",
"views/modules/map"
],function(dashline, visitors, orders, messages, revenue, tasks, map){
var layout = {
type: "clean",
rows:[
dashline,
{
... |
(function(){var baseSlice = require('../internal/baseSlice'),
createWrapper = require('../internal/createWrapper'),
replaceHolders = require('../internal/replaceHolders');
/** Used to compose bitmasks for wrapper metadata. */
var PARTIAL_RIGHT_FLAG = 64;
/**
* This method is like `_.partial` except that part... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... |
const env = process.env.NODE_ENV = process.env.NODE_ENV || 'production'
export default env |
import React from 'react';
import {withStyles} from '@material-ui/core/styles';
import withWidth from "@material-ui/core/withWidth";
import PropTypes from 'prop-types';
import Button from '@material-ui/core/Button';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActio... |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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
/// ... |
import * as R from 'ramda'
import { createSelector } from 'reselect'
export const getOperations = (state) => state.operation.byId
export const getOperation = (state, id) => state.operation.byId[id]
export const isAddingOperation = (state) => state.operation.isAdding
export const getNewOperation = (state) => state.oper... |
function createMinecraftHead(player,size,completed,failed) {
var faceImage = new Image();
faceImage.onload = function() {
completed(faceImage);
};
faceImage.onerror = function() {
failed();
};
var faceimg;
if(size == 'body')
faceimg = 'faces/body/' + player + '.png';
else
faceimg = 'faces/' + size + 'x'... |
/**
* Auto-generated action file for "Microsoft Graph API" API.
*
* Generated at: 2019-08-07T14:53:10.839Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / microsoft-graph-api-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector ar... |
/** @jsx jsx */
import { jsx } from '@emotion/core';
export default ({ onClick }) => (
<svg
onClick={onClick}
width="22"
height="21"
viewBox="0 0 44 42"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke="#ED5910"
strokeWidth="2"
fill="#F8E71C"
d="M22 30.972L10.244 39... |
(function (win) {
var Detail = HteOS.controller.StoreDetail = function (params) {
HteOS.apply(this, params);
this.server = HteOS.server || 'http://localhost:8080';
};
Detail.prototype.onViewRender = function () {
var self = this;
this.vm = new Vue({
el: "#hte-m... |
define(["exports", "require", "../../lit/index.js", "../schema-behaviors/schema-behaviors.js"], function (_exports, _require, _index, _schemaBehaviors) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.LrndesignAbbreviation = void 0;
_require = _interopRequireWildca... |
const { version } = require('discord.js');
let os = require('os')
let cpuStat = require("cpu-stat")
const moment = require("moment");
const { getGPUTier } = require('detect-gpu');
require("moment-duration-format");
module.exports = {
name: 'debug',
description: "Shows the debug info of the bot.",
aliases: ... |
import React from 'react';
import withIconEnhancer from '../HOCs/withIconEnhancer';
export default withIconEnhancer('Ban', 'ban', (props) => (
<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="12" r="9" />
<line x1="5.7... |
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/*
* @requires OpenLayers/BaseTypes/Class.js
* @requires OpenLayer... |
module.exports = {
commands: 'lmgtfy',
expectedArgs: '<search term>',
permissionError: '',
minArgs: 1,
maxArgs: null,
permissions: [],
requiredRoles: [],
description: "Basically a google command",
callback: (message, arguments, text, generalDictionary, wiiDictionary, wiiuDictionary, ... |
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['mocha', 'chai'],
concurrency: 1,
files: [{
pattern: 'spec/resources/**/*',
included: false,
served: true
}, {
pattern: 'bower_com... |
import React from 'react';
import GiphEntry from './GiphEntry.js';
import './List.css';
var List = (props) => {
let headerText;
if (props.type === 'search') {
headerText = 'Search Results:';
} else if (props.type === 'trending') {
headerText = 'Trending Giphs:';
} else if (props.type === 'favorites') ... |
export * from './style'
export * from './styles/index'
export * from './th'
export * from './variant'
export * from './breakpoints'
export { getBreakpoints } from './media'
export { merge } from './util' |
import { GET_MESSAGE, CLEAR_MESSAGE } from "../actions/types";
const initialState = {};
export default function(state = initialState, action) {
switch (action.type) {
case GET_MESSAGE:
return action.payload;
case CLEAR_MESSAGE:
return {};
default:
return state;
}
} |
/**
* constant
* 管理错误类型
*/
export const CAUGHT_ERROR = 'caughtError'; // 调用 caughtError 装饰器主动捕获的错误
export const UNCAUGHT_ERROR = 'uncaughtError'; // 意料之外的错误
export const RESOURCE_ERROR = 'resourceError'; // 资源加载错误
export const GRAMMAR_ERROR = 'grammarError'; // 语法错误
export const PROMISE_ERROR = 'promiseError'; // p... |
;(function (global) {
'use strict'
// var $ = global.jQuery
var GOVUK = global.GOVUK || {}
function CharCount () { }
CharCount.prototype.defaults = {
charCountAttribute: 'maxlength',
wordCountAttribute: 'data-maxwords'
}
// Escape tags and ampersand
String.prototype.escape = function () {
... |
const Discord = require('discord.js')
var fs = require('fs')
var moment = require('moment')
const { JsonDB } = require('node-json-db')
const { Config } = require('node-json-db/dist/lib/JsonDBConfig')
module.exports.run = async (client, message, args) => {
// general stuff
const user2warn = message.mentions.u... |
/*
* @Author: Hzh
* @Date: 2020-07-22 18:16:18
* @LastEditTime: 2020-08-05 16:01:57
* @LastEditors: Hzh
* @Description:标签操作
*/
import { sessionData } from '@/utils/storage'
const state = {
visitedViews: sessionData('get', 'visitedViews') || [], // 用户访问过的页面 就是标签栏导航显示的一个个 tag 数组集合 对象数组
cachedViews: sessionDat... |
import {stateReducer} from '@truefit/redux-utils';
import {USER_REGISTERED} from '../actions';
export default stateReducer(null, {
[USER_REGISTERED]: (_, payload) => payload,
}); |
/*
Author:
--------
Victor Alejandro Gil Sepulveda
Started:
--------
08/02/2010
Needs:
------
- prototype.js
- bigint.js
- bigint_logic.js
Description:
------------
Creates an instance of a SRP (Secure Remote Password) protocol as explained in http://srp.stanford.edu/design.html.
There are 3 main functions:
- in... |
window.bookSummaryJSON = "<p>After surviving a demon attack, disgraced police detective Victoria Martin tracks down the Valducans in search of answers. Recognizing her potential, and despite the warnings of the other knights, Allan Havlock, protector of Ibenus, takes her in as his apprentice. As the Valducans travel to... |
import React from 'react';
import { StyleSheet, TouchableOpacity, View, TextInput, KeyboardAvoidingView } from 'react-native';
import { Accordion, Button, Container, Content, Input, Item, StyleProvider, Text } from 'native-base';
import DateTimePicker from 'react-native-modal-datetime-picker';
import Icon from 'react-n... |
import { useState, useEffect } from "react"
export default function useWindowSize() {
// Initialize state with undefined width/height so server and client renders match
// Learn more here: https://joshwcomeau.com/react/the-perils-of-rehydration/
const [windowSize, setWindowSize] = useState({
width: undefin... |
/*
* Angle between 3 poins (Radians):
* pc: center/pole
* pn: point new coordinates
* pp: point past coordinates
*
* atan2(pny - pcy, pnx - pcx) - atan2(ppy - pcy, ppx - pcx)
*/
/**
* @todo Widget Dragging?
*/
/*
* centered zoom breaks with transBounds - normal/acceptable
*/
"use strict";
function _toCons... |
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import app from './modules/app'
import settings from './modules/settings'
import user from './modules/user'
import table from './modules/table'
Vue.use(Vuex)
const store = new Vuex.Store({
modules: {
table,
app,
settings,
... |
/**
* Copyright 2013-2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... |
import React, {Component} from 'react';
import {connect} from 'react-redux';
import * as custComponents from '../../components';
import {UIActs} from '../../actions';
import {firebaseCompanies} from "../../firebase/firebaseHandler"
import FloatingActionButton from 'material-ui/FloatingActionButton';
import ContentAdd f... |
[
()=>1
,
()=>{}
][0](), new class {
}();
var a2, b2, c2, r4 = void 0;
r4(''), r4(1), (0, [
a2,
b2,
c2
][0])(''); |
(function () {
'use strict';
window.SHOWCASE = {
admin: {},
front: {},
utility: {}
};
})();
/* UTILITY FUNCTION */
// Check if is a valid email
(function (){
'use strict';
SHOWCASE.utility.isEmail = function(email){
var newRegEx = new RegExp(/^[a-zA-Z0-9!#$%&'*+\-\/=?^_`{|]{1,64}@[a-zA-Z0-9-]{... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Terminal = f()... |
var WebSocket = require('ws')
, ws = new WebSocket('ws://www.host.com/path');
ws.on('open', function() {
ws.send('something');
});
ws.on('message', function(message) {
console.log('received: %s', message);
}); |
// Copyright IBM Corp. 2013,2017. All Rights Reserved.
// Node module: loopback-component-oauth2
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
/* global describe, it, expect, before */
/* jshint camelcase: false, expr: true */
'use strict';
var chai =... |
var classoperations__research_1_1_rev_growing_multi_map =
[
[ "Add", "classoperations__research_1_1_rev_growing_multi_map.html#a84ec92c62069c7e7a9513750518a76ba", null ],
[ "SetLevel", "classoperations__research_1_1_rev_growing_multi_map.html#a176d2c659864433ccd869b5fba8d57af", null ],
[ "Values", "classope... |
import React from "react"
import { makeStyles } from "@material-ui/core/styles"
import List from "@material-ui/core/List"
import ListItem from "@material-ui/core/ListItem"
import ListItemIcon from "@material-ui/core/ListItemIcon"
import ListItemSecondaryAction from "@material-ui/core/ListItemSecondaryAction"
import Lis... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-991ae3c0.js');
const ionicGlobal = require('./ionic-global-ee3a8739.js');
const helpers = require('./helpers-9038d758.js');
require('./hardware-back-button-2b00490e.js');
const overlays = require('./overlays-3b... |
/*! For license information please see 86.4c83c2cf.chunk.js.LICENSE.txt */ |
import Document, { Head, Main, NextScript } from 'next/document'
import flush from 'styled-jsx/server'
import {Helmet} from "react-helmet";
export default class MyDocument extends Document {
static getInitialProps ({ renderPage }) {
const {html, head, errorHtml, chunks} = renderPage()
const styles = flush()
... |
const plainData =
[
{
name: 'Art San Diego',
bio: 'Creative Front-End Web Developer, UI/UX Designer, “Casual” Gamer.',
emoji: '🔥',
socials: [
{
label: 'website',
url: 'https://artsandiego.dev'
},
{
label: 'github',
url: 'https://github.com/crtved'
... |
//umd pattern
(function (root, factory) {
if (typeof module !== 'undefined' && module.exports) {
//commonjs
module.exports = factory(require('elliptical-utils'),require('jquery-extensions'),require('./prototype.device'), require('./prototype.template'),
require('./prototype.transition')... |
import React, { useState, useEffect } from 'react';
import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom';
import { QueryParamProvider } from 'use-query-params';
import { makeStyles } from '@material-ui/core/styles';
import CssBaseline from '@material-ui/core/CssBaseline';
import AppBar from '... |
// flow-typed signature: 80f9b629fe0fbbd3b558978e74d5b9e1
// flow-typed version: <<STUB>>/babel-core_v7.0.0-bridge.0/flow_v0.78.0
/**
* This is an autogenerated libdef stub for:
*
* 'babel-core'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work w... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { r... |
window.bookSummaryJSON = "<p>Geralt of Rivia is a witcher. A cunning sorcerer. A merciless assassin. </p> <p>And a cold-blooded killer. </p> <p>His sole purpose: to destroy the monsters that plague the world. </p> <p>But not everything monstrous-looking is evil, and not everything fair is good...and in every fairy tale... |
'use strict';
const express = require('express');
const app = express();
const cors = require('cors');
const mongoose = require('mongoose');
require('dotenv').config();
app.use(cors());
const PORT = process.env.PORT;
const MONGO_URL = process.env.MONGO_URL;
const DB_NAME = process.env.DB_NAME;
/**
* we are using mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.