text
stringlengths
3
1.05M
var WPForms=window.WPForms||{};WPForms.Admin=WPForms.Admin||{},WPForms.Admin.Builder=WPForms.Admin.Builder||{},WPForms.Admin.Builder.Templates=WPForms.Admin.Builder.Templates||function(e){"use strict";var r={previews:new Map},i={init:function(){e(i.ready)},ready:function(){e("#wpforms-panel-providers").trigger("WPForms...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import notifications.validators from django.conf import settings class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('notificat...
from unittest import mock import pytest from pyramid.httpexceptions import HTTPConflict from h.models.auth_client import GrantType from h.schemas import ValidationError from h.security import Identity from h.services.user_unique import DuplicateUserError from h.traversal import UserContext from h.views.api.exceptions...
# Copyright (c) 2013 Mirantis 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 required by applicable law or agreed to in writi...
import React from "react" import Layout from "../components/layout" import SEO from "../components/seo" import Courses from "../components/notes/courses" const NotesPage = () => ( <Layout> <SEO title="Notes" /> <div className="is-grey is-light-grey-bg pad-10-tb pad-3-lr"> <div className="row container...
var columns = { id: 'ID', fake_company_name: "Fake company name", description: "Description", tagline: "Tagline", company_email: "Company email", business_number: "Business number", restricted: 'Restricted', };
import typing import datetime import tensorflow as tf from model_logging import get_logger from training_loop import k_to_true_ghi class MainModel(tf.keras.Model): TRAINING_REQUIRED = True def __init__( self, stations: typing.Dict[typing.AnyStr, typing.Tuple[float, float, float]], ta...
/* * Copyright (C) 2017-2018 Dremio 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 applicable l...
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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...
(function($){ "use strict"; $(document).ready(function(){ var app = { elMsg: $('#debounce-message'), elList: $('#debounce-list'), show: function(){ $(this.elMsg).show(); }, hide: function(){ $(this.elMsg).hide(); }, empty: function(){ $(this.elMsg).html(''); return this.hide();...
/** * Kendo UI v2016.1.118 (http://www.telerik.com/kendo-ui) * Copyright 2016 Telerik AD. All rights reserved. ...
const state = () => ({ active: 'Home', list: [ { index: 'Home', disabled: false, name: '首页', icon: 'el-icon-location', }, { index: 'RelationMap', disabled: false, name: '关系图', icon: 'el-icon-location', }, { index: 'Task', disabled: fals...
# -*- coding: utf-8 -*- import sympy as sp x = sp.symbols('x') print("sin'(x) = {0}".format(sp.diff(sp.sin(x), x))) print("sin'(x^2) = {0}".format(sp.diff(sp.sin(x ** 2), x))) print("log'(x) = {0}".format(sp.diff(sp.log(x), x))) sigmod = (1 / (1 + sp.E ** -x)) sigmod_diff = sp.diff(sigmod, x) print("sigmod'(x) = {...
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{RXBc:function(e,a,t){"use strict";t.r(a),t.d(a,"pageQuery",(function(){return i}));var n=t("q1tI"),c=t.n(n),r=t("Kvkj"),d=t("vOnD"),o=t("InJ6"),s=Object(d.c)(o.d).withConfig({displayName:"pages__StyledMainContainer",componentId:"sc-1tzx2o8-0"})(["counter-reset:se...
const tmi = require('tmi.js'); const events = require('./utils/events/handlers'); const { onMessageHandler } = require('./utils/events/messages'); const { rollDice } = require('./utils/commands'); require('dotenv').config() // Define configuration options const opts = { identity: { username: process.env.BOT_USER...
import React from 'react'; import CreateSvgIcon from '../CreateSvgIcon' export default CreateSvgIcon({ path: <React.Fragment><g><rect fill="none" height="24" width="24"/></g><g><g/><g><path d="M20,3H9v2.4l1.81,1.45C10.93,6.94,11,7.09,11,7.24v4.26c0,0.28-0.22,0.5-0.5,0.5h-4C6.22,12,6,11.78,6,11.5V7.24 c0-0.15,0.07-...
import comp from './sider'; export default comp;
/** * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. * * Camunda licenses this file to you under the MIT; you may not use this ...
/* * Core modules */ var path = require('path'); var util = require('util'); var querystring = require('querystring'); /* * NPM modules */ var glob = require("glob-all"); var fs = require('fs-extra'); var _ = require("lodash"); var cheerio = require("cheerio"); var chalk = require("chalk"); var async = require('as...
import React from "react"; import "./CreateNew.scss"; import Icon_create from "../img/icon/create.png"; import Icon_block from "../img/icon/block.png"; import Icon_page from "../img/icon/page.png"; class CreateNew extends React.Component{ componentDidMount() { const createButton = document.getElementsByClassNa...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); window.Vue = require('vue'); /** * The following block of code may be ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_invoice_order-index"],{"08aa":function(e,t,i){"use strict";i("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.auth=n,t.openPaySubscribe=r,t.openOrderSubscribe=o,t.openExtrctSubscribe=s,t.openPinkSubscribe=d,t.openBargainSubscribe=c,t...
const Discord = require('discord.js'); module.exports = { config: { name: `kız`, aliases: [`k`] }, run: async (client, message, args) => { if(!message.member.roles.has("")) return message.reply('Bu komutu kullanamazsın.') let kızrol = ""; let kayıtsız = ""; ...
describe("JosephusSurvivor", function () { describe("Given certain number of people in a circle and you step 1 time before eliminating", function () { [{ input: 4, step: 1, expected: 4 }, { input: 14, step: 1, expected: 14 }, { input: 100, step: 1, expected: 100 }] .forEach(funct...
const Mongoose = require('mongoose'); const UserModel = require('./../models/user.model'); let Schema = Mongoose.Schema; let schema = new Schema({ uniqueField : { type : String, unique : true, required : true, }, servicePhone : { type : String, required: true, },...
let order = 1; let adding = false; const error = document.querySelector(".error"); const message = "Please add a description."; const add_btn = document.querySelector(".add"); add_btn.addEventListener("click", () => { const target = document.querySelector("#requested"); if (adding == false) { adding = true; ...
import React from 'react'; import _ from 'lodash'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import { NumberLine, Graph } from '../index'; describe('NumberLine', () => { const mkWrapper = (props, context) => { const onMoveElement = jest.fn(); const onDeleteElements = jest.fn(); ...
import Service from '@ember/service'; import { expect } from 'chai'; import { context, beforeEach, describe, it } from 'mocha'; import { setupComponentTest } from 'ember-mocha'; import hbs from 'htmlbars-inline-precompile'; import { make, manualSetup } from 'ember-data-factory-guy'; let broadcast, intl; const sessionS...
#!/usr/bin/env python3 # # Oregano - a lightweight Ergon client # CashFusion - an advanced coin anonymizer # # Copyright (C) 2020 Mark B. Lundeberg # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files # (the "Software"), to deal in the So...
const Engine = Matter.Engine; const World = Matter.World; const Bodies = Matter.Bodies; const Constraint = Matter.Constraint; var engine, world,ground; function preload() { } function setup() { canvas = createCanvas(1200, 600); engine = Engine.create(); world = engine.world; var options = { isStatic:...
const chai = require('chai'); const expect = chai.expect; const chaiHttp = require('chai-http'); const server = require('../../src/app'); const knex = require('../../src/db/knex'); const jwt = require('../../src/jwt/token'); const boxStore = require('../../src/db/boxStore'); chai.use(chaiHttp); const token = jwt.sig...
import React from 'react'; import ReactDOM from 'react-dom'; import './style/app.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; ReactDOM.render( <React.StrictMode> <App /> </React.StrictMode>, document.getElementById('root') ); // If you want to start measuring performance ...
from __future__ import unicode_literals import importlib from django.conf import settings from django.core.exceptions import ImproperlyConfigured from django.urls.exceptions import Resolver404 from django.urls.resolvers import URLResolver from channels.http import AsgiHandler """ All Routing instances inside this f...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import graphql from 'babel-plugin-relay/macro'; import { createFragmentContainer } from 'react-relay'; import { compose } from 'ramda'; import withStyles from '@mui/styles/withStyles'; import Typography from '@mui/material/Typography'; import...
var Rewriter = require('../lib/jsmd/rewriter'); var verifyFile = require('..').verifyFile; var run = function run(file, fn) { verifyFile(fixture(file), fn); }; test('ignores code different than javascript', function(done) { run('ruby', done); }); test('ignores line comments that are not assertions', function(done...
from random import randint from time import sleep from src.HelperLibrary.StorageFunctions import StorageFunctions class Game: rounds = 5 def __init__(self, player_one_username, player_two_username): self.player_one = player_one_username self.player_two = player_two_username self.playe...
//TODO: make debugging useful. //TODO: the whole compression, encryption and signing part looks hacked into the code. function MessagingAPI(legion) { this.legion = legion; this.messagingProtocol = new this.legion.options.messagingProtocol(this, this.legion); //TODO: inner and outer(application) callback han...
import cgen as c from sympy import Not from devito.arch import AMDGPUX, NVIDIAX from devito.ir import (Call, Conditional, List, Prodder, ParallelIteration, ParallelBlock, PointerCast, While, FindSymbols) from devito.passes.iet.definitions import DataManager, DeviceAwareDataManager from devito.pa...
'use strict'; var domainsaleCtrl = function($scope, $sce, walletService) { $scope.referrer = "0xDECAF9CD2367cdbb726E904cD6397eDFcAe6068D"; $scope.ajaxReq = ajaxReq; $scope.hideDomainSaleInfoPanel = false; // walletService.wallet = null; $scope.domainsaleConfirmModalModal = new Modal(document.getElem...
/* eslint-disable */ /** @preserve jQuery animateNumber plugin v0.0.14 * (c) 2013, Alexandr Borisov. * https://github.com/aishek/jquery-animateNumber */ // ['...'] notation using to avoid names minification by Google Closure Compiler /* global window, define, jQuery */ ;(function(factory) { if (typeof define ==...
import logging import random import sys from math import sqrt from reedsolo import RSCodec import numpy as np #-----------------segmentation----------------# def file_to_indexed_dnas(file_name, chunk_size, index_length = None): data = preprocess(file_name, chunk_size) index_l = index_length if i...
import router from '@/router' router.addRoutes([ { path: '/rts/missiles', component: () => import(/* webpackChunkName: "rts-missiles" */ './pages/Missiles'), meta: { layout: 'game', requiresAuth: true }, children: [ { path: '', name: 'rts-missiles', compo...
(window.webpackJsonp=window.webpackJsonp||[]).push([["confirm-symbol-input-dialog"],{kzGG:function(n,o,t){"use strict";function e(n,o,t){var e,i,p,a=$('<input type="text" class="symbol-edit single" placeholder="'+window.t("Symbol")+'" maxlength="30" style="text-transform: none; font-weight: normal;" autocomplete="off">...
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i...
# -*- coding: utf-8 -*- import setuptools with open("README.md", "r", encoding='utf-8') as fh: long_description = fh.read() setuptools.setup( name="py_variety", version="0.1.0", author="maida", author_email="624486877@qq.com", description="Use variety by python.", long_description=long_des...
import datetime import json from Model import Client, FeatureRequest from sqlalchemy.orm import Session from sqlalchemy import create_engine from configTest import SQLALCHEMY_DATABASE_URI engine = create_engine(SQLALCHEMY_DATABASE_URI) session = Session(bind=engine) tomorrow = datetime.date.today() + datetime.timedel...
/** * jQuery UI Widget for S3AddPersonWidget * * @copyright 2017-2020 (c) Sahana Software Foundation * @license MIT * * requires jQuery 1.9.1+ * requires jQuery UI 1.10 widget factory */ (function($, undefined) { "use strict"; // =======================================================================...
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-10-17 11:34 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations...
describe('Testing github Controller', function() { var ctrl, scope, httpBackend; // excuted before each "it" is run beforeEach(function() { // load the module module('github'); // inject dependencies inject(function($controller, $rootScope, $httpBackend) { scope = $rootScope.$new(); ...
# This example requires the 'message_content' privileged intent. import asyncio import youtube_dl import discord from discord.ext import commands # Suppress noise about console usage from errors youtube_dl.utils.bug_reports_message = lambda: "" ytdl_format_options = { "format": "bestaudio/best", "outtmpl"...
import React, { Component } from "react"; export default class Third extends Component { render() { return <div>This is Third Component</div>; } }
import webpack from 'webpack'; import { webpackConfig } from '../webpack.config'; webpack(webpackConfig, (err, stats) => { if (err || stats.hasErrors()) { console.error(err || stats.compilation.errors); } else { const { startTime, endTime, } = stats; con...
const SmartBannerPlugin = require('smart-banner-webpack-plugin'); const path = require('path'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const src = path.join(__dirname, 'src'); const pkg = require('./package.json'); module.exports = {...
# solve a^2 + b^2 = c^2 which a + b + c = 1000 import math def solve(): for a in range(1, 1000+1): try: b = (10 ** 6 - 2 * (10 ** 3) * float(a)) / (2 * (10 ** 3) - 2 * a) except: continue if b <= 0: continue if int(b) == b: yield (a, ...
(function(global) { function now() { return new Date(); } if (typeof (window._bokeh_onload_callbacks) === "undefined") { window._bokeh_onload_callbacks = []; } function run_callbacks() { window._bokeh_onload_callbacks.forEach(function(callback) { callback() }); delete window._bokeh_onload_c...
Ext.define('RaxaEmr.Pharmacy.view.addFacility', { extend: 'Ext.window.Window', alias : 'widget.addfacility', layout: 'fit', autoShow: true, resizable: false, width: 500, modal: true, initComponent: function() { this.items = [ { xtype: 'form', id: '...
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = True # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env( "DJANGO_SECRET_KEY...
import os import time import asyncio import io import userbot.plugins.sql_helper.pmpermit_sql as pmpermit_sql from telethon.tl.functions.users import GetFullUserRequest from telethon import events, errors, functions, types from userbot import ALIVE_NAME, CUSTOM_PMPERMIT from userbot.utils import admin_cmd DEFAULTUSER...
const path = require('path'); const chai = require('chai'); let chaiAsPromised = require("chai-as-promised"); chai.use(chaiAsPromised); const assert = chai.assert; const AeSDK = require('@aeternity/aepp-sdk'); const Universal = AeSDK.Universal; const utils = require('./../utils/utils'); const getClient = utils.getCli...
from django.test import TestCase from dfirtrack_main.models import Company class CompanyModelTestCase(TestCase): """company model tests""" @classmethod def setUpTestData(cls): # create object Company.objects.create(company_name='company_1') def test_company_string(self): ""...
#!/usr/bin/env nodejs // Copyright (c) 2015. Al Poole <netstar@gmail.com> // // http://haxlab.org // var http = require('http'); var mysql = require('mysql'); function respondCode(res, val) { res.writeHead(200, {'Content-Type' : 'text/plain'}); res.write("status: " + val + "\r\n"); res.end(); } function...
mycallback( {"CONTRIBUTOR OCCUPATION": "Diagnostic Radiologist", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Ashford Medical Center", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "Ashford Medical Center", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CAN...
/* eslint-disable max-lines */ 'use strict'; const expect = require('chai').expect; const sinon = require('sinon'); const rewire = require('rewire'); const FeatureToggle = require('app/utils/FeatureToggle'); const RewiredFeatureToggle = rewire('app/utils/FeatureToggle'); describe('FeatureToggle', () => { describe...
import { gql } from '@apollo/client'; import { graphql } from '@apollo/client/react/hoc'; import { isArray, pick } from 'lodash'; import { editCollectivePageFieldsFragment } from './queries'; const createCollectiveMutation = gql` mutation CreateCollective($collective: CollectiveInputType!) { createCollective(co...
let yaml = require('js-yaml'), fs = require('fs'), path = require('path'); /* Public API. */ exports.version = 1; exports.list = []; exports.load = load; exports.toJSON = toJSON; exports.fromJSON = fromJSON; exports.save = save; /* Initialization. */ let minimumVersion = 1, ref = path.join(__dirname, '..', 'r...
export * from './MatchProfiles';
import msmb_theme # Project Information project = "{{ cookiecutter.project_slug }}" copyright = "2019, {{ cookiecutter.team_lead_name }}" author = "{{ cookiecutter.team_lead_name }}" version = "1.0.0" release = "1" # Setup Extensions. extensions = [ "sphinx.ext.todo", "sphinx.ext.githubpages", ] # Setup core...
"use strict"; /** * Copyright 2019 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
import React, { useState, useEffect } from 'react' import { CanUser } from './CanUser' import FormUsers from './FormUsers' import FormUsersDelete from './FormUserDelete' import FormUserEdit from './FormUserEdit' import { useNotification } from './NotificationProvider' import PageHeader from './PageHeader' import Page...
# coding: utf-8 """ Kimai 2 - API Docs JSON API for the Kimai 2 time-tracking software. Read more about its usage in the [API documentation](https://www.kimai.org/documentation/rest-api.html) and then download a [Swagger file](doc.json) for import e.g. in Postman. Be aware: it is not yet considered stable and...
"""Config flow for Logitech Harmony Hub integration.""" import logging from urllib.parse import urlparse import voluptuous as vol from homeassistant import config_entries, exceptions from homeassistant.components import ssdp from homeassistant.components.remote import ( ATTR_ACTIVITY, ATTR_DELAY_SECS, DEF...
webpackHotUpdate("static\\development\\pages\\index.js",{ /***/ "./componentes/Eventos.js": /*!********************************!*\ !*** ./componentes/Eventos.js ***! \********************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"...
/*----------------------------------------------------------------------------- | Copyright (c) 2014-2019, Nucleic Development Team & H. Rutjes. | | Distributed under the terms of the Modified BSD License. | | The full license is in the file COPYING.txt, distributed with this software. --------------------------------...
const images = [ "https://locations-api-production.imgix.net/locations/image/901bfbca-0263-11ea-a72b-0a5bc5747799/Web_72DPI-20191029_WeWork_12130_Millenium_Drive_LA_007.jpg", "https://locations-api-production.imgix.net/locations/image/904fa6c8-0263-11ea-a72b-0a5bc5747799/Web_72DPI-20191029_WeWork_12130_Millenium_Dr...
# Copyright (c) Facebook, Inc. and its affiliates. from detectron2.layers import ShapeSpec from .anchor_generator import build_anchor_generator, ANCHOR_GENERATOR_REGISTRY from .backbone import ( BACKBONE_REGISTRY, FPN, Backbone, ResNet, ResNetBlockBase, build_backbone, build_resnet_backbone...
'use strict'; module.exports = { apiPath: '/api/wfm/group' }
"""Test behaviour of points with vectors.""" from hypothesis import given from skspatial.objects import Point from skspatial.objects import Vector from tests.property.strategies import arrays from tests.property.strategies import arrays_fixed from tests.property.strategies import consistent_dim @given(consistent_dim...
import _ from 'lodash'; import PropTypes from 'prop-types'; import React from 'react'; import memoize from 'memoize-one'; import {Animated, StyleSheet, ViewPropTypes} from 'react-native'; import {RectButton} from 'react-native-gesture-handler'; import {PureBaseComponent} from '../../commons'; import {Constants} from '....
# # SPDX-License-Identifier: Apache-2.0 # import os import shutil import tarfile from zipfile import ZipFile from pathlib import Path from django.conf import settings from django.contrib.auth.models import AbstractUser from django.contrib.postgres.fields import JSONField from django.core.exceptions import ValidationEr...
/* All of the code within the ZingChart software is developed and copyrighted by ZingChart, Inc., and may not be copied, replicated, or used in any other software or application without prior permission from ZingChart. All usage must coincide with the ZingChart End User License Agreement which can be requested by email...
COMPONENT('spotlight', 'height:40;placeholder:Search', function(self, config, cls) { var cls2 = '.' + cls; var container, timeout, input, search, scroller = null; var is = false, selectedindex = 0, resultscount = 0, skip = false, checksum; self.items = null; self.template = Tangular.compile('<figure data-index="...
const express = require('express') const app = express() app.use(express.static('public')) app.get('/', function (req, res) { res.render('index') }) app.listen(process.env.PORT || 2000, function () { console.log('server started on port ' + (process.env.PORT || 2000)) })
# Python code to find maximum value # in second column of list of list # Input list initialization Input = [['Paras', 90], ['Jain', 32], ['Geeks', 120], ['for', 338], ['Labs', 532]] # Using lambda Output = max(Input, key = lambda x: x[1]) # printing output print("Input Li...
({ data:{ s:"./s.js" }, success:function(){ var Fun=Java.type("s.Function"); var Parse=Java.type("s.library.Parse"); var System=Java.type("java.lang.System"); var mb_Util=Java.type("mb.Util"); var Java_String=Java.type("java.lang.String"); var S_Root=S...
import math try: from ulab import scipy, numpy as np except ImportError: import scipy import numpy as np ## test cholesky solve L = np.array([[3, 0, 0, 0], [2, 1, 0, 0], [1, 0, 1, 0], [1, 2, 1, 8]]) b = np.array([4, 2, 4, 2]) # L needs to be a lower triangular matrix result = scipy.linalg.cho_solve(L, b)...
// // Tests whether we forget M/R's temporary namespaces for sharded output // var options = { separateConfig : true }; var st = new ShardingTest({ shards : 1, mongos : 1, other : options }); var mongos = st.s0; var admin = mongos.getDB( "admin" ); var coll = mongos.getCollection( "foo.bar" ); var outputColl = mongo...
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from ..utils import js_to_json class HelsinkiIE(InfoExtractor): IE_DESC = 'helsinki.fi' _VALID_URL = r'https?://video\.helsinki\.fi/Arkisto/flash\.php\?id=(?P<id>\d+)' _TEST = { 'url': 'http://video.helsink...
/** * Socket.io configuration */ 'use strict'; import config from './environment'; // When the user disconnects.. perform this function onDisconnect(socket) { } // When the user connects.. perform this function onConnect(socket) { // When the client emits 'info', this listens and executes socket.on('info', dat...
/** * First we will load all of this project's JavaScript dependencies which * includes Vue and other libraries. It is a great starting point when * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); require('./logoslider'); window.Vue = require('vue'); /** * Next, we ...
let {showToast,hideToast} = require('./tiny-toast'); let {showModalBox,hideModalBox} = require('./modal-box'); require('./tinymessage.less'); let checkCircle = `<svg viewBox="64 64 896 896" focusable="false" class="" data-icon="check-circle" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M512...
"""trophy_taker_taxide_28981 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
/*! * ux-angularjs-datagrid v.1.6.14 * (c) 2018, Obogo * https://github.com/obogo/ux-angularjs-datagrid * License: MIT. */ (function (exports, global) { if (typeof define === "function" && define.amd) { define(exports); } else if (typeof module !== "undefined" && module.exports) { module.exports = exports; } else {...
import webpack from 'webpack'; import TerserPlugin from 'terser-webpack-plugin'; import { WebpackManifestPlugin } from 'webpack-manifest-plugin'; import { isPlainObject } from 'lodash'; import terserOptions from './terserOptions'; function mergeConfig(config, userConfig) { if (typeof userConfig === 'function') { ...
'use strict'; module.exports = { up: (queryInterface, Sequelize) => queryInterface.sequelize.transaction(t => Promise.all([ queryInterface.addColumn( 'Patients', 'hospitalId', { type: Sequelize.INTEGER }, { transaction: t } ) ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
var through = require('through2'); var PluginError = require('gulp-util').PluginError; var swig = require('swig'); var tags = require('./tags'); var filters = require('./filters'); var paths = require('../config.json').paths; var swig = require('swig'); var fs = require('fs'); // Add custom tags for compiler for (var ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const TeventDispatcher_1 = require("../../../events/TeventDispatcher"); const tools = require("../../../tools"); const Promise = require("bluebird"); const fs = require("fs"); const request = require("request"); class ThttpApi extends T...
import sqlite3 as lite import time import calendar import sys import re #This program uses the history database created by Google Chome to tell you what websites you've been visiting in the past number of hours (default is 24) #Currently it requires chrome to be closed to use it #TODO: Add a firefox flag? #TODO: Make i...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.setUseLocalRpc = setUseLocalRpc; exports.getlocalService = getlocalService; exports.getServiceByNuclideUri = getServiceByNuclideUri; exports.getServiceByConnection = getServiceByConnection; exports.getService = getService; var _Ser...
const Chalk = require('chalk') const BLACK = 0 const WHITE = 1 const TRANSPARENT = 2 const buildLayers = (width, height, values) => { let index = 0 let l = 0 const layers = [] while (index < (values.length - 1)) { layers[l] = [] for (let h = 0; h < height; h++) { layers[l][h] = [] for (let w = 0; w <...