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
import { gatsbyConfigSchema, nodeSchema } from "../joi" describe(`gatsby config`, () => { it(`returns empty pathPrefix when not set`, () => { const config = {} const result = gatsbyConfigSchema.validate(config) expect(result.value).toEqual( expect.objectContaining({ pathPrefix: ``, }...
TypeScript
5
waltercruz/gatsby
packages/gatsby/src/joi-schemas/__tests__/joi.ts
[ "MIT" ]
@number: 30px; nylas-theme-wrap { padding-bottom: @number; }
Less
2
cnheider/nylas-mail
packages/client-app/spec/fixtures/packages/theme-without-package-file/styles/c.less
[ "MIT" ]
interface A<T> { x: T } interface C extends A<string>, A<number> { }
TypeScript
3
nilamjadhav/TypeScript
tests/cases/compiler/multipleBaseInterfaesWithIncompatibleProperties.ts
[ "Apache-2.0" ]
1728 0 0 1 0.2 2 0.2 3 0 4 0.2 5 0.2 6 0 7 0.2 8 0.2 9 0 10 0.2 11 0.2 12 0 13 0.2 14 0.2 15 0 16 0.2 17 0.2 18 0 19 0.2 20 0.2 21 0 22 0.2 23 0.2 24 0 25 0.2 26 0.2 27 0 28 0.2 29 0.2 30 0 31 0.2 32 0.2 33 0 34 0.2 35 0.2 36 0 37 0.2 38 0.2 39 0 40 0.2 41 0.2 42 0 43 0.2 44 0.2 45 0 46 0.2 47 0.2 48 0 49 0.2 50 0.2 51...
IDL
0
ricortiz/OpenTissue
demos/data/dlm/1728/factor.dlm
[ "Zlib" ]
<?python from textile import textile from cgi import escape ?> <li xmlns:py="http://purl.org/kid/ns#" class="alt" id="comment_$comment.id"> <small class="commentmetadata"> <a href="${comment.web_site}" > ${escape(comment.name)} </a> <span class="filedto"></span> ...
Genshi
3
CarlosGabaldon/calabro
calabro/widgets/templates/comment.kid
[ "MIT" ]
(declare-rel Invariant (Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool Bool)) (declare-rel Goal ()) (declare-var l0 Bool) (declare-var l2 Bool) (declare-var l4 Bool) (declare-var l6 Bool) (declare-var l...
SMT
3
jar-ben/z3
examples/python/data/horn6.smt2
[ "MIT" ]
namespace gfx3D::meshes; import "Display" import "Object" // TOFIX: If this is not here, Cube/Object gets registered as a 'class' rather than class 'struct' public class Sphere : Object { private: int numLat, numLon; float flattenedBody; numLat = 50; numLon = 50; public: bool Create(DisplaySystem disp...
eC
3
N-eil/ecere-sdk
ecere/src/gfx/3D/meshes/Sphere.ec
[ "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 or agree...
Shell
4
deepneuralmachine/google-research
seq2act/data_generation/create_android_howto.sh
[ "Apache-2.0" ]
states =: 'Alabama';'Alaska';'Arizona';'Arkansas';'California';'Colorado';'Connecticut';'Delaware';'Florida';'Georgia';'Hawaii';'Idaho';'Illinois';'Indiana';'Iowa';'Kansas';'Kentucky';'Louisiana';'Maine';'Maryland';'Massachusetts';'Michigan';'Minnesota';'Mississippi';'Missouri';'Montana';'Nebraska';'Nevada';'New Hampsh...
J
2
vmchale/coronavirus
states.ijs
[ "BSD-3-Clause" ]
Hamming(n) New count,ok,next,number,which For which=2,3,5 Set number=1 For count=1:1:n Do . Set ok=0 Set:count<21 ok=1 Set:count=1691 ok=1 Set:count=n ok=1 . Write:ok !,$Justify(count,5),": ",number . For which=2,3,5 Set next(number*which)=which . Set number=$Order(next("")) . Kill next(number) . Quit Quit Do ...
M
3
LaudateCorpus1/RosettaCodeData
Task/Hamming-numbers/MUMPS/hamming-numbers.mumps
[ "Info-ZIP" ]
{ nixpkgs ? import ../.. { } }: with nixpkgs; let pyEnv = python3.withPackages(ps: [ ps.GitPython ]); in mkShell { packages = [ pyEnv luarocks-nix nix-prefetch-scripts ]; }
Nix
2
siddhantk232/nixpkgs
maintainers/scripts/update-luarocks-shell.nix
[ "MIT" ]
test "(start-init) Flush config and compare rewrite config file lines" { foreach_sentinel_id id { assert_match "OK" [S $id SENTINEL FLUSHCONFIG] set file1 ../tests/includes/sentinel.conf set file2 [file join "sentinel_${id}" "sentinel.conf"] set fh1 [open $file1 r] set fh2 [...
Tcl
4
hpdic/redis
tests/sentinel/tests/includes/start-init-tests.tcl
[ "BSD-3-Clause" ]
;;;; -*- Mode: Lisp; Syntax: Common-Lisp; -*- ;;;; Code from Paradigms of AI Programming ;;;; Copyright (c) 1991 Peter Norvig ;;;; File unifgram.lisp: The DCG parser from Chapter 20. (requires "prologcp") (defmacro rule (head &optional (arrow ':-) &body body) "Expand one of several types of logic rules into pure P...
Common Lisp
5
sethaldini/paip-lisp
lisp/unifgram.lisp
[ "MIT" ]
# noinspection SqlNoDataSourceInspectionForFile create table organisation.employees ( id int not null auto_increment primary key, first_name varchar(100) not null, last_name varchar(100) not null, gender varchar(1) not null, created_at datetime not null, updated_at datetime null, created_by varchar(100) not n...
SQL
4
zeesh49/tutorials
activejdbc/src/main/migration/_create_tables.sql
[ "MIT" ]
#include <ATen/ATen.h> #include <ATen/ceil_div.h> #include <ATen/NativeFunctions.h> #include <ATen/native/cuda/Loops.cuh> #include <c10/cuda/CUDAGuard.h> #include <cmath> namespace at { namespace native { namespace { __global__ void ChooseQuantizationParamsKernelImpl( const int64_t* fake_quant_on, const floa...
Cuda
4
xiaohanhuang/pytorch
aten/src/ATen/native/quantized/cuda/fused_obs_fake_quant.cu
[ "Intel" ]
# itclInt.decls -- # # This file contains the declarations for all unsupported # functions that are exported by the Itcl library. # # By "unsupported", it should be noted that due to Tcl's hiding # of the data types used, we inherit this hidden-ness ourselves, # too, unfortunately. # # Copyright (c) 1998-1999 by Script...
BlitzBasic
4
maths22/brlcad
src/other/incrTcl/itcl/generic/itclInt.decls
[ "BSD-4-Clause", "BSD-3-Clause" ]
-- Copyright 2016 Stanford University -- -- 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 agree...
Rouge
4
StanfordLegion/bootcamp2017
UnstructuredRegions/1.rg
[ "Apache-2.0" ]
/* 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...
C++
5
EricRemmerswaal/tensorflow
tensorflow/lite/kernels/complex_support.cc
[ "Apache-2.0" ]
(kicad_pcb (version 4) (host pcbnew 4.0.7-e2-6376~58~ubuntu16.04.1) (general (links 367) (no_connects 0) (area 105.049999 26.349999 165.150001 101.450001) (thickness 1.6) (drawings 65) (tracks 1492) (zones 0) (modules 143) (nets 144) ) (page A4) (layers (0 F.Cu-L1 signa...
KiCad
3
mkszuba/pslab-hardware
archives/PSLab KiCAD v2/PSLab.kicad_pcb
[ "Apache-2.0" ]
<div class="modal error hidden" id="modal-ecd-failsafe"> <h3>SAVE ERROR</h3> <b></b> <b></b> <section> <p class="bold">cryptee failed to save the document on your device and couldn't upload it either.</p> <p>if you have any critical, unsaved changes, we strongly recommend ...
Kit
2
pws1453/web-client
source/imports/app/docs-modal-ecd-failsafe.kit
[ "MIT" ]
const domElements = ['div']; const styled = () => {}; domElements.forEach(domElement => { styled[domElement] = styled(domElement); });
JavaScript
2
hookydev/babel-plugin-styled-components
test/fixtures/does-not-desugar-styled-assignment/output.js
[ "MIT" ]
@import <Foundation/Foundation.j> @import "CSGActor.j" @implementation CSGActorTreeNode : CPObject { CPString data @accessors(readonly); CPString path @accessors(); JSObject info @accessors(); CPString documentation @accessors(); BOOL isLeaf @accessors(); CPMutableArray children; } - (id)init...
Jasmin
3
gabrielcercel/calvin-base
calvinextras/CalvinGUI/CSGActorTreeNode.j
[ "Apache-2.0" ]
# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: vcs-snapshot.eclass # @MAINTAINER: # mgorny@gentoo.org # @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 # @BLURB: support eclass for unpacking VCS snapshot tarballs # @DESCRIPTION: # This eclass provides a convenienc...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/vcs-snapshot.eclass
[ "MIT" ]
USING: help.markup help.syntax math strings ; IN: math.text.english HELP: number>text { $values { "n" integer } { "str" string } } { $contract "Converts an integer to a text string representation in English, including appropriate punctuation and conjunctions." } { $examples { $example "USING: math.text.english prettyp...
Factor
4
alex-ilin/factor
extra/math/text/english/english-docs.factor
[ "BSD-2-Clause" ]
[ (xact) ] @fold
Scheme
0
yzia2000/nvim-treesitter
queries/ledger/folds.scm
[ "Apache-2.0" ]
parser grammar Mrv_system; import Mrv_common; options { tokenVocab = MrvLexer; } a_system : SYSTEM PERIOD ( a_system_configversion | a_system_dns1 | a_system_dns2 | a_system_gateway1 | a_system_gui | a_system_notiffacility | a_system_notifpriority | a_system_n...
ANTLR
4
zabrewer/batfish
projects/batfish/src/main/antlr4/org/batfish/grammar/mrv/Mrv_system.g4
[ "Apache-2.0" ]
#define BOUNDED_COMPARE_BOUND 4096 #define BOUNDED_HASH_BOUND 16384 // comparable tag #define cmptag(v) (isfixnum(v) ? TAG_NUM : tag(v)) static value_t eq_class(fl_context_t *fl_ctx, htable_t *table, value_t key) { value_t c = (value_t)ptrhash_get(table, (void*)key); if (c == (value_t)HT_NOTFOUND) ...
C
5
greimel/julia
src/flisp/equal.c
[ "Zlib" ]
/* Copyright © 2011 MLstate This file is part of Opa. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
Opa
3
Machiaweliczny/oppailang
lib/plugins/opabsl/mlstatebsl/option.opa
[ "MIT" ]
# Edge project file (edit at your own risk) # Copyright (c) 2004-2017 Elements Interactive B.V. # ----------------------------------------- # General project properties projectname = "pluginvincent" caption = "buildgl" target type = "lib" appuid = "0x10205d9d" version = "0.01.1" capabilitie...
Ecere Projects
3
elementsinteractive/edgelib
edgelib/extlib/opengl_plugin/gp2x/build_gles_vin.epj
[ "BSD-3-Clause" ]
{% set result = 'https://www.google.com' | http_query(test=True) %} {% include 'jinja_filters/common.sls' %}
SaltStack
3
byteskeptical/salt
tests/integration/files/file/base/jinja_filters/http_query.sls
[ "Apache-2.0" ]
.blue { color: blue }
CSS
2
coreyscherbing/angular
packages/compiler-cli/integrationtest/src/shared.css
[ "MIT" ]
@tableflux.h2o_temperature{location, surface_degrees, time, location =~ /t._/}
FLUX
1
RohanSreerama5/flux
colm/tableflux/query09.flux
[ "MIT" ]
// Code generated by "stringer -type ABI"; DO NOT EDIT. package obj import "strconv" const _ABI_name = "ABI0ABIInternalABICount" var _ABI_index = [...]uint8{0, 4, 15, 23} func (i ABI) String() string { if i >= ABI(len(_ABI_index)-1) { return "ABI(" + strconv.FormatInt(int64(i), 10) + ")" } return _ABI_name[_A...
Go
4
Havoc-OS/androidprebuilts_go_linux-x86
src/cmd/internal/obj/abi_string.go
[ "BSD-3-Clause" ]
grammar t052importM2; options { language=JavaScript; } import t052importS2; s : label=a[3] {this.capture($label.y);} ; B : 'b' ; // defines B from inherited token space WS : (' '|'\n') {this.skip();} ;
G-code
2
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t052importM2.g
[ "Apache-2.0" ]
--TEST-- interface_exists() tests --FILE-- <?php interface foo { } var_dump(interface_exists("qwerty")); var_dump(interface_exists("")); var_dump(interface_exists("test", false)); var_dump(interface_exists("foo", false)); var_dump(interface_exists("foo")); var_dump(interface_exists("stdClass", false)); var_dump(inter...
PHP
3
thiagooak/php-src
Zend/tests/013.phpt
[ "PHP-3.01" ]
import base64 import json import logging import os from datetime import date, datetime from moto.ses import responses as ses_responses from moto.ses.exceptions import MessageRejectedError from moto.ses.models import SESBackend from moto.ses.responses import EmailResponse as email_responses from localstack import conf...
Python
5
rubencosta/localstack
localstack/services/ses/ses_starter.py
[ "Apache-2.0" ]
OUTPUT="./bin" SOURCE=exp.m .PHONY: $(OUTPUT)/test all: $(SOURCE) prepare clang -framework Foundation -framework DiskArbitration $(SOURCE) -o $(OUTPUT)/test clean: rm -rf $(OUTPUT)/* run: all $(OUTPUT)/test format: clang-format -i $(SOURCE) prepare: mkdir -p $(OUTPUT) install: mkdir -p ../../../../data/ex...
Makefile
4
OsmanDere/metasploit-framework
external/source/exploits/CVE-2019-8513/Makefile
[ "BSD-2-Clause", "BSD-3-Clause" ]
import pass_pipeline as ppipe import passes as p def simplifycfg_silcombine_passlist(): return ppipe.PassList([ p.SimplifyCFG, p.SILCombine, p.SimplifyCFG, ]) def highlevel_loopopt_passlist(): return ppipe.PassList([ p.LowerAggregateInstrs, p.SILCombine, ...
Python
4
lwhsu/swift
utils/pass-pipeline/src/pass_pipeline_library.py
[ "Apache-2.0" ]
Three possible formulations of `μ` μ N —→ N [ μ N ] (μ N) · V —→ N [ μ N , V ] (μ (ƛ N)) · V —→ N [ μ (ƛ N) , V ] The first is odd in that we substitute for `f` a term that is not a value. One advantage of the first is that it also works perfectly well on other types. For instance, case (μ x...
Literate Agda
3
manikdv/plfa.github.io
extra/stlc/MuDiscussion.lagda
[ "CC-BY-4.0" ]
(* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) type position = { line: int; (* 1-based *) column: int; (* 1-based *) } type range = { st: position; ed: position; } ty...
OCaml
5
zhangmaijun/flow
src/hack_forked/utils/file_content/file_content.ml
[ "MIT" ]
/- Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ prelude import init.meta.tactic init.data.option.basic meta constant mk_nat_val_ne_proof : expr → expr → option expr meta constant mk_nat_val_lt_proof : ex...
Lean
5
JLimperg/lean
library/init/meta/comp_value_tactics.lean
[ "Apache-2.0" ]
CLASS ltcl_lxe_texts DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS. PRIVATE SECTION. METHODS: check_langs_versus_installed FOR TESTING RAISING zcx_abapgit_exception, lang_string_to_table FOR TESTING, table_to_lang_string FOR TESTING. ENDCLASS. CLASS zcl_abapgit_lxe_texts DEFINITIO...
ABAP
5
Manny27nyc/abapGit
src/objects/texts/zcl_abapgit_lxe_texts.clas.testclasses.abap
[ "MIT" ]
INSERT INTO users VALUES ('jill', '$2a$04$qUlqAEEYF1YvrpJMosodoewgL6aO.qgHytl2k5L7kdXEWnJsFdxvq', TRUE); INSERT INTO authorities VALUES ('jill', 'USERS');
SQL
3
zeesh49/tutorials
guest/spring-security/src/main/resources/data.sql
[ "MIT" ]
module examples/algorithms/messaging /* * Generic messaging among several nodes * * By default, messages can be lost (i.e. never become visible to the * recipient node) or may be arbitrarily delayed. Also, by default * out-of-order delivery is allowed. */ open util/ordering[Tick] as ord open util/relation as r...
Alloy
5
c-luu/alloy-specs
utilities/messaging/messaging.als
[ "Apache-2.0" ]
const __modti3 = @import("modti3.zig").__modti3; const testing = @import("std").testing; fn test__modti3(a: i128, b: i128, expected: i128) !void { const x = __modti3(a, b); try testing.expect(x == expected); } test "modti3" { try test__modti3(0, 1, 0); try test__modti3(0, -1, 0); try test__modti3(...
Zig
4
lukekras/zig
lib/std/special/compiler_rt/modti3_test.zig
[ "MIT" ]
<html> <head> <meta></meta> </head> <body> <p>descendantOne: Yo</p> <div> <p> descendantThree: DustyOrb </p> </div> </body> </html>
HTML
1
DBatOWL/tutorials
xml/src/main/resources/xml/stax.html
[ "MIT" ]
#!/usr/bin/swipl -q -t main -f % Find three digits X, Y and Z such that % XYZ in base10 is equal to ZYX in base9 is_solution(X, Y, Z) :- between(0,9,X), between(0,9,Y), between(0,9,Z), Base10 is (100*X + 10*Y + Z), Base9 is...
Prolog
5
RalfGuder/LaTeX-examples
documents/Programmierparadigmen/scripts/prolog/01-two-bases.prolog
[ "MIT" ]
@tableflux.h2o_temperature{location, surface_degrees, time > -1y} |> select( {top(surface_degrees, 5) })
FLUX
3
RohanSreerama5/flux
colm/tableflux/query21.flux
[ "MIT" ]
# RUN: llc -run-pass none -o - %s | FileCheck %s # This test ensures that the MIR parser accepts files without the LLVM IR. --- # CHECK: name: foo name: foo ...
Mirah
3
medismailben/llvm-project
llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir
[ "Apache-2.0" ]
Feature: the message can be retrieved Scenario: client makes call to POST /baeldung When the client calls /baeldung Then the client receives status code of 200 And the client receives server version hello Scenario: client makes call to GET /hello Given the client calls /hello When the client rec...
Cucumber
4
zeesh49/tutorials
spring-cucumber/src/test/resources/baelung.feature
[ "MIT" ]
/* GNU linker script for NRF52832 */ _flash_size = 512K; _ram_size = 64K; /* produce a link error if there is not this amount of RAM for these sections */ _stack_size = 8K; _minimum_heap_size = 32K;
Linker Script
3
sebastien-riou/micropython
ports/nrf/boards/nrf52832_512k_64k.ld
[ "MIT" ]
Hello {{ song }}!
Twig
1
tidytrax/cphalcon
tests/_data/fixtures/views/twig/index.twig
[ "BSD-3-Clause" ]
.version 49 0 .source MalwarePlugin.java .class super public Issue216GotoWVulnerability .super org/bukkit/plugin/java/JavaPlugin .method static <clinit> : ()V ; method code size: 28 bytes .limit stack 3 .limit locals 1 ;; Go past the malicious code goto narnia ;; Line label for cave entrance cave: .catch jav...
Jasmin
1
PranavPurwar/procyon
Procyon.CompilerTools/src/test/resources/Issue216GotoWVulnerability.j
[ "Apache-2.0" ]
<!--- This shouldn ignore the missing var int the nested cfscript; ---> <cfcomponent> <cffunction name="testFunction" displayname="" access="public" output="false" returntype="void" hint=""> <!--- @CFLintIgnore SOMETHINGELSE,MISSING_VAR,ANOTHERTHINGTOIGNORE ---> <div> <cfsavecontent> <cfscript> ...
ColdFusion CFC
3
tonym128/CFLint
src/test/resources/com/cflint/tests/Ignores/ignoreCFMLAny3_Nested.cfc
[ "BSD-3-Clause" ]
@prefix : <http://example.org/#> . :a :b "" . :c :d """""" .
Turtle
1
joshrose/audacity
lib-src/lv2/sord/tests/test-20.ttl
[ "CC-BY-3.0" ]
defmodule Dialyzer.ForBitstring do def foo() do for a <- 1..3, into: "", do: <<a>> end end
Elixir
3
doughsay/elixir
lib/elixir/test/elixir/fixtures/dialyzer/for_bitstring.ex
[ "Apache-2.0" ]
<div class="sylius-image-variants"> {% if product.getVariantSelectionMethod() == 'match' %} {% for variant in image.productVariants %} <div data-variant-options="{% for option in variant.optionValues %}{{ option.code }} {% endfor %}"></div> {% endfor %} {% else %} {% for variant in image.productVariants...
Twig
4
titomtd/Sylius
src/Sylius/Bundle/ShopBundle/Resources/views/Product/Show/_imageVariants.html.twig
[ "MIT" ]
/****************************************************************************** * Copyright 2020 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
jzjonah/apollo
modules/canbus/vehicle/neolix_edu/protocol/vcu_drive_report_52.cc
[ "Apache-2.0" ]
_ = require 'underscore' grammar = require '../parser/grammar' exports.writeToBufferWithDelimiter (array, delimiter, buffer, scope) = writer = nil if (scope :: Function) writer := scope else writer (item) := buffer.write (item.generate (scope)) first = true _ (array).each @(item) ...
PogoScript
5
Sotrek/Alexa
Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/codegenUtils.pogo
[ "MIT" ]
<span class="stampFont" style="font-family: 'stampfont'">&#xf000;</span> Σ: &#931; &#0931; &#x3A3; &#x03A3; &#x3a3; [&amp;nbsp;] [&amp;#160;] <div title="A &amp; &#931;"></div> <a title="&#38;#160;"></a>
Handlebars
0
szynkowskij/prettier
tests/format/handlebars/escape/numeric-entities.hbs
[ "MIT" ]
resource "aws_vpc" "vpc" { cidr_block = var.vpc_cidr_block enable_dns_hostnames = true tags = merge(local.default_tags, { Name = "diem-${local.workspace_name}" "kubernetes.io/cluster/diem-${local.workspace_name}" = "shared" }) } resource "aws_s...
HCL
5
PragmaTwice/diem
terraform/validator/aws/network.tf
[ "Apache-2.0" ]
#!/usr/bin/env bash echo "Install SDKMan" sudo apt-get update sudo apt-get install unzip zip -y sudo curl -s get.sdkman.io | bash sudo source "$HOME/.sdkman/bin/sdkman-init.sh" sdk version echo "Install Spring Dependencies" sudo sdk install groovy sudo sdk install java sudo sdk install maven echo "Install Spring Boo...
Shell
3
zeesh49/tutorials
spring-cloud-cli/install.sh
[ "MIT" ]
using Uno; using Uno.UX; namespace Fuse { public class Text: Element { string _content; [Group("Common"), UXContent] public string Content { get { return _content; } set { _content = value; } } bool _isMultiline; public bool IsMul...
Uno
4
mortend/fuse-studio
Source/CodeCompletion/Outracks.CodeCompletion.UXNinja.TestsCommon/TestData/Text.uno
[ "MIT" ]
%{^ #include "w5100.h" %} #include "config.hats" #include "{$TOP}/avr_prelude/kernel_staload.hats" staload "{$TOP}/SATS/arduino.sats" staload "{$TOP}/SATS/spi.sats" staload "{$TOP}/SATS/ethernet_w5100.sats" staload UN = "prelude/SATS/unsafe.sats" macdef DDRB_PTR = $extval(ptr, "(&DDRB)") macdef PORTB_PTR = $extval...
ATS
4
Proclivis/arduino-ats
DATS/ethernet_w5100.dats
[ "MIT" ]
""" 9 """ namespace MultiFileTest print(square(3))
Boo
0
popcatalin81/boo
tests/testcases/compilation/multifile3.boo
[ "BSD-3-Clause" ]
# coding: utf-8 from __future__ import unicode_literals import functools from .common import InfoExtractor from ..utils import ( # HEADRequest, int_or_none, OnDemandPagedList, smuggle_url, ) class StoryFireBaseIE(InfoExtractor): _VALID_URL_BASE = r'https?://(?:www\.)?storyfire\.com/' def _c...
Python
5
jonyg80/youtube-dl
youtube_dl/extractor/storyfire.py
[ "Unlicense" ]
USING: fuel.help.private help.markup help.syntax sequences strings ; IN: fuel.help HELP: article-parents { $values { "article-name" string } { "parents" sequence } } { $description "All the parent articles for the article and ensures that the ancestor always is 'handbook'." } ; HELP: get-article { $values { "name" ...
Factor
4
alex-ilin/factor
extra/fuel/help/help-docs.factor
[ "BSD-2-Clause" ]
/* ******************************************************************************************* * TAILWIND.CSS * DOCUMENTATION: https://tailwindcss.com/ * ******************************************************************************************* */ /* * Available breakpoints * -------------------- * sm: min-widt...
CSS
5
Madhav2310/awesome-cheatsheets
frontend/tailwind.css
[ "MIT" ]
!define ShowMessageAndExit "!insertmacro ShowMessageAndExitMacro" !macro ShowMessageAndExitMacro INPUT_TEXT ${LogText} "${INPUT_TEXT}" ${IfNot} ${Silent} MessageBox MB_ICONSTOP "${INPUT_TEXT}" ${EndIf} Quit !macroend
NSIS
4
JeroenOortwijn/gocd
installers/windows/message-helpers.nsi
[ "Apache-2.0" ]
require dnsmasq.inc SRC_URI[dnsmasq-2.84.md5sum] = "6bf24b5bcf9293db2941fbdb545c1133" SRC_URI[dnsmasq-2.84.sha256sum] = "4caf385376f34fae5c55244a1f870dcf6f90e037bb7c4487210933dc497f9c36" SRC_URI += "\ file://lua.patch \ "
BitBake
2
hooddanielc/meta-openembedded
meta-networking/recipes-support/dnsmasq/dnsmasq_2.84.bb
[ "MIT" ]
_ = require 'underscore' Actions = require('../../src/flux/actions').default Category = require('../../src/flux/models/category').default MailboxPerspective = require '../../src/mailbox-perspective' CategoryStore = require '../../src/flux/stores/category-store' AccountStore = require('../../src/flux/stores/account-st...
CoffeeScript
4
cnheider/nylas-mail
packages/client-app/spec/stores/focused-perspective-store-spec.coffee
[ "MIT" ]
:- initialization(( logtalk_load(flags, [events(allow)]), logtalk_load(validators), logtalk_load(example) )).
Logtalk
2
jfmc/logtalk3
contributions/flags/example_loader.lgt
[ "Apache-2.0" ]
IF(CMAKE_SYSTEM_NAME MATCHES "Linux") message("-- <FindVSX>") EXEC_PROGRAM(LD_SHOW_AUXV=1 ARGS "/bin/true" OUTPUT_VARIABLE bintrue) if(bintrue MATCHES "AT_PLATFORM:[ \\t\\n\\r]*([a-zA-Z0-9_]+)[ \\t\\n\\r]*") if(CMAKE_MATCH_COUNT GREATER 0) string(TOLOWER ${CMAKE_MATCH_1} platform) if(${platform} ...
CMake
3
Hacky-DH/pytorch
cmake/Modules/FindVSX.cmake
[ "Intel" ]
class BaseMapObject { mBase = 0; mLastAnim = 0; mMap = 0; constructor(mapObj, map, name) { log_info("Constructing object: " + name); mBase = mapObj; mBase.mName = name; mMap = map; } function SetAnimation(anim) { if (mLastAnim != anim) {...
Squirrel
3
mouzedrift/alive
data/scripts/base_map_object.nut
[ "MIT" ]
--TEST-- Bug #30096 (gmmktime does not return the correct time) --INI-- error_reporting=2047 --FILE-- <?php echo "no dst --> dst\n"; $ts = -1; gm_date_check(01,00,00,03,27,2005); gm_date_check(02,00,00,03,27,2005); gm_date_check(03,00,00,03,27,2005); gm_date_check(04,00,00,03,27,2005); echo "\ndst --> no dst\n"; $ts =...
PHP
4
thiagooak/php-src
ext/date/tests/bug30096.phpt
[ "PHP-3.01" ]
\begin{code} id : Set → Set id A = A \end{code}
Literate Agda
3
cruhland/agda
test/interaction/Issue2536-2.lagda
[ "MIT" ]
Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>) Prefix(xsd:=<http://www.w3.org/2001/XMLSchema#>) Prefix(skos:=<http://www.w3.org/2004/02/skos/core#>) Prefix(xml:=<http://www.w3.org/XML/1998/namespace>) Prefix(rdfs:=<http://www.w3.org/2000/01/rdf-schema#>) Prefix(owl:=<http://www.w3.org/2002/07/owl#>) Ontol...
Web Ontology Language
5
VishalS711/protege
protege-editor-owl/src/test/resources/ontologies/pizza-functional.owl
[ "BSD-2-Clause" ]
"""Support for MyQ-Enabled lights.""" from pymyq.errors import MyQError from homeassistant.components.light import ColorMode, LightEntity from homeassistant.config_entries import ConfigEntry from homeassistant.const import STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant from homeassistant.exceptions i...
Python
5
liangleslie/core
homeassistant/components/myq/light.py
[ "Apache-2.0" ]
CLASSES = \ Exploit.java .SUFFIXES: .java .class .java.class: javac -source 1.2 -target 1.2 -cp "../../../../data/java" $*.java all: $(CLASSES:.java=.class) install: mv Exploit.class ../../../../data/exploits/jre17u17/Exploit.class mv SystemClass.class ../../../../data/exploits/jre17u17/SystemClass.class mv Uni...
Makefile
2
OsmanDere/metasploit-framework
external/source/exploits/jre17u17/Makefile
[ "BSD-2-Clause", "BSD-3-Clause" ]
""" GenericType[of System.Int32] GenericType[of System.String] """ macro genericTypeDef: yield [| class GenericType[of T]: override def ToString(): return "GenericType[of ${T}]" |] genericTypeDef print GenericType[of int]() print GenericType[of string]()
Boo
4
popcatalin81/boo
tests/testcases/macros/macro-yielding-generic-class.boo
[ "BSD-3-Clause" ]
# LANGUAGE: MATLAB # AUTHOR: Swati Jain # GITHUB: https://github.com/swati345 fprintf ( 1, 'HELLO:\n' );
Matlab
2
prajjyadav/AvengersAssemble
scripts/hello_world.matlab
[ "MIT" ]
;; -*- no-byte-compile: t; -*- ;;; completion/vertico/packages.el (package! vertico :recipe (:host github :repo "minad/vertico" :files ("*.el" "extensions/*.el")) :pin "cd3c400aac2f5435080dc55d13c03c8886241365") (package! orderless :pin "62f71c34baca0b7d0adeab4a1c07d85ffcee80d9") (package! consult :pi...
Emacs Lisp
2
game-loader/own_doom
modules/completion/vertico/packages.el
[ "MIT" ]
skriv("Hello World")
Eiffel
1
Gabrielarodrigues10/ga
e/Enkelt.e
[ "MIT" ]
React = require 'react' ReactDOM = require 'react-dom' Sheet = require './sheet' Flexbox = require('./components/flexbox').default RetinaImg = require('./components/retina-img').default Utils = require './flux/models/utils' {remote} = require 'electron' _str = require 'underscore.string' _ = require 'underscore' {Acti...
CoffeeScript
5
cnheider/nylas-mail
packages/client-app/src/sheet-toolbar.cjsx
[ "MIT" ]
// @jsx: preserve // @filename: index.tsx namespace JSX { export interface Element {} } export type CatInfo = { type: 'Cat'; subType: string; }; export type DogInfo = { type: 'Dog'; }; export type AnimalInfo = CatInfo | DogInfo; function AnimalComponent(info: AnimalInfo): JSX.Element { return undef...
TypeScript
4
nilamjadhav/TypeScript
tests/cases/compiler/tsxUnionSpread.tsx
[ "Apache-2.0" ]
a { width: +0.; }
CSS
0
mengxy/swc
crates/swc_css_parser/tests/errors/number/plus-dot/input.css
[ "Apache-2.0" ]
# Copyright (c) 2018-2021, Carnegie Mellon University # See LICENSE for details Class(SKLR_Vx1i, SIMD_ISA, rec( includes := () -> ["<stdlib.h>"] :: _MM_MALLOC(), active := true, ctype := "char", instr := [], bits := 1, isFloat := false, isFixedPoint ...
GAP
4
sr7cb/spiral-software
namespaces/spiral/platforms/scalar/bitisa/isa.gi
[ "BSD-2-Clause-FreeBSD" ]
extends Node func _on_body_entered(body): if body.name == "Player": $"../WinText".show()
GDScript
3
jonbonazza/godot-demo-projects
2d/kinematic_character/level/princess.gd
[ "MIT" ]
var localVar = 42; it("should not leak localVar to other modules", () => { expect(localVar).toBe(42); expect(require("./module")).toBe("undefined"); });
JavaScript
2
1shenxi/webpack
test/cases/entry-inline/no-var-leak/index.js
[ "MIT" ]
package com.baeldung.spring.dao.generics; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public class FooService implements IFooService { IGenericDao<Foo> dao; @Autowired public void setDao(IGenericDao<Foo> daoToSet) { dao =...
Java
4
DBatOWL/tutorials
persistence-modules/spring-jpa-2/src/main/java/com/baeldung/spring/dao/generics/FooService.java
[ "MIT" ]
import * as React from 'react' class IndexComponent extends React.Component { render () { return <div>Hello world</div> } } export default IndexComponent
Handlebars
3
nicholascapo/gatsby
plop-templates/example/index.js.hbs
[ "MIT" ]
- dashboard: overview title: "[GA4] Overview" layout: newspaper preferred_viewer: dashboards-next elements: - title: Session Count name: Session Count model: ga4 explore: sessions type: single_value fields: [sessions.total_sessions, sessions.total_first_visit_sessions_percentage] limit...
LookML
3
bcmu/ga_four
dashboards/overview.dashboard.lookml
[ "MIT" ]
=head1 NAME examples/shootout/harmonic.pir - Partial sum of Harmonic series =head1 SYNOPSIS % ./parrot examples/shootout/harmonic.pir -j 10000000 =head1 DESCRIPTION Translated from C code by Greg Buchholz into PIR by Peter Baylies <pbaylies@gmail.com>. The C code is at: The Great Computer Language Shootout...
Parrot
4
kragen/shootout
bench/harmonic/harmonic.parrot
[ "BSD-3-Clause" ]
:- ensure_loaded(library(clpbn)). :- ensure_loaded(library('clpbn/hmm')). :- hmm_state((m/3, i/3, d/3, t/2, b/2, n/2, j/2, e/2, s/2, c/2)). /* We represent a plan7 HMMer as a recursive program. There are two parameters: i represents position on a string j slice in the HMMer: probability distributions are diffe...
Prolog
4
ryandesign/yap
packages/CLPBN/examples/HMMer/plan7.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
\title{Community} \subsection{Community} Edward's community is a key asset. We work together to make Edward a rewarding experience both in its usage and development. \subsubsection{General} The most important community resources for Edward are: \begin{itemize} \item The \href{https://discourse.edwardlib.org}{Forum...
TeX
1
xiangze/edward
docs/tex/community.tex
[ "Apache-2.0" ]
-- @shouldFailWith UnknownClass module Main where import Lib test = x [1, 2, 3]
PureScript
2
metaleap/purs-with-dump-coreimp
examples/failing/2379.purs
[ "BSD-3-Clause" ]
print("Hello, world.")
Grace
0
Dmitri-2/GraceWebsite
js-simple/tests/retired/t001_print_test.grace
[ "MIT", "BSD-3-Clause" ]
<!DOCTYPE html> <html lang="en"> <head> <title>{{ page.title }}</title> <meta name="description" content="Quill is a free, open source WYSIWYG editor built for the modern web. With its expressive API, you can completely customize it to fit your needs."> {% include meta.html %} <link rel="stylesheet" href="//net...
HTML
4
ionurboz/quill
docs/_layouts/v0.20.html
[ "BSD-3-Clause" ]
# # Main file for fish command completions. This file contains various # common helper functions for the command completions. All actual # completions are located in the completions subdirectory. # # # Set default field separators # set -g IFS \n\ \t # # Set default search paths for completions and shellscript funct...
fish
5
JavascriptID/sourcerer-app
src/test/resources/samples/langs/fish/config.fish
[ "MIT" ]
extends /templates/play/modal/announcement-modal block config - showSubscribe = true - showNfo = false block title h1(style="font-size: 2em; top:-10px" data-i18n="announcement.now_available") h1(data-i18n="announcement.ritic") block image #ice-chamber(style="border-radius: 8px; border:1px solid black;box-s...
Jade
1
cihatislamdede/codecombat
app/templates/play/modal/announcements/2.jade
[ "CC-BY-4.0", "MIT" ]