Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3
1.05M
/*! * JavaScript Cookie v2.1.2 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */ ;(function (factory) { if (typeof define === 'function' && define.amd) { define(factory); } else if (typeof exports === 'object') { modul...
#!/usr/local/bin/python3 class Cat(): species = 'mamal' def __init__(self, name, age): self.name = name self.age = age # Instantiate the Cat object with 3 cats cat1 = Cat('Tigger', 1) cat2 = Cat('Smokey', 4) cat3 = Cat('Patch', 10) def oldest_cat(*args): ''' INFO: Create a functio...
//>>built define( "dijit/form/nls/tr/ComboBox", //begin v1.x content ({ previousMessage: "Önceki seçenekler", nextMessage: "Diğer seçenekler" }) //end v1.x content );
import numpy as np import matplotlib.pyplot as plt from numpy import vstack, array from pylab import plot, show, savefig import csv import random from scipy.cluster.vq import kmeans2, vq import numpy_indexed as npi import time if __name__ == "__main__": # read data as 2D array of data type 'np.float' result =...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _inte...
import { dew as _toStringDewDew } from "./toString.dew.js"; var exports = {}, _dewExec = false; export function dew() { if (_dewExec) return exports; _dewExec = true; var toString = _toStringDewDew(); /** * Replaces matches for `pattern` in `string` with `replacement`. * * **Note:** This method is...
import discord from discord.ext import commands import asyncio from googletrans import Translator class Translation(commands.Cog): def __init__(self,client): self.client = client @commands.cooldown(1,5,commands.BucketType.user) @commands.command() async def trans(self, ctx): """trans...
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
# coding=utf-8 # Copyright 2018 The TF-Agents Authors. # # 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...
// 12.4.2017 mko // Berechnung des Konfigurierten Sortiertermes $(document).ready(function () { $("#btnSave").click(function () { let AppFolder = $("#AppFolder").attr("value"); let rpnFName = $("#rpnFName").attr("value"); let ControllerName = $("#ControllerName").attr("value"); l...
"""Utilities for writing code that runs on Python 2 and 3""" # Copyright (c) 2010-2015 Benjamin Peterson # # 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 with...
import React from 'react'; import SortColumn, { SortByDirection } from '../../SortColumn'; import { css } from '@patternfly/react-styles'; import styles from '@patternfly/patternfly/components/Table/table.css'; import buttonStyles from '@patternfly/patternfly/components/Button/button.css'; export default (label, { col...
// // Tests autosplit locations with force : true, for small collections // (function() { 'use strict'; var st = new ShardingTest( {shards: 1, mongos: 1, other: {chunkSize: 1, mongosOptions: {noAutoSplit: ""}}}); var mongos = st.s0; var admin = mongos.getDB("admin"); var config = mongos.ge...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import nodemailer from 'nodemailer'; import { Action, ActionResult }...
var path = require('path'); module.exports = { mode: 'production', context: path.join(__dirname, '/dist'), entry: './client.js', output: { path: path.join(__dirname, '/browser'), filename: 'client.js', library: 'SubscriptionsTransportWs' } };
""" Print out Py-ART version information. This file can also be run as a script to report on dependencies before a build: python pyart/_debug_info.py """ from __future__ import print_function import os import sys def _debug_info(stream=None): """ Print out version and status information for debugging. ...
/** * @category saltcorn-data * @module models/user * @subcategory models */ const db = require("../db"); const bcrypt = require("bcryptjs"); const { contract, is } = require("contractis"); const { v4: uuidv4 } = require("uuid"); const dumbPasswords = require("dumb-passwords"); const validator = require("email-vali...
let hist = Array() let hist_id = 0 let prev_command = "" ///// Firebase parameters ///// const database = firebase.database(); const provider = new firebase.auth.GoogleAuthProvider(); //provider.addScope('https://www.googleapis.com/auth/plus.login'); const userLogin = { name: "hackntu" } const emailregex = /^(([^<>...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2019 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ /** * Calculate the distance between two sets of coordinates (points). * * @function Phaser.Math.Distance.Between ...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Riccardo Malpica Galassi, Sapienza University, Roma, Italy """ import numpy as np from .ThermoKinetics import CanteraThermoKinetics class CanteraCSP(CanteraThermoKinetics): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tf = require("@tensorflow/tfjs-core"); var common_1 = require("../common"); function boxPredictionLayer(x, params) { return tf.tidy(function () { var batchSize = x.shape[0]; var boxPredictionEncoding = tf.reshape...
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.nipplejs=e()}}(function(){function e(){}function t(e,i)...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _stringWithLength = require('./string-with-length.generator'); Object.keys(_stringWithLength).forEach(function (key) { if (key === "default" || key === "__esModule") return; Object.defineProperty(exports, key, { enumerable: tr...
/** * 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...
import React, { Component } from 'react'; import {Icon } from 'antd'; import './style/style.less'; export default class Card extends Component { constructor(props) { super(props); this.state={ flag:false, }; } render() { const {title,icon,more,className} = this.props; let flag = th...
// For a detailed explanation regarding each configuration property, visit: // https://jestjs.io/docs/en/configuration.html module.exports = { // Automatically clear mock calls and instances between every test clearMocks: true, // Indicates whether the coverage information should be collected while executing th...
module.exports = { env: { browser: true, es6: true, }, extends: [ 'airbnb', 'airbnb/hooks', 'plugin:prettier/recommended', 'prettier/react', ], globals: { Atomics: 'readonly', SharedArrayBuffer: 'readonly', }, parserOptions: { ecmaFeatures: { jsx: true, }, ...
var destinos = [], categorias = [], perfiles = []; var exp = undefined; function addElement (array, element){ if (!$.isArray(array)){ return false; } array.push(element); } function deleteElement (array, element){ if (!$.isArray(array)){ return false; }else { if (array.len...
(async () => { const gameID = prompt('Please enter the game set ID you are playing: '); const GetAnswers = await fetch(`https://api.blooket.com/api/games?gameId=${gameID}`, { headers: { "accept": "application/json, text/plain, */*", "accept-language": "en-US,en;q=0.9", ...
/* Copyright (c) Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import { Block } from '../../block/index.js'; import { Button } from '../../button/index.js'; import { ProgressS...
End of preview. Expand in Data Studio

Stack V1 with popular programming languages

  • Javascript
  • Python
  • C
  • C++
  • SQL
  • Cuda
Downloads last month
623

Models trained or fine-tuned on PrimeIntellect/StackV1-popular

Collection including PrimeIntellect/StackV1-popular