text
stringlengths
3
1.05M
# vim: tabstop=2 expandtab shiftwidth=2 softtabstop=8 if __name__=='__main__': import sys # This is a hack needed so that you can directly run this file as # python inbuilt_algos/nnompcv.py. # # This is needed because we want to import "matrices" from one level up, but python # does not know about one lev...
class Worker { // instancie un worker. il travaille sur un wallet, //possède un tableau de boutons d'upgrade et un objet de conf permettant de savoir quel bouton augmente quelle upgrade. // il est également envisagé de décrire les couts avec des wallets. ceci entrainerait bcp de complexité dans la conf construc...
export * from './ShopHeader'
// Convert [x,y] coordinates to [r,theta] polar coordinates function toPolar(x, y) { return [Math.sqrt(x * x + y * y), Math.atan2(y, x)]; } // Convert polar to Cartesian coordinates function toCartesian(r, theta) { return [r * Math.cos(theta), r * Math.sin(theta)]; } let [r, theta] = toPolar(1.0, 1.0); // r == Ma...
from onelang_core import *
// Invalid: Modules don't match regex order (react before redux) module.exports = ` import { } from 'redux'; import { } from 'react'; `;
/* * Copyright (C) 2005 - 2016 Jaspersoft Corporation. All rights reserved. * http://www.jaspersoft.com. * Licensed under commercial Jaspersoft Subscription License Agreement */ /** * @author: Zahar Tomchenko * @version: $Id:$ */ define(function (require) { "use strict"; var RepositoryFileModel = req...
/** * Users DataService * Uses embedded, hard-coded data model; acts asynchronously to simulate * remote data service call(s). * * @returns {{loadAll: Function}} * @constructor */ function UsersDataservice($q) { var users = [ { name: 'Lia Lugo', avatar: 'svg-1', content: 'I love cheese, especially ai...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var checkDecoratorArguments_1 = require("./utils/checkDecoratorArguments"); var decorateHandler_1 = require("./decorateHandler"); var registerSource_1 = require("./registerSource"); var createSourceFactory_1 = require("./createSourceFactory");...
'use strict'; /* Universial Module (UMD) design pattern * https://github.com/umdjs/umd/blob/master/templates/returnExports.js */ (function (root, factory) { if (typeof define === 'function' && define.amd) { // register as an AMD anonymous module define([], factory); } else if (typeof module =...
#bins data in chunks of 10000 (averages data) import numpy as np import datetime import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import sys,time import math size = 1024 BP_SIZE = int(1E3) lst = [] window = [] checkDelims = [' ', '\t', '\n', ''] lstArray = np.zeros(1) def makePlot(file...
import axios from 'axios'; const baseURL = 'http://127.0.0.1:3000'; class HttpRequest { constructor (baseUrl=baseURL) { this.baseUrl = baseUrl; } getInsideConfig () { const config = { baseURL: this.baseUrl, header: { // } } return config; } interceptors (instance)...
/* eslint-env node */ 'use strict'; module.exports = { name: 'ember-drag-and-drop' };
$(document).on('ajaxComplete ready', function () { // Initialize multiple pickers $('input[data-provides="visiosoft.field_type.multiple"]:not([data-initialized])').each(function () { $(this).attr('data-initialized', ''); let input = $(this); let field = input.data('field_name'); ...
// actual machine instructions function rotate(register,amount) { var regstr=Registers[Utilities.hexToInt(register)]; var value=binify(regstr.slice(0,1)) + binify(regstr.slice(1,2)); for(var i=0;i<hex_dec(amount);i++) { var bit=value.charAt(7); var v=bit+value.slice(0,7); value=v; ...
//// [genericClasses2.ts] interface Foo<T> { a: T; } class C<T> { public x: T; public y: Foo<T>; public z: Foo<number>; } var v1 : C<string>; var y = v1.x; // should be 'string' var w = v1.y.a; // should be 'string' var z = v1.z.a; // should be 'number' //// [genericClasses2.js] var C = (function () { funct...
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
function App() { return ( <div className="App"> <h1>HEllO WORLD</h1> </div> ); } export default App;
(()=>{"use strict";var t,e,o,i,s=(i=[],{init:function(){t=KTUtil.getById("kt_projects_add"),e=KTUtil.getById("kt_projects_add_form"),(o=new KTWizard(t,{startStep:1,clickableSteps:!1})).on("change",(function(t){if(!(t.getStep()>t.getNewStep())){var e=i[t.getStep()-1];return e&&e.validate().then((function(e){"Valid"==e?(...
'use strict'; const assert = require('chai').assert; const ROC = require('./../../lib/indicator/rate-of-change'); describe('Rate Of Change', () => { let data = [ 2,3,5,8,4,2,6,7 ]; let expectedResults = [0, 0, 0, 0, 100, -33.3, 20, -12.5 ]; let runTest = async ( data, expectedResults, options ) => { ...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ To prevent `SQL Injection attack <https://en.wikipedia.org/wiki/SQL_injection>`_ the :class:`Validator` class performs basic check before initializing a :class:`Column <sqlite4dummy.schema.Column>`, :class:`Table <sqlite4dummy.schema.Table>`, :class:`sqlite4dum...
export const externalGraphicSld = `<?xml version="1.0" encoding="UTF-8"?> <sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0...
module.exports={A:{A:{"2":"H D G E lB","8":"A B"},B:{"1":"K","8":"C L q M O I J"},C:{"1":"6 BB CB DB EB FB HB IB JB","2":"5 iB AB F H D G E A B C L q M O I J P Q R S T U V W X Y Z cB bB","8":"8 a b c d f g h i j k l m n o p N r s t","456":"0 1 2 u v w x y z","712":"3 4 9 KB"},D:{"1":"6 FB HB IB JB aB VB PB oB K QB RB S...
import { GlyphStar } from '../src'; describe('<GlyphStar />', () => { test('it should be defined', () => { expect(GlyphStar).toBeDefined(); }); test('it should be wrapped in a <Glyph />', () => { const wrapper = shallow(<GlyphStar />); expect(wrapper.dive().prop('className')).toBe('vx-glyph'); });...
window.__NUXT__=(function(a,b,c,d,e){return {staticAssetsBase:"https:\u002F\u002Fwww.baca-quran.id\u002Fstatic\u002F1627814429",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"Baca Qur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark...
module.exports = { zh: { 10000: '测试', }, en: {}, }
'use strict'; const Storage = require('node-persist').create(); const NameFactory = require('./NameFactory'); class StorageWrapper { constructor(api, log, type, name) { this._key = `${type}.${NameFactory.generate(name)}.json`; log(`Switch ${name} is stored in file ${this._key}`); Storage.initSync({ dir...
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { ReactiveFormsModule } from '@angular/forms'; import { FeatureModule } from '@generic-ui/hermes'; import { FabricButtonComponent, FabricButtonModule, FabricCheckboxComponent, FabricCheckboxModule, FabricChipComponent, Fabr...
import Keycloak from 'keycloak-js'; export const kc = Keycloak(`${window.location.origin}/keycloak.json`); export const keycloakAuthentication = params => new Promise((resolve, reject) => { if (navigator.onLine) { kc.init(params) .then(authenticated => { resolve(authenticated); })...
/* @generated */ // prettier-ignore if (Intl.NumberFormat && typeof Intl.NumberFormat.__addLocaleData === 'function') { Intl.NumberFormat.__addLocaleData({"data":{"se-SE":{"units":{"simple":{"degree":{"long":{"other":"{0} grádat"},"short":{"other":"{0}°"},"narrow":{"other":"{0}°"},"perUnit":{}},"hectare":{"long":{"ot...
module.exports = { port: process.env.PORT || 8083, db: { database: process.env.DB_NAME || 'tabtracker', user: process.env.DB_USER || 'tabtracker', password: process.DB_PASS || 'tabtracker', options: { dialect: process.env.DIALECT || 'sqlite', host: process.env.HOST || 'localhost', ...
import React from 'react'; import withRoot from 'docs/src/modules/components/withRoot'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from 'docs/src/pages/customization/themes/themes.md'; function Page() { return ( <MarkdownDocs markdown={markdown} demos={{ ...
import json from bs4 import BeautifulSoup class FixSearch: def pre_build(self, context): _original_find_static_dirs = context.templating_engine.find_static_dirs def find_static_dirs(): return _original_find_static_dirs() + ['theme/static'] context.templating_engine.find_stat...
import Vue from 'vue'; // get vue import 'ratchet-npm/dist/css/ratchet.css'; // get ratchet import './static/fonts/iconfont.css'; //import 'font-awesome/css/font-awesome.css'; // get font-awesome //import 'animate.css/animate.css'; // get animate.css import 'viewerjs/dist/viewer.min.css'; //get viewer.css import 'min...
/* eslint-disable react/prop-types */ /* eslint-disable react/jsx-props-no-spreading */ import React from 'react'; import Loader from 'react-loader-spinner'; import 'react-loader-spinner/dist/loader/css/react-spinner-loader.css'; import { Route, Redirect } from 'react-router-dom'; const PrivateRoute = ({ component: Co...
from .build import build_test_loader, build_train_loader
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
module.exports = { siteMetadata: { title: `Learnings from Infrastructure Engineering`, author: { name: `Charandas Batra`, summary: `who likes working for and with people.`, }, description: `A starter blog demonstrating what Gatsby can do.`, siteUrl: `https://gatsbystarterblogsource.gat...
var HealthCheckProcessor = function (element) { var self; var showMessages = function (messagesCell, response) { if (response.Messages.length) { var ul = $('<ul>').addClass('list-unstyled margin-bottom-0'); $.each(response.Messages, function (i, message) { $('<li...
const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel appli...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribution...
var EphemeralSocket = require('./EphemeralSocket'), ProxyStream = require('./ProxyStream'); /* * Set up the statsd-client. * * Requires the `hostname`. Options currently allows for `port` and `debug` to * be set. */ function StatsDClient(options) { this.options = options || {}; this._helpers = undefin...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/LICENSE // Because sometimes you need to mark the selected *text*. // // Adds an option 'styleSelectedText' which, when enabled, gives // selected text the CSS class given as option value, or ...
/** * Generated by `createschema condo.User 'name:Text;isAdmin:Checkbox;isSupport:Checkbox;type:Text' --force` * In most cases you should not change it by hands * Please, don't remove `AUTOGENERATE MARKER`s */ const faker = require('faker') const { getRandomString, makeLoggedInClient, makeLoggedInAdminClient } = re...
import React from 'react'; import { connect } from 'react-redux'; import cx from 'classnames'; import moment from 'moment'; import { t, duration } from '../../../utils/i18n'; import manifest from '../../../utils/manifest'; import Items from '../../Items'; import ObservedImage from '../../ObservedImage'; import Progres...
const Util = require('ethereumjs-util') const keccak = Util.keccak const encode = (input) => { return input === "0x0" ? Util.rlp.encode(Buffer.from([])) : Util.rlp.encode(input) } const decode = Util.rlp.decode const toBuffer = (input) => { return input === "0x0" ? Buffer.from([]) : Util.toBuffer(input) } const ...
const loadCSS = require("./loadCSS"); const { readFileSync } = require("fs"); module.exports = (path, ...args) => { loadCSS(readFileSync(path).toString(), ...args); };
const { validationResult } = require('express-validator'); const repository = require('../repositories/certificates-repository'); const { LOG } = require('../services/log'); exports.list = async (req, res) => { try { const data = await repository.list(); LOG('List certificates successfully'); ...
import React from 'react' export const Page404 = () => { return ( <div> <h1>Erro 404</h1> <h2>Página não encontrada!</h2> </div> ) }
// import actionTypes from "./actionTypes" // import {createReducer} from '@reduxjs/toolkit' import {addContant, deleteContact, filterContact} from '../redux/phoneAction' export const phoneReducer =(state={contacts:[], filter:[]}, {type, payload})=>{ switch(type){ case addContant.type: return(...
import argparse import socket import time from timepix_packet import TimepixPacket def options(): parser = argparse.ArgumentParser() parser.add_argument("-s", "--samples", type=int, default=1000000, help="Number of sample events to process") args = parser.parse_args() return args def main(): args...
import React from "react"; import classnames from "classnames"; // javascript plugin used to create scrollbars on windows import PerfectScrollbar from "perfect-scrollbar"; // reactstrap components import { Button, Card, CardHeader, CardBody, Label, FormGroup, Input, FormText, NavItem, NavLink, Nav...
// TODO: Create a function that returns a license badge based on which license is passed in // If there is no license, return an empty string function renderLicenseBadge(license) { if(license === 'MIT'){ return `[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses...
/** * Created by cmlin on 2016/12/9. */ var HOST = '127.0.0.1'; var PORT = 8080; var dgram = require('dgram'); var client = dgram.createSocket('udp4'); /** * 存储本地用户信息 */ var id = -1; /** * API发送 * @param type * @param data */ function sendAPI(type, data, id) { if (id != undefined) { data.id = id;...
# Copyright 2016 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 "license" file acc...
import { put, select } from 'redux-saga/effects' import { saveLocation } from '../actions/previous-router' export function* locationChange({ payload }) { const { location, isFirstRendering, action } = payload const state = yield select() const previousPathname = state.previousRouter.location.pathname console....
import toppra import pytest import numpy as np from numpy.testing import assert_allclose @pytest.fixture(name="f_2dof") def give_a_2dof_function_without_derivatives(): f = toppra.SimplePath([0, 1, 2], np.array([[0, 0], [1, 2.0], [1, 2.0]])) yield f def test_check_basic_2dof_shape(f_2dof): d1 = f_2dof(np.l...
export const ONE_LAND_IN_MANA = 1000 export const land = { convert(amount, unit = 'land') { if (amount <= 0) return 0 let result = null switch (unit.toLowerCase()) { case 'land': result = amount break case 'mana': result = amount * ONE_LAND_IN_MANA break ...
/* Ecrire une fonction "addition", qui prend en paramètre deux nombres, et qui retourne un nombre étant le résultat de l'addition; Tips: Nous appelons déjà la fonction; Vous n'avez plus qu'a coder la fonction; Utilisez la fonction console.log pour afficher la valeur de retour de la fon...
# swift_build_support/products/product.py -----------------------*- python -*- # # This source file is part of the Swift.org open source project # # Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See https://swift.org/LICENSE.tx...
# frm Ultroid # port by Koala @manusiarakitann # @LordUserbot_Group from userbot.events import register from userbot import CMD_HELP, bot @register(outgoing=True, pattern="^.gcast (.*)") async def gcast(event): xx = event.pattern_match.group(1) if not xx: return await event.edit("`Berikan Saya Teks U...
const mongoose=require('mongoose'); module.exports=()=> { mongoose.connect('mongodb://localhost/movie',{ useNewUrlParser: true}); mongoose.connection.once('open',()=> { console.log("Veri tabanı bağlantısı kuruldu"); }).on('error',(error)=> { console.log('Error: ',error); }); mongoose.Promise=global.Promise; };
import pandas as pd tsv_list = [] tsv_list.append('GSM4100721_PDAC-A-st2.tsv') tsv_list.append('GSM4100722_PDAC-A-st3.tsv') tsv_list.append('GSM4100723_PDAC-B-st2.tsv') tsv_list.append('GSM4100724_PDAC-B-st3.tsv') tsv_list.append('GSM4100725_PDAC-D-st1.tsv') tsv_list.append('GSM4100726_PDAC-E-st1.tsv') tsv_li...
var math = require('./math'); var express = require('express'); var logger = require('morgan'); var app = express(); app.use(logger('dev')); app.get('/fibonacci/:n', (req, res, next) => { math.fibonacciAsync(Math.floor(req.params.n), (err, val) => { if (err) next('FIBO SERVER ERROR ' + err); else {...
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIubW9kZWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac3BhcnRhY3VzL2NvcmUvIiwic291cmNlcyI6WyJzcmMvbW9kZWwvb3JkZXIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFByaWNlLCBQcm9kdWN0IH0gZnJvbSAnLi9wcm9kdWN0Lm1vZG...
const fs = require("fs"); const path = require("path"); const { fake, expect } = require("chai").use(require("sinon-chai")); const services = fs.existsSync(path.resolve(__dirname, "../../services.js")) && require("../../services"); describe("Command gateway services tests", () => { if (!services) return; it("...
# Generated by Django 2.0 on 2019-04-30 10:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('djconnectwise', '0084_auto_20190404_1532'), ] operations = [ migrations.AddField( model_name='timeentry', name='email_...
// preparing canvas. class Canvas { constructor(id, parent, width, height) { this.id = id; this.listId = null; this.parent = parent; this.width = width; this.height = height; this.ctx = null; } create() { if(this.ctx !== null) { return; } else { let divWrapper = docume...
export default { el: { colorpicker: { confirm: 'OK', clear: 'クリア' }, datepicker: { now: '現在', today: '今日', cancel: 'キャンセル', clear: 'クリア', confirm: 'はい', selectDate: '日付を選択', selectTime: '時間を選択', startDate: '開始日', startTime: '開始時間', en...
import React, { Component } from "react"; import { useLocation, NavLink } from "react-router-dom"; import { Nav } from "react-bootstrap"; import logo from "assets/img/blpa.jpg"; function Sidebar({ color, image, routes }) { const location = useLocation(); const activeRoute = (routeName) => { return location....
var searchData= [ ['advertise',['ADVERTISE',['../objecttypebuilder_8hpp.html#a334c0d60b91e4e3f89bcfe5f627c715e',1,'objecttypebuilder.hpp']]] ];
# -*- coding: utf-8 -*- """ Created on Thu May 30 08:25:46 2019 @author: HCHO """ #GPS点提取软件。用于GPS点截取,道路关系需同时借助excel记录 #即在使用软件选取Lane的同时,生成文件名即为LaneID, 自行定义Road ID匹配 #Conn的对应关系文件,也由人工记录 #后期加入显示路段的功能,从而在截取结束后,可再行记录,确保准确 #导出数据,制表符和空格的问题? import sys import PySide2 import os import pandas as pd from pandas.core.frame impor...
const path = require('path'); const webpack = require('webpack'); const project = require('./project.config') module.exports = { entry: { vendor: project.vendor }, output: { path: path.resolve(project.basePath, 'dll'), filename: '[name].dll.js', library: '[name]_library' ...
from Source.HDFGroup import HDFGroup import collections import sys import warnings import numpy as np from numpy import matlib as mb import scipy as sp import datetime as datetime import copy from PyQt5 import QtWidgets from tqdm import tqdm import HDFRoot from MainConfig import MainConfig from AncillaryReader impor...
// -*- coding: utf-8 -*- //----------------------------------------------------------------------------- // file: $Id$ // desc: unit test for the syncml-js/codec module // auth: metagriffin <metagriffin@uberdev.org> // date: 2012/10/13 // copy: (C) CopyLoose 2012 UberDev <hardcore@uberdev.org>, No Rights Reserved. //--...
#!/usr/bin/env node "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var program = require("commander"); var fs = require("fs"); var slacker = require("./slack/slack-alert"); var version; try { var json = JSON.parse(fs.readFileSync("./node_modules/cypress-slack-reporter/package.json", "u...
// @author Dmitry Patsura <talk@dmtry.me> https://github.com/ovr // @flow export { default as Markdown } from './Markdown';
Ext.define('KitchenSink.view.calendar.Timezone', { extend: 'Ext.panel.Panel', xtype: 'calendar-timezone', requires: [ 'KitchenSink.data.calendar.Timezone', 'Ext.calendar.panel.Days', 'Ext.field.Select' ], // <example> otherContent: [{ type: 'Store', path...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var lodash_es_1 = require("lodash-es"); var factory_1 = require("./factory"); var applicators_1 = require("./applicators"); exports.Unary = factory_1.DecoratorFactory.createDecorator(new factory_1.DecoratorConfig(lodash_es_1.unary, new applica...
const withImages = require('next-images') module.exports = withImages({ webpack: (config, options) => { config.module.rules.push({ test: /\.md$/, use: 'raw-loader' }) if (!options.isServer) { config.node = { fs: 'empty' } } return config } })
"use strict"; exports.__esModule = true; //# sourceMappingURL=check_rss_runner.js.map
import h from '../h'; export default function Labels({ styles, data, onClick, rowHeight, offsetY }) { return ( <g> {data.map((v, i) => ( <text key={i} x={10} y={(i + 0.5) * rowHeight + offsetY} class="gantt-label" style={styles.label} on...
/** * State-based routing for AngularJS 1.x * NOTICE: This monolithic bundle also bundles the @uirouter/core code. * This causes it to be incompatible with plugins that depend on @uirouter/core. * We recommend switching to the ui-router-core.js and ui-router-angularjs.js bundles instead. * ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Utilities_1 = require("../../Utilities"); var Styling_1 = require("../../Styling"); // Size breakpoint when the default border width changes from 2px to 4px. var CELL_BORDER_BREAKPOINT = 24; var LARGE_BORDER = 4; var SMALL_BORDER = 2; var ...
// weakset works roughly the same way const weakset = new WeakSet() let today = new Date() weakset.add(today) console.log(weakset.has(today)) // Oooops today = null // Bye bye console.log(weakset.has(today))
import React from 'react' import TwitterIcon from './TwitterIcon' import {LinkContainer} from 'react-router-bootstrap' import { Navbar, Nav, NavItem, NavDropdown, MenuItem, Image } from 'react-bootstrap' const SiteNav = React.createClass({ renderLoginNavItem () { return ( <NavItem href='/login/...
(function( root, window, document, factory, undefined) { if( typeof define === 'function' && define.amd ) { // AMD. Register as an anonymous module. define( function() { root.TavoCalendar = factory(window, document); return root.TavoCalendar; } ); } else if( typeo...
(function ($) { const ajaxForm = require('./ajax-form'); /** * [data-reload] : bool | null * [data-redirect] : url | null * [data-callback] : string(name of function) | null */ $(document).on('submit', 'form[data-ajax-form]', function (e) { if (this.hasAttribute('data-confirm...
$.extend($.validator.messages,{required:"Αυτό το πεδίο είναι υποχρεωτικό.",remote:"Παρακαλώ διορθώστε αυτό το πεδίο.",email:"Παρακαλώ εισάγετε μια έγκυρη διεύθυνση email.",url:"Παρακαλώ εισάγετε ένα έγκυρο URL.",date:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία.",dateISO:"Παρακαλώ εισάγετε μια έγκυρη ημερομηνία (ISO).",num...
class ClienteEspecial extends Cliente { constructor(nome, cpf, conta, lista) { super(nome, cpf, conta); this.lista = lista; } toString() { return `Lista de dependentes de ${this.nome} -> ${this.lista}\n`; } }
const path = require('path'); const vueSrc = './src'; module.exports = { transpileDependencies: ["vuetify"], publicPath: './', outputDir: 'docs/', configureWebpack: { devtool: 'source-map', resolve: { alias: { '@': path.join(__dirname, vueSrc), }, }, }, productionSourceMap: ...
'use strict' exports.NOT_STARTED_YET = 'The libp2p node is not started yet'
# Copyright 2020 Huawei Technologies Co., Ltd # # 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 applicable law or agreed to...
#!/usr/bin/env python3 import argparse import os import re import subprocess import sys from typing import Tuple from sim_cmd import get_simulator_cmd from test_entry import get_test_entry _CORE_IBEX = os.path.normpath(os.path.join(os.path.dirname(__file__))) _TestAndSeed = Tuple[str, int] def read_test_dot_seed(...
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { Observable, merge } from 'rxjs'; import { share, filter, delay, map } from 'rxjs/operators'; var Trigger = /** @class */ (function () { function Tri...
import { Base } from './_Base'; export class EmailMessageHistory extends Base { constructor() { super('email_message_history'); this.tryEnsureIndex({ createdAt: 1 }, { expireAfterSeconds: 60 * 60 * 24 }); } } export default new EmailMessageHistory();
/****Uncomment the body below to run this with Truffle migrate for truffle testing*/ var TellorTransfer = artifacts.require("./libraries/TellorTransfer.sol"); var TellorDispute = artifacts.require("./libraries/TellorDispute.sol"); var TellorStake = artifacts.require("./libraries/TellorStake.sol"); var TellorLibrary = a...
/* istanbul instrument in package npmtest_pg_promise */ /*jslint bitwise: true, browser: true, maxerr: 8, maxlen: 96, node: true, nomen: true, regexp: true, stupid: true */ (function () { 'use strict'; var local; // run shared js-env code - init-before (function () { ...
'use.strict' var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; const { Console } = require('console'); let express = require('express'); let router = express.Router(); let mongoose = require('mongoose'); //let passport = require('...
export default from './TableRowExpanded';