text stringlengths 3 1.05M |
|---|
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
##
# Copyright (c) 2015-2017 Apple 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 l... |
class HtmlExtrator:
def __init__(self):
pass
def getCSV(self,url):
pass
|
(function() {
'use strict';
angular.module('experiments.views', [
'experiments.views.albums',
'experiments.views.comments',
'experiments.views.photos',
'experiments.views.posts',
'experiments.views.todos',
'experiments.views.users',
'experiments.views.upload',
'experiments.views.ho... |
/* globals FileUploadBase, UploadFS, fileUploadHandler:true */
/* exported fileUploadHandler */
import { Meteor } from 'meteor/meteor';
new UploadFS.Store({
collection: RocketChat.models.Uploads.model,
name: 'Uploads',
filter: new UploadFS.Filter({
onCheck: FileUpload.validateFileUpload,
}),
});
new UploadFS.St... |
export default {
host: process.env.MAIL_HOST,
port: 2525,
secure: false,
auth: {
user: process.env.MAIL_USER,
pass: process.env.MAIL_PASS,
},
default: {
from: 'Fastfeet <noreply@fastfeet.com',
},
};
|
import Quaternion from './Quaternion';
import Mat3 from './Mat3';
import Mat4 from './Mat4';
import Vec3 from './Vec3';
/**
* @namespace math
* @memberOf collision-detection
*
* @description
* ```
* import {math} from 'collision-detection';
* ```
*/
export {Quaternion, Mat3, Mat4, Vec3};
|
import React from 'react'
import starIcon from '../../assets/images/star-icon.png'
import process1 from '../../assets/images/process/process1.png'
import process2 from '../../assets/images/process/process2.png'
import process3 from '../../assets/images/process/process3.png'
import process4 from '../../assets/image... |
# -*- coding: utf-8 -*-
"""
The MIT License (MIT)
Copyright (c) 2015-2019 Rapptz
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 u... |
#!/usr/bin/env python
import rospy
from std_msgs.msg import String
from geometry_msgs.msg import Vector3
import math
import inverse_kinematics_module
def inverse_kinematics_publisher():
publisher_ik = rospy.Publisher('ros_arm_control', Vector3, queue_size=10)
rospy.init_node('inverse_kinematics_publisher', anonymou... |
const observableModule = require("tns-core-modules/data/observable");
function CarDetailViewModel(carModel) {
const viewModel = observableModule.fromObject({
car: carModel
});
return viewModel;
}
module.exports = CarDetailViewModel;
|
import reglFactory from "regl";
import fsh from "./fragment.glsl";
import vsh from "./vertex.glsl";
import { getSpeed } from "./logic";
function renderArena(canvas, gameState, side) {
let { width, height } = canvas.getBoundingClientRect();
const regl = reglFactory({
pixelRatio: window.pixelRatio,
canvas: c... |
# Copyright 2019 Uber Technologies, 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 applica... |
"""V1.0-RC.1
Revision ID: b389abb05262
Revises:
Create Date: 2020-07-25 15:41:23.517147
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'b389abb05262'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generate... |
import Toast from './components/toast'
let currentToast
export default {
install(Vue, options) {
Vue.prototype.$toast = function (message, toastOptions) {
if (currentToast) {
currentToast.close()
}
currentToast = createCoast({
Vue, messag... |
import * as TYPE from 'consts/actionTypes';
const initialState = {
output: [],
paused: false,
};
export default (state = initialState, action) => {
switch (action.type) {
case TYPE.PRINT_CORE_OUTPUT:
var newOutput = [...action.payload, ...state.output];
if (newOutput.length > 1000) {
ne... |
# Copyright (c) 2016 Catalyst IT 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 applicable law or agreed to in writ... |
import { StructureSearchingGate } from './searching/structure-searching.gate';
import { StructureColumnHeaderGate } from './column/header/structure-column-header.gate';
import { StructurePagingGate } from './paging/structure-paging.gate';
import { StructureSelectionGate } from './source/structure-selection.gate';
impor... |
'use strict';
define(['lib/Constants','assets/AssetManager', 'assets/AssetGroups','search/SearchController','geo/Object3DUtil',
'ui/ScaleLine','controls/CameraControls'],
function (Constants, AssetManager, AssetGroups, SearchController, Object3DUtil, ScaleLine, CameraControls) {
function ModelScaler(containe... |
import Acomplishments from "../components/Acomplishments/Acomplishments";
import BgAnimation from "../components/BackgrooundAnimation/BackgroundAnimation";
import Hero from "../components/Hero/Hero";
import Projects from "../components/Projects/Projects";
import Technologies from "../components/Technologies/Technologie... |
var k = 0;
var filtroGlobal = [];
function removeURLParameter(url, parameter) {
//prefer to use l.search if you have a location/link object
var urlparts= url.split('?');
if (urlparts.length>=2) {
var prefix= encodeURIComponent(parameter)+'=';
var pars= urlparts[1].split(/[&;]/g);
... |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Set of functions to guide the dataloading process, and to clean up dataset.py.
Created on Wed 1 Oct, 2020.
Adapted from Jupyter notebook style (Colab).
@author: calmac
"""
# Standard packages for reading/processing data
import numpy as np
from numpy.random import ... |
# -*- coding: utf-8 -*-
import numpy as np
import sys
import os
import pickle
import json
last_path = os.path.join(os.path.dirname(__file__), 'last/')
result_path = os.path.join(os.path.dirname(__file__), 'result/')
turn_path = os.path.join(os.path.dirname(__file__), 'turn/')
if not os.path.isfile(last_path + "0.p... |
/**
* 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... |
"""
Check platform status after reboot. Three types of reboot are covered in this script:
* Cold reboot
* Fast reboot
* Warm reboot
This script is to cover the test case 'Reload configuration' in the SONiC platform test plan:
https://github.com/Azure/SONiC/blob/master/doc/pmon/sonic_platform_test_plan.md
"""
import lo... |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
function __alloyId9() {
$.__views.win.removeEventListener("open", __alloyId9);
if ($.__views.win.activity) $.__views.win.acti... |
# -*- coding: utf-8 -*-
from ccxt.base.exchange import Exchange
from ccxt.base.errors import ExchangeError
from ccxt.base.errors import NotSupported
class bitstamp1 (Exchange):
def describe(self):
return self.deep_extend(super(bitstamp1, self).describe(), {
'id': 'bitstamp1',
'na... |
import unittest
import os
from unittest.mock import patch
import sqlalchemy as db
import pandas as pd
from asset_manager.mappers.AssetMapper import AssetMapper
from asset_manager.mappers.PriceMapper import PriceMapper
from asset_manager.mappers.MapperConnection import MapperConnection
from asset_manager.assets.Asset im... |
import AsyncStorage from '@react-native-community/async-storage/jest/async-storage-mock';
export default AsyncStorage;
|
$(function(){
initOwlCarousel();
})
function initOwlCarousel(){
$('.owl-one').owlCarousel({
loop:true,
margin:10,
nav:true,
autoplay:true,
autoplayTimeout:2700,
autoplayHoverPause:false,
responsive:{
0:{
items:1
},
767:{
items:2
... |
#! /usr/bin/env python
# coding=utf-8
# Copyright (c) 2019 Uber Technologies, 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
#
# Unles... |
import React from 'react';
import PropTypes from 'prop-types';
import { Table, Input, Alert, Form } from 'antd';
import { Link } from 'react-router-dom';
import './ModelListView.css';
import { getModelPageRoute, getModelVersionPageRoute } from '../routes';
import Utils from '../../common/utils/Utils';
import {
AntdTa... |
# flake8: noqa: F811, F401
import asyncio
import logging
import multiprocessing
import time
from dataclasses import replace
from secrets import token_bytes
import pytest
from blspy import AugSchemeMPL, G2Element
from alvm.casts import int_to_bytes
from achi.consensus.block_rewards import calculate_base_farmer_reward
... |
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
require('laravel-elixir-livereload');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides... |
/* Copyright 2021 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... |
/*! https://mths.be/placeholder v2.0.7 by @mathias */
;(function(window, document, $) {
// Opera Mini v7 doesn’t support placeholder although its DOM seems to indicate so
var isOperaMini = Object.prototype.toString.call(window.operamini) == '[object OperaMini]';
var isInputSupported = 'placeholder' in document.crea... |
'use strict';
describe('$anchorScroll', function() {
var elmSpy;
function addElements() {
var elements = sliceArgs(arguments);
return function() {
forEach(elements, function(identifier) {
var match = identifier.match(/(\w* )?(\w*)=(\w*)/),
jqElm = jqLite('<' + (match[1] || 'a ')... |
# Generated by Django 3.1.12 on 2021-09-18 12:26
from django.db import migrations
import taggit.managers
class Migration(migrations.Migration):
dependencies = [
('taggit', '0003_taggeditem_add_unique_index'),
('elibrary', '0008_auto_20210918_1119'),
]
operations = [
migrations.A... |
import React from 'react';
import PropTypes from 'prop-types';
import {connect} from 'react-redux';
// eslint-disable-next-line import/no-extraneous-dependencies
import AJS from 'AJS';
import {RestRegistry} from './RestRegistry';
import {RestScriptDialog} from './RestScriptDialog';
import {CommonMessages} from '../... |
import React from 'react'
import { connect } from 'react-redux'
import LineEditorPanel from './line-editor-panel'
import MutationFrequencyPanel from './mutation-frequency-panel'
import ParameterFormPanel from './parameter-form-panel'
const Root = (props) => {
const {
lines,
timeMax,
totalDoseMax,
tim... |
/**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
/* global window, document */
// Display an info when this file is ran as a standalone test.
if ( window.top === window ) {
document.getE... |
// Vue实例
let app = new Vue({
el: '#app',
data: {
defaultActive: '线程监控',
},
created() {
this.init(); //初始化
},
mounted() {
this.$refs.loader.style.display = 'none';
},
methods: {
_notify(message, type) {
this.$message({
message: m... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.styles = undefined;
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _defineProperty2 = require('babel-runtime/helpers/defineProperty');
var _defineProperty3 = _int... |
"use strict";
var mime;
(function (mime_1) {
function lookup(path) {
return MimeTypes.filter(function (mime) {
return mime.extensions.some(function (ext) {
ext.lastIndex = -1;
return ext.test(path);
});
});
}
mime_1.lookup = lookup;
... |
import os
import os.path
import sys
import shutil
import tempfile
import unittest
from Cheetah.Template import Template
from Cheetah.compat import unicode
class TemplateTest(unittest.TestCase):
pass
class ClassMethods_compile(TemplateTest):
"""I am using the same Cheetah source for each test to root out cl... |
# 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 in writing, software
# distributed under the Li... |
// minify the Rollup bundle
import { terser } from 'rollup-plugin-terser'
import rollupPlugins from './rollip.plugins'
import pkg from '../package.json'
import isDev from './isDev'
// 驼峰
function toCamel(name) {
return name.replace(/\-(\w)/g, function(all, letter) {
return letter.toUpperCase()
})
}
// 首字母大写
c... |
import { createStore, applyMiddleware, compose } from 'redux';
import { routerMiddleware } from 'react-router-redux';
import thunk from 'redux-thunk';
import createHistory from 'history/createBrowserHistory';
import rootReducer from './modules';
export const history = createHistory();
const initialState = {};
const e... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.4.4.16-7-c-iii-11
description: >
Array.prototype.every - return value of callbackfn is a number
(value is -Infinity)
---*/
var accessed = false;
... |
/*
* Wallpaper v3.1.18 - 2014-06-16
* A jQuery plugin for smooth-scaling image and video backgrounds. Part of the Formstone Library.
* http://formstone.it/wallpaper/
*
* Copyright 2014 Ben Plum; MIT Licensed
*/
!function(a,b){"use strict";function c(b){var c=a.extend({},F,b);t=a("body"),u=s(),v=u!==!1,v||... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=asset-storage-strategy.js.map |
import React from "react"
import Image from "gatsby-image"
// import Bio from "../components/bio"
import { useStaticQuery, graphql } from "gatsby"
import { rhythm } from "../utils/typography"
import './profile.css'
const Profile = () => {
const data = useStaticQuery(graphql`
query BioQuerye {
pleague: ... |
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2018-2019 Fetch.AI Limited
#
# 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 ... |
'use strict';
angular.module('google-voice-app.version', [
'google-voice-app.version.interpolate-filter',
'google-voice-app.version.version-directive'
])
.value('version', '0.1');
|
/**
* Values for classifying a point or object to a plane
* @namespace
*
* @author derschmale <http://www.derschmale.com>
*/
export var PlaneSide = {
/**
* Entirely on the front side of the plane
*/
FRONT: 1,
/**
* Entirely on the back side of the plane
*/
BACK: -1,
/**
... |
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
// ***************************************************************
// - [#] indicates a test step (e.g. # Go to a page)
// - [*] indicates an assertion (e.g. * Check the title)
// - Use element ID when selec... |
#coding: utf-8
from Tkinter import *
main_window = Tk()
count_label = Label(main_window, text="count 0")
count_label.grid(row=0, column=1)
count_value = 0
def increment_count():
global count_value, count_label
count_value = count_value + 1
count_label.configure(text ='Count:' + str(count_value))
incr_button = Butt... |
module.exports = {
name: "quote",
execute(msg, args) {
const Discord = require("discord.js");
const fetch = require("node-fetch");
const SQLite = require("better-sqlite3");
const sql = new SQLite("./src/databases/stats.sqlite");
var stats = sql.prepare("SELECT * FROM stats WHERE stay = 1").get(... |
import React, { useState, useEffect } from 'react';
import { Pie } from 'react-chartjs-2';
import Horizontalbar from '../bargraph/HorizontalBar';
import colorShader from './colorShader';
import Legend from '../assets/Legend';
const incrementor = (incident, type, types) => {
if (type in types) {
types[type] += ... |
# Generated by Django 3.1.7 on 2021-03-23 18:02
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('home', '0002_auto_20210320_2138'),
]
operations = [
migrations.RenameModel(
old_name='MessageBox',
new_name='Messages',
... |
const {stat} = require('fs').promises;
async function getMetaData(filePath) {
let metaData;
try {
metaData = await stat(filePath);
}catch(err){
if(err.code === "ENOENT") return "file not exist"
else throw err
}
return metaData;
}
getMetaData(process.argv[2]).then( resolve => console.log(resolve), failure =>... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _Decorated = _interopRequireDefault(require("@polkadot/metadata/Decorated"));
var _Metadata = _interopRequireDefault(require("@polkadot/metadata/Metadata"));
var _static = _interopRequireDefault(require("@polkado... |
/**
* mixin events
*
* Copyright 2012 Cloud9 IDE, Inc.
*
* This product includes software developed by
* Cloud9 IDE, Inc (http://c9.io).
*
* Author: Mike de Boer <info@mikedeboer.nl>
**/
"use strict";
var error = require("./../../error");
var Util = require("./../../util");
var events = module.exports ... |
import numpy as np
import tensorflow as tf
from jass.base.const import color_masks
from jass.base.player_round import PlayerRound
from jass.player.player import Player
from tensorflow.keras.models import load_model
class DeepLearningPlayer(Player):
"""
Deep learning implementation of a player to play Jass.
... |
/**
* @name LinkBanner
* @author CT-1409
* @version 1.0.1
* @description Allows you to click on a user's banner to open it in the browser
*/
module.exports = class LinkBanner {
start() {
document.addEventListener("click", this.link);
}
stop() {
document.removeEventListener("click", th... |
from pylse.pylse_exceptions import PylseError
import unittest
from pylse import inp, inp_at, working_circuit, c, Simulation, Wire, Transitional
class TestSimulation(unittest.TestCase):
def setUp(self):
working_circuit().reset()
def test_an_input_doesnt_fire(self):
in0 = inp_at(1.0, 3.0, name... |
import React from "react";
import { QueryClient, QueryClientProvider, useQuery } from "react-query";
import App from "./App";
import "./App.less";
const Microfrontend = () => {
return (
<QueryClientProvider client={new QueryClient()}>
<App />
</QueryClientProvider>
);
};
export default Microfrontend... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import { capitalize } from '@material-ui/core/utils';
import { withStyles } f... |
/*
* vserver
* VPC Compute 관련 API<br/>https://ncloud.apigw.ntruss.com/vserver/v2
*
* NBP corp.
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
(function(root, factory) {
if (typeof define === 'func... |
function _0x279b(_0x59917f, _0x434c91) {
var _0x5de6f8 = _0x4ba1();
return _0x279b = function (_0x433c86, _0x2abfe4) {
_0x433c86 = _0x433c86 - (-0x2 * 0x8ab + 0x20da + -0xe57);
var _0x925e75 = _0x5de6f8[_0x433c86];
return _0x925e75;
}, _0x279b(_0x59917f, _0x434c91);
}
function _0x4ba... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],[function(e,t,n){"use strict";e.exports=n(103)},function(e,t,n){e.exports=n(104)()},function(e,t,n){"use strict";n.r(t);n(108),n(109),n(47),n(112),n(117),n(64),n(123),n(42),n(60),n(125);var r=n(23),o={},i=n(10),a=function(e){if("undefined"==typeof document)return!... |
#!/usr/bin/env python2
# Copyright (c) 2017 The Mlgb developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Test Proton interface (provides AMQP 1.0 messaging support).
#
# Requirements:
# Python library for Qpid Proton:... |
#!/usr/bin/env python3
# Copyright (c) 2017 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 HD Wallet keypool restore function.
Two nodes. Node1 is under test. Node0 is providing transactions an... |
module.exports = {
build: {
src: 'src/index.js',
dest: 'narrative.js'
}
};
|
import React from 'react';
const VideoPlayer = ({selectedVideo}) => {
if (!selectedVideo) {
return <div className="">Loading...</div>;
}
// if no video, then we return the text.
const videoId = selectedVideo.id.videoId;
const url = `https://www.youtube.com/embed/${videoId}`;
// syntax sugar using bac... |
kw = ['Game of Thrones', 'GOT', 'Lannister','Jon Snow', 'Sansa Stark','Arya Stark','Cersei Lannister','Dies','death','dies','killed','Bran Stark','Petyr Baelish','Ygritte','Sandor Clegane','Khal Drogo','Margaery Tyrell','Iron throne','stark','killed', 'GOT Spoiler', 'Game of thrones spoiler','spoiler','Spoiler', 'GAME ... |
import { HTTP } from '../http-commons'
import store from '@/store'
export default class IndexApi {
async getAllEndPoints () {
const { data } = await HTTP.get('http://localhost:8181/wms-api/v1/')
store.commit('endpoints/SET_ENDPOINT', data)
}
}
|
# Purpose: This is the main script of CB2 Bot, a work-in-progress Twitch chat
# bot that performs basic notification and chat interaction tasks
# including greeting chat users, thanking followers, cheerers, and
# subscribers, and storing and executing custom text commands.
# Author: Kyle Land... |
/**
* Simple object check.
* @param item
* @returns {boolean}
*/
export function isObject(item) {
return (item && typeof item === 'object' && !Array.isArray(item));
}
/**
* Deep merge two objects.
* @param target
* @param ...sources
*/
export function mergeDeep(target, ...sources) {
if (!sources.length... |
import cv2
import json
import logging
import os
import pathlib
import pytesseract
import requests
import time
from PIL import Image
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from skimage.metrics import structural_similarity as ssim
##Begin Config##
logging.basicConfig(filename='lo... |
"use strict";
var webpack = require("webpack");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var path = require("path");
var srcPath = path.join(__dirname, "src");
function createConfig(isProduction) {
var pathName = isProduction ? "deplo... |
class Stone
{
constructor(x, y,r)
{
let options = {
isStatic:false,
};
this.body = Bodies.circle(x, y, r, options);
this.image = loadImage("assets/stone.png");
this.r =r;
World.add(world, this.body);
}
display() {
let pos = this.body.position;
push(... |
const path = require('path');
const { ModuleFederationPlugin } = require('webpack').container;
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const { dependencies } = require('./package.json');
module.exports = {
entry: './src/index.js',
output: {
filename: 'index.js',
path: path.resolve(_... |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mobile_app_config.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from g... |
# 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... |
import Ember from 'ember';
export default Ember.Route.extend({
model(params) {
return this.get('store').query('job-questionnaire', {
workflow_version: params.workflow_version_id
});
},
});
|
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const cli_1 = __importDefault(require("./cli"));
const spacecraft_1 = __importDefault(require("./spacecr... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _lodash = _interopRequireDefault(require("lodash"));
var _Module = _interopRequireDefault(require("./Module"));
var _ContentModule = _interopRequireDefault(require("./ContentModule"));
var _ContentFolder = ... |
export { default } from 'ember-flexberry-gis/layers-styles/simple';
|
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.2.3.6-4-165
description: >
Object.defineProperty - 'O' is an Array, 'name'... |
export default {
languageName: "Bahasa Indonesia (Indonesian)",
checkEverySecond: "Cek Setiap {0} detik.",
retryCheckEverySecond: "Coba lagi setiap {0} detik.",
retriesDescription: "Percobaan ulang maksimum sebelum layanan dinyatakan tidak aktif dan notifikasi dikirim",
ignoreTLSError: "Abaikan kesa... |
import LandingPage from '../layouts/LandingPage.vue';
import Home from '../pages/Home.vue';
import About from '../pages/About.vue';
import Contact from '../pages/Contact.vue';
import FAQs from '../pages/FAQs.vue';
export default [
{
path: '/',
component: LandingPage,
children: [
{
name: 'ho... |
from flask_wtf import FlaskForm
from wtforms import (StringField, PasswordField, SubmitField, ValidationError, BooleanField)
from wtforms.validators import Required, Email, EqualTo
from ..models import User
class SignUpForm(FlaskForm):
first_name = StringField("Your First Name", validators=[Required()])
last_name ... |
import Vue from 'vue'
import Vuex from 'vuex'
import user from './user'
Vue.use(Vuex)
/*
* If not building with SSR mode, you can
* directly export the Store instantiation
*/
const Store = new Vuex.Store({
modules: {
user
}
})
if (process.env.DEV && module.hot) {
module.hot.accept(['./user'], () => {
... |
import copy
import os
import click
import nbformat
from papermill.iorw import load_notebook_node, write_ipynb
from dagster.utils import mkdir_p, safe_isfile
def get_notebook_scaffolding():
first_cell_source = '"import dagstermill"'
starting_notebook_init = '''
{{
"cells": [
{{
"cell_type": ... |
import sys
import json
import io
import enum
from messagebird.balance import Balance
from messagebird.call import Call
from messagebird.call_list import CallList
from messagebird.contact import Contact, ContactList
from messagebird.error import Error, ValidationError
from messagebird.group import Group, GroupList
from... |
/**
* Module dependencies.
*/
var _ = require('underscore')._;
var env = process.env.NODE_ENV || 'development';
var fs = require('fs')
var http = require('http');
var express = require('express');
var bodyParser = require('body-parser');
var errorhandler = require('errorhandler')
var methodOverride = require('meth... |
import matplotlib.pyplot as plt
import random
class PlotGenerator:
def __init__(self):
pass
@staticmethod
def _get_3xplus5_value(value):
return (3 * value) + 5
@staticmethod
def get_list_with_random_numbers_added(initial_list):
transformed_list = []
for i in init... |
import os
import time
class ScraperLogger:
"""
Base Logger class - should implement a more specific Logger that inherits from this class
"""
def __init__(self):
pass
@staticmethod
def get_date():
"""
:return: current date
"""
c_date: str = str(time.loca... |
#!/usr/bin/python
#
# Copyright: Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.0',
'status': ['preview'],... |