text stringlengths 3 1.05M |
|---|
YUI.add("lang/datatable-paginator_fr",function(e){e.Intl.add("datatable-paginator","fr",{first:"Premi\u00e8re",prev:"Pr\u00e9c\u00e9dente",next:"Suivante",last:"Derni\u00e8re",goToLabel:"Page :",goToAction:"Aller",perPage:"Lignes :",showAll:"Afficher tout"})},"3.14.1");
|
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
import { injectIntl } from 'react-intl';
import SectionHeader from './section-header';
export default injectIntl(SectionHeader);
|
import React from "react";
import useStoreon from "storeon/react";
import {Button} from 'reactstrap';
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
import { faPlus } from "@fortawesome/free-solid-svg-icons"
export default () => {
const { dispatch } = useStoreon();
const handleAddProvider = (e) =... |
//
// Generated on Tue Dec 16 2014 12:13:47 GMT+0100 (CET) by Charlie Robbins, Paolo Fragomeni & the Contributors (Using Codesurgeon).
// Version 1.2.6
//
(function (exports) {
/*
* browser.js: Browser specific functionality for director.
*
* (C) 2011, Charlie Robbins, Paolo Fragomeni, & the Contributors.
* MIT L... |
var searchData=
[
['uninit',['uninit',['../class_p_d_m_gen3.html#a6745441977184a1905dcf4a60137a561',1,'PDMGen3']]],
['unsigned_5f8',['UNSIGNED_8',['../class_p_d_m_gen3.html#ab2597d30cae13fab7fa5b5d98499e78da9c0a9694c8d3bba0f29a671287474e92',1,'PDMGen3']]],
['usebuffera',['useBufferA',['../class_p_d_m_gen3.html#a9... |
import React from 'react';
import { Platform } from 'react-native';
import { createStackNavigator, createBottomTabNavigator } from 'react-navigation';
import TabBarIcon from '../components/TabBarIcon';
import HomeScreen from '../screens/HomeScreen';
import CurrentJobScreen from "../screens/CurrentJobScreen";
import Pe... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _beeQueue = _interopRequireDefault(require("bee-queue"));
var _random = _interopRequireDefault(require("./random"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj... |
/**
* Redirect is a function allowing to redirect to a controller action by giving an url.
*
* @param {string} url
* @param {boolean} inHistory
*
* @author Kevin Marcachi <kevin.marcachi@gmail.com>
* @package nucleon-js
*/
var redirect = function (url, storeInHistory) {
var pages = require('../../../src/c... |
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import pandas as pd
from numpy import std
import pickle
import pdb
import os
from statistics import median
from typing import List
# Descriptive stats - number of papers, median or mean number of coauthors, age of oldest paper
def pl... |
/**
* @ngdoc controller
* @name Umbraco.Editors.ContentDeleteController
* @function
*
* @description
* The controller for deleting content
*/
function ContentDeleteController($scope, contentResource, treeService, navigationService, editorState, $location) {
$scope.performDelete = function() {
... |
#Submodule containing 2G flood warning assessment function
import matplotlib
from scipy.misc import derivative
import numpy as np
from datetime import date
def trend(poly, d0):
return derivative(poly, matplotlib.dates.date2num(date.today()))
def warning(stations):
levelList = list()
severeList = list()
... |
# -*- coding: utf-8 -*-
# Copyright 2020 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... |
module.exports = {
apps: [
{
name: 'api',
script: 'dist/index.js',
env: {
NODE_ENV: 'development',
},
env_production: {
NODE_ENV: 'production',
},
},
],
};
|
import csv
import cv2
import numpy as np
from sklearn.utils import shuffle
samples = []
with open('/opt/data/driving_log.csv') as csvfile:
reader = csv.reader(csvfile)
first = True
for line in reader:
if first:
first = False
continue
samples.append(line)
import os.path
from sklearn.model_selection import... |
#!/usr/bin/env python3
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Derivative work of https://chromium.googlesource.com/chromium/src/+/HEAD/build/config/fuchsia/prepare_package_inputs.py
#
"""Create... |
// FitVids options
$(function() {
$("article").fitVids();
});
// Table of Contents toggle
$(function() {
$(".toc h3").click(function () {
$("#drawer").toggleClass("js-hidden");
});
});
// Add lightbox class to all image links
$("a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[258],{YWRM:function(e,o,t){var n,p,i;!function(s){if("object"==typeof e.exports){var c=s(0,o);void 0!==c&&(e.exports=c)}else p=[t,o],void 0===(i="function"==typeof(n=s)?n.apply(o,p):n)||(e.exports=i)}((function(e,o){"use strict";Object.defineProperty(o,"__esModule",{... |
module.exports = {
webDependencies: [
"delta-crdts-msgpack-codec",
"delta-crdts",
"text-diff",
"buffer-es6"
],
rollup: {
plugins: [
require('@rollup/plugin-replace')({
values: {
'readable-stream/transform': '_stream_transform',
'readable-stream/duplex': '_stre... |
import fs from 'fs';
export const TIMEOUT = 5000;
export const pathToName = (filepath) => {
if (filepath !== null && filepath !== '') {
if (process.platform === 'win32') {
return filepath.split('\\').pop();
}
return filepath.split('/').pop();
}
return false;
};
const IPV4_REGEX = /^((25[0-5]|... |
import django_filters
from .models import Entry, Objective, KR
from django_filters import ModelChoiceFilter
from django.contrib.auth.models import User
from django.db.models.functions import Lower
class OKRFilter(django_filters.FilterSet):
user = ModelChoiceFilter(queryset=User.objects.all().order_by(Lower('usern... |
# 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... |
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)... |
const mainEl = document.querySelector('main');
const bodyEl = document.querySelector('body');
function scheduleTimeslot(event) {
if (event.target.className !== 'schedule-lesson-btn') {
return;
}
mainEl.className = 'mainModalOn';
bodyEl.className = 'bodyModalOn';
const teacherName = document.querySelect... |
import * as React from 'react';
import {
View,
Text,
StyleSheet,
SafeAreaView,
TouchableOpacity
} from 'react-native';
import { Actions } from 'react-native-router-flux';
import Logo from './Logo';
import FormSignUp from './FormSignUp';
import SignIn from './SignIn';
import OwnerFormSignUp from './OwnerFormSi... |
import webpackConfig from './webpack-config';
export default webpackConfig;
|
var box = require('bindings')('addon');
module.exports = box;
|
"""
The MIT License (MIT)
Copyright © 2018 Jean-Christophe Bos & HC² (www.hc2.fr)
"""
from struct import pack
import socket
import gc,time
class MicroWebCli :
# ============================================================================
# ===( Class AuthBasic )============================================... |
from .asserts import verify_records_schema
from .common import SecretDict, filter_output, full_refresh_only_catalog, incremental_only_catalog, load_config
from .compare import diff_dicts, serialize
from .connector_runner import ConnectorRunner
from .json_schema_helper import JsonSchemaHelper
__all__ = [
"JsonSchem... |
#!/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.
"""Test mempool persistence.
By default, bitcoind will dump mempool on shutdown and
then reload it on sta... |
CATARSE.PaymentChoice = Backbone.View.extend({
el: '.list_payment',
events: {
'change input[type="radio"]' : 'onListPaymentChange'
},
onListPaymentChange: function(e){
$('.payment_section').fadeOut('fast', function(){
var currentElementId = $(e.currentTarget).attr('id');
$('#'+currentEleme... |
$(document).ready(function(){
var _from;
var _to;
var _distance;
//_from = "Москва";
// _to = "Париж";
$('#fuelform-from').on('input', function(){
// Действия после окончания ввода в форму "From"
function assignFrom()
{ // присваиваем результат инпута глобальной переменной _from
_from = d... |
import numpy as np
import matplotlib.pyplot as plt
import helper
import sys
grid = int(sys.argv[1])
print("Grid:", grid)
prec = np.float64
solutions = ["rk4_naive", "srk4_ec", "srk4_opt", "rk4_ed"]
labels=["RK4-NA", "SRK4-EC1", "SRK4-EC2", "RK4-ED"]
p0 = {}
p1 = {}
max_err = {}
t = {}
dlabels = {}
for lbl, soln i... |
import { h } from 'hyperapp'
const AddItem = ({ add, input, value, placeholder }) => (
<div class='flex'>
<input
type="text"
onkeyup={e => (e.keyCode === 13 ? add() : null)}
oninput={e => input({ value: e.target.value })}
value={value}
placeholder={placeholder}
/>
<button on... |
import assert from 'assert';
import path from 'path';
import {bundle, outputFS, distDir} from '@parcel/test-utils';
describe('namer', function() {
it('should determine correct entry root when building a directory', async function() {
await bundle(path.join(__dirname, 'integration/namer-dir'));
assert(await ... |
import { SET_PROVIDER } from '../actions/provider'
import configure from '../config'
const config = configure(global)
// By default, we start with the first provider.
const initialState = Object.keys(config.providers)[0] || null
const providerReducer = (state = initialState, action) => {
if (action.type === SET_PR... |
/* */
(function(process) {
module.exports = require("./custom")(process.env);
})(require("process"));
|
/**
* @author Deux Huit Huit
*
* Change state
*
*
* ATTRIBUTES :
* (OPTIONAL)
* - data-{state}-state-add-class : List of class added when state goes on
* - data-{state}-state-rem-class : List of class removed when state goes on
*
* - data-{state}-state-follower : List of selector separ... |
import C from '../../../src/constants';
import { autocompleteAddSelectedItem } from '../../../src/actions-autocomplete';
describe('autocompleteAddSelectedItem', () => {
test('multi selection', () => {
const form = 'myform';
const field = 'myfield';
const allowMulti = true;
const val... |
import React from "react";
import SubastaForm from "./SubastaForm";
import SubastaABI from "../contracts/Subasta.json"
class Manager extends React.Component {
state = {
account: "",
date: "",
dataSubastas: null,
subastas: [],
stackId: null
}
constructor(props) {
super(props);
this.h... |
import React from 'react'
import PropTypes from 'prop-types'
import getDisplayName from 'react-display-name'
// Render prop component and HOC for re-rendering.
// For a discussion on pitfalls, see
// https://gist.github.com/staltz/08bf613199092eeb41ac8137d51eb5e6
class Redraw extends React.Component {
static propTy... |
import uuid
import base64
class Unimplemented(Exception):
pass
class RoleFail(Exception):
pass
def new_uuid():
return str(uuid.uuid4())
def encode(x):
return x.encode()
SUPERUSER = '*'
""" role used to bypass all permission checks """
ROOT_UUID = '00000000-0000-0000-0000-000000000000'
""" par... |
import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWidgets import QHBoxLayout
from PyQt5.QtWidgets import QPushButton
from PyQt5.QtWidgets import QWidget
app = QApplication(sys.argv)
window = QWidget()
window.setWindowTitle('Random buttons')
layout = QHBoxLayout()
layout.addWidget(QPushButton('Like'))
... |
/**
* Bio component that queries for data
* with Gatsby's useStaticQuery component
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React from "react"
import { useStaticQuery, graphql } from "gatsby"
import Image from "gatsby-image"
import { rhythm } from "../utils/typography"
const Bio = () =... |
import AssignmentIcon from '@material-ui/icons/Assignment';
import PersonIcon from '@material-ui/icons/Person';
import SchoolIcon from '@material-ui/icons/School';
import WorkIcon from '@material-ui/icons/Work';
const initialState = [
{
id: '1',
title: 'Personal Data',
label: 'personal-data',
Icon: P... |
$(window).scroll(function () {
$('nav').toggleClass('scrolled', $(this).scrollTop() > 200);
});
|
const sign = require('koa-jsonwebtoken').sign
const secret = require('../../middleware/authentication').secret
const User = require('../users/model')
const log = require('../../modules/logger')('arxivum:users:authenticate')
async function authenticate (ctx) {
const {email, password} = ctx.request.body
try {
c... |
require('normalize.css/normalize.css')
require('../css/main.css')
require('./page.css')
document.addEventListener('DOMContentLoaded', () => {
console.log('DOMContentLoaded', 'page-contacts')
})
|
var searchData=
[
['unknown_1128',['Unknown',['../physics_system_8h.html#a03b7725142aecb37a210680305db877da88183b946cc5f0e8c96b2e66e1c74a7e',1,'physicsSystem.h']]]
];
|
export default class APILoader {
getScriptSrc() {
return 'https://webapi.amap.com/maps?v=1.4.15&key=15cd8a57710d40c9b7c0e3cc120f1200&plugin=Map3D'
}
buildScriptTag(src) {
const script = document.createElement('script')
script.type = 'text/javascript'
script.async = true
script.defer = true
... |
#!/usr/bin/env python3
import os
import numpy as np
import pandas as pd
import networkx as nx
import random
import sfa
import csv
import sys
fpath = os.path.join(sys.argv[1]) #location of networkfile
samples=pd.read_csv(sys.argv[2],index_col = 0) ##expression values for data
mut=pd.read_csv(sys.argv[4],index_col=0)... |
# Copyright (C) 2021 Jørgen Schartum Dokken
#
# This file is part of DOLFINX_MPC
#
# SPDX-License-Identifier: MIT
"""Numba extension for dolfinx_mpc"""
# flake8: noqa
try:
import numba
except ModuleNotFoundError:
raise ModuleNotFoundError("Numba is required to use numba assembler")
from .assemble_matrix ... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.FileItem import FileItem
from alipay.aop.api.constant.ParamConstants import *
from alipay.aop.api.domain.AlipayEbppCommunityNoticePublishModel import AlipayEbppCommunityNoticePublishModel
class AlipayEbppCommunityNoticePublishRequest(obj... |
import { connect } from 'react-redux';
import * as actions from './actions';
import * as reducers from './reducers';
import initialState from './initial-state';
import RelatedToolsComponent from './component';
export { actions, reducers, initialState };
export default connect(
state => ({
...state.relatedTool... |
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ydb/public/api/grpc/ydb_rate_limiter_v1.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as... |
const chai = require('chai');
const assert = chai.assert;
const routeFunctions = require('../controllers/routeFunctions');
describe('unitTests', function() {
it('idGenerator() function returns a 9 digit string', function(done) {
assert.equal(typeof routeFunctions.idGenerator(), 'string');
assert.equal(routeF... |
var searchData=
[
['validation_5fmethod_2eh_374',['validation_method.h',['../validation__method_8h.html',1,'']]],
['validation_5fmode_2eh_375',['validation_mode.h',['../validation__mode_8h.html',1,'']]]
];
|
/**
* Globals Object
* @example import GLOBALS from '../config.js';
* @type {Object}
*/
export const GLOBALS = Object.freeze({
contentCarousel: {
example: true,
},
});
|
const {
BaseDriver,
} = require('@openintegrationhub/component-orchestrator');
const _ = require('lodash');
const KubernetesRunningComponent = require('./KubernetesRunningComponent');
const Secret = require('./Secret');
const ENV_PREFIX = 'ELASTICIO_';
const GLOBAL = 'global';
const GLOBAL_PREFIX = `${GLOBAL}-`;
... |
async function commentFormHandler(event) {
event.preventDefault();
const comment_text = document
.querySelector('textarea[name="comment-body"]')
.value.trim();
const post_id = window.location.toString().split("/")[
window.location.toString().split("/").length - 1
];
if (comment_text) {
cons... |
for k in range(int(input())):
K = int(input())
first = input()
for w in range(K-1):
if first != input():
first = 'ingles'
print(first)
|
var expando = require("../expando");
module.exports = function isComponentConstructor(Constructor) {
return "function" === typeof Constructor && Constructor.prototype && Constructor.prototype[expando + "_isComponent"];
}; |
'use strict';
const sprintf = require('sprintf-js').sprintf;
module.exports = (srcPath, bundlePath) => {
const B = require(srcPath + 'Broadcast');
const say = B.sayAt;
const CommandManager = require(srcPath + 'CommandManager');
const ItemType = require(srcPath + 'ItemType');
const Parser = require(srcPath ... |
# coding: utf-8
# Copyright (c) Pymatgen Development Team.
# Distributed under the terms of the MIT License.
import unittest
import os
from numbers import Number
import warnings
from pathlib import Path
from pymatgen.analysis.phase_diagram import *
from pymatgen.entries.computed_entries import ComputedEntry
from pyma... |
# Authors: Zhaoshuo Li, Xingtong Liu, Francis X. Creighton, Russell H. Taylor, and Mathias Unberath
#
# Copyright (c) 2020. Johns Hopkins University - All rights reserved.
import torch.nn as nn
from module.feat_extractor_backbone import build_backbone
from module.feat_extractor_tokenizer import build_tokenizer
from... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{Un5O:function(e,t,o){"use strict";o.r(t),o.d(t,"IonPopover",function(){return f}),o.d(t,"IonPopoverController",function(){return v});var n=o("B5Ai"),r=o("cBjU"),i=o("HHlg"),s=o("6Fnk"),a=o("5TGA");function p(e,t,o){var n="top",r="left",i=t.querySelector(".popove... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","pt-br",{euro:"Euro",lsquo:"Aspas simples esquerda",rsquo:"Aspas simples direita",ldquo:"Aspas duplas esquerda",rdquo:"Aspas duplas dir... |
FullCalendar.globalLocales.push(function(){"use strict";return{code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Antaŭa",next:"Sekva",today:"Hodiaŭ",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"}}());
|
"use strict";
var platform_browser_1 = require('@angular/platform-browser');
var core_1 = require('@angular/core');
var http_1 = require('@angular/http');
var node_1 = require('./platform/node');
var document_1 = require('./platform/document');
var ng_preboot_1 = require('./ng_preboot');
var platform_server_1 = require... |
from rest_framework import serializers
from drf_dynamic_fields import DynamicFieldsMixin
from business_register.models.sanction_models import SanctionType, PersonSanction, CompanySanction, CountrySanction
from location_register.serializers.address_serializers import CountrySerializer
class CountrySanctionSerializer(D... |
#!/usr/bin/env python
import sys
sys.path.append('..')
from libs.helpers import get_input
def add(n1, n2):
return f'[{n1},{n2}]'
def reduce(n):
new_n = explode(n)
if new_n != n:
return reduce(new_n)
n = new_n
new_n = split(n)
if new_n != n:
return reduce(new_n)
return ne... |
var express = require("express");
var router = express.Router();
const signup_controller = require("../controllers/signupController");
const signin_controller = require("../controllers/signinController");
const profile_controller = require("../controllers/profileController");
const index_controller = require("../contr... |
/*
* Posts State
*
* The state of the posts module.
*/
export default {
post: null,
posts: []
}
|
def __bootstrap__():
global __bootstrap__, __loader__, __file__
import sys, pkg_resources, imp
__file__ = pkg_resources.resource_filename(__name__, 'ft2font.cpython-37m-darwin.so')
__loader__ = None; del __bootstrap__, __loader__
imp.load_dynamic(__name__,__file__)
__bootstrap__()
|
/* global windows, require, module */
const { Ooniprobe } = require('./ooniprobe')
const log = require('electron-log')
const { getConfig } = require('../config')
const testGroupsWithMaxRuntime = ['websites', 'all']
class Runner {
constructor({testGroupName, inputFile = null}) {
this.testGroupName = testGroupNam... |
module.exports = {
purge: [`_site/**/*.html`],
theme: {
extend: {
fontFamily: {
logo: ['Monoton'],
'body': ['Lato']
}
},
},
variants: {},
plugins: [require('@tailwindcss/typography')],
};
|
from dataclasses import dataclass
import re
from vardb.deposit.annotationconverters.annotationconverter import (
AnnotationConverter,
ConverterArgs,
)
from typing import Dict
# HGMD data can come with character sequences to represent characters with
# special meaning in VCF
_HGMD_SUBSTITUTE = [
(re.compil... |
var App = App || {};
(function() {
'use strict';
App.SignUpView = Backbone.View.extend({
events: {
'click button[type="submit"]': function (e) {
e.preventDefault();
this.signUp();
}
},
initialize: function () {
Backbon... |
import React from 'react';
import { Link } from 'gatsby';
import { FaShoppingCart } from 'react-icons/fa';
import { FaSignInAlt } from 'react-icons/fa';
import Autocomplete from 'react-autocomplete';
import LogoIcon from '../../svg/LogoIcon';
import Testing from './testing';
// import { BrowserRouter as Router, Route... |
$("#food-bank").click(function() {
foodService.style.display = "none";
let value = $("#food-bank").attr("value");
sessionStorage.setItem(1, value);
// display results
});
$("#served-meal").click(function() {
foodService.style.display = "none";
chooseGender.style.display = "";
let value = $(... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.2.2_A4_T3;
* @section: 11.2.2;
* @assertion: If NewExpression or MemberExpression does not implement internal [[Construct]] method, throw TypeError;
* @description: Check... |
module.exports = function format() {
return 'format';
};
|
/**
* WMTypeAhead.
* Displays search suggestions with thumbnail and description
* as user types into an input field.
*
* @constructor
* @param {string} appendTo - ID of a container element that the suggestions will be appended to.
* @param {string} searchInput - ID of a search input whose value will be used to ... |
import React from "react";
import {expect} from "chai";
import {mount, shallow} from "enzyme";
import createMemoryHistory from "mobx-history/createMemoryHistory";
import Router from "../Router";
import Route from "../Route";
import Switch from "../Switch";
import Redirect from "../Redirect";
describe('<Switch />', () ... |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["promotionpages-point-detail-detail"],{"02ee":function(t,e,a){var d=a("b6e1");"string"===typeof d&&(d=[[t.i,d,""]]),d.locals&&(t.exports=d.locals);var o=a("4f06").default;o("444c1fe8",d,!0,{sourceMap:!1,shadowMode:!1})},"2bd3":function(t,e,a){"use strict";var d... |
const assert = require('assert');
const fs = require('fs');
const NS_PER_SEC = 1e9;
try{
async_hooks = require('async_hooks');
}catch(e){
return function() {};
}
module.exports = onAsyncHook;
function onAsyncHook(opts, cb){
if(!cb) {
cb = opts;
opts = {};
}
assert.equal(typeof opts, 'object... |
var listInstrument = '/inst/list.do';
var page = {
init : function(){
this.intiInstTable();
this.bindEvent();
},
intiInstTable : function(){
$.getJSON(listInstrument, function(data){
var templateHtml = '';
var instrumentList = data.data.list;
... |
import Vue from 'vue'
import App from './App.vue'
import Vuetify from 'vuetify'
import './stylus/main.styl'
Vue.use(Vuetify)
new Vue({
el: '#app',
render: h => h(App)
})
|
from chill import *
source('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/polybench/polybench-code/stencils/heat-3d/kernel.c')
destination('/uufs/chpc.utah.edu/common/home/u1142914/lib/ytopt_vinu/experiments/heat-3d_chill_openmp/tmp_files/3597.c')
procedure('kernel_heat_3d')
loop(0)
known('n>3')
pragma(0,2,"... |
const expect = require('expect.js');
const HTMLHint = require('../../dist/htmlhint.js').default;
const ruldId = 'space-tab-mixed-disabled';
const ruleMixOptions = {};
const ruleSpaceOptions = {};
const ruleSpace4Options = {};
const ruleSpace5Options = {};
const ruleTabOptions = {};
ruleMixOptions[ruldId] = true;
rul... |
# -*- coding: utf-8 -*-
get_ipython().magic('matplotlib')
"""
Created on Wed Aug 24 20:38:36 2016
Modified on 1/6/2018 to include goodness of fit filter. After gaussian fit on local image data, a goodness of fit calculation is performed on a 8x8 pixel grid centered on the gaussian peak. Poor gaussian fits (R... |
/* global ace */
import $ from 'jquery';
var DropletFunctionTooltipMarkup = require('./DropletParameterTooltip.html.ejs');
var tooltipUtils = require('./tooltipUtils.js');
var dom = require('../dom');
import {getAllAvailableDropletBlocks} from '../dropletUtils';
/**
* @fileoverview Displays tooltips for Droplet block... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{65:function(s,t,a){"use strict";a.r(t);var e=a(0),n=Object(e.a)({},function(){var s=this.$createElement;this._self._c;return this._m(0)},[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"content"},[a("h1",{attrs:{id:"_2-4-res... |
/**
* @jest-environment ./__tests__/html/__jest__/WebChatEnvironment.js
*/
describe('accessibility feature to support "role" attribute', () => {
test('should fallback to "complementary" if not a valid landmark role', () =>
runHTMLTest('accessibility.landmarkRole.invalid', { ignoreConsoleError: true }));
});
|
const mailClient = require('./client')
const i18n = require('../i18n')
const ejs = require('ejs')
const fs = require('fs')
function sendDeletionMail(deletedBooking, recipientName, recipientMail) {
if (mailClient == undefined) {
return false
}
const dateStringOptions = { weekday: 'short', year: 'num... |
const { response, request } = require("express");
const Log = require('../models/log-model');
const mapsAPI = process.env.MAPS_URL;
const multer = require('multer');
const storage = multer.diskStorage({
destination: (req, file, cb) => {
cb(null, 'public/imgs/library')
},
filename: (req, file, cb) =... |
<!DOCTYPE html>
<html>
<head>
<title>Multiplication Table</title>
<script type="text/javascript">
var rows = prompt("How many rows for your multiplication table?");
var cols = prompt("How many columns for your multiplication table?");
if(rows == "" || rows == null)
rows = 10;
if(cols== "" || c... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
export default () => (
<span>
<div id="feature-file-env-original-1">
{process.env.REACT_APP... |
mycallback( {"ELECTION CODE": "P2012", "EXPENDITURE PURPOSE DESCRIP": "Contribution", "BENEFICIARY CANDIDATE OFFICE": "", "PAYEE ZIP": "48933", "MEMO CODE": "", "PAYEE STATE": "MI", "PAYEE LAST NAME": "", "PAYEE CITY": "Lansing", "PAYEE SUFFIX": "", "CONDUIT STREET 2": "", "CONDUIT STREET 1": "", "PAYEE FIRST NAME": ""... |