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
--- "@chakra-ui/styled-system": minor --- ### Add support peer pseudo style props You can now style an element based on the state of its general sibling (marked with `.peer` or `data-peer`) attribute. ```jsx live=false <> <input type="checkbox" data-peer /> <Box bg="white" _peerFocus={{ bg: "green.400" }} /> </>...
Markdown
4
timleg002/chakra-ui
.changeset/chilly-phones-flash.md
[ "MIT" ]
""" Problem 78 Url: https://projecteuler.net/problem=78 Statement: Let p(n) represent the number of different ways in which n coins can be separated into piles. For example, five coins can be separated into piles in exactly seven different ways, so p(5)=7. OOOOO OOOO O OOO OO ...
Python
5
mudaseranwer/Python
project_euler/problem_078/sol1.py
[ "MIT" ]
@media (width >= 500px) and (width <= 1200px) { .rule {color:red;} } @custom-media --only-medium-screen ( width >=500px ) and (width<= 1200px ) ; @media ( --only-medium-screen ){ .rule{color:blue;}}
CSS
3
fuelingtheweb/prettier
tests/stylefmt/media-queries-ranges/media-queries-ranges.css
[ "MIT" ]
// Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. // Note: The solution set must not contain duplicate triplets. // For example, given array S = [-1, 0, 1, 2, -1, -4], // A solution set is: // [ // [-1, 0, ...
Java
4
ChickenMomos/interviews
leetcode/two-pointers/3Sum.java
[ "MIT" ]
Red [ Title: "Red database comparison matrix" Author: "Peter W A Wood" Tabs: 4 Rights: {Copyright (C) 2011-2015 Nenad Rakocevic, Andreas Bolka, Xie Qing Tian, Peter W A Wood. All rights reserved.} License: { Distributed under the Boost Software License, Version 1.0. See http...
Red
4
0xflotus/red
docs/comparison-matrix.red
[ "BSL-1.0", "BSD-3-Clause" ]
= Documentation for Password Pepper Feature The password pepper feature appends a specified secret string to passwords before they are hashed. This way, if the password hashes get compromised, an attacker cannot use them to crack the passwords without also knowing the pepper. In the configuration block set the +passw...
RDoc
4
dmitryzuev/rodauth
doc/password_pepper.rdoc
[ "MIT" ]
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> ASK { BIND(NOW() AS ?n) FILTER(DATATYPE(?n) = xsd:dateTime) }
SPARQL
3
alpano-unibz/ontop
test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/functions/now01.rq
[ "Apache-2.0" ]
import "m3" as x { search: "./" }; import "m3" as $x { search: "./" }; def g: ., x::g, $x[];
JSONiq
1
Abhibob/gojq
cli/testdata/m2/m2.jq
[ "MIT" ]
Prefix: obo: <http://purl.obolibrary.org/obo/> Ontology: <http://purl.obolibrary.org/obo/doid/doid-plus-omim.owl> Import: <http://purl.obolibrary.org/obo/doid/bridge/omim_bridge.owl>
Web Ontology Language
0
cthoyt/HumanDiseaseOntology
src/deprecated/DO_NON_Production_Files/doid-plus-omim.owl
[ "CC0-1.0" ]
init python: from datetime import date class Calendar(): def __init__(self, day=1, month=8, year=2021): self.is_daytime = True self.day = day self.month = month self.year = year self.month_names = ['', _('January'), _('February'),...
Ren'Py
4
googlebleh/LearnToCodeRPG
game/scripts/calendar.rpy
[ "BSD-3-Clause" ]
package com.baeldung.jhipster5.security.dto; /** * Simple DTO representing a login request to a remote service. */ public class LoginRequest { private String username; private String password; public LoginRequest() { } public String getUsername() { return username; } public v...
Java
4
DBatOWL/tutorials
jhipster-5/bookstore-monolith/src/main/java/com/baeldung/jhipster5/security/dto/LoginRequest.java
[ "MIT" ]
module openconfig-network-instance-types-test { prefix "rt"; namespace "urn:openconfig-network-instance-types-test"; import pattern-test { prefix "pt"; } import openconfig-network-instance-types { prefix "oc-ni-types"; } leaf route-distinguisher { type oc-ni-types:route-distinguisher; // type 0: <2-...
YANG
5
wenovus/public
regexp-tests/openconfig-network-instance-types-test.yang
[ "Apache-2.0" ]
Console.WriteLine "Hello, world!"
Boo
1
PushpneetSingh/Hello-world
Boo/HelloWorld.boo
[ "MIT" ]
RwSimpleNestedProjectLoadComponentV2 { #name : 'common/tests/v2/Specifications', #condition : 'v2', #projectNames : [ ], #componentNames : [ ], #packageNames : [ 'Rowan-Tests-SpecificationsV2' ], #comment : 'Organize all specification tests under one component' }
STON
2
GemTalk/Rowan
rowan/components/common/tests/v2/Specifications.ston
[ "MIT" ]
import {something} from "./c1"; something();
JavaScript
0
1shenxi/webpack
test/configCases/errors/self-reexport/cc.js
[ "MIT" ]
\section{Adding reflection} \label{sec:reflection} To complete the definition of our |auto| function, we still need to convert between Agda's built-in |AgTerm| data type and the data type required by our unification and resolution algorithms, |PsTerm|. Similarly, we will need to transform the |Proof| produced by our |...
Literate Agda
5
wenkokke/AutoInAgda
doc/reflection.lagda
[ "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 ma...
Thrift
4
Jimexist/thrift
test/ManyTypedefs.thrift
[ "Apache-2.0" ]
/* * WLED Arduino IDE compatibility file. * * Where has everything gone? * * In April 2020, the project's structure underwent a major change. * Global variables are now found in file "wled.h" * Global function declarations are found in "fcn_declare.h" * * Usermod compatibility: Existing wled06_usermod.ino ...
Arduino
4
mlaurijsse/WLED
wled00/wled00.ino
[ "MIT" ]
'reach 0.1'; const f = (x, o) => { with (o) { void x; } } export const main = Reach.App( {}, [], () => { return f(1, 2); } );
RenderScript
1
chikeabuah/reach-lang
hs/t/n/Err_Block_IllegalJS.rsh
[ "Apache-2.0" ]
module Interface interface Show a => Pretty (0 a : Type) where constructor MkPretty 0 Doc : Type toDoc : String -> Doc pretty : a -> Doc pretty n = toDoc (show n) prettys : List a -> List Doc prettys [] = [] prettys (a :: as) = pretty a :: prettys as
Idris
4
ska80/idris-jvm
tests/ideMode/ideMode005/Interface.idr
[ "BSD-3-Clause" ]
(test (bool 42)) (test (not (vec))) (test (= (and T 42) 42)) (test (= (and F 42) F)) (test (= (or 42 F) 42)) (test (= (or F 0) 0)) (test (= (switch (F 'foo) (T 'bar) (T 'baz)) 'bar))
Grammatical Framework
3
daota2/fffff
v1/test/cond.gf
[ "MIT" ]
package gw.specContrib.classes.enhancements.package_visibility.subpackage uses gw.specContrib.classes.enhancements.package_visibility.EnhancedClass2 enhancement SubpackageEnhancement : EnhancedClass2 { protected function protectedFunction() : String { return "I am declared in a different package than the class...
Gosu
3
dmcreyno/gosu-lang
gosu-test/src/test/gosu/gw/specContrib/classes/enhancements/package_visibility/subpackage/SubpackageEnhancement.gsx
[ "Apache-2.0" ]
(ns server (:require [coast]) (:gen-class)) (defn root [_] (coast/render :text "")) (defn user [request] (coast/render :text (-> request :params :id))) (defn post-user [_] (coast/render :text "")) (def routes [[:get "/" root] [:get "/user/:id" user] [:post "/user" post-user]]) (def app (->...
Clojure
3
mattiapenati/web-frameworks
clojure/coast/src/main/clojure/server.clj
[ "MIT" ]
package com.stackify.guest.springsecurity.config; import org.springframework.context.annotation.Bean; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.an...
Java
4
zeesh49/tutorials
guest/spring-security/src/main/java/com/stackify/guest/springsecurity/config/WebSecurityConfig.java
[ "MIT" ]
%{-- Copyright 2014 SimplifyOps Inc, <http://simplifyops.com> 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 applicab...
Groovy Server Pages
4
kbens/rundeck
rundeckapp/grails-app/views/common/_nodefilterStringHelp.gsp
[ "Apache-2.0" ]
#!/usr/bin/env io Account := Object clone Account balance := 0.0 Account deposit := method(v, self balance := self balance + v) Account show := method(write("Account balance: $", balance, "\n")) "Inital: " print Account show "Depositing $10\n" print Account deposit(10.0) "Final: " print Account show
Io
4
akluth/io
samples/misc/Account.io
[ "BSD-3-Clause" ]
#!/bin/bash set -e set -x virtualenv -p python3 --system-site-packages tmpenv source tmpenv/bin/activate pip3 install -r requirements.txt mkdir /tmp/ieg CUDA_VISIBLE_DEVICES=0 python -m ieg.main --dataset=cifar100_uniform_0.4 \ --network_name=resnet29 --checkpoint_path=/tmp/ieg
Shell
3
deepneuralmachine/google-research
ieg/run.sh
[ "Apache-2.0" ]
'0.1.0' ' Copyright 1992-2014 AUTHORS. See the legal/LICENSE file for license information and legal/AUTHORS for authors. ' [ modules webserver version >= (modules init moduleVersion copyOn: '0.2.0') ifFalse: [error: 'Need at least version 0.2.0 of modules webserver']] value '-- Module body' bootstrap addSlots...
Self
4
russellallen/self-webserver
objects/lobbyBrowserServlet.self
[ "MIT" ]
% Author: Lucio Mauro Duarte %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % WHILE TRUE STATEMENTS % INPUT: % while (true) { <statements> } % % OUTPUT: % while (true) % { % System.err.println ("REP_ENTER:(true)#" + true + "#" + <class name> + "=" + <object ID> +...
TXL
5
levindoneto/LTSExtractor-GUI
ltse-tool/rules/RepetitionRules.txl
[ "Apache-2.0" ]
USING: emojify tools.test ; { "I ❤️ Factor 👍" } [ "I :heart: Factor :+1:" emojify ] unit-test
Factor
4
alex-ilin/factor
extra/emojify/emojify-tests.factor
[ "BSD-2-Clause" ]
#!/bin/tcsh set nl=10 set epsilon=0.05 set n=400 echo nl=$nl echo n=$n echo epsilon=$epsilon #rm stencil9 if -e stencil9 then else chpl --fast stencil9.chpl -o stencil9 endif echo 'Block (B)' ./stencil9 -nl $nl --dist=B --n=$n --epsilon=$epsilon --messages ./stencil9 -nl $nl --dist=B --n=$n --epsilon=$epsilon --ti...
Tcsh
3
jhh67/chapel
test/users/aroonsharma/Stencil/dostencil9bench.tcsh
[ "ECL-2.0", "Apache-2.0" ]
mutation DeleteRequest($requestID: ID!) { deleteRequest(requestID: $requestID) }
GraphQL
3
miily8310s/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/DeleteRequest.graphql
[ "MIT" ]
DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `FIND_CAR_BY_YEAR`(in p_year int) begin SELECT ID, MODEL, YEAR FROM CAR WHERE YEAR = p_year; end$$ DELIMITER ;
SQL
4
zeesh49/tutorials
jpa-storedprocedure/src/main/resources/config/database/FindCarByYearProcedureMySQL.sql
[ "MIT" ]
source "https://rubygems.org" gem "rails", "~> 5.1.4" gem 'rspec-rails', '3.6.0' gem 'rspec', '3.6.0' gem "sqlite3", '~> 1.3.4' gem "mime-types", "~> 2.99" gem 'rails-controller-testing' gemspec :path=>"../"
Logos
3
shanipribadi/phonelib
gemfiles/Gemfile.rails-5.1.x
[ "MIT" ]
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
3
EricRemmerswaal/tensorflow
tensorflow/core/platform/enable_tf2_utils.h
[ "Apache-2.0" ]
tab_mode $usepop/pop/ved/src/vdkeys.p tabify $popautolib/tabify.p tabifyline $popautolib/tabify.p table_action $popliblib/reformat.p tabs $popautolib/tabs.p tabs_to_spaces $usepop/pop/packages/vedmail/auto/ved_send.p tabs_to_spaces $usepop/pop/packages/vedmail/auto/ved_sendmr.p take $usepop/pop/packages/newkit/sim/demo...
Turing
1
GetPoplog/Seed
base/pop/ref/popindex.tu
[ "MIT" ]
# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: multilib.eclass # @MAINTAINER: # amd64@gentoo.org # toolchain@gentoo.org # @BLURB: This eclass is for all functions pertaining to handling multilib configurations. # @DESCRIPTION: # This eclass is for ...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/multilib.eclass
[ "MIT" ]
export function getNumber() { return 40; }
JavaScript
1
1shenxi/webpack
test/watchCases/wasm/caching/2/module.js
[ "MIT" ]
\\ Copyright (c) 2012-2019 Bruno Deferrari. All rights reserved. \\ BSD 3-Clause License: http://opensource.org/licenses/BSD-3-Clause (package shen-cl [progn quote null car cdr t nil numberp stringp consp funcall list eq eql equal let* lisp.defun lisp.lambda lisp....
Shen
5
Shen-Language/shen-cl
src/compiler.shen
[ "BSD-3-Clause" ]
model wb.mod; data wb.dat; option auxfiles rc; write gwb;
AMPL
1
conda-forge-linter/ampl-mp-feedstock
recipe/miniampl/examples/wb.ampl
[ "BSD-3-Clause" ]
/* hide-range{2-3} */ html { height: 100%; width: 100%; padding: 50px; /* hide-next-line */ background: red; }
CSS
3
JQuinnie/gatsby
packages/gatsby-remark-prismjs/src/__tests__/fixtures/hide-line-css.css
[ "MIT" ]
<!DOCTYPE html> <html> <head> <title>My Webpage</title> </head> <body> <ul id="navigation"> {% for item in navigation %} <li><a href="{{ item.href|escape }}">{{ item.caption }}</a></li> {% endfor %} </ul> {% if 1 not in [1, 2, 3] %} {# is...
Twig
3
websharks/ace-builds
demo/kitchen-sink/docs/twig.twig
[ "BSD-3-Clause" ]
/** * Template file for scenarios * it contains a minimal interface */ /// specify the savegame to load map.file = "savegame.sve" /// short description to be shown in finance window /// and in standard implementation of get_about_text scenario.short_description = "Template Scenario" scenario.author = "User" sce...
Squirrel
4
An-dz/simutrans-test
simutrans/script/new_scenario_template.nut
[ "Artistic-1.0" ]
// script-parabolawave.click // A Script element is used to control a RatedSource element's rate // according to a parabolic wave. Watch the result by running // click -p9999 script-parabolawave.click && clicky -p9999 // See also the other script-*wave.click scripts. s :: RatedSource(RATE 1125) -> c :: Counter ...
Click
4
MacWR/Click-changed-for-ParaGraph
conf/script-parabolawave.click
[ "Apache-2.0" ]
-- ============================================================== -- RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL -- Version: 2020.2 -- Copyright (C) 1986-2020 Xilinx, Inc. All Rights Reserved. -- -- =========================================================== library IEEE; use IEEE.st...
VHDL
4
hito0512/Vitis-AI
Whole-App-Acceleration/apps/resnet50/build_flow/DPUCVDX8G_vck190/vck190_platform/hw/source/ip/isppipeline_accel/hdl/vhdl/AWBhistogramkernel.vhd
[ "Apache-2.0" ]
../available_vhosts/venia_publish.vhost
ApacheConf
1
kwin/aem-cif-guides-venia
classic/dispatcher/src/conf.d/enabled_vhosts/venia_publish.vhost
[ "Apache-2.0" ]
name = "CRC32c" uuid = "8bf52ea8-c179-5cab-976a-9e18b702a9bc" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [targets] test = ["Test", "Random"]
TOML
2
greimel/julia
stdlib/CRC32c/Project.toml
[ "Zlib" ]
// Eric Heep // April 3rd, 2017 // poweradsr-feedback-beatings.ck // set number of sines and power envs 5 => int num; MagicSine sin[num]; PowerADSR env[num]; // sound chain for (int i; i < num; i++) { sin[i] => env[i] => dac; sin[i].gain(0.25/num); } fun void loopSin(int idx) { dur env_time; float cu...
ChucK
5
ccdarabundit/chugins
PowerADSR/poweradsr-feedback-beatings.ck
[ "MIT" ]
/* Copyright 2015 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/tools/graph_transforms/sort_by_execution_order_test.cc
[ "Apache-2.0" ]
/* * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once namespace Web::DOM { // https://dom.spec.whatwg.org/#childnode template<typename NodeType> class ChildNode { public: // https://dom.spec.whatwg.org/#dom-childnode-remove void remove_bindin...
C
4
r00ster91/serenity
Userland/Libraries/LibWeb/DOM/ChildNode.h
[ "BSD-2-Clause" ]
# Copyright 2021 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
Python
5
akshit-protonn/models
official/nlp/modeling/networks/xlnet_base_test.py
[ "Apache-2.0" ]
module.exports = require(( __resourceFragment.substr(1) + "/resourceFragment/returnRF#XXXFragment" ).replace(/XXX/g, "resource"));
JavaScript
1
1shenxi/webpack
test/cases/parsing/evaluate/resourceFragment/index.js
[ "MIT" ]
$(header) LIBRARY ieee; USE ieee.std_logic_1164.ALL; LIBRARY work; USE work.types_pkg.ALL; PACKAGE $(particle)_setup IS CONSTANT $(particle)_phi: $(particle)_phi_arr := ( $(phi) OTHERS => X"00000000000000000000000000000000" ); END $(particle)_setup;
VHDL
4
ckamtsikis/cmssw
L1TriggerConfig/L1GtConfigProducers/data/VhdlTemplates/Templates/etm_setup.vhd
[ "Apache-2.0" ]
Gramatika 0 $accept: prog $end 1 prog: %empty 2 $@1: %empty 3 prog: prog $@1 line 4 $@2: %empty 5 line: LLAB ':' $@2 line 6 $@3: %empty 7 line: LNAME ':' $@3 line 8 | ';' 9 | inst ';' 10 | error ';' 11 inst: LNAME '=' expr 12 | LVAR '=' expr 1...
Bison
4
YKG/y
testdata/ok/6a.y.bison
[ "BSD-3-Clause" ]
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
C
4
Aoikiseki/folly
folly/compression/Zlib.h
[ "Apache-2.0" ]
module pkgDIP37.test17629; public import pkgDIP37.test17629.common;
D
1
deadalnix/dmd
test/compilable/extra-files/pkgDIP37/test17629/package.di
[ "BSL-1.0" ]
pub main coginit(0, @entry, 0) dat org 0 entry _plot rdword _var01, arg01 shl _var01, #16 sar _var01, #16 mov outa, _var01 add arg01, #2 rdword _var01, arg01 shl _var01, #16 sar _var01, #16 mov outb, _var01 _plot_ret ret COG_BSS_START fit 496 org COG_BSS_START _var01 res 1 arg01 res 1 fit 496
Parrot Assembly
2
archivest/spin2cpp
Test/Expect/stest261.pasm
[ "MIT" ]
do { actor class C() { public func m() {}; public func n() {}; public func m() {}; // Illegal! }; }; do { type T = {foo : Int; foo: Bool} }; do { type T = {foo : Int; nxnnbkddcv: Bool} }; do { type T = {#foo : Int; #nxnnbkddcv: Bool} }; do { ignore({foo = 5; foo = true}); }; do { ignore({foo = 5; nxnnbkddcv...
Modelica
2
olaszakos/motoko
test/fail/duplicate-field.mo
[ "Apache-2.0" ]
{- simple wrapper around libpq, focused on supporting copy from stdin/ to stdout -} {-# LANGUAGE ForeignFunctionInterface #-} module Database.HsSqlPpp.Utils.PQ where #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/time.h> #include <postgresql/libpq-fe.h> import Foreign ...
C2hs Haskell
4
mvangeest/hssqlppp
src-extra/tosort/examples/util/Database/HsSqlPpp/Utils/PQ.chs
[ "BSD-3-Clause" ]
CC = cc OBJS = adler32.obj, \ compress.obj, \ crc32.obj, \ uncompr.obj, \ deflate.obj, \ trees.obj, \ zutil.obj, \ inflate.obj, \ inftrees.obj, \ inffast.obj libz.olb : $(OBJS) lib/crea $@ $?
Module Management System
3
lemmy04/XEphem
libz/descrip.mms
[ "MIT" ]
// // Description : Array and textureless GLSL 2D simplex noise function. // Author : Ian McEwan, Ashima Arts. // Maintainer : ijm // Lastmod : 20110822 (ijm) // License : Copyright (C) 2011 Ashima Arts. All rights reserved. // Distributed under the MIT License. See LICENSE file. // https://github.com/ashima/webgl-noi...
Component Pascal
5
xx3000/mTec
RayMarching/noise.cps
[ "MIT" ]
: main "\[[1mBold\[[0m \[[2mDim\[[0m \[[31m\[[43mColor\[[0m" var! a a @ 0 ansi_strcut pop pop a @ 1 ansi_strcut pop pop a @ 4 ansi_strcut pop pop a @ 5 ansi_strcut pop pop a @ 9 ansi_strcut pop pop a @ 10 ansi_strcut pop pop ;
MUF
2
revarbat/mufsim
tests/ansi_strcut.muf
[ "BSD-2-Clause" ]
# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit cargo git-r3 CARGO_FETCH_CRATES=yes DESCRIPTION="High-level interactions between wasm modules and JS" HOMEPAGE="https://github.com/rustwasm/wasm-bindgen" LICENSE="|| ( MIT Apache-2.0 )" SLOT="0...
Gentoo Ebuild
3
gentoo/gentoo-rust
dev-util/wasm-bindgen/wasm-bindgen-9999.ebuild
[ "BSD-3-Clause" ]
package com.baeldung.map.propertieshashmap; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Properties; import static org.junit.jupiter.api.Assertions.*; class PropertiesToHashMapConverterU...
Java
5
DBatOWL/tutorials
core-java-modules/core-java-collections-maps-3/src/test/java/com/baeldung/map/propertieshashmap/PropertiesToHashMapConverterUnitTest.java
[ "MIT" ]
exec("swigtest.start", -1); function checkBool(bool_val, expected_bool_val) if typeof(bool_val) <> "boolean" then swigtesterror(); end if bool_val <> expected_bool_val then swigtesterror(); end endfunction checkBool(constbool_get(), %f); checkBool(bool1_get(), %t); checkBool(bool2_get(), %f); checkBool(bo(%t), ...
Scilab
4
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/bools_runme.sci
[ "BSD-3-Clause" ]
#!/usr/bin/osascript # @raycast.title Love Current Track # @raycast.author Bryan Schuetz # @raycast.authorURL https://github.com/bryanschuetz # @raycast.description Let the algorithm know how you feel about the currently playing track. # @raycast.icon images/apple-music-logo.png # @raycast.placeholder Love It <3 # @ra...
AppleScript
3
daviddzhou/script-commands
commands/media/apple-music/apple-music-love-current-track.applescript
[ "MIT" ]
GET / HTTP/1.0\r\n Someheader: 0X0VfvRJPKiUBYDUS0Vbdm9Rv6pQ1giLdvXeG1SbOwwEjzKceTxd5RKlt9KHVdQkZPqnZ3jLsuj67otzLqX0Q1dY1EsBI1InsyGc2Dxdr5o7W5DsBGYV0SDMyta3V9bmBJXJQ6g8R9qPtNrED4eIPvVmFY7aokhFb4TILl5UnL8qI6qqiyniYDaPVMxDlZaoCNkDbukO34fOUJD6ZN541qmjWEq1rvtAYDI77mkzWSx5zOkYd62RFmY7YKrQC5gtIVq8SBLp09Ao53S3895ABRcxjrg99lfbg...
HTTP
0
ThePrez/gunicorn
tests/requests/valid/026.http
[ "MIT" ]
/******************************************************************************** * 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/IdeaCeylonBinaryUnit.ceylon
[ "Apache-2.0" ]
"Hello world!"r[o]
LilyPond
0
Alex150/hello-worlds
examples/l/Ly.ly
[ "Unlicense" ]
query short($foo:ComplexType, $site : Site = MOBILE, $nonNull: Int!) { hello } query long($foo: ComplexType, $site: Float = 124241.12312, $bar: String = "Long string here", $arg: String = "Hello world!",,,,, $nonNull: String!) { hello } query lists($foo: [Int ], $bar: [Int!], $arg: [ Int! ]!) { ...
GraphQL
3
fuelingtheweb/prettier
tests/graphql_variable_definitions/variable_definitions.graphql
[ "MIT" ]
create { source { script { name: "fetch.py" } unpack_archive: true no_archive_prune: true } } upload { universal: true pkg_prefix: "chromium/third_party/updater" }
PureBasic
3
zealoussnow/chromium
third_party/updater/chromium_mac_arm64/3pp/3pp.pb
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
#%RAML 1.0 title: Contiv description: Contiv API Specification version: v1 baseUri: value: https://{serverfqdn}:10000/api/{version} (rediractable): true baseUriParameters: serverfqdn: type: string protocols: [ HTTPS ] mediaType: [ application/json ] resourceTypes: collection: !include auth_proxy/schemas/c...
RAML
4
sap-ariba/netplugin
contivmodel/spec/auth_proxy.raml
[ "Apache-2.0" ]
#include <oxstd.h> #include <oxdraw.h> #include <oxprob.h> #include "FEM.ox" /** FEM Estimation Code for Initial Conditions \author Pierre-Carl Michaud and Yuhui Zheng \date September 2007 \note run estimation with command mpiexec -machinefile mf -n 48 oxl64 est_init.ox \bug Due to an initializa...
Ox
4
ld-archer/E_FEM
FEM_Ox/est_init.ox
[ "MIT" ]
# API name # Data Structures ## User User of the application ### Properties + username: pavan + id: 5 (number) - Id of the user + address + street + city + zip: 1234 (number) - zip description + *variable*: trololo + array (array) - array description - 3 - 4 - 5 + inline array: 1,2,3 (arr...
API Blueprint
1
darkcl/drafter
test/fixtures/api/mson.apib
[ "MIT" ]
@-moz-document url-prefix() { h1 { color: green } }
CSS
3
mengxy/swc
crates/swc_css_parser/tests/fixture/esbuild/misc/ElFW4lY06Cb-VFYtK0WX4A/input.css
[ "Apache-2.0" ]
make P := ? : Prop ; make Q := ? : Prop ; make R := ? : Prop ; make A := ? : Set ; make B := ? : Set ; make easy : :- TT ; propsimplify ; root ; make hard : :- FF ; propsimplify ; root ; make useless : :- (TT => P) ; propsimplify ; root ; make easyish : :- (FF => P) ; propsimplify ; root ; make andy : :- (TT && P...
PigLatin
3
mietek/epigram
test/PropSimp.pig
[ "MIT" ]
/* * lin-power-cntsockcode.c * Copyright 2008 Ramon de Carvalho Valle <ramon@risesecurity.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the L...
C
1
OsmanDere/metasploit-framework
external/source/unixasm/lin-power-cntsockcode.c
[ "BSD-2-Clause", "BSD-3-Clause" ]
#tag Window Begin Window WFSWindow BackColor = 16777215 Backdrop = "" CloseButton = True Composite = False Frame = 0 FullScreen = False HasBackColor = False Height = 3.0e+2 ImplicitInstance= True LiveResize = True ...
REALbasic
4
bskrtich/WFS
WFSWindow.rbfrm
[ "MIT" ]
val list : unit -> transaction page val main : unit -> transaction page
UrWeb
0
apple314159/urweb
tests/urblog.urs
[ "BSD-3-Clause" ]
(* * 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. *) open Vcs_utils type error_status = Vcs_utils.error_status = | Not_installed of { path: string } | Errored of string let git ?...
OCaml
5
zhangmaijun/flow
src/common/vcs/git.ml
[ "MIT" ]
A = load '/tmp/GatewayWebHCatFuncText/pig/passwd.txt' using PigStorage(':'); B = foreach A generate $0 as id; dump B;
PigLatin
3
project-kotinos/knox
gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/script.pig
[ "Apache-2.0" ]
#!/bin/bash # Copyright 2016 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
Shell
4
skyplaying/minikube
test.sh
[ "Apache-2.0" ]
//tab_size=4 // Copyright 2021 nickmqb // SPDX-License-Identifier: Apache-2.0 exit(code int) void #Foreign("exit") OpcodeInfo { :mul = 0xdc :mul16 = 0xdd :mul12s = 0xdf :push = 0xce :pop = 0xcf :push_slow = 0xee :pop_slow = 0xef :in_ = 0xe2 :out = 0xe3 :get_ex = 0xe4 :put_ex = 0xe5 :jump = 0xe8 :call = ...
mupad
4
nickmqb/fpga_craft
kasm/main.mu
[ "Apache-2.0" ]
# frozen_string_literal: true # Image blobs can have variants that are the result of a set of transformations applied to the original. # These variants are used to create thumbnails, fixed-size avatars, or any other derivative image from the # original. # # Variants rely on {ImageProcessing}[https://github.com/janko-m...
Ruby
4
jstncarvalho/rails
activestorage/app/models/active_storage/variant.rb
[ "MIT" ]
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C++
4
computationalartist/tensorflow
tensorflow/compiler/mlir/hlo/lib/utils/broadcast_utils.cc
[ "Apache-2.0" ]
data _null_; put "Hello, World!"; run;
SAS
2
kennethsequeira/Hello-world
Sas/hello.sas
[ "MIT" ]
#!/usr/bin/env bash ## # @license Copyright 2021 The Lighthouse 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 re...
Shell
4
MB175/lighthouse
lighthouse-core/test/chromium-web-tests/setup.sh
[ "Apache-2.0" ]
DESCRIPTION = "A Python Mocking and Patching Library for Testing" HOMEPAGE = "https://pypi.python.org/pypi/mock" SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" inherit pypi setuptools3 RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \ ...
BitBake
1
shipinglinux/meta-openembedded
meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
[ "MIT" ]
/* * Copyright (c) 2021, Leon Albrecht <leon2002.la@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include "Report.h" #include <AK/Concepts.h> #include <AK/SIMD.h> #include <LibX86/Instruction.h> #include <LibX86/Interpreter.h> #include <math.h> #include <string.h> namespace UserspaceEmul...
C
5
r00ster91/serenity
Userland/DevTools/UserspaceEmulator/SoftFPU.h
[ "BSD-2-Clause" ]
// run-rustfix #![warn(clippy::result_map_or_into_option)] fn main() { let opt: Result<u32, &str> = Ok(1); let _ = opt.map_or(None, Some); let rewrap = |s: u32| -> Option<u32> { Some(s) }; // A non-Some `f` arg should not emit the lint let opt: Result<u32, &str> = Ok(1); let _ = opt.map_or(N...
Rust
4
Eric-Arellano/rust
src/tools/clippy/tests/ui/result_map_or_into_option.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
<table> <tr><th colspan="3"><%= @page_title %></th></tr> <% for page in ['/fi', '/fo', '/fum'] -%> <tr><td>open</td><td><%= page %></td><td>&nbsp;</td></tr> <% end -%> <%= render :partial => 'partial', :locals => {:source => 'RHTML'} %> </table>
RHTML
3
RockHong/railscasts-episodes
episode-116/store/vendor/plugins/selenium-on-rails/test_data/rhtml.rhtml
[ "MIT" ]
<GameFile> <PropertyGroup Name="SelectList" Type="Layer" ID="fb5f9ac2-71b8-4d44-bd74-5bdffeabc31b" Version="3.10.0.0" /> <Content ctype="GameProjectContent"> <Content> <Animation Duration="0" Speed="1.0000" /> <ObjectData Name="Layer" Tag="29" ctype="GameLayerObjectData"> <Size X="720.0000" ...
Csound
3
A29586a/Kirikiroid2
cocos/kr2/cocosstudio/ui/SelectList.csd
[ "BSD-3-Clause" ]
\* Copyright (c) 2010-2015, Mark Tarver All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the foll...
Shen
5
otabat/shen-jvm
shen/src/shen-replace/types-replace.shen
[ "MIT" ]
# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s # CHECK: :8:45: incorrect register class for field # CHECK: scratchRSrcReg: '$vgpr0_vgpr1_vgpr2_vgpr3' --- name: wrong_reg_class_scratch_rsrc_reg machineFunctionInfo: scratchRSrcReg: '$vgpr0_vgpr1_vgpr2_vgpr3' body: | bb....
Mirah
4
medismailben/llvm-project
llvm/test/CodeGen/MIR/AMDGPU/mfi-scratch-rsrc-reg-reg-class.mir
[ "Apache-2.0" ]
size: 2048px 512px; dpi: 180; limit-x: 1404278100 1404299700; limit-y: 6000000 10000000; axes { position: bottom left; label-format-y: scientific(); label-format-x: datetime("%H:%M:%S"); label-placement-x: linear-align(1800); } lines { data-x: csv("test/testdata/measurement.csv" time); data-y: csv("test/t...
CLIPS
3
asmuth-archive/travistest
test/examples/charts_basic_demo_timeseries.clp
[ "Apache-2.0" ]
# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ # @ECLASS: golang-single.eclass # @MAINTAINER: # Mauro Toffanin <toffanin.mauro@gmail.com> # @AUTHOR: # Mauro Toffanin <toffanin.mauro@gmail.com> # @BLURB: An eclass for GoLang packages not installed insid...
Gentoo Eclass
5
Siinamon/gentoo-overlay
eclass/golang-single.eclass
[ "MIT" ]
defmodule OnlyFailingTest do use ExUnit.Case test "fails", do: assert(System.get_env("PASS_FAILING_TESTS")) end
Elixir
4
doughsay/elixir
lib/mix/test/fixtures/test_failed/test/only_failing_test_failed.exs
[ "Apache-2.0" ]
# @expect="/nlist[@name="profile"]/long[@name="a"]=0 and /nlist[@name="profile"]/long[@name="value"]=0 and /nlist[@name="profile"]/long[@name="default"]=1" # @format=pan # object template value2; variable SOMETHING = dict("key", "abc"); "/a" = 0; "/value" = value("/a", 1); "/default" = value("/nopath", 1);
Pan
1
aka7/pan
panc/src/test/pan/Functionality/value/value2.pan
[ "Apache-2.0" ]
\documentclass[a4paper,superscriptaddress,11pt,shorttitle=template]{compositionalityarticle} \pdfoutput=1 \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{hyperref} \usepackage{tikz} \usepackage{lipsum} \usepackage{upgreek} \usepackage{stmaryrd} \usepac...
Literate Agda
5
gallais/EGTBS
extended/extended.lagda
[ "BSD-3-Clause" ]
"""Hub.""" from pygti.gti import GTI, Auth class GTIHub: """GTI Hub.""" def __init__(self, host, username, password, session): """Initialize.""" self.host = host self.username = username self.password = password self.gti = GTI(Auth(session, self.username, self.passwo...
Python
4
tbarbette/core
homeassistant/components/hvv_departures/hub.py
[ "Apache-2.0" ]