text
stringlengths
3
1.05M
import './module.js'; import GeoJSON from 'ol/format/GeoJSON'; angular.module('anol.savemanager') /** * @ngdoc object * @name anol.savemanager.SaveManagerServiceProvider */ .provider('SaveManagerService', ['LayersServiceProvider', function(LayersServiceProvider) { // handles layer source change events and ...
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{va...
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2020 Metrological * * 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 ...
import variables from "../components/variables"; export default function () { const formSkripsi = $('#form-skripsi'); const selectStudent = formSkripsi.find('#student'); const selectPembimbing = formSkripsi.find('#pembimbing'); const selectPembimbingId = formSkripsi.find('#id_pembimbing'); selectS...
#ifndef CONFIG_PARSER_H #define CONFIG_PARSER_H #include <string> #include <vector> #include <queue> #include <deque> #include <fstream> #include "ConfigValue.h" // a macro to auto generate enum2str and str2enum // name mapping begins at bias and continuously increase, split by '|' // an example: // enum ABC {a = 3,...
from gundala import EPP, Contact from config import config, contacts, nameserver data = { 'name': 'Admin 2 updated', 'org': 'Biznetgio', 'street': 'Jl. Sudirman', 'city': 'Jakarta Pusat', 'sp': '', 'pc': '', 'cc': 'ID', 'voice': '', 'fax': '', 'email': 'admin@biznetgio.com', } e...
# -------------------------------------------------------------------------- # Logic for the 'serve' command. # -------------------------------------------------------------------------- import sys import os import http.server import webbrowser import shutil from .. import site # Command help text. helptext = """ U...
/** * @fileoverview Implements ol WysiwygCommand * @author NHN Ent. FE Development Lab <dl_javascript@nhnent.com> */ import CommandManager from '../commandManager'; import domUtil from '../domUtils'; /** * OL * Add OL to selected wysiwyg editor content * @extends Command * @module wysiwygCommands/OL * @ignore...
resources = { u'/user/times': { u'get': { 'parameters': {} } }, u'/repos/{owner}/{repo}/issues/{index}/times': { u'post': { 'parameters': { u'owner': True, u'repo': True, u'body': False, u'id': Tr...
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2020 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 4.0.2019.08.13 #pragma once #include <Mathematics/GVector.h> ...
// @flow declare type MapOptions = { container: string, style: string, center?: Array<number>, zoom?: number, bearing?: number, pitch?: number }
{ "targets": [ { "target_name": "test_general", "sources": [ "test_general.c" ] } ] }
const WEBSITE_URL = process.env.WEBSITE_URL || "http://localhost:3000" || "https://staging.opencollective.com"; const fill = (fieldname, value) => { cy.get(`.inputField.${fieldname} input`).type(value); } describe("collective.createOrder page", () => { it ("loads custom donate page", () => { cy.visit(`${WEBS...
module.exports = (options)=>{ let opt = options || {}; let l = []; let spam = false || opt.spam; return { log(msg){ if(msg===undefined) return l; if(spam) console.log(msg); l.push(msg); return this; } }; }
// Test the bar controller describe('Bar controller tests', function() { it('should be constructed', function() { var chart = window.acquireChart({ type: 'bar', data: { datasets: [ {data: []}, {data: []} ], labels: [] } }); var meta = chart.getDatasetMeta(1); expect(meta.type).t...
import json import os import shutil import ssl import subprocess import traceback import uuid import zipfile from pathlib import Path from flask import Flask, request, jsonify, send_file, after_this_request, make_response from werkzeug.utils import secure_filename import yaml import hashlib import boto3 import botocor...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include "equacao.h" struct eq2grau { double a, b, c; double delta, x1, x2; }; Eq2grau* criaEq() { Eq2grau *eq = malloc(sizeof(Eq2grau)); return eq; } double getA(Eq2grau* eq) { return eq->a; } double getB(Eq2grau* eq) { return eq->b;...
# -*- coding: utf-8 -*- """ This module contains extra functions/shortcuts used to render HTML. """ from __future__ import unicode_literals import json import re import sys from django import template from django.conf import settings from django.http import HttpResponse, JsonResponse from django.shortcuts import re...
#pragma once namespace BLPFormat { #define LIBBLP_MIPMAP_COUNT 16 #define LIBBLP_PALETTE_SIZE 256 enum BLPColorEncoding : uint8_t { COLOR_JPEG = 0, // not supported COLOR_PALETTE = 1, COLOR_DXT = 2, COLOR_ARGB8888 = 3, COLOR_ARGB8888_dup = 4, // same decompression, likely other PIXEL_FORMAT }; enum BLPPixelF...
import os from loguru import logger logger.add( "spider.log", level="DEBUG", format="{time:YYYY-MM-DD HH:mm:ss} - {level} - {file} - {line} - {message}", rotation="10 MB", ) from dataclasses import dataclass, field import time from decimal import * import requests from requests.adapters import HTTPAda...
# Copyright 2014-2021 Canonical Limited. # # 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 ...
import roslib roslib.load_manifest('sensor_msgs') roslib.load_manifest('dynamic_reconfigure') import rospy import sensor_msgs.msg import dynamic_reconfigure.srv import dynamic_reconfigure.encoding import numpy as np import time import os.path import queue class CameraHandler(object): def __init__(self,topic_pref...
import React from 'react'; import { DividerHeader, ProcessStageCircles, StreamMethodsBox, ButtonNextPage, TilePdf } from '../../../components/_index' import { Row, Col } from 'antd'; const CoCreationProcessStage7 = props => { const { CO_CREATION_PROCESS, MATERIALS } = props; const { color, ...
# # Copyright 2018 the original author or 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 applicable law or agre...
# This is an automatically generated file. # DO NOT EDIT or your changes may be overwritten import base64 from xdrlib import Packer, Unpacker from ..exceptions import ValueError from .claim_atom_type import ClaimAtomType from .claim_liquidity_atom import ClaimLiquidityAtom from .claim_offer_atom import ClaimOfferAtom ...
from keras.models import Model from keras.layers import Input, LSTM, Dense import numpy as np # vectorize data input_text = [] output_text = [] input_character = set() output_character = set() def make_dictionary (fname): content = [] with open(fname, 'r') as f: content = f.readlines() word = set...
/** @typedef {String} PathifiedSvgContent */ /** @typedef {String} FeatherIconsPathDefinition */ /** @typedef {{ prefix: 'fe', iconName: 'feBatteryCharging', icon: [Number|String, Number|String, import('feather-icons').FeatherAttributes, PathifiedSvgContent, FeatherIconsPathDefinition] }} FeatherBatteryChargingIconData...
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib 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 a...
'use strict'; let expect = require('chai').expect; let Group = require('../lib/Group'); describe('Group', () => { beforeEach(() => { this.group = new Group('123456789012345678901234567890'); }); describe('constructor', () => { it('should set initial properties', () => { expect(this.group).to.hav...
from torch_layers import Conv2dWithSamePadding import torch def test_same_padding(): input_tensor_even = torch.rand(1, 3, 12, 12) input_tensor_odd = torch.rand(1, 3, 11, 11) assert Conv2dWithSamePadding(3, 3, 3, padding=1)( input_tensor_even).shape == input_tensor_even.shape assert Conv2dWit...
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.d...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program */ /* GCG --- Generic Column Generation */ ...
# # This file is part of m.css. # # Copyright © 2017, 2018, 2019, 2020 Vladimír Vondruš <mosra@centrum.cz> # Copyright © 2020 Blair Conrad <blair@blairconrad.com> # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Softwa...
import json import re from typing import List, Tuple # The token format is (token_name, token_text) Token = Tuple[str, str] Tokens = List[Token] def tokenize(prerequisites: str) -> Tokens: """ Convert a prereq expression string to a list of tokens. The last token will be `("END", None)`. """ # R...
import os from datadog_checks.dev import get_docker_hostname HOST = get_docker_hostname() PORT = 9644 INSTANCE_PORT = 9644 INSTANCE_URL = "http://{}:{}/metrics".format(HOST, INSTANCE_PORT) REDPANDA_VERSION = os.getenv('REDPANDA_VERSION') MOCK_REDPANDA_INSTANCE = {'openmetrics_endpoint': INSTANCE_URL, 'tags': ['in...
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------- # Written by http://www.ryanyonzon.com/ # ----------------------------------------- import argparse import getpass import requests import json def main(args): owner = args.owner repo = args.repo username = args.use...
FILE_EXT = {'.htm', '.html'} def get_modetype(): from kaa.filetype.html.htmlmode import HTMLMode return HTMLMode
const { compose } = require('react-app-rewired') const rewireEslint = require('react-app-rewire-eslint') const rewireReactHotLoader = require('react-app-rewire-hot-loader') module.exports = compose( rewireEslint, rewireReactHotLoader )
const { gql } = require('apollo-server'); module.exports = gql` type Query { me: Member member(id: ID!): Member } type Member { id: ID! name: String email: String photoUrl: String } `;
/* Copyright (c) 2017, The Linux Foundation. All rights reserved. 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 above copyright notice, this list of conditions and...
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) import os.path import pytest import spack.repo import spack.fetch_strategy from spack.paths import mock_packages_path fro...
#!/usr/bin/env python # # ----------------------------------------------------------------------------- # Copyright (c) 2017 The Regents of the University of California # # This file is part of kevlar (http://github.com/dib-lab/kevlar) and is # licensed under the MIT license: see LICENSE. # ----------------------------...
/* crypto/sm3/sm3.h */ /* ==================================================================== * Copyright (c) 2014 - 2015 The GmSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
import { processCSSFactory } from '../../../../util/testHelpers'; import plugin from '..'; const { processCSS } = processCSSFactory(plugin); function addTests(...tests) { tests.forEach(({ message, fixture, expected }) => { const isExpectedFunc = typeof expected === 'function'; test( message.replace(/...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): UserModel = getattr(settings, 'FITAPP_USER_MODEL', 'auth.User') dependencies = [ ('fitapp', '0005_upgrade_oauth1_tokens_to_...
import React from "react"; import { OverlayTrigger, Popover, Button } from "react-bootstrap"; const OptionsPopover = (props) => { const { editCallback, deleteCallback } = props; const popoverRight = ( <Popover id="popover-options"> <Popover.Content> <Button variant="light" size="sm" onClick={edit...
from django.contrib import admin from books.models import Book admin.site.register(Book)
const Manager = require("./lib/Manager"); const Engineer = require("./lib/Engineer"); const Intern = require("./lib/Intern"); const q = require("./lib/questions"); const inquirer = require("inquirer"); const path = require("path"); const fs = require("fs"); const OUTPUT_DIR = path.resolve(__dirname, "output") const out...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * * Date: 09 September 200...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <fcntl.h> #include <errno.h> #include <sys/stat.h> #include <unistd.h> #include <string.h> #define FILE_OPEN_FAILURE (-1) #define EXIT_IF_FAILED (1) #define BUF_SIZE (512) int open_file_read(const char *pathname, unsigned char do_exit); int open_fil...
var settings = require('./settings.json'), connect = require('gulp-connect'); module.exports = { configuration: settings, connect: connect };
/*********************************************************************** filename: CEGUISequentialLayoutContainer.h created: 02/8/2010 author: Martin Preisler purpose: Defines abstract base class for layout containers *************************************************************************...
/* * Copyright (C) 2019 Intel Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #ifndef _AOT_RELOC_H_ #define _AOT_RELOC_H_ #include "aot_runtime.h" #include "aot_intrinsic.h" #ifdef __cplusplus extern "C" { #endif typedef struct { const char *symbol_name; voi...
// Doc: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CodeCommit.html const { error: { catchErrors, wrapErrors } } = require('puffy') let _codeCommit const getCodeCommit = () => { if (!_codeCommit) { const AWS = require('aws-sdk') if (process.env.REGION) AWS.config.update({region:process.env.REGION})...
/** * @author v.lugovksy * created on 16.12.2015 */ (function () { 'use strict'; angular.module('BlurAdmin.pages.dashboard') .directive('trafficChart', trafficChart); /** @ngInject */ function trafficChart() { return { restrict: 'E', controller: 'TrafficChartCtrl', templateUrl: ...
# Check whether an rle pattern contains a self-forcing patch from pattern_basics import degollify, mat_to_pattern, print_pattern from gol_agars import find_self_forcing # Glider; replace by another pattern to check it rle = """ x = 3, y = 3, rule = B3/S23 3o$o$bo! """ # We find and print the largest subpattern that ...
import * as types from './types'; export function setActiveTab(activeTab = 'Home') { return { type: types.SET_ACTIVE_TAB, activeTab } }
from .common_voice import CommonVoiceRaw, CommonVoiceRawDataset, \ CommonVoiceEntry, CommonVoiceDataset, load_audio
!function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){n(1),n(2),window.jQuery=n(4),n(3),n(5)},function(e,t){},function(e,t){},function(e,t){function n(e,t){if...
import cv2 import numpy as np class FLIRLeptonPT2: def __init__(self, id=1): self.id = id self.connect() def connect(self): self.handle = cv2.VideoCapture(self.id, cv2.CAP_DSHOW) if not self.handle.isOpened(): self.handle = None raise ValueError(f"Could...
from math import sqrt import math import numpy as np import pandas as pd import streamlit as st from datetime import date from sklearn.metrics import mean_squared_error, mean_absolute_error from plotly import graph_objs as go import matplotlib.pyplot as plt from pandas_datareader.data import DataReader as web from skle...
import json import logging import sys import click from click import Context from click.testing import CliRunner import pytest import rasterio from rasterio.rio import info from rasterio.rio.main import main_group logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) def test_edit_nodata_err(data): runn...
// show API error/sucess toastr import * as toastr from 'toastr'; import { toArrayIfNot } from '~/utils/array-utils'; const toastrOption = { error: { closeButton: true, progressBar: true, newestOnTop: false, showDuration: '100', hideDuration: '100', timeOut: '0', }, success: { closeB...
/** * * 选择排序 * O(n^2)复杂度 */ const selectSort = (arr, n) => { for (let i = 0; i < n; i++) { let minIndex = i for (let j = i + 1; j < n; j++) { if (arr[j] < arr[minIndex]) { minIndex = j } } const temp = arr[minIndex] arr[minIndex] = arr[i] arr[i] = temp } return arr ...
const puppeteer = require('puppeteer') const fs = require('fs'); const { Console } = require('console'); const { SSL_OP_EPHEMERAL_RSA } = require('constants'); const createCsvWriter = require('csv-writer').createObjectCsvWriter; const csvWriter = createCsvWriter({ path: 'papers.csv', header: [ {id: 'title', ti...
// @flow import type { DayText, LessonTime, ModuleCode, RawLesson } from 'types/modules'; export type Venue = string; export type VenueList = Venue[]; // Components within a venue availability class: export type VenueOccupiedState = 'vacant' | 'occupied'; export const VACANT: VenueOccupiedState = 'vacant'; export cons...
require('dotenv').config() const express = require('express'); const path = require('path'); const bodyParser = require('body-parser'); const morgan = require('morgan'); const mysql = require('mysql') const auth = require('./auth'); const app = express(); const items = require('./items.js'); const admin = require('./a...
/** \file * \brief IUP Core pre-defined dialogs (not exported API) * * See Copyright Notice in "iup.h" */ #ifndef __IUP_PREDIAL_H #define __IUP_PREDIAL_H #ifdef __cplusplus extern "C" { #endif #include "iup_export.h" /* Used by the IupScanf implementation */ IUP_EXPORTI int iupDataEntry(int maxlin, int* maxco...
# -*- coding: utf-8 -*- ############################################################################# ## ## Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ## Contact: http:#www.qt-project.org/legal ## ## This file is part of the Qt Solutions component. ## ## $QT_BEGIN_LICENSE:BSD$ ## You may use this file un...
const nomes = ["Carlos", "Celso", "Eduardo"]; const nameList = document.querySelector('ul'); for(nome of nomes){ const newName = document.createElement('li'); const itemList = document.createTextNode(nome); newName.appendChild(itemList); nameList.appendChild(newName); nameList.style.fontSize = '...
# # D_{x,y,z} = alpha * A_{z,y,x} + beta * B_{y,z,x} + gamma * C_{x,y,z} # import numpy import cupy from cupy import cutensor from cupy.cuda import stream dtype = numpy.float32 mode_a = ('z', 'y', 'x') mode_b = ('y', 'z', 'x') mode_c = ('x', 'y', 'z') extent = {'x': 400, 'y': 200, 'z': 300} a = cupy.random.random([...
from enum import Enum, IntEnum from hidparser.DeviceBuilder import DeviceBuilder # Toddo create a Enum like class that happily converts subclasses into byte arrays from abc import ABCMeta as _ABCMeta import struct as _struct import copy as _copy from array import array as _array class ItemType(IntEnum): ...
const menuadmin = (prefix, pushname) => { return `oiin aqui e o menu dos admins _obs para o bot executar esses comandos e nescessario dar adm para o bot_ ◪ *COMANDO DOS ADMINS* │ ├─ ❏ ${prefix}opengc ├─ ❏ ${prefix}closegc ├─ ❏ ${prefix}promote ├─ ❏ ${prefix}demote ├─ ❏ ${prefix}tagall ├─ ❏ ${prefix}add ├─ ...
import { request } from "request"; request("https://source.unsplash.com/5760x1080/?colorful", function( error, response, body ) { if (error) { console.log(error); } else { // write file to disk before calling next piece of the machinery. } });
import atexit import datetime import string import difflib import shutil import tempfile import secrets from collections import defaultdict, Counter from random import Random import json import re from urllib.parse import urlparse from io import StringIO import hail import hail as hl from hail.typecheck import enumera...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 7v10.88l2 2V5h-9.58l3.29-3.3L16 1l-4 4-4-4-.7.7L10.58 5H8.12l2 2zM2.41 2.13l-.14.14L1 3.54l1.53 1.53H1V21h17.46l1.99 1.99 1.26-1.26.15-.15L2.41 2.13zM3 19V7h1.46l12 12H3z" /> , 'TvOffSharp');
import os import shutil import time from .base import PluginBase class BatteryPlugin(PluginBase): def configure(self): defaults = { 'path': '/', 'cache_time': '1', 'format': '{status}' } self.sysfs_path = "/sys/class/power_supply" self.last_c...
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest Release: R5 Version: 4.5.0 Build ID: 0d95498 Last updated: 2021-04-03T00:34:11.075+00:00 """ from pydantic.validators import bytes_validator # noqa: F401 from fhir.resources import fhirtypes # noqa: F401 from fhir....
#!/usr/bin/env python # coding: utf-8 # Copyright (c) {{ cookiecutter.author_name }}. # Distributed under the terms of the Modified BSD License. from ..example import example_function import pytest import matplotlib.pyplot as plt import numpy as np @pytest.mark.mpl_image_compare(filename="test_example.png") def t...
__report = {"info":{"file":"libs/beez-mvcr/s/beez-mvcr/view.js","fileShort":"libs/beez-mvcr/s/beez-mvcr/view.js","fileSafe":"libs_beez_mvcr_s_beez_mvcr_view_js","link":"files/libs_beez_mvcr_s_beez_mvcr_view_js/index.html"},"complexity":{"aggregate":{"line":7,"complexity":{"sloc":{"physical":959,"logical":304},"cyclomat...
class TknExpError(Exception): """Raise exception when refresh or access token is expired. Args: Exception (Exception): The base python exception class """ def __init__(self, message): """Print out message for this exception. Args: message (str): Pass in the message ...
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M19 5v14H5V5h14m-2 1h-3.3l-5 9H7c-.83 0-1.5.67-1.5 1.5S6.17 18 7 18h3.3l5-9H17c.83 0 1.5-.67 1.5-1.5S17.83 6 17 6z" opacity=".3" /><path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v1...
from rest_framework.decorators import action from rest_framework.response import Response from rest_framework import viewsets, mixins, status from rest_framework.authentication import TokenAuthentication from rest_framework.permissions import IsAuthenticated from core.models import Tag, Ingredient, Recipe from recipe ...
/** *! * \file b_drv_sd.c * \version v0.0.1 * \date 2020/06/01 * \author Bean(notrynohigh@outlook.com) ******************************************************************************* * @attention * * Copyright (c) 2020 Bean * * Permission is hereby granted, free of charge, to any perso...
H5.merge(new System.Globalization.CultureInfo("sl-SI", true), { englishName: "Slovenian (Slovenia)", nativeName: "slovenščina (Slovenija)", numberFormat: H5.merge(new System.Globalization.NumberFormatInfo(), { nanSymbol: "NaN", negativeSign: "-", positiveSign: "+", negativeI...
/* global $ */ let JQueryReady = false; $(() => (JQueryReady = true)); class NUILoader { constructor(pluginName) { this.pluginName = pluginName; this.nuiWrapperId = `natuna-nui\\:${this.pluginName}`; const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); (async (...
/** * Created by irelance on 2017/2/10. */ UploadClient.modal = { options: undefined, target: $('<div class="modal"><div class="modal-dialog"><div class="modal-header"><div class="close">×</div><h3></h3></div><div class="modal-content"></div><div class="modal-footer"></div></div></div>'), creator: undefin...
var searchData= [ ['xmlcout',['XmlCout',['../d9/dca/classXmlCout.html',1,'XmlCout'],['../d9/dca/classXmlCout.html#ae895068dd12946b6b57ef1a70b9f0d7a',1,'XmlCout::XmlCout()']]], ['xmlexception',['XmlException',['../da/da5/classXmlException.html',1,'XmlException'],['../da/da5/classXmlException.html#a912e299d8bfb810f42...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # The MIT License (MIT) # # Copyright (c) 2015 Corrado Ubezio # # 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 ...
from aleph.core import db # noqa from aleph.model.role import Role # noqa from aleph.model.alert import Alert # noqa from aleph.model.permission import Permission # noqa from aleph.model.entity import Entity # noqa from aleph.model.match import Match # noqa from aleph.model.collection import Collection # noqa fr...
[[[0,1,1,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,1,3,0,0,0,1,1,0,0,0,0,5,4,0,0,0,1,0,1,0,0,1,5,1,0,0,0,0,0,0,0,0,1,5,2,0,0,0,0,0,0,0,1,1,5,3,0,0,1,0,0,0,0,0,1,3,4,1,0,0,0,0,0,1,1],2],["winner",1],[[0,1,1,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,1,3,0,0,0,1,1,0,0,0,0,5,4,0,0,0,1,0,1,0,0,1,5,1,0,0,0,0,0,0,0,0,1,5,2,0,0,0,...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var _extends = _interopDefault(require('@babel/runtime/helpers/extends')); var _regeneratorRuntime = _interopDefault(require(...
# # PySNMP MIB module DELL-NETWORKING-BMP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DELL-NETWORKING-BMP-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:37:49 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
/* * GET flow page. */ exports.view = function(req, res){ res.render('flow'); };
""" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 """ import six from cfnlint.rules import CloudFormationLintRule from cfnlint.rules import RuleMatch from cfnlint.helpers import RESOURCE_SPECS class Join(CloudFormationLintRule): """Check if Join values are corre...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrAtlasTextBatch_DEFINED #define GrAtlasTextBatch_DEFINED #include "batches/GrVertexBatch.h" #include "GrAtlasTextContext.h" class GrAtlasTextBatch : public GrVerte...
'use strict'; /* Module for UserAccount */ var userAccountModule = angular.module('userAccount.module', ['myApp']); /** * Module for userAccount */ userAccountModule.config(['$routeProvider', function($routeProvider) { // Pages routes $routeProvider.when('/userAccount', {templateUrl: 'partials/useraccou...
import get from 'lodash/get'; angular.module('App').controller( 'HostingUpgradeOfferCtrl', class HostingUpgradeOfferCtrl { constructor( $scope, $rootScope, $state, $stateParams, $translate, $window, Alerter, apiTranslator, atInternet, Hosting, W...
function searchresultlocator(resultpos){ $$(".page-content").scrollTop(0); topd = $$("#"+resultpos).offset(); tops = topd.top; $$(".page-content").scrollTop(tops - 50, 1000); resultparagraph = $$("#"+resultpos).css('font-weight', 'bold'); boldSearch($$("#"+resultpos).html()); $$("#"+resultpos).html(newword); ...
''' lua_call - a Redis + Lua scripting namespace and calling library for Python Copyright 2014 Josiah Carlson This library released under the MIT license. What is lua_call? ================= This library implements a script transformation function along with some useful utilities to allow you to call Lua scripts f...