text
stringlengths
3
1.05M
import os import sys def __init__(): project_path = os.getcwd() print(project_path) os.chdir(project_path) os.path.join(os.path.dirname(sys.argv[0])) project_path = os.getcwd() print(project_path) os.chdir(project_path) os.path.join(os.path.dirname(sys.argv[0])) import moyu_engine.config.main...
// // NSData+CLOConvertToHex.h // CLOCommon // // Created by Cc on 14/11/24. // Copyright (c) 2014年 PinguoSDK. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSData (CLOConvertToHex) /** 把二进制文件转成可以看到的string */ + (nullable NSString *)CLOConvertToHexString:(NSData *...
$(function () { //Get appSetting.json var appSetting = global.getAppSettings('AppSettings'); $('input').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '30%' // optional }); setTimeout(function () { $('#Na...
import random import chess import numpy as np from evaluation import evaluation from Minimax import Minimax class TDleaf(): def __init__(self): # parameters of training # the weight matrix and bias vector to be calculated self.eval=evaluation() self.minimax=Minimax() ...
import itertools import operator from typing import TYPE_CHECKING, List, Set, Union from warnings import warn import rdflib from rdflib import Literal, URIRef from pyshacl.consts import ( RDF, SH_alternativePath, SH_filterShape, SH_intersection, SH_inversePath, SH_message, SH_nodes, ...
if(!employees) { employees = []; } employees.push({ id:1, name: 'Leah Paul' });
import numpy as np import tensorflow as tf def xavier_weight_init(): """Returns function that creates random tensor. The specified function will take in a shape (tuple or 1-d array) and returns a random tensor of the specified shape drawn from the Xavier initialization distribution. Hint: You mi...
"""Test configuration for semigenre.rating tests.""" import pytest from semigenre.rating import tags @pytest.fixture(scope='session', params=tags.ALL) def tag_name(request): """Test fixture for all tags.""" return request.param
#!/usr/bin/env python import os import sys import errno import argparse def parse_args(args=None): Description = "Reformat nf-core/viralrecon samplesheet file and check its contents." Epilog = "Example usage: python check_samplesheet.py <FILE_IN> <FILE_OUT>" parser = argparse.ArgumentParser(description=D...
import PropTypes from 'prop-types' import invariant from 'invariant' import memoize from 'memoize-one' const localePropType = PropTypes.oneOfType([PropTypes.string, PropTypes.func]) function _format(localizer, formatter, value, format, culture) { let result = typeof format === 'function' ? format(value, c...
const mongoose = require('mongoose') const Schema = mongoose.Schema const ArticleSchema = new Schema({ title: { type: String, unique: false, require: false }, icon : { type: String, unique: false, require: false }, tags : { type: [ Schema.Type...
# Copyright 2021 Alex Yu # Eval import torch import svox2 import svox2.utils import math import argparse import numpy as np import os from os import path from pathlib import Path from util.dataset import datasets from util.util import Timing, compute_ssim, viridis_cmap from util import config_util import imageio impo...
/*========================================================================= Program: ShapeWorks: Particle-based Shape Correspondence & Visualization Module: $RCSfile: hole_fill.h,v $ Date: $Date: 2011/03/24 01:17:36 $ Version: $Revision: 1.2 $ Author: $Author: wmartin $ Copyright (c) ...
import unittest import vcs import filecmp import os class TestVCSReload(unittest.TestCase): def test_reload_taylordiagram(self): good_json = os.path.join( os.path.dirname(__file__), "share", "vcs_test_save_td_to_json.json") vcs.scriptrun(good_json) td =...
""" I'm trying to implement a keras version of cbow word2vec with negative sampling This file will generate vocabulary from the sentences generator """ import collections import math import os import random import sys import math import random import codecs import numpy as np # local imports # Global settings for the...
# -*- coding: utf-8 -*- """ Created on Mon Oct 29 16:20:03 2012 @author: edouard.duchesnay@cea.fr """ ## Class Permutations to be added to sklearn import numpy as np from sklearn.utils import check_random_state from warnings import warn class Permutations(object): """ Example ------- >>> from epac....
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Data Science Spark Notes documentation build configuration file, created by # sphinx-quickstart on Wed May 16 16:04:25 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are pre...
import torch from torch.optim import Adam from torch.utils.data import DataLoader import torch.nn.functional as F from einops import rearrange # data import sidechainnet as scn from sidechainnet.sequence.utils import VOCAB from sidechainnet.structure.build_info import NUM_COORDS_PER_RES # models from alphafold2_pytor...
from rest_framework_jwt.views import obtain_jwt_token from django.conf import settings from django.conf.urls import url, include from django.conf.urls.static import static from django.contrib.sitemaps.views import sitemap from django.contrib.staticfiles.views import serve from django.views.i18n import javascript_...
#include <stdbool.h> #ifndef _CHIP8_EMULATOR_H #define _CHIP8_EMULATOR_H #define EMU_AUDIO_SAMPLE_RATE (22050) int emulate_chip8_program(const char *filename, const int cps, const int framerate); #endif
/* * Copyright 2009-2017 Alibaba Cloud 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...
import plistlib import Models from Constants import DataTypes def LoadFile (FileName) -> list: with open (FileName, 'rb') as Source: Data = plistlib.load (Source) return LoadValues (Data) def LoadValues (Values) -> list: Items = [] for Item in Values: Dict = False Value = Val...
from test.extensions.test_fake_redis import TestFakeRedis from test.extensions.test_get_ip_address import TestGetIPAddress
# -*- coding: utf-8 -*- # # Copyright © 2014-2015 Colin Duquesnoy # Copyright © 2009- The Spyder Development Team # # Licensed under the terms of the MIT License # (see LICENSE.txt for details) """ Provides QtGui classes and functions. .. warning:: Only PyQt4/PySide QtGui classes compatible with PyQt5.QtGui are ex...
# 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. # Changes ...
function SvgNoCellOutlined(props) { return ( <svg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 24 24' width='1em' className='svg-icon' {...props}> <path fill='none' d='M0 0h24v24H0z' /> <path d='M17 6v8.17l2 2V3c0-1.1-.9-1.99-2-1.99L7 1c-.85 0-1.58.55-1.87 1.3L8.83 6H17zM7 3h1...
import os import csv import json from tqdm import tqdm def preprocess(read_path, write_path): """ Read and process all Preotiuc-Ungar dataset of tweets annotated with gender, race, and age. :read_path: File to be read. :write_path: Directory of output files. """ read_path = read_path.rstrip('...
import express from 'express'; import categoryCtrl from '../../controllers/category.controller'; import validation from '../../validations/index.validation'; const router = express.Router(); // eslint-disable-line new-cap router.route('/') /** GET /api/categorys - Get list of categorys */ .get(categoryCtrl.l...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "DSWaveView.h" FOUNDATION_EXPORT double DSWaveViewVersionNumber; FOUNDATION_EXPORT const unsigned char DSWaveViewVer...
import package import helper import package.assistant #We expect that 'a' below will be 1 not a module. from confused_elements import a import sys
// LAF Base Library // Copyright (c) 2018 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #ifndef BASE_PATHS_H_INCLUDED #define BASE_PATHS_H_INCLUDED #pragma once #include <string> #include <vector> namespace base { typedef std::vector<std::s...
import functools import logging import math import time import warnings import weakref from collections import OrderedDict, defaultdict from collections.abc import Mapping from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Tuple, Union from torch.utils.data import DataLoader from ignite.base ...
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.lang['zh-cn']={dir:'ltr',editorTitle:'所见即所得编辑器, %1, 按 ALT+0 查看帮助。',toolbars:'工具栏',editor:'所见即所得编辑器',source:'源码',newPage:'新建',save:'保存',preview:'预览',cut:'剪切',co...
'use strict'; var cheerio = require('cheerio'), events = require('events'), fs = require('fs'), gutil = require('gulp-util'), mustache = require('mustache'), packetr = require('./lib/packer.growing'), path = require('path'), through2 = require('through2'); // Consts var PLUGIN_NAME = 'gulp...
import socket import cachetools import gevent import gevent.pool import structlog from eth_utils import encode_hex, is_binary_address from gevent.event import AsyncResult, Event from gevent.server import DatagramServer from raiden import constants from raiden.exceptions import InvalidAddress, InvalidProtocolMessage, ...
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """ ZMQ example using python3's asyncio Luckybit should be started with the command line argumen...
import styled from 'styled-components'; export const AboutContainer = styled.section` background: #333; color: white; font-family: monospace; .profile-image { height: 100px; width: 100px; background-repeat: no-repeat; background-size: cover; background-position: center; ...
const { auth } = require('@utils'); exports.run = async (message, args) => { if (auth.isAdmin(message.member)) { // If user is an admin, do something } else { message.reply('You must be an admin in order to run this command.'); } };
int strcmp (const char *p1, const char *p2){ const unsigned char *s1 = (const unsigned char *) p1; const unsigned char *s2 = (const unsigned char *) p2; unsigned char c1, c2; do { c1 = (unsigned char) *s1++; c2 = (unsigned char) *s2++; if (c1 == '\0') return c1 - ...
"use strict"; var _getSert = require("../getsert"); var generateCode = require("../../../../src/utils/code-generator"); class ArticleCounterDataUtil { getSert(input) { var ManagerType = require("../../../../src/managers/master/article/article-counter-manager"); return _getSert(input, ManagerType, (...
/*! Deck JS - deck.hash Copyright (c) 2011 Caleb Troughton Dual licensed under the MIT license and GPL license. https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt */ /* This module adds deep linking to individual slides, enables i...
import argparse import json import os import pickle from collections import Counter import numpy as np import torch from datareaders.OpenFact import FactsDoc from transformers import ( WEIGHTS_NAME, AdamW, BertConfig, BertForMaskedLM, BertTokenizer, XLNetTokenizer, DistilBertConfig, ...
module.exports = function toReadable (number) { let b = number % 10; let a = (number-b)/10; let c = (a-b)/10; // n = 10*a+b let f = (a)%10; let A1 = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']; let A2 = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixtee...
import mdit_py_plugins
from .element import * from . import mrow from .mtoken import MOperator import re ''' The general mfenced element shown above is equivalent to the following expanded form: <mrow> <mo fence="true"> opening-fence </mo> <mrow> arg#1 <mo separator="true"> sep#1 </mo> ... <mo separator="true"...
// Copyright 2011 Google Inc. 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 ...
(function() { var shapeStyle; shapeStyle = require("./style.js"); module.exports = function(vars, selection, enter, exit) { var data, init, update; data = function(d) { var h, w; if (vars.labels.value && !d.d3po.label) { w = (d.d3po.r ? d.d3po.r * 2 ...
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Version } from '@angular/core'; /** * @fileoverview added by tsickle * @suppress {checkTypes} checked by t...
/* Asynchronous replication implementation. * * Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistribut...
/* * Kendo UI v2015.1.408 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
""" Given two strings. Return if they are equal when both are typed into empty text editors. # means a backspace character. Note that after backspacing an empty text, the text will continue empty. Examples: Input: s = "ab#c", t = "ad#c" Output: True # Both s and t become "ac". Input: s = "a##c", t = ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _default = { key: 'F', suffix: 'mmaj7b5', positions: [{ frets: '1412', fingers: '1412', barres: 1, capo: true }, { frets: '4547', fingers: '1214', barres: 4, capo: tru...
module.exports = function mapPropName(astPath) { var nameNode = astPath.node.name; var orig = nameNode.name; if (/^catch[A-Z]/.test(orig)) { // nameNode.name = 'catch' + orig.slice(5).toLowerCase(); } else if (/^on[A-Z]/.test(orig)) { // nameNode.name = 'on' + orig.slice(2).toLowerCase...
from tool.runners.python import SubmissionPy class BenterrisSubmission(SubmissionPy): def run(self, s): return sum([int(int(x)/3) - 2 for x in s.split("\n")])
var EventEmitter = require('events').EventEmitter, util = require('util'), processResult = function (calculator, result, callback) { calculator.emit('result', result); if (typeof callback !== 'undefined') { setTimeout(function () { callback(result); }, 1000, this); } else { ...
'use strict'; // Initial webpack-svg-store plugin const __svg__ = { path: './svg/**/*.svg', name: 'static/svg/sprite.[hash].svg' }; require('webpack-svgstore-plugin/src/helpers/svgxhr')(__svg__); // Stylesheet entrypoint require('_stylesheets/application.styl'); // Client JavaScript Modules require('_js/editor')...
from talon import Module, app from ..csv_overrides import SPOKEN_FORM_HEADER, init_csv_and_watch_changes custom_action_defaults = {} mod = Module() mod.list( "cursorless_custom_action", desc="Supported custom actions for cursorless navigation", ) def on_ready(): init_csv_and_watch_changes( "ex...
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
import json import datetime import os import typing import uuid import requests from cloud_blobstore import BlobStore from dss import Config, Replica from dss.util import UrlBuilder from dss.util.version import datetime_to_version_format class TestBundle: def __init__(self, handle: BlobStore, path: str, bucket...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once namespace Fabric...
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = require('../../../ssr-module-cache.js'); /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /***...
// // AppDelegate.h // HPKeyboard // // Created by Huy Pham on 1/16/15. // Copyright (c) 2015 CoreDump. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
""" Track log messages and keep statistics on emitted record and levels. Add this logging handler to keep statistics on how many message of each level were emitted. This can help you in deciding the exit code of your application without having to track whether errors occurred everywhere in your application. You can a...
from random import randint cont = 0 while True: pc = randint(0, 9) hm = int(input('Digite um valor: ')) hmEscolhe = str(input('Par ou Ímpar? [P/I] ')).strip().upper()[0] while hmEscolhe not in 'PI': hmEscolhe = str(input('Par ou Ímpar? [P/I] ')).strip().upper()[0] soma = pc + hm if soma ...
define({ "placeholder": "输入新任务", "add": "添加", "newTask": "新任务", "completed": "已完成", "remaining": "未完成" });
from collections import deque puzzle = 367 spinlock = deque([0]) for i in range(1, 50000001): spinlock.rotate(-puzzle) spinlock.append(i) print(spinlock[spinlock.index(0) + 1])
const express = require('express') const app = express() const PORT = 8888 const bodyParser = require('body-parser') const cors = require('cors') const fs = require('fs') const nodemailer = require('nodemailer') const { google } = require('googleapis') const OAuth2 = google.auth.OAuth2 require('dotenv').config() cons...
/** * @license Apache-2.0 * * Copyright (c) 2018 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...
#!/usr/bin/env python3 import sys sys.path.append('..') import specrel.spacetime.gradient as grad import specrel.spacetime.physical as phy import specrel.visualize as vis # A color changing signal duration = 3 v = 4/5 # The color change starts at (t = 0, x = 0), and ends at (t = 3, x = 0) colorchange = grad.gradient_...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys sys.path.append('../../') from random import shuffle from z3 import * from utils.input_partition import * from utils.verif_utils import * from utils.prune import * from importlib import import_module # In[] df, X_train, y_train, X_test, y_test = load_adult_ac...
/*! * FileInput Kazakh Translations * * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or * any HTML markup tags in the messages must not be converted or translated. * * @see http://github.com/kartik-v/bootstrap-fileinput * @author Kali Toleugazy <almatytol@gmail.com> * * NOTE: this fi...
import numpy as np import torch import cv2 import math import sys, os cur_file_path = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(cur_file_path, '..')) import os.path as osp import glob, time, copy, pickle, json from torch.utils.data import Dataset, DataLoader from utils.transforms impor...
""" Ory APIs Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers. # noqa: E501 The version of the OpenAPI document: v0.0.1-alpha.93 Contact: support@ory.sh Generated by: htt...
// Timeline let timeline = document.getElementById('timeline'); let importsTimeline = document.getElementById('importsTimeline'); let exportsTimeline = document.getElementById('exportsTimeline'); // Add a country to the timeline let addCountryToTimeline = (country, tradeType, c) => { let countryDiv = document.creat...
(function(T) { "use strict"; var fn = T.fn; var FFT = T.modules.FFT; function FFTNode(_args) { T.Object.call(this, 2, _args); fn.listener(this); fn.fixAR(this); this.real = new T.ChannelObject(this); this.imag = new T.ChannelObject(this); this.cells[3]...
#include <lib.h> #include <rooms.h> #include "../include.h" inherit LIB_ROOM; void create() { ::create(); SetClimate("indoors"); SetAmbientLight(30); SetShort("a blank room"); SetLong("A featureless area."); } void init(){ ::init(); }
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:35:24 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/RelevanceE...
# -*- coding: utf-8 -*- # --------------------------------------------------------------------------------- # # Software de Observaciones Sintéticas S.O.S. # Ejemplo versión [15-Sep-2021]. Implementación de filtro de ruido # # Marcial Becerril, @ 15 September 2020 # Latest Revision: 15 September 2021, 01:00 GMT-6 ## # ...
import Vue from 'vue' import App from './App.vue' import VueTabs from 'vue-nav-tabs' import 'vue-nav-tabs/themes/vue-tabs.css' Vue.use(VueTabs) Vue.config.productionTip = false new Vue({ render: h => h(App) }).$mount('#app')
const express = require('express'); const passport = require('passport'); const RoomController = require('./controller'); const { validateParam, validateBody, schemas } = require('../validators'); const router = express.Router(); router .route('/') .get(passport.authenticate('jwt', { session: false }), RoomContr...
import random from consts import * class Game(object): def __init__(self, length=GAME_LENGTH): self.length = length self.initial_state = self.new_game() self.turns = 0 self.is_won = False self.is_ended = False def new_game(self): initial = [] while len(i...
# coding: utf-8 # In[3]: import numpy as np, random, operator, pandas as pd, matplotlib.pyplot as plt # ## Create necessary classes and functions # In[4]: xl=pd.ExcelFile('./data/CA_TSP.xlsx') print(xl.sheet_names) cities = xl.parse('city_ridership') cities_dist_matrix = xl.parse('city_dist_matrix') # Create...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _createClass2 = require('babel-runtime/helpers/createClass'); var _createClass3 = _interopReq...
#!/usr/bin/env python3 # Copyright (c) 2015-2017 The Catcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test a node with the -disablewallet option. - Test that validateaddress RPC works when running with -d...
export function invokeErrorResetRequested() { window.Vue.prototype.$eventHub.$emit('error-reset-requested'); }
var through = require('through2'); var template = require('lodash.template'); var PluginError = require('plugin-error'); var dgram = require('dgram'); const PLUGIN_NAME = 'gulp-docker-notify'; function sendNotification(messageString) { const message = Buffer.from(messageString); const client = dgram.createSocket(...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:11:23 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/GeoServic...
import React from 'react'; import _ from 'lodash'; import {Link} from 'react-router'; require('./styles.css'); export default class TagList extends React.Component { constructor(props, context) { super(props, context); this.state = { linkable: this.props.linkable === true, ...
#coding:utf-8 # # id: bugs.core_2341 # title: Hidden variables conflict with output parameters, causing assertions, unexpected errors or possibly incorrect results # decription: # tracker_id: CORE-2341 # min_versions: [] # versions: 2.5 # qmid: None import pytest from firebird.qa import ...
'use strict' // ---------------------------------------------------------------------------- const log = require ('ololog') , ansi = require ('ansicolor').nice , chai = require ('chai') , expect = chai.expect , assert = chai.assert /* -------------------------------------------...
import pygame pygame.init() pygame.mixer.music.load('lembra.mp3') pygame.mixer.music.play() pygame.event.wait()
/* * FreeRTOS Kernel V10.4.1 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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, includ...
# -*-coding:utf-8-*- from setuptools import setup setup( name='rocketchat_API', version='1.6.0', packages=['rocketchat_API', 'rocketchat_API.APIExceptions'], url='https://github.com/jadolg/rocketchat_API', license='MIT', author='Jorge Alberto Díaz Orozco', author_email='diazorozcoj@gmail.c...
QuizEngine.Helpers = QuizEngine.Helpers || {}; QuizEngine.Helpers.SubAppManager = (function() { console.log("QuizEngine - QuizEngine.Helpers.SubAppManager called"); var SubAppManager = Marionette.Controller.extend({ startSubApp: function(name, args) { console.log("QuizEngine - QuizEngine.Helpers.Su...
export default { "pages": { "root": { "id": "root", "pageUrl": "root", "name": "root", "children": [ "5efb03e846cf7b001ed1ca0b", "5efb03e846cf7b001ed1ca0d" ] }, "5efb03e846cf7b001ed1ca0b": { "id": "5efb03e846cf7b001ed1ca0b", "name": "404", "pageUrl": "404" }, "5efb03e846cf7b00...
var mongoose = require('./mongoose'); var transactionSchema = mongoose.Schema({ product: { type: mongoose.Schema.Types.ObjectId, ref: 'Product' }, stageId: { type: Number, required: true }, start: { type: Date, default: Date.now }, end: { ...
class VLANs(object): def __init__(self, session): super(VLANs, self).__init__() self._session = session def getNetworkVlans(self, networkId: str): """ **List the VLANs for an MX network** https://api.meraki.com/api_docs#list-the-vlans-for-an-mx-network ...
from django.apps import AppConfig class GuesserConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'Guesser'
import bs4, requests #É um modulo usado para extrair informacoes de uma pagina web #bs4.BeautifulSoup() #Deve ser chamado com uma string contendo o html em que o parse sera feito. res = requests.get("https://jonathan-jipslok.github.io/") res.raise_for_status() Jip = bs4.BeautifulSoup(res.text) Jip.select('div') #Pe...
/** * jQuery EasyUI 1.4.1 * * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. * * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt * To use it on other terms please contact us at info@jeasyui.com * */ !function(t){function a(a){var e=t.data(a.data.target,"draggable"),r=e.opti...