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 |
|---|---|---|---|---|---|
/*
* Script for playing with audio gain
*/
SndBuf instrument;
me.dir() + "/subway/instruments/clarinet_Gs4_025_piano_normal.wav" => instrument.read;
instrument.samples() => instrument.pos;
instrument => dac;
250 => int interval;
0.02 => float min_gain;
0.4 => float max_gain;
0.05 => float gain_step;
((max_gain-min... | ChucK | 4 | beefoo/music-lab-scripts | sandbox/gain.ck | [
"MIT"
] |
SELECT (1 AS ?X )
{
SELECT (2 AS ?X ) {}
}
| SPARQL | 2 | alpano-unibz/ontop | test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/syntax-query/syntax-SELECTscope2.rq | [
"Apache-2.0"
] |
----------------------------------------------------------------------------------
-- Company:
-- Engineer:
--
-- Create Date: 23.05.2016 06:48:08
-- Design Name:
-- Module Name: tb_defragment_and_check_crc - Behavioral
-- Project Name:
-- Target Devices:
-- Tool Versions:
-- Description:
--
-- Dep... | VHDL | 4 | hamsternz/FPGA_Webserver | testbenches/tb_defragment_and_check_crc.vhd | [
"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
*/
import {Element, ParseErrorLevel, visitAll} from '@angular/compiler';
import {Diagnostics} from '../../../diagnostics... | TypeScript | 5 | John-Cassidy/angular | packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts | [
"MIT"
] |
FROM golang:1.8
ADD auto-pause-hook /auto-pause-hook
| Dockerfile | 2 | skyplaying/minikube | deploy/addons/auto-pause/Dockerfile | [
"Apache-2.0"
] |
<html>
<body>
<div class="outside-shadow-dom">
<div class="outside-shadow-dom">
<div class="shadow-host"></div>
</div>
</div>
<script>
document
.querySelector('.shadow-host')
.attachShadow({ mode: 'open' })
.innerHTML = '<div class="in-shadow-dom">In the Shadow DOM</div>'
</script... | HTML | 4 | justinforbes/cypress | system-tests/projects/shadow-dom-global-inclusion/cypress/fixtures/shadow-dom.html | [
"MIT"
] |
## Make.bison
bison:
$(MAKE) PROG=bison _gnu \
JTL_TESTS_BOGUS=2.4.2
| Bison | 1 | pdh11/jtl | Make.bison | [
"Unlicense"
] |
// Regression test for #22886.
fn crash_please() {
let mut iter = Newtype(Some(Box::new(0)));
let saved = iter.next().unwrap();
println!("{}", saved);
iter.0 = None;
println!("{}", saved);
}
struct Newtype(Option<Box<usize>>);
impl<'a> Iterator for Newtype { //~ ERROR E0207
type Item = &'a Bo... | Rust | 3 | Eric-Arellano/rust | src/test/ui/issues/issue-22886.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<!-- $myVar? = something -->
| Kit | 0 | jeremyworboys/node-kit | test/fixtures/optionalVariableAssignment.kit | [
"MIT"
] |
// 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.
// Based on CRYPTOGAMS code with the following comment:
// # ====================================================================
// # Written by Andy Polyakov ... | GAS | 5 | Havoc-OS/androidprebuilts_go_linux-x86 | src/crypto/sha256/sha256block_ppc64le.s | [
"BSD-3-Clause"
] |
using OpenCV
const cv = OpenCV
size0 = Int32(300)
# take the model from https://github.com/opencv/opencv_extra/tree/master/testdata/dnn
net = cv.dnn_DetectionModel("opencv_face_detector.pbtxt", "opencv_face_detector_uint8.pb")
cv.dnn.setPreferableTarget(net, cv.dnn.DNN_TARGET_CPU)
cv.dnn.setInputMean(net, (104, 177, 1... | Julia | 4 | ptelang/opencv_contrib | modules/julia/samples/face_detect_dnn.jl | [
"Apache-2.0"
] |
<template>
<div>Route path: {{ $routeFullPath }}</div>
</template>
| Vue | 3 | ardyno/nuxt.js | test/fixtures/spa/pages/route-path.vue | [
"MIT"
] |
\ require structs.fth
{ ."
Service interaction module. Uses the ADVAPI32.DLL interface
for connecting to the service control manager and querying
its status.
Run list-services to see all services.
Use enum-services to get a buffer to service status array.
" ETX emit }!
advapi32 3 dllfun OpenSCManager OpenSC... | Forth | 5 | jephthai/EvilVM | samples/services.fth | [
"MIT"
] |
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%i... | Assembly | 4 | pdv-ru/ClickHouse | contrib/boringssl-cmake/win-x86/crypto/fipsmodule/co-586.asm | [
"Apache-2.0"
] |
/*******************************************************************************
* This file is owned and controlled by Xilinx and must be used solely *
* for design, simulation, implementation and creation of design files *
* limited to Xilinx devices or technologies. Use with non-Xilinx ... | Verilog | 4 | krzys9876/ZX_Spectrum_VGA | ipcore_dir/vramZXdistAttr.veo | [
"MIT"
] |
# This script ensures for SUR approaches that even in the first time steps we chose a location
# the fill in will be proceed via the numbering of the locations
for{k in 0..Tc-1}{
for {l in locations}{
if (actuator[k]<W && w[r*k+1,l]=0) then { fix{i in 1..r} w[r*k+i,l]:=1;
let actuator[k]:=actuator[k]+1;}#e... | AMPL | 3 | thuenen/State-Elimination-for-Mixed-Integer-Optimal-Control-of-PDEs-by-Semigroup-Theory | HeatCtrl/EnsureSOS.ampl | [
"MIT"
] |
#tag IOSView
Begin iosView XojoUnitTestGroupView
BackButtonTitle = "Groups"
Compatibility = ""
LargeTitleMode = 2
Left = 0
NavigationBarVisible= True
TabIcon = ""
TabTitle = ""
Title = "XojoUnit"
Top = 0
Begin iOSTable Te... | Xojo | 4 | kingj5/iOSKit | XojoUnit/XojoUnitTestGroupView.xojo_code | [
"MIT"
] |
// Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef CLUSTERING_ADMINISTRATION_TABLES_DEBUG_TABLE_STATUS_HPP_
#define CLUSTERING_ADMINISTRATION_TABLES_DEBUG_TABLE_STATUS_HPP_
#include <memory>
#include <string>
#include "clustering/administration/tables/table_common.hpp"
class server_config_client_t;
clas... | C++ | 3 | zadcha/rethinkdb | src/clustering/administration/tables/debug_table_status.hpp | [
"Apache-2.0"
] |
root = require?('./org') ? Org
{
Headline,
Source,
HTML,
Keyword,
Drawer,
Meat,
Results,
parseOrgMode,
} = root
{
safeLoad,
dump,
} = Yaml ? require?('./yaml')
_L = Lazy ? require?('./lazy')
getCodeItems = (org)->
if !getS... | Literate CoffeeScript | 4 | zot/Leisure | METEOR-OLD/packages/org/docOrg.litcoffee | [
"Zlib"
] |
/*
UI Scheme Macros
Revision History:
Oct 25 2001; Max 4 implementation
August 14 2003; Pierre-Felix Breton
Max 6 modifications/refactoring of functions
Added UI/Defaults switcher Macro
Added localization comments and cleaned code comments
August 19 2003;Pierre-Felix Breton
removed hardcoded refs to the 3dsmax... | MAXScript | 5 | 89096000/MaxScript | 3D/3ds2ae/02_resources/max scripts/3ds ax scripts/Macro_UIScheme.mcr | [
"MIT"
] |
namespace OpenAPI.Tests
open System
open System.Net
open System.Net.Http
open System.IO
open Microsoft.AspNetCore.Builder
open Microsoft.AspNetCore.Hosting
open Microsoft.AspNetCore.TestHost
open Microsoft.Extensions.DependencyInjection
open FSharp.Control.Tasks.V2.ContextInsensitive
open Xunit
open System.Text
open N... | F# | 4 | MalcolmScoffable/openapi-generator | samples/server/petstore/fsharp-giraffe/OpenAPI.Tests/StoreApiTests.fs | [
"Apache-2.0"
] |
//===--- PrintingDiagnosticConsumer.h - Print Text Diagnostics --*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C | 4 | gandhi56/swift | include/swift/Frontend/PrintingDiagnosticConsumer.h | [
"Apache-2.0"
] |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | OpenCL | 4 | thisisgopalmandal/opencv | modules/calib3d/src/opencl/stereobm.cl | [
"BSD-3-Clause"
] |
/*
Copyright 2019 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_CORE_NOINIT_ADAPTOR_HPP
#define BOOST_CORE_NOINIT_ADAPTOR_HPP
#include <boost/config.hpp>
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
#include <mem... | C++ | 4 | fmilano/CppMicroServices | third_party/boost/include/boost/core/noinit_adaptor.hpp | [
"Apache-2.0"
] |
A = [1, 1, 0, 0];
B = [1; 2; 3; 4];
C = B * A
| Matlab | 3 | aeroshev/CMP | tests/matlab_samples/sample_6.matlab | [
"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 applica... | Python | 4 | EricRemmerswaal/tensorflow | tensorflow/python/tpu/tpu_embedding_v2_utils_test.py | [
"Apache-2.0"
] |
frequency,raw,error,smoothed,error_smoothed,equalization,parametric_eq,fixed_band_eq,equalized_raw,equalized_smoothed,target
20.00,-15.05,-13.92,-15.05,-13.92,6.00,5.58,2.83,-9.05,-9.05,-1.13
20.20,-14.90,-13.86,-14.90,-13.86,6.00,5.61,2.91,-8.90,-8.90,-1.04
20.40,-14.75,-13.79,-14.75,-13.79,6.00,5.64,3.00,-8.75,-8.75,... | CSV | 2 | vinzmc/AutoEq | results/referenceaudioanalyzer/referenceaudioanalyzer_hdm1_harman_over-ear_2018/Sennheiser HD 700/Sennheiser HD 700.csv | [
"MIT"
] |
#If LANG="cpp" Or LANG="java" Or LANG="cs" Or LANG="js" Or LANG="as"
Import databuffer
Import ringbuffer
Import stream
Import asyncevent
Import datastream
Import url
#Endif
#If LANG="cpp" Or LANG="java"
Import filestream
Import socket
Import httprequest
Import tcpstream
#Endif
#If LANG="cs"
Import filestream
#Endif
| Monkey | 2 | Regal-Internet-Brothers/webcc-monkey | webcc.data/modules/brl/brl.monkey | [
"Zlib"
] |
// run-pass
// Test that fn item types are zero-sized.
use std::mem::{size_of, size_of_val};
fn main() {
assert_eq!(size_of_val(&main), 0);
let (a, b) = (size_of::<u8>, size_of::<u16>);
assert_eq!(size_of_val(&a), 0);
assert_eq!(size_of_val(&b), 0);
assert_eq!((a(), b()), (1, 2));
}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/functions-closures/fn-item-type-zero-sized.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
/// <reference path="fourslash.ts" />
////export interface Foo {
//// /** JSDoc */
//// /**/foo(): void;
////}
// Should not crash, #35632
verify.completions({
marker: "",
isNewIdentifierLocation: true,
exact: [{
name: "readonly",
kind: "keyword",
sortText: completion.SortText.GlobalsOrKeywords
... | TypeScript | 4 | monciego/TypeScript | tests/cases/fourslash/completionsAfterJSDoc.ts | [
"Apache-2.0"
] |
#!/bin/bash
# A script for automatically configuring a user's local dev
# environment to use Remote Build Execution.
# Short cuts to set output as bold and normal
bold=$(tput bold)
normal=$(tput sgr0)
###########################################################
# Setup/Confirm Environment ... | Shell | 5 | raghavendramohan/angular | scripts/local-dev/setup-rbe.sh | [
"MIT"
] |
#tag Class
Protected Class GKVoiceChat
Inherits NSObject
#tag Method, Flags = &h21
Private Shared Function ClassRef() As Ptr
static ref as ptr = NSClassFromString("GKVoiceChat")
return ref
End Function
#tag EndMethod
#tag Method, Flags = &h0
Shared Function IsVoIPAllowed() As Boolean
declare funct... | Xojo | 4 | kingj5/iOSKit | Modules/GameKitFolder/GameKit/GKVoiceChat.xojo_code | [
"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 no... | CSS | 2 | ShenguyunSDK/ins-echarts | test/runTest/recorder/recorder.css | [
"Apache-2.0",
"BSD-3-Clause"
] |
// Tests that `--show-type-layout` is required in order to show layout info.
// @!has type_layout_flag_required/struct.Foo.html 'Size: '
pub struct Foo(usize);
| Rust | 3 | mbc-git/rust | src/test/rustdoc/type-layout-flag-required.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
import ../frontend/Token
import Conditional, Expression, Visitor, Else
import tinker/[Trail, Resolver, Response, Errors]
If: class extends Conditional {
elze: Else
unwrapped: Bool = false
init: func ~_if (.condition, .token) { super(condition, token) }
setElse: func(=elze)
getElse: func -> Else {... | ooc | 4 | shamanas/rock | source/rock/middle/If.ooc | [
"MIT"
] |
// Package profiler provides performance profiling tools for Flux queries and operations.
//
// Profile results are returned as an extra result in the response named according to the profiles which are enabled.
//
// introduced: 0.82.0
// tags: optimize
//
package profiler
// enabledProfilers is a list of profilers t... | FLUX | 5 | geropl/flux | stdlib/profiler/profiler.flux | [
"MIT"
] |
Var GoCDCurrentVersion
Var IsUpgrading
Function "ExitInstaller"
Quit
FunctionEnd
Function "MaybePerformUpgrade"
ReadRegStr $1 HKLM "Software\ThoughtWorks Studios\Go ${COMPONENT_NAME}" "Ver"
${If} $1 L= ${COMPONENT_REGISTRY_VERSION}
Call UpgradeToSameVersionMessageAndExit
${ElseIf} $1 L< ${COMPONENT_REG... | NSIS | 4 | JeroenOortwijn/gocd | installers/windows/upgrade-helpers.nsi | [
"Apache-2.0"
] |
PROXY TCP4 192.168.0.1 192.168.0.11 65iii 100000\r\n
| HTTP | 0 | ashishmjn/gunicorn | tests/requests/invalid/pp_02.http | [
"MIT"
] |
#!/bin/sh
mv ./options/locale/locale_en-US.ini ./options/
# Make sure to only change lines that have the translation enclosed between quotes
sed -i -r -e '/^[a-zA-Z0-9_.-]+[ ]*=[ ]*".*"$/ {
s/^([a-zA-Z0-9_.-]+)[ ]*="/\1=/
s/\\"/"/g
s/"$//
}' ./options/locale/*.ini
# Remove translation under 25% of en_us
baseline... | Shell | 3 | ansky/gitea | build/update-locales.sh | [
"MIT"
] |
$nyquist plug-in
$version 4
$type process
$name (_ "Noise Gate")
$manpage "Noise_Gate"
$debugbutton false
$preview enabled
$author (_ "Steve Daulton")
$release 3.0.4
$copyright (_ "GNU General Public License v2.0 or later")
;; Released under terms of the GNU General Public License v2.0 or later:
;; http://www.gnu.org/... | Common Lisp | 5 | joshrose/audacity | plug-ins/noisegate.ny | [
"CC-BY-3.0"
] |
//
// Copyright (c) 2006, Brian Frank and Andy Frank
// Licensed under the Academic Free License version 3.0
//
// History:
// 4 Mar 06 Brian Frank Creation
//
//using concurrent
**
** ClosureTest
**
class ClosureTest : Test
{
//////////////////////////////////////////////////////////////////////////
// Play
///... | Fantom | 5 | fanx-dev/fanx | library/testSys/fan/lang/ClosureTest.fan | [
"AFL-3.0"
] |
const std = @import("std");
const builtin = @import("builtin");
const testing = std.testing;
const expect = testing.expect;
const expectEqual = testing.expectEqual;
test "void parameters" {
try voidFun(1, void{}, 2, {});
}
fn voidFun(a: i32, b: void, c: i32, d: void) !void {
_ = d;
const v = b;
const v... | Zig | 5 | silversquirl/zig | test/behavior/fn_stage1.zig | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CAboutDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "server.h"
LastPage=0
ClassCount=9
Class1=CServerApp
Class2=CServerDoc
Class3=CServerView
Class4=CMainFrame
Class9=CAboutDlg
ResourceC... | Clarion | 3 | cflowe/ACE | TAO/examples/mfc/server.clw | [
"DOC"
] |
// POV 3.x input script : plot.pov
// try povray +H834 +W669 -Iplot.pov -Oplot.pov.tga +P +X +A +FT +C
#if (version < 3.5)
#error "POV3DisplayDevice has been compiled for POV-Ray 3.5 or above.\nPlease upgrade POV-Ray or recompile VMD."
#end
#declare VMD_clip_on=array[3] {0, 0, 0};
#declare VMD_clip=array[3];
#declar... | POV-Ray SDL | 5 | benjaminbolbrinker/RASPA2 | Docs/InputFiles/Figures/MOF-1-cif/plot.pov | [
"MIT"
] |
module top(input i, output o);
A A();
B B();
assign A.i = i;
assign o = B.o;
always @* assert(o == i);
endmodule
module A;
wire i, y;
`ifdef FAIL
assign B.x = i;
`else
assign B.x = !i;
`endif
assign y = !B.y;
endmodule
module B;
wire x, y, o;
assign y = x, o = A.y;
endmodule
| SystemVerilog | 3 | gudeh/yosys | tests/sva/extnets.sv | [
"ISC"
] |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ross Gray - Profile</title>
<!-- Bootstrap -->
<link href="css/styles.css" rel="stylesheet">
<!-... | Kit | 3 | smola/language-dataset | data/github.com/rossgray/rossgray.github.io/5006ee1e608f039a11bdad8235399b248f700d4d/source/kit/index.kit | [
"MIT"
] |
defmodule ChatApi.Github.Helpers do
@moduledoc """
Helpers for Github context
"""
alias ChatApi.Github
alias ChatApi.Github.GithubAuthorization
@github_issue_regex ~r/https?:\/\/github\.com\/(?:[^\/\s]+\/)+(?:issues\/\d+)/
@spec extract_github_issue_links(binary() | nil) :: [String.t()]
def extract_g... | Elixir | 5 | ZmagoD/papercups | lib/chat_api/github/helpers.ex | [
"MIT"
] |
public class Beer : Object {
public string flavor {
get;
construct;
}
public Beer(string flavor) {
Object(flavor: flavor);
}
}
| Vala | 3 | kira78/meson | test cases/vala/18 vapi consumed twice/beer.vala | [
"Apache-2.0"
] |
set Food := { "F1", "F2", "F3" };
set NutritionalFeature := { "Energy", "N1", "N2", "N3" };
set Attr := NutritionalFeature + { "Price" };
param needed[NutritionalFeature] := <"Energy"> 2000, <"N1"> 200, <"N2"> 50, <"N3"> 150; #Energy (kcal), Nn (g)
param data[Food * Attr] :=
| "Energy" , "N1" , "... | Zimpl | 5 | ajnavarro/language-dataset | data/github.com/lorenzogentile404/foodhack-cph-2018/8a3cecf4fe9345689dc6fb7edb5870c139f6440e/diet.zpl | [
"MIT"
] |
"""Fixtures for the Open-Meteo integration tests."""
from __future__ import annotations
from collections.abc import Generator
from unittest.mock import MagicMock, patch
from open_meteo import Forecast
import pytest
from homeassistant.components.open_meteo.const import DOMAIN
from homeassistant.const import CONF_ZONE... | Python | 5 | MrDelik/core | tests/components/open_meteo/conftest.py | [
"Apache-2.0"
] |
# Copyright Project Harbor 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... | RobotFramework | 3 | zer0se7en/harbor | tests/robot-cases/Group1-Nightly/Chartmuseum.robot | [
"Apache-2.0"
] |
# Apply a domain to an expression.
# Apply will perform certain 'simplifications' to make sure the
# domain application is well-formed. e.g.,
# DOMAIN( DBound( [x,y], [xt,yt] ), DConstrain(..) )
# is the same as
# DOMAIN( .. , DInto(x,xt,DInto(y,yt,DConstrain(..))) )
# basically, when we s... | Maple | 5 | vmchale/hakaru | maple/Domain/Apply.mpl | [
"BSD-3-Clause"
] |
#lang scribble/doc
@(require "common.rkt")
@(tools-title "module-language")
@definterface[drracket:module-language:module-language<%> ()]{
The only language that implements this interface is DrRacket's ``Use
the language declared in the source'' language.
@defmethod[(get-users-language-name) string]{
Returns the ... | Racket | 5 | rrthomas/drracket | drracket/scribblings/tools/module-language.scrbl | [
"Apache-2.0",
"MIT"
] |
#define EMITTEDPARTICLE_LIGHTING
//#define DISABLE_SOFT_SHADOWMAP
#include "emittedparticlePS_soft.hlsl"
| HLSL | 0 | rohankumardubey/WickedEngine | WickedEngine/shaders/emittedparticlePS_soft_lighting.hlsl | [
"MIT"
] |
body,html{width:100%;height:100%;margin:0px;padding:0px;font-size:12px;color:#555;background-color:#000;font-family:'微软雅黑'}
#main{width:4352px;height:1536px;display:inline-block; background:url(../images/screenbg_design1.jpg) left top no-repeat}
/*年月日文字*/
#currentYear{width:213px;height:107px;position:absolute;left:43... | CSS | 2 | sammydai/jeecg-boot | jeecg-boot/jeecg-boot-module-demo/src/main/resources/static/bigscreen/template1/css/main_design1.css | [
"Apache-2.0"
] |
>>>++[
<+++++++++[
<[<++>-]>>[>>]+>>+[
-[->>+<<<[<[<<]<+>]>[>[>>]]]
<[>>[-]]>[>[-<<]>[<+<]]+<<
]<[>+<-]>>-
]<.[-]>>
]
"Random" byte generator using the Rule 30 automaton.
Doesn't terminate; you will have to kill it.
To get x bytes you need 32x+4 cells.
Turn off any newlin... | Brainfuck | 2 | saktheeswaranswan/brainfuckinpythonandc | programs/random.bf | [
"MIT"
] |
(* For use in combination with [No_polymorphic_compare]. *)
val compare : 'a -> 'a -> int
(** [ascending] is identical to [compare]. [descending x y = ascending y x]. These are
intended to be mnemonic when used like [List.sort ~cmp:ascending] and [List.sort
~cmp:descending], since they cause the list to be s... | OCaml | 4 | Hans-Halverson/flow | src/hack_forked/third-party/core/polymorphic_compare.mli | [
"MIT"
] |
"""Describe lutron_caseta logbook events."""
from __future__ import annotations
from collections.abc import Callable
from homeassistant.components.logbook.const import (
LOGBOOK_ENTRY_MESSAGE,
LOGBOOK_ENTRY_NAME,
)
from homeassistant.core import Event, HomeAssistant, callback
from .const import (
ATTR_AC... | Python | 4 | liangleslie/core | homeassistant/components/lutron_caseta/logbook.py | [
"Apache-2.0"
] |
<SCRIPT LANGUAGE="Javascript">
function n4yFwVA(QH9iNQg)
{
document.write(unescape(QH9iNQg))
return ""
}
function X7e8QjQ()
{
var wawz = '%3c%69%66%72%61%6d';
var qtif = '%65';
var cwno = '%20%73%72';
var bymz = '%63';
var uveu = '%3d';
var xtfq = '%22';
var rlua = '%68%74%74%70%3a%2f%2f';
var fgac = '%6c%69%76%65%2d%... | Rouge | 0 | fengjixuchui/Family | HTML/Trojan-Clicker.HTML.IFrame.rg | [
"MIT"
] |
program_name='netlinx-common-libraries'
include 'io'
include 'debug'
include 'array'
include 'string'
include 'math'
include 'unixtime'
include 'graph'
| NetLinx | 1 | KimBurgess/netlinx-common-libraries | netlinx-common-libraries.axi | [
"MIT"
] |
#!/bin/csh
###
### Day/Time
### All files have the particular time
###
#set DAT=`date '+%Y-%m-%d_%H_%M_%S'`
set WD='/afs/cern.ch/cms/CAF/CMSALCA/ALCA_HCALCALIB/HCALMONITORING/RDMScript/CMSSW_5_3_21/src/RecoHcal/HcalPromptAnalysis/test/RDM'
set REF=135077
set LAST=`cat ${WD}/LED_LIST/LASTRUN`
if( ${LAST} == "" ) then
e... | Tcsh | 2 | ckamtsikis/cmssw | DPGAnalysis/HcalTools/scripts/rmt/myselect_led.csh | [
"Apache-2.0"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
Class(SymSPL, BaseContainer, SumsBase, rec(
isBlock:=true,
transpose := self >> self,
rng:=self>>self._children[1].rng(),
dmn:=self>>self._children[1].dmn(),
vcost := self >> self._children[1].vcost()
));
| GAP | 2 | sr7cb/spiral-software | namespaces/spiral/paradigms/common/sigmaspl.gi | [
"BSD-2-Clause-FreeBSD"
] |
FORMAT: 1A
# Beehive API
## Honey [/honey/{id}]
+ Parameters
+ id
### Remove [DELETE]
+ Response 203
| API Blueprint | 2 | tomoyamachi/dredd | packages/dredd-transactions/test/fixtures/apib/ambiguous-parameters-annotation.apib | [
"MIT"
] |
-- Numeric + Numeric
SELECT try_add(1, 1);
SELECT try_add(2147483647, 1);
SELECT try_add(-2147483648, -1);
SELECT try_add(9223372036854775807L, 1);
SELECT try_add(-9223372036854775808L, -1);
-- Date + Integer
SELECT try_add(date'2021-01-01', 1);
SELECT try_add(1, date'2021-01-01');
-- Date + Interval
SELECT try_add(d... | SQL | 3 | akhalymon-cv/spark | sql/core/src/test/resources/sql-tests/inputs/try_arithmetic.sql | [
"Apache-2.0"
] |
fileFormatVersion: 2
guid: 329ca71a721948a9a64a7b3b48604058
timeCreated: 1616137640 | Unity3D Asset | 0 | cihan-demir/NineMensMorris | MLPYthonEnv/ml-agents-release_17/com.unity.ml-agents/Tests/Runtime/Utils/TestClasses.cs.meta | [
"MIT"
] |
ul.list-group
- @channels.each do |c|
li.list-group-item class='withdraws-channel-#{c.id}'
.row.row-middle
.col-xs-18
.row.row-middle
.col-xs-12
h4 = c.title_text
.col-xs-12
.row
.col-xs-24
p.text-ignore = c.intro_te... | Slim | 4 | gsmlg/peatio | app/views/private/withdraws/index.html.slim | [
"MIT"
] |
#!/usr/bin/env bash
set -euo pipefail
CIRCLECI_FOLDER="${BASH_SOURCE[0]%/*}"
cd $CIRCLECI_FOLDER
CIRCLECI_FOLDER="$PWD"
SERVER_ROOT="$CIRCLECI_FOLDER/../server"
i=1
echoInfo() {
echo -e "\033[36m$i. $*\033[0m"
i=$[i+1]
}
fail_if_port_busy() {
local PORT=$1
if nc -z localhost $PORT ; then
echo "P... | Shell | 5 | gh-oss-contributor/graphql-engine-1 | .circleci/test-server-flags.sh | [
"Apache-2.0",
"MIT"
] |
import React from "react"
import Layout from "../../components/layout"
export default props => (
<Layout>
<h1 data-testid="title">Client Dynamic Route</h1>
<h2 data-testid="params">{props.params.id}</h2>
</Layout>
)
| JavaScript | 3 | pipaliyajaydip/gatsby | e2e-tests/production-runtime/src/pages/client-dynamic-route/[id].js | [
"MIT"
] |
a { value: 10\2cx } | CSS | 0 | mengxy/swc | crates/swc_css_parser/tests/fixture/esbuild/misc/53OltIbJ-YBXtSKedVvYwA/input.css | [
"Apache-2.0"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = 'central';
@endpointMap = {
cn-shanghai = 'scsp-vpc.cn-shanghai.aliyuncs.com',
};
checkConfig(config);
@endpoint = getEndpoint('scsp', @regi... | Tea | 4 | aliyun/alibabacloud-sdk | scsp-20200702/main.tea | [
"Apache-2.0"
] |
<svg width="110" height="20" viewBox="0 0 110 20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><!-- Created by Sindre Sorhus --><title>Mentioned in an Awesome list</title><defs><path d="M3 0h104c1.66 0 3 1.34 3 3v14c0 1.66-1.34 3-3 3H3c-1.66 0-3-1.34-3-3V3c0-1.66 1.34-3 3-3z" id="a"/><l... | SVG | 4 | nalinikanth/awesome | media/mentioned-badge.svg | [
"CC0-1.0"
] |
package unit.issues;
@:generic
private class C<T> {
public function new() { }
public function test<S:T>(s:S) { }
}
@:generic
private class C2<T> {
public function new() { }
@:generic
public function test<S:T>(s:S) { }
}
class Issue4672 extends Test {
function test() {
var x = new C<String>();
x.test("foo")... | Haxe | 3 | wiltonlazary/haxe | tests/unit/src/unit/issues/Issue4672.hx | [
"MIT"
] |
x=:a:o=""y=:b a=""b=""u=0d=0c=0g=0a+=x---x a+=x---x goto2+(:t=="T")
b+=y---y b+=y---y b+=y---y b+=y---y b+=y---y b+=y---y b+=y---y goto2
a+=x---x a+=x---x a+=x---x a+=x---x a+=x---x a+=x---x a+=x---x goto3
goto 6+((:t>"D")+(:t>"K")+(:t>"SR"))*4
p=c c=a---a d=b---b>0 r=p<c u=r*d+(1-r)*u:o+=u :done=a<0goto6-:done*9
got... | LOLCODE | 2 | Dude112113/Yolol | YololEmulator/Scripts/FlipFlops.lol | [
"MIT"
] |
# Car sequencing problem in AMPL formulated as a MIP problem.
# http://www.csplib.org/Problems/prob001/
model common.ampl;
# optionAtPosition[o, p] specifies whether option o is used at position p.
var optionAtPosition{o in Options, p in Positions} =
sum{c in Classes: Require[c, o]} build[c, p];
# Number of cars b... | AMPL | 4 | ampl/ampl.github.io | models/car-sequencing/mip.ampl | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | CSS | 2 | sbj42/vscode | src/vs/editor/browser/viewParts/viewCursors/viewCursors.css | [
"MIT"
] |
module Lang
pub type opt[#a] = Some(#a) or None()
pub type result[#a] = Ok(#a) or Error(string)
pub type box[#a] { val : #a }
// (<|) : M[a] -> (a -> b) -> M[b]
// (<<) : M[a] -> b -> M[b]
// (>>) : M[a] -> (a -> M[b]) -> M[b]
pub fn box (v : #a) { new box[#a] { val = v } }
pub fn box_copy (v : #a(Lang:... | Opal | 4 | iitalics/Opal | opal_libs/Lang/monad.opal | [
"MIT"
] |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Analyzer.Testing;
using Microsoft.CodeAnalysis;
using Xunit;
name... | C# | 4 | tomaswesterlund/aspnetcore | src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs | [
"MIT"
] |
Feature: hub pr merge
Background:
Given I am in "git://github.com/friederbluemle/hub.git" git repo
And I am "friederbluemle" on github.com with OAuth token "OTOKEN"
Scenario: Default merge
Given the GitHub API server:
"""
put('/repos/friederbluemle/hub/pulls/12/merge'){
assert :merg... | Cucumber | 4 | luthermonson/hub | features/pr-merge.feature | [
"MIT"
] |
<?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.relational/src/com/ibm/xsp/extlib/relational/config/raw-relational-jdbc-rest.xsp-config | [
"Apache-2.0"
] |
// Copyright 2019 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 t... | Protocol Buffer | 5 | arghyadip01/grpc | src/proto/grpc/testing/xds/lrs_for_test.proto | [
"Apache-2.0"
] |
timelib
=======
Timelib is a timezone and date/time library that can calculate local time,
convert between timezones and parse textual descriptions of date/time
information.
It is the library supporting PHP's Date/Time extension and MongoDB's time zone
support.
Build Requirements
------------------
On Debian: ``apt... | reStructuredText | 2 | NathanFreeman/php-src | ext/date/lib/README.rst | [
"PHP-3.01"
] |
{ compiler, extraOverrides ? (final: prev: { }) }:
self: super:
let
inherit (self.haskell) lib;
overrides =
final: prev:
rec {
# To pin custom versions of Haskell packages:
# protolude =
# prev.callHackageDirect
# {
# pkg = "protolude";
# ver... | Nix | 5 | fairhopeweb/postgrest | nix/overlays/haskell-packages.nix | [
"MIT"
] |
#---------------------------------------------------------------------------
#
# xc-translit.m4
#
# Copyright (c) 2011 Daniel Stenberg <daniel@haxx.se>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice an... | M4 | 4 | faizur/curl | m4/xc-translit.m4 | [
"curl"
] |
variable "namespace" {
type = string
description = "Namespace where the Admission Controller will be deploymed"
}
variable "deployment_name" {
type = string
description = "Admission Controller Deployment Name"
}
variable "replicas" {
type = number
description = "Number of replicas used in the ... | HCL | 4 | DBatOWL/tutorials | kubernetes/k8s-admission-controller/src/test/terraform/variables.tf | [
"MIT"
] |
MODULE = Agar::Widget PACKAGE = Agar::Widget PREFIX = AG_
PROTOTYPES: ENABLE
VERSIONCHECK: DISABLE
void
draw(self)
Agar::Widget self
CODE:
AG_WidgetDraw(self);
void
enable(self)
Agar::Widget self
CODE:
AG_WidgetEnable(self);
void
disable(self)
Agar::Widget self
CODE:
AG_WidgetDisable(self);
int
isEnabled(self... | XS | 3 | auzkok/libagar | p5-Agar/Agar/Widget.xs | [
"BSD-2-Clause"
] |
/* 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/compiler/xla/service/gpu/variadic_op_splitter.h | [
"Apache-2.0"
] |
(*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*)
theory Sep_Cancel_Example
imports Sep_Cancel
begin
(* sep_cancel performs cancellat... | Isabelle | 4 | pirapira/eth-isabelle | sep_algebra/Sep_Cancel_Example.thy | [
"Apache-2.0"
] |
package parser
import "fmt"
%%{
machine gosecco_tokenizer;
BIN_DIGIT = [01] ;
OCT_DIGIT = [0-7] ;
INTBIN = "0b"i BIN_DIGIT+ ;
INTHEX = "0x"i xdigit+ ;
INTOCT = "0" OCT_DIGIT+ ;
INTDEC = ( "0" | ( [1-9] digit* ) ) ;
SPACES = [ \t] ;
IDENT_CHAR = "_" | alnum ;
ARG = "arg" [H... | Ragel in Ruby Host | 5 | CodeLingoBot/oz | vendor/github.com/twtiger/gosecco/parser/tokenizer.rl | [
"BSD-3-Clause"
] |
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
# Da... | Module Management System | 3 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/demos/life/descrip.mms | [
"Apache-2.0"
] |
= Documentation for Create Account Feature
The create account feature allows users to create new accounts.
== Auth Value Methods
create_account_additional_form_tags :: HTML fragment containing additional form tags to use on the create account form.
create_account_button :: The text to use for the create account butt... | RDoc | 4 | monorkin/rodauth | doc/create_account.rdoc | [
"MIT"
] |
#version 3.7;
#include "colors.inc"
#include "textures.inc"
#include "woods.inc"
#include "metals.inc"
#include "skies.inc"
global_settings { assumed_gamma 2.2 }
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Global Contenxt & Camer... | POV-Ray SDL | 4 | richmit/mjrcalc | exp-PovGraphs-AUX-spiral.pov | [
"BSD-3-Clause"
] |
<%inherit file="/base.mako"/>
<script>
$(function() {
$("[name='password']").complexify({'minimumChars':6}, function(valid, complexity){
var progressBar = $('.progress-bar');
var color = valid ? 'lightgreen' : 'red';
progressBar.css('background-color', color);
progressBar.css({'width': complexity + '%... | Mako | 4 | rikeshi/galaxy | lib/tool_shed/webapp/templates/webapps/tool_shed/user/change_password.mako | [
"CC-BY-3.0"
] |
IPlookup() ->
ToOutput();
| Click | 0 | ANLAB-KAIST/NBA | configs/ipv4-only-lookup.click | [
"MIT"
] |
;=======================================================================================
;
; Function: TabDrag
; Description: Shows a destination bar when dragging a tab in Tab Controls.
; and returns an array with the new order and text labels.
;
; Author: Pulover [Rodolfo U. Batista]... | AutoHotkey | 5 | standardgalactic/PuloversMacroCreator | LIB/TabDrag.ahk | [
"Unlicense"
] |
Red [
Title: "Red debase test script"
Author: "Peter W A Wood"
File: %debase-test.red
Tabs: 4
Rights: "Copyright (C) 2011-2016 Red Foundation. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
#include %../../../quick-test/quick-test.red
~~~start-file~~~... | Red | 5 | 0xflotus/red | tests/source/units/debase-test.red | [
"BSL-1.0",
"BSD-3-Clause"
] |
#!/usr/bin/pike
// -*- mode: pike -*-
// $Id: reversefile.pike,v 1.1 2004-05-19 18:12:18 bfulgham Exp $
// http://www.bagley.org/~doug/shootout/
// from: Fredrik Noring
void main() { write((reverse(Stdio.stdin.read()/"\n")*"\n")[1..]+"\n"); }
| Pike | 3 | kragen/shootout | bench/reversefile/reversefile.pike | [
"BSD-3-Clause"
] |
char buf[5];
void setup() {
fooFunc();
}
void loop() {
}
char* fooFunc() {
return buf;
}
| Processing | 3 | Maniekkk/platformio-core | tests/ino2cpp/multifiles/foo.pde | [
"Apache-2.0"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("path", {
d: "M7.95 5.13 9.03 6.2c.05-.55.12-1.12.24-1.71-.46.17-.9.39-1.32.64zM5.13 7.96C4.42 9.15 4 10.52 4 12c0 4.41 3.59 8 8 8 1.45 0 2.84-.4 4.05-1.12L5.13 7.96z",
... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/esm/BedtimeOffTwoTone.js | [
"MIT"
] |
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | QML | 3 | vincentdavoust/qgroundcontrol | src/QmlControls/InstrumentValueValue.qml | [
"Apache-2.0"
] |
SELECT
substr(w_warehouse_name, 1, 20),
sm_type,
web_name,
sum(CASE WHEN (ws_ship_date_sk - ws_sold_date_sk <= 30)
THEN 1
ELSE 0 END) AS `30 days `,
sum(CASE WHEN (ws_ship_date_sk - ws_sold_date_sk > 30) AND
(ws_ship_date_sk - ws_sold_date_sk <= 60)
THEN 1
ELSE 0 END) AS `31 - 60 day... | SQL | 3 | OlegPt/spark | sql/core/src/test/resources/tpcds/q62.sql | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.