text stringlengths 3 1.05M |
|---|
from django.shortcuts import render, redirect
from home.views import BaseView
import smtplib, ssl
from django.conf import settings
# Create your views here.
class ContactView(BaseView):
template_name = 'contact/contact.html'
title = 'Contato'
def get(self, request, *args, **kwargs):
context = self... |
Search.setIndex({docnames:["command/add_compile_definitions","command/add_compile_options","command/add_custom_command","command/add_custom_target","command/add_definitions","command/add_dependencies","command/add_executable","command/add_library","command/add_link_options","command/add_subdirectory","command/add_test"... |
from django.apps import AppConfig
class MedspaConfig(AppConfig):
name = 'medspa'
|
"""
Ory APIs
Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501
The version of the OpenAPI document: v0.0.1-alpha.93
Contact: support@ory.sh
Generated by: htt... |
input = """
1 2 2 1 3 4
1 3 2 1 2 4
1 4 0 0
1 5 2 1 6 7
1 6 2 1 5 7
1 7 0 0
1 8 2 1 9 10
1 9 2 1 8 10
1 10 0 0
1 11 2 1 12 13
1 12 2 1 11 13
1 13 0 0
1 14 1 0 2
1 15 1 0 5
1 16 1 0 8
1 17 1 0 11
1 18 1 0 2
1 19 1 0 5
1 20 1 0 2
1 21 1 0 5
1 22 1 0 8
1 23 1 0 11
1 21 2 1 19 20
1 24 1 1 18
1 23 1 0 8
1 25 1 1 18
1 26 1 0... |
var $win = $(window);
$win.scroll(function () {
if ($win.scrollTop() > 45) {
$(".js-header").addClass("navbarcolor");
} else {
$(".js-header").removeClass("navbarcolor");
}
});
$('a.link[href^="#"]').click(function(e) {
var target = $(this).attr('href');
var strip = target.slice(1);
var anchor = $("section... |
import Ember from "ember";
import layout from "../templates/mixins/multi-column";
/**
* Mixin for views with multiple child view with column data.
*
* @class EmberForm.MultiColumnMixin
*/
export default Ember.Mixin.create({
parentForRows : Ember.computed({
get : function() {
return this;
},
}),
... |
webpackJsonp([11],{
/***/ "../../../../../src/app/dragndrop/dragndrop.component.html":
/***/ (function(module, exports) {
module.exports = "<p class=\"ma-1\">Move stuff between these two containers. Note how the stuff gets inserted near the mouse pointer? Great stuff.</p>\n\n<div fxLayout=\"row\" fxLayoutWrap=\"wrap... |
(function (app) {
'use strict';
app.registerModule('wf_abnormal_incidents', ['core']);// The core module is required for special route handling; see /core/client/config/core.client.routes
app.registerModule('wf_abnormal_incidents.admin', ['core.admin']);
app.registerModule('wf_abnormal_incidents.admin.routes',... |
var class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlist_results_context_1_1_subtitle =
[
[ "runs", "d9/d5a/class_y_t_music_uploader_1_1_providers_1_1_request_models_1_1_browse_playlist_results_context_1_1_subtitle.html#ab6a676bbe8776ae42dba680802dcfaa6", null ]
]; |
""" Test script for the Unicode implementation.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
"""#"
import _string
import codecs
import itertools
import struct
import sys
import unittest
import warnings
from test import support, string_tests
# Error handling ... |
import styled from "styled-components"
import media from "styled-media-query"
export const PostHeader = styled.header`
color: var(--postColor);
margin: auto;
max-width: 70rem;
padding: 5rem 5rem 0;
${media.lessThan("large")`
padding: 3rem 0 0;
max-width: 100%;
`}
`
export const PostTitle = styled... |
"""Print the metadata for one or more Python package distributions.
Usage: %prog [options] path+
Each 'path' entry can be one of the following:
o a source distribution: in this case, 'path' should point to an existing
archive file (.tar.gz, .tar.bz2, or .zip) as generated by 'setup.py sdist'.
o a binary distrib... |
define(function(require) {
'use strict';
const $ = require('jquery');
const _ = require('underscore');
const BaseComponent = require('oroui/js/app/components/base/component');
const loadModules = require('oroui/js/app/services/load-modules');
const errorHandler = require('oroui/js/error');
... |
const verifyAddUser = async (ctx, next) => {
ctx.verifyParams({
openid: { type: 'string', required: true },
session_key: { type: 'string', required: true },
nickName: { type: 'string', required: true },
avatarUrl: { type: 'string', required: true },
gender: { type: 'number', ... |
/**
* const prefixCls = 'style-119515';
* const images = '/static/images/src/shop/Goods';
* @Author: czy0729
* @Date: 2018-09-30 11:26:43
* @Last Modified by: czy0729
* @Last Modified time: 2018-10-26 11:53:36
* @Path m.benting.com.cn /src/shop/Goods/_Carousel.js
*/
import React from 'react';
import PropTypes f... |
# Copyright (c) 2020, Xilinx
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the follow... |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* 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 a... |
import axios from 'axios'
class FetchController {
constructor(props) {
this.state = {
...props,
baseOnURL:false,
url:'',
method:'get'|| 'post' || 'put' || "delete",
data: {},
headers: {},
callback: (values)=> {},
onError: (error)=> {}
}
this.index()
}
i... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Generates placeholder style for each of the browsers supported by office-ui-fabric-react.
* @param styles - The style to use.
* @returns The placeholder style object for each browser depending on the placeholder directive it uses.
*/... |
const request = require('request');
const cheerio = require('cheerio');
const requestList = [
'https://news.baidu.com',
'https://news.baidu.com/guonei',
'https://news.baidu.com/guoji',
'https://news.baidu.com/mil',
'https://news.baidu.com/finance',
'https://news.baidu.com/ent',
'https://news.baidu.com/spo... |
"""
The MIT License (MIT)
Copyright (c) 2015-present Rapptz
Copyright (c) 2021-present tag-epic
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
t... |
var result;
var textPos_X;
var textPos_Y;
function setup() {
createCanvas(800,600);
textPos_X = width * 0.5;
textPos_Y = height * 0.5;
frameRate(2);
}
result = 100;
function draw() {
background(40, 70, 245);
// DO SOME MATH
// result--;
// result = result * 0.5;
// Equivelant
result *= 0.5;
... |
define(["domEngine"], function ($) {
return function (m, Y, options, locale) {
options = {
className : options.className || "raincalendar",
weekStart : options.weekStart || 0,
visibleBoundsDays : options.visibleBoundsDays || false,
interactiv... |
var CONST = require('../../../const'),
canUseNewCanvasBlendModes = require('./canUseNewCanvasBlendModes');
/**
* Maps blend combinations to Canvas
* @class
* @memberof PIXI
* @param array
*/
function mapCanvasBlendModesToPixi(array)
{
array = array || [];
if (canUseNewCanvasBlendModes())
{
ar... |
import React, { PropTypes } from 'react'
import { Menu, Icon } from 'antd'
import { Link } from 'dva/router'
import styles from './main.less'
import { menu } from '../../utils'
var u_type="0";
const topMenus = menu.map( item => item.key)
const getMenus = function (menuArray,siderFold,parentPath) {
parentPath = pare... |
import tmpl from 'blueimp-tmpl'
export class Upload
{
uploadFile (IdDiv)
{
let option = {
'uploadTemplateId' : 'template-upload',
'downloadTemplateId': 'template-download',
'dataType' : 'json',
'autoUpload' : true,
'url' : $('#' + IdDiv).attr('data-url')
}
$('#' + ... |
define(['./../module', 'underscore', 'underscore.string'], function (module, _, _S) {
module.controller('SystemSettingsController', function ($scope, $routeParams, $location, $timeout, localStorageService, Rest, Spinner) {
$scope.settings = {
developer_mode: 1,
minify_html: 0,
... |
webpackJsonp([103,155],{1415:function(e,t,n){"use strict";var i=n(0),r=n.n(i),s=n(1),o=n(547),a=n(211),l=n(210),c=n(209),u=n(571),d=n(563);t.a={mixins:[a.a,l.a,c.a,o.b],components:{DateRangePicker:u.a,SelectEmployee:d.a},data:function(){return{rest_api:"student_lesson_import_logs",search_field:{create_time:[],create_ui... |
'''
custom exceptions for IPySigma application
'''
class IPySigmaBaseException(Exception):
'''
exception base class for IPySigmaPackage
'''
pass
class IPySigmaAddOnException(IPySigmaBaseException):
'''
exception base class for sigma_add_on module
'''
pass
class IPySigmaCoreExcepti... |
'use strict'
/** @type {import('@adonisjs/lucid/src/Schema')} */
const Schema = use('Schema')
class StateSchema extends Schema {
up () {
this.create('states', (table) => {
table.increments()
table.integer('id')
table.string('name')
table.string('initials').nullable()
table.timestam... |
const UglifyJsPlugin = require('webpack/lib/optimize/UglifyJsPlugin');
const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');
module.exports = {
entry: {
main: './example/index.aot',
vendor: './example/src/vendor',
polyfills: './example/src/polyfills'
},
devServer:{
conten... |
import click
from pathlib import Path
from typing import List
from blspy import AugSchemeMPL, G1Element, G2Element
from src.cmds.init import check_keys
from src.util.bech32m import encode_puzzle_hash
from src.util.config import load_config
from src.util.default_root import DEFAULT_ROOT_PATH
from src.util.keychain im... |
import template from './sw-condition-billing-zip-code.html.twig';
const { Component } = Shopware;
/**
* @public
* @description Condition for the BillingZipCodeRule. This component must a be child of sw-condition-tree.
* @status prototype
* @example-type code-only
* @component-example
* <sw-condition-billing-zip... |
YUI.add("lang/datatype-date-format_en-CA",function(a){a.Intl.add("datatype-date-format","en-CA",{a:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],A:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],b:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],B:["January","February","M... |
from TeaML.utils.tea_encoder import *
from TeaML.utils.tea_filter import *
from TeaML.utils.tea_utils import *
from TeaML.utils.auto_bin_woe import *
import TeaML
data = pd.read_csv("TeaML/examples.csv")
# encoder
ct = TeaBadRateEncoder(num=1)
me = TeaMeanEncoder(categorical_features=['city'])
t = TeaOneHotEncoder()
... |
import React from "react";
import ReactDOM from "react-dom";
import Realtor from "./Realtor";
it("renders without crashing", () => {
const div = document.createElement("div");
ReactDOM.render(<Realtor />);
ReactDOM.unmountComponentAtNode(div);
});
|
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file acc... |
// Include main chrome manifest
require( 'file?name=manifest.json!./chrome/manifest.json' );
// Chrome requires extension icons
require( 'file?name=icon16.jpg!../assets/icon16.jpg' );
require( 'file?name=icon48.jpg!../assets/icon48.jpg' );
require( 'file?name=icon128.jpg!../assets/icon128.jpg' );
export function loa... |
var chart = c3.generate({
data: {
columns: [
['sample', 30, 200, 100, 400, 150, 250]
]
},
axis: {
y: {
max: 400,
min: -400,
// Range includes padding, set 0 if no padding needed
// padding: {top:0, bottom:0}
}
}
... |
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, {Component} from 'react';
import {
Platform,
StyleSheet,
Text,
View,
Image,
ImageBackground,
ScrollView,
TouchableHighlight,
TouchableOpacity
} from 'react-native';
import config fr... |
/***********************
* Notifier.js - Developed by rlemon (rob.lemon@gmail.com) https://github.com/rlemon/Notifier.js
* Licensed under GNU GPL V3 https://github.com/rlemon/Notifier.js/blob/master/LICENSE
***********************/
var Notifier = (function() {
var apply_styles = function(element, style_object) {
... |
from copy import deepcopy
from perceptron import Perceptron, predict
# AND
in_and = [[0, 0], [0, 1], [1, 0], [1, 1]]
out_and = [0, 0, 0, 1]
percetron_and = Perceptron(X=in_and, Y=out_and)
percetron_and.show = True
percetron_and.train()
test_and = deepcopy(in_and)
print("Test AND")
for i, test in enumerate(test_an... |
/**@preserve GeneXus Java 10_3_12-110051 on December 12, 2020 18:18:40.50
*/
gx.evt.autoSkip = false;
gx.define('hemitirrelatoriotermo', false, function () {
this.ServerClass = "hemitirrelatoriotermo" ;
this.PackageName = "" ;
this.setObjectType("web");
this.setOnAjaxSessionTimeout("Warn");
this.hasEn... |
{
console.log("Passo #01");
console.log("Passo #02");
console.log("Passo #03");
}
{
console.log("Passo #04");
console.log("Passo #05");
}
console.log("Fim!"); |
/* ==========================================================
* bootstrap-formhelpers-colorpicker.js
* https://github.com/vlamanna/BootstrapFormHelpers
* ==========================================================
* Copyright 2012 Vincent Lamanna
*
* Licensed under the Apache License, Version 2.0 (the "License");
... |
import VueRouter from 'vue-router';
import Index from '@/components/Index.vue';
import AllCourse from '@/components/AllCourse.vue';
import MyStudentCourse from '@/components/MyStudentCourse.vue';
import MyTeacherCourse from '@/components/MyTeacherCourse.vue';
import SetPeriod from '@/components/SetPeriod.vue';
import M... |
module.exports = function hashPassword(password) {
return password
} |
module.exports={A:{A:{"2":"I D F E A iB","132":"B"},B:{"2":"V y M WB S","132":"C O H Q J K L"},C:{"2":"0 1 2 3 4 5 6 7 8 9 sB KB G W I D F E A B C O H Q J K L X Y Z a b c d e f g h i j k l m n o p q r s t u v w x P z AB LB CB JB EB FB GB HB DB U N T MB NB OB PB QB RB SB TB UB V y M pB hB"},D:{"2":"0 1 2 3 4 5 6 7 8 9 G... |
//test for protractor to see if its working
describe('angularjs homepage todo list', function() {
it('should add a todo', function() {
browser.get('https://angularjs.org');
element(by.model('todoList.todoText')).sendKeys('write first protractor test');
element(by.css('[value="add"]')).click();
var t... |
import {
Provider
} from 'tko.provider'
export default class MultiProvider extends Provider {
get FOR_NODE_TYPES () { return this.nodeTypes }
constructor (params = {}) {
super(params)
const providers = params.providers || []
this.nodeTypeMap = {}
this.nodeTypes = []
this.providers = []
... |
// @flow
import path from 'path';
import { BrowserWindow } from 'electron';
import BaseElement from './BaseElement';
import TextElement from './TextElement';
import type { ElectronApp } from 'electron';
import type IonizeContainer from '../IonizeContainer';
import type { HostContext } from '../IonizeHostConfig';
impo... |
# model settings
norm_cfg = dict(type='GN', num_groups=32, requires_grad=True)
model = dict(
type='MaskRCNN',
pretrained='open-mmlab://detectron/resnet50_gn',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
... |
from cloud.permission import Permission, NeedPermission
# Define the input output format of the function.
# This information is used when creating the *SDK*.
info = {
'input_format': {
},
'output_format': {
'items': 'list',
'end_key': 'str',
},
'description': 'Return all function ... |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... |
const mongoose = require('mongoose');
const cities = require('./cities');
const {places, descriptors} = require('./seedHelpers');
const Campground = require('../models/campground');
const dbUrl = process.env.DB_URL || 'mongodb://localhost:27017/yelp-camp';
mongoose.connect(dbUrl, {
useNewUrlParser: tru... |
/*
* Foundation Responsive Library
* http://foundation.zurb.com
* Copyright 2014, ZURB
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
(function ($, window, document, undefined) {
'use strict';
var header_helpers = function (class_array) {
var i = class_array.... |
import moment from 'moment';
import { TIME_POINTS } from '../../common/constants/scheduleParams';
export const getActiveTimePoint = () => {
const PAIR_DURATION_IN_MINUTES = 95;
const now = moment();
return TIME_POINTS.findIndex((timePoint, i) => {
const timeNumbers = timePoint.split('.').map(item => +item);... |
#!/usr/bin/env python3
# Copyright (c) 2016-2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Test Hierarchical Deterministic wallet function."""
import os
import shutil
from test_framework.test_... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
import numpy as np
import pygmsh as pg
import os
import extract_grayscale_image as egs
def add_rectangle(x0,y0,width,height,char_length,geom):
coords = np.array([
[x0, y0, 0.0],
[x0+width, y0, 0.0],
[x0+width, y0+height, 0.0],
[x0, y0+height, 0.0]
])
return geom.add_polygon... |
const http = require('http')
const app = require('./app')
const port = 3000
const server = http.createServer(app)
server.listen(port, '0.0.0.0', ()=> {
console.log('Server is running at port 3000')
})
|
import { moduleFor, test } from 'ember-qunit';
moduleFor('route:todos/incomplete', 'Unit | Route | todos/incomplete', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
test('it exists', function(assert) {
var route = this.subject();
assert.ok(route);
});
|
import urllib.request
import lxml.html
# --- functions ---
def get_top_tags(html):
all_items = html.findall('.//span[@class="tag-item"]/a')
for item in all_items:
print(item.text_content(), '->', item.attrib['href'])
def get_queues(html):
all_items = html.findall('.//div[@class="quote"]')
for... |
function _notifyBase(type, heading, message, onclick=undefined)
{
Lobibox.notify(type, {
title: heading,
msg: message,
sound: false,
position: "top right",
continueDelayOnInactiveTab: false,
pauseDelayOnHover: true,
icon: false,
onClick: onclick
})... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var styled_icon_1 = require("@styled-icons/styled-icon");
exports.OfflineBolt = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "cur... |
import { combineReducers } from 'redux';
import memberReducer from './memberReducer';
export default combineReducers({
member: memberReducer,
});
|
#!/usr/bin/env python
# vim: set ai et ts=4 sw=4 sts=4:
"""
Tests for pyjks.
Note: run 'mvn test' in the tests/java directory to reproduce keystore files (requires a working Maven installation)
"""
from __future__ import print_function
import os
import sys
import unittest
import hashlib
import jks
from jks.util impor... |
import React, { Fragment, useState } from "react";
import "./App.css";
import InputTodo from "./components/InputTodo";
import ListTodos from "./components/ListTodos";
function App() {
const [todos, setTodos] = useState([]);
async function getTodos() {
const res = await fetch("/todos");
const todoArray =... |
define(
"dojo/cldr/nls/zh-tw/gregorian", //begin v1.x content
{
"months-standAlone-narrow": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"quarters-format-wide": [
"第1季",
"第2季",
"第3季",
"第4季"
],
"eraAbbr": [
"西元前",
"西元"
],
"dateFormat-medium": "yyyy/M/d",
... |
"""
Django settings for central_controller project.
Generated by 'django-admin startproject' using Django 1.11.14.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
""... |
ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|f... |
import roundToDecimal from '@/lib/roundToDecimal'
export default class GalacticAgeCalculator {
constructor ({
lifeExpectancy = 60,
} = {}) {
this.ages = {
mercury: 0,
venus: 0,
earth: 0,
mars: 0,
jupiter: 0,
saturn: 0,
uranus: 0,
neptune: 0,
pluto: 0,
... |
# ranks and suits
ranks = ["2", "3", "4", "5", "6", "7", "8", "9", "10", "Jack", "Queen", "King", "Ace"]
suits = ["Hearts", "Spades", "Clubs", "Diamonds"]
# standard deck of cards
cards = []
for rank in ranks:
for suit in suits:
cards.append(rank + " of " + suit)
print(f"There are {len(cards)} cards in the... |
"""
Attempt to detect egg centers in the segmented images from annotated data
The input is
1) 4-class segmentation of ovary images
(background, nurse, follicular cells and cytoplasm)
2) annotation of egg centers as
2a) csv list of centers
2b) 3-class annotation:
(i) for close center,
(iii) too f... |
'use strict';
/**
* @module UTF16
* @author nuintun
*/
/**
* @function UTF16
* @param {string} text
* @returns {number[]}
*/
function UTF16(text) {
var bytes = [];
var length = text.length;
for (var i = 0; i < length; i++) {
bytes.push(text.charCodeAt(i));
}
return bytes;
}
exports.... |
var searchData=
[
['loadingerror',['LoadingError',['../struct_loading_error.html',1,'']]]
];
|
import { Dimensions } from 'react-native';
const { width, height } = Dimensions.get('window');
const Layout = {
window: {
width,
height,
},
isSmallDevice: width < 375,
};
export default Layout;
|
#!/usr/bin/env python
import os
from pprint import pprint as pp
from nornir import InitNornir
from nornir.core.filter import F
from nornir.plugins.functions.text import print_result
from nornir.plugins.tasks.networking import napalm_get
from nornir.plugins.tasks.networking import netmiko_send_command
nr = InitNornir(... |
( function ( $, wp, window, rwmb ) {
'use strict';
/**
* Transform textarea into wysiwyg editor.
*/
function transform() {
var $this = $( this ),
$wrapper = $this.closest( '.wp-editor-wrap' ),
id = $this.attr( 'id' );
// Ignore existing editor.
if ( tinyMCEPreInit.mceInit[id] ) {
return;
}
... |
# Copyright 2020 Google Research. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... |
/* global describe, it, require */
'use strict';
// MODULES //
var // Expectation library:
chai = require( 'chai' ),
// Module to be tested:
mean = require( './../lib/array.js' );
// VARIABLES //
var expect = chai.expect,
assert = chai.assert;
// TESTS //
describe( 'array mean', function tests() {
it( 's... |
/*! elementor - v1.3.5 - 20-03-2017 */
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){v... |
new Crawler({
appId: "",
apiKey: "",
rateLimit: 8,
startUrls: ["https://didi.github.io/mand-mobile", "https://didi.github.io/"],
renderJavaScript: true,
sitemaps: [],
exclusionPatterns: [],
ignoreCanonicalTo: false,
discoveryPatterns: ["https://didi.github.io/**"],
schedule: "at 10:00 on Thursday",
... |
var searchData=
[
['not_5fsolved_1268',['NOT_SOLVED',['../classoperations__research_1_1_max_flow_status_class.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba0e6873a155f86a4695f463bf8601d05f',1,'operations_research::MaxFlowStatusClass::NOT_SOLVED()'],['../classoperations__research_1_1_min_cost_flow_base.html#a67a0db04d321a74b... |
#!/usr/bin/env python3
# Copyright (c) 2019 The PIVX developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Covers the scenario of a valid PoS block where the coinstake input prevout is spent on main chain,
but not on the ... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.protot... |
/*!
* Nodeunit
* Copyright (c) 2010 Caolan McMahon
* MIT Licensed
*/
/**
* Module dependencies
*/
var async = require('../deps/async'),
fs = require('fs'),
util = require('util'),
Script = require('vm').Script,
http = require('http');
/**
* Detect if coffee-script, iced-coffeescript, or strea... |
/* product */
function escapeHtml(str){
str = str.replace(/&/g, '&');
str = str.replace(/</g, '<');
str = str.replace(/>/g, '>');
str = str.replace(/"/g, '"');
str = str.replace(/'/g, ''');
return str;
}
function makelink(twitter_url, github_url, blog_url, instagram_url, prof... |
/*!
Waypoints - 4.0.1
Copyright © 2011-2016 Caleb Troughton
Licensed under the MIT license.
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
*/
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option ... |
export { default as productData } from './data.json';
export { default as routeProduct } from './routes';
|
module.exports = {
siteMetadata: {
title: 'Ferguson Box',
description:
'Packaging Done Right',
keywords:
'packaging, boxes, ferguson box, ferguson, box, corrugated, cardboard, packaging supplies'
},
plugins: [
'gatsby-plugin-react-helmet',
'gatsby-plugin-sass',
{
resolve:... |
#!/usr/bin/env python
# -----------------------------------------------------------------------------
# Copyright 2014 if(we)
#
# 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... |
import datetime
import os
import time
import pytest
from dagster import check
from dagster.core.storage.pipeline_run import PipelineRunStatus
from dagster.core.storage.tags import DOCKER_IMAGE_TAG
from dagster.core.test_utils import create_run_for_test
from dagster.utils import load_yaml_from_path, merge_dicts
from da... |
/**
* @generated-from ./$first-or.test.js
* This file is autogenerated from a template. Please do not edit it directly.
* To rebuild it from its template use the command
* > npm run generate
* More information can be found in CONTRIBUTING.md
*/
/* eslint-disable no-unused-vars,import/no-duplicates */
import { a... |
export const button1 = 'button';
export const button2 = 'button_hover';
export const sortDescOrder = (data) => data.sort((a, b) => b.score - a.score);
|
import { createLocalVue, shallowMount } from '@vue/test-utils';
import 'src/module/sw-settings-custom-field/page/sw-settings-custom-field-set-detail';
import 'src/module/sw-settings-custom-field/component/sw-custom-field-list';
import 'src/app/component/grid/sw-grid';
import 'src/app/component/grid/sw-pagination';
con... |
class SkinnedMesh extends THREE.Mesh {
constructor(geometry, materials) {
super(geometry, materials);
this.idMatrix = SkinnedMesh.defaultMatrix();
this.bones = [];
this.boneMatrices = [];
//...
}
update(camera) {
//...
super.update();
}
static... |
# 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, ... |
import React from 'react';
const VideoDetail = ({ video }) => {
if (!video) {
return <div>Loading...</div>;
}
const title = video.snippet.title;
const description = video.snippet.description;
const videoId = video.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
return (
<d... |