Sampled Datasets
Collection
Random samples from large datasets, for convenience. • 8 items • Updated
identifier stringlengths 42 383 | collection stringclasses 1
value | open_type stringclasses 1
value | license stringlengths 0 1.81k | date float64 1.99k 2.02k ⌀ | title stringlengths 0 100 | creator stringlengths 1 39 | language stringclasses 157
values | language_type stringclasses 2
values | word_count int64 1 20k | token_count int64 4 1.32M | text stringlengths 5 1.53M | __index_level_0__ int64 0 57.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/jrm5100/fgbio/blob/master/src/main/scala/com/fulcrumgenomics/bam/CallOverlappingConsensusBases.scala | Github Open Source | Open Source | MIT | null | fgbio | jrm5100 | Scala | Code | 1,026 | 2,413 | /*
* The MIT License
*
* Copyright (c) 2022 Fulcrum Genomics
*
* 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 without limitation the rights
* to use, c... | 43,008 |
https://github.com/kp-favorite/wip/blob/master/JavaScript/DynamicLoadOfScripts.js | Github Open Source | Open Source | MIT | null | wip | kp-favorite | JavaScript | Code | 79 | 216 | //
// THIS GIVES A STRANGE RECURSIVE DEFINITION OF constructors,
// USE THE OTHER METHOD in DynamivLoadOfScripts2.js INSTEAD
//
var gizur2;
if(!gizur2) gizur2 = {};
// A simple module
gizur2.modules = (function () {
// A private constructor
function MyModule() {
this._myString = ""; // a privat... | 30,752 |
https://github.com/nomantufail/jr-architecture/blob/master/app/Http/Validators/Validators/UserValidators/AddUserValidator.php | Github Open Source | Open Source | MIT | null | jr-architecture | nomantufail | PHP | Code | 79 | 232 | <?php
/**
* Created by PhpStorm.
* User: JR Tech
* Date: 3/21/2016
* Time: 9:22 AM
*/
namespace App\Http\Validators\Validators\UserValidators;
use App\Http\Validators\Interfaces\ValidatorsInterface;
class AddUserValidator extends UserValidator implements ValidatorsInterface
{
public function __construct($... | 19,387 |
https://github.com/BradenLinick/Dolphin/blob/master/Core/Object Arts/Dolphin/MVP/SingleSelectListBoxTest.cls | Github Open Source | Open Source | MIT | 2,019 | Dolphin | BradenLinick | Apex | Code | 195 | 595 | "Filed out from Dolphin Smalltalk 7"!
ListBoxTest subclass: #SingleSelectListBoxTest
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
classInstanceVariableNames: ''!
SingleSelectListBoxTest guid: (GUID fromString: '{8e5a59a5-f500-4d07-9ea2-b1019c9302b2}')!
SingleSelectListBoxTest comment: ''!... | 46,938 |
https://github.com/laurenceschellevisch/runelite/blob/master/runescape-client/src/main/java/class14.java | Github Open Source | Open Source | BSD-2-Clause | null | runelite | laurenceschellevisch | Java | Code | 496 | 2,237 | import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
impo... | 25,304 |
https://github.com/pronoy2108/SwiftBrowser/blob/master/SwiftBrowser/SettingsViews/WebSettings.xaml.cs | Github Open Source | Open Source | Unlicense | 2,021 | SwiftBrowser | pronoy2108 | C# | Code | 1,037 | 4,445 | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Microsoft.Toolkit.Uwp.UI.Animations.Expressions;
using System.ComponentModel;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Threading.Ta... | 48,658 |
https://github.com/tsukoyumi/ouzel/blob/master/engine/input/Mouse.hpp | Github Open Source | Open Source | Unlicense | null | ouzel | tsukoyumi | C++ | Code | 190 | 574 | // Ouzel by Elviss Strazdins
#ifndef OUZEL_INPUT_MOUSE_HPP
#define OUZEL_INPUT_MOUSE_HPP
#include <bitset>
#include <cstdint>
#include "Controller.hpp"
#include "../math/Vector.hpp"
namespace ouzel::input
{
class Cursor;
class Mouse final: public Controller
{
friend InputManager;
public:
... | 25,632 |
https://github.com/urna/OpenBots.Server/blob/master/OpenBots.Server.ViewModel/FileObjectViewModel.cs | Github Open Source | Open Source | Apache-2.0 | 2,020 | OpenBots.Server | urna | C# | Code | 42 | 87 | using System.IO;
namespace OpenBots.Server.ViewModel
{
public class FileObjectViewModel
{
public virtual string Name { get; set; }
public virtual string ContentType { get; set; }
public virtual string StoragePath { get; set; }
public virtual FileStream BlobStream {get;... | 38,504 |
https://github.com/2002-feb24-net/tyler-code/blob/master/StringStuff/Program.cs | Github Open Source | Open Source | MIT | null | tyler-code | 2002-feb24-net | C# | Code | 138 | 384 | using System;
namespace StringStuff
{
class Program
{
static void Main(string[] args)
{
//Console.Read is for one character
System.Console.Write("enter some text: ");
String input = Console.ReadLine();
if (input.Contains("nick")) // case sentive... | 42,983 |
https://github.com/itwwj/mykit-data/blob/master/mykit-data-monitor/src/main/java/io/mykit/data/monitor/mysql/io/impl/XInputStreamImpl.java | Github Open Source | Open Source | Apache-2.0 | null | mykit-data | itwwj | Java | Code | 892 | 2,200 | package io.mykit.data.monitor.mysql.io.impl;
import io.mykit.data.monitor.mysql.common.glossary.UnsignedLong;
import io.mykit.data.monitor.mysql.common.glossary.column.BitColumn;
import io.mykit.data.monitor.mysql.common.glossary.column.StringColumn;
import io.mykit.data.monitor.mysql.common.util.CodecUtils;
import i... | 45,589 |
https://github.com/WebDevUniandes/andfoy/blob/master/js/calc.js | Github Open Source | Open Source | MIT | null | andfoy | WebDevUniandes | JavaScript | Code | 455 | 1,613 | // Code goes here
$(document).ready(function() {
$("#expr").keydown(function() {
get_result(this.value);
});
$("#expr").keyup(function() {
get_result(this.value);
});
});
function get_result(expr_s)
{
console.log(expr_s);
$("#result").val("");
var expr_node = {expr:expr_s... | 4,174 |
https://github.com/aykanatm/toybox/blob/master/toybox-server/toybox-common-lib/src/main/java/com/github/murataykanat/toybox/schema/container/CreateContainerRequest.java | Github Open Source | Open Source | MIT | 2,019 | toybox | aykanatm | Java | Code | 53 | 194 | package com.github.murataykanat.toybox.schema.container;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class CreateContainerRequest implements Serializable {
@JsonProperty("parentContainerId")
private String parentContainerId;
@JsonProperty("containerName")
... | 23,965 |
https://github.com/DenisNet/Balance-Sheet-UWP/blob/master/BalanceSheet/NavigationBar/ProfileNavigationBarMenu.cs | Github Open Source | Open Source | BSD-2-Clause | null | Balance-Sheet-UWP | DenisNet | C# | Code | 133 | 455 | using System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
using BalanceSheet.Models;
using BalanceSheet.Views;
namespace BalanceSheet.NavigationBar
{
class ProfileNavigationBarMenu : BaseNavigationBarMenu, INavigationBarMenu
{
//public ProfileNavi... | 24,220 |
https://github.com/aliyun/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-edas/src/main/java/com/aliyuncs/edas/transform/v20170801/UpdateSwimmingLaneResponseUnmarshaller.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | aliyun-openapi-java-sdk | aliyun | Java | Code | 171 | 974 | /*
* 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 or agreed to in writing, software
* distributed u... | 32,031 |
https://github.com/usc-isi-i2/dsbox-ta2/blob/master/python/dsbox/template/template_files/loaded/CMUacledProblemTemplate.py | Github Open Source | Open Source | MIT | 2,020 | dsbox-ta2 | usc-isi-i2 | Python | Code | 262 | 1,357 | from dsbox.template.template import DSBoxTemplate
from d3m.metadata.problem import TaskKeyword
from dsbox.template.template_steps import TemplateSteps
from dsbox.schema import SpecializedProblem
import typing
import numpy as np # type: ignore
class CMUacledProblemTemplate(DSBoxTemplate):
# From primitives/v2... | 13,995 |
https://github.com/ashigeru/asakusafw-legacy/blob/master/thundergate-project/asakusa-thundergate-plugin/src/main/java/com/asakusafw/compiler/bulkloader/BulkLoaderScript.java | Github Open Source | Open Source | Apache-2.0 | null | asakusafw-legacy | ashigeru | Java | Code | 2,648 | 8,535 | /**
* Copyright 2011-2016 Asakusa Framework Team.
*
* 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... | 3,022 |
https://github.com/AlexanderKlement/eisenstecken-angular-electron-public/blob/master/src/app/employee/meal/meal.component.ts | Github Open Source | Open Source | MIT | null | eisenstecken-angular-electron-public | AlexanderKlement | TypeScript | Code | 272 | 1,059 | import {Component, ComponentRef, OnInit} from '@angular/core';
import {TableDataSource} from '../../shared/components/table-builder/table-builder.datasource';
import {DefaultService, Meal} from 'eisenstecken-openapi-angular-library';
import * as moment from 'moment';
import {MatDialog} from '@angular/material/dialog';
... | 12,812 |
https://github.com/achraf-byte/online-education-web-aplication-laravel/blob/master/app/Models/StudentPost.php | Github Open Source | Open Source | MIT | null | online-education-web-aplication-laravel | achraf-byte | PHP | Code | 26 | 84 | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class StudentPost extends Model
{
protected $fillable = [
'caption', 'image' ,'Student_id'
];
public function student (){
return $this->belongsto(student::class);
}
}
| 38,368 |
https://github.com/gitter-badger/e2d/blob/master/src/object/addObject.js | Github Open Source | Open Source | MIT | 2,015 | e2d | gitter-badger | JavaScript | Code | 105 | 253 | /**
* @param {Object} options - The object's options.
* @param {Object} options.pos - The object's position.
* @param {int} options.pos.x - The object's X coordinate.
* @param {int} options.pos.y - The object's Y coordinate.
*/
E2D.Scene.prototype.addObject = function(options) {
var self = this;
if (typeof options ... | 12,261 |
https://github.com/FMota0/PrometheeOptimization/blob/master/caja/playground/monitor/plot-usages.r | Github Open Source | Open Source | MIT | 2,021 | PrometheeOptimization | FMota0 | R | Code | 374 | 1,754 | #http://ggplot2.tidyverse.org/reference/#section-scales
library("ggplot2")
library("scales")
library("data.table")
library("stringi")
args = commandArgs(trailingOnly=TRUE)
cpu_usage_path = args[1]
mem_usage_path = args[2]
disk_usage_path = args[3]
proctimes_path = args[4]
cpu_usage = read.table(sep = ",", cpu_usage... | 135 |
https://github.com/true-eye/polkawallet_plugin_chainx/blob/master/example/android/app/src/main/kotlin/io/polkawallet/www/example/MainActivity.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | polkawallet_plugin_chainx | true-eye | Kotlin | Code | 9 | 47 | package io.polkawallet.www.plugin.chainx.example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 16,616 |
https://github.com/Rembane/lemmingpants/blob/master/frontend/src/Components/Admin/SpeakerQueue.purs | Github Open Source | Open Source | Apache-2.0 | 2,018 | lemmingpants | Rembane | PureScript | Code | 1,127 | 2,824 | module Components.Admin.SpeakerQueue where
import Prelude
import Affjax.StatusCode (StatusCode(..))
import Data.Array as A
import Data.HTTP.Method (Method(..))
import Data.Lens (filtered, preview, traversed, view)
import Data.Maybe (Maybe(Just, Nothing), maybe)
import Data.Newtype (class Newtype)
import Effect.Aff (A... | 25,061 |
https://github.com/cse2016hy/cse2016hy.github.io/blob/master/code/unfolding_app_template_with_examples_0/examples/de/fhpotsdam/unfolding/examples/misc/SimpleBackgroundMapApp.java | Github Open Source | Open Source | MIT | 2,022 | cse2016hy.github.io | cse2016hy | Java | Code | 114 | 356 | package de.fhpotsdam.unfolding.examples.misc;
import processing.core.PApplet;
import de.fhpotsdam.unfolding.UnfoldingMap;
import de.fhpotsdam.unfolding.geo.Location;
import de.fhpotsdam.unfolding.utils.MapUtils;
/**
* Shows how to set the background color of the map where no tiles have been loaded yet, or where not... | 5,120 |
https://github.com/vivek2007/sharetribe/blob/master/spec/controllers/admin/communities/footer_controller_spec.rb | Github Open Source | Open Source | PostgreSQL, Ruby, ImageMagick | 2,022 | sharetribe | vivek2007 | Ruby | Code | 254 | 899 | require 'spec_helper'
describe Admin::Communities::FooterController, type: :controller do
let(:community) { FactoryGirl.create(:community) }
let(:plan) do
{
expired: false,
features: {
whitelabel: true,
admin_email: true,
footer: true
}
}
end
before(:each) do
... | 36,506 |
https://github.com/BoltApp/sleet/blob/master/gateways/adyen/request_builder.go | Github Open Source | Open Source | MIT | 2,022 | sleet | BoltApp | Go | Code | 773 | 3,470 | package adyen
import (
"fmt"
"regexp"
"strconv"
"github.com/BoltApp/sleet"
"github.com/BoltApp/sleet/common"
"github.com/adyen/adyen-go-api-library/v4/src/checkout"
"github.com/adyen/adyen-go-api-library/v4/src/payments"
)
const (
level3Default = "NA"
maxLineItemDescriptionLength = 26
maxPro... | 6,346 |
https://github.com/runningjack/auctionsite/blob/master/app/views/pages/home.blade.php | Github Open Source | Open Source | MIT | 2,015 | auctionsite | runningjack | Blade | Code | 832 | 4,333 | <?php
require_once("inc/init.php");
use \Illuminate\Support\Facades\DB;
?>
@extends("layouts.default")
@section("content")
<div class="space10"> </div>
<!--<div class="dg">
<div class="col-4">
<div class="beta-banner">
<img src="<?php /*echo ASSETS_URL*/?>/uploads/images/banners/banner2.png... | 17,676 |
https://github.com/Geonovum/respec/blob/master/src/geonovum/leafletfigures.js | Github Open Source | Open Source | W3C-20150513 | 2,020 | respec | Geonovum | JavaScript | Code | 319 | 1,183 | /**
* Module: geonovum/leafletfigures
* Makes figures scalable via zoom and pan function
*/
import L from "../geonovum/deps/leaflet";
import easyButton from "../geonovum/deps/easy-button";
import { sub } from "../core/pubsubhub";
export const name = "geonovum/leafletfigures";
export async function run(conf, doc, ... | 41,351 |
https://github.com/jjaybrown/pbnetwork-boilerplate/blob/master/application/modules/community/controllers/IndexController.php | Github Open Source | Open Source | Unlicense | 2,016 | pbnetwork-boilerplate | jjaybrown | PHP | Code | 236 | 775 | <?php
use App\Controller as AppController;
class Community_IndexController extends AppController
{
public function init()
{
parent::init();
}
public function indexAction()
{
$recentPosts = $this->_em->getRepository("App\Entity\Community\Post")->recentActivity();
$t... | 13,577 |
https://github.com/HIMARTONLINE/ERPJERAMODA/blob/master/app/Http/Controllers/PresenceController.php | Github Open Source | Open Source | MIT | null | ERPJERAMODA | HIMARTONLINE | PHP | Code | 377 | 1,558 | <?php
namespace App\Http\Controllers;
use App\Models\Presence;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\User;
use File;
use Response;
class PresenceController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*... | 21,046 |
https://github.com/youyingxiang/php_cms_of/blob/master/application/admin/validate/News.php | Github Open Source | Open Source | Apache-2.0 | 2,018 | php_cms_of | youyingxiang | PHP | Code | 77 | 384 | <?php
namespace app\admin\validate;
use think\Validate;
class News extends Validate
{
protected $rule = [
'title' => 'require|max:200',
'seo_title' => 'max:200',
'seo_des' => 'max:500',
'url_title' => 'require|max:255|unique:new... | 14,352 |
https://github.com/azemeo/MyVideoExplorer/blob/master/SubForms/SubFormListView.Designer.cs | Github Open Source | Open Source | MIT | 2,018 | MyVideoExplorer | azemeo | C# | Code | 300 | 1,304 | namespace MyVideoExplorer
{
partial class SubFormListView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 10,079 |
https://github.com/JonasReich/unity-git-integration/blob/master/Assets/Plugins/git-integration/Editor/GitOverlay.cs | Github Open Source | Open Source | MIT | null | unity-git-integration | JonasReich | C# | Code | 540 | 2,215 | //-------------------------------------------
// (c) 2017 - Jonas Reich
//-------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
using EStatus = GitIntegration.Git.EStatus;
namespace GitIntegration
{... | 43,216 |
https://github.com/F-S-C/Cicerone/blob/master/docs/Server/dir_09a58e4ad679d39594142c6d9007160c.js | Github Open Source | Open Source | Apache-2.0 | null | Cicerone | F-S-C | JavaScript | Code | 10 | 80 | var dir_09a58e4ad679d39594142c6d9007160c =
[
[ "006e07e4f87e0fb9.php", "006e07e4f87e0fb9_8php.html", "006e07e4f87e0fb9_8php" ]
]; | 21,992 |
https://github.com/kagu/kunquat/blob/master/src/lib/init/devices/processors/Proc_noise.c | Github Open Source | Open Source | CC0-1.0 | 2,022 | kunquat | kagu | C | Code | 132 | 533 |
/*
* Authors: Tomi Jylhä-Ollila, Finland 2010-2019
* Ossi Saresoja, Finland 2010
*
* This file is part of Kunquat.
*
* CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/
*
* To the extent possible under law, Kunquat Affirmers have waived all
* copyright and related or neighboring r... | 41,250 |
No dataset card yet