text
stringlengths
2
1.04M
var bitwise = require('../utils/bitwise.js'); var random = require('pandemonium/random'); var MAX = Math.pow(2, 31) - 1; var b = x => ('0'.repeat(32) + x.toString(2)).slice(-32); // NOTE: issue lies when 1 bit is the critical one var A = random(0, MAX); var B = random(0, MAX); var M = bitwise.msb32(A ^ B); console....
deepmacDetailCallback("70b3d5bb8000/36",[{"a":"Priora Xixilona, 93 La Garriga Barcelona ES 08530","o":"Al Kamel Systems S.L.","d":"2015-09-20","t":"add","s":"ieee","c":"ES"}]);
module.exports = { // mode: 'jit', purge: { enabled: true, content: ['./src/**/*.vue', './src/**/*.ts'] }, theme: { fontFamily: { sans: ['Quicksand', '"Segoe UI"', '"Helvetica Neue"', 'Arial', 'sans-serif'], mono: ['"Roboto Mono"', 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'C...
import React from "react" import { Link, useStaticQuery, graphql } from "gatsby" import { GatsbyImage } from "gatsby-plugin-image" import PropTypes from "prop-types" import Container from "../container/container" import { BlueDot, RedDot } from "../dots/dots" import Seo from "../seo" import SocialLinks from "../social...
import React from "react" import PropTypes from "prop-types" import Helmet from "react-helmet" import config from "@config" import favicon from "@images/favicons/favicon.ico" import ogImage from "@images/og.png" import appleIcon57x57 from "@images/favicons/apple-icon-57x57.png" import appleIcon60x60 from "@images/favic...
/** * Usage: * docent rtl [options] * * Options: * -p, --path Path to traverse [.] */ var fs = require('fs'); var finder = require('../lib/finder'); module.exports = { description: 'Generate docent blocks in Ltl files', options: [ '-p, --path Path to traverse' ], run: function (op...
import { changePolygonPointsPropertiesToDefault, removePolygonPoints, cleanPolygonPointsArray, clearAllAddPointsData, } from '../../../objects/polygon/alterPolygon/alterPolygon.js'; import { resetNewPolygonData } from '../../../objects/polygon/polygon.js'; import { clearBoundingBoxData, deselectBoundingBox } from '...
export default function Modal(){ const modalWrapper = document.querySelector('.modal-wrapper') const cancelButton = document.querySelector('.button.cancel') cancelButton.addEventListener("click", close) function open(){ //funcionalidade de atribuir a classe active para a modal mod...
var validator = require('validator'); var eventproxy = require('eventproxy'); var config = require('../config'); var User = require('../proxy').User; var mail = require('../common/mail'); var tools = require('../common/tools'); var utility = require('utility'); var authMiddleWare = require('../middlewares/auth'); var u...
/** * Appends REQUEST asyc action type * @return String */ export function REQUEST(actionType) { return `${actionType}_REQUEST`; } /** * Appends SUCCESS asyc action type * @return String */ export function SUCCESS(actionType) { return `${actionType}_SUCCESS`; } /** * Appends FAILURE asyc action type * @re...
/* There are three possible ways that keybindings can be handled. Shortcuts that appear in the menubar are registered in main.js, and send IPC messages to the window (which are handled by menuRenderer.js) - If the browser UI is focused, shortcuts are handled by Mousetrap. - If a BrowserView is focused, shortcuts ar...
// Copyright 2009 the V8 project authors. All rights reserved. // 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 ...
/** * 初始化居民信息详情对话框 */ var PatientHealthInfoDlg = { patientHealthInfoData : {} }; /** * 清除数据 */ PatientHealthInfoDlg.clearData = function() { this.patientHealthInfoData = {}; } /** * 设置对话框中的数据 * * @param key 数据的名称 * @param val 数据的具体值 */ PatientHealthInfoDlg.set = function(key, val) { this.patientH...
import { Component, Input, Output, EventEmitter } from '@angular/core'; import { Grid } from '../../../lib/grid'; import { Row } from '../../../lib/data-set/row'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "../cells/actions.component"; import * as i3 from "../../cell...
(function() { var instruments; instruments = angular.module('archivist.data_manager.instruments', ['archivist.resource']); instruments.factory('Instruments', [ 'WrappedResource', function(WrappedResource) { return new WrappedResource('instruments/:id.json', { id: '@id' }, { save:...
macDetailCallback("70b7e4000000/24",[{"d":"2022-06-03","t":"add","s":"ieee-oui.csv","a":"15191 Alton Parkway Irvine CA US 92618","c":"US","o":"Broadcom Limited"}]);
#!/usr/bin/env node //testing sumn var blessed = require('blessed') , contrib = require('blessed-contrib') var setTerminalTitle = require('set-terminal-title'); setTerminalTitle('KRIST CONSOLE :D', { verbose: false }); var open = require('open'); var packageJson = require('./package.json'); var WebSocketClient = ...
import { default as Page } from '../lib/page.js'; import html from './main.html'; import { default as router } from '../lib/router'; const mainPage = new Page(html); export default mainPage; mainPage.on("init", () => { let btnNewGame = document.querySelector("#newGame"); let btnJoinGame = document.querySelect...
// Copyright (C) 2019 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-atomics.or description: > TypedArray type is validated before `index` argument is coerced. info: | 24.4.8 Atomics.or ( typedArray, index, value ) 1. Return ? AtomicRe...
/** * Implement Gatsby's Browser APIs in this file. * * See: https://www.gatsbyjs.com/docs/browser-apis/ */ // You can delete this file if you're not using it import "./src/styles/_layout.scss" import "@fontsource/manrope" import "@fontsource/roboto"
CKEDITOR.plugins.setLang("docprops","sr-latn",{bgColor:"Boja pozadine",bgFixed:"Fiksirana pozadina",bgImage:"URL pozadinske slike",charset:"Kodiranje skupa karaktera",charsetASCII:"ASCII",charsetCE:"Central European",charsetCR:"Cyrillic",charsetCT:"Chinese Traditional (Big5)",charsetGR:"Greek",charsetJP:"Japanese",cha...
/** * Created by Konstantin Yakushin. * react-native-underline-tabbar */ // @flow import React, { Component } from 'react'; import { Text, TouchableOpacity, View, Animated, ScrollView } from 'react-native'; import MatrixMath from 'react-native/Libraries/Utilities/MatrixMath'; import styles from './Styles'; functio...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (plop) { if (plop.proxy != null) { plop = plop.proxy; } var abort; // if not already an absolute path, make an absolute path from the basePath (plopfile location) const makeTmplPath = p => _path2.default.r...
const precioOriginal = 100, descuento = 15; const calcularPrecioConDescuento = (precio,descuento) => { const porcentajePrecioConDescuento = 100 - descuento, precioConDescuento = (precio*porcentajePrecioConDescuento)/100; return precioConDescuento; } function onClikButtonPriceDiscount()...
/* @flow */ import config from '../config' import { initProxy } from './proxy' import { initState } from './state' import { initRender } from './render' import { initEvents } from './events' import { mark, measure } from '../util/perf' import { initLifecycle, callHook } from './lifecycle' import { initProvide, initInj...
require('bootstrap'); const createEl = require("./domMethods"); if (window.location.href.indexOf("tickets") > -1) { const purchaseBtn = document.getElementById("purchaseBtn"); const purchaseEmail = document.getElementById("purchaseEmail"); const modalEl = document.querySelector(".modal-content"); cons...
module.exports = paginationMethodsPlugin function paginationMethodsPlugin (octokit) { octokit.getFirstPage = require('./lib/get-first-page').bind(null, octokit) octokit.getLastPage = require('./lib/get-last-page').bind(null, octokit) octokit.getNextPage = require('./lib/get-next-page').bind(null, octokit) octo...
/** * @license * ========================================================= * bootstrap-datetimepicker.js * http://www.eyecon.ro/bootstrap-datepicker * ========================================================= * Copyright 2012 Stefan Petre * * Contributions: * - Andrew Rowls * - Thiago de Arruda * * Licens...
import React, { forwardRef } from 'react'; import PropTypes from 'prop-types'; const FileRichtext = forwardRef(({ color, size, ...rest }, ref) => { return ( <svg ref={ref} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width={size} height={size} fill={color} {......
var data = { "body": "<path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm4.5 14H8c-1.66 0-3-1.34-3-3s1.34-3 3-3l.14.01A3.98 3.98 0 0 1 12 7c2.21 0 4 1.79 4 4h.5a2.5 2.5 0 0 1 0 5z\" fill=\"currentColor\"/>", "width": 24, "height": 24 }; exports.__esModule = true; exports.default = data;
module.exports={A:{A:{"2":"J D E F A B qB"},B:{"1":"P Q R S V W X Y Z a b c d e f g T H","2":"C K L G M N O"},C:{"1":"AB BB CB DB EB FB GB HB IB JB KB LB gB MB hB NB OB U PB QB RB SB TB UB VB WB XB YB ZB aB bB cB P Q R iB S V W X Y Z a b c d e f g T H jB","2":"0 1 2 3 4 5 6 7 8 9 rB fB I h J D E F A B C K L G M N O i j...
const fixSig = sig => { // The recover() in ECDSA.sol from openzeppelin-solidity requires signatures to have a v-value that is 27/28 // ETH clients that implement eth_sign will return a signature with a v-value that is 27/28 or 0/1 (geth returns 27/28 and ganache returns 0/1) // In order to support all ETH ...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { format as formatUrl } from 'url'; import fetch from 'node-fetch'; im...
import Route from '@ember/routing/route'; import ENV from 'screwdriver-ui/config/environment'; import RSVP from 'rsvp'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default Route.extend(AuthenticatedRouteMixin, { queryParams: { query: { refreshModel: true...
import React from 'react'; import permission_1 from '../../assets/portfolio/permission_1.png'; import permission_2 from '../../assets/portfolio/permission_2.png'; import permission_3 from '../../assets/portfolio/permission_3.png'; import permission_4 from '../../assets/portfolio/permission_4.png'; export default func...
const { getDishTypeFromChoice, getAllDishesPerDay, getSelectedDishTypePerDay, getSelectedDishesPerDay, constants: { DAYS, REGEXPS }, } = require('../index') const { formDefinition } = require('./form-definition') const { inputData } = require('./input-data') const { dishOptionsPerDay, dishTypePerDay, d...
const CENTER = 0.5; module.exports = { getFigures: function(data) { const height = 1 / data.length; return data.map(function(value, index, array) { const nextValue = array[index + 1] ? array[index + 1] : array[index]; return [ CENTER - value / 2, height * in...
/*! * braces <https://github.com/jonschlinkert/braces> * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT license. */ 'use strict'; /** * Module dependencies */ var lazy = require('lazy-cache')(require); lazy('expand-range', 'expand'); lazy('repeat-element', 'repeat'); lazy('preserve', 'tok...
import About from '../models/about.js'; import User from '../models/user.js'; import config from '../configs/'; const xss = require('xss'); class AboutController { async createAbout(ctx) { const ctxBody = ctx.request.body; const title = ctxBody.title; const content = xss(ctxBody.content); ...
/** * Sumar dos numeros * @param x * @param y * @returns {*} */ const add = (x,y) => { let sum = x + y; return sum; } /** * Primer elemento de un array * @param arr * @returns {*} */ const head = (arr) => { return arr[0]; } const obj = { "id": 1, "value": "Hello World!", "add": (x,y) ...
const router = require('express').Router(); const { Comment } = require('../../models'); const withAuth = require('../../utils/auth') router.get('/', (req, res) => { Comment.findAll({ attributes: [ 'id', 'comment_text', 'user_id', 'post_id', 'crea...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
export default { STATE_VIEW: 'state', PATCHES_VIEW: 'patches', ACTION_VIEW: 'action', DIFF_VIEW: 'diff' }
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { withRouter } from 'react-router-dom'; import { connect } from 'react-redux'; import { saveProblem } from '../../actions/problemActions'; import TextAreaFieldGroup from '../common/TextAreaFieldGroup'; import TextFieldGroup from '../co...
// ==UserScript== // @id iitc-plugin-polygon-label@randomizax // @name IITC plugin: Polygon Labels // @category Layer // @version 1.0.0.20190314.160026 // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL https://randomizax.github.io/polygo...
const typescript = require('rollup-plugin-typescript2') const formats = { es: 'index.es.js', cjs: 'index.js' } const makeConfig = format => ({ input: `./src/index.ts`, plugins: [ typescript({ tsconfig: `./tsconfig.json`, useTsconfigDeclarationDir: true, clea...
/** * Created by quuyely on 26/12/19. */ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), clean: ["snomed-interaction-components/dist", "snomed-interaction-components/views/compiled"], concat: { js: {...
const sqlite3 = require("sqlite3") const { open } = require("sqlite") module.exports = () => open({ filename: "./database.sqlite", driver: sqlite3.Database });
import React, { Component } from 'react'; // import PropTypes from 'prop-types'; export default class PollResults extends Component { static propTypes = { }; constructor(props) { super(props); this.state = { }; } render() { return ( <div className='pollResults'> {`You're going...
require("source-map-support").install() require("ts-node").register({ compilerOptions: { module: "commonjs", target: "es2017", }, }) exports.createPages = require("./src/api/createPages").createPages exports.createSchemaCustomization = ({ actions, schema }) => { const { createTypes } = actions const ...
const NO_ERROR = null; // error functions take values and arguments and check to see if the value is valid const errorFunctions = { /** * @param string {string} * @returns {ErrorString?} */ number: (value) => { if (typeof value !== 'number') return 'Not number'; if (isNaN(value)) return 'Not numbe...
const MyRESTService = require("../index.js"); const Demo4Service = function () { return new MyRESTService({ args: { id: { type: "number", mandatory: true } }, fn: (service, request, response) => { service.success({ data: { removed: true } }); } }); }; module.exports = Demo4S...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[86],{ /***/ "./frontend/src/@core/comp-functions/forms/form-utils.js": /*!***************************************************************!*\ !*** ./frontend/src/@core/comp-functions/forms/form-utils.js ***! \********************************************...
/*! Bootstrap integration for DataTables' Buttons * ©2016 SpryMedia Ltd - datatables.net/license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery', 'datatables.net-bs4', 'datatables.net-buttons'], function ($) { return factory($, window, document); }); } e...
require('viz/tree_map/tree_map'); const $ = require('jquery'); const vizMocks = require('../../helpers/vizMocks.js'); const loadingIndicatorModule = require('viz/core/loading_indicator'); const DataSource = require('data/data_source/data_source').DataSource; $('#qunit-fixture').append('<div id="test-container" style=...
/** * @name exports * @summary MedicationDispense Class */ module.exports = class MedicationDispense { constructor(opts) { // Create an object to store all props Object.defineProperty(this, '__data', { value: {} }); // Define getters and setters as enumerable Object.defineProperty(this, '_id', { enumer...
import React from 'react'; import { render } from 'react-dom'; import { createStore, applyMiddleware, compose } from 'redux'; import logger from 'redux-logger'; import { Provider } from 'react-redux'; import { Router, browserHistory } from 'react-router'; import { syncHistoryWithStore } from 'react-router-redux'; impor...
export const exercise1=[ { "question":1, "exercise":" You will learn Igbo language.", "answer1":"Unu ga-amụ ", "subquestion1":"asụsụ Igbo.", "subquestion2":"" }, { "question":2, "exercise":"Today is special.", "answer1":" ụbọchị taa, ", "subquestion1":"pụrụ iche.", "subquestion2":"" }, { ...
const code = ` vec4 encodeFloatRGBA(highp float val) { if (val == 0.0) { return vec4(0.0, 0.0, 0.0, 0.0); } float mag = abs(val); float exponent = floor(log2(mag)); // Correct log2 approximation errors. exponent += float(exp2(exponent) <= mag / 2.0); exponent -= float(exp2(exponent)...
'use strict'; import { v3 } from 'twgl.js'; import * as settings from './settings.js'; import * as models from './models.js'; import * as slicer from './slicer.js'; import * as renderer from './renderer.js'; // global variables - line segment model // of the form [ // [[1,0,0], [1,0,1]], // [[2,0,0], [2,0,1...
var path = require("path"); /** * GET /WSRR/7.5/Metadata/JSON/Query/getWSDLDocument?p1=name&p2=Logging.wsdl * * accept: application/json * host: srb84a.hursley.ibm.com:9443 * authorization: Basic dXNlcjp1c2Vy * connection: close */ module.exports = function (req, res) { res.statusCode = 200; res.setHeader...
import React from "react"; import {storiesOf} from "@storybook/react"; import {withA11y} from "@storybook/addon-a11y"; import {withInfo} from "@storybook/addon-info"; import { LinkList, LinkListItem, Toggle, Input, Label, FormGroup, Collapse } from "../../src"; import LinkListCollapsibleEx...
// Placeholder manifest file. // the installer will append this file to the app vendored assets here: vendor/assets/javascripts/spree/frontend/all.js' //= require_tree . Spree.typeaheadSearch = function() { var products = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.whitespace, queryTokenizer: Bloo...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
import React, { Component } from 'react'; import store from '../store'; import styles from './PlayerSpectrum.css'; import { ANIMATION_FRAME } from '../events'; class PlayerSpectrum extends Component { constructor() { super(); this.state = { bars: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }; ...
const _ = require('lodash'); function createResource(request, response, next) { const domainConfig = { "type": "IotAdaptor", "option": { "endpoint": "http://127.0.0.1:1000/adaptor" } } let flow = $$.flow.start(domainConfig.type); flow.init(domainConfig); const resourceT...
let path = require("path"); let debug = require("debug")("hexo:image_sizes"); let yaml = require("js-yaml"); let hexoUtil = require("hexo-util"); /* Try to find the given profile `name` in `profiles` to make sure it exists. If found, return `name`, indicating that it's a valid name. If it isn't a valid name (or is fal...
import React, { Fragment, useState, useEffect, useMemo, useCallback } from 'react'; import { connect } from "dva"; import { useEffectOnce, useToggle, } from 'react-use'; import { Card, Menu, Button, Form, Modal, Icon, Switch, message,Popconfirm, Typography, Spin, Tag, Dropdown,Row,Col } from 'antd'; import PageHeaderWr...
import { Fragment } from 'react' import { Link } from '../routes' import slug from '../helpers/slug' const AudioClips = ({ audioClips }) => { return( <Fragment> { audioClips.length > 0 && <> <h2 className='Title'>Ultimos Podcasts</h2> { audioClips.map((clip, key) => ( ...
module.exports = function (grunt) { grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-ember-template-compiler'); grunt.loadNpmTasks('grunt-karma'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-neuter'); grunt.initConfig({ jshint: { ...
import React from 'react'; import '../shared/styles/LoginAndRegister.css'; function Register() { return ( <div className='Register'> <h1>Register</h1> <form> <div className='form-control'> <label for='email'>Email</label> <inp...
/* eslint-disable handle-callback-err */ const fs = require('fs') const mysql = require('promise-mysql') const { error, stopSpinner } = require('@vue/cli-shared-utils') module.exports = (path, connection) => { const fetch = (resolve, reject) => { try { fs.readFile(path, 'utf8', async (err, data) => { ...
import Swiper from 'swiper'; import SwiperCore, { Navigation, Autoplay} from 'swiper/core'; import 'swiper/swiper-bundle.css'; SwiperCore.use([Navigation, Autoplay, ]); document.addEventListener('DOMContentLoaded', function () { // eslint-disable-next-line no-unused-vars const swiper = new Swiper('.swiper-container...
module.exports = { preset: "ts-jest", testEnvironment: "node", };
"use strict"; const SMTPServer = require("smtp-server").SMTPServer; const got = require("got"); const FormData = require("form-data"); const SERVER_PORT = 2525; const SERVER_HOST = "localhost"; const POST_URL = "http://localhost/example_store.php"; const ADDR_TO_ACCEPT = "@example.com"; // Logic can be changed in `on...
import { connect } from 'react-redux'; import {EnhanceLoading} from '../../../../components/Enhance'; import EditDialog from './EditDialog'; import helper, {fetchJson, postOption, showError, getJsonResult, deepCopy, convert}from '../../../../common/common'; import {Action} from '../../../../action-reducer/action'; impo...
// This is the root runtime File // Import Compontents import Discord from 'discord.js' import config from '../config.json' import Logger from './logger' import Router from './router' class Run { constructor() { this.logger = Logger try { this.client = new Discord.Client() ...
'use strict'; const { types, operator, } = require('putout'); const {replaceWith} = operator; const { ArrayExpression, NumericLiteral, ObjectProperty, ObjectExpression, Identifier, StringLiteral, isStringLiteral, isIdentifier, } = types; module.exports.report = () => `"use" s...
import cheerio from 'cheerio' import MarkdownIt from 'markdown-it' import { Theme, ThemeSet } from '../../src/index' import inlineSVG from '../../src/markdown/inline_svg' import slide from '../../src/markdown/slide' import skipThemeValidationSymbol from '../../src/theme/symbol' describe('Marpit inline SVG plugin', () ...
var namespacefrc_1_1common_1_1wpilib = [ [ "RRSubsystem", "classfrc_1_1common_1_1wpilib_1_1RRSubsystem.html", "classfrc_1_1common_1_1wpilib_1_1RRSubsystem" ] ];
import Realm from 'realm'; import update from 'immutability-helper'; import path from 'path'; import Promise from 'bluebird'; import schema0 from '../../realm/migrations/schema0'; import schema1 from '../../realm/migrations/schema1'; import sequencer from '../../realm/sequencer'; import schema0TestData from './fixtures...
import { __extends } from "tslib"; import { getSerdePlugin } from "@aws-sdk/middleware-serde"; import { Command as $Command } from "@aws-sdk/smithy-client"; import { ListAccountRolesRequest, ListAccountRolesResponse } from "../models/models_0"; import { deserializeAws_restJson1ListAccountRolesCommand, serializeAws_rest...
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'specialchar', 'az', { options: 'Xüsusi simvolların seçimləri', title: 'Xüsusi simvolu seç', toolbar: 'Xüsusi simvolu daxil et' ...
let mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel applica...
/** * @name discordExperiments * @website https://inve1951.github.io/BetterDiscordStuff/ */ var discordExperiments = (t => class { getName(){ return "Discord Experiments" } getDescription(){ return "Enables the experiments tab in discord's settings." } getAuthor(){ return "square" } getVersion(){ return "1.2.3"...
var noun = require('./noun.js'), Cell = noun.Cell, zero = noun.Atom.yes; function flop(a) { var b = zero; while ( true ) { if ( zero.equals(a) ) { return b; } else if ( !a.deep ) { throw new Error("Bail"); } else { b = new Cell(a.head, b); a = a.tail; } } } function forEac...
'use strict' export function toSnakeCase(text) { const lower = text.toLowerCase() const snake = lower.replace(/\s/g, '_') return snake } export function serialize(form) { if (!form || form.nodeName !== 'FORM') { return } let i let j let q = [] for (i = form.elements.length - 1; i >= 0; i = i - 1...
import React from 'react'; import ReactDOM from "react-dom"; import Wprr from "wprr/Wprr"; import WprrBaseObject from "wprr/WprrBaseObject"; //import PortalledItem from "wprr/elements/abstract/PortalledItem"; export default class PortalledItem extends WprrBaseObject { constructor(aProps) { super(aProps); th...
/** * translate markdown format to content state used by editor */ import parse5 from 'parse5' import TurndownService from 'turndown' import marked from '../parser/marked' import ExportMarkdown from './exportMarkdown' // To be disabled rules when parse markdown, Because content state don't need to parse inline rule...
/*! * ${copyright} */ /** * Contains String analyzing functionality such as calculating the levenshtein distance between 2 strings */ sap.ui.define([], function () { "use strict"; var StringAnalyzer = { /** * * @param {string} sWordA * @param {string} sWordB * @returns levenshtein distance number...
/* * Copyright 2012-2015 MarkLogic Corporation * * 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 appli...
import { parseTime } from './ruoyi' /** * 表格时间格式化 */ export function formatDate(cellValue) { if (cellValue == null || cellValue == '') return '' var date = new Date(cellValue) var year = date.getFullYear() var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1 var day = da...
import './footer.css'; function Footer() { return ( <> <div className="footer-container"> <footer> <ul> <li><a href="#" id="privacy">Privacy Policy</a></li> <li><a href="#" id="terms">Terms of Use</a></li> </ul> </footer> </div> </> ); } export default Footer;
export function getVersions(platform) { const versions = { "ruby": [ "1.9.3-p551", "2.0.0-p648", "2.1.9", "2.2.10", "2.3.0", "2.3.1", "2.3.2", "2.3.3", "2.3.4", "2.3.5", "2.3.6", "2.3.7", "2.3.8", "2.4.0", "2.4.1", "2.4.2", "2.4.3", "2.4.4", "2.4.5", "2.4.6", "2.4.7", "2.4.9", ...
/** * Hilo 1.2.0 for standalone * Copyright 2016 alibaba.com * Licensed under the MIT License */ (function(window){ if(!window.Hilo) window.Hilo = {}; var Hilo = window.Hilo;var Class = window.Hilo.Class; var View = window.Hilo.View; var Drawable = window.Hilo.Drawable; /** * @language=en * <iframe src='../../....
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{184:function(t,e,a){},201:function(t,e,a){"use strict";var n=a(184);a.n(n).a},226:function(t,e,a){"use strict";a.r(e);var n={name:"action-slot-table",data:function(){return{columns:[{label:"Name",field:"name",filterOptions:{enabled:!1}},{label:"Age",field:"age",...
// Copyright 2019-2020 ETH Zurich and the DaCe authors. All rights reserved. var fr; var file = null; var renderer = null; function init_sdfv(sdfg, user_transform = null, debug_draw = false) { $('input[type="file"]').change(function(e){ if (e.target.files.length < 1) return; file = e.t...
import Vue from "vue"; import App from "./App.vue"; import {GetResponseData} from "../Common"; Vue.config.productionTip = false; Vue.prototype.$ResponseData = GetResponseData();//用户数据 new Vue({ render: h => h(App), }).$mount("#app");
const router = require('express').Router(); const { response } = require('express'); const { Category, Product } = require('../../models'); // The `/api/categories` endpoint router.get('/', (req, res) => { Category.findAll({ include: [Product] }).then(response => res.json(response)) .catch(err => { ...
const moduleName = 'angular-firebase-app'; angular .module(moduleName, [ moduleName + '.helloworld', moduleName + '.vehicles', 'ui.router' ]); export default moduleName;