text
stringlengths
3
1.05M
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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,...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
# coding: utf-8 from __future__ import absolute_import from __future__ import print_function import collections import datetime import base64 import binascii import re import sys import types try: from .error import * # NOQA from .nodes import * # N...
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([],function(){"use strict";return{actions:{rename:{changeType:"rename",domRef:function(c){return c.$().find(".sapMLIBCon...
from .operation import Operation from .utils import check_ed25519_public_key from .. import xdr as stellar_xdr from ..keypair import Keypair from ..strkey import StrKey __all__ = ["BeginSponsoringFutureReserves"] class BeginSponsoringFutureReserves(Operation): """The :class:`BeginSponsoringFutureReserves` object...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSArray, NSImage, NSIndexSet, NSString, NSURL, SGTCategory, SGTQueryGenius, SGTSuggestionReserved; @interface SGTSuggestion : NSObject { SGTSuggest...
(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{1715:function(e,t,o){"use strict";o.r(t);var r=o(19),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"robocat-270"}},[r("a",{staticClass:"head...
# -*- coding: utf-8 -*- from datetime import date from django.views.generic import TemplateView from survey.models import Survey class IndexView(TemplateView): template_name = "survey/list.html" def get_context_data(self, **kwargs): context = super(IndexView, self).get_context_data(**kwargs) ...
/** * Module dependencies */ var express = require('express'); // express module var app = express(); // initiating express app var http = require('http'); // http module http.globalAgent.maxSockets = 100; // limiting socket connections to 100 var bodyParser = require('body-parser'); // body-parser modu...
describe("InitialMissionInstruction module", function () { });
from math import log from math import tau as τ import torch from torch import nn from torch.nn import functional as F from . import BaseModel from ..modules import STFTUpsample from ..wavenet import Wavenet from ...dist import norm_log_prob from ...functional import ( permute_L2C, flip, permute_C2L, c...
from aiogram.dispatcher.filters.state import StatesGroup, State class Poll(StatesGroup): Polling = State()
// // CamSua.h // CamSua // // Created by Jacob on 5/24/19. // Copyright © 2019 CamSua Private Inc. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for CamSua. FOUNDATION_EXPORT double CamSuaVersionNumber; //! Project version string for CamSua. FOUNDATION_EXPORT const unsigned char Cam...
import json import os import random import string import time import requests import ray from ray import serve from ray.cluster_utils import Cluster # Global variables / constants appear only right after imports. # Ray serve deployment setup constants NUM_REPLICAS = 7 MAX_BATCH_SIZE = 16 # Cluster setup constants N...
# Copyright 2020 DataStax, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
#!/usr/bin/env python # -*- coding: utf-8 -*- # [reference] Use and modified code in https://github.com/ghliu/pytorch-ddpg import torch.nn as nn from torch.optim import Adam from model import (Actor, Critic) from memory import SequentialMemory from random_process import OrnsteinUhlenbeckProcess from util import * ...
#!/usr/bin/env node const program = require('commander') const package = require('../package.json') program.version(package.version, '-v, --version') .usage('<command> [项目名称]') .command('init', '创建新项目') .command('module', '创建模块') .command('surprise', '送你惊喜') program.parse(process.argv)
# -*- coding: utf-8 -*- # # CSIT report documentation build configuration file # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are c...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
$(document).ready(function() { // $('.navbar-toggler').click(function() { // $('.navbar-collapse').slideToggle(); // }); $("#owl-demo").owlCarousel({ navigation: true, // Show next and prev buttons slideSpeed: 300, paginationSpeed: 400, singleItem: true, ...
function Tetris ( options ) { var elem = options.elem; var width = ( +options.width < 10 ) ? 10 : ~~( +options.width ); var height = ( +options.height < 20 ) ? 21 : ~~( +options.height + 1 ); var controlTimeoutHandle; var fallingTimeoutHandle; var predictionField; var scoreField; var g...
from __future__ import unicode_literals from django.db import models # Create your models here.
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_MAIN_H #define BITCOIN_MAIN_H #include "bignum.h" #include "sync.h...
from typing import List class Solution: def nextGreaterElements(self, nums: List[int]) -> List[int]: # put index to stack stack = [] n = len(nums) ans = [-1] * n circular = nums + nums for i, x in enumerate(circular): while stack an...
from fractions import Fraction def number_str_to_float(amount_str:str) -> (any, bool): """ Take in an amount string to return float (if possible). Valid string returns: Float Boolean -> True Invalid string Returns Original String Boolean -> False Examples: 1 1/2 -> 1....
const fetch = require("node-fetch"); async function getAnimeByImage(imageLink) { try { const processImage = await fetch( `https://api.trace.moe/search?anilistInfo&url=${encodeURIComponent( imageLink )}` ); const handleResponse = await processImage.json(); return handleResponse; ...
/*! * jQuery JavaScript Library v1.11.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-css,-css/addGetHookIf,-css/curCSS,-css/defaultDisplay,-css/hiddenVisibleSelectors,-css/support,-css/swap,-css/var/cssExpand,-css/var/isHidd...
"use strict"; var s = require('./support'); var t = s.t; describe('UserCredential', function () { var sapp, userId; var User, UserIdentity, UserCredential; beforeEach(function (done) { sapp = s.morkApplication(); sapp.boot(function (err) { User = sapp.model('User'); ...
/* * Linux usbfs backend for libusb * Copyright (C) 2007-2009 Daniel Drake <dsd@gentoo.org> * Copyright (c) 2001 Johannes Erdfelt <johannes@erdfelt.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
# coding: utf-8 # 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...
// test: #include <assert.h> typedef struct { int a; float b; double c; } Test; Test buildTest(int a, float b, double c) { Test ret = {a, b, c}; return ret; } #define DEFAULT buildTest(0, 0, 0) #define TYPE Test #define TYPED(NAME) NAME ## Test #include "linked-list/linked-list.c" #define TTT(...
# Copyright 2016 The Johns Hopkins University Applied Physics Laboratory # # 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 ...
from celery import Celery celery = Celery() def make_celery(app): celery_= Celery( app.import_name, backend=app.config['CELERY_RESULT_BACKEND'], broker=app.config['CELERY_BROKER_URL'] ) celery_.conf.update(app.config) class ContextTask(celery_.Task): def __call__(self,...
const chai = require('chai'); const config = require('config'); const moment = require('moment'); const querystring = require('querystring'); const AlertUrlService = require('services/alertUrlService'); const EmailHelpersService = require('services/emailHelpersService'); const Layer = require('models/layer'); const s...
// 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...
from PyQt5 import QtCore, QtGui, QtWidgets from .functions.getData import getMedicalDetails class Ui_MedicalProfile(object): def __init__(self, _id): self.is_editable = True self.id = _id try: self.response = getMedicalDetails(self.id) except Exception as e: ...
// // UIImageView+FastImage.h // demo // // Created by Minsol on 2018/12/5. // Copyright © 2018 Minsol. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImageView (FastImage) /** 通过 SDWedImage 快速加载图片 @param imagePath 图片路径、名称、url、UIImage @param placeholder 占位图 */ - (void)wj_setFastImageWithImageP...
import Route from '@ember/routing/route'; export default class DemoRoute extends Route { model() { return this.store.query('animal', {}); } }
import spacy nlp = spacy.load("en_core_web_sm") text = "Upcoming iPhone X release date leaked as Apple reveals pre-orders" # Process the text doc = nlp(text) # Iterate over the entities for ent in doc.ents: # Print the entity text and label print(ent.text, ent.label_) # Get the span for "iPhone X" iphone_x...
/** * Delete.js * * Released under LGPL License. * Copyright (c) 1999-2017 Ephox Corp. All rights reserved * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ define("tinymce.lists.core.Delete", [ "global!tinymce.dom.TreeWalker", "global!tinymce.dom.RangeUtils",...
'use strict'; var LoginController = function($scope, $http) { $scope.user = {}; $scope.login = function(text) { $http.post('login/user.json', text).success(function(text){ $scope.user = text; }).error(function() { $scope.setError('Could not login a user'); }); ...
/** * @author Will Steinmetz * jQuery notification plug-in inspired by the notification style of Windows 8 * Copyright (c)2013-2015, Will Steinmetz * Licensed under the BSD license. * http://opensource.org/licenses/BSD-3-Clause */!function(a){"use strict";var b,c,d;c=void 0,d={life:1e4,family:"legacy",theme:"teal...
// Adapter for New York import _ from 'lodash'; import moment from 'moment'; import ajax from '../ajax'; import jsonData from './newyork.json'; const id = 'newyork'; const name = 'New York'; const latitude = 40.696727; const longitude = -74.003061; const apiUrl = 'http://api.prod.obanyc.com/api/siri/vehicle-monitorin...
import serial,sys,time #check the required arguments if len(sys.argv) < 2: print 'To send character you need to declare device address and caracters' else: xbee = serial.Serial('/dev/tty.usbserial-A703D14M', 9600, timeout=3) # Get the arguments address = sys.argv[1] string = sys.argv[2] # AT COMMAND for changi...
import React, {useState} from "react" import { Link } from 'gatsby' import { useSiteMetadata } from '../hooks/use-site-metadata' export default function Nav (){ const { menuLinks } = useSiteMetadata() const menuActiveInitialState = false; const [menuActive, setMenuActive] = useState(menuActiveInitialState)...
#!/usr/bin/env python3 import sys import requests def check_restriction(p, r): # See: https://www.python.org/dev/peps/pep-0496/ # Hopefully we don't need to parse the whole microlanguage if "extra" in r and "[" not in p: return False for marker in ["os_name", "platform_release", "s...
#ifndef MSM5205_H #define MSM5205_H /* an interface for the MSM5205 and similar chips */ #define MAX_MSM5205 4 /* priscaler selector defines */ /* default master clock is 384KHz */ #define MSM5205_S96_3B 0 /* prsicaler 1/96(4KHz) , data 3bit */ #define MSM5205_S48_3B 1 /* prsicaler 1/48(8KHz) , d...
// // ZYPersonInsController.h // MVVMXBBX // // Created by 肇扬 on 2018/7/12. // Copyright © 2018年 me2. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, ZYPersonInsType) { ZYPersonInsType_GN = 1, ZYPersonInsType_GW, ZYPersonInsType_YW, ZYPersonInsType_JC, ZYPersonInsTyp...
var express = require('express'); var mongoose = require('mongoose'); var SchemaFactory = require('../SchemaFactory/index'); var ModelFactory = require('../ModelFactory/index'); var RouteFactory = require('../RouteFactory/index'); var async = require('async'); var bodyParser = require('body-parser'); DEFAULT_CONTENT_T...
/* global fetch */ import { resources, conf } from '../../lib/conf' import plugin from '../fetch' global.fetch = jest.fn() beforeEach(() => { Object.keys(resources).forEach(key => delete resources[key]) }) describe('plugin', () => { describe('regex', () => { it('match everything', () => { expect('http:...
describe("FlowMVC.mvc.event.EventDispatcher", function() { var dispatcher = null; var wrongEventType = {}; wrongEventType.type = "tim"; var listener = null; var broadcaster = null; var evt = null; function listenerFunction(value){ successValue = value; }; // setup bef...
'use strict'; const expect = require('chai').expect; const knex = require('../../../knex'); describe('MSSQL unit tests', () => { const knexInstance = knex({ client: 'mssql', connection: { port: 1433, host: '127.0.0.1', password: 'yourStrong(!)Password', user: 'sa', }, }); it(...
"""" Este módulo provee de las funcionalidades necesarias para pintar gráficamente dataframes """ import matplotlib.pyplot as plt from matplotlib import rcParams rcParams.update({'figure.autolayout': True}) def plot_bar_chart(dataframe): """" Esta funcion recibe un dataframe como entrada y pinta un gráfico de ba...
# Generated by Django 2.2 on 2019-04-02 08:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("evan", "0007_profile_updated_at"), ] operations = [ migrations.AlterField( ...
'use strict'; var usernamePage = document.querySelector('#username-page'); var chatPage = document.querySelector('#chat-page'); var usernameForm = document.querySelector('#usernameForm'); var messageForm = document.querySelector('#messageForm'); var messageInput = document.querySelector('#message'); var messageArea = ...
/** * @file Arduboy2.h * \brief * The Arduboy2Base and Arduboy2 classes and support objects and definitions. */ #ifndef ARDUBOY2_H #define ARDUBOY2_H #include <Arduino.h> #include <EEPROM.h> #include "Arduboy2Core.h" #include "Sprites.h" #include <Print.h> #include <limits.h> /** \brief * Library version * * ...
#include "nat_flowmanager.h" #include <assert.h> #include <stdlib.h> #include <string.h> //for memcpy #include <rte_ethdev.h> #include "libvig/verified/double-chain.h" #include "libvig/verified/map.h" #include "libvig/verified/vector.h" #include "libvig/verified/expirator.h" #include "state.h" struct FlowManager { ...
from celery.task import Task from celery.utils.log import get_task_logger class MasterWorkerTask(Task): """ Master worker task which can handle multiple scanworker tasks FOR A SINGLE SAMPLE Several of these master worker tasks can operate at any time because they're operating on separate samples """ name = "sc...
#!/usr/bin/env python3 from qe import Qe qe = Qe( prefix = '../run/QE', input = '../input/QE/Si_512.in', sif = '../image/qe-6.8.sif' ) qe.info() qe.run() qe.summary()
from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase class SignupAPIURLTestCase(APITestCase): def request_url(self, url): return self.client.get(reverse(url)) def test_get_users_list_returns_200(self): response = self.request_url("users...
let cursorBlink = false let currentBuffer //let someText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in rep...
#! /usr/bin/python # -*- coding: utf-8 -*- import tensorflow as tf from tensorlayer import logging from tensorlayer.decorators import deprecated_alias from tensorlayer.layers.core import Layer from tensorlayer.layers.utils import flatten_reshape __all__ = [ 'Flatten', 'Reshape', 'Transpose', 'Shuffle...
# -*- coding: utf-8 -*- """Cisco DNA Center Update Global Pool data model. Copyright (c) 2019-2021 Cisco Systems. 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 wi...
!function(e){function t(t){for(var n,a,s=t[0],f=t[1],p=t[2],i=0,l=[];i<s.length;i++)a=s[i],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&l.push(o[a][0]),o[a]=0;for(n in f)Object.prototype.hasOwnProperty.call(f,n)&&(e[n]=f[n]);for(u&&u(t);l.length;)l.shift()();return c.push.apply(c,p||[]),r()}function r(){for(var e,t...
import sys if sys.version_info < (3,): print("Requires python3.x!") sys.exit(1) from core.Controller import Controller from core.ArgvParser import ArgvParser class Main: def __init__(self): Controller(ArgvParser().options) if __name__ == "__main__": Main()
# # Copyright (C) 2019 Bloomberg Finance LP # # 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 a...
import os from sqlmodel import SQLModel from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine from sqlalchemy.orm import sessionmaker DATABASE_URL = os.environ.get("DATABASE_URL") engine = create_async_engine(DATABASE_URL, echo=True, future=True) async def init_db(): async with engine.begin() ...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import argparse import numpy as np import sys import math import matplotlib.pyplot as plt from joulescope.data_recorder import DataReader from joulescope.view import data_array_to_update from joulescope.units import unit_prefix from scipy.misc import electrocardiogram fro...
import pybullet as p def render(height, width, view_matrix, projection_matrix, shadow=1, light_direction=[1, 1, 1], renderer=p.ER_BULLET_HARDWARE_OPENGL): # ER_BULLET_HARDWARE_OPENGL img_tuple = p.getCameraImage(width, height, ...
const Message = require( '../message' ); const bsv = require( 'bsv' ); const Buffer = require( 'buffer' ).Buffer; const $ = bsv.util.preconditions; const _ = bsv.deps._; /** * Contains information about a MerkleBlock * @see https://en.bitcoin.it/wiki/Protocol_documentation * @param {MerkleBlock} arg - An instance...
import React, { useState } from 'react' const UseStateBasics = () => { const [title, setTitle] = useState("Default Title") const changeTitle = () => { if (title === 'Default Title') { setTitle('Title Changed') } else { setTitle('Default Title') } } ...
import { NotImplementedError } from '../extensions/index.js'; /** * Extract season from given date and expose the enemy scout! * * @param {Date | FakeDate} date real or fake date * @returns {String} time of the year * * @example * * getSeason(new Date(2020, 02, 31)) => 'spring' * */ export default functi...
#!/usr/bin/python import numpy import os import optparse import sys import shutil import textwrap import smtplib import time from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.base import MIMEBase from email import encoders # Global setup for generation and benchmarks n...
import React from 'react'; import iconSvg from '../icons/normalized/flickr-logo-of-two-dots.svg'; function IconRender(props) { const paths = /^\<svg [^>]+\>(.*)<\/svg>/ig.exec(iconSvg)[1] return ( <svg {...props} xmlns="http://www.w3.org/2000/svg" baseProfile="full" viewBox="0 0 24 24" ...
from eth_account import ( Account, ) from eth_utils import ( to_normalized_address, to_hex, remove_0x_prefix, keccak, ) def public_key_to_keccak256(public_key_bytes: bytes) -> bytes: return keccak(public_key_bytes) class Eth_Transaction: """Abstraction over Ethereum transaction.""" de...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateOffer = exports.OfferOrSubClassJoiSchema = exports.OfferJoiSchema = void 0; // This file was generated const Joi = require("joi"); const oaValidationError_1 = require("../oaValidationError"); const oa = require("../oa"); const ...
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
const defaultsDeep = require('lodash.defaultsdeep'); var path = require('path'); var webpack = require('webpack'); // Plugins var CopyWebpackPlugin = require('copy-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin'); var UglifyJsPlugin = require('uglifyjs-webpack-plugin'); // PostCss var autopref...
#ifndef __MyFrealignExportDialog__ #define __MyFrealignExportDialog__ class MyFrealignExportDialog : public FrealignExportDialog { public: MyFrealignExportDialog( wxWindow* parent ); void OnCancelButtonClick( wxCommandEvent & event ); void OnExportButtonClick( wxCommandEvent & event ); void OnOutputImageStackFile...
/* ===================================================================== * Project: PULP DSP Library * Title: plp_mat_mult_stride_i16.c * Description: 16-bit integer strided matrix multiplication glue code * * $Date: 14. July 2020 * $Revision: V0 * * Target Processor: PULP cores * ======...
import React, {PureComponent} from "react"; import {I18n, Trans} from "react-i18next"; import {NavLink, Link} from "react-router-dom"; import Slider from "react-slick"; import {getMainMinHeight, getQuery} from "../../../../utils/util"; import Header from "../../../../components/header"; import Footer from "../../../.....
// // TBDropboxDownloadFileTask.h // Pods // // Created by Bucha Kanstantsin on 3/6/17. // // #import <Foundation/Foundation.h> #import "TBDropboxTask.h" #import "TBDropboxFileEntry.h" @interface TBDropboxDownloadFileTask : TBDropboxTask @property (strong, nonatomic, readonly, nonnull) NSURL * fileURL; + (insta...
##----------------------------------------------------------------------------- ## Import ##----------------------------------------------------------------------------- import argparse, os from glob import glob from tqdm import tqdm from time import time from scipy.io import savemat from multiprocessing import cpu_co...
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.11.3 # kernelspec: # display_name: Python 3 # name: python3 # --- # + [markdown] id="view-in-github" colab_type="text" # <a href="https://colab...
// Copyright 2022 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("...
CKEDITOR.plugins.setLang("justify","fo",{block:"Javnir tekstkantar",center:"Miðsett",left:"Vinstrasett",right:"Høgrasett"});
var searchData= [ ['errorcode_160',['ErrorCode',['../classChess_1_1InvalidMove.html#a330018ca5623a17e22397fd6d356dee3',1,'Chess::InvalidMove']]] ];
#ifndef __UIACTIVEX_H__ #define __UIACTIVEX_H__ #pragma once //struct IOleObject; namespace DuiLib { ///////////////////////////////////////////////////////////////////////////////////// // class CActiveXCtrl; template< class T > class CSafeRelease { public: CSafeRelease(T* p) : m_p(p) { }; ~CSafeRelea...
# encoding: utf-8 from django.contrib import messages from django.utils.translation import ugettext_lazy as _ from django.shortcuts import render, get_object_or_404, redirect from core.helpers import person_required from core.utils import initialize_form from ..forms import ProgrammeSelfServiceForm from ..helpers im...
http = require('http'); var server = http.createServer(function(req, res) { res.writeHead(200); res.end('Hello! Welcome to Mountio-Database Simple HTTP static Web Genartor Made by Github user Trafort'); }); server.listen(8082);
from nbconvert.preprocessors import Preprocessor import re class CustomPreprocessor(Preprocessor): def preprocess_cell(self, cell, resources, index): if 'source' in cell and cell.cell_type == "markdown": cell.source = re.sub(r"\[(.*)\]\(([^)]*)\.ipynb\)",r"[\1](\2_rev.html)",cell.source) ...
DOXYFILE = 'Doxyfile' LINKS_NAVBAR1 = [ (None, 'pages', [(None, 'about')]), (None, 'namespaces', []), ] # Add your own navbar links using the code below. # To find the valid link names, you can inspect the URL of a generated documentation site. # LINKS_NAVBAR1 = [ # (None, 'pages', [(None, 'about')]), # ...
# Copyright 2016 Google LLC 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 law or ag...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Service Management API (servicemanagement/v1) // Description: // Google Service Management allows service producers to publish their // services on Google Cloud Pla...
import pygame as pg from os import path from .settings import * def collide_hit_rect(one, two): return one.hit_rect.colliderect(two.rect) class Map(): def __init__(self, mapOne): self.map = [] for x in range(len(mapOne)): mapLine=[] for i in mapOne[x]: ma...
const express = require('express') const router = express.Router() const app = require('../../app') const access = require('../access') const utils = require('../utils') const auth = require('../auth') router.get('/' + app.dbName + '/:id', auth.isAuthenticated, (req, res) => { // 1. Get the document from the db //...
import datetime import logging import os import threading import time # from matplotlib import pyplot as plt import server from data_collector import DataCollector from devices.ir_camera import IrCamera from devices.rgb_camera import RgbCamera from ir_frame_collector import IrFrameCollector import signal import sys ...
let pajak = 0.02 let handler = async (m, { conn, text, usedPrefix, command }) => { let fail = `perintah ini buat ngasih XP ke pengguna lain\n\ncontoh:\n${usedPrefix + command} @6285346545126 10\natau balas pesan doi dengan perintah: ${usedPrefix + command} 10` let who if (m.isGroup) who = m.mentionedJid[0] ? m.me...
import json from os import linesep from urllib2 import Request, urlopen from string import capwords from django.conf import settings from django.core.mail import send_mail from django.contrib.auth.decorators import login_required from django.contrib.messages.views import SuccessMessageMixin from django.utils import ti...