Search is not available for this dataset
content stringlengths 60 399M | max_stars_repo_name stringlengths 6 110 |
|---|---|
<|start_filename|>examples/styles/models.cpp<|end_filename|>
#include "models.hpp"
// For some reason CMake could not generate moc-files correctly
// without having a cpp for an QObject from hpp.
<|start_filename|>examples/calculator/Converters.cpp<|end_filename|>
#include "Converters.hpp"
#include <QtGui/QDoubleVa... | FMichelD/nodeeditor |
<|start_filename|>smb_streams.c<|end_filename|>
/* ------------------------------------------------------------------
* This file is part of libsmbclient-php: Samba bindings for PHP.
* Libsmbclient-php is licensed under the BSD 2-clause license:
* ------------------------------------------------------------------
*... | remicollet/libsmbclient-php |
<|start_filename|>enum_lsass_handles.c<|end_filename|>
#ifndef UNICODE
#define UNICODE
#endif
#include <windows.h>
#include <stdio.h>
#include <wchar.h>
#define NT_SUCCESS(x) ((x) >= 0)
#define STATUS_INFO_LENGTH_MISMATCH 0xc0000004
#define SystemHandleInformation 16
#define ObjectBasicInformation 0
#de... | kartikdurg/Enum-LSASS |
<|start_filename|>sample-app/src/main/java/com/dicedmelon/example/android/MainActivity.java<|end_filename|>
package com.dicedmelon.example.android;
import androidx.databinding.DataBindingUtil;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.dicedmelon.example.android.databinding.A... | tzltdc/example-android |
<|start_filename|>linux-3.16/drivers/net/wireless/rtlwifi/rtl8723be/table.c<|end_filename|>
/******************************************************************************
*
* Copyright(c) 2009-2014 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms ... | jj1232727/system_call |
<|start_filename|>include/slce/slce.hpp<|end_filename|>
/*
* Copyright (c) 2019 <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 restriction, including without limitation... | Fadis/slce |
<|start_filename|>rollup.config.js<|end_filename|>
import typescript from "@rollup/plugin-typescript";
import { resolve } from "path";
import ttypescript from "ttypescript";
const tsconfig = resolve(__dirname, "tsconfig.build.json");
export default {
input: "src/index.ts",
output: {
dir: "dist",
format: "... | sahabpardaz/react-store |
<|start_filename|>demo/index.js<|end_filename|>
const Koa = require('koa')
const Router = require('koa-router')
const fetch = require('node-fetch')
const GeneralNewsExtractor = require('general-news-extractor')
const app = new Koa()
const router = new Router()
router.get('/', (ctx, next) => {
ctx.response.type = 'h... | zenghongtu/general-news-extractor-js |
<|start_filename|>test/runtests.jl<|end_filename|>
using Hiccup
using Test
@tags br, link
# hiccup div conflicts with main div, so use this as compromise
ediv = Hiccup.div
@test occursin("class=\"class1 class2\"", sprint(Hiccup.render, Node(:img, "#id.class1.class2", Dict(:src=>"http://www.com"))))
classMatching = ... | UnofficialJuliaMirror/Hiccup.jl-9fb69e20-1954-56bb-a84f-559cc56a8ff7 |
<|start_filename|>site/src/components/Button/Button.js<|end_filename|>
import React from 'react'
export const buttonStyles = {
border: '2px solid transparent',
borderRadius: '4px',
margin: 0,
padding: '0.35rem',
width: 'auto',
minWidth: 'auto',
overflow: 'visible',
background: 'transparent',
color: '... | crosscompile/release-notes |
<|start_filename|>dist/mini-html-parser.js<|end_filename|>
;(function(){
/**
* Require the given path.
*
* @param {String} path
* @return {Object} exports
* @api public
*/
function require(path, parent, orig) {
var resolved = require.resolve(path);
// lookup failed
if (null == resolved) {
orig = orig... | matthewmueller/mini-html-parser |
<|start_filename|>PYPhotoBrowser/Controller/PYPhotosReaderController.h<|end_filename|>
// 代码地址: https://github.com/iphone5solo/PYPhotosView
// 代码地址: http://code4app.com/thread-8612-1-1.html
// Created by CoderKo1o.
// Copyright © 2016年 iphone5solo. All rights reserved.
// 浏览图片的控制器(一般用于网络片浏览)
#import <UIKit/UIKit.... | jfdream/PYPhotoBrowser |
<|start_filename|>Makefile<|end_filename|>
build-image:
docker build . \
--tag opendatacube/datacube-alchemist:test \
--build-arg ENVIRONMENT=test
build-prod-image:
docker build . \
--tag opendatacube/datacube-alchemist:latest \
--build-arg ENVIRONMENT=deployment
run-prod:
docker run --rm \
opendatacube/... | erin-telfer/datacube-alchemist |
<|start_filename|>platform/viewer/cypress/integration/visual-regression/PercyCheckOHIFRoutes.spec.js<|end_filename|>
//We excluded the tests for '**/studies/**' because the bulk/all of our other study/viewer tests use this route
describe('Visual Regression - OHIF Routes', function() {
beforeEach(function() {
cy.... | zhjfu/Viewers |
<|start_filename|>src/structures/ProductMetadata.js<|end_filename|>
const Base = require('./Base');
class ProductMetadata extends Base {
constructor(client, data) {
super(client);
if (data) this._patch(data);
}
_patch(data) {
/** Product ID */
this.id = data.id;
/*... | BagasNS/whatsapp-web.js |
<|start_filename|>PixelMap/Pixel.cs<|end_filename|>
using System;
using System.CodeDom;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PixelMapSharp
{
public struct Pixel
{
/// <summary>
/// Creates a pixel ... | ruarai/PixelMap |
<|start_filename|>app/views/tags/aggregatedMetrics.scala.html<|end_filename|>
@*
* Copyright 2016 LinkedIn Corp.
*
* 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/lice... | Viking-Bird/dr-elephant-test |
<|start_filename|>Dockerfile<|end_filename|>
FROM lanvige/node-deploy:9.5.0-alpine-onbuild
LABEL maintainer="<EMAIL>"
#ENTRYPOINT ["pm2", "start", "--no-daemon", "/app/bin/api"]
# CMD []
| ReganHe/koa2-ts-boilerplate |
<|start_filename|>src/index.js<|end_filename|>
// const impl = require('./core');
// // registers the extension on a cytoscape lib ref
// let register = function( cytoscape ){
// if( !cytoscape ){ return; } // can't register if cytoscape unspecified
// cytoscape( 'core', 'layoutUtilities', impl ); // register wit... | ahmethalac/cytoscape.js-layout-utilities |
<|start_filename|>manager/examples/programs/cgroup/probe.go<|end_filename|>
// Code generated by go-bindata. DO NOT EDIT.
// sources:
// ebpf/bin/probe.o
package main
import (
"bytes"
"compress/gzip"
"fmt"
"io"
"io/ioutil"
"os"
"path/filepath"
"strings"
"time"
)
func bindataRead(data []byte, name string) (... | achntrl/ebpf |
<|start_filename|>4_semestre/teste_de_software/atividade_avaliacao_1/src/aula/Pessoa.java<|end_filename|>
package aula;
public class Pessoa {
public String nome;
@Override
public boolean equals(Object o) {
Pessoa p = (Pessoa) o;
return p.nome == this.nome;
}
}
<|start_filename|>4_semestre/teste_de_software/... | M3nin0/revisor |
<|start_filename|>src/acorn/parser/error-messages.js<|end_filename|>
import MESSAGE from "../../constant/message.js"
import errors from "../../parse/errors.js"
import shared from "../../shared.js"
import { tokTypes as tt } from "../../acorn.js"
function init() {
const {
ILLEGAL_AWAIT_IN_NON_ASYNC_FUNCTION,
... | michaelfig/esm |
<|start_filename|>src/components/header.js<|end_filename|>
import { Box, Flex, Heading, Link, Spacer } from '@chakra-ui/react'
import { Link as GatsbyLink } from 'gatsby'
import PropTypes from 'prop-types'
import React from 'react'
import ThemeToggle from './theme-toggle'
const Header = ({ siteTitle }) => (
<Box as=... | molebox/gatsby-starter-chakra-ui |
<|start_filename|>cmd/db_opener_sequel_ace.go<|end_filename|>
package cmd
import (
_ "embed"
"fmt"
"github.com/mitchellh/cli"
"io/ioutil"
"os"
"text/template"
"time"
)
type DBOpenerSequelAce struct {
ui cli.Ui
}
//go:embed files/sequel_ace_spf_template.xml
var sequelAceSpfTemplate string
func (o *DBOpenerSe... | roots/trellis-cl |
<|start_filename|>AntiNETCLI/Program.cs<|end_filename|>
using AntiNET2;
using AntiNET2.Core.Models;
using AntiNET2.Core.Models.Database;
using AntiNET2.Core.Providers;
using AntiNET2.Core.Providers.Database;
using AntiNET2.Core.Providers.DetectionEngines.Managed;
using AntiNET2.Core.Providers.DetectionEngines.Native;
... | Panthere/AntiNET |
<|start_filename|>tnt/tnt_io.c<|end_filename|>
/*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this list of conditions and the... | tsafin/tarantool-c |
<|start_filename|>src/function.js<|end_filename|>
/** @module Function */
/**
* 将函数fn转为一次函数。返回函数,函数只能执行一次。
* @function noce
* @param {function} fn - 执行的函数。
* @return {function}
* @example
* const fn = once(() => '5')
* console.log([fn(), fn()])
* // => ['5', undefined]
*/
export const once = fn => {
let cal... | JofunLiang/usually |
<|start_filename|>Makefile<|end_filename|>
clean:
rm -rf node_modules parts
rm -rf .sass-cache
rm -rf src/snowflakes/static/css
| IGVF-DACC/snovault |
<|start_filename|>src/content/top-bar.json<|end_filename|>
{
"bar": {
"text": "Learn how users are using Kata Containers at OpenInfra Live: Keynotes, November 17-18",
"link": "https://www.eventbrite.com/e/openinfra-live-keynotes-tickets-169507530587",
"button": "REGISTER FOR FREE"
}
}
| kata-containers/www.katacontainers.io |
<|start_filename|>examples/rrule/rrule.go<|end_filename|>
package main
import (
"fmt"
"strings"
"time"
"github.com/apognu/gocal"
)
const ics = `
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20190202T130000
DTEND;TZID=Europe/Paris:20190202T150000
DTSTAMP:20180816T112126Z
UID:<EMAIL>
RECURRENCE-ID;TZID=Europe/Paris:2019... | danesparza/gocal |
<|start_filename|>Gruntfile.js<|end_filename|>
// Grunt configuration.
module.exports = function(grunt) {
grunt.initConfig({
connect: {
server: {
options: {
keepalive: true,
hostname: '127.0.0.1',
port: 8080,
base: '.'
}
}
},
requirejs:... | nange/requirejs-guide |
<|start_filename|>src/components/index.js<|end_filename|>
import AnimatedTextSwitch from './AnimatedTextSwitch';
import AnimatedBackgroundSwitch from './AnimatedBackgroundSwitch';
import AnimatedIconSwitch from './AnimatedIconSwitch';
import ToggleButton from './ToggleButton';
export {
AnimatedTextSwitch,
Animated... | gaykov/minimal-quotes |
<|start_filename|>clean_server/resources/app/models/User.js<|end_filename|>
var Sequelize = require('sequelize')
//Sequelize needed for sequelize strings
//attributes here are used when
//we make our connection in
//models.js
var attributes = {
username: {
type: Sequelize.STRING,
allowNull: false,
unique:... | danieltoorani/adminScheduler |
<|start_filename|>server.js<|end_filename|>
import "dotenv/config.js";
import express from "express";
import rateLimit from "express-rate-limit";
import list from "./src/list.js";
import video from "./src/video.js";
import image from "./src/image.js";
import file from "./src/file.js";
import checkSecret from "./src/che... | soruly/trace.moe-media |
<|start_filename|>common/tests/test_alloc.c<|end_filename|>
/*
* Copyright (c) 2007,2009,2012 by Internet Systems Consortium, Inc. ("ISC")
*
* We test the functions provided in alloc.c here. These are very
* basic functions, and it is very important that they work correctly.
*
* You can see two different styles o... | xrg/dhcp-mageia-test |
<|start_filename|>gulpfile.js<|end_filename|>
"use strict";
const caniuse = require("caniuse-db/data");
const convertEncoding = require("gulp-convert-encoding");
const fs = require("fs-extra");
const gulp = require("gulp");
const log = require('fancy-log');
const htmlhint = require("gulp-htmlhint");
const iconv = requi... | gucong3000/css-book |
<|start_filename|>software/Inc/curelib_inc/curemisc.h<|end_filename|>
/*
*******************************************************************************
* [curemisc.h]
*
* This program is under the terms of the GPLv3.
* https://www.gnu.org/licenses/gpl-3.0.html
*
* Copyright(c) 2017 Keshikan (www.kesh... | konosubakonoakua/pcbtc |
<|start_filename|>launcher.user.js<|end_filename|>
/*The MIT License (MIT)
Copyright (c) 2015 Apostolique
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 li... | will101266/agariobot |
<|start_filename|>src/base64.h<|end_filename|>
#pragma once
// If user specified '*pdst' buffer, have to trust the length is
// enough and won't overflow. But this allows for using a static or
// stack-based buffer in controlled circumstances. If '*pdst' is zero
// a buffer will be allocated which must subsequently be... | nickmain/trealla |
<|start_filename|>Assets/VRM10/Runtime/Format/Constraints/Format.g.cs<|end_filename|>
// This file is generated from JsonSchema. Don't modify this source code.
using System;
using System.Collections.Generic;
namespace UniGLTF.Extensions.VRMC_node_constraint
{
public enum ObjectSpace
{
model,
... | gonnavis/UniVRM |
<|start_filename|>include/shadesmar/rpc/client.h<|end_filename|>
/* MIT License
Copyright (c) 2021 <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 restriction, including without li... | Watch-Later/shadesmar |
<|start_filename|>Dockerfile<|end_filename|>
FROM continuumio/anaconda3:2019.07
RUN /opt/conda/bin/conda update -y conda
RUN mkdir /vampire
COPY Dockerfile /vampire/
COPY install/ /vampire/install/
WORKDIR /vampire
# Install conda dependencies.
RUN /opt/conda/bin/conda env create -f install/environment.yml
RUN /opt/c... | kmayerb/vampire |
<|start_filename|>test/flutter_speedometer_test.dart<|end_filename|>
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_speedometer/flutter_speedometer.dart';
void main() {
test('adds one to input values', () {
final speedometer = Speedometer();
});
}
<|start_filename|>lib/src/painter.... | lhamycodes/Flutter-Speedometer |
<|start_filename|>processor.go<|end_filename|>
// Copyright 2016 Google Inc. All Rights Reserved.
// Copyright 2016 Palm Stone Games, 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 ... | jbclabs/kube-cert-manager |
<|start_filename|>JotunnLib/GUI/InGameConfig.cs<|end_filename|>
// JotunnLib
// a Valheim mod
//
// File: InGameConfig.cs
// Project: JotunnLib
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using BepInEx;
using BepInEx.Configuration;
using... | heinermann/Jotunn |
<|start_filename|>theme_source/stamp-html/video-bg/6-home-style-six/assets/icons/icons.css<|end_filename|>
@charset "UTF-8";
@font-face {
font-family: "stamp-icons";
src: url("fonts/stamp-icons.woff") format("woff"),
url("fonts/stamp-icons.ttf") format("truetype");
font-weight: normal;
font-style: normal;
... | Groundswell/swell_theme_stamp |
<|start_filename|>lua/autorun/client/autorun.lua<|end_filename|>
WUMA = WUMA or {}
include("wuma/client/init.lua")
<|start_filename|>lua/autorun/server/autorun.lua<|end_filename|>
WUMA = WUMA or {}
include("wuma/init.lua")
| Kill-Zone/wuma |
<|start_filename|>.swagger-codegen/config.json<|end_filename|>
{
"gemName": "ynab",
"moduleName": "YNAB",
"gemDescription": "Ruby gem wrapper for the YNAB API. Read the documentation at https://api.youneedabudget.com",
"gemHomepage": "https://github.com/ynab/ynab-sdk-ruby",
"gemLicense": "Apache-2.0",
"gemA... | ahey/ynab-sdk-ruby |
<|start_filename|>src/handle_join_leave.cxx<|end_filename|>
/************************************************************************
Modifications Copyright 2017-2019 eBay Inc.
Author/Developer(s): <NAME>
Original Copyright:
See URL: https://github.com/datatechnology/cornerstone
Licensed under the Apache License, Ve... | fankux/NuRaft |
<|start_filename|>src/http_con.c<|end_filename|>
/*
* Copyright (c) 2003-2021 <NAME> <<EMAIL>>
* All rights reserved. See MIT LICENSE for redistribution.
*/
#include "adifall.ext"
#include "epump.h"
#include "http_srv.h"
#include "http_con.h"
#include "http_srv_io.h"
#include "http_msg.h"
#include "http_mgmt.h"
#in... | kehengzhong/ejet |
<|start_filename|>_layouts/mediarecord.html<|end_filename|>
---
layout: default
---
<div class="mediarecord" style="display: flex">
{% assign mediarecord = page.idigbio %}
{% include media.html mediarecord=mediarecord %}
</div>
<|start_filename|>data.json<|end_filename|>
---
---
{%- assign records = site.pages -%... | jhpoelen/bats |
<|start_filename|>impressum.html<|end_filename|>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Impressum & Datenschutz</title>
<style>
body {
background: #161719;
font-family: "Courier New", Courier, monospace;
color: orange;
ma... | cinemast/covid19-at |
<|start_filename|>graph/graph.go<|end_filename|>
package graph
import (
"fmt"
"math"
humanize "github.com/dustin/go-humanize"
"github.com/rs/jplot/data"
chart "github.com/wcharczuk/go-chart"
"github.com/wcharczuk/go-chart/drawing"
)
func init() {
chart.DefaultBackgroundColor = chart.ColorTransparent
chart.De... | Rutori/jplot |
<|start_filename|>bliss._.js<|end_filename|>
(function($) {
"use strict";
if (!Bliss || Bliss.shy) {
return;
}
var _ = Bliss.property;
// Methods requiring Bliss Full
$.add({
// Clone elements, with events and data
clone: function () {
console.warn("$.clone() is deprecated and will be removed in a future versio... | LeaVerou/bliss |
<|start_filename|>apps/proxy_server/src/proxy_server_sup.erl<|end_filename|>
%%%-------------------------------------------------------------------
%%% @author <NAME> <<EMAIL>>
%%% @copyright (C) 2013, <NAME>
%%% @doc
%%%
%%% @end
%%% Created : 8 Apr 2013 by <NAME> <<EMAIL>>
%%%----------------------------------------... | andelf/erlang-proxy |
<|start_filename|>app/src/main/java/com/flavienlaurent/spanimated/MutableForegroundColorSpan.java<|end_filename|>
package com.flavienlaurent.spanimated;
import android.graphics.Color;
import android.os.Parcel;
import android.text.TextPaint;
import android.text.style.ForegroundColorSpan;
public class MutableForeground... | flavienlaurent/spans |
<|start_filename|>index.ios.js<|end_filename|>
import React, { Component } from 'react';
import { AppRegistry } from 'react-native';
import { Provider } from 'react-redux';
import configureStore from './app/configureStore';
import Main from './app/containers/main';
const store = configureStore();
class Root extends C... | ivanzotov/react-native-example |
<|start_filename|>doc/source/_static/baobab.css<|end_filename|>
.class .method, .class .staticmethod{
border-bottom:1px dotted black;
}
div.warning p.admonition-title {
background-color:#EDD26A;
color:#AD3535;
}
div.warning {
border-color:#776C0B;
}
.field-name {
white-space:nowrap;
}
.download... | ljubodrag/Baobab |
<|start_filename|>website/sidebars.js<|end_filename|>
module.exports = {
apiSidebar: {},
wikiSidebar: {
'Getting started': [
'wiki/installation',
'wiki/stub-generation',
'wiki/starting-server',
'wiki/basic-middleware',
],
Features: [
'wiki/middlewares',
'wiki/metadata... | Cheerazar/protocat |
<|start_filename|>lib/hooks/http/middleware/load.js<|end_filename|>
/**
* Module dependencies
*/
var _ = require('lodash');
/**
* `use` middleware in the correct order.
*
* @param {express.app} app
* @param {Object} wares - dictionary of preconfigured middleware
* @param {sails.app} sails
*/
module.exp... | kevinburke/sails |
<|start_filename|>mobilewallet/support/security/fingerprint.html<|end_filename|>
<!doctype html>
<html>
<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>What is fingerprint authent... | muhammad-05/ravenproject.github.io |
<|start_filename|>server/stripe/stripe.js<|end_filename|>
console.log('Hello Nodejs with Lambda');
<|start_filename|>src/index-old.html<|end_filename|>
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, m... | secretshardul/open-paywall |
<|start_filename|>src/FakerGenerator.js<|end_filename|>
import faker from 'faker';
export default class FakerGenerator {
constructor(locale, category, method, args) {
this.category = category;
this.method = method;
this.args = args;
this.faker = faker;
this.faker.locale = locale;
}
generate(... | bymost/Paw-FakerDynamicValue |
<|start_filename|>envs/checkpoints/space_shooter/params.json<|end_filename|>
{
"batch_mode": "truncate_episodes",
"clip_param": 0.2,
"entropy_coeff": 0.0001,
"entropy_coeff_schedule": null,
"env": "godot",
"env_config": {
"action_repeat": null,
"env_path": "envs/example_envs/builds/SpaceShooter/spac... | r0nk/godot_rl_agents |
<|start_filename|>delta.h<|end_filename|>
#ifndef DELTA_H_
#define DELTA_H_
#include "common.h"
#define HASH_LIMIT 64
#define RABIN_SHIFT 23
#define RABIN_WINDOW 16
#define DELTA_SIZE_MIN 4
/*
* The maximum size for any opcode sequence, including the initial header
* plus Rabin window plus biggest copy.
*/
#defin... | sudeepdino008/phoenixfs |
<|start_filename|>web/scripts/build.js<|end_filename|>
const bundler = require("./bundler");
bundler.bundle();
<|start_filename|>web/src/view.css<|end_filename|>
body {
font-size: 14px;
}
.home {
height: 100%;
}
.home .site-header-fixture,
.home .site-header {
background: transparent;
}
.site-header-fixture... | boiyaa/ie6-compatible-spa |
<|start_filename|>Assets/DialogueSystem/Scripts/Models/Expression.cs<|end_filename|>
namespace DialogueManager.Models
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Different expression faces for the characters
/// </summary>
[System.... | ricgby/UnityDialogueSystem |
<|start_filename|>initializr-generator/src/main/resources/templates/Application.groovy<|end_filename|>
package {{packageName}}
import org.springframework.boot.SpringApplication
{{applicationImports}}
{{applicationAnnotations}}
class {{applicationName}} {
static void main(String[] args) {
SpringApplication.run({{a... | chtompki/initializr |
<|start_filename|>docker/Dockerfile<|end_filename|>
FROM ubuntu:20.04
MAINTAINER <NAME> <<EMAIL>>
RUN apt-get update -qq \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yqq \
python3-pip python3-dev libldap2-dev libsasl2-dev \
libmysqlclient-dev libffi-dev libssl-dev default-jre curl git \
&& pip3 ins... | adamlamers/pypicloud |
<|start_filename|>src/main/java/de/j4velin/systemappmover/MoverActivity.java<|end_filename|>
/*
* Copyright 2012 <NAME>
*
* 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:/... | emaiannone/SystemAppMover |
<|start_filename|>extension-jaxrs/src/test/java/test/io/smallrye/openapi/runtime/scanner/TestResource3.java<|end_filename|>
package test.io.smallrye.openapi.runtime.scanner;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.... | gasper-vrhovsek/smallrye-open-api |
<|start_filename|>java/src/com/zlalanne/Message.java<|end_filename|>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: message.proto
package com.zlalanne;
public final class Message {
private Message() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry re... | zlalanne/java-python-ipc-protobuf |
<|start_filename|>broker/src/main/java/io/moquette/persistence/ByteBufDataType.java<|end_filename|>
/*
* Copyright (c) 2012-2021 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the t... | 10088/moquette |
<|start_filename|>KataTennis/Tennis.fs<|end_filename|>
module Ploeh.Katas.Tennis
type Player = PlayerOne | PlayerTwo
type Point = Love | Fifteen | Thirty
type PointsData = { PlayerOnePoint : Point; PlayerTwoPoint : Point }
type FortyData = { Player : Player; OtherPlayerPoint : Point }
type Score =
| Points of Point... | raphaelmesquita/KataTennis |
<|start_filename|>.devcontainer/Dockerfile<|end_filename|>
FROM mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu20.04
ARG BUILD_ELASTIC_STACK_VERSION="6.8.20"
ARG BUILD_TERRAFORM_VERSION="1.0.9"
# Update & Install Open JDK
RUN apt-get update && apt-get upgrade -y && apt-get install -y default-jre
# Install Terra... | dupuyjs/K2Bridge |
<|start_filename|>cocos2dx/actions/CCActionCamera.h<|end_filename|>
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 <NAME>
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
o... | nickflink/cocos2d-x |
<|start_filename|>infra/docker/Dockerfile<|end_filename|>
FROM php:7.0-apache
# Set default system timezone
RUN ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
# Install last update and php extension
RUN apt-get update && apt-get install -y --no-install-recommends \
vim \
bzip2 \
zip \
unzip \
... | continuousdemo/deploy-agent |
<|start_filename|>src/Ordering/Ordering.API/Mapping/OrderMapping.cs<|end_filename|>
using AutoMapper;
using EventBusRabbitMQ.Events;
using Ordering.Application.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ordering.API.Mapping
{
public class O... | jerysun/microshop |
<|start_filename|>assimp/code/Q3BSPFileParser.h<|end_filename|>
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2016, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without mod... | forifelse/fispTools |
<|start_filename|>ur_robot_driver/resources/ursim_driver/ursim/g5/Dockerfile<|end_filename|>
# MIT License
#
# Original from https://github.com/ahobsonsayers/DockURSim
# Copyright (c) 2019 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documenta... | shonigmann/Universal_Robots_ROS2_Driver |
<|start_filename|>bower_components/slick/examples/css/style.css<|end_filename|>
.slick {
width: 500px;
position: relative;
background: #0F0F0F;
font-family: Calibri, Candara, Arial, sans-serif;
box-shadow: 0px 0px 2px 2px #aaa; }
.slick .slick-content {
width: inherit;
text-align: center; }
.sli... | srerrereal/rafa0elreal |
<|start_filename|>resources/stubs/tailwindcss/2.0/tall-forms-preset.js<|end_filename|>
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
purge: {
content: [
'./app/**/*.php',
//if Jetstream
'./vendor/laravel/jetstream/**/*.blade.php',
... | ziming/tall-forms |
<|start_filename|>js/dimensions.js<|end_filename|>
/*
* Mapbox Print Pdf - Printing PDFs with high resolution mapbox maps
* Copyright (c) 2018 <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
* i... | MateusLehmkuhl/mapbox-print-pdf |
<|start_filename|>grpc_host/lib/src/hosting/host.dart<|end_filename|>
import 'dart:io';
import 'dart:isolate';
import 'package:grpc_host/grpc_host.dart';
abstract class Host<TAppSettings> {
Settings<TAppSettings> get settings;
final void Function(HostParameters<TAppSettings> message) entryPoint;
Host(this.ent... | BenVercammen/dart_framework |
<|start_filename|>docker/win/Dockerfile<|end_filename|>
# Dockerfile for Azure/blobxfer (Windows)
FROM python:3.9.7-windowsservercore-1809
MAINTAINER <NAME> <https://github.com/Azure/blobxfer>
ENV chocolateyUseWindowsCompression false
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]:... | Azure/blobxfer |
<|start_filename|>export/export.go<|end_filename|>
/*
* Copyright (C) 2022 FrogHub
*
* 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
*... | czlree/filecoin-sealer-recover |
<|start_filename|>tools/clang/blink_gc_plugin/tests/traceimpl_error.h<|end_filename|>
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TRACEIMPL_ERROR_H_
#define TRACEIMPL_ERROR_H_
#include "hea... | mtk-watch/android_external_v8 |
<|start_filename|>app/src/macosx64Main/kotlin/main.kt<|end_filename|>
package com.juul.sensortag
import com.juul.kable.Scanner
import com.juul.kable.State.Disconnected
import com.juul.kable.logs.Logging.Level.Data
import com.juul.kable.peripheral
import com.juul.tuulbox.logging.ConsoleLogger
import com.juul.tuulbox.lo... | JuulLabs/sensortag |
<|start_filename|>docs/nodejs/index.js<|end_filename|>
var { FIDO2Client } = require("@vincss-public-projects/fido2-client");
var fido2 = new FIDO2Client();
// fido2.on("fido2-enter-pin", function(a,b,c){
// console.log("set pin");
// // fido2.emit("fido2-enter-pin-replay","0420");
// fido2.reply("0420");
... | gitter-badger/node-onlykey |
<|start_filename|>composer.json<|end_filename|>
{
"authors": [
{
"name": "<NAME>",
"email": "<EMAIL>"
}
],
"autoload": {
"psr-4": {
"Jweety\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Jweety\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"d... | vaibhavpandeyvpz/jweety |
<|start_filename|>1-0-java-basics/1-5-0-hello-annotations/src/main/java/com/bobocode/basics/Level.java<|end_filename|>
package com.bobocode.basics;
/**
* Enum that lists all possible exercise complexity levels.
*/
public enum Level {
BEGINNER, BASIC, ADVANCED, CRAZY
}
| zav0dila/java-fundamentals-course |
<|start_filename|>src/index.js<|end_filename|>
const core = require('@actions/core');
const path = require('path');
const { Installer } = require('./installer');
(async () => {
const installer =
new Installer(core.getInput('version'), path.join(__dirname, '../src'));
try {
await installer.install();
} ca... | fabasoad/setup-cobol-action |
<|start_filename|>src/package.json<|end_filename|>
{
"name": "web-status-monitor",
"version": "1.1.0",
"description": "Ping websites at regular intervals using just GitHub Actions!",
"scripts": {
"start": "ts-node index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zyrouge... | Snzy027/web-status-monitor |
<|start_filename|>libtrue/Makefile<|end_filename|>
# $FreeBSD$
LIB= true
SHLIB_MAJOR= 0
SRCS= true.c
MAN=
.include <bsd.lib.mk>
<|start_filename|>true/Makefile<|end_filename|>
# $FreeBSD$
PROG= true
CFLAGS= -I${.CURDIR:H}/libtrue
LDADD= -L../libtrue -ltrue
OS!= uname
.if ${OS} == "FreeBSD" && exists(/usr/lib... | sbz/libtrue |
<|start_filename|>src/mapred/org/apache/hadoop/mapred/JobSubmitInfo.java<|end_filename|>
package org.apache.hadoop.mapred;
import java.io.ByteArrayOutputStream;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.DataOutputStream;
import java.io.IOException;
import org.apache.hadoop.io.Writable;
impor... | karim7262/hadoop3 |
<|start_filename|>src/router/index.js<|end_filename|>
import Vue from 'vue'
import Router from 'vue-router'
import home from './home'
import common from './common'
import doctor from './doctor'
import statistics from './statistics'
import basicInfo from './basicInfo'
import pharmacy from './pharmacy'
import register fr... | hosoneu/his_Vue |
<|start_filename|>tw.go<|end_filename|>
package goTimeWheel
import (
"container/list"
"time"
)
// TimeWheel Struct
type TimeWheel struct {
interval time.Duration // ticker run interval
ticker *time.Ticker
slots []*list.List
keyPosMap map[interface{}]int // keep each timer's postion
slotNum int
currPos int... | zheng-ji/goTimeWheel |
<|start_filename|>src/main/resources/css/JMarkPad.css<|end_filename|>
.jfx-decorator .jfx-decorator-buttons-container {
-fx-background-color: -fx-decorator-color;
}
.jfx-decorator .resize-border {
-fx-border-color: -fx-decorator-color;
-fx-border-width: 0 4 4 4;
}
.jfx-tab-pane .tab-header-background {
... | mayuso/JMarkPad |
<|start_filename|>FsCloudInit/CloudConfig.fs<|end_filename|>
namespace FsCloudInit
open System
open System.Collections.Generic
module FileEncoding =
[<Literal>]
let Base64 = "b64"
[<Literal>]
let GzipBase64 = "gz+base64"
[<Flags>]
type PosixFilePerm =
| None = 0
| Execute = 1
| Write... | ninjarobot/FsCloudInit |
<|start_filename|>helm/Dockerfile<|end_filename|>
FROM chatwork/alpine-sdk:3.12
ARG HELM_VERSION=3.7.2
LABEL version="${HELM_VERSION}"
LABEL maintainer="<EMAIL>"
LABEL maintainer="<EMAIL>"
ENV HELM_FILE_NAME helm-v${HELM_VERSION}-linux-amd64.tar.gz
WORKDIR /
RUN apk --update --no-cache add ca-certificates bash
ADD... | chatwork/dockerfiles |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.