Search is not available for this dataset
content stringlengths 60 399M | max_stars_repo_name stringlengths 6 110 |
|---|---|
<|start_filename|>public/stylesheets/styles.css<|end_filename|>
html {
font-size: 100%
}
body {
background: #fff;
font-family: roboto, sans-serif;
font-size: 14px;
font-weight: 300;
color: #313131;
line-height: 28px;
text-align: center;
overflow-x: hidden!important;
margin: auto!important
}
.clear {
clear:... | DNCD/DropIt |
<|start_filename|>test/mocks/mockClusters.js<|end_filename|>
/*
Mock clusters to use in ClusterList view when you don't have full
/src/cc/store/Cluster objects to test with.
For example, set `mockClusters` as the `ClusterList.defaultProps.clusters` value
and then don't provide any clusters to the component's instance)... | Mirantis/lens-extension-cc |
<|start_filename|>docs/reference/qc_examples.html<|end_filename|>
<!-- Generated by pkgdown: do not edit by hand -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QC ... | powellgenomicslab/DropletQC |
<|start_filename|>plugin/GeometricMean/src/GeometricMean.cpp<|end_filename|>
#include "CoreConcept.h"
#include "Exceptions.h"
#include "ScalarImp.h"
#include "GeometricMean.h"
ConstantSP geometricMean(const ConstantSP &x, const ConstantSP &placeholder) {
string syntax = "Usage: geometricMean::geometricMean(x). ";... | dolphindb/tutorials_cn |
<|start_filename|>cmake-scripts/FindFlatbuffers.cmake<|end_filename|>
# Find flatbuffers
#
# FLATBUFFERS_FLATC - flatc.
# FLATBUFFERS_INCLUDE_DIR - where to find flatbuffers/*.
# FLATBUFFERS_LIBRARY - List of libraries when using flatbuffers.
# FLATBUFFERS_FOUND - True if flatbuffers found.
find_pa... | Yeolar/flattype |
<|start_filename|>KYVedioPlayer/KYVedioPlayer/KYNetworkVideoCellPlayVC.h<|end_filename|>
//
// KYNetworkVideoCellPlayVC.h
// KYVedioPlayer
//
// Created by kingly on 16/9/9.
// Copyright © 2016年 https://github.com/kingly09/KYVedioPlayer kingly inc . All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KYNe... | kingly09/KYVedioPlayer |
<|start_filename|>models/FAC/kernelconv2d/KernelConv2D_kernel.h<|end_filename|>
#ifdef __cplusplus
extern "C" {
#endif
int KernelConv2D_forward_cuda_kernel(
at::Tensor& input,
at::Tensor& kernel,
int kernel_size,
at::Tensor& output,
cudaStream_t stream
);
int KernelConv2D_backward_cuda_kernel(
at::Tensor& inpu... | ShuaiWangUESTC/CSSTN |
<|start_filename|>src/android/com/sofienvppp2/VideoPicturePreviewPicker/VideoPicturePreviewPickerV2.java<|end_filename|>
/**
* An Image Picker Plugin for Cordova/PhoneGap.
*/
package com.sofienvppp2;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import... | newsof1111/cordova-plugin-video-picture-preview-picker-V2 |
<|start_filename|>zalando/zalando_test.go<|end_filename|>
package zalando
import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http/httptest"
"os"
"testing"
"time"
"github.com/stretchr/testify/assert"
"github.com/gin-gonic/gin"
"github.com/zalando/gin-oauth2"
"golang.org/x/oauth2"
)
// You have to have a cur... | blackironj/gin-oauth2 |
<|start_filename|>wifi.h<|end_filename|>
char mqtt_server[80] = "example.tld";
char username[24] = "";
char password[24] = "";
| dl1mx/esp8266-geigercounter |
<|start_filename|>addon.json<|end_filename|>
{
"package-name": "djangocms-disqus",
"installed-apps": [
"connected_accounts",
"connected_accounts.providers",
"djangocms_disqus"
]
}
| mishbahr/djangocms-disqus |
<|start_filename|>Dockerfile<|end_filename|>
FROM golang:alpine as builder
RUN apk update && apk upgrade && apk add --no-cache git
ADD ./ ./gomatrix
RUN mkdir /build
WORKDIR ./gomatrix
ENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0
RUN go build -a -ldflags="-w -s" -installsuffix cgo -o /build/gomatrix .
FROM scratch
MAINTA... | ryanmarshallott/gomatrix |
<|start_filename|>test/fixtures/import-with-comment/expected.7.es2015.js<|end_filename|>
Promise.resolve().then(function () {
return babelHelpers.interopRequireWildcard(require('my-module'));
});
Promise.resolve().then(function () {
return babelHelpers.interopRequireWildcard(require('my-module'));
});
<|start_fil... | gururajrkatti/babel-plugin-dynamic-import-node |
<|start_filename|>RecastDemo/Contrib/metis/source/test/mtest.c<|end_filename|>
/*
* Copyright 1997, Regents of the University of Minnesota
*
* mtest.c
*
* This file is a comprehensive tester for all the graph partitioning/ordering
* routines of METIS
*
* Started 9/18/98
* George
*
* $Id: mtest.c,v 1.1 2002/0... | educharlie/HPA-NavMesh |
<|start_filename|>sandbox/test_consructors.jl<|end_filename|>
using Oceananigans
using Oceanostics
grid = RegularRectilinearGrid(size=(4,4,4), extent=(1,1,1))
model = IncompressibleModel(grid=grid)
u, v, w = model.velocities
ke = Oceanostics.KineticEnergy(model, u, v, w)
SPx = Oceanostics.XShearProduction(model, u, ... | glwagner/Oceanostics.jl |
<|start_filename|>app/assets/javascripts/flashes.js<|end_filename|>
$(function(){
var flashCallback;
flashCallback = function() {
return $(".flashes").fadeOut();
};
$(".flashes").bind('click', (function(_this) {
return function(event) {
return $(".flashes").fadeOut();
};
})(this));
set... | usdigitalresponse/dolores-landingham-slack-bot |
<|start_filename|>jenkins/webhook-proxy/test/fixtures/build-rejected-openshift-response.json<|end_filename|>
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"BuildConfig.build.openshift.io \"-\" is invalid: metadata.name: Invalid value: \"-\": a DNS-1123 subdomain must consist of lower cas... | ungerts/ods-core |
<|start_filename|>src/lib/ReqParse.js<|end_filename|>
const request = require('request');
const cheerio = require('cheerio');
const URL = require('url');
const readline = require('readline')
const host = "https://www.xvideos.com";
/*
Keyword(homepage) -> Page(loop?) -> URI -> request(async)
-> body -> "video_list"(appe... | realdennis/xvideo-js |
<|start_filename|>test/index.js<|end_filename|>
const tester = require("tester")
, match = require("../lib")
;
tester.describe("run the tests", test => {
var s = "Hello _World_ and _Mars_";
test.it("match all", () => {
test.expect(match(s, /_([a-z]+)_/gi).toArray()).toEqual(["World", "Mars"]);
... | IonicaBizau/match-all |
<|start_filename|>baremaps-postgres/src/main/java/com/baremaps/postgres/jdbc/PostgresUtils.java<|end_filename|>
/*
* Copyright (C) 2020 The Baremaps 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... | halset/baremaps |
<|start_filename|>example/lib/views/h2dart_page.dart<|end_filename|>
import 'package:flutter/material.dart';
import 'package:flutter_jscore_example/utils/h2dart.dart';
/// 头文件转dart
class H2DartPage extends StatefulWidget {
@override
State<StatefulWidget> createState() {
return H2DartPageState();
}
}
class H... | xuelongqy/flutter_jscore |
<|start_filename|>LuoguPaintboardPro/LuoguAccount.cs<|end_filename|>
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Net.Http;
using System.Threading.Tasks;
namespace LuoguPaintboardPro
{
class LuoguAccount
{
public string Uid { get... | Duanyll/LuoguPaintboardPro |
<|start_filename|>Makefile<|end_filename|>
.PHONY : playground install test github push kazan
install:
rm -f yarn.lock || true
yarn install
test:
yarn test
playground:
yarn playground
gitlab:
$(MAKE) test
git add .
git status
git commit -m"[sync]"|| true
git push origin master
github:
$(MAKE) test
git ... | thejibz/graphql-compose-mysql |
<|start_filename|>lib/convert.js<|end_filename|>
'use strict';
/**
* Convert units
*/
const convert = {
celsiusToFahrenheit: function(celsius) {
return celsius * 1.8 + 32;
},
feetToMeters: function(feet) {
return feet * 0.3048;
},
milesToMeters: function(miles) {
return miles * 1609.344;
},... | fboes/metar-parser |
<|start_filename|>fourq.go<|end_filename|>
// Package fourq implements FourQ, a high-speed elliptic curve at the 128-bit
// security level.
//
// https://eprint.iacr.org/2015/565.pdf
package fourq
func multByCofactor(pt *point) {
temp := (&point{}).Set(pt)
feMul(&temp.t, &temp.t, d)
pDbl(pt)
pMixedAdd(pt, temp)
... | yifengyou/fourq |
<|start_filename|>Source/StomtPlugin/Public/StomtJsonObject.h<|end_filename|>
// Copyright 2018 STOMT GmbH. All Rights Reserved.
#pragma once
#include "StomtJsonValue.h"
#include "StomtJsonObject.generated.h"
/**
* Blueprintable FJsonObject wrapper
*/
UCLASS()
class UStomtRestJsonObject : public UObject
{
GENERATE... | SaraKausch/stomt-unreal-plugin |
<|start_filename|>cmd/infracost/output_test.go<|end_filename|>
package main_test
import (
"io/ioutil"
"path/filepath"
"testing"
"github.com/infracost/infracost/internal/testutil"
"github.com/stretchr/testify/require"
)
func TestOutputHelp(t *testing.T) {
GoldenFileCommandTest(t, testutil.CalcGoldenFileTestdata... | infracost/infracost |
<|start_filename|>format/run.jl<|end_filename|>
using JuliaFormatter
function main()
perfect = format(joinpath(@__DIR__, ".."); style=YASStyle())
if perfect
@info "Linting complete - no files altered"
else
@info "Linting complete - files altered"
run(`git status`)
end
return... | 0x0f0f0f/Mixtape.jl |
<|start_filename|>src/RedHat.AspNetCore.Server.Kestrel.Transport.Linux/CpuInfo.cs<|end_filename|>
using System.Collections.Generic;
using System.IO;
namespace RedHat.AspNetCore.Server.Kestrel.Transport.Linux
{
class CpuInfo
{
class LogicalCpuInfo
{
public int Id;
public ... | Zorus/kestrel-linux-transport |
<|start_filename|>app/src/main/java/com/tinbytes/samples/showhidetoolbar/MainActivity2.java<|end_filename|>
/*
* Copyright 2015, <NAME> & Tinbytes, Inc.
*
* 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 ... | rylexr/android-show-hide-toolbar |
<|start_filename|>delete.go<|end_filename|>
// Copyright 2016 <NAME>. All rights reserved.
// Use of this source code is governed by the MIT license
// that can be found in the LICENSE file.
package bolthold
import (
"reflect"
"github.com/boltdb/bolt"
)
// Delete deletes a record from the bolthold, datatype just ... | rmg/bolthold |
<|start_filename|>Core/Field/Menu/FieldDebugControls.cs<|end_filename|>
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using System.Diagnostics;
using System.Linq;
namespace OpenVIII.Fields.IGMData
{
public class FieldDebugControls : OpenVIII.IGMData.Base
{
#region Fields
... | RJesusTVD/OpenVIII-monogame |
<|start_filename|>kstream/k_table.go<|end_filename|>
/**
* Copyright 2020 TryFix Engineering.
* All rights reserved.
* Authors:
* <NAME> (<EMAIL>)
*/
package kstream
//import (
// "github.com/tryfix/kstream/encoding"
// "github.com/tryfix/kstream/logger"
// "github.com/tryfix/kstream/kstream/store"
//)
//
//t... | gmbyapa/kstream |
<|start_filename|>Makefile<|end_filename|>
VERSION = $(shell grep 'Version:' _oasis | sed 's/Version: *//')
VFILE = lib/version.ml
SETUP = ocaml setup.ml
build: setup.data $(VFILE)
$(SETUP) -build $(BUILDFLAGS)
doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)
test: setup.data build
$(SETUP) -test $(TESTFLAGS)
... | samoht/ciso |
<|start_filename|>src/index.css<|end_filename|>
body {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100%;
font-family: Gotham Rounded A, Gotham Rounded B, -apple-system, BlinkMacSystemFont, 'Segoe UI',
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarel... | danielkim107/simplewebrtc-talky-sample-app |
<|start_filename|>index.js<|end_filename|>
module.exports = require('./lib/PDFMerger');
| flowaccount/easy-pdf-merge |
<|start_filename|>mix.exs<|end_filename|>
defmodule PlugProxy.Mixfile do
use Mix.Project
@version "0.4.0"
@github_link "https://github.com/tommy351/plug-proxy"
def project do
[
app: :plug_proxy,
version: @version,
elixir: "~> 1.6",
description: "A plug for reverse proxy server",
... | Legrandk/plug-proxy |
<|start_filename|>scripts/gen-release-notes.js<|end_filename|>
const execa = require("execa");
const moment = require("moment");
const _ = require("lodash");
const YAML = require("yamljs");
const fs = require("fs-extra");
const { parseCommit } = require("parse-commit-message");
async function gitLogs(repoPath) {
con... | oolonek/dendron-site |
<|start_filename|>IfcSql/ifcSQL_for_ifcSQL_instance.cs<|end_filename|>
// ifcSQL_for_ifcSQL_Instance_db_generated.cs, Copyright (c) 2020, <NAME>, <NAME>, MIT License (see https://github.com/IfcSharp/IfcSharpLibrary/tree/master/Licence)
using db;
namespace ifcSQL{//###################################################... | IfcSharp/IfcSharpLibrary |
<|start_filename|>package.json<|end_filename|>
{
"name": "stylis-plugin-rtl",
"version": "2.1.1",
"description": "Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL",
"module": "dist/stylis-rtl.js",
"main": "dist/cjs/stylis-rtl.js",
"types": "dist/stylis-rtl.d.ts",
"script... | styled-components/stylis-plugin-rtl |
<|start_filename|>Plugins/Aspose.Slides Vs VSTO Presentations/Code Comparison of Common Features/Adding Shape to Presentation/Aspose.Slides/Program.cs<|end_filename|>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspose.Slides
{
class... | MrYangPan/Aspose.Slides-for-.NET-code |
<|start_filename|>osu.Server.DifficultyCalculator/Commands/BeatmapsStringCommand.cs<|end_filename|>
// Copyright (c) ppy P<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using McMaster.Exte... | ChingCdesu/osu-performance-calculator |
<|start_filename|>TWT/static/js/bs-init.js<|end_filename|>
if (window.innerWidth < 768) {
[].slice.call(document.querySelectorAll('[data-bss-disabled-mobile]')).forEach(function (elem) {
elem.classList.remove('animated');
elem.removeAttribute('data-bss-hover-animate');
elem.removeAttribute('data-aos');
});
}
... | Tech-With-Tim/old_site |
<|start_filename|>src/main/java/net/arin/rdap_bootstrap/spring/SpringUtils.java<|end_filename|>
/*
* Copyright (C) 2020 American Registry for Internet Numbers (ARIN)
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
... | salimwp/rdap_bootstrap_server |
<|start_filename|>Dockerfile<|end_filename|>
FROM ubuntu
USER root
# Install basic tools/utilities and google Chrome unstable (which has cross platform support for headless mode). Combining theem together so that apt cache cleanup would need to be done just once.
RUN apt-get update -y && \
apt-get install ca-certific... | moonlightwork/renderer |
<|start_filename|>preproc.h<|end_filename|>
#ifndef PREPROC_H
#define PREPROC_H
#include <stdio.h>
struct cpp;
struct cpp *cpp_new(void);
void cpp_free(struct cpp*);
void cpp_add_includedir(struct cpp *cpp, const char* includedir);
int cpp_add_define(struct cpp *cpp, const char *mdecl);
int cpp_run(struct cpp *cpp, ... | rofl0r/tinycpp |
<|start_filename|>src/main/java/com/mojang/datafixers/OptionalDynamic.java<|end_filename|>
package com.mojang.datafixers;
import com.mojang.datafixers.types.DynamicOps;
import java.nio.ByteBuffer;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.function.Function;
import java.u... | ch99q/DataFixerUpper |
<|start_filename|>docs/src/components/Hero/styles.module.css<|end_filename|>
/* stylelint-disable docusaurus/copyright-header */
/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
*/
.heroBanner {
background-color: var(--almost-black);
flex: 1;
padding: 2re... | mixxorz/slippers |
<|start_filename|>public/plugins/popdown/lib/jquery.popdown.js<|end_filename|>
/*!
* Simple jQuery Popdown Plugin & Content Loader
*
* @author : http://twitter.com/SeanNieuwoudt
* @author : http://twitter.com/wixelhq
* @url : http://github.com/Wixel/jquery-popdown.git
* @copyright: 2015 Wixel
* @license :... | binhpt2612/simple-blog-interview |
<|start_filename|>source/assets/javascripts/all.js<|end_filename|>
require('./_font-loader.js');
require('./_alert.js');
<|start_filename|>source/assets/javascripts/_alert.js<|end_filename|>
window.setTimeout(function() {
$(".alert-success:visible, .alert-danger:visible").fadeTo(500, 0).slideUp(500, function(){
... | AdrianChingHC/adrianchinghc.github.io |
<|start_filename|>testapp/templates/delete_thread.html<|end_filename|>
{% extends "base.html" %}
{% import "macros.html" as macros %}
{% block title %}Delete Thread?{% endblock %}
{% block content %}
<h2>Delete Thread: {{ thread.subject }}</h2>
<p>
<small>
Started @ {{ macros.time_tag(thread.timestamp) }... | liorsbg/Flask-And-Redis |
<|start_filename|>gravitee-apim-repository/gravitee-apim-repository-mongodb/src/main/java/io/gravitee/repository/mongodb/management/internal/application/ApplicationMongoRepositoryImpl.java<|end_filename|>
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2... | gravitee-io/gravitee-api-management |
<|start_filename|>src/events.js<|end_filename|>
/**
* This module provides functionality for constructing events similar to
* WebExtensions `events.Event` objects.
*
* @module events
*/
import * as debugging from "./debugging.js";
/**
* @constant {debugging.debuggingLogger}
* @private
*/
const debugLog = debu... | throneless-tech/web-science |
<|start_filename|>mm-mailing-list.html<|end_filename|>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML LANG="EN-US">
<HEAD>
<!-- improve mobile display -->
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
<META HTTP-EQUIV="Content-T... | TjWhale/set.mm |
<|start_filename|>include/drivers/st/stm32_rng.h<|end_filename|>
/*
* Copyright (c) 2018, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef STM32_RNG_H
#define STM32_RNG_H
int stm32_rng_read(uint8_t *out, uint32_t size);
int stm32_rng_init(void);
#endif /* STM32_RNG_H ... | engicam-stable/tfa-source-engicam |
<|start_filename|>src/main/java/com/tremolosecurity/unison/jms/ibm/IbmMqConnectionFactory.java<|end_filename|>
/*******************************************************************************
* Copyright 2019 Tremolo Security, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | TremoloSecurity/ibm-mq-connection-factory |
<|start_filename|>Driver Kernel/driver.h<|end_filename|>
#pragma once
#include "../Defines/utils.h"
std::mutex isuse;
class Driver
{
public:
UINT ProcessId;
const bool Init(const BOOL PhysicalMode) {
this->bPhysicalMode = PhysicalMode;
this->hDriver = CreateFileA((("\\\\.\\\PEAuth")), GENERIC_READ ... | Achtzehn18/Fortnite-External |
<|start_filename|>spug_web/src/pages/deploy/do/index.module.css<|end_filename|>
.header {
display: flex;
}
.collapse {
margin-top: 16px;
}
.collapse :global(.ant-collapse-content-box) {
padding: 0;
}
.ext1Console {
min-height: 40px;
max-height: 300px;
padding: 10px 15px;
}
.ext2Block {
d... | atompi/spug |
<|start_filename|>src/AnyOfCodeGenerator/IntExtensions.cs<|end_filename|>
using System;
namespace AnyOfGenerator
{
internal static class IntExtensions
{
private static readonly string[] Order = new[] { "Zeroth", "First", "Second", "Third", "Fourth", "Fifth", "Sixth", "Seventh", "Eighth", "Ninth"... | StefH/AnyOf |
<|start_filename|>Assets/Scripts/Editor/src/Tilemap3DEditor.cs<|end_filename|>
using System;
using System.Collections.Generic;
using System.Linq;
using SardineFish.Utils;
using SardineFish.Utils.Editor;
using UnityEditor;
using UnityEngine;
using WFC.Test;
using WFC.Tilemap3D;
namespace WFC.Editor
{
p... | SardineFish/WFC-Demo |
<|start_filename|>project.clj<|end_filename|>
(defproject evosec/firebird-driver "1.3.0"
:min-lein-version "2.5.0"
:dependencies
[[org.firebirdsql.jdbc/jaybird "4.0.2.java8"]]
:profiles
{:provided
{:dependencies [[metabase-core "1.0.0-SNAPSHOT"]]}
:uberjar
{:auto-clean true
:aot ... | kumajaya/metabase-firebird-driver |
<|start_filename|>library/src/main/java/com/flipkart/chatheads/ui/ChatHeadListener.java<|end_filename|>
package com.flipkart.chatheads.ui;
import java.io.Serializable;
/**
* Created by kiran.kumar on 06/05/15.
*/
public interface ChatHeadListener<T> {
void onChatHeadAdded(T key);
void onChatHeadRemoved(T ke... | dantepro1955/springy-heads |
<|start_filename|>recipes-core/essos-stub/files/essos-app.h<|end_filename|>
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may... | ZbyszekK/meta-dac-sdk-1 |
<|start_filename|>src/integTest/groovy/nebula/plugin/resolutionrules/AlignAndMigrateViaReplacementSpec.groovy<|end_filename|>
package nebula.plugin.resolutionrules
import spock.lang.Unroll
class AlignAndMigrateViaReplacementSpec extends AbstractAlignAndMigrateSpec {
@Unroll
def 'align and migrate via replace... | nebula-plugins/gradle-resolution-rules-plugin |
<|start_filename|>src/main/c/hello-world.c<|end_filename|>
/* example based on examples/hello_ex.c in cdk lib sources */
#include "hello-time.h"
#include "hello-greet.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifdef __ANDROID__
int main(int argc, char** argv) {
char *who = "world";
if (ar... | lyf00002/bazel-crosscompile |
<|start_filename|>packages/babel-plugin-jsx/jest.config.js<|end_filename|>
module.exports = {
setupFiles: ['./test/setup.ts'],
transform: {
'\\.(ts|tsx)$': 'ts-jest',
},
globals: {
'ts-jest': {
babelConfig: true,
},
},
};
| thisisandy/jsx |
<|start_filename|>src/css/icons/icon-circle-times.css<|end_filename|>
/* Circle Times icon */
.marka.marka-icon-circle-times i {
border-radius: 50%;
-webkit-transform: scale(0.8);
-moz-transform: scale(0.8);
-ms-transform: scale(0.8);
-o-transform: scale(0.8);
transform: scale(0.8);
}
.marka.marka-icon-circ... | gizmowiki/gizmowiki.github.io |
<|start_filename|>test/basic.not_preserve.expect.css<|end_filename|>
test {
font: italic bold 12px/30px -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
font: italic bold 12px/30px -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
fon... | JLHwung/postcss-font-family-system-ui |
<|start_filename|>TestBigDecimal/TestBigDecimalFunctions.cs<|end_filename|>
using System;
using System.Numerics;
using ExtendedNumerics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestBigDecimal
{
[TestClass]
public class TestBigDecimalFunctions
{
private TestContext m_testContext;
public Te... | AdamWhiteHat/BigDecimal |
<|start_filename|>src/sampler.cpp<|end_filename|>
/*
Sampler
Copyright (c) 2019-2020, <NAME> and <NAME>. All rights reserved
Copyright (c) 2009-2018, <NAME>. All rights reserved.
Copyright (c) 2015, <NAME>, <NAME>,
<NAME>, <NAME>, <NAME>
Copyright (c) 2014, <NAME>, <NAME>, <NAME>
Permission is hereby granted, ... | meelgroup/unigen |
<|start_filename|>package.json<|end_filename|>
{
"name": "project-forecaster",
"version": "1.0.0",
"description": "Forecast probabilities of a project's effort and duration using Monte Carlo simulations",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm install && npm ru... | rodrigozr/ProjectForecaster |
<|start_filename|>src/pages/Confirmation/index.js<|end_filename|>
export { default } from "./Confirmation";
| AlbertGarciaFernandez/react-shopping-cart-context |
<|start_filename|>client/report/MonthlyScatter.js<|end_filename|>
import React, {useState, useEffect} from 'react'
import { makeStyles } from '@material-ui/core/styles'
import Typography from '@material-ui/core/Typography'
import auth from '../auth/auth-helper'
import DateFnsUtils from '@date-io/date-fns'
import { Date... | vicfull1228/mern-expense-tracker |
<|start_filename|>src/index.js<|end_filename|>
"use strict";
/**
* a11yCore module - used as a namespace.
* @module a11yCore
*/
import * as color from "a11y-color";
export { color };
<|start_filename|>docs/index.js.html<|end_filename|>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<titl... | A11yance/a11y-core |
<|start_filename|>src/QtsSolutions.Web.Core/Models/TokenAuth/ExternalLoginProviderInfoModel.cs<|end_filename|>
using Abp.AutoMapper;
using QtsSolutions.Authentication.External;
namespace QtsSolutions.Models.TokenAuth
{
[AutoMapFrom(typeof(ExternalLoginProviderInfo))]
public class ExternalLoginProviderInfoMode... | nirzaf/QtsSolutions |
<|start_filename|>www/public/app/js/modules/hawk.js<|end_filename|>
module.exports = require('@hawk.so/javascript');
| neSpecc/codex.edu |
<|start_filename|>go/core/ais.go<|end_filename|>
package core
const (
// domain name for asr service
ASR_ENDPOINT string = "sis.cn-north-1.myhuaweicloud.com"
// domain name for tts service
TTS_ENDPOINT string = "sis.cn-north-1.myhuaweicloud.com"
// domain name for get token
IAM_ENPOINT string = "iam.cn-north... | huaweicloudsdk/ais-sdk |
<|start_filename|>src/gamePlayer/view/ribbon.css<|end_filename|>
#loadButton {
-fx-background-image: url("loadButton.png");
-fx-background-repeat: no-repeat;
-fx-background-position: center;
-fx-background-size: 30 30;
}
#exitButton {
-fx-background-image: url("exitButton.png");
-fx-background-repeat: no-repeat;... | kevinli194/voogasalad_BitsPlease |
<|start_filename|>js/lib/util/add_shebang.js<|end_filename|>
#!/usr/bin/env node
var fs = require('fs');
var path = "dist/cli.js";
var data = "#!/usr/bin/env node\n\n";
data += fs.readFileSync(path);
fs.writeFileSync(path, data);
<|start_filename|>js/lib/rollup.config.js<|end_filename|>
import rust from "@wasm-tool/ro... | davidpdrsn/taplo |
<|start_filename|>MoneyDataType/LegacyAmountConverter.cs<|end_filename|>
using System;
using Money.Abstractions;
namespace Money.Serialization
{
internal class LegacyAmountConverter : Newtonsoft.Json.JsonConverter<Amount>
{
private const string ValueName = "value";
private const string Currency... | microposmp/OrchardCore.Commerce |
<|start_filename|>dist/pvpc-hourly-pricing-card.js<|end_filename|>
const LitElement =
window.LitElement ||
Object.getPrototypeOf(customElements.get('ha-panel-lovelace') || customElements.get('hc-lovelace'));
const { html, css } = LitElement.prototype;
const locale = {
ca: {
minPrice: 'Preu mínim avui:',
... | FragMenthor/pvpc-hourly-pricing-card |
<|start_filename|>resources/style.css<|end_filename|>
.event_provider_name {
color: gray;
font-size: 10px;
}
.event_time {
font-size: 16px;
}
.event_header_label {
font-size: 20px;
font-weight: bold;
}
.event_source_name {
border-left: 5px solid black;
font-size: 15px;
font-weight: bold;
padding: 5... | j-veylop/cigale |
<|start_filename|>_/Section 10/7_elearn/routes/index.js<|end_filename|>
var express = require('express');
var router = express.Router();
var Class = require('../models/class');
/* GET home page. */
router.get('/', function(req, res, next) {
Class.getClasses(function(err, classes){
res.render('index', { classes: cl... | paullewallencom/node-978-1-7871-2221-5 |
<|start_filename|>src/app/panels/heatmap/module.js<|end_filename|>
/*
## HeatMap D3 Panel
*/
define([
'angular',
'app',
'underscore',
'jquery',
'd3',
'require',
'css!./module.css'
],
function (angular, app, _, $, d3, localRequire) {
'use strict';
var module = angular.mod... | harrydcollins/banana-dhs |
<|start_filename|>assets/javascripts/drawindicators.js<|end_filename|>
function drawIndicators(plannedValue, actualCost, earnedValue){
var plannedValue = plannedValue;
var actualCost = actualCost;
var earnedValue = earnedValue;
//Bar indicators and behavior from sidebar.-----------------------------------... | imaginary-cloud/redmine_evm |
<|start_filename|>anisotropic_layered.frag<|end_filename|>
//we only want to alter these passes
#if defined(MATERIAL_PASS_LIGHT) || defined(MATERIAL_PASS_VOXELIZATION)
#include "../state.frag"
#include "../other/lightParams.frag"
#include "BRDF/AnisotropicMicrofacetBRDF.frag"
#include "../other/customExtras.... | tomoya5296/anisotropic_layered_material |
<|start_filename|>attic/demo/arduino-due/due-#9000-st7789/main.cpp<|end_filename|>
#include "hwlib.hpp"
namespace target = hwlib::target;
int main( void ){
// wait for the terminal emulator to start up
hwlib::wait_ms( 2'000 );
hwlib::cout << "ST7789 demo\n" << hwlib::flush;
auto _sclk = hwlib::... | Lennart99/hwlib |
<|start_filename|>pkg/pgtune/misc.go<|end_filename|>
package pgtune
import (
"fmt"
"math"
"runtime"
"github.com/timescale/timescaledb-tune/internal/parse"
"github.com/timescale/timescaledb-tune/pkg/pgutils"
)
// Keys in the conf file that are tunable but not in the other groupings
const (
CheckpointKey ... | timescale/timescaledb-tune |
<|start_filename|>gedit/plugins/goto-definition-gedit3/ctags/tex.c<|end_filename|>
/*
* $Id: tex.c 666 2008-05-15 17:47:31Z dfishburn $
*
* Copyright (c) 2008, <NAME>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License.
*
* This module contains... | lkumar93/dotfiles |
<|start_filename|>pkg/metrics/metrics_test.go<|end_filename|>
package metrics
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNewMetricsRepository(t *testing.T) {
testCases := []struct {
entries []MetricEntry
expectedLen int
}{
{
expectedLen: 1,
},
{
entries: []MetricEntry{... | gorift/gorift |
<|start_filename|>assets/js/search.js<|end_filename|>
// Credits to search implementation: https://gist.github.com/cmod/5410eae147e4318164258742dd053993
var fuse; // holds our search engine
var searchVisible = false;
var firstRun = true; // allow us to delay loading json data unless search activated
var list = documen... | yuuyins/blist-hugo-theme |
<|start_filename|>request_writer.go<|end_filename|>
package quictun
import (
"bytes"
"encoding/base64"
"fmt"
"log"
"net"
"net/http"
"strconv"
"strings"
"golang.org/x/net/http2"
"golang.org/x/net/http2/hpack"
"golang.org/x/net/idna"
"golang.org/x/net/lex/httplex"
quic "github.com/lucas-clemente/quic-go"
... | julienschmidt/quictun |
<|start_filename|>package.json<|end_filename|>
{
"name": "cleverbot-node",
"keywords": [
"cleverbot"
],
"description": "Cleverbot client for node.js",
"version": "0.3.10",
"license": "MIT",
"author": "<NAME> <<EMAIL>>",
"url": "https://github.com/fojas/cleverbot-node/",
"directories": {
"lib":... | fojas/cleverbot-node |
<|start_filename|>demo/index.js<|end_filename|>
import React from 'react';
import { render } from 'react-dom';
import TwentyTwenty from '../src';
const Uncontrolled = () => (
<TwentyTwenty
verticalAlign="bottom"
minDistanceToBeginInteraction={0}
maxAngleToBeginInteraction={Infinity}
left={<img alt="c... | jordiviva/react-twentytwenty |
<|start_filename|>Hotspot.cmd<|end_filename|>
@echo off
:start
cls
echo Choose an action below by entering its number.
echo [1] Setup or Modify
echo [2] Activate Hotspot
echo [3] Deactivate Hotspot
echo [4] List connected devices
set /p choice=
if %choice%==1 goto setup
if %choice%==2 goto activate
if %choice%==3 goto... | fczero/Windows-Hotspot |
<|start_filename|>src/ppu/win_without_bg.asm<|end_filename|>
; Copyright (C) 2019 <NAME> (<EMAIL>)
;
; 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 lim... | gb-archive/mealybug-tearoom-tests |
<|start_filename|>tests/thread_tests.c<|end_filename|>
/* iso_alloc thread_tests.c
* Copyright 2021 - <EMAIL> */
#include "iso_alloc.h"
#include "iso_alloc_internal.h"
uint32_t allocation_sizes[] = {ZONE_16, ZONE_32, ZONE_64, ZONE_128,
ZONE_256, ZONE_512, ZONE_1024,
... | struct/isoalloc |
<|start_filename|>node_modules/locale/examples/express.js<|end_filename|>
var http = require("http")
, express = require("express")
, locale = require("../lib")
, supported = ["en", "en_US", "ja"]
, app = express.createServer(locale(supported))
app.get("/", function(req, res) {
res.header("Content-Type", "te... | etrusco74/darkroomlocator-server |
<|start_filename|>logger.js<|end_filename|>
const { version } = require('./package.json');
const chalk = require('chalk');
const moment = require('moment');
const readline = require('readline');
readline.emitKeypressEvents(process.stdin);
let api = {};
process.stdin.on('keypress', (char, key) => {
if (key && key.... | hk1722/adidas-bot |
<|start_filename|>tests/var_recovery/src/linux/union_global/union_global.c<|end_filename|>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>
union ufoo {
uint64_t u64;
uint32_t u32;
uint16_t u16;
uint8_t u8;
uint8_t bytes[8];
};
union ufoo global_ufoo;
static void dump_... | abhishekvasishtb/mcsema |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.