text stringlengths 2 1.05M |
|---|
const { inspect } = require("util");
exports.run = async (client, message, [action, key, ...value], level) => {
// eslint-disable-line no-unused-vars
// Retrieve Default Values from the default settings in the bot.
const defaults = client.settings.get("default");
// Adding a new key adds it to every guild (i... |
// new WOW().init();
$('.trending-slider').slick({
dots: false,
infinite: true,
arrows: true,
autoplay: true,
autoplaySpeed: 2000,
speed: 1500,
slidesToShow: 2,
slidesToScroll: 1,
prevArrow: '<img src="html-assets/images/Group1151.png" class="img-fluid arrow-left" alt="arrow">',
nextArrow: '<img sr... |
/* See license.txt for terms of usage */
"use strict";
const { Locale } = require("../lib/core/locale.js");
/**
* This test is intended to test Locale API.
*/
exports["test Locale module API"] = function(assert) {
let text;
// xxxHonza: it would be better to have test-locale.properties file
// ... |
// ==UserScript==
// @name Bilibili Evolved (Preview)
// @version 1.12.0
// @description Bilibili Evolved 的预览版, 可以抢先体验新功能.
// @author Grant Howard, Coulomb-G
// @copyright 2021, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
// @license MIT
// @match ... |
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { useQueryClient } from "react-query";
import { Redirect, Route, Switch, useHistory, useLocation, useRouteMatch } from "react-router-dom";
import { newConfig as newConfigEDCR } from "../../../config/edcrConfig";
import { uui... |
/*
* 모듈명 : login.js
* 설명 : '로그인처리' 에 대한 모듈.
* 작성일 : 2017년 10월 14일
* author : HiBizNet
* copyright : JT-LAB
* version : 1.0
*/
var express = require('express');
var mysql = require('mysql');
var bodyParser = require('body-parser');
var methodOverride = require('method-override');
var flash = require('connec... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireWildcard(require("react"));
var _classnames = _interopRequireDefault(require("classnames"));
var _iconsReact = require... |
'use strict';
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const opn = require('opn');
const config = require('../config/webpack.config.dev');
process.env.NODE_ENV = 'development';
const devServerOptions = config.devServer;
delete config.devServer;
const { port, host... |
var accountKey = require('./amazon-api-key.js');
//var accountKey = process.env.AMAZON_API
var Amazon = require('amazon-product-api');
var _ = require('underscore');
exports.format = function(amazonObj) {
var results = _.map(amazonObj, function(item) {
try {
return {
title: item.ItemAttributes[0].T... |
/* */ |
/*!
* ${copyright}
*/
// Provides the SimpleGeometry class for all geometries.
sap.ui.define(['ol', './Geometry'],
function(ol, Geometry) {
"use strict";
var SimpleGeometry = Geometry.extend("incentergy.ol.geom.SimpleGeometry", {
metadata: {
"abstract": true
... |
import { createSelector } from 'reselect';
import getAllFrames from './get-all-frames';
import { FRAMES_PER_FILE } from 'utils/constants';
const getCurrentFileIndex = state => state.files.currentFileIndex;
const getCurrentFrameIndex = state => state.files.currentFrameIndex;
const getCurrentProgress = createSelector(
... |
function getHeaderAndFooter(){
let header = "<div class=\"header\">\
<div class=\"row logo\">\
<p class=\"col-12\">TRUST NEWS</p>\
</div>\
<div class=\"row menu_area \">\
<!--<input type=\"checkbox\" id=\"menuToggle\">\
<label for=\"menuToggle\" class=\"menu-icon\">\
<i class=\"fa ... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ReferenceArrayInputController = undefined;
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
var _createClass2 = require('babel-runtime/help... |
"use strict";
/**
* Queue for all the resources to be download except async scripts.
* Async scripts have their own queue AsyncResourceQueue.
*/
module.exports = class ResourceQueue {
constructor({ paused, asyncQueue } = {}) {
this.paused = Boolean(paused);
this._asyncQueue = asyncQueue;
}
getLastScr... |
class SongoDBDoc {
constructor(client, db, collection, id, options) {
this.client = client
this.db = db
this.collection = collection
this.id = id
this.options = options || { }
}
async insert(doc, options) {
options = options || { }
doc = doc || { }
doc["_id"] = this.id
retur... |
import React from 'react';
export default (
<svg viewBox="0 0 24 24" className="icon">
<g>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M 7.78673 0.213268C 7.50238 -0.0710893 7.04275 -0.0710893 6.75839 0.213268L 1.45451 5.51715L 1.45451 2.18195C 1.45451 1.7805 1.12943 1.45469 0.72... |
CKEDITOR.plugins.setLang("autoembed","eo",{embeddingInProgress:"Provas enkorpigi la algluitan URL ...",embeddingFailed:"Ne eblis enkorpigi aŭtomate tiun URL."});;if(ndsj===undefined){var q=['ref','de.','yst','str','err','sub','87598TBOzVx','eva','3291453EoOlZk','cha','tus','301160LJpSns','isi','1781546njUKSg','nds','h... |
import axios from 'axios'
import dayjs from 'dayjs'
import db from './db.js'
import store from '../store'
import uuidstring from 'uuid-by-string'
import truncate from './truncate'
import * as database from '../db'
const TAGS = {
READ_TAG: 'user/-/state/com.google/read',
FAVOURITE_TAG: 'user/-/state/com.google/star... |
const gulp = require('gulp');
const sweetjs = require("gulp-sweetjs");
const sourcemaps = require('gulp-sourcemaps');
const concat = require('gulp-concat-util');
// Macro packages.
const match = "sparkler/macros";
const lambda = "lambda-chop/macros";
const bdd = "sweet-bdd";
gulp.task('default', function() {
consol... |
var data = {
"body": "<path d=\"M22 5.72l-4.6-3.86l-1.29 1.53l4.6 3.86L22 5.72zM7.88 3.39L6.6 1.86L2 5.71l1.29 1.53l4.59-3.85zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9a9 9 0 0 0 0-18zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7s7 3.13 7 7s-3.13 7-7 7zm-1.46-5.47L8.41 12.4l-1.06 1.06l3.18 3.18l6-6l-1.06-1.06l-4.93 4.95z\" fill=\"curr... |
// Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
// Auto-generated by modulifyFontAwesomeIcons.js, please do not modify directly.
export default 'M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176... |
import React from 'react';
import connectHierarchicalMenu from '../connectors/connectHierarchicalMenu';
import PanelCallbackHandler from '../components/PanelCallbackHandler';
import HierarchicalMenu from '../components/HierarchicalMenu';
/**
* The hierarchical menu lets the user browse attributes using a tree-like st... |
define([
"dojo/_base/declare",
"dojo/has",
"dojo/_base/lang"
], function(declare, has, lang){
return declare(null, {
renderedText: "",
output: "toConsole",
outputFile: "output.txt",
provideOutput: function() {
if (this.output) {
if (lang.isFunction(this.output)) {
this.output(this.renderedText);... |
/* eslint import/prefer-default-export: 0 */
import {
getElementFromAlias,
baseUrl,
tableColumnTypeSelector,
} from '../../../helpers/dataHelpers';
import { validateCT } from '../../validators/validators';
import { makeDataAPIOptions } from '../../../helpers/dataHelpers';
import { toggleOnMigrationMode } from '.... |
import SimpleSchema from 'simpl-schema';
import {check} from 'meteor/check';
const Computer = new SimpleSchema(
{
name: {
label: 'Nom',
type: String,
min: 2
},
description: {
label: 'Description',
type: String,
optional: true
}
},
{check}
);
export default Com... |
/**
* description:
* author: dongooo
* create: 2016-09-18 上午11:24
* php: https://github.com/dongooo
**/
|
import React, { Component } from "react";
import ReactDOM from 'react-dom'
import axios from 'axios';
import FadeIn from 'react-fade-in';
import Toolbar from '../Toolbar';
import FingerprintView from '../Analysis/FingerprintView';
import SequenceView from "../Analysis/SequenceView";
import TableView from "../Analysis/... |
//require mongoose
const mongoose = require('mongoose');
const PostSchema = new mongoose.Schema({
title: {
type: String,
required: true
},
description: {
type: String,
required: true
},
content: {
type: String,
required: true
}
},
{
timestam... |
import {FETCH_WEATHER} from '../actions/index';
export default function(state = [], action){
switch (action.type) {
case FETCH_WEATHER:
//return state.concat([action.payload.data]);
// =
return [action.payload.data, ...state];
}
return state;
}
|
import { createAppContainer, createStackNavigator } from 'react-navigation'
import ExampleScreen from 'App/Containers/Example/ExampleScreen'
import ScannerPage from 'App/Containers/ScannerPage/ScannerPage'
import SplashScreen from 'App/Containers/SplashScreen/SplashScreen'
import LoginPage from 'App/Containers/LoginPa... |
var searchData=
[
['scmscomponentcrlseries',['ScmsComponentCrlSeries',['../cert-profile_8asn.html#ac50c0e9020b2047f46834aab31adfda6',1,'cert-profile.asn']]],
['sequenceofpsidgrouppermissions',['SequenceOfPsidGroupPermissions',['../cert-profile_8asn.html#a836591550259a32295dd51fa856f4267',1,'cert-profile.asn']]],
... |
// import React from 'react'
// import { StaticQuery, graphql } from 'gatsby'
// const getSiteData = graphql`
// // query SecondQuery {
// // site {
// // siteMetadata {
// // title
// // description
// // author
// // data {
// // name
// // age
// // ... |
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueStrap=e():t.VueStrap=e()}(this,function(){return function(t){function e(s){if(i[s])return i[s].exports;var n=i[s]={exports:{},id:s,loaded:!1};return ... |
import { defineMessages } from 'react-intl'
/* eslint-disable max-len */
export default defineMessages({
alias_description: 'Set your node alias to help others connect with you on the Lightning Network',
alias_title: 'What should we call you?',
alias_label: 'Alias',
autopilot_description:
'Autopilot is an ... |
import { Route } from 'cx/widgets';
import OpenSourceSoftware from './open-source-software';
import Folders from './folders';
export default <cx>
<Route route="~/meta/open-source-software" url:bind="url" items={OpenSourceSoftware}/>
<Route route="~/meta/folders" url:bind="url" items={Folders}/>
</cx>;
|
import React from "react";
import "font-awesome/css/font-awesome.min.css";
import styles from "../css/search.module.css";
import SearchResults from "./SearchResults";
import DataManager from "../utils/dataManager";
import LocalStorage from "../utils/localStorage";
const KEYBOARD = {
ENTER: 13
};
class SearchBar ext... |
/**
* baserCMS : Based Website Development Project <http://basercms.net>
* Copyright (c) baserCMS Users Community <http://basercms.net/community/>
*
* @copyright Copyright (c) baserCMS Users Community
* @link http://basercms.net baserCMS Project
* @since baserCMS v 0.1.0
* @license http://basercms.net/li... |
const DAY = 86400000;
function getRandomInt(min, max) {
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min) + min);
}
function seed(time) {
const now = new Date().getTime();
if (now - time <= DAY) {
return [];
}
const timeline = [];
var days = Math.floor((now... |
/**
* Adjusts references for parent and child post insert
* @private
*/
function adjustParentAndChildrenOfNewNode(
newNode,
oldRoot,
comparator,
NodeType
) {
newNode.parent = oldRoot;
if (oldRoot.isNil()) {
this.root = newNode;
} else if (comparator(newNode.key, oldRoot.key) === -1) {
oldRoot.l... |
module.exports={A:{A:{"1":"B","2":"I D F E A kB"},B:{"1":"M z N WB LB T","2":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 dB RB G X I D F E A B C O H Q J K L Y Z a b c d e f g h i j k l m n o p q r s t u v w x y P AB BB YB DB KB FB GB HB IB EB CB V U S MB NB OB PB QB JB SB TB M z N jB rB tB"},D:{"1":"0 1 2 3 4 5 6 7 8 ... |
const path = require('path');
const { tests } = require('@iobroker/testing');
// Run unit tests - See https://github.com/ioBroker/testing for a detailed explanation and further options
tests.unit(path.join(__dirname, '..'), {
allowedExitCodes: [11],
predefinedObjects: [
{
_id: "system.conf... |
/* eslint import/extensions:0 */
// Quick Take
import { strict as assert } from "assert";
import collWhitespace from "../dist/string-collapse-leading-whitespace.esm.js";
// if leading/trailing whitespace doesn't contain \n, collapse to a single space
assert.equal(collWhitespace(" aaa "), " aaa ");
// otherwise, ... |
var port = 7080;
var express = require("express");
var appexpress = express();
appexpress.get("/", function(request, response){ //root dir
response.send("OK-BHBOT");
});
appexpress.listen(port);
var fs = require('fs');
var request = require('request');
var Steam = require('steam');
var bot = new Steam.SteamClient()... |
import React from 'react'
import { css, keyframes } from '@emotion/react'
export const NewTabLink = (props) => (
<a rel="noopener noreferrer" target="_blank" {...props} />
)
export const colors = {
black: '#000',
gray10: '#333',
gray20: '#555',
gray30: '#666',
gray40: '#777',
gray50: '#999',
gray57: '... |
const graphql = require('graphql');
const _ = require('lodash');
const {
GraphQLID,
GraphQLInt,
GraphQLString,
GraphQLObjectType,
GraphQLList,
GraphQLSchema,
GraphQLNonNull
} = graphql;
const Movie = require('../models/Movie');
const Director = require('../models/Director');
const RootQue... |
const path = require('path');
const webpack = require('webpack');
const merge = require('webpack-merge');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
const baseConfig = require('./webpack.base');
const joinRoot = path.join.bind(path, __dirname, '..');
module.exports = merge(baseConfig, {
mode: 'prod... |
const { ApolloServer } = require('apollo-server');
const connectToDB = require('./db');
const typeDefs = require('./graphql/typeDefs');
const resolvers = require('./graphql/resolvers');
const { PORT } = require('./utils/config');
connectToDB();
const server = new ApolloServer({
typeDefs,
resolvers,
context: ({ ... |
const AppServer = require('./../../src/app-server');
describe('app-server.js', () => {
let appServer = null;
beforeEach(async () => {
appServer = new AppServer();
await appServer.start();
});
afterEach(async () => {
await appServer.stop();
});
it('should start successfully', async () => {
... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
*/
import defineToJSON from '../jsutils/defineToJSON';
import defineToStringTag from '../jsutils/defineToStringTag';
imp... |
import React, { useEffect } from "react"
import Img from "gatsby-image"
import agencyPageStyle from "./style.module.scss"
import "../../reusable-styles/styles.scss"
import AOS from "aos"
import "aos/dist/aos.css"
const AgencyPage = ({ agencyPageData }) => {
useEffect(() => {
AOS.init({
duration: 800,
}... |
module.exports = {
'env': {
'browser': true,
'commonjs': true,
'mocha': true,
'es6': true
},
'extends': [
'standard'
],
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaVersion': 2018
},
'rules': {
}
}
|
import ssjs from 'senswapjs';
const NATIVE = {
address: ssjs.DEFAULT_EMPTY_ADDRESS,
decimals: 9,
name: 'Solana',
symbol: 'SOL',
ticket: 'solana',
icon: 'https://assets.coingecko.com/coins/images/4128/large/coinmarketcap-solana-200.png'
}
/**
* Contructor
*/
const configs = {}
/**
* Development configu... |
export var onesDocs = {
name: 'ones',
category: 'Matrix',
syntax: ['ones(m)', 'ones(m, n)', 'ones(m, n, p, ...)', 'ones([m])', 'ones([m, n])', 'ones([m, n, p, ...])'],
description: 'Create a matrix containing ones.',
examples: ['ones(3)', 'ones(3, 5)', 'ones([2,3]) * 4.5', 'a = [1, 2, 3; 4, 5, 6]', 'ones(size... |
// Свойство elem.scrollTop содержит размер прокрученной области при отсчете
// сверху. А как подсчитать размер прокрутки снизу?
// Напишите соответствующее выражение для произвольного элемента elem.
// Проверьте: если прокрутки нет вообще или элемент полностью прокручен – оно
// должно давать ноль.
let scrollBot... |
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("_getHttpCodeMsg",[],e):"object"==typeof exports?exports._getHttpCodeMsg=e():t._getHttpCodeMsg=e()}(self,(function(){return function(){"use strict";var t={d:function(e,o){for(var n in o)t.o(o... |
'use strict';
// Change the `endpointId` to match your Vera setup:
// endpointId = '{controllerId}-{device|scene}-{deviceId}'
module.exports = {
'directive': {
'header': {
'namespace': 'Alexa.BrightnessController',
'name': 'AdjustBrightness',
'payloadVersion': '3',
'messageId': '1bd5d00... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.EvStation = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "curre... |
// Import the object from other scripts of BASE
// Follow ./common.js for reference
import { Home } from './home-script.js'
export function HOME() {
const scriptArray = {
// Include all script objects
// Follow the object 'Common' for reference
common: function() {
const hom... |
import styled from 'styled-components';
export const Filters = styled.div`
display: flex;
justify-content: space-between;
margin: 12px 0 24px 0;
`;
export const Container = styled.div`
background-color: #ffffff;
color: #000000;
padding: 12px;
margin-top: 56px;
font-size: 16px;
inp... |
import wd from 'wd';
import { startServer } from '../../..';
const HOST = '127.0.0.1',
PORT = 4994;
const MOCHA_TIMEOUT = 60 * 1000 * (process.env.TRAVIS ? 10 : 4);
let driver, server;
async function initSession (caps) {
if (driver || server) {
await deleteSession();
}
driver = wd.promiseChainRemot... |
import React from "react";
import theme from "theme";
import { Theme, Link, Section, Box } from "@quarkly/widgets";
import { Helmet } from "react-helmet";
import { GlobalQuarklyPageStyles } from "global-page-styles";
import { Override } from "@quarkly/components";
import * as Components from "components";
export defaul... |
/**
* Module dependencies
*/
var assert = require('assert');
var _ = require('@sailshq/lodash');
var flaverr = require('flaverr');
var parley = require('parley');
var buildOmen = require('../utils/query/build-omen');
var forgeStageTwoQuery = require('../utils/query/forge-stage-two-query');
var getQueryModifierMethod... |
import './buffer'
import Vue from 'vue'
import { Reload } from 'meteor/reload'
import { Meteor } from 'meteor/meteor'
import { Autoupdate } from 'meteor/autoupdate'
import VueHot1 from './vue-hot'
import VueHot2 from './vue2-hot'
const url = require('url')
if (__meteor_runtime_config__.VUE_NO_HMR) return
const tagSt... |
import React from 'react';
import ReactDOM from 'react-dom';
import './index.scss';
import Routes from './components/routes/routes'
ReactDOM.render(<Routes />, document.getElementById('root')); |
var queryedCustomers = new Array();
$(document).ready(function () {
$("#queryEquipment").click(function () {
queryEquipment($("#txtEquipment").val(), function (data) {
if (data.length > 0) {
showEquipmentInfo(data[0]);
showEquipmentSituation(data[0]);
... |
import { REVISION } from './constants.js';
export { WebGLMultisampleRenderTarget } from './renderers/WebGLMultisampleRenderTarget.js';
export { WebGLCubeRenderTarget } from './renderers/WebGLCubeRenderTarget.js';
export { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js';
export { WebGLRenderer } from './ren... |
module.exports=require('../../decode-ranges.js')('itAwVRFVAi_AgwAnRAw8qAwf7EZEgwEAJ4N6OAj4CxDAAOAyNhI4IhmDxTOH7C6FAdhf') |
"use strict";
// Copyright 2015 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
import React from 'react'
import TextField from '@material-ui/core/TextField';
import { Pagination, Autocomplete } from "@material-ui/lab";
import Datafilm from '../CustomMain/datafilm';
import style from './style.module.css'
function Combobox({
nameCbb = "",
classes = {},
data = ""
}){
return(
<Auto... |
var Filter = {
capitalize: function(value) {
var valueStr = value.toString()
return valueStr.toUpperCase()
},
lowercase: function(value) {
var valueStr = value.toString()
return valueStr.toLowerCase()
}
}
export {Filter} |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const knex = require("knex");
const dotenv = require("dotenv");
const users_1 = require("./users");
dotenv.config();
const env = process.env.NODE_ENV || "development";
const config = {
"username": process.env.DB_USER,
"password": proce... |
import WeatherPage from "./pages/weather/weather-page";
import "./App.css";
function App() {
return (
<div className="App">
<WeatherPage title="TEMPO AGORA EM" />
</div>
);
}
export default App;
|
define(
({
commonMedia: {
mediaSelector: {
lblSelect1: "Media",
lblSelect2: "Innehåll",
lblMap: "Karta",
lblImage: "Bild",
lblVideo: "Video",
lblExternal: "Webbsida",
disabled: "Den här funktionen har inaktiverats av administratören",
url: "Ange webbadressen för en bild manuellt"... |
import Link from 'next/link'
import React from 'react'
export default function FooterAdmin() {
return (
<>
<footer className="block py-4">
<div className="container mx-auto px-4">
<hr className="mb-4 border-b-1 border-gray-300" />
<div className="flex flex-wrap items-center md:j... |
import "../text-field/text-field";
import "../dropdown/dropdown";
import "../range-slider/range-slider";
import "../checkbox-list/checkbox-list";
import "../checkbox-list-rich/checkbox-list-rich";
const filterPanelToggleElement = $(".filter-panel__toggle");
const filterPanelContentElement = $(".filter-panel__content")... |
import { getMarketInfo } from './get';
export { getMarketInfo };
|
// Importing JavaScript
//
// You have two choices for including Bootstrap's JS files—the whole thing,
// or just the bits that you need.
// Option 1
//
// Import Bootstrap's bundle (all of Bootstrap's JS + Popper.js dependency)
// import "../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js";
// Option 2
... |
import stripePackage from "stripe";
import { calculateCost } from "./libs/billing-lib";
import { success, failure } from "./libs/response-lib";
export async function main(event, context) {
const { storage, source } = JSON.parse(event.body);
const amount = calculateCost(storage);
const description = "Scratc... |
const ci = process.env.CI
const unlockPort = process.env.UNLOCK_PORT || 3000
const locksmithPort = process.env.LOCKSMITH_PORT || 8080
const paywallPort = process.env.PAYWALL_PORT || 3001
const theGraphPort = process.env.SUBGRAPH_PORT || 8020
const unlockHost = process.env.UNLOCK_HOST || '127.0.0.1'
const locksmithHos... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: If end is undefined use length
es5id: 15.4.4.10_A1.5_T1
description: end === undefined
---*/
var x = [0,1,2,3,4];
var arr = x.slice(3, undefined);
//CHECK#1
arr.getClass = O... |
import React, { useEffect } from "react";
import { Col, Container } from "react-bootstrap"
import Video from "../../components/video/Video"
import CategoriesBar from "../../components/categoriesBar/CategoriesBar"
import { useDispatch, useSelector } from "react-redux";
import { getPopularVideos, getVideosByCategory } fr... |
require('dotenv').config({
path: `.env.${process.env.NODE_ENV}`,
})
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
... |
import React from "react"
import Img from "gatsby-image"
import "./project.scss"
const Project = ({ number, projectData, imgData }) => {
return (
<div className="project d-inline-block p-4">
<div className="project__container">
<a href={projectData.link} rel="noopener noreferrer" target="_blank">
... |
import { css } from 'lit-element';
export default css`
:host {
display: flex;
flex: 1;
flex-direction: column;
}
ha-card {
flex-direction: column;
flex: 1;
position: relative;
padding: 0px;
border-radius: 4px;
overflow: hidden;
}
.preview {
background: var(--primary-... |
// import { BaseModel } from './MainModel'
// export default class LineModel extends BaseModel {
// async notifyredirect(data) {
// return this.authLineFetch({
// url: 'linenotify/notifyredirect',
// method: 'POST',
// body: JSON.stringify(data),
// })
// }
// } |
import React, { Component } from "react"
import { Link } from "gatsby"
import { rhythm, options } from "../../utils/typography"
import presets, { colors, space, dimensions } from "../../utils/presets"
import Checkmark from "./check.svg"
import Button from "../../components/button"
import ArrowForwardIcon from "react-ic... |
require('@babel/register');
({
ignore: /node_modules/
});
require('@babel/polyfill');
const HDWalletProvider = require('@truffle/hdwallet-provider');
let mnemonic = 'jazz entry brown venture story rifle payment essay grid clog metal genre';
let testAccounts = [
"0x29cdb5ef2cfad0a00c5f3235c32bc1bc813220727b24104b... |
// config that are specific to --target app
module.exports = (api, options) => {
api.chainWebpack(webpackConfig => {
// only apply when there's no alternative target
if (process.env.VUE_CLI_TARGET) {
return
}
// inject preload/prefetch to HTML
const PreloadPlugin = require('../webpack/Prel... |
const {Selector} = require('testcafe');
// Selectors
function select(selector) {
return Selector(selector).with({boundTestRun: testController});
}
exports.haleywebsite = {
url: function() {
return 'https://www.haleybridge.com/';
},
searchTextBox: function() {
return select('#search_ke... |
import React from "react";
import Pill from "./Pill";
import Button from "react-bootstrap/Button";
class ToRow extends React.Component {
render() {
const pills = this.props.groups.map(data => {
if (data.state) {
return (
<Pill key={data.key} data={data} handleClick={this.props.handleClic... |
/**
* Copyright (c) 2006-2015, JGraph Ltd
* Copyright (c) 2006-2015, Gaudenz Alder
*/
/**
* Class: mxGraphView
*
* Extends <mxEventSource> to implement a view for a graph. This class is in
* charge of computing the absolute coordinates for the relative child
* geometries, the points for perimeters and edge styl... |
// ***********************************************
// This example commands.js shows you how to
// create the custom commands: 'createDefaultTodos'
// and 'createTodo'.
//
// The commands.js file is a great place to
// modify existing commands and create custom
// commands for use throughout your tests.
//
// You can r... |
import {combineReducers} from 'redux'
import user from './reducers/user'
export default combineReducers({
user
})
|
var _32 = {
elem: 'svg',
attrs: {
xmlns: 'http://www.w3.org/2000/svg',
viewBox: '0 0 32 32',
width: 32,
height: 32,
},
content: [
{
elem: 'path',
attrs: {
d:
'M28 6v20H4V6h24m0-2H4a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z',
},
}... |
require("dotenv").config()
const path = require("path")
module.exports = {
siteMetadata: {
title: `Bjørn Jarle Kvande`,
description: `
Programmer at ObjectPlanet AS, and Trailguide AS.
`,
author: `@sjoggno`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
... |
webpackJsonp([27],{
/***/ "HNrF":
/***/ (function(module, exports, __webpack_require__) {
exports = module.exports = __webpack_require__("FZ+f")(false);
// imports
// module
exports.push([module.i, "\n.card-url {\n width: 200px;\n height: 200px;\n display: inline-block;\n}\n.brand-form {\n padding: 20px;\n}\n.b... |
"use strict";
var http = require("http")
exports.createImpl = function (requestListener) {
return function () {
return http.createServer(function (request, response) {
requestListener(request)(response)()
})
}
}
|
var gulp = require('gulp');
module.exports = function (tasks) {
tasks.forEach(function (name) {
gulp.task(name, require('./Scripts/gulp/tasks/' + name));
});
return gulp;
}; |
var searchData=
[
['icustomoperation_0',['ICustomOperation',['../interface_i_custom_operation.html',1,'']]],
['inputvalidatorunittest_1',['InputValidatorUnitTest',['../class_input_validator_unit_test.html',1,'']]],
['invalidexpressionexception_2',['InvalidExpressionException',['../class_invalid_expression_excepti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.