text
stringlengths
3
1.05M
import { defineMessages } from 'react-intl' /** * Internationalized messages for use with ViewChallengeTasks. */ export default defineMessages({ tasksBuilding: { id: "Admin.Challenge.tasksBuilding", defaultMessage: "Tasks Building...", }, tasksFailed: { id: "Admin.Challenge.tasksFailed", defau...
# -*- coding: utf-8 -*- ''' Smooth Component (1) This module contains the class for the convex heuristic for a piecewise constant function. A piecewise constant function has a sparse first-order difference; many differences are exactly zero and a small number of them can be large. A convex approximation of this probl...
'use strict'; const memory = require('../memory.js'); const rotate = (point, angle) => { const sin = Math.sin(angle); const cos = Math.cos(angle); const { x, y } = point; point.x = x * cos - y * sin; point.y = x * sin + y * cos; }; module.exports = async (name, angle) => { const shape = memory.get(name);...
YUI.add('widget-base', function(Y) { /** * Provides the base Widget class, with HTML Parser support * * @module widget */ /** * Provides the base Widget class * * @module widget * @submodule widget-base */ var L = Y.Lang, Node = Y.Node, ClassNameManager = Y.ClassNameManager, _getClassName = Cla...
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 io import os import tempfile import binascii import numpy as np from .. import utils from .. import dataset from . import utils as qutils from .utils import make_flatmap_image from . import composite def make_figure(braindata, recache=False, pixelwise=True, thick=32, sampler='nearest', height=1...
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals import frappe from frappe.utils import getdate, cint, add_months, date_diff, add_days, nowdate, get_datetime_str, cstr from frappe.model.document import Document from frappe.util...
/** * Module dependencies */ var _ = require('lodash'); var SelectBuilder = require('./select'); var WhereBuilder = require('./where'); var utils = require('./lib/utils'); /** * Sequel generator * * Given a Waterline Query Object build a SQL query. */ var Sequel = module.exports = function(schema, options) {...
# ---------------------------------------------------------------------------- # Copyright (c) 2020 Ryan Volz # All rights reserved. # # Distributed under the terms of the BSD 3-clause license. # # The full license is in the LICENSE file, distributed with this software. # # SPDX-License-Identifier: BSD-3-Clause # -----...
const { version } = require('../package.json'); module.exports = args => { console.log(`💻 The current version is: ${version}`); }
#!/usr/bin/env node const resolve = require('path').resolve; const base = require('./matchGEOID'); const yargs = require('yargs'); const version = require('./package.json').version; const argv = yargs.usage('Link fields between a GeoJSON point file and a GeoJSON polygon file') .example('$0 -c ./myPointFile.geojson -p...
/** * CMS Configuration * Alter 'netlify' in the import statment below to one of the following: * netlify */ import theCMS from '../cms/netlify/cms' /** * General Site configurations */ export default { siteName: 'Jules', tagline: 'Dog walking, day care, boarding in the Vale of Belvoir', featureImage: '/up...
export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 7, "column": 1 } }, "range": [ 0, 63 ], "body": [ { "type": "ClassDeclaration", ...
var annotated_dup = [ [ "fly", null, [ [ "coders", null, [ [ "Base64Coder", "classfly_1_1coders_1_1_base64_coder.html", "classfly_1_1coders_1_1_base64_coder" ], [ "Encoder", "classfly_1_1coders_1_1_encoder.html", "classfly_1_1coders_1_1_encoder" ], [ "BinaryEncoder", "classfly_1_1coder...
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
import apply from "../../dist/core/apply"; test('wrap namespace', () => { expect(apply("wrap")).toEqual({ flexWrap: "wrap" }) }) test('no-wrap namespace', () => { expect(apply("no-wrap")).toEqual({ flexWrap: "nowrap" }) })
!function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i<chunkIds.length;i++)chunkId=chunkIds[i],Object.prototype.hasOwnProperty.call(installedChunks,chunkId)&&installedChunks[chunkId]&&resolves.push(installedChunks[chu...
from flask import Flask from flask_bootstrap import Bootstrap from app.datalattes import datalattes_bp from config import config def create_app(config_name: str) -> Flask: app = Flask(__name__) app.config.from_object(config[config_name]) Bootstrap(app) app.register_blueprint(datalattes_bp) retur...
const path = require("path"); const merge = require("webpack-merge"); const commonConfig = require("./webpack.common"); const Webpack = require("webpack"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const parts = require("./webpack.parts"); const publicFolderName = "../docs"; const productionConfig = m...
const express = require('express'); const log4js = require('log4js') const uuid = require('uuid') const mongoose = require('mongoose') const { graphqlHTTP } = require('express-graphql') const config = require('./config') const { extension } = require('./lib/graphql') const graphqlSchemas = require('./schemas/'); const...
// This file was procedurally generated from the following sources: // - src/dstr-binding/ary-ptrn-rest-ary-elision.case // - src/dstr-binding/default/cls-expr-async-private-gen-meth-static-dflt.template /*--- description: Rest element containing an elision (private static class expression async generator method (defau...
'use strict' const CopyWebpackPlugin = require('copy-webpack-plugin') const settings = require('./src/settings.js') const path = require('path') function resolve(dir) { return path.join(__dirname, dir) } const name = settings.title // page title // If your port is set to 80, // use administrator privileges to execut...
#!/usr/bin/env python # -*- coding: utf-8 -*- # Common Python library imports # Pip package imports # Internal package imports from backend.extensions.api import api from backend.api import ModelSerializer, ValidationError from backend.api.utils import object_id_exists from backend.api import fields from backend.refe...
import { app, BrowserWindow, nativeTheme } from 'electron' try { if (process.platform === 'win32' && nativeTheme.shouldUseDarkColors === true) { require('fs').unlinkSync(require('path').join(app.getPath('userData'), 'DevTools Extensions')) } } catch (_) { } /** * Set `__statics` path to static files in produ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=toggleFeatures.js.map
import flattenDeep from 'lodash/flattenDeep' import isEqual from 'lodash/isEqual' import BaseSvc from './BaseSvc' import Forge from 'forge-apis' import request from 'request' export default class DerivativeSvc extends BaseSvc { static get SERVICE_BASE_URL () { return 'https://developer.api.autodesk.com/modelde...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(['jquery.sap.global'],function(q){"use strict";var F={};F.render=function(r,c){var m=c.getId();r.write("<div");r.writeCo...
import babel from 'rollup-plugin-babel' export default { input: 'src/index.js', output: { file: 'dist/Gistore.js', format: 'cjs', name: 'Gistore', sourcemap: true, }, external: [ 'babel-polyfill', 'github-api', 'lodash.isequal', ], plugins: [ babel({ exclude: 'node_mod...
'use strict'; /** * Module dependencies. */ var integration = require('@segment/analytics.js-integration'); var each = require('@ndhoule/each'); var when = require('do-when'); var reject = require('reject'); var REQUIRED_ATTRS = { user_id: 1, user_name: 1, // user_email: 1, account_id: 1 // account_name: ...
"use strict"; // Vue和Vuex import Vue from "vue"; import Vuex from "vuex"; // 使用vuex Vue.use(Vuex); import { fetchAjaxData } from "../api/fetch.js"; let mutations = { fetchData(state, payload) { state.ajaxData = payload; } }; let actions = { fetchData(context) { fetchAjaxData(context.stat...
# Copyright 2019 The Oppia 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 applicable ...
//@ts-check import React, { useState } from "react"; import { Button, Grid, IconButton, Typography } from "@material-ui/core"; import DeleteIcon from "@material-ui/icons/Delete"; import EditIcon from "@material-ui/icons/Edit"; import Moment from "react-moment"; import PerformanceResults from "./PerformanceResul...
# coding: utf-8 # In[298]: import sys import re import string import csv import random import time import emoji # import regex #import binascii #import shlex import numpy as np import pandas as pd from itertools import groupby from operator import itemgetter from collections import Iterable, OrderedDict from nltk.t...
import claripy import nose import math import logging l = logging.getLogger('claripy.test.solver') solver_list = (claripy.Solver, claripy.SolverReplacement, claripy.SolverHybrid, claripy.SolverComposite, claripy.SolverCacheless) def test_solver(): for s in solver_list: yield raw_solver, s, True y...
/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[5],{100:function(t,e,n){var r=n(73);t.exports=function(t){return Object(r(t))}},112:function(t,e,n){"use strict";var r=n(30),o=n(71),c=n(82),f=n(270),l=n(148),d=n(43),h=n(119).f,v=n(153).f,y=n(42).f,m=n(861).trim,_=r...
"use strict"; const rule = require(".."); const { messages, ruleName } = rule; testRule(rule, { ruleName, config: [true], skipBasicChecks: true, accept: [ { code: "a {}" }, { code: "input {}" }, { code: "acronym {}" }, { code: "HGrOuP {}" }, { ...
from __future__ import print_function, division, absolute_import from fontTools.misc.py23 import * from fontTools.misc import sstruct from fontTools.misc.textTools import safeEval, num2binary, binary2num from . import DefaultTable import warnings # panose classification panoseFormat = """ bFamilyType: B bSe...
import React from "react"; import PropTypes from "prop-types"; import { useStyles } from "./styles"; const Info = props => { const { title, description } = props; const classes = useStyles(); return ( <p className={classes.signupconfirmDetail}> <span>{title}</span> {description} </p> ); }...
import SettingsListView from '../components/settingslist.js' import { connect } from 'react-redux' import { showToggleAcceptingModal, hideToggleAcceptingModal, updateSettings, pushSettings, } from '../actions/actions.js' import { bindActionCreators } from 'redux' import { Map } from 'immutable' const mapDispatchTo...
/* * Copyright © 2020 Cask Data, 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 * * Unless required by applicable law or agreed t...
// THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.CgArrowsMergeAltH = function CgArrowsMergeAltH (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24","fill":"none"},"child":[{"tag":"path","attr":{"d":"M1.5033 6H3.5033V11H7.6749L5.84644 9.17154L7.26066 7.75732L11.5033...
const fs = require("fs"); const path = require("path"); const decodeMsAdpcm = require("../"); function readWav(filename) { const buf = fs.readFileSync(filename); let offset = 0; // 'RIFF' const magic = buf.readUInt32BE(offset); offset += 4; if(magic !== 0x52494646) throw "0x0000:0x0004 != 52:49:46:46"; c...
import requests import argparse from binascii import unhexlify from base64 import b32decode from binascii import hexlify, unhexlify parser = argparse.ArgumentParser( description='Generate bootstrap representative weight file.') parser.add_argument("output", type=str, help="output weight file") parser.add_argument...
/* Input Mask plugin extensions http://github.com/RobinHerbots/jquery.inputmask Copyright (c) 2010 - 2014 Robin Herbots Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) Version: 0.0.0 Regex extensions on the jquery.inputmask base Allows for using regular expressions as a mask */ (func...
#__init__.py from testlearing04UncelShcool.stutdentclass import Student, SpecialStudent
const mix = require("laravel-mix"); const config = require("./webpack.config"); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some We...
console.log("in contentScript"); console.log("current page url:", window.location.href); const apiServer = "http://localhost:8080/rpc"; const carrefourStoreURL = "online.carrefour.com.tw"; const sbdStoreURL = "sbd-ec.wellcome.com.tw"; const currentPage = window.location.href; let productName = null; let promotionPric...
import React from 'react' import jsonFetch from 'simple-json-fetch' import styled from 'styled-components' import { FaStar, FaExternalLinkAlt } from 'react-icons/fa' import siteConfig from '../../../data/siteConfig' import Loader from '../loader' const endpoint = `https://api.github.com/users/${siteConfig.githubUsern...
/* * @Date: 2021-01-23 21:46:30 * @LastEditors: kanoyami * @LastEditTime: 2021-02-18 02:33:19 */ // All of the Node.js APIs are available in the preload process. // It has the same sandbox as a Chrome extension. window.ipcRenderer = require('electron').ipcRenderer; window.addEventListener('DOMContentLoaded', () => ...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-73394011"],{"080b":function(a,t,e){},"5f60":function(a,t,e){"use strict";var i=e("080b"),o=e.n(i);o.a},"7be5":function(a,t,e){"use strict";e.r(t);var i=function(){var a=this,t=a.$createElement,e=a._self._c||t;return e("div",{staticClass:"row"},[e("div",{...
#!/bin/python3 # link to apple and orange question """ https://www.hackerrank.com/challenges/apple-and-orange/problem """ import math import os import random import re import sys # Complete the countApplesAndOranges function below. def countApplesAndOranges(s, t, a, b, apples, oranges): no_of_apples_in_sams_h...
var class_antura_1_1_database_1_1_log_play_data = [ [ "LogPlayData", "class_antura_1_1_database_1_1_log_play_data.html#adbbb118bd0abca22e995af1ecd1073b8", null ], [ "LogPlayData", "class_antura_1_1_database_1_1_log_play_data.html#a29b3e6430f325030498e7c571fb29a28", null ], [ "LogPlayData", "class_antura_1_1...
#!/usr/bin/env python3 from flask import Flask, Response, redirect, stream_with_context from flask_restful import Resource, Api, reqparse from ipfsapi import connect from json import dumps from os import environ import requests app = Flask(__name__) api = Api(app) @app.route('/') def index(): return redirect('/i...
from flask import Flask from flask_restful import Resource, Api from routes.dome import dome from routes.observing_conditions import observing_conditions from routes.cover_calibrator import cover_calibrator app = Flask(__name__) api = Api(app) app.register_blueprint(dome , url_prefix='/api/v1/dome/') app.register_b...
const Muneem = require('muneem'); const anuvadak = require('../src/anuvadak'); var fs = require('fs'); var path = require('path'); var path = require('path') var chai = require('chai') , chaiHttp = require('chai-http') , expected = require('chai').expect; chai.use(chaiHttp); describe ('Anuvadak Form', () => { i...
import React from 'react' import ReactDOM from 'react-dom' import TestUtils from 'react-addons-test-utils' import moment from 'moment' import Week from '../src/week' import Day from '../src/day' describe('Week', () => { it('should have the week CSS class', () => { const week = TestUtils.renderIntoDocument(<Week ...
var person = { name: "Hello" } // node inspect playground\debugging.js // n, c, repl, list(5) person.age = 25 debugger; person.name = "hoho" person.name = "hoha" console.log("object"); console.log(person);
import os APP_PATH = os.path.dirname(os.path.abspath(__file__)) + '/ishuhui' HOST = '0.0.0.0' PORT = 5000 DEBUG = True SQLALCHEMY_DATABASE_URI='sqlite:///' + APP_PATH + '/tmp/ishuhui.db' SECRET_KEY='7c401a1e5fd54c6cd8cd0d5016c2911157a6127815ab7686' USERNAME='lufficc' PASSWORD='123456' ENABLE_CELERY=False CELERY_BROKER_...
import copy from typing import List, Optional, Tuple, NamedTuple import torch from torch_sparse import SparseTensor class Adj(NamedTuple): edge_index: torch.Tensor e_id: torch.Tensor size: Tuple[int, int] def to(self, *args, **kwargs): return Adj(self.edge_index.to(*args, **kwargs), ...
import '../../style/index.css'; import './index.css'; // style dependencies import '../../input/style/css';
import os #os.chdir("C:\\Users\\Anna Huang\\Desktop\\cse583\\Movie_Income_Prediction") import requests import json import pandas as pd from datetime import datetime TMDB_KEY = "60027f35df522f00e57a79b9d3568423" OMDB_KEY = "d3941272" def get_tmdb_id_list(): """function to get all Tmdb_id between 06-16""" impo...
import cv2 import time import threading class Camera: last_frame = None last_ready = None def __init__(self, rtsp_link): vcap = cv2.VideoCapture(rtsp_link) thread = threading.Thread(target=self.rtsp_cam_buffer, args=(vcap,), name="rtsp_thread") thread.daemon = True thread....
define([ "dojo/_base/declare", //declare "rishson/widget/_Widget", //mixin "dijit/_TemplatedMixin", //mixin /*If you are using widgets from within your template uncomment the following line and the uses of _WidgetsInTemplateMixin later in this file*/ /*"dijit/_WidgetsInTemplateMixin", //mixin*/ "dojo/text!./re...
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets 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 appl...
angular.module("app").service("MainService", MainService); function MainService() { this.logError = function(msg) { /* */ }; }
import expirationPolicyQuery from '~/packages_and_registries/settings/group/graphql/queries/get_group_packages_settings.query.graphql'; import { updateGroupPackageSettings } from '~/packages_and_registries/settings/group/graphql/utils/cache_update'; describe('Package and Registries settings group cache updates', () =>...
'use strict'; const fs = require('fs-extra'); const expect = require('chai').expect; const MockUI = require('console-ui/mock'); const GitInitTask = require('../../../lib/tasks/git-init'); const MockProject = require('../../helpers/mock-project'); const path = require('path'); let root = process.cwd(); const mkTmpDirIn...
import React, { useState } from 'react'; import { NavLink } from 'react-router-dom'; import { motion } from 'framer-motion'; import BoltWht from '../icons/bolt-wht.js' import BoltDark from '../icons/bolt-blk.js' //styles import { Wrapper } from './styles/Navigation-Styles.js' // custom hook import useDarkMode from '....
import torch import torch.nn as nn __all__ = [ "add_weighted", "AddWeighted", ] def add_weighted(src1: torch.Tensor, alpha: float, src2: torch.Tensor, beta: float, gamma: float) -> torch.Tensor: r"""Blend two Tensors. See :class:`~kornia.color.AddWeighted` for deta...
# # __init__.py # # Author(s): # Matteo Spallanzani <spmatteo@iis.ee.ethz.ch> # # Copyright (c) 2020-2021 ETH Zurich. # # 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.apach...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class Fib(object): def __getitem__(self, n): if isinstance(n, int): a, b = 1, 1 for x in range(n): a, b = b, a + b return a if isinstance(n, slice): start = n.start stop = n.s...
'use strict'; require('mocha'); var assert = require('assert'); var months = require('./'); describe('months', function() { it('should export an array', function() { assert.equal(Array.isArray(months), true); assert.equal(months[8], 'September'); }); it('should have abbreviations', function() { ass...
import { h } from 'vue' export default { name: "BookmarkOutline", vendor: "Mdi", type: "", tags: ["bookmark","outline"], render() { return h( "svg", {"xmlns":"http://www.w3.org/2000/svg","width":"24","height":"24","viewBox":"0 0 24 24","class":"v-icon","fill":"currentColor","data-name":"mdi-bo...
var TcHmi,__classPrivateFieldGet=this&&this.__classPrivateFieldGet||function(receiver,state,kind,f){if("a"===kind&&!f)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof state?receiver!==state||!f:!state.has(receiver))throw new TypeError("Cannot read private member from an object ...
import pytest from feast.pyspark.launchers.gcloud import DataprocClusterLauncher @pytest.fixture def dataproc_launcher(pytestconfig) -> DataprocClusterLauncher: cluster_name = pytestconfig.getoption("--dataproc-cluster-name") region = pytestconfig.getoption("--dataproc-region") project_id = pytestconfig....
# Copyright (c) 2015-2016 Cisco Systems, Inc. # # 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, modify, merge...
import Vue from 'vue' import 'vuetify/dist/vuetify.min.css' //import '@mdi/font/css/materialdesignicons.css' import Vuetify from 'vuetify' Vue.use(Vuetify) const opts = { // icons: { // iconfont: 'mdi', // default - only for display purposes // }, } export default new Vuetify(opts)
/* Language: D Author: Aleksandar Ruzicic <aleksandar@ruzicic.info> Description: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity. Version: 1.0a Website: https://dlang.org Date: 2012-04-08 */ /** * Known is...
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP # 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/LICEN...
import React from 'react'; import '../../../App.css'; import { Button } from './../../assets/Button/Button'; import './HeroComponent.css'; import $ from 'jquery'; import "./../LendACar/LendCar.css" import SearchBar from './SearchBar'; import { SubmitButton } from '../../../styles/style'; import AuthService from "../../...
const importLazy = require('import-lazy')(require); const { contextMiddleware } = importLazy('../../cli/context-middleware'); const Okapi = importLazy('../../okapi'); const ModuleService = importLazy('../../okapi/module-service'); const DescriptorService = importLazy('../../okapi/descriptor-service'); const { okapiReq...
webpackJsonp([12],{"6kY0":function(n,o,t){n.exports=t.p+"static/img/night.4c6a1b4.png"},"7KJM":function(n,o,t){n.exports=t.p+"static/img/account_logo_1.fd8e0ff.png"},MUV3:function(n,o,t){n.exports=t.p+"static/img/white.24cb6e7.png"},O43h:function(n,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var ...
import Modal from './Modal'; import Overlay from './ModalOverlay'; import Content from './ModalContent'; import Header from './ModalHeader'; import Title from './ModalTitle'; import Body from './ModalBody'; import Footer from './ModalFooter'; import { ModalProvider, ModalConsumer } from './ModalContext'; import ModalRo...
/** * Gets the palette color data for the specified tag - red/green/blue, * either from the given UID or from the tag itself. * Returns an array if the data is immediately available, or a promise * which resolves to the data if the data needs to be loaded. * Returns undefined if the palette isn't specified. * * ...
var lfm_route = location.origin + location.pathname; var show_list; var sort_type = 'alphabetic'; var multi_selection_enabled = false; var selected = []; var items = []; $.fn.fab = function (options) { var menu = this; menu.addClass('fab-wrapper'); var toggler = $('<a>') .addClass('fab-button fab-toggle') ...
/*global xAPS */ /** * A tabcomplete module that retrieves its complete data from a hidden field on the page. * * A page that needs to use this module, must put the complete data, space separated, in a hidden field on the page * (by default with id tabcompleteData). * * It can easily be extended to retrieve it...
/** * rubico v1.8.11 * https://github.com/a-synchronous/rubico * (c) 2019-2021 Richard Tong * rubico may be freely distributed under the MIT license. */ (function (root, gt) { if (typeof module == 'object') (module.exports = gt) // CommonJS else if (typeof define == 'function') define(() => gt) // AMD else ...
# -*- coding: utf-8 -*- ############################################################################### # # DeleteEvent # Delete a specific event from a specified calendar. # # Python version 2.6 # ############################################################################### from temboo.core.choreography import Cho...
'use strict'; var path = require('path'); var gulp = require('gulp'); var conf = require('./conf'); var browserSync = require('browser-sync'); var browserSyncSpa = require('browser-sync-spa'); var util = require('util'); var proxyMiddleware = require('http-proxy-middleware'); <% if(qrCode) { -%> var qrcode = requi...
# 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 # d...
/* eslint-disable no-unused-vars */ import { ConnectPluginSettingInputElement } from './PluginSettings/ConnectPluginSettingInputElement.js' /* eslint-enable no-unused-vars */ import { ConnectOtherSetting } from './PluginSettings/ConnectOtherSetting.js' import { ConnectNewVersion } from './PluginSettings/ConnectNewVersi...
var app = angular.module("app", []); app.controller('Ctrl', function($scope, $http) { $scope.locations = []; $scope.loadLocations = function() { console.log("LoadLocation!") console.log($('#study_id option:selected').val()); return $scope.locations.length ? null : $http.get('/api/location...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ (function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = fac...
const Utils = { isIdsQuery: function (query) { const idQuery = query && query['_id']; const inQuery = query && query['_id'] && query['_id']['$in']; return Utils.oneField(query) && Utils.oneField(idQuery) && Utils.isArray(inQuery); }, isArray: function (obj) { return Array.is...
import Vue from 'vue'; import participants from '~/sidebar/components/participants/participants.vue'; import mountComponent from 'spec/helpers/vue_mount_component_helper'; const PARTICIPANT = { id: 1, state: 'active', username: 'marcene', name: 'Allie Will', web_url: 'foo.com', avatar_url: 'gravatar.com/av...
/* * PLUGIN SCHEDULER * * Chinese Traditional language file. * * Author: */ theUILang.scheduler = "Scheduler"; theUILang.schedulerOn = "Enable scheduler"; theUILang.schedulerGraph = "Scheduler Table"; theUILang.schShortWeek = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ]; theUILang.schFullWeek =...
from fastapi import APIRouter, Depends, HTTPException from models.user import User from schemas.user import User as UserRead, UserUpdate from starlette.requests import Request from typing import List from starlette.responses import UJSONResponse from utils.security import get_admin_user, encrypt_password router = AP...
from manimlib.imports import * from old_projects.lost_lecture import ShowWord from old_projects.clacks.solution2.mirror_scenes import ReflectWorldThroughMirrorNew from old_projects.clacks.question import Thumbnail class WrapperScene(Scene): CONFIG = { "title": "Title", "shade_of_grey": "#333333" ...