text
stringlengths
2
1.04M
function matrix(args) { var number = +args[0]; var result = ""; for(var i = 1; i <= number; i += 1) { for(var k = i; k <= i + number - 1; k += 1) { result += k + " "; } result += "\n"; } console.log(result); }
(function(global) { if (typeof (window._bokeh_onload_callbacks) === "undefined"){ window._bokeh_onload_callbacks = []; } function load_lib(url, callback){ window._bokeh_onload_callbacks.push(callback); if (window._bokeh_is_loading){ console.log("Bokeh: BokehJS is being loaded, scheduling callbac...
var a01699 = [ [ "ADCTriggerAOffset", "a01699.html#ac58523daa5ba4498f98f6add321b9996", null ], [ "ADCTriggerBOffset", "a01699.html#aad1976c0ad1835d9c2a65e82fb3e839f", null ], [ "ptrADCTriggerARegister", "a01699.html#a46f5604170f677e6036cacb5cfe51679", null ], [ "ptrADCTriggerBRegister", "a01699.html#aa7...
const dedent = require('dedent-js') const PublicFormAuthService = require('../../../../services/PublicFormAuthService') angular .module('forms') .controller('ActivateFormController', [ '$uibModalInstance', '$timeout', '$q', 'externalScope', 'MailTo', ActivateFormController, ]) function A...
/** * 项目UI结构默认配置项 * primaryColor - 默认主题色, 如果修改颜色不生效,请清理 localStorage * navTheme - sidebar theme ['dark', 'light'] 两种主题 * colorWeak - 色盲模式 * layout - 整体布局方式 ['sidemenu', 'topmenu'] 两种布局 * fixedHeader - 固定 Header : boolean * fixSiderbar - 固定左侧菜单栏 : boolean * autoHideHeader - 向下滚动时,隐藏 Header : boolean * contentWi...
module.exports = { plugins: [ require("babel-plugin-check-es2015-constants"), require("babel-plugin-syntax-async-functions"), require("babel-plugin-syntax-class-properties"), require("babel-plugin-syntax-jsx"), require("babel-plugin-syntax-object-rest-spread"), require("babel-plugin-transform-...
/* */ (function(process) { "use strict"; var Node = require("./node"); var common = require("./common"); var normalizeReference = require("./normalize-reference"); var normalizeURI = common.normalizeURI; var unescapeString = common.unescapeString; var fromCodePoint = require("./from-code-point"); var e...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[60],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/views/login/index.vue?vue&type=script&lang=js&": /*!**********************************************************************************************...
import SimpleFileUpload from '!!raw-loader!./index.jsx'; import UploadProgress from '!!raw-loader!./UploadProgress.jsx'; import UploadedFileCard from '!!raw-loader!./UploadedFileCard.jsx'; import styles from '!!raw-loader!./_styles.scss'; export default `/* SimpleFileUpload.jsx */ ${SimpleFileUpload} \`\`\` \`\`\`jsx...
/** * Rooms * Pokemon Showdown - http://pokemonshowdown.com/ * * Every chat room and battle is a room, and what they do is done in * rooms.js. There's also a global room which every user is in, and * handles miscellaneous things like welcoming the user. * * @license MIT license */ 'use strict'; const TIMEOUT...
import User, {UserAdd} from "./auth/user"; import Role, {RoleAdd} from "./auth/role"; import Setting from "./manage/setting"; import Dashboard from "./dashboard"; import Personal from "./personal"; import Image from "./manage/image"; import Page403 from "./error/403"; import Page500 from "./error/500"; const router = ...
import Icon from '../../components/Icon.vue' Icon.register({"regular/file-code":{"width":384,"height":512,"paths":[{"d":"M369.9 97.9L286.1 14.1A48-48 0 0 1 252.1 0H48C21.5 0 0 21.5 0 48V464C0 490.5 21.5 512 48 512H336C362.5 512 384 490.5 384 464V131.9A48-48 0 0 1 369.9 97.9zM332.1 128H256V51.9L332.1 128zM48 464V48H208...
let getConnection = require('./login'); function appendLocationsList() { getConnection((err, connection) => { if (err) console.log('no connection'); connection.query('SELECT * FROM locations', (error, rows, fields) => { if (error) throw error; let output = []; fo...
$(function() { $("#reset-form").submit(function(event) { event.preventDefault(); var currentpassword = $('#reset-form').find('input[id="current-password"]').val(); var newpassword = $('#reset-form').find('input[id="new-password"]').val(); var newpasswordconfirmation = $('#reset-form').find('input[id="...
// JavaScript Document // スマホの時だけ電話番号有効化 if (navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)) { $(function () { $('.tel').each(function () { const str = $(this).html() if ($(this).children().is('img')) { $(this).html($('<a>').attr('href', 'tel:' + $(this).children().attr('alt').repla...
/** * Copyright (c) 2012 Anders Ekdahl (http://coffeescripter.com/) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Version: 1.2.7 * * Demo and documentation: http://coffeescripter.com/code/ad-gallery/...
'use strict'; const { log } = require('../utils/log'); const BaseClient = require('./BaseClient'); module.exports = class WebsocketClient extends BaseClient { constructor(url) { super(); this.client = new WebSocket(url); this.client.onerror = (error) => { log.error(error); }; } // eslint...
define({ "tabs_section_Label": "Schede", "addTab": "Aggiungi scheda", "layerName": "Layer", "layerType": "Tipo di analisi", "layerLabel": "Etichetta", "actions": "Azioni", "closest": "Feature più vicina", "proximity": "Prossimità", "summary": "Riepilogo", "select_lbl": "-- Seleziona --", "general_...
//# sourceMappingURL=component---src-pages-index-js-b0b5ec08dc7ff77701c0.js.map
"use strict"; const log = require('./lib/logger')(), express = require('express'), cors = require('cors'), app = express(), router = express.Router(), db = require('./lib/db'); /** * simple status endpoint - just return 200 OK * @param req * @param res */ let status = (req, res) => { r...
import React from "react" import { graphql } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" import {Cat} from 'react-kawaii' class NotFoundPage extends React.Component { render() { const { data } = this.props const siteTitle = data.site.siteMetadata.title re...
/***********************/ /* Encoded eval string */ /***********************/ &lt;script&gt; var eval_b64 = &#39;ZXZhbA==&#39;; var eval_charcode = &#39;String.fromCharCode(101,118,97,108)&#39;; var eval_base32 = &#39;490837..toString(1&lt;&lt;5)&#39;; var eval_non_alpha1 = &#39;(+{}+[])[+!![]]+(![]+[])[!+[]+!![]]+([][...
import React, {useState} from "react" import cn from 'classnames' import { FaAngleDoubleRight } from "react-icons/fa" import { graphql, useStaticQuery } from "gatsby" import { Link } from "gatsby" import Title from "./Title" const query = graphql` { allStrapiJobs(sort: {order: DESC, fields: strapiId}) { ...
export default function({ dispatch }) { return next => action => { // If action does not have payload // or the payload does not have .then property (promise) // pass on action as is if (!action.payload || !action.payload.then) { return next(action) } // ...
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.5 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requi...
function MainSearchGetDefaultValues() { var form = document.forms["OneroomSearchForm-mainsearch"]; if (form.search_type.value == "region") { MainSearchToggleSearchType("Region"); } else if (form.search_type.value == "university") { MainSearchToggleSearchType("University"); } else if (form.search_type.value ==...
"use strict"; var chai_1 = require('chai'); var iterator_1 = require('../../dist/cjs/symbol/iterator'); describe('iterator symbol', function () { it('should exist', function () { chai_1.expect(iterator_1.$$iterator).to.exist; }); }); describe('symbolIteratorPonyfill', function () { describe('when ro...
var path = require('path'); module.exports = { entry: "./src/imageResizeFactory.js", output: { path: __dirname, library: 'imageResize', libraryTarget: 'umd', filename: "image-resize.min.js" }, module: { rules: [ { test: /\.js$/, ...
module.exports = { name: 'purge', description: 'Xóa các tin nhắn cuối cùng trong tất cả các cuộc trò chuyện.', async execute(message) { const args = message.content.split(' '); let deleteCount = 0; try { deleteCount = parseInt(args[1], 10); }catch(err) { return message.reply('Vui lòng cung cấp số lượng...
var tableBasicas = initDataTable(); $('input[name=CELULAR]').mask('(00) 00000-0000');
/** joOption ======== This controls lets the user select one of a few options. Basically, this is a menu with a horizontal layout (depending on your CSS). Use --- // simple set of options var x = new joOption([ "Red", "Blue", "Green" ]); // set the current value x.setValue(2); // ...
/******/ (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...
const { expect } = require('chai'); const { mysql } = require('./knexClient'); let counter = 0; // test('Connection', async () => { // const test = await knex.raw('select 1+1 as result'); // expect(test.records[0].result).toBe(2); // }); // test('Failed query', async () => { // expect(knex.raw('select sadfasd...
export default function autoType(object) { for (var key in object) { var value = object[key].trim(), number, m; if (!value) value = null; // 将类型字符串转换为primitive; else if (value === "true") value = true; else if (value === "false") value = false; else if (value === "NaN") value = NaN; else ...
$(function() { consoleInit(); start(main); }); const Boardrooms = [ { name : "ArthLiquidityBoardroom", address: "0xd5f501C4cDBFca915f04d4aE3853A904C9A35Af5", lpt : "0x35b6f9e6300aa6c722ea189e096b0b073025806f", stakeTokenTicker : "ARTH-DAI LP", ratio : 0.7 }, { name : "MahaLiquidityBoardro...
/** * @license AngularJS v1.4.0-rc.2 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ (function() {'use strict'; /** * @description * * This object provides a utility for producing rich Error messages within * Angular. It can be called as follows: * * var exampleMinErr = minErr('example')...
function cFaqAnswerShow() { $('.cFAQ .item .answer:first').css('display','block').addClass('cur'); $('.cFAQ .item .ask').click( function() { if($(this).parent().find('.answer').length==0) { return; } var h = $('.cFAQ .item .cur').eq(0); if(h != null && h.parent()[0] != $(this).parent()[0]...
import React from 'react'; import { bool } from 'prop-types'; import { accountFormatter, balanceWithCurrency } from '../../util/format'; import { Account, Locale } from '../../util/types'; const AccountSuggestionItem = ({ account, locale, showBalance = true }) => { const { accountNumber, balance, name, currencyCo...
import enhancedOnChange from '../../use-field-api/enhanced-on-change'; describe('#enhancedOnChange', () => { const clearedValue = 'this is deleted value'; const initial = 'some initial value'; it('should return value directly if event is not passed', () => { const value = 'foo'; expect(enhancedOnChange({...
let data = { "body": "<path d=\"M20 12a8 8 0 0 1-8 8a8 8 0 0 1-8-8a8 8 0 0 1 8-8c.76 0 1.5.11 2.2.31l1.57-1.57A9.822 9.822 0 0 0 12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10M7.91 10.08L6.5 11.5L11 16L21 6l-1.41-1.42L11 13.17l-3.09-3.09z\" fill=\"currentColor\"/>", "width": 24, "height": 24 }; export def...
import Choices from 'choices.js'; export default class UserProfileView { constructor(el,model){ this.$el = el; this.events = window.events; this.model = window.user; this.timezoneData = window.timezoneData; this.template(); this.events.sub('user_button:timezone', ...
'use strict' /** * Main module of the Equabank-scraper library. */ const logger = require('./logger') let log module.exports = (opts = { debug: false }) => { if ( opts.debug ) { log = logger('debug') log.info('Equabank scraper initialised') } return module.exports } log = logger() const utils = requ...
/*jshint eqeqeq:false, eqnull:true, devel:true */ /*global jQuery */ (function($){ /** * jqGrid extension for manipulating Grid Data * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/l...
/* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("a11yhelp","ko",{title:"접근성 설명",contents:"도움말. 이 창을 닫으시려면 ESC 를 누르세요.",legend:[{name:"일반",items:[{name:"편집기 툴바",legend:"툴바를 탐색하시려면 $...
/*! * jScrollPane - v2.0.19 - 2013-11-16 * http://jscrollpane.kelvinluck.com/ * * Copyright (c) 2013 Kelvin Luck * Dual licensed under the MIT or GPL licenses. */ // Script: jScrollPane - cross browser customisable scrollbars // // *Version: 2.0.19, Last updated: 2013-11-16* // // Project Home - http://jscrollpane.ke...
'use strict'; exports.__esModule = true; exports.fixEvent = fixEvent; exports.on = on; exports.off = off; exports.trigger = trigger; exports.one = one; var _domData = require('./dom-data'); var DomData = _interopRequireWildcard(_domData); var _guid = require('./guid.js'); var Guid = _interopRequireWildcard(_guid);...
/** * @version: 1.0 Alpha-1 * @author: Coolite Inc. http://www.coolite.com/ * @date: 2008-05-13 * @copyright: Copyright (c) 2006-2008, Coolite Inc. (http://www.coolite.com/). All rights reserved. * @license: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. * @website: http://ww...
import React from "react"; import "./SearchBar.scss"; import Spinner from "../Icons/Spinner.svg"; import Search from "../Icons/Search.svg"; import { API } from "../Constants"; export default class SearchBar extends React.Component { state = { searching: false, acResults: [] }; componentDidMount() { SearchBar.ins...
'use strict';"use strict"; var lang_1 = require('angular2/src/facade/lang'); var debug_node_1 = require('angular2/src/core/debug/debug_node'); var DebugDomRootRenderer = (function () { function DebugDomRootRenderer(_delegate) { this._delegate = _delegate; } DebugDomRootRenderer.prototype.renderCompo...
import { SET_LOCALE } from '../constants/actions'; export const setLocale = value => dispatch => { dispatch({ type: SET_LOCALE, payload: value }); };
import { Component } from "react"; import { createPortal } from "react-dom"; import s from "./Modal.module.css"; import PropTypes from "prop-types"; const modalRoot = document.querySelector("#modal-root"); class Modal extends Component { componentDidMount() { // console.log("Component did mount"); window.ad...
/************************************************************* * * MathJax/jax/output/SVG/fonts/Latin-Modern/Size3/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 the...
const { readFileSync } = require('fs'); const { dirname, join } = require('path'); const { URL } = require('url'); const nock = require('nock'); function readDataFile(filename, encoding, json = false) { const content = readFileSync(join(dirname(__filename), './data', filename), encoding); if (json) { return JS...
(function() { var addSyncFileSystemWarnings, getStack, topLines, warnOnSyncFileSystem; warnOnSyncFileSystem = function() { console.error("WARNING: fs sync methods can fail due to EMFILE errors"); console.error("Cypress only works reliably when ALL fs calls are async"); return console.error("You should ...
import React from "react"; import styled from "styled-components"; import { Table, TableRow, TableHeader, Link, theme } from "cobra-ui"; import { ResultsTableData } from "./CommonComponents"; import { SUCCESS, FILE_ALREADY_EXISTS, FILE_DOES_NOT_EXIST, DISABLED } from "../constants"; import { convertTsToStringDa...
// libraries const Project = require("../../src/index").Project; const SSV = require("../../src/template-api/SSV").SSV; const renderers = require("./renderers"); // construct a project var p = new Project("ssv_circle", "../../../config.txt"); p.addRenderingParams(renderers.renderingParams); p.addStyles("../nba/nba.css...
const webpack = require('webpack'); const path = require("path"); const autoprefixer = require('autoprefixer'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const ManifestPlugin = require('webpack-manifest-plugin'); const { GenerateSW } = require('workbox-webpack-plugin'); const ExtractTextPlugin = requir...
import React, { Component } from 'react' import styled from 'styled-components' import Icons from '../components/icons.js' import VideoBgComponent from 'react-videobg' import Glitch from '../images/logo-glitch.mp4' const IconsContainer = styled.div` position: absolute; left: 50%; bottom: 50px; transform: tran...
import React from 'react' import {connect} from 'react-redux' import PropTypes from 'prop-types' import {auth, authSignUp} from '../../store/' import {Layout, Form, Input, Button, Row, Col, Alert} from 'antd' /** * COMPONENT */ const AuthForm = (props) => { const {name, displayName, handleSubmit, error} = props ...
const customCorsMiddleware = () => async (ctx, next) => { if(!ctx.token) { ctx.set('Access-Control-Allow-Origin', '*'); } return next(); }; export default customCorsMiddleware;
class Component extends Base { UpdateSelected(clickEvent) { const {form, state, name} = this.getSelected(clickEvent); name.firstName = form.firstname.value; name.surname = form.surname.value; setState('data', state); } DeleteSelected(clickEvent) { const {name, state} = this.getSelected(clic...
(function($) { module("tenant2"); // Test case : Tenant 2 _asyncTest("Tenant 2", function() { expect(3); var platform = GitanaTest.authenticateFullOAuth(); platform.then(function() { // NOTE: this = platform // create a user var user = nul...
export const INIT_PROJECT = "INIT_PROJECT"
export var ARRAY_INSERT = 'redux-form/ARRAY_INSERT'; export var ARRAY_MOVE = 'redux-form/ARRAY_MOVE'; export var ARRAY_POP = 'redux-form/ARRAY_POP'; export var ARRAY_PUSH = 'redux-form/ARRAY_PUSH'; export var ARRAY_REMOVE = 'redux-form/ARRAY_REMOVE'; export var ARRAY_REMOVE_ALL = 'redux-form/ARRAY_REMOVE_ALL'; export v...
import Enum from '../utils/enum'; export const languageActionTypes = Enum({ FETCH_LANGUAGE: 'FETCH_LANGUAGE', FETCH_LANGUAGE_SUCCESS: 'FETCH_LANGUAGE_SUCCESS', FETCH_LANGUAGE_ERROR: 'FETCH_LANGUAGE_ERROR' });
macDetailCallback("0050c2a26000/36",[{"a":"1819 Moen Ave Joliet IL US 60436","o":"Preferred Oil, LLC","d":"2009-01-11","t":"add","s":"ieee","c":"US"}]);
const globby = require('globby'); const properties = require('properties'); const path = require("path"); const fs = require('fs'); const extend = require('util')._extend; function Properties2JsonPlugin(options) { this.opt = options; } Properties2JsonPlugin.prototype.apply = function (compiler) { let opt = Array....
class CartCountCtrl { constructor(cartSvc) { this.cartSvc = cartSvc; } cartCount() { return this.cartSvc.cart.length; } } CartCountCtrl.$inject = ['CartService']; export default CartCountCtrl;
'use strict' const path = require('path') const utils = require('./utils') const config = require('../config') const vueLoaderConfig = require('./vue-loader.conf') function resolve(dir) { return path.join(__dirname, '..', dir) } module.exports = { context: path.resolve(__dirname, '../'), entry: { app: './...
//// [bestCommonTypeOfConditionalExpressions.ts] // conditional expressions return the best common type of the branches plus contextual type (using the first candidate if multiple BCTs exist) // no errors expected here var a: { x: number; y?: number }; var b: { x: number; z?: number }; class Base { foo: string; } cla...
load("bf4b12814bc95f34eeb130127d8438ab.js"); load("93fae755edd261212639eed30afa2ca4.js"); // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: "IdentifierPart :: IdentifierStart" es5id: 7.6_A2.1_T1 description: "IdentifierStart ...
import React from 'react'; import expect from 'expect'; import Adapter from 'enzyme-adapter-react-16'; import toJson from 'enzyme-to-json'; import { configure } from 'enzyme'; import sinon from 'sinon'; import mockData from '../../__mocks__/mockData'; import mockStore from '../../__mocks__/mockStore'; import mountWrap ...
/** * Copyright IBM Corp. 2019, 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. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
import _ from 'lodash' import CellFactory from './CellFactory.js' import Resource from './Resource.js' import RandomGenerator from '../random.js' const COLORS = [ 0x8dd3c7, 0xffffb3, 0xbebada, 0xfb8072, 0x80b1d3, 0xfdb462, 0xb3de69, 0xfccde5, 0xd9d9d9, 0xbc80bd, 0xccebc5, 0xffed6f, ] /* const COLORS = [ 0...
// @@@LICENSE // // Copyright (c) 2010-2013 LG Electronics, Inc. // // 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 require...
(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["jsQR"] = factory(); else root["jsQR"] =...
/* @flow */ import { expect } from 'chai'; import { afterEach, test } from 'mocha'; import * as env from '../env'; import setEnv from '../../../test/utils/set-env'; afterEach(() => { setEnv('test'); }); test('isDevelopment()', () => { setEnv('development'); expect(env.isDevelopment()).to.be.true; }); test('i...
console.log(ID)
"use strict"; if (!window.WebCall) window.WebCall = {}; WebCall.UI = function(options) { this.debug = 1; if (this.debug) console.log("new WebCall.UI()"); this._getConnectParams = options.getConnectParams; this._settingsOpen = false; this._optionsForm = new Form(["autoGainControl", ...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'preview', 'sl', { preview: 'Predogled' });
var execSync = require('child_process').execSync; execSync("echo '" + __filename + "' >> /tmp/file_paths"); 'use strict'; const format = require('./format'); const { MESSAGE } = require('triple-beam'); const jsonStringify = require('fast-safe-stringify'); /* * function replacer (key, value) * Handles proper stringi...
/* @generated */ // prettier-ignore if (Intl.NumberFormat && typeof Intl.NumberFormat.__addLocaleData === 'function') { }
(function() { var acorn, parseRequireDefinitions, valuesFromArrayExpression, walk, _; _ = require("lodash"); acorn = require("acorn"); walk = require("acorn/util/walk"); valuesFromArrayExpression = function(expr) { return expr.elements.map(function(a) { return a.value; }); }; module.exp...
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.add("forms",{requires:"dialog,fakeobjects",lang:"af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,...
/** * Antonio Sejas * antonio@sejas.es */ import React, { Component } from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux'; import PropTypes from 'prop-types' import { View, StyleSheet, Text } from 'react-native' class Deck extends Component { static propTypes = {} ...
export default { buildModules: ['@nuxtjs/tailwindcss'], modules: ['@nuxt/typescript-build', '../src/module.ts'], websocket: { url: 'wss://echo.websocket.events/' } }
import React from "react" import Layout from "../components/layout" import SEO from "../components/seo" const IndexPage = () => ( <Layout> <SEO title="Index" /> <h1>Index</h1> <hr /> <p>Sint sunt sit exercitation occaecat irure do minim ut est. Velit nulla laboris ut fugiat id commodo proident commo...
const { NotImplementedError } = require('../extensions/index.js'); /** * In the popular Minesweeper game you have a board with some mines and those cells * that don't contain a mine have a number in it that indicates the total number of mines * in the neighboring cells. Starting off with some arrangement of mines ...
module.exports = { name: 'id', dependencies: [], factory: () => { 'use strict' const ID_DELIM = '::' const ALPHA_NUM = 'abcdefghijklmnopqrstuvwxyz0123456789' const templates = {} const makeTemplate = (length = 8) => { if (!templates[`l${length}`]) { if (length < 1) { ...
export const KEY_TYPE = { DELETE: 'delete', }; export const KEYCODE = { 48: 0, 49: 1, 50: 2, 51: 3, 52: 4, 53: 5, 54: 6, 55: 7, 56: 8, 57: 9, 8: KEY_TYPE.DELETE, };
const JwtStrategy = require('passport-jwt').Strategy; const ExtractJwt = require('passport-jwt').ExtractJwt; const mongoose = require('mongoose'); const User = mongoose.model('users'); const keys = require('../config/keys'); const opts = {}; opts.jwtFromRequest = ExtractJwt.fromAuthHeaderAsBearerToken(); opts.secretOr...
//Homewor(条件分岐) let num; num=prompt("点数を入力してください。",""); if(0<=num<50){ console.log("もう少し頑張りましょう。"); }else if(50<=num<75){ console.log("できました。"); }else if(75<=num<90){ console.log("よくできました。"); }else if(90<=num<=100){ console.log("大変良くできました。"); }else{ console.log("0~100を入力してください。"); }
import React from "react"; import { useLocation, Route, Switch, Redirect } from "react-router-dom"; // reactstrap components import { Container } from "reactstrap"; // core components import AdminNavbar from "components/Navbars/AdminNavbar.js"; import AdminFooter from "components/Footers/AdminFooter.js"; import Sidebar...
import React from "react"; import pikachu from '../img/pokesite.png'; import tutorial1 from '../img/tutorial1.svg'; import tutorial2 from '../img/tutorial2.svg'; import tutorial3 from '../img/tutorial3.svg'; import { Navbar } from "./NavbarUI"; import { HomeCard } from "./HomeCard"; import './card-style.css'; export ...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js function plural(n) { va...
import styles from '../../styles/Ninjas.module.css' import Link from 'next/link' export const getStaticProps = async () => { const res = await fetch('https://jsonplaceholder.typicode.com/users') const data = await res.json() return { props: { ninjas: data } } } const Ninjas = ({ ninjas }) => { return (...
import { Meteor } from "meteor/meteor"; import run from "../imports/util/router/client"; import { routes, client } from "../imports"; if (Meteor.settings.public.sentry && typeof Raven !== "undefined") { Raven.config(Meteor.settings.public.sentry, { release: Meteor.settings.public.release, }).install(); } run(...
jest.mock('../services/riotApiClient') import mockRiotApiClient from '../services/riotApiClient' import { handleGetTFTSummoner } from './tftRoutes' describe('When fetching summoner info from the riotApiClient, the tft route handler', () => { let req = {} const mockSend = jest.fn(() => {}) const res = { send: moc...
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'sourcedialog', 'uk', { toolbar: 'Джерело', title: 'Джерело' } );
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...