Datasets:
identifier stringlengths 3 4.89k | collection stringlengths 2 85 | open_type stringclasses 5
values | curator stringclasses 14
values | license stringclasses 27
values | date int64 365 2.03k ⌀ | title stringlengths 0 420 | creator stringlengths 0 277 ⌀ | language stringlengths 2 21 | language_type stringclasses 4
values | word_count int64 52 6.98k | token_count int64 515 8.14k | text stringlengths 573 38.1k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://robotics.stackexchange.com/questions/49769 | StackExchange | Open Web | Pleias | CC-By-SA | 2,013 | Stack Exchange | Dutch | Written | 611 | 3,073 | Error : required from here
Hi everyone,
I have problem in eclipse program.
I used simplest code for publisher and I get on this problem:
required from here by this statement (line 38):
output_modem_publisher_.publish(m2);
The code is :
#include "ros/ros.h"
#include "std_msgs/String.h"
#include <sstream>
int main... | |
https://github.com/FreeSoftwareDevlopment/SharkWrite/blob/master/installer for win/Installer.iss | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | null | SharkWrite | FreeSoftwareDevlopment | Inno Setup | Code | 100 | 585 | #define MyAppName "SharkWrite"
#define MyAppVersion "3"
#define MyAppPublisher "Sharkbyteprojects"
#define MyAppURL "https://sharkbyteprojects.github.io/SharkWrite/"
#define MyAppExeName "start.bat"
[Setup]
AppId={{31159ACE-4823-4A40-AA2C-51B23E8C07E6}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppPublisher={#MyA... |
https://github.com/bitrise-io/trace-android-sdk/blob/master/trace-sdk/release-trace-sdk.gradle | Github Open Source | Open Source | BigCode/Github/Pleias | MIT, LicenseRef-scancode-unknown-license-reference | 2,021 | trace-android-sdk | bitrise-io | Gradle | Code | 176 | 719 | apply plugin: 'maven-publish'
def publishToMavenLocal = tasks.findByName("publishToMavenLocal")
publishToMavenLocal.dependsOn(assemble)
task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
destinationDir... |
https://github.com/miguelvazq/HPCC-Platform/blob/master/ecl/regress/Clean_BandsArtists.ecl | Github Open Source | Open Source | BigCode/Github/Pleias | Apache-2.0 | 2,022 | HPCC-Platform | miguelvazq | ECL | Code | 236 | 967 | IMPORT STD.str; //Import string library used to clean data here
//NOTE: in the original XML download, on line 35395 there is corrupt text
//that will halt this process. Before proceeding, load the XML file into
//your favorite editor and remove the following line:
//<logo src="http://musicmoz.org/img/editors/portland... |
https://stackoverflow.com/questions/67351960 | StackExchange | Open Web | Pleias | CC-By-SA | 2,021 | Stack Exchange | Klaus D., WinEunuuchs2Unix, https://stackoverflow.com/users/3929826, https://stackoverflow.com/users/6929343 | Polish | Written | 613 | 1,711 | Unknown python DEBUG statements appear
I recently imported some new python modules:
# https://stackoverflow.com/a/36419702/6929343
import logging
import sys
Some unexpected output now appears on my terminal:
2021-05-01 18:11:21,331 DEBUG STREAM IHDR 16 13
2021-05-01 18:11:21,331 DEBUG STREAM bKGD 41 6
2021-05-01 18:11... |
https://github.com/raducotescu/atmega8-pc-fan-control/blob/master/default/dep/hd44780.o.d | Github Open Source | Open Source | BigCode/Github/Pleias | X11-distribute-modifications-variant | 2,010 | atmega8-pc-fan-control | raducotescu | Makefile | Code | 52 | 894 | hd44780.o: ../hd44780/hd44780.c \
c:/winavr/lib/gcc/../../avr/include/avr\pgmspace.h \
c:/winavr/lib/gcc/../../avr/include/inttypes.h \
c:/winavr/lib/gcc/../../avr/include/stdint.h \
c:\winavr\bin\../lib/gcc/avr/4.3.3/include/stddef.h \
c:/winavr/lib/gcc/../../avr/include/avr/io.h \
c:/winavr/lib/gcc/../../... |
https://github.com/cantsin/pcg/blob/master/src/chapter2/evaluation.rs | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,020 | pcg | cantsin | Rust | Code | 418 | 1,204 | use std::collections::{HashSet};
use chapter2::cell::{Cell};
use chapter2::dungeon::{Dungeon, DungeonCells, SurroundingCells, Surrounding};
pub type EvaluationFn = Box<Fn(&Dungeon) -> f64 + 'static + Send + Sync + Copy>;
pub fn check_1x1_rooms(dungeon: &Dungeon) -> f64 {
let mut hits = 0;
for i in 0..dungeon... |
https://french.stackexchange.com/questions/23938 | StackExchange | Open Web | Pleias | CC-By-SA | 2,017 | Stack Exchange | Con-gras-tue-les-chiens, https://french.stackexchange.com/users/10416 | French | Written | 535 | 767 | When to use the expression « tout individu normalement constitué »?
I just wrote in an email:
Tout individu normalement constitué aurait du mal à s'habituer aux Kanjis, à juste titre. Alors, te laisse pas démoraliser, va. :) Si ça peut te rassurer, il nous arrive même aux locuteurs natifs du japonais de ne pas nous ra... |
https://stackoverflow.com/questions/76091985 | StackExchange | Open Web | Pleias | CC-By-SA | 2,023 | Stack Exchange | Anurag K., https://stackoverflow.com/users/21725315, https://stackoverflow.com/users/3016153, michael.hor257k | Lithuanian | Written | 535 | 1,561 | Creating XML Tree from SQL
I have SQL table which has following data
path
Level 1
Level 2
Level 3
Level 4
LEAF
A-B-C
---A----
---B---
---C---
--------
N
A-B-C-D
---A----
---B---
---C---
----D---
Y
A-B-E-F
---A----
---B---
---E---
----F---
Y
A-B-E-G
---A----
---B---
---E---
----G---
Y
Now based on abov... |
https://github.com/PiaSys/Conferences-Samples/blob/master/Graph-iOS/PiaSysTechBitesGraphSDK/Pods/MSGraphClientModels/GeneratedModels/MSGraphDomainDnsRecord.m | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,023 | Conferences-Samples | PiaSys | Objective-C | Code | 175 | 591 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
#import "NSDate+MSSerialization.h"
#import "MSGraphClientModels.h"
@interface MSObject()
@property (strong, nonatomic) NSMutableDictionary *dictionary;
@end
@i... |
https://es.stackoverflow.com/questions/242713 | StackExchange | Open Web | Pleias | CC-By-SA | 2,019 | Stack Exchange | Aarón Gutiérrez, Peisou, https://es.stackoverflow.com/users/51247, https://es.stackoverflow.com/users/68802 | Spanish | Written | 356 | 1,297 | Fullcalendar no se visualiza correctamente
Tengo este calendario:
He querido duplicarlo, importante sus componentes, pero no se ve, vi este post donde me decian lo del fullcalendar.print.css pero aun eliminandolo sigue sin ponerse bien.
FullCalendar plugin 3.1.0 no se visualiza correctamente
Alguien sabria decirme ... |
https://github.com/jsa4000/Getting-Started-Godot/blob/master/12_game_level_design/addons/wojtekpil.biomes/scripts/runtime/BiomeChunkRenderer.gd | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,021 | Getting-Started-Godot | jsa4000 | GDScript | Code | 346 | 1,572 | extends VisibilityNotifier
export (Resource) var biome_resource = null
export (Vector2) var chunk_size = Vector2(10, 10)
export (Vector2) var chunk_position = Vector2(0, 0)
export (Transform) var terrain_inv_transform
export (Vector2) var terrain_size = Vector2(1, 1)
export (Vector2) var terrain_pivot = Vector2(0.5, 0... |
https://github.com/datchannin/Brothers-WoW/blob/master/mod_wow.zip-01-1-00000001/scripts/events/events/rogue_stun_soldier_event.nut | Github Open Source | Open Source | BigCode/Github/Pleias | FTL | 2,020 | Brothers-WoW | datchannin | Squirrel | Code | 752 | 3,052 | /*BBWOW:This file is part of datchannin bbWoW mod, mod_version = 10.00, game_version = 1.4.0.49*/
this.rogue_stun_soldier_event <- this.inherit("scripts/events/event", {
m = {
Rogue = null,
Priest = null
},
function create()
{
this.m.ID = "event.rogue_stun_soldier";
this.m.Title = "On the road...";
this.m... |
https://github.com/alvinpd/rapier/blob/master/Dockerfile | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,020 | rapier | alvinpd | Dockerfile | Code | 353 | 1,327 | FROM ubuntu:20.04
WORKDIR /tmp/
RUN set -ex; \
dpkg --add-architecture i386; \
DEBIAN_FRONTEND=noninteractive apt-get update -y; \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
apt-transport-https \
binutils \
cabextract \
cpulimit \
cu... |
https://github.com/ejnnr/karger_extensions/blob/master/scripts/prepare_datasets.sh | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,021 | karger_extensions | ejnnr | Shell | Code | 216 | 622 | #!/bin/bash
set -euo pipefail
mkdir -p data
cd data
################################################
# Grabcut #
################################################
curl https://www.robots.ox.ac.uk/~vgg/data/iseg/data/images.tgz -o images.tgz
curl https://www.robots.ox.ac.uk/~vgg/d... |
https://stackoverflow.com/questions/49060527 | StackExchange | Open Web | Pleias | CC-By-SA | 2,018 | Stack Exchange | Swahil | Written | 213 | 554 | NativeScript Angular multiple ListPickers
I'm making an App using NativeScript with Angular. There is a page that has two labels that need to act as dropdown select boxes. They are set to show a listPicker.
A sample of the HTML
<StackLayout orientation="horizontal" class="field_row">
<Label text="Type:" class="field... | |
https://github.com/Fabien-Chouteau/samd51-hal/blob/master/src/devices/SAMD51/ATSAMD51G19A/sam-clock_generator-ids.ads | Github Open Source | Open Source | BigCode/Github/Pleias | BSD-3-Clause | 2,021 | samd51-hal | Fabien-Chouteau | Ada | Code | 311 | 907 | -- Generated by a script from an "avr tools device file" (atdf)
package SAM.Clock_Generator.IDs is
TRACE : constant Peripheral_Id := 47;
AC : constant Peripheral_Id := 32;
ADC0 : constant Peripheral_Id := 40;
ADC1 : constant Peripheral_Id := ... |
https://github.com/mpemburn/permissions_ui/blob/master/resources/views/user-roles/index.blade.php | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | null | permissions_ui | mpemburn | PHP | Code | 134 | 624 | <x-app-layout>
<x-slot name="header">
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
{{ __('User Roles') }}
</h2>
</x-slot>
<div id="acl_wrapper" class="permissions-table">
<table id="user_roles_table" class="stripe">
<thead>
<th>
... |
https://github.com/aslan3494/ustam.com/blob/master/web/common/footer.php | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,021 | ustam.com | aslan3494 | Hack | Code | 220 | 1,305 | <footer>
<div class="footer-main">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-12 m-md-auto align-self-center">
<div class="block">
<a href="index.html"><img src="images/logo-alt.png" alt="footer-logo"></a>
<!-- Social Site Icons -->
... |
https://github.com/llorracc/SolvingMicroDSOPs/blob/master/Code/Mathematica/2periodIntExpFOCInvEEE!Plot.m | Github Open Source | Open Source | BigCode/Github/Pleias | Apache-2.0 | 2,023 | SolvingMicroDSOPs | llorracc | Mathematica | Code | 108 | 1,038 | (* ::Package:: *)
<<2periodIntExpFOCInvEEE.m;
Print["Use a triple-exponential to construct aVec."];
GothVInvVSGothCEEE =
Plot[
{(\[GothicV]a[a,1])^(-1/\[Rho]),\[GothicC]FuncLife[[PeriodsSolved+1]][a]}
,{a,\[GothicA]VecPlusLowerBound[[1]],\[GothicA]Max}
,PlotRange->{{\[GothicA]VecPl... |
https://github.com/b-cube/bcube-triplestore/blob/master/ttl/eb/eb67e3f95283072ea4d30993936a4f8deeb0a138_triples.ttl | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | null | bcube-triplestore | b-cube | Turtle | Code | 447 | 2,206 | @prefix bcube: <http://purl.org/BCube/#> .
@prefix bibo: <http://purl.org/ontology/bibo/#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcat: <http://www.w3.org/TR/vocab-dcat/#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix esip: <http://purl.org/esip/#> .
@prefix foaf: <http://xmlns.com/foaf/0... |
https://ru.stackoverflow.com/questions/1097216 | StackExchange | Open Web | Pleias | CC-By-SA | 2,020 | Stack Exchange | Yitzhak Khabinsky, https://ru.stackoverflow.com/users/193999, https://ru.stackoverflow.com/users/374615, i-one | Somali | Written | 269 | 991 | Получить XML из колонки в таблице и взять конкретное значение MSSQL
Есть таблица, где в одной из колонок хранятся настройки в виде XML. Мне нужно получить значение <Timeout type="Type3">19.09.2016 0:05:00</Timeout>, а именно только минуты и секунды.
Вот весь XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ObjectS... |
https://github.com/pkrunals/nso-xr-segmentrouting/blob/master/packages/prouter-ned/src/yang/Cisco-IOS-XR-upgrade-fpd-oper.yang | Github Open Source | Open Source | BigCode/Github/Pleias | Apache-2.0 | 2,022 | nso-xr-segmentrouting | pkrunals | YANG | Code | 608 | 1,602 | module Cisco-IOS-XR-upgrade-fpd-oper {
/*** NAMESPACE / PREFIX DEFINITION ***/
namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-upgrade-fpd-oper";
prefix "upgrade-fpd-oper";
/*** LINKAGE (IMPORTS / INCLUDES) ***/
import Cisco-IOS-XR-types { prefix "xr"; }
include Cisco-IOS-XR-upgrade-fpd-oper-sub1 {
... |
https://github.com/jaredmorgs/hubpress.io/blob/master/_posts/2015-07-17-Sometimes-You-Need-To-Pay-It-Forward.adoc | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,015 | hubpress.io | jaredmorgs | AsciiDoc | Code | 665 | 916 | = Sometimes You Need To Pay It Forward
:hp-tags: Red Hat, Open Source, Career, Opportunity
:hp-image: covers/open_source.jpg
:published_at: 2015-07-17
When you work for the _"Defining Open Source Software Company of the 21st Century"_, you get a different sense of gravity for the work you do. Regardless of the work yo... |
https://github.com/cOdeShagHennessy/microchasm/blob/master/slush-mChasm/templates/microapi/test/api-test.ejs | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,016 | microchasm | cOdeShagHennessy | EJS | Code | 779 | 2,954 | var use = require('rekuire');
var BDD = use('test/bdd');
var Logger = use('twiglet')(process.env.DEBUG_LEVEL || 'test', process.env.LOG_STYLE || '');
var apiPrefix = '/<%=apiNameSlug%>';
//<% if(includeRedis){ %>
var Config = use('config/base')(use('microstack'));//<% } %>
BDD.describe('<%=apiNameSlug%> API Test', fun... |
https://stackoverflow.com/questions/10989738 | StackExchange | Open Web | Pleias | CC-By-SA | 2,012 | Stack Exchange | Gene, Siddharth Rout, amoeba, https://stackoverflow.com/users/1140579, https://stackoverflow.com/users/1161878, https://stackoverflow.com/users/1301359, https://stackoverflow.com/users/90034, panda-34 | Hausa | Written | 521 | 1,065 | How do I calculate averages based upon criteria that exist in other cells
Perhaps this question is best explained in tables, rather than in words.
I'm trying to turn this table:
Site | Year | Value
A | 1999 | 5
A | 1999 | 10
A | 2001 | 12
B | 1999 | 6
C | 1996 | 4
C | 1996 | 10
into this table:
Site ... |
https://github.com/BLACKujira/SekaiTools/blob/master/SekaiTools/Assets/Live2D/AnimationSet/sub_tatsuya_motion_base.asset | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,023 | SekaiTools | BLACKujira | Unity3D Asset | Code | 493 | 2,510 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3efd537ecd1e0... |
https://pt.stackoverflow.com/questions/184769 | StackExchange | Open Web | Pleias | CC-By-SA | 2,017 | Stack Exchange | https://pt.stackoverflow.com/users/67105, nadermx | Portuguese | Written | 475 | 1,659 | preApproval data is required
Atualmente, estou tentando integrar um pré-pagamento via v2 do api para pagseguro. Por alguma razão eu continuo recebendo dados pré-aprovação é necessária. Eu tentei chaning os cabeçalhos, eu também estava verificando o exemplo na documentação e não parecem estar faltando nada. Alguém pode ... |
https://stackoverflow.com/questions/38421554 | StackExchange | Open Web | Pleias | CC-By-SA | 2,016 | Stack Exchange | AchillesVan, Jens, Rudziankoŭ, https://stackoverflow.com/users/1816151, https://stackoverflow.com/users/3014866, https://stackoverflow.com/users/3636601 | Croatian | Written | 489 | 1,859 | javax.servlet.ServletException: Could not resolve view with name
I am following this example:
User controller:
@Controller
public class UserController {
/**
* Static list of users to simulate Database
*/
private static List<User> userList = new ArrayList<User>();
/**
* Saves the static lis... |
https://github.com/getbotty/Amp/blob/master/amp/datepicker/datepicker.less | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,013 | Amp | getbotty | Less | Code | 216 | 827 | /** Amp Datepicker Styles **/
input.amp.amp-date {
text-align: center;
background-image: url('images/datepicker.png');
background-position: right center;
background-repeat: no-repeat;
&.amp-grid-input {
background-image: none;
}
&.active {
background-image: none;
border-color:... |
https://github.com/0xf3cd/met-materials/blob/master/27-rendering-with-rays/projects/starter/Clouds.playground/Pages/4. Clouds.xcplaygroundpage/Resources/Shaders.metal | Github Open Source | Open Source | BigCode/Github/Pleias | Apache-2.0 | null | met-materials | 0xf3cd | Metal | Code | 250 | 756 |
#include <metal_stdlib>
using namespace metal;
struct Ray {
float3 origin;
float3 direction;
Ray(float3 o, float3 d) {
origin = o;
direction = d;
}
};
float randomNoise(float2 p) {
return fract(6791.0 * sin(47.0 * p.x + 9973.0 * p.y));
}
float smoothNoise(float2 p) {
float2 nn = float2(p.x, p.y ... |
https://github.com/status-im/nimbus-eth1/blob/master/tests/persistBlockTestGen.nim | Github Open Source | Open Source | BigCode/Github/Pleias | MIT, Apache-2.0 | 2,023 | nimbus-eth1 | status-im | Nim | Code | 398 | 1,292 | import
json, stint,
../nimbus/[tracer, config],
../nimbus/core/chain,
../nimbus/common/common,
../nimbus/db/core_db/persistent
proc dumpTest(com: CommonRef, blockNumber: int) =
let
blockNumber = blockNumber.u256
parentNumber = blockNumber - 1
var
capture = com.db.capture()
captureCom = c... |
https://github.com/FEX-Emu/FEX/blob/master/unittests/ASM/ConstProp/ConstPooling.asm | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,023 | FEX | FEX-Emu | Assembly | Code | 223 | 779 | %ifdef CONFIG
{
"Match": "All",
"RegData": {
"RAX": "0xf"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
; generate a lot of re-used constants
mov dword[rdx], 0x0
mov dword[rdx], 0x1
mov dword[rdx], 0x2
mov dword[rdx], 0x3
mov dword[rdx], 0x4
mov dword[rdx], 0x5
mov dword... |
https://github.com/wj2061/CLRS-Solutions/blob/master/chapter2/2_3.playground/Contents.swift | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,017 | CLRS-Solutions | wj2061 | Swift | Code | 328 | 1,116 | //2.3-1
// [3,9,26,38,41,49,52,57]
// [3,26,41,52] [9,38,49,57]
// [3,41] [26,52] [38,57] [9,49]
// [3] [41] [52] [26] [38] [57] [9] [49]
//2.3-2
func mergeSort(var ay1:[Int],var ay2:[Int])->[Int]{
var result = [Int]()
while ay1.count > 0 && ay2.count > 0{
if ay1[0] < ay2[0]{
result.appe... |
https://github.com/datnamer/StatisticalRethinking.jl/blob/master/scripts/12/m12.1.jl | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,019 | StatisticalRethinking.jl | datnamer | Julia | Code | 822 | 3,687 | using StatisticalRethinking
using Turing
Turing.setadbackend(:reverse_diff)
d = CSV.read(joinpath(dirname(Base.pathof(StatisticalRethinking)), "..", "data",
"reedfrogs.csv"), delim=';')
size(d) # Should be 48x5
# Set number of tanks
d[:tank] = 1:size(d,1)
@model m12_1(density, tank, surv) = begin
# Number ... |
https://github.com/binxnce/BITNATION-Registry/blob/master/contracts/NationFactory.sol | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,017 | BITNATION-Registry | binxnce | Gerber Image | Code | 236 | 891 | pragma solidity ^0.4.13;
import "/zeppelin/contracts/ownership/Ownable.sol";
import "./registry/ConstitutionRegistry.sol";
import "./registry/CodeOfLawRegistry.sol";
contract NationFactory is Ownable {
Nation[] public allNations;
uint public numNations;
ConstitutionRegistry public constitutionRegistry;
Code... |
https://german.stackexchange.com/questions/30668 | StackExchange | Open Web | Pleias | CC-By-SA | 2,016 | Stack Exchange | 0xC0000022L, Hubert Schölnast, Jan, Olafant, https://german.stackexchange.com/users/1487, https://german.stackexchange.com/users/15318, https://german.stackexchange.com/users/20363, https://german.stackexchange.com/users/36196, https://german.stackexchange.com/users/581, tofro | German | Written | 569 | 1,128 | Was bedeutet "nicht obsolet" hier im Satz?
Der Satz:
Der europäische Emissionshandel macht eine aktive Klimaschutzpolitik
im Stromsektor nicht obsolet.
Ich verstehe den Satz nur bis "nicht obsolet". Ist diese Konstruktion grammatikalisch korrekt?
Tipp: Streiche obsolet, setze dafür unnötig. --> "...handel macht n... |
https://github.com/muniere/foordinate/blob/master/spec/rename_spec.cr | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,019 | foordinate | muniere | Crystal | Code | 184 | 715 | require "spec"
require "./spec_helper"
private def fixture(filename : String) : Pathname
return Pathname.new(File.join(__DIR__, "../fixt/rename_spec", filename))
end
private def fixture(filenames : Array(String)) : Array(Pathname)
return filenames.map { |f| fixture(f) }
end
describe "Rename" do
describe "#num... |
https://stackoverflow.com/questions/76803976 | StackExchange | Open Web | Pleias | CC-By-SA | 2,023 | Stack Exchange | Sardinian | Written | 335 | 1,606 | How to run Mocha Tests from the VSCode test annotation?
I have a Typescript project using Mocha as the test runner. Works like a charm using npm run test, works using the VSCode Mocha Test explorer, but doesn't run from the test annotation:
(for both Run Test and Debug Test
I get an error
node_modules/.bin/mocha test... | |
https://github.com/TheDiscordian/ipfs-blog/blob/master/src/.vuepress/theme/util/countly.js | Github Open Source | Open Source | BigCode/Github/Pleias | MIT | 2,022 | ipfs-blog | TheDiscordian | JavaScript | Code | 152 | 670 | export const events = {
LINK_CLICK_NAV: 'linkClickNav',
LINK_CLICK_FOOTER: 'linkClickFooter',
LINK_CLICK_SUBMIT_ITEM: 'linkClickSubmitItem',
LINK_CLICK_PRESS_KIT: 'linkClickPressKit',
SOCIAL_MEDIA_SHARE: 'socialMediaShare',
SOCIAL_MEDIA_OUTBOUNDS: 'socialMediaOutbounds',
LOAD_MORE_BUTTON: 'loadMoreButton'... |
https://github.com/zoomlacms/web006/blob/master/Source-Code-狗市场全站源代码/Areas/AdminMVC/Views/Product/StockList.cshtml | Github Open Source | Open Source | BigCode/Github/Pleias | Apache-2.0 | 2,020 | web006 | zoomlacms | HTML+Razor | Code | 175 | 933 | @model ZoomLa.SQLDAL.SQL.PageSetting
@using ZoomLa.Common
@using ZoomLa.BLL
@using ZoomLa.Controls
@{
Layout = "~/Areas/AdminMVC/Views/Shared/_layTop.cshtml";
B_Node nodeBll = new B_Node();
C_TreeView treeMod = new C_TreeView()
{
NodeID = "NodeID",
NodeName = "NodeName",
NodePid = ... |
https://github.com/broderickpt/spiral-package-fftx/blob/master/examples/perf-eng/mddft-cuda-dev.g | Github Open Source | Open Source | BigCode/Github/Pleias | BSD-2-Clause-FreeBSD | 2,021 | spiral-package-fftx | broderickpt | G-code | Code | 697 | 2,734 |
## Copyright (c) 2018-2021, Carnegie Mellon University
## See LICENSE for details
# 1d and multidimensional complex DFTs
Load(fftx);
ImportAll(fftx);
# startup script should set LocalConfig.fftx.defaultConf() -> LocalConfig.fftx.confGPU()
# conf := LocalConfig.fftx.defaultConf();
conf := LocalConfig.fftx.confG... |
https://github.com/hartl3y94/redexer/blob/master/reg-testing/hello-correct/smali/com/facebook/internal/ImageDownloader$1.smali | Github Open Source | Open Source | BigCode/Github/Pleias | BSD-3-Clause, BSD-2-Clause | 2,021 | redexer | hartl3y94 | Smali | Code | 229 | 1,408 | .class final Lcom/facebook/internal/ImageDownloader$1;
.super Ljava/lang/Object;
.source "ImageDownloader.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/internal/ImageDownloader;->issueResponse(Lcom/facebook/internal/... |
Qwen3.5 MoE AWQ Calibration Dataset
Calibration dataset for AWQ (Activation-Aware Weight Quantization) of Qwen/Qwen3.5-35B-A3B and Qwen/Qwen3.5-35B-A3B-Base.
Designed for MoE expert routing diversity: Qwen3.5-35B-A3B has 256 experts with 8 active per token, so calibration data needs broad domain coverage to exercise as many routing paths as possible.
Sampling methodology
Source: PleIAs/common_corpus (open multi-domain corpus with labeled collections)
Filtering:
- Token count between 512 and 8192 (long enough to be representative, not wastefully long)
- Excluded 12 collections with known quality issues:
- OCR artifacts: Anno, BNL Newspapers (1841-1879), Deutsches Zeitungsportal, German-PD-Newspapers, Spanish-PD-Newspapers, French-PD-Newspapers, Italian-PD, Marianne-Europe, NewZealand-PD-Newspapers
- Structured metadata (not natural text): Wikidata, Eurovoc
- Encoding artifacts: French-Science-Pile
Stratified sampling (256 samples, seed=42):
- 25% code (64 samples): Github Open Source + StackExchange, stratified by programming language (64 languages represented)
- 75% text (192 samples): Round-robin across 83 non-code collections (government, legal, scientific, books, multilingual, etc.)
- Bucket keys are sorted then shuffled (deterministic with seed) so no source is systematically excluded by alphabetical ordering
Result: 85 collections, 64 code languages, 22 natural languages
Statistics
Token counts: min=515, median=1352, max=8143, mean=2278
Collections
| Collection | Samples |
|---|---|
| Github Open Source | 48 |
| StackExchange | 16 |
| Portuguese-PD | 3 |
| Caselaw Access Project | 3 |
| French-PD-diverse | 3 |
| GATT_library | 3 |
| Wiki Discussions | 3 |
| Câmara dos Deputados – Discursos | 3 |
| Spanish-Science-Pile | 3 |
| OpenAlex | 3 |
| Japanese-PD | 3 |
| German-PD | 3 |
| domsdatabasen | 3 |
| OpenITI | 3 |
| health_hovedstaden | 3 |
| Polish-PD | 3 |
| RusLawOD | 3 |
| Spanish-PD-Books | 3 |
| Eurlex | 3 |
| TEDEUTenders | 3 |
| US-PD-Books | 3 |
| Open-Science-Pile | 3 |
| ecfr | 3 |
| Open Legal Data | 3 |
| Pralekha | 3 |
| Superior Tribunal de Justiça | 3 |
| Entscheidungen des Bundesverwaltungsgerichts | 3 |
| enevaeldens_nyheder | 3 |
| LoC-PD-Books | 3 |
| Entscheidungen des Bundesgerichtshofs | 3 |
| Youtube-Commons | 3 |
| Creative Commons Common Crawl (CCC) | 3 |
| Wikipedia | 3 |
| usc | 3 |
| UK Hansard – Public Bill Committees | 3 |
| Open Korean Historical Corpus - The Records of Daily Reflections (Ilseongnok) | 3 |
| Open Korean Historical Corpus - Korean Modern and Contemporary Magazines (한국근현대잡지자료) | 2 |
| Entscheidungen des Bundesfinanzhofs | 2 |
| Canadian Hansard | 2 |
| Amtliche Entscheidungssammlung des Bundesverfassungsgerichts | 2 |
| UK Hansard – Westminster Hall | 2 |
| Court Listener | 2 |
| UK Hansard – Scottish Parliament | 2 |
| Open Korean Historical Corpus - Diaries of the Royal Secretariat (Seungjeongwon ilgi) | 2 |
| French-PD-Books | 2 |
| Entscheidungen des Bundesgerichtshofs in Strafsachen aus dem 20. Jahrhundert | 2 |
| English-PD | 2 |
| Open Australian Legal Corpus | 2 |
| Open Korean Historical Corpus - Naver News Library | 2 |
| Wikisource | 2 |
| USPTO | 2 |
| Europeana | 2 |
| WTO | 2 |
| reg_docs | 2 |
| UK Hansard – House of Commons | 2 |
| German-Science-Pile | 2 |
| SEC | 2 |
| Latin-PD | 2 |
| Chinese-Court-Decisions | 2 |
| arXiv | 2 |
| UK Hansard – Written Answers | 2 |
| fr | 2 |
| UK Hansard – Lords Written Statements | 2 |
| SBB Fulltexts | 2 |
| UK Hansard – Northern Ireland Assembly | 2 |
| dockets | 2 |
| Entscheidungen des Bundespatentgerichts | 2 |
| Korean National Law Information Center | 2 |
| UK Hansard – House of Lords | 2 |
| fdlp | 2 |
| Open Korean Historical Corpus - Korean Literary Collections | 2 |
| UN-Digital-Library | 2 |
| govinfo | 2 |
| dotgov | 2 |
| French Open Data | 2 |
| ai-aktindsigt | 2 |
| US-PD-Newspapers | 2 |
| Gutenberg | 1 |
| Open Korean Historical Corpus - Veritable Records of the Joseon Dynasty | 1 |
| Open Korean Historical Corpus - Korean Newspaper Archive | 1 |
| UK Hansard – Lords Written Answers | 1 |
| Open Korean Historical Corpus - Gaksadeungnok | 1 |
| ukleg | 1 |
| Czech-PD | 1 |
| Multilingual-PD | 1 |
Code languages
| Language | Samples |
|---|---|
| Dutch | 1 |
| Inno Setup | 1 |
| Gradle | 1 |
| ECL | 1 |
| Polish | 1 |
| Makefile | 1 |
| Rust | 1 |
| French | 1 |
| Lithuanian | 1 |
| Objective-C | 1 |
| Spanish | 1 |
| GDScript | 1 |
| Squirrel | 1 |
| Dockerfile | 1 |
| Shell | 1 |
| Swahil | 1 |
| Ada | 1 |
| PHP | 1 |
| Hack | 1 |
| Mathematica | 1 |
| Turtle | 1 |
| Somali | 1 |
| YANG | 1 |
| AsciiDoc | 1 |
| EJS | 1 |
| Hausa | 1 |
| Unity3D Asset | 1 |
| Portuguese | 1 |
| Croatian | 1 |
| Less | 1 |
| Metal | 1 |
| Nim | 1 |
| Assembly | 1 |
| Swift | 1 |
| Julia | 1 |
| Gerber Image | 1 |
| German | 1 |
| Crystal | 1 |
| Sardinian | 1 |
| JavaScript | 1 |
| HTML+Razor | 1 |
| G-code | 1 |
| Smali | 1 |
| OpenType Feature File | 1 |
| MATLAB | 1 |
| Sass | 1 |
| Vue | 1 |
| Lua | 1 |
| Dart | 1 |
| SCSS | 1 |
| Pascal | 1 |
| Jupyter Notebook | 1 |
| FreeBasic | 1 |
| Norwegian Nynorsk | 1 |
| Vim Script | 1 |
| Swedish | 1 |
| PLpgSQL | 1 |
| RDoc | 1 |
| Norwegian Bokmål | 1 |
| Go | 1 |
| Lean | 1 |
| TSX | 1 |
| Friulian | 1 |
| TSV | 1 |
Natural languages (top 20)
| Language | Samples |
|---|---|
| English | 86 |
| German | 31 |
| French | 12 |
| Danish | 11 |
| Hanmun | 8 |
| Portuguese | 6 |
| Modern Korean | 5 |
| Spanish | 5 |
| Russian | 4 |
| Japanese | 3 |
| Arabic | 3 |
| Polish | 3 |
| Portugueuse | 2 |
| Urdu | 2 |
| Chinese | 2 |
| Czech | 2 |
| Korean | 2 |
| Latvian | 1 |
| Unknown | 1 |
| Thai | 1 |
| (+2 more) |
Usage
from datasets import load_from_disk
ds = load_from_disk("qwen3.5-moe-awq-calibration/data")
Or with the quantization script:
from datasets import load_dataset
ds = load_dataset("<repo_id>", split="train")
License
Sampled from PleIAs/common_corpus,
which aggregates openly licensed text under various open licenses (635 distinct licenses
across the full corpus). Each record retains its original license. See the license field
on individual records and the source dataset for details.
- Downloads last month
- 16