Search is not available for this dataset
content stringlengths 60 399M | max_stars_repo_name stringlengths 6 110 |
|---|---|
<|start_filename|>src/motioncapture.cpp<|end_filename|>
#include "libmotioncapture/motioncapture.h"
namespace libmotioncapture {
void MotionCapture::getObjectByName(
const std::string& name,
Object& result) const
{
std::vector<Object> objects;
getObjects(objects);
for(const auto& object : ... | jungr-ait/libmotioncapture |
<|start_filename|>package.json<|end_filename|>
{
"name": "mediasoup-custom",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node src/app.js",
"mon": "nodemon src/app.js",
"watch": "watchify public/index.js ... | senatoreg/mediasoup-sfu-webrtc-video-rooms |
<|start_filename|>Iterator/src/menu/item.cpp<|end_filename|>
#include "item.h" | bergolho1337/Design-Patterns |
<|start_filename|>allure-junit-platform/src/test/java/io/qameta/allure/junitplatform/features/TestWithSteps.java<|end_filename|>
/*
* Copyright 2019 Qameta Software OÜ
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | lilyYumakaeva/allure-java |
<|start_filename|>site/fields/color/package.json<|end_filename|>
{
"name": "color",
"description": "Kirby Color Picker Field",
"author": "<NAME>",
"license": "MIT",
"version": "1.3.0",
"type": "kirby-field"
}
<|start_filename|>kirby/vendor/erusev/parsedown-extra/test/data/compound_footnote.html<|end_filen... | thecamp-toolbox/poc_program_online |
<|start_filename|>proto/core/contract/witness_contract.pb.go<|end_filename|>
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.12.0
// source: core/contract/witness_contract.proto
package contract
import (
proto "github.com/golang/protobuf/proto"
protorefle... | bytejedi/tron-sdk-go |
<|start_filename|>upstream/helm_test.go<|end_filename|>
/*
Copyright 2020 The Kubernetes 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
Unl... | sparebank1utvikling/zeitgeist |
<|start_filename|>lib/pdf_viewer_plugin.dart<|end_filename|>
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:pdf_viewer_plugin/src/android_viewers/android_pdf_viewer.dart';
import 'package:pdf_viewer_plugin/src/ios_viewers/cuperti... | lubritto/Pdf_Viewer_Plugin |
<|start_filename|>example/js/bundle.js<|end_filename|>
(function () {
'use strict';
/*
json-format v.1.1
http://github.com/phoboslab/json-format
Released under MIT license:
http://www.opensource.org/licenses/mit-license.php
*/
var p = [],
push = function(m) {
return '\\' + p... | w8r/wms-capabilities |
<|start_filename|>generation/Windows/other/helper-types/other-helper-types.h<|end_filename|>
// This file is intentionally empty and only exists to centralize generation of the helper types for TerraFX.
<|start_filename|>generation/TerraFX.h<|end_filename|>
#include <WinSock2.h>
#include <ws2ipdef.h>
#include <windns... | JeremyKuhne/terrafx.interop.windows |
<|start_filename|>docs/asset-manifest.json<|end_filename|>
{
"main.css": "static/css/main.58a98a35.css",
"main.css.map": "static/css/main.58a98a35.css.map",
"main.js": "static/js/main.ff10fcce.js",
"main.js.map": "static/js/main.ff10fcce.js.map"
}
<|start_filename|>src/components/EmojiZone.css<|end_filename|>
... | jamsinclair/slackmojize |
<|start_filename|>public/reserve/js/controllers/reservation_add.js<|end_filename|>
//advice_all.js
angular
.module('app')
.controller('reservationAddControl', reservationAddControl)
reservationAddControl.$inject = ['$scope', '$http'];
function reservationAddControl($scope, $http) {
$scope.refresh_tables = ... | SE407-2017/FinalProject-library-seats-reservation |
<|start_filename|>src/components/Header/Navbar.js<|end_filename|>
import React, { useState, useEffect } from 'react'
import {
Collapse,
Navbar,
NavbarToggler,
NavbarBrand,
Nav,
NavItem,
NavLink,
UncontrolledDropdown,
DropdownToggle,
DropdownMenu,
DropdownItem,
NavbarText,
} from 'reactstrap'
imp... | santushtisharma10/Frontend |
<|start_filename|>.serge-mapping.json<|end_filename|>
{
"@d2l/d2l-attachment": "@d2l/d2l-attachment/d2l-attachment.serge.json",
"d2l-activities": "d2l-activities/activities.serge.json",
"d2l-assessment-quality-dashboard": "d2l-assessment-quality-dashboard/insights-assessment-quality-dashboard.serge.json",
"d2l-... | Brightspace/brightspace-integration |
<|start_filename|>BlazorBarcodeScanner.ZXing.JS/Exceptions/StartDecodingFailedException.cs<|end_filename|>
using System;
namespace BlazorBarcodeScanner.ZXing.JS.Exceptions
{
public class StartDecodingFailedException : Exception
{
public StartDecodingFailedException(string message, Exception e) :... | fabiankuehne/BlazorBarcodeScanner |
<|start_filename|>OCDemo/MyThemes.h<|end_filename|>
//
// MyThemes.h
// SwiftTheme
//
// Created by Gesen on 16/5/26.
// Copyright © 2016年 Gesen. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum {
MyThemesTypeRed = 0,
MyThemesTypeYellow,
MyThemesTypeBlue,
MyThemesTypeNight
} ... | sendyhalim/SwiftTheme |
<|start_filename|>tests/test-server/sample_responses/github_list_prs.json<|end_filename|>
{
"total_count": 1,
"incomplete_results": false,
"items": [
{
"url": "https://api.github.com/repos/timnlupo/juypterlabpr-test/issues/1",
"repository_url": "https://api.github.com/repos/t... | timnlupo/pull-requests |
<|start_filename|>client_test.go<|end_filename|>
package jpush
import (
"context"
"strconv"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
const (
appKey = "<KEY>"
masterSecret = "ed431429270144d3ed53555b"
)
func TestPush(t *testing.T) {
Convey("test client push", t, func() {
cli := NewClie... | ib1ack/jpush-go |
<|start_filename|>src/config_map.h<|end_filename|>
#ifndef __CONFIG_MAP__
#define __CONFIG_MAP__
//
// Virtual EEPROM addresses & defaults for config variables.
// Emulator uses append-only log & multiphase commits to guarantee
// atomic writes.
//
// Current sensor shunt resistance (mOhm)
#define CFG_SHUNT_RESISTANC... | speedcontrols/ac_sc_grinder |
<|start_filename|>gen_mocks.go<|end_filename|>
package main // import "sourcegraph.com/sourcegraph/gen-mocks"
import (
"bytes"
"flag"
"fmt"
"go/ast"
"go/build"
"go/parser"
"go/printer"
"go/token"
"io"
"log"
"os"
"path/filepath"
"regexp"
"strings"
"golang.org/x/tools/imports"
)
var (
ifacePkgDir = fla... | sourcegraph/gen-mocks |
<|start_filename|>src/Itinero.API/Instances/Instance.cs<|end_filename|>
// The MIT License (MIT)
// Copyright (c) 2017 <NAME>
// 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 res... | elecay/routing-api |
<|start_filename|>lib/v-blur.js<|end_filename|>
function createDirective (opts = {}) {
const options = Object.assign({
opacity: 0.5,
filter: 'blur(1.5px)',
transition: 'all .2s linear'
}, opts)
// Note: We attach the options to the exposed object to allow changing the
// options dynamically ... | ndelvalle/v-blur |
<|start_filename|>example/example-3d.js<|end_filename|>
"use strict"
var shell = require("gl-now")({tickRate:2})
var camera = require("game-shell-orbit-camera")(shell)
var mat4 = require("gl-matrix").mat4
var createSimplicialComplex = require("gl-simplicial-complex")
var triangulation = require("../delaunay.js")(3)
va... | mikolalysenko/incremental-delaunay |
<|start_filename|>aesm/Dockerfile<|end_filename|>
FROM ubuntu:18.04
ARG PSW_PKG_VERSION=2.9.101.2-bionic1
RUN apt-get update && apt-get install -y apt-utils
RUN apt-get install -y dkms gnupg2 apt-transport-https software-properties-common curl && \
curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/inte... | advanca/advanca |
<|start_filename|>src/main/java/ListComprehension.java<|end_filename|>
import org.apache.commons.lang3.tuple.Pair;
import java.util.*;
import java.util.function.*;
import java.util.stream.Collectors;
@SuppressWarnings("unchecked")
public class ListComprehension<T> {
private Function<T, T> outputExpression = x ->... | farolfo/list-comprehension-in-java |
<|start_filename|>categories/editorials.html<|end_filename|>
---
layout: template-category
slug: editorials
title: Editorials
description: "Opinionated and less news-specific takes on AI topics"
redirect_from:
- /editorials/
- /editorials.php/
---
<|start_filename|>categories/overviews.html<|end_filename|>
---
la... | SkynetToday/skynet-today |
<|start_filename|>.original/spine-v.1.6.2/src/local.coffee<|end_filename|>
Spine = @Spine or require('spine')
Spine.Model.Local =
extended: ->
testLocalStorage = 'spine' + new Date().getTime()
try
localStorage.setItem(testLocalStorage, testLocalStorage)
localStorage.removeItem(testLocalStorage)
... | skylark-integration/skylark-spine |
<|start_filename|>cmake/MacOSX.cmake<|end_filename|>
###############################################################################
##
## Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company.
## Contact: Tegesoft Information (<EMAIL>)
##
## This file is part of the CAMP library.
##
##... | lailongwei/ponder |
<|start_filename|>Dockerfile<|end_filename|>
FROM python:3.8-alpine
COPY . /rancher-gitlab-deploy/
WORKDIR /rancher-gitlab-deploy
RUN python /rancher-gitlab-deploy/setup.py install
RUN ln -s /usr/local/bin/rancher-gitlab-deploy /usr/local/bin/upgrade
CMD rancher-gitlab-deploy | dimw/rancher-gitlab-deploy |
<|start_filename|>Dockerfile<|end_filename|>
FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
curl \
libglib2.0-0 \
software-properties-common \
python3... | qinliuliuqin/ritm_interactive_segmentation |
<|start_filename|>app/feed/mocks.js<|end_filename|>
let cards = [
{
type: 'update',
user: {
name: 'John\nAppleseed',
picture: 'http://lorempixel.com/80/80/people/1/',
},
card: {
text: "I am working on implementing Facebook Paper like interactions today."
}
},
{
type: 'pho... | brentvatne/rn-paper-interface |
<|start_filename|>test/index.js<|end_filename|>
const path = require('path')
const test = require('tape')
const fs = require('fs')
const mdjson = require('../')
test('should assert input types', function (t) {
t.plan(1)
t.throws(mdjson, /markdown string/)
})
test('should return a parsed obj', function (t) {
t.... | yoshuawuyts/mdjson |
<|start_filename|>test/cmq_queue_test.go<|end_filename|>
package test
import (
"testing"
"github.com/NETkiddy/cmq-go"
)
var secretId = "YourTencentSecretId"
var secretKey = "YourTencentSecretKey"
var endpointQueue = "https://cmq-queue-sh.api.qcloud.com"
var endpointQueueInner = "http://cmq-queue-sh.api.tencentyun.c... | whua3/cmq-go |
<|start_filename|>casting.js<|end_filename|>
/* Magic Mirror
* Module: MMM-chromecast
*
* By flo
* MIT Licensed
*
* Using https://github.com/DeMille/url-cast-receiver as chromecast receiver
*/
var applicationID = '5CB45E5A'
, namespace = 'urn:x-cast:com.url.cast'
, receiverDead = false
, session = null;
func... | flo80/MMM-chromecast |
<|start_filename|>.vscode/settings.json<|end_filename|>
{
"editor.tabSize": 4,
"editor.renderWhitespace": "none",
"editor.insertSpaces": true,
"typescript.reportStyleChecksAsWarnings": true,
"editor.trimAutoWhitespace": true,
"tslint.jsEnable": true,
"tslint.run": "onType",
"typescript.t... | admariner/data-forge-plot |
<|start_filename|>Dockerfile<|end_filename|>
FROM scratch
COPY VERSION /
<|start_filename|>hack/mkdocs/Dockerfile<|end_filename|>
FROM squidfunk/mkdocs-material:7.3.4
RUN pip install \
mdx_truly_sane_lists \
mkdocs-awesome-pages-plugin
<|start_filename|>Makefile<|end_filename|>
.PHONY: help docs build-docs
... | epam/edp-install |
<|start_filename|>sessiondescription_test.go<|end_filename|>
package sdp
const (
exampleAttrExtmap1 = "extmap:1 http://example.com/082005/ext.htm#ttime"
exampleAttrExtmap1Line = exampleAttrExtmap1
exampleAttrExtmap2 = "extmap:2/sendrecv http://example.com/082005/ext.htm#xmeta short"
exampleAttrExtmap2Line ... | jbrady42/sdp |
<|start_filename|>specs/slow-processing.test.js<|end_filename|>
'use strict'
/* global describe, it */
const request = require('supertest')
describe('Slow requests processing', () => {
let server
const service = require('../index')({
prioRequestsProcessing: false
})
service.get('/hello', (req, res) => {
... | silverwind/ana |
<|start_filename|>DTXMania2/ステージ/07演奏/動画の表示サイズ.cs<|end_filename|>
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace DTXMania2.演奏
{
enum 動画の表示サイズ : int
{
全画面 = 0,
中央寄せ = 1,
}
}
<|start_filename|>FDK/イメージ/GraphicResources.cs<|end_filename|>
using System;
... | DTXMania/DTXMania2 |
<|start_filename|>Assets/_Project/Editor/BuildTools.cs<|end_filename|>
/**
* BuildTools.cs
* Created by: <NAME>
* Created on: 30/14/17 (dd/mm/yy)
*/
using UnityEditor;
using UnityEngine;
using Process = System.Diagnostics.Process;
public static class BuildTools
{
[MenuItem("Tools/Run Server")]
public stat... | longde123/unity-fastpacedmultiplayer |
<|start_filename|>tests/spec/fab/fabSpec.js<|end_filename|>
describe("Fab", function () {
var FAB;
beforeEach(function() {
loadFixtures('fab/fabFixture.html');
});
describe("Floating Action Button", function () {
var normalFAB;
beforeEach(function() {
normalFAB = $('.fixed-action-btn').firs... | afzalsayed96/materialize |
<|start_filename|>beats-output-http/resolver/resolver.go<|end_filename|>
package resolver
import (
"context"
"net"
"sync"
"time"
)
const MaxCacheSize = 512 //Must be greater then 16
func NewDNSResolver() *DNSResolver {
tmp := DNSResolver{
resolver: net.DefaultResolver,
cache: make(map[string]DNSRecord),
... | ajain0811/elastic |
<|start_filename|>3d-card-flip/styles.css<|end_filename|>
/**
*
* Copyright 2016 Google Inc. All rights reserved.
*
* 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.ap... | zjsuperman1987/ui-element-samples |
<|start_filename|>MyGazeEstimation.cc<|end_filename|>
#include <GazeEstimation.h>
#include <RotationHelpers.h>
#include <opencv2/core/core.hpp>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <LandmarkDetectorFunc.h>
#include <LandmarkDetectorModel.h>
#include "MyGazeEstimation.h"
using namespace Eigen;
void... | errno-mmd/readfacevmd |
<|start_filename|>src/test/java/org/elasticsearch/river/wikipedia/WikipediaRiverTest.java<|end_filename|>
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch lice... | elastic/elasticsearch-river-wikipedia |
<|start_filename|>TimeMachine.c<|end_filename|>
#include <CoreFoundation/CoreFoundation.h>
#include "utils.h"
int main() {
if (getuid() != 0) {
setuid(0);
}
if (getuid() != 0) {
printf("Can't set uid as 0.\n");
return 1;
}
run_system("/etc/rc.d/snapshotcheck");
CFDict... | Halo-Michael/TimeMachine-on-iOS |
<|start_filename|>examples/libs/lv_example_libs.h<|end_filename|>
/**
* @file lv_example_libs.h
*
*/
#ifndef LV_EXAMPLE_LIBS_H
#define LV_EXAMPLE_LIBS_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "bmp/lv_example_bmp.h"
#include "gif/lv_example_g... | qq49707555/lvgl |
<|start_filename|>include/openpose/pose/wPoseExtractorNet.hpp<|end_filename|>
#ifndef OPENPOSE_POSE_W_POSE_EXTRACTOR_NET_HPP
#define OPENPOSE_POSE_W_POSE_EXTRACTOR_NET_HPP
#include <openpose/core/common.hpp>
#include <openpose/pose/poseExtractorNet.hpp>
#include <openpose/thread/worker.hpp>
namespace op
{
templat... | purushothamgowthu/openpose |
<|start_filename|>lib/sessions/corestore.js<|end_filename|>
const { intoPeer } = require('../common')
module.exports = class CorestoreSession {
constructor (client, sessionState, corestore) {
this._client = client
this._corestore = corestore
this._sessionState = sessionState
const feedListener = (fe... | tomasol/hyperspace |
<|start_filename|>Sample.Model/Models/LowWorkloadObject.cs<|end_filename|>
namespace BFF.DataVirtualizingCollection.Sample.Model.Models
{
public interface ILowWorkloadObject : ISomeWorkloadObject
{
}
internal class LowWorkloadObject : SomeWorkloadObject, ILowWorkloadObject
{
public LowWorkl... | Yeah69/BFF.DataVirtualizingCollection |
<|start_filename|>doc/adts_data.go<|end_filename|>
package main
import (
"fmt"
"os"
)
var f *os.File = nil
func write(data []byte) {
if f == nil {
var err error
f, err = os.Create("adts_data.aac")
if err != nil {
panic(err)
}
}
f.Write(data)
}
func main() {
fmt.Println("ffmpeg -i adts_data.aac -aco... | ylcrow/go-fdkaac |
<|start_filename|>range-slider.js<|end_filename|>
/*!
*
* =======================================================================
* THE SIMPLEST JAVASCRIPT CUSTOM RANGE SLIDER
* Author: <NAME> <https://github.com/tovic>
* =======================================================================
*
* This is free ... | lutzhamel/kmeans |
<|start_filename|>Sources/Program.cs<|end_filename|>
using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CVE_2020_0688_Scanner
{
class Program
... | onSec-fr/CVE-2020-0688-Scanner |
<|start_filename|>DetectorDescription/Core/src/DDSolid.cc<|end_filename|>
#include "DetectorDescription/Core/interface/DDSolid.h"
#include "DetectorDescription/Core/interface/DDSolidShapes.h"
#include <ostream>
#include <string>
#include <array>
#include "DetectorDescription/Core/src/Assembly.h"
#include "DetectorDes... | soumyadipbarman/cmssw |
<|start_filename|>app/backend/ServerRequester.js<|end_filename|>
"use strict";
const http = require('http');
const host = 'cromberg.blweb.ru';
function ServerRequester() {
}
ServerRequester.prototype.notify = function (oldSettings, newSettings) {
let requestData = null;
let doRequest = false;
if (newSet... | Profins/IncomeAssess |
<|start_filename|>test/url_parser.test.js<|end_filename|>
const expect = require("chai").expect;
const UrlParser = require("../url_parser").UrlParser;
let urlAddress =
"https://test.address.com:2603/route/to/page/?climate=change&sea-level=rising";
let urlPattern = "";
describe("UrlParser", () => {
it("should retu... | jorgegorka/url-params-parser |
<|start_filename|>compassservant/src/main/java/com/dyzs/compassservant/ColorUtil.java<|end_filename|>
package com.dyzs.compassservant;
import android.graphics.Color;
import java.util.Random;
public class ColorUtil {
/**
* 随机生成漂亮的颜色
* @return
*/
public static int randomColor() {
Random random = new Random()... | dyzs/CompassServant |
<|start_filename|>src/components/TodoForm.js<|end_filename|>
import React from 'react'
export default props =>
<form>
<input
type='text'
className="new-todo"
placeholder="What needs to be done?"/>
</form>
| togo-mentor/cypress-tutorial-build-todo-starter |
<|start_filename|>node_modules/sortedlist/test/sample.js<|end_filename|>
var SortedList = require("../SortedList");
function test() {
// sample : ranges with no overlap
var list = SortedList.create( {
filter: function(val, pos) {
return (this[pos] == null || (this[pos] != null && this[pos][1] < va... | HosinQM/FineProject |
<|start_filename|>src/ads.json<|end_filename|>
{
"isTesting":true,
"rateModel":1,
"platforms":[
{"class":"KeymobAdapter","priority":50,"key1":"1"},
{"class":"AdmobAdapter","priority":50,"key1":"<KEY>","key2":"<KEY>"},
{"class":"AmazonAdapter","priority":50,"key1":"amazon ad id"},
{"class":"ChartboostAdapter","priority"... | keymobdev/Air-ANE-Keymob |
<|start_filename|>avrocli/parse.go<|end_filename|>
package main
import (
"fmt"
"io/ioutil"
"os"
"strings"
"github.com/sadlil/go-avro-phonetic"
"github.com/spf13/cobra"
)
func NewParseCmd() *cobra.Command {
var filePath string
cmd := &cobra.Command{
Use: "parse",
Short: "file or text to parse",
Run: f... | sadlil/go-avro-phonetic |
<|start_filename|>Makefile<|end_filename|>
.PHONY: install_deps
install_deps:
# TODO: Use the Python zipfile module so we can remove this dependency.
zip --version > /dev/null || { echo 'Error: Please install the "zip" utility using your system package manager (e.g. apt)'; exit 1; }
pip install -r requirements.txt -... | Damien-75/Chinese-Prestudy |
<|start_filename|>tests/vendor/cget/pkg/pqrs-org__cpp-string/install/include/pqrs/string/trim.hpp<|end_filename|>
#pragma once
// (C) Copyright <NAME> 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See http://www.boost.org/LICENSE_1_0.txt)
#include <algorithm>
#include <cctype>
#include <stri... | pqrs-org/cpp-osx-frontmost_application_monitor |
<|start_filename|>service.go<|end_filename|>
package rest
import "net/http"
// Service holds application scope broker, logger and metrics adapters
type Service struct {
Broker Broker
Logger Logger
Metrics Metrics
}
// UseBroker - set the desired broker
func (s *Service) UseBroker(b Broker) {
s.Broker = b
}
//... | dndungu/morest |
<|start_filename|>tests/Flywheel/FlywheelTest.js<|end_filename|>
const {
makeComptroller,
makeCToken
} = require('../Utils/Compound');
const {
etherExp,
etherDouble,
etherUnsigned
} = require('../Utils/Ethereum');
async function compAccrued(comptroller, user) {
return etherUnsigned(await call(comptroller, ... | antlia-io/compound-protocol |
<|start_filename|>__fixtures__/say-#-hi.js<|end_filename|>
console.log('Hello remark-code-import!');
console.log('This is another line...');
console.log('This is the last line');
console.log('Oops, here is another');
<|start_filename|>gatsby/index.js<|end_filename|>
const toGatsbyRemarkPlugin = require('to-gatsby-rem... | forbesmyester/remark-code-import |
<|start_filename|>recycleview/src/main/java/com/hejunlin/tvsample/DetailListActivity.java<|end_filename|>
/*
* Copyright (C) 2016 hejunlin <<EMAIL>>
* Github:https://github.com/hejunlin2013/TVSample
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | dyjm2012/admin |
<|start_filename|>hacs.json<|end_filename|>
{
"name": "Office 365 Integration",
"homeassistant": "0.103",
"persistent_directory": ".O365-token-cache",
"render_readme": true
}
<|start_filename|>custom_components/o365/manifest.json<|end_filename|>
{
"domain": "o365",
"name": "Office 365 Calendar... | mshish/O365-HomeAssistant |
<|start_filename|>func/helpers/jwt-helpers.js<|end_filename|>
const jwt = require("jsonwebtoken");
function createJwt(data, duration) {
const options = {
issuer: 'ban-appeals-backend'
};
if (duration) {
options.expiresIn = duration;
}
return jwt.sign(data, process.env.JWT_SECRET, ... | Towsif12/discord-ban-appeals |
<|start_filename|>version/version_test.go<|end_filename|>
/*
Copyright 2020 The Flux 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 r... | defreng/pkg |
<|start_filename|>src/main/java/com/github/ghthou/googleauthenticator/GoogleAuthenticatorIntegrationApplication.java<|end_filename|>
package com.github.ghthou.googleauthenticator;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springfr... | gh-thou/study-googleAuthenticator |
<|start_filename|>docs/build/html/example.html<|end_filename|>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="Python">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=... | bmlsoc/PyBML |
<|start_filename|>test/test-version.js<|end_filename|>
// Copyright IBM Corp. 2015. All Rights Reserved.
// Node module: strongloop
// This file is licensed under the Artistic License 2.0.
// License text available at https://opensource.org/licenses/Artistic-2.0
'use strict';
var debug = require('debug')('strongloop:... | ashumz/strongloop |
<|start_filename|>init.bat<|end_filename|>
::chcp 65001
pip install -r requirements.txt
cmd.exe
<|start_filename|>Dockerfile<|end_filename|>
FROM python:3.6-alpine
MAINTAINER zsnmwy <<EMAIL>>
ENV LIBRARY_PATH=/lib:/usr/lib
WORKDIR /app
RUN apk add --no-cache --virtual bili git build-base python-dev py-pip jpeg-dev... | Liu-0726/bili2.0 |
<|start_filename|>jbox2d-library/src/main/java/org/jbox2d/dynamics/Body.java<|end_filename|>
/*******************************************************************************
* Copyright (c) 2013, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* a... | michaelboccara/jbox2d |
<|start_filename|>_components/offcanvas/offcanvas.html<|end_filename|>
<button class="fr-offcanvas-open js-fr-offcanvas-open" aria-controls="offcanvas-1">
Open #1
</button>
<button class="fr-offcanvas-open js-fr-offcanvas-open" aria-controls="offcanvas-2">
Open #2
</button>
<section class="fr-offcanvas fr-offcanvas--... | hoojaoh/frend.co |
<|start_filename|>style.css<|end_filename|>
/* generic */
html, body {
margin: 0;
font-size: 20px;
background: gray;
}
div {
-webkit-box-sizing: border-box;
}
#frame {
width: 400px;
height: 515px;
background: white;
}
#frame > table {
width: 100%;
height: 100%;
border: 0;
bor... | RolandColored/kobo-display |
<|start_filename|>src/core/meshcop/dataset_manager_ftd.cpp<|end_filename|>
/*
* Copyright (c) 2016, The OpenThread Authors.
* 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. Redistri... | sarah-iot/openthread |
<|start_filename|>Projects/iOS < 6/PSUpdateApp/MainViewController.h<|end_filename|>
//
// MainViewController.h
// PSUpdateApp
//
// Created by iBo on 18/02/13.
// Copyright (c) 2013 D-Still. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainViewController : UIViewController
@end
<|start_filename|>... | danielebogo/PSUpdateApp |
<|start_filename|>public/js/upload.js<|end_filename|>
// drag to upload
var fileInput = document.getElementById('image-input');
var urlInput = document.getElementById('select-url-input');
window.addEventListener('paste', e =>
{
if (e.clipboardData.getData('text/plain') !== '')
{
// contains text, could be a URL
... | lfiore/upld |
<|start_filename|>GPhotoApp.js<|end_filename|>
/**
* GitHub https://github.com/tanaikech/GPhotoApp<br>
* Create new album.<br>
* @param {Object} object Object
* @return {Object} Return Object
*/
function createAlbum(object) {
return new GPhotoApp().CreateAlbum(object);
}
/**
* Get album list.<br>
* @param ... | tanaikech/GPhotoApp |
<|start_filename|>start-client/src/components/utils/Hash.js<|end_filename|>
import queryString from 'query-string'
import { toast } from 'react-toastify'
import { useContext, useEffect, useState } from 'react'
import { AppContext } from '../reducer/App'
import { InitializrContext } from '../reducer/Initializr'
import ... | ZheSun88/start.spring.io |
<|start_filename|>test/context.spec.js<|end_filename|>
import chai, { expect } from 'chai';
import ApiModule from '../src';
describe('context.metadataKeys', () => {
it('single module', () => {
const request = new ApiModule({
metadatas: {
interfaceA: {
name:... | CalvinVon/axios-api-module |
<|start_filename|>source/cheer_list.json<|end_filename|>
[
"Cheer",
"DoodleCheer",
"BibleThump",
"cheerwhal",
"Corgo",
"uni",
"ShowLove",
"Party",
"SeemsGood",
"Pride",
"Kappa",
"FrankerZ",
"HeyGuys",
"DansGame",
"EleGiggle",
"TriHard",
"Kreygasm",
"4Head",
"SwiftRage",
"NotLikeT... | feelsogood0705/dcconfeelsogood |
<|start_filename|>examples/popups.js<|end_filename|>
document.addEventListener('DOMContentLoaded', function (event) {
var button = document.querySelector('.animate-slide'),
closeButton = document.querySelector('.animation-container__close'),
radios = document.getElementsByName('animation'),
animationTypeSpan = d... | fnnzzz/AnimateTransition |
<|start_filename|>bem-platform/pages/index/index.min.css<|end_filename|>
html {
height: 100%;
}
.page {
height: 100%;
margin: 0;
padding: 0;
background: #EEE;
font: 13px Tahoma, Sans-Serif;
}
.page__inner {
width: 700px;
min-height: 100%;
margin: auto;
background: #FFF;
}
.heading {
margin: ... | starrohan999/holy-grail-markup |
<|start_filename|>package-lock.json<|end_filename|>
{
"name": "s3-mongo-backup",
"version": "2.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"aws-sdk": {
"version": "2.82.0",
"resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.82.0.tgz",
"integrity": "sha1-qUz+k... | ishanjain28/s3-mongo-backup |
<|start_filename|>Assets/HhotateA/MagicalDresserInventorySystem/Editor/MagicalDresserInventorySaveData.cs<|end_filename|>
/*
AvatarModifyTools
https://github.com/HhotateA/AvatarModifyTools
Copyright (c) 2021 @HhotateA_xR
This software is released under the MIT License.
http://opensource.org/licenses/mit-licen... | Narazaka/AvatarModifyTools |
<|start_filename|>c/tests/simple_test.c<|end_filename|>
// THE BEERWARE LICENSE (Revision 42):
// <thenoviceoof> wrote this file. As long as you retain this notice you
// can do whatever you want with this stuff. If we meet some day, and you
// think this stuff is worth it, you can buy me a beer in return
// - <NAME> (... | backbord/base92 |
<|start_filename|>ohm/Voxel.h<|end_filename|>
// Copyright (c) 2020
// Commonwealth Scientific and Industrial Research Organisation (CSIRO)
// ABN 41 687 119 230
//
// Author: <NAME>
#ifndef OHMVOXEL_H
#define OHMVOXEL_H
#include "OhmConfig.h"
#include "Key.h"
#include "MapChunk.h"
#include "MapLayer.h"
#include "Ma... | csiro-robotics/ohm |
<|start_filename|>Makefile<|end_filename|>
DOCUMENT := dialogue
view: $(DOCUMENT).pdf
xdg-open $<
.PHONY: $(DOCUMENT).pdf
$(DOCUMENT).pdf:
latexmk -pdf $(DOCUMENT)
.PHONY: $(DOCUMENT).icml
$(DOCUMENT).icml:
pandoc -s -f latex -t icml -o $@ --bibliography=$(DOCUMENT).bib -C --csl=splncs.csl $(DOCUMENT).tex
.PHONY... | nlpub/dialogue-latex |
<|start_filename|>src/test/kotlin/net/corda/yo/Tests.kt<|end_filename|>
package net.corda.yo
import net.corda.core.node.services.queryBy
import net.corda.core.node.services.vault.QueryCriteria.VaultCustomQueryCriteria
import net.corda.core.node.services.vault.builder
import net.corda.core.utilities.getOrThrow
import n... | roger3cev/yo-cordapp |
<|start_filename|>src/pages/account/component.js<|end_filename|>
import React, { PureComponent } from 'react'
import { StyleSheet, View, Text, Button } from 'react-native'
import { Navigation } from 'react-native-navigation'
const styles = StyleSheet.create({
login: {
margin: 20,
marginBottom: 60,
justif... | hanford/Mobile-Github-Client |
<|start_filename|>lib/plugin.js<|end_filename|>
/*!
* plugin.js - rosetta plugin for hsd.
* Copyright (c) 2020, The Handshake Developers.
* https://github.com/handshake-org/hs-rosetta
*/
'use strict';
const assert = require('bsert');
const HTTP = require('./http');
const pkg = require('./pkg');
/**
* @exports p... | tuxcanfly/hs-rosetta |
<|start_filename|>sql/dmlgen/dmltestgenerated/output_gen.go<|end_filename|>
// Code generated by corestoreio/pkg/util/codegen. DO NOT EDIT.
// Generated by sql/dmlgen. DO NOT EDIT.
// +build !ignore
// +build !ignored
package dmltestgenerated
import (
"context"
"database/sql"
"fmt"
"io"
"time"
"github.com/core... | windhooked/corestoreio |
<|start_filename|>src/main/java/org/jenkinsci/remoting/protocol/NetworkLayer.java<|end_filename|>
/*
* The MIT License
*
* Copyright (c) 2016, CloudBees, Inc., <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | Dohbedoh/remoting |
<|start_filename|>templates/errors/500.html<|end_filename|>
{% extends "base-site-fullscreen.html" %}
{% block title %} Error 404 {% endblock %}
{% block content %}
<div class="login-page">
<div class="content">
<div class="container">
<div class="row">
<div class="col-md-4 co... | DouglasBragaDev2/PredicaoIrisFlowerFlask |
<|start_filename|>app/src/main/java/com/gzsll/hupu/otto/UpdateContentPageEvent.java<|end_filename|>
package com.gzsll.hupu.otto;
/**
* Created by sll on 2016/6/3.
*/
public class UpdateContentPageEvent {
private int page;
private int totalPage;
public UpdateContentPageEvent(int page, int totalPage) {
... | ajaxsun/TLint-masters |
<|start_filename|>src/ReinhardLocal.cpp<|end_filename|>
// ReinhardLocal.cpp (HDR)
// Copyright (c) 2014, <NAME>,
// University of Bristol. All rights reserved.
//
// This program is provided under a three-clause BSD license. For full
// license terms please see the LICENSE file distributed with this
// source code.
#... | amirchohan/HDR |
<|start_filename|>src/main/java/com/coveo/FMT.java<|end_filename|>
package com.coveo;
import com.google.common.base.Charsets;
import com.google.common.io.CharSink;
import com.google.common.io.Files;
import java.io.File;
import java.io.IOException;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.... | sormuras/fmt-maven-plugin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.