text
stringlengths
3
1.05M
"use strict"; module.exports = function(string) { if (!string) return; return string.replace(/.{2}/g, function(m) { var v = parseInt(m, 16); if (v <= 127) { m = encodeURIComponent(String.fromCharCode(v)); if (m[0] === "%") m = m.toLowerCase(); } else m = "%" + m; return m; }); };
import numpy as np import pytest from pandas import DataFrame, Series, concat import pandas._testing as tm @pytest.mark.parametrize("func", ["cov", "corr"]) def test_ewm_pairwise_cov_corr(func, frame): result = getattr(frame.ewm(span=10, min_periods=5), func)() result = result.loc[(slice(None), 1), 5] re...
# coding=utf-8 import urllib3 import pandas as pd import sys import json import gzip import os urllib3.disable_warnings() type2cats = { u'accident': ['Category:Accidents'], u'impact event': ['Category:Astronomy'], u'bombing': ['Category:Terrorism'], u'hostage': ['Category:Terrorism'], u'shooting':...
import BuildSimHubAPI as bsh_api import webbrowser usr_key = '' model_key = '' # results = bsh_api.helpers.ParametricModel(usr_key, model_key) # result_dict = results.net_site_eui() # result_unit = results.last_parameter_unit # print(result_dict) # plot = bsh_api.postprocess.ParametricPlot(result_dict, result_unit)...
'use strict'; const { Collection } = require('@discordjs/collection'); const DataManager = require('./DataManager'); const { TypeError } = require('../errors'); const Role = require('../structures/Role'); /** * Manages API methods for roles belonging to emojis and stores their cache. * @extends {DataManager} */ cl...
// Copyright (c) Microsoft. All rights reserved. const baseUrl = process.env.REACT_APP_BASE_SERVICE_URL || ''; const validExtensions = ['.png', '.jpeg', '.jpg', '.svg']; const Config = { serviceUrls: { // devurls // auth: 'http://localhost:60437/v1/', //config: 'http://localhost:60441/v1/', //iotHubManager...
function createFsPathJobBaseCreator (execlib, fsutils) { 'use strict'; var lib = execlib.lib, qlib = lib.qlib, JobBase = qlib.JobBase; function FsPathJobBase (path, defer) { this.path = fsutils.surePath(path); JobBase.call(this, defer); } lib.inherit(FsPathJobBase, JobBase); FsPathJobBase....
const express = require("express"); const router = express.Router(); const bodyParser = require("body-parser"); router.use(bodyParser.json()); router.use( bodyParser.urlencoded({ extended: true }) ); module.exports = models => { const Item = models.Item; const Cart = models.Cart; const OrderedItem = mode...
Dash.namespace('UI'); Dash.UI = function() { this.interval = 15000; return this; }; // update page title to stat title Dash.UI.updatePageTitle = function(stat) { $('title').text(stat.title + ' (' + stat.value + ')'); return this; }; // update favicon to reflect value [and css of element] Dash.UI.updateFavico...
import { useState, useEffect } from 'react'; import { useSelector } from 'react-redux'; import Basket from '../basket'; import Likes from '../likes'; function Items() { const [items, setItems] = useState([]); const allData = useSelector(state => state.allData); const filteredData = useSelector(state => state.fil...
exports.register = function (plugin, options, next) { plugin.route({ method: 'GET', path: '/login', handler: function (request, reply) { if (request.auth.isAuthenticated) { if (request.auth.credentials.user.roles.admin) { return reply.redir...
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withKnob...
# -*- coding: utf-8 -*- from . import config from .htmlhelpers import * from .messages import * def load(doc): code = config.retrieveBoilerplateFile(doc, "bs-extensions") exec(code, globals())
import { history } from "helpers/history"; import { ADD_JOB_SUCCESS, ADD_JOB_LOADING, ADD_JOB_ERROR, DELETE_JOB_SUCCESS, DELETE_JOB_LOADING, DELETE_JOB_ERROR, EDIT_JOB_SUCCESS, EDIT_JOB_LOADING, EDIT_JOB_ERROR, FETCH_JOB_SUCCESS, FETCH_JOB_LOADING, FETCH_JOB_ERROR, FETCH_AllJOB_SUCCESS, FETC...
function switchToAll() { removeActive(); hideAll(); $("#all-tab").addClass("is-active"); $("#all-tab-content").removeClass("hidden"); } function switchToAdd() { removeActive(); hideAll(); $("#add-tab").addClass("is-active"); $("#add-tab-content").removeClass("hidd...
import { setData } from '@progress/kendo-angular-intl'; setData({ name: "en-MU", identity: { language: "en", territory: "MU" }, territory: "MU", numbers: { symbols: { decimal: ".", group: ",", list: ";", percentSign: "%", ...
import torch import torch.nn as nn import torch.nn.functional as F from torch.utils.data import DataLoader import argparse import model import math import numpy as np import sys def word_drop(model, batch, y_preds, num_classes, device): inputs = batch[0] losses = torch.zeros(inputs.shape) target = None ...
function rcube_webmail(){this.labels={};this.buttons={};this.buttons_sel={};this.gui_objects={};this.gui_containers={};this.commands={};this.command_handlers={};this.onloads=[];this.messages={};this.group2expand={};this.dblclick_time=500;this.message_time=5E3;this.identifier_expr=RegExp("[^0-9a-z-_]","gi");this.env={re...
/** layuiAdmin.std-v1.2.1 LPPL License By http://www.layui.com/admin/ */ ;layui.define(["table", "form", "element"], function (e) { var t = layui.$, i = layui.table, r = (layui.form, layui.element); i.render({ elem: "#LAY-app-system-order", url: layui.setter.base + "json/workorder/demo.js", ...
module.exports = { siteMetadata: { title: `Garfield Lee's resume`, description: `Garfield Lee's resume.`, author: 'Garfield Lee', url: 'https://resume.550.moe', }, plugins: [ { resolve: 'gatsby-plugin-web-font-loader', options: { google: { families: ['Noto Sans SC...
import template from './spinner.tmpl.js'; export class MSpinner extends HTMLElement { constructor(options = {}) { super(); } connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.append(document.importNode(template({}).content, true)); } } customElements.d...
var payload = [233,23,21,0,0,65,84,85,83,185,130,0,0,192,72,129,236,48,1,0,0,72,137,245,15,50,72,193,226,32,72,199,68,36,56,102,6,0,0,72,9,208,198,68,36,16,127,198,68,36,17,69,72,141,116,36,16,198,68,36,18,76,72,141,184,64,254,255,255,198,68,36,19,70,186,4,0,0,0,72,137,76,36,8,255,21,214,41,0,0,76,139,5,207,41,0,0,133,...
import Mock from 'mockjs' import { deepClone } from '../../src/utils/index.js' import { asyncRoutes, constantRoutes } from './routes.js' const routes = deepClone([...constantRoutes, ...asyncRoutes]) const roles = [ { key: 'admin', name: 'admin', description: 'Super Administrator. Have access to view all...
/** * qcdragndrop class * Inherits from SESurveyTool */ function qcdragndrop(questionContainers, json, globalOpts) { SESurveyTool.prototype.init.call(this, questionContainers, json, globalOpts); } qcdragndrop.prototype = Object.create(SESurveyTool.prototype); qcdragndrop.prototype.type = function(){ return "...
var __n = require('y18n').__n console.log(__n('one fish %s', '%d fishes %s', 2, 'foo'))
"""kaistusc URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
"use strict"; var connectClient = require("./client"); var runServer = require("./server"); var port = 8000; describe("server connection", function() { var server = null; before(function(done) { server = runServer(port, done); }); after(function(done) { server.close(); done(); }); it("shou...
var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","2097152":"Object literal","41943...
/*! * TableSorter 2.8.1 - Client-side table sorting with ease! * @requires jQuery v1.2.6+ * * Copyright (c) 2007 Christian Bach * Examples and docs at: http://tablesorter.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * @...
/** * @deprecated - user src/common/all-permissions.js */ export default from '../all-permissions'; export * from '../all-permissions';
import { SET_ALERT, REMOVE_ALERT } from '../actions/types'; const initialState = []; export default function(state = initialState, action) { const { type, payload } = action; switch(type) { case SET_ALERT: return [...state, payload] case REMOVE_ALERT: return state.filt...
import { __decorate } from "tslib"; import { Injectable } from '@angular/core'; import { select, Store } from '@ngrx/store'; import { filter, map, take } from 'rxjs/operators'; import { OCC_USER_ID_ANONYMOUS, OCC_USER_ID_CURRENT, } from '../../occ/utils/occ-constants'; import { AuthActions } from '../store/actions/inde...
export { default } from './simple-mutate' export {}
angular .module('App',['ngRoute']) .config(function($routeProvider){ $routeProvider .when('/', { templateUrl: 'home.html', controller: 'HomeController' }) .when('/cervejaria', { templateUrl: 'cervejaria/index.html', controller: 'CervejariaCon...
""" This package contains implementation of methods to deconvolve or separate the stains of histopathology images. """ # make functions available at the package level using shadow imports # since we mostly have one function per file from . import stain_color_map as _stain_color_map from .color_convolution import color_...
'use strict' module.exports = function setupUserRating (userRatingModel, gamesRatingModel, usersModel) { async function createOrUpdate (uuidGamesRating, uuidUsers, userRating) { const cond = { where: { uuid: userRating.uuid } } const gamesRating = await gamesRatingModel.findOne({ ...
import logging import numpy as np import pytest pygpu = pytest.importorskip("pygpu") # noqa from collections import OrderedDict from io import StringIO from itertools import chain, product import aesara import aesara.tensor as aet import tests.unittest_tools as utt from aesara.configdefaults import SUPPORTED_DNN_...
MeteoApp.factory('myStorage', ['localStorageService', function(localStorageService){ return { load: function (key) { return localStorageService.get(key); }, save: function (key, val) { return localStorageService.set(key, val); } }; }])
import { DxcUpload } from "@dxc-technology/halstack-react"; const code = `() => { async function callbackFunc(file) { console.log(file); return new Promise(resolve => setTimeout(resolve, 1000)); } return <DxcUpload margin="small" callbackUpload={callbackFunc} />; }`; const scope = { DxcUpload }; exp...
const handleError = (err, req, res, next) => { console.log(err); const { status, code, message } = err; res.status(status).send({code, message}); } module.exports = { handleError, }
import React from 'react'; import ContentLoader from 'react-content-loader'; import theme from 'styles/theme'; // It renders loading placeholders for v5 and v4 clusters. const ClusterDashboardLoadingPlaceholder = ({ isV5Cluster }) => ( <ContentLoader viewBox='0 0 400 25' speed={1} height='27' backgro...
import React, { useState, useEffect } from 'react'; import { axiosWithAuth } from '../utils/axiosWithAuth'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { inputStyle, formStyle, labelStyle} from '../styles/FormStyles'; import { MainSection, Title, FormContainer, CustomButton} f...
const { Comment, User, Post } = require('../models'); const Dao = require('../daos/dao'); const dao = new Dao(); module.exports = (function () { const C = {}; C.comment = async (req, res, next) => { const { commentId: id } = req.params; if (!id) return res.status(400).send('Invalid Input'); ...
export const GET_ALL_CHILDREN = 'VAXITRACK/CHILDREN/GET_ALL_CHILDREN' export const SET_VACCINE_LIST = 'VAXITRACK/CHILDREN/SET_VACCINE_LIST' export const SET_SELECTED_CHILD = 'VAXITRACK/CHILDREN/SET_SELECTED_CHILD' export const ADD_NEW_CHILD = 'VAXITRACK/CHILDREN/ADD_NEW_CHILD' export const DELETE_CHILD_RECORD = 'VAXITR...
const Configuration = { extends: ['@commitlint/config-conventional'], rules: { 'footer-empty': [2, 'never'], 'footer-link-issue': [2, 'always'], }, plugins: [ { rules: { 'footer-link-issue': ({footer}) => { const issue_re = /(fix(e[sd])?|issue|relate[sd]?|resolve[sd]?|close[sd]?)\s+([a-z...
import openpnm.models as mods import openpnm.models.geometry as gmods from openpnm.geometry import GenericGeometry from openpnm.utils import Docorator docstr = Docorator() @docstr.dedent class SquaresAndRectangles(GenericGeometry): r""" Parameters ---------- %(GenericGeometry.parameters)s """...
// client.express.js JavaScript Routing, version: 0.7.5 // (c) 2011 Mark Nijhof // // Released under MIT license. // var ClientExpress={},__dirname="",process={env:{PORT:3E3}};ClientExpress.createServer=function(){return new ClientExpress.Server};ClientExpress.supported=function(){return typeof window.history.pushStat...
// flow-typed signature: 34247e2081b1c50daea811035aa553d0 // flow-typed version: <<STUB>>/flowtype-loader_v^0.2.2/flow_v0.52.0 /** * This is an autogenerated libdef stub for: * * 'flowtype-loader' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work...
import React, { Component } from 'react'; import contractSetup from '../../services/prepareContract'; import ipfs from '../../utils/solidity/ipfs'; import ModalDialog from '../shared/ModalDialog'; import { toast } from "react-toastify"; export default class JoinInTheTeamComponent extends Component { state = { co...
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...
const singleMime = { parameters: [ { name: 'id', in: 'path', required: true, schema: { type: 'integer', minimum: 0 } }, { name: 'name', in: 'query', required: false, schema: { type: 'integer', minimum: 0 } }, ...
from numpy import array import perceptron as per tinputs = array([ [0, 0], [0, 1], [1, 1], ]) toutputs = array([[0, 1, 1]]).T p = per.Perceptron() print("Predictions before training: ") print(p.predict(tinputs)) p.train(tinputs, toutputs, 100000) print("Predictions after training: ") print(p.predict(tinpu...
/******/ (function(modules) { // webpackBootstrap /******/ function hotDisposeChunk(chunkId) { /******/ delete installedChunks[chunkId]; /******/ } /******/ var parentHotUpdateCallback = window["webpackHotUpdate"]; /******/ window["webpackHotUpdate"] = // eslint-disable-next-line no-unused-vars /******/ function...
/* eslint-env jest */ import { join } from 'path' import { killApp, findPort, nextStart, nextBuild, renderViaHTTP, initNextServerScript, } from 'next-test-utils' import fs from 'fs-extra' jest.setTimeout(1000 * 60 * 2) const appDir = join(__dirname, '../') const nextConfig = join(appDir, 'next.config.js'...
/* * Copyright 2014 Next Century 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 law or ...
import numpy as np from scipy import misc import os import scipy.misc as sci import random def make_list(dPath): file_list = os.listdir(dPath) file_list.sort() # random.shuffle(file_list) for k in range(len(file_list)): list_name = dPath + '/File_List.txt' f = open...
import api from "./serverApi"; export const getExperiencesApi = () => { return api.get("/experience/"); } export const createExperienceApi = (experience) => { return api.post("/experience", experience); } export const deleteExperienceApi = (id) => { return api.delete(`/experience/${id}`); } export const...
function log(message) { $("#response").text(message); $('pre span').each(function(i, block) { hljs.highlightBlock(block); }); } $( "#sms" ).click(function() { let phone = $("#phone").val(); if (!phone) { log(JSON.stringify({ error: "Enter a phone number"}, nu...
import { Link } from "gatsby"; import React from "react"; const Menu = () => ( <React.Fragment> <div> <Link to="/">Home Page</Link> </div> <div> <Link to="/page-2">Page 2</Link> </div> <div> <Link to="/page-3">Page 3: Data from gatsby-config.js</Link> </div> <div> ...
const e=window.App.h;import{a as t,b as i,c as o,d as s}from"./chunk-19f026a9.js";class a{constructor(){this.sidebarVisible=!0,this.activeDevices=[t,i],this.details={}}componentWillLoad(){this.loadAppDetails(),this.loadLocalStorageState()}componentWillUpdate(){this.saveLocalStorageState()}loadAppDetails(){const e=this,...
jQuery.fn.jcy_magnifying = function(obj){ var defaults = { width : 300, height: 200, parent: document.body, imgurl:'../images/1.jpg', ratio: 3 } var new_obj = Object.assign({},defaults,obj); //构建放大镜结构 //创建small_box var $small_box = $('<div/...
"""Rpyc-Mem""" from rpyc_mem._version import __version__
macDetailCallback("0050c290b000/36",[{"a":"Box 50529 Malmö SE 20250","o":"E.ON ES Sverige AB","d":"2008-07-30","t":"add","s":"ieee","c":"SE"}]);
var Author = require('../models/author') var async = require('async') var Book = require('../models/book') const { body,validationResult } = require("express-validator"); // Display list of all Authors. exports.author_list = function (req, res, next) { Author.find() .sort([['family_name', 'ascending']]) ...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('apollo-link'), require('apollo-link-http-common')) : typeof define === 'function' && define.amd ? define(['exports', 'apollo-link', 'apollo-link-http-common'], factory) : (global = global |...
'use strict'; const assert = require('./../assert'); const common = require('./../common'); const Utils = require('../../lib/utils').Utils; const BASE_TEAM_ORDER = [1, 2, 3, 4, 5, 6]; const SINGLES_TEAMS = { illusion: [[ {species: 'Bulbasaur', ability: 'overgrow', moves: ['tackle']}, {species: 'Ivysaur', ability...
!function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return ...
import { combineReducers } from 'redux' import home from './home/reducer'; export default combineReducers({ home })
'use strict'; const path = require('path'); const fs = require('fs-extra'); const normalizePath = require('normalize-path'); const marked = require('marked'); const highlight = require('highlight.js'); const removeMd = require('remove-markdown'); const humanize = require('string-humanize'); const SEARCH_EXTRACT_LENGT...
/* eslint-env mocha */ const tymly = require('./../lib') const path = require('path') const chai = require('chai') chai.use(require('chai-string')) const expect = chai.expect describe('TymlyRef second-stage resolution', () => { const probePluginPath = path.resolve(__dirname, 'fixtures/plugins/with-function-ref-plug...
#!/usr/bin/env python import time import pytest import rospy from moveit_msgs.srv import ChangeDriftDimensions from geometry_msgs.msg import Transform from geometry_msgs.msg import TwistStamped from std_msgs.msg import Bool from trajectory_msgs.msg import JointTrajectory # Import common Python test utilities from os...
"""Companies with multiple purposes. An example is 31862132 "Selskabets formal er at eje kapitalandele og likvide midler" "Selskabets formal er formueadministration" """ from __future__ import print_function, unicode_literals from cvrminer.cvrmongo import CvrMongo from cvrminer.virksomhed import Virksomhed n = 1...
'use strict'; const Cookie = require('../common/cookie'); const ioServer = require('socket.io'); module.exports = function() { const io = new ioServer() io.on('connection', onConnection); return io; }; function onConnection(socket) { console.log(`[${socket.id}]connected...`); const clientID = Co...
from dataclasses import dataclass from chia.types.blockchain_format.sized_bytes import bytes32 from chia.util.ints import uint32 from chia.util.streamable import Streamable, streamable @dataclass(frozen=True) @streamable class PoolTarget(Streamable): puzzle_hash: bytes32 max_height: uint32 # A max height of...
const Delegate = artifacts.require('Delegate') const Swap = artifacts.require('Swap') const Types = artifacts.require('Types') const TransferHandlerRegistry = artifacts.require('TransferHandlerRegistry') const ERC20TransferHandler = artifacts.require('ERC20TransferHandler') const Indexer = artifacts.require('Indexer') ...
const galaxysquares = (() => { window.globalprefix = "galaxysquares"; // ---------- webgl-common/common.js ---------- async function loadTwgl() { const p = new Promise((resolve) => { const script = document.createElement("script"); script.type = "text/javascript"; script.src = "https://...
const { MessageEmbed } = require("discord.js"); const request = require('node-superfetch'); const Command = require("../../structures/Command"); module.exports = class ColorCommand extends Command { constructor(bot) { super(bot, { name: 'color', type: 'general', des...
# -*- coding: utf-8 -*- ''' tests.unit.log_test ~~~~~~~~~~~~~~~~~~~ Test salt's "hacked" logging :codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)` :copyright: © 2012 by the SaltStack Team, see AUTHORS for more details. :license: Apache 2.0, see LICENSE for more details. ''' # Import py...
import React from "react"; import classes from "./Button.module.css"; export default ({ children, ghost, reverse, size, click }) => ( <button className={[ classes.button, ghost ? classes.ghost : "", reverse ? classes.reverse : "", size ? classes[size] : "" ].join(" ")} onClick={cl...
import React from 'react'; import { shallow, mount } from 'enzyme'; import Search from '../lib/Search.js'; describe('Search', () => { let wrapper; let props = { setLocation: jest.fn() }; beforeEach(() => { wrapper = shallow(<Search props={props} />); }); it('should exist', () => { expect(wra...
const Category = require("../models/category"); const Plant = require("../models/plant"); const { body, validationResult } = require("express-validator"); const fs = require("fs"); // Display category create form on GET. exports.category_create_get = function (req, res) { res.render("category_form", { title: "Ad...
class OpenAPISChema { constructor(model) { this._model = model; this._modelName = model.modelName; } generateSchema(method) { const openAPIModelName = this._modelName.toLowerCase(); const tags = [openAPIModelName]; const security = [ { "apiKey": [] } ]; if (method === ...
module.exports = { out: 'docs', exclude: ['**/test/**/*'], theme: 'default', name: 'Nestjs-graphql-redis-subscriptions', excludePrivate: false, hideGenerator: true };
import logo from './logo.svg'; import './App.css'; function App() { return ( <div className="App"> <header className="App-header"> <img src={logo} className="App-logo" alt="logo" /> <p> Edit <code>src/App.js</code> and save to reload. Só bora </p> <a clas...
from copy import deepcopy class Point: def __init__(self, x, y): self.x = x self.y = y def __str__(self): print("({}, {})".format(self.x, self.y)) def move(self, x, y): self.x += x self.y += y def clone(self, move_x, move_y): obj = deepcopy(self) ...
import sys try: import lpot except: import ilit as lpot if lpot.__version__ > '1.1': print("This script doesn't support LPOT 1.2 or newer, please install LPOT 1.1") sys.exit(1) import alexnet import math import mnist_dataset def save_int8_frezon_pb(q_model, path): from tensorflow.python.platform...
define({"topics" : [{"title":"Installing the JDBC Driver","href":"datacollector\/UserGuide\/Origins\/SQLServerCDC.html#concept_aq1_lxp_fs","attributes": {"data-id":"concept_aq1_lxp_fs",},"menu": {"hasChildren":false,},"tocID":"concept_aq1_lxp_fs-d46e62364","topics":[]},{"title":"Supported Operations","href":"datacollec...
'use strict' var createApp = function(canvas) { var c = canvas.getContext("2d"); // Create the ground var floor = canvas.height/2 var grad = c.createLinearGradient(0,floor,0,canvas.height) grad.addColorStop(0, "green") grad.addColorStop(1, "black") c.fillStyle=grad c.fillRect(0, floor, canvas.widt...
import serial import time PORT = '/dev/tty.wchusbserial1420' BAUD = 115200 UP = 60 DOWN = 80 class Device(object): def __init__(self, port=PORT, baud=BAUD, up=UP, down=DOWN, verbose=False): self.serial = serial.Serial(port, baud) if port else None self.up = up self.down = down se...
"use strict";function cov_23gaygbfoz(){var path="C:\\Users\\Tjerk_2\\Desktop\\S4 - Vue FrontEnd\\logic\\ProductLogic.js";var hash="96bb416565055f641dfad2e3a5db8811f312a587";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"C:\\Users\\Tjerk_2\\Desktop\\S4 - Vue FrontEnd\\logic\\Prod...
(window.webpackJsonp=window.webpackJsonp||[]).push([[1024],{1934:function(t,e,a){"use strict";a.r(e);var n=a(19),r=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"tecs-status-uorb-message"}},[a("a",{st...
import { helloworld } from './helloworld'; document.write(helloworld());
module.exports = { name: "call", ns: "core", title: "Call a method", description: "Calls a method with the args given", phrases: { active: "Calling method" }, ports: { input: { "in": { title: "Input object", type: "any" }, args: { title: "Arguments", ...
/*** * Tells server/publications.js that the user can get the information within these publication-methods. */ Meteor.subscribe('ideologies'); Meteor.subscribe('works'); Meteor.subscribe('userData'); Meteor.subscribe('ratings'); Meteor.subscribe('producers'); Meteor.subscribe('policies'); Meteor.subscribe('policyAre...
// @flow import type {Node} from "react"; import type { AriaProps, TextTag, StyleType, } from "@khanacademy/wonder-blocks-core"; // TODO(kevinb): fix style type after upgrading flow export type Props = AriaProps & { style?: StyleType, children?: Node, id?: string, tag: TextTag, };
import builtins from infra.bulkloader.batch_handler import RivBulkLoaderBatchHandler from infra.bulkloader.throttled_indexer import RivBulkLoaderThrottledIndexer from infra.storage.topology import RivSharedDataStores from infra.bulkloader.inventory_created import RivBulkLoaderInventoryCreatedHandler from infra.i...
# # Copyright 2008,2009 Free Software Foundation, Inc. # # This application is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This application is di...
from setuptools import setup, find_packages setup( name='pymensago', version='0.1', description='library for writing Mensago clients', url='https://github.com/darkwyrm/pymensago', author='Jon Yoder', author_email='jon@yoder.cloud', license='MIT', packages=find_packages(), classifiers=[ "Development Status :...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.keysOf = keysOf; // utility types: /** * Wraps Object.keys with proper typescript definition of the resulting array */ function keysOf(obj) { return Object.keys(obj); }