text stringlengths 3 1.05M |
|---|
var searchData=
[
['dealer',['dealer',['../classjp_1_1gr_1_1java__conf_1_1yuta__yoshinaga_1_1java__trumpcards_1_1_black_jack.html#a01acee20012cd234246a1b058cc9d8c0',1,'jp::gr::java_conf::yuta_yoshinaga::java_trumpcards::BlackJack']]],
['dealerhit',['dealerHit',['../classjp_1_1gr_1_1java__conf_1_1yuta__yoshinaga_1_1... |
/**
* @fileoverview Implements x86 video hardware
* @author Jeff Parsons <Jeff@pcjs.org>
* @copyright © 2012-2020 Jeff Parsons
* @license MIT <https://www.pcjs.org/LICENSE.txt>
*
* This file is part of PCjs, a computer emulation software project at <https://www.pcjs.org>.
*/
import Monitor from "../../modules/m... |
/*global define*/
define([
'../ThirdParty/when',
'./defaultValue',
'./defined',
'./DeveloperError',
'./isCrossOriginUrl'
], function(
when,
defaultValue,
defined,
DeveloperError,
isCrossOriginUrl) {
"use strict";
... |
import React, { Component } from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faTwitterSquare, faLinkedin, faGithub } from '@fortawesome/free-brands-svg-icons';
//import './social.css';
const iconLinkedin = (
<FontAwesomeIcon icon={faLinkedin} className="fa-fw fa-lg" />
);
cons... |
'use strict';
/**
* Execute Order
* @param {object} headers
* @param {string} accountId
* @param {string} orderId
* @return {object} data
*/
const request = require('superagent');
const endpoints = require('../util/endpoints');
module.exports = (headers, account_id, order_id) => {
const endpoint = endpoint... |
import streamlit as st
from pages import page_exploration, page_resultados
st.title("Prototipo Pacientes")
play = st.sidebar.checkbox('Exploration mode')
try:
if play:
page_exploration()
else:
page = st.sidebar.selectbox('Pagina',['Serologia Comunitario',
... |
from nlengine import nlengine #for natural language processing
from flask import Flask,request,jsonify
from query import queryrunner #for database access
import json
import sys
app = Flask(__name__)
@app.route('/',methods=['GET','POST'])
def send_recieve():
if request.method=='POST':
#if there... |
import re
import os
import sys
import json
import logging
import platform
import amazon_pay.ap_region as ap_region
import amazon_pay.version as ap_version
from amazon_pay.payment_request import PaymentRequest
from fileinput import filename
class AmazonPayClient:
logger = logging.getLogger('__amazon_pay_sdk__')
... |
/**
* @file SDK to connect to Tinode chat server.
* See <a href="https://github.com/tinode/webapp">
* https://github.com/tinode/webapp</a> for real-life usage.
*
* @copyright 2015-2019 Tinode
* @summary Javascript bindings for Tinode.
* @license Apache 2.0
* @version 0.16
*
* @example
* <head>
* <script src... |
# Copyright (c) 2020, Apple Inc. All rights reserved.
#
# Use of this source code is governed by a BSD-3-clause license that can be
# found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
import pytest
import itertools
import numpy as np
import copy
# import mil internal ops to add it to... |
import React from "react";
import styled from "styled-components";
import FooterLink from "./FooterLink";
import colours from "../styles/Colours";
import devices from "../styles/Devices";
import Instagram from "../assets/images/Instagram.svg";
import Facebook from "../assets/images/Facebook.svg";
import Twitter from ".... |
import matplotlib.pyplot as plt
import numpy as np
import astropy.units as u
from astropy.table import Table
from cta_tools.utils import get_value
def compare_rates(counts1, counts2, bins, l1=None, l2=None):
"""
should be able to use it to plot rates against time as well with manual bins
"""
fig = plt... |
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
// VARIABLES GLOBALES
var pu... |
from pathlib import Path
SRC_DIR = Path(__file__).parent / 'docker-src'
ROOT_DIR = Path.home() / '.xnat4tests'
ROOT_DIR.mkdir(exist_ok=True)
BUILD_DIR = ROOT_DIR / 'build'
XNAT_ROOT_DIR = ROOT_DIR / 'xnat_root'
XNAT_MNT_DIRS = [
'home/logs', 'home/work', 'build', 'archive', 'prearchive']
DOCKER_IMAGE = 'xnat4tests... |
/* Copyright 2018-present Samsung Electronics Co., Ltd. and other contributors
*
* 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
*
* U... |
import BuyMe from "./BuyMe";
const ThanksForPlaying = () => (
<>
<div className="card">
<div className="text">
Thanks for playing Spyfall!
<br />
If you had fun, try my other game:
</div>
<a
href="https://drawphone.tannerkrewson.com/"
target="_blank"
rel="noopener noreferrer"
>
... |
from src.algorithm import ID3
class Classifier:
def __init__(self, algorithm):
self.algorithm = algorithm
self.model = None
def train(self):
self.model = self.algorithm.train()
def classify(self, element, vote=False):
if vote:
clazz, prob = self.algorithm.speci... |
# (C) Datadog, Inc. 2018-present
# All rights reserved
# Licensed under a 3-clause BSD style license (see LICENSE)
from __future__ import division
import re
import time
from copy import deepcopy
from distutils.version import LooseVersion
import pymongo
from six import PY3, iteritems, itervalues
from six.moves.urllib.... |
import { shallowMount, mount } from "@vue/test-utils";
import PrefectureList from "@/components/PrefectureList.vue";
import BaseCheckbox from "@/components/Base/BaseCheckbox.vue";
import flushPromises from "flush-promises";
jest.mock("axios");
import { setPattern } from "axios";
setPattern(0);
describe("PrefectureL... |
import moment from "moment";
import React, { useEffect } from "react";
import { Editor, EditorState,convertToRaw, convertFromRaw } from 'draft-js';
import 'draft-js/dist/Draft.css';
import { useState } from "react";
const Relatorio = ({ retorna, values, putRelatorio }) => {
const [editorState, setEditorState] = u... |
"""Send Slack message to gather information.
"""
import os
from typing import Dict, Any
import slack
DEFAULT_DOG_NAME = 'Rudi'
SLACK_TOKEN = os.environ['SLACK_API_TOKEN']
SLACK_CLIENT = slack.WebClient(
token=SLACK_TOKEN,
timeout=10,
)
USER_ID_TO_GATHER_INFORMATION_FROM = os.environ['USER_ID']
DOG_NAME =... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.0.4
*/
(function( window, angular, undefined ){
"use strict";
/**
* Initialization function that validates environment
* requirements.
*/
angular
.module('material.core', [
'ngAnimate',
'material.core.animate',
... |
module.exports={A:{A:{"2":"J E F G A B lB"},B:{"1":"N O P Q R U V W X Y Z a b c S d e H","2":"C K L D M"},C:{"1":"5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB eB KB fB LB MB T NB OB PB QB RB SB TB UB VB WB XB YB ZB aB P Q R nB U V W X Y Z a b c S d e H gB","2":"mB dB I f J E F G A B C K L D M N O g h i j k l m n o p oB pB",... |
import { light, dark } from './color-modes'
const colors = {
mode: {
light,
dark,
},
transparent: 'transparent',
current: 'currentColor',
black: '#000000',
white: '#ffffff',
whiteAlpha: {
50: 'rgba(255, 255, 255, 0.04)',
100: 'rgba(255, 255, 255, 0.06)',
200: 'rgba(255, 255, 255, 0.08... |
/**
* @component Toast
* @version 3.0.0
* @description 面包屑提示组件,页面居中显示一条提示信息。
*
* - 是一个对象,包含show/hide函数,支持简单的链式调用。
* - 通过调用show函数打开组件,默认显示2s。
* - 通过调用hide函数立刻关闭组件。
*
* @instructions {instruInfo: ./toast.md}{instruUrl: toast.html?hideIcon}
* @author qingguo.xu
*/
import React, { Component } from 'react';
impor... |
import {
getCommonHeader,
getTextField,
getSelectField,
getCommonContainer,
getCommonSubHeader,
getLabel,
getPattern
} from "egov-ui-framework/ui-config/screens/specs/utils";
import { showHideAdhocPopup } from "../../utils";
import {
handleScreenConfigurationFieldChange as handleField,
prepareFinalObj... |
/*
* Copyright 2000-2017 JetBrains s.r.o.
* 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 { createBasePlugin } from 'wix-rich-content-editor-common';
import { VERTICAL_EMBED_TYPE, DEFAULTS } from './constants';
import VerticalEmbedComponent from './components/vertical-embed-component';
import createToolbar from './toolbar';
const createVerticalEmbedPlugin = (config = {}) => {
const type = VERTICA... |
import React from 'react'
import { Link, graphql, useStaticQuery } from "gatsby"
import headerStyles from './header.module.scss'
export default function Header() {
const data = useStaticQuery(graphql`
query {
site {
siteMetadata {
title
}
}
}
`)
return (
<header className={... |
/*
* Created by sv2 on 3/15/17.
* swagger-stats utilities
*/
'use strict';
var util = require('util');
// swagger-stats supported options
module.exports.supportedOptions = {
// Name. Defaults to hostname if not specified
name : "name",
// Version
version : "ver... |
import Document, { Head, Html, Main, NextScript } from 'next/document'
import { ServerStyleSheet } from 'styled-components'
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
const sheet = new ServerStyleSheet()
const originalRenderPage = ctx.renderPage
try {
ct... |
# 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.
# C... |
import { Layout, Menu, Breadcrumb, Icon } from 'antd';
import Link from 'umi/link';
import style from './style.less';
const { SubMenu } = Menu;
const { Header, Content, Sider } = Layout;
export default ({ children }) => {
return (
<Layout className={style.layout}>
<Sider width={200} className={style.sider... |
const express = require("express");
const router = express.Router();
const mongoose = require('mongoose');
const Employee = require('../models/employee');
/*This is to get all the employees list and we customized sent only selected values*/
router.get('/', (req, res, next) => {
Employee.find()
.select('emp... |
var data;
GetData = async () => {
data = await fetch("/data").then((r) => r.json());
return data;
};
async function postData(data = {}) {
const dataVenues = await fetch("/venues", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify(data),
}).then((r) =... |
const config = {
testEnvironment: 'jest-environment-jsdom',
preset: "ts-jest",
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
// testEnvironment: "node",
transform: {
"^.+\\.ts?$": "ts-jest",
},
transformIgnorePatterns: ["<rootDir>/node_modules/"],
};
module.exports = config;
|
#!/usr/bin/env python
try:
from sugar.activity import bundlebuilder
bundlebuilder.start()
except ImportError:
print 'Cannot find a working sugar environment'
|
import React from "react"
export const headline1 = props => {
return <h1 className="toc-ignore">{props.children}</h1>
}
export const headline2 = props => {
return <h2 className="toc-ignore">{props.children}</h2>
}
export const headline3 = props => {
return <h3 className="toc-ignore">{props.children}</h3>
}
|
import React from 'react';
import CssBaseline from '@material-ui/core/CssBaseline';
import Typography from '@material-ui/core/Typography';
import Container from '@material-ui/core/Container';
import Paper from '@material-ui/core/Paper';
import { makeStyles } from '@material-ui/core/styles';
import Button from '@materi... |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'C:\Documents and Settings\John Creson\My Documents\maya\QtUi\makeStuff.ui'
#
# Created: Fri Feb 23 23:26:21 2007
# by: PyQt4 UI code generator 4.1.1
#
# WARNING! All changes made in this file will be lost!
import sys
from PyQt4 import ... |
/**
* Class representing a remote Fedora-based repository.
*/
/**
* WordPress dependencies.
*/
import apiFetch from '@wordpress/api-fetch';
/**
* External dependencies
*/
import parser from 'xml-js';
/**
* Represents a remote Fedora-based repository.
*
* Intended to be a general wrapper for the Fedora API, ... |
//Test 1
import { convertToRoman } from './../src/roman-numerals.js'
describe('convertToRoman', () => {
test('should correctly convert numbers to roman numerals', () => {
var toRoman = convertToRoman(1);
console.log(toRoman);
expect(toRoman).toEqual("I");
});
test('can not be more than three same sy... |
var UsersList = Backbone.View.extend({
el: '.users',
initialize: function () {
this.initTooltips();
},
initTooltips: function () {
var _this = this;
this.$el.find('.user').each(function (index, el) {
_this.initTooltipByUser($(el));
});
},
initTooltipBy... |
import {
insertNode,
} from './tree-data-utils';
import {
memoizedInsertNode,
} from './memoized-tree-data-utils';
describe('insertNode', () => {
it('should handle empty data', () => {
const params = {
treeData: [],
depth: 0,
minimumTreeIndex: 0,
new... |
import React, { useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Grid from '@material-ui/core/Grid';
import List from '@material-ui/core/List';
import Card from '@material-ui/core/Card';
import CardHeader from '@material-ui/core/CardHeader';
import ListItem from '@material-ui/core/... |
from butiran.vect3 import Vect3 |
log_level = 'INFO'
load_from = None
resume_from = None
dist_params = dict(backend='nccl')
workflow = [('train', 1)]
checkpoint_config = dict(interval=5, create_symlink=False)
evaluation = dict(interval=10, metric='mAP', key_indicator='AP')
optimizer = dict(
type='Adam',
lr=5e-4,
)
optimizer_config = dict(grad_... |
var util = require("util")
, EventEmitter = require("events").EventEmitter
, Promise = require("bluebird")
, proxyEventKeys = ['success', 'error', 'sql']
, Utils = require('../utils')
var bindToProcess = function(fct) {
if (fct && process.domain) {
return process.domain.bind(f... |
import numpy as np
#======================================================================================#
# Interaction Matrix Definition #
# s is the feature.
# cam is camera matrix
# Z is depth information of dimensions(p*q)
#======================================================================================#
d... |
module.exports = function (error, _, response, next) {
if (error) {
console.error(error);
response
.status(500)
.json({
error: error.message
})
} else {
return next();
}
} |
import React from 'react'
import {connect} from 'react-redux'
import WYSIWYGeditor from '../../components/articles/WYSIWYGeditor'
import {stateToHTML} from 'draft-js-export-html'
import {bindActionCreators} from 'redux'
import {Link} from 'react-router'
import articleActions from '../../actions/article'
import RaisedBu... |
var searchData=
[
['operator_28_29',['operator()',['../classscots_1_1_enf_pre.html#af0b723246ff1f6ed85c475bd5acc9cf4',1,'scots::EnfPre']]]
];
|
""".. Ignore pydocstyle D400.
=============
Flow Managers
=============
Workflow workload managers.
.. data:: manager
The global manager instance.
:type: :class:`~resolwe.flow.managers.dispatcher.Manager`
.. automodule:: resolwe.flow.managers.dispatcher
:members:
.. automodule:: resolwe.flow.managers.... |
var ghostBookshelf = require('./base'),
App,
Apps;
App = ghostBookshelf.Model.extend({
tableName: 'apps',
saving: function (newPage, attr, options) {
/*jshint unused:false*/
var self = this;
ghostBookshelf.Model.prototype.saving.apply(this, arguments);
if (this.hasCha... |
var express = require('express');
var fs = require('fs');
var router = express.Router();
var connection = require('../index.js').connection;
let { PythonShell } = require('python-shell');
router.post("/show_all_mylist", function (req, res, next) {
var recv_uID = req.body.uID;
var SQL = 'SELECT p_code, tit... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{vpaw:function(l,n,e){"use strict";e.r(n);var u=e("CcnG"),t=e("lHUG");Object(t.a)("fr",t.d);var o=function(){return function(){}}(),i=e("pMnS"),a=e("73KY"),r=e("fSqE"),s=e("Ip0R"),c=e("xtZt"),d=e("lqqz"),p=e("Bi9T"),g=e("sivw"),f=e("6m5y"),m=e("Tw24"),h=e("tVhE")... |
/****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 th... |
import React, { Component, PropTypes } from 'react';
import styles from './Edit.css';
export default class Edit extends Component {
checkEnter = (e) => {
if (e.key === 'Enter') {
this.finishEdit(e);
}
}
finishEdit = (e) => {
const value = e.target.value;
if (this.props.onUpdate) {
th... |
export default () => ({
textField: {
},
});
|
import kol.Error as Error
from GenericRequest import GenericRequest
from kol.manager import PatternManager
import hashlib
class LoginRequest(GenericRequest):
"""
A request to login to The Kingdom of Loathing. This class will look for various login
errors. If any occur, than an appropriate exception is rai... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var React = _interopRequireWildcard(r... |
/* Copyright 2017 Infor
*
* 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... |
# -*- coding: utf-8 -*-
from django.db import models
from django.contrib import admin
import sys
# Create your models here.
class UserData(models.Model):
# 유저 아이디 (카톡아이디).
UserID = models.CharField(max_length=40, blank = True, null = True)
# 인증 토큰.
Auth = models.CharField(max_length=40, bla... |
#! /usr/bin/python3
# -*- coding: utf-8 -*-
#
# mysql_python_read.py
#
# Jul/25/2014
#
# ----------------------------------------------------------------
import sys
import json
import mysql.connector
#
sys.path.append ("/var/www/data_base/common/python_common")
from sql_manipulate import sql_to_dict_proc
# -------... |
"use strict";
Object.defineProperty(exports, '__esModule', {value: true});
exports.textBase = MathJax._.input.tex.textmacros.TextMacrosConfiguration.textBase;
exports.TextMacrosConfiguration = MathJax._.input.tex.textmacros.TextMacrosConfiguration.TextMacrosConfiguration;
|
const { GuildMember, MessageEmbed,Client} = require("discord.js");
const qDb = require("quick.db");
const cezaDb = new qDb.table("aCezalar");
const cezaNoDb = new qDb.table("aVeri");
const kDb = new qDb.table("aKullanici");
const moment = require('moment');
const acar = client.veri;
const ms = require('ms');
module.exp... |
import React, { useCallback, useState, useEffect } from "react";
import { useSelector, useDispatch } from "react-redux";
import { useLocation, Link as RouteLink } from "react-router-dom";
import tw, { styled } from "twin.macro";
import MoonLoader from "react-spinners/MoonLoader";
import Switch from "react-switch";
impo... |
define("ace/snippets/php",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet <?\n <?php\n\n ${1}\nsnippet ec\n echo ${1};\nsnippet <?e\n <?php echo ${1} ?>\n# this one is for php5.4\nsnippet <?=\n <?=${1}?>\nsnippet ns\n namespace ${1:Foo\\Bar\\Baz};\n ${2}\nsnippet use\n use ${1:Foo\\Ba... |
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Atsushi Togo
# All rights reserved.
#
# This file is part of phonopy.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the a... |
#!/usr/bin/env python
# Python 3.6 added new string interpolation method called literal string interpolation and introduced a new literal prefix f. This new way of formatting strings is powerful and easy to use. It provides access to embedded Python expressions inside string constants.
import sys
sys.stdin.flush()
nam... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... |
//ref https://github.com/johngrantuk/todoDapp/blob/fcf586a113b693bec9b2ae40ce1b358cda0b1fcf/client/src/App.test.js
//docker build tests/e2e -t pp1
//docker run --shm-size 1G --rm -v /root/e2e/app:/app pp1
const puppeteer = require("puppeteer")
const dappeteer = require("dappeteer")
async function run() {
const brow... |
#!/usr/bin/env python
from panda import Panda
def get_panda_password():
try:
print("Trying to connect to Panda over USB...")
p = Panda()
except AssertionError:
print("USB connection failed")
sys.exit(0)
wifi = p.get_serial()
#print('[%s]' % ', '.join(map(str, wifi)))
print("SSID: " + wifi[... |
# Natural Language Toolkit: Interface to the HunPos POS-tagger
#
# Copyright (C) 2001-2021 NLTK Project
# Author: Peter Ljunglöf <peter.ljunglof@heatherleaf.se>
# Dávid Márk Nemeskey <nemeskeyd@gmail.com> (modifications)
# Attila Zséder <zseder@gmail.com> (modifications)
# URL: <http://nltk.org/>
# For ... |
/**
* Auto-generated action file for "reverb" API.
*
* Generated at: 2019-05-07T14:43:52.986Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / reverb-com-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the A... |
'use stitck';
var fs = require("fs");
var readRepo = function( path , cb , depth , results){
var filePath , realPath , isGit , stat , data;
depth = depth || 0;
path = path.replace(/\/$/,'') + '/';
results = results || [];
data = fs.readdirSync(path);
if(!data) return cb.call(this,results);
data.forEach(fun... |
import React, { Component } from 'react';
import {TopojsonData} from '../../../data/kishanganj_shc_topojson';
import {
Circle,
FeatureGroup,
LayerGroup,
Map,
Popup,
Rectangle,
TileLayer, GeoJSON
} from 'react-leaflet';
import 'bootstrap/dist/css/bootstrap.css';
let config = {};
config.params = {
cente... |
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):"object"==typeof exports?exports.ReactDraggable=e(require("react"),require("react-dom")):t.ReactDraggable=e(t.React,t.ReactDOM)}(... |
document.addEventListener("DOMContentLoaded", (event) => {
let added = document.getElementById('added');
let waiting = document.getElementById('waiting');
let nisur = document.getElementById('nisur');
let inventory = document.getElementById('inventory');
let arrived = document.getElementById('arrive... |
import React from 'react'
export default () => (
<svg fill="#2E83E6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path
fillRule="evenodd"
clipRule="evenodd"
d="M162 205c10 0 17-8 17-17v-17c0-10-7-17-17-17H60c-10 0-18 7-18 17v17c0 9 8 17 18 17h102zM60 171h102v17H60v-17zM77 222a26 2... |
/**
* Jquery language selector plugin.
*
* @author Muhammad Umer Farooq <lablnet01@gmail.com>
* @author-profile https://www.facebook.com/Muhammadumerfarooq01/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT
*/
... |
import sys
import redis
r_server = redis.StrictRedis('127.0.0.1', db=2)
i_key = "owner-info"
Hostname = sys.argv[1]
Email = sys.argv[2]
OrganizationName = sys.argv[3]
OrganizationalUnitName = sys.argv[4]
LocalityName = sys.argv[5]
Country = sys.argv[6]
i_data = '{"Hostname":"%s", "Email":"%s", "OrganizationName":"%... |
var classv8_1_1internal_1_1_store_data_property_in_literal_i_c_nexus =
[
[ "StoreDataPropertyInLiteralICNexus", "classv8_1_1internal_1_1_store_data_property_in_literal_i_c_nexus.html#ad2fd416edbeb9ebb56fa9c22d467ab3e", null ],
[ "StoreDataPropertyInLiteralICNexus", "classv8_1_1internal_1_1_store_data_property_i... |
/** section: Language
* class Object
*
* Extensions to the built-in `Object` object.
*
* Because it is dangerous and invasive to augment `Object.prototype` (i.e.,
* add instance methods to objects), all these methods are static methods that
* take an `Object` as their first parameter.
*
**/
(function() {
... |
const CustomError = require("../extensions/custom-error");
module.exports = function createDreamTeam(a) {
if (!Array.isArray(a)) {
return false
}
for (let j = 0; j < a.length; j++) {
if (typeof (a[j]) !== 'string') {
delete a[j]
}
}
a = a.map(i => i.trim())
let sum = ''
for (let i = 0; i < a.leng... |
var FlightSuretyApp = artifacts.require("FlightSuretyApp");
var FlightSuretyData = artifacts.require("FlightSuretyData");
var BigNumber = require('bignumber.js');
var Config = async function(accounts) {
// These test addresses are useful when you need to add
// multiple users in test scripts
let testA... |
from tqdm import tqdm
from sklearn_crfsuite.metrics import flat_classification_report
import logging
import torch
from modules.utils.plot_metrics import get_mean_max_metric
from .optimization import BertAdam
import json
from modules.data.bert_data import BertNerData
from modules.models.released_models import released_m... |
import axios from 'axios'
import global from '../global.json'
// import qs from "qs"
import store from '../store'
let request = axios.create({
baseURL: global.baseURL, // api的base_url
timeout: global.timeout // 请求超时时间
})
axios.defaults.headers.post['Content-Type'] = 'application/json';
const debug = f... |
// The MIT License (MIT)
//
// Copyright (c) 2014 FusionCharts Technologies
//
// 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 ... |
define(['vendor/lodash', 'vendor/jquery', 'resolvers/resolver'],
function (_, $, Resolver) {
'use strict';
var LocalResolver = Resolver.extend({
});
return LocalResolver;
});
|
import React from 'react';
import { CmsStaticPage } from 'crownpeak-dxm-react-sdk';
import { SimpleComponent } from './simple-component';
let SimplePage;
export default SimplePage = (props) => {
let isLoaded = CmsStaticPage.load(266812, useState, useEffect);
var cmsSuppressFolder = true;
var cmsSuppressMod... |
const {
transformProfile,
transformAdvisers,
transformCheckboxes,
transformRadioButtons,
transformInvestorTypes,
transformRequiredChecks,
} = require('../transformers')
const {
getInvestorDetailsOptions,
getInvestorRequirementsOptions,
getLocationOptions,
} = require('../options')
const {
INVESTOR_... |
var pug = require('pug')
var search = require('../search')
var config = require('../config')
module.exports = function (req, res) {
var locals = {
config: config.get(),
section: 'manage',
privateSubmissions: [],
publicSubmissions: [],
user: req.user
}
/*
var criteria = [
'?collection a sb... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-734d7fc7"],{"166a":function(t,a,e){},"1a5c":function(t,a,e){"use strict";var i=e("4a35"),n=e.n(i);n.a},3860:function(t,a,e){"use strict";var i=e("604c");a["a"]=i["a"].extend({name:"button-group",provide:function(){return{btnToggle:this}},computed:{classe... |
const fs = require('fs');
const file = 'weka.txt';
const readStream = fs.createReadStream(file);
let progress = 0;
fs.stat(file, (err,data) =>{
const total = data.size;
readStream.on('data', (chunk) => {
progress += chunk.length;
console.log(Math.round((progress * 100)/total));
});
});
re... |
/**
* Listen to all available events and output to the logger
* @param {AddonBase inherited} interface object to register and send events
*/
const functionExampleMonitorAndConfig = (interface) => {
// register all event listeners to log what happens
interface.registerListener('images-loaded', () => interfac... |
/*!
* Keen UI v1.3.0 (https://github.com/JosephusPaye/keen-ui)
* (c) 2020 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.UiTab=t():(e.KeenUI=... |
#!/usr/bin/env python3
from jinja2 import Environment
from jinja2 import FileSystemLoader
organisation_name = input("Enter the company name (e.g. Acme Limited): ")
package_author = input("Your full name (e.g. Joe Smith): ")
github_org = input("The GitHub Organisation (e.g. AcmeLtd): ")
package_repo_url = input("The Gi... |
import appMain from '@cdo/apps/appMain';
import {singleton as studioApp} from '@cdo/apps/StudioApp';
import Dance from '@cdo/apps/dance/Dance';
import blocks from '@cdo/apps/dance/blocks';
export default function loadGamelab(options) {
options.blocksModule = blocks;
const dance = new Dance();
dance.injectStudio... |
# coding=utf-8
# Copyright 2019 The Google Research 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 applicab... |