text stringlengths 3 1.05M |
|---|
# coding: utf-8
from __future__ import unicode_literals
from inspect import isclass
import six
from django import forms
from django.conf import settings
from django.conf.urls import url
from django.db import models
from django.templatetags.static import static
from django.views.generic.base import View
from .admin_v... |
//------------------------------------------------------------------------------
// File: Schedule.h
//
// Desc: DirectShow base classes.
//
// Copyright (c) 1996-2001 Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
#ifndef __CAMSchedule__
... |
const webpack = require('webpack');
const {
override,
addWebpackPlugin,
fixBabelImports,
addLessLoader,
setWebpackOptimizationSplitChunks,
addWebpackAlias
} = require('customize-cra');
const AntdDayjsWebpackPlugin = require('antd-dayjs-webpack-plugin');
const path = require('path');
const GitRevisionPlugin... |
'use strict'
const path = require('path')
const defaultSettings = require('./src/settings.js')
function resolve(dir) {
return path.join(__dirname, dir)
}
const name = defaultSettings.title || 'vue Element Admin' // page title
// If your port is set to 80,
// use administrator privileges to execute the command line... |
/* eslint-disable no-underscore-dangle */
import Product from '../models/Product';
import validateObjectId from '../utils/validateObjectId';
import ValidationError from '../utils/ValidationError';
export const productsService = {
async createNew(product) {
await this.validate(product);
const result = await ... |
import numpy as np
import scipy.stats
def knn(x, x_train, y_train, k):
'''
KNN k-Nearest Neighbors Algorithm.
INPUT: x: testing sample features, (N_test, P) matrix.
x_train: training sample features, (N, P) matrix.
y_train: training sample labels, (N, ) co... |
(function (a) {
a.jgrid = a.jgrid || {};
a.extend(a.jgrid, { defaults: {recordtext: "Visualizzati {0} - {1} di {2}", emptyrecords: "Nessun record da visualizzare", loadtext: "Caricamento...", pgtext: "Pagina {0} di {1}"}, search: {caption: "Ricerca...", Find: "Cerca", Reset: "Pulisci", odata: [
{ oper: ... |
const express = require('express')
const router = express.Router()
const controller = require('../controllers/filmesController')
router.get('/', controller.listaFilmes)
router.get('/:id', controller.listaUmFilme)
router.post('/', controller.criaFilme)
router.patch('/:id', controller.atualizaFilme)
router.delete(... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Library to execute a exploratory data analysis (EDA). It is an approach to
analyzing data sets to summarize their main characteristics, often with visual
methods. Primarily EDA is for seeing what the data can tell us beyond the
formal modeling or hypothesis testing task.
... |
import numpy as np
import os
# import sys
import simplekml
# import pdb
import inertialsense_math.pose as pose
import pylib.ISToolsDataSorted as itd
import pylib.filterTools as ft
import pylib.plotTools as plotTools
import matplotlib.pyplot as plt
import matplotlib
import datetime
import time as systime
from pylib.IS... |
//
// BRBIP32Sequence.c
//
// Created by Aaron Voisine on 8/19/15.
// Copyright (c) 2015 breadwallet LLC
//
// 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, inclu... |
/*
* Copyright (c) 2010-2014 OTClient <https://github.com/edubart/otclient>
*
* 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... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:45:36 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
from django.contrib import admin
from .models import Logo, Post, MediaFile, MediaType, CoverImage, Tag, BannerAd, MediaURLS, TalkURLS, ExternalURLS, Category
class MediaFileAdminInline(admin.TabularInline):
model = MediaFile
class PostAdmin(admin.ModelAdmin):
inlines = (MediaFileAdminInline, )
# Register your mo... |
/***********************************************************************************************************************************
Stanza Create Command
***********************************************************************************************************************************/
#include "build.auto.h"
#includ... |
"""Indexer objects for computing start/end window bounds for rolling operations"""
from datetime import timedelta
from typing import (
Dict,
Optional,
Tuple,
Type,
)
import numpy as np
from pandas._libs.window.indexers import calculate_variable_window_bounds
from pandas.util._decorators import Appende... |
from __future__ import absolute_import, print_function
from django.conf.urls import include, url
from .endpoints.accept_project_transfer import AcceptProjectTransferEndpoint
from .endpoints.api_application_details import ApiApplicationDetailsEndpoint
from .endpoints.api_applications import ApiApplicationsEndpoint
fro... |
import React, { useState, useEffect, useMemo } from 'react';
import { useDispatch } from 'react-redux';
import { Link } from 'react-router-dom';
import { addMonths, format, parseISO } from 'date-fns';
import pt from 'date-fns/locale/en-US';
import { Form, Input } from '@rocketseat/unform';
import * as Yup from 'y... |
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { Policy... |
/*
proj4js.js -- Javascript reprojection library.
Authors: Mike Adair madairATdmsolutions.ca
Richard Greenwood richATgreenwoodmap.com
Didier Richard
Stephen Irons
License: LGPL as per: http://www.gnu.org/copyleft/lesser.html
Note: This program is an almost direct port of the C library
Proj4.
*/
/*... |
# 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 ... |
/*****************************************************************************
*
* Copyright (c) 2000 - 2014, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import hbsOne from 'htmlbars-inline-precompile';
import hbsTwo from 'ember-cli-htmlbars-inline-precompile';
import { hbs as hbsThree } from 'ember-cli-htmlbars';
import hasEmberVersion f... |
from flask import Flask, request, Response
import random
app = Flask(__name__)
@app.route('/get_make', methods=['GET'])
def get_make():
make = random.choice(['BMW','Mercedes','Vauxhall','Honda','Audi','Volkswagen'])
return Response(make)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=5001, debu... |
/*
* Copyright 2011 The LibYuv 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 contributing p... |
//const {User, Sequelize} = require('../models/index.js');
const {User,Cita} = require('../models');
//const {Op} = Sequelize
const jwt = require('jsonwebtoken');
//const user = require('../models/user.js');
//const bcrypt = require('bcrypt');
//const secret = 'migatitobonito';
//const auth = require('../middleware/au... |
import React from 'react';
import { Grid, IconButton, Icon } from '@material-ui/core';
import { getServiceAvatar } from 'js/components/commons/service-card';
import { CarteService } from "js/components/commons/service-card/card-service.component";
import { axiosURL } from "js/utils/axios-config";
import { wrapPromise }... |
var controls;
(function (controls) {
var html;
(function (html) {
var dataGrid;
(function (dataGrid_1) {
let editors;
(function (editors) {
class baseEditor {
get tree() {
return this.grid.treeTable;
... |
"""mirGFF3 proxy converter"""
from __future__ import print_function
import os.path as op
from mirtop.mirna import fasta, mapper
from mirtop.bam.bam import read_bam
from mirtop.importer import seqbuster, srnabench, prost, isomirsea, manatee, optimir
from mirtop.mirna.annotate import annotate
from mirtop.gff import bod... |
#ifndef PGTOOLS_VARLENDNACODER_H
#define PGTOOLS_VARLENDNACODER_H
#include "helper.h"
namespace PgSAHelpers {
class VarLenDNACoder {
private:
const static uint32_t MAX_NUMBER_OF_CODES = UINT8_MAX + 1;
const static uint8_t MAX_CODE_LENGTH = 4;
const static uint32_t CODE_LUT_SIZE = 1 <... |
/*eslint no-var:0, object-shorthand:0 */
var coverage = String(process.env.COVERAGE)!=='false',
sauceLabs = String(process.env.SAUCELABS).match(/^(1|true)$/gi) && !String(process.env.TRAVIS_PULL_REQUEST).match(/^(1|true)$/gi),
performance = !coverage && !sauceLabs && String(process.env.PERFORMANCE)!=='false',
webpa... |
/**
* Copyright (c) 2021, Leon Sorokin
* All rights reserved. (MIT Licensed)
*
* uPlot.js (μPlot)
* A small, fast chart for time series, lines, areas, ohlc & bars
* https://github.com/leeoniya/uPlot (v1.6.16)
*/
'use strict';
const FEAT_TIME = true;
// binary search for index of closest value
function close... |
// Module dependencies
import GitHub from 'github'
// Instantiate GitHub class
const github = new GitHub({ version: '3.0.0' })
/**
* Gets all repositories from an organization asynchronously.
*
* @param {string} org - Name of the organization.
* @param {function} callback - Callback following the err, data patter... |
// COPYRIGHT © 2018 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute... |
/****************************************************************************
*
* Copyright (c) 2015-2020 Estimation and Control Library (ECL). All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
# Copyright 2013 OpenStack Foundation.
# 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 req... |
import _flatten from 'lodash/flatten';
import _omitBy from 'lodash/omitBy';
import { css as styledCSS } from 'styled-components';
import { VALID_ATTRIBUTES_LIST } from 'constants/html';
import { getThemeProps } from './theme';
/**
* Valdate a given styled component's CSS property value.
*
* @method _checkValue
*... |
import { shallowMount } from "@vue/test-utils";
import SfAddress from "./SfAddress.vue";
import SfAddressPicker from "../SfAddressPicker.vue";
describe("SfAddress.vue", () => {
it("renders a component", () => {
const component = shallowMount(SfAddress, {
provide: {
getSelectedValue: () => "example"... |
from json import dumps as json_dumps, loads as json_loads
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
from unittest.mock import Mock
from urllib.parse import urljoin
import django
from django.http import QueryDict, StreamingHttpResponse
from ninja import NinjaAPI, Router
from ninja.responses ... |
#
# 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"); you may not... |
# Copyright 2008-2015 Nokia Networks
# Copyright 2016- Robot Framework Foundation
#
# 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
... |
/*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
*
*/
import React, { Fragment, useEffect } from 'react';
import { Switch, Route } from 'react-router-dom';
import { useAuthState } from 'react-firebase-hooks/auth';
import { LoginPage } from 'containers/Login';
import { auth } from '... |
"""
WSGI config for mtp_send_money project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO... |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
import React from 'react';
import ReactDOM from 'react-dom';
import Homepage from './../components/homepage';
test('should render without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<Homepage />, div);
});
|
/*
The MIT License (MIT)
Copyright (c) 2015 Los Andes University
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,... |
import React, { Component } from "react"
import {
View,
Text,
ScrollView,
StyleSheet
} from 'react-native'
import {colors} from '../utils/constants'
import Icon from 'react-native-vector-icons/FontAwesome'
export default class NotificationContainer extends Component {
static navigationOptions = () => ({
... |
from __future__ import (absolute_import, division,
print_function, with_statement)
from datetime import datetime
import json
import os
import time
import traceback
from tornado import gen
from tornado.concurrent import Future
from tornado.web import Application
from tornado.testing import Async... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
var base_url = $('body').attr('data-base_url');
showToast = function (msg, status) {
if (status == '1') {
$("#response_mes... |
"""The tests for the weblink component."""
import unittest
from homeassistant.components import weblink
from homeassistant import bootstrap
from tests.common import get_test_home_assistant
class TestComponentWeblink(unittest.TestCase):
"""Test the Weblink component."""
def setUp(self):
"""Setup thi... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
"""Platform Models."""
from marshmallow import fields, Schema
from marshmallow.validate import OneOf
from ..enums import *
from ..models.BaseSchema import BaseSchema
class OrderFeature(BaseSchema):
# Configuration swagger.json
buy_again = fields.Boolean(required=False)
|
r"""
Combinatorics quickref
----------------------
Integer Sequences::
sage: s = oeis([1,3,19,211]); s # optional - internet
0: A000275: Coefficients of a Bessel function (reciprocal of J_0(z)); also pairs of permutations with rise/rise forbidden.
sage: s[0].programs() # optional - intern... |
from collections import defaultdict
from django.db.models.base import ModelBase
from django.db.models.loading import get_apps, get_models
from django.db.models.query import QuerySet
from nicedjango._compat import basestring
from nicedjango.utils.py.string import divide_string
_APP_NAMES_CACHE = defaultdict(set)
_MOD... |
"""
This file offers the methods to automatically retrieve the graph Betaproteobacteria bacterium RIFCSPLOWO2_12_FULL_64_23.
The graph is automatically retrieved from the STRING repository.
References
---------------------
Please cite the following if you use the data:
```bib
@article{szklarczyk2019string,
tit... |
const debug = require('./debug');
/**
* выводит лог в консоль
* @param {String} tag Тег для фильтрации
* @param {...Any} data Данные для вывода
* @example
* log('server',
* '[.] generation board',
* '[←] new board',
* '[←] all suggestion')
*
* log('client', `[→] msg: ${msg}\)
*/
module.expo... |
//
// XVim.h
// XVim
//
// Created by Shuichiro Suzuki on 1/19/12.
// Copyright 2012 JugglerShu.Net. All rights reserved.
//
#import "XVimKeymapProvider.h"
#import <AppKit/AppKit.h>
@class XVimOptions;
@class XVimSearch;
@class XVimExCommand;
@class XVimHistoryHandler;
@class XVimMarks;
@class XVimMotion;
@class ... |
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright (C) 2020 Freie Universität Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
import json
import os
import tempfile
import time
import ba... |
#!/usr/bin/env python3
##############################################################################
# Project: arrayfunc
# Purpose: Generate the C code for math functions which accept a single
# parameter and returns a true or false.
# Language: Python 3.4
# Date: 10-Apr-2018
#
##############################... |
"""
Time complexity : O(log n)
"""
def mod_exp(x, n, m):
if n == 0:
return 1
elif n % 2 == 0:
y = mod_exp(x, n / 2, m)
return (y * y) % m
return ((x % m) * mod_exp(x, n - 1, m)) % m
|
/*
*------------------------------------------------------------------
* Copyright (c) 2018 Cisco and/or its affiliates.
* 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://w... |
import math
def strictly_increasing(L):
return all(x<y for x, y in zip(L, L[1:]))
def strictly_decreasing(L):
return all(x>y for x, y in zip(L, L[1:]))
def non_increasing(L):
return all(x>=y for x, y in zip(L, L[1:]))
def non_decreasing(L):
return all(x<=y for x, y in zip(L, L[1:]))
def monotonic(... |
"""Docstring."""
from qiskit import Aer, QuantumCircuit, execute, QuantumRegister, ClassicalRegister
class Random:
"""Demo random."""
def __init__(self):
"""Demo random."""
self.pow = 2
self.qasm = Aer.get_backend("aer_simulator")
def run(self, number: int) -> int:
"""Run... |
"""api.
Usage:
ordia.api wb-search-lexeme-entities [options] <query>
Options:
-h | --help Help message
-l | --language Language [default: en]
"""
import requests
HEADERS = {
'User-Agent': 'Ordia',
}
class WikidataAPIException(Exception):
"""Exception for Wikidata API."""
pass
def wb_... |
'use strict';
require('mocha');
var fs = require('fs');
var path = require('path');
var assert = require('assert');
var generate = require('generate');
var npm = require('npm-install-global');
var intercept = require('intercept-stdout');
var bddStdin = require('bdd-stdin');
var del = require('delete');
var generator =... |
// @flow
type Bar = {time: number, open:number, high:number, low:number, close:number, volume:number, orderflow: number}
const TEN_MILLION = 10000000
const SOMETHING_HIGH = TEN_MILLION
export default class {
resolution: Resolution
bars: Object
bars = {}
constructor(resolution: Resolution) { this.resolution = ... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright SquirrelNetwork
from flask import Blueprint
from flasgger import swag_from
from core.utilities.limiter import limiter
api_test = Blueprint('api_test', __name__)
@api_test.route('/hi', methods=['GET'])
@limiter.limit("1000 per day")
@limiter.limit("3/seconds")... |
from . import env
from . import http
from . import db
from . import k8s
from . import builds
from . import storage
|
module.exports = {
// ensure user is logged in
isLoggedIn: function (req, res, next) {
if (req.isAuthenticated()){
return next();
}
res.redirect('/user/login');
}
}
|
class MyForm extends React.Component {
constructor(props) {
super(props);
this.state = {
input: '',
submit: ''
};
this.handleChange = this.handleChange.bind(this);
this.handleSubmit = this.handleSubmit.bind(this);
}
handleChange(event) {
this.setState({
input: event.targe... |
Ext.define('Neptune.view.panel.widget.FramedAccordion', {
extend: 'Neptune.view.panel.widget.Accordion',
xtype: 'framedAccordionPanel',
title: 'Framed Accordion Panel',
frame: true
}); |
# 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 may ... |
from django.urls import path
from . import views
app_name = "core"
urlpatterns = [
path('', views.index, name='index'),
path('login', views.login_view, name='login_view'),
path('dashboard', views.dahsboard, name='dashboard'),
path('logout', views.logout_view, name='logout_view')
] |
# -*- coding: utf-8 -*-
"""
test all other .agg behavior
"""
from __future__ import print_function
import pytest
from datetime import datetime, timedelta
from functools import partial
import numpy as np
import pandas as pd
from pandas import date_range, DataFrame, Index, MultiIndex, Series
from pandas.core.groupb... |
#pragma once
#include "ofPoint.h"
#include "ofEvents.h"
#include "ofBaseTypes.h"
class ofBaseApp : public ofBaseSoundInput, public ofBaseSoundOutput{
public:
ofBaseApp() {
mouseX = mouseY = 0;
}
virtual ~ofBaseApp(){
}
virtual void setup(){}
virtual void update(){}
virtual vo... |
let fs = require('fs')
global.DeveloperMode = 'false' //true Or false
global.owner = ['6287773973701','6285156691677'] // Letakan nomor kamu disini
global.mods = ['6287773973701'] // Moderator?
global.prems = JSON.parse(fs.readFileSync('./src/premium.json')) // Pengguna premium tidak memerlukan limit
global.APIs = { //... |
import pandas as pd
import numpy as np
df = pd.read_csv("../data/Updated_Play_by_Play_data.csv")
column = np.arange(0,df.shape[0])
df["index"] = column
print(len(column))
df.to_csv("../data/New_Play_by_Play_data_2.csv") |
from .workable import Workable
|
interface_entry="testbuilder.interface.basic.interface.BasicInterface" |
import random as rn
import numpy as np
from numpy.random import choice as np_choice
class AntColony(object):
def __init__(self, distances, n_ants, n_best, n_iterations, decay, alpha=1, beta=1):
"""
Args:
distances (2D numpy.array): Square matrix of distances. Diagonal is assum... |
from __future__ import absolute_import, unicode_literals
from ._version import __version__
version = __version__
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app
__all__ = ['celery_app']
|
from .colab import * |
# Copyright 2019-2020 Canonical 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 or agreed to in writi... |
# Stat / Series / Small / Area
# Create a small stat card displaying a primary value and a series plot.
# #stat_card #series
# ---
import time
from faker import Faker
from synth import FakeCategoricalSeries
from h2o_wave import site, ui, data
page = site['/demo']
colors = '$red $pink $blue $azure $cyan $teal $mint ... |
#!/usr/bin/env python
from __future__ import division
from pysnmp.entity.rfc3413.oneliner import cmdgen
from pysnmp.smi import builder
import logging
import gmetric
import threading
from time import sleep
from gmetric import GmetricConf
from logging import handlers
logger = logging.getLogger(__name__)
logger.setLevel... |
# Copyright (c) 2018 Cisco Systems
# 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 require... |
#!/usr/bin/env python
# Copyright 2015 Brno University of Technology (author: Karel Vesely)
# Apache 2.0
import sys,operator
# Append Levenshtein alignment of 'hypothesis' and 'reference' into 'CTM':
# (i.e. the output of 'align-text' post-processed by 'wer_per_utt_details.pl')
# The tags in the appended column ar... |
import Helmet from "react-helmet";
import React, { Component } from "react";
import Img from "gatsby-image";
import AboutTile from "../components/about/aboutTile";
import Banner from '../components/banner';
import Link from 'gatsby-link'
import { stringToUrl } from '../utils'
class About extends Component {
render... |
import React from "react";
import { Link } from "react-router-dom";
function Header() {
return (
<React.Fragment>
<h1>Help Queue</h1>
<Link to="/">Home </Link>
<br />
<Link to="/signin">Sign In</Link>
</React.Fragment>
);
}
export default Header; |
//
// CoreDataManager.h
//
// Created by Scott Lucien on 11/2/13.
// Copyright (c) 2013 Scott Lucien. All rights reserved.
//
@import Foundation;
#import "Group.h"
#import "Note.h"
@interface CoreDataManager : NSObject
+ (CoreDataManager *)sharedManager;
- (void)initWithFreshInstall:(BOOL)freshInstall;
// Prope... |
import {elementAt} from 'rxjs/operators';
import {meetingID, createTestMeetingsSDKAdapter} from '../testHelper';
describe('Switch Microphone Control', () => {
let meetingsSDKAdapter;
let meeting;
beforeEach(() => {
meetingsSDKAdapter = createTestMeetingsSDKAdapter();
meeting = meetingsSDKAdapter.meeting... |
#!/usr/bin/env python3
# Copyright (c) 2014-2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
"""Run regression test suite.
This module calls down into individual test cases via subprocess. It will
f... |
"""
Django settings for authlab project.
Generated by 'django-admin startproject' using Django 2.1.7.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
#... |
/**
* Created by yar on 6/23/2016.
*/
(function (angular) {
'use strict';
var moduleName = 'App.business.partner';
angular.module(moduleName).controller('addBusinessPartnerContactController', [
'$scope', 'businessPartnerDataService', '$stateParams','$ionicPopup','appBaseDataService','$ion... |
/**
* ? Command Restriction (Vulcan Event)
* Happens when a user calls a command and:
* - Is a blacklisted user.
* - Is a unauthorised user.
*/
module.exports = (message, reason, extraFields = []) => {
message.channel.send({
embed: {
title: `Restricted Access`,
description: `Access to the co... |
# 付録 B 暖房設備の基準一次エネルギー消費量の算定に係る設定
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[178],{310:function(t,e){var r=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function n(t){return f... |
var isoldIE = /msie [876]\.0/i.test( window.navigator.userAgent );
QUnit.module( "ajax", {
setup: function() {
if ( !isoldIE ) {
return;
}
var jsonpCallback = this.jsonpCallback = jQuery.ajaxSettings.jsonpCallback;
jQuery.ajaxSettings.jsonpCallback = function() {
var callback = jsonpCallback.apply( thi... |
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { formatTweet, formatDate } from '../utils/helpers'
import { TiArrowBackOutline } from 'react-icons/ti'
import { TiHeartOutline } from 'react-icons/ti'
import { TiHeartFullOutline } from 'react-icons/ti'
import { handleToggleTweet } f... |