text
stringlengths
3
1.05M
/** * COMMON WEBPACK CONFIGURATION */ const path = require('path'); const webpack = require('webpack'); module.exports = (options) => ({ entry: options.entry, output: Object.assign({ // Compile into js/build.js path: path.resolve(process.cwd(), 'build'), publicPath: '/', }, options.output), // Merge w...
#Django packages from django.test import TestCase from django.contrib.auth import get_user_model #Local Packages from client.models import Member from knox.models import AuthToken from knox import settings #Rest Framework Packages from rest_framework.test import APITestCase from rest_framework import status from rest_f...
/** * Copyright 2016 The AMP HTML 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 require...
// aframe-react /*import 'aframe';*/ import 'aframe-animation-component'; import 'aframe-particle-system-component'; import 'babel-polyfill'; import {Entity, Scene} from 'aframe-react'; import React from 'react'; import ReactDOM from 'react-dom'; //Networking class App extends React.Component { constructor(prop...
import babel from 'rollup-plugin-babel' import { terser } from 'rollup-plugin-terser' const globals = { 'riot': 'riot' } export default { input: 'index.next.js', external: ['riot'], plugins: [ babel({ presets: ['@riotjs/babel-preset'] }) ], output: [ { name: 'lazy', file: 'lazy...
var classcom_1_1tuya_1_1smart_1_1android_1_1user_1_1bean_1_1_q_r_device_info_bean = [ [ "getApplicationName", "classcom_1_1tuya_1_1smart_1_1android_1_1user_1_1bean_1_1_q_r_device_info_bean.html#af5f2cc653db725646625f9923dd6143f", null ], [ "setApplicationName", "classcom_1_1tuya_1_1smart_1_1android_1_1user_1_1b...
import { Command } from '../command/command'; import { GRID_PREFIX } from '../definition'; import { Td } from '../dom/td'; import { Fastdom } from '../services/fastdom'; import { Navigation } from './navigation'; import { selectColumnIndex, selectRowIndex } from './navigation.state.selector'; export class NavigationLe...
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from ccxt.async_support.base.exchange import Exchange import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors impor...
(self["webpackJsonp"] = self["webpackJsonp"] || []).push([[6],{ /***/ "../node_modules/monaco-editor/esm/vs/basic-languages/abap/abap.js": /*!*************************************************************************!*\ !*** ../node_modules/monaco-editor/esm/vs/basic-languages/abap/abap.js ***! \*******************...
/**\n* Bootstrap.js by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/ !function(e){e(function(){"use strict";e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionen...
/** * Copyright 2016 The AMP HTML 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 require...
export { default as Button } from './Button'; export { Card, CardHeader, CardTitle, CardSubtitle, CardText, CardActions, CardMedia } from './Card'; export { Dialog, DialogHeader, DialogTitle, DialogBody, DialogFooter } from './Dialog'; export { default as Elevation } from './Elevation'; export { default as Fab } from '...
importScripts('/oasis.js'); importScripts('/fixtures/assertions.js');
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object for the * Russian language. */ /**#@+ @type String @example */ /** * Contains the dictionary of langu...
"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[176],{3905:function(e,t,r){r.d(t,{Zo:function(){return s},kt:function(){return m}});var n=r(7294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.key...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M9 5v.38c-.83-.33-1.72-.5-2.61-.5-1.42 0-2.84.43-4.05 1.29-.51.36-.57 1.09-.13 1.53l2.57 2.57h1.11v1.11c.86.86 1.98 1.31 3.11 1.36V15H7c-.55 0-1 .45-1 1v2c0...
/** * Created by sanchez */ 'use strict'; // import CSS // import animate_css from 'animate.css/animate.min.css'; import css from '../css/css.css'; // import scss from '../css/sass.scss'; // require('aframe'); // require('t') // window.Detector = require('./entities/Detector'); // require('./entities/CanvasRendere...
Oskari.registerLocalization( { "lang": "en", "key": "feedbackService", "value": { "display": { "publisher": { "apiUrl": "Base URL", "urlPlaceholder": "e.g. http://dev.ser.fi/open311/v2/", "apiKey": "API key", "keyPlaceholder...
import JasmineMatchers from '../../vendor/jasmine-expect/dist/jasmine-matchers'; import JasmineJQuery from '../../vendor/jasmine-jquery/lib/jasmine-jquery'; import $ from 'jquery'; import {module, inject} from '../mocks'; describe('solarizdApp directive', function () { let $compile; let $rootScope; let $ti...
/** * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
# -------------- # Code starts here class_1 = ["Geoffrey Hinton","Andrew Ng","Sebastian Raschka","Yoshua Bengio"] class_2 = ["Hilary Mason","Carla Gentry","Corinna Cortes"] new_class = class_1 + class_2 print(new_class) new_class.append("Peter Warden") print(new_class) new_class.remove("Carla Gentry") print(new_class) ...
/*! * paths 3.2.4 * https://greensock.com * * Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ /* eslint-disable */ var _s...
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+ZDr":function(t,n,e){"use strict";e("2Spj"),e("0l/t"),e("8+KV"),e("rvZc"),e("9VmF"),e("pIFo");var r=e("TqRt");n.__esModule=!0,n.withPrefix=d,n.withAssetPrefix=function(t){return d(t,"/adra-blog")},n.navigateTo=n.replace=n.push=n.navigate=n.default=void 0;var o=...
import {Photo} from "@randy.tarampi/js"; import Flickr from "flickr-sdk"; import _ from "lodash"; import {DateTime} from "luxon"; import CachedDataSource from "../../cachedDataSource"; import {filterPostForOrderingConditionsInSearchParams} from "../util"; export const FLICKR_API_MAX_POSTS_PER_PAGE = 500; class Flickr...
//begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery begin jquery //begin jquery begin jquery begin jquery begin...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _object...
var stella__net__predict_8py = [ [ "done_model", "stella__net__predict_8py.html#a9b0be03a9319c4cd3739716e5bddb205", null ], [ "filename", "stella__net__predict_8py.html#a339101f60d0aa5e04448e20b4403ac40", null ], [ "flux_values_to_predict", "stella__net__predict_8py.html#a2a8412b2cc195198238fd870d148cd80", ...
/* eslint camelcase: 0 */ const AJV = require('ajv'); const assert = require('assert'); const deploymentConfigSchema = require('../deployment/config'); const ajv = new AJV({allErrors: true}); exports.test_unknown_keys = () => { const isValid = ajv.validate(deploymentConfigSchema, { foo: 1, bar: 2 }); assert.eq...
let [crateName, crateVersion] = location.pathname.slice(1).split("/"); crateName = crateName.replace("-", "_"); // A crate version which added to the extension. let currentCrateVersion = undefined; document.addEventListener("DOMContentLoaded", async () => { let ul = document.querySelector(".landing-search-form-nav...
import _ from 'lodash'; import expect from 'expect.js'; import IndexedArray from 'ui/indexed_array'; // this is generally a data-structure that IndexedArray is good for managing const users = [ { name: 'John', id: 69, username: 'beast', group: 'admins' }, { name: 'Anon', id: 0, username: 'shhhh', group: 'secret'...
/** * @author v.lugovksy * created on 04.07.2018 */ (function () { 'use strict'; angular.module('Agartha.pages.dashboard') .controller('DashboardTodoCtrl', DashboardTodoCtrl); /** @ngInject */ function DashboardTodoCtrl($scope, layoutColors) { var palette = layoutColors.bgColorPalette; var c...
import express from "express"; import multer from "multer"; import fs from "fs"; import cors from "cors"; import path from "path"; import chalk from "chalk"; import uploadAsset from "../helpers/uploadAsset"; import exportMission from "../imports/missions/export"; import importMission from "../imports/missions/import";...
const { join, resolve } = require('path'); const test = require('ava'); const { rollup } = require('rollup'); const { getImports, testBundle } = require('../../../util/test'); const { nodeResolve } = require('..'); process.chdir(join(__dirname, 'fixtures')); test('handles importing builtins', async (t) => { cons...
/* * Wrapper implementation for an Openshift / Mongo / Node.js backup tool * Author: Boydlee Pollentine */ var CloudBackup = { httpRequest : function(url, props, method, success, error){ var client = Ti.Network.createHTTPClient({ timeout: 30000 }); Ti.API.info(url); Ti.API.info(p...
from model.group import Group import random import string testdata = [ #constant = [ Group(name="name1", header="header1", footer="footer1"), Group(name="name2", header="header2", footer="footer2") ] #def random_string(prefix, maxlen): ##symbols = string.ascii_letters + string.digits + string.punctuation...
""" .. module:: curve :platform: Unix, Windows :synopsis: Reader/writer for curves """ import json import os import numpy as np from fit.io.base_io import BaseReader, BaseWriter from spline.model.bspline import BSplineCurve class CurveReader(BaseReader): """ A class for reading spline curves """ ...
const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebpackPluginConfig = new HtmlWebpackPlugin({ template: './client/index.html', filename: 'index.html', inject: 'body' }) module.exports = { entry: './client/index.js', output: { path: path.resolve('dist'), ...
import React from "react"; import { render } from 'react-dom' import App from './App'; import './index.css'; const target = document.querySelector('#root') render( <div> <App /> </div>, target )
""" Chapter 01 - Problem 06 - String Compression - CTCI 6th Edition page 91 Problem Statement: Implement a method to perform basic string compression using the counts of repeated characters. For example, the string aabcccccaaa would become a2b1c5a3. If the "compressed" string would not become smaller than the original...
module.exports = { plugins: { "postcss-import": {}, "postcss-simple-vars": {}, "postcss-nested": {}, tailwindcss: {}, autoprefixer: {}, }, }
'use babel'; import GitLog2 from '../lib/git-log2'; // Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs. // // To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit` // or `fdescribe`). Remove the `f` to unfocus the block. describe('GitLog2', () => { let workspaceEle...
define("dojox/dtl/tag/loader", [ "dojo/_base/lang", "../_base", "dojo/_base/array", "dojo/_base/connect" ], function(lang,dd,array,connect){ var ddtl = lang.getObject("tag.loader", true, dd); /*===== ddtl = { // TODO: summary }; =====*/ ddtl.BlockNode = lang.extend(function(name, nodelist){ this.nam...
const filter = require("lodash/filter") const curry = require("lodash/curry") const { isDateBefore, isDateAfter } = require("../helpers/dates") function brewedBeforeFilter(val, db) { if (val == null) return db return filter(db, b => isDateBefore(b.first_brewed, val)) } function brewedAfterFilter(val, db) { if (...
#!/usr/bin/env node 'use strict'; var meow = require('meow'); var pronounGenius = require('./'); meow({ help: [ 'Usage', ' pronoun-genius <input>', '', 'Example', ' pronoun-genius Unicorn' ].join('\n') }); pronounGenius.list(function(err, list){ console.log(list); });
import * as tslib_1 from "tslib"; /** * ============================================================================ * IMPORTS * ============================================================================ * @hidden */ import { Container } from "./Container"; import { List, ListDisposer } from "./utils/List"; impo...
const { getCurrentVersion, getDeprecatedSelectors, getDeprecatedVariables, getPackageStats, getSelectorDiff, getVariableDiff } = require('./utils/css') const semver = require('semver') let selectorsDiff, variablesDiff, version // Because of a change in analyzer this was incorrectly in the list const varia...
function baseiframe(widget_id, url, skin, parameters) { self = this // Initialization self.parameters = parameters; var callbacks = [] var monitored_entities = [] // Call the parent constructor to get things moving WidgetBase.call(self, widget_id, url, skin, parameters, monitored_entit...
const mongoose = require('mongoose'); const Schema = mongoose.Schema; const EventSchema = new Schema({ eventName: { type: String, required: true }, eventTime: { type: String, required: true }, attendeeId: { type: String, required: true }, ev...
var path = require('path'); var fs = require('fs'); var async = require('async'); var ObjectId = require('mongoose').Types.ObjectId; module.exports = function(app, uri){ if(!uri) uri = '/:account/:project/repos'; app.param('repo', populate) app.get(uri, render_list); app.get(uri + '/new', render_edit)...
import React, { Component } from 'react'; import Cache from './util/Cache'; import Map from './Map'; import FavoriteList from './FavoriteList'; import Stores from '../store_directory'; import Geocoder from './api/Geocoder'; export default class App extends Component { constructor(props) { super(props); this....
import child_process from "child_process"; const request = require("request-promise"); const queue = require("promise-queue"); const http = require("http"); const os = require("os"); const fs = require("fs-extra"); const path = require("upath"); const crypto = require("crypto"); const portscanner = require("portscanner...
var searchData= [ ['update',['update',['../dd/d7f/class_m_d5.html#a52c7dbe8d4a57e8c79d4c905205e24d0',1,'MD5']]] ];
//"use strict"; // Convert analyzed data to javascript. Everything has already been calculated // before this stage, which just does the final conversion to JavaScript. // Handy sets var STRUCT_LIST = set('struct', 'list'); var addedLibraryItems = {}; var asmLibraryFunctions = []; var SETJMP_LABEL = -1; var INDEN...
import React from 'react' import Link from 'gatsby-link' import District from '../../components/District' import NoStoreHere from '../../components/NoStoreHere' const ThuDauMot = ({ data }) => { const haveData = data.allLocationsXlsxSheet1 ? true : false return haveData ? ( <District nodes={data.allLocationsX...
import os from busy_beaver import create_app from busy_beaver.common.wrappers import ( GitHubClient, KeyValueStoreClient, MeetupClient, SlackClient, TwitterClient, YouTubeClient, ) from busy_beaver.extensions import db, rq # noqa from busy_beaver.models import * # noqa # create flask applica...
# coding: utf-8 import pprint import re import six class SearchOnlineMeetingsRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and ...
from enum import Enum class Action(str, Enum): delete = "delete" not_monitored = "not-monitored"
import { tableListener } from 'containers/Table/firestore-listener'; import { ordersListener } from 'containers/Orders/firestore-listener'; export function onLoginListeners() { tableListener(); ordersListener(); }
from hashlib import md5 from itertools import compress input = "hhhxzeay" moves = { 'U': lambda x, y: (x, y - 1), 'D': lambda x, y: (x, y + 1), 'L': lambda x, y: (x - 1, y), 'R': lambda x, y: (x + 1, y) } def doors(path): string = (input + ''.join(path)).encode('utf-8') return (int(x, 16) > 10...
const clientNumbers = document.querySelectorAll('.counter'); const speed = 10; // window.onscroll = numbersOnScroll(); function numbersOnScroll() { // window.onscroll = () => { const windowHeight = window.pageYOffset; const clientNumbersHeight = document.querySelector(".clientNumbers").offsetTop; // co...
const webpack = require("webpack"); const path = require("path"); const ExtractTextPlugin = require("extract-text-webpack-plugin"); const bundleIndexPath = path.resolve("./src/bundle.js"); const config = env => { if (env.prod) { return { entry: { mapd3: bundleIndexPath }, devtool: "sou...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Train normalising flow. Created: June 2021 Author: A. P. Naik """ import numpy as np import sys sys.path.append("../../src") from constants import kpc from ml import train_flow from utils import get_rescaled_tensor if __name__ == '__main__': # load data da...
/// <reference path='m1.ts'/> var a1 = 10; var c1 = (function () { function c1() { } return c1; })(); var instance1 = new c1(); function f1() { return instance1; } //# sourceMappingURL=/tests/cases/projects/outputdir_simple/mapFiles/test.js.map
import React, { useState, useEffect } from "react"; import DeleteBtn from "../components/DeleteBtn"; import Jumbotron from "../components/Jumbotron"; import API from "../utils/API"; import { Link } from "react-router-dom"; import { Col, Row, Container } from "../components/Grid"; import { List, ListItem } from "../comp...
/* eslint-disable no-nested-ternary */ import React from 'react'; import { connect } from 'react-redux'; import { Redirect, Route, HashRouter, Switch } from 'react-router-dom'; // Custom components import TableJSONViewModal from './common/table-json-view-modal/table-json-view-modal'; import DFModal from './common/moda...
var express = require('express'); var app = express(); app.use(function (req, res, next) { // Website you wish to allow to connect res.setHeader('Access-Control-Allow-Origin', '*'); // Request methods you wish to allow res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DEL...
# Generated by Django 2.2.4 on 2019-09-09 22:22 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
"use strict" window.onload = () => { Main.main() // Main.debug() } let log class Main { static async main() { Main.log = Config.DEBUG_LOG Main._toggleLog(false) Main._setDescription() document.getElementById('control-mode').onclick = () => { Main._toggleContro...
declare module "lodash" { declare type Path = $ReadOnlyArray<string | number> | string | number; declare type __CurriedFunction1<A, R, AA: A> = (...r: [AA]) => R; declare type CurriedFunction1<A, R> = __CurriedFunction1<A, R, *>; declare type __CurriedFunction2<A, B, R, AA: A, BB: B> = (( ...r: [AA] ) =>...
org.ekstep.collectioneditor.basePlugin.extend({ initialize: function() { var templatePath = ecEditor.resolvePluginResource(this.manifest.id, this.manifest.ver, "editor/lessonplanunitmeta.html"); var controllerPath = ecEditor.resolvePluginResource(this.manifest.id, this.manifest.ver, "editor/lessonplanu...
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-11-04 09:10 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('discuss', '0002_auto_20161104_0850'), ] operations...
#! /usr/bin/python # # Copyright 2019 Nokia # # 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 ...
import mainScene from '../scenes/main-scene.js' import mainCanvas from '../canvas/main-canvas.js' export const createFollowCamera = () => { const followCamera = new BABYLON.FollowCamera( "followCamera", new BABYLON.Vector3(-1000,1000, 0), mainScene ) followCamera.radius = 100; ...
#coding=utf-8 from shaker.shaker_core import * from minions.models import Minions_status from shaker.nodegroups import * from dashboard.models import * from returner.models import * import logging logger = logging.getLogger('django') sapi = SaltAPI() def dashboard_scheduled_job(): ''' # minion status save to ...
import io import os import re import sys import falcon class StaticRoute(object): """Represents a static route. Args: prefix (str): The path prefix to match for this route. If the path in the requested URI starts with this string, the remainder of the path will be appended to...
var Three = (function (exports) { 'use strict'; var _Math = { DEG2RAD: Math.PI / 180, RAD2DEG: 180 / Math.PI, generateUUID: ( function () { // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136 var lut = []; for ( var i = 0; i < 256; i ++ ) { ...
import Vue from 'vue' import Router from 'vue-router' import idx from '@/pages/index' import register from '@/pages/register' import login from '@/pages/login' import demoRouter from './demoRouter' Vue.use(Router) let router = [{ path: '/', component: idx }, { path: '/login', component: login }, { path: '/re...
webpackJsonp([0],{"+lh6":function(e,t,n){"use strict";var i,r=n("cDxT");r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")) /** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for n...
import * as types from 'lib-vuex/mutation-types'; import imagesService from 'app/services/images-service'; import storage from 'lib-core/persistance/storage'; export default { getAll ({commit, dispatch}) { dispatch('getAllAPICall', { service: imagesService }, { root: true } ) .then(response => comm...
define(['require'], function () { // Different user types of the player const SPECTATOR_TYPE = 'spectator'; const GUESSER_TYPE = 'guesser'; /* Unique User Game Info ABOUT: playerName: Name of user userConfirmed: Whether the user has confirmed their play type userType: The play type t...
import { getAllCategories, getAllPosts, getAllTags } from '@/lib/notion' import BLOG from '@/blog.config' import BaseLayout from '@/layouts/BaseLayout' import TagsBar from '@/components/TagsBar' import BlogPostListScroll from '@/components/BlogPostListScroll' import { useRouter } from 'next/router' export async functi...
import { createSlice } from '@reduxjs/toolkit' const getCookie = () => { const cookies = document.cookie.split('; ') .reduce((prev, curr) => { const [key, ...value] = curr.split('=') prev[key] = value.join('=') return prev }, {}) return cookies } const setCookie = (payload) => { const...
/** * Locale translations for BIMViewer */ const messages = { // English "en": { "busyModal": { // The dialog that appears in the center of the canvas while we are loading a model "loading": "Loading" // Loading <myModel> }, "NavCube": { // The 3D navigation cube at the b...
$.index.open(); var last_update = 0, last_movement = 0, last_movement_x = 0, last_movement_y = 0; var prevX = 0, prevY = 0, prevZ = 0; var curX = 0, curY = 0, curZ = 0; var limitTime = 500000000; var g = 9.80665; var min_movement = 0.5 * g; $.finalMovement.text = "Movement set: "+min_movement; var firstAd = false; /...
import React from 'react'; import './Person.css'; import Radium from 'radium'; const Person = (props) => { return ( <div> <p onClick={props.click}>HI, I'm {props.name} and my age is {props.age}</p> <input type="text" onChange={props.changed} value={props.name} /> </div> ...
import Keycloak from 'keycloak-js'; import { PEARL_URL } from 'common-tools/constants'; export const kc = Keycloak(`${PEARL_URL}/keycloak.json`); export const keycloakAuthentication = params => new Promise((resolve, reject) => { if (navigator.onLine) { kc.init(params) .then(authenticated => { ...
#!/usr/bin/env python2 # -*- coding: utf-8 -*- from __future__ import print_function from argparse import ArgumentParser import libkeepass import sys def __get_parser(): # command line option parsing parser = ArgumentParser(description='A slow and stupid keepass guesser') parser.add_argument( 'kee...
function loadClient() { gapi.client.setApiKey("AIzaSyARzOgyIgAwCr7Kwu5UPeNUeEl6bVfn3yw"); return gapi.client.load("https://content.googleapis.com/discovery/v1/apis/pagespeedonline/v5/rest") .then(function() { var url = document.getElementById("websiteUrl").elements[0].value; let values =...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import Localization from '../../shared/localization.js'; import mxAnalysisSettings from '../../mixins/mxAnalysisSettings.js'; import BaseUploadSlideComponent from './baseUploadSlideComponent.js'; const DATATYP...
""" The ``clearsky`` module contains several methods to calculate clear sky GHI, DNI, and DHI. """ import os from collections import OrderedDict import calendar import numpy as np import pandas as pd from scipy.optimize import minimize_scalar from scipy.linalg import hankel import h5py from pvlib import atmosphere, ...
# Copyright 2020 LMNT, 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 law or ag...
const express = require('express') const router = express.Router() const User = require('../models/User') router.get('/', (req,res)=> { User.find({}, (err, allUsers)=> { if (err) throw err res.render('leaderboard', {allUsers}) }).sort({points: -1}) }) module.exports = router
var app=function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function l(e){e.forEach(t)}function u(e){return"function"==typeof e}function c(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function o(e,t){e.appendChild(t)}function i(e,t,n){e.inse...
"""KafkaSource entity.""" from pyspark.sql.dataframe import DataFrame, StructType from pyspark.sql.functions import col, struct from butterfree.clients import SparkClient from butterfree.configs import environment from butterfree.extract.pre_processing import explode_json_column from butterfree.extract.readers.reader...
'use strict'; class RaidEmulatorTimelineUI extends TimelineUI { constructor(options) { super(options); this.emulatedTimerBars = []; this.emulatedTimeOffset = 0; this.emulatedStatus = 'pause'; this.$barContainer = document.querySelector('.timer-bar-container'); this.$progressTemplate ...
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{309:function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),o=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),i=/Edge\/(\d+)/.exec(e),a=r||o||i,s=a&&(r?document.documentMode||6:+(...
/** * Kendo UI v2019.3.1023 (http://www.telerik.com/kendo-ui) * Copyright 2019 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved....
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * <%= classifiedModelName %> Schema */ var <%= classifiedModelName %>Schema = new Schema({ }); mongoose.model('<%= classifiedModelName %>', <%= classifiedModelName %>Schema);
/** * Created by bogdan-dev on 7/13/2016. */ var ComponentsMenuDatePickers = function () { var handleDatePickers = function () { if (jQuery().datepicker) { $('#calendar_booking_top_menu').datepicker({ autoclose: false, isRTL: App.isRTL(), ...
//# sourceMappingURL=outlined-grin-tongue-icon.d.js.map