text stringlengths 2 1.04M |
|---|
const randomAnimalsImage = require('../index.js')
async function getRedPandaImage(){
const redpanda = await randomAnimalsImage.redpanda()
console.log("Red Panda Image : " + redpanda)
}
getRedPandaImage() |
/*
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4
Version: 1.7.0
Author: Sean Ngu
Website: http://www.seantheme.com/color-admin-v1.7/admin/
*/
var handleDataTableFixedColumns = function() {
"use strict";
if ($('#data-table').length !== 0) {
var tab... |
[
{
"id": "ActivityIndicator",
"title": "Activity Indicator",
"description": "Activity Indicator is a visual indication of an app loading content. It can display how long an operation will take or visualize an unspecified wait time.",
"samples": [
{
"id": "ActivityIndicatorViewController",
"title":... |
import React from 'react';
import {Router, Route, IndexRoute, browserHistory} from 'react-router';
import {Provider} from 'react-redux';
import {combineReducers} from 'redux';
import {syncHistoryWithStore} from 'react-router-redux';
import App from './pages/App.js';
import store from './Store.js';
const createElemen... |
var Intro = require('./intro'),
Ui = require('./ui'),
Routing = require('./routing'),
Player = require('./player'),
Api = require('./api'),
Nav = require('./nav'),
Crates = require('./crates');
function init() {
Ui.init();
Crates.init(Ui);
Player.init();
Intro.init();
Routing.init({
onPageCha... |
import React from 'react'
import { Layout } from 'components/patterns'
import { Iframe } from 'components/elements'
const TITLE = 'Design'
export default () => (
<Layout title={TITLE} image='https://cdn.microlink.io/page/design.png'>
<Iframe height='920px' title={TITLE} src='https://design.microlink.io' />
</... |
// Unicode 6.2.0 | 2012-05-23, 20:34:59 GMT [MD]
whitespaceChars = /[\x09\x0B-\x0C\x20\xA0\u1680\u180E\u2000-\u200A\u202F\u205F\u3000\uFEFF]/;
var identifierEscape = /\\u([0-9a-fA-F]{4})/g,
newlineSequence = /\r\n?|[\n\u2028\u2029]/g;
// === Reserved Words ===
var reservedWord = new RegExp("^(?:" +
"break... |
// @flow
import React from 'react';
import { TextInput } from 'react-native';
import { shallow, render, fireEvent } from 'react-native-testing-library';
import OptionPicker from '../OptionPicker';
import options, { Prague, Berlin } from '../mocks/places';
import { Badge } from '../../Badge';
jest.mock('NativeAnimate... |
import { Link, routes } from '@redwoodjs/router'
import { Toaster } from '@redwoodjs/web/toast'
const MessagesLayout = ({ children }) => {
return (
<div className="rw-scaffold">
<Toaster toastOptions={{ className: 'rw-toast', duration: 6000 }} />
<header className="rw-header">
<h1 className="... |
import React, { Component } from 'react';
import './Lesson.css';
import Utils from '../utils/Utils';
import SwipeCard from './SwipeCard';
import Rating from './Rating';
class Lesson extends Component {
constructor(props) {
super(props);
this.state = {
cardIndex: Utils.getRandomIndexFromWeightedList(... |
/**
* Created by Liu.Jun on 2020/5/31 8:27 下午.
*/
// 指南页左侧菜单
// sidebar
// [
// {
// title: 'Group 1', // 必要的
// path: '/foo/', // 可选的, 标题的跳转链接,应为绝对路径且必须存在
// collapsable: false, // 可选的, 默认值是 true,
// sidebarDepth: 1, // 可选的, 默认值是 1
// children: [
// ... |
import ModalService from 'ember-promise-modals/services/modal';
export default ModalService.extend({
outAnimationTimeout: 500,
}); |
function nxNMatrix(n) {
function row(num) {
let line = "";
for (let index = 0; index < num; index++) {
const element = num[index];
line += "" + num + " ";
}
return line;
}
let printLines = '';
for (let index = 0; index < ... |
'use strict';
const { MongoClient } = require('mongodb');
// Starts connection
const connect = async function ({
options: { hostname, port, username, password, dbname, opts },
}) {
const host = getHost({ hostname, port });
const auth = getAuth({ username, password });
const url = `mongodb://${auth}${host}/${d... |
export default THREE => {
/**
* @author qiao / https://github.com/qiao
* @author mrdoob / http://mrdoob.com
* @author alteredq / http://alteredqualia.com/
* @author WestLangley / http://github.com/WestLangley
* @author erich666 / http://erichaines.com
*/
// This set of controls performs orbiting, dollyin... |
/* This file is automatically rebuilt by the Cesium build process. */
/*! @license DOMPurify 2.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.1/LICENSE */
function _toConsumableArray(arr) { if (Array.isArray(arr)) { ... |
sap.ui.define([
"sap/ui/table/qunit/TableQUnitUtils",
"sap/ui/table/AnalyticalTable",
"sap/ui/table/utils/TableUtils",
"sap/ui/model/odata/ODataModel",
"sap/ui/model/odata/v2/ODataModel",
"sap/ui/core/qunit/analytics/o4aMetadata",
"sap/ui/core/qunit/analytics/TBA_ServiceDocument",
"sap/ui/core/qunit/analytics/A... |
$(window).on("load",function(){require.config({paths:{echarts:"../../../app-assets/vendors/js/charts/echarts"}}),require(["echarts","echarts/chart/pie","echarts/chart/funnel"],function(e){var t=e.init(document.getElementById("lasagna"));chartOptions={title:{text:"Browser statistics",subtext:"Based on shared research",x... |
const glob = require("./_globalFunctions");
const {reply} = require("./_combinedResponses");
module.exports = {
name: "eightball",
help: "Find out the awnser to any question",
executeGlobal: (message,args) => {
let option = glob.getRandomInt(0,3);
switch (option){
case 0:
reply(event,"Yes",isMessage);
... |
var searchData=
[
['setalphacutoff',['setAlphaCutOff',['../classpvr_1_1assets_1_1_model_1_1_material_1_1_g_l_t_f_metallic_roughness_semantics.html#add3ffed0a860514fc91640343620e711',1,'pvr::assets::Model::Material::GLTFMetallicRoughnessSemantics']]],
['setalphamode',['setAlphaMode',['../classpvr_1_1assets_1_1_model... |
(function () {
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var inf... |
describe('DS#eject', function () {
it('should throw an error when method pre-conditions are not met', function () {
assert.throws(function () {
store.eject('does not exist', 5);
}, store.errors.NonexistentResourceError, 'does not exist is not a registered resource!');
DSUtils.forEach(TYPES_EXCEPT_S... |
// This file is automatically compiled by Webpack, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
import Rails from "@rails/u... |
import helpers from './helpers.js'
import Config from '$config'
const appWillUpdateMessage = () => {
const toSeconds = Config.pwaConfig.reloadDelayAfterNewServiceWorkerDetected / 1_000
helpers.createFooterPopup(
'statusUpdate',
{
gif: 'loading-alternate',
color: 'blu... |
// Define Pokemon Object. Requires `Data` to be defined.
function Pokemon(name, set) {
this.id = toID(name);
if (!this.id) return false;
var set = (typeof set === 'object' ? set : {item:"",ability:"",ivs:{},evs:{}});
for (var prop in Data.Pokedex[this.id]) this[prop] = Data.Pokedex[this.id][prop];
this.set = {ivs... |
import { isAccessorNode, isArrayNode, isConstantNode, isFunctionNode, isIndexNode, isNode, isObjectNode, isParenthesisNode, isSymbolNode } from '../../utils/is.js';
import { getSafeProperty } from '../../utils/customs.js';
import { factory } from '../../utils/factory.js';
import { accessFactory } from './utils/access.j... |
var LazyWrapper = require('../internal/LazyWrapper'),
LodashWrapper = require('../internal/LodashWrapper'),
thru = require('./thru');
/**
* Reverses the wrapped array so the first element becomes the last, the
* second element becomes the second to last, and so on.
*
* **Note:** This method mutates the wra... |
import Toast from './toast'
let currentToast
export default {
install (Vue, options) {
Vue.prototype.$toast = function (message, toastOptions) {
if (currentToast) {
currentToast.close()
}
currentToast = createToast({
Vue,
message,
propsData: toastOptions,
... |
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Wor... |
App.config(function($routeProvider) {
$routeProvider.when('/inbox', {
templateUrl: 'views/inicio/index.html',
controller: 'ProductoProveedorController'
}).
otherwise({
redirectTo: '/inbox'
});
}); |
export {};
//# sourceMappingURL=InsertManager.js.map |
export default {
notActivated: "Inattivo"
};
// @key: @#@"notActivated"@#@ @source: @#@"Inactive"@#@ |
import React, { Component } from 'react';
import TradingViewWidget from 'react-tradingview-widget';
import Websocket from 'react-websocket';
import { Row, Col } from 'antd';
import LayoutWrapper from '@ui/utility/layoutWrapper.js';
import IntlMessages from '@ui/utility/intlMessages';
import ContentHolder from '@ui/uti... |
/**
* WordPress dependencies
*/
import { SVG, Path } from '@wordpress/primitives';
const expand = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 24 24">
<Path d="M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3" />... |
$(document).ready(function(){
var loadedModules = {}
var listElement = $('#pluginManagerList')
var getModules = function(callback) {
$.get(superApiPrefix + $user.sessionKey + '/plugins/list',callback)
}
var loadedBlocks = {}
var drawModuleBlock = function(module){
var humanName =... |
const superagent = require('superagent');
const superagentPrefix = require('superagent-prefix');
module.exports = ({ baseUrl, verbose, headers }) => {
const agent = superagent
.agent()
.use(superagentPrefix(baseUrl));
if (headers) {
agent.set(headers);
}
if (verbose) {
agent.use(require('supe... |
import React from "react"
const WorkInProgress = () => (
<div className="main-text">
<p style={{ marginBottom: `25px` }}>
Uh oh! Looks like this page is still a work in progress.
</p>
<p style={{ marginBottom: `0` }}>
Hi there, I appreciate you dropping by but the content is not ready.
<... |
const storeImporter = requireContext => requireContext.keys()
.map(fileName => [fileName.replace(/(^.\/)|(\.js$)/g, ''), requireContext(fileName)])
.reduce((modules, [name, module]) => {
module.namespaced = true;
return Object.assign({}, modules, { [name]: module });
}, {});
export default ... |
import { executeSaveScroll, executeGetScroll } from './contentScripts';
function getUrlWithoutHash(url) {
return url.split('?')[0];
}
const setActiveIcon = () => {
chrome.action.setIcon({
path: {
16: '../images/icon-16.png',
32: '../images/icon-32.png',
48: '../images/icon-48.png',
128... |
const debug = require('debug')('yup-by-example:generators:ArrayGenerator');
const BaseGenerator = require('./BaseGenerator');
const MIN_ARRAY_SIZE = 3;
const MAX_ARRAY_SIZE = 5;
class ArrayGenerator extends BaseGenerator {
generate({ id, chance, schema, session }) {
const value = this.hasWhitelist(schema)
... |
import React, { Fragment, useContext } from 'react';
import { GlobalContext } from '../context/GlobalState';
const Balance = () => {
const { transactions } = useContext(GlobalContext);
const amounts = transactions.map((transaction) => transaction.amount);
const total = amounts.reduce(((bal, num) => bal + num), 0... |
tinyMCE.addI18n('ru.fullpage_dlg',{
title:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",
meta_tab:"\u041E\u0431\u0449\u0435\u0435",
appearance_tab:"\u0412\u0438\u0434",
advanced_tab:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043... |
/*jshint -W083 */ // inline functions are used safely
(function($) {
var Alpaca = $.alpaca;
Alpaca.Fields.ArrayField = Alpaca.ContainerField.extend(
/**
* @lends Alpaca.Fields.ArrayField.prototype
*/
{
/**
* @see Alpaca.Field#getFieldType
*/
getFieldType: fu... |
import "react-native-gesture-handler";
import React from "react";
import { View } from "react-native";
import { Title, Subheading, Paragraph } from "react-native-paper";
export default function TextEnglish() {
return (
<View>
<Title>The Title</Title>
<Subheading>Subheading</Subheading>
<Paragra... |
//# sourceMappingURL=sharedService.service.js.map |
require('semantic-ui-css/semantic.min.css');
require('../../configs/custom.css'); |
define(['marionette',
'modules/status/collections/gda',
], function(Marionette, GDALog) {
var LogEntry = Marionette.ItemView.extend({
tagName: 'li',
template: _.template('<%-LINE%>'),
modelEvents: {
'change': 'render',
},
onRender: ... |
/*! elementor - v3.6.1 - 23-03-2022 */ |
/*!
* flxMenu v1.0
* https://github.com/LoFred59/flxMenu
*
* Copyright (c) 2018 Alfred Lorenz. All rights reserved.
* Released under the MIT license.
*
* Date: Thu Jul 12 2018
*/
(function ( $ ) {
if ( $.fn.flxMenu )
{
// already
return;
}
$.fn.flxMenu = function($targetFrame, options )
{
var slid... |
module.exports={A:{A:{"2":"K D G E A B iB"},B:{"2":"2 C d J M","514":"H I"},C:{"2":"0 1 2 3 4 6 7 8 9 fB DB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j k l m n o L q r s t u v w x y z HB GB BB CB FB ZB YB"},D:{"1":"MB JB OB PB QB","2":"2 6 F N K D G E A B C d J M H I O P Q R S T U V W X Y Z a ... |
import { model, Schema } from "mongoose";
const FullTrainingSchema = new Schema(
{
name: String,
description: String,
},
{ timestamps: true }
);
FullTrainingSchema.path("createdAt").immutable(true);
// TestSchema.pre("save", async function () {
// const folder = await Folder.findOne({ _id: this.folde... |
const Hex = ({ className }) => {
return (
<svg
width="21"
height="23"
viewBox="0 0 21 23"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<path
d="M7.94059 1.38432C9.35135 0.569812 11.0895 0.56981 12.5003 1.38432L17.87 4.48454C19.2808 5.... |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/material-components/material-components-web/blob/master/LICENSE
*/
(function webpackUniversalModuleDefinition(root, factory) {
... |
import axios from 'axios';
export default axios.create({
baseURL: 'https://json-server-scab.herokuapp.com'
}); |
import React from 'react';
import { useStaticQuery, graphql } from 'gatsby';
import { Container } from 'bloomer';
import H2 from '../Typography/H2';
import styled from 'styled-components';
import BlogList from '../blog-post/BlogList';
const Wrapper = styled.div`
padding-top: 3rem;
padding-bottom 5rem;
@media scr... |
import {Controller} from "../Controller.js";
import {NavCubePlugin} from "../../xeokit-sdk/src/plugins/NavCubePlugin/NavCubePlugin.js";
/** @private */
class NavCubeMode extends Controller {
constructor(parent, cfg) {
super(parent, cfg);
if (!cfg.navCubeCanvasElement) {
throw "Missin... |
'use strict';
var deepMap = require('../../utils/collection/deepMap');
function factory (type, config, load, typed) {
var unaryMinus = load(require('./unaryMinus'));
var isNegative = load(require('../utils/isNegative'));
var matrix = load(require('../../type/matrix/function/matrix'));
/**
* Calculate the ... |
const Employee = require('./Employee');
class Engineer extends Employee {
constructor(name, id, email, github) {
super(name, id, email, 'Engineer');
this.github = github;
}
getGitHub() {
return this.github;
}
getEmployeeCard() {
return super.getEmployeeCard('fa-glas... |
const express = require("express");
const app = express();
const mongoose = require('mongoose');
const passport = require('passport');
const cors = require('cors');
var cookieSession = require('cookie-session');
const bodyparser = require('body-parser')
const methodoverride = require("method-override")
const User = req... |
'use strict'
const mh = require('multihashes')
const multipart = require('ipfs-multipart')
const debug = require('debug')
const tar = require('tar-stream')
const log = debug('jsipfs:http-api:files')
log.error = debug('jsipfs:http-api:files:error')
const pull = require('pull-stream')
const toPull = require('stream-to-p... |
const smartBearerStrategy = require('./index.js');
const superagent = require('superagent');
describe('Bearer Strategy Test', () => {
describe('missing required configurations', () => {
test('should throw an error if the introspectionUrl is missing', () => {
let strategy = smartBearerStrategy();
// S... |
var requireDir = require('require-dir');
requireDir('./gulp/tasks', { recurse: true }); |
/// graphics opcodes
export const G_MTX = 1
export const G_POPMTX = 2
export const G_MOVEMEM = 3
export const G_MOVEWORD = 4
export const G_TEXTURE = 5
export const G_VTX = 6
export const G_DL = 7
export const G_ENDDL = 8
export const G_SETGEOMETRYMODE = 9
export const G_CLEARGEOMETRYMODE = 10
export const G_TRI1 = 11
... |
'use strict';
export default (blob) => {
return (blob.constructor === Blob && blob instanceof Blob) ? true : false;
} |
var mysql = require('mysql');
var db_config = {
host : 'pdc-database-instance-1.ckpiyjsdrpkt.us-east-2.rds.amazonaws.com', // Your host - either local or cloud
user : 'admin', // your username
password : 'timmyisthebestatasp.net', // your password
database : 'sys' // database name
};
var conne... |
/*
Description:
Aspect-oriented programming (AOP) is programming that adds additional behavior (advice) to existing functionality without actually modifying that functionality.
Create a method called adviseBefore. This method will take two arguments, a function (target) and the advising function (advice).
adviseBefor... |
export const c_panel__footer_PaddingRight = {
"name": "--pf-c-panel__footer--PaddingRight",
"value": "1rem",
"var": "var(--pf-c-panel__footer--PaddingRight)"
};
export default c_panel__footer_PaddingRight; |
module.exports = {
createServer: require('./server/create'),
createSecureServer: require('./server/create-secure'),
monitorServer: require('./server/monitor'),
mountServer: require('./server/mount'),
plugins: {
contentType: require('./plugins/content-type'),
corsHeaders: require('./plugins/cors-header... |
var verifyOutput = function(out) {
printjson(out);
assert.eq(out.counts.input, 51200, "input count is wrong");
assert.eq(out.counts.emit, 51200, "emit count is wrong");
assert.gt(out.counts.reduce, 99, "reduce count is wrong");
assert.eq(out.counts.output, 512, "output count is wrong");
}
var st = ... |
import '@polymer/polymer/polymer-legacy.js';
import '../d2l-localize-behavior.js';
import { Polymer } from '@polymer/polymer/lib/legacy/polymer-fn.js';
const $_documentContainer = document.createElement('template');
$_documentContainer.innerHTML = `<dom-module id="d2l-test-localize-behavior">
<template strip-whitespa... |
expect(notify).to.be.a('function');
expect(notify.Notification).to.be.a('function');
notify('licia', {
body: 'This is the notification content'
}); |
"use strict";
var helpers = require("../../helpers/helpers");
exports["Australia/Melbourne"] = {
"1916" : helpers.makeTestYear("Australia/Melbourne", [
["1916-12-31T14:00:59+00:00", "00:00:59", "EST", -600],
["1916-12-31T14:01:00+00:00", "01:01:00", "EST", -660]
]),
"1917" : helpers.makeTestYear("Australia/Me... |
module.exports = {
"State": "OPEN",
"ProblemID": "242",
"PID": "-4768003441119873242",
"ProblemTitle": "Response time degradation",
"ProblemDetails": "tbd",
"Tags": "deploymentchange, autoremediation",
"ImpactedEntity": "Response time degradation on 9 Services",
"ImpactedEntities": [{
"type": "APPLICATION",
... |
//import liraries
import React, { Component } from 'react';
import { View, Text, StyleSheet } from 'react-native';
// create a component
export default class SplashScene extends Component {
constructor(props) {
super(props);
}
componentWillMount() {
}
render() {
return (
... |
import alias from 'rollup-plugin-alias'
export default {
input: 'src/index.js',
output: {
file: 'dist/node.cjs.js',
format: 'cjs'
},
plugins: [
alias({
'@debugger': './log.node.js'
})
]
} |
import React from "react"
import { Link, graphql } from "gatsby"
import Layout from "../components/Layout"
import * as styles from "../styles/home.module.css"
import Img from 'gatsby-image'
export default function Home({data}) {
console.log("GatsbyImageSharpFluid=",data);
return (
<>
<Layout>
<se... |
'use strict';
const multiFind = require('array-multi-find');
const TS_PEERS = [
'ts-node',
'typescript-node',
'typescript-register',
'typescript-require'
];
module.exports = ctx => {
const isRequired = ctx.options[0] !== 'optional';
const fileName = ctx.files.find(file => file.toLowerCase().indexOf('gulpfile') ... |
export const getYoutubeEmbedLink = (youtubeURL) =>
`https://www.youtube.com/embed/${extractYoutubeID(youtubeURL)}`
export const getYoutubeThumbnail = (youtubeURL) =>
`https://img.youtube.com/vi/${extractYoutubeID(youtubeURL)}/0.jpg`
const extractYoutubeID = (youtubeURL) => {
const regExp = /^.*((youtu.be\/)|(v\... |
import { trezor } from "connectors";
import Page from "./Page";
import NoDevicePage from "./NoDevicePage";
import "style/Trezor.less";
const TrezorPage = ({ device, connect, ...props }) =>
!device ? (
<NoDevicePage onConnect={connect} />
) : (
<Page device={device} {...props} />
);
export default trezor... |
(function($) {
$(document).ready(function() {
$('#Rplot').scianimator({
'width': 480,
'delay': 1000,
'loopMode': 'loop',
'controls': ['first', 'previous', 'play', 'next', 'last', 'loop', 'speed']
});
$('#Rplot').scianimator('play');
});
})(jQuery); |
"use strict";
import Vue from 'vue';
import axios from "axios";
// Full config: https://github.com/axios/axios#request-config
// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
// axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;
// axios.defaults.headers.post['Content-Type'] = '... |
import React, { Component } from "react";
import { connect } from "react-redux";
import PropTypes from "prop-types";
import Spinner from "../common/Spinner";
import { getProfiles } from "../../actions/profileActions";
import ProfileItem from "./ProfileItem";
class Profiles extends Component {
componentDidMount() {
... |
/*
* ! ${copyright}
*/
// ---------------------------------------------------------------------------------------
// Helper class used to execute model specific logic in FieldValueHelp
// ---------------------------------------------------------------------------------------
sap.ui.define([
'sap/ui/mdc/field/Field... |
(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)},l,l.ex... |
!function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],p=0,s=[];p<i.length;p++)f=i[p],o[f]&&s.push(o[f][0]),o[f]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(c&&c(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;... |
function Fxb(){}
function zxb(){}
function q6b(){}
function y6b(b){VOb(b.c,l6b(b.b))}
function s6b(b,c,d){this.b=b;this.d=c;this.c=d}
function Exb(){var b;while(Axb){b=Axb;Axb=Axb.c;!Axb&&(Bxb=null);y6b(b.b)}}
function Hxb(){Cxb=new Fxb;EC((BC(),AC),16);!!$stats&&$stats(vD(TWd,Aqd,-1,-1));Cxb.Bd();!!$stats&&$stats(vD(T... |
import React from 'react';
import { Link } from 'react-router-dom';
import Main from '../layouts/Main';
import Personal from '../components/Stats/Personal';
import Site from '../components/Stats/Site';
const Stats = () => (
<Main
title="Stats"
description="Some statistics about Stan and stansa.dev"
>
... |
import styled from 'styled-components';
export const Title = styled.span`
display: block;
font-size: 2rem;
font-weight: 500;
margin: 2rem 2rem 1rem;
`; |
const Booking = require('../models/Booking');
class BookingController {
async store(req, res) {
const {user} = req.headers;
const{id:spot} = req.params;
const {date} =req.body;
const booking = await Booking.create({
date,
spot,
user,
})
... |
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_TEST_LOCATION'] = 'West US';
process.env['AZURE_SUBSCRIPTION_ID'] = '8fbd19e9-e8e0-4224-89f6-b1d5d86fb4c4';
};
exports.scopes = [[function (nock) {
var result =
nock('http://management.azure.com:443')
.delete('/subsc... |
const Tawk = () => {
var Tawk_API = Tawk_API || {},
Tawk_LoadStart = new Date()
;(function () {
var s1 = document.createElement("script"),
s0 = document.getElementsByTagName("script")[0]
s1.async = true
s1.src = "https://embed.tawk.to/5f1180367258dc118bee6d1f/default"
s1.charset = "UTF-8"
... |
'use strict';
module.exports = {
up: async (queryInterface, Sequelize) => {
return [
await queryInterface.addColumn('Users', 'githubId', { type: Sequelize.INTEGER }),
await queryInterface.addColumn('Users', 'username', { type: Sequelize.STRING })
];
},
down: async (queryInterface, Sequelize)... |
import React from "react";
import Modal from "react-bootstrap/Modal";
import Button from "react-bootstrap/Button";
//Used on the Profile Page & Weather Page
function WeatherInfoModal({ onHide }) {
return (
<>
<Modal show={true} onHide={onHide}>
<Modal.Header closeButton>
<Modal.Title>Abou... |
/**
* System commands
* Pokemon Showdown - http://pokemonshowdown.com/
*
* These are system commands - commands required for Pokemon Showdown
* to run. A lot of these are sent by the client.
*
* System commands should not be modified, added, or removed. If you'd
* like to modify or add commands, add or edit fil... |
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export { ArrayDataSource } from './... |
const sinon = require('sinon');
const chai = require('chai');
const sinonChai = require('sinon-chai');
const request = require('supertest');
chai.use(sinonChai);
const expect = chai.expect;
const fs = require('fs');
const path = require('path');
const express = require('express');
const HttpStatus = require('http-stat... |
export { default as normalizePort } from './normalizePort'; |
class Ground {
constructor(x,y,width,height) {
var options = {
isStatic: true
}
this.body = Bodies.rectangle(x,y,width,height,options);
this.width = width;
this.height = height;
World.add(world, this.body);
}
display(){
var pos =this.body.position;
r... |
import Ember from 'ember';
import layout from '../templates/components/ember-cli-notify';
export default Ember.Component.extend({
layout
}); |
'use strict';
var $ = require('jquery');
var _ = require('underscore');
var Backbone = require('backbone');
var render = require('./utils').render;
var FileSaver = require('file-saver');
var moment = require('moment');
var fromSeconds = require('node-timecodes').fromSeconds;
var EDL = require('../../edl_composer/index... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.