text
stringlengths
2
1.04M
const mongoose = require('mongoose'); module.exports = () => { mongoose.connect(process.env.DB_STRING,{useNewUrlParser: true}); mongoose.connection.on('open', () => { console.log('MongoDb Connected'); }); mongoose.connection.on('error',(err)=>{ console.log(`MongoDB error :${err}); ...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /*! * @license * Copyright 2019 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
import { mat4 } from 'gl-matrix'; import { GltfObject } from './gltf_object'; class gltfScene extends GltfObject { constructor(nodes = [], name = undefined) { super(); this.nodes = nodes; this.name = name; // non gltf this.imageBasedLight = undefined; } initGl(...
// import React from 'react' // import Helmet from 'react-helmet' // import { Link, graphql } from 'gatsby' // import Layout from '../components/Layout' // class TagRoute extends React.Component { // render() { // const posts = this.props.data.allMarkdownRemark.edges // const postLinks = posts.map(post => ( ...
var ModelsBaseObj_T3_Dynamic_FieldType = { "Model" : { "DFKey" : "", "Type" : "", "Title" : "" }, "Fun_SetValue": function () { Common_SetValue(this.Model); }, "Fun_GetValue": function () { this.Model = Common_GetValue(this.Model); }, "Fun_Serialize": function () { return Common_Serialize(this.Model...
throw new Error( "do not `require('bottender-dashbot')` directly, use one of submoudles instead. For example, `require('bottender-dashbot/express')`." );
const router = require('express').Router(); router.get('/', (req, res) => { res.render('homepage'); }); module.exports = router;
const env = process.env.NODE_ENV || 'development'; const config = { development: { port: process.env.PORT || 3000, dbURL: 'mongodb://localhost:27017/cubicle' }, production: {} }; module.exports = config[env];
/* * Copyright 2015 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you 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 * *...
import { factory } from '../../utils/factory.js'; var name = 'invmod'; var dependencies = ['typed', 'config', 'BigNumber', 'xgcd', 'equal', 'smaller', 'mod', 'add', 'isInteger']; export var createInvmod = /* #__PURE__ */factory(name, dependencies, _ref => { var { typed, config, BigNumber, xgcd, eq...
import { shape, string, number } from "prop-types"; const BeskjedType = shape({ uid: string, eventId: string.isRequired, tekst: string.isRequired, sikkerhetsnivaa: number.isRequired, link: string, }); export default BeskjedType;
// ELMO.Views.OptionSetForm // // View model for the option sets form. ;(function(ns, klass) { // constructor ns.OptionSetForm = klass = function(params) { var self = this self.done = false self.params = params // setup OptionLevelsField view self.option_levels_field = new ELMO.Views.OptionLe...
module.exports = { plugins: [ `gatsby-plugin-emotion`, { resolve: `gatsby-source-filesystem`, options: { path: `${__dirname}/src`, name: 'src' } }, `gatsby-transformer-remark` ] };
import VirtualCanvas from"../_internal/components/canvases/vcanvas.js";import{componentFactory}from"@fusioncharts/core/src/lib";export default function(chart){var canvas,canvasArr=chart.getChildren("canvas"),canvasLen=canvasArr.length,vCanvas,xAxis=[],yAxis=[],axes,l,i,k,j;for(l=0;l<canvasLen;l++,xAxis=[],yAxis=[]){can...
import React from 'react' import Grid from '@material-ui/core/Grid' import Card from '@material-ui/core/Card' import CardActions from '@material-ui/core/CardActions' import Button from '@material-ui/core/Button' import { Redirect } from 'react-router-dom' import { withStyles } from '@material-ui/core/styles' import Ma...
var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function(req, res, next) { res.render('index', { index:0 }); }); module.exports = router;
const BackboneElement = require('./BackboneElement'); const DateTimeScalar = require('./scalars/DateTime.scalar'); class ConformanceSoftware extends BackboneElement { constructor ( opt ) { super( opt ); this.__resourceType = 'ConformanceSoftware'; Object.assign(this, opt); } // This is a ConformanceSoftware...
module.exports = class AspectsMock { constructor(schema) { this.schema = schema; } getInferredTypes() { return this.schema.getTypeNames(); } getDocumentTypes() { return this.schema.getTypeNames(); } getDisplayName(name) { return this.schema.get(name).title; } };
(function(angular) { config.$inject = []; function config() { console.log("Config: MyApp.Controllers"); } angular.module("MyApp.Controllers") .controller(config); })(angular);
const isLocalhost = Boolean( window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address. window.location.hostname === '[::1]' || // 127.0.0.1/8 is considered localhost for IPv4. window.location.hostname.match( /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ )...
/** * Main navigation background * Empty: transparent */ generate_colors_live_update( 'slideout_background_color', '.main-navigation.slideout-navigation', 'background-color', '' ); /** * Primary navigation text color * Empty: link_color */ generate_colors_live_update( 'slideout_text_color', '.slideout-navigati...
import React from 'react'; import ReactDOM from 'react-dom'; import './App.css'; import App from './App'; import ThemeContextWrapper from './darkMode'; import reportWebVitals from './reportWebVitals'; import { CookiesProvider } from 'react-cookie'; ReactDOM.render( <CookiesProvider> <ThemeContextWrapper> <React.St...
export const mixinInfo = { data () { return { cols: [ { type: 'index', width: 80, align: 'center', indexMethod: (row) => { return (row._index + 1) + (this.pageData.size * this.pageData.current) - this.pageData.size } }, { ...
import React from "react" import PropTypes from "prop-types" import styled from "styled-components" import { border, color, compose, flexbox, layout, space, typography, } from "styled-system" import Image from "gatsby-image" const findPlayer = (players, activeLogoID) => { let foundPlayer = null playe...
var imgDir = "assets/", songDir = "songs/"; var songs = [ { name:"Lean On", artist:"Major Lazer, MO, DJ Snake", duration:"2:56", link:songDir+"lean.mp3", songImg:imgDir+"lean.jpg", coverImg:imgDir+"lean-cover.jpg" }, { name:"Sun is shining", artist:"Axwell-Ingrosso", duration:"4:10", link:songDir+"sun.mp...
const stringFormat = require('../../src/formats/string-format')( JSON.stringify ); const testSeq0 = require('../test-error-0').sequences().first(); // Not going to do tests for the appearance of the output, that is something // better checked by eye. However, there are a few things I would like to // assert are bei...
import React from 'react'; import { TextInput, View, StyleSheet, Platform, TouchableWithoutFeedback, Text, TouchableOpacity } from 'react-native'; import Icon from '../Icon'; const noop = () => {}; function normalizeValue(value) { if (typeof value === 'undefined' || value === null) { return ''; } return va...
import { Color, LightProbe, LinearEncoding, SphericalHarmonics3, Vector3, sRGBEncoding } from '../.././build/three.module.js'; class LightProbeGenerator { // https://www.ppsloan.org/publications/StupidSH36.pdf static fromCubeTexture( cubeTexture ) { let totalWeight = 0; const coord = new Vector3(); c...
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2026-01-04 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
function basename(path, suffix) { // discuss at: http://phpjs.org/functions/basename/ // original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) // improved by: Ash Searle (http://hexmen.com/blog/) // improved by: Lincoln Ramsay // improved by: djmix // improved by: Dmitry Gorelenkov // exampl...
import React from "react"; import { StyledContent } from "../../components/layout/SyledLayout"; const Content = (props) => { return ( <StyledContent {...props}> <div className="container h-100"> <div className="h-100 fade show">CONTAINER</div> </div> </StyledContent> ); }; export defa...
import { Favourites } from '../../actions/actionTypes'; const DEFAULT_STATE = { favourites: [] }; const unique = arrArg => arrArg.filter((elem, pos, arr) => arr.indexOf(elem) == pos); export default (state = DEFAULT_STATE, action) => { switch (action.type) { case Favourites.ADD_TO_FAVOURITES: return { .....
import Ame from 'ame-super-app-client' export default class Reports { // Esta função navega entre as telas navigateTo = (item) => { Ame.navigation.navigate('Sell') } }
goog.provide('com.wsscode.pathom.book.connect.mutation_async'); goog.require('cljs.core'); goog.require('cljs.core.async'); goog.require('com.wsscode.common.async_cljs'); goog.require('com.wsscode.pathom.book.util.indexeddb'); goog.require('com.wsscode.pathom.connect'); goog.require('com.wsscode.pathom.core'); com.wssc...
import React, { Component } from "react"; import { connect } from "react-redux"; import { Link, withRouter } from "react-router-dom"; import MenuItem from "@material-ui/core/MenuItem"; import Select from "@material-ui/core/Select"; import FormControl from "@material-ui/core/FormControl"; import ClipLoader from "react-s...
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
import React from "react"; import styled from "styled-components"; /*---> Component <---*/ function AllCardsWrapper({ children, ...restProps }) { return <Wrapper {...restProps}>{children}</Wrapper>; } /*---> Styles <---*/ export const Wrapper = styled.div` display: flex; flex-direction: row; text-align: cente...
/** * @license * Copyright 2021 Renze Nicolai * This code is released under the MIT license. * SPDX-License-Identifier: MIT */ "use strict"; const Rpc = require("./rpc.js"); const SessionManager = require("./session.js"); const Webserver = require("./webserver.js"); module.exports = { Rpc, SessionManager, Webse...
import { prism } from '.'; import { isNonNegative } from './NonNegative'; import { isNonZero } from './NonZero'; /** * @since 0.2.0 */ export var isPositive = function (n) { return isNonZero(n) && isNonNegative(n); }; /** * @since 0.2.0 */ export var prismPositive = prism(isPositive);
!function(e){function r(r){for(var n,u,a=r[0],l=r[1],p=r[2],f=0,s=[];f<a.length;f++)u=a[f],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(c&&c(r);s.length;)s.shift()();return i.push.apply(i,p||[]),t()}function t(){for(var e,r...
/// <reference path="typedefs.d.ts" /> const siteData = Vue.reactive({}) const html = String.raw const app = Vue.createApp({ template: html` <div id="aux" v-if="currentLink" :class="{'--hide-on-mobile': hidingListOnMobile}" > <div id="site-info"> <nav id="site-nav"> <button @click="pr...
/** * Copyright IBM Corp. 2016, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; var _20 = { "elem": "svg", "attrs": { "xmlns": "http:/...
macDetailCallback("0050c2404000/36",[{"a":"C241, National Hi-Tech(westzone) ChengDu SiChuan CN 611731","o":"NanShanBridge Co.Ltd","d":"2008-07-30","t":"add","s":"ieee","c":"CN"}]);
/*eslint-env mocha*/ /*import {assert} from "chai"; import React from "react"; import {Dashboard, App} from "./index"; import testTree from "react-test-tree";*/
var cheerio = require("cheerio"); var Crawler = require("crawler"); var url = require('url'); var fs = require('fs'); var u = require('../utils.js'); var w = require('../writer.js'); var path = require('path'); var scriptName = path.basename(__filename); var c = new Crawler({ maxConnections : 1, // This will b...
const express = require("express"); const bodyParser = require('body-parser'); const mysql = require("mysql"); const nodemailer = require('nodemailer'); // const cookieParser = require('cookie-parser'); const session = require('express-session'); const bcrypt = require('bcryptjs'); var MySQLStore = require('express-mys...
class UiHelper { // Return value if value is defined, or default to x valOr(val, x='') { if (val === undefined || val === null || val === "") { return x } else { return val } } // Return boolean checkOr(checked) { return checked ? true : false...
/** @author Konstantin Bogdanoski (konstantin.b@live.com) */ let dragon = function (name, size, element, baby) { return name + " is a " + size + " dragon that breaths " + element + " and " + baby; }; let append = function (func, num, args) { return function (x) { args.push(x); if (num === fu...
'use strict' const merge = require('webpack-merge') const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { NODE_ENV: '"development"', // API BASE_API: '"http://47.75.38.171/backend"', // BASE_API: '""', // 跳转 BASE_HREF: '"http://127.0.0.1:2018"' })
import React, { Component } from 'react' import axios from 'axios' import AddCustomer from './edit/AddCustomer' import { Alert, Card, CardBody, Row } from 'reactstrap' import DataTable from '../common/DataTable' import CustomerFilters from './CustomerFilters' import CustomerItem from './CustomerItem' import Snackbar fr...
const router = require('express').Router(); const Task = require('../model/Task'); const { auth } = require('../validToken'); router.post("/tasks",async (req,res)=>{ //creatw new Task const task = new Task({ name:req.body.name, description:req.body.description, payout_status:req.body.p...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["mapping"] = factory(); else root["mappi...
import React from "react"; import { Button, Box } from "@material-ui/core"; import { Close } from "@material-ui/icons"; import styles from "./Privacy.module.scss"; const PrivacyPolicy = ({ closeModal }) => { return ( <div> <div style={{textAlign:'right'}}> <Button variant="text"...
/** * GRAPPELLI UTILS * functions needed for Grappelli */ // grp jQuery namespace var grp = { "jQuery": jQuery.noConflict(true) }; // django jQuery namespace var django = { "jQuery": grp.jQuery.noConflict(true) }; var inputTypes = [ "[type='search']", "[type='email']", "[type='url']", "[ty...
var output_json_tls_8h = [ [ "TmModuleJsonTlsLogRegister", "output-json-tls_8h.html#addb5ac20897fc63706d26f54ce5a9ac2", null ] ];
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * @namespace Phaser.GameObjects.Graphics.Commands */ module.exports = { ARC: 0, BEGIN_PATH: 1, CLO...
Ext.namespace('Zarafa.plugins.xmpp'); /** * @class Zarafa.plugins.xmpp.XmppRosterManager * @extends Ext.util.Observable * * The roster manager maintains a list of known users. The manager obtains a complete list of known * users at login, after which updates to this list (i.e. user add/remove events, presence c...
/** * Security Settings * (sails.config.security) * * These settings affect aspects of your app's security, such * as how it deals with cross-origin requests (CORS) and which * routes require a CSRF token to be included with the request. * * For an overview of how Sails handles security, see: * https://sailsjs...
'use strict'; const fs = require('fs'); const path = require('path'); const O = require('../omikron'); const obfuscate = require('./obfuscate'); const EVAL = 1; const cwd = __dirname; const fin = path.join(cwd, 'input.js'); const fout = path.join(cwd, 'output.js'); setTimeout(main); function main(){ const input ...
const test = require('ava'); const sinon = require('sinon'); const rewire = require('rewire'); const cmrUtils = rewire('../../cmr-utils'); const { BucketsConfig, log } = require('@cumulus/common'); const { randomId } = require('@cumulus/common/test-utils'); function setTestCredentials() { process.env.cmr_provid...
#!/usr/bin/env node /*--------------------------------------------------------------------------------------------- * Copyright (c) Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *-----------------------------------------------------------...
'use strict'; ///////////////////////////////////// /* Problem 1 (this is your demo that we'll solve in class) Write a function called sum() that takes in two numbers as arguments and then returns an array where the first element is the sum of those numbers, and the second element is a concatenated string that EXACTLY ...
/* @date:2015-10-13_15_36_35 */
const { join, relative, resolve, sep, dirname } = require("path"); const webpack = require("webpack"); const nsWebpack = require("nativescript-dev-webpack"); const nativescriptTarget = require("nativescript-dev-webpack/nativescript-target"); const { nsReplaceBootstrap } = require("nativescript-dev-webpack/transformers...
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.geo.charting._base"]){ //_hasResource checks added by build. Do not use _hasResource directly ...
const generator = require('chinese-address-generator/generator4'); for (let index = 0; index < 100; index++) { console.log(generator.fabricateFullAddress()); }
/** * Common functionality. */ define(['angular', './services/helper', './services/playRoutes', './filters', './semantic', './popover_service', 'angular-file-upload', './directives/building_info', './directives/bar', './directives/required', './directives/files' ], function(angular) { 'use strict'; ...
angular.module('angularjs.bootstrap.tagsinput', []) .factory('tagsInput', function (TagsInputConstants) { var TagsInput = function (options, element) { this.prop = { maxTags: parseInt(options.maxTags, 10), maxLength: parseInt(options.maxLength, 10), ...
/* * Author: Abdullah A Almsaeed * Date: 4 Jan 2014 * Description: * This is a demo file used only for the main dashboard (index.html) **/ $(function () { "use strict"; //Make the dashboard widgets sortable Using jquery UI $(".connectedSortable").sortable({ placeholder: "sort-highlight", conn...
$(document).ready(function () { var datatable; datatable = $('#basicDataTable').DataTable({ "language": { "emptyTable": "No records found." }, "pagingType": "full_numbers", "iDisplayLength": admin_per_page_limit, "lengthMenu": admin_page_limits, "serve...
const {join, resolve} = require('path'); const PROJECT_PATH = resolve(__dirname + '/../..'); module.exports = { PROJECT_PATH, SRC_PATH: join(PROJECT_PATH, '/src'), RES_PATH: join(PROJECT_PATH, '/res'), DIST_PATH: join(PROJECT_PATH, '/dist'), };
import { ThemeProvider } from 'styled-components' import { AppProvider } from '../src/context' import GlobalStyles from '../src/styles/global' import theme from '../src/styles/theme' export const decorators = [ (Story) => ( <ThemeProvider theme={theme}> <AppProvider> <GlobalStyles /> <Story...
module('baidu.ui.Dialog.Dialog$button'); /** * <li>createButtons * <li>removeButtons */ test('create/remove buttons', function() { expect(4); var dialog = new baidu.ui.Dialog( { buttons : { "testButton" : { "content" : "OK" } } }); dialog.render(); ok(dialog.buttonInstances['testButton'], 'button...
const gulp = require('gulp'); const exec = require('child_process').exec; const path = require('path'); const fs = require('fs'); function executeNpm(commandName) { return (cb) => { exec(`npm run ${commandName}`, (err, stdout, stderr) => { console.log(stdout); if(stderr) { ...
᠎"!="​ ᠎"[t]()||r[t].name!==t}))}}]);
'use strict'; const Action = require('./Action'); const { Events } = require('../../util/Constants'); class PresenceUpdateAction extends Action { handle(data) { let user = this.client.users.cache.get(data.user.id); if (!user && data.user.username) user = this.client.users.add(data.user); if (!user) retu...
webpackHotUpdate("static/development/pages/chinese.js",{ /***/ "./pages/chinese/index.tsx": /*!*********************************!*\ !*** ./pages/chinese/index.tsx ***! \*********************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use stri...
const generate = require('nanoid/generate'); const CHARS = { 'base-20': 'BCDFGHJKLMNPQRSTVWXZ', digits: '0123456789', }; module.exports.generate = (charset, mask) => { const length = mask.split('*').length - 1; const generated = generate(CHARS[charset], length); let at = 0; return mask.split('').map((p) =...
"use strict"; var toString = require("mdast-util-to-string"); var visit = require("unist-util-visit"); var slugs = require("github-slugger")(); var deburr = require("lodash/deburr"); function patch(context, key, value) { if (!context[key]) { context[key] = value; } return context[key]; } var svgIcon = ...
'use strict'; var express = require('express'), handlers = require('./handlers'), models = require('./models'), helpers = require('./helpers'), custom = require('./custom'), utils = require('./utils'), spike = require('./spike'), features = require('./features'), processors = require('./...
import OurVue from './vue' import cloneDeep from './clone-deep' import get from './get' import { isArray, isPlainObject, isString, isUndefined } from './inspect' import { getOwnPropertyNames, hasOwnProperty } from './object' import { warn } from './warn' import DEFAULTS from './config-defaults' // --- Constants --- c...
'use strict' import { createObjectPrototype } from 'component-registry' import BaseField from './BaseField' import { i18n } from '../utils' /* A Select Field allows you to choose a single value from a selection valueType: TextField, options: [{name: "1", title: "First"}] */ // TODO: Write tests import...
const { expect } = require('chai'); describe('Request Hooks', () => { describe('RequestMock', () => { it('Basic', () => { return runTests('./testcafe-fixtures/request-mock/basic.js', 'Basic', { only: 'chrome' }); }); it('Request failed the CORS validation', () => { ...
import { fetch } from 'fetch' const baseUrl = 'https://api.apiopen.top'; //音乐排行榜接口 const musicRankingUrl = '/musicRankings'; //音乐排行榜详情接口 //参数 type: Number,榜单的type //https://api.apiopen.top/musicRankingsDetails?type=2 const musicRankingDetailUrl = '/musicRankingsDetails'; //音乐电台接口 const musicBroadcastUrl = '/music...
/** * Created by Alex Goldring on 25.02.2015. */ import Vector3 from "../../../core/geom/Vector3"; import { AABB3 } from "../../../core/bvh2/AABB3"; import { LeafNode } from '../../../core/bvh2/LeafNode'; import { computeHashFloat, computeHashIntegerArray } from "../../../core/math/MathUtils.js"; import { computeStri...
!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){var o,r;o=n(2),r=n(16),e.exports=o||{},e.exports.__esModule&&(e.exports=e.exports["default"]),r&&(("fu...
import React from 'react'; import { render, screen, waitFor, fireEvent } from '@testing-library/react'; import App from '../App'; import * as api from '../services/api'; import mockedCategoriesResult from '../__mocks__/categories'; import mockedQueryResult from '../__mocks__/query'; jest.mock('../services/api'); api.g...
import { html, define } from 'may-it-be/index.js'; const mode = process.argv[2]; const beDefinitiveProps = { config: { tagName: 'xtal-fig-db-cylinder', } }; const innerHTML = html ` <style> :host[hidden]{ display:none; } :host{ display:block; } slot[is-ferried]{ ...
import { DocumentDetailsLink } from '@components/backoffice/buttons/ViewDetailsButtons/DocumentDetailsLink'; import { InfoMessage } from '@components/backoffice/InfoMessage'; import { Error } from '@components/Error'; import { Loader } from '@components/Loader'; import LiteratureTitle from '@modules/Literature/Literatu...
import React from 'react' const BlogList = props => { return ( <div style={styles.contentBlog}> <h1 style={styles.title}>{props.title}</h1> <p style={styles.pBlog}>{props.content}</p> <p style={styles.pBlog2}>{props.author} - {props.date}</p> </div> ) } ...
var searchData= [ ['incr_45',['incr',['../classcoro__redis_1_1connection.html#a15405af586017c881ccf547e21d29029',1,'coro_redis::connection']]], ['incrby_46',['incrby',['../classcoro__redis_1_1connection.html#afb83115c674938f8035aa81ac46fcfad',1,'coro_redis::connection']]], ['incrbyfloat_47',['incrbyfloat',['../cl...
var treeNetwork = [{"data": {"id": "1", "idInt": 1, "name": "AI4-97", "href": "https://playingabout.atlassian.net/browse/AI4-97", "type": "Story"}, "group": "nodes", "removed": false, "selected": false, "selectable": true, "locked": false, "grabbable": true}, {"data": {"id": "0", "idInt": 0, "name": "AI4-88", "href": "...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V2c0-.55-.45-1-1-1s-1 .45-1 1v1.06C6.83 3.52 3.52 6.83 3.06 11H2c-.55 0-1 .45-1 1s.45 1 1 1h1.06c.46...
const Discord = require('discord.js'); exports.run = function(client, message, args) { let user = message.mentions.users.first(); if (message.mentions.users.size < 1) return message.reply('**Kime sarılıcaksın ? **').catch(console.error); const healthpack =new Discord.MessageEmbed() .setColor("0x808080...
#!/usr/bin/env node const yargs = require('yargs') const fs = require('fs') const Ajv = require('ajv') const yaml = require('js-yaml') const schema = require('../schema.json') const options = yargs .usage('Usage: --definition <definition> --data <file>') .option('definition', { describe: 'Definition', ty...
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */
chrome.runtime.onInstalled.addListener(() => { chrome.declarativeContent.onPageChanged.removeRules(undefined, () => { chrome.declarativeContent.onPageChanged.addRules([ { conditions: [ new chrome.declarativeContent.PageStateMatcher({ pageUrl: { urlPrefix: 'https:/...
import { FilledChatBubble as RoundChatBubble } from './FilledChatBubble'; export { RoundChatBubble };
import child_process from 'child_process'; export function execCmd(cmd) { cmd += ' 2>&1'; return new Promise((resolve, reject) => { const cp = child_process.exec(cmd, function (err, stdout) { if (err) { reject(`#CMD#: ${cmd}\n` + stdout); } else { ...
import 'firebase/firestore' import 'firebase/auth' import firebase from 'firebase/app' import config from './config' export default (context, inject) => { if (!firebase.apps.length) { firebase.initializeApp(config.firebaseConfig) } inject('firestore', firebase.firestore()) inject('fireAuth', firebase.aut...