content stringlengths 4 1.04M | lang stringclasses 358
values | score int64 0 5 | repo_name stringlengths 5 114 | repo_path stringlengths 4 229 | repo_licenses listlengths 1 8 |
|---|---|---|---|---|---|
12.34.56.78 STREAM example.com
12.34.56.78 DGRAM
12.34.56.78 RAW
2606:2800:220:1:248:1893:25c8:1946 STREAM
2606:2800:220:1:248:1893:25c8:1946 DGRAM
2606:2800:220:1:248:1893:25c8:1946 RAW
| DIGITAL Command Language | 1 | multani/inspec | test/unit/mock/cmd/getent-ahosts-example.com | [
"Apache-2.0"
] |
#tag Class
Protected Class GKLocalPlayer
Inherits GameKit.GKPlayer
#tag Method, Flags = &h21
Private Shared Function ClassRef() As Ptr
static ref as ptr = NSClassFromString("GKLocalPlayer")
return ref
End Function
#tag EndMethod
#tag Method, Flags = &h0
Sub DeleteSavedGamesWithNameCompletionHandler(na... | Xojo | 4 | kingj5/iOSKit | Modules/GameKitFolder/GameKit/GKLocalPlayer.xojo_code | [
"MIT"
] |
{{! Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef }}
/*
* This file is automatically generated; any changes will be lost.
*/
#nullable enable
#pragma warning disable
using Beef;
using Beef.Data.Database.Cdc;
using Microsoft.Extensions.Configuration;
using Microsoft.Ext... | Harbour | 4 | ciaranodonnell/Beef | tools/Beef.CodeGen.Core/Templates/DbCdcHostedService_cs.hb | [
"MIT"
] |
# Copyright 2020 gRPC 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 required by applicable law or agreed to in writing... | Python | 5 | warlock135/grpc | src/python/grpcio_reflection/grpc_reflection/v1alpha/_async.py | [
"Apache-2.0"
] |
package com.baeldung.batch.understanding;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.Properties;
import javax.batch.operations.JobOperator;
import javax.batch.runtime.BatchRuntime;
import javax.batch.runtime.BatchStatus;
import javax.batch.runtime.JobExecution;
import javax.batch.r... | Java | 4 | DBatOWL/tutorials | jee-7/src/test/java/com/baeldung/batch/understanding/CustomCheckPointIntegrationTest.java | [
"MIT"
] |
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/><rect fill="none" height="24" width="24"/></g><g><path d="M20,2H4C2.9,2,2,2.9,2,4v16c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V4C22,2.9,21.1,2,20,2z M20,19c0,0.55-0.... | SVG | 1 | good-gym/material-ui | packages/material-ui-icons/material-icons/fireplace_rounded_24px.svg | [
"MIT"
] |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#pragma once
static constexpr std::wstring_view AzureClientID = L"0";
| C | 2 | hessedoneen/terminal | src/cascadia/TerminalConnection/AzureClientID.h | [
"MIT"
] |
Code.require_file("../../test_helper.exs", __DIR__)
defmodule Mix.Shell.IOTest do
use MixTest.Case
import ExUnit.CaptureIO
import Mix.Shell.IO
test "prints info message to stdio" do
assert capture_io(fn ->
info("hello")
end) == "hello\n"
end
test "prints error message to stde... | Elixir | 4 | doughsay/elixir | lib/mix/test/mix/shell/io_test.exs | [
"Apache-2.0"
] |
(load "/Users/smihica/code/arc-js/tools/helper-compiler/compiler.arc")
(defop arc-compiler req
(let asm (do-compile (read (alref (req 'args) "code")))
(prn "(")
(each c asm
(write c)
(prn))
(pr ")")))
(serve 8800)
| Arc | 4 | smihica/arc-js | tools/helper-compiler/compiler-server.arc | [
"Artistic-2.0"
] |
#tips-wrapper
#tips
p
span == t('.tip', email: current_user.email)
p: span <strong class='text-danger'>#{t(".spam")}</strong>
.resend-button
= link_to activation_path(@activation), :method => :put, :class => 'btn btn-primary first' do
span.fui-mail
span #{t('helpers.submit.activation.update')}... | Slim | 3 | gsmlg/peatio | app/views/activations/new.html.slim | [
"MIT"
] |
(ns wisp.wisp
"Wisp program that reads wisp code from stdin and prints
compiled javascript code into stdout"
(:require [fs :refer [createReadStream]]
[path :refer [basename dirname join resolve]]
[module :refer [Module]]
[wisp.string :refer [split join upper-case replace]]
... | wisp | 5 | bamboo/wisp | src/wisp.wisp | [
"BSD-3-Clause"
] |
# Copyright 2020 The gRPC 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 required by applicable law or agreed to in writ... | Python | 4 | warlock135/grpc | src/python/grpcio_channelz/grpc_channelz/v1/_async.py | [
"Apache-2.0"
] |
#pragma TextEncoding="UTF-8"
#pragma rtGlobals=3
#pragma ModuleName= SIDAMSyncAxisRange
#include "SIDAM_Sync"
#include "SIDAM_Utilities_Image"
#include "SIDAM_Utilities_Panel"
#ifndef SIDAMshowProc
#pragma hide = 1
#endif
Static StrConstant SYNCKEY = "syncaxisrange"
//@
// Synchronize the axis range ... | IGOR Pro | 5 | yuksk/SIDAM | src/SIDAM/func/SIDAM_SyncAxisRange.ipf | [
"MIT"
] |
React = require 'react'
ReactDOM = require 'react-dom'
ComposerHeaderActions = require('../lib/composer-header-actions').default
Fields = require('../lib/fields').default
ReactTestUtils = require('react-addons-test-utils')
{Actions} = require 'nylas-exports'
describe "ComposerHeaderActions", ->
makeField = (props = ... | CoffeeScript | 4 | cnheider/nylas-mail | packages/client-app/internal_packages/composer/spec/composer-header-actions-spec.cjsx | [
"MIT"
] |
/* $NetBSD: getaddrinfo.c,v 1.82 2006/03/25 12:09:40 rpaulo Exp $ */
/* $KAME: getaddrinfo.c,v 1.29 2000/08/31 17:26:57 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... | C | 4 | samotarnik/grpc | third_party/address_sorting/address_sorting.c | [
"Apache-2.0"
] |
# a demonstration of the 'edo' (equal division of the octave) ugen
# this example uses 22edo
# top line
'seq' '7 11 9 11 7 16 7 20 \
25 23 25 20 17 20 14 11' gen_vals
# bass line
'bass_pitch' '-37 -37 -15 -15 -19 -15 -24 \
-37 -37 -15 -15 -28 -24' gen_vals
'bass_amp' '1 0 .7 0 0 0 1 0 .7 0 0 ... | SourcePawn | 4 | brandenbyers/Sporth | examples/edo.sp | [
"MIT"
] |
/* We need access to debugger hooks */
#ifndef DEBUGGING
# define DEBUGGING
#endif
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
extern regexp* my_regcomp (pTHX_ char* exp, char* xend, PMOP* pm);
extern I32 my_regexec (pTHX_ regexp* prog, char* stringarg, char* strend,
ch... | XS | 3 | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | perl/ext/re/re.xs | [
"Apache-1.1"
] |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="iso8859-1"/>
<xsl:template match="TEST">
<html>
<head>
<title>document.URL</title>
</head>
<body>
<script>
... | XSLT | 2 | zealoussnow/chromium | third_party/blink/web_tests/fast/xsl/xslt-url.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
global function CodeCallback_MapInit
void function CodeCallback_MapInit()
{
SetupLiveFireMaps()
// worker drone model
PrecacheModel( $"models/robots/aerial_unmanned_worker/aerial_unmanned_worker.mdl" )
// note: this map has no marvin spawns, have to spawn them using idle nodes
AddSpawnCallback_ScriptName( "wo... | Squirrel | 4 | GeckoEidechse/NorthstarMods | Northstar.CustomServers/mod/scripts/vscripts/mp/levels/mp_lf_deck.nut | [
"MIT"
] |
{
version: '1.0.0',
componentsMap: [
{
devMode: 'lowcode',
componentName: 'Slot',
},
{
package: '@alilc/antd-lowcode-materials',
version: '0.9.4',
exportName: 'Button',
main: 'dist/antd-lowcode.esm.js',
destructuring: true,
componentName: 'Button',
},
... | JSON5 | 3 | raymondtm/lowcode-engine | modules/code-generator/test-cases/react-app/demo_10-jsslot/schema.json5 | [
"MIT"
] |
Integer>>euclidSub: secondNumber
"Euclidean algorithm with subtraction"
| a b |
a := self abs.
b := secondNumber abs.
[ a == b ] whileFalse: [
a > b ifTrue: [
a := a - b.
] ifFalse: [
b := b - a.
].
].
^a.
Integer>>euclidMod: secondNumber
... | Smalltalk | 4 | atocil/algorithm-archive | contents/euclidean_algorithm/code/smalltalk/euclid.st | [
"MIT"
] |
package com.baeldung.prevent.commandline.application.runner.execution;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
@Service
public class TaskService {
private static Logger logger = LoggerFactory.getLogger(TaskService.class);
public void execute(Str... | Java | 4 | DBatOWL/tutorials | spring-boot-modules/spring-boot-testing/src/main/java/com/baeldung/prevent/commandline/application/runner/execution/TaskService.java | [
"MIT"
] |
// Coding Train
// http://thecodingtrain.com
// Poisson Disc Sampling: https://youtu.be/flQgnCUxHl
// Processing port by Max: https://github.com/TheLastDestroyer
float r = 4;
int k = 30;
PVector[] grid;
float w = r / sqrt(2);
ArrayList<PVector> active;
int cols, rows;
ArrayList<PVector> ordered;
void setup() {
siz... | Processing | 5 | aerinkayne/website | CodingChallenges/CC_033_poisson_disc/Processing/CC_033_poisson_disc/CC_033_poisson_disc.pde | [
"MIT"
] |
LOCATION = "location"
OFFSET = "offset"
BINDING = "binding"
INDEX = "index"
SET = "set"
BUILTIN = "builtin"
INPUT_ATTACHMENT_INDEX = "input_attachment_index"
ORIGIN_UPPER_LEFT ... | Lex | 4 | despairblue/esy-skia | src/sksl/lex/layout.lex | [
"BSD-3-Clause"
] |
// run-pass
// Test that we can coerce an `@Object` to an `&Object`
trait Foo {
fn foo(&self) -> usize;
fn bar(&mut self) -> usize;
}
impl Foo for usize {
fn foo(&self) -> usize {
*self
}
fn bar(&mut self) -> usize {
*self += 1;
*self
}
}
fn do_it_mut(obj: &mut dyn F... | Rust | 4 | Eric-Arellano/rust | src/test/ui/objects-coerce-freeze-borrored.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
set "DRIVER_DOWNLOAD_LINK=https://s3.amazonaws.com/ossci-windows/452.39-data-center-tesla-desktop-win10-64bit-international.exe"
curl --retry 3 -kL %DRIVER_DOWNLOAD_LINK% --output 452.39-data-center-tesla-desktop-win10-64bit-international.exe
if errorlevel 1 exit /b 1
start /wait 452.39-data-center-tesla-desktop-w... | Batchfile | 3 | Hacky-DH/pytorch | .circleci/scripts/driver_update.bat | [
"Intel"
] |
implementation module Builtin.ABC
import _SystemArray
import StdList
import StdMisc
import Text
import Cloogle.API
import Cloogle.DB
builtin_abc_instructions :: [ABCInstructionEntry]
builtin_abc_instructions =
[ i_create
: arith_instructions ++
stack_operations ++
branches ++
miscellaneous ++
directiv... | Clean | 5 | clean-cloogle/Cloogle | backend/Builtin/ABC.icl | [
"MIT"
] |
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*
* Implementation of this file has been influenced by Zend Diactoros
* @link https://g... | Zephir | 5 | BeMySlaveDarlin/cphalcon | phalcon/Http/Message/Response.zep | [
"BSD-3-Clause"
] |
/*
* Copyright (c) 2021, Sahan Fernando <sahan.h.fernando@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/Graphics/Console/GenericFramebufferConsole.h>
#include <Kernel/Graphics/VirtIOGPU/FramebufferDevice.h>
#include <Kernel/TimerQueue.h>
namespace Kernel::Graphics::VirtIOG... | C | 4 | r00ster91/serenity | Kernel/Graphics/VirtIOGPU/Console.h | [
"BSD-2-Clause"
] |
KIDS Distribution saved on Sep 03, 2015@16:03:22
PATIENT REFUSALS 1.0
**KIDS**:PATIENT REFUSALS 1.0^
**INSTALL NAME**
PATIENT REFUSALS 1.0
"BLD",8519,0)
PATIENT REFUSALS 1.0^^0^3150903^n
"BLD",8519,4,0)
^9.64PA^9999999.73^3
"BLD",8519,4,9000022,0)
9000022
"BLD",8519,4,9000022,222)
y^y^f^^^^n
"BLD",8519,4,9999999.102,0... | Genshi | 3 | mdgeek/VistA-FHIR-CWF | Scripts/Install/CWF/kid/15-bgoref-1.0.kid | [
"Apache-2.0"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microso... | C# | 3 | Cadris/roslyn | src/EditorFeatures/CSharpTest/EditorConfigSettings/DataProvider/DataProviderTests.TestViewModel.cs | [
"MIT"
] |
INSERT INTO CITY (ID, NAME, STATE, COUNTRY) values (2000, 'Washington', 'DC', 'US');
INSERT INTO CITY (ID, NAME, STATE, COUNTRY) values (2001, 'San Francisco', 'CA', 'US');
| SQL | 3 | techAi007/spring-boot | spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/src/main/resources/data.sql | [
"Apache-2.0"
] |
; Basic setup script for the Inno Setup installer builder. For more
; information on the free installer builder, see www.jrsoftware.org.
;
; This script was contributed by Tim Peters.
; It was designed for Inno Setup 2.0.19 but works with later versions as well.
[Setup]
AppName=Expat
AppId=expat
AppVersion=2.1.0
AppV... | Inno Setup | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Inno Setup/expat.iss | [
"MIT"
] |
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mozlinguas-v2.eclass
# @MAINTAINER:
# mozilla@gentoo.org
# @AUTHOR:
# Nirbheek Chauhan <nirbheek@gentoo.org>
# Ian Stakenvicius <axs@gentoo.org>
# @SUPPORTED_EAPIS: 2 3 4 5 6
# @BLURB: Handle language ... | Gentoo Eclass | 5 | NighttimeDriver50000/Sabayon-Packages | local_overlay/eclass/mozlinguas-v2.eclass | [
"MIT"
] |
# Test long literals with missing end
@prefix : <http://example.org/ex#> .
:a :b """a long
literal
with
newlines
| Turtle | 2 | joshrose/audacity | lib-src/lv2/serd/tests/bad/bad-14.ttl | [
"CC-BY-3.0"
] |
#include <ATen/core/ATenGeneral.h>
| C++ | 0 | Hacky-DH/pytorch | aten/src/ATen/core/ATenGeneral.cpp | [
"Intel"
] |
2016-02-18 12:59:22 > fsociety (whoami@localhost) has joined #NicholasB
2016-02-18 12:59:22 [12:59]
2016-02-18 12:59:22 - Channel #NicholasB: 2 nicks (2 ops, 0 halfops, 0 voices, 0 normals)
| IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.#nicholasb.weechatlog | [
"MIT"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http;
using Xunit;
namespace Microsoft.AspNetCore.Mvc
{
public class HttpNotFoundResultTests
{
[Fact]
public void HttpNotFoundResu... | C# | 4 | tomaswesterlund/aspnetcore | src/Mvc/Mvc.Core/test/HttpNotFoundResultTests.cs | [
"MIT"
] |
/* Copyright 2021 The TensorFlow Authors. 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 4 | EricRemmerswaal/tensorflow | tensorflow/lite/delegates/gpu/common/task/testing_util.cc | [
"Apache-2.0"
] |
751e76e8199196d454941c45d1b3a323f1433bd6
7dd65592d0ab2fe0d0257d571abf032cd9db93dc
5dedfbf9ea599dd4e3ca6a80b333c472fd0b3f69
9652d86bedf43ad264362e6e6eba6eb764508127
8f9dff39a81ee4abcbad2ad8bafff090415a2be8
f93ec34e9e34a8f8ff7d600cdad83047b1bcb45c
e2192e8a7dd8dd1c88321959b477968b941aa973
dce76b2613052ea012204404a97b3c25e... | RMarkdown | 0 | Axeleron/keyhunt | tests/1to32.rmd | [
"MIT"
] |
/*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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 by applicable law or agre... | Java | 4 | Mu-L/kotlin | compiler/frontend/src/org/jetbrains/kotlin/types/TypeIntersector.java | [
"ECL-2.0",
"Apache-2.0"
] |
\ require parsers.fth
\ require strings.fth
\ try to split strings using parsers
: sep parser EOS | whitespace & me | whitespace end-parser ;
: content parser whitespace not & me | sep end-parser ;
: field parser sep & content | content end-parser ;
variable fields
: finalize ( addr u --... | Forth | 4 | jephthai/EvilVM | samples/split.fth | [
"MIT"
] |
import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
export interface TabScrollButtonClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if `orientation="vertical"`. */
vertical: string;
/** State class applied to the root element if ... | TypeScript | 4 | dany-freeman/material-ui | packages/mui-material/src/TabScrollButton/tabScrollButtonClasses.ts | [
"MIT"
] |
# Detects MS15-034 vulnerabilities by inspecting inbound HTTP requests and web server responses
# Any generated notices should have their sub value inspected for the appropriate exploitable RANGE values
# CrowdStrike 2015
# josh.liburdi@crowdstrike.com
@load base/frameworks/notice
@load base/protocols/http
module Cro... | Bro | 5 | kingtuna/cs-bro | bro-scripts/msb/detect-ms15-034.bro | [
"BSD-2-Clause"
] |
private use Vector;
config const testIters = 8;
var lst: vector(int);
for i in 1..testIters do
lst.append(i);
lst.pop();
var idx = lst.indexOf(testIters, 1, testIters);
| Chapel | 3 | jhh67/chapel | test/library/draft/Vector/indexOf/vectorIndexOfHaltEnd.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
// compiledir
// Copyright 2016 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.
// Issue 16317: cmd/compile: internal compiler error:
// unhandled OCONV INT -> TUNSAFEPTR
package ignored
| Go | 1 | Havoc-OS/androidprebuilts_go_linux-x86 | test/fixedbugs/issue16317.go | [
"BSD-3-Clause"
] |
-- This is a new query in TPCDS v2.7
with results as (
select
sum(ws_net_paid) as total_sum,
i_category, i_class,
0 as g_category,
0 as g_class
from
web_sales, date_dim d1, item
where
d1.d_month_seq between 1212 and 1212 + 11
and d1.d_date_sk = ws_sold_date_sk
... | SQL | 4 | OlegPt/spark | sql/core/src/test/resources/tpcds-v2.7.0/q86a.sql | [
"Apache-2.0"
] |
typedef void (^dispatch_block_t)(void);
| C | 1 | lwhsu/swift | test/SILGen/Inputs/usr/include/dispatch.h | [
"Apache-2.0"
] |
import { usingEvalSync, usingEval } from '../lib/utils'
export async function getServerSideProps() {
return {
props: await usingEval(),
}
}
export default function Page(props) {
return (
<div>
{props.value} and {usingEvalSync().value}
</div>
)
}
| JavaScript | 4 | blomqma/next.js | test/integration/middleware/with-eval/pages/index.js | [
"MIT"
] |
%%
%unicode 12.1
%public
%class UnicodeScripts_12_1_extensions_6
%type int
%standalone
%include ../../resources/common-unicode-all-enumerated-property-defined-values-only-java
%%
<<EOF>> { printOutput(); return 1; }
\p{Script_Extensions:Gunjala_Gondi} { setCurCharPropertyValue("Script_Extensions:Gunjala_Gondi"); }... | JFlex | 3 | Mivik/jflex | testsuite/testcases/src/test/cases/unicode-scripts/UnicodeScripts_12_1_extensions_6.flex | [
"BSD-3-Clause"
] |
<% unless klass.sections.length == 1 then %>
<nav id="sections-section" class="section">
<h3 class="section-header">Sections</h3>
<ul class="link-list">
<% klass.sort_sections.each do |section| %>
<li><a href="#<%= section.aref %>"><%= h section.title %></a></li>
<% end %>
</ul>
</nav>
<% end %>
| RHTML | 3 | coralnexus/rdoc-darkfish-template | _sidebar_sections.rhtml | [
"Apache-2.0"
] |
one = "x value"
Origin two = "origin value"
Ground three = "ground value"
Text four = "text value"
nil five = "nil value"
"Should be 3 times" println
one println
Ground one println
Text one println
"----------------" println
"Should be 3 times" println
Origin two println
Text two println
nil two println
"--------... | Ioke | 1 | olabini/ioke | test/scripts/value2.ik | [
"ICU",
"MIT"
] |
package influxdb_test
import "csv"
import "testing"
import "testing/expect"
option now = () => (2030-01-01T00:00:00Z)
input = "#datatype,string,long,dateTime:RFC3339,string,string,string,double
#group,false,false,false,true,true,true,false
#default,_result,,,,,,
,result,table,_time,_measurement,host,_field,_value
,,... | FLUX | 4 | ldwformat/influxdb | query/stdlib/influxdata/influxdb/filter_test.flux | [
"MIT"
] |
#+TITLE: ui/nav-flash
#+DATE: June 4, 2017
#+SINCE: v2.0
#+STARTUP: inlineimages
* Table of Contents :TOC:
- [[#description][Description]]
- [[#plugins][Plugins]]
- [[#prerequisites][Prerequisites]]
- [[#configuration][Configuration]]
* Description
This module flashes the line around the cursor after any sig... | Org | 3 | leezu/doom-emacs | modules/ui/nav-flash/README.org | [
"MIT"
] |
dnl Check for headers needed by timelib
AC_CHECK_HEADERS([io.h])
dnl Check for strtoll, atoll
AC_CHECK_FUNCS(strtoll atoll)
PHP_DATE_CFLAGS="-Wno-implicit-fallthrough -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1"
timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_t... | M4 | 3 | NathanFreeman/php-src | ext/date/config0.m4 | [
"PHP-3.01"
] |
/*
* Copyright 2014 The Sculptor Project Team, including the original
* author or 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/L... | Xtend | 4 | sculptor/sculptor | sculptor-cartridges/sculptor-cartridge-builder/src/main/java/org/sculptor/generator/cartridge/builder/BuilderHelper.xtend | [
"Apache-2.0"
] |
#include <console>
main()
{
new arr[2];
new test = test;
new test2 = arr[test2];
#pragma unused test, test2
}
| PAWN | 0 | pawn-lang/pawn | source/compiler/tests/gh_436_local_var_self_init.pwn | [
"Zlib"
] |
/* Copyright 2018 The TensorFlow Authors. 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C++ | 4 | abhaikollara/tensorflow | tensorflow/core/grappler/graph_analyzer/graph_analyzer_test.cc | [
"Apache-2.0"
] |
*Hello World in Foxpro
@5,5 say ("Hello World!")
| xBase | 2 | saurabhcommand/Hello-world | Foxpro/helloworld.prg | [
"MIT"
] |
class HelloWorld extends Mutator;
function PostBeginPlay()
{
Super.PostBeginPlay();
Log("Hello World");
}
| UnrealScript | 2 | rojenzaman/hello-world | u/Unreal Script.uc | [
"MIT"
] |
'reach 0.1';
export const main = Reach.App(
{}, [Participant('A', {})], (A) => {
A.publish();
// This should trigger Err_Eval_ContinueNotInWhile (?)
[ x ] = [ 3 ];
continue;
}
);
| RenderScript | 3 | chikeabuah/reach-lang | hs/t/n/Err_Eval_ContinueNotInWhile.rsh | [
"Apache-2.0"
] |
<nav class="navbar navbar-toggleable-md navbar-inverse fixed-top bg-inverse">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon... | HTML | 3 | zeesh49/tutorials | spring-cloud/spring-cloud-bootstrap/gateway/src/main/angular/ui/src/app/app.component.html | [
"MIT"
] |
{ lib
, stdenv
, fetchFromGitHub
, libpcap
, libnet
}:
stdenv.mkDerivation rec {
pname = "tcptraceroute";
version = "1.5beta7";
src = fetchFromGitHub {
owner = "mct";
repo = "tcptraceroute";
rev = "${pname}-${version}";
hash = "sha256-KU4MLWtOFzzNr+I99fRbhBokhS1JUNL+OgVltkOGav4=";
};
# for... | Nix | 4 | siddhantk232/nixpkgs | pkgs/tools/networking/tcptraceroute/default.nix | [
"MIT"
] |
@file:JvmName("Utils")
@file:JvmMultifileClass
val bVal: Int get() = 0
| Groff | 1 | Mu-L/kotlin | jps-plugin/testData/incremental/withJava/other/multifileDependantUsage/partB.kt.new.1 | [
"ECL-2.0",
"Apache-2.0"
] |
{-# LANGUAGE CPP, RankNTypes, UndecidableInstances, GADTs, TypeSynonymInstances, FlexibleInstances, MultiParamTypeClasses, FlexibleContexts, ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Graphics.UI.FLTK.LowLevel.ValueOutput
(
-- * Hierarchy
--
-- $hierarchy
-- * Widget F... | C2hs Haskell | 3 | ericu/fltkhs | src/Graphics/UI/FLTK/LowLevel/ValueOutput.chs | [
"MIT"
] |
%li.commit
.commit-row-title
= link_to truncate_sha(event.commit_id), project_commit_path(project, event.commit_id), class: "commit-sha", alt: '', title: truncate_sha(event.commit_id)
·
= markdown event_commit_title(event.commit_title), project: project, pipeline: :single_line, author: event.author... | Haml | 3 | hugorebelo/gitlabhq | app/views/events/_commit.html.haml | [
"MIT"
] |
{%- extends "basic/search.html" %}
{% block extrahead %}
<script type="text/javascript" src="{{ pathto('searchindex.js', 1) }}" defer></script>
<script src="{{ pathto('_static/underscore.js', 1) }}"></script>
<script src="{{ pathto('_static/doctools.js', 1) }}"></script>
<script src="{{ pathto('_static/language... | HTML | 4 | emarkou/scikit-learn | doc/themes/scikit-learn-modern/search.html | [
"BSD-3-Clause"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Search Genre in Chosic
# @raycast.mode inline
# Optional parameters:
# @raycast.packageName Web Searches
# @raycast.icon images/chosic.png
# Documentation:
# @raycast.description Find the current Spotify track's gender in Chosic... | AppleScript | 4 | daviddzhou/script-commands | commands/web-searches/search-gender-in-chosic.applescript | [
"MIT"
] |
--TEST--
Funktionstest mb_ereg_search_regs()
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
function_exists('mb_ereg_search_regs') or die("skip mb_ereg_search_regs() not available");
?>
--FILE--
<?php
// homepage:
//$mb_str = "Алексей Федорович Карамазов был Алексей Федорович Карамазов был kyrillischer string string... | PHP | 4 | NathanFreeman/php-src | ext/mbstring/tests/mb_ereg_search_regs.phpt | [
"PHP-3.01"
] |
Cortos by Johan Paz begins here.
Include Basic Screen Effects Sp by Emily Short.
[upgraded to I7 6M, by sarganar - 04.01.2017]
Chapter 1 - Narrator voices
A narrator voice is a kind of thing. A narrator voice has a text called voice style.
[ DEFAULT VOICE ]
Default voice is a narrator voice. The voice style of def... | Inform 7 | 3 | brtl-fhc/I7-Spanish | EXTENSIONES/Cortos.i7x | [
"Artistic-2.0"
] |
import module namespace qt3ts='http://www.basex.org/modules/qt3ts' at 'qt3ts/qt3ts.xqm';
declare option db:chop "off";
declare option db:intparse "off";
declare variable $QT3TS external;
qt3ts:to-junit(
$QT3TS,
'*',
'org.basex.qt3ts',
'src/test/java/org/basex/qt3ts',
function($type, $vals) {
switch($ty... | XQuery | 3 | JensErat/basex | basex-tests/src/main/xquery/qt3ts.xq | [
"BSD-3-Clause"
] |
#pragma once
#include <chrono>
#include "envoy/common/pure.h"
namespace Envoy {
/**
* Less typing for common system time and steady time type.
*
* SystemTime should be used when getting a time to present to the user, e.g. for logging.
* MonotonicTime should be used when tracking time for computing an interval.
... | C | 4 | dcillera/envoy | envoy/common/time.h | [
"Apache-2.0"
] |
.foo.svelte-xyz{color:red}.foocc.svelte-xyz{color:red}.aa.svelte-xyz{color:red}.bb.svelte-xyz{color:red}.cc.svelte-xyz{color:red}.dd.svelte-xyz{color:red}.aabar.svelte-xyz{color:red}.fooddbar.svelte-xyz{color:red}.baz.svelte-xyz{color:red} | CSS | 0 | Theo-Steiner/svelte | test/css/samples/unused-selector-string-concat/expected.css | [
"MIT"
] |
default
{
state_entry()
{
// set sit target, otherwise this will not work
llSitTarget(<0.0, 0.0, 0.1>, ZERO_ROTATION);
}
changed(integer change)
{
if (change & CHANGED_LINK)
{
key av = llAvatarOnSitTarget();
//evaluated as true if not NULL_KE... | LSL | 4 | defraged/opensim | bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl | [
"BSD-3-Clause"
] |
fd :: FromDevice(00:00:5A:98:F9:28);
td :: ToDevice(00:00:5A:98:F9:28);
out :: Queue(1024) -> td;
fd -> cl :: Classifier(12/0800, 12/0806);
cl[0]
-> Strip(14)
-> WebGen(7.1.0.0/16, 1.0.0.1, 500)
-> EtherEncap(0x0800, 00:00:5A:98:F9:28, 00:03:47:0D:39:57)
-> out;
cl[1]
-> ARPResponder(1.0.0.2 00:00:5A:... | Click | 3 | MacWR/Click-changed-for-ParaGraph | conf/webgen.click | [
"Apache-2.0"
] |
const $_c0$ = function (a0, a1) { return { collapsedHeight: a0, expandedHeight: a1 }; };
const $_c1$ = function (a0, a1) { return { value: a0, params: a1 }; };
const $_c2$ = function (a0, a1) { return { collapsedWidth: a0, expandedWidth: a1 }; };
…
hostVars: 14,
hostBindings: function MyComponent_HostBindings(rf, ctx) ... | JavaScript | 3 | John-Cassidy/angular | packages/compiler-cli/test/compliance/test_cases/r3_compiler_compliance/elements/host_binding_pure_functions.js | [
"MIT"
] |
# Copyright (c) 2022 Fyde Innovations Limited and the openFyde Authors.
# Distributed under the license specified in the root directory of this project.
EAPI="5"
DESCRIPTION="Google drive related files"
HOMEPAGE="https://drive.google.com/"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND=""
DEPEND="${RDE... | Gentoo Ebuild | 4 | FydeOS/chromium_os_for_raspberry_pi | project-cros-pi/chromeos-base/google-drive-fs/google-drive-fs-0.0.1.ebuild | [
"BSD-2-Clause"
] |
from .otBase import BaseTTXConverter
class table__f_e_a_t(BaseTTXConverter):
pass
| Python | 1 | odidev/fonttools | Lib/fontTools/ttLib/tables/_f_e_a_t.py | [
"Apache-2.0",
"MIT"
] |
GET HTTP/1.1\r\n
\r\n | HTTP | 1 | ashishmjn/gunicorn | tests/requests/invalid/002.http | [
"MIT"
] |
----------------------------------------------------------------------------------
-- Engineer: Mike Field <hamster@snap.net.nz>
--
-- Module Name: tcp_extract_header - Behavioral
--
-- Description: Extract the TCP header fields
--
------------------------------------------------------------------------------------
... | VHDL | 5 | hamsternz/FPGA_Webserver | hdl/tcp/tcp_extract_header.vhd | [
"MIT"
] |
# mscore
> Ova komanda je pseudonim za `musescore`.
- Pregledaj dokumentaciju za izvornu komandu:
`tldr musescore`
| Markdown | 1 | derNiklaas/tldr | pages.bs/common/mscore.md | [
"CC-BY-4.0"
] |
#layer {
marker-width: 10;
marker-allow-overlap: true;
marker-fill: peru;
}
#layer::label {
text-face-name: "DejaVu Sans Book";
text-name: "'1'";
text-fill: tomato;
text-allow-overlap: true;
}
| CartoCSS | 4 | nimix/carto | test/rendering-mss/basic_attachment_separate_with_label.mss | [
"Apache-2.0"
] |
To test this, send https://www.google.com/search?q=test@example.com or gmail.com?q=bengotow@gmail.com
to yourself from a client that allows plaintext or html editing.
What about gmail.com/bengotow@gmail.com - Oh man you're asking for trouble.
| HTML | 0 | cnheider/nylas-mail | packages/client-app/internal_packages/message-list/spec/autolinker-fixtures/both-email-and-url-in.html | [
"MIT"
] |
<div class="popup alert corner" id="popup-delete">
<button class="close"><img src="../assets/cross.svg" alt="close" title="close message"></button>
<p class="message">
<b class="uppercase">ARE YOU SURE YOU WOULD LIKE TO DELETE YOUR ACCOUNT?</b>
<br><br>
<button class="white" id="delete-a... | Kit | 2 | pws1453/web-client | source/imports/app/account-popup-delete-account.kit | [
"MIT"
] |
.markdown > p {
margin-top: 12px;
}
.font-bold {
font-weight: 700;
}
.foo .foo\:markdown > p {
margin-top: 12px;
}
.foo .foo\:font-bold {
font-weight: 700;
}
.foo .foo\:visited\:markdown:visited > p {
margin-top: 12px;
}
.foo .foo\:hover\:font-bold:hover {
font-weight: 700;
}
@media (min-width: 640px) {
.... | CSS | 3 | mickaelamimba/Round-game | node_modules/tailwindcss/jit/tests/modify-selectors.test.css | [
"MIT"
] |
a quote from the necronomicon = "That is not dead which can eternal lie.
And with strange aeons even death may die."
console.log (a quote from the necronomicon)
| PogoScript | 0 | featurist/pogoscript | examples/multilineString.pogo | [
"BSD-2-Clause"
] |
CREATE OR REPLACE FUNCTION hdb_catalog.check_violation(msg text) RETURNS bool AS
$$
BEGIN
RAISE check_violation USING message=msg;
END;
$$ LANGUAGE plpgsql;
| SQL | 4 | gh-oss-contributor/graphql-engine-1 | server/src-rsr/migrations/29_to_30.sql | [
"Apache-2.0",
"MIT"
] |
[
{
"@id": "http://example.com/IriCollissions",
"http://example.com/vocab/collidingTerm": [
{
"@value": "value 1"
},
{
"@value": 2
},
{
"@value": 3
},
{
... | JSONLD | 1 | fsteeg/json-ld-api | tests/flatten/0034-out.jsonld | [
"W3C"
] |
# Allow SSH tab completion for mosh hostnames
compdef mosh=ssh
| Shell | 3 | chensanle/ohmyzsh | plugins/mosh/mosh.plugin.zsh | [
"MIT"
] |
package com.baeldung.hamcrest;
import org.hamcrest.Description;
import org.hamcrest.Factory;
import org.hamcrest.Matcher;
import org.hamcrest.TypeSafeMatcher;
public class IsPositiveInteger extends TypeSafeMatcher<Integer> {
public void describeTo(Description description) {
description.appendText("a positive inte... | Java | 4 | DBatOWL/tutorials | libraries-testing/src/test/java/com/baeldung/hamcrest/IsPositiveInteger.java | [
"MIT"
] |
--TEST--
Try finally (with for continue)
--FILE--
<?php
function foo () {
for($i = 0; $i < 5; $i++) {
do {
try {
try {
} finally {
}
} catch (Exception $e) {
} finally {
continue;
}
} while ... | PHP | 2 | guomoumou123/php5.5.10 | Zend/tests/try_finally_009.phpt | [
"PHP-3.01"
] |
ARCHIVE_READ_DISK(3) manual page
== NAME ==
'''archive_read_disk_new''',
'''archive_read_disk_set_behavior''',
'''archive_read_disk_set_symlink_logical''',
'''archive_read_disk_set_symlink_physical''',
'''archive_read_disk_set_symlink_hybrid''',
'''archive_read_disk_entry_from_file''',
'''archive_read_disk_gnam... | MediaWiki | 5 | probonopd/imagewriter | dependencies/libarchive-3.4.2/doc/wiki/ManPageArchiveReadDisk3.wiki | [
"Apache-2.0"
] |
2019-09-18 22:45:04 New key binding (context "default"): meta2-1;5P => /bar scroll buflist * -100%
2019-09-18 22:45:04 New key binding (context "default"): meta2-1;5Q => /bar scroll buflist * +100%
2019-09-18 22:45:04 New key binding (context "default"): meta-meta-OQ => /bar scroll buflist * e
2019-09-18 22:45:04 N... | IRC log | 1 | akshaykumar23399/DOTS | weechat/logs/core.weechat.weechatlog | [
"Unlicense"
] |
<p>
<b>DDF (<%= @ddfName -%>) for project: <%= @project.name -%></b>
</p>
<pre>
<font size=-1>
<%=@ddfText-%>
</font>
</pre>
<%= link_to 'Download DDF', {:action => 'download_ddf', :id => @project.id} -%>
| RHTML | 2 | andypohl/kent | src/hg/encode/hgEncodeSubmit/app/views/pipeline/show_ddf.rhtml | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="13008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Property>
<Property Name="IOScan.NetVarPeriod" Type="UInt">100</Property>... | LabVIEW | 2 | JKISoftware/JKI-SMO-Templates | src/base templates/Base Templates.lvproj | [
"BSD-3-Clause"
] |
datatype node
= Node of
{ Label : string
, SubForest : list node
}
fun getNode () : transaction node =
return (Node { Label = "foo", SubForest = [] })
fun main () : transaction page = return <xml><body>
<button onclick={
n <- rpc (getNode ());
case n of
Node {Label = l, ...} =>... | UrWeb | 3 | apple314159/urweb | tests/rpcNested.ur | [
"BSD-3-Clause"
] |
enum A {
B { x: Option<isize> },
C
}
fn main() {
let x = A::B { x: Some(3) };
match x { //~ ERROR non-exhaustive patterns
A::C => {}
A::B { x: None } => {}
}
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/pattern/usefulness/struct-like-enum-nonexhaustive.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<ProductVersion>3.5</ProductVersion>
<ProjectGuid>{d6d563f4-0983-4ab5-b167-3e684b6080b2}</ProjectGuid>
<OutputType>exe</OutputType>
... | Oxygene | 2 | nchevsky/remobjects-sugar | Sugar.Tests/Sugar.Cooper.Test.oxygene | [
"BSD-3-Clause"
] |
@import "~library/style.sass" | Sass | 0 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/sass-webpack-import-error/index.sass | [
"MIT"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'regional';
checkConfig(config);
@endpoint = getEndpoint('mhub', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
function... | Tea | 4 | aliyun/alibabacloud-sdk | mhub-20170825/main.tea | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.