text stringlengths 2 1.05M |
|---|
module.exports = {
hooks: {
'commit-msg': 'yarn commitlint --edit'
}
};
|
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = mongoose.Schema.Types.ObjectId;
var Tag = require("./tag_model");
var TrackSchema = new Schema({
name: String,
tag_id: [{ type: ObjectId, index: true, ref: "Tag" }],
tasks: [{
name: String,
category: { type: String, va... |
import React, { Component } from "react";
import "./PullRequestCard.css";
import { OverlayTrigger, Tooltip } from "react-bootstrap";
import {Fade} from 'react-reveal';
class PullRequestCard extends Component {
render() {
const pullRequest = this.props.pullRequest;
var iconPR;
var bgColor;
if (pullRequest["sta... |
module.exports = {
pathPrefix: '/gatsby-react-bootstrap-starter',
siteMetadata: {
title: `Cat Quinn Yoga`,
description: `A re-design project`,
author: `Sandy`
},
plugins: [
`gatsby-plugin-react-helmet`,
{
resolve: `gatsby-source-filesystem`,
... |
var CACHE_NAME = 'my-site-cache-v1';
var urlsToCache = [
'/',
'/app.js',
'/icon.png',
'/index.html',
'/style.css'
];
self.addEventListener('install', function(e vent) {
// Perform install steps
event.waitUntil(
caches.open(CACHE_NAME)
.then(function(cache) {
console.log('Opened cache');... |
/*! jQuery Validation Plugin - v1.15.1 - 7/22/2016
* http://jqueryvalidation.org/
* Copyright (c) 2016 Jörn Zaefferer; Licensed MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery","../jquery.validate.min"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}... |
/*!
* ui-select
* http://github.com/angular-ui/ui-select
* Version: 0.19.1 - 2016-08-09T18:13:19.300Z
* License: MIT
*/
(function () {
"use strict";
var KEY = {
TAB: 9,
ENTER: 13,
ESC: 27,
SPACE: 32,
LEFT: 37,
UP: 38,
RIGHT: 39,
DOWN: 40,
SHIFT: 16,
CTRL: 17,
ALT: 18,... |
import '../App.css';
function EditComponent(addElement, goHome) {
return (
<div className="Appender-edit">
<button className="Edit-button-l" onClick={addElement}>Save</button>
<button className="Edit-button-r" onClick={goHome}>Cancel</button>
</div>
);
}
export default EditComponent;
|
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"AM",
"PM"
],
"DAY": [
"\u10d9\u10d5\u10d8\u... |
import React from "react";
import { useColorMode, css } from "theme-ui";
import sun from "../images/sun.svg";
import moon from "../images/moon.svg";
/** @jsx jsx */
import { jsx } from "theme-ui";
const ToogleMode = () => {
const [colorMode, setColorMode] = useColorMode();
const isDark = colorMode === `dark`
co... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @module botbuilder
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
const request = require("request");
const getPem = require('rsa-pem-from-mod-exp');
const base64url = require... |
// 连接数据库
const mongoose = require('mongoose')
mongoose.connect('mongodb://localhost/staff',{useNewUrlParser:true});
let db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
db.once('open',() => console.log('mongodb connect ok.')); |
import React from 'react';
import Link from 'gastby-link';
const Tags = ({ pathContext }) => {
const { posts, tagname } = pathContext;
if (posts) {
return (
<div>
<span>Posts about: {tagName}:</span>
<ul>
{posts.map(post => {
return (
<li>
... |
/**
* 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.
*
* @format
* @flow
*/
'use strict';
export type PlatformSelectSpec<D, I> = {
default?: D,
web?: I,
};
const Platform = {
OS: 'w... |
/*
Name: Shop6
Written by: Okler Themes - (http://www.okler.net)
Theme Version: 5.3.0
*/
(function( $ ) {
// Home page slider
if ($.fn.revolution) {
$('#revolutionSlider').revolution({
sliderType: 'standard',
sliderLayout: 'auto',
delay: 9000,
gridwidth: 850,
gridheight: 373,
disableProgress... |
var Meter3=(function(){var e={styles:{sAngle:0.93,eAngle:2.07,area:{radius:30,colors:{"0":"#1266BC","0.15":"#67C6F2","0.27":"#45F5E6","0.75":"#FFDE00","0.93":"#F5694B","1":"#FF0202"},lineWidth:1,scaleLength:9,scaleWidth:0.2,lineColor:"#fff"},range:{color:"#F4674B",width:2,arrow:{height:15,radius:4}},value:{margin:-50,c... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'gu', {
alt: 'ઑલ્ટર્નટ ટેક્સ્ટ',
border: 'બોર્ડર',
btnUpload: 'આ સર્વરને મોકલવું',
button2Img: 'તમારે ઈમેજ બટનને સાદી ઈમેજમાં બદલ... |
import bg from 'gulp-bg';
import eslint from 'gulp-eslint';
import gulp from 'gulp';
import makeWebpackConfig from './webpack/makeconfig';
import path from 'path';
import runSequence from 'run-sequence';
import webpackBuild from './webpack/build';
import webpackDevServer from './webpack/devserver';
import yargs from 'y... |
"use strict";
const secp256r1 = require("secp256r1");
const {utils} = require("@ckb-lumos/base");
const {ckbHash} = utils;
const {secp256k1Blake160} = require("@ckb-lumos/common-scripts");
const {initializeConfig} = require("@ckb-lumos/config-manager");
const {addressToScript, sealTransaction, TransactionSkelet... |
import { h } from 'vue'
export default {
name: "Dice4",
vendor: "B",
type: "",
tags: ["dice","4"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","width":"16","height":"16","fill":"currentColor","class":"v-icon","viewBox":"0 0 16 16","data-name":"b-dice-4","innerHTML":" <pa... |
import hover from"../behaviors/hover";Component({behaviors:[hover],relations:{"../list/index":{type:"parent",linked(){},linkChanged(){},unlinked(){}}},options:{multipleSlots:!0},externalClasses:["l-class","l-class-icon","l-icon-class","l-class-image","l-image-class","l-class-right","l-right-class","l-class-content","l-... |
// Dom7
var $$ = Dom7;
// Theme
// var theme = 'auto';
// if (document.location.search.indexOf('theme=') >= 0) {
// theme = document.location.search.split('theme=')[1].split('&')[0];
// }
// Init App
var app = new Framework7({
id: 'io.framework7.testapp',
root: '#app',
theme: 'auto',
routes: route... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import App from './components/app';
import reducers from './reducers';
const createStoreWithMiddleware = applyMiddleware()(createStore);
ReactDOM.render(
<div... |
/**
* External Dependencies
*/
import 'jquery';
// import 'slick-carousel/slick/slick'; //- only enable if needed
import 'bootstrap';
// import { library, dom } from '@fortawesome/fontawesome-svg-core';
// import { faFacebookF, faFacebook, faTwitter, faPinterestP, faInstagram, faLinkedin } from '@fortawesome/free-br... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=GridColumnMenuFilterBaseProps.js.map |
const Ajv = require("../../wrapper/ajv-wrapper");
const PLANET_SCHEMA = {
type: "object",
properties: {
localeName: { type: "string" },
resources: { type: "integer" },
influence: { type: "integer" },
destroyed: { type: "boolean", default: false },
trait: {
ty... |
'use strict';
const courseListPage = require('../../page-objects/pages/coursePages/CRSSCourseListPage');
const addCoursePage = require('../../page-objects/pages/coursePages/CRSSAddCoursePage');
//WHEN
When(/^.* creates course with name '([^']*)'$/, function (coursename) {
return addCoursePage.createCourse(coursename... |
//
// Copyright (c) 2014 Mashery, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// 'Software'), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge,... |
! function ($) {
'use strict';
// TOOLS DEFINITION
// ======================
var cachedWidth = null;
// it only does '%s', and return '' when arguments are undefined
var sprintf = function (str) {
var args = arguments,
flag = true,
i = 1;
str = str.rep... |
"use strict";
const Base = require('yeoman-generator');
const generatorArguments = require('./arguments');
const generatorOptions = require('./options');
const generatorSteps = require('./steps');
module.exports = class AuthenticationGenerator extends Base {
constructor(args, options) {
super(args, options);
... |
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights reserved.
*
... |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Hungarian language.
*/
/**#@+
@type String
@example
*/
/**
* Constains th... |
const feeSchedule = [
{
blocks: 302400 * 4,
fee: 0.01
},
{
blocks: 302400 * 2,
fee: 0.25
},
{
blocks: 86400 / 2 * 5,
fee: 0.5
},
{
blocks: 86400 / 2 * 3,
fee: 1.0
},
{
blocks: 86400 / 2,
fee: 2.0
},
... |
var root = require('find-parent-dir').sync(__dirname, 'package.json');
var expect = require('expect.js');
var cp = require('child_process');
var Modernizr = require(root + 'lib/cli');
describe('cli', function() {
it('exposes a build function', function() {
expect(Modernizr.build).to.be.a('function');
});
i... |
'use strict';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { TooltipIcon } from 'reactackle-tooltip-icon';
import { noop, isUndef } from 'reactackle-core';
import { OptionsListNative } from '../OptionsListNative/OptionsListNative';
import { OptionPropTypeNative } from '../Option... |
import React from 'react';
import { Header, Left, Button, Thumbnail, Body, Title, Right, Icon, Text, Container, List, ListItem, Content } from 'native-base'
import { Col, Row, Grid } from "react-native-easy-grid";
export default class FAQ extends React.Component {
constructor() {
super();
}
render() {
re... |
/*!
* UEditor
* version: ueditor
* build: Wed Aug 10 2016 11:06:03 GMT+0800 (CST)
*/
!function(){function getListener(a,b,c){var d;return b=b.toLowerCase(),(d=a.__allListeners||c&&(a.__allListeners={}))&&(d[b]||c&&(d[b]=[]))}function getDomNode(a,b,c,d,e,f){var g,h=d&&a[b];for(!h&&(h=a[c]);!h&&(g=(g||a).parentNode... |
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
const assert = require('assert');
const URL = '/tabindex-negative-after-inside-click';
describe('Tab navigati... |
import { module, test } from "qunit";
import { Model, hasMany, belongsTo } from "ember-cli-mirage";
import Server from "ember-cli-mirage/server";
import DefaultIdentityManager from "ember-cli-mirage/identity-manager";
const CustomIdentityManager = class {
constructor() {
this.wasCalled = false;
}
fetch() {
... |
// Debugging test
chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) {
if (request.text === "selection") {
// To get the selected text from DOM
sendResponse(window.getSelection());
}
}); |
"use strict";
module.exports = {
up: async (queryInterface) => {
return queryInterface.bulkInsert("Faqs", [{
id: 10000,
categoryId: 10001,
question: "question1",
answer: "answer1",
createdAt: new Date(),
updatedAt: new Date(),
},
{
id: 10001,
... |
export default {
TOGGLE: 'sideBar/TOGGLE',
OPEN: 'sideBar/OPEN',
CLOSE: 'sideBar/CLOSE',
ACTIVE: 'sideBar/ACTIVE'
}
|
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
*/
// flowlint ambiguous-object-type:error
'use strict';
function _createForOfIteratorHelper(o) { if (typeof Symbol... |
import {
login,
logout,
getUserInfo,
getUserById,
getPermissions,
getMessage,
getContentByMsgId,
hasRead,
removeReaded,
restoreTrash,
getUnreadCount,
getUsersList,
abortRequest,
saveUserData,
deleteUser
} from '@/api/user'
import { setToken, getToken } from '@/libs/util'
export default {
... |
(function(){
var RightBandWindow = Class("RightBandWindow");
var IShellCustomizerPlacer = Interface("IShellCustomizerPlacer"),
GRect = Class("GRect");
function MobileFirstCustomizer() {
BaseObject.apply(this, arguments);
}
MobileFirstCustomizer.Inherit(BaseObject, "MobileFirstCust... |
import React from 'react'
import { Icon } from './Icon'
import { rw, bhw } from './fragments'
export const FilledContactMail = /*#__PURE__*/ props => <Icon {...props}>
<path d={"M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5" + rw + bhw + "m8-6h-8V6h8z"}/>
</Icon>
|
var express = require('express');
var router = express.Router();
// Require controller modules
const platform_controller = require('../controllers/platformController')
const profile_controller = require('../controllers/profileController');
router.get('/platforms/:platform_number/:format?', platform_controller.platfor... |
// Copyright 2010 The Closure Library Authors. All Rights Reserved.
//
// 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 requ... |
/*
* Copyright (c) 2014, 2015 by Delphix. All rights reserved.
*/
'use strict';
load('lib/report-utils.js');
var RESULT_COL = 'result_last50k_jobs';
var dependencies = [ 'Job' ];
var limit = dx.defineTunableInt({
_id : 'last50k-jobs.limit',
defaultValue : 50000,
description : 'Maximum number of jobs ... |
import * as swcHelpers from "@swc/helpers";
// @target: es2015
function cloneAgain(_param) {
var a = _param.a, clone = swcHelpers.objectWithoutProperties(_param, [
"a"
]);
}
suddenly(function(_param) {
var a = _param.x, rest = swcHelpers.objectWithoutProperties(_param, [
"x"
]);
retu... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = exports.DateTimePickerHeader = void 0;
var _react = _interopRequireDefault(require(... |
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
},
env: { es6: true },
ignorePatterns: ['node_modules', 'build', 'coverage'],
plugins: ['import', 'eslint-comments', 'functional'],
... |
module.exports = {
clientID: '331097077110-5kduv74likju63dq4itceaif7edv7b62.apps.googleusercontent.com',
clientSecret: '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',
refreshToken: '1//04F-2hQjgCwmqCgYIARAAGAQSNwF-L9Irl2zywzaF3mev7nvpJ4z9Cq1dl56Aw5VIPc199ga56QIA3N83MtBiivKjg3t4UP6DS2k',
usr: ''
} |
odoo.define('insurance_claim.mywidget', function(require) {
"use strict";
// var ajax = require('web.ajax');
var core = require('web.core');
// var Model = require('web.Model');
// var Widget = require('web.Widget');
// var common = require('web.form_common');
// var formats = require('we... |
import React from "react"
import {Link} from "react-router-dom"
import defaultImg from "../images/room-1.jpeg"
import PropTypes from "prop-types"
export default function Room({room}){
const {name, slug, images, price}=room;
return (
<article className="room">
<div className="img-co... |
module.exports=function(t){var a={};function n(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=a,n.d=function(t,a,e){n.o(t,a)||Object.defineProperty(t,a,{enumerable:!0,get:e})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.... |
import i18n from 'i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
const resources = {
en: {
translation: require('./locales/en-US.json')
}
};
i18n.use(LanguageDetector).init({
resources,
lng: 'en',
fallbackLng: 'en',
interpolation: {
escapeValue: false
},
});
export c... |
"use strict";
define( [
'underscore',
'backbone',
'marionette',
'view/scenic/pages/base/TableView',
'view/scenic/pages/base/table/SourcesView',
'view/scenic/pages/control/ControlDestinationsView',
'view/scenic/pages/control/ControlMenusView',
'view/scenic/pages/control/ControlSourceView... |
import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import {Line} from 'react-chartjs-2';
const useStyles = makeStyles((theme) => ({
sectionRoot: {
margin: theme.spacing(2, 0, 2),
},
sectionTitle: {
margin: theme.spacing... |
export const newIssueItemFixture = {
id: "PNI_lADOBYMIeM0lfM4ADfm9",
type: "ISSUE",
fields: {
title: "Enforce setting project via github actions",
status: null,
relevantToUsers: null,
suggestedChangelog: null,
},
content: {
isIssue: true,
isPullRequest: false,
id: "I_kwDOGNkQys49Ii... |
db.masterdata.insertMany([
{
"_id": "contract-1",
"name": "Contract 1",
"description": "Test-Contract Nr. 1",
"parent": null,
"children": [
"booking-1-1",
"booking-1-2"
]
},
{
"_id": "booking-1-1",
"name": "Booking 1-1",... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.proto... |
const script = require('./../script')
const assert = require('assert')
assert.strictEqual(script.sum1(1, 2), 3)
assert.strictEqual(script.sum2(1, 2), 3)
|
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')();
var del = require('del');
var sass = require("node-sass");
var sassUtils = require("node-sass-utils")(sass);
var globs = {
// TODO: Need to find a fix for adobe analytics
"scripts": [
'javascripts/drupal-namespace.js',
'jav... |
var SMB2Message = require('../tools/smb2-message');
var message = require('../tools/message');
var constants = require('../structures/constants');
var desiredAccess =
constants.DELETE |
constants.FILE_APPEND_DATA |
constants.FILE_DELETE_CHILD |
constants.FILE_READ_ATTRIBUTES |
constants.FILE_READ_DATA |
co... |
import React, { Component, Fragment } from "react";
import "./ReviewsCard.css";
class ReviewsCard extends Component {
renderReviews() {
return this.props.reviews.map(review => {
return (
<Fragment>
<div
className="review__card"
key={review._id}
data-sta... |
import ReactDOM from 'react-dom';
import React from 'react';
import { Router, browserHistory } from 'react-router'
import routes from './routes.js'
ReactDOM.render((
<Router history={browserHistory}>
{ routes }
</Router>
), document.getElementById('main'));
|
"use strict";
/**
* @module opcua.miscellaneous
*/
const util = require("util");
const assert = require("node-opcua-assert").assert;
const EventEmitter = require("events").EventEmitter;
const PacketAssembler = require("node-opcua-packet-assembler").PacketAssembler;
const BinaryStream = require("node-opcua-binary-s... |
function packageJson(context) {
let { name, description } = context
return {
'name' : name,
'version' : '1.0.0',
'description' : description,
'main' : 'index.js',
'scripts' : {
'test': 'echo "Error: no test specified" && exit 1',
},
'keywords' ... |
export default Ember.HTMLBars.template((function() {
return {
meta: {
"fragmentReason": {
"name": "missing-wrapper",
"problems": [
"wrong-type"
]
},
"revision": "Ember@2.3.0",
"loc": {
"source": null,
"start": {
"line": 1,
... |
// GENERATED FILE
export default [{"locale":"saq","pluralRuleFunction":function (n,ord){if(ord)return"other";return n==1?"one":"other"},"fields":{"year":{"displayName":"Lari","relative":{"0":"this year","1":"next year","-1":"last year"},"relativeTime":{"future":{"other":"+{0} y"},"past":{"other":"-{0} y"}}},"month":{"d... |
/*
This file is made up of a combination of original code, along with code extracted from the following repositories:
https://github.com/mmoskal/dapjs/tree/a32f11f54e9e76a9c61896ddd425c1cb1a29c143
https://github.com/microsoft/pxt-microbit
The pxt-microbit license is included below.
*/
/*
PXT - Prog... |
Ext.data.JsonP.PointInTime_model_AppSettingsModel({"tagname":"class","name":"PointInTime.model.AppSettingsModel","autodetected":{"aliases":true,"alternateClassNames":true,"extends":true,"mixins":true,"requires":true,"uses":true,"members":true,"code_type":true},"files":[{"filename":"AppSettingsModel.js","href":"AppSetti... |
var searchData=
[
['m',['M',['../structarm__fir__decimate__instance__q15.html#aad9320284218b3aa378527ea518cf093',1,'arm_fir_decimate_instance_q15::M()'],['../structarm__fir__decimate__instance__q31.html#ad3d6936c36303b30dd38f1eddf248ae5',1,'arm_fir_decimate_instance_q31::M()'],['../structarm__fir__decimate__instanc... |
"use strict";
/********************************************************************************
* Copyright (C) 2017 TypeFox and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl... |
(function() {
"use strict";
var x509_options = {
sslMode: "requireSSL",
sslPEMKeyFile: "jstests/libs/server.pem",
sslCAFile: "jstests/libs/ca.pem",
sslClusterFile: "jstests/libs/cluster_cert.pem",
sslAllowInvalidHostnames: "",
clusterAuthMode: "x509"
};
... |
import { BORDER_NONE } from '../../constants/borders';
export const roundNameRow = roundProfile => [
[
{
text: {
text: roundProfile.roundName,
fontSize: roundProfile.bracketProfile?.fontSize || 9,
},
border: roundProfile.roundName ? [0, 0, 0, 1] : BORDER_NONE,
alignment: r... |
const find = require('find-process');
find('name', 'nginx', true)
.then(function (list) {
console.log('there are %s nginx process(es)', list.length);
});
|
import "react-native-gesture-handler";
import React, { useEffect, useState } from "react";
import { firebase } from "./src/firebase/config";
import { NavigationContainer, DefaultTheme } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
import { SafeAreaView, Text, View, Bu... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... |
const KnownOriginDigitalAsset = artifacts.require('KnownOriginDigitalAsset');
const HDWalletProvider = require('truffle-hdwallet-provider');
const infuraApikey = 'nbCbdzC6IG9CF6hmvAVQ';
const mnemonic = process.env.KNOWN_ORIGIN_MNEMONIC;
module.exports = function (deployer, network, accounts) {
let _developerAccou... |
var searchData=
[
['user_20manual',['User Manual',['../index.html',1,'']]],
['uint',['uint',['../structboost_1_1hana_1_1integral__constant.html#a5071dd223185718f85da1db48fb95d80',1,'boost::hana::integral_constant']]],
['uint_5fc',['uint_c',['../structboost_1_1hana_1_1integral__constant.html#a79f45e3c2411db1d36127... |
import React, { Component } from "react";
import {
View,
Text,
StyleSheet,
SafeAreaView,
Platform,
StatusBar,
Image,
Switch
} from "react-native";
import { RFValue } from "react-native-responsive-fontsize";
import firebase from "firebase";
export default class Profile extends Component... |
require('./faq/questions');
require('./faq/categories');
require('./faq/item');
|
/* eslint-disable prettier/prettier */
import AllOrdersPage from "views/Orders/AllOrders/AllOrders";
import OrderedPage from "views/Orders/Ordered/Ordered";
import Reviewed from "views/Orders/Reviewed/Reviewed";
import PendingRefund from "views/Orders/PendingRefund/PendingRefund";
import ReviewDeleted from "views/Order... |
module.exports = [
{
entry: {
"ui3kitify-node-hero": "./app/components/ui3kitify-node-hero.vue",
"widget-theme": "./app/components/widget-theme.vue",
"icon-node": "./app/components/icon-node.vue",
"theme-configure": "./app/views/theme-configure.js",
},
output: {
filename: "./... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SuccessResponse = exports.MasterModel = void 0;
class SuccessResponse {
constructor() {
this.keyModified = new Map();
}
/**
* The method to get the code
* @returns An instance of Choice<string>
*/
... |
export { default as Cards } from "./Cards/Cards";
export { default as Chart } from "./Chart/Chart";
export { default as CountryPicker } from "./CountryPicker/CountryPicker" |
/* @generated */
// prettier-ignore
if (Intl.DateTimeFormat && typeof Intl.DateTimeFormat.__addLocaleData === 'function') {
Intl.DateTimeFormat.__addLocaleData({"data":{"am":"vm.","pm":"nm.","weekday":{"narrow":["S","M","D","W","D","V","S"],"short":["So.","Ma.","Di.","Wo.","Do.","Vr.","Sa."],"long":["Sondag","... |
Search.setIndex({terms:{expect:[14,16],string2:26,place:4,actual:16,predic:16,also:[7,10,22,16],xbootclasspath:7,heap:7,collector:7,ffff:[7,1],sun:3,iso:3,data_1_week:16,uniqu:[7,1,13],ascii:26,approx_distinct:19,"2nd":3,regexp_extract:14,show:[8,0,11,12,21,22,23,15,16,25,17,18],deploy:7,union:2,count:[2,19,16],bin:7,r... |
import React from 'react';
import { withRouter } from 'react-router-dom';
import CalendarHeatmap from 'react-calendar-heatmap';
import 'react-calendar-heatmap/dist/styles.css';
const Calendar = ({ logs, history }) => {
const handleClick = event => {
if (event) {
const { habit_id, id } = ev... |
const DEFAULTS = require('./jest.config.defaults');
module.exports = {
projects: [
{ ...DEFAULTS, preset: 'jest-expo/ios' },
{ ...DEFAULTS, preset: 'jest-expo/android' },
{ ...DEFAULTS, preset: 'jest-expo/web' },
],
};
|
import assert from "assert";
import reverse from "../basics/reverse.js";
describe("reverse.js in js/exercise/basics ", function () {
const qna = [
["cat", "tac"],
["alphabet", "tebahpla"],
["niknok", "konkin"],
["javascript", "tpircsavaj"],
];
for (let index = 0; index < qna.length; index++) {
... |
const not = true;
export const map = new Map([
[`主站`, `Home`],
[`画友`, `Photos`],
[`音频`, `Audio`],
[`游戏中心`, `Game`],
[`会员购`, `Shop`],
[`下载APP`, `App`],
[`会员`, [
`User`,
{
selector: `.ep-list-wrapper .ep-item .badge.pink`,
text: `VIP`,
},
]],
[`大会员`, `VIP`],
[`小会员`, `Reverse VI... |
'use strict'
const path = require('path')
const config = require('../config')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const pkg = require('../package.json')
exports.assetsPath = function (_path) {
const assetsSubDirectory = process.env.NODE_ENV === 'production'
? config.build.assetsSubDi... |
'use strict';
const clone = require('lodash/clone');
const find = require('lodash/find');
const map = require('lodash/map');
const toUpper = require('lodash/toUpper');
const common = require('@lykmapipo/common');
const env = require('@lykmapipo/env');
const camelCase = require('lodash/camelCase');
const forEach = requ... |
const jwt = require('jsonwebtoken');
const User = require('../models/user');
const requireAuth = (req,res,next)=>{
const token = req.cookies.jwt;
if(token){
jwt.verify(token,process.env.secretString, async (err,decodedToken) =>{
if(err){
res.redirect('/auth/login... |
import React from 'react'
import './App.css';
import Home from '../src/pages/Home'
import "./style/blog-css.css"
import {Switch, Route} from 'react-router-dom';
function App() {
return (
<>
<Switch>
<Route exact path='/' component={() => <Home/>} />
<Route path='/' component={() => <h1>P... |
import React from 'react';
import PropTypes from 'prop-types';
import RememberMe from './LoginCardRememberMe';
import { FormGroup } from '../../../../index';
import ForgotPassword from './LoginCardForgotPassword';
const LoginCardSettings = ({ rememberMe, forgotPassword, className, ...props }) =>
(rememberMe || forgo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.