text stringlengths 3 1.05M |
|---|
// Javascript functions for Nead/Unicentro course format
M.course = M.course || {};
M.course.format = M.course.format || {};
/**
* Get sections config for this format
*
* The section structure is:
* <ul class="nead_unicentro">
* <li class="section">...</li>
* <li class="section">...</li>
* ...
* </ul>
*... |
import * as tslib_1 from "tslib";
import * as React from 'react';
import { StyledIconBase } from '../../StyledIconBase';
export var Dai = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
};
return (React.createElement(StyledIconBase, tslib_1.__assign({ iconAttrs: attrs,... |
#!/usr/bin/env python3
import argparse
import asyncio
import logging
import os
import socket
import ssl
import capnp
import thread_capnp
logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
this_dir = os.path.dirname(os.path.abspath(__file__))
class ExampleImpl(thread_capnp.Example.Server):
"... |
import unittest
from scaffold.iam.role_sync import inline_cf_role_re, RoleSync
def mock_role(name):
def mock(): lambda: 0
mock.name = name
return mock
class TestRoleSync(unittest.TestCase):
def test_inline_cf_role_names(self):
cf_name = 'Stack-Name-RoleNameRole-1BLAH7BLAH1BLAH'
sel... |
"""Constants for the connection to a Visonic PowerMax or PowerMaster Alarm System."""
from enum import Enum
DOMAIN = "visonic"
PLATFORMS = ["alarm_control_panel", "binary_sensor", "switch"]
VISONIC_UNIQUE_NAME = "Visonic Alarm"
ALARM_PANEL_ENTITY = "alarm_control_panel.visonic_alarm"
# Constants for storing data in ... |
#!/usr/bin/env python3
# vim: set syntax=python ts=4 :
#
# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import os
import contextlib
import string
import mmap
import sys
import re
import subprocess
import select
import shutil
import shlex
import signal
import threading
import concurrent.fu... |
"use strict";
var cartContent=null;
var cartTotal=null;
var footerPages=null;
var total=null;
var couponPrice=0;
var deliveryCharge=0;
var deliveryStatus = false;
var cart=null;
$('#localorder_phone').hide();
/**
*
* @param {Number} net The net value
* @param {Number} delivery The delivery value
* @param {Boolean... |
// # Settings API
// RESTful API for the Setting resource
var _ = require('lodash'),
dataProvider = require('../models'),
Promise = require('bluebird'),
config = require('../config'),
canThis = require('../permissions').canThis,
errors = require('../errors'),
... |
// flow-typed signature: 1072aec7a4714d5945f8149706638320
// flow-typed version: <<STUB>>/@tippy.js/react_v1.1.1/flow_v0.87.0
/**
* This is an autogenerated libdef stub for:
*
* '@tippy.js/react'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work ... |
var plugins = [{
plugin: require('C:/Users/Boneluv/Documents/GitHub/boneluv.com/node_modules/gatsby-plugin-netlify-identity/gatsby-ssr'),
options: {"plugins":[],"url":"https://www.boneluv.com/"},
},{
plugin: require('C:/Users/Boneluv/Documents/GitHub/boneluv.com/node_modules/gatsby-plugin-crisp-ch... |
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [
{
"file": "plugins/mobi.monaca.plugins.Monaca/www/monaca.js",
"id": "mobi.monaca.plugins.Monaca.monaca"
},
{
"file": "plugins/cordova-plugin-whitelist/whitelist.js",
"id": "cordova-p... |
import asyncio
import importlib
import logging.config
import os
import sys
from signal import Signals
from typing import TYPE_CHECKING, cast
import click
from pydantic.utils import import_string
from .logs import default_log_config
from .version import VERSION
from .worker import check_health, create_worker, run_work... |
/**
* (C) 2020 URD
*
* 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, softw... |
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['nacho-select'],
content: [],
init() {
this._super(...arguments);
this.updateContent();
},
onSelectionChanged: Ember.observer('selected', 'values', function() {
this.updateContent();
}),
/**
* Parse and tran... |
import createSvgIcon from './utils/createSvgIcon.js';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"
}), 'List'); |
export const SEARCH = 'SEARCH';
export const SET_ORDER_BY = 'SET_ORDER_BY';
export const TOGGLE_AGENCY_FILTER = 'TOGGLE_AGENCY_FILTER';
export const TOGGLE_CATEGORY_FILTER = 'TOGGLE_CATEGORY_FILTER';
export const TOGGLE_FILTER_DRAWER = 'TOGGLE_FILTER_DRAWER';
export const TOGGLE_INTRO = 'TOGGLE_INTRO';
export const TOG... |
@@include("node_modules/swiper/dist/js/swiper.min.js")
@@include("node_modules/wowjs/dist/wow.min.js")
new WOW().init();
var mySwiper = new Swiper ('.swiper-container', {
// Optional parameters
direction: 'horizontal',
loop: true,
// If we need pagination
// pagination: {
// el: '.swiper-pagination',
... |
var defaultIsMergeableObject = require('is-mergeable-object')
function emptyTarget(val) {
return Array.isArray(val) ? [] : {}
}
function cloneUnlessOtherwiseSpecified(value, options) {
return (options.clone !== false && options.isMergeableObject(value))
? deepmerge(emptyTarget(value), value, options)
: value
}
... |
/*<replacement>*/
var bufferShim = require('safe-buffer').Buffer;
/*</replacement>*/
var common = require('../common');
var assert = require('assert/');
var Stream = require('stream').Stream;
{
var source = new Stream();
var dest = new Stream();
source.pipe(dest);
var gotErr = null;
source.on('error', func... |
import uuid from 'uuid/v1';
export default [
{
id: uuid(),
name: 'Cao Yu',
address: {
country: 'USA',
state: 'Bristow',
city: 'Iowa',
street: '1865 Pleasant Hill Road'
},
email: 'cao.yu@devias.io',
//avatarUrl: '/images/avatars/avatar_4.png',
phone: '712-351-5711'... |
require( "../js/new" );
require( "../scss/layout.scss" );
require( "../scss/input.scss" );
require( "../scss/new.scss" );
|
from .aggregates import Aggregate
from .aggregates import AllAggregate
from .aggregates import FirstAggregate
from .collection import Collection
__all__ = [
"Aggregate",
"AllAggregate",
"FirstAggregate",
"Collection",
]
|
import{C as R,r as i,bp as h,ki as v,kd as A,b9 as M,A as k,eu as B,b as q}from"./vendor.1906794a.js";import{a as T}from"./quat.7e55d593.js";import{b as V,a as I,d as w,r as N,o as z,e as D,t as j,g as G,q as K,i as P,j as Q,v as _,k as H,m as J,p as U,w as W}from"./DefaultMaterial_COLOR_GAMMA.5a20ddf8.js";import{m as ... |
export default [
'fuel',
'ammo',
'steel',
'bauxite'
] |
from django.apps import AppConfig
class DjangoBoostConfig(AppConfig):
name = 'django_boost'
|
const initialState = {};
const consumers = (state = initialState, action) =>
{
switch (action.type)
{
case 'SET_ROOM_STATE':
{
const roomState = action.payload.state;
if (roomState === 'closed')
return {};
else
return state;
}
case 'ADD_CONSUMER':
{
const { consumer } = action.payload... |
import React from 'react';
import { HearingLinks } from 'app/hearings/components/details/HearingLinks';
import { anyUser } from 'test/data/user';
import { inProgressvirtualHearing } from 'test/data/virtualHearings';
import { mount } from 'enzyme';
import VirtualHearingLink from
'app/hearings/components/VirtualHearin... |
from pl_bolts.utils.warnings import warn_missing_pkg
try:
from torchvision import transforms
except ModuleNotFoundError:
warn_missing_pkg('torchvision') # pragma: no-cover
def imagenet_normalization():
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
return nor... |
const getLocales = () => [
// you can choose / add the locales you want
{
countryCode: 'US',
languageTag: 'en-US',
languageCode: 'en',
isRTL: false,
},
{
countryCode: 'FR',
languageTag: 'fr-FR',
languageCode: 'fr',
isRTL: false,
},
];
// use a provided translation, or return u... |
var questions = [
["According to the passage, nearly all banks and lending institutions offer micro-credit loans to small business owners in developing regions of the world.", "False"],
["Micro-credit loans are generally small.", "True"],
["Mohamed Yunus was the founder of the Grameen Bank, which makes m... |
'use strict'
var TxBrowser = require('./TxBrowser')
var StepManager = require('./StepManager')
var remixCore = require('remix-core')
var TraceManager = remixCore.trace.TraceManager
var VmDebugger = require('./VmDebugger')
var remixLib = require('remix-lib')
var global = remixLib.global
var init = remixLib.init
var exec... |
'use strict'
import pkg from './package.json';
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import { terser } from 'rollup-plugin-terser';
const extensions = ['.js', '.jsx', '.ts', '.tsx'];
export default {
input: './src... |
import uuid from 'uuid/v1';
import moment from 'moment';
export default [
{
id: uuid(),
name: 'Dropbox',
imageUrl: '/images/products/product_1.png',
updatedAt: moment().subtract(2, 'hours')
},
{
id: uuid(),
name: 'Medium Corporation',
imageUrl: '/images/products/product_2.png',
up... |
module.exports.wantsClearscreen = function() { return false; };
px.import({scene: "px:scene.1.js",
assert: "../test-run/assert.js",
manual: "../test-run/tools_manualTests.js"
}).then( function ready(imports)
{
module.exports.wantsClearscreen = function()
{
return true; // return 'fa... |
import argparse
import yaml
import os
import sys
import itertools
from .ner import extract_entities
def indexer(prefix):
counter = itertools.count()
for count in counter:
yield prefix + str(count)
def apply_ner_to_file(file,is_yaml=False,source_indexer=indexer('source'),term_indexer=indexer('term'),outp... |
// Copyright 2012 Google Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 11.3.2_FN_3_b
description: >
Tests that Intl.NumberFormat.prototype.format formats percent
values properly.
author: Roozbeh Pournader
---*/
var numberFormatter = new Intl.Nu... |
const API = 'https://maths-generator.herokuapp.com/maths/year4/';
const ROUTES = {
categories: 'categories',
simple_fraction_arithemtics: 'sfa',
missing_angle_shapes: 'mas',
};
exports.routes = ROUTES;
exports.api = API;
|
import React from 'react';
import classNames from 'classnames';
import { Icon } from 'antd-mobile';
import styles from './index.less';
export default function Result({
className, type, title, description, extra, actions, ...restProps
}) {
const iconMap = {
error: <Icon className={styles.error} type="cross-circ... |
import React from 'react';
import FormProvider from '../components/Form/context/FormProvider';
import tableStyles from '../components/Table/Table.module.scss';
import {
ActionButton,
DataCheckbox,
DataEmail,
DataNumber,
// DataRadio,
DataSelect,
DataText,
DataTextArea,
ModuleSandbox,
} from './';
imp... |
import JwtSparkLine from 'Scripts/jwt_ui/JwtSparkLine.js';
var JwtNode=React.createClass({displayName: "JwtNode",
getInitialState:function(){
return {data:[], pageNo:1, dataStorage:null, isFilter:false, isExpanded:false}
},
getDefaultProps:function(){
return {options:{}}
},
getLinks:function(r... |
# -*- coding: utf-8 -*-
"""
Last updated on Jan 31 2018
@author: Mengyao XUE
"""
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as patches
from matplotlib.path import Path
from astropy import units as u
from astropy.coordinates import SkyCoord
from astropy.coordinates import Longitude
fr... |
'use strict';
/**
* @format
* @flow
*/
import React from 'react';
import {StyleSheet} from 'react-native';
import {
type ViewStyleProp,
type TextStyleProp,
type ImageStyleProp,
} from 'react-native/Libraries/StyleSheet/StyleSheet';
interface Styles {
container: ViewStyleProp,
shadow: ViewStyleProp,
na... |
/** @jsx React.DOM */
var React = require('react')
var BS = require('../cjs')
var Button = BS.Button
var DropdownButton = BS.DropdownButton
var MenuItem = BS.MenuItem
var Accordion = BS.Accordion
var Panel = BS.Panel
var ButtonToolbar = BS.ButtonToolbar
var OverlayTrigger = BS.OverlayTrigger
var Tooltip = BS.Tooltip
va... |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M15 11V4H4v8.17L5.17 11H6z" opacity=".3" /><path d="M16 13c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10zm-12-.83V4h11v7H5.17L4... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import React, {useState} from 'react';
export function Component() {
const [count, setCount] = useState(0);
retu... |
import { createStore } from 'test/support/Helpers'
import Model from 'app/model/Model'
describe('Feature – Retrieve', () => {
class User extends Model {
static entity = 'users'
static fields () {
return {
id: this.attr(null)
}
}
}
it('can retrieve all records as a model instance... |
const Event = require('../models/event')
Event.findByIdAndRemove('5b865df4d6c3162d4d24a439')
.then((document) => {
console.log(document)
}).catch((err) => {
}); |
/*
* Copyright (c) 2014 haramanai.
* integer
* version 0.2.
* 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, modi... |
import md5 from 'md5'
import Credentials from '@/config/Credentials'
import TimeStamp from '@/modules/TimeStamp'
const HashCreate = ({
hash:
md5(
TimeStamp.now +
Credentials.privateKey +
Credentials.publicKey
)
})
export default HashCreate
|
import DS from 'ember-data';
import validatorFactory from '../validators/factories';
export default DS.Model.extend({
position: DS.attr('number'),
rule: DS.belongsTo('rule'),
field: DS.belongsTo('field', {async:true}),
operator: DS.attr('string'),
//value_type: DS.attr('string'),
value: DS.attr... |
/* jshint undef: true, unused: true, undef: true */
/* jshint strict: false */
/* global global, require, console, handlebars, $ */
/* global showAlert, showCriticalAlert, showInfoMessage, package_loader */
/* global MODULE_LOADER, MODULE_CHROME, TASK_LOADER */
/* global KEYBOARD_EVENT_HANDLER, module_manager */
// F... |
// import expect from 'expect.js'
import WKTReader from 'org/locationtech/jts/io/WKTReader'
const reader = new WKTReader()
describe('WKTReader', function () {
it('should be able to read a Polygon', function () {
reader.read('POLYGON((57.722165171745836 14.202919006347656,57.71909404549173 14.21055793762207,57.... |
from django.db import models
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, \
PermissionsMixin
class UserManager(BaseUserManager):
def create_user(self, email, password=None, **extra_fields):
"""Creates and saves a new User"""
if ... |
import Head from 'next/head'
import { Fragment, useState, useEffect, useContext } from 'react'
import {
Container,
Button,
TextField,
Grid,
Typography,
CssBaseline,
makeStyles,
Select,
MenuItem,
Paper,
createMuiTheme,
ThemeProvider,
Link,
} from '@material-ui/core'
import Studentnav from '../../../componen... |
import { expect } from 'chai';
import { pick } from 'lodash';
import { expenseStatus } from '../../../../../server/constants';
import { payExpense } from '../../../../../server/graphql/v1/mutations/expenses.js';
import { idEncode, IDENTIFIER_TYPES } from '../../../../../server/graphql/v2/identifiers';
import { randEma... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
# -*- coding: utf-8 -*-
"""
Examples of simplicial complexes
There are two main types: manifolds and examples related to graph
theory.
For manifolds, there are functions defining the `n`-sphere for any
`n`, the torus, `n`-dimensional real projective space for any `n`, the
complex projective plane, surfaces of arbitra... |
'''
Created on Jan 26, 2014
@author: Chris
'''
import unittest
from gooey.gui.option_reader import OptionReader
class FakeClassWithoutImplementation(OptionReader):
def __init__(self):
pass
class FakeClassWithImplementation(OptionReader):
def __init__(self):
pass
def GetOptions(self):
pass
cl... |
# This code is part of Qiskit.
#
# (C) Copyright IBM 2017, 2018.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
#
# Any modifications or derivat... |
import contextlib
import gc
import sys
import io
import math
import tempfile
import time
import threading
import unittest
import warnings
from copy import deepcopy
from collections import OrderedDict
from itertools import product
from operator import mul
from functools import reduce
import torch
import json
# TODO: re... |
import torch
import os
import numpy as np
import math
from einops import rearrange
import logging
logger = logging.getLogger(__name__)
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
_GCONST_ = -0.9189385332046727 # ln(sqrt(2*pi))
def get_logp_z(z):
# import pdb; pdb.set_trace()
C = 2
... |
/*
* Copyright 2018 - 2021 Swiss Federal Institute of Technology Lausanne (EPFL)
*
* 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.
*
* U... |
from .openapi import OpenAPI
# these imports appear unused, but in fact load up the subclasses ObjectBase so
# that they may be referenced throughout the schema without issue
from . import info, servers, paths, general, schemas, components, security, tag
__all__ = ['OpenAPI']
|
import * as React from "react"
import Layout from "../components/layout"
import Seo from "../components/Seo/Seo"
const NotFoundPage = () => (
<Layout>
<Seo title="404: Not found" />
<h1>404: Not Found</h1>
<p>You just hit a route that doesn't exist... the sadness.</p>
</Layout>
)
export default N... |
export const SCOPES = {
MANAGEMENT: 'https://management.azure.com/user_impersonation',
STORAGE: 'https://storage.azure.com/user_impersonation'
}
|
({
mainConfigFile: 'main.js',
name: "main",
out: "main-built.js"
}) |
/**
* Copyright JS Foundation and other contributors, http://js.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
*
* Unless r... |
'use strict';
var REQUEST = require('../lib/request');
var util = require('./util');
// Bucket 相关
/**
* 获取用户的 bucket 列表
* @param {Object} params 回调函数,必须,下面为参数列表
* 无特殊参数
* @param {Function} callback 回调函数,必须
*/
function getService(params, callback) {
if (typeof params === 'function') {
... |
var _curry2 = require('./internal/_curry2');
/**
* Returns a partial copy of an object containing only the keys specified. If the key does not exist, the
* property is ignored.
*
* @func
* @memberOf R
* @category Object
* @sig [k] -> {k: v} -> {k: v}
* @param {Array} names an array of String property names t... |
const mongoose = require("mongoose");
const connectDB = async () => {
try {
const databaseURI = process.env.MONGODB_URI || "mongodb://localhost:27017/Bizup";
const connect = await mongoose.connect(databaseURI, {
useNewUrlParser: true,
useUnifiedTopology: true,
serverSelectionTimeoutMS: 10000,
});
con... |
import Icon from '../icon';
import PropTypes from 'prop-types';
import { animated, useSpring } from 'react-spring';
import React, { useEffect, useRef, useState } from 'react';
import Style, { enterOverlay, progress, timerBar } from './toast.style';
import { isNil, merge } from 'lodash';
const Animated = animated(Style... |
/*
* This is based on the SelectBox.js that comes with Django admin media
*
*/
var SelectBox = {
cache: new Object(),
init: function(id) {
var box = document.getElementById(id);
var node;
SelectBox.cache[id] = new Array();
var cache = SelectBox.cache[id];
... |
# Interview Question 17.6
# Time complexity: O(n^2)
# Auxiliary space complexity: O(n)
def min_unsorted_seq(intergers):
if not integers:
return 0, 0
N = len(integers)
farthest_less_than = [0] * N
for i in range(N):
for j in range(i, N):
if integers[j] < integers[i]:
... |
/*global describe, beforeEach, it*/
'use strict';
var path = require('path');
var helpers = require('yeoman-generator').test;
describe('yii generator', function () {
beforeEach(function (done) {
helpers.testDirectory(path.join(__dirname, 'temp'), function (err) {
if (err) {
return done(err);
... |
export const STORE_UPDATE = "STORE_UPDATE";
export const STORE_ADD = "STORE_ADD";
export const STORE_REMOVE = "STORE_REMOVE"; |
import moment from 'moment';
import { put, takeLatest } from 'redux-saga/effects';
import settingsActions, { INIT } from '../actions/settings';
import taxiServicesActions from '../actions/taxiServices';
import expensesSettingsActions from '../actions/expensesSettings';
import expensesActions from '../actions/expenses';... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'nb', {
anchor: 'Anker',
flash: 'Flash-animasjon',
hiddenfield: 'Skjult felt',
iframe: 'IFrame',
unkn... |
define(["dojo/dom-attr","dojo/dom-construct","dojo/_base/declare", "dojo/string", "dojo/dom-class", "dojo/_base/kernel", "dojo/query", "dojo/_base/array", "dojo/_base/lang",
"dijit/_Widget", "dijit/_Templated", "esri/toolbars/draw", "dojo/on","esri/symbols/SimpleFillSymbol",
"esri/layers/GraphicsLayer","esri/graph... |
describe("UserProtocol", () => {
describe("#register", () => {
});
}); |
import { fireEvent, render, screen, wait } from "@testing-library/react";
import React from "react";
import BookmarkService from "../Service/BookmarkService";
import sampleData from "../Service/__mocks__/data.json";
import { AppStore, StoreContext } from "../Store";
import GroupForm from "./GroupForm";
jest.mock("reac... |
/**
* @flow
*/
import loadConfig from '../';
import {
cleanup,
writeFiles,
getTempDirectory,
} from '../../../../../../e2e/helpers';
const DIR = getTempDirectory('resolve_config_path_test');
// Removes string from all key/values within an object
const removeString = (config, str) =>
JSON.parse(
JSON.s... |
require('dotenv').config();
const { ApiPromise, WsProvider } = require('@polkadot/api');
const typedefs = require('@phala/typedefs').khalaDev;
const tokenomic = require('./utils/tokenomic');
const khala = {
// The allowed relay starting hashes for pRuntime to start syncing
// - 0: The Kusama Genesis
// ... |
/*
* (C) Copyright 2014 Kurento (http://kurento.org/)
*
* 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 applicab... |
/**
* grunt/pipeline.js
*
* The order in which your css, javascript, and template files should be
* compiled and linked from your views and static HTML files.
*
* (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions
* for matching multiple files.)
*/
// CSS files to inject in orde... |
/*
* luminateExtend.js
* Version: 1.6 (28-JAN-2014)
* Requires: jQuery v1.5.1+ or Zepto v1.1+
* Includes: SimpleDateFormatJS v1.3 (https://github.com/noahcooper/SimpleDateFormatJS)
*/
(function($) {
/* private helper functions */
var validateLocale = function(locale) {
/* if a locale is provided that is... |
from adafruit_blinka.microcontroller.sama5 import pin
PD23 = pin.PD23
AD4 = pin.PD23
PD21 = pin.PD21
AD2 = pin.PD21
PD20 = pin.PD20
AD1 = pin.PD20
PD24 = pin.PD24
AD5 = pin.PD24
PD22 = pin.PD22
AD3 = pin.PD22
PD19 = pin.PD19
AD0 = pin.PD19
PA14 = pin.PA14
SCK = pin.PA14
SCLK = pin.PA14
PA15 = pin.PA15
MOSI = pin.PA15
... |
/**
* Created by cRazy on 2016/12/27.
*/
Ext.define('Cxt.window.Ratio', {
extend: 'Ext.window.Window',
xtype: 'ratiowindow',
requires: [
'Cxt.util.TaxCalculator',
'Ext.button.Button',
'Ext.data.Store',
'Ext.form.field.ComboBox',
'Ext.form.field.Number',
'Ex... |
<!-- MAIN CONTENT -->
<div class="container">
<div class="row">
<div class="col-md-offset-3 col-md-6">
<h1><%= title %></h1>
<form class="form" method="post">
<label for="comment">Why would you like to block auditor <%= auditor %> ?</label>
... |
# -*- coding: utf-8 -*-
"""
Copyright (C) 2017 Sebastian Golasch (plugin.video.netflix)
Copyright (C) 2018 Caphm (original implementation module)
Helper functions for setting infolabels of list items
SPDX-License-Identifier: MIT
See LICENSES/MIT.md for more information.
"""
from __future__ import a... |
import random
import numpy as np
from gym import utils
from gym.envs.mujoco import mujoco_env
class HalfCheetahFANEnv(mujoco_env.MujocoEnv, utils.EzPickle):
def __init__(self):
self.reward_direction = 1 # True
mujoco_env.MujocoEnv.__init__(self, 'half_cheetah.xml', 5)
utils.EzPickle.__init... |
# 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 th... |
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.9.5.44-0-1
description: Date.prototype.toJSON must exist as a function
---*/
... |
/*jshint node:true*/
/* global require, module */
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
'hinting': true
// Add options here
});
// Use `app.import` to add additional libraries to the generated
// output file... |
/**
* @fileoverview Enforces or disallows inline comments.
* @author Greg Cochard
*/
"use strict";
var astUtils = require("../ast-utils");
//------------------------------------------------------------------------------
// Rule Definition
//--------------------------------------------------------------------------... |
'use strict';(function(e){function q(b){var c=b.charCodeAt(0),a=1114112,d=0,l=b.length|0,f="";switch(c>>>4){case 12:case 13:a=(c&31)<<6|b.charCodeAt(1)&63;d=128>a?0:2;break;case 14:a=(c&15)<<12|(b.charCodeAt(1)&63)<<6|b.charCodeAt(2)&63;d=2048>a?0:3;break;case 15:30===c>>>3&&(a=(c&7)<<18|(b.charCodeAt(1)&63)<<12|(b.cha... |
import Env from './env';
let config = {
SITE_TITLE: 'DEVOPS系统',
env: Env,
apiBaseUrl: 'http://devops.we.com/api/v1',
LS_KEY_PROFILE: 'ls-profile',
LS_KEY_APPID: 'ls-appid'
};
export default config;
|
import React from "react"
import { getCurrentLanguageString } from "../../utility/helper"
import { connect } from "react-redux"
import PropTypes from "prop-types"
import { AboutComponentWrapper, AboutPageContent } from "./about.styles"
import AboutFunding from "./about-funding"
import AboutTeamBlock from "./about-team-... |
# -*- coding: utf-8 -*-
"""
Created on Sat Jun 8 13:12:04 2019
@author: DiPu
"""
|
/**
* @fileoverview Prevent using silent option in functions that cause events
* @author Ilya Volodin
* @copyright 2014 Ilya Volodin. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//-----------------------------------------... |
/*
jQWidgets v6.0.6 (2018-August)
Copyright (c) 2011-2018 jQWidgets.
License: https://jqwidgets.com/license/
*/
/* eslint-disable */
(function(a){a.jqx.jqxWidget("jqxFormattedInput","",{});a.extend(a.jqx._jqxFormattedInput.prototype,{defineInstance:function(){var b={width:null,height:null,radix:10,decimalNotati... |