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 |
|---|---|---|---|---|---|
:- object(tests,
extends(lgtunit)).
:- info([
version is 0:0:0,
author is 'Paulo Moura',
date is 2016-03-02,
comment is 'Unit tests for the db predicates.'
]).
:- uses(user, [
db_clear/1, db_reconsult/2, xsave/2,
db_call/2,
db_dynamic/2, db_abolish/2, db_is_dynamic/2,
db_asserta/2, db_assertz/2, d... | Logtalk | 5 | PaulBrownMagic/logtalk3 | examples/named_databases/db_tests.lgt | [
"Apache-2.0"
] |
{{#todos}}
<h2>{{title}}</h2>
{{/todos}} | HTML+Django | 2 | zeesh49/tutorials | mustache/src/main/resources/todos.mustache | [
"MIT"
] |
Const OUT_DEFAULT_PRECIS=0
Const OUT_STRING_PRECIS=1
Const OUT_CHARACTER_PRECIS=2
Const OUT_STROKE_PRECIS=3
Const OUT_TT_PRECIS=4
Const OUT_DEVICE_PRECIS=5
Const OUT_RASTER_PRECIS=6
Const OUT_TT_ONLY_PRECIS=7
Const OUT_OUTLINE_PRECIS=8
Const OUT_SCREEN_OUTLINE_PRECIS=9
Const OUT_PS_ONLY_PRECIS=10
Const CLIP_DEFAULT_P... | BlitzMax | 3 | jabdoa2/blitzmax | mod/pub.mod/win32.mod/gdi32.bmx | [
"Zlib"
] |
ruleset org.sovrin.router {
meta {
use module org.sovrin.agent_message alias a_msg
use module io.picolabs.wrangler alias wrangler
shares __testing, stored_msgs
}
global {
__testing = { "queries":
[ { "name": "__testing" }
, { "name": "stored_msgs", "args": [ "vk", "exceptions" ] }
... | KRL | 4 | Picolab/G2S | krl/org.sovrin.router.krl | [
"MIT"
] |
#N canvas 614 59 575 445 12;
#X obj 88 19 cos~;
#X obj 121 219 cos~;
#X obj 215 293 snapshot~;
#X obj 121 175 sig~;
#X floatatom 215 319 10 0 0 0 - - - 0;
#X obj 121 144 * 0.01;
#X floatatom 121 117 5 0 0 0 - - - 0;
#X text 175 144 Divide by 100;
#X text 157 175 convert to audio;
#X text 53 350 see also:;
#X obj 56 376... | Pure Data | 4 | myQwil/pure-data | doc/5.reference/cos~-help.pd | [
"TCL"
] |
#! /bin/sh -e
# DP: Set gettext's domain and textdomain to the versioned package name.
dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch)
patch $pdir -f... | Darcs Patch | 3 | JrCs/opendreambox | recipes/gcc/gcc-4.3.4/debian/gcc-textdomain.dpatch | [
"MIT"
] |
package com.taobao.arthas.core.util;
import org.junit.Assert;
import org.junit.Test;
import com.taobao.arthas.core.util.ThreadLocalWatch.LongStack;
/**
*
* @author hengyunabc 2019-11-20
*
*/
public class LongStackTest {
@Test
public void test() {
LongStack stack = new LongStack(100);
s... | Java | 4 | weihubeats/arthas | core/src/test/java/com/taobao/arthas/core/util/LongStackTest.java | [
"Apache-2.0"
] |
CREATE FUNCTION public.update_last_seen_timestamp_func() RETURNS trigger
LANGUAGE plpgsql
AS $$
BEGIN
NEW.last_seen_at := now();
RETURN NEW;
END;
$$;
CREATE TABLE public."user" (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
created_at timestamp with time zone DEFA... | SQL | 4 | gh-oss-contributor/graphql-engine-1 | community/sample-apps/realtime-poll/hasura/migrations/default/1613651085741_init/up.sql | [
"Apache-2.0",
"MIT"
] |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* Base locale used as foundation for other locales. For example: A base locale allows
* generation of a file c... | TypeScript | 4 | John-Cassidy/angular | packages/common/locales/generate-locales-tool/bin/base-locale.ts | [
"MIT"
] |
package library.sample
public fun ClassA.extFun(): String = "ClassA.extFun" | Kotlin | 3 | qussarah/declare | compiler/testData/integration/ant/js/simpleWithStdlibAndTwoJsFilesAsLibraries/jslib-example2/LibraryExample.kt | [
"Apache-2.0"
] |
a { width: .00%; } | CSS | 1 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/eHdhrm6W2iHKQegxH7uEgw/input.css | [
"Apache-2.0"
] |
FORMAT: 1A
# Top Secret API
# Resource [/resource]
## Update Resource [PUT]
+ Request (application/json)
+ Attributes
+ name: `Alice` (string)
+ Response 200 (application/json; charset=utf-8)
+ Headers
Authorization: token 5229c6e8e4b0bd7dbb07e29c
+ Attributes
+ name: `Alice... | API Blueprint | 3 | tomoyamachi/dredd | packages/dredd/test/fixtures/sanitation/response-headers.apib | [
"MIT"
] |
extends ConfirmationDialog
var width := 64
var height := 64
var offset_x := 0
var offset_y := 0
var image : Image
var first_time := true
onready var width_spinbox : SpinBox = $VBoxContainer/OptionsContainer/WidthValue
onready var height_spinbox : SpinBox = $VBoxContainer/OptionsContainer/HeightValue
onready var x_sp... | GDScript | 4 | triptych/Pixelorama | src/UI/Dialogs/ImageEffects/ResizeCanvas.gd | [
"MIT"
] |
digraph PageHeap {
rankdir=LR
node [shape=box, width=0.3, height=0.3]
nodesep=.05
heap [shape=record, height=3, label="<f0>1 page|<f1>2 pages|<f2>3 pages|...|<f128>128 pages"]
O0 [shape=record, label=""]
O1 [shape=record, label=""]
O2 [shape=record, label="{|}"]
O3 [shape=record, label="{|}"]
O4 [shape=record, label="... | Graphviz (DOT) | 3 | cssl-unist/tweezer | Docker/gperftools/docs/pageheap.dot | [
"MIT"
] |
start_server {tags {"hll"}} {
test {HyperLogLog self test passes} {
catch {r pfselftest} e
set e
} {OK} {needs:pfdebug}
test {PFADD without arguments creates an HLL value} {
r pfadd hll
r exists hll
} {1}
test {Approximated cardinality after creation is zero} {
... | Tcl | 5 | hpdic/redis | tests/unit/hyperloglog.tcl | [
"BSD-3-Clause"
] |
.css-dep-stylus
color red
| Stylus | 2 | laineus/vite | packages/playground/css/css-dep/index.styl | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=2
ResourceCount=2
NewFileInclude1=#include "stdafx.h"
Class1=CChildFrame
LastClass=CPortView
LastTemplate=CEditView
Resource1=IDR_PORT
Class2=CPortView
Resource2=IDD_FORMVIEW
[CLS:CChildFrame]
Type=0
HeaderFile=ChildFrame.h
Im... | Clarion | 3 | CarysT/medusa | Tools/TextPort/TextPort.clw | [
"MIT"
] |
<%= render file: @path %> | HTML+ERB | 2 | swaathi/rails | actionview/test/fixtures/actionpack/test/render_file_from_template.html.erb | [
"MIT"
] |
lexer grammar t002lexer;
options {
language = Python;
}
ZERO: '0';
ONE: '1';
| G-code | 3 | mail2nsrajesh/congress | thirdparty/antlr3-antlr-3.5/runtime/Python/tests/t002lexer.g | [
"Apache-2.0"
] |
--TEST--
Bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127)
--EXTENSIONS--
filter
--FILE--
<?php
var_dump(filter_var("\x7f", FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_HIGH));
var_dump(filter_var("\x7f", FILTER_UNSAFE_RAW, FILTER_FLAG_STRIP_HIGH));
var_dump(filter_var("\x7f", FILTER_SANITIZE_ENCODED, FILTER_FLA... | PHP | 3 | NathanFreeman/php-src | ext/filter/tests/bug69203.phpt | [
"PHP-3.01"
] |
<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="M12,4C7.7,4 3.7... | XML | 2 | bubenheimer/androidx | compose/material/material/icons/generator/raw-icons/rounded/network_wifi.xml | [
"Apache-2.0"
] |
MODULE_NAME='BoxeeBox_UI_v01' (DEV vdvDev,DEV dvTP)
DEFINE_TYPE
STRUCTURE _NowPlaying {
INTEGER nMediaType
CHAR cTimePassed[16]
CHAR cTimeDuration[16]
CHAR cShowSeason[4]
CHAR cShowEpisode[4]
CHAR cLinesOfText[6][128]
}
STRUCTURE _BBoxUI {
_NowPlaying WasPlaying
_NowPlaying NowPlaying
}
... | NetLinx | 5 | ajnavarro/language-dataset | data/github.com/nickmil/BoxeeBox/d5b70df496c6d1e4a6b16943028c0000f1225503/BoxeeBox_UI_v01.axs | [
"MIT"
] |
(import
[config [*aliasing-chars* *alias-page*]]
[models [get-all]]
[os.path [basename]]
[transform [get-mappings]]
[re [compile match]]
[slugify [slugify]]
[utils [lru-cache memoize]])
(def *digits-only* (compile "^([0-9]+)$"))
(with-decorator (memoize)
(defn get... | Hy | 4 | CyberFlameGO/sushy | sushy/aliasing.hy | [
"MIT"
] |
= Allow recovery code on TOTP code field
If using the otp feature, for convenience you might want to allow
the user to enter the recovery code into the TOTP code field, instead
of requiring they use the separate recovery codes form. You can
implement this using the following configuration:
plugin :rodauth do
en... | RDoc | 4 | dmitryzuev/rodauth | doc/guides/totp_or_recovery.rdoc | [
"MIT"
] |
package com.baeldung.core.modifiers;
public class FirstClass {
protected String name;
protected FirstClass(String name) {
this.name = name;
}
protected String getName() {
return name;
}
protected static class InnerClass {
public InnerClass() {}
}
}
| Java | 4 | DBatOWL/tutorials | core-java-modules/core-java-lang-syntax-2/src/main/java/com/baeldung/core/modifiers/FirstClass.java | [
"MIT"
] |
static const q15_t in_angles[23] = {
0x0000, 0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x6000, 0x7FFF,
0xF000, 0xE000, 0xD000, 0xC000, 0xB000, 0xA000, 0x8000, 0x0000,
0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x6000, 0x7FFF
};
static const q15_t in_sqrt[8] = {
0xCCCD, 0x0000, 0x0CCD, 0x7FFF, 0x7FFF, 0x... | Max | 3 | Trifunik/zephyr | tests/lib/cmsis_dsp/fastmath/src/q15.pat | [
"Apache-2.0"
] |
//This is the solution to http://codeforces.com/contest/900/problem/B
//B. Position in Fraction
#raw "template.cpy"
int main()
int a, b, c
cin a b c
dec = 0
while dec++ <= b
div = 0
res = 0
a *= 10
while a > res
res += b
div++
if a < res
res -= b
div--
pa = a
a -= res
//? pa a ... | COBOL | 2 | saviour07/CPY | Examples/Contest problems/900B. Position in Fraction/b.cpy | [
"MIT"
] |
--TEST--
Bug #70207 Finally is broken with opcache
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
opcache.file_update_protection=0
--EXTENSIONS--
opcache
--FILE--
<?php
function bar() {
return "bar";
}
function foo() {
try { return bar(); }
finally {
@fopen("non-existent... | PHP | 3 | NathanFreeman/php-src | ext/opcache/tests/bug70207.phpt | [
"PHP-3.01"
] |
Tracing for client sent headers
| Cucumber | 3 | adamko147/aiohttp | CHANGES/5105.feature | [
"Apache-2.0"
] |
(assert (q "(assert (q %c%s%c))
(defrule quine (q ?q) => (format t ?q 34 ?q 34))
(run)
(exit)
"))
(defrule quine (q ?q) => (format t ?q 34 ?q 34))
(run)
(exit)
| CLIPS | 4 | MakeNowJust/quine | quine.clp | [
"Beerware"
] |
# 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 applica... | Python | 4 | EricRemmerswaal/tensorflow | tensorflow/examples/speech_commands/wav_to_features_test.py | [
"Apache-2.0"
] |
template(name="spinnerCubeGrid")
.sk-spinner.sk-spinner-cube-grid(class=currentBoard.colorClass)
+spinnerCubeGridRaw
template(name="spinnerCubeGridRaw")
.sk-cube-grid.sk-cube-grid1
.sk-cube-grid.sk-cube-grid2
.sk-cube-grid.sk-cube-grid3
.sk-cube-grid.sk-cube-grid4
.sk-cube-grid.sk-cube-grid5
.sk-cube... | Jade | 3 | UBessle/wekan | client/components/main/spinner_cube_grid.jade | [
"MIT"
] |
$TTL 3600 ; default time to live
@ IN SOA ns1.vedetta.lan hostmaster.vedetta.lan. (
2017052903 ; serial
24h ; refresh
30m ; retry
2d ; expire
7d ; min ttl
)
IN NS ns1.vedetta.lan.
; IN NS ns2.vedetta.lan.
; vedetta.lan zone prefix
$ORIGIN 0.168.192.in-addr.arpa.
1 IN PTR dmz.vedetta... | DNS Zone | 4 | rjc/vedetta | src/var/nsd/zones/master/168.192.zone | [
"ISC"
] |
#include <stdint.h>
void fuzz_mt19937_init(uint32_t seed);
uint32_t fuzz_mt19937_get(void);
void fuzz_mt19937_destroy(void);
| C | 3 | vanga-top/mediasoup | worker/deps/libsrtp/srtp/fuzzer/mt19937.h | [
"0BSD"
] |
@tailwind variants;
| CSS | 0 | haba-sensei/abogados | node_modules/tailwindcss/variants.css | [
"MIT"
] |
// This test configuration assume the machine that click runs
// (in this case mindwipe) has ip6 address 3ffe:1ce1:2::5.
// It will reply a neighborhood solitation message.
// For instance "ping6 3ffe:1ce1:2::5"
// It will print out the following:
// Print afterClassfier | 86 : 3333ff00 00050000 c04371ef 86dd60... | Click | 4 | MacWR/Click-changed-for-ParaGraph | conf/ip6ndadvertiser02.click | [
"Apache-2.0"
] |
#100
striking~
1 0 n 167 -1
A
1 2
A
17 1
R
104 5 # 5x a red bloodstone
S
#101
parry~
1 0 n 167 -1
A
2 1
R
103 5 # 5x a yellow lightning stone
S
#102
wisdom~
1 0 n 167 -1
A
8 2
A
7 1
R
1300 5 # 5x a glowing green seashell
S
#103
accuracy~
1 0 n 167 -1
A
17 1
R
104 5 # 5x a red bloodstone
S
#104
awareness~
1 0 n 167 ... | Augeas | 1 | EmpireMUD/EmpireMUD-2.0-Beta | lib/world/aug/1.aug | [
"DOC",
"Unlicense"
] |
configuration ReadLqiC {
provides interface ReadLqi;
} implementation {
components RF230RadioC;
ReadLqi = RF230RadioC;
}
| nesC | 4 | tgtakaoka/tinyos-prod | tos/chips/rf230/ReadLqiC.nc | [
"BSD-3-Clause"
] |
-- "test assignment"
= a 1
= b :string
= c true
= d undefined
= e /^hello\sworld$
-- "test values"
console.log 1
console.log a b c
array 1 2 3
console.log $ object (:a 1) (:b :)
:c $ array 1
-- "combine"
console.log $ array 1 2 3
= e $ array 1 2
= f $ object
:a 1
:c :nothing
| Cirru | 3 | Cirru/cirru-script | examples/assign.cirru | [
"Xnet",
"X11"
] |
// Daniel Shiffman
// http://codingtra.in
// http://patreon.com/codingtrain
// Video: https://youtu.be/xXjRlEr7AGk
Segment tentacle;
// Segment seg2;
void setup() {
size(600, 400);
float t = 0;
float len = 50;
tentacle = new Segment(width/2, height, len, 0, 0);
Segment current = tentacle;
for (int i = 0; ... | Processing | 4 | aerinkayne/website | CodingChallenges/CC_064.1_ForwardKinematics/Processing/CC_064_1_B_ForwardKinematics/CC_064_1_B_ForwardKinematics.pde | [
"MIT"
] |
macro_rules! empty { () => () }
fn main() {
match 42 {
_ => { empty!() }
//~^ ERROR macro expansion ends with an incomplete expression
};
}
| Rust | 2 | Eric-Arellano/rust | src/test/ui/macros/macro-in-expression-context-2.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
POM_ARTIFACT_ID=leakcanary-android-core
POM_NAME=LeakCanary for Android - Core
POM_PACKAGING=aar
| INI | 0 | BraisGabin/leakcanary | leakcanary-android-core/gradle.properties | [
"Apache-2.0"
] |
--TEST--
Bug #76285 DOMDocument::formatOutput attribute sometimes ignored
--EXTENSIONS--
dom
--SKIPIF--
<?php if (!defined("LIBXML_HTML_NOIMPLIED")) die("skip libxml2 2.7.7 required"); ?>
--FILE--
<?php
$dom = new DOMDocument();
$dom->formatOutput = false;
$html = '<div><div><a>test</a></div><div><a>test2</a></div></d... | PHP | 4 | NathanFreeman/php-src | ext/dom/tests/bug76285.phpt | [
"PHP-3.01"
] |
Format: Wasm Little-endian 32-bit
Kind: Unknown
Architecture: Wasm32
Flags: None
Relative Address Base: 0
Entry Address: 0
1: Section { name: "<type>", address: 0, size: 4a, align: 1, kind: Metadata, flags: None }
2: Section { name: "<import>", address: 0, size: b0, align: 1, kind: Linker, flags: None }
3: Section { na... | ObjDump | 2 | sunfishcode/object | crates/examples/testfiles/wasm/base.wasm.objdump | [
"Apache-2.0",
"MIT"
] |
#![allow(non_fmt_panics)]
#![crate_type = "lib"]
const MSG: &str = "hello";
const Z: () = std::panic!("cheese");
//~^ ERROR evaluation of constant value failed
const Z2: () = std::panic!();
//~^ ERROR evaluation of constant value failed
const Y: () = std::unreachable!();
//~^ ERROR evaluation of constant value fail... | Rust | 3 | ohno418/rust | src/test/ui/consts/const-eval/const_panic.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/* Copyright 2020 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... | Protocol Buffer | 4 | tsheaff/keras | keras/protobuf/saved_metadata.proto | [
"Apache-2.0"
] |
\section{Code}
\begin{figure}[t]
\includegraphics[width=\textwidth]{figures/InherentIndices.png}
\caption{Indices}
\label{fig:indices}
\end{figure}
\begin{figure}[t]
\includegraphics[width=\textwidth]{figures/InherentSubst.png}
\caption{Substitution}
\label{fig:subst}
\end{figure}
\begin{figure}[t]
... | Literate Agda | 0 | andorp/plfa.github.io | papers/sbmf/extra.lagda | [
"CC-BY-4.0"
] |
Ensure that :func:`math.expm1` does not raise on underflow.
| reStructuredText | 3 | lostbeta/cpython | Misc/NEWS.d/next/Library/2021-12-09-00-44-42.bpo-46018.hkTI7v.rst | [
"0BSD"
] |
# Author: Jason Batchelor
# Company: Emerson
# Description: Check of VT query contained a match at some level.
map(..|.META_VT_INSPECT?|.response_code) | del(.[] | nulls) | unique | .[] > 0
| JSONiq | 3 | akniffe1/fsf | fsf-server/jq/vt_match_found.jq | [
"Apache-2.0"
] |
<!doctype html>
<html>
<head>
<link href="feed.xml" rel="alternate" type="application/atom+xml" title="Blog RSS" />
</head>
<body>
</body>
</html>
| HTML | 2 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/html-feed/atom.html | [
"MIT"
] |
//tab_size=4
// Copyright 2021 nickmqb
// SPDX-License-Identifier: Apache-2.0
// Generated by ffigen 0.2.0
// Platform: Windows
// Target: 64-bit
stbi_load(filename cstring, x *int, y *int, channels_in_file *int, desired_channels int) *byte #Foreign("stbi_load")
| mupad | 2 | nickmqb/fpga_craft | data_gen/stb_image.mu | [
"Apache-2.0"
] |
#!/bin/bash -e
# Allows this script to be invoked from any directory:
cd "$(dirname "$0")"
UNCOMMIT_CHANGE=$(git status -s | grep " config.yml" | wc -l | xargs)
if [[ $UNCOMMIT_CHANGE != 0 ]]; then
OLD_FILE=$(mktemp)
cp config.yml "$OLD_FILE"
echo "Uncommitted change detected in .circleci/config.yml"
... | Shell | 4 | Hacky-DH/pytorch | .circleci/regenerate.sh | [
"Intel"
] |
[Desktop Entry]
Type=Application
Name=Mime Launch Test
Exec=mime_launch.sh %f
Path=/tmp
StartupNotify=false
MimeType=text/x-xdg-testpattern
| desktop | 4 | freedesktop-unofficial-mirror/xdg__xdg-utils | tests/xdg-utils-usecases/data/mime_launch.desktop | [
"MIT"
] |
@import "ui-variables";
@import "../mixins/mixins";
// Toggling content
// -------------------------
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
.hide {
display: none !important;
}
.show {
display: block !important;
}
.invisible {
visibility: hidden;
}
.text-hide {
.te... | Less | 3 | davidbertsch/atom | static/atom-ui/styles/private/utilities.less | [
"MIT"
] |
#include "caffe2/operators/cosh_op.h"
#include <c10/util/accumulate.h>
#include "caffe2/core/context_gpu.h"
#include <algorithm>
#include <functional>
namespace caffe2 {
namespace {
__global__ void CoshGradientCUDAKernel(
const int N,
const float* dY,
const float* X,
float* dX) {
CUDA_1D_KERNEL_L... | Cuda | 4 | Hacky-DH/pytorch | caffe2/operators/cosh_op.cu | [
"Intel"
] |
<template name="tokenChannelsList">
<h3 class="rooms-list__type">
Token Channels
</h3>
<ul class="rooms-list__list">
<ul class="rooms-list__list">
{{#each room in rooms}}
{{> chatRoomItem room }}
{{else}}
<p class="rooms-list__empty-room">{{_ "No_channels_yet" }}</p>
{{/each}}
</ul>
</ul>
</t... | HTML | 3 | subramanir2143/Rocket.Chat | app/tokenpass/client/tokenChannelsList.html | [
"MIT"
] |
30A LEARNING ACADEMY
A LEAGUE OF THEIR OWN ACADEMY LLC
A LEARNING DAY CARE CENTER
A LIGHTHOUSE CHRISTIAN ACADEMY
A PLUS LEARNING ACADEMY
A WORLD OF KNOWLEDGE PRESCHOOL AND LEARNING CTR
ABA ACADEMY
ABIS PLACE
ABLE ACADEMY
ABUNDANT LIFE CHRISTIAN ACADEMY
ABUNDANT LIFE CHRISTIAN LRNG CTR /NEW JERUSALEM
ABUNDANTCRESCENT CI... | Text | 1 | wgph96/SecLists | Miscellaneous/security-question-answers/us-private-schools/Florida-school.txt | [
"MIT"
] |
#%RAML 1.0 ResourceType
usage: Use this resourceType to represent any single item
description: A single <<typeName>>
get:
description: Get a <<typeName>> by <<resourcePathName>>
is: [ hasResponseItem, hasNotFound ]
put:
description: Update a <<typeName>> by <<resourcePathName>>
is: [ hasRequestItem, hasResponse... | RAML | 4 | zeesh49/tutorials | raml/modularization/resourceTypes/item.raml | [
"MIT"
] |
[Desktop Entry]
Name=Keybase
Exec=/usr/bin/run_keybase
Icon=keybase
Type=Application
Categories=Utility;
Terminal=false
| desktop | 2 | nooproblem/jessfrazdotfiles | usr/share/applications/keybase.desktop | [
"MIT"
] |
Module: win32-glu
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF ANY KIND
// This file is automatically generated from "GLU.H"; do not edi... | Dylan | 4 | kryptine/opendylan | sources/win32/win32-glu/glu.dylan | [
"BSD-2-Clause"
] |
<!DOCTYPE html>
<html lang="en">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{heading}}</title>
</head>
<body>
<p>{{from}}</p>
<p>{{content}}</p>
</body>
</html>
| HTML+Django | 3 | DBatOWL/tutorials | xml/src/test/resources/templates/template.mustache | [
"MIT"
] |
<button id="show-single-chip" (click)="showSingleChip()">Show Single Chip</button>
<button id="show-chip-set" (click)="showSet()">Show Chip Set</button>
<button id="show-chip-grid" (click)="showGrid()">Show Chip Grid</button>
<button id="show-chip-listbox" (click)="showListbox()">Show Chip Listbox</button>
<button id="... | HTML | 3 | tungyingwaltz/components | test/benchmarks/mdc/chips/chips.html | [
"MIT"
] |
#!/usr/bin/env bash
set -e
DF_VERSION=$1
for FILE in *.dockerfile; do
f=$(basename -- "$FILE")
f="${f%.*}"
TAG=hasura/graphql-engine-$f:$DF_VERSION
echo
echo "=============================================================="
echo "Building and pushing $TAG"
echo "===========================... | Shell | 4 | gh-oss-contributor/graphql-engine-1 | .circleci/build-docker-image.sh | [
"Apache-2.0",
"MIT"
] |
/*
* This library is distributed under a modified BSD license. See the included
* LICENSE file for details.
*/
package org.fife.ui.rsyntaxtextarea.modes;
import java.io.*;
import javax.swing.text.Segment;
import org.fife.ui.rsyntaxtextarea.*;
/**
* Scanner for the Go programming language.
*
* This implementa... | JFlex | 5 | mikhan808/rsyntaxtextarea-antlr4-extension | third_party/RSyntaxTextArea/RSyntaxTextArea/src/main/java/org/fife/ui/rsyntaxtextarea/modes/GoTokenMaker.flex | [
"BSD-3-Clause"
] |
BscoresJ(fff?fff?fff?fff?fff?fff?fff?fff?fff?fff? | PureBasic | 0 | cnheider/onnx | onnx/backend/test/data/node/test_nonmaxsuppression_identical_boxes/test_data_set_0/input_1.pb | [
"MIT"
] |
Prefix(:=<http://example.org/>)
Ontology(:Child1
Import( <http://localhost:10000/grandchild.owl> )
Declaration(Class(:child1.1))
Declaration(Class(:child1.2))
SubClassOf(:child1.1 :child1.2)
)
| Web Ontology Language | 3 | jmcmurry/SciGraph | SciGraph-core/src/test/resources/ontologies/import/child1.owl | [
"Apache-2.0"
] |
CLASS zcl_abapgit_gui_page_ex_pckage DEFINITION
PUBLIC
INHERITING FROM zcl_abapgit_gui_component
FINAL
CREATE PRIVATE.
PUBLIC SECTION.
INTERFACES zif_abapgit_gui_event_handler.
INTERFACES zif_abapgit_gui_renderable.
CLASS-METHODS create
RETURNING
VALUE(ri_page) TYPE REF TO zif_abap... | ABAP | 4 | gepparta/abapGit | src/ui/zcl_abapgit_gui_page_ex_pckage.clas.abap | [
"MIT"
] |
#!/usr/bin/env bash
# Copyright 2018 The Kubernetes 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... | Shell | 4 | g9rga/minikube | hack/boilerplate/fix.sh | [
"Apache-2.0"
] |
<h1>500 Error</h1>
<?php echo $this->tag->linkTo('index', 'Go Home') ?>
| Volt | 2 | derryberni/mvc | micro-simple-views/views/500.volt | [
"BSD-3-Clause"
] |
spring.output.ansi.enabled=never
server.port=7070
| INI | 0 | DBatOWL/tutorials | spring-boot-modules/spring-boot/src/main/resources/demo.properties | [
"MIT"
] |
CREATE TABLE SYS_LOG (
ID NUMBER(20) NOT NULL ,
USERNAME VARCHAR2(50 BYTE) NULL ,
OPERATION VARCHAR2(50 BYTE) NULL ,
TIME NUMBER(11) NULL ,
METHOD VARCHAR2(200 BYTE) NULL ,
PARAMS VARCHAR2(500 BYTE) NULL ,
IP VARCHAR2(64 BYTE) NULL ,
CREATE_TIME DATE NULL
);
COMMENT ON COLUMN SYS_LOG.USERNAME I... | SQL | 4 | Nico-du/SpringAll | 07.Spring-Boot-AOP-Log/src/main/resources/init.sql | [
"MIT"
] |
/** @type {import("../../../../").Configuration} */
module.exports = {
experiments: {
futureDefaults: true
}
};
| JavaScript | 2 | fourstash/webpack | test/configCases/managedPaths/futureDefaults/webpack.config.js | [
"MIT"
] |
-module(petstore_inline_object_1).
-include("petstore.hrl").
-export([petstore_inline_object_1/0]).
-export([petstore_inline_object_1/1]).
-export_type([petstore_inline_object_1/0]).
-type petstore_inline_object_1() ::
[ {'additionalMetadata', binary() }
| {'file', binary() }
].
petstore_inline_object_1() ... | Erlang | 4 | therockstorm/openapi-generator | samples/client/petstore/erlang-proper/src/model/petstore_inline_object_1.erl | [
"Apache-2.0"
] |
.. currentmodule:: numpy
==========================
NumPy 1.22.0 Release Notes
==========================
Highlights
==========
New functions
=============
Deprecations
============
Future Changes
==============
Expired deprecations
====================
Compatibility notes
===================
C API chang... | reStructuredText | 0 | iam-abbas/numpy | doc/source/release/1.22.0-notes.rst | [
"BSD-3-Clause"
] |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
int binary_search(int *arr, int size, int val)
{
int low = 0, high = size - 1, mid;
while (low <= high) {
mid = (low + high) / 2;
if (arr[mid] == val)
return mid;
if (arr[mid] < val)
low = mid + 1;
else
high = mid - 1... | C | 5 | shipan3452/algo | c-cpp/16_bsearch/bsearch_variant.c | [
"Apache-2.0"
] |
- active = params[:tab] == 'settings'
- if can_admin_cluster?(current_user, @cluster)
= gl_tab_link_to clusterable.cluster_path(@cluster.id, params: { tab: 'settings' }), { item_active: active } do
= _('Advanced Settings')
| Haml | 4 | nowkoai/test | app/views/clusters/clusters/_advanced_settings_tab.html.haml | [
"MIT"
] |
<html>
<head>
<title>Async JavaScript function test page</title>
<style>
.pass {
background-color: green;
}
.fail {
background-color: red;
}
</style>
<script>
responseText = "";
async function loadFromURL(url) {
let re... | HTML | 3 | r00ster91/serenity | Base/res/html/misc/async-js.html | [
"BSD-2-Clause"
] |
Rule struct #RefType {
pattern string
symbolKind SymbolKind
constType ConstType
useCast bool
prefer_cstring bool
skip bool
isMatched bool
}
SymbolKind enum {
none
any
function
struct_
const
var
enum_
}
ConstType enum {
none
int_
uint_
long_
ulong_
sbyte_
byte_
short_
ushort_
float_
double_
c... | mupad | 4 | jturner/muon | ffigen/rules.mu | [
"MIT"
] |
# This file is a part of Julia. License is MIT: https://julialang.org/license
# Enum for escaped (multi-byte) keys such as the arrows or the home/end keys
@enum(Key,
ARROW_LEFT = 1000,
ARROW_RIGHT,
ARROW_UP,
ARROW_DOWN,
DEL_KEY,
HOME_KEY,
END_KEY,
PAGE_UP,
PAGE_DOWN)
readbyte(strea... | Julia | 5 | vanillajonathan/julia | stdlib/REPL/src/TerminalMenus/util.jl | [
"Zlib"
] |
"""Support notifications through TTS service."""
import logging
import voluptuous as vol
from homeassistant.components.notify import PLATFORM_SCHEMA, BaseNotificationService
from homeassistant.const import ATTR_ENTITY_ID, CONF_NAME
from homeassistant.core import split_entity_id
import homeassistant.helpers.config_val... | Python | 5 | MrDelik/core | homeassistant/components/tts/notify.py | [
"Apache-2.0"
] |
extends Node2D
func _on_switch_pressed():
$CanvasLayer/Switch.hide()
background_load.load_scene("res://paintings.tscn")
| GDScript | 4 | jonbonazza/godot-demo-projects | loading/background_load/sculptures.gd | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="14008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="NI.SortType" Type="Int">3</Property>
<Property Name="server.app.propertiesEnabled" Type="Bool">true</... | LabVIEW | 1 | ChoonGayLee/python_labview_automation | lv_listener/Listener/LVAutomationListener.lvproj | [
"MIT"
] |
/*
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
#include "ObjectTraversal.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "ObjectTestSupport.hpp"
#include "Types.h"
#include "Utils.hpp"
using names... | C++ | 4 | Mu-L/kotlin | kotlin-native/runtime/src/main/cpp/ObjectTraversalTest.cpp | [
"ECL-2.0",
"Apache-2.0"
] |
package org.xtendroid.xtendroidtest.activities
import android.content.Intent
import java.util.Date
import org.xtendroid.app.AndroidActivity
import org.xtendroid.app.OnCreate
import org.xtendroid.parcel.AndroidParcelable
import org.xtendroid.xtendroidtest.R
import org.xtendroid.xtendroidtest.activities.ParcelableData
... | Xtend | 4 | kusl/Xtendroid | XtendroidTest/src/org/xtendroid/xtendroidtest/activities/ParcelableActivity.xtend | [
"MIT"
] |
module Fibonacci
function fib = |n| {
if n <= 2_L {
return 1_L
} else {
return fib(n - 1_L) + fib(n - 2_L)
}
}
| Golo | 3 | golo-lang/golo-jmh-benchmarks | src/main/resources/snippets/golo/fibonacci.golo | [
"Apache-2.0"
] |
#+TITLE: lang/beancount
#+DATE: April 13, 2021
#+SINCE: v3.0.0
#+STARTUP: inlineimages nofold
* Table of Contents :TOC_3:noexport:
- [[#description][Description]]
- [[#maintainers][Maintainers]]
- [[#module-flags][Module Flags]]
- [[#plugins][Plugins]]
- [[#hacks][Hacks]]
- [[#prerequisites][Prerequisit... | Org | 3 | leezu/doom-emacs | modules/lang/beancount/README.org | [
"MIT"
] |
/*-
* Copyright (c) 1980 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.proprietary.c%
*
* @(#)gram.dcl 5.3 (Berkeley) 04/12/91
*/
/*
* Grammar for declarations, f77 compiler, 4.2 BSD.
*
* University of Utah CS Dept modification history:
*
* $Log: gram.dcl,v $
* Revi... | Clean | 5 | weiss/original-bsd | usr.bin/f77/pass1.tahoe/gram.dcl | [
"Unlicense"
] |
proc dijkstra {graph origin} {
# Initialize
dict for {vertex distmap} $graph {
dict set dist $vertex Inf
dict set path $vertex {}
}
dict set dist $origin 0
dict set path $origin [list $origin]
while {[dict size $graph]} {
# Find unhandled node with least weight
set d Inf
dict for {uu -} ... | Tcl | 5 | websharks/ace-builds | demo/kitchen-sink/docs/tcl.tcl | [
"BSD-3-Clause"
] |
- @content_class = 'limit-container-width' unless fluid_layout
- page_title _('Monitor Settings')
- breadcrumb_title _('Monitor Settings')
= render 'projects/settings/operations/metrics_dashboard'
= render 'projects/settings/operations/tracing'
= render 'projects/settings/operations/error_tracking'
= render 'projects/... | Haml | 3 | Testiduk/gitlabhq | app/views/projects/settings/operations/show.html.haml | [
"MIT"
] |
# generated from ros/core/roslib/cmake/roslib-extras.cmake.em
@[if DEVELSPACE]@
# set path to gendeps executable in develspace
set(gendeps_exe @(CMAKE_CURRENT_SOURCE_DIR)/scripts/gendeps)
@[else]@
# set path to gendeps executable in installspace
set(gendeps_exe ${roslib_DIR}/../../../@(CATKIN_PACKAGE_BIN_DESTINATION)/... | EmberScript | 3 | mcx/ros | core/roslib/cmake/roslib-extras.cmake.em | [
"BSD-3-Clause"
] |
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY owl11 "http://www.w3.org/2006/12/owl11#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY owl11xml "http://www.w3.org/2006/12/owl11-xml#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-s... | Web Ontology Language | 3 | VishalS711/protege | protege-editor-owl/src/test/resources/ontologies/tree/twoEq.owl | [
"BSD-2-Clause"
] |
(include-file "include/flavors.lfe")
(defflavor f1 (x y a (m 42) z (share 'f1))
(f2)
gettable-instance-variables
(settable-instance-variables m a z) ;share is not settable
inittable-instance-variables)
;; Comment this out to test required-methods.
(defmethod (set-y) (v)
(set 'y (tuple 'defmethod... | LFE | 4 | rvirding/flavors | test/f1.lfe | [
"Apache-2.0"
] |
Rem
NEHE OpenGL Lesson 36: Radial Blur & Rendering To A Texture
converted to blitzmax by David Bird
EndRem
Strict
'User Defined Variables
Global C_WIDTH = 640
Global C_HEIGHT= 480
Global angle# 'Used To Rotate The Helix
Global vertexes#[4,3] 'Holds Float Info For 4 Sets Of Vertices
Global normal#[3] ... | BlitzMax | 5 | jabdoa2/blitzmax | samples/birdie/misc/glblur/glblurr.bmx | [
"Zlib"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=1
ResourceCount=0
NewFileInclude1=#include "stdafx.h"
Class1=CPortView
LastClass=CPortView
LastTemplate=CFormView
[CLS:CPortView]
Type=0
HeaderFile=PortView.h
ImplementationFile=PortView.cpp
BaseClass=CFormView
Filter=D
LastOb... | Clarion | 0 | SnipeDragon/darkspace | Tools/NounStructurePort/NounStructurePort.clw | [
"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/compiler/xla/service/collective_decomposer_utils.h | [
"Apache-2.0"
] |
package jadx.plugins.input.java.data.attributes.types;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import jadx.api.plugins.input.data.annotations.AnnotationVisibility;
import jadx.api.plugins.input.data.annotations.IAnnotation;
import jadx.api.plugins.input.data.attributes.types.M... | Java | 4 | anjinwoong/jadx | jadx-plugins/jadx-java-input/src/main/java/jadx/plugins/input/java/data/attributes/types/JavaParamAnnsAttr.java | [
"Apache-2.0"
] |
--TEST--
Enum serialize
--FILE--
<?php
enum Foo {
case Bar;
}
echo serialize(Foo::Bar);
?>
--EXPECT--
E:7:"Foo:Bar";
| PHP | 4 | NathanFreeman/php-src | Zend/tests/enum/serialize.phpt | [
"PHP-3.01"
] |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/GenericLexer.h>
#include <AK/JsonValue.h>
namespace AK {
class JsonParser : private GenericLexer {
public:
explicit JsonParser(StringView input)
: GenericLexer(in... | C | 4 | r00ster91/serenity | AK/JsonParser.h | [
"BSD-2-Clause"
] |
server {
listen 80;
server_name www.example.com example.com;
root /var/www/www.example.com/web;
if ($http_host != "www.example.com") {
rewrite ^ http://www.example.com$request_uri permanent;
}
index index.php index.html;
location = /favicon.ico {
... | ApacheConf | 4 | tsrivishnu/certbot | certbot-compatibility-test/nginx/nginx-roundtrip-testdata/cs-cart/sites-available/example.com.vhost | [
"Apache-2.0"
] |
<nav class="bd-docs">
{% for category in site.data.links.categories %}
{% assign category_id = category[0] %}
{% assign category_links = category[1] %}
{% assign category_link = site.data.links.by_id[category_id] %}
<article class="bd-doc">
<h2 class="bd-doc-title title is-5">
<a href="... | HTML | 4 | kalpitzeta/bulma | docs/_includes/components/docs.html | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.