text stringlengths 3 1.05M |
|---|
exports.nature = ['๐ถ', '๐ฑ', '๐ญ', '๐น', '๐ฐ', '๐ป', '๐ผ', '๐จ', '๐ฏ', '๐ฆ', '๐ฎ', '๐ท', '๐ฝ', '๐ธ', '๐', '๐ต', '๐', '๐', '๐', '๐', '๐', '๐ง', '๐ฆ', '๐ค', '๐ฃ', '๐ฅ', '๐บ', '๐', '๐ด', '๐ฆ', '๐', '๐', '๐', '๐', '๐', '๐ท', '๐ฆ', '๐ฆ', '๐', '๐ข', '๐ ', '๐', '๐ก', '๐ฌ', '๐ณ', '๐', '๐', '๐', '๐
', '๐', '... |
import styled from 'styled-components';
export const Wrapper = styled.section`
padding-top: 2.35714em;
padding-bottom: 0.64286em;
text-align: center;
display: flex;
align-content: center;
justify-content: center;
`;
export const Content = styled.p`
@media (min-width: 64em) {
width: 86%;
}
@medi... |
# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2017-08-06 13:40
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('courses', '0004_course_category'),
]
operations = [
migrations.AddField(
... |
'use strict';
const sortBy = require('../util/sort-by');
/*
Kruskal's algorithm
https://en.wikipedia.org/wiki/Kruskal%27s_algorithm
Given
graph = {
vertex: [names of each node],
edge: [{
vertex: [names of an edge's two vertexes], distance
}, ...]
}
Return
another graph ... |
export const getWarn = res => {
switch (res) {
case "auth/email-already-in-use":
return "There already exists an account with the given email address";
case "auth/invalid-email":
return "the email address is not valid";
case "auth/operation-not-allowed":
return "email/password accounts a... |
def sp_eng(sentence: str) -> bool:
return "english" in sentence.lower()
|
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/admin/pages/BookCreate.vue?vue&type=script&lang=js&":
/*!******************************************************************************************... |
'use strict';
let name = 'Alexander';
const YEAR_OF_BIRTH = 2019;
const greeting = name => console.log(`Hello, ${name}`);
greeting('Alexander');
greeting(name);
|
import { hexToRgb, whiteColor } from "Admin/assets/jss/material-dashboard-react.js";
const customTabsStyle = {
cardTitle: {
float: "left",
padding: "10px 10px 10px 0px",
lineHeight: "24px"
},
cardTitleRTL: {
float: "right",
padding: "10px 0px 10px 10px !important"
},
displayNone: {
di... |
/*
Transitive closure (pointer chasing) in JavaScript.
tc(list,start)
The list is a graph where the indices points to the next node.
tc(list,start) returns the transitive closure with start node <start>.
This was inspired by K:s transitive closure function
"over until fixed" (\) i.e. list\start
(... |
/**
* Progress Bar
*/
export * from './pageProgressBar'
|
ace.define("ace/snippets/javascript",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "# Tokens\n\
# Inputs\n\
snippet {input}\n\
{type: 'input', idx: ${1:idx}}\n\
snippet {dropdown}\n\
{type: 'dropdown', idx: ${1:idx}, options: [${2}], displayStatic: false}\n\... |
text_array = [0x9257e4,
0x925852,
0x9258ce,
0x925be2,
0x925bfa,
0x925ca0,
0x925ccd,
0x925d0b,
0x925fa4,
0x9272bc,
0x9272da,
0x927354,
0x9273d5,
0x927406,
0x92743c,
0x927474,
0x927476,
0x9274b3,
0x9274b5,
0x9274ea,
0x9274ec,
0x927517,
0x927544,
0x927548,
0x927565,
0x927567,
0x9275d8,
0x9275ed,
0x92763f,
0x927648,
0x9276... |
import chess
import random
from utils.score_basic import evaluate
def scoreboard(board, depthleft, maximising_player):
"""
https://youtu.be/l-hh51ncgDI
"""
if depthleft == 0:
# Return end leaf
score = evaluate(board)
return_score = sco... |
import Component from '@ember/component';
import layout from '../templates/components/ui-tribute';
import Tribute from "tributejs";
import { run } from '@ember/runloop';
import { get, set } from '@ember/object';
import { assert } from '@ember/debug';
import { isPresent } from '@ember/utils';
export default Component.... |
'use strict';
describe('jsonEditorAddProperty', function() {
var isolateScope;
var elm;
var testArray = [
1,
'string'
];
var testObject = {
id: 1,
name: 'Test'
};
var testScope;
describe('addProperty', function() {
describe('when scope.object is an object', function() {
befor... |
'''
Use mitsuba renderer to obtain a depth and a reflectance image, given the
camera's rotation parameters and the file path of the object to be rendered.
'''
import numpy as np
import uuid
import os
import cv2
import subprocess
import shutil
from scipy.signal import medfilt2d
# import config
from pytorch.utils.utils ... |
/*!
* jQuery UI Core @VERSION
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
*/
//>>label: Core
//>>group: UI Core
//>>description: The core of jQuery UI, required for all interactions and widgets.
/... |
module.exports = async (d) => {
const code = d.command.code;
const r = code.split("$clear").length - 1;
const inside = code.split("$clear")[r].after();
const err = d.inside(inside);
if (err) return d.error(err);
const [
amount,
filter = "everyone",
channelID = d.message.channel.id,
retu... |
const {
GraphQLString,
GraphQLList,
GraphQLNonNull,
GraphQLInt,
GraphQLInputObjectType,
} = require('graphql');
/**
* @name exports
* @summary GraphDefinitionlink Input Schema
*/
module.exports = new GraphQLInputObjectType({
name: 'GraphDefinitionlink_Input',
description: '',
fields: () => ({
_id: {
ty... |
a = []
for i in range(0,5):
b = int(input())
a.append(b)
n = len(a)
for i in range(1,n):
key = a[i]
j = i-1
while(j>=0 and key< a[j]):
a[j+1] = a[j]
j=j-1
a[j+1] = key
print(a)
|
import React from "react";
import '../../assets/styles/_index.scss';
import '../../assets/styles/_custom.scss';
import Container from 'react-bootstrap/Container';
import Row from 'react-bootstrap/Row';
import Col from 'react-bootstrap/Col';
import ScrollAnimation from 'react-animate-on-scroll';
import "animate.css/ani... |
/* This file is generated by createIcons.js any changes will be lost. */
import createIcon from '../createIcon';
export const ChalkboardTeacherIconConfig = {
name: 'ChalkboardTeacherIcon',
height: 512,
width: 640,
svgPath: 'M208 352c-2.39 0-4.78.35-7.06 1.09C187.98 357.3 174.35 360 160 360c-14.35 0-27.98-2.7-40... |
var classarm__compute_1_1_c_l_pyramid =
[
[ "CLPyramid", "classarm__compute_1_1_c_l_pyramid.xhtml#a24edddb8cac90e092ecbd4a2d2a1ce59", null ],
[ "allocate", "classarm__compute_1_1_c_l_pyramid.xhtml#acaefe811b78a2fdc4a0dba0c4029c3ef", null ],
[ "get_pyramid_level", "classarm__compute_1_1_c_l_pyramid.xhtml#af0... |
// Copyright 2010 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
//"use strict";
// An implementation of basic necessary librarie... |
/*! For license information please see 014d626450f83784e9083200e171de600c3fc5a1-7ace7e7deb1e0e430a4d.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"/kpp":function(t,e,o){"use strict";var n=o("YEIV"),r=o.n(n),i=o("QbLZ"),s=o.n(i),f=o("EJiy"),l=o.n(f),c=o("iCc5"),u=o.n(c),a=o("V7oC"),p=o.n(a)... |
export default {
'zh': {
'days': ['ๆฅ', 'ไธ', 'ไบ', 'ไธ', 'ๅ', 'ไบ', 'ๅ
ญ'],
'months': ['1ๆ', '2ๆ', '3ๆ', '4ๆ', '5ๆ', '6ๆ', '7ๆ', '8ๆ', '9ๆ', '10ๆ', '11ๆ', '12ๆ'],
'pickers': ['ๆชๆฅ7ๅคฉ', 'ๆชๆฅ30ๅคฉ', 'ๆ่ฟ7ๅคฉ', 'ๆ่ฟ30ๅคฉ'],
'placeholder': {
'date': '่ฏท้ๆฉๆฅๆ',
'dateRange': '่ฏท้ๆฉๆฅๆ่ๅด'
}
},
'en': ... |
module.exports = function(dir) {
const path = require("path");
return path.basename(path.resolve(dir));
};
|
# 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 u... |
module.exports = {
zh: {
TY_Basic: '้็จไธๅก็ปไปถ(Basic)',
TY_Lamp: '็ฏ(Lamp)',
TY_Standard: 'ๅ
ฌ็(Standard)',
TY_SweepRobot: 'ๆซๅฐๆบ(SweepRobot)',
TY_Sensor: 'ไผ ๆๅจ(Sensor)',
TY_Szos: 'ๆทฑๅณOS(Szos)',
TY_dp_switch_1: 'ๅผๅ
ณ1',
TY_dp_switch_1_on: 'ๅผ',
TY_dp_switch_1_off: 'ๅ
ณ',
TYLamp_am: 'ไธๅ',
... |
#pylint: disable=too-many-lines
from logging.config import dictConfig
from functools import wraps
from subprocess import call
import datetime
import base64
import datetime
import glob
import io
import json
import os
import re
import shutil
import tempfile
import subprocess
import zipfile
import waitress
from werkzeug.u... |
# -*- coding: utf-8 -*-
__author__ = """J.R. Powers-Luhn"""
__email__ = 'floobyt@gmail.com'
__version__ = '0.1.1'
|
# String Formatting
# String formatting is how we can use variables (which store information including numbers, strings, and other types of data) inside of strings
# We can do this by using the .format() string method.
# Here's how it works:
# First, we'll need a variable:
name = "Shannon"
# Now, let's insert it in... |
import React from 'react';
import PropTypes from 'prop-types';
import Button from '@material-ui/core/Button';
import { makeStyles } from '@material-ui/core/styles';
import HotTub from '@material-ui/icons/HotTub';
import History from '@material-ui/icons/History';
import classnames from 'classnames';
import { useTransla... |
// COPYRIGHT ยฉ 201 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 ... |
#
# Created on March 2022
#
# Copyright (c) 2022 Meitar Ronen
#
import os
import torch
import torch.nn as nn
import argparse
from src import datasets
from tqdm import tqdm
from src.get_embbedings.imagenet import ImageNetSubset, ImageNet
data_to_class_dict = {
"MNIST": datasets.MNIST,
"MNIST_TEST": datasets.M... |
var searchData=
[
['y',['Y',['../class_bone_orientations_constraint.html#a1f4aa21ffa8dbc27a16143698d71e63da57cec4137b614c87cb4e24a3d003a3e0',1,'BoneOrientationsConstraint']]]
];
|
from . import rnn # noqa: F401
from .clip_grad import clip_grad_norm, clip_grad_norm_, clip_grad_value_ # noqa: F401
from .weight_norm import weight_norm, remove_weight_norm # noqa: F401
from .convert_parameters import parameters_to_vector, vector_to_parameters # noqa: F401
from .spectral_norm import spectral_norm,... |
/*!
* The MIT License
*
* Copyright (c) 2018-present Liquid Carrot Corporation <people@liquidcarrot.io> https://liquidcarrot.io.
*
* Copyright for portions of Carrot are held by the following parties as a part of project Carrot:
* - Copyright 2017 Thomas Wagenaar <wagenaartje@protonmail.com>
* - Copyright 201... |
import React, { useState } from 'react';
import MoviesList from './components/MoviesList';
import './App.css';
function App() {
const [movies, setMovies] = useState([]);
const [isLoading, setIsLoading] = useState(false);
async function fetchMoviesHandler() {
setIsLoading(true);
const response = await f... |
import pygame
from gamestate import *
class Button(pygame.sprite.Sprite):
def __init__(self, image, image_alt, x, y, rescale_factor=None):
super().__init__()
self.image = pygame.image.load(os.path.join(ASSETS_PATH, 'Misc', image))
self.image_alt = pygame.image.load(os.path.join(ASSETS_PATH,... |
import { Action } from '../constants'
export default (state = {}, action) => {
switch (action.type) {
case Action.PLUGIN_LOADED:
return handlePluginLoaded(state, action)
default:
return state
}
}
function handlePluginLoaded(state, action) {
const { palette } = action.payload
return { ...st... |
$(function() {
$('#flash').delay(500).fadeIn('normal', function() {
$(this).delay(2000).fadeOut();
});
});
$(document).ready(function(){
var clip = new ZeroClipboard($(".clip_button"));
$(".clip_button").click(function() {
clip = new ZeroClipboard($(".clip_button"));
});
});
|
import React from "react";
import { useForm } from "react-hook-form";
import { Form } from "react-bootstrap";
import Field from "@app/common/forms/Field";
import fetch from "isomorphic-unfetch";
import Router from "next/router";
// import Button from "@app/ondrejsika-theme/components/FormButton";
import ReCAPTCHA from ... |
const _ = require('underscore');
const socketio = require('socket.io');
const jwt = require('jsonwebtoken');
const Raven = require('raven');
const http = require('http');
const https = require('https');
const fs = require('fs');
const config = require('./nodeconfig.js');
const { detectBinary } = require('../util');
co... |
module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: false,
targets: { ie: 9 },
},
],
],
plugins: ['@babel/plugin-transform-runtime'],
env: {
test: {
presets: [
[
'@babel/preset-env',
{
targets: { node: true }... |
import mongoose, { Schema } from 'mongoose';
// sample schema definition for DAHObject - replace with your data model
export const ObjectSchema = new Schema({
id: {
type: String,
required: true
},
// define your schema
});
export const DAHObject = mongoose.model('Object', ObjectSchema);
|
// @flow
import { updateTypes } from 'lib/types/update-types';
import { createUpdates } from '../creators/update-creator';
import { dbQuery, SQL } from '../database/database';
import { fetchKnownUserInfos } from '../fetchers/user-fetchers';
import { createScriptViewer } from '../session/scripts';
import { main } from... |
var sgmm2_acc_stats_8cc =
[
[ "main", "sgmm2-acc-stats_8cc.html#a0ddf1224851353fc92bfbff6f499fa97", null ]
]; |
/**
* @fileoverview Validates spacing before and after semicolon
* @author Mathias Schreck
*/
"use strict";
const astUtils = require("./utils/ast-utils");
//------------------------------------------------------------------------------
// Rule Definition
//---------------------------------------------------------... |
(function(d){d['az']=Object.assign(d['az']||{},{a:"Image toolbar",b:"Table toolbar",c:"Sitat bloku",d:"ฦlaqษlษndir",e:"Baลlฤฑqฤฑ seรง",f:"Baลlฤฑq",g:"media vidgeti",h:"Yarฤฑqalฤฑn",i:"Altdan xษtt",j:"Media ษlavษ ed",k:"URL boล olmamalฤฑdฤฑr.",l:"Bu media URL dษstษklษnmir.",m:"Maili",n:"Nรถmrษlษnmiล siyahฤฑ",o:"Markerlษnmiล siyah... |
# -*- coding: utf-8 -*-
"""
Tencent is pleased to support the open source community by making GameAISDK available.
This source code file is licensed under the GNU General Public License Version 3.
For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package.
Copyright... |
import imp
heap = imp.load_source('heap.py', './../../heap/python/heap.py')
class HuffmanNode(object):
# main properties in a node is the character and its frequency
def __init__(self, char=None, freq=None, left=None, right=None):
self.char = char
self.freq = freq
self.left = left
... |
function solve(area, vol, input) {
const shapes = JSON.parse(input);
const result = [];
for (const shape of shapes) {
const shapeArea = area.apply(shape);
const shapeVol = vol.apply(shape);
result.push({
area: shapeArea,
volume: shapeVol
});
}
... |
import Maybe from '../maybe';
/**
* @ignore
*/
export default x => x instanceof Maybe;
|
export default {
path: 'lecturer',
component: () => import(/* webpackChunkName: "lecturer-list" */ '@/pages/lecturer/LecturerList'),
meta: {title:'่ฎฒๅธ็ฎก็'}
} |
'use strict';
var blacklist = ['and', 'or', 'so', 'as', 'if', 'the', 'a', 'an', 'at', 'by', 'in', 'of', 'on', 'to'];
// Given a string, returns a set of words that aren't in the blacklist of articles/prepositions/conjunctions
exports.importantWords = function(str, removePunctuation) {
var words = str.split(/[ -]/);... |
from django.urls import path
from . import views as users_views
urlpatterns = [
path('edit_profile/', users_views.edit_profile, name='edit-user-profile'),
path('profile/', users_views.profile, name='user-profile'),
path('add_money/', users_views.add_money, name='add-money'),
path('send_money/', users_v... |
import sqlite3
import os
import sys
from pathlib import Path
from hashlib import sha256
sys.path.append(os.path.dirname(__file__) + '/library')
def saveimg(id, dataURL, parent_id, script_by):
db_path = Path(os.path.dirname(__file__) + '/../../store/database/images.db')
script_by = os.path.basename(script_by)
ha... |
import {createRequire as __cjsCompatRequire} from 'module';
const require = __cjsCompatRequire(import.meta.url);
const __ESM_IMPORT_META_URL__ = import.meta.url;
import {
ConsoleLogger,
LogLevel
} from "../chunk-LX5Q27EF.js";
import {
SourceFile,
SourceFileLoader
} from "../chunk-EIFOOEX... |
const router = require('express').Router();
let Exercise = require('../models/exercise.model');
// route to get all
router.route('/').get((req, res) => {
Exercise.find()
.then(exercises => res.json(exercises))
.catch(err => res.status(400).json('Error: ' + err));
});
// route to add new
router.route('/add')... |
"use strict";
/**
* --------------------------------------------------------------------------------------------------------------------------------------
* Utility methods used by TurboBuilder
* -------------------------------------------------------------------------------------------------------------------... |
const http = require("http");
const server = http.createServer();
const url = require("url");
const rp=require('request-promise');
const remoteUrl = "http://news-at.zhihu.com"
server.on('request', function(req, res) {
var urlOption = url.parse(req.url);
var pathName = urlOption.pathname;
if (/^\/api/.test(... |
export {
SegmentsData as default
} from './segments-data' |
import os
from tqdm import tqdm
import torch
from torch import nn
from network import C3D_model
from glob import glob
import cv2
import numpy as np
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
def center_crop(frame):
frame = frame[8:120, 30:142, :]
return np.array(frame... |
from cc3d.core.PySteppables import *
class diffusion_steady_state_ext_potential_3DSteppable(SteppableBasePy):
def __init__(self,frequency=1):
SteppableBasePy.__init__(self,frequency)
def start(self):
"""
any code in the start function runs before MCS=0
"""
def step(self... |
import sys
import logging
from os.path import dirname
from xmediusmailrelayserver import server
def install_service(argv):
new_argv = [dirname(__file__)]
for arg in argv:
new_argv.append(arg)
from xmediusmailrelayserver.servicehelpers import handle_command_line
handle_command_line(new_argv)
de... |
import math
import itertools
import time
from MatrixOperations import convert_coo_to_csc_and_csr
from scipy import sparse
class BaselineRecommendations:
def __init__(self, dataset):
# Load the sparse matrix from a file
self.training_filepath = 'matrices/{}_training.npz'.format(dataset)
sel... |
"""
ANTLR 4.x listener and visitor implementation for intermediate code generation (Three addresses code)
@author: Morteza Zakeri, (http://webpages.iust.ac.ir/morteza_zakeri/)
@date: 20201017
- Compiler generator: ANTRL4.x
- Target language(s): Python3.x,
-Changelog:
-- v2.1.0
--- Add support for AST intermed... |
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import division
from __future__ import absolute_import
import argparse
import logging
import os
import warnings
import io
from typing import Text
from mynlu.config.mynluconfig import MyNLUConfig
from tqdm import tqdm
import ... |
import asyncio
import logging
from typing import Any, Dict, List, Tuple
import aiohttp
# from src.core.backends.poeofficial import PoeOfficial
from src.core.backends.poetrade import PoeTrade
from src.core.backends.task import Task
from src.core.offer import Offer
from src.trading.items import ItemList, UnsupportedItem... |
const express = require("express");
const routes = require("./routes");
// import sequelize connection
const sequelize = require("./config/connection");
const app = express();
const PORT = process.env.PORT || 3006;
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
app.use(routes);
// sync se... |
import React, { useEffect } from "react";
import { connect } from "react-redux";
import ScenarioBenView from "./ScenarioBenView";
import { benchmarkOperations, entitySelectors } from "ducks";
import EmptyPage from "shared/EmptyPage";
import Loader from "shared/Loader";
import { FaVimeo } from "react-icons/fa";
functio... |
export default [
// ๅจ่ฏข่
้ฆ้กต
{
path: '/consumer/index',
component: () => import('@/views/consumer/index'),
},
// ่ฎขๅไธญๅฟ
{
path: '/consumer/order/:status',
component: () => import('@/views/consumer/order'),
},
// ่ฎขๅ็กฎ่ฎค
{
path: '/consumer/order-confirm/:id',
component: () => import('@/vi... |
import pytest
import copy
from utils import *
from hamcrest import *
from vinyldns_python import VinylDNSClient
from test_data import TestData
from vinyldns_context import VinylDNSTestContext
import time
import json
from requests.compat import urljoin
def test_update_a_with_same_name_as_cname(shared_zone_test_contex... |
var express = require('express');
var app = express();
const http = require('http').Server(app);
const io = require('socket.io')(http, {
cors: {
origin: "http://localhost:4200",
methods: ["GET", "POST"]
}
});
io.on("connection", socket => {
socket.on("userSubmittedPlayerName", async (charac... |
import React from 'react'
import Header from './header'
import Footer from './footer'
import '../styles/index.scss'
import layoutStyles from './layout.module.scss'
const Layout = (props) => {
return(
<div className={layoutStyles.container}>
<div className={layoutStyles.content}>
... |
class TextFinder {
find (text) {}
}
class MegaFinder extends TextFinder {
find (text) {
console.log(`${text} was mega found`)
}
}
class SuperFinder extends TextFinder {
find (text) {
console.log(`${text} was super found`)
}
}
const megaFinder = new MegaFinder()
const superFinder = new SuperFinder()... |
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{141:function(e,t,a){"use strict";a.r(t),a.d(t,"pageQuery",function(){return f});a(348),a(51);var n=a(7),r=a.n(n),o=a(187),i=a.n(o),l=a(0),c=a.n(l),u=a(189),s=a.n(u),m=a(210),d=a(157),h=function(e){function t(){return e.apply(this,arguments)||this}return r()(t,e),... |
import * as _vue from "vue";
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(so... |
// JavaScript Document
$(document).ready(function() {
"use strict";
$(".contact-form").submit(function(e) {
e.preventDefault();
var name = $(".name");
var email = $(".email");
var subject = $(".subject");
var msg = $(".message");
var flag = false;
if (na... |
typeSearchIndex = [{"l":"All Classes","u":"allclasses-index.html"},{"p":"collections_editor","l":"Selector.ChangeWindow"},{"p":"collections_editor","l":"EditorLoader"},{"p":"collections_editor","l":"EditorManager"},{"p":"collections_editor","l":"EditorLoader.MyFileFilter"},{"p":"collections_editor","l":"EditorLoader.My... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... |
import Vue from 'vue';
import Vuetify from 'vuetify/lib';
import colors from 'vuetify/lib/util/colors';
Vue.use(Vuetify)
const opts = {
theme: {
themes: {
light: {
primary: colors.indigo.darken3, // #E53935
secondary: colors.green.darken1, // #FFCDD2
accent: colors.indigo.base,
},
},
},
}
e... |
# -*- coding: utf-8 -*-
"""Documentation Builder Environments."""
from __future__ import (
absolute_import, division, print_function, unicode_literals)
import logging
import os
import re
import socket
import subprocess
import sys
import traceback
from datetime import datetime
import six
from builtins import obj... |
# Copyright (c) 2017-2019 Dell Inc. or its subsidiaries.
# 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... |
import {
interactor,
scoped,
} from '@bigtest/interactor';
import ConfirmationModalInteractor from '@folio/stripes-components/lib/ConfirmationModal/tests/interactor';
import { ActionMenuInteractor } from '../action-menu-interactor';
@interactor class FileExtensionDetailsInteractor {
actionMenu = new ActionMenuI... |
var firebaseConfig = {
apiKey: "AIzaSyC1BCYOage1fSiIRVXN8TfvaSLEg8JKWVg",
authDomain: "justcare-1569097818908.firebaseapp.com",
databaseURL: "https://justcare-1569097818908.firebaseio.com",
projectId: "justcare-1569097818908",
storageBucket: "justcare-1569097818908.appspot.com",
messagingSenderI... |
import EvaluationRubricForm from "./../../components/form/EvaluationRubricForm"
import {MODULES_PERMISSIONS, DEACTIVATE,} from "../../../../../../constants"
const {ASSESSMENT_TOOL} = MODULES_PERMISSIONS
export const associateEvaluationRubricForm = {
path: "/associate/skill",
component: EvaluationRubricForm,
... |
(function(){var t,e=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1},n=[].slice,r=function(t,e){return function(){return t.apply(e,arguments)}},a={}.hasOwnProperty;(t=function(t){return"object"==typeof exports&&"object"==typeof module?t(require("jquery")):"function"... |
import attachUrlMix from './attachUrlMix';
import attrInit from './attrInit';
import eventInit from './eventInit';
import playMix from './playMix';
import pauseMin from './pauseMin';
import toggleMix from './toggleMix';
import seekMix from './seekMix';
import volumeMix from './volumeMix';
import currentTimeMix from './... |
const config = require('../../config/support.json')
const Discord = require("discord.js")
class TicketsManager{
create(message, reason){
message.guild.createChannel(`โถ๏ธticket-${message.author.id}`, {
type: 'text',
permissionOverwrites: [{
id: message.guild.id,
... |
from __future__ import print_function
from molml.features import CoulombMatrix
from molml.features import LocalCoulombMatrix
from molml.kernel import AtomKernel
from molml.utils import LazyValues
# Define some base data
H2_ELES = ['H', 'H']
H2_NUMS = [1, 1]
H2_COORDS = [
[0.0, 0.0, 0.0],
[1.0, 0.0, 0.0],
]
H... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var React = _interopRequireWildcard(r... |
import _mergeJSXProps from "babel-helper-vue-jsx-merge-props";
export default {
name: 'BookmarksIcon',
props: {
size: {
type: String,
default: '24'
}
},
functional: true,
render: function render(h, ctx) {
var size = parseInt(ctx.props.size) + 'px';
var attrs = ctx.data.attrs || {};... |
/*
* Created by Rama41222 on 3/31/18 2:50 AM
* Copyright(c) 2018 All rights reserved
* Last Modified: 2/19/18 2:36 PM by Rama41222
*/
import jwt from 'jsonwebtoken'
import _ from 'lodash'
import HTTP_STATUS from 'http-status'
import constants from './../../config/constants'
import User from './user.model'
expor... |
exports.seed = function(knex, Promise) {
// Deletes ALL existing entries
return knex("buttons").del()
.then(function () {
// Inserts seed entries
return knex("buttons").insert([
{id: 1, group_id: 1, row1col1: true, row1col2: false, row1col3: false, row1col4: false, row1col5: false,
... |
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
collectCoverageFrom: ["dist/**/*.js"],
}
|
import React, { Component } from 'react';
import AppNavbar from './components/AppNavbar'
import ShoppingList from './components/ShoppingList'
import ItemModal from './components/itemModal';
import {Container} from 'reactstrap'
import {Provider} from 'react-redux';
import store from './store';
import 'bootstrap/dist/cs... |
webpackJsonp([110],{68:function(e,r){e.exports="## Linear Progress\n\nLinear Progress component is a spec-aligned linear progress indicator component adhering to the Material Design progress & activity requirements.\n\n## Usage\n\n```html\n<m-linear-progress value='0.3' buffer='0.5'></m-linear-progress>\n<m-linear-prog... |