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 |
|---|---|---|---|---|---|
size: 1024px 512px;
dpi: 96;
limit-y: 0 20000000;
limit-x: 1404278100 1404299700;
axes {
position: bottom left;
label-format-y: scientific();
label-format-x: datetime("%H:%M:%S");
}
grid {
color: #fff;
}
areas {
data-x: csv("test/testdata/measurement.csv" time);
data-y: csv("test/testdata/measurement.csv... | CLIPS | 3 | asmuth-archive/travistest | test/examples/charts_basic_areachart.clp | [
"Apache-2.0"
] |
module Hasura.Backends.Postgres.DDL.Table
( fetchAndValidateEnumValues,
)
where
import Control.Monad.Trans.Control (MonadBaseControl)
import Control.Monad.Validate
import Data.HashMap.Strict qualified as Map
import Data.List (delete)
import Data.List.NonEmpty qualified as NE
import Data.Sequence qualified as Seq
i... | Haskell | 5 | devrsi0n/graphql-engine | server/src-lib/Hasura/Backends/Postgres/DDL/Table.hs | [
"Apache-2.0",
"MIT"
] |
;;
;
; Name: single_findsock
; Platforms: Linux
; Authors: vlad902 <vlad902 [at] gmail.com>
; Authors: skape <mmiller [at] hick.org>
; Version: $Revision: 1856 $
; License:
;
; This file is part of the Metasploit Exploit Framework
; and is subject to the same licenses and copyrigh... | Assembly | 3 | OsmanDere/metasploit-framework | external/source/shellcode/linux/ia32/single_findsock.asm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
<template>
<div class="text-center">
<v-btn
color="error"
@click="overlay = !overlay"
>
Show Overlay
</v-btn>
<v-overlay :value="overlay"></v-overlay>
</div>
</template>
<script>
export default {
data: () => ({
overlay: false,
}),
watch: {
overlay (val)... | Vue | 4 | mark-gene/vuetify | packages/docs/src/examples/v-overlay/usage.vue | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="19008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="server.app.propertiesEnabled" Type="Bool">true</Property>
<Property Name="server.control.propertiesEn... | LabVIEW | 2 | jovianarts/LVSolutionBuilder | src/_tests/Tests.Assets/HierarchyExample/Package A.lvproj | [
"MIT"
] |
%
% Simple program to print a banner page
%
/banner {
/saveobj save def
erasepage initgraphics
/#copies 1 def
/inch {72 mul} bind def
/pagebbox [clippath pathbbox newpath] def
/font /Helvetica def
/size 20 def
/height pagebbox 3 get def
/width pagebbox 2 get .09 mul def
.92 setgray
pagebbox 0 get pagebbo... | PostScript | 4 | newluhux/plan9port | src/cmd/postscript/psfiles/banner.ps | [
"MIT"
] |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="main" />
<title>Show TestDomain</title>
</head>
<body>
<div class="nav">
<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home<... | Groovy Server Pages | 3 | Antholoj/netbeans | contrib/groovy.grailsproject/test/unit/data/projects/completion/grails-app/views/testDomain/show.gsp | [
"Apache-2.0"
] |
***************************************
** Program: EXAMPLE **
** Author: Joe Byte, 07-Jul-2007 **
***************************************
REPORT BOOKINGS.
* Read flight bookings from the database
SELECT * FROM FLIGHTINFO
WHERE CLASS = 'Y' "Y = economy
OR CLASS = 'C'. "C = bus... | ABAP | 3 | soonhokong/ace | demo/kitchen-sink/docs/abap.abap | [
"BSD-3-Clause"
] |
%!PS
userdict /setpagedevice undef
a0
currentpagedevice /HWResolution get 0 (metasploit) put
{ grestore } stopped pop
(ppmraw) selectdevice
mark /OutputFile (%pipe%echo vulnerable > /dev/tty) currentdevice putdeviceprops
{ showpage } stopped pop
quit
| PostScript | 1 | OsmanDere/metasploit-framework | data/exploits/ghostscript/msf.ps | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
%{
// $Id: esmiles.flex 4974 2006-02-18 00:49:21Z glandrum $
//
// Copyright (C) 2002-2006 Rational Discovery LLC
//
// @@ All Rights Reserved @@
//
#pragma warning(disable:4786)
#include <stdio.h>
#undef yywrap
#undef YY_INPUT
#include "InputFiller.h"
extern INPUT_FUNC_TYPE gp_myInput;
#define YY_INPUT( b, ... | JFlex | 3 | kazuyaujihara/rdkit | Code/GraphMol/SmilesParse/esmiles.flex | [
"BSD-3-Clause"
] |
fn main() {
((((((((((((((((((((((((((((((((((((((((((0) + 1) + 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
+ 1)
... | Rust | 0 | mbc-git/rust | src/tools/rustfmt/tests/target/issue-3465.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
Started keeping the ``Authorization`` header during HTTP -> HTTPS redirects when the host remains the same.
| Cucumber | 1 | loven-doo/aiohttp | CHANGES/5783.feature | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>issue-4157</title>
</head>
<body>
<a href="next.html">To Next Page</a>
<button onclick="getCurrentWindow()">nw.Window.get()</button>
<script>
function out(id, msg) {
var h1 = document.crea... | HTML | 4 | frank-dspeed/nw.js | test/sanity/issue4157-nav-win-lost/index.html | [
"MIT"
] |
<figure
class="mini_player js-mini-player"
data-title="<%= @title %>"
data-audio="<%= @audio %>"
data-duration="<%= @duration %>"
>
<a href="<%= @audio %>" class="mini_player-button mini_player-button--play js-player-play-button"></a>
<form class="mini_player-slider">
<div class="range_slider">
<d... | HTML+EEX | 3 | PsOverflow/changelog.com | lib/changelog_web/templates/shared/_mini_player.html.eex | [
"MIT"
] |
xuces-bapyb-vikob-zesyv-budod-nupip-kebon-tacyc-fofed-lezic-soxax
| BitBake | 3 | chrisburr/gct | gsi_openssh/source/regress/unittests/sshkey/testdata/ed25519_2.fp.bb | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- ******************************************************************* -->
<!-- -->
<!-- Copyright IBM Corp. 2010, 2014 -->
<!-- ... | XPages | 3 | jesse-gallagher/XPagesExtensionLibrary | extlib/lwp/product/runtime/eclipse/plugins/com.ibm.xsp.extlib.domino/src/com/ibm/xsp/extlib/config/extlib-domino-tagcloud.xsp-config | [
"Apache-2.0"
] |
SynthDef("klang", {
var nPartials = 12, nChans = 5;
var n = nPartials * nChans;
Splay.ar(Klang.ar(`[ { { rrand(200.0, 2000.0) } ! nPartials } ! nChans, nil, nil ], 1, 0))
* EnvGen.kr(Env.sine(4), 1, 0.02, doneAction: Done.freeSelf);
}); | SuperCollider | 3 | woolgathering/supercolliderjs | examples/klang.scd | [
"MIT"
] |
###############################################################################
## jq helper functions for DeepDive Code Compiler
###############################################################################
def merge(objects): reduce objects as $es ({}; . + $es);
def trimWhitespace: gsub("^\\s+|\\s+$"; ""; "m");
... | JSONiq | 4 | onthway/deepdive | compiler/compile-config/util.jq | [
"Apache-2.0"
] |
/* Font sets */
@gothic_book: "Franklin Gothic FS Book","DejaVu Sans Book";
@gothic_med: "Franklin Gothic FS Medium","DejaVu Sans Book";
/* ---- COUNTRIES ---- */
#country-label[zoom>1][zoom<10]{
text-face-name: @gothic_book;
text-fill:rgba(0,0,0,0.5);
text-size:9;
text-transform:uppercase;
text-halo-fill:rg... | CartoCSS | 4 | nimix/carto | test/rendering/fontset-duplication.mss | [
"Apache-2.0"
] |
### /role/create 成功
POST {{baseUrl}}/system/role/create
Authorization: Bearer {{token}}
Content-Type: application/json
{
"name": "测试角色",
"code": "test",
"sort": 0
}
### /role/update 成功
POST {{baseUrl}}/system/role/update
Authorization: Bearer {{token}}
Content-Type: application/json
{
"id": 100,
"name": "... | HTTP | 3 | cksspk/ruoyi-vue-pro | yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/system/controller/permission/SysRoleController.http | [
"MIT"
] |
sleep 1
t cal -de 6
| AGS Script | 1 | waltersgrey/autoexechack | Video-Effects/70sFilm/Hero3Black/autoexec.ash | [
"MIT"
] |
#!/bin/sh
if [ "$username" = "good-user" ] && [ "$password" = "good-pass" ]; then
echo "Auth should succeed." >&2
if [ "$1" = "--with-meta" ]; then
echo "name=Bob"
fi
exit 0
fi
echo "Auth should fail." >&2
exit 1
| Shell | 3 | domwillcode/home-assistant | tests/auth/providers/test_command_line_cmd.sh | [
"Apache-2.0"
] |
/*
This equation is a simplification of the general blending equation. It assumes the destination color is opaque, and therefore drops the destination color's alpha term.
D = C1 * C1a + C2 * C2a * (1 - C1a)
where D is the resultant color, C1 is the color of the first element, C1a is the alpha of the first element,... | Metal | 5 | luoxiao/GPUImage3 | framework/Source/Operations/NormalBlend.metal | [
"BSD-3-Clause"
] |
team_id,team_name,team_seed,team_region,playin_flag,team_alive,rd1_win,rd2_win,rd3_win,rd4_win,rd5_win,rd6_win,rd7_win,win_odds,timestamp
57,Florida,1,South,0,1,1.000000000000,0.987703989038,0.776346390631,0.578629807537,0.386134712302,0.245646203422,0.135015292620,6.406568401,3/20/2014 4:59 PM
399,Albany,16a,South,1,1... | CSV | 3 | h4ckfu/data | march-madness-predictions/bracket-10.csv | [
"CC-BY-4.0"
] |
Please report any system it works or doesn't work on in the wiki:
include
* the Metatrader build number,
* the origin of the metatrader exe,
* the Windows version and 32/64 bit, and
* the ZeroMq version, and
* the version of the Python pyzmq.
----
Parent: [[Home]]
| Creole | 1 | lionelyoung/OTMql4Zmq | wiki/TestedVersions.creole | [
"MIT"
] |
use std::rc::Rc;
struct Foo<'a> { //~ ERROR recursive type
bar: Bar<'a>,
b: Rc<Bar<'a>>,
}
struct Bar<'a> { //~ ERROR recursive type
y: (Foo<'a>, Foo<'a>),
z: Option<Bar<'a>>,
a: &'a Foo<'a>,
c: &'a [Bar<'a>],
d: [Bar<'a>; 1],
e: Foo<'a>,
x: Bar<'a>,
}
fn main() {}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/span/recursive-type-field.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/*
This is the minimal Varnish 3.x VCL configuration required for passing the
Apache mod_pagespeed system tests. To install varnish and start the varnish
server at the right port, do the following:
1) sudo apt-get install varnish
2) sudo vim /etc/default/varnish and put in the following lines at the
bott... | VCL | 5 | PeterDaveHello/incubator-pagespeed-mod | install/debug_conf.v3.vcl | [
"Apache-2.0"
] |
{
"title": "Energi"
} | JSON | 0 | MrDelik/core | homeassistant/components/energy/translations/no.json | [
"Apache-2.0"
] |
protected String id0() {
StringBuilder splitJointId = new StringBuilder(String.valueOf(getTimeBucket()));
<#list fieldsFromSource as sourceField>
<#if sourceField.isID()>
splitJointId.append(org.apache.skywalking.oap.server.core.Const.ID_CONNECTOR)
.append(${sourceField.fieldName});
... | FreeMarker | 3 | sergicastro/skywalking | oap-server/oal-rt/src/main/resources/code-templates/metrics/id.ftl | [
"Apache-2.0",
"BSD-3-Clause"
] |
(
Server.default = Server.local;
~m = MonoM.new("/monome", 0);
s.waitForBoot({
~step = Array.fill(128, {0});
~m.useDevice(0);
OSCFunc.newMatching(
{ arg message, time, addr, recvPort;
if(message[3] == 1, {
var pos = message[1] + (message[2] * 16);
if(~step[pos] == 1,
{~step[pos] = 0},
{~ste... | SuperCollider | 3 | tonepaintingzack/docs | grid/studies/sc/files/grid-studies-2-4.scd | [
"CC-BY-4.0",
"MIT"
] |
dnl Copyright (c) Facebook, Inc. and its affiliates.
dnl
dnl This source code is licensed under the MIT license found in the
dnl LICENSE file in the root directory of this source tree.
dnl AC_ASSERT_PROG([program_name], [test_variable])
dnl
dnl fails if $test_variable is "no", which is taken to mean that
dnl $program_... | M4 | 4 | JacobBarthelmeh/infer | m4/ac_assert_prog.m4 | [
"MIT"
] |
/*
* Copyright 2002-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | 4 | spreoW/spring-framework | spring-r2dbc/src/main/java/org/springframework/r2dbc/core/binding/BindMarkers.java | [
"Apache-2.0"
] |
import haxe.macro.Expr;
final calls = [];
final builds = [];
macro function getCalls() {
return macro $v{calls};
}
macro function getBuilds() {
return macro $v{builds};
}
function c(name) {
calls.push(name);
}
function b(name) {
builds.push(name);
}
function lowerCase() {
c("lowerCase");
}
function UpperCas... | Haxe | 4 | Alan-love/haxe | tests/misc/resolution/projects/modulestatics/Macro.hx | [
"MIT"
] |
module Issue676 where
data Bool : Set where
true false : Bool
data ⊥ : Set where
data Silly A : Set where
[_] : A → Silly A
fail : ⊥ → Silly A
-- This shouldn't be projection-like since the second clause won't reduce.
unsillify : ∀ {A} → Silly A → A
unsillify [ x ] = x
unsillify (fail ())
data _≡_ {A : Set... | Agda | 3 | cruhland/agda | test/Fail/Issue676.agda | [
"MIT"
] |
class Foo
{
Void f03
This f04
Void[] f05
This[]? f06
Void:Obj f07
[Obj:This]? f08
|This|? f09
|->This| f10
|Void| f11
|Obj,Void| f12
|->This[]?| f13
} | Fantom | 0 | fanx-dev/fanx | compiler/testCompilerx/res/checkErrors/testValidTypes1.fan | [
"AFL-3.0"
] |
# Copyright (c) 2004 Boulder Real Time Technologies, Inc.
# All rights reserved.
#
# Written by Dr. Kent Lindquist, Lindquist Consulting, Inc.
#
# This software may be used freely in any way as long as
# the copyright statemen... | XProc | 4 | jreyes1108/antelope_contrib | nobuild/bin/gme/shakemapxml2db/shakemapxml2db.xpl | [
"BSD-2-Clause",
"MIT"
] |
? my $context = $main::context;
? $_mt->wrapper_file("wrapper.mt")->(sub {
<title>Operators - Documents - JSX</title>
?= $_mt->render_file("header.mt")
?= $_mt->render_file("breadcrumb.mt", [ qw(Documents doc.html) ], [ "Operators" ])
<div id="main">
<h2>Operators</h2>
<p>
The operators of JSX are the same to thos... | Mathematica | 4 | monkpit/JSX | doc/src/doc/operatorref.mt | [
"MIT"
] |
button.flag-button.btn.btn-lg.green-flag(title="G: Place a green flag")
span.glyphicon.glyphicon-flag
span.flag-caption
span.flag-shortcut G
| reen
button.flag-button.btn.btn-lg.black-flag(title="B: Place a black flag")
span.glyphicon.glyphicon-flag
span.flag-caption
span.flag-shortcut B
| lack
... | Jade | 2 | cihatislamdede/codecombat | app/templates/play/level/level-flags-view.jade | [
"CC-BY-4.0",
"MIT"
] |
' ********** Copyright 2019 Roku, Inc. All Rights Reserved. **********
function RAFX_getSSAIPluginBase(params as object) as Object
daisdk = {}
daisdk.init = function(params=invalid as object) as Void
m.createImpl()
m.createEventCallbacks()
m.updateLocale()
m.logLevel = 0
if invalid <> params
if invalid <> params["logL... | Brightscript | 5 | khangh/samples | advertising/rsgoux/lib/rafxssai.brs | [
"MIT"
] |
import { createVue, destroyVM } from '../util';
describe('Divider', () => {
let vm;
afterEach(() => {
destroyVM(vm);
});
it('content', () => {
vm = createVue({
template: `
<el-divider>我是一条完美分割线!</el-divider>
`
});
expect(vm.$el).to.property('textContent').to.include('我是一... | JavaScript | 4 | jackwiy/element | test/unit/specs/divider.spec.js | [
"MIT"
] |
// Check that macro expanded underscore imports behave as expected
// check-pass
#![feature(decl_macro, rustc_attrs)]
mod x {
pub use std::ops::Not as _;
}
macro m() {
mod w {
mod y {
pub use std::ops::Deref as _;
}
use crate::x::*;
use self::y::*;
use std... | Rust | 4 | Eric-Arellano/rust | src/test/ui/underscore-imports/macro-expanded.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
{}
:users $ {}
|root $ {} (:avatar nil) (:name |root) (:nickname |root) (:id |root) (:theme :star-trail) (:password |d41d8cd98f00b204e9800998ecf8427e)
|Qr5ffqtY $ {} (:avatar nil) (:name |chen) (:nickname |chen) (:id |Qr5ffqtY) (:theme :star-trail) (:password |d41d8cd98f00b204e9800998ecf8427e)
:ir $ {} (:p... | Cirru | 3 | Memkits/pudica-schedule | calcit.cirru | [
"MIT"
] |
---
layout: layoutLiquid.liquid
keymain: valuemain
title: 'Font Aliasing, or How to Rename a Font in CSS'
permalink: /rename-font/
---
<p>Hello.</p> | Liquid | 0 | binyamin/eleventy | test/stubs/templateWithLayout.liquid | [
"MIT"
] |
module NanoVG.Internal.Color where
import Control.Applicative (pure)
import Foreign.C.Types
import Foreign.Marshal.Alloc
import Foreign.Ptr
import Foreign.Marshal.Utils
import Foreign.Storable
#include "nanovg_wrapper.h"
{#pointer *NVGcolor as ColorPtr -> Color#}
-- | rgba
data Color = Color !CFloat !CFloat !CFloat... | C2hs Haskell | 5 | fjvallarino/nanovg-hs | src/NanoVG/Internal/Color.chs | [
"0BSD"
] |
<div>
<h2><span>Car</span> {{vm.car.id}}</h2>
<hr>
<jhi-alert-error></jhi-alert-error>
<dl class="dl-horizontal jh-entity-details">
<dt><span>Make</span></dt>
<dd>
<span>{{vm.car.make}}</span>
</dd>
<dt><span>Brand</span></dt>
<dd>
<span>{... | HTML | 4 | zeesh49/tutorials | jhipster/jhipster-microservice/gateway-app/src/main/webapp/app/entities/car/car-detail.html | [
"MIT"
] |
USE `spring-boot-demo`;
DROP TABLE IF EXISTS `t_order_0`;
CREATE TABLE `t_order_0`
(
`id` BIGINT NOT NULL COMMENT '主键',
`user_id` BIGINT NOT NULL COMMENT '用户id',
`order_id` BIGINT NOT NULL COMMENT '订单id',
`remark` VARCHAR(200) DEFAULT '' COMMENT '备注',
primary key (`id`)
) ENGINE = InnoDB
DEFAULT ... | SQL | 4 | Evan43789596/spring-boot-demo | spring-boot-demo-sharding-jdbc/sql/schema.sql | [
"MIT"
] |
#! /bin/env pike
/* This file is a syntax highlight test for Kate.
* FIXME: Improve it to contain more (and more unusual) syntax examples.
*/
#define PIKE_ON_THE_WEB /* Is this address correct? */ "http://pike.ida.liu.se/"
int main(int argc, array(string) args)
{
// Write funny things with Pike :)
write(`+... | Pike | 4 | dawidsowa/syntax-highlighting | autotests/input/highlight.pike | [
"MIT"
] |
// Copyright 2017 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 i... | Protocol Buffer | 3 | samotarnik/grpc | src/python/grpcio_tests/tests/testing/proto/services.proto | [
"Apache-2.0"
] |
// aux-build:test-macros.rs
#![feature(custom_inner_attributes)]
#[macro_use]
extern crate test_macros;
#[recollect_attr]
fn test1() {
let a: i32 = "foo";
//~^ ERROR: mismatched types
let b: i32 = "f'oo";
//~^ ERROR: mismatched types
}
fn test2() {
#![recollect_attr]
// FIXME: should have a... | Rust | 4 | Eric-Arellano/rust | src/test/ui/proc-macro/attribute-with-error.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
Package { #name : #'GToolkit-Extensions' }
| Smalltalk | 0 | markfirmware/gtoolkit | src/GToolkit-Extensions/package.st | [
"MIT"
] |
// run-fail
// error-pattern:thread 'main' panicked at 'attempt to multiply with overflow'
// ignore-emscripten no processes
// compile-flags: -C debug-assertions
fn main() {
let _x = 2u32.pow(1024);
}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/numbers-arithmetic/overflowing-pow-unsigned.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
# RUN: llc -O0 -mtriple=arm64eb-- -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
---
name: bitcast_v2f32_to_s64
legalized: true
regBankSelected: true
body: |
bb.0:
liveins: $x0
; CHECK-LABEL: name: bitcast_v2f32_to_s64
; CHECK: [[COPY:%[0-9]+]]:fpr... | Mirah | 4 | medismailben/llvm-project | llvm/test/CodeGen/AArch64/GlobalISel/select-bitcast-bigendian.mir | [
"Apache-2.0"
] |
/******************************************************************************
* Copyright 2018 The Apollo 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
... | C++ | 5 | seeclong/apollo | modules/perception/fusion/lib/data_fusion/shape_fusion/pbf_shape_fusion/pbf_shape_fusion_test.cc | [
"Apache-2.0"
] |
tally ← {⍬⍴(⍴⍵),1}
x ← ⍉ 4 5 3 ⍴ ⍳ 10
⎕ ← tally x ⍝ -> 3
⎕ ← ≢x ⍝ -> 3
0
| APL | 2 | melsman/apltail | tests/tally.apl | [
"MIT"
] |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="TEST">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>You should see error text above thi... | XSLT | 3 | zealoussnow/chromium | third_party/blink/web_tests/fast/xsl/resources/xslt-missing-namespace-in-xslt.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
mixin tournamentTileMixin(tournament)
- showLink = false
// show link when tournament starting/ended or in 1 day to start
if tournament.state == 'initializing'
- now = new Date().getTime()
- time = ((new Date(tournament.startDate).getTime() - now)/(24*3600*1000) + 0.99)|0
if time <= 1
- showLink... | Jade | 4 | Chaboi45/codecombat-chaboi | app/templates/courses/tournament-tile-mixin.jade | [
"CC-BY-4.0",
"MIT"
] |
<span><?php echo "string" ?></span> | HTML+PHP | 1 | jodysimpson/plugin-php | tests/extensions/extension.phtml | [
"MIT"
] |
// Array of Objects
// Learning Processing
// The Coding Train / Daniel Shiffman
// https://thecodingtrain.com/Courses/learning-processing/9-arrays/9.3-array-of-objects.html
// https://youtu.be/-sSRHRfK2EU
Bubble[] bubbles = new Bubble[2];
void setup() {
size(640, 360);
bubbles[0] = new Bubble(64);
bubbles[1] =... | Processing | 4 | aerinkayne/website | Tutorials/Processing/9.3-array-of-objects/Processing/sketch_9_3_Array_of_Objects/sketch_9_3_Array_of_Objects.pde | [
"MIT"
] |
{% set result = 'AC:DE:48' | gen_mac() %}
{% include 'jinja_filters/common.sls' %}
| SaltStack | 2 | byteskeptical/salt | tests/integration/files/file/base/jinja_filters/network_gen_mac.sls | [
"Apache-2.0"
] |
(module
(type $i32_i32_=>_none (func (param i32 i32)))
(type $i32_=>_none (func (param i32)))
(type $i32_=>_i32 (func (param i32) (result i32)))
(type $none_=>_none (func))
(type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32)))
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(import "env" "abo... | WebAssembly | 3 | romdotdog/assemblyscript | tests/compiler/rt/runtime-stub-export.untouched.wat | [
"Apache-2.0"
] |
img.responsive
max-width: 100%
height: auto
.q-video
position: relative
overflow: hidden
border-radius: inherit
iframe,
object,
embed
width: 100%
height: 100%
&--responsive
height: 0
iframe,
object,
embed
position: absolute
top: 0
left: 0
| Sass | 3 | ygyg70/quasar | ui/src/components/video/QVideo.sass | [
"MIT"
] |
#Signature file v4.1
#Version 5.17
| Standard ML | 0 | timfel/netbeans | platform/libs.asm/nbproject/org-netbeans-libs-asm.sig | [
"Apache-2.0"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CMainFrame
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "Resourcer.h"
LastPage=0
ClassCount=6
Class1=CResourcerApp
Class2=CClassHeirarchy
Class3=CUpdateSettings
Class4=CMainFrame
ResourceCo... | Clarion | 3 | CarysT/medusa | Tools/Resourcer/Resourcer.clw | [
"MIT"
] |
package jadx.tests.integration.inline;
import org.junit.jupiter.api.Test;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
impo... | Java | 4 | DSYliangweihao/jadx | jadx-core/src/test/java/jadx/tests/integration/inline/TestConstInline.java | [
"Apache-2.0"
] |
echo ${(%):-'%F{yellow}The `%Bcopydir%b` plugin is deprecated. Use the `%Bcopypath%b` plugin instead.%f'}
source "$ZSH/plugins/copypath/copypath.plugin.zsh"
# TODO: 2022-02-22: Remove deprecated copydir function.
function copydir {
copypath
}
| Shell | 3 | residwi/ohmyzsh | plugins/copydir/copydir.plugin.zsh | [
"MIT"
] |
#N canvas 439 23 868 734 12;
#X obj 294 267 *~;
#X obj 365 265 *~;
#X obj 229 342 t b b;
#X obj 437 468 atan2;
#X obj 294 378 snapshot~;
#X obj 388 377 snapshot~;
#X obj 481 335 butterworth3~ 80 100000 0;
#X obj 69 207 inlet;
#X obj 437 496 expr $f1 + 6.283 * ($f1 < -0.01);
#X obj 101 503 t b f b;
#X obj 517 576 symbol... | Pure Data | 4 | mxa/pure-data | doc/3.audio.examples/filter-graph2.pd | [
"TCL"
] |
--TEST--
touch() error tests
--CREDITS--
Dave Kelsey <d_kelsey@uk.ibm.com>
--FILE--
<?php
var_dump(touch("/no/such/file/or/directory"));
?>
--EXPECTF--
Warning: touch(): Unable to create file /no/such/file/or/directory because No such file or directory in %s on line %d
bool(false)
| PHP | 3 | thiagooak/php-src | ext/standard/tests/file/touch_error.phpt | [
"PHP-3.01"
] |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Interface IEndState
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Interface IEndState
">
<meta... | Myghty | 3 | NicoBaumann454/alsp.net.api | alps .net api/obj/.cache/build/eiochz4x.muz/lvf1wek3.myt | [
"MIT"
] |
\data\
ngram 1=2768
ngram 2=12182
ngram 3=18284
\1-grams:
-4.1183567 <unk> 0
0 <s> -0.63579637
-3.4271748 </s> 0
-2.4996314 I -0.2709696
-3.8506508 disagree -0.14086568
-2.174265 with -0.2945207
-2.511044 this -0.16834387
-3.5348082 statement -0.14589529
-1.9226898 for -0.3749427
-3.153469 several -0.18439111
-2.89383... | DNS Zone | 1 | Lolik111/meta | data/english-sentences.arpa | [
"MIT"
] |
' 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.
Imports Microsoft.CodeAnalysis.Syntax.InternalSyntax
Namespace Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSynt... | Visual Basic | 5 | ffMathy/roslyn | src/Compilers/VisualBasic/Portable/Syntax/InternalSyntax/VisualBasicSyntaxRewriter.vb | [
"MIT"
] |
#define MyAppName "UIB Database Tool"
#define MyAppVerName "UIB Database Tool 1.0"
#define MyAppPublisher "progdigy.com"
#define MyAppURL "http://www.progdigy.com"
[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
App... | Inno Setup | 2 | ycq323/alcinoe | references/UIB/misc/ShellExtention/setup.iss | [
"Apache-2.0"
] |
.App {
font-family: sans-serif;
max-width: 500px;
}
.section {
padding: 10px;
border: 1px solid purple;
border-radius: 4px;
margin-bottom: 20px;
}
label,
input {
display: block;
}
label,
button {
margin-top: 1rem;
}
| CSS | 3 | northflank/formik | examples/dependent-fields/styles.css | [
"Apache-2.0"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
NewRulesFor(TConjEven, rec(
TConjEven_vec := rec(
switch := true,
applicable := (self, t) >> IsEvenInt(t.params[1]) and t.isTag(1, AVecReg) and
t.params[1] mod (2*t.getTag(1).v) = 0,
apply := (self, t, C... | GAP | 4 | sr7cb/spiral-software | namespaces/spiral/paradigms/vector/breakdown/tconjeven.gi | [
"BSD-2-Clause-FreeBSD"
] |
Version 1 of Trivial Extension by Andrew Plotkin begins here.
A cow is a kind of animal. A cow can be purple.
Trivial Extension ends here.
| Inform 7 | 3 | waywardmonkeys/linguist | samples/Inform 7/Trivial Extension.i7x | [
"MIT"
] |
* [[/vacs/blogs/tagged.html?tag=Ada|Ada]]
* [[/vacs/blogs/tagged.html?tag=Tutorial|Tutorial]]
* [[/vacs/blogs/tagged.html?tag=files|files]]
Reading a file to get its content in a __String__ is a simple operation
| Creole | 1 | jquorning/ada-wiki | regtests/expect/wiki-import/list-3.creole | [
"Apache-2.0"
] |
;; ================================================================================================
;; =================================== Don't make changes here ====================================
;; ================================================================================================
breed [redTanks redT... | NetLogo | 5 | ajnavarro/language-dataset | data/github.com/huangyz0918/TankLogo/44704c398f6a5c1f1bc28d440ceb9690be4e34cb/TankLogo.nlogo | [
"MIT"
] |
module mongoo
import com.mongodb.MongoClient
import com.mongodb.MongoException
import com.mongodb.WriteConcern
import com.mongodb.DB
import com.mongodb.DBCollection
import com.mongodb.BasicDBObject
import com.mongodb.DBObject
import com.mongodb.DBCursor
import com.mongodb.ServerAddress
import org.bson.types.ObjectId
... | Golo | 4 | TypeUnsafe/golo-tour | 06-Golo.17.JugSummerCamp/07-golo-projects/sparkee.mongo.hi/imports/mongoo.golo | [
"MIT"
] |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Java | 4 | kesavanvt/spark | core/src/main/java/org/apache/spark/shuffle/api/metadata/MapOutputMetadata.java | [
"BSD-2-Clause",
"Apache-2.0",
"CC0-1.0",
"MIT",
"MIT-0",
"ECL-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
# comment
module.exports =
data:
trueKey: true
falseKey: false
subKey:
subProp: 1
| Literate CoffeeScript | 3 | NitroBAY/interpret | test/fixtures/litcoffee/3/test.litcoffee | [
"MIT"
] |
C Copyright(c) 1998, Space Science and Engineering Center, UW-Madison
C Refer to "McIDAS Software Acquisition and Distribution Policies"
C in the file mcidas/data/license.txt
C *** $Id: nvxps.dlm,v 1.1 2000/10/20 19:17:20 daves Exp $ ***
FUNCTION NVXINI(IFUNC,IPARMS)
DIMENSION IPARMS(*)
REAL*8 DRAD... | IDL | 3 | oxelson/gempak | extlibs/AODT/v72/odtmcidas/navcal/navcal/nvxps.dlm | [
"BSD-3-Clause"
] |
/********************************************************************************
* Copyright (c) {date} Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apache.o... | Ceylon | 3 | Kopilov/ceylon-ide-intellij | source/org/eclipse/ceylon/ide/intellij/model/IdeaJavaClassFile.ceylon | [
"Apache-2.0"
] |
from .api_key import APIKeyCookie as APIKeyCookie
from .api_key import APIKeyHeader as APIKeyHeader
from .api_key import APIKeyQuery as APIKeyQuery
from .http import HTTPAuthorizationCredentials as HTTPAuthorizationCredentials
from .http import HTTPBasic as HTTPBasic
from .http import HTTPBasicCredentials as HTTPBasicC... | Python | 4 | Aryabhata-Rootspring/fastapi | fastapi/security/__init__.py | [
"MIT"
] |
; ModuleID = 'go1.17.go'
source_filename = "go1.17.go"
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
target triple = "wasm32--wasi"
declare noalias nonnull i8* @runtime.alloc(i32, i8*, i8*)
define hidden void @main.init(i8* %context, i8* %parentHandle) unnamed_addr {
entry:
ret void
}
define hidden i8* @m... | LLVM | 4 | JAicewizard/tinygo | compiler/testdata/go1.17.ll | [
"Apache-2.0"
] |
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="htt... | Org | 2 | hsantos9/Winds | api/test/data/feed/apublica.org | [
"BSD-3-Clause"
] |
SUMMARY = "Big Buck Bunny - 360p VP9 webm"
LICENSE = "CC-BY-3.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/CC-BY-3.0;md5=dfa02b5755629022e267f10b9c0a2ab7"
SRC_URI = "https://upload.wikimedia.org/wikipedia/commons/transcoded/c/c0/Big_Buck_Bunny_4K.webm/Big_Buck_Bunny_4K.webm.360p.vp9.webm"
SRC_U... | BitBake | 3 | hito0512/Vitis-AI | dsa/XVDPU-TRD/vck190_platform/petalinux/xilinx-vck190-base-trd/project-spec/meta-base-trd/recipes-multimedia/sample-content/bigbuckbunny-360p-vp9-webm.bb | [
"Apache-2.0"
] |
ruleset html {
meta {
provides header, footer
shares __testing
}
global {
__testing = { "queries":
[ { "name": "__testing" }
//, { "name": "entry", "args": [ "key" ] }
] , "events":
[ //{ "domain": "d1", "type": "t1" }
//, { "domain": "d2", "type": "t2", "attrs": [ "a1", ... | KRL | 4 | Picolab/G2S | krl/html.krl | [
"MIT"
] |
// @noLib: true
/// <reference path='fourslash.ts'/>
// @module: esnext
// @Filename: foo.ts
/////// <reference no-default-lib="true"/>
/////// <reference path='./bar.d.ts' />
////import./**/meta;
////import.[|meta|];
//@Filename: bar.d.ts
////interface ImportMeta {
////}
// @Filename: baz.ts
/////// <reference no-... | TypeScript | 3 | monciego/TypeScript | tests/cases/fourslash/findAllRefsImportMeta.ts | [
"Apache-2.0"
] |
$TTL 36000
example2.com. IN SOA ns1.example2.com. hostmaster.example2.com. (
2005081201 ; serial
28800 ; refresh (8 hours)
1800 ; retry (30 mins)
2592000 ; expire (30 days)
86400 ) ; minimum (1 day)
example2.com. 86400 ... | DIGITAL Command Language | 4 | tgragnato/geneva | tests/DNS/zones/example2.com | [
"BSD-3-Clause"
] |
#!/bin/bash
# Copyright 2015 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 t... | Shell | 4 | samotarnik/grpc | src/php/bin/determine_extension_dir.sh | [
"Apache-2.0"
] |
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target
20.00,-0.64,-2.92,-0.64,-2.92,2.92,2.14,0.72,2.28,2.28,2.28
20.20,-0.59,-2.91,-0.59,-2.91,2.91,2.18,0.74,2.32,2.32,2.32
20.40,-0.54,-2.90,-0.54,-2.90,2.90,2.22,0.77,2.36,2.36,2.36
20.61,-0.49,-2.... | CSV | 2 | vinzmc/AutoEq | results/referenceaudioanalyzer/referenceaudioanalyzer_hdm-x_harman_over-ear_2018/Sennheiser HD 380 Pro/Sennheiser HD 380 Pro.csv | [
"MIT"
] |
# Parameters
param N := read "network.csv" as "1n" use 1 comment "#";
set Ns := {0..N-1};
set N0 := {1..N-1};
param L := read "network.csv" as "2n" use 1 comment "#";
set Ls := {1..L};
param fromBus[Ls] := read "network.csv" as "<1n> 2n" skip 1 use L comment "#";
param toBus[Ls] := read "network.csv" as "<1n> ... | Zimpl | 4 | sebMathieu/dsima | simulator/models/DSO-flexNeeds.zpl | [
"BSD-3-Clause"
] |
Begin Project "ProjectSample", "", VC_PROJECT=, AUXPROJPATH=
DATASOURCE=
DATABASE=
Begin File "emp.sql"
PATH=.\emp.sql
DESCRIPTION=
INCLUDE=1
BUILDINDEX=-1
OBJECTTYPE=-1
End File
Begin File "EMPDEPT_Sample.sql"
PATH=.\EMPDEPT_Sample.sql
DESCRIPTION=
INCLUDE=1
BUILDINDEX=-1
OBJECTTYPE=-1
End File
Begin File "GetDBInf... | Ecere Projects | 2 | anilws1/DBPS | Sample/ProjectSample.epj | [
"Apache-2.0"
] |
program test__aplib_depack;
(*
* aPLib compression library - the smaller the better :)
*
* VPascal depacking example
*
* Copyright (c) 1998-2009 by Joergen Ibsen / Jibz
* All Rights Reserved
*
* http://www.ibsensoftware.com/
*
* -> VPascal by Veit Kannegieser, 23.09.1998
*)
{$IfDef DYNAMIC... | Pascal | 4 | nehalem501/gendev | tools/files/applib/contrib/vpascal/apunpack.pas | [
"BSD-3-Clause"
] |
CREATE DATABASE `EE1420`;
| SQL | 1 | suryatmodulus/tidb | br/tests/lightning_tool_1420/data/EE1420-schema-create.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
module Decidable.Equality.Core
%default total
--------------------------------------------------------------------------------
-- Decidable equality
--------------------------------------------------------------------------------
||| Decision procedures for propositional equality
public export
interface DecEq t wher... | Idris | 5 | ska80/idris-jvm | libs/base/Decidable/Equality/Core.idr | [
"BSD-3-Clause"
] |
" Vim syntax file
" Language: InstallShield Script
" Maintainer: Robert M. Cortopassi <cortopar@mindspring.com>
" Last Change: 2001 May 09
" quit when a syntax file was already loaded
if exists("b:current_syntax")
finish
endif
syn keyword ishdStatement abort begin case default downto else end
syn keyword ishdStatem... | VimL | 5 | uga-rosa/neovim | runtime/syntax/ishd.vim | [
"Vim"
] |
.class public Lconditions/TestBooleanToLong;
.super Ljava/lang/Object;
.field private showConsent:Z
.method public writeToParcel(Lconditions/TestBooleanToLong;)V
.locals 0
iget-boolean p1, p0, Lconditions/TestBooleanToLong;->showConsent:Z
int-to-long p1, p1
invoke-virtual {p0, p1}, Lconditions/Test... | Smali | 3 | mazhidong/jadx | jadx-core/src/test/smali/conditions/TestBooleanToLong.smali | [
"Apache-2.0"
] |
"""
Foo.bar
42
42
before field
42
before property
42
"""
class Foo:
[getter(Function)]
public function as duck
def constructor(function):
self.function = function
def bar():
print "Foo.bar"
function()
self.function()
def bar():
print "42"
f = Foo(bar)
f.bar()
print "befo... | Boo | 1 | popcatalin81/boo | tests/testcases/ducky/callable-1.boo | [
"BSD-3-Clause"
] |
<!doctype html>
<title>i am includejs one</title>
| HTML | 0 | ficstar/phantomjs | test/lib/www/includejs1.html | [
"BSD-3-Clause"
] |
// Copyright 2021 The Google Research 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... | C++ | 4 | DionysisChristopoulos/google-research | scann/scann/distance_measures/distance_measure_factory.cc | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.