text
stringlengths
3
1.05M
# Generated by Django 2.2.20 on 2021-04-16 06:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dojo', '0088_import_history_cicd'), ] operations = [ migrations.AlterField( model_name='jira_i...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const pascalCase = require('pascal-case'); const generateOperation_1 = require("./generateOperation"); const types_1 = require("./types"); function generateQueries(queries, schema, maxDepth, options) { if (queries) { const allQueri...
import * as React from 'react'; const AnchorTag = ({ children: link, ...props }) => { if (link) { return ( <a href={props.href} rel="noopener noreferrer"> {link} </a> ); } else { return null; } }; export default AnchorTag;
import warnings from abc import ABC, abstractmethod, abstractproperty from datetime import datetime from typing import Callable, Dict, Iterable, List, NamedTuple, Optional, Tuple, Union from dagster import check from dagster.core.definitions.events import AssetKey from dagster.core.events import DagsterEventType from ...
module.exports={A:{A:{"2":"H D G E A B IB"},B:{"2":"0 C p J L N I"},C:{"2":"0 1 2 3 4 6 7 8 9 cB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s t u v w x y z AB BB CB aB UB"},D:{"1":"0 2 4 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a c d e f g h i j k l m n o M q r s ...
const api = 'http://127.0.0.1:8081' let foo = 0 fetch(api) .then((response) => { let foo = response.json() return foo }) .then((json) => { let foo = json }) let i = 0 { let i = 3 } let r = i
module.exports = function is_real (mixedVar) { // eslint-disable-line camelcase // discuss at: https://locutus.io/php/is_real/ // original by: Brett Zamir (https://brett-zamir.me) // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes // note 1: it different from the ...
class MusicBox { constructor(playlist) { this.audio = null; this.playlist = [ ...playlist ]; } addToPlaylist(songPath) { this.playlist.push(songPath); } play(i = 0) { this.audio = new Audio(this.playlist[i]); this.audio.play(); } } module.exports = MusicBox;
# -*- coding: utf-8 -*- import datetime def date2dateStr(date, seperator='-'): return str(date.year) + seperator + str(date.month) + seperator + str(date.day) def dateStr2date(dateStr): dateStr = str(dateStr) try: yearStr, monthStr, dayStr = dateStr.split('/') except Exception, e: y...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R...
import React, { useEffect } from 'react' import { BrowserRouter as Router, Switch, Redirect } from 'react-router-dom' import { JournalScreen } from '../components/journal/JournalScreen' import { AuthRouter } from './AuthRouter' import { firebase } from '../firebase/firebase-provider' import { useDispatch } from 'react-...
import os path = "C:/Users/Jan/Dropbox/Bachelorarbeit/Programm/Ergebnisse" test_sets = [file for file in os.listdir(path) if "cap" in file] elements = [] solution_val = 0.0 optimal_solution_val = 0.0 for testset in test_sets: sol_file = path+"/"+testset+"/"+"_solution"+testset+".sol" with open(sol_file) as f...
from __future__ import annotations import os import re import sys from pathlib import Path from typing import TYPE_CHECKING, Any, cast, no_type_check from zipfile import ZipFile from packaging.utils import canonicalize_name from pdm import termui from pdm.builders import EditableBuilder, WheelBuilder from pdm.except...
import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { withRouter } from 'react-router' import { Route, Redirect } from 'react-router-dom' class Authenticated extends PureComponent { static propTypes = { isAuthenticated: PropTypes.bool.isReq...
define(function (require) { var d3 = require("d3"); var box = require("src/modules/layout/box"); var boxPlot = require("src/modules/component/boxplot"); var axis = require("src/modules/component/axis/axis"); return function boxplot() { var margin = { top:20, right: 20, bottom: 50, left: 50 }; var wid...
module.exports = { entry:'./entry.js',//指定打包入口文件,每有一个键值对,就是一个入口文件。 output:{ path:__dirname,//定义输出文件夹 filename:"bundle.js" }, module:{ loaders:[//定义一系列加载器。 {test:/\.css$/,loader:"style!css"},//匹配css文件时,就用css和style两个加载器处理。 //两种传参方式:1.?后面加参数 2.query:{}方式。不合并,...
import re from streamlink.plugin import Plugin from streamlink.plugin.api import http from streamlink.stream import HLSStream class LiveRussia(Plugin): url_re = re.compile(r"https?://(?:www.)?live.russia.tv/index/index/channel_id/") iframe_re = re.compile(r"""<iframe[^>]*src=["']([^'"]+)["'][^>]*>""") stre...
const grpc = require('@grpc/grpc-js'); const protoLoader = require('@grpc/proto-loader'); // const protobuf = require('google-protobuf/google/protobuf'); var packageDefinition = protoLoader.loadSync(__dirname + "/protos/mail_template.proto", { keepCase: true, longs: String, enums: String, defaults: tru...
import React from "react" import SEO from "../components/seo" import SkillsGraph from "../components/skillsgraph" import SliderPanel from "../components/sliderpanel" class AboutPage extends React.Component { constructor(props) { super(props) this.state = { bars: [], panels: [], lastIndex: ...
// Axel '0vercl0k' Souchet - 11 October 2018 // // Exploit for js.exe on Windows x64. Leverages IonMonkey to JIT a stack-pivot, // and various gadgets. Then, hijack control flow, pivot and kick off a ROP chain // that calls VirtualProtect in order to make the content of an Uint8Array's buffer // executable. Finally, ex...
module.exports = /******/ (function(modules, runtime) { // webpackBootstrap /******/ "use strict"; /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/...
var chai = require('chai'); var expect = chai.expect; var sinon = require('sinon'); chai.use(require('sinon-chai')); var Servicebus = require('../../'); var amqpUrl = process.env.AMQP_URL || 'amqp://192.168.59.103:5672'; describe('mservicebus publish-subscribe', function(){ context('Separate publish and subscribe bus...
// THIS FILE IS AUTO GENERATED import { GenIcon } from '../lib'; export function GiAbstract108 (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"m491,427.2562c0,35.2951-28.4123,63.7438-63.5968,63.7438h-123.2281c8.7457-11.2367 16.7774-24.3213 24.0875-38.6282h79....
from django.contrib import admin from django.urls import path, include from django.contrib.sitemaps.views import sitemap from Blog.sitemaps import PostSitemap from django.conf import settings from django.conf.urls.static import static sitemaps = { 'posts': PostSitemap, } urlpatterns = [ path('admin/', admin.s...
''' Copyright (c) 2017-2018 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: BSD-2-Clause ''' from .origins import Origins class Image(object): '''A representation of the image to be analyzed attributes: id: this is a unique identifier for the image - for OCI spec this could be the d...
# -*- coding: utf-8 -*- """ Created on Wed May 18 12:48:22 2016 @author: Derek """ import numpy as np from lib import learn_util as lu def unique(a): b = np.diff(a) b=np.r_[1,b] return a[b != 0] def findFirstInstances(Data, VIDCol): d = {} for row in Data: key = row[VIDCol] if key...
var classsymmp_1_1PermutationGenerator = [ [ "ConstIterator", "classsymmp_1_1PermutationGenerator_1_1ConstIterator.html", "classsymmp_1_1PermutationGenerator_1_1ConstIterator" ], [ "PermutationGenerator", "classsymmp_1_1PermutationGenerator.html#ad15f431546cbbb5b551a0864d79309b5", null ], [ "size", "classsy...
import React, { useState, useEffect } from "react" export const CartContext = React.createContext() export const CartProvider = props => { const localState = () => { if (typeof window !== "undefined") { return JSON.parse(localStorage.getItem("cart")) || [] } else { return [] } } //typeof...
"use strict"; var _a; Object.defineProperty(exports, "__esModule", { value: true }); exports.StorageClass = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); /** * Storage class to move an object to. * * @stability stable */ class StorageClass { /** * @stability stable */ constructor(val...
# SECUREAUTH LABS. Copyright 2018 SecureAuth Corporation. All rights reserved. # # This software is provided under a slightly modified version # of the Apache Software License. See the accompanying LICENSE file # for more information. # # Description: Performs various techniques to dump hashes from the # r...
var app = angular.module('yantema', ['ngRoute']); app.config(function($routeProvider, $locationProvider) { $routeProvider .when('/', { templateUrl: 'templates/workspace.html', controller: 'posts' }) .when('/login', { templateUrl: 'templates/login.html', controller: 'login' }) .otherwise({ red...
import { observable, computed, action, } from 'mobx' export default class TestState { constructor({ count, name } = { count: 0, name: 'Tony' }) { this.count = count this.name = name } @observable count @observable name @computed get msg() { return (`${this.name} say count is ${this.count}`)...
""" OWLS data-file handling function """ from __future__ import print_function #----------------------------------------------------------------------------- # Copyright (c) 2014, yt Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, dist...
var myVersion = "0.40", myProductName = "podcastDownloader"; //The MIT License (MIT) //Copyright (c) 2015 Dave Winer //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 Software without restri...
const Adoption = artifacts.require("Adoption"); contract("Adoption", (accounts) => { let adoption; let expectedAdopter; before(async () => { adoption = await Adoption.deployed(); }); describe("adopting a pet and retrieving account addresses", async () => { before("adopt a pet using accounts[0]", as...
# -*- coding: utf-8 -*- """Example for a password question type. Run example by typing `python -m examples.password` in your console.""" from pprint import pprint import questionary from examples import custom_style_dope from questionary import Separator, Choice, prompt def ask_pystyle(**kwargs): # create the q...
"use strict"; module.exports = readdirStream; const DirectoryReader = require("../directory-reader"); let streamFacade = { fs: require("fs"), forEach: require("../async/for-each"), }; /** * Returns the {@link stream.Readable} of an asynchronous {@link DirectoryReader}. * * @param {string} dir * @param {obje...
import moment from 'moment'; const saveProjectsMeta = ( newProjectFields, selectedVersion, license, canonSpecification, content, versificationScheme, ) => { const newpath = localStorage.getItem('userPath'); const status = []; const userdata = { projects: [ { ...
/* * Copyright 2018 Apple Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following di...
module.exports=require('../../decode-ranges.js')('goAgxAeAgkAcAw55AAAwddAwl9ACAglAg2AOAp5AAAdAwQ9AAAAAAAAAAAAAhPAfAAAAAAAAAmTAAAAAAAAAAAAAAAAAAAAAg_AAAggAwQaAIAAAAAAAYAnEAAAAAAAAACAAAAAAABA4M0gAjWAcAAAAAAAAAAAAAAACAQAAAAAipAgxAeACABAzL0CgqAAAjvAxJTA4KOOB')
import string import py from pypy.interpreter.astcompiler import ast, astbuilder, symtable, consts from pypy.interpreter.pyparser import pyparse from pypy.interpreter.pyparser.error import SyntaxError class TestSymbolTable: def setup_class(cls): cls.parser = pyparse.PythonParser(cls.space) def mod_s...
const request = require('request'); const MAPS_API_URL = 'https://maps.googleapis.com/maps/api/geocode'; const MAPS_API_KEY = process.env.MAPS_API_KEY || 'XXXXXX'; const MAPS_API_RETURN_FORMAT = process.env.MAPS_API_RETURN_FORMAT || 'json'; module.exports = { geoCode(address) { return new Promise((resolve, re...
from __future__ import print_function import commands import contextlib import datetime import hashlib import itertools import json import mmap import os import platform import psutil import re import shlex import shutil import socket import subprocess import sys import tempfile import time import configuration def...
import React from "react"; import styled from "styled-components"; import { ElementBuilder } from "./ElementBuilder"; class FicheServicePublic extends React.PureComponent { render() { return ( <Div> <ElementBuilder {...this.props} /> </Div> ); } } export default FicheServicePublic; c...
(function(Clazz ,Clazz_getClassName ,Clazz_newLongArray ,Clazz_doubleToByte ,Clazz_doubleToInt ,Clazz_doubleToLong ,Clazz_declarePackage ,Clazz_instanceOf ,Clazz_load ,Clazz_instantialize ,Clazz_decorateAsClass ,Clazz_floatToInt ,Clazz_floatToLong ,Clazz_makeConstructor ,Clazz_defineEnumConstant ,Clazz_exceptionOf ,Cla...
import React from 'react' import { ListOfFavs } from '../components/ListOfFavs' import { useGetFavorites } from '../hooks/useGetFavorites' export const ListFavorites = () => { const { data, loading, error } = useGetFavorites() return <ListOfFavs {...data} loading={loading} error={error} /> }
# -------------- #Importing header files import pandas as pd import matplotlib.pyplot as plt import seaborn as sns #Code starts here data = pd.read_csv(path) data['Rating'].hist() data = data[data['Rating'] <= 5] data['Rating'].hist() #Code ends here # -------------- # code starts here total_null = data.isnu...
var searchData= [ ['object2terrain_2ecs_408',['Object2Terrain.cs',['../_object2_terrain_8cs.html',1,'']]] ];
/* * This combined file was created by the DataTables downloader builder: * https://datatables.net/download * * To rebuild or modify this file with the latest versions of the included * software please visit: * https://datatables.net/download/#bs/dt-1.10.16/b-1.5.1/r-2.2.1 * * Included libraries: * DataT...
const validPerms = [ "CREATE_INSTANT_INVITE", "KICK_MEMBERS", "BAN_MEMBERS", "ADMINISTRATOR", "MANAGE_CHANNELS", "MANAGE_GUILD", "ADD_REACTIONS", // add reactions to messages "READ_MESSAGES", "SEND_MESSAGES", "SEND_TTS_MESSAGES", "MANAGE_MESSAGES", "EMBED_LINKS", "ATTACH_FILES", "READ_MESSAG...
import React from "react" import Logo from "../assets/svgs/logo.svg" import LogoText from "../assets/svgs/logo-text.svg" import shitajicssPkg from "shitajicss/package.json" import pjt from "../../project.json" const SectionHero = () => { return ( <section className="hero" id="hero"> <Logo className="logo...
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 Software without restriction, including without limitation # the rights to use, copy, modify,...
from __future__ import annotations import json import os import pathlib import argparse from typing import List class ConfigManager: __instance = None @staticmethod def get_instance() -> ConfigManager: """ Gets singleton class of config manager @return: a config...
/** * Copyright 2015 Wouter van Heeswijk * * 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 agree...
import http from "./httpService"; export const getGenres = () => { return http.get("/genres"); };
import {db} from "./firebaseInit.js"; import * as express from "express"; import {addCommentToPost, addCommentToUser} from "./putUtils.js"; import {deleteCommentFromPost, deleteCommentFromUser} from "./deleteUtils.js"; import {getDoc, doc, updateDoc, deleteDoc} from "firebase/firestore"; const router = express.Router(...
mycallback( {"CONTRIBUTOR OCCUPATION": "", "CONTRIBUTION AMOUNT (F3L Bundled)": "165.00", "ELECTION CODE": "P2012", "MEMO CODE": "X", "CONTRIBUTOR EMPLOYER": "", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "8869 Orr Road", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR CANDIDATE MIDDLE NAM...
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import absolute_import import datetime import logging import os import platform import re import subprocess import six from telemetry.intern...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
const router = require('express').Router(); const { getUsers, getUserById, createUser, updateUser, deleteUser, addFriend, deleteFriend } = require('../../controllers/user-controller'); router .route('/') .get(getUsers) .post(createUser); router .route('/:id') .get(getUserById) .put(up...
import React from 'react' import styles from './projectPage.module.css' import Typography from '@material-ui/core/Typography' import pomodoroScreenShot from '../static/images/screenshots/pomodoro/pomodoro-320w.png' const PomodoroProject = () => ( <div className={styles.outerDiv}> <Typography variant="display3" a...
# wwwhisper - web access control. # Copyright (C) 2012-2017 Jan Wrobel <jan@mixedbit.org> """Views that handle user authentication and authorization.""" from django.conf import settings from django.contrib import auth from django.core.cache import cache from django.core.mail import send_mail from django.core.urlresol...
# Copyright (c) Niall Asher 2022 from flask_restful import Resource, reqparse from pony.orm import db_session from socialserver.db import db from socialserver.constants import LegacyErrorCodes from socialserver.util.auth import ( get_user_object_from_token_or_abort, verify_password_valid, ) class LegacyAdmi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Hotkey = (function () { /** * Creates a new Hotkey for Mousetrap binding * * @param {string} combo mousetrap key binding * @param {string} description description for the help menu * @param {F...
// Dean Attali / Beautiful Jekyll 2016 var main = { bigImgEl : null, numImgs : null, init : function() { // Shorten the navbar after scrolling a little bit down /*$(window).scroll(function() { if ($(".navbar").offset().top > 50) { $(".navbar").addClass("top-nav-short"); ...
// 导入模块成员 import _ from 'lodash-es' import { log } from './logger' import messages from './messages' import { name, version } from '../package.json' import cjs from './cjs-module' // 使用模块成员 const msg = messages.hi log(msg) log(name) log(version) log(_.camelCase('hello world')) log(cjs)
/*! jQuery UI - v1.11.4 - 2016-06-08 * http://jqueryui.com * Includes: core.js, widget.js, mouse.js, position.js, draggable.js, droppable.js, resizable.js, selectable.js, sortable.js, accordion.js, autocomplete.js, button.js, datepicker.js, dialog.js, menu.js, progressbar.js, selectmenu.js, slider.js, spinner.js, tabs....
import os import sys import imp import datetime as dt import sphinx_rtd_theme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys...
from django.test import TestCase, RequestFactory from django.contrib.auth.models import AnonymousUser, User from rooms.models import Message, Room from rooms.views import * from datetime import datetime, timedelta from django.core.exceptions import PermissionDenied class TestBaseView(TestCase): def setUp(self): ...
import pytest import mock def test_pibrella_output_a_on(GPIO, atexit): import pibrella pibrella.output.e.on() pibrella.output.e.off() assert GPIO.output.has_calls(( mock.call(pibrella.PB_PIN_OUTPUT_A, True), mock.call(pibrella.PB_PIN_OUTPUT_A, False) ))
/** * Copyright 2004-present Facebook. All Rights Reserved. * * @format * @flow strict-local */ import HealthTextSquare from '../HealthTextSquare'; import MaterialTheme from '@fbcnms/tg-nms/app/MaterialTheme'; import React from 'react'; import {render} from '@testing-library/react'; const defaultProps = { text...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var react_1 = tslib_1.__importDefault(require("react")); var styled_components_1 = tslib_1.__importStar(require("styled-components")); var animated = styled_components_1.keyframes(templateObject_1 || (templateOb...
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'downloads_page', 'dependencies': [ '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:cr', ...
/** * Implement strStr(). * Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. * * Accepted. */ /** * @param {string} haystack * @param {string} needle * @return {number} */ let strStr = function (haystack, needle) { if (haystack == null || needle ==...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I...
const express = require('express'); const app = express(); const favicon = require('serve-favicon'); const logger = require('morgan'); const cookieParser = require('cookie-parser'); const bodyParser = require('body-parser'); const session = require('express-session'); const MongoStore = require('connect-mongo')(session...
import os import sys #----------------------------------------------------------------------------# # Support GMPY for high-speed large integer arithmetic. # # # # To allow an external module to handle arithmetic, we need t...
import React from "react"; import PropTypes from "prop-types"; const UndrawWorkTime = props => ( <svg style={{height:props.height, width:'100%'}} className={props.class} id="50c81bbe-f144-4d6a-ab3d-5352da295715" data-name="Layer 1" viewBox="0 0 975.26 825.18" > <title>work time</title> ...
# # Copyright (C) 2019 Databricks, 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 i...
/* Template Name: Stexo - Responsive Bootstrap 4 Admin Dashboard Author: Themesdesign Website: www.themesdesign.in File: C3 Chart init js */ !function ($) { "use strict"; var ChartC3 = function () { }; ChartC3.prototype.init = function () { $.get('http://localhost/civoting/admin/home/chart'...
(function(window) { let __package = "zn.designer.shape"; let __name = "Diamond"; let props=zn.designer.Properties; let utils=zn.designer.Utils; let base=zn.designer.shape.Base; class Component { constructor(x, y, w, h, ctx, oid) { let component = this; component.$class = `${__pa...
from ursina import * from itertools import product app = Ursina() def eltern_kind_beziehung(achse, schicht): for w in würfel: w.position, w.rotation = round(w.world_position,1), w.world_rotation w.parent = scene zentrum.rotation = 0 for w in würfel: if eval(f'w.position.{achse}') == schicht...
#!/usr/bin/env python #encoding: utf8 import rospy, os, socket class JuliusReceiver: def __init__(self): rate = rospy.Rate(10) while not rospy.is_shutdown(): try: self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock.connect(("localhost"...
macDetailCallback("00d014000000/24",[{"d":"2000-09-08","t":"add","a":"3-23-2 MINAMI OHTSUKA\nTOSHIMA-KU\nTOKYO\n","c":"JAPAN 170-0005","o":"ROOT, INC."},{"d":"2001-10-24","t":"change","a":"3-23-2 MINAMI OHTSUKA\nTOSHIMA-KU TOKYO\n\n","c":"JAPAN 170-0005","o":"ROOT, INC."},{"d":"2002-06-05","t":"change","a":"3-23-2 MIN...
(function () { var data = [30, 20 , 40, 20, 50, 100, 110, 77, 37, 95, 94, 29, 45, 63, 96, 49, 94, 23, 56, 74, 64, 43, 56, 23, 64, 74, 14, 43, 63, 13, 63, 75, 32, 87, 45, 75, 39, 50, 10, 96, 45, 35, 64, 53, 65, 12, 34, 86, 48, 35, 52, 14, 54, 63, 91, 30, 40, 10, 30, 70, 40, 80, 15, 20, 47, 88, 100], dom = { ...
const fs = require('fs'); const path = require('path'); const cache = require('./cache'); const traverseDir = require('./traverse-dir'); const VALID_PARTIAL_EXTNAMES = ['.hbs', '.handlebars']; /** * Creates a map of helper names to absolute paths to be required. * @param {Array} helperDirs - list of absolute paths...
import React from 'react'; import { connect } from 'react-redux'; import { approvePending, declinePending, getPending } from '../../actions/trades'; import List from './List'; class Pending extends React.Component { componentWillMount() { this.props.retrievePendingTrades(); } render() { return ( <...
import React from 'react'; import { connect } from 'react-redux'; import Skill from './Skill'; import { setDrawerRoute } from '../../../../menu-drawer/state/menuDrawerActions'; import { SkillsDrawerRoute } from './SkillsDrawer'; import getValue from '../../../../../form/getValue'; import { mapAttributesFromStateToProps...
# powered by metaL: https://repl.it/@metaLmasters/metaL#README.md ## @file <vm:metaL> # \ <section:metaL> from metaL import * MODULE = pyModule('webook') TITLE = Title('') MODULE << TITLE ## `~/metaL/$MODULE` target directory for code generation diroot = MODULE['dir'] ## README readme = README(MODULE) diroot // re...
/* eslint-disable no-undef, no-unused-vars, sort-vars, no-mixed-requires, global-require*/ const express = require('express'); const request = require('supertest'); const {expect} = require('chai'); describe('Parrot', () => { let server = null; beforeEach(() => { const app = express(); const parrot = requ...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('sparkle', '0007_merge'), ] operations = [ migrations.AlterField( model_name='...
/* * ADC module. */ /* globals ESP32, log, module */ var moduleADC = ESP32.getNativeFunction("ModuleADC"); if (moduleADC === null) { log("Unable to find ModuleADC"); module.exports = null; return; } var internalADC = {}; moduleADC(internalADC); var _ret = { getValue: function(channel) { return internalA...
# # PySNMP MIB module GREENTECH-MASTER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/GREENTECH-MASTER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:04:42 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (defau...
/** * extracts the parameter * @param {Array} paramControls * @param {Boolean} onlyChanged * @returns {Object} the parameter values, as an object */ const getParameterValuesFromUIControls = (paramControls, parameterDefinitions, onlyChanged) => { const parameterValues = {} let value for (let i = 0; i < paramC...
import PropTypes from 'prop-types'; import React from 'react'; import { Button } from 'antd'; import { connect } from 'react-redux'; import AnalysisFormSelector from '../../../state/selectors/form/analysis-form-selector'; import IsNotEmpty from '../../../helpers/is-not-empty'; import './next-step.css'; export const ...
import dataclasses from typing import List, Tuple, Iterator, Optional from blspy import G2Element from chia.types.blockchain_format.coin import Coin, coin_as_list from chia.types.blockchain_format.program import Program, INFINITE_COST from chia.types.blockchain_format.sized_bytes import bytes32 from chia.types.condit...
module.exports = { entry: './main.js', output: { filename: 'bundle.js' }, module: { loaders: [ { test: /\.js$/, loader: 'babel-loader', query: { presets: ['es2015', 'react'] } } ] }, resolve: { extensions: ['', '.js', '.json'] } };
/** * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use self 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 writing, software * distri...
module.exports = (function() { var CodeMirror = require("codemirror"); require("codemirror/addon/mode/multiplex.js"); require("codemirror/mode/clike/clike.js"); require("codemirror/mode/javascript/javascript.js"); require("codemirror/mode/xml/xml.js"); CodeMirror.defineMIME("text/x-overpassQL", { nam...
// Using the JavaScript language, have the function SimpleAdding(num) add up all the numbers from 1 to num. For the test cases, the parameter num will be any number from 1 to 1000. function addUpTo(num){ var total=0; var i=1; total=num; while (i<=num) { total+=i; i++; } return total; } consol...