text stringlengths 2 99.9k | meta dict |
|---|---|
/*
* Copyright (C) 2017 Schürmann & Breitmoser GbR
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This pr... | {
"pile_set_name": "Github"
} |
/*
* This file is part of OpenModelica.
*
* Copyright (c) 1998-2014, Open Source Modelica Consortium (OSMC),
* c/o Linköpings universitet, Department of Computer and Information Science,
* SE-58183 Linköping, Sweden.
*
* All rights reserved.
*
* THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 LICENSE... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace clawSoft.clawPDF.ftplib.FtpLib
{
public class FtpConnection : IDisposable
{
private readonly string _password = "";
private readonly ... | {
"pile_set_name": "Github"
} |
#topMain>li>a {
height:96px;
line-height:76px;
}
#topMain.nav-pills>li {
margin-left:3px !important;
}
#topMain.nav-pills>li:first-child {
margin-left:0 !important;
}
#topMain>li>a>span.theme-color {
padding:10px 15px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
#header.fi... | {
"pile_set_name": "Github"
} |
#
# Stage 1
#
FROM library/golang as builder
ENV APP_DIR $GOPATH/src/flux-web/flux-web
RUN mkdir -p $APP_DIR
WORKDIR $GOPATH/src/flux-web/flux-web
ADD go.* $APP_DIR/
RUN go mod download
ADD . $APP_DIR
RUN CGO_ENABLED=0 go build -ldflags '-w -s' -o /flux-web && cp -r conf/ /conf
#
# Stage 2
#
FROM alpine:3.12... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2012 Jake Wharton
Copyright (C) 2011 Patrik Åkerfeldt
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
ht... | {
"pile_set_name": "Github"
} |
terraform_version = "0.12.24"
planned_values = {
"outputs": {},
"resources": {
"aws_instance.web": {
"address": "aws_instance.web",
"depends_on": [],
"deposed_key": "",
"index": null,
"mode": "managed",
"module_address": "",
"name": "web",
"provide... | {
"pile_set_name": "Github"
} |
/* $Id$ */
/* Copyright (C) 2004 Alexander Chernov */
/* This file is derived from `stropts.h' of the GNU C Library,
version 2.3.2. The original copyright follows. */
/* Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free soft... | {
"pile_set_name": "Github"
} |
{
"baseUrl": "https://firebasedynamiclinks-ipv6.googleapis.com/",
"servicePath": "",
"description": "Programmatically creates and manages Firebase Dynamic Links.",
"kind": "discovery#restDescription",
"basePath": "",
"id": "firebasedynamiclinks:v1",
"documentationLink": "https://firebase.google.com/docs/d... | {
"pile_set_name": "Github"
} |
// Only for Dygraph TypeScript definitions
declare module 'src/external/dygraph' {
export type DygraphData = DygraphValue[][]
type Data = string | DygraphData | google.visualization.DataTable
export type DygraphValue = string | number | Date | null
interface DygraphAxis {
bounds: [number, number]
la... | {
"pile_set_name": "Github"
} |
temptable_limit 0
| {
"pile_set_name": "Github"
} |
# This source code was written by the Go contributors.
# The master list of contributors is in the main Go distribution,
# visible at http://tip.golang.org/CONTRIBUTORS.
| {
"pile_set_name": "Github"
} |
# [[[ PREPROCESSOR ]]]
# <<< PARSE_ERROR: 'ERROR ECOPARP00' >>>
# [[[ HEADER ]]]
use RPerl;
package RPerl::Test::VersionNumber::Class_00_Bad_04;
use strict;
use warnings;
our $VERSION = 0.1001_000;
# [[[ OO INHERITANCE ]]]
use parent qw(RPerl::Test);
use RPerl::Test;
# [[[ OO PROPERTIES ]]]
our hashref $properties
... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | {
"pile_set_name": "Github"
} |
<?php
/**
* This file implements the Current Item filters Widget class.
*
* This file is part of the evoCore framework - {@link http://evocore.net/}
* See also {@link https://github.com/b2evolution/b2evolution}.
*
* @license GNU GPL v2 - {@link http://b2evolution.net/about/gnu-gpl-license}
*
* @copyright (c)200... | {
"pile_set_name": "Github"
} |
3
10
| {
"pile_set_name": "Github"
} |
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"
/////////////////////////////////////////////////////////... | {
"pile_set_name": "Github"
} |
exports.json = {
home:[
{
"title":"Making Material Design",
"author":"Google Design",
"views":"409,130",
"short_views":"409K"
"rel_date": "1 year ago",
"date":"May 28, 2015",
"subs" : "41,367"
"thumbs_up":"7K"
"thumbs_down" : "156"
"video":"https://dl.dr... | {
"pile_set_name": "Github"
} |
import { BufferTimeSignature } from '../../operator/bufferTime';
declare module '../../Observable' {
interface Observable<T> {
bufferTime: BufferTimeSignature<T>;
}
}
| {
"pile_set_name": "Github"
} |
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.ArrayList;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concur... | {
"pile_set_name": "Github"
} |
# LibreSprite Network Library
*Copyright (C) 2001-2015 David Capello*
> Distributed under [MIT license](LICENSE.txt)
Simple curl wrapper.
| {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------
// <copyright file="ArchiveFileInfo.cs" company="Microsoft Corporation">
// Copyright (c) 1999, Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Part of the Deployment Tools Foundation project.
// </summary>
//... | {
"pile_set_name": "Github"
} |
"""
CFEngine 3 code generator.
"""
import base64
import codecs
from collections import defaultdict
import errno
import logging
import os
import os.path
import re
import tarfile
import time
import copy
import json
from pprint import pprint
from blueprint import util
from blueprint import walk
def cfengine3(b, relaxe... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, JSONparse!</string>
<string name="app_name">JSONparse</string>
</resources>
| {
"pile_set_name": "Github"
} |
<?php
namespace Oro\Bundle\ApiBundle\Tests\Unit\Processor\Shared;
use Doctrine\ORM\Query;
use Doctrine\ORM\QueryBuilder;
use Oro\Bundle\ApiBundle\Config\EntityDefinitionConfig;
use Oro\Bundle\ApiBundle\Processor\Shared\SetTotalCountHeader;
use Oro\Bundle\ApiBundle\Tests\Unit\Fixtures\Entity\Group;
use Oro\Bundle\ApiB... | {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
/****************************************************************************
* Copyright (c) 2013 by Michael Blandford. 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. Redistributions... | {
"pile_set_name": "Github"
} |
package sangria.util
import sangria.util.StringUtil._
import org.scalatest.matchers.should.Matchers
import org.scalatest.wordspec.AnyWordSpec
class StringUtilSpec extends AnyWordSpec with Matchers with StringMatchers {
"camelCaseToUnderscore" should {
"convert camel-case identifiers to underscore-based one" in ... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "SequencerKeyActor.h"
#include "Components/StaticMeshComponent.h"
#include "Sections/MovieScene3DTransformSection.h"
#include "SequencerEdMode.h"
#include "Materials/MaterialInstance.h"
#include "Materials/MaterialInstanceDynamic.h"
#include "Engin... | {
"pile_set_name": "Github"
} |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.annotations.onetomany;
import java.io.Serializable;
imp... | {
"pile_set_name": "Github"
} |
==============
Install OpenMW
==============
The (easier) Binary Way
=======================
If you're not sure what any of the different methods mean, you should probably stick to this one.
Simply download the latest version for your operating system from
`github.com/OpenMW/openmw/releases <https://github.com/OpenMW... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2" android:orientation="horizontal" android:layout_width="150dp" android:layout_height="46dp" android:weigh... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Copyright 2015 Objectif Libre
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | {
"pile_set_name": "Github"
} |
sha256:f66c6c262f966c5dae9767bd3f37a3c03574812f6e1ae79b6d49e78830bb9d5e
| {
"pile_set_name": "Github"
} |
/**************************************************/
/* Deux fenˆtre en mˆme temps, avec fonctions */
/* Laser C WIND3.C */
/**************************************************/
#include <osbind.h>
#include "gem_inex.c"
int whandle[2], /* Tout pour deux Fenˆtres */
... | {
"pile_set_name": "Github"
} |
<NUnitProject>
<Settings activeconfig="Debug" />
<Config name="Debug" binpathtype="Auto">
<assembly path="bin\Debug\IronAHK.Tests.dll" />
</Config>
<Config name="Release" binpathtype="Auto" />
</NUnitProject> | {
"pile_set_name": "Github"
} |
// Copyright (C) 2013 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_DRAW_SURf_POINTS_ABSTRACT_H_
#ifdef DLIB_DRAW_SURf_POINTS_ABSTRACT_H_
#include "surf_abstract.h"
#include "../gui_widgets.h"
namespace dlib
{
// -------------------------------... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package catmsg
// This file implements varint encoding analogous to the one in encoding/binary.
// We need a string version of this function, so we add that he... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Net;
using System.Text; // for Encoding
using System.Collections.Generic;
using System.DirectoryServices;
using System.DirectoryServices.Act... | {
"pile_set_name": "Github"
} |
Nightmare
=========
A tool for debugging bots. Nightmare turns a replay back into the
messages that the game engine sends to a bot, allowing you to force
your bot to re-experience the same game over and over again. Note that
your bot should be deterministic, i.e. it shouldn't rely on random
numbers or iteration order ... | {
"pile_set_name": "Github"
} |
package D
import "github.com/onsi/C"
func DoIt() string {
return C.DoIt()
}
| {
"pile_set_name": "Github"
} |
/* $Id: mntfunc.c,v 1.19.6.4 2005/01/31 12:22:20 armin Exp $
*
* Driver for Eicon DIVA Server ISDN cards.
* Maint module
*
* Copyright 2000-2003 by Armin Schindler (mac@melware.de)
* Copyright 2000-2003 Cytronics & Melware (info@melware.de)
*
* This software may be used and distributed according to the terms
*... | {
"pile_set_name": "Github"
} |
// Put the following line to 0 or comment it to disable vignette weighting
#define USE_VIGNETTE_WEIGHTING 1
#include "Common.cginc"
#include "EyeAdaptation.cginc"
RWStructuredBuffer<uint> _Histogram;
Texture2D<float4> _Source;
CBUFFER_START(Params)
float4 _ScaleOffsetRes; // x: scale, y: offset, z: width, w: hei... | {
"pile_set_name": "Github"
} |
# From https://lists.x.org/archives/xorg-announce/2017-January/002772.html
sha256 5afe42ce3cdf4f60520d1658d2b17face45c74050f39af45dccdc95e73fafc4d xauth-1.0.10.tar.bz2
| {
"pile_set_name": "Github"
} |
/*
* Ralink RT3662/RT3883 SoC register definitions
*
* Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#ifnd... | {
"pile_set_name": "Github"
} |
/***********************************************************************
Copyright (c) 2006-2011, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retai... | {
"pile_set_name": "Github"
} |
//#name Glitter
//#author bartekd
//#include CommonInclude
//#vertex
//#include VertexInclude
varying float vLight;
varying vec2 vTextureCoord;
varying float vTime;
varying float vDirection;
float cli(vec4 p, vec3 n, lightSource light){
vec3 ld;
if(light.type == 0) return 0.0;
else if(light.type == 1) l... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Thomson Reuters - Legal, Tax & Accounting Australia</title>
<id>http://www.zotero.org/styles/thomson-reuters-legal... | {
"pile_set_name": "Github"
} |
ifeq ($(words $(MAKECMDGOALS)), 1)
LEVEL = minor
else
LEVEL = $(filter-out $@,$(MAKECMDGOALS))
endif
release: package.json
git pull --rebase
npm test
npm version $(LEVEL)
npm publish
git push --follow-tags
%:
@:
| {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can ob... | {
"pile_set_name": "Github"
} |
require("scripts/globals/survival_guide")
function onTrigger(player, targetNpc)
dsp.survivalGuide.onTrigger(player)
end
function onEventUpdate(player, csid, option)
dsp.survivalGuide.onEventUpdate(player, csid, option)
end
function onEventFinish(player, csid, option, targetNpc)
dsp.survivalGuide.onEventF... | {
"pile_set_name": "Github"
} |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M20,2L4,2v20h16... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<!DOCTYPE translationbundle>
<translationbundle lang="sv">
<translation id="1018656279737460067">Avbröts</translation>
<translation id="1195447618553298278">Okänt fel.</translation>
<translation id="1413240736185167732">Misslyckades – filterfel</translation>
<translation id="1468664791493211953">... | {
"pile_set_name": "Github"
} |
color0 #333333
color1 #f8818e
color2 #92d3a2
color3 #1a8e63
color4 #8ed0ce
color5 #5e468c
color6 #31658c
color7 #e2d8cd
color8 #3d3d3d
color9 #fb3d66
color10 #6bb48d
color11 #30c85a
color12 #39a7a2
color13 #7e62b3
color14 #6096bf
color15 #e2d8cd
background #051519
selection_foreground #051519
cursor #9e9ecb
foreground ... | {
"pile_set_name": "Github"
} |
struct InitDialogItem
{
unsigned char Type;
unsigned char X1,Y1,X2,Y2;
unsigned char Focus;
DWORD_PTR Selected;
unsigned int Flags;
unsigned char DefaultButton;
const TCHAR *Data;
};
void SetRegKey(HKEY hRoot,const TCHAR *Key,const TCHAR *ValueName,DWORD ValueData);
void SetRegKey(HKEY hRoot,... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.android.tools.idea.welcome.wizard.deprecated.GvmInstallInfoStep">
<grid id="27dc6" binding="myRoot" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="fal... | {
"pile_set_name": "Github"
} |
itk_wrap_class("itk::BoxMeanImageFilter" POINTER)
itk_wrap_image_filter("${WRAP_ITK_SCALAR}" 2)
itk_end_wrap_class()
| {
"pile_set_name": "Github"
} |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | {
"pile_set_name": "Github"
} |
package com.momentolabs.app.security.applocker.di.module
import com.iammert.hdwallpapers.di.scope.FragmentScope
import com.momentolabs.app.security.applocker.data.database.callblocker.addtoblacklist.AddToBlackListDialog
import com.momentolabs.app.security.applocker.ui.background.BackgroundsFragment
import com.momentol... | {
"pile_set_name": "Github"
} |
// header block begin
// +build !minimal
package qtcore
// /usr/include/qt/QtCore/qurl.h
// #include <qurl.h>
// #include <QtCore>
// header block end
// main block begin
// main block end
// use block begin
// use block end
// ext block begin
/*
#include <stdlib.h>
// extern C begin: 12
*/
// import "... | {
"pile_set_name": "Github"
} |
package jetbrains.mps.lang.generator.behavior;
/*Generated by MPS */
import jetbrains.mps.core.aspects.behaviour.BaseBHDescriptor;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import jetbrains.mps.core.aspects.behaviour.api.SMethod;
impo... | {
"pile_set_name": "Github"
} |
if(K.Admin)
K.Admin.methods({
removeCat: function(cat, type) {
if(!K.Admin.isMe()) return false;
cat = K.Util.sanitize.regExp(cat);
Categories.remove({name: cat, type: type});
if(type==='user') {
Users.update({cats: cat }, {
$pull: {cats: cat }
},{multi:true});
}
else if(type==='place') {
... | {
"pile_set_name": "Github"
} |
@import '../../../variables/colors';
@import '../../../variables/sizes';
// Selected dataset styles
$w: 820px;
$br: 4px;
.DatasetSelected {
width: $w;
margin: 0 0 0 -20px;
border: 1px solid #BBD7F2;
border-radius: $br;
background: #FFF;
}
.DatasetSelected-item {
display: flex;
align-items: center;
j... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 5aec0cb62c5e2fe4d99b0138467b304e
timeCreated: 1526319039
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
/*!
* jQuery UI CSS Framework 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/category/theming/
*
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Gill... | {
"pile_set_name": "Github"
} |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js
*
* Copyright (c) 2009-2010 Design Science, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... | {
"pile_set_name": "Github"
} |
.timeline {
position: relative;
padding: 20px 0 20px;
list-style: none;
}
.timeline:before {
content: " ";
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 3px;
margin-left: -1.5px;
background-color: #eeeeee;
}
.timeline > li {
position: relative;
margin-bot... | {
"pile_set_name": "Github"
} |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Tool : Bond Compiler 0.10.1.0
// File : MessageData_types.cs
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated />
/... | {
"pile_set_name": "Github"
} |
local
my _ = BuildRawSyntaxTree::compilerMode() # make sure we are in compiler mode
fun trans ( { raw_syntax_tree= { raw_syntax_tree, tidtab, ... }, aidtab, implicits, ... }: BuildRawSyntaxTree::programInfo) =
let
my { raw_syntax_tree, ... } = SimplifyRawSyntaxTree::simplifyRawSyntaxTree (raw_syntax_tre... | {
"pile_set_name": "Github"
} |
"DOTAAbilities"
{
"item_tranquil_boots" "REMOVED"
//=================================================================================================================
// Recipe: Tranquil Origin
//===================================================================================... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2006 - 2008, Clark & Parsia, LLC. <http://www.clarkparsia.com>
// This source code is available under the terms of the Affero General Public
// License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of
// proprietary exceptions.
// Questions, comments, or requests f... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE pov SYSTEM "/usr/share/cgc-docs/replay.dtd">
<pov>
<cbid>CROMU_00033</cbid>
<replay>
<write echo="ascii"><data>SEND\x06/HkRre\x23\x00M0Rhh4Iux9y3igdR4VAcgFB1qjmiFYBv9G7</data></write>
<read echo="ascii"><delim>\n</delim><match><data>[INFO] File received: /HkRre\n</... | {
"pile_set_name": "Github"
} |
<snippet>
<content><![CDATA[getContentScaleFactor()]]></content>
<tabTrigger>getContentScaleFactor()</tabTrigger>
<scope>source.lua</scope>
<description>GLView</description>
</snippet>
| {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
from tornado import gen
from tornado.web import HTTPError
from young.handler import BaseHandler
from app.user.document import UserDocument
from app.community.document import TopicDocument
from app.share.document import ShareDocument
from app.search.form import SearchForm
__all__ = ['SearchHan... | {
"pile_set_name": "Github"
} |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | {
"pile_set_name": "Github"
} |
{
"name": "roadmap-next",
"version": "1.0.0",
"main": "index.js",
"license": "BSD-4-Clause",
"scripts": {
"dev": "NODE_ENV=dev next",
"serve:out": "serve out",
"build": "./scripts/build.sh",
"deploy": "NODE_DEBUG=gh-pages gh-pages -d out -t",
"test": "jest",
"test:watch": "jest --watch... | {
"pile_set_name": "Github"
} |
require 'active_support/core_ext'
require 'netzke/core/ruby_ext'
require 'netzke/core/client_code'
require 'netzke/core/stylesheets'
require 'netzke/core/services'
require 'netzke/core/composition'
require 'netzke/core/plugins'
require 'netzke/core/configuration'
require 'netzke/core/state'
require 'netzke/core/embeddi... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !go1.7
package context
import (
"errors"
"fmt"
"sync"
"time"
)
// An emptyCtx is never canceled, has no values, and has no deadline. It is not
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# Copyright (C) 2015 Dmitry Rodionov
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
from os import system
from lib.core.packages import Package
class Macho(Package):
""" Mach-O executable analysys package. """
def ... | {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sqs
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/client"
"github.com/aws/aws-sdk-go/aws/client/metadata"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/aws/signer/v4"
"github.com/aws/aws-s... | {
"pile_set_name": "Github"
} |
# Generated from 'AppleHelp.h'
kAHInternalErr = -10790
kAHInternetConfigPrefErr = -10791
kAHTOCTypeUser = 0
kAHTOCTypeDeveloper = 1
| {
"pile_set_name": "Github"
} |
//
// GLProgram.h
// CeedGL
//
// Created by Raphael Sebbe on 01/11/10.
// Copyright (c) 2010 Creaceed. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CeedGL/GLObject.h>
@class GLShader;
@interface GLProgram : GLObject {
NSMutableDictionary *mAttachedShaders; // keys are the types as NSNu... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2011 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except ... | {
"pile_set_name": "Github"
} |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>ip::basic_resolver_iterator::operator *</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" ... | {
"pile_set_name": "Github"
} |
UPGRADE FROM 0.12 to 0.13
=======================
# Table of Contents
- [Rename default_field config](#rename-default_field-config)
- [Improve default field resolver](#improve-default-field-resolver)
- [Use service tags to register resolver maps](#use-service-tags-to-register-resolver-maps)
### Rename default_field ... | {
"pile_set_name": "Github"
} |
# SPDX-License-Identifier: GPL-2.0-only
config CODA_FS
tristate "Coda file system support (advanced network fs)"
depends on INET
help
Coda is an advanced network file system, similar to NFS in that it
enables you to mount file systems of a remote server and access them
with regular Unix commands as if they ... | {
"pile_set_name": "Github"
} |
#!/bin/bash
cd $SRC_DIR/bin
binaries="\
gustaf \
gustaf_mate_joining \
"
mkdir -p $PREFIX/bin
for i in $binaries; do cp $SRC_DIR/bin/$i $PREFIX/bin/$i && chmod a+x $PREFIX/bin/$i; done
| {
"pile_set_name": "Github"
} |
package com.moti.controller;
import com.moti.entity.FileFolder;
import com.moti.entity.FileStoreStatistics;
import com.moti.entity.MyFile;
import com.moti.utils.LogUtils;
import org.slf4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import java.u... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
namespace Microsoft.BotBuilderSamples
{
public class LogoutDialog : C... | {
"pile_set_name": "Github"
} |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Since applying the "call" method to Function constructor themself leads to creating a new function instance, the second argument must be a valid function body
*
* @path ch15/15.3/S15.3_A2_T1.js
* @description Checking if executing "Function.call(thi... | {
"pile_set_name": "Github"
} |
<?php
/**
* @package Joomla.Platform
* @subpackage Language
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @copyright Copyright (C) 2005 Richard Heyes (http://www.phpguru.org/). All rights reserved.
* @license GNU General Public License version 2 or later; s... | {
"pile_set_name": "Github"
} |
package com.itcast.day03
/**
* ClassName:`14.多态`
* 多态特点:通过父类接收 执行的是子类的方法
*/
fun main(args: Array<String>) {
//创建狗和猫的对象
val dog: Animal = Dog()
val cat = Cat()
dog.call()
// cat.call()
}
//动物
abstract class Animal {
var color: String = ""
//行为
open fun call() {
println("动物叫"... | {
"pile_set_name": "Github"
} |
// Copyright 2016 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 BASE_TASK_THREAD_POOL_THREAD_GROUP_IMPL_H_
#define BASE_TASK_THREAD_POOL_THREAD_GROUP_IMPL_H_
#include <stddef.h>
#include <memory>
#include <st... | {
"pile_set_name": "Github"
} |
(ns quo.react
(:refer-clojure :exclude [ref])
(:require [oops.core :refer [oget oset!]]
["react" :as react])
(:require-macros [quo.react :refer [with-deps-check
maybe-js-deps]]))
(def create-ref react/createRef)
(defn current-ref [ref]
(oget ref "current"))
;... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.tests.server.netty
import io.ktor.server.netty.*
import io.ktor.server.testing.*
class NettyStressTest : EngineStressSuite<NettyApplicationEngine, NettyApplicationEngine.Conf... | {
"pile_set_name": "Github"
} |
using System;
using System.IO;
using System.Reflection;
using FluentAssertions;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Serilog.Sinks.Elasticsearch.Tests.Templating
{
public class TemplateMatchTests : ElasticsearchSinkTestsBase
{
private readonly Tuple<Uri, string> _templatePut;
pu... | {
"pile_set_name": "Github"
} |
from ScoutSuite.providers.base.resources.base import Resources
from ScoutSuite.providers.gcp.facade.base import GCPFacade
class Firewalls(Resources):
def __init__(self, facade: GCPFacade, project_id: str):
super(Firewalls, self).__init__(facade)
self.project_id = project_id
async def fetch_al... | {
"pile_set_name": "Github"
} |
package net.monitor.gather.traffic;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.Date;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import net.monitor.dao.dto.TrafficMonit... | {
"pile_set_name": "Github"
} |
<?php
abstract class SyndicationFeedRenderer {
const LEVEL_INDENTATION = ' ';
protected $syndicationFeed;
protected $syndicationFeedDB;
protected $mimeType;
public function init($syndicationFeed, $syndicationFeedDB, $mimeType) {
$this->syndicationFeed = $syndicationFeed;
$this->syndicationFeedDB = $syndi... | {
"pile_set_name": "Github"
} |
import parakeet
import parakeet.testing_helpers
import numpy as np
def matmult_high_level(X,Y):
return np.array([[np.min(x+y) for y in Y.T] for x in X])
def test_matmult_tropical():
n, d = 4,5
m = 3
X = np.random.randn(m,d)
Y = np.random.randn(d,n)
parakeet.testing_helpers.expect(matmult_high_level, [X,... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.