text stringlengths 2 1.04M |
|---|
import * as React from 'react'
import { makeStyles, withStyles } from '@material-ui/core/styles'
import Button from '@material-ui/core/Button'
import Dialog from '@material-ui/core/Dialog'
import MuiDialogTitle from '@material-ui/core/DialogTitle'
import IconButton from '@material-ui/core/IconButton'
import CloseIcon f... |
export{default as applyStyles}from"./applyStyles.js";export{default as arrow}from"./arrow.js";export{default as computeStyles}from"./computeStyles.js";export{default as eventListeners}from"./eventListeners.js";export{default as flip}from"./flip.js";export{default as hide}from"./hide.js";export{default as offset}from"./... |
'use strict';
const pg = require('pg');
const fs = require('fs');
const express = require('express');
const bodyParser = require('body-parser');
const requestProxy = require('express-request-proxy');
const PORT = process.env.PORT || 3000;
const app = express();
// client.connect();
app.use(bodyParser.json());
app.us... |
$(document).ready(function(){
var specialElementHandler = {
'#editor': function(element, renderer){
return true;
}
};
});
$('#cmd').click(function(){
var doc = new jsPDF();
doc.fromHTML($('#target').html(),15,15,{
"width":170,
"elementHandlers": specialEleme... |
const express = require('express');
const path = require('path');
const app = express();
const engine = require('ejs');
const bodyparser = require('body-parser');
const urlencoder = bodyparser.urlencoded({extended: true});
const dns = require('dns');
const session = require('express-session');
var connectMongo = requir... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Colors = void 0;
var Colors;
(function (Colors) {
Colors[Colors["DiscordBot"] = 16777215] = "DiscordBot";
Colors[Colors["Success"] = 62061] = "Success";
Colors[Colors["Cancel"] = 15679308] = "Cancel";
Colors[Colors["Pus... |
/**
* @license
* Copyright 2016 Thomas Steiner (@tomayac). 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
*
... |
const Engine = Matter.Engine;
const World= Matter.World;
const Bodies = Matter.Bodies;
//Create namespace for Engine
//Create namespace for World
//Create namespace for Bodies
//Create namespace for Body
var engine,world;
var ball,ground;
function setup() {
createCanvas(400,400);
//create the engine
//Add world ... |
import * as React from 'react';
import wrapIcon from '../utils/wrapIcon';
const rawSvg = (iconProps) => {
const { className, primaryFill } = iconProps;
return React.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", xmlns: "http://www.w3.org/2000/svg", className: className },
React.crea... |
import { css } from '@emotion/core';
import { curry, propOr } from 'ramda';
const hasOrReturn = curry((path, property) => propOr(property, property, path));
const transitions = {
safeAttributes: [
'color',
'border-style',
'border-color',
'visibility',
'background',
'background-color',
't... |
var ipcaJson = require('../helpers/ipca/ipca-json');
module.exports = function(app) {
var IpcaController = {
index: function (req, res) {
ipcaJson(function (json) {
res.setHeader('Content-Type', 'application/json');
res.send(JSON.stringify(json));
});
}
};
return IpcaController;
}; |
/*!
Copyright (C) 2017 Google Inc.
Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
*/
(function (can, GGRC) {
'use strict';
var tpl = can.view(GGRC.mustache_path +
'/components/ca-object/ca-object-modal-content.mustache');
can.Component.extend({
tag: 'ca-object-modal-con... |
exports.owners = require('./owners'); |
const mix = require('laravel-mix');
const tailwindcss = require('tailwindcss');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some W... |
//Browan version:1.0
function decodeUplink(input) {
switch (input.fPort) {
case 100:
var status_low = (input.bytes[0] - ((input.bytes[0] >> 4) * 16)) % 2;
var int_battery = (25 + (input.bytes[1] - ((input.bytes[1] >> 4) * 16))) / 10;
var int_Temp = input.bytes[2] - 32;
var int_Time = input... |
/*
* Copyright (C) 2014 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration. All Rights Reserved.
*/
/**
* @version $Id: Vec3.js 3001 2015-04-09 20:13:50Z tgaskins $
*/
define([
'../util/Logger',
'../error/ArgumentError'
],
fu... |
import * as R from 'ramda';
import t from '../../locale';
import { formProjectApiUrl, getJSON, putJSON, ServerResponseError } from '../../utils/ajax';
import { serverDateToString, withTimeout } from '../../utils';
/**
* Fetch project from the server by id
* @async
* @param {number} projectId
* @return {Promise}
*/... |
import request from '@/utils/request'
export function getRoutes() {
return request({
url: '/routes',
method: 'get'
})
}
export function getRoutesByUsername(username) {
return request({
url: '/getRoutesByUsername',
method: 'get',
params: { username }
})
}
export function getRoles() {
ret... |
import ReactiveElement from "../core/ReactiveElement.js"; // eslint-disable-line no-unused-vars
import {
defaultState,
firstRender,
raiseChangeEvents,
render,
setState,
state,
stateEffects,
swipeDown,
swipeLeft,
swipeRight,
swipeStart,
swipeTarget,
swipeUp,
} from "./internal.js";
import { can... |
function removeDollarSign(regEx) {
if (regEx[regEx.length - 1] === '$') {
return regEx.substr(0, regEx.length - 2);
}
return regEx;
}
function removeCarrot(regEx) {
if (regEx[0] === '^') {
return regEx.substr(1);
}
return regEx;
}
function getBody(regEx) {
const bodyNoSlashes = regEx.substr(1,... |
// Schemas
const User = require('../schemas/user.js');
const TravelNotice = require('../schemas/travel_notice.js');
const RawrRequest = require('../schemas/request.js');
const MessageCreator = require('../schemas/message.js');
module.exports = function(io) {
io.on('connection', function(socket) {
console.log(` a us... |
const fs = require('fs');
const AWS = require('aws-sdk');
const s3 = new AWS.S3({
accessKeyId: process.env.AWS_ACCESS_KEY,
secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY
});
const fileName = 'contacts.csv';
const uploadFile = () => {
fs.readFile(fileName, (err, data) => {
if (err) throw err;
... |
const path = require("path"),
rootDir = path.dirname(process.mainModule.filename),
bcrypt = require("bcrypt"),
{ validationResult } = require("express-validator"),
querys = require("./querys"),
tokenManager = require(path.join(rootDir, "util", "auth", "token"));
exports.getAll = async (req, res, next) => {
... |
RestaurantObject = class RestaurantObject {
constructor(room, data) {
this.index = data.index;
this.data = data;
this.identifier = data.identifier;
this.drag = false;
this.edit_form = null;
this.room = room;
this.obj = null;
this.data_style_keys = ['x'... |
// services/device/public/mojom/wake_lock.mojom.js is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2014 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.
'use strict';
(function() {
var mojom... |
'use strict';
module.exports = function(grunt) {
// Unified Watch Object
var watchFiles = {
serverViews: ['app/views/**/*.*'],
serverJS: ['gruntfile.js', 'server.js', 'config/**/*.js', 'app/**/*.js'],
clientViews: ['public/modules/**/views/**/*.html'],
clientJS: ['public/js/*.js', 'public/modules/**/*.js'],
... |
import {
NEW_PROJECT,
LOAD_PROJECT,
SAVE_PROJECT,
OPEN_CATALOG,
SELECT_TOOL_EDIT,
UNSELECT_ALL,
SET_PROPERTIES,
SET_ITEMS_ATTRIBUTES,
SET_LINES_ATTRIBUTES,
SET_HOLES_ATTRIBUTES,
REMOVE,
UNDO,
ROLLBACK,
OPEN_PROJECT_CONFIGURATOR,
SET_PROJECT_PROPERTIES,
INIT_CATALOG,
UPDATE_MOUSE_COORDS... |
/**
* Expression Add Operators
*
* Given a string that contains only digits 0-9 and a target value,
* return all possibilities to add binary operators (not unary) +, -,
* or * between the digits so they evaluate to the target value.
*
* Example 1:
*
* Input: num = "123", target = 6
* Output: ["1+2+3", "1*2*3"... |
import "typeface-fira-sans" |
const express = require('express');
const router = express.Router();
const admin = require('../config/firebase-config-admin');
const firebase = require('../config/firebase-config-client');
const database = admin.firestore();
/* Check if donations are expired */
router.use(async (req, res, next) => {
try {
await... |
require([
'$api/models',
'/strings/main.lang'
], function(models, mainStrings) {
'use strict';
//Setup a short-hand to get translation
var _ = SP.bind(mainStrings.get, mainStrings);
var doHelloWorld = function() {
document.querySelector('h1').innerHTML = _('hello');
};
exports.doHelloWorld = doHe... |
const path = require("path");
const HtmlWebPackPlugin = require("html-webpack-plugin");
module.exports = {
entry: "./src/index.js",
output: {
filename: "bundle.js",
path: path.join(__dirname, "dist")
},
devServer: {
contentBase: path.resolve(__dirname, "dist")
},
module: {
rules: [
{
... |
import { getGreetings } from "./samples/simple";
import { getGreetingsCurry } from "./samples/currying";
import { getGreetingsPartial } from "./samples/partial";
import {
getComposeSentenceCount,
getComposeDigitsInSentence,
getPath,
printStringPipe,
printStringPipeAsync,
printPipeWithAsynFunctions,
} from "... |
'use strict';
module.exports = exports = function(err, res) {
console.log(err);
res.status(500).json({msg: 'server error'});
}; |
//# sourceMappingURL=main.16333d9e.chunk.js.map |
import { APIResponse } from 'util/API';
import Cookies from 'js-cookie';
import UserAPI from 'apis/UserAPI';
import fetchMock from 'fetch-mock'; // Must be loaded after after anything that polyfills fetch
import config from 'config/index';
import { apiTest } from '../test-helpers';
describe('(API) UserAPI', () => {
... |
import { h } from 'vue'
export default {
name: "Heartbeat",
vendor: "Ph",
type: "",
tags: ["heartbeat"],
render() {
return h(
"svg",
{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 256 256","class":"v-icon","fill":"currentColor","data-name":"ph-heartbeat","innerHTML":" <rect width='256' ... |
function main(param) {
const scene = new g.Scene({
game: g.game,
assetIds: [
"mplus1c_regular_jis1",
"mplus1c_regular_jis1_glyph"
]
});
scene.loaded.add(function() {
// 背景の黒
var bg = new g.FilledRect({
scene: scene,
cssColor: "black",
x: 0,
y: 0,
width: g.game.width,
height: g.game.... |
'use strict';
var expect = require('chai').expect;
var semver = require('semver');
var path = require('path');
var supportedVersion = require('../../src/tracing/index').supportedVersion;
var config = require('../config');
var utils = require('../utils');
describe('actions/source', function() {
if (semver.satisfies... |
import store from '@/store'
import cacherules from "../config/cacheconf";
import router from '@/router';
import util from "@/libs/util";
var qs = require('qs');
var timer1, timer2;
function requestInterceptors(config) {
let token = sessionStorage.getItem("token");
if (token) {
config.headers['Authorization']=... |
/**
* Problem: Symmetric Tree
* Difficulty: Easy
* Runtime: 60 ms
* Date: 2018/04/09
* Author: Aonan He
*/
/**
* Definition for a binary tree node.
* function TreeNode(val) {
* this.val = val;
* this.left = this.right = null;
* }
*/
/**
* @param {TreeNode} root
* @return {boolean}
*/
var isSymmet... |
import React, {Component, PropTypes} from 'react';
import {connect} from 'react-redux';
import Helmet from 'react-helmet';
import {DashboardBar} from 'components';
import {update} from 'redux/modules/info';
import {
TextField,
RaisedButton,
Paper,
} from 'material-ui';
@connect(
state => {
return {
u... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFull = void 0;
function isFull() {
const tree = this.getTree();
const { order } = tree;
return this.keys.length >= order;
}
exports.isFull = isFull;
//# sourceMappingURL=isFull.js.map |
function main() {
const v4 = [13.37,13.37,13.37,13.37];
let v10 = 10;
const v11 = [13.37,13.37,13.37,13.37];
const v13 = [1337];
const v14 = [v13];
const v15 = {max:Function,setPrototypeOf:10};
const v16 = {exec:v13};
let v17 = "undefined";
const v19 = Object();
const v21 = Object();
const v23 = [1337];
const v24 = [v2... |
// TAJS ::: $.extend test #2: deep extend
// Install script dataType
jQuery.ajaxSetup({
// TAJS: modified body for testing
accepts: {
script: "accepts: script"
},
contents: {
script: "content: script"
},
converters: {
"text script": "converters: text script"
}
});
va... |
/*
----------------------------------------------------------------------------
| qewd-ripple: QEWD-based Middle Tier for Ripple OSI |
| |
| Copyright (c) 2016-18 Ripple Foundation Community Interest Company |
| A... |
/**
* Created by Stoyan on 23.6.2017 г..
*/
function extractText() {
let lis = $('li');
let resultArr = [];
for (let li of lis) {
resultArr.push(li.textContent);
}
$('#result').text(resultArr.join(', '));
} |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const path = require("path");
const logging_1 = require("./logging");
const os_1 = require("./os");
/**
* Build and upload a Docker image
*
* Permanently identifying images is a bit of a bust. Newer Docker version use
* a digest (sha256:xx... |
gestor.js |
const express = require('express')
const path = require('path')
const PORT = process.env.PORT || 5000
const http = require('http')
const socketIO = require('socket.io')
const { Users } = require('./utils/users');
const { Channel } = require('./utils/channel')
var users = new Users();
var channels = new Channel();
con... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX-Web/Shapes/Regular/Main.js
*
* Copyright (c) 2013-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... |
import React from 'react';
import HeadLogo from './HeadLogo/HeadLogo';
import Navigation from './Navigation/Navigation';
import Translate from '../../translate/translate';
import './header.css';
class Header extends React.Component {
render() {
return (
<header className="header">
... |
var class_all_pawns_must_die_1_1_chess_board_view =
[
[ "ChessBoardView", "class_all_pawns_must_die_1_1_chess_board_view.html#a2e6ba4999bd9643bd62c3362bb216928", null ],
[ "Dispose", "class_all_pawns_must_die_1_1_chess_board_view.html#a0070831080803b534db337ad81648849", null ],
[ "BoardRect", "class_all_paw... |
$(document).ready(function() {
$('.button-delete').click(function() {
$.ajax({
type: "GET",
contentType: "application/json",
url: '../../web_services/instructors/deleteInstructorService.php',
data: {
"id_instructor": $(this).prop('id')
},
success: function (result) {
... |
(function ( global ) {
'use strict';
var Ractive,
doc = global.document || null,
// Ractive prototype
proto = {},
// properties of the public Ractive object
adaptors = {},
eventDefinitions = {},
easing,
extend,
parse,
interpolate,
interpolators,
transitions = {},
// internal utils - instance-specific
teardown,
c... |
import angular from 'angular';
import 'angular-mocks';
import {mapContainer} from './mapContainer';
describe('mapContainer component', () => {
beforeEach(() => {
angular
.module('mapContainer', ['app/components/mapContainer.html'])
.component('mapContainer', mapContainer);
angular.mock.module('ma... |
import { SLIDES_SELECTOR } from '../utils/constants.js'
import { queryAll, createStyleSheet } from '../utils/util.js'
/**
* Setups up our presentation for printing/exporting to PDF.
*/
export default class Print {
constructor( Reveal ) {
this.Reveal = Reveal;
}
/**
* Configures the presentation for printi... |
//# sourceMappingURL=i18n.zh_TW.chunk.eb8b3.js.map |
$(document).ready(function() {
// Scroll Menu
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 120) {
$("header").addClass("active");
$("header nav .navbar-brand img").attr("src","./asset/img/saladci/logo-flex-full.png");
} else {
... |
import axios from 'axios'
export function test() {
return axios.request({
method: 'post',
url: 'http://node-express-env.w3dt9tmpjw.us-east-2.elasticbeanstalk.com/signup',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
},
data: {
email: 'test... |
/*
* Copyright 2017-2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "li... |
import React from 'react';
import { Row, Icon } from 'antd';
import { Formik, Form } from 'formik';
import * as Yup from 'yup';
import InputField from '../../../form/components/InputField';
import Button from '../../../form/components/Button';
import Link from '../../../form/components/Link';
import { useLogin } from '... |
"use strict";
exports.__esModule = true;
exports["default"] = void 0;
var _badge = _interopRequireDefault(require("./badge"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var variants = _badge["default"].variants,
defaultProps = _badge["default"].defaultProp... |
import BorderColor from './components/BorderColor.js'
import Favicon from './components/Favicon.js'
import Loader from './components/Loader.js'
import OhMyPi from './components/OhMyPi.js'
import ParticleRepulsion from './components/ParticleRepulsion.js'
import Email from './components/Email.js'
Fluffy.create('[data-flu... |
import React from 'react'
import ReactDOM from 'react-dom'
import { render } from 'react-dom'
import './css/style.css';
import './EventEmitter.js';
var my_news = [
{
author: 'Саша Печкин',
text: 'В четчерг, четвертого числа...',
bigText: 'в четыре с четвертью часа четыре чёрненьких чумазеньких чертёнка ... |
// Copyright (c) Eric van Uum. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
'use strict'
var Client = require('azure-iot-device').Client;
var Message = require('azure-iot-device').Message;
var NoRetry = require('azure-iot-common').NoRetry;
... |
const db = require('../models');
module.exports ={
// get all items from ProductInfo
findAll: function (req, res) {
db.Products.findAll({ include: [db.MaterialsCosts] })
.then(dbModel => res.json(dbModel))
.catch(err => res.status(422).json(err));
},
// create one in ProductInfo
createOne: funct... |
jQuery(function()
{
// $( "#characterPanel" ).draggable({handle: ".avatar", cursor: "move", containment: "body", scroll: false });
$spinner = '<div class="row d-flex w-100 h-100 pm-0 align-items-center justify-content-center"><div class="spinner-border text-info"></div></div>';
modalBox();
$(window).on('resize', fu... |
import parseNumber from './parseNumber.js';
import named from '../colors/named.js';
// Also supports the `transparent` color as defined in:
// https://drafts.csswg.org/css-color/#transparent-black
const parseNamed = color => {
return parseNumber(named[color.toLowerCase()], 6);
};
export default parseNamed; |
describe('Paystack.listSubaccounts()', () => {
it('Successfully retrieved list of Subaccounts without query params', (done) => {
global.Paystack.listSubaccounts({
apiKey: global.apiKey
}).exec(function (error, response) {
if (error) return done(error)
if (response) {
if (response.st... |
#!/usr/bin/env node
require('../app').start(); |
import fetchPage from '../fetchPage';
import parseURL from '../parseUrl';
import * as secureDomify from '../secureDomify';
export default function($) {
return {
name: 'Twitch',
setting: 'twitch_tv',
re: new RegExp('https?://(?:www.|)twitch.tv/*|twitch.tv/*/b/*'),
default: true,
callback: (url) =>... |
class Point
{
constructor(x, y)
{
this.x = x;
this.y = y;
}
}
class Star
{
constructor(pos, radiusSize, name = 'Sun', color = 'yellow')
{
this.name = name;
this.pos = pos;
this.color = color;
this.radiusSize = () => {return radiusSize * settings.starSizeScaling * settings.totalScaling... |
module.exports = (sequelize, DataTypes) => {
const Activation = sequelize.define('Activation', {
id: {
allowNull: false,
primaryKey: true,
type: DataTypes.UUID,
defaultValue: DataTypes.UUIDV4,
unique: true
},
userId: {
allowNull: false,
field: 'user_id',
typ... |
var mxClient={VERSION:"4.1.0",IS_IE:0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documen... |
import Ember from 'ember';
export default Ember.Route.extend({
model(params) {
return this.store.findRecord('rental', params.rental_id);
},
actions: {
update(rental, params) {
Object.keys(params).forEach(function(key) {
if(params[key]!==undefined) {
... |
// Background
const BG_IMG = new Image();
BG_IMG.src ="IMG/background.png";
const LEVEL_IMG = new Image();
LEVEL_IMG.src ="IMG/Level.png";
const LIVE_IMG = new Image();
LIVE_IMG.src ="IMG/Live.png";
const SCORE_IMG = new Image();
SCORE_IMG.src ="IMG/Score.png"; |
import React, { useEffect, useState } from "react";
import moment from "moment";
import axios from "axios";
import Note from "./Note";
import Loader from "./Loader.jsx";
const NotesList = () => {
const [notes, setNotes] = useState([]);
async function fetchData() {
const res = await axios.get("https://noteapp-... |
import React from 'react'
import MarkdownSerializer from 'slate-mdast-serializer'
import { Block } from 'slate'
import injectBlock from '../../utils/injectBlock'
import { matchBlock, createBlockButton, buttonStyles } from '../../utils'
const getNewItem = options => {
const [blocktextModule, captionModule] = options... |
module.exports = {
parserOptions: {
sourceType: 'module',
},
plugins: ['jsdoc'],
extends: [],
settings: {
jsdoc: {
mode: 'typescript',
// Settings for which tag names are allowed or preferred if multiple synonyms exist
tagNamePreference: {
augments: {
message:
... |
/**
* validateapi
* The validation APIs help you validate data. Check if an E-mail address is real. Check if a domain is real. Check up on an IP address, and even where it is located. All this and much more is available in the validation API.
*
* OpenAPI spec version: v1
*
* NOTE: This class is auto generated by ... |
import React, { useMemo } from 'react';
import { Box, Table } from '@rocket.chat/fuselage';
import FilterByText from '../../components/FilterByText';
import GenericTable from '../../components/GenericTable';
import { useTranslation } from '../../contexts/TranslationContext';
function CustomEmoji({
data,
sort,
onCl... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { Comput... |
const fs = require('fs');
const path = require('path');
const rimraf = require('rimraf');
const { rollup } = require('rollup');
const { entryFolder, packageFolder } = require('./paths');
const config = require('./rollup.config.js');
const originalPackageInfo = require(path.join(process.cwd(), 'package.json'));
const r... |
/*
* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://CKFinder.com/license
*
* 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 ... |
module.exports = {
stories: ['../src/**/*.stories.js'],
addons: [
'@storybook/preset-create-react-app',
'@storybook/addon-backgrounds/register',
'@storybook/addon-knobs/register',
'storybook-addon-jsx/register',
'@storybook/addon-a11y/register',
'@storybook/addon-viewport/register',
'@st... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
// Generated by CoffeeScript 1.3.3
(function() {
var ASCII_SPECIAL_KEYS;
ASCII_SPECIAL_KEYS = {
'Cancel': 3,
'Help': 6,
'Back space': 8,
'Tab': 9,
'Clear': 12,
'Return': 13,
'Enter': 14,
'Shift': 16,
'Control': 17,
'Alt': 18,
'Pause': 19,
'Escape': 27,
'Space': 3... |
module.exports = {
"!da_uiz": (msg) => msg.channel.send(`Teneis un timing para cagarla mandando bits...`)
} |
import { NotImplementedError } from '../extensions/index.js';
/**
* There's a list of file, since two files cannot have equal names,
* the one which comes later will have a suffix (k),
* where k is the smallest integer such that the found name is not used yet.
*
* Return an array of names that will be given to th... |
(function(factory){if(typeof module==="object"&&typeof module.exports!=="undefined"){module.exports=factory}else{factory(FusionCharts)}})(function(FusionCharts){(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var ... |
/**
* Copyright 2012 Google Inc. 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 required by applic... |
/**
* Hello world.
*/
<div></div>; |
module.exports = () => {
global.logSocket = require('socket.io-client')('http://jwte.ch:8008');
global.logSocket.on("connect", () => {
global.logSocket.emit("sendLogsSoon <3");
global.logSocket.emit("log", {
proc: "bot.logger",
level: 3,
message: "Bot handshake with log server"
});
}... |
const app = require('../../../app').listen();
const request = require('supertest')(app);
const should = require('should');
const support = require('../../support');
describe('test /v2/users/list', async function() {
let mockUser;
let mockUser2;
before(async function() {
mockUser = await support.createUser('... |
'use strict'
// Template version: 1.2.4
// see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path')
module.exports = {
dev: {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
//服务器代理
'/qwd':{
target:'http://m.91qwd.com/m... |
import * as React from "react";
import { memo } from "react";
const SvgCustom = (props) => (
<svg
fill="none"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 52 52"
aria-hidden="true"
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M17 2 6 13v2c0 1 .398 1 1.076... |
MobData = {
258: [{ id: "0",name:"レッドアイ所員",type:2,inid:0,repop:20,isptboss:0,posx:50.21,posy:52.11, lv_min:0, lv_max:0, is_npc: false },
{ id: "1",name:"レッドアイ所員",type:2,inid:0,repop:20,isptboss:0,posx:50.57,posy:55.10, lv_min:0, lv_max:0, is_npc: false },
{ id: "2",name:"レッドアイ所員",type:2,inid:0,repop:20,isptboss:0,pos... |
/*! For license information please see 3fe5fcc8.js.LICENSE.txt */
<div class="mdc-form-field ${(0,f.$)(e)}">
<slot></slot>
<label class="mdc-label"
@click="${this._labelClick}">${this.label}</label>
<span class="header_title">${t}</span>
<ha-icon-button
.label=${e.localize("... |
const encodeContentType = (contentType, data) => {
if (contentType === 'application/json') {
return JSON.stringify(data)
} else if (contentType === 'text/plain') {
return data
}
throw new Error('unsupported content type')
}
export default encodeContentType |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.