text stringlengths 3 1.05M |
|---|
# -*- coding: utf-8 -*-
from cStringIO import StringIO
__author__ = "Grant Hulegaard"
__copyright__ = "Copyright (C) Nginx, Inc. All rights reserved."
__license__ = ""
__maintainer__ = "Grant Hulegaard"
__email__ = "grant.hulegaard@nginx.com"
class StringFile(object):
"""
Extension for StringIO that adds th... |
import {formatFileSize} from "./utils"
/**
* Categorizes how the TTFB can be improved by Speed Kit
*
* @param {number} competitorTtfb The TTFB of the competitor
* @param {number} speedKitTtfb The TTFB when installing Speed Kit
* @param {boolean} isSpeedKitComparison true, if the website has Speed Kit installed
*... |
var Subscriber = require('./subscriber.js');
module.exports = Subscribers;
function Subscribers(createsend) {
this.createsend = createsend;
}
Subscribers.prototype = {
addSubscriber: function (listId, details, callback) {
var createsend = this.createsend;
createsend.post('subscribe... |
import {createContainer} from '@/util';
import Component from './Component';
export default createContainer(Component, (state, ownProps)=>{
return {}
});
|
class Dim(object):
"""Helper class containing all supported dimensions
"""
AMOUNTOFMONEY = u'amount-of-money'
CYCLE = u'cycle'
DISTANCE = u'distance'
DURATION = u'duration'
EMAIL = u'email'
LEVENPRODUCT = u'leven-product'
LEVENUNIT = u'leven-unit'
NUMBER = u'number'
ORDINAL... |
const {join} = require('path')
const {Router} = require('express')
const contentDisposition = require('content-disposition')
const {departementLayerPath, getLayerPath} = require('./fs/cadastre-etalab')
const wrap = require('./util/wrap')
const {notImplemented, validFormat, validLayer} = require('./middlewares')
const ... |
# -*- coding: utf-8 -*-
"""Family module for Wikiversity."""
#
# (C) Pywikibot team, 2007-2017
#
# Distributed under the terms of the MIT license.
#
from __future__ import absolute_import, unicode_literals
from pywikibot import family
__version__ = '$Id: 576807c306a18971181a28befb67082274ed7a09 $'
# The Wikimedia f... |
import * as echarts from 'echarts';
import { generateBasicAnnotations, ahoi, EVisualizationType } from '@visahoi/echarts';
let chart = null;
let showOnboarding = false;
let onboardingUI = null;
function render() {
fetch("../data/cars.json").then(response => response.json()).then(data => {
chart = createPlot(proce... |
import React, { Component } from 'react';
import { InputGroup, Input } from 'reactstrap';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faClock, faUser, faSearch } from '@fortawesome/free-solid-svg-icons'
//import sucursales from '../sucursales/sucursales.json';
class Sucursales extends Co... |
import React, { Component } from "react";
import Typography from "@material-ui/core/Typography";
var styles = {
marginBottom: "16px",
marginTop: "16px",
textTransform: "uppercase"
};
class BlockHeader extends Component {
render() {
return (
<Typography style={styles} variant="subtitle1">
{" ... |
/**
* THIS FILE IS AUTO-GENERATED
* DON'T MAKE CHANGES HERE
*/
import { isIntegerDependencies } from './dependenciesIsInteger.generated';
import { typedDependencies } from './dependenciesTyped.generated';
import { createApply } from '../../factoriesAny.js';
export var applyDependencies = {
isIntegerDependencies: i... |
# Copyright 2012 OpenStack Foundation
# Copyright 2013 IBM Corp.
# 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/LIC... |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'las';
var iconName = 'bone-solid';
var width = 512;
var height = 512;
var ligatures = [];
var unicode = null;
var svgPathData = 'M 320 64 C 284.8125 64 256 92.812496 256 128 C 256 144 263.25 157.3125 273 168.5 L 168.5 273 C 157.3... |
const root = require('../../../');
const floydWarshall = root.Graph.floydWarshall;
const Graph = root.DataStructures.Graph;
const assert = require('assert');
describe('Floyd-Warshall Algorithm', () => {
it('computes all-pairs shortest paths in the graph', () => {
const graph = new Graph();
graph.addEdge('a',... |
#!/usr/bin/env python3
import argparse
import os
import sys
from typing import Any
from selfdrive.car.car_helpers import interface_names
from selfdrive.test.openpilotci import get_url
from selfdrive.test.process_replay.compare_logs import compare_logs
from selfdrive.test.process_replay.process_replay import CONFIGS, r... |
breeze.makeRelationArray = (function () {
var relationArrayMixin = {};
/**
Relation arrays are not actually classes, they are objects that mimic arrays. A relation array is collection of
entities associated with a navigation property on a single entity. i.e. customer.orders or order.orderDetails.
This colle... |
/*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("dom-style-ie",function(e,t){var n="hasLayout",r="px",i="filter",s="filters",o="opacity",u="auto",a="borderWidth",f="borderTopWidth",l="borderRightWidth",c="borderBott... |
function main() {
const v2 = "function".hasOwnProperty(-4294967297,-4294967297,-4294967297);
const v4 = [13.37];
for (let v8 = 0; v8 < 3; v8++) {
const v10 = v8 === 13.37;
const v12 = [13.37,13.37,13.37,13.37];
}
}
%NeverOptimizeFunction(main);
main();
|
/* eslint-disable import/prefer-default-export */
import React from 'react';
import styled from 'styled-components';
import { Link } from '@reach/router';
// assets
import logo from '../assets/images/logo.png';
export function Logo({ color }) {
return (
<LogoWrapper>
<Link to="/">
<LogoButton colo... |
import 'tailwindcss/tailwind.css'
import { SessionProvider } from 'next-auth/react'
import { RecoilRoot } from 'recoil'
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
return (
<SessionProvider session={session}>
<RecoilRoot>
<Component {...pageProps} />
</RecoilRoot>
... |
/*
Highcharts JS v9.0.1 (2021-02-15)
Variable Pie module for Highcharts
(c) 2010-2021 Grzegorz Blachliski
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/variable-pie",... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import { AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer as AnimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE } from '@angular/animations';
import { ElementInstructionMap } from '../dsl/element_instruction_map';
import { ENTER_CLASSNA... |
import _extends from "@babel/runtime/helpers/esm/extends";
import { isPlainObject } from "../../core/utils/type";
import { getPathParts } from "../../core/utils/data";
import Component from "./common/component";
import gridCore from "../../ui/data_grid/ui.data_grid.core";
import { updatePropsImmutable } from "./utils/u... |
!function(V){"use strict";var o=function(){},H=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n(r.apply(null,e))}},q=function(e){return function(){return e}},$=function(e){return e};function d(r){for(var o=[],e=1;e<arguments.length;e++)o[e-1]=arguments[e];return functio... |
#!/usr/bin/env python3
# This code is based on Julius Schmidt's PDP-11 emulator for JavaScript.
# You can run that one in your browser: http://pdp11.aiju.de
# (c) 2011, Julius Schmidt, JavaScript/HTML implementation, MIT License
# (c) 2019, Andriy Makukha, ported to Python 3, MIT License
# Version 6 Unix (in the disk ... |
'use strict';
/**
* Operations on /version/user
*/
module.exports = {
/**
* summary:
* description: Returns healthcheck for systems looking to ensure API is up and operational
* parameters:
* produces:
* responses: 200, default
*/
get: function (req, res, next) {
let st... |
module.exports = {
alps: require('./alps'),
button: require('./button'),
choc: require('./choc'),
chocmini: require('./chocmini'),
diode: require('./diode'),
jstph: require('./jstph'),
jumper: require('./jumper'),
mx: require('./mx'),
oled: require('./oled'),
omron: require('./om... |
"use strict";
module.exports = function (t, a) {
var foo = "raz", bar = "dwa";
// eslint-disable-next-line func-names
var fn = function marko(a, b) {
return this + a + b + foo + bar;
};
var result, o = {};
fn.prototype = o;
fn.foo = "raz";
result = t.call(fn);
a(result.length, fn.length, "Length");
a(r... |
import React from "react";
const NextRound = props => {
return(
<svg width="397" height="44" viewBox="0 0 397 44" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.9294 31.8588L23.2881 28.5L10.7175 1... |
import re
def remove_time_stamp(content):
if not content:
return content
# Remove time stamp
new_content = re.sub(r"\d{2}:\d{2}:\d{2}", "", content)
new_content = re.sub(r"\[\d{4}-\d{2}-\d{2}.*?\]", "", new_content)
return new_content
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[139],{
/***/ "./node_modules/@ionic/core/dist/esm-es5/shadow-css-bbdf056f-05cd1ccb.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@ionic/core/dist/esm-es5/shadow-css-bbdf056f-05cd1ccb.js ***... |
module.exports = text => {
// replaces wide spaces with hair spaces
text = text.replace(/ × /g, " × ");
text = text.replace(/ \/ /g, " / ");
return text;
};
|
import { baseSpellEffect } from "../specialSpells.js";
import { loadMacroFile, generateMacroChange, generateItemMacroFlag } from "../macros.js";
export async function enhanceAbilityEffect(document) {
let effect = baseSpellEffect(document, document.name);
const itemMacroText = await loadMacroFile("spell", "enhanceA... |
'use strict';
var app = require('../..');
import request from 'supertest';
var newMappingendpoint;
describe('Mappingendpoint API:', function() {
describe('GET /api/mappingendpoints', function() {
var mappingendpoints;
beforeEach(function(done) {
request(app)
.get('/api/mappingendpoints')
... |
const webpack = require('webpack')
const extend = require('extend')
const projectConfig = require('./project.config')
const baseConfig = require('./webpack.base.config')
let entry
let plugins
if (projectConfig.globals.__DEV__) {
entry = [
'babel-polyfill',
'react-hot-loader/patch',
'webpack-... |
"use strict";
const Color = require('./color');
const colorW3 = require('./custom-data/colors-w3');
const colorLocales = require('./custom-data/color-locales');
const TRANSLATION_DEPTH = Infinity; // TODO: We shouldn't have an infinite depth due to ontologic/semiotic concerns...
class NamedColor extends Color {
co... |
$(document).mouseup(function(e) {
var citiesListContent = $('#allCountriesList');
if (!citiesListContent.is(e.target) && citiesListContent.has(e.target).length === 0)
{
citiesListContent.hide();
}
});
$(document).ready(function () {
$('.reset-search').on('click', function() {
if(... |
"use strict";
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, desc... |
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant,{Lazyload} from 'vant';
// options 为可选参数,无则不传
Vue.use(Lazyload);
Vue.use(Vant);
Vue.config.productionTip = false
Vue.prototype.$bus = new Vue()
new Vue({
render: h => h(App),
router,
store,
... |
import _class_call_check from "@swc/helpers/lib/_class_call_check.js";
import _class_private_field_get from "@swc/helpers/lib/_class_private_field_get.js";
import _class_private_field_init from "@swc/helpers/lib/_class_private_field_init.js";
import _class_private_field_set from "@swc/helpers/lib/_class_private_field_s... |
/* eslint-disable no-new */
import {
expect,
html,
fixture,
aTimeout,
defineCE,
unsafeStatic,
nextFrame,
} from '@open-wc/testing';
import { fixtureSync } from '@open-wc/testing-helpers';
import '@lion/core/test-helpers/keyboardEventShimIE.js';
import sinon from 'sinon';
import { keyCodes } from '../src/u... |
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.SupportCodeLibraryBuilder = exports.builtinParameterTypes = void 0;
const build_helpers_1 = requ... |
var searchData=
[
['device',['Device',['../classral_1_1_device.html',1,'ral']]]
];
|
import React, { useState } from "react";
import Logo from "./Media/Logo2.svg";
import Certificate from "./Media/TERNGAKAK.png";
import CloseIcon from "@material-ui/icons/Close";
import { Flex, Wrapper, Card, Footer, WrapperImage } from "./style.js";
const CoordinatePage = () => {
const [values, setValues] = useState... |
'use strict';
var mongoose = require('../utils/mongoConnection');
var uniqueValidator = require('mongoose-unique-validator');
var userSchema = mongoose.Schema({
//user schema
//id: { type: String, required: true },
password: { type: String, required: true },
email: { type: String, required: true, uniq... |
RSpec.describe("TimedInput", function() {
var ViewClass, view;
beforeEach(function() {
ViewClass = Skull.View.extend(_.extend({ el: 'test' }, Skull.TimedInput));
view = new ViewClass();
});
describe("setupTimedInput", function() {
beforeEach(function() {
spyOn(view.$el, "keyup");
view.... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, sys, struct, json
from time import sleep
import hashlib
import threading
from socket import *
from datetime import *
import re
class DVRIPCam(object):
DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
CODES = {
100: "OK",
101: "Unknown error",
... |
const http = require('http')
const hostname = '127.0.0.1'
const port = 8080
const server = http.createServer((req, res) => {
res.statusCode = 200
res.setHeader('Content-Type', 'text/plain')
res.end('Hello World\n')
})
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${p... |
import React from 'react'
import SidebarOption from '../atoms/SidebarOption'
import HomeIcon from "@material-ui/icons/Home"
import SearchIcon from "@material-ui/icons/Search"
import LibraryMusicIcon from "@material-ui/icons/LibraryMusic"
const Sidebar = ({ content: { playlist } }) => {
return (
<div c... |
from django.urls import path
from .views import CreateAccount, UpdateAccount, PasswordsChangeView, ShowProfilePageView, EditProfilePageView, CreateProfilePageView
#from django.contrib.auth import views as auth_views
from . import views
urlpatterns = [
path('register/', CreateAccount.as_view(), name='register'),
... |
# -*- coding: utf-8 -*-
'''
The networking module for RHEL/Fedora based distros
'''
from __future__ import absolute_import
# Import python libs
import logging
import os.path
import os
# Import third party libs
import jinja2
import jinja2.exceptions
# Import salt libs
import salt.utils.files
import salt.utils.stringu... |
import React, { useState } from 'react';
import ImageGrid from './ImageGrid.js';
export default function UploadsPage(props) {
let [gridImages, setGridImages] = useState([]);
return (<>
<ImageGrid Title='All Uploads' Endpoint='/api/files/uploads' GridImages={[gridImages, setGridImages]}/>
</>);
} |
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
from __future__ import absolute_import
from sentry.testutils.cases import RuleTestCase
from sentry.rules.conditions.tagged_event import TaggedEventCondition, MatchType
class TaggedEventConditionTest(RuleTestCase):
rule_cls = TaggedEventCondition
def get_event(self):
event = self.event
event.... |
#!/usr/bin/env python
import configparser
import glob, os
import subprocess
import time
import grp
import pwd
import sys
from mjbackupConfig import mjbackupConfig
"""MJBackup - Morning Joe Software Linux Server MySql Backup Module.
Returns:
string -- The log documenting the status of all the database backups.
"""
c... |
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-a17ab848"],{"2d0c":function(t,e,n){"use strict";n.r(e);n("8e6e"),n("ac6a"),n("456d");var o=n("ade3"),c=n("5880"),s=n("ceb6"),i=n("3f0b");n("7f7f"),n("c5f6");function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbol... |
"""Tests for tasks.py."""
import collections
import contextlib
import contextvars
import functools
import gc
import io
import random
import re
import sys
import textwrap
import types
import unittest
import weakref
from unittest import mock
import asyncio
from asyncio import coroutines
from asyncio import futures
from... |
/**
* Parses PlantUML diagrams
* Replaces <puml> tags with <pic> tags with the appropriate src attribute and generates the diagrams
* by running the JAR executable
*/
const cheerio = module.parent.require('cheerio');
const fs = require('fs');
const path = require('path');
const { exec } = require('child_process');
... |
const airtableQuery = url => fetch(url).then(res => res.json());
export default airtableQuery;
|
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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
/// ... |
import zipfile
s = b'witch which has which witches wrist watch'
with zipfile.ZipFile('3.zip', 'w', zipfile.ZIP_DEFLATED) as zf:
zf.writestr('3.txt', s)
|
require("../wpt-env.js");
/* Delete created databases
*
* Go through each finished test, see if it has an associated database. Close
* that and delete the database. */
add_completion_callback(function(tests)
{
for (var i in tests)
{
if(tests[i].db)
{
tests[i].db.close();
... |
/*! For license information please see main.e64e9fc8.js.LICENSE.txt */
!function(){var e={569:function(e,t,n){e.exports=n(36)},381:function(e,t,n){"use strict";var r=n(589),i=n(297),o=n(301),l=n(774),a=n(804),u=n(145),c=n(411),s=n(467),f=n(221),d=n(346);e.exports=function(e){return new Promise((function(t,n){var p,m=e.... |
import React from "react"
import Layout from "../layouts/Layout"
export default function mentionLegale() {
return (
<Layout>
<div className="container text-justify text-white">
{" "}
<h3 className="font-medium mt-3">MENTIONS LEGALES</h3>
<h3 className="font-medium mt-3">INFORMATIONS... |
import React from 'react'
import Layout from '../components/Layout'
export default function about() {
return (
<Layout>
<div>
<h1>About Page</h1>
<p>Lorem Ipsum.</p>
<p>Lorem Ipsum.</p>
<p>Lorem Ipsum.</p>
</div>
... |
'use strict';
/**
* Module dependencies.
*/
const { confirm, decodeAccounts } = require('./helper');
const UniversalProtocolTokenCrowdsale = artifacts.require('./UniversalProtocolTokenCrowdsale');
const config = require('config');
/**
* Exports.
*/
module.exports = async (deployer, network, accounts) => {
con... |
from conans import ConanFile, tools
import os
required_conan_version = ">=1.43.0"
class OptionalLiteConan(ConanFile):
name = "optional-lite"
url = "https://github.com/conan-io/conan-center-index"
homepage = "https://github.com/martinmoene/optional-lite"
description = "A single-file header-only versio... |
/**
* A Dynamic Programming based solution for calculating Longest Increasing Subsequence
* https://en.wikipedia.org/wiki/Longest_increasing_subsequence
*/
function main() {
const x = [0, 8, 4, 12, 2, 10, 6, 14, 1, 9, 5, 13, 3, 11, 7, 15];
const length = x.length;
const dp = Array(length).fill(1);
let res ... |
import { FETCH_USERS } from '../actions/types';
export default function(state = [], action) {
switch(action.type) {
case FETCH_USERS:
return [...state, ...action.payload.data ];
}
return state;
} |
import React from 'react';
import PropTypes from 'prop-types';
import ReactDom from 'react-dom';
const useCreatePortal = typeof ReactDom.createPortal === 'function';
export const isBrowser = typeof window !== 'undefined';
class Portal extends React.Component {
constructor(props) {
super(props);
if (isBrows... |
webpackJsonp([28],{"/AJx":function(e,t,o){var a,n,s;(function(i,r){n=[t,o("xnBM")],a=r,s="function"==typeof a?a.apply(t,n):a,!(void 0!==s&&(e.exports=s))})(this,function(e,t){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{... |
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/ext... |
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
"main-purple": "#974AF5",
"purple-1": "#8432BA",
"purple-2": "#D46BE7",
"purple-3": "#A42ED1",
"purple-4": "#7C2... |
"use strict"
/*
BMImageNode
*/
window.BMImageNode = class BMImageNode extends BMStorableNode {
initPrototype () {
this.newSlot("dataURL", null).setShouldStoreSlot(true)
this.setNodeCanEditTitle(true)
this.setNodeCanEditSubtitle(false)
this.setNodeMinWidth(200)
... |
const categories = [
{
text: 'News',
color: '#921'
},
{
text: 'Sport',
color: '#FE1'
},
{
text: 'Weather',
color: '#8CE'
},
{
text: 'jPlayer',
color: '#ed3d7d'
},
{
text: 'TV',
color: 'default'
},
{
text: 'Radio',
color: 'default'
},
{
text: ... |
(function(factory){if(typeof module==="object"&&typeof module.exports!=="undefined"){module.exports=factory}else{factory(FusionCharts)}})(function(FusionCharts){(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const MTMVariable_1 = require("./MTMVariable");
(() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
const mtmVar = new MTMVariable_1.default();
try {
const tag = {
... |
// Products.extraField service used to communicate Products REST endpoints
(function () {
'use strict';
angular
.module('emails')
.service('memoCommentsService', memoCommentsService);
memoCommentsService.$inject = ['$resource','$http'];
function memoCommentsService($resource,$http) {
var memoComments = {}... |
//Schema setup
var mongoose = require("mongoose");
var campgroundSchema = new mongoose.Schema({
name: String,
price: String,
image: String,
description: String,
author: {
id: { type: mongoose.Schema.Types.ObjectId,
ref: "User"
},
username: ... |
(function($){
$.fn.toggleSwitch = function(options) {
var defaults = {
duration: 300
};
settings = $.extend({}, defaults, options);
this.each(function() {
$this = $(this);
$this.addClass("toggle_switch_checkbox");
var newDiv = $("<div><div class=\"bg\"/><div class=\"sw... |
// This culture information has been generated using the Mono class library
// licensed under the terms of the MIT X11 license.
// See: http://www.mono-project.com/FAQ:_Licensing
sffjs.registerCulture({
name: "pl-PL",
d: "yyyy-MM-dd",
D: "d MMMM yyyy",
t: "HH:mm",
T: "HH:mm:ss",
M: "d MMMM",
... |
import sys
import requests
# main() will be invoked when you invoke this action.
#
# When enabled as a web action, use the following URL to invoke this action:
# https://{APIHOST}/api/v1/web/{QUALIFIED ACTION NAME}?location=Austin
#
# For example:
# https://openwhisk.ng.bluemix.net/api/v1/web/myusername@us.ibm.com_mys... |
# Copyright 2017 reinforce.io. 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 or... |
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
/* Layout */
import Layout from '@/layout'
export const constantRoutes = [
{
path: '/login',
component: () => import('@/views/login/index'),
hidden: true
},
{
path: '/404',
component: () => import('@/views/404'),
hid... |
import $ from '../core/renderer';
import { getWindow } from '../core/utils/window';
const window = getWindow();
import devices from '../core/devices';
import registerComponent from '../core/component_registrator';
import { extend } from '../core/utils/extend';
import Widget from './widget/ui.widget';
import Button from... |
# Copyright (C) 2018 SignalFx. All rights reserved.
import sys
from opentracing.mocktracer import MockTracer
from wrapt import wrap_function_wrapper
import opentracing
import pytest
from signalfx_tracing import utils, constants
def test_get_module_imports_unimported_modules():
restore_logging = False
if 'lo... |
const dotenv = require('dotenv');
const appRoot = require('app-root-path');
dotenv.config();
// export app configuration object
module.exports = {
APP_NAME: process.env.APP_NAME,
ENV: process.env.NODE_ENV,
PORT: process.env.PORT,
HOST: process.env.HOST,
LOG_LEVEL: process.env.LOG_LEVEL,
APP_ROOT: appRoot,
... |
const electron = require('electron')
const remote = electron.remote
const BrowserWindow = electron.remote.BrowserWindow
const path = require('path')
var fs = require('fs');
var _guid = require('guid');
var backslash = require('backslash');
const btnAdd = document.getElementById("btnAdd");
btnAdd.addEventListener('... |
import React from 'react';
import SignUpLoginScreen from './screens/SignUpLoginScreen';
export default function App() {
return (
<SignUpLoginScreen/>
);
} |
if(_area_jsonp_513228){_area_jsonp_513228({"513228100":"芦花镇","513228101":"卡龙镇","513228102":"色尔古镇","513228200":"沙石多乡","513228201":"红岩乡","513228202":"麻窝乡","513228203":"双溜索乡","513228204":"瓦钵梁子乡","513228206":"石碉楼乡","513228207":"龙坝乡","513228208":"洛多乡","513228209":"木苏乡","513228210":"维古乡","513228211":"知木林乡","513228212":"扎窝乡",... |
import * as R from 'ramda'
import SystemError from '@core/systemError'
import { types } from '../helpers/types'
import { operators } from '../helpers/operators'
const stdlib2sql = {
pow: 'pow',
min: 'least',
max: 'greatest',
}
const logicalOrTemplate = `CASE
WHEN ({left}) IS NULL AND ({right}) IS NULL
THE... |
/*!
=========================================================
* Argon Design System React - v1.1.0
=========================================================
* Product Page: https://www.creative-tim.com/product/argon-design-system-react
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
* Licensed under MIT ... |
# Copyright (c) 2020 PaddlePaddle Authors. 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 appli... |
var searchData=
[
['timestamp_282',['Timestamp',['../class_home_genie_1_1_data_1_1_value_statistics_1_1_stat_value.html#a66da273f17124f01f4c89a93a521165e',1,'HomeGenie::Data::ValueStatistics::StatValue']]]
];
|
YUI.add("graphics",function(e,t){var n="setter",r=e.Plugin.Host,i="value",s="valueFn",o="readOnly",u=e.Lang,a="string",f="writeOnce",l,c;c=function(){var t=this;t._ATTR_E_FACADE={},e.EventTarget.call(this,{emitFacade:!0}),t._state={},t.prototype=e.mix(c.prototype,t.prototype)},c.prototype={addAttrs:function(e){var t=th... |
# Copyright 2018 The Cirq Developers
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... |
#############################################################################
#
# Author: Michel F. SANNER
#
# Copyright: M. Sanner TSRI 2013
#
#############################################################################
#
# $Header: /opt/cvs/AppFramework/AppCommands.py,v 1.11 2014/07/12 02:06:30 sanner Exp $
#
# $Id... |
describe('Hobknob initialisation tests', function(){
var should = require('should');
it('should initilise a Hobknob client', function(done){
var p = require('../index.js'),
plugin = {
log: function(){}
},
isInitialised = false,
client = {
initialise: function(callback)... |
import unittest
from cloudrail.knowledge.context.aws.aws_environment_context import AwsEnvironmentContext
from cloudrail.knowledge.context.terraform_state import TerraformState
from cloudrail.knowledge.rules.aws.non_context_aware.encryption_enforcement_rules.encrypt_at_rest.ensure_efs_filesystems_encrypted_at_rest_rul... |
# -*- coding: utf-8 -*-
"""
Configure ``portage(5)``
"""
# Import python libs
from __future__ import absolute_import, print_function, unicode_literals
import logging
import os
import shutil
# Import salt libs
import salt.utils.compat
import salt.utils.data
import salt.utils.files
import salt.utils.path
import salt.u... |