text
stringlengths
3
1.05M
from lib.models import networkgcn, networktcn import torch import numpy as np from TorchSUL import Model as M from tqdm import tqdm import torch.nn.functional as F import pickle import glob import os from collections import defaultdict import scipy.io as sio if __name__=='__main__': order = np.int64([10, 8, ...
YUI.add("dd-drag",function(D){var E=D.DD.DDM,U="node",G="dragging",N="dragNode",C="offsetHeight",K="offsetWidth",S="mouseup",P="mousedown",M="dragstart",H="drag:mouseDown",B="drag:afterMouseDown",F="drag:removeHandle",L="drag:addHandle",R="drag:removeInvalid",T="drag:addInvalid",J="drag:start",I="drag:end",O="drag:drag...
(function(a){a.fn.datetimepicker.dates.is={days:"Sunnudagur Mánudagur Þriðjudagur Miðvikudagur Fimmtudagur Föstudagur Laugardagur Sunnudagur".split(" "),daysShort:"Sun Mán Þri Mið Fim Fös Lau Sun".split(" "),daysMin:"Su Má Þr Mi Fi Fö La Su".split(" "),months:"Janúar Febrúar Mars Apríl Maí Júní Júlí Ágúst September Okt...
$(document).ready(function () { $uploadCrop = $('#upload-demo').croppie({ enableExif: true, viewport: { width: 216, height: 216, type: 'circle' }, boundary: { width: 300, height: 300 } }});
/* eslint-disable no-alert */ /* global alert */ import React from 'react'; import { StyleSheet, View } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { Button, Text } from '../anchor-ui-native'; import { colors } from '../anchor-ui-native/config'; const styles = StyleSheet.create({ wrapp...
# -*- coding: utf-8 -*- # # This is a Construct library which represents an # LC_CODE_SIGNATURE structure. Like all Construct # libraries, can be used for parsing or emitting # (Construct calls it 'building') # from construct import * import plistlib class PlistAdapter(Adapter): def _encode(self, obj, context):...
# 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, software # distributed under the...
webpackJsonp([10,16],[ /* 0 */ /***/ function(module, exports) { /* WEBPACK VAR INJECTION */(function(__dirname) {import React from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import { render } from 'react-dom'; import { browserHistory, Router, Route, Link } from 'react-router...
import React from "react" import { graphql } from "gatsby" import Layout from "../components/layout" import SEO from "../components/seo" import PostCard from "../components/post-card" const BlogIndex = ({ data, location }) => { const siteTitle = data.site.siteMetadata.title const posts = data.allMarkdownRemark.ed...
const { Message, MessageEmbed } = require('discord.js'); const indentString = require('indent-string'); const fetch = require("node-fetch"); const moment = require("moment"); module.exports = { name: "weather", category: "utilities", description: "Returns the weather of the specified location", usage: ...
#!/usr/bin/env python3 # Copyright (c) 2014-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Helpful routines for regression testing.""" from base64 import b64encode from binascii import h...
from ipykernel.kernelapp import IPKernelApp from .kernel import LispKernel IPKernelApp.launch_instance(kernel_class=LispKernel)
# -*- coding: utf-8 -*- """Factory boy factories for the Forward addon.""" from factory import SubFactory from tests.factories import ModularOdmFactory, ProjectFactory from website.addons.forward.model import ForwardNodeSettings class ForwardSettingsFactory(ModularOdmFactory): class Meta: model = Forwar...
// Copyright (c) 2009-2019 The Pyeongtaekcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PYEONGTAEKCOIN_TEST_FUZZ_FUZZ_H #define PYEONGTAEKCOIN_TEST_FUZZ_FUZZ_H #include <functional> #include <stdin...
#ifndef DPD_SYSTEM_H #define DPD_SYSTEM_H #include <iostream> #include <cmath> #include <list> #include <vector> #include "Particle_type.h" #include "randomFun.h" using namespace std; //runID: //0 --no flow, periodic BC in 3 directions //1 --simple shear flow or Poiseuille Flow, wall BC in Z - direction //2 --periodi...
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: tasking_dsz.py import mcl.framework import mcl.tasking class dsz: INTERFACE = 16842801 PFAM = 4141 PROVIDER_ANY = 4141 PROVIDER = 16...
#!/usr/bin/env python """ Download data from kibot.com, compress each file, upload it to S3. # Process only specific dataset: > download.py --dataset all_stocks_1min --dry_run -u XYZ -p ABC # Process only specific dataset: > download.py --dataset all_stocks_1min # Process several datasets: > download.py --dataset al...
'use strict' const {Enum} = require('../utils/Enum') /** * The spec version for which to check the image visual accessibility level. * * @readonly * @enum {string} */ const AccessibilityGuidelinesVersion = { WCAG_2_0: 'WCAG_2_0', WCAG_2_1: 'WCAG_2_1', } exports.AccessibilityGuidelinesVersion = Enum( 'Acce...
import pytest from presidio_anonymizer.entities import InvalidParamException from presidio_anonymizer.entities.engine import OperatorConfig def test_given_valid_json_then_we_parse_it_to_operator_config(): operator_config = OperatorConfig.from_json({ "type": "mask", "masking_char": "*", "c...
(function() { function vendorModule() { 'use strict'; return { 'default': self['QrCode'] }; } define('jsqrcode', [], vendorModule); })();
""" Django settings for config project. Generated by 'django-admin startproject' using Django 3.2.11. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os im...
/* Red Black Trees (C) 1999 Andrea Arcangeli <andrea@suse.de> (C) 2002 David Woodhouse <dwmw2@infradead.org> (C) 2012 Michel Lespinasse <walken@google.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free...
/*! * jQCloud Plugin for jQuery * * Version 1.0.4atest * * Copyright 2011, Luca Ongaro * Licensed under the MIT license. * * Date: 2013-05-09 18:54:22 +0200 */ (function(e){"use strict";e.fn.jQCloud=function(t,n){var r=this,i=r.attr("id")||Math.floor(Math.random()*1e6).toString(36),s={width:r.width(),...
import os import tempfile import unittest from LemonGraph import Graph, Serializer, dirlist, Query node = lambda i: dict((k, Nodes[i][k]) for k in ('type', 'value')) edge = lambda i: dict((k, Edges[i][k]) for k in ('type', 'value', 'src', 'tgt')) Nodes = [ {'type': 'foo', 'value': 'bar', 'properties': {'np1k': '...
const path = require('path'); module.exports = (env = {}) => { const __DEV__ = env.production !== true; return { mode: __DEV__ ? 'development' : 'production', entry: { 'frame-runner': './src/client/frame-runner.js', 'sass-compile': './src/client/workers/sass-compile.js' }, devtool: __DE...
import { createEl, classes } from '../dom-utils'; import { Page } from '../book'; import { Layout } from '../constants'; import { printMarksSingle, printMarksSpread, bookletMeta } from './printMarks'; import padPages from './padPages'; import orderPagesBooklet from './orderPagesBooklet'; const twoPageSpread = childre...
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
# pylint: disable=too-many-lines from decimal import Decimal from mock import patch from werkzeug.datastructures import MultiDict from app.data_models.answer_store import Answer, AnswerStore from app.forms import error_messages from app.forms.questionnaire_form import generate_form from app.forms.validators import ( ...
from django.conf.urls import url from accounts import views from django.contrib.auth.views import logout urlpatterns = [ url(r'^send_login_email$', views.send_login_email, name='send_login_email'), url(r'^login$', views.login, name='login'), url(r'^logout$', logout, {'next_page': '/'}, name='logout'), ]
import React from 'react'; import { DatePicker } from 'antd'; import 'antd/dist/antd.css'; export default class BroPicker extends React.Component { render () { return ( <DatePicker /> ); } }
from flask import Blueprint bp = Blueprint("proxy", __name__) from app.proxy import routes
""" generic datetimelike tests """ import numpy as np import pytest import pandas as pd import pandas.util.testing as tm from .common import Base class DatetimeLike(Base): def test_argmax_axis_invalid(self): # GH#23081 rng = self.create_index() with pytest.raises(ValueError): ...
#!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################################ # # RMG Website - A Django-powered website for Reaction Mechanism Generator # # Copyright (c) 2011 Prof. William H. Green (whgreen@mit.edu) and the # RMG Team (rmg_dev@mit.edu) # # Permission ...
# # 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, software # ...
import fnmatch from conans.client.output import ScopedOutput from conans.errors import ConanException class BuildMode(object): """ build_mode => ["*"] if user wrote "--build" => ["hello*", "bye*"] if user wrote "--build hello --build bye" => False if user wrote "never" ...
// @ts-nocheck 'use strict'; const Base = require('./Base'); /** * Represents a typing state for a user in a channel. * @extends {Base} */ class Typing extends Base { /** * @param {TextBasedChannels} channel The channel this typing came from * @param {User} user The user that started typing * @par...
/* eslint-disable import/no-extraneous-dependencies, import/no-webpack-loader-syntax, import/no-unresolved */ /* global loadImage, define */ define(function (require) { var registerSuite = require('intern!object'); var assert = require('intern/chai!assert'); function runTest(tester, asserter) { return function ()...
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import pyaudio import wave FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 44100 CHUNK = 1024 RECORD_SECONDS = 5 WAVE_OUTPUT_FILENAME = "file.wav" audio = pyaudio.PyAudio() # start Recording stream = audio.open(forma...
var _SESSION_TIME_OUT = 1000 * 60*30; var _USER_EXPIRE = 1000 * 60*60*24*730; var VisitTrack = { visittrack_log : function (_pk_site, _pk_pkurl) { if(_pk_site == '25') _pk_site = 'SCHEMA_25';// just for caixun. pls DELETE before release version. if (_pk_cookie == 0)return; //alert("第一次...
/* Compatibility symbols for the obsolete <regexp.h> interface. Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. The GNU C Library is free software; you can redistribute it and/or modify it under the ...
var searchData= [ ['timeout_41',['timeout',['../states_8c.html#a493b57f443cc38b3d3df9c1e584d9d82',1,'states.c']]], ['timer1_5fmillis_42',['timer1_millis',['../millis_8c.html#a2e14924e6cd839ec067b3f8c08fd73a6',1,'millis.c']]] ];
import React from "react" import Header from "../components/Header" import Footer from "../components/Footer" import layoutStyles from "./layout.module.scss" import Transition from "../components/transition" import PropTypes from "prop-types" import { gsap, TweenLite } from "gsap" import Cursor from "../components/Curs...
#pragma once #include "f4se/GameTypes.h" class Actor; class TESObjectREFR; enum EventResult { kEvent_Continue = 0, kEvent_Abort }; // 08 template <typename T> class BSTEventSink { public: virtual ~BSTEventSink() { }; virtual EventResult ReceiveEvent(T * evn, void * dispatcher) { return kEvent_Continue; }; // pu...
import Module from "./maximilian.wasmmodule.js"; //NOTE:FB We need this import here for webpack to emit maximilian.wasmmodule.js import Open303 from "./open303.wasmmodule.js"; //NOTE:FB We need this import here for webpack to emit maximilian.wasmmodule.js import CustomProcessor from "./maxi-processor"; import "../utils...
function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a functio...
/*! * OpenUI5 * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.ui.layout.FixFlex. sap.ui.define([ "sap/ui/core/Control", "sap/ui/core/EnabledPropagator", "sap/ui/core/ResizeHandler", "sap/ui/core/delegat...
// choupao.c // Last Modified by winder on May. 25 2001 #include <armor.h> inherit CLOTH; void create() { set_name("綢袍", ({"chou pao", "pao", "cloth"})); set_weight(3000); if( clonep() ) set_default_object(__FILE__); else { set("long","一件絲綢長袍,質的和裁剪都不錯.\n...
// Window load // window.onload = function(){ loadMCBanner(); } // Get mc-banner // var getMC = new XMLHttpRequest; getMC.onreadystatechange = function() { request = null; if (this.readyState == 4 && this.status == 200) { var tmp = null; var tmp = JSON.parse(getMC.responseText); ...
var urlRest = $("#urlRest").val(); var urlSocket = $("#urlSocket").val(); var userSocket = $("#userSocket").val(); var passSocket = $("#passSocket").val(); var base_url = $("#base_url").val(); var markers_validate = []; var optionsDates = { weekday: "long", year: "numeric", month: "long", day: "numeric"...
import os import pickle import platform from pathlib import Path import cloudpickle import pytest import tests.base.develop_utils as tutils from pytorch_lightning import Trainer from pytorch_lightning.callbacks import ModelCheckpoint from pytorch_lightning.loggers import TensorBoardLogger from tests.base import EvalM...
from flask_wtf import FlaskForm from wtforms import StringField,PasswordField,SubmitField,ValidationError,BooleanField from wtforms.validators import Required,Email,EqualTo from ..models import User class RegistrationForm(FlaskForm): email = StringField('Your Email Address',validators=[Required(),Email()]) use...
{ var __result1 = Object.prototype.hasOwnProperty.prototype !== undefined; var __expect1 = false; }
import os import time from socket import inet_pton from cryptography import x509 from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes, hmac from cryptography.hazmat.primitives.asymmetric import dh, padding from cryptography.hazmat.primitives.serialization import loa...
#!/usr/bin/env python """ Copyright (c) 2020 Alex Forencich 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, merg...
# Stdlib from datetime import datetime from typing import List, Union # External Libraries from gino import Gino from simpleflake import simpleflake from sqlalchemy import or_, func # Sayonika Internals from framework.objects import db class Base: """ Base class for models to inherit from. Provides defa...
/** * @flow strict * @generated from TestImmutableArray.res * @nolint */ /* eslint-disable */ // $FlowExpectedError: Reason checked type sufficiently import * as TestImmutableArrayBS from './TestImmutableArray.bs'; export const testImmutableArrayGet: <T1>($ReadOnlyArray<T1>) => ?T1 = TestImmutableArrayBS.testImm...
import http from '@/utils/httpRequest' export function bModeStatistics (params) { return http({ url: 'api/consapply/GetConsBStatistics', method: 'GET', params: params }) }
const router = require('express').Router() const {User} = require('../db/models') module.exports = router function isAccessGranted(req, res, next) { // Here your authorization logic (jwt, OAuth, custom connection logic...) if (!req.user || req.user.securityClearance !== 'admin') return res.status(403).json('HE...
const express = require('express'); const path = require("path"); const fs = require("fs"); const PORT = process.env.PORT || 3002; const app = express(); const directory = path.join(__dirname, "/public"); app.use(express.urlencoded({ extended: true })); app.use(express.json()); app.use(express.static('public')); app...
# # 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, software # ...
var express = require('express'); var router = express.Router(); var multer = require("multer"); const path = require('path'); const runSql = require('../mysql'); const { getTimestamp_13 } = require('../src/timer'); const { getToken, checkToken } = require('../src/token'); const getRandom = require('../src/user/verifi...
############################################################################### # FILE : weather_view.py # SYNOPSIS : A specific Django 3 class-view to obtain the weather. # LICENSE : MIT ############################################################################### ######################################...
#Write a class complex to represent complex numbers, #along with overloaded operators + and * which adds and multiplies them. #Formula --> (a+bi)(c+di) = (ac-bd) + (ad+bc)i class Complex: def __init__(self, r, i): self.real = r self.imaginary = i def __add__(self, c): return Complex(s...
import dmg.gallery as gallery import dmg.dgmg as dgmg import dmg.gmg_linear as gmg_linear import dmg.classical_amg as classical_amg import numpy as np ## 1D Poisson equation print("1D Poisson equation") print("Compute spectral radius for linear P and R operators...") num_levels = 3 print("Number of levels = {}".forma...
import numpy as np import cv2 from chistogram import histogram from kernel import KernelLUT from dTransform import dTransform import matplotlib.pylab as plt import globalP as gp class model: def __init__(self, imageSize, modelLength, channels): self.model = [] self.lFrame = 0 self.modelLength = modelLength s...
'use strict'; module.exports = require('./components/accordion/Accordion');
"""Provide a registry to track entity IDs. The Entity Registry keeps a registry of entities. Entities are uniquely identified by their domain, platform and a unique id provided by that platform. The Entity Registry will persist itself 10 seconds after a new entity is registered. Registering a new entity while a timer...
window.__NUXT__=(function(a,b,c,d){return {staticAssetsBase:"\u002Fstatic\u002F1597376630",layout:"default",error:b,state:{notification:{show:a,title:c,message:c},isShowSidebar:a,isSupportWebShare:a,headerTitle:"e-AlQur'an",page:"home",lastReadVerse:b,settingActiveTheme:{name:"dark",bgColor:"#071e3d",fgColor:"#fff"},se...
import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.curdir, 'beta-issues'))) from flask import Flask, render_template, flash, request, url_for, redirect, session, abort, Markup from werkzeug.utils import secure_filename from functools import wraps from wtforms import Form, TextField, PasswordField...
/* * Kendo UI Complete v2013.3.1119 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be gove...
import _curry1 from './internal/_curry1.js'; import nAry from './nAry.js'; /** * Wraps a function of any arity (including nullary) in a function that accepts * exactly 1 parameter. Any extraneous parameters will not be passed to the * supplied function. * * @func * @memberOf R * @since v0.2.0 * @category Func...
// // ConsoleTests.h // Seed of Andromeda // // Created by Cristian Zaloj on 1 Aug 2015 // Copyright 2014 Regrowth Studios // All Rights Reserved // // Summary: // // #pragma once #ifndef ConsoleTests_h__ #define ConsoleTests_h__ #include "Chunk.h" /*****************************************************************...
// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
import React from 'react'; import { GoogleMap, withGoogleMap } from 'react-google-maps'; import { Box } from '@material-ui/core'; import CmtCard from '../../../../@coremat/CmtCard'; import makeStyles from '@material-ui/core/styles/makeStyles'; const useStyles = makeStyles(() => ({ cardRoot: { height: '100%', ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <GameCenterUI/GKImageBrush.h> #import "GKBrushIdentification.h" @class NSString; @interface GKMacGameIconBrush : GKImageBrush <GKBrushIdentification> { struct CGSize ...
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.fx.flip"]){ //_hasResource checks added by build. Do not use _hasResource directly in your cod...
from django import VERSION as DJANGO_VERSION from django.core.exceptions import ImproperlyConfigured from django.db import transaction from django.forms import Form from django.http import HttpResponseRedirect from django.shortcuts import redirect from django.urls import reverse from django.utils.translation import get...
var href = 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', id = 'font-awesome-4.7.0'; describe("lazyLoadCSS", function () { beforeEach(function () { const links = document.head.querySelectorAll('link'); for(var i = 0; i < links.length; i++) links[i].remove(); }); i...
import json import click from .utils import formatter @click.command() @click.argument('path', type=click.Path(exists=True)) @click.option('--sort', '-s', is_flag=True) def main(path, sort): with open(path, 'r') as _f: click.secho( formatter(_f.read(), sort_keys=sort), fg='yellow',...
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:07:59 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/AccessibilityBundles/UIKit.axbundle/UIKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne...
import Summary from "../components/Summary" export default function Rankings(props) { const { loading, players, search, setSearch } = props const searchBar = ( <input value={search} style={{ marginBottom: "48px" }} placeholder="Search players" onChange={...
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parserOptions: { parser: "babel-eslint" }, env: { browser: true }, extends: [ // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention // consider switching to `plugin:vue/strongly-re...
""" MIT License Copyright (c) 2021 TheHamkerCat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
import logging import math import sys import numpy as np logger = logging.getLogger('lottery_ticket_pruner') def _prune_func_random(initial_weights, pretrained_weights, current_weights, current_mask, prune_percentage): """ Randomly prunes the weights. This function gets called with information about the lay...
#!/usr/bin/env python # -*- coding: utf-8 -*- # Note: To use the 'upload' functionality of this file, you must: # $ pip install twine import io import os import sys from shutil import rmtree from setuptools import setup, Command # Package meta-data. NAME = 'facebook-scraper' DESCRIPTION = 'Scrape Facebook public ...
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
import React from 'react'; import { Link } from 'react-router-dom'; import { Grid, Typography, Button } from '@material-ui/core/'; import Cart from './Cart'; const Header = () => { return( <Grid container direction="row" justify="space-between" alignItems="center" xs={12}> <Typography variant='...
#import <Foundation/Foundation.h> #import <CoreGraphics/CoreGraphics.h> @import AssetsLibrary; @import JavaScriptCore; @protocol JSBNSObject; @protocol JSBALAssetsGroup <JSExport, JSBNSObject> #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" @property (nonatomic, readonly,...
/* rmskTrack - Handle RepeatMasker track. */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "common.h" #include "hash.h" #include "linefile.h" #include "jksql.h" #include "hdb.h" #include "hgTracks.h" #include "rmskOu...
const defaultTheme = require('tailwindcss/defaultTheme'); module.exports = { future: { removeDeprecatedGapUtilities: true, purgeLayersByDefault: true, }, purge: { mode: 'all', content: ['./src/**/*.js'], }, theme: { extend: { fontFamily: { sans: ['Epilogue', ...defaultTheme....
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ....
console.log('%c' + "banner-picture.js loaded", 'color: #0bf; font-size: 1rem; background-color:#fff'); document.addEventListener("DOMContentLoaded", function() { wp.customize( // sur quelle variable le javascript doit gérer le live preview 'serviceTitle1', // déclaration de la fonction qui "gère" la va...
# -*- coding: utf-8 -*- # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ This file contains components with some default boilerplate logic user may need in training / testing. They will not work for everyone, but many users may find them useful. The behavior of functions/classes in this file ...
# A comment, this is so you can read your program later. # Anything after the # is ignored by python print("I could have code like this.") # and the comment after is ignored # You can also use a comment to "disable"or comment out code: # print ("This won't run.") print("This will run.")
import numpy as np from matplotlib import pyplot as plt from PIL import Image import pandas as pd from sklearn.metrics import confusion_matrix from sklearn.metrics import accuracy_score from sklearn.metrics import recall_score from sklearn.metrics import precision_score from sklearn.metrics import f1_score from imblear...
/*! * Vue.js v2.6.10 * (c) 2014-2019 Evan You * Released under the MIT License. */ /* */ var emptyObject = Object.freeze({}); // These helpers produce better VM code in JS engines due to their // explicitness and function inlining. function isUndef (v) { return v === undefined || v === null } function isDef (...
const Chart = require("chart.js"); // // Chart extension for making the bars rounded // Code from: https://codepen.io/jedtrow/full/ygRYgo // Chart.elements.Rectangle.prototype.draw = function() { var ctx = this._chart.ctx; var vm = this._view; var left, right, top, bottom, signX, signY, borderSkipped, radius; ...
"""Checks import position rule""" # pylint: disable=unused-import,relative-import,ungrouped-imports,import-error,no-name-in-module,relative-beyond-top-level try: import x except ImportError: pass finally: pass import y
$(document).ready(function(){ var zona = $("#zona").val(); var categoria = $("#categoria").val(); var dato = 'categoria=' + categoria + '&zona=' + zona; $.ajax({ type: "POST", url: "ajax/fixture.php", data: dato, success: function(response){ ...
// -*- C++ -*- //============================================================================= /** * @file Log_Constraint_Visitors.h * * $Id: Log_Constraint_Visitors.h 81643 2008-05-07 19:34:56Z parsons $ * * @author Pradeep Gore <pradeep@cs.wustl.edu> * @author Jeff Parsons <parsons@cs.wustl.edu> * @aut...