text
stringlengths
3
1.05M
/*global require __dirname describe it after */ var should = require('should') var fs = require('fs') var async = require('async') var makedir = require('../.') // A lot of paths, and repeats, so that you have to handle multiple // simultaneous makes var path = require('path') var rootdir = path.normalize(__dirna...
# Copyright (c) 2020 Graphcore Ltd. 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 ...
import assert from "assert"; import alleway from "../index"; describe("semicolon", () => { let counter = 0; it(";", async(done) => { let op = alleway({ "f1": function(a) { counter++; return a + 1; }, "f2": function(v) { ...
const React = require('react') const { default: styled } = require('styled-components') const BaseComponent = props => { return <svg width='100%' height='100%' viewBox='0 0 16 16' preserveAspectRatio='xMidYMid meet' {...props}><rect width='100%' height='100%' id='icon-bound' fill='none' /><path d='M3,3H1v13h11v-2...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const webpack = require("webpack"); const path = require("path"); const HtmlWebpackPlugin = require('html-webpack-plugin'); const package_chunk_sort_1 = require("../../utilities/package-chunk-sort"); const base_href_webpack_1 = require("../../...
/** * External dependencies */ import { __, _n, sprintf } from '@wordpress/i18n'; import { useEffect } from 'react'; import PropTypes from 'prop-types'; import { speak } from '@wordpress/a11y'; import LoadingMask from '@woocommerce/base-components/loading-mask'; import { getShippingRatesPackageCount, getShippingRat...
import { runAction } from 'cerebral/test'; import { setSuccessFromDocumentTitleAction } from './setSuccessFromDocumentTitleAction'; describe('setSuccessFromDocumentTitleAction,', () => { it('sets the success message from the documentTitle', async () => { const result = await runAction(setSuccessFromDocumentTitle...
import os from . import cases def get_file(file): path = os.path.abspath(os.path.dirname(__file__)) return os.path.join(path, file)
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2016-08-01 19:16 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migration...
import * as utils from './utils/index'; import * as types from './utils/type'; import * as dateFns from 'date-fns'; import dateUtils from 'date-and-time'; import EventEmitter from './utils/events'; import datePicker from './datePicker'; import timePicker from './timePicker'; import defaultOptions from './defaultOptio...
import { __assign } from "tslib"; import * as React from 'react'; import { StyledIconBase } from '../../StyledIconBase'; export var Nlg = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg", }; return (React.createElement(Style...
from ros_compatibility.ros_compatible_node import *
from django import template from django.template.defaultfilters import stringfilter from machina.models.fields import render_func register = template.Library() @register.filter(is_safe=True) @stringfilter def rendered(value): return render_func(value)
// This code runs in child site which is embedded in an iframe to // share auth state with the parent. if (Meteor.isClient) { Meteor.startup(function() { Template.sharedAuthFrame.helpers({ "sharedAuthFrame": function() { var parentOrigin = null; var parentSource = null; if (!...
import React from 'react'; import '../../GlobalStyle/main.css'; import HeroComponent from '../../Components/Hero'; import Layoutcomponent from '../../Components/Layout'; import FeaturedPropertyData from '../../data'; import OverviewComonent from '../../Components/overview'; import AmenitiesComponent from '../../Compone...
var class_keyboard_controller = [ [ "KeyboardController", "class_keyboard_controller.html#aa1e5c9ea3bf0f4c3803076c70b5605d2", null ], [ "~KeyboardController", "class_keyboard_controller.html#a9791aa6d6fadf77b4ef3e59cdb7d9b1d", null ], [ "keyboardInput", "class_keyboard_controller.html#a868853a3f5e49dd7971af...
// ================================================================= // MARKER COUNT BANNER // ================================================================= L.Control.MarkerCountBanner = L.Control.extend({ onAdd: function(map) { this._div = L.DomUtil.create('div', 'marker-count-banner'); return this._div; }, ...
import logging import time from flexget import plugin from flexget.event import event from flexget.utils.log import log_once from flexget.utils.parsers.generic import ParseWarning from flexget.utils.parsers.movie import MovieParser from flexget.utils.parsers.series import SeriesParser from .parser_common import Movie...
import React from "react"; import { Image } from "react-native"; import { AppLoading } from "expo"; import { Asset } from "expo-asset"; import { Block, GalioProvider } from "galio-framework"; import { NavigationContainer } from "@react-navigation/native"; import { StackNavigator } from "react-navigation"; // Before re...
class TypeSignature: double = b"\x01" string = b"\x02" document = b"\x03" array = b"\x04" binary = b"\x05" bool = b"\x08" null = b"\x0A" int32 = b"\x10" uint64 = b"\x11" int64 = b"\x12" class EncodeError(Exception): pass class DecodeError(Exception): pass
# -*- coding: utf-8 -*- class Solution: def isPowerOfTwo(self, n): return ( n == 1 or n == 2 or n == 4 or n == 8 or n == 16 or n == 32 or n == 64 or n == 128 or n == 256 or n == 512 or ...
var getScrollingRoot = function getScrollingRoot() { return document.scrollingElement || document.documentElement; }; /** * Recursively finds the scroll parent of a node. The scroll parrent of a node * is the closest node that is scrollable. A node is scrollable if: * - it is allowed to scroll via CSS ('overflow...
from dotenv import load_dotenv load_dotenv() import os import json from typing import Optional from fastapi import FastAPI, Depends, FastAPI, HTTPException from pydantic import BaseModel from fastapi.responses import HTMLResponse from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm import h...
function getClientInfo() { return { "name" : "Test Automation (Javascript)", "category" : "Tests", "author" : "Dreamtonics", "versionNumber" : 0, "minEditorVersion" : 65537 }; } function main() { var mainRef = SV.getProject().getTrack(0).getGroupReference(0); var mainGroup = mainRef.getTarg...
'use strict'; (function() { var module = angular.module('redash.visualization'); module.config(['VisualizationProvider', function(VisualizationProvider) { var renderTemplate = '<map-renderer ' + 'options="visualization.options" query-result="queryResult">' + '</map-renderer>'; var editT...
/* * 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...
'use strict'; goog.module('grrUi.forms.semanticValueFormDirectiveTest'); const {clearCaches} = goog.require('grrUi.forms.semanticValueFormDirective'); const {formsModule} = goog.require('grrUi.forms.forms'); const {testsModule} = goog.require('grrUi.tests'); describe('semantic value form directive', () => { let $...
function DashboardAssistant(args) { this.default_args = { 'template_data': { 'title':'Dashboard Title', 'message':'Dashboard Message', 'count':99 }, 'fromstage':SPAZ_MAIN_STAGENAME, 'template':'dashboard/item-info' }; this.args = sch.defaults(this.default_args, args); Mojo.Log.info('Dashboa...
import React, { Component } from 'react' import { View, TouchableHighlight, Text, StyleSheet, Dimensions } from 'react-native' export default props => { const stylesButton = [styles.button] if (props.double) stylesButton.push(styles.buttonDouble) if (props.triple) stylesButton.push(styl...
""" Unit tests for Unified/RequestInfo.py module Author: Valentin Kuznetsov <vkuznet [AT] gmail [DOT] com> """ from __future__ import division, print_function import unittest from WMCore.MicroService.MSTransferor.RequestInfo import RequestInfo class RequestInfoTest(unittest.TestCase): "Unit test for RequestInf...
define(['exports', 'external'], (function (exports, foo$1) { 'use strict'; var _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; function _interopNamespace(e) { if (e && e.__esModule) return e; var n = Object.create(null); if (e) { Object.keys(e).forEach(k =>...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (root, factory) { var freeExports = typeof exports == 'object' && exports && (typeof root == 'object' && root && root == root.global && (window = root), exports); ...
// 'use strict' // import React from 'react' // import TestUtils from 'react-addons-test-utils' // import App from '../app/js/App' // // import CurrentUserStore from '../app/js/stores/CurrentUserStore' // // import CurrentUserActions from '../app/js/actions/CurrentUserActions' /...
# 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...
# -*- coding: utf-8 -*- from optparse import OptionParser import sys,os,platform,time,traceback,getpass from troubleshooting.framework.variable.variable import * from troubleshooting.framework.modules.builder import BuilderFactory from troubleshooting.framework.version.version import VERSION from troubleshooting.frame...
/** * Copyright 2018 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...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty2 = require('babel-runtime/helpers/defineProperty'); var _defineProperty3 = _interopRequireDefault(_defineProperty2); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf...
// send data to the endpoint var push = (function(){ // look for the shaker.js script, and use it to // generate an endpoint var endpoint = (function(){ var scripts = document.scripts; for(var i = 0; i < scripts.length; i++){ var src = scripts[i].src; var match = src.match(/(.*)shaker\.js\?(.*)/); ...
const lib = require ('../@sap/cds-services') const Service = require ('./Service') module.exports = class ServiceClient extends Service .and (lib.Client) { static new (name, model, o) { const primary = o && o.primary || name === 'db' const srv = lib.connect.connect (name, o, primary) retur...
from __future__ import division from sklearn.model_selection import StratifiedKFold from sklearn.preprocessing import StandardScaler from sklearn.pipeline import Pipeline from sklearn.decomposition import PCA from sklearn.metrics import roc_auc_score, roc_curve from keras.models import Sequential, model_from_json, lo...
import { validateAndFix } from "../src/svgo"; import test from "tape"; test("fills essential plugins and default plugins when empty", function(t) { let opts = {}; opts = validateAndFix(opts); t.equal(opts.plugins.length, 4); t.end(); }); test("enable disabled essential plugins", function(t) { let opts = { ...
/*global defineSuite*/ defineSuite([ 'DataSources/GeoJsonDataSource', 'Core/Cartesian3', 'Core/Color', 'Core/Event', 'Core/JulianDate', 'Core/PolygonHierarchy', 'Core/RuntimeError', 'DataSources/CallbackProperty', 'DataSources/EntityCollection', ...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
import './image-embed-tooltip.scss'; import createTooltip from './tooltip'; export default Quill => class ImageEmbedTooltip extends createTooltip(Quill) { static TEMPLATE = ` <div class="controls"> <label>Enter image url:</label> <input class="url" type="text"> <a class="action">Save</a> </...
import gql from 'graphql-tag' export const schema = gql` type Message { id: String! to: String! from: String! userId: String! user: User! } type Query { messages: [Message!]! message(id: String!): Message! } input CreateMessageInput { to: String! from: String! userId...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a3426800","chunk-2d21a844","chunk-2d0b9e22","chunk-2d0aa631","chunk-2d0a3741","chunk-2d0e9955"],{"01f0":function(t,e,r){t.exports=r.p+"static/img/video.09ec4416.png"},1194:function(t,e,r){t.exports=r.p+"static/img/logo_login.7918108b.png"},"359c":functio...
// Copyright (c) 2015 Uber Technologies, 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 Component from './bar-chart-tooltip-component'; export default Component;
from django.conf import settings from .models import LinkList def get_linklists(request): res = LinkList.objects.all() lut = {} for ll in res: lut.update({ll.key:ll.link_set.filter(published=True).order_by('sort').all()}) return { 'link_list':lut, } all_processors = [ get_linklists, ] def all(request): c...
//This function takes in a string and finds the longest word function longestWord(str){ var max =0; var array = []; var temp = ""; for(var i=0;i<str.length;i++){ if(str[i]!==" "){ temp+=str[i]; } if(str[i]===" "){ array.push(temp); temp=""; } array.push(temp); } for(va...
import _ from 'lodash'; import BaseEditConditional from './editForm/Base.edit.conditional'; import BaseEditData from './editForm/Base.edit.data'; import BaseEditAPI from './editForm/Base.edit.api'; import BaseEditDisplay from './editForm/Base.edit.display'; import BaseEditLogic from './editForm/Base.edit.logic'; import...
""" Zappa core library. You may also want to look at `cli.py` and `util.py`. """ ## # Imports ## from __future__ import print_function import getpass import glob import hashlib import json import logging import os import random import shutil import string import subprocess import tarfile import tempfile import time ...
const express = require("express"); const logger = require("morgan"); const mongoose = require("mongoose"); const path = require("path"); const compression = require("compression"); const PORT = process.env.PORT || 3000 const db = require("./models"); const app = express(); app.use(logger("dev")); app.use(express.u...
const WebSocketClient = require('websocket').client; const { SOCKET_MSG_MAX_SIZE } = require('./config'); const logger = require('./utils/logger'); const { parseFiles, openFileInEditor } = require('./api/'); const { SOCKET_MESSAGE_TYPE } = require('../shared/constants'); const projectSourceWatcher = require('./projec...
import os import dbs_fields from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='djan...
import PropTypes from 'prop-types'; import { googleMapsKey } from '../../../etc/config.json'; const InitMap = (mountPoint, options) => { const loadJS = function (src) { const ref = window.document.getElementsByTagName("script")[0]; const script = window.document.createElement("script"); script.src = sr...
#!/usr/bin/env python3 # Copyright (c) 2014-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 the wallet keypool and interaction with wallet encryption/locking.""" from test_framework.test_fr...
//https://github.com/exupero/saveSvgAsPng //see also here: https://spin.atomicobject.com/2014/01/21/convert-svg-to-png/ (function() { const out$ = typeof exports != 'undefined' && exports || typeof define != 'undefined' && {} || this || window; if (typeof define !== 'undefined') define('save-svg-as-png', [], () =>...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ic_youtube_searched_for = void 0; var ic_youtube_searched_for = { "viewBox": "0 0 24 24", "children": [{ "name": "path", "attribs": { "d": "M0 0h24v24H0V0zm0 0h24v24H0V0z", "fill": "none" }, "children...
/*! // โ–ˆโ–ˆโ–ˆ โ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–„โ–„โ–„โ–€ โ–„โ–„โ–„โ–„โ–€ โ–„โ–ˆโ–ˆโ–ˆโ–„ โ–ˆโ–„โ–„โ–„โ–„ // โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–€โ–€โ–€ โ–ˆ โ–€โ–€โ–€ โ–ˆ โ–ˆโ–€ โ–€ โ–ˆ โ–„โ–€ // โ–ˆ โ–€ โ–„ โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–ˆโ–ˆโ–„โ–„ โ–ˆโ–€โ–€โ–Œ // โ–ˆ โ–„โ–€ โ–ˆโ–ˆโ–ˆโ–„ โ–€โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆ โ–ˆ โ–ˆโ–„ โ–„โ–€ โ–ˆ โ–ˆ // โ–ˆโ–ˆโ–ˆ โ–€ โ–€ โ–€ โ–€โ–ˆโ–ˆโ–ˆโ–€ โ–ˆ // โ–€ // The MIT License // // C...
from selenium import webdriver options = webdriver.ChromeOptions(); options.add_argument('--user-data-dir=./User_Data') # driver = webdriver.Chrome(executable_path='./chromedriver/chromedriver') driver = webdriver.Chrome('./chromedriver/chromedriver_mac64_74', chrome_options=options) driver.get('https://web.whatsapp.c...
import logging import os import sys import pytest from mms.context import Context from mms.service import Service from mms.service import emit_metrics logging.basicConfig(stream=sys.stdout, format="%(message)s", level=logging.INFO) # noinspection PyClassHasNoInit class TestService: model_name = 'testmodel' ...
import React from 'react' import Title from '../Title' import tips from '../../constants/tips' import styles from '../../css/tips.module.css' const Tips = () => { return ( <section className={styles.tips}> <Title title="hot" subtitle="tips"/> <div className={styles.center}> ...
const path = require('path'); exports.createPages = ({boundActionCreators, graphql}) => { const {createPage} = boundActionCreators const postTemplate = path.resolve('src/templates/blog-post.js') return graphql(` { allMarkdownRemark { edges { node { html id ...
define(["exports", "../../../../@polymer/polymer/polymer-element.js", "../../../../@polymer/app-route/app-route.js", "../../../../@polymer/iron-ajax/iron-ajax.js", "../../../../@polymer/app-layout/app-toolbar/app-toolbar.js", "../../../../@polymer/marked-element/marked-element.js", "../../../simple-icon/simple-icon.js"...
# 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...
/*! * Keen UI v1.0.0 (https://github.com/JosephusPaye/keen-ui) * (c) 2017 Josephus Paye II * Released under the MIT License. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.UiSelect=t():(e.Keen...
function generateHTML(processInstanceCounts) { const body = processInstanceCounts .map( element => `<tr> <td>${element.key}</td> <td>${element.instanceCount}</td> </tr>` ) .join("\n"); return ` <section> <div class="inner"> <h3>Camun...
import { SFRPG } from "../config.js" import { RPC } from "../rpc.js"; const itemSizeArmorClassModifier = { "fine": 8, "diminutive": 4, "tiny": 2, "small": 1, "medium": 0, "large": 1, "huge": 2, "gargantuan": 4, "colossal": 8 }; /** * Override and extend the core ItemSheet implemen...
import PropTypes from 'prop-types'; import React from 'react'; import Textarea from 'react-textarea-autosize'; export default class TextControl extends React.Component { static propTypes = { onChange: PropTypes.func.isRequired, forID: PropTypes.string, value: PropTypes.node, classNameWrapper: PropTyp...
'use strict'; const path = require('path'); const stringUtil = require('ember-cli-string-utils'); const pathUtil = require('ember-cli-path-utils'); const getPathOption = require('ember-cli-get-component-path-option'); const normalizeEntityName = require('ember-cli-normalize-entity-name'); const isModuleUnificationProj...
//@ts-check /** * How warnings and checks are handles, eg missing type annotations etc. * - `fatal`: Throw an error and make the build fail. * - `error`: Log an error at the error level, but continue * - `warning`: Log the message at the warning level, and continue * - `info`: Log the message at the info level ...
import React from 'react'; // Material UI import TableRow from '@material-ui/core/TableRow'; import TableCell from '@material-ui/core/TableCell'; import Checkbox from '@material-ui/core/Checkbox'; import IconButton from '@material-ui/core/IconButton'; import DeleteIcon from '@material-ui/icons/Delete'; import EditIco...
# 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...
$(document).ready(function(){ var stored_lesson_data = ''; var result_pool = []; var content_pool = []; var active_content = ""; var active_content_data = {}; var content_order = []; var lesson_data = {}; var active_portal = "youtube"; var url = $("#url").val(); var blackboard_i...
// Get the category url value and opens new tab using that URL // Also this is the cop button document.addEventListener('DOMContentLoaded', function() { var link = document.getElementById('cop'); // onClick's logic below: link.addEventListener('click', function() { // Get category URL chrome.sto...
'use strict'; angular.module('TwitterApplication') .controller('contentCtrl', function($scope, $http, SearchService, $rootScope) { console.log("Content controller has loaded successfully"); $scope.deleteTweet = function(id) { $rootScope.obj.tweets = $rootScope.obj.tweets.filter(function (obj) { ...
/*! * robust-admin-theme (https://pixinvent.com/bootstrap-admin-template/robust) * Copyright 2018 PIXINVENT * Licensed under the Themeforest Standard Licenses */ !function(window,document,$){"use strict";$(".icheck-task input").iCheck({checkboxClass:"icheckbox_square-blue",radioClass:"iradio_square-blue"});var move...
// package: service // file: service/publishedReceipt.proto var service_publishedReceipt_pb = require("../service/publishedReceipt_pb"); var model_publishedReceipt_pb = require("../model/publishedReceipt_pb"); var grpc = require("@improbable-eng/grpc-web").grpc; var PublishedReceiptService = (function () { function...
class ContestResult(): def __init__(self): self.winner = "" self.second_place = "" self.third_place = "" def set_winner(self, name): self.winner = name def set_second_place(self, name): self.second_place = name def set_third_place(self, name): self.third_place = name def get_winner(self): retur...
from typing import * import numpy as np from .algorithms import acl_list from .algorithms import fista_dinput_dense from .cpp import * import warnings import time def approximate_PageRank(G, ref_nodes, timeout: float = 100, iterations: int = 1...
"use strict"; const util = require('util'); const castv2Cli = require('castv2-client'); const RequestResponseController = castv2Cli.RequestResponseController; const httpClient = require('request'); const YOUTUBE_BASE_URL = 'https://www.youtube.com/'; const LOUNGE_TOKEN_URL = YOUTUBE_BASE_URL + "api/lounge/pairing/get_...
angular.module('mean.system').factory('Data',['$stateParams', function($stateParams){ var brands = { television: ['alba','aqualite','bush','cello','e-motion','lg','panasonic','toshiba','philips','sharp','samsung', 'jvc','sony','hitachi','digihome','logik','sandstrom','jmb','luxor','blaupunkt','foehn & hirsch','fur...
import numpy as onp import jax.numpy as jnp from jax import lax from flax.optim import OptimizerDef from flax import struct @struct.dataclass class _MadgradHyperParams: learning_rate: onp.ndarray beta: onp.ndarray eps: onp.ndarray weight_decay: onp.ndarray use_adamWStyle_weightDecay: onp.bool @str...
jQuery(document).ready( function($){ if($(".comments-area").size()>0){ $(".comment-form .form-submit input").addClass('btn btn-default'); $('.comment-list li .children:first-of-type').hide(); $(".show-comment-replies").on("click", function(evt){ $(evt.target).closest('article')...
'use strict' const { dialog, Menu } = require('electron') const fs = require('fs') const url = require('url') const util = require('util') const ipcMainUtils = require('@electron/internal/browser/ipc-main-internal-utils') const readFile = util.promisify(fs.readFile) const convertToMenuTemplate = function (event, it...
from easydict import EasyDict hopper_ddpg_default_config = dict( env=dict( env_id='Hopper-v3', norm_obs=dict(use_norm=False, ), norm_reward=dict(use_norm=False, ), collector_env_num=1, evaluator_env_num=8, use_act_scale=True, n_evaluator_episode=8, st...
import "@ui5/webcomponents/dist/Avatar.js"; import "@ui5/webcomponents/dist/AvatarGroup.js"; import "@ui5/webcomponents/dist/Badge"; import "@ui5/webcomponents-fiori/dist/Bar"; import "@ui5/webcomponents/dist/Button"; import "@ui5/webcomponents/dist/Calendar"; import "@ui5/webcomponents/dist/Card"; import "@ui5/webcomp...
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- ############################################################################# ## ## ## Copyright (C) 2013 Cassidian CyberSecurity SAS. All rights reserved. ## ## This document is the property of ...
// GENERATED CODE -- DO NOT EDIT! // Original file comments: // 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...
/** * @file ็ป„ไปถ้ข„็ƒญ * @author errorrik(errorrik@gmail.com) */ var ExprType = require('../parser/expr-type'); var each = require('../util/each'); var createEl = require('../browser/create-el'); var getPropHandler = require('./get-prop-handler'); var getANodeProp = require('./get-a-node-prop'); var isBrowser = require('...
import React, {useState} from "react"; import Button from '@mui/material/Button'; // import DeleteIcon from '@mui/icons-material/Delete'; export default function ItemDelete({books}) { const [updateList, setUpdateList] = useState([]); return ( <Button variant="outlined" color="error" ...
/** * js/component/pageMenu.js */ let $ = require('jquery'); let event = require('Services/event'); let ajax = require('Services/ajax'); let modal = require('Component/modal'); let notify = require('Component/notify'); let pageMenu = require('Component/pageMenu'); function loadHelp(url) { aj...
import imageio import re from pydot import Dot, Edge, Node, Subgraph class Machine: """ The abstract class for a Turing Machine. """ def __init__(self): """ Initializes the Machine object. """ self._symbols = set() self._blank_symbol = None self._states...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
(function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):e(jQuery,moment)})(function(e,t){var n={1:"เฅง",2:"เฅจ",3:"เฅฉ",4:"เฅช",5:"เฅซ",6:"เฅฌ",7:"เฅญ",8:"เฅฎ",9:"เฅฏ",0:"เฅฆ"},a={"เฅง":"1","เฅจ":"2","เฅฉ":"3","เฅช":"4","เฅซ":"5","เฅฌ":"6","เฅญ":"7","เฅฎ":"8","เฅฏ":"9","เฅฆ":"0"};(t.defineLocale||t.lang).call(t,"hi",{months:"เคœเคจเคตเคฐเฅ€_เคซเคผ...
"use strict"; exports.__esModule = true; exports.default = void 0; var _popover = _interopRequireDefault(require("./popover")); exports.BPopover = _popover.default; var _popover2 = _interopRequireDefault(require("../../directives/popover/popover")); var _plugins = require("../../utils/plugins"); function _interop...
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
(function() { angular .module('app.free') .factory('FreeFactory', FreeFactory); function FreeFactory($http, $q, $timeout){ var services = { play: play, createSeqArray: createSeqArray, cycleColumns: cycleColumns, findUnit: findUnit, timeout: timeout }; ion.sound({ ...
(function() { var controlBase = Vue.component("controls-base", { props: ["name", "value", "fields"], methods: { change: function(value) { // console.log(this.name, value); this.$emit("change", { name: this.name, value: value }); } } }); Vue.comp...