text stringlengths 2 1.05M |
|---|
// Dependencies
const express = require('express');
// Point Server to the route files
const apiRoutes = require('./routes/apiRoutes');
const htmlRoutes = require('./routes/htmlRoutes');
// Create an express server
const app = express();
// Set PORT
const PORT = process.env.PORT || 3001;
// Parse incoming string o... |
// version 12
var tibWindow = null;
var tibWindowCheck = null;
function bd_plugin_tib(payaddr, subref) // open tibdit window, watch for closing
{
tibWindow= window.open("https://tib.tibdit.com/t/" + payaddr + "/" + subref + "?callback_url=" + encodeURIComponent(window.location) ,
"tibdit", "height=600,width=700,m... |
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
requir... |
Highcharts.maps["countries/cn/621000_full"] = {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"adcode":621002,"name":"西峰区","center":[107.638824,35.733713],"centroid":[107.665738,35.670574],"childrenNum":0,"level":"district","parent":{"adcode":621000},"subFeatureIndex":0,"acroutes":[100000,620000... |
import Cookies from 'universal-cookie'
const cookies = new Cookies()
import { CookieDomain } from '../config.js'
let cookieConfig = {}
if(CookieDomain !== ''){
cookieConfig = { domain: CookieDomain } //path:'/',maxAge:365*24*60*60
}
export function saveCookie(name,value) {
cookies.set(name, value, cookieConfig)
... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{197:function(t,e,r){"use strict";r.r(e);var s=r(0),a=Object(s.a)({},(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"content"},[e("h1",{attrs:{id:"react-... |
/*! For license information please see app-bbfa78ae3d0fcc49e0a4.js.LICENSE.txt */
(self.webpackChunkidsc_gatsby_wordpress=self.webpackChunkidsc_gatsby_wordpress||[]).push([[143],{81506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");r... |
"use strict";function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}var precacheConfig=[["index.html","f33ba166fab24448bab2497e951db01f"],["static/js/main.3c863732.js","fd9ca3286ec1ea80f61725da5ec7e299"]],cacheName="sw-precache-v3-sw-p... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultValues = void 0;
var free_solid_svg_icons_1 = require("@fortawesome/free-solid-svg-icons");
exports.defaultValues = {
icons: {
complete: free_solid_svg_icons_1.faStar,
half: free_solid_svg_icons_1.faStarHalfA... |
/*************************************************************
*
* /MathJax/unpacked/config/TeX-MML-AM_SVG-full.js
*
* Copyright (c) 2010-2018 The MathJax Consortium
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may n... |
var mainFunction = function(callback) {
//Did something
console.log("In Main Function");
callback();
}
var callbackFunction = function() {
console.log('Variable: ' + this.variable);
console.log("In Callback Function");
}
mainFunction(callbackFunction.bind({"variable": "this is a variable"})); |
/* global $ */
// Ids Tree
import IdsTree from '../../src/components/ids-tree';
// Initialize the 4.x
$('body').initialize();
$('#tree-4x').tree();
|
/*!
* Isotope PACKAGED v3.0.6
*
* Licensed GPLv3 for open source use
* or Isotope Commercial License for commercial use
*
* https://isotope.metafizzy.co
* Copyright 2010-2018 Metafizzy
*/
/**
* Bridget makes jQuery widgets
* v2.0.1
* MIT license
*/
/* jshint browser: true, strict: true, undef: true, unuse... |
/**
* Function that returns default values.
* Used because Object.assign does a shallow instead of a deep copy.
* Using [].push will add to the base array, so a require will alter
* the base array output.
*/
'use strict';
const path = require('path');
const srcPath = path.join(__dirname, '/../src');
const dfltPor... |
(function($){
var editors = new tiny2();
editors.section = '.editor';
editors.height = '600';
editors.medium();
var gallery = uploadpl;
gallery.btn_browse = 'btn-select';
gallery.filelist = '.preview';
gallery.container_id = 'gallery';
gallery.limit = 32;
gallery.multipart = tru... |
/*!
* OpenUI5
* (c) Copyright 2009-2019 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(["jquery.sap.global","sap/ui/base/ManagedObject","sap/base/Log","sap/ui/core/Locale","sap/ui/core/LocaleData"],function(e,n,i,t,a){"use strict";var o={bg:"не... |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MobileNavLink=exports.MobileNavLinkContainer=exports.CloseIcon=exports.HamburgerIcon=exports.HamburgerIconWrapper=exports.CloseIconWrapper=exports.IconWrapper=void 0;var _reactFontawesome=require("@fortawesome/react-fontawesome"),_navigation=re... |
import React from 'react';
import { Link } from "react-router-dom";
import Axios from 'axios';
import './App.css';
import logo from '../imagens/logoOficial.png';
export default class Login extends React.Component {
// constructor() {
// super();
// this.state = {
// email: "",
// ... |
const Admin = require('../models/admin-model');
const getAdmins = async (req, res) => {
await Admin.find({}, (err, admins) => {
if (err) {
console.error(`[Hack.Diversity React Template] - 400 in 'getAdmins': ${err}`);
return res.status(400).json({
success: false,
error: err,
});
}
if (!admins.... |
var entityParser = {
attribute: "data-entity",
validationSummary: ".error .bulleted.list",
getValue: function (el, raw) {
function parseValue(value, typeClass) {
if (!typeClass) {
return value;
};
if (typeClass.indexOf("integer") !== -1) {
... |
/* eslint no-param-reassign:0 */
import mapValues from 'lodash.mapvalues';
import omit from 'lodash.omit';
import pick from 'lodash.pick';
import { PATHS_KEY, OPERATION_KEYS, PARAMETERS_KEY } from '../../constants';
export default function inlineParameters (spec) {
if (!spec[PATHS_KEY]) {
return spec;
}
co... |
module.exports = {
ADDITIONAL_PROPERTIES: '@additionalProperties',
CONTAINER: '@container',
CONTEXT: '@context',
DEFAULT: '@default',
FRAME: '@frame',
GRAPH: '@graph',
ID: 'id',
INDEX: '@index',
KEY_ORDER: '@keyOrder',
LANGUAGE: '@language',
LIST: '@list',
NAME: 'name',
NEST: '@nest',
NONE: ... |
/**
* Angular Tag cloud
* Author : Damian Hamill
* Repo: https://github.com/damianham/ngtagcloud
*
* See Also: https://github.com/zeeshanhyder, https://github.com/lucaong/jQCloud
*/
setTimeout(function(){angular.module("ngTagCloud",[]).directive("ngTagCloud",["$timeout","$log","$http",function(t,a,e){function n(... |
import resolve from 'rollup-plugin-node-resolve';
import sourcemaps from 'rollup-plugin-sourcemaps';
/**
* Add here external dependencies that actually you use.
*
* Angular dependencies
* - '@angular/animations' => 'ng.animations'
* - '@angular/animations/browser': 'ng.animations.browser'
* - '@angular/common' =... |
import React, { Component } from 'react'
import fecha from 'fecha'
import Timeago from 'timeago.js'
import Accessible from './Accessible'
import Action from './Action'
import './Device.css'
import Config from './Config'
const ta = new Timeago()
let formatTime = function (t) {
return ta.format(t)
}
let longFormatTi... |
const path = require('path');
module.exports = {
entry: './src/automated-index.js',
output: {
filename: 'wagtailreadinglevel.bundle.js',
path: path.resolve(__dirname, 'wagtailreadinglevel/static')
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
... |
describe('About Expects', function() {
// We shall contemplate truth by testing reality, via spec expectations.
it('should expect true', function() {
// Your journey begins here: Replace the word false with true
expect(true).toBeTruthy();
});
// To understand reality, we must compare our expectation... |
import React from 'react';
import Icon from '../Icon';
const CircleInformation = props => (
<Icon viewBox='0 0 24 24' a11yTitle='CircleInformation' {...props}>
<path fill='none' stroke='#000' strokeWidth='2' d='M12,22 C17.5228475,22 22,17.5228475 22,12 C22,6.4771525 17.5228475,2 12,2 C6.4771525,2 2,6.4771525 2,... |
// RecipeView.js
// Engineer: Alex Mei
import React, {useState} from "react";
import AddComment from "./AddComment.js"
import AddReport from "./AddReport"
import CommentPane from "./CommentPane.js"
import RecipeUpdatePanel from "./RecipeUpdatePanel.js"
import "./PostView.css"
import heart from "../../assets/heart.png... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Input, TemplateRef } from '@angular/core';
export class ILayoutComponent {
}
ILayoutComponent.propDecorators = {
template: [{ type: Input }]
};
if (... |
require('./bootstrap');
window.Vue = require('vue');
Vue.component('home', require('./components/Home.vue').default);
Vue.component('user', require('./components/test/User.vue').default);
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import ElementUI from 'element-ui';
import 'element... |
export const ic_event_seat_twotone = {"viewBox":"0 0 24 24","children":[{"name":"path","attribs":{"d":"M0 0h24v24H0V0z","fill":"none"},"children":[]},{"name":"path","attribs":{"d":"M9 5h6v7H9z","opacity":".3"},"children":[]},{"name":"path","attribs":{"d":"M4 21h2v-4h12v4h2v-6H4zM17 5c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v9h... |
// @flow
import * as React from 'react';
import { text, withKnobs } from '@storybook/addon-knobs';
import SvgIcon, { IconEnum } from './svg-icon';
import { Table, TableBody, TableData, TableHead, TableHeader, TableRow } from './table';
import styled from 'styled-components';
export default {
title: '1st Party | SvgI... |
var _ = require('lodash');
module.exports = CompositeError;
function CompositeError(message, errorsStack) {
var errors = _.clone(errorsStack || []);
this.__defineGetter__("length", function () { return errors.length; });
this.__defineGetter__("errors", function () { return errors; });
this.message... |
'use strict';
var annotationIDs = require('./annotation-ids');
var errors = require('./errors');
var TabState = require('./tab-state');
var BrowserAction = require('./browser-action');
var HelpPage = require('./help-page');
var SidebarInjector = require('./sidebar-injector');
var TabStore = require('./tab-store');
va... |
"use strict";
//
// ID:v1.0 102318
// fun/concat.js
// loop call to get all cpapi objects returned, regardless of how many
// will page through however many are there of the objects requested
// needs a session token and api command to run
// against cpapi
// testing a version that concats the object together
const my... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.exportPath('settings');
(function() {
var PairingEventType = chrome.bluetoothPrivate.PairingEventType;
// NOTE(dbeam): even though these behaviors a... |
'use strict';
const selects = document.querySelectorAll('select');
const numberInput = document.querySelector('.numberInput');
const resultadoParcial = document.querySelector('.resultado-parcial');
const resultadoTotal = document.querySelector('.resultado-total');
const tipoContrato = document.querySelector('.tipo-con... |
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import "./@testing-library/jest-dom";
|
/*
* AsTeRICS - Assistive Technology Rapid Integration and Construction Set (http://www.asterics.org)
*
*
* Y88b d88P 888 d8888 .d8888b. .d8888b.
* Y88b d88P 888 d88888 d88P Y88b d88P Y88b
* Y88b d88P 888... |
/*! For license information please see 4d1d31673c8aafa3a20e23d83c7f36b8a22c3c0b-5e421828c6409c30eaa9.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"/kpp":function(e,t,n){"use strict";var r=n("rePB"),a=n("wx14"),o=n("U8pU"),c=n("q1tI"),i=n("TSYQ"),l=n.n(i),u=n("o/2+"),f=n("H84U"),s=function(... |
module.exports = {
siteMetadata: {
title: `Kylo Robinson Javascript Developer`,
description: `A portfolio of work for javascript developer - Kyle Robinson`,
author: `@kylorobs`,
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-transformer-sharp`,
`gatsby-plugin-styled-components`,
`... |
GLOBAL.DEBUG = true;
sys = require("sys");
test = require("assert");
var Db = require('../lib/mongodb').Db,
Connection = require('../lib/mongodb').Connection,
Server = require('../lib/mongodb').Server,
// BSON = require('../lib/mongodb').BSONPure;
BSON = require('../lib/mongodb').BSONNative;
var host = proce... |
import basicHelperTests from './basic-helper';
import errorRelatedFunctionTests from './error-related';
import rulesCountersTests from './rules-counters';
describe('Common utils', () => {
describe('Error related functions', errorRelatedFunctionTests);
describe('Basic helpers', basicHelperTests);
describe('Rules c... |
'use strict';
var $export = require('./_export')
, $map = require('./_array-methods')(1);
$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
map: function map(callbackfn /* , thisArg */){
return $map(t... |
import { Resource } from '../api-resource';
export default new Resource({
name: 'masterylog',
});
|
/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
'use strict'
/**
* Module dependencies.
* @private
*/
var db = require('mime-db')
var extname = require('path').extname
/**
* Module variables.
* @private
*/
var extractTypeRegExp = /^\s*([... |
/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Enterprise License (PEL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) 200... |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.lang['az']={"editor":"Mətn Redaktoru","editorPanel":"Mətn Redaktorun Paneli","common":{"editorHelp":"Yardım üçün ALT 0 düymələrini basın","browseServer":"Fayların siya... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])... |
var searchData=
[
['invalid_5finput_5frule_0',['invalid_input_rule',['../regex__handler_8h.html#a595e07a99f60f22a6a29e4fca291ea28a3fed36a1ca4cfc78115153c970f221c4',1,'regex_handler.h']]]
];
|
const Validator = require('validator');
const isEmpty = require('is-empty');
module.exports = function validateLessonInput(data){
let errors = {};
// Convert empty fields to an empty string so we can use validator functions
data.title = !isEmpty(data.title) ? data.title : "";
data.description = !isEm... |
/*
* Scroller
* http://github.com/zynga/scroller
*
* Copyright 2011, Zynga Inc.
* Licensed under the MIT License.
* https://raw.github.com/zynga/scroller/master/MIT-LICENSE.txt
*
* Based on the work of: Unify Project (unify-project.org)
* http://unify-project.org
* Copyright 2011, Deutsche Telekom AG
* Licen... |
import { updateAddress,
updateBalance,
updateConnection,
updateSmartLocker,
updatePendingTxs,
addPendingTx,
updateTxHistory,
selectAuthorizedKey,
selectPendingKey } from 'lib/store/actions'
// TODO: rpc should not dispatch actions
// move that log... |
export * from './stock'
export * from './symbols'
export * from './symbol'
export * from './tabs'
//export * from './favorites'
export * from './autoSuggest'
export * from './crypto'
//export * from './gainers'
export * from './losers'
export * from './mostActive'
export * from './sectors'
|
// TEST!!!
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import ShowIf from 'app/App/ShowIf';
import { NeedAuthorization } from 'app/Auth';
import { t } from 'app/I18N';
import { Icon } from 'UI';
import... |
import { Node } from 'tiptap'
import { setBlockType, textblockTypeInputRule, toggleBlockType } from 'tiptap-commands'
import { ParagraphNodeSpec, getParagraphNodeAttrs, toParagraphDOM } from 'src/extentions/Paragraph'
function getUuid () {
const s = []
const hexDigits = '0123456789abcdef'
for (let i = 0; i < 36;... |
const config = {
env: "production",
serviceName: process.env.SERVER_NAME || "BPP",
APP_SECRET: process.env.APP_SECRET || "8tTu2671idjIoIYE9i909",
port: process.env["PORT"] || 3000,
db: {
url: process.env["MONGODB_URI"],
},
pubsubDriver: process.env["PUB_SUB_DRIVER"] || "redis", //{SN... |
uis.directive('uiSelectMultiple', ['uiSelectMinErr','$timeout', function(uiSelectMinErr, $timeout) {
return {
restrict: 'EA',
require: ['^uiSelect', '^ngModel'],
controller: ['$scope','$timeout', function($scope, $timeout){
var ctrl = this,
$select = $scope.$select,
ngModel;
... |
'use strict';
const cliPluginReact = require('..');
describe('@samwangdd/cli-plugin-react', () => {
it('needs tests');
});
|
load("201224b0d1c296b45befd2285e95dd42.js");
// |jit-test| --ion-offthread-compile=off;
// We disable any off-main thread compilation, and set a definite trigger for
// Ion compilation, such that we can garantee that we would OSR into the inner
// loop before we reach the end of the loop.
setJitCompilerOption("ion.war... |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See https://js.arcgis.com/4.8/esri/copyright.txt for details.
//>>built
define({attach:"\u00f8_Attachments____\u00e5",fields:"\u00f8_Fields___\u00e5",fieldsSummary:"\u00f8_List of attributes and values__________\u00e5",media:"\u00f8_Med... |
CKEDITOR.plugins.setLang("elementspath","ko",{eleLabel:"요소 경로",eleTitle:"%1 요소"}); |
/*
* zzllrr Mather
* zzllrr@gmail
* Released under MIT License
*/
wiki['Concept/Geometry/Solid']=Kx(
detail('立体几何图形的类型',Table([ZLR('名称 记法 定义 性质')],[
ZLR(I18('Polytope')+'________'+khrA(['多个平面几何图形围成的形体','在n维空间中,则是n-'+kxf('Polytope')])+'____'+kul([
'2维空间中是多边形','3维空间中是多面体']),'','____'),
ZLR('多面体\nP... |
/* @flow weak */
"use strict";
require("babel/register");
require('node-jsx').install({extension: '.js'});
var express = require('express');
var compression = require('compression');
var cors = require('cors');
var React = require('react');
var routes = require('./routes');
var Head = React.createFactory(require('./co... |
/*! jQuery UI - v1.10.4 - 2014-06-04
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","height","width"],o=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"l... |
'use strict';
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.createTable('CT_DOANHTHUTHANG', {
MaCTDoanhThuThang: {
allowNull: false,
type: Sequelize.INTEGER,
autoIncrement: true,
primaryKey: true,
},
MaDoanhThuThang: {
... |
'use strict';
exports.__esModule = true;
var _inherits = require('inherits');
var _inherits2 = _interopRequireDefault(_inherits);
var _columncompiler = require('../../../schema/columncompiler');
var _columncompiler2 = _interopRequireDefault(_columncompiler);
var _lodash = require('lodash');
function _interopRequ... |
import React, {Component} from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { fetchWeather } from '../actions/index';
class SearchBar extends Component {
constructor(props) {
super(props);
this.state = {
term: ''
};
this.onInputChange = thi... |
var Game = require('crtrdg-gameloop')
var Touch = require('./index')
var canvas = document.createElement('canvas')
canvas.style.background = 'rgb(100,100,100)'
document.body.appendChild(canvas)
var game = new Game({
canvas: canvas
})
game.width = canvas.width = 800
game.height = canvas.height = 400
var touch = new... |
if (!window.blazorise) {
window.blazorise = {};
}
window.blazorise = {
init: (element, componentReference) => {
return true;
},
// adds a classname to the specified element
addClass: (element, classname) => {
element.classList.add(classname);
return true;
},
// rem... |
export default (context, html) => html`
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0zm0 0h24v24H0V0z"/><path d="M8 5h2v2h-.9L12 9.9V9h8v8.9l2 2V7H12V3H5.1L8 5.9zm8 6h2v2h-2zM1.3 1.8L.1 3.1 2 5v16h16l3 3 1.3-1.3-21-20.9zM6 19H4v-2h2v2zm0-4H4v-... |
import React from 'react'
import Icon from 'react-icon-base'
const GoColorMode = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m5 5v30h30v-30h-30z m2.5 27.5v-25h25l-25 25z"/></g>
</Icon>
)
export default GoColorMode
|
module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? '/win11-vue' : '',
chainWebpack: config => {
config.plugin('html').tap(args => {
args[0].title = 'Windows 11'
return args
})
}
}
|
$(document).ready(function(){
"use strict";
/* function to sure that you want delete the item*/
$('.confirm').on("click",function ()
{
return confirm("Are You Sure Delete ?");
});
/* function change img preview when edit item ... before upload page */
$('#upload').change(function(){
var input = this;
... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2018, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... |
// in.js
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split('&');
for (var i=0; i<vars.length; i++) {
var pair = vars[i].split('=');
if (pair[0] == variable) {
return decodeURI(pair[1]);
}
}
return (false... |
import { swalPrefix, swalClasses } from './classes.js';
// Remember state in cases where opening and handling a modal will fiddle with it.
export var states = {
previousWindowKeyDown: null,
previousActiveElement: null
};
/*
* Manipulate DOM
*/
export var elementByClass = function(className) {
return document.... |
const got = require('got')
const debug = require('debug')('great:auth')
async function authenticate ({ uri, key, secret }) {
const credentials = `${encodeURIComponent(key)}:${encodeURIComponent(secret)}`
const credentials64 = Buffer.from(credentials).toString('base64')
try {
const response = await got(uri, ... |
import { Placeholder } from 'semantic-ui-react'
import React, {useEffect} from 'react'
export const PlaceHolder5Lines = (props) => {
return (
<Placeholder>
<Placeholder.Line />
<Placeholder.Line />
<Placeholder.Line />
<Placeholder.Line />
<Placeholder.Line />
</Placeholder>
)... |
import Util from './util'
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.0.0-alpha.5): collapse.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* --------------------------------------------------------------------------
*/
const ... |
/**
* @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... |
const Database = require("../db/config");
/*
let data = [
{
id: 1,
name: "Pizzaria Guloso",
"daily-hours": 2,
"total-hours": 1,
created_at: Date.now(),
},
{
id: 2,
name: "OneTwo Project",
"daily-hours": 3,
"total-hours": 47,
created_at: Date.now(),
},
];
*/
module.expor... |
import React, { Component } from 'react';
class BannerTwo extends Component {
render() {
return (
<section className="page-title-banner">
<div className="container">
<div className="row">
<div className="col-lg-12">
... |
/* Copyright (c) 2017 Red Hat, Inc. */
Array.prototype.extend = function (other_array) {
/* you should include a test to check whether other_array really is an array */
var i = 0;
for (i = 0; i < other_array.length; i++) {
this.push(other_array[i]);
}
};
var math = require('mathjs');
var yaml =... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{3486:function(t,e,r){"use strict";r.r(e),r.d(e,"icon",(function(){return a}));r(13),r(3),r(4),r(9),r(2),r(10);var n=r(0),i=r.n(n);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.protot... |
/** @babel */
import { CompositeDisposable, File } from 'atom';
import humanize from 'humanize-plus';
import SymbolsView from './symbols-view-click';
import TagReader from './tag-reader';
import getTagsFile from './get-tags-file';
export default class ProjectView extends SymbolsView {
constructor(stack) {
super... |
const generate = require('nanoid/generate')
const dictionary = require('nanoid-dictionary');
module.exports = (section, logger, {Promise, _, helper, gcp, deployment, cluster, shortSourceRegion}) => {
section
.onQueryAll(() => {
return gcp.Sql.queryAllInstances(getPrefix())
.catch(re... |
/**
* TEAM: frontend_infra
*
* @flow strict
*/
import FileFormat, {type FileFormatType} from "../constants/FileFormatConstants";
// categorized uploaded files by their extension
export default function getFileFormat(file: File): FileFormatType {
if (file.type.indexOf("image/") === 0) {
return FileFormat.IMA... |
import Dictionary from '../dictionary';
import Interjection from '../partsOfSpeech/interjection';
import Word from '../word';
/**
* @param {String} word word to search for
* @returns {Object} Interjection if successful, Word if unsuccessful
*/
function findInterjection(word) {
const list = this.list.filter(obj... |
import React from 'react';
import { createStructuredSelector } from 'reselect';
import { Redirect } from 'react-router-dom';
import { connect } from 'react-redux';
import intersection from 'lodash/intersection';
import jwtDecode from 'jwt-decode';
import { showDialog } from 'containers/App/actions';
// import Login fro... |
var on = require("../events/on")
var clone = require("../clone")
var attrClick = "data-pjax-click-state"
var attrKey = "data-pjax-keyup-state"
var linkAction = function(el, event) {
// Since loadUrl modifies options and we may add our own modifications below,
// clone it so the changes don't persist
var options... |
import { Icon } from "@progress/kendo-react-common";
const mapIcon = (icon, size) => {
switch (icon) {
case "file-pdf":
return <Icon name="pdf" size={size} themeColor={"error"} />;
case "file-excel":
return <Icon name="excel" size={size} themeColor={"success"} />;
c... |
export const larCopy = {
name: 'lar-copy',
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M4 4v20h7v-2H6V6h12v1h2V4zm8 4v20h16V8zm2 2h12v16H14z"/></svg>`
};
|
export { default } from './EncryptedStorage';
//# sourceMappingURL=index.js.map |
/**
* angular-strap
* @version v2.3.6 - 2015-11-14
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';
angular.module('mgcrea.ngStrap.timepicker').run([ '$templa... |
const cartesian = require('./cartesian')
const poly2tri = require('poly2tri')
module.exports = getCountryMesh
module.exports.shape = getShapeMesh
function getCountryMesh(country) {
var shapes = country.geometry.coordinates
// normalize countries with only one shape
if (!Array.isArray(shapes[0][0][0])) {
s... |
/**
* Copyright 2019 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... |
angular.module('zsdUtils', ['zsdServices']).
// FileUtils
factory('FileUtils', [function(){
var comparableMimeTypePrefixes = ["text"];
var viewableMimeTypePrefixes = ["text", "image", "application/pdf"];
return {
isViewable: function(fileInfo){
return viewableMimeTypePrefixes.filter(function(prefix){
... |
var webpack = require('webpack')
var WebpackDevServer = require('webpack-dev-server')
var config = require('./webpack.config')
var ip = process.env.IP || '0.0.0.0'
var port = process.env.PORT || 3000
new WebpackDevServer(webpack(config), {
publicPath: config.output.publicPath,
hot: true,
host: ip,
stats: fals... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.