text
stringlengths
2
99.1k
meta
dict
in vec2 Texcoord; OUTPUT uniform bool textured; uniform vec4 color; uniform sampler2D tex; void main() { outColor = color; if (textured) outColor = outColor * texture(tex, Texcoord); }
{ "pile_set_name": "Github" }
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse.slim.test; public class DummyDecisionTable { public int x() { return 1; } }
{ "pile_set_name": "Github" }
export type AnalyticsClientOptions = { /** * The application id. */ readonly appId: string; /** * The api key. */ readonly apiKey: string; /** * The prefered region. */ readonly region?: 'de' | 'us'; };
{ "pile_set_name": "Github" }
.consultations-home-intro{ margin-top: $margin-s; > :first-child{ margin-bottom: $margin-s; } @include breakpoint(medium){ margin-top: $margin-sm; display: flex; justify-content: center; > :first-child{ margin-right: $margin-sm; margin-bottom: 0; } p:last-child{ ...
{ "pile_set_name": "Github" }
CMAKE_COMPILER_2005 ------------------- Using the Visual Studio 2005 compiler from Microsoft Set to true when using the Visual Studio 2005 compiler from Microsoft.
{ "pile_set_name": "Github" }
{ "author": { "name": "Valentin Podkamennyi", "email": "valentin@dtm.io" }, "bugs": { "url": "https://github.com/Datamart/Komito/issues" }, "description": "Komito Analytics is an enhancement for the most popular analytics software.", "homepage": "https://komito.net/", "keywords": [ "adobe-...
{ "pile_set_name": "Github" }
syntax = "proto3"; package external; // Type that belongs to a non-envoy package. // // Part of a test suite that verifies normalization of // fully-qualified type names. message PackageLevelType { }
{ "pile_set_name": "Github" }
package MyTest::Plugin::Quux::Foo; use strict; 1;
{ "pile_set_name": "Github" }
using ExrinSampleMobileApp.View.Base; namespace ExrinSampleMobileApp.View { public partial class AboutView : BaseView { public AboutView() { InitializeComponent(); } } }
{ "pile_set_name": "Github" }
grpc::Status Subscribe{{ name.upper_camel_case }}(grpc::ServerContext* /* context */, const mavsdk::rpc::{{ plugin_name.lower_snake_case }}::Subscribe{{ name.upper_camel_case }}Request* {% if params %}request{% else %}/* request */{% endif %}, grpc::ServerWriter<rpc::{{ plugin_name.lower_snake_case }}::{{ name.upper_ca...
{ "pile_set_name": "Github" }
// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the li...
{ "pile_set_name": "Github" }
This folder contains some sample formatters that may be helpful. Feel free to change them, extend them, or use them as the basis for your own custom formatter(s). More information about creating your own custom formatters can be found on the wiki: https://github.com/CocoaLumberjack/CocoaLumberjack/wiki/CustomFormatte...
{ "pile_set_name": "Github" }
use std::io; fn main() { println!("Guess the number!"); println!("Please input your guess."); let mut guess = String::new(); io::stdin().read_line(&mut guess) .ok() .expect("Failed to read line"); println!("You guessed: {}", guess); }
{ "pile_set_name": "Github" }
<Project> <PropertyGroup Condition="'$(Configuration)'=='Release'"> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings> </PropertyGroup> <PropertyGroup> <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)\CodeAnalysis\CodeAnalysis.ruleset</Co...
{ "pile_set_name": "Github" }
SOURCE=FloatingPointRangeExp01.fs # FloatingPointRangeExp01.fs SOURCE=CustomType01.fs # CustomType01.fs SOURCE=CustomType02.fs # CustomType02.fs
{ "pile_set_name": "Github" }
// Do not optimize this pattern function a() { console.log('ng'); } { function a() { console.log('ng'); } a(); function a() { console.log('ok'); } } a(); function a() { console.log('ok'); }
{ "pile_set_name": "Github" }
commandlinefu_id: 2480 translator: weibo: tgic command: |- find . -name "*.sql" -print0 | wc -l --files0-from=- summary: |- 计算一组文件得行数
{ "pile_set_name": "Github" }
// // ViewController.h // AnimationTest // // Created by JXT on 2016/9/25. // Copyright © 2016年 JXT. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
{ "pile_set_name": "Github" }
galpy.df.impulse_deltav_plummer_curvedstream ============================================= .. autofunction:: galpy.df.impulse_deltav_plummer_curvedstream
{ "pile_set_name": "Github" }
framework module Alamofire { umbrella header "Alamofire-umbrella.h" export * module * { export * } }
{ "pile_set_name": "Github" }
// Package aws provides core functionality for making requests to AWS services. package aws // SDKName is the name of this AWS SDK const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK const SDKVersion = "1.30.28"
{ "pile_set_name": "Github" }
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- # vim: set filetype=python: # 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 obtain one at http://mozilla.org/MPL/2.0/. DIRS += ['baz']
{ "pile_set_name": "Github" }
'use strict'; module.exports = require('./async').timeout;
{ "pile_set_name": "Github" }
# SPDX-License-Identifier: GPL-2.0 config SAMSUNG_MC bool "Samsung Exynos Memory Controller support" if COMPILE_TEST help Support for the Memory Controller (MC) devices found on Samsung Exynos SoCs. if SAMSUNG_MC config EXYNOS_SROM bool "Exynos SROM controller driver" if COMPILE_TEST depends on (ARM && ARCH...
{ "pile_set_name": "Github" }
-- Checks that the types of the old binder and the binder implicitly introduced by grouping are linked {-# OPTIONS_GHC -XMonadComprehensions -XTransformListComp #-} module ShouldCompile where import Data.List(inits) foo :: [[[Int]]] foo = [ x | x <- [1..10] , then group using inits , then group us...
{ "pile_set_name": "Github" }
void foo (void) { }
{ "pile_set_name": "Github" }
// compile // Copyright 2009 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 bug151 type S string type Empty interface {} func (v S) Less(e Empty) bool { return v < e.(S); } /* bugs/bug151.go:10: illegal types fo...
{ "pile_set_name": "Github" }
#include "stdafx.h" RH_C_FUNCTION ON_Viewport* ON_Viewport_New(const ON_Viewport* pVP) { if (pVP) return new ON_Viewport(*pVP); return new ON_Viewport(); } RH_C_FUNCTION bool ON_Viewport_GetBool(const ON_Viewport* pConstViewport, int which) { const int idxIsValidCamera = 0; const int idxIsValidFrustum = 1; ...
{ "pile_set_name": "Github" }
actions logout "Leave the chat-room." self push: 'event' with: 'left'. self session username: nil
{ "pile_set_name": "Github" }
import "./ui"; import "./network";
{ "pile_set_name": "Github" }
[package] name = "docopt" version = "0.1.0" authors = ["Godhuda <engineering+godhuda@tilde.io>"] [lib] crate-type = ["cdylib"] [dependencies.helix] path = "../.." [dependencies] docopt = "*"
{ "pile_set_name": "Github" }
<title><%= yield :title %></title> <%= yield %>
{ "pile_set_name": "Github" }
int y;
{ "pile_set_name": "Github" }
这次去泉州有三个国外客人一起同行,还是入住了泉酒. 大堂有水仙花装饰,有一股清香.环境很好.以390元的价格入住,超值. 客人称赞酒店很不错,我想这是每个入住客人的同感.
{ "pile_set_name": "Github" }
<manifest package="org.mym.plog_lint_aar" > </manifest>
{ "pile_set_name": "Github" }
#include "stdafx.h" static CSCPController* l_Pad[XUSER_MAX_COUNT]; static BOOL l_bPassThrough = false, l_bStarted = false, l_bUnloaded = false; static DWORD l_nPads = 0, l_nAttached = 0, l_nBtPads = 0; BOOL LoadApi(BOOL bEnable) { if (bEnable) l_nAttached++; else l_nAttached--; if (bEnable && !l_bStarted && !l_bU...
{ "pile_set_name": "Github" }
recursive-include distributed *.py recursive-include distributed *.js recursive-include distributed *.coffee recursive-include distributed *.html recursive-include distributed *.css recursive-include distributed *.svg recursive-include distributed *.ico recursive-include distributed *.yaml recursive-include docs *.rst ...
{ "pile_set_name": "Github" }
# Upgrade Concourse Use the `concourse upgrade` command to check for and install a newer version.
{ "pile_set_name": "Github" }
NewRelic::Agent.after_fork(:force_reconnect => true) if defined? Unicorn
{ "pile_set_name": "Github" }
{"text": ["$", "bud", "9", "beers", "to", "try", "before", "su", "URL"], "created_at": "Sun Jul 27 12:42:59 +0000 2014", "user_id_str": "2653666789"}
{ "pile_set_name": "Github" }
.error-indicator { width: 100%; display: flex; flex-direction: column; align-items: center; color: #c78f22; } .error-indicator img { margin-bottom: 1rem; } .error-indicator .boom { font-size: 1.7rem; }
{ "pile_set_name": "Github" }
[0] Glob = "c27321d9-0574-5035-807b-f59d2c89b15c" HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f" ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" TimerOutputs = "a759f4b9-e2f1-59dc-863e-4aeb61b1ea8f" WriteVTK = "64499a7a-5c06-52f2-abe2-ccb03c286192" ["0-0.1.0"...
{ "pile_set_name": "Github" }
// Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing se(t: () as a var b let a { class A { { } let a { let f = c { func a { extension NSData { class B { } struct A { struct A : a { enum B { class case c, ...
{ "pile_set_name": "Github" }
#include <signal.h> #include <errno.h> int sigaddset(sigset_t *set, int sig) { unsigned s = sig-1; if (s >= _NSIG-1 || sig-32U < 3) { errno = EINVAL; return -1; } set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1); return 0; }
{ "pile_set_name": "Github" }
#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) attribute vec2 uv2; varying vec2 vUv2; #endif
{ "pile_set_name": "Github" }
// ${COMPLETE_ITEM:notnull} public class Foo { public void Bar(object a, System.Action f) { var b = a as String(); if (b != null) { {caret} } f(); } }
{ "pile_set_name": "Github" }
[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [SessionManager](../index.md) / [Snapshot](index.md) / [empty](./empty.md) # empty `fun empty(): `[`Snapshot`](index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/sessi...
{ "pile_set_name": "Github" }
Solution: embed its documentation into sit-web This changes the position of the "New Issue" button to the top-left and puts "Help" to the top right.
{ "pile_set_name": "Github" }
{{ define "title" }}JAMstack Themes{{ end }} {{ define "header_css" }}{{ end }} {{ define "body_classes" }}page-home{{ end }} {{ define "meta_tags" }} {{ $themes := (where .Site.RegularPages "Type" "theme") }} {{ $themes := (where $themes ".Params.draft" "!=" true) }} {{ $themes := (where $themes ".Params.stale" "!=" ...
{ "pile_set_name": "Github" }
import '../target/frontend/generated-flow-imports';
{ "pile_set_name": "Github" }
<atlassian-ide-plugin> <project-configuration> <servers /> <default-jira-server>a1133760-1ad8-4c82-8445-ebf904a760ce</default-jira-server> </project-configuration> </atlassian-ide-plugin>
{ "pile_set_name": "Github" }
user=User bot=Bot user:set language es-es user:Hola bot:message: Hello user:set language fr-fr user:Salut bot:message: Hello user:set language en-us user:Hello bot:message: Hello
{ "pile_set_name": "Github" }
#!/bin/bash prefix=$(date +'%Y-%m-') lastDay=$(cal| awk 'NR == 7{print $NF}') firstDay=$prefix"01" lastDay=$prefix$lastDay # 当月代码量统计 git log --format='%aN' | sort -u | while read name; do echo -en "$name\t"; git log --author="$name" --since=$firstDay --until=lastDay --pretty=tformat: --numstat | awk '{ add += $1; sub...
{ "pile_set_name": "Github" }
TET no. 0: 0.0, 0.5, 0.5 0.0, 0.0, 0.0 1.0, 0.0, 0.0 0.0, 1.0, 0.0 TET no. 1: 0.0, 0.5, 0.5 1.0, 0.0, 0.0 0.0, 0.0, 0.0 0.0, 0.0, 1.0
{ "pile_set_name": "Github" }
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &11400000 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 0} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 9d1de2691495b...
{ "pile_set_name": "Github" }
module com.networknt.monadresult { exports com.networknt.monad; requires com.networknt.status; requires com.networknt.config; requires com.networknt.utility; requires java.management; requires org.slf4j; requires jdk.unsupported; }
{ "pile_set_name": "Github" }
--- layout: single --- {% assign filtered-rules = site.rules | where: "rule_category", page.rule_category %} {% for rule in filtered-rules %} {% assign full_rule_id = site.default_rule_prefix | append: rule.rule_id %} {% if rule.custom_prefix != nil %} {% assign full_rule_id = rule.custom_prefix |...
{ "pile_set_name": "Github" }
page.visual_effect :fade, 'mydiv'
{ "pile_set_name": "Github" }
h1 { color: red; }
{ "pile_set_name": "Github" }
include 'VICMAIN_FOR' subroutine main44 integer*4 time_sec character*100 msg call get_seconds( time_sec ) write(msg,100) time_sec call xvmessage(msg,' ') 100 format(' The GMT time in seconds since 1-JAN-1970 is: ', I) return end
{ "pile_set_name": "Github" }
describe("Control.Draw", function () { var map, control, container; beforeEach(function () { map = L.map(document.createElement('div')); control = new L.Control.Draw({}); map.addControl(control); container = control.getContainer(); }); it("exists", function () { expect(container.innerHTML).to.be.ok(); ...
{ "pile_set_name": "Github" }
DEC ENC
{ "pile_set_name": "Github" }
{ "name": "ace-builds", "version": "1.2.3", "description": "Ace (Ajax.org Cloud9 Editor)", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "ignore": [ "demo" ], "repository": { "type": "git", "url": "https://github.com/aja...
{ "pile_set_name": "Github" }
#= require active_admin/base
{ "pile_set_name": "Github" }
mlflow.sagemaker ================ .. automodule:: mlflow.sagemaker :members: :undoc-members: :show-inheritance:
{ "pile_set_name": "Github" }
Index: u-boot-2017.01/include/configs/omap3_overo.h =================================================================== --- u-boot-2017.01.orig/include/configs/omap3_overo.h +++ u-boot-2017.01/include/configs/omap3_overo.h @@ -11,6 +11,13 @@ #define CONFIG_NAND #include <configs/ti_omap3_common.h> + +/* try to enab...
{ "pile_set_name": "Github" }
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject-Protocol.h" @protocol NSStreamDelegate <NSObject> @optional - (void)stream:(id)arg1 handleEvent:(unsigned long long)arg2; @end
{ "pile_set_name": "Github" }
{ "captain" : "Jean-Luc Picard", "movie" : null }
{ "pile_set_name": "Github" }
//TEST:SIMPLE: // #ifdef support #if (1 - 1*2) < 0 int foo() { return 0; } #else BadThing thatWontCompile; #endif #if (1 >> 1) && ~999 AnotherError onThisLine; #else int bar() { return foo(); } #endif
{ "pile_set_name": "Github" }
UndrawNoData example: ```js <UndrawNoData primaryColor='#6c68fb' height= '250px' /> ```
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- from . import AuditTimeMixin, JsonMixin from .. import db class DnsHost(db.Model, AuditTimeMixin, JsonMixin): __tablename__ = 'tb_dns_host' id = db.Column(db.Integer, primary_key=True) host_name = db.Column(db.String(100), unique=True, nullable=False) host_group = db.Column(d...
{ "pile_set_name": "Github" }
var convert = require('./convert'), func = convert('assignAll', require('../assign')); func.placeholder = require('./placeholder'); module.exports = func;
{ "pile_set_name": "Github" }
# SPDX-License-Identifier: GPL-2.0-only # # Makefile for the VIA device drivers. # obj-$(CONFIG_VIA_RHINE) += via-rhine.o obj-$(CONFIG_VIA_VELOCITY) += via-velocity.o
{ "pile_set_name": "Github" }
{ "name": "secretsmanagercreateorupdatesecret", "version": "1.1.8", "description": "Updates a secret, optionally creating a secret if it does not exist.", "main": "SecretsManagerCreateOrUpdateSecret.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": ...
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -fsyntax-only -verify %s typedef int Int; typedef char Char; typedef Char* Carp; Int main(Int argc, Carp argv[], Char *env[]) { }
{ "pile_set_name": "Github" }
id: dsq-747531936 date: 2010-04-05T22:49:24.0000000-07:00 name: DonSleza4e avatar: https://disqus.com/api/users/avatars/DonSleza4e.jpg message: <p>Awesome<br>Integrated lib with my <a href="http://asp.net" rel="nofollow noopener" title="asp.net">asp.net</a> mvc project ^^</p>
{ "pile_set_name": "Github" }
G04 Flashes of rectangular apertures* %FSLAX24Y24*% %MOMM*% %ADD10R,0.44X0.25*% %ADD11R,0.44X0.25X0.19*% D10* X000000Y000000D03* D11* X010000D03* M02*
{ "pile_set_name": "Github" }
class OpenWebPageEvent{ String url; OpenWebPageEvent(this.url); }
{ "pile_set_name": "Github" }
/dts-v1/; / { property = label: "foo" label:; };
{ "pile_set_name": "Github" }
var convert = require('./convert'); module.exports = convert(require('../string'));
{ "pile_set_name": "Github" }
// Copyright 2016, Joe Tsai. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE.md file. // +build !gofuzz // This file exists to suppress fuzzing details from release builds. package bzip2 type fuzzReader struct{} func (*fuzzReader) updateChecksu...
{ "pile_set_name": "Github" }
var interface_entitas_1_1_i_cleanup_system = [ [ "Cleanup", "interface_entitas_1_1_i_cleanup_system.html#a21c8a1238b17bf474b2609d5d0732140", null ] ];
{ "pile_set_name": "Github" }
============= API/Reference ============= .. toctree:: ms_scikit
{ "pile_set_name": "Github" }
3732 checks passed ABCD defg
{ "pile_set_name": "Github" }
// Horizontal dividers // // Dividers (basically an hr) within dropdowns and nav lists @mixin nav-divider($color: #e5e5e5) { height: 1px; margin: (($line-height-computed / 2) - 1) 0; overflow: hidden; background-color: $color; }
{ "pile_set_name": "Github" }
import logging log = logging.getLogger(__name__)
{ "pile_set_name": "Github" }
'use strict'; module.exports = require('./shim');
{ "pile_set_name": "Github" }
[meta] Name=npymath Description=Portable, core math library implementing C99 standard Version=0.1 [variables] pkgname=numpy.core prefix=${pkgdir} libdir=${prefix}/lib includedir=${prefix}/include [default] Libs=-L${libdir} -lnpymath Cflags=-I${includedir} Requires=mlib [msvc] Libs=/LIBPATH:${libdir} npymath.lib Cfla...
{ "pile_set_name": "Github" }
::: tip <Badge text="3.8.0+" /> Pagination is supported using slots available with Vue Select 3.8 and above. ::: Pagination can be a super helpful tool when working with large sets of data. If you have 1,000 options, the component is going to render 1,000 DOM nodes. That's a lot of nodes to insert/remove, and chances ...
{ "pile_set_name": "Github" }
BOARD_TAG = stm8sblue include ../../../../sduino.mk
{ "pile_set_name": "Github" }
* Add options to open temp and output directories. - Add options to right-click menu - Add options to toolbar? * Customize the right-click menu based on APP_STATE
{ "pile_set_name": "Github" }
3 10
{ "pile_set_name": "Github" }
author: Tatsuhiko Miyagawa follow_selector: .title>a # support thumbnail!
{ "pile_set_name": "Github" }
adamk@chromium.org gsathya@chromium.org leszeks@chromium.org littledan@chromium.org marja@chromium.org neis@chromium.org verwaest@chromium.org # COMPONENT: Blink>JavaScript>Parser
{ "pile_set_name": "Github" }
#ifndef _XT_LENGTH_H #define _XT_LENGTH_H #include <linux/types.h> struct xt_length_info { __u16 min, max; __u8 invert; }; #endif /*_XT_LENGTH_H*/
{ "pile_set_name": "Github" }
// via OpenZeppelin export default async promise => { try { await promise; assert.fail('Expected revert not received'); } catch (error) { const revertFound = error.message.search('revert') >= 0; assert( revertFound, `Expected "revert", got ${error} instead` ); } };
{ "pile_set_name": "Github" }
{ "": [ "--------------------------------------------------------------------------------------------", "Copyright (c) Microsoft Corporation. All rights reserved.", "Licensed under the Source EULA. See License.txt in the project root for license information.", "-------------------------------------------------...
{ "pile_set_name": "Github" }
function cocktailSort( A ) local swapped repeat swapped = false for i = 1, #A - 1 do if A[ i ] > A[ i+1 ] then A[ i ], A[ i+1 ] = A[ i+1 ] ,A[i] swapped=true end end if swapped == false then break -- repeatd loop; end for i = #A - 1,1,-1 do if A[ i ] > ...
{ "pile_set_name": "Github" }
{ "comment": "", "ignore": "", "package": [ { "checksumSHA1": "9NFR6RG8H2fNyKHscGmuGLQhRm4=", "origin": "github.com/docker/docker/vendor/github.com/Azure/go-ansiterm", "path": "github.com/Azure/go-ansiterm", "revision": "39377bb96d459d2ef59bd2bad75468638a7f86a3", "revisionTime": "2018-01-18T19:02:33...
{ "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" }