Dataset Viewer
Auto-converted to Parquet Duplicate
text
string
size
int64
token_count
int64
module.exports = { options: {}, issues: [], summary: { sessions: [], subjects: [], tasks: [], modalities: [], totalFiles: [], size: 0, }, }
172
61
require('dotenv').config(); const { TruffleProvider } = require('@harmony-js/core'); const operator_private_key = process.env.OPERATOR_PRIVATE_KEY; const operator_meemonic = process.env.OPERATOR_MNEMONIC; const testnet_url = process.env.TESTNET_0_URL; //Mainnet const mainnet_mnemonic = process.env.MAINNET_MNEMONIC; c...
1,823
608
import _ from 'lodash'; import React, {Component} from 'react'; import ReactDOM from 'react-dom'; import YTSearch from 'youtube-api-search'; import SearchBar from './components/search_bar'; import VideoList from './components/video_list'; import VideoDetail from './components/video_detail'; class App extends Component...
1,110
335
(function () { /* Imports */ var Meteor = Package.meteor.Meteor; var global = Package.meteor.global; var meteorEnv = Package.meteor.meteorEnv; (function(){ /////////////////////////////////////////////////////////////////////// // // // packages/raix_...
744
161
const express = require('express'); const router = express.Router(); const fs = require('fs'); const theatreHelpers = require('../helpers/theatreHelpers'); const passport = require('passport'); const date = require('date-and-time'); const isTheatre = require('../middleware/auth').isTheatre; router.get('/login'...
13,373
4,524
function scholarship(arg1, arg2, arg3) { let income = Number(arg1); let averageGrade = Number(arg2); let minIncome = Number(arg3); let socialScholarship = 0; let excellentScholarship = 0; if (averageGrade >= 5.50) { excellentScholarship = averageGrade * 25; } if ((averageGrade...
865
309
/* Copyright© 2000 - 2020 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ import {SuperMap} from '../SuperMap'; import {S...
8,669
4,010
import { get } from '@wp-g2/create-styles'; import { colorize, getComputedColor, is, noop } from '@wp-g2/utils'; import { space } from '../mixins/space'; import { config } from './config'; import { generateColorAdminColors } from './utils'; const baseTheme = Object.freeze(Object.assign({}, config)); export function ...
813
271
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{ /***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/components/productItem.vue?vue&type=script&lang=js&": /*!******************************************************************************************...
20,612
6,869
import React from 'react' export default () => ( <svg width="80px" height="80px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-fidget-spinner" > <g transform="rotate(6 50 50)"> <g transform="translate(50 50)"> <g ng-attr-...
2,677
1,847
/** * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 * Copyright (C) 2020 Oliver Nightingale * @license MIT */ !function(){var e=function(t){var r=new e.Builder;return r.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),r.searchPipeline.add(e.stemmer),t.call(r,r),r.build()};...
29,510
12,713
import React from 'react'; import styled from '@emotion/styled'; import Tile from '../Tile'; import { getAvatarById } from '../../shared/avatars'; import { StyledText, transparent } from '../../design/shared-styles'; import { useSelector } from 'react-redux'; const TileUserProfile = () => { const isConnected = useSe...
1,809
644
import { useStaticQuery, graphql } from "gatsby" export default assetUrl => { const { allContentfulAsset } = useStaticQuery(graphql` query { allContentfulAsset { nodes { file { url } fluid(maxWidth: 785) { ...
483
136
import React, { Component } from "react"; import { requireNativeComponent, View, UIManager, findNodeHandle, DeviceEventEmitter } from "react-native"; import PropTypes from "prop-types"; class SketchView extends Component { constructor(props) { super(props); this.onChange = this.onChange.bind(this);...
2,133
712
export const AMOUNT = 10; export const TYPES = ['multiple', 'boolean']; export const DIFFICULTIES = ['easy', 'medium', 'hard']; export const ANSWER_VALUE = 100;
161
60
const authenticationMiddleware = require("./authn"); const corsMiddleware = require("./cors"); module.exports = { azureAuth: authenticationMiddleware, cors: corsMiddleware }
183
50
/* 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...
9,966
3,408
import fs from 'fs-extra' import path from 'path' import {coreUtils, config, Handlebars, User} from '../../../../cli' var route = function route(req, res) { var resHtml = '' var page = path.join(__dirname + '/../../../views/users/profile.html') if (coreUtils.file.exist(page)) { resHtml = fs.readFileSync(pa...
948
321
import React from "react"; import { Wave } from "react-animated-text"; import { Link } from "react-scroll"; import TravisCI from "../../pages/images/TravisCI-Mascot-2.png"; import "./style.css"; const style = { removeUnderline: { textDecoration: "none", }, }; function NavBar() { return ( <header classN...
1,514
502
var seeProcessorFn = require('../processors/transfer-see'); describe('transfer-see', function() { var seeProcessor; beforeEach(function() { seeProcessor = seeProcessorFn(); }); var transferSee = function(docs) { seeProcessor.$process(docs); }; it('should put @see info in the description', funct...
1,380
435
(this["webpackJsonpinventory-management-system"]=this["webpackJsonpinventory-management-system"]||[]).push([[3],{402:function(t,e,n){"use strict";n.r(e),n.d(e,"getCLS",(function(){return p})),n.d(e,"getFCP",(function(){return g})),n.d(e,"getFID",(function(){return F})),n.d(e,"getLCP",(function(){return k})),n.d(e,"getT...
4,261
1,791
/* eslint-disable linebreak-style */ // ====================================================================== // Some Assembly Required // Advent of Code 2015 Day 07 -- Eric Wastl -- https://adventofcode.com // // Javascript implementation by Dr. Dean Earl Wright III // =============================================...
6,434
1,585
/* eslint-disable no-unused-vars */ /* eslint-disable no-undef */ const assert = require("assert"); const should = require("should"); const rewire = require("rewire"); const buildPackageModule = rewire("../app/jobs/buildPackage"); const filterRemoteTags = buildPackageModule.__get__("filterRemoteTags"); describe("app...
1,975
756
import React, { Fragment, useState } from 'react' import PropTypes from 'prop-types' // ES6 import { extent, max } from 'd3-array' import { scaleBand, scaleLinear, scaleTime } from 'd3-scale' import { line, curveCardinal } from 'd3-shape' import { timeMonth, timeDay } from 'd3-time' import { formatDate, formatNumber ...
12,358
4,430
function type(obj, type) { return Object.prototype.toString.call(obj).slice(8, -1).toLocaleLowerCase() === type; } export const assert = [ 'String', 'Object', 'Function', 'Array' ].reduce((init, key) => { init['is' + key] = function(target) { return type(target, key.toLocaleLowerCase()); }; retu...
337
123
'use strict'; const names = ['bag', 'banana', 'bathroom', 'boots', 'breakfast', 'bubblegum', 'chair', 'cthulhu', 'dog-duck', 'dragon', 'pen', 'pet-sweep', 'scissors', 'shark', 'sweep', 'tauntaun', 'unicorn', 'usb', 'water-can', 'wine-glass']; const leftImage = document.getElementById(`left`); const centerImage =...
4,125
1,340
import { isArray, addObject, findBy } from '@/utils/array'; const parseCache = {}; const OP_MAP = { '=': 'In', '==': 'In', '!=': 'NotIn', '<': 'Lt', '>': 'Gt', }; // Parse a labelSelector string export function parse(labelSelector) { // matchLabels: // comma-separated list, all rules ANDed together ...
5,506
1,811
/*! * Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. */ import {registerInternalPlugin} from '@webex/webex-core'; import Search from './search'; import config from './config'; import {has} from 'lodash'; import '@webex/internal-plugin-encryption'; registerInternalPlugin('search', Search, { config,...
1,727
499
import React, { useEffect, useRef, useState } from 'react'; import { Row, Col } from 'react-bootstrap'; import Card from '@material-ui/core/Card'; import IconButton from '@material-ui/core/IconButton'; import PlayArrowIcon from '@material-ui/icons/PlayArrow'; import PauseIcon from '@material-ui/icons/Pause'; import { ...
5,891
1,837
function loop(){ // Rotate the propeller, the sea and the sky //airplane.propeller.rotation.x += 0.3; sky.mesh.rotation.z += .05; // update the plane on each frame updatePlane(); airplane.pilot.updateHairs(); sea.moveWaves(); // render the scene renderer.render(scene, camera); // call the loop ...
1,346
537
function getGEOJSONArray(geojson, positions, clau) { var array1 = [] var z = 0; $.each(geojson.features, function (key, val) { z = z + 1; if (z <= positions) { $.each(val.properties, function (i, j) { if (i == clau) { array1.push(j); ...
12,431
4,482
module.exports={A:{A:{"2":"E A B gB","8":"K D G"},B:{"2":"1 C c J M H I"},C:{"1":"0 1 2 3 4 5 6 7 8 9 F N K D G E A B C c J M H I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o L q r s t u v w x y z AB CB DB","129":"eB EB cB WB"},D:{"1":"T","8":"0 1 2 3 4 5 6 7 8 9 F N K D G E A B C c J M H I O P Q R S U V W X Y Z...
882
503
/*! * OS.js - JavaScript Cloud/Web Panel Platform * * Copyright (c) 2011-2017, Anders Evenrud <andersevenrud@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributi...
9,200
2,860
import {HTMLElement} from './html-element.js'; /** * @implements globalThis.HTMLDirectoryElement */ export class HTMLDirectoryElement extends HTMLElement { constructor(ownerDocument, localName = 'dir') { super(ownerDocument, localName); } }
252
74
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
8