Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3.22k
29.5k
/* eslint-disable no-console */ 'use strict'; // const install = require('./install') const runCmd = require('./runCmd'); const getBabelCommonConfig = require('./getBabelCommonConfig'); const merge2 = require('merge2'); const { execSync } = require('child_process'); const through2 = require('through2'); const transfor...
import PropTypes from 'prop-types'; import React from 'react'; import { FlatList, View, StyleSheet, Keyboard, TouchableOpacity, Text, ImageBackground } from 'react-native'; import LoadEarlier from './LoadEarlier'; import Message from './Message'; import Color from './Color'; import { warning } from './utils'; const st...
var AWS = require('../core'); var STS = require('../../clients/sts'); var iniLoader = AWS.util.iniLoader; /** * Represents credentials loaded from shared credentials file * (defaulting to ~/.aws/credentials or defined by the * `AWS_SHARED_CREDENTIALS_FILE` environment variable). * * ## Using the shared credential...
/** * @license * Copyright 2018 Google LLC * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * ============================================================================= */ /** * Interfaces and methods for tra...
import * as mars3d from "mars3d" export let map // mars3d.Map三维地图对象 export let graphicLayer // 矢量图层对象 // 需要覆盖config.json中地图属性参数(当前示例框架中自动处理合并) export const mapOptions = { scene: { center: { lat: 31.608821, lng: 117.255084, alt: 32429, heading: 2, pitch: -49 } } } /** * 初始化地图业务,生命周期钩子函数(必须) * 框架在地图初始化完成后自动调...
/** * First we will load all of this project's JavaScript dependencies which * include Vue and Vue Resource. This gives a great starting point for * building robust, powerful web applications using Vue and Laravel. */ require('./bootstrap'); /** * Next, we will create a fresh Vue application instance and attach...
// Copyright (c) YugaByte, Inc. import React, { Component } from 'react'; import Cookies from 'js-cookie'; import { Row, Col, Tab } from 'react-bootstrap'; import { YBFormInput, YBButton, YBToggle, YBControlledSelectWithLabel } from '../common/forms/fields'; import { Formik, Form, Field } from 'formik'; import { brows...
import React from 'react'; import Icon from './Icon'; const Icons = { Add: props => <Icon name="icon_add_30px" {...props} />, Airplane: props => <Icon name="icon_airplane_30px" {...props} />, Alarm: props => <Icon name="icon_alarm_30px" {...props} />, Analyse: props => <Icon name="icon_analyse_30px" {...props}...
/* eslint-disable no-console */ const rainbowLinearGradient = `linear-gradient(to right, hsl(0, 100%, 50%), hsl(39, 100%, 50%), hsl(60, 100%, 50%), hsl(120, 100%, 50%), hsl(180, 100%, 50%), hsl(240, 100%, 50%), hsl(300, 100%, 50%), hsl(360, 100%, 50%) )`; const UnicornLog = { // ==============================...
(function () { var host = "https://localhost:44300"; angular.module("filePicker", []) .controller("searchCtrl", ["$scope", "$http", function ($scope, $http) { $scope.items = []; $scope.searchTerms = ""; $scope.waiting = true; $scope.active_view = "OneDrive"; $scope.b...
/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ 'use strict'; /** * Constants */ var DEBUG = false; /** * Debug method */ function debug(msg, optObject) { if (DEBUG) { var output = '[DEBUG # Settings] ' + msg; if (o...
import { _Math } from '../../math/Math'; import { Vector3 } from '../../math/Vector3'; import { Matrix4 } from '../../math/Matrix4'; /** * @author zz85 / http://www.lab4games.net/zz85/blog * Extensible curve object * * Some common of Curve methods * .getPoint(t), getTangent(t) * .getPointAt(u), getTangentAt(u) ...
import React, { Component, Fragment } from "react"; import { connect } from "react-redux"; import PropTypes from "prop-types"; import Button from "@material-ui/core/Button"; import AppBar from "@material-ui/core/AppBar"; import Toolbar from "@material-ui/core/Toolbar"; import Typography from "@material-ui/core/Typograp...
import React, { useState, useEffect } from 'react' import PropTypes from 'prop-types' import { makeStyles, useTheme } from '@material-ui/core/styles' import useMediaQuery from '@material-ui/core/useMediaQuery' import TextField from '@material-ui/core/TextField' import MenuItem from '@material-ui/core/MenuItem' import T...
var moment = require("../../moment"); function equal(test, a, b, message) { test.ok(Math.abs(a - b) < 0.00000001, "(" + a + " === " + b + ") " + message); } exports.diff = { "diff" : function(test) { test.expect(5); test.equal(moment(1000).diff(0), 1000, "1 second - 0 = 1000"); ...
var map = L.map('map', { center: [13.335017, 101.719808], zoom: 7, zoomControl: false }); var osm = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 19, attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', lyr: 'bas...
/* 18.2 Workbook */ var wbnsregex = /<\w+:workbook/; function parse_wb_xml(data, opts) { var wb = { AppVersion:{}, WBProps:{}, WBView:[], Sheets:[], CalcPr:{}, xmlns: "" }; var pass = false, xmlns = "xmlns"; data.match(tagregex).forEach(function xml_wb(x) { var y = parsexmltag(x); switch(strip_ns(y[0])) { cas...
//Requires const modulename = 'OutputHandler'; const fs = require('fs'); const chalk = require('chalk'); const bytes = require('bytes'); const { dir, log, logOk, logWarn, logError } = require('../../extras/console')(modulename); //Helpers const anyUndefined = (...args) => { return [...args].some((x) => (typeof x === '...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
41