text
stringlengths
3
1.05M
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
""" @file @brief Shortcuts to file_helper """ from .content_helper import replace_comma_by_point from .decompress_helper import decompress_zip, decompress_targz, decompress_gz from .content_helper import file_head, file_tail, enumerate_grep, file_encoding
"""Decoding module.""" import numpy as np import warnings from . import utils from numba import njit, int64, types, float64 def decode(H, y, snr, maxiter=2000): """Decode a Gaussian noise corrupted n bits message using BP algorithm. Decoding is performed in parallel if multiple codewords are passed in y. ...
import styled from 'styled-components'; export const DivStyled = styled.div` margin: 0 auto; width: 90%; padding: 2%; span { color: var(--font); } `;
# -*- coding: utf-8 -*- # # OpenDSA documentation build configuration file, created by # sphinx-quickstart on Sat Mar 17 18:07:39 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All...
import CodeTD from './component'; export default CodeTD;
module.exports = class CHANNEL_UPDATE { constructor(client, payload) { client.emit("channelUpdate", client, client.messages.add(payload.d, payload.d.id)); } };
(window.webpackJsonp=window.webpackJsonp||[]).push([[137],{zCzG:function(e,a,n){var r,o,t;!function(u){if("object"==typeof e.exports){var M=u(0,a);void 0!==M&&(e.exports=M)}else o=[n,a],void 0===(t="function"==typeof(r=u)?r.apply(a,o):r)||(e.exports=t)}(function(e,a){"use strict";Object.defineProperty(a,"__esModule",{v...
const isundef = function(o) { return o === null || typeof o === 'undefined'; } exports.isundef = isundef; exports.isvalid = function(o) { return !isundef(o); } exports.makeMap = function(list, keyName) { let map = {}; for (let i = 0; i < list.length; ++i) { const item = list[i]; map[item[keyName]...
$(document).ready(function(){setTimeout(function(){$('#basic-scroller').DataTable({ajax:"dt-json-data/2500.txt",deferRender:true,scrollY:200,scrollCollapse:true,scroller:true});$('#state-scroller').DataTable({ajax:"dt-json-data/2500.txt",deferRender:true,scrollY:200,scrollCollapse:true,scroller:true,stateSave:true});$(...
const Gpio = require('pigpio').Gpio; const valve = new Gpio(17, {mode: Gpio.OUTPUT}); var level = 0; function getDateTime() { var date = new Date(); var hour = date.getHours(); hour = (hour < 10 ? "0" : "") + hour; var min = date.getMinutes(); min = (min < 10 ? "0" : "") + min; var year ...
'use strict'; require('./generated-dep.js'); require('./generated-shared.js'); console.log('main1');
const fs = require('fs'); const Path = require('path'); let Field = (path) => { let o = {}; if(fs.existsSync(path) ? fs.lstatSync(path).isFile() : false) { let d = fs.readFileSync(path, 'UTF-8'); if (d) { try { o = JSON.parse(d); } catch (e) { ...
export default { "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[[-71.478, 42.157], [-71.478, 42.132], [-71.501, 42.118], [-71.498, 42.017], [-71.798, 42.009], [-71.799, 42.024], [-72.136, 42.031], [-72.135, 42.162], [-72.201, 42.161], [-72.264, ...
export { default } from './DropOffData';
/*Generado by Pro Generator */ /*@author Charlietyn */ /*@Date: Sat Jun 04 01:42:49 GMT-05:00 2016*/ $("#btn_modal_housing_address").click(function() { Housing_address.oldElement=null; $('#select2-id_town-container').html(''); Housing_address.combobox_town.append('<option selected="" value=""></option>').c...
# -*- coding: utf-8 -*- # Copyright 2014-2016 OpenMarket 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 applicab...
from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'New-HoneyHash', 'Author': ['@mattifestation'], 'Description': ('Inject artificial credentials into LSASS.'), 'Background' : False, '...
/*********************************************************************** A JavaScript tokenizer / parser / beautifier / compressor. https://github.com/mishoo/UglifyJS2 -------------------------------- (C) --------------------------------- Author: Mihai Bazon ...
/*global Map,System*/ import { obj, num, arr, string } from "lively.lang"; import { connect, signal } from "lively.bindings"; import { TreeData } from "lively.components"; import { newUUID } from "lively.lang/string.js"; import { localInterface } from "lively-system-interface"; const MAX_NODE_THRESHOLD = 1000; // the ...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
import React, { Component } from 'react' import { css } from 'glamor' import { connect } from 'react-redux' import { brand } from '../util/config' import { logout } from '../redux/actions' import { media, sizes, colors, shadows, flexRowCenter, noTapHighlight, } from '../style/theme' import Link from 'next/l...
from peopleofpi import PoliteiaClient, CommentExplorer import pandas as pd import json from multiprocessing import Pool from time import sleep pi = PoliteiaClient("https://proposals.decred.org/api/v1") def update_comments_csv(): # Get all proposal comment votes dataframe all_tokens = pi.get_all_proposal_token...
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se...
// @flow import path from 'path'; import GeneralError from '../../error/general-error'; import type { PathOsBased } from '../path'; import { NODE_PATH_COMPONENT_SEPARATOR, DEFAULT_BINDINGS_PREFIX } from '../../constants'; import BitId from '../../bit-id/bit-id'; export default function getNodeModulesPathOfComponent(bi...
var express = require('express'); var router = express.Router(); var News = require('../../models/news'); router.get('/', function (req, res, next) { News.find() .exec(function (err, news) { if (err) { return res.status(500).json({ title: 'An error occurred',...
"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 = Refl...
const log = require("./logger"); const slug = require("./slugs"); module.exports = { log, slug };
#!/bin/env/python # -*- coding: UTF-8 -*- """ An OpenVMS addon for fabric .. moduleauthor:: JM Fernández <fernandez.cuesta@gmail.com> """ from openvms import * __version__ = '0.2.4.2'
const EventEmitter = require('events').EventEmitter; const Logger = require('./Logger'); const JsSIP_C = require('./Constants'); const Registrator = require('./Registrator'); const RTCSession = require('./RTCSession'); const Message = require('./Message'); const Transactions = require('./Transactions'); const Transport...
/** * Placeholders for API data loading */ // import { CREAM_DATA_LOADED } from './constants'; // export function creamDataLoaded(payload) { // return { // type: CREAM_DATA_LOADED, // payload, // }; // } import { CREAM_ENTER_MARKETS, INITIALIZE_CREAM, CREAM_SUPPLY, CREAM_BORROW, CREAM_REPAY, ...
var quest = require('quest'); function Base(apiKey) { this.valid = function(err, response) { return err === null && response.statusCode === 200; }; this.error = function(err, response, body) { if (err) { return err; } console.log(body); return { status: response.statusCode, ...
import math from functools import partial from operator import (itemgetter, mul) from typing import (List, Optional, Sequence) from hypothesis import strategies from hypothesis_geometry import planar from gon.base import Point from gon.core.vertices import...
answer = 5 print("Please guess number between 1 and 10: ") guess = int(input()) if guess < answer: print("Please guess higher") elif guess > answer: print("Please guess lower") else: print("You got it first time")
/* Copyright 2017 Mozilla Foundation * * 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...
let environment = null; export default { get: function(key) { return environment[key]; }, initialize: function(env) { if (!environment) { environment = env; } else { throw Error('Environment already initialized. Cannot initialize more than once.'); } } };
from pprint import pprint print('----------- Running {0} --------'.format(__name__)) def pprint_dict(header, d): print('\n\n-----------------') print('****** {0} *****'.format(header)) for key, value in d.items(): (key, value) print('----------------------\n\n') pprint_dict('module1.globals'...
(this["webpackJsonppersonal-site"]=this["webpackJsonppersonal-site"]||[]).push([[8],{164:function(e,t,c){"use strict";c.r(t);var s=c(0),i=(c(1),c(5)),r=c(21);t.default=function(){return Object(s.jsx)(r.a,{description:"Achyut Ghosh's personal website. Masters in Coumputer Science & Application, worked with IT company & ...
var e=Object.defineProperty,t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,o=(t,r,a)=>r in t?e(t,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[r]=a,i=(e,t,r)=>new Promise(((a,o)=>{var i=e=>{try{l(r.next(e))}catch(t){o(t)}},s=e=>{try{l(r.throw(e))}catc...
import start from './start'; import ClientApi from './client_api'; import ConfigApi from './config_api'; import StoryStore from './story_store'; import toId from './id'; export default { start, ClientApi, ConfigApi, StoryStore, toId, };
/*! * jQuery JavaScript Library v1.11.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-01-23T21:02Z */ function updateDemoContent(){updateTo...
import React from "react"; //Custom Hook para el manejo del local storage function useLocalStorage(itemName, initialValue){ const [error, setError] = React.useState(false) const [loading, setLoading] = React.useState(true) const [item, setItem] = React.useState(initialValue); React.useEffect(() => { setTimeout(()...
import React, { useState, useEffect } from "react"; import Header from "./Header"; import { Route, Switch, useRouteMatch } from 'react-router-dom'; import { listDecks } from '../utils/api'; import CreateDeckButton from '../Deck/CreateDeckButton'; import DeckList from '../Deck/DeckList'; import CreateDeck from '../Deck/...
/* Copyright (C) 2019 Google Inc. Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> */ import template from './model-loader.stache'; export default can.Component.extend({ tag: 'model-loader', template, leakScope: true, viewModel: { define: { loadedModel: { get(l...
module.exports = (sequelize, type) => { return sequelize.define('main_fp', { id: { type: type.INTEGER, primaryKey: true, autoIncrement: true }, fp_json: type.STRING(510), fp_count: type.STRING(510), fp_date: type.DATE }) }
function main() { const v1 = "dotAll".__proto__; const v3 = [13.37,13.37]; function v4(v5,v6,v7,v8) { } function v9(v10,v11,v12,v13) { const v18 = v1 in v12; const v19 = [13.37,13.37,13.37,13.37,13.37]; const v21 = [4010874312,4010874312,v12,4010874312]; const v22 = [v19]; const v23 = {LN10:Boolean,...
""" Low-level functions for arbitrary-precision floating-point arithmetic. """ __docformat__ = 'plaintext' import math from bisect import bisect # Importing random is slow #from random import getrandbits getrandbits = None from settings import (\ MP_BASE, MP_ZERO, MP_ONE, MP_TWO, MP_FIVE, MODE, STRICT, gmpy, ...
# coding: utf-8 # Copyright (c) Henniggroup. # Distributed under the terms of the MIT License. from __future__ import division, unicode_literals, print_function """ Parameters Printer module: This module contains a function for printing the parameters of a structure search to a file for the user's reference. """ ...
const fs = require('fs'); class QueueManager { constructor(options) { this.playingContext = { track: null, user: null, startTimestamp: null }; this.queue = []; this.onQueueChanged = options.onQueueChanged; this.onQueueEnded = options.onQueueEnded; this.onVoteSkip = options.o...
// You should implement your task here. module.exports = function towelSort (matrix) { let result = []; if (matrix == undefined) { return result; } else { for (let i=0; matrix.length > i; i++) { if ((i%2) === 0) { result = result.concat(matrix[i]); } else { result = r...
import React from 'react'; import ReactEmoji from 'react-emoji'; import './Message.css'; const Message = ({ message: { text, user }, name }) => { let isSentByCurrentUser = false; const trimmedName = name.trim().toLowerCase(); if (user === trimmedName) { isSentByCurrentUser = true; } return isSentByCu...
print('===== DESAFIO 068 =====') from random import randint print('-='*20) print('vamos jogar par ou impar') print('-='*20) while True: computador = randint(0, 10) jogada = int(input('diga um valor: ')) pi = str(input('par ou impart? [P/I] '))
var AdView = Backbone.View.extend({ template: function(ad) { return `<div class="ad clearfix"> <a class="ad-link" href="${ad.targetURL}" target="_blank" data-advertiserId="${ad.advertiserId}"> <img src="${ad.imageURL}" /> </a> </div>`; }, render: funct...
import numpy as np import math import operator import time import orio.main.tuner.search.search class FireflyElement: def __init__(self, min_bound, max_bound): self.position = self.generate_position(min_bound, max_bound) self.brightness = None @staticmethod def generate_position(min_boun...
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1135:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function()...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.AiOutlineAmazon = function AiOutlineAmazon (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 1024 1024"},"child":[{"tag":"path","attr":{"d":"M825 768.9c-3.3-.9-7.3-.4-11.9 1.3-61.6 28.2-121.5 48.3-179.7 60.2C507.7 856 385...
export { default } from '@smile-io/ember-polaris/components/polaris-layout/section';
function binaryAgent(str) { return str .split(" ") .map((x) => { return String.fromCharCode(parseInt(x, 2)); }) .join(""); } console.log( binaryAgent( "01000001 01110010 01100101 01101110 00100111 01110100 00100000 01100010 01101111 01101110 01100110 01101001 01110010 01100101 01110011 00...
/* global everest_forms_settings_params, jconfirm */ ( function( $, params ) { // Confirm defaults. $( document ).ready( function () { // jquery-confirm defaults. jconfirm.defaults = { closeIcon: true, backgroundDismiss: true, escapeKey: true, animationBounce: 1, useBootstrap: false, theme: 'mo...
import { Link } from "gatsby" import React from "react" import { SEO } from "../components" import { Button, Purchase } from "../styles/components" export default function gracias() { return ( <div> <SEO title="Compra Exitosa" /> <Purchase> <h2>Compra exitosa</h2> <p>Espero disfrutes ...
const updateMandataireMesuresFromOCMI = require("~/services/updateMandataireMesuresFromOCMI"); module.exports = async (req, res) => { const { userId } = req.user; let errors = []; try { const result = await updateMandataireMesuresFromOCMI({ manual: true, userId, }); if (result === false)...
"use strict"; exports.__esModule = true; exports.NumberLiteralHelper = void 0; require("core-js/modules/es.regexp.constructor.js"); require("core-js/modules/es.regexp.exec.js"); require("core-js/modules/es.regexp.to-string.js"); require("core-js/modules/es.array.concat.js"); require("core-js/modules/es.string.rep...
# -*- coding: utf-8 -*- # Copyright 2010 British Broadcasting Corporation and Kamaelia Contributors(1) # # (1) Kamaelia Contributors are listed in the AUTHORS file and at # http://www.kamaelia.org/AUTHORS - please extend this file, # not this notice. # # Licensed under the Apache License, Version 2.0 (the "Lice...
import React from 'react'; import { storiesOf } from '@storybook/react'; import { View } from 'react-native'; import { ListItem } from 'react-native-elements'; storiesOf('ListItem|Using Map function', module) .add('Implemented with avatar', () => { const list = [ { name: 'Amy Farha', avat...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _createSvgIcon = _interopRequireDefault(require("./utils/c...
/** * Kendo UI v2017.2.504 (http://www.telerik.com/kendo-ui) * Copyright 2017 Telerik AD. All rights reserved. ...
const _ = require('./utils'); // Enable followers-only mode on a channel.. function followersonly(channel, minutes) { channel = _.channel(channel); minutes = _.get(minutes, 30); // Send the command to the server and race the Promise against a delay.. return this._sendCommand(null, channel, `/followers ${minutes}`,...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
import _sliced_to_array from "@swc/helpers/lib/_sliced_to_array.js"; function foo(param) { var _param = _sliced_to_array(param, 3); _param[0], _param[1], _param[2]; } foo([ "", 0, !1 ]), foo([ !1, 0, "" ]);
#Pizzas: Pense em pelo menos três tipos de pizzas favoritas. Armazene os nomes dessas pizzas e, então, utilize o nome de cada pizza. pizzas = ['Marguerita', 'Cartola', 'Portuguesa', 'Napolitana'] pizzas.sort() for pizza in pizzas: print(f'{pizza} está entre os meus sabores de pizza favorita') if pizza == 'Margu...
# -*- coding: utf-8 -*- # # Copyright (c) 2017, doudoudzj # All rights reserved. # # InPanel is distributed under the terms of the New BSD License. # The full license can be found in 'LICENSE'. '''Module for Configurations Management.''' from os.path import exists from lib.filelock import FileLock try...
import { StatusBar } from 'expo-status-bar'; import React from 'react'; import { StyleSheet, Text, View, Image, TouchableOpacity, Alert, Button } from 'react-native'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; export default class...
function t_throttle(e,t,o){var i,r;return t||(t=250),function(){var n=o||this,a=+new Date,c=arguments;i&&a<i+t?(clearTimeout(r),r=setTimeout(function(){i=a,e.apply(n,c)},t)):(i=a,e.apply(n,c))}}window.isSearchBot=!1,/Bot/i.test(navigator.userAgent)&&(window.isSearchBot=!0),window.isMobile=!1,window.$isMobile=!1,/Androi...
import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import Touchable from 'react-native-platform-touchable'; import PropTypes from 'prop-types'; const Subheader = ({ disabled, onPress, icon, title, titleStyle, TitleComponent, }) => { return ( <Touchable disabled={d...
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 27 2012 14:49:00 GMT-0600 (CST) */ (function( window, undefined...
import ray import time import tqdm import torch from .rails import WORActionLabeler from .datasets.main_dataset import RemoteMainDataset from .logger import RemoteLogger def main(args): logger = RemoteLogger.remote('carla_data_phase2', args) dataset = RemoteMainDataset.remote(args.data_dir, args.config_pa...
#Python Libraries import numpy as np import pandas as pd import pickle diabetes_df = pd.read_csv('archive1.zip') #lowering #lowercasing all the column names diabetes_df.columns = diabetes_df.columns.str.lower() #renaming the column name diabetes_df = diabetes_df.rename(columns={'diabetespedigreefunction': 'diabete...
let mongoose = require('mongoose'); let Schema = new mongoose.Schema({ uid: {type: String, required: true, unique: true}, // ID Người chơi hu: {type: Number, default: 0}, // Số lần Nổ Hũ REd bet: {type: mongoose.Schema.Types.Long, default: 0}, // Số tiền đã chơi win: {type: mongo...
# This code is part of Qiskit. # # (C) Copyright IBM 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
import length from '../length'; import { standardUnitDependences } from '../src/lib/units'; describe('getValue()', () => { it('Should correctly return positive value', () => { const tests = []; Object.keys(standardUnitDependences).forEach((unit) => { tests.push([Math.random(), unit]); }); for ...
module.exports = { NODE_ENV: '"development"', ENV_CONFIG: '"dev"', BASE_API: '"http://58.119.112.13:11008"' }
""" 用于保存各类插件 基本的Session类存放于general.py中 一个功能更丰富的ArgSession类存放于argument.py中 各个Session完工于不同时期,使用的包以及代码风格都有差异 完成一个新的Session后需要手动添加到主目录下的session_initialize.py中,否则不会生效 同样地,你可以在session_initialize.py中禁用一些不需要的session """
const { dBFromPercentage } = require('../../utils/percentage-db'); const matchBssid = line => line.match( /[A-F0-9]{2}\\:[A-F0-9]{2}\\:[A-F0-9]{2}\\:[A-F0-9]{2}\\:[A-F0-9]{2}\\:[A-F0-9]{2}/ ); const parse = stdout => stdout .split('\n') .filter(line => line !== '' && line.includes(':')) .filter(...
import os import re import subprocess import botocore import boto3 import time from packaging.version import Version import pytest import requests from urllib3.util.retry import Retry from invoke.context import Context from botocore.exceptions import ClientError from src.buildspec import Buildspec from test.test_uti...
import { __decorate, __extends, __param } from "tslib"; //import EWCField from '../dist/ext-field.component.js'; //inputs: (new EWCField()).properties, //import EWCField from '@sencha/ext-web-components-modern/dist/ext-field.component.js'; import { EWCField } from '@sencha/ext-web-components-modern'; import { Host, Opt...
var AppEHR = angular.module('AppEHR'); AppEHR.controller('pharmacyPrescription', ['$scope', '$rootScope', '$window', 'PharmacyPrescription', '$routeParams', function($scope, $rootScope, $window, PharmacyPrescription, $routeParams){ $rootScope.pageTitle = "EHR - Pharmacy"; $scope.action = ''; $scope.hideOptionsStrip...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
/********************************************************************** ssh_deploy This is a adapted version of grunt-ssh-deploy https://github.com/dcarlson/grunt-ssh-deploy Copyright (c) 2014 Dustin Carlson Licensed under the MIT license. **********************************************************************/ 'use ...
import { store } from '@risingstack/react-easy-state'; import { Component } from 'react'; /** * @typedef {Object} DataLayout - Data for build GridLayout * @property {boolean} DataLayout.isRoot - Indicateur de root, Layout de base * @property {number} DataLayout.level - Le level ou ce trouve le layout * @property {...
var vm = new Vue({ el: '#app', data: { host, username: sessionStorage.username || localStorage.username, user_id: sessionStorage.user_id || localStorage.user_id, token: sessionStorage.token || localStorage.token, order_id: '', amount: 0, pay_method: '', ...
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Check(AutotoolsPackage): """Check is a unit testing framework for C. It features a simple ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import abc import uuid from typing import List from .base_resource import BaseResource, BaseResourceState class BaseTeam(object, metaclass=abc.ABCMeta): def __init__(self, name:str, ID=None, worker_list=None, targeted_task_list=None, superior_team=None): ...
//== Class definition var WizardDemo = function () { //== Base elements var wizardEl = $('#m_wizard'); var formEl = $('#m_form'); var validator; var wizard; //== Private functions var initWizard = function () { //== Initialize form wizard wizard = wizardEl.mWizard({ ...
'use strict'; /* ------------------------------------------------------------------------------------------------ CHALLENGE 1 Write a function named sortBackwards that takes in an array of numbers and returns the same array, with the numbers sorted, highest to smallest. -----------------------------------------------...
const fs = require('fs'); module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'scope-empty': [2, 'never'], 'scope-enum': [2, 'always', [ ...fs.readdirSync('packages'), 'repo', ]], } };
import React from "react" //Change this to set scroll on/off // "../components/layout" Scroll off // "../components/layout_scroll" Scroll on import Layout from "../components/layout" import PortfolioItems from "../components/PortfolioItems" import DemoCarousel from "../components/DemoCarousel" import ItemCarousel from ...
/** * @class draw2d.shape.composite.WeakComposite * A WeakComposite is a composite figure with loose coupling of the children and the composite. * The child didn't know anything about the assigned composite nor did they receive any events * about assignment to a composite. * * Assignment without obligation. * ...
"""Schema datatypes.""" # pylint: disable=C0103 from enum import Enum class PandasDtype(Enum): """Enumerate all valid pandas data types.""" Bool = "bool" DateTime = "datetime64[ns]" Category = "category" Float = "float64" Float16 = "float16" Float32 = "float32" Float64 = "float64" ...
import { persistStore, persistReducer, FLUSH, REHYDRATE, PAUSE, PERSIST, PURGE, REGISTER, } from 'redux-persist'; import storage from 'redux-persist/lib/storage'; import { configureStore, combineReducers, getDefaultMiddleware, } from '@reduxjs/toolkit'; import contactsReducer from '../contacts/con...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.GiPocketWatch = function GiPocketWatch (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M254.84 255.64a127.867 127.867 0 1 0 61.614 76.03 127.04 127.04 0 0 0-61.615-76.03zm-3...