text stringlengths 2 1.05M |
|---|
//# sourceMappingURL=EmployeeUpdate.dto.js.map |
var assert = require('assert')
var bufferutils = require('./bufferutils')
var crypto = require('crypto')
var enforceType = require('./types')
var networks = require('./networks')
var Address = require('./address')
var HDNode = require('./hdnode')
var TransactionBuilder = require('./transaction_builder')
var Script = r... |
import { arrayEach } from '../../helpers/array';
import { warn } from '../../helpers/console';
/**
* Class used to make all endpoint-related operations.
*
* @class Endpoints
* @plugin ColumnSummary
*/
class Endpoints {
constructor(plugin, settings) {
/**
* The main plugin instance.
*/
this.plu... |
import React from 'react'
import { View, Text, Button } from 'react-native'
// Composant pour l'écran de victoire
export default ({ guesses, onReset }) => (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: "#1D1D1D" }}>
<Text style={{ color: "#FFFFFF", fontSize: 50, margin... |
(function() {
'use strict';
angular
.module('app.dashboard')
.factory('dashboard', dashboard);
/* @ngInject */
function dashboard(Restangular, apiEndPoints, utilities) {
var dashboardAPI = Restangular.all(apiEndPoints.dashboard.main);
var notificationAPI = Restangular... |
/*
* @package jsDAV
* @subpackage DAVACL
* @copyright Copyright(c) 2013 Mike de Boer. <info AT mikedeboer DOT nl>
* @author Daniel Laxar
* @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License
*/
"use strict";
var jsDAV_Auth_Backend_AbstractDigest = require("./abstractDigest");
/**
* This... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UsuarioRole = void 0;
var UsuarioRole;
(function (UsuarioRole) {
UsuarioRole[UsuarioRole["admin"] = 0] = "admin";
UsuarioRole[UsuarioRole["super"] = 1] = "super";
UsuarioRole[UsuarioRole["normal"] = 2] = "normal";
})(Usuari... |
30 mtime=1556799613.542475917
24 SCHILY.fflags=extent
|
/**
* A Sentiment document defines topic and sentiment metadata for a tweet. Tweets can have multiple sentiment
* documents, as sentiment can come from different sources (i.e. AWS vs Watson)
*/
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
const SENTIMENT_SOURCES = {
// Amazon's Comprehend... |
/* eslint-disable global-require */
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import typescript from 'rollup-plugin-typescript2';
import alias from '@rollup/plugin-alias';
import path from 'path';
import pkg from './package.json';
const projectRootDir = path.resolve(__di... |
import * as PIXI from 'pixi.js'
import gameContainer from './container'
import Star from './star'
import Carrier from './carrier'
import Waypoints from './waypoints'
import RulerPoints from './rulerPoints'
import Territories from './territories'
import EventEmitter from 'events'
import GameHelper from '../services/game... |
(function() {
'use strict';
// RequireJS configuration.
require.config({
paths: {
'jquery': 'vendor/jquery',
'jqueryui': 'vendor/jquery-ui',
'moxie': 'vendor/plupload/moxie',
'plupload': 'vendor/plupload/plupload.dev',
'pluploadui': 'vendor/plupload/jquery.ui.plupload/jquery.ui.... |
/* eslint no-console: 0 */
import path from 'path';
import express from 'express';
import webpack from 'webpack';
import webpackMiddleware from 'webpack-dev-middleware';
import webpackHotMiddleware from 'webpack-hot-middleware';
import config from './webpack.config.js';
const isProduction = process.env.NODE_ENV === 'p... |
const express = require('express');
const app = express();
app.use(require('./usuario'));
app.use(require('./login'));
app.use(require('./categoria'));
app.use(require('./producto'));
app.use(require('./upload'));
app.use(require('./imagenes'));
module.exports = app; |
(window.webpackJsonp=window.webpackJsonp||[]).push([[214],{278:function(e,t,n){"use strict";n.r(t),n.d(t,"frontMatter",(function(){return s})),n.d(t,"metadata",(function(){return o})),n.d(t,"rightToc",(function(){return c})),n.d(t,"default",(function(){return d}));var a=n(3),i=n(7),r=(n(0),n(447)),s={id:"openid-connect... |
/**
* Tools
* Cassius - https://github.com/sirDonovan/Cassius
*
* This file contains functions that are useful globally.
*
* @license MIT license
*/
'use strict';
class Tools {
constructor() {
this.data = {};
}
loadData() {
this.data.pokedex = require('./data/pokedex.js').BattlePokedex;
this.data.mov... |
/*
AngularJS v1.3.11
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(n,h,p){'use strict';function E(a){var d=[];s(d,h.noop).chars(a);return d.join("")}function g(a){var d={};a=a.split(",");var c;for(c=0;c<a.length;c++)d[a[c]]=!0;return d}function F(a,d){function c(a,b,c,l){b=h.lowercase(b);... |
// Generated automatically by nearley, version 2.13.0
// http://github.com/Hardmath123/nearley
(function () {
function id(x) {
return x[0];
}
const join = sep => arr => arr.join(sep);
const map = fn => arr => arr.map(fn);
const nth = pos => arr => arr[pos];
const head = arr => arr[0];
const ... |
module.exports = {
devServer: {
disableHostCheck: true,
},
// output built static files to Laravel's public dir.
outputDir: '../../../public/assets/admin',
publicPath: process.env.NODE_ENV === 'production'
? '/assets/admin/'
: '',
// modify the location of the generated HTML file.
// make su... |
'use strict';
/* globals support: false */
describe('injector', function() {
var providers;
var injector;
var providerInjector;
var controllerProvider;
beforeEach(module(function($provide, $injector, $controllerProvider) {
providers = function(name, factory, annotations) {
$provide.factory(name, ... |
import React, { useState } from 'react';
import Section from 'components/Section';
import FeedbackOptions from 'components/FeedbackOptions';
import Statistics from 'components/Statistics';
import Notification from 'components/Notification';
import { Title, Wrapper } from 'styles';
function App() {
const [good, setGo... |
export { default as Etherium } from './GeneralEtherium';
export { default as Bitcoin } from './GeneralBitcoin';
export { default as Volume } from './GeneralVolume';
export { default as TotalPrice } from './GeneralTotalPrice';
|
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { createStore } from './store'
import * as filters from './filters'
import './plugins'
import { parse } from '../util'
import { isChrome, initEnv } from './env'
import SharedData, { init as initSharedData, destroy as destroySharedDat... |
import moment from 'moment';
/**
* validSubmission checks whether a submission is valid - sets a validity obj props to check results
* @param {Object} item - the new incoming item
* @param {Array} validSelections array of valid selections e.g. 0,1 in our case
* @return {Object} returns object containing validity i... |
$(document).ready(() => {
let editor = new TinyEditor()
editor.init()
}) |
require('./bootstrap');
import Vue from 'vue/dist/vue.min.js';
// install
Vue.component('alert-table', require('./components/AlertTable').default);
const app = new Vue({
el: '#header',
});
|
export default {
title: "Aphrodite"
} |
export { default } from './AdditionInfo';
|
import { assert } from 'chai';
import * as RA from '../src';
describe('lengthEq', function() {
context(
'given the length of a list is equal to the supplied length',
function() {
specify('should return true', function() {
assert.isTrue(RA.lengthEq(3, [1, 2, 3]));
assert.isFalse(RA.leng... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var VerticalDivider_classNames_1 = require("./VerticalDivider.classNames");
var Styling_1 = require("../../Styling");
exports.VerticalDivider = function (props) {
var theme = Styling_1.getTheme();
v... |
import path from 'path';
import { runEmit } from './helpers/run';
const FIXTURES_DIR = path.join(__dirname, 'fixtures');
describe('context option', () => {
it('should work when "from" is a file', (done) => {
runEmit({
expectedAssetKeys: ['directoryfile.txt'],
patterns: [
{
from: '... |
var Content = function() {
var root = $('.main');
var element = function(selector) {
return root.find(selector);
};
var focus = Focus();
var scroll = {
mainbar: 0,
sidebar: 0,
save : function() {
scroll.mainbar = $('.mainbar').scrollTop();
scroll.sidebar = $('.sideb... |
__NUXT_JSONP__("/12/22", (function(a,b,c,d,e,f,g,h){return {data:[{metaTitle:b,metaDesc:c,verseId:22,surahId:12,currentSurah:{number:"12",name:"يوسف",name_latin:d,number_of_ayah:"111",text:{"1":"الۤرٰ ۗ تِلْكَ اٰيٰتُ الْكِتٰبِ الْمُبِيْنِۗ ","2":"اِنَّآ اَنْزَلْنٰهُ قُرْاٰنًا عَرَبِيًّا لَّعَلَّكُمْ تَعْقِلُوْنَ","3"... |
import React from 'react';
import classNames from 'classnames';
import Gocd from '../lib/Gocd';
var allStatuses = {
"Passed": "passed",
"Cancelled": "cancelled",
"Failed": "failed",
"Unknown": "unknown",
"Building": "building"
};
export default React.createClass({
getInitialState: function(){
return {... |
// State is not application state, only the state
// this reducer is reponsible for
export default function(state = null, action){
switch (action.type) {
case 'BOOK_SELECTED':
return action.payload;
}
return state;
}
|
import React, {Component} from 'react';
import styles from './style.css';
import {Wizard, WizardNav} from 'coral-ui';
import Layout from 'coral-admin/src/components/ui/Layout';
import InitialStep from './Steps/InitialStep';
import AddOrganizationName from './Steps/AddOrganizationName';
import CreateYourAccount from '.... |
import React from 'react';
import Playlist from '../../playlist/components/playlist';
import './category.css';
function Category(props) {
return (
<div className="Category">
<p className="Category-description">{props.description}</p>
<h2 className="Category-title">{props.title}</h2>
<Playlist h... |
"use strict";
var util = require("util");
exports.gotoTypedef = gotoTypedef;
exports.generatedDate = generatedDate;
exports.formatAnchor = function( str ){
if( str )
str = str.toLowerCase().replace(/\./g, "");
return str;
};
/**
replaces {code} tags with markdown links in the suppied input text
*/
exports.for... |
var menu = require('../')({ width: 29, x: 4, y: 2 });
menu.reset();
menu.write('SERIOUS BUSINESS TERMINAL\n');
menu.write('-------------------------\n');
menu.add('ADD TRANSACTION INVOICE');
menu.add('BUSINESS INTELLIGENCE');
menu.add('ACCOUNTS PAYABLE');
menu.add('LEDGER BOOKINGS');
menu.add('INDICATOR CHART METRICS'... |
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3529],{33529:M=>{M.exports=JSON.parse('{"locale":"hi","countries":{"AD":"अंडोरा","AE":"संयुक्त अरब अमीरात","AF":"अफगानिस्तान","AG":"एंटीगुआ और बारबूडा","AI":"अंग्विला","AL":"अल्बानिया","AM":"अर्मेनिया","AO":"अंगोला","AQ":"अंटार्टिका","AR":"अर्जेंटिना","AS":"... |
Clazz.declarePackage ("J.shape");
Clazz.load (["J.shape.AtomShape", "java.util.Hashtable"], "J.shape.Labels", ["javajs.awt.Font", "JU.AU", "$.BS", "J.constant.EnumPalette", "J.modelset.LabelToken", "$.Text", "J.util.BSUtil", "$.C", "J.viewer.JC"], function () {
c$ = Clazz.decorateAsClass (function () {
this.strings ... |
Meteor.methods({
validateAnswer: function(props) {
return registerSignService({
props: props,
templateName: "validateAnswer",
success: getValidateAnswerJson
});
}
});
var getValidateAnswerJson = function(xml) {
var isValidAnswer = xml.get("/soap:Envelope/soap:Body/ns2:ValidateAnswerResp... |
import { onBeforeUnmount } from '@vue/composition-api';
import userAppConfig from '@/core/app-config/useAppConfig';
/**
* Collapse vertical menu when route is visited and restore the state on route leave
*/
export const useCollapseMenuOnVisit = () => {
const { isVerticalMenuCollapsed } = userAppConfig();
const w... |
/**
*
* TemplateNoAsync
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';
import { compose } from 'redux';
import { useInjectReducer } from 'utils/injectReducer';
import makeSelectTemplateNoAsync from './... |
var Tablet = {
radiusFactor: 0.75, // the pen pressure acts on the tool's radius
intensityFactor: 0.0, // the pen pressure acts on the tool's intensity
pressure: 0.5
};
Tablet.getPressureIntensity = function () {
return 1.0 + Tablet.intensityFactor * (Tablet.pressure * 2.0 - 1.0);
};
Tablet.getPressureRadius ... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'bidi', 'en-ca', {
ltr: 'Text direction from left to right', // MISSING
rtl: 'Text direction from right to left' // MISSING
} );
|
const { Model, DataTypes } = require('sequelize');
const bcrypt = require('bcrypt');
const sequelize = require('../config/connection');
class User extends Model {
checkPassword(loginPw) {
return bcrypt.compareSync(loginPw, this.password);
}
}
User.init(
{
id: {
type: DataTypes.INTEGER,
allow... |
/** @jsx h */
import h from '../../helpers/h'
export default function(value) {
return value
.change()
.delete()
.value.change()
.undo().value
}
export const input = (
<value>
<document>
<paragraph>
<b>
on
<anchor />e
</b>
<u>
tw
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
var IdMap = {
models: new Map(),
insert: function insert(model) {
var klass = model.constructor,
id = model.id,
map;
if (!(map = this.models.get(klass))) {
this.models.set(klass, map = new Map());
}
... |
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return ... |
module.exports = {
purge: [],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
"title-red": "#bd0202",
"title-black": "#222222",
"title-hover": "#9d242c",
},
fontFamily:{
Nunito:["'Nunito', sans-serif"],
},
},
container: {
... |
/*
* Copyright 2014, Gregg Tavares.
* 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 condi... |
_N_E =
(window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([["pages/_error"],{
/***/ "./node_modules/next/dist/build/polyfills/object-assign.js":
/*!*****************************************************************!*\
!*** ./node_modules/next/dist/build/polyfills/object-assign.js ***!
\***********... |
/* @flow */
import path from "path"
import zealot from "../../index"
import {ztestDir} from "../env"
describe("zealot client spaces tests", () => {
const client = zealot.client("localhost:9867")
let spaceName = "newSpace"
let spaceId
const spacePath = (spaceId) => path.join(path.resolve(ztestDir()), spaceId)
... |
/*
* Created in février 2021
* Written by Eden Cadagiani <e.cadagiani@gmail.com>
*/
const GAME_STATUS = {
"IN_PROGRESS": "IN_PROGRESS",
"FAIL": "FAIL",
"WIN": "WIN",
};
const DEFAULT_WIDTH = 7;
const DEFAULT_HEIGHT = 4;
const DEFAULT_TIME = 120; // in second
module.exports = { GAME_STA... |
// THIS FILE IS AUTO GENERATED
var GenIcon = require('../lib').GenIcon
module.exports.BiMenu = function BiMenu (props) {
return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M4 6H20V8H4zM4 11H20V13H4zM4 16H20V18H4z"}}]})(props);
};
|
'use strict';
describe('appLogin', function () {
var elm, elmScope, $scope, $compile, $timeout, $httpBackend;
beforeEach(module('myApp'));
beforeEach(inject(function(_$rootScope_, _$compile_, _$timeout_, _$httpBackend_) {
$compile = _$compile_;
$timeout = _$timeout_;
$httpBackend = _$httpBackend_;
$scop... |
/**
* impressConsole.js
*
* Adds a presenter console to impress.js
*
* MIT Licensed, see license.txt.
*
* Copyright 2012, 2013, 2015 impress-console contributors (see README.txt)
*
* version: 1.3-dev
*
*/
(function ( document, window ) {
'use strict';
// create Language object depending on browsers... |
var assert = require("assert")
var dirname = require("path").dirname
var resolve = require("path").resolve
var rimraf = require("rimraf")
var lstat = require("graceful-fs").lstat
var readdir = require("graceful-fs").readdir
var rmdir = require("graceful-fs").rmdir
var unlink = require("graceful-fs").unlink
mod... |
import { createSelector } from 'reselect';
import {
path,
propOr,
prop,
} from 'ramda';
const localState = prop('usersData');
export const getUserLoadingStatus = id =>
createSelector(
getUserById(id),
propOr(true, 'loading'),
);
export const getUserById = id =>
createSelector(
localState,
... |
#!/usr/bin/env node
/**
* @license r.js 2.2.0 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/r.js/LICENSE
*/
/*
* This is a bootstrap script to allow running RequireJS in the command line
* in either a Java/Rhino or Node environment. It is modified by... |
/* ===================================================
* bootstrap-transition.js v2.3.0
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... |
/*
* Notice: Chris Sidi (hashtagchris) changed this file to remove the api-version parameter,
* as a workaround for
* https://github.com/AzureAD/azure-activedirectory-library-for-nodejs/issues/128
*/
/*
* @copyright
* Copyright © Microsoft Open Technologies, Inc.
*
* All Rights Reserved
*
* Licensed under th... |
const electron = require('electron')
// Module to control application life.
const app = electron.app
const Menu = electron.Menu
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow
const path = require('path')
const url = require('url')
const ipc = require('electron').ipcMain
// le... |
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license*/
(function (e, t) {
var n, r, i = typeof t, o = e.location, a = e.document, s = a.documentElement, l = e.jQuery, u = e.$, c = {}, p = [], f = "1.10.2", d = p.concat, h = p.push, g = p.slice, m = p.indexOf, y = c.toString, v = c.hasOwn... |
import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
export const store = new Vuex.Store({
state: {
products: [
{id: 1, name: 'Banana Skin', price: 20},
{id: 2, name: 'Shiny Star', price: 40},
{id: 3, name: 'Green Shells', price: 60},
{id: 4, name:... |
import React, {Component} from 'react';
import {Link} from 'react-router';
export default class LinkButton extends Component {
constructor(props) {
super(props);
}
render() {
let queryString = this.props.location.search ? this.props.location.search : '';
let linkClass = this.props.linkClass ? thi... |
function IndexController($scope, $http, $modal) {
$scope.newMeeting = function() {
$modal.open({
templateUrl: 'newMeetingModal.html',
backdrop: true,
size: 'lg',
controller: function($scope, $modalInstance) {
$scope.loading = false;
... |
const Dotenv = require("dotenv-webpack");
export default {
apollo: {
clientConfigs: {
default: {
httpEndpoint: process.env.GRAPHQL_ENDPOINT
}
}
},
build: {
extend(config, { }) {
config.plugins.push(new Dotenv({ safe: true }));
}
},
head: {
meta: [
{ charset... |
/*!
* Minimal Mistakes Jekyll Theme 4.21.0 by Michael Rose
* Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
* Licensed under MIT
*/
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQu... |
import template from './sw-first-run-wizard-data-import.html.twig';
import './sw-first-run-wizard-data-import.scss';
const { Criteria } = Shopware.Data;
const { Component } = Shopware;
Component.register('sw-first-run-wizard-data-import', {
template,
inject: [
'extensionStoreActionService',
'... |
import offers from '@/offers/api/offers'
import { createMetaModule, withMeta } from '@/utils/datastore/helpers'
function initialState () {
return {
current: null,
id: null,
}
}
export default {
namespaced: true,
modules: {
meta: createMetaModule(),
},
state: initialState(),
getters: {
va... |
import { generateObjectId } from '../../src/utils/mogodb-objectid.generator';
test('generateSuccess', () => {
const objectId = generateObjectId();
expect(typeof(objectId)).toBe('string');
expect(objectId.length).toBe(24);
});
test('right objectId date', () => {
const objectId = generateObjectId();
const sec... |
export * from './analytics';
export * from './analytics.module';
export * from './analytics.service';
//# sourceMappingURL=public_api.js.map |
//全局cli配置文件
/**
* 1.该文件和 package.json 同级 会被 @vue/cli-service 加载
*
*/
module.exports = {
//baseUrl :vue cli 3.3已弃用 请使用 publicPath
//部署应用包时的基本 URL
publicPath: "/",
//当运行 vue-cli-service build 时生成的生产环境构建文件的目录
outputDir: "dist",
//放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录
asset... |
//React: Use Default Props
/*
* React also has an option to set default props.
* You can assign default props to a component as a property on the component itself and React assigns the default prop if necessary
* This allows you to specify what a prop value should be if no value is explicitly provided.
*/
/*
The co... |
const zoomAdmin = {
type: "app",
app: "zoom_admin",
};
module.exports = {
name: "Webinar Created",
version: "0.0.1",
dedupe: "unique", // Dedupe based on webinar ID
props: {
zoomAdmin,
zoomApphook: {
type: "$.interface.apphook",
appProp: "zoomAdmin",
eventNames: ["webinar.created"... |
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module"
}
}
|
import Vue from 'vue'
import App from './App'
import util from '@/utils/index';
Vue.prototype.$callApi=util.callApi;
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue(App)
app.$mount()
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
module.metadata = {
"stability": "stable"
};
const observers = require('./system/events');
const ... |
import { asyncComponent } from 'react-async-component';
export const log = (...args) => console.log(...args);
export const logError = (...args) => console.error(...args);
export const renderIf = (test, component) => test ? component : undefined;
export const classToggler = (options) => Object.keys(options).filter(key ... |
'use strict';
const express = require('express');
const router = express.Router();
let Courses = require("../models").Courses;
let Users = require("../models").Users;
let sequelize = require("../models").sequelize;
const { check, validationResult } = require('express-validator/check');
const bcryptjs = require('bcrypt... |
module.exports = {
html_attributions: [],
next_page_token: 'some token',
results: [
{
business_status: 'OPERATIONAL',
geometry: {
location: {
lat: 43.6465623,
lng: -79.374578,
},
viewport: {
northeast: {
lat: 43.64794098029149,
... |
const dataFiles = [
'test/images/*.jpg',
'test/images/*.png',
'test/data/*.json',
'test/media/*.mp4',
'weights/**/*',
'weights_uncompressed/**/*',
'weights_unused/**/*'
].map(pattern => ({
pattern,
watched: false,
included: false,
served: true,
nocache: false
}))
module.exports = function(confi... |
/**
* <p>Title : 本地服务</p>
* <p>Description : 开发类服务工具</p>
* <p>Date : 2018/10/8 </p>
*
* @author : hejie
*/
const http = require('http')
const path = require('path')
const fs = require('fs')
const child_process = require('child_process')
const bodyParser = require('body-parser')
const express = require('express')
... |
/*
postal
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
Version 0.7.3
*/
(function ( root, factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Regist... |
/** @jsx jsx */
import { jsx, Box } from "theme-ui"
import { graphql } from "gatsby"
export const fragment = graphql`
fragment contentBlockFragment on WPGraphQL_Page_Flexlayouts_FlexibleLayouts_ContentBlock {
content
}
`
export const ContentBlock = ({ content }) => (
<Box
dangerouslySetInnerHTML={{ __ht... |
import Dump from '@wesbos/dump'
import axios from 'axios'
import React, { useEffect, useState } from 'react'
import styled from 'styled-components'
import { CryptoCard } from '../components/crypto-card'
import { Layout } from '../components/layout'
import { useTimeDifference } from '../hooks/use-time-difference'
expor... |
/* eslint-disable no-param-reassign */
/** @typedef {import('./types').SpaOptions} SpaOptions */
/** @typedef {import('polyfills-loader').PolyfillsLoaderConfig} PolyfillsLoaderConfig */
const merge = require('deepmerge');
const html = require('@open-wc/rollup-plugin-html');
const polyfillsLoader = require('@open-wc/ro... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0234":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{facade:{type:[Object,Array]},content:{type:[Object,Array]}}};e.default=i},"0341":function(t,e,a){"use strict";var i;a.d(e,"... |
import React, {useState} from 'react';
import Navigation from './Navigation';
import About from '../pages/About.js';
import Projects from '../pages/Projects.js';
import Contact from '../pages/Contact.js';
import Resume from '../pages/Resume.js';
function Header() {
const [currentPage, setCurrentPage] = useState("A... |
const express = require('express');
const mongoose = require('mongoose');
const cookieSession = require('cookie-session');
const passport = require('passport');
const bodyParser = require('body-parser');
const keys = require('./config/keys');
require('./models/User');
require('./models/Blog');
require('./services/pass... |
import React from 'react'
import { Table } from 'react-bootstrap'
import PropTypes from 'prop-types'
import DriversTableRow from '../../containers/DriversTableRow'
const DriversTable = ({ drivers }) => {
return (
<Table striped bordered hover>
<thead>
<tr>
<th>#</th>
<th>Nombre... |
module.exports = function (RED) {
'use strict';
const STATUS_OK = {
fill: "green",
shape: "dot",
text: "OK"
};
const Unifi = require('ubnt-unifi');
function UnifiEventsNode(config) {
RED.nodes.createNode(this, config);
const node = this;
const {username, password} = nod... |
import React, { useState } from 'react';
import { Link, useHistory } from 'react-router-dom';
import { FiArrowLeft } from 'react-icons/fi';
import api from '../../services/api';
import logoImg from '../../assets/logo.svg'
import './styles.css';
export default function NewIncident() {
const [title, setTitle] = us... |
// we use self-invoking functions so the mainCtrl and apiService do not become global
(function(){
angular.module("app",[])
.constant("myApiUrl","http://localhost:8080")
.service("apiService",apiService)
.controller("mainCtrl",mainCtrl)
.value("isLoading",false);
mainCtrl.$inject=["apiService"... |
const http = require('http');
const fs = require("fs");
const crypto = require("crypto");
const hostname = '127.0.0.1';
const port = 3000;
const build_file = 'global_build_number.txt';
const version_file = 'version_number.txt';
var hash = crypto.randomBytes(20).toString('hex');
var oldHash = crypto.randomBytes(20).toS... |
var inherits = require('inherits');
var fsm = require('./fsm.js');
var messages = require('./messages.js');
function _State () {
}
inherits(_State, fsm._State);
function _Past () {
this.name = 'Past';
}
inherits(_Past, _State);
var Past = new _Past();
exports.Past = Past;
function _Start () {
this.name = 'St... |
function MatrixHash (dim) {
this._map = {
table: {},
size: 0,
dim: dim > 0 ? dim : 1
}
}
Object.defineProperties(MatrixHash.prototype, {
dimension: {
get: function () {
return this._map.dim
}
},
size: {
get: function () {
retur... |
class NewsUI {
constructor() {
this.newsContainer = document.querySelector('.news-wrap .row');
}
/**
*
* @param {Object} article
*/
addArticle(article) {
const template = NewsUI.generateArticleTemplate(article);
// console.time();
// this.newsContainer.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.