text stringlengths 2 1.05M |
|---|
module.exports = { prefix: 'fab', iconName: 'lastfm-square', icon: [448, 512, [], "f203", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-92.2 312.9c-63.4 0-85.4-28.6-97.1-64.1-16.3-51-21.5-84.3-63-84.3-22.4 0-45.1 16.1-45.1 61.2 0 35.2 18 57.2 43.3 57.2 28.6 ... |
var path = require('path');
var certPath = '../sessionapp/certs';
var config = {
certPath: certPath,
/**
* NodeJS Server config
*/
port: 3000, // Web GUI port
useHTTPS: true, // Use HTTP or HTTPs Server
hostfile: 'C:/ProgramData/Qlik/Sense/Host.cfg',
certificates: {
client:... |
import { request } from '@/utils/request.js'
/**
* 任务列表 API JS
*/
export default {
/**
* 获取任务列表分页列表
* @returns
*/
getList (params = {}) {
return request({
url: 'task/mission/index',
method: 'get',
params
})
},
/**
* 获取任务列表选择树 (树表才生效)
* @returns
*/
tree () {... |
// Copyright (C) 2017 Josh Wolfe. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: left-shift operator ToNumeric with BigInt operands
esid: sec-left-shift-operator-runtime-semantics-evaluation
features: [BigInt, Symbol.toPrimitive, computed-property-names]
-... |
/*
Project: angular-gantt v1.2.6 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: http://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
'use strict';
angular.module('gantt.tree', ['gantt', 'gantt.tree.temp... |
//Loaded from main.js
//Support for Standard Web Components
var TW = { //class:
_loadedComp : {'exComp': true} // don't load 2x
, loadComp : function(url, $here){
return new Promise(function (resolve, reject){
if (url in TW._loadedComp) {//guard: we loaded it before, thank you very much
console.log('already... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
module.exports = function warmup(temperature) {
if (temperature === -20) return -4;
if (temperature === 0) return 32;
if (temperature === 15) return 59;
if (temperature === 40) return 104;
};
|
let multichain1 = require("multichain-node")({
port: 2772,
host: '127.0.0.1',
user: "multichainrpc",
pass: "8H3zaHCrRjkXHdc4k4dNfJiMAKsrA5XmBox4PyRejpn6"
});
let multichain2 = require("multichain-node")({
port: 2772,
host: "192.168.1.68",
user: "multichainrpc",
pass: "8WQqduMmGYiAPybx5D... |
import React from 'react';
import { Mask, View, Container, Row, Col } from 'mdbreact';
class HoverPage extends React.Component {
render () {
return (
<Container>
<h2 className="py-4">Basic expamples</h2>
<Row>
<Col md="4">
<View overlay="red-strong">
<i... |
import React, { Component } from "react";
import './list.less'
export default class List extends Component {
constructor(props) {
super(props);
this.state = {
count: 1
};
}
onClick = () => {
this.setState({
count: ++this.state.count
})
}
render() {
return <div className=... |
module.exports = [
{
entry: {
theme: './js/main',
},
output: {
filename: './js/[name].js',
},
module: {
rules: [
{ test: /\.html$/, use: 'vue-html-loader' },
{ test: /\.vue$/, use: 'vue-loader' },
... |
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'module-whitelist',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. ... |
(function () {
var Util = {Timer: function (delay, fn) {
var isLive = false, currTimerId, startTime, stopTime;
function getCurrTime() {
return new Date().getTime()
}
return{delay: function () {
return delay
}, isRunning: function () {
... |
import { GET } from '../../api/util/methods';
export default {
onInit() {
this.loadInfo();
this.loadPayments();
},
async loadInfo() {
try {
let data = await GET('easywire/info');
this.store.set('$page.info', data);
} catch (err) {
console.error(err);
}... |
(function () {
if (!(cc && cc.EditBoxComponent)) {
return;
}
const EditBoxComp = cc.EditBoxComponent;
const js = cc.js;
const KeyboardReturnType = EditBoxComp.KeyboardReturnType;
const MAX_VALUE = 65535;
const KEYBOARD_HIDE_TIME = 600;
let _hideKeyboardTimeout = null;
let _c... |
import * as notesTree from './notesTree';
import * as notes from './notes';
export {
notesTree,
notes,
}
|
// @flow
import uniqBy from 'lodash/uniqBy';
import escapeRegExp from 'lodash/escapeRegExp';
import parseCSV from '../../utils/parseCSV';
import type { Option } from './flowTypes';
// Custom input parser for the PillSelectorDropdownField that automatically maps
// a list of comma separated values to their respective... |
/**
* @license Apache-2.0
*
* Copyright (c) 2021 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 { Action } = require('../interfaces/index')
class Copy extends Action {
constructor() {
super()
this.name = 'Copy'
this.desc = 'Copy'
this.shortcuts = ['Ctrl + LeftMousedown']
}
exec(aqua, event, state) {
console.error('Copy', event)
}
}
module.exports = ... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){e.exports=n(93)()},function(e,t,n){"use strict";e.exports=n(86)},function(e,t,n){"use strict";var r=n(45),o=n(31),i=n(0),a=n(1),l=n(39),u=n(24),s=(n(42),n(4));var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).pr... |
/**
* Author: Liang Gong
*/
(function() {
var http = require('http');
var colors = require('colors');
var content;
var url = 'http://localhost:8000/../../confidential.txt';
console.log('\t[' + 'directory traversal attack'.green + ']: ' + url);
var content = '';
http.get(url, (res) => {
... |
class PoseNet {
constructor(modelArch, version, useAtrousConv, outputStride, inputShape, type, cacheMap, backend, prefer) {
this._modelArch = modelArch;
this._model = null;
this._compilation;
this._execution;
this._tensorIds = [];
this._operandIndex = 0;
this._version = version;
this._... |
const SNS = require('@dazn/lambda-powertools-sns-client')
const firehoseProcessor = require('@dazn/lambda-powertools-pattern-basic')
module.exports.handler = firehoseProcessor(async (event, context) => {
console.log(JSON.stringify(event))
const events = context.parsedFirehoseEvents
await Promise.all(events.map... |
// Load-in env variables
if (process.env.NODE_ENV !== "production") {
require("dotenv").config();
}
/**
* Api key is accessed via .env file and this key is accessed
* in server.js to avoid exposure via 'devTools'.
*/
const OpenWeatherMapApiKey = process.env.OpenWeatherMapApiKey;
// Setup empty JS object to act ... |
const ut = require("../js/utils.js");
const er = require("../js/render.js");
const od = require("../js/omnidexer.js");
class UtilSearchIndex {
/**
* Prefer "core" sources, then official sources, then others.
*/
static _sortSources (a, b) {
const aCore = Number(UtilSearchIndex.CORE_SOURCES.has(a));
const bCor... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Utilities_1 = require("../Utilities");
/**
* Store keys are a very simple abstraction that maps a string name to an interface type.
* The enables a type-safe contract for store dependencies when you connect dumb components
* to stores.
... |
window.addEventListener("mousemove", function(eventData){
console.log("mouse motion");
})
|
/**
* API Bound Models for AngularJS
* @version v1.1.11 - 2015-10-26
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function(angular, undefined) {
'use strict';
/**
* @mixin FindMany
*
* @descr... |
function Linear(AQIhigh, AQIlow, Conchigh, Conclow, Concentration) {
let linear;
let Conc = parseFloat(Concentration);
let a;
a = ((Conc - Conclow) / (Conchigh - Conclow)) * (AQIhigh - AQIlow) + AQIlow;
linear = Math.round(a);
return linear;
}
function AQIPM25(Concentration) {
let Conc = ... |
CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
var htmlFound = CodeMirror.modes.hasOwnProperty("xml");
var htmlMode = CodeMirror.getMode(cmCfg, htmlFound ? {name: "xml", htmlMode: true} : "text/plain");
var aliases = {
html: "htmlmixed",
js: "javascript",
json: "application/json",
c... |
import React, { Component } from 'react';
import MessageList from './components/MessageList';
import MessageBox from './components/MessageBox';
import Header from './components/Header';
import { base } from './base';
class App extends Component {
constructor(props) {
super(props);
this.updateMessages = this... |
const { objMap } = require("../../dist/lightdash.common");
describe("objMap", () => {
it("Empty", () => {
expect(objMap({}, () => 1)).toEqual({});
expect(objMap([], () => 1)).toEqual({});
});
it("Simple", () => {
expect(
objMap(
{
a: 4... |
import { PRIVATE } from "@/constants";
export default {
[PRIVATE.SET_ATTRIBUTES]: (state, payload) => {
state.attributes = payload
}
}
|
import { i18n, defaultImage, noop } from '#/common';
export function notify(options) {
browser.notifications.create(options.id || 'ViolentMonkey', {
type: 'basic',
iconUrl: defaultImage,
title: `${options.title} - ${i18n('extName')}`,
message: options.body,
isClickable: options.isClickable,
});... |
/*
---
name: "ImagePreloader"
description: ""
license:
- "[GNU Lesser General Public License](http://opensource.org/licenses/lgpl-license.php)"
- "[MIT License](http://opensource.org/licenses/mit-license.php)"
requires:
- declare
- Events
- Settings
provides: ImagePreloader
...
*/
atom.... |
export { default as Topbar } from './Topbar';
export { default as Sidebar } from './Sidebar';
|
const path = require('path');
const core = require('@actions/core');
const aws = require('aws-sdk');
const yaml = require('yaml');
const fs = require('fs');
// Attributes that are returned by DescribeTaskDefinition, but are not valid RegisterTaskDefinition inputs
const IGNORED_TASK_DEFINITION_ATTRIBUTES = [
'compati... |
/*!
* node-sass: scripts/build.js
*/
var pkg = require('../package.json'),
fs = require('fs'),
mkdir = require('mkdirp'),
path = require('path'),
spawn = require('cross-spawn'),
sass = require('../lib/extensions');
/**
* After build
*
* @param {Object} options
* @api private
*/
function afterBuild(o... |
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import $ from 'jquery'
import _ from 'underscore'
Vue.use(VueResource)
Vue.use(VueRouter)
import Index from './components/Form.vue'
import List from './components/List.vue'
var App = Vue.extend({})
var router = new VueR... |
import consts from 'consts/const_global';
import Serialization from "common/utils/Serialization";
import BufferExtended from 'common/utils/BufferExtended';
import InterfaceSatoshminDB from 'common/satoshmindb/Interface-SatoshminDB';
import ServerPoolDataPool from "./Server-Pool-Data-Pool";
const uuid = require('uuid')... |
import React from 'react'
import { graphql } from 'gatsby'
import { Helmet } from 'react-helmet'
import get from 'lodash/get'
import Img from 'gatsby-image'
import Layout from '../components/layout'
import { UncontrolledCarousel } from 'reactstrap';
import Navigation from '../components/navigation'
import styles from '... |
/**
* Module constants.
* @constant
* @private
*/
const URL_PROTOCOL_SP = '//';
const PATH_SP = '/';
const HOST_PORT_SP = ':';
/**
* Module exports.
* Client Request rewriting rules for the proxy's request
* @public
* @returns {object}
*/
module.exports = {
locationHeader: (headers, response) => {
... |
// @flow
import { PureComponent } from "react";
// Les Types Generic de Flow à la rescousse!
// Array utilise les Types Generic:
const myStrings: Array<string> = ["s1", "s2"];
// Component aussi:
class myComponent extends PureComponent<{}, {}> {};
// Comment ça marche?
type MyType<T> = T;
const a: MyType<string> ... |
/**
* The default storyWeight
* @type {Number}
*/
export const storyWeight = 1000;
/**
* Compare 2 stories and sort them
* @return {Number}
*/
export const storySort = ([storyIdA, storyA], [storyIdB, storyB]) => {
// do not sort stories from the same kind
if (storyA.kind === storyB.kind) return 0;
// use ... |
const bcrypt = require('bcryptjs');
const crypto = require('crypto');
const Enums = require('../models/Enums');
const StaticFunctions = require('../utilities/staticFunctions');
class UserRequestProcessor{
static getRawRequestUser(req, res){
let user = {
userId: req.body.userId,
user... |
/*
Ext.Deferred adapted from:
[DeftJS](https://github.com/deftjs/deftjs5)
Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
when(), all(), any(), some(), map(), reduce(), delay() and timeout()
sequence(), para... |
// equivalent to require from node.js
require.cache = {};
require.httpRequest = function(url) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, false); // sync
xhr.send();
if ( xhr.status < 200 || xhr.status >= 300 )
throw new Error( xhr.statusText );
return xhr.responseText;
}
require.extensions = {
'.... |
'use babel';
import UniqueFileId from '../lib/unique-file-id';
// Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
//
// To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
// or `fdescribe`). Remove the `f` to unfocus the block.
describe('UniqueFileId', () => {
... |
// Utility functions for parsing and handling shortcodes in JavaScript.
// Ensure the global `wp` object exists.
window.wp = window.wp || {};
(function(){
wp.shortcode = {
// ### Find the next matching shortcode
//
// Given a shortcode `tag`, a block of `text`, and an optional starting
// `index`, returns th... |
import React from "react"
import { withRouter } from "react-router-dom"
import config from "../config"
import taskFormTypes from "../constants/taskFormTypes"
import taskFormUtils from "../utils/taskFormUtils"
import TaskForm from "./TaskForm"
import withFormSubmitter from "./withFormSubmitter"
const CreateTaskForm = p... |
/*
* Copyright (c) 2015-present, Vitaly Tomilov
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Removal or modification of this copyright notice is prohibited.
*/
'use strict';
const assertOptions = require('assert-options');
/**
* @clas... |
const WXAPI = require('apifm-wxapi')
const CONFIG = require('../../config.js')
//获取应用实例
var app = getApp();
Page({
data: {
banners:[],
swiperMaxNumber: 0,
swiperCurrent: 0
},
onLoad:function(){
const _this = this
wx.setNavigationBarTitle({
title: wx.getStorageSync('mallName')
})
... |
/**
* Copyright 2015 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.
*
* @fileoverview Common APIs for presentation integration tests.
*
*/
var startSessionPromise = null;
var startedConnection = null;
var reconnect... |
const fs = require("fs");
const path = require("path");
const assert = require("assert");
const EVENTS = require("./events");
const DatePicker = require("../../../src/js/components/date-picker");
const TEMPLATE = fs.readFileSync(
path.join(__dirname, "/date-picker-min-date-max-date.template.html")
);
const VALIDATI... |
// Copyright (c) 2012 Titanium I.T. LLC. All rights reserved. See LICENSE.txt for details.
/*globals wwp:true, Raphael, $ */
wwp = window.wwp || {};
(function() {
"use strict";
var paper;
wwp.initializeDrawingArea = function(drawingAreaDiv) {
paper = new Raphael(drawingAreaDiv);
handleDragEvents(drawingAreaD... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may n... |
/* eslint-env jest */
import {expect} from 'chai';
import {combineMiddleware} from '../src';
describe('#combineMiddleware(...middleware)', () => {
function isPlayThroughMW(fn){
if(typeof fn !== 'function') return false;
const withStore = fn();
if(typeof withStore !== 'function') return false;
let fo... |
export const CREATEPROFILE = "CREATEPROFILE";
export const PATIENTDETAILS = "PATIENTDETAILS";
export const DEPARTMENTS = "DEPARTMENTS";
export const DOCTORPROFILE = "DOCTORPROFILE";
export const ADMINS ="ADMINS";
export const PATIENTDRAG = "PATIENTDRAG";
export const MESSAGES = "MESSAGES";
export const GETPARENTS = "GE... |
/**@preserve GeneXus Java 10_3_12-110051 on January 4, 2021 10:28:8.3
*
gx.evt.autoSkip=!1;gx.define("hconsultarcorpoprova",!1,function(){var n,t;this.ServerClass="hconsultarcorpoprova";this.PackageName="";this.setObjectType("web");this.setOnAjaxSessionTimeout("Warn");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.add... |
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(122),a=n(439),i=r(a),u=n(297),... |
(() => {
// src/420.js
var __default = example = 0;
})();
|
const cookieParser = (req) => {
var Cookies = {};
req.headers.cookie && req.headers.cookie.split(';').forEach(function (Cookie) {
var parts = Cookie.split('=');
Cookies[parts[0].trim()] = (parts[1] || '').trim();
});
return Cookies;
}
export default cookieParser; |
for (let i=0; i<10; i=i+1) {
console.log("Aleta ist lilaliebst!")
}
console.log("Micha ist lilaliebst!")
|
var app = require('../../../uniroster-server.js');
var db = require('../../../lib/database.js');
var express = require('express');
var utils = require('../../../lib/onerosterUtils.js');
var router = express.Router();
var buildCourse = function(row, hrefBase, metaFields) {
var course = {};
course.sourcedId = row.s... |
//>>built
define(
//begin v1.x content
({
"showBlockNodes": "Mostrar elementos de bloque HTML"
})
//end v1.x content
);
|
const fs = require('fs-extra')
const addToIpfs = require('./add-to-ipfs')
async function argvHandler (argv, ctx) {
let handled = false
const files = []
for (const arg of argv.slice(1)) {
if (!arg.startsWith('--add')) {
continue
}
const filename = arg.slice(6)
if (await fs.pathExists(file... |
var qlik = window.require('qlik');
import initialProperties from './initial-properties.js';
import template from './template.html';
import definition from './definition.js';
import controller from './controller.js';
import localCSS from './style.css'; // eslint-disable-line no-unused-vars
export default {
initialPro... |
// NPM
var Exit, log;
log = require("de-logger");
Exit = class Exit {
constructor(server) {
this.exit = this.exit.bind(this);
this.uncaughtException = this.uncaughtException.bind(this);
this.sigint = this.sigint.bind(this);
this.sigterm = this.sigterm.bind(this);
this.server = server;
this.l... |
"use strict";
var TestEmpty = (function (_ref) {
babelHelpers.inherits(TestEmpty, _ref);
function TestEmpty() {
babelHelpers.classCallCheck(this, TestEmpty);
babelHelpers.get(Object.getPrototypeOf(TestEmpty.prototype), "constructor", this).apply(this, arguments);
}
return TestEmpty;
})((function () {... |
import PropTypes from 'prop-types';
import React, {
useRef, useCallback, useEffect, useState,
} from 'react';
import useAppContext from '../../../App/Contexts/useAppContext';
import useGeneratorsContext from '../../Contexts/useGeneratorsContext';
import GeneratorSettingsView from './view';
const GeneratorSettings ... |
export default "M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1h-4zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-6 0h-4V5h4v2z" |
$.fn.extend({
treed: function (o) {
var openedClass = 'glyphicon-minus-sign';
var closedClass = 'glyphicon-plus-sign';
if (typeof o != 'undefined'){
if (typeof o.openedClass != 'undefined'){
openedClass = o.openedClass;
}
if (typeof o.clo... |
var htp__hooks_8c =
[
[ "htp_hook_copy", "htp__hooks_8c.html#a1f1e4fb530d86ef619a0eaff8bfe491e", null ],
[ "htp_hook_create", "htp__hooks_8c.html#aa1cdd71dc6965b5a9a6647e8ed650997", null ],
[ "htp_hook_destroy", "htp__hooks_8c.html#a58b480fb42419dec49170dbeb1189a73", null ],
[ "htp_hook_register", "htp_... |
import styled from 'styled-components';
import is from 'styled-is';
import { breakWordStyles } from 'helpers/styles';
import Icon from 'components/golos-ui/Icon';
import TextCut from 'components/common/TextCut';
export const Wrapper = styled.div`
opacity: 0.7;
${is('isIrreversible')`
opacity: 1;
`};
&:n... |
import React from "react"
import Layout from '../commponent/layout'
export default () => <Layout>
<h2>Hello,</h2>
<h2>I' am Surendra Bhati</h2>
<span>Android</span> <span>|</span><span>Web</span> <span>|</span><span>UI/UX</span>
</Layout>
|
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _index = _interopRequireDefault(require("./index.js"));
/* global document */
// adapted from https://github.com/webpa... |
/**
* Auto-generated action file for "FireBrowse Beta API" API.
*
* Generated at: 2019-05-07T14:40:44.564Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / firebrowse-org-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are lic... |
(this["webpackJsonpjuniormacatlang.github.io"]=this["webpackJsonpjuniormacatlang.github.io"]||[]).push([[0],{18:function(e,t,c){},24:function(e,t,c){},25:function(e,t,c){},26:function(e,t,c){},27:function(e,t,c){},28:function(e,t,c){},29:function(e,t,c){},30:function(e,t,c){"use strict";c.r(t);var i=c(1),s=c.n(i),a=c(8... |
/*! firebase-admin v4.1.3
https://firebase.google.com/terms/ */
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var deep_copy_1 = require("./utils/deep-copy");
var error_1 = require("./utils/error");
var firebase_app_1 = require("./firebase-app");
var credential_1 = require("./auth/cred... |
const express = require('express');
const router = express.Router();
const { ensureAuthenticated, forwardAuthenticated } = require('../config/auth');
// Welcome Page
router.get('/', forwardAuthenticated, (req, res) => res.render('welcome'));
// Dashboard
router.get('/dashboard', ensureAuthenticated, (req, res) =>
... |
module.exports = function(n) {
return n * (n > 1 ? n - 1 : 1);
};
|
import RoleForm from '../components/RoleForm'
import { addNewRole } from '../actions/roleActions'
import connect from 'react-redux/es/connect/connect'
const mapStateToProps = (state) => ({
loading: state.role.loading
})
const mapDispatchToProps = (dispatch) => ({
submissionHandler: (values) => {
dispatch(addN... |
(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=window.getComputedStyle(e,... |
(function (back) {
var DEBUG = false;
var FILE = "touchtimer.data.json";
var settings = {};
var showMainMenu = () => {
log("Loading main menu");
E.showMenu({
"": { title: "Touch Timer" },
"< Back": () => back(),
"Buzz Count": {
value: settings.buzzCount,
min: 1,
... |
/*! For license information please see 2.da070c0a.chunk.js.LICENSE.txt */
(this.webpackJsonpgausslab=this.webpackJsonpgausslab||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(79)},function(e,t,n){e.exports=n(85)()},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<argu... |
const {resolve} = require('path');
const BabelStandalonePlugin = require('./webpack/babel-standalone-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
optimization: {
minimize: false,
},
plugins: [
new HtmlWeb... |
import React from 'react';
import Client from 'shopify-buy';
const client = Client.buildClient({
domain: 'gatsby-swag.myshopify.com',
storefrontAccessToken: '9aa73c089d34741f36edbe4d7314373a'
});
export const defaultStoreContext = {
client,
isCartOpen: false,
checkout: { lineItems: [] },
products: [],
s... |
const npmChecker = require("./lib/npm");
const defaultConfig = {
blackList: ["GPLv3", "GPL-3.0", "GPL 3", "unlicenced", "unlicensed"]
};
module.exports = robot => {
robot.log("Application started");
robot.on("pull_request", async context => {
robot.log(
"PR recieved from: " +
cont... |
var countries = {
AF: 'Afghanistan',
AX: 'Åland Islands',
AL: 'Albania',
DZ: 'Algeria',
AS: 'American Samoa',
AD: 'Andorra',
AO: 'Angola',
AI: 'Anguilla',
AQ: 'Antarctica',
AG: 'Antigua and Barbuda',
AR: 'Argentina',
AM: 'Armenia',
AW: 'Aruba',
AU: 'Australia',
AT: 'Austria',
AZ: 'Azerba... |
var util = require('./util');
var initial = 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR';
var roles = {
p: "pawn",
r: "rook",
n: "knight",
b: "bishop",
q: "queen",
k: "king"
};
var letters = {
pawn: "p",
rook: "r",
knight: "n",
bishop: "b",
queen: "q",
king: "k"
};
function read(fen) {
if... |
var searchData=
[
['predefined_20mesh_20types',['Predefined Mesh Types',['../a00739.html',1,'']]],
['p0',['p0',['../a00107.html#a4d6e1b8c56453e3de48ed178d067c876',1,'OpenMesh::Decimater::CollapseInfoT']]],
['p1',['p1',['../a00107.html#a91226116d563790a8d04b09a9ef2d965',1,'OpenMesh::Decimater::CollapseInfoT']]],
... |
!function(e){function t(t){for(var n,o,r=t[0],l=t[1],a=0,s=[];a<r.length;a++)o=r[a],i[o]&&s.push(i[o][0]),i[o]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(d&&d(t);s.length;)s.shift()()}var n={},i={0:0};function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].cal... |
'use strict';
const merge = require('../merge');
const ServiceRole = require('./service-role');
/**
* Baseline CloudFormation resources involved in a Lambda Function. Creates a
* Log Group, a Role, an Alarm on function errors, and the Lambda Function itself.
*
* @param {Object} options - Options.
* @param {Strin... |
let panXHeader = document.getElementById("panX-header");
let minButton = document.getElementById("minButton");
let restoreButton = document.getElementById("restoreButton");
let closeButton = document.getElementById("closeButton");
minButton.addEventListener("click", async () => {
let [tab] = await chrome.tabs.qu... |
// Update with your config settings.
module.exports = {
development: {
client: "sqlite3",
connection: {
filename: "./data/bw-backend.db3",
},
useNullAsDefault: true,
migrations: {
directory: "./data/migrations",
},
seeds: { directory: "./data/seeds" },
pool: {
afterC... |
import { defineConfig } from "vite";
const path = require("path");
import reactRefresh from "@vitejs/plugin-react-refresh";
import { dependencies } from './package.json';
function renderChunks(deps) {
let chunks = {};
Object.keys(deps).forEach((key) => {
if (['react', 'react-router-dom', 'history', 'react-dom'... |
define(fcuntion(require){
var $=require("zepto");
var customElem=require("customElement").create();
var e=document.createElement("script");
e.setAttribute("src","")
})
|
import React, { useContext } from "react";
import PropTypes from "prop-types";
import { AppContext } from "../store/AppContext";
import { Form } from "react-bootstrap";
import TaskIcon from "./TaskIcon";
const IconSelector = ({
icons,
label,
size,
color,
state,
setState,
className = ""
}) => {
const { store, a... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{jeRg:function(e,a,t){"use strict";t.r(a),t.d(a,"getHeaderImage",(function(){return i}));var n=t("q1tI"),r=t.n(n),u=t("1g+t"),c=t("RSc5");a.default=function(e){var a=e.data;return r.a.createElement(u.a,null,r.a.createElement(c.a,{img:a.defaultBcg.childImageSharp.f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.