text
stringlengths
3
1.05M
from typing import Optional, Union import time import numbers from xnmt import batchers, events, logger, losses, sent, utils from xnmt.eval import metrics class AccumTimeTracker(object): def __init__(self) -> None: self.start_time = None self.accum_time = 0.0 def __enter__(self): self.start_time = ti...
describe('filter', function() { beforeEach(module('spBlogger.admin.filters')); describe('Permalink Filter Test\n', function() { it('Should Replace all spaces with hyphens and convert to lowercase', inject(function(permalinkFilter) { expect(permalinkFilter('I had 3 spaces')).toEqual('i-had-3...
import asyncio import pytest from hat import util from hat import aio from hat.drivers import tcp @pytest.fixture def addr(): return tcp.Address('127.0.0.1', util.get_unused_tcp_port()) async def test_connect_listen(addr): with pytest.raises(ConnectionError): await tcp.connect(addr) conn_queu...
from manimlib.imports import * NEW_BLUE = "#68a8e1" class Thumbnail(GraphScene): CONFIG = { "y_max": 8, "y_axis_height": 5, } def construct(self): self.show_function_graph() def show_function_graph(self): self.setup_axes(animate=False) def func(x): ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import datetime import re from collections import OrderedDict from future.backports.urllib.parse import quote_plus from saml2_tophat.config import Config from saml2_tophat.mdstore import MetadataStore, MetaDataExtern from saml2_tophat.mdstore import MetaDataMDX from saml2...
from setuptools import setup, find_packages # Always prefer setuptools over distutils from codecs import open # To use a consistent encoding from os import path here = path.abspath(path.dirname(__file__)) setup( name='common_etl', version='0.0.2', description='A sample Python project', # The proj...
const sequelize = require('../config/connection'); const { Employee, Project, Task, ProjectEmployee } = require('../models'); const employeeData = require('./employeeData.json'); const projectData = require('./projectData.json'); const taskData = require('./taskData.json'); const seedDatabase = async () => { awai...
export default function Modal () { const modalWrapper = document.querySelector('.modal-wrapper') const cancelButton = document.querySelector('.button.cancel') cancelButton.addEventListener('click', close) function open() { //funcionalidade de atribuir a classe active para a modal modalWrapper.class...
const nbayes = require('./lib/io-naivebayes'); nbayes.train('positif', 'budi alhamdulillah'); nbayes.train('negatif', 'budi suka bom'); console.log(nbayes.classify('alhamdulillah baik baik saja')); console.log(nbayes.classifyplus('bom itu meledak'));
const { Game, InvItem, Capability } = require("../../classes"); import { COMM_INTERRUP_SELECTED } from "../../../client/src/redux/actions/actionTypes"; import { SOCKET_SERVER_REDIRECT, SOCKET_SERVER_SENDING_ACTION } from "../../../client/src/constants/otherConstants"; import { GAME_INACTIVE_TAG, GAME_DOES_NOT_EXIST } f...
// A GIFBuilder based on the gifshot module import {assert} from './lib/utils/assert'; import gifshot from './libs/gifshot'; // TODO - load dynamically to avoid bloating // These are gifshot module options const GIF_BUILDER_OPTIONS = { source: 'images', width: 200, // Desired width of the image height: 200, // D...
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library o...
from distutils.core import setup, Extension demos_encrypt = Extension('demos_encrypt', sources = ['/Users/carey/Downloads/EC-ElGamal/BNsupport.cpp', '/Users/carey/Downloads/EC-ElGamal/bn_pair.cpp', '/Users/carey/Downloads/EC-ElGamal/zzn12a.cpp', '/Users/carey/Downloads/EC-ElGam...
/* eslint no-underscore-dangle: "off" */ import { Button, Checkbox, Form, Input, Select, message } from 'antd'; // import classNames from 'classnames/bind'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { createStakeholder } from '../../../../../../common/API'; import { addStak...
import { test } from '../qunit'; import { localeModule } from '../qunit-locale'; import moment from '../../moment'; localeModule('gom-deva'); test('parse', function (assert) { var i, tests = 'जानेवारी जाने._फेब्रुवारी फेब्रु._मार्च मार्च_एप्रील एप्री._मे मे_जून जून_जुलय जुल._ऑगस्ट ऑग._सप्टेंबर ...
import itertools from microbenchmarks._metric import MetricType from microbenchmarks._utils import get_ti_arch, tags2name import taichi as ti class Funcs(): def __init__(self): self._funcs = {} def add_func(self, tag_list: list, func): self._funcs[tags2name(tag_list)] = {'tags': tag_list, '...
/** @namespace x3dom.nodeTypes */ /* * X3DOM JavaScript Library * http://www.x3dom.org * * (C)2009 Fraunhofer IGD, Darmstadt, Germany * Dual licensed under the MIT and GPL */ /* ### FontStyle ### */ x3dom.registerNodeType( "FontStyle", "Text", defineClass(x3dom.nodeTypes.X3DFontStyleNode, ...
import { API_V1 } from '../../../../lib/util/Constants'; import { list as mockList, offlineActivityInstance as mockInstance, activitiesPage0 as mockPage0, activitiesPage1 as mockPage1 } from '../../../mock/Activities'; import { token } from '../../../mock/Token'; import { WorkerConfig } from '../../../mock/WorkerConfig...
#------------------------------------------ EXTRACT DATA FROM pdf_json ------------------------------------------------- # # Insert cite spans from json files into our database, # primary key(paper_id,ref_id), foreign key:(paper_id) # we are going to have 6 columns: paper_id, paragraph_number,start_text, end_text,...
var app = angular.module("ToDoApp") app.controller("AddTaskController", function ($scope, TaskDbService, $location, UserDbService) { if (!UserDbService.isAuthenticated()) { $location.path('/login') } $scope.task = TaskDbService.newTask(); $scope.isNew = true; $scope.saveTask = function () { TaskDbSe...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
from flask import current_app as app class userProductReview: def __init__(self, product_id, product_name, seller_id, seller_fname, seller_lname, num_stars, date, description, upvotes, images): self.product_id = product_id self.product_name = product_name self.seller_id = seller_id ...
# -*- coding: utf-8 -*- import re def replace(input): output = input output = re.sub(u'\u1000', u'\u0075', output) # ka_gyi output = re.sub(u'\u1001', u'\u0063', output) # ka_kway output = re.sub(u'\u1002', u'\u002a', output) # ga_nge output = re.sub(u'\u1003', u'\u0043', output) # ga_gyi ...
app.controller("HomeController", function ($scope,$http,$location,$stateParams,$window) { $scope.init = function () { $http.get(apiUrl + '/posts') .then(function (res) { $scope.posts = res.data.data.posts; $scope.viewby = 10; $scope.totalItems = $s...
macDetailCallback("58e876200000/28",[{"a":"Riddargatan 18 Stockholm SE 11451","o":"Coala Life AB","d":"2016-05-15","t":"add","s":"ieee","c":"SE"}]);
import React from 'react' import Helmet from 'react-helmet' const Head = ({title, description, url}) => ( <Helmet title={title}> <meta name='description' content={description} /> <link rel='apple-touch-icon' sizes='180x180' href='/favicon/apple-touch-icon.png' /> <link rel='icon' type='image/png' sizes=...
/* Magic Mirror * Module: MMM-Farevarsel * * By mabahj * MIT Licensed * Based on MMM-Rest by Dirk Melchers */ var NodeHelper = require('node_helper'); var request = require('request'); var Parser = require('rss-parser'); // https://www.npmjs.com/package/rss-parser module.exports = NodeHelper.create({ start...
import React, { useState, useEffect, useRef } from 'react'; import { Button, makeStyles } from '@material-ui/core'; import {useSelector,useDispatch} from 'react-redux'; import Notify from '@customComponent/Notify'; import CompContainer from '@customComponent/CompContainer'; import {ListGroupItem1} from '@customComponen...
module.exports = [ { active: false, title: "DSL (2Mbs, 5ms RTT)", id: "dsl", speed: 200, latency: 5, urls: [], order: 1 }, { active: false, title: "4G (4Mbs, 20ms RTT)", id: "4g", speed: 400, ...
/*! * DevExtreme (dx.messages.it.js) * Version: 19.2.5 * Build date: Mon Dec 16 2019 * * Copyright (c) 2012 - 2019 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; ! function(root, factory) { if ("function" === typeof define &...
var fs = require('fs') var path = require('path') var mr = require('npm-registry-mock') var test = require('tap').test var common = require('../common-tap') var server var pkg = common.pkg var cache = common.cache var json = { name: 'prune', description: 'fixture', version: '0.0.1', main: 'index.js', depe...
const User = require('../models/User'); const encryption = require('../utilities/encryption'); const passport = require('passport'); module.exports = { register: { post: (req, res) => { let userData = req.body; if (userData.password && userData.password !== userData.confirmedPasswor...
from __future__ import print_function import numpy as np import torch def write_data(filename, data): with open(filename, 'w') as fw: for e in data: fw.write(str(e)) fw.write("\n") def read_data(filename): with open(filename, 'r') as fr: result = fr.readlines() ...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose")); var _extends2 = _interopRequireDefault...
require('./bootstrap'); import $ from 'jquery'; window.jQuery = $; window.$ = $; import Alpine from 'alpinejs'; window.Alpine = Alpine; Alpine.start();
import arrow from django.db import models from django.utils.translation import ugettext_lazy as _ from common.models import Address, User, Company from common.utils import CURRENCY_CODES from accounts.models import Account from phonenumber_field.modelfields import PhoneNumberField from teams.models import Teams class...
import { STRICT } from '../helpers/constants'; import Symbol from 'core-js-pure/features/symbol'; import filterReject from 'core-js-pure/features/array/filter-reject'; QUnit.test('Array#filterReject', assert => { assert.isFunction(filterReject); let array = [1]; const context = {}; filterReject(array, functio...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M22 2H2.01L2 22l4-4h16V2zm-9 12h-2v-2h2v2zm0-4h-2V6h2v4z" /> , 'FeedbackSharp');
OC.L10N.register( "files_trashbin", { "Deleted files" : "Izbrisane datoteke", "restored" : "obnovljeno", "This application enables users to restore files that were deleted from the system." : "Program omogoča uporabniku obnovitev datotek, ki so bile predhodno izbrisane iz sistema.", "This applic...
import a from '@/import-a' console.log(a.b);
const { ReactStateManagement, VueStateManagement, AngularStateManagement } = require("./StateManagement"); const Parser = require("./JavascriptManagement"); const {transform} = require("@babel/core"); /** * React Compiler * * Function that take the HTML string and translate to React * * @param {string} name Com...
$(function () { // when docs ready call data table var type = $('#scriptDefinition').data('type'); var targetURL = 'getCouncielDefinitionAjax'; var lang = $('#scriptDefinition').data('lang'); if(lang == 'ar'){ var arabicLanguage = { "sProcessing": "جارٍ التحميل...", ...
const jwt = require("jsonwebtoken"); const mongoose = require("mongoose"); const User = mongoose.model("User"); module.exports = (req, res, next) => { const { authorization } = req.headers; if (!authorization) { return res.status(401).json({ error: "you must be logged in" }); } const token = authorization.r...
// @ts-nocheck /* :: import type { Window } from '../types'; */ /* :: declare function getWindow(node: Node | Window): Window; */ /** * @param node */ export default function getWindow(node) { if (node.toString() !== '[object Window]') { const ownerDocument = node.ownerDocument; return ownerDocume...
'use strict'; // Partytypes module config angular.module('partytypes').run(['Menus', function(Menus) { // Set top bar menu items Menus.addMenuItem('topbar', 'Party type', 'partytypes', 'dropdown', 'partytypes(/create)?', false, ['admin']); Menus.addSubMenuItem('topbar', 'partytypes', 'List partytypes', 'partyty...
import requests from bs4 import BeautifulSoup import os import sys import configparser import re import concurrent.futures from tqdm import tqdm import dhash from PIL import Image from time import sleep import gettext #Initialisation global date global resolution global hash_keys global duplicates du...
/** * Theme: Metrica - Responsive Bootstrap 4 Admin Dashboard * Author: Mannatthemes * chartist Js */ //smil-animations Chart var chart = new Chartist.Line('#smil-animations', { labels: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], series: [ [12, 9, 7, 8, 5, 4, 6, 2, 3, 3, 4, 6], ...
const path = require('path'); const merge = require('webpack-merge'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const TerserPlugin = require('terser-webpa...
!function(a){var e={};function t(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return a[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}t.m=a,t.c=e,t.d=function(a,e,i){t.o(a,e)||Object.defineProperty(a,e,{configurable:!1,enumerable:!0,get:i})},t.n=function(a){var e=a&&a.__esModule?function(){return ...
'use strict' var tap = require('tap') var invnum = require('../index') tap.equal( invnum.next('Abc0~`!@#$%^&*()+={}[]|"\'<>?001'), 'ABC0002', 'Next invoice number' ) tap.equal( invnum.next('xjsiwe234njshd6'), 'XJSIWE234NJSHD7', 'Next invoice number' ) tap.equal( invnum.next('899ZZZ9'), '900AAA0', 'Next ...
'use strict'; angular.module('nodeAngularAppApp').config(function($urlRouterProvider,$stateProvider,$httpProvider) { $urlRouterProvider.otherwise('/'); $stateProvider.state('main', { url: '/', templateUrl: '/views/main.html' }) .state('register', { url: '/register', controller : 'Regi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformArguments = void 0; function transformArguments() { return ['MEMORY', 'MALLOC-STATS']; } exports.transformArguments = transformArguments;
const fetch = require("node-fetch") /** * * @param {String} discordId * @returns {boolean | object} */ async function findRobloxInfo(discordId) { const url = `https://verify.eryn.io/api/user/${discordId}` const response = await fetch(url) const data = await response.json() if (data.errorCod...
import {camera, renderer, scene, controls} from './renderer.js'; import {viewCamera, viewRenderer, viewScene} from './viewBox.js'; import {status} from './status.js'; import {nowPath, chokokuPath, pointCircles, mouseX, mouseY} from './pathCanvas.js'; let removeCursorPath = false; export function render() { requestAn...
var controller = require('../controllers/index.controller.js'); module.exports = function (app) { app.get('/', controller.render); };
# Copyright (C) 2010-2011 Richard Lincoln # # 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, publish...
export default { name: 'StateUpdate', props: { value: { type: String, default: '', }, }, watch: { value(current) { this.$nextTick(() => { this.$emit('change', current); }); }, }, };
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SparkLine = void 0; var tslib_1 = require("tslib"); var react_1 = tslib_1.__importDefault(require("react")); var locale_1 = require("../locale"); var theme_1 = require("../theme"); var SparkLine = /** @class */ (function (_super) { ...
from django.db import models from django.contrib.auth.models import User import datetime as dt from django.db.models import Q class Profile(models.Model): user= models.OneToOneField(User, on_delete=models.CASCADE) profile_picture =models.ImageField(upload_to= 'profiles/', blank=True, default='profiles/default....
#!/usr/bin/env node var path = require('path'), fs = require('fs'), extend = require('util')._extend, exec = require('child_process').exec, processes = []; var baseDir = path.resolve(__dirname, '..'), srcDir = path.resolve(baseDir, ''), chimpBin = path.resolve(baseDir, 'node_modules/.bin/chimp'...
import re import os import requests import json import dateparser import datetime import logging from .models import TagFilter TAG_FILTERS_JSON_CONF_FILE_PATH = os.getenv( "TAG_FILTERS_JSON_CONF_FILE_PATH", "/etc/nightwatch/tag-filters.json") class NotSupportedRegistry(Exception): def __init__(self, message...
import { getSvg, handleQuery } from "components/utils/client.js"; import gitee from "components/apis/gitee.js"; import defaultSubject from "components/apis/gitee/subject"; import defaultColor from "components/apis/gitee/color"; export default async (req, res, hasParam) => { res.statusCode = 200; res.setHeader("Con...
/* * JsSIP v0.7.9 * the Javascript SIP library * Copyright: 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan) * Homepage: http://jssip.net * License: MIT */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&def...
/** * Coinsecure Api Documentation * To generate an API key, please visit <a href='https://coinsecure.in/api' target='_new' class='homeapi'>https://coinsecure.in/api</a>.<br>Guidelines for use can be accessed at <a href='https://api.coinsecure.in/v1/guidelines'>https://api.coinsecure.in/v1/guidelines</a>.<br>Programm...
import _curry3 from './internal/_curry3.js'; /** * Takes a function and two values, and returns whichever value produces the * larger result when passed to the provided function. * * @func * @memberOf R * @since v0.8.0 * @category Relation * @sig Ord b => (a -> b) -> a -> a -> a * @param {Function} f * @par...
import Script from 'next/script' export default function Inline() { return ( <> {/* Attributes are forwarded */} <Script src="https://www.google-analytics.com/analytics.js" id="analytics" nonce="XUENAJFW" data-test="analytics" /> <main> <h1>Forward...
(self.webpackChunkwar3tool=self.webpackChunkwar3tool||[]).push([[925],{7925:(e,n,t)=>{"use strict";t.r(n),t.d(n,{ToBlp:()=>c,default:()=>s}),t(1131);var r=t(8465),o=t(7294),a=t(3690);function l(){return(l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.h...
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from __future__ import unicode_literals from ..preprocess import SliceTiming def test_SliceTiming_inputs(): input_map = dict( ignore_exception=dict( deprecated='1.0.0', nohash=True, usedefault=True, ), ...
/* * Universal tageditor for Jeditable * * Copyright (c) 2008 Mika Tuupola * * Licensed under the MIT license: * http://www.opensource.org/licenses/mit-license.php * * Depends on jTagEditor jQuery plugin by Jay Salvat: * http://www.jaysalvat.com/jquery/jtageditor/ * * Project home: * http://www.appel...
import React from 'react'; import PropTypes from "prop-types"; import Typography from "../Typography/Typography"; import { DropDown } from '../AppointmentDetail/AppointmentDetail'; import "../AppointmentDetail/styles.scss"; import "./styles.scss"; const insurance = { description: 'Delta Dental - PPO', items: [ ...
define(['util/promise'], function() { return new Promise(function(resolve) { require([ 'text!../test/unit/mocks/ontology.json', 'data/web-worker/services/ontology', 'data/web-worker/util/ajax' ], function(json, ontology, ajax) { // Hack ontology for te...
import template from './sw-settings-snippet-filter-switch.html.twig'; import './sw-settings-snippet-filter-switch.scss'; const { Component } = Shopware; Component.register('sw-settings-snippet-filter-switch', { template, props: { label: { type: String, required: false, ...
import { headingPreview, subheaderPreview, headingTitle, } from "../../locators/heading"; import { helpIcon, link, getDataElementByValue } from "../../locators"; Then("heading children on preview is {word}", (children) => { headingPreview().invoke("text").should("contain", children); }); Then("heading title i...
import unittest import calc class TestCalc(unittest.TestCase): def test_add(self): self.assertEqual(calc.add(10,2),12) self.assertEqual(calc.add(-1,2),1) self.assertEqual(calc.add(-10,-2),-12) self.assertEqual(calc.add(19,0),19) def test_sub(self): ...
import PropTypes from 'prop-types'; import React, { PureComponent } from 'react'; import { Animated } from 'react-native'; import styles from './styles'; export default class Label extends PureComponent { static defaultProps = { numberOfLines: 1, disabled: false, restricted: false, }; static propTy...
/** * The `lockedgrid` component manages one or more child `grid`s that independently scroll * in the horizontal axis but are vertically synchronized. The end-user can, using column * menus or drag-drop, control which of these {@link #cfg!regions regions} contain which * columns. * * ## Locked Regions * * The `...
var crypto = require("crypto"); module.exports = function (app) { const algorithm = app.parameters.encryption.algorithm; const secret = app.parameters.encryption.secret; const inputEncoding = app.parameters.encryption.inputEncoding; const outputEncoding = app.parameters.encryption.outputEncoding; ...
import subprocess, wget, os, shutil, sys, glob if not os.path.exists('swig-scilab'): subprocess.call('git clone https://github.com/swig/swig.git -b gsoc2012-scilab swig-scilab', shell = True, stdout = sys.stdout, stderr = sys.stderr) else: subprocess.call('git pull', shell = True, cwd = 'swig-scilab', stdout = sys.s...
const NavBar = () => { return ( <div> <div></div> <div></div> </div> ) } export default NavBar
import React from 'react' import { Link, graphql, useStaticQuery } from 'gatsby' import Layout from '../components/layout' const Template = ({ data }) => { const post = data.markdownRemark return ( <Layout> <Link to='/blog'>Go back to blogs</Link> <hr/> <h1>{post.frontmatter.title}</h1> ...
"use strict"; /* * @Author: Kanata You * @Date: 2021-11-18 21:54:08 * @Last Modified by: Kanata You * @Last Modified time: 2022-01-18 00:08:28 */ Object.defineProperty(exports, "__esModule", { value: true }); const globals_1 = require("@jest/globals"); const extra_semver_1 = require("./extra-semver"); (0, gl...
def flatten(l): return [item for sublist in l for item in sublist]
import React from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; import { connect } from 'react-redux'; import { FormattedMessage, injectIntl, intlShape } from '../../util/reactIntl'; import { isScrollingDisabled } from '../../ducks/UI.duck'; import { TopbarContainer } from '../../contain...
import React from "react"; function FormErrors(props) { if ( props.formerrors && (props.formerrors.blankfield || props.formerrors.passwordmatch) ) { return ( <div className="error container mt-2 invalid"> <div className="row justify-content-center"> {props.formerrors.passwordmat...
function ProductCtrl(ProductsService, AppSettings, $stateParams, CartService) { 'ngInject'; const vm = this; vm.imageBaseUrl = AppSettings.cdnBaseUrl; vm.productName = $stateParams.productName; vm.addToCart = CartService.addToCart; vm.quantity = 1; vm.getAvailability = function() { return ...
// @flow export * from './ScreenStyle' export * from './common/CenteredSpinnerStyle' export * from './common/ButtonStyles' export * from './common/InputStyles' export * from './common/LogoImageStyles' export * from './common/FormFieldStyle' export * from './common/CheckboxStyles' export * from './common/HeaderStyles' ...
from importlib import import_module from typing import Callable def load_handler(handler_id: str) -> Callable: *module_path_elements, object_name = handler_id.split(".") module = import_module(".".join(module_path_elements)) return getattr(module, object_name)
Clazz.declarePackage ("javajs.api"); c$ = Clazz.declareType (javajs.api, "Interface"); c$.getInterface = Clazz.defineMethod (c$, "getInterface", function (name) { try { var x = Clazz._4Name (name); return (x == null ? null : x.newInstance ()); } catch (e) { if (Clazz.exceptionOf (e, Exception)) { System.out.println ("...
'use strict'; // Declare app level module which depends on views, and components angular.module('carrefourApp', [ 'ngRoute', 'myApp.login' ]). config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); $routeProvider.otherwise({ redi...
/*! jQuery Fancytree Plugin - 2.34.0 - 2019-12-26T14:16:19Z * https://github.com/mar10/fancytree * Copyright (c) 2019 Martin Wendt; Licensed MIT */ /*! jQuery UI - v1.12.1 - 2018-05-20 * http://jqueryui.com * Includes: widget.js, position.js, keycode.js, scroll-parent.js, unique-id.js * Copyright jQuery Foundation...
let handler = async(m) => { let donasi = `${ucapan()}... Have a great day ╭━━•›ꪶ ཻུ۪۪ꦽꦼ̷⸙ ━ ━ ━ ━ ꪶ ཻུ۪۪ꦽꦼ̷⸙‹•━━╮ ┃╭┈─────────────⩵꙰ཱི࿐ ┃╰──*DONATE*──➤ ↶↷* ╰•͙✩̣̣ ${namabot} ⁙┃ ુོ DANA : 0888-2611-841 ⁙┃ ુོ OVO : 0888-2611-841 ⁙┃ ⁙┃ ુོ SAWERIA : https://saweria.co/irwanx...
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/App'; import HomePage from './components/home/HomePage'; import AboutPage from './components/about/AboutPage'; import CoursesPage from './components/course/CoursesPage'; export default ( <Route path="/" compone...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.messages = exports.ruleName = undefined; exports.default = function (actual) { return function (root, result) { var validOptions = (0, _utils.validateOptions)(result, ruleName, { actual: actual }); if (!validOptions) { ...
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || function (decora...
import React from 'react'; import {createPortal} from 'react-dom'; import {propTypes, defaultProps} from './PopoverPropTypes'; import CONST from '../../CONST'; import Modal from '../Modal'; import withWindowDimensions from '../withWindowDimensions'; /* * This is a convenience wrapper around the Modal component for a ...
/*global QUnit*/ sap.ui.define([ "sap/gantt/shape/Text", "sap/gantt/config/Shape", "sap/gantt/config/TimeHorizon", "sap/gantt/GanttChart" ], function (Text, ShapeConfig, TimeHorizon, GanttChart) { "use strict"; QUnit.module("Create Shape by GanttChart without properties configured.", { beforeEach: function () ...
const express = require('express') const google = require('googleapis').google const youtube = google.youtube({ version: 'v3' }) const OAuth2 = google.auth.OAuth2 const state = require('./state.js') const fs = require('fs') async function robot() { console.log('> [youtube-robot] Starting...') const content = s...
'use strict'; var Alexa = require('alexa-sdk'); var GoogleMapsAPI = require('googlemaps'); // json files var cities = require('cities.json'); var promptPhrases = require('promptPhrases.json'); var GOOGLE_API_KEY = 'AIzaSyCXNeYsacckhQ5e3Kp5f-4ZJez_si5gQYY'; var APP_ID = "amzn1.ask.skill.bdb46a77-6e06-4e5e-8e7f-5f67d14...
<!doctype html> <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]--> <!--[if IE 10]><html class="ie10" lang="en" > <![endif]--> <html class="no-js" lang="en" data-useragent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)"> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=de...
from ..call_rest import call_rest from .get_folder import get_folder def create_folder(path, auth={}): headers = { 'Content-Type': 'application/vnd.sas.content.folder+json', 'Accept': 'application/vnd.sas.content.folder+json' } folder_structure = path.split("/") folder_structure.pop(0)...