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
server { server_name default; root /var/www/default/public; index index.php; client_max_body_size 100M; fastcgi_read_timeout 1800; sendfile off; location / { try_files $uri $uri/ @rewrite; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { expires max; log_not_foun...
ApacheConf
4
messyOne/elvenar_stats
docker/sites/default.vhost
[ "Apache-2.0" ]
insert into b values (10),(11),(12); /* padding to make the data file > 50 bytes */
SQL
1
imtbkcat/tidb-lightning
tests/checkpoint_engines/data/cpeng.b.1.sql
[ "Apache-2.0" ]
/* * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/JsonArray.h> #include <AK/JsonObject.h> #include <AK/String.h> #include <LibCore/ArgsParser.h> #include <LibCore/File.h> #include <LibCore/System.h> #include <LibMain/Main.h> #include <LibPC...
C++
4
r00ster91/serenity
Userland/Utilities/lspci.cpp
[ "BSD-2-Clause" ]
body { font-family: Arial; font-size: 14px; color: #555; padding: 20px; margin: 0; background-color: rgba(174, 238, 238, 1); } nav ul { list-style: none; margin: 0; padding: 0; } nav ul li { margin: 4px 0; } a { text-decoration: none; color: inherit; font-weight: bold; } #grass { positio...
CSS
3
henryqdineen/RxJS
examples/mario/index.css
[ "Apache-2.0" ]
class HelloApp : Application { void Main() { PrintLn("Hello, world!"); } }
eC
3
N-eil/ecere-sdk
installer/coursework/Chapter 1 - Getting Started/Lab1.1/helloWorld.ec
[ "BSD-3-Clause" ]
int main(int argc,array(string) argv) { if (argc<2) exit(1,"USAGE: pike %s package [package...]\nAttempts to reinstall the listed packages from /var/cache/apt/archives\n",argv[0]); array(string) allfiles=get_dir("/var/cache/apt/archives"); array(string) extractme=({ }); foreach (argv[1..],string pkg) { array(str...
Pike
4
stephenangelico/shed
reinstall.pike
[ "MIT" ]
_ = require 'underscore' classNames = require 'classnames' React = require 'react' ReactDOM = require 'react-dom' {Utils} = require 'nylas-exports' DatePicker = require('./date-picker').default TabGroupRegion = require('./tab-group-region') idPropType = React.PropTypes.oneOfType([ React.PropTypes.string React.Prop...
CoffeeScript
5
cnheider/nylas-mail
packages/client-app/src/components/generated-form.cjsx
[ "MIT" ]
/* * Copyright 2014-2019 Jiří Janoušek <janousek.jiri@gmail.com> * * 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 con...
Vala
4
xcffl/nuvolaruntime
src/nuvolakit-runner/master/AppRunner.vala
[ "BSD-2-Clause" ]
/// @Author: 一凨 /// @Date: 2018-12-08 16:08:41 /// @Last Modified by: 一凨 /// @Last Modified time: 2018-12-08 16:22:50 import 'package:flutter/material.dart'; class FadeInImageDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Column( children: <Widget>[ ClipOval...
Dart
4
kborid/flutter-go
lib/widgets/elements/Media/Image/FadeInImage/fade_in_image_demo.dart
[ "BSD-3-Clause" ]
all: help help: @echo "" @echo "-- Help Menu" @echo "" @echo " 1. make build - build all images" @echo " 2. make pull - pull all images" @echo " 3. make clean - remove all images" @echo "" build: @docker build --tag=ros:$release_name-ros-core-$os_code_name ros-...
EmberScript
4
christophebedard/docker_images-1
ros/.config/ros1/Makefile.em
[ "Apache-2.0" ]
20 5 2 0 0 1 21 5 2 20 16 21 15 9 7 6 18 12 10 8 3 14 17 1 4 11 13 19 [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] 1 5 ...
Eagle
2
klorel/or-tools
examples/data/rcpsp/multi_mode_max_delay/mm_j20/psp264.sch
[ "Apache-2.0" ]
-# -# Copyright (C) 2009-2011 the original author or authors. -# See the notice.md file distributed with this work for additional -# information regarding copyright ownership. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You...
Scaml
4
arashi01/scalate-samples
scalate-sample/src/main/webapp/scaml/sampleTag2.scaml
[ "Apache-2.0" ]
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. ...
Scala
4
rghwer/testdocs
scalnet/src/main/scala/org/deeplearning4j/scalnet/layers/core/OutputLayer.scala
[ "Apache-2.0" ]
#+TITLE: completion/ivy #+DATE: February 13, 2017 #+SINCE: v2.0 #+STARTUP: inlineimages * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#hacks][Hacks]] - [[#prerequisites][Prerequisites]] - [[#features][Features]] - [[#ju...
Org
5
leezu/doom-emacs
modules/completion/ivy/README.org
[ "MIT" ]
// Coding Rainbow // Daniel Shiffman // http://patreon.com/codingtrain // Code for: https://youtu.be/JcopTKXt8L8 class Leaf { PVector pos; boolean reached = false; Leaf() { pos = PVector.random3D(); pos.mult(random(width/2)); pos.y -= height/4; } void reached() { reached = true; } voi...
Processing
3
aerinkayne/website
CodingChallenges/CC_018_SpaceColonizer3D/Processing/CC_018_SpaceColonizer3D/Leaf.pde
[ "MIT" ]
class Fail { static function main() {} static function check<T:String>(a:T, b:Float) { a < b; a - b; a / b; b < a; b - a; b / a; } } abstract AStr(String) to String {}
Haxe
3
Alan-love/haxe
tests/misc/projects/Issue8088/Fail.hx
[ "MIT" ]
# Test suite for the matcher module. module test_matcher is test_suite import test_suite import matcher private abstract class MatchCase var expect: Bool var val: String fun matcher: Matcher is abstract end private class ReCase super MatchCase var regex: String var ignore_case: Bool re...
Nit
4
PuerkitoBio/nitfind
test_matcher.nit
[ "BSD-3-Clause" ]
<patch-1.0 appVersion="1.0.12"> <obj type="patch/inlet f" uuid="5c585d2dcd9c05631e345ac09626a22a639d7c13" name="from_gpio" x="56" y="56"> <params/> <attribs/> </obj> <obj type="math/reciprocal" uuid="439f340c2da8a031b6d48ed82626b4fbaaa05774" name="reciprocal_1" x="196" y="56"> <params/> ...
NetLinx
4
michaeldonovan/SynthGuitar
axoloti_patches/fsr.axs
[ "MIT" ]
function describe_assert_error_message function before_each set -g __current_spec_quiet end function after_each set -e __current_spec_quiet end function it_has_no_output_when_the_test_succeeds assert 1 = 1 # Reset test status set -e __current_spec_status assert -z "$__current_spec_...
fish
4
codetriage-readme-bot/oh-my-fish
pkg/fish-spec/spec/assert_error_message_spec.fish
[ "MIT" ]
# # This file contains any command you never want to be executed or help queried for. # Some device console firmware, on some commands ignores the "?" on a help request # "command ?" and instead executes the command. Any command listed here will not be # queried on the firmware and will get the short help and long...
Unified Parallel C
4
StephenGenusa/Crestron-Device-Documenter
donotexec.upc
[ "BSD-2-Clause" ]
\ @todo implement this \ Convert a specially marked up C program into markdown.
Forth
1
andrewtholt/libforth
fth/c2md.fth
[ "MIT" ]
--- malformed interval literal with ansi mode --IMPORT literals.sql
SQL
0
OlegPt/spark
sql/core/src/test/resources/sql-tests/inputs/ansi/literals.sql
[ "Apache-2.0" ]
[[groovy]] = Apache Groovy Groovy is a powerful, optionally typed, and dynamic language, with static-typing and static compilation capabilities. It offers a concise syntax and integrates smoothly with any existing Java application. The Spring Framework provides a dedicated `ApplicationContext` that supports a Groovy-...
AsciiDoc
3
nicchagil/spring-framework
src/docs/asciidoc/languages/groovy.adoc
[ "Apache-2.0" ]
o=:a+(:a>:b)*(:b-:a)o+=(o>:c)*(:c-o)o+=(o>:d)*(:d-o)o=:e/(:e<o) o+=(o>:f)*(:f-o)o+=(o>:g)*(:g-o)o+=(o>:h)*(:h-o)o=:i/(:i<o) :o=o+(o>:j)*(:j-o)goto:done++ /--------//--------//--------//--------//--------//--------//--------/ :a-=(:b<:a)*(:a-:b) :c-=(:d<:c)*(:c-:d) :e-=(:f<:e)*(:e-:f) :g-=(:h<:g)*(:g-:h) :i-=(:j<:i...
LOLCODE
2
Dude112113/Yolol
YololEmulator/Scripts/min10.lol
[ "MIT" ]
# This file is distributed under the same license as the Django package. # # Translators: # Fulup <fulup.jakez@gmail.com>, 2012 # Irriep Nala Novram <allannkorh@yahoo.fr>, 2018 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-10-09 17:42+0200\n" "PO-Revision-Date: 20...
Gettext Catalog
3
jpmallarino/django
django/contrib/redirects/locale/br/LC_MESSAGES/django.po
[ "BSD-3-Clause", "0BSD" ]
# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-ng.eclass # @MAINTAINER: # Ruby herd <ruby@gentoo.org> # @AUTHOR: # Author: Diego E. Pettenò <flameeyes@gentoo.org> # Author: Alex Legler <a3li@gentoo.org> # Author: Hans de Graaff <graaff@gentoo....
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/ruby-ng.eclass
[ "MIT" ]
# Copyright (c) 2013-2016 Sandstorm Development Group, Inc. and contributors # Licensed under the MIT License: # # 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...
Cap'n Proto
4
bbqsrc/capnproto-rust
capnp-rpc/test/test.capnp
[ "MIT" ]
// run-pass fn main() { assert!(f("", 0)); assert!(f("a", 1)); assert!(f("b", 1)); assert!(!f("", 1)); assert!(!f("a", 0)); assert!(!f("b", 0)); assert!(!f("asdf", 32)); //// assert!(!g(true, true, true)); assert!(!g(false, true, true)); assert!(!g(true, false, true)); ...
Rust
3
mbc-git/rust
src/test/ui/match/issue-72680.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
use clippy_utils::diagnostics::span_lint_and_sugg; use clippy_utils::is_trait_method; use clippy_utils::ty::has_iter_method; use if_chain::if_chain; use rustc_errors::Applicability; use rustc_hir as hir; use rustc_lint::LateContext; use rustc_middle::ty::{self, Ty}; use rustc_span::source_map::Span; use rustc_span::sym...
Rust
4
narpfel/rust-clippy
clippy_lints/src/methods/into_iter_on_ref.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
#tag Module Protected Module BinaryStreamExtensionsWFS #tag Method, Flags = &h0 Function ReadCStringWFS(extends bs as BinaryStream, enc as TextEncoding = nil) As String // Read one bytes at a time until we come to a 0-byte. dim ret as String dim bytes as UInt8 do bytes = bs.ReadUInt8 ...
REALbasic
5
bskrtich/WFS
Windows Functionality Suite/File Processing/Modules/BinaryStreamExtensionsWFS.rbbas
[ "MIT" ]
import { observer } from 'mobx-react-lite' import Link from 'next/link' import { useEffect } from 'react' import Clock from './Clock' import { useStore } from './StoreProvider' const Page = observer(function Page(props) { // use store from the store context const store = useStore() //start the clock when the co...
JavaScript
4
blomqma/next.js
examples/with-mobx-react-lite/components/Page.js
[ "MIT" ]
package com.baeldung.manytomany; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.jdbc.datasource.embedded....
Java
4
DBatOWL/tutorials
persistence-modules/spring-jpa-2/src/test/java/com/baeldung/manytomany/ManyToManyTestConfiguration.java
[ "MIT" ]
sub main() r = createObject("RoInvalid") print type(r) print r print r.toStr() result = (r = invalid) print result end sub
Brightscript
2
lkipke/brs
test/e2e/resources/components/roInvalid.brs
[ "MIT" ]
Gramatika 0 $accept: rhyme $end 1 rhyme: sound place 2 sound: DING DONG 3 place: DELL Terminály s pravidly, ve kterých se objevují $end (0) 0 error (256) DING (258) 2 DONG (259) 2 DELL (260) 3 Neterminály s pravidly, ve kterých se objevují $accept (6) vlevo: 0 rhyme (7) vlevo: 1, vprav...
Bison
4
YKG/y
testdata/ok/ding.y.bison
[ "BSD-3-Clause" ]
# This file is distributed under the same license as the Django package. # # Translators: # Jannis Leidel <jannis@leidel.info>, 2011 # Marco Bonetti, 2014 # Mirco Grillo <mirco.grillomg@gmail.com>, 2020 # palmux <palmux@gmail.com>, 2014-2015,2021 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: ...
Gettext Catalog
4
Joshua-Barawa/My-Photos
venv/lib/python3.8/site-packages/django/contrib/redirects/locale/it/LC_MESSAGES/django.po
[ "PostgreSQL", "Unlicense" ]
lexer grammar t003lexer; options { language = JavaScript; } ZERO: '0'; ONE: '1'; FOOZE: 'fooze';
G-code
3
DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials
java/java2py/antlr-3.1.3/runtime/JavaScript/tests/functional/t003lexer.g
[ "Apache-2.0" ]
// Spring Forces (Soft Spring Port) // The Coding Train / Daniel Shiffman // https://thecodingtrain.com/CodingChallenges/160-spring-forces.html // https://youtu.be/Rr-5HiXquhw // Simple Spring: https://editor.p5js.org/codingtrain/sketches/dcd6-2mWa // Spring Vector: https://editor.p5js.org/codingtrain/sketches/_A2pm_S...
Processing
5
vinnyI-afk/website
CodingChallenges/CC_160_spring_forces/soft-spring-port/cc160_soft_spring_port/cc160_soft_spring_port.pde
[ "MIT" ]
#!/usr/bin/env bash # ----------------------------------------------------------------------------- # bat-extras | Copyright (C) 2020 eth-p and contributors | MIT License # # Repository: https://github.com/eth-p/bat-extras # Issues: https://github.com/eth-p/bat-extras/issues # --------------------------------------...
Shell
4
JesseVermeulen123/bat
tests/syntax-tests/source/Bash/batgrep.sh
[ "Apache-2.0", "MIT" ]
<#import "template.ftl" as layout> <@layout.registrationLayout displayMessage=true; section> <#if section = "header"> ${kcSanitize(msg("webauthn-error-title"))?no_esc} <#elseif section = "form"> <script type="text/javascript"> refreshPage = () => { document.getElemen...
FreeMarker
4
rmartinc/keycloak
themes/src/main/resources/theme/base/login/webauthn-error.ftl
[ "Apache-2.0" ]
--- title: "Day 14" date: 2019-04-08 author: kvz image: "https://uppy.io/images/blog/30daystoliftoff/day14.jpg" series: 30 Days to Liftoff seriesSuffix: 'of 30' --- Today marks the fourteenth day in our '30 Days to Liftoff' blog post challenge, working our way towards **launching Uppy 1.0 on April 25**. It's the begin...
Markdown
0
profsmallpine/uppy
website/src/_posts/2019-04-liftoff-14.md
[ "MIT" ]
vespaControllers = angular.module('vespaControllers') vespaControllers.controller 'module_browserCtrl', ($scope, VespaLogger, IDEBackend, $timeout, $modal, PositionManager, $q, SockJSService) -> barHeight = 20 barWidth = 300 duration = 400 root = {} svg = d3.select("svg.m...
Literate CoffeeScript
5
visigoth/V3SPA
src/js/controllers/module_browser.litcoffee
[ "BSD-3-Clause" ]
unit Helper; { Inno Setup Copyright (C) 1997-2010 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Interface to 64-bit helper NOTE: These functions are NOT thread-safe. Do not call them from multiple threads simultaneously. $jrsoftware: is...
Pascal
4
Patriccollu/issrc
Projects/Helper.pas
[ "FSFAP" ]
<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> <PropertyGroup> <ProductVersion>3.5</ProductVersion> <ProjectGuid>{fcf05218-9631-4c24-a6b7-8c78434cad94}</ProjectGuid> <OutputType>Library</OutputTyp...
Oxygene
3
mosh/sugar
Sugar.Tests/Sugar.Cooper.Android.Test.oxygene
[ "BSD-3-Clause" ]
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Mvc\Model\Query; use Phalcon\Messages\MessageInterface; use Phalcon\M...
Zephir
4
tidytrax/cphalcon
phalcon/Mvc/Model/Query/StatusInterface.zep
[ "BSD-3-Clause" ]
concrete LogicEng of Logic = open SyntaxEng, (P = ParadigmsEng), SymbolicEng, Prelude in { lincat Stm = Text ; Prop = {pos,neg : S ; isAtom : Bool} ; Atom = Cl ; Ind = NP ; Dom = CN ; Var = NP ; [Prop] = ListS ; [Var] = NP ; lin SProp p = mkText p.pos ; And ps = complexProp (mkS and_C...
Grammatical Framework
4
TristanKoh/gf-core
gf-book/examples/chapter8/LogicEng.gf
[ "BSD-3-Clause" ]
#tag Class Protected Class AVMetadataObject Inherits NSObject #tag Method, Flags = &h21 Private Shared Function ClassRef() As Ptr static ref as ptr = NSClassFromString("AVMetadataObject") return ref End Function #tag EndMethod #tag ComputedProperty, Flags = &h0 #tag Getter Get #if Target32Bit...
Xojo
3
kingj5/iOSKit
Modules/AVFoundation/AVMetadataObject.xojo_code
[ "MIT" ]
SymbolScope = require '../lib/symbolScope'.SymbolScope require 'chai'.should() describe 'symbolScope' context 'when scope A has sub scope B' a = nil b = nil beforeEach a := @new SymbolScope() b := a.subScope() context 'definition of X in A' beforeEach a.define 'x' i...
PogoScript
4
featurist/pogoscript
test/symbolScopeSpec.pogo
[ "BSD-2-Clause" ]
{ Inno Setup Preprocessor Copyright (C) 2001-2002 Alex Yackimoff Inno Setup Copyright (C) 1997-2020 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. } library ISPP; {$IMAGEBASE $01800000} {$SETPEOSVERSION 6.0} {$SETPESUBSYSVERSION 6.0} {$WE...
Pascal
2
Patriccollu/issrc
Projects/ISPP/ISPP.dpr
[ "FSFAP" ]
import "ecere" import "HTMLView" import "ewd" #define UTF8_IS_FIRST(x) (__extension__({ byte b = x; (!(b) || !((b) & 0x80) || (b) & 0x40); })) #define UTF8_NUM_BYTES(x) (__extension__({ byte b = x; (b & 0x80 && b & 0x40) ? ((b & 0x20) ? ((b & 0x10) ? 4 : 3) : 2) : 1; })) class RichEdit : HTMLView { hasVertScrol...
eC
3
mingodad/ecere-sdk
samples/guiAndGfx/EcereOffice/Writer/RichEdit.ec
[ "BSD-3-Clause" ]
/* * Copyright (c) 2020 Intel Corporation * * 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 ...
NSIS
3
ryoon/haxm
Installer/Strings.nsh
[ "BSD-3-Clause" ]
# # scec2db retrieves/converts a bulletin from the # on-line searchable scec database and updates a # local css3.0 origin database table # # # Jennifer Eakins # IGPP-SIO-UCSD # (858)534-2869 # jeakins@ucsd.edu # # 05/18/2001 # use lib "$ENV{ANTELOPE}/data/perl"; #use diagnostics; use Datascope ; use LWP::Simp...
XProc
4
jreyes1108/antelope_contrib
bin/import/scec2db/scec2db.xpl
[ "BSD-2-Clause", "MIT" ]
Red/System [ Title: "GTK3 css management" Author: "bitbegin" File: %css.reds Tabs: 4 Rights: "Copyright (C) 2020 Red Foundation. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/BSL-License.txt } ] create-provider: func...
Red
5
GalenIvanov/red
modules/view/backends/gtk3/css.reds
[ "BSL-1.0", "BSD-3-Clause" ]
#!/usr/bin/gnuplot --persist # Requires a text file named "epoch-log.txt" in the log directory set term png size 2000, 400 set output "./images/log.png" # Left Y axis gets scaled to the max survivors. # Right Y axis gets scaled to 0..255. # 1:2 Survivors 0..N => 0..N # 1:3 Genome length 0..50 => 0..255 ...
Gnuplot
4
MYGguy/biosim4-main
tools/graphlog.gp
[ "MIT" ]
mutation CreateTeamInvitation($inviteeEmail: String!, $inviteeRole: TeamMemberRole!, $teamID: ID!) { createTeamInvitation(inviteeRole: $inviteeRole, inviteeEmail: $inviteeEmail, teamID: $teamID) { id teamID creatorUid inviteeEmail inviteeRole } }
GraphQL
4
miily8310s/hoppscotch
packages/hoppscotch-app/helpers/backend/gql/mutations/CreateTeamInvitation.graphql
[ "MIT" ]
unique template site/ceph/osdschemas/osd-fetch; prefix '/software/components/ceph/clusters/ceph'; variable FETCHED_OSDS = { t = dict(); rep = 2; foreach(idx; host; CEPH_NODES) { prof = replace('.data$', '.os', host); d = value(format('%s:/software/components/ceph/localdaemons/osds', prof))...
Pan
4
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Pan/osd-fetch.pan
[ "MIT" ]
(kicad_pcb (version 4) (host kicad "dummy file") )
KiCad
1
ondras12345/AlarmClock-hardware
ambient-linear-testing/ambient-linear-testing.kicad_pcb
[ "MIT" ]
@############################################### @# @# PX4 ROS compatible message source code @# generation for C++ @# @# EmPy template for generating <msg>.h files @# Based on the original template for ROS @# @############################################### @# Start of Template @# @# Context: @# - file_name_in (Strin...
EmberScript
5
lgarciaos/Firmware
msg/templates/uorb/msg.h.em
[ "BSD-3-Clause" ]
/******************************************************************* This file provides an example usage of upc_all_scatter collective function as described in Section 7.3.1.2 in the UPC Spec v1.2. ********************************************************************/ #include <upc.h> #include <upc_collective.h> #defi...
Unified Parallel C
4
maurizioabba/rose
tests/CompileTests/UPC_tests/upc_all_scatter_ex_dynamic.upc
[ "BSD-3-Clause" ]
Prefix(:=<http://example.org/>) Ontology(:UnsatParent Import( <http://x.org/unsat.owl> ) )
Web Ontology Language
3
jmcmurry/SciGraph
SciGraph-core/src/test/resources/ontologies/unsat_parent.owl
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <!-- generated with COPASI 4.29 (Build 228) (http://www.copasi.org) at 2021-01-04T13:53:39Z --> <?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?> <COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="29" versionDevel="2...
Component Pascal
5
MedAnisse/COPASI
speed-test-suite/BIOMOD70_efm.cps
[ "Artistic-2.0" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.9) (general (thickness 1.6) (drawings 178) (tracks 0) (zones 0) (modules 1) (nets 1) ) (page A4) (layers (0 F.Cu signal) (31 B.Cu signal) (32 B.Adhes user) (33 F.Adhes user) (34 B.Paste user) (35 F.Paste user) (...
KiCad
4
ankitp4t3l/ferris
0.2/compact/cases/low_profile/metal_plate.kicad_pcb
[ "CC0-1.0" ]
import util.*; function kv_node_list(resp, time_consume){ len_index = 0; count = 0; while(len(resp.data) > len_index){ kv_len = int(resp.data[len_index]); if(kv_len < 6){ printf('bad response!\n'); break; } if(len(resp.data) >= len_index + kv_len){ count += 1; id = resp.data[len_index + 1];...
COBOL
3
cau991/ssdb
tools/ssdb_cli/cluster.cpy
[ "BSD-3-Clause" ]
module TestOverloaded import test local function test = |f, e| { try { let v = f() if not v: startsWith(e) { println("FAILED: should be %s but is %s": format(e, v)) } else { println("OK: " + e) } } catch (e) { println("ERROR: " + e) } } function main = |args| { let t = Overlo...
Golo
3
ajnavarro/language-dataset
data/github.com/yloiseau/golo-tests/3f4166ba15eb85e24796a5de6e2775a822791cdb/BUGS/326-call-resolution/overloaded/simple/overloaded.golo
[ "MIT" ]
{{#if ended}} {{#if at_beginning}} <p>No results were returned for this query</p> {{else}} <p>No more results were returned for this query</p> {{/if}} {{else}} <p>Waiting for more results</p> {{/if}}
Handlebars
3
zadcha/rethinkdb
admin/static/handlebars/dataexplorer_result_empty.hbs
[ "Apache-2.0" ]
# Copyright 2021 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. create { platform_re: "linux-amd64" source { script { name: "fetch.py" # When this is true, artifacts will be directly fetched by calling...
PureBasic
3
zealoussnow/chromium
tools/android/avd/3pp/3pp.pb
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>memory leak test</title> </head> <body> <ol> <li>Create a Menu by clicking <button onclick="createMenu()">this button</button></li> <li>Open Profile tab on devtools and take a heap snapshot,...
HTML
4
frank-dspeed/nw.js
test/manual/memory-leak-reload/index.html
[ "MIT" ]
# fibonacci.fy # Example of fibonacci numbers class Fixnum { def fib { match self { case 0 -> 0 case 1 -> 1 case _ -> self - 1 fib + (self - 2 fib) } } } 15 times: |x| { x fib println }
Fancy
3
bakkdoor/fancy
examples/fibonacci.fy
[ "BSD-3-Clause" ]
def check_build(): return
Cython
0
emarkou/scikit-learn
sklearn/__check_build/_check_build.pyx
[ "BSD-3-Clause" ]
/* jconfig.wat --- jconfig.h for Watcom C/C++ on MS-DOS or OS/2. */ /* see jconfig.txt for explanations */ #define HAVE_PROTOTYPES #define HAVE_UNSIGNED_CHAR #define HAVE_UNSIGNED_SHORT /* #define void char */ /* #define const */ #define CHAR_IS_UNSIGNED #define HAVE_STDDEF_H #define HAVE_STDLIB_H #undef NEED_BSD_STRI...
WebAssembly
2
madanagopaltcomcast/pxCore
examples/pxScene2d/external/jpeg-9a/jconfig.wat
[ "Apache-2.0" ]
try do print x error console.error error try do print y err
Cirru
3
Cirru/cirru-script
examples/try.cirru
[ "Xnet", "X11" ]
# Copyright (c) 2020 vesoft inc. All rights reserved. # # This source code is licensed under Apache 2.0 License. Feature: NULL related operations Scenario: NULL comparison Given any graph When executing query: """ RETURN NULL IS NULL AS value1, NULL == NULL AS value2, NULL != NULL AS value3, NULL...
Cucumber
3
wenhaocs/nebula
tests/tck/features/expression/Null.feature
[ "Apache-2.0" ]
.ProjectName { margin: auto; display: flex; align-items: center; .TextInput { height: calc(1rem - 3px); width: 200px; overflow: hidden; text-align: center; margin-left: 8px; text-overflow: ellipsis; &--readonly { background: none; border: none; &:hover { b...
SCSS
3
dineshondev/excalidraw
src/components/ProjectName.scss
[ "MIT" ]
#const FeatureA = true #const FeatureB = false #if FeatureA 'code for Feature A ' ! alert #else if FeatureB 'code for Feature B ' ? question #else 'production code #end if
Brightscript
3
littensy/better-comments
src/test/samples/brightscript.brs
[ "MIT" ]
const i32 int32 = 39; const map <string, list<i32>> container = {'key': [1, 2, 3]};
Thrift
2
JonnoFTW/thriftpy2
tests/parser-cases/value_ref_shared.thrift
[ "MIT" ]
CLASS lcl_gui DEFINITION FINAL. PUBLIC SECTION. CLASS-METHODS f4_folder RETURNING VALUE(rv_folder) TYPE string RAISING zcx_abapgit_exception. CLASS-METHODS open_folder_frontend IMPORTING iv_folder TYPE string RAISING zcx_abapgit_exception. CLASS-METH...
ABAP
5
Manny27nyc/abapGit
src/cts/zcl_abapgit_transport_mass.clas.locals_imp.abap
[ "MIT" ]
/* See LICENSE file in the root OpenCV directory */ #if TILE_SIZE != 32 #error "TILE SIZE should be 32" #endif __kernel void moments(__global const uchar* src, int src_step, int src_offset, int src_rows, int src_cols, __global int* mom0, int xtiles) { int x0 = get_global_id(0); int y0 = get_group_id(1); ...
OpenCL
4
thisisgopalmandal/opencv
modules/imgproc/src/opencl/moments.cl
[ "BSD-3-Clause" ]
import "std/test" import "std/collections" as col test.run("Simple loop", fn(assert) { let outer = 0 for (i = 0; i < 10; i += 1) { outer = outer + 1 } assert.isEq(outer, 10) }) test.run("Loop with continue", fn(assert) { let outer = 0 for (i = 0; i < 10; i += 1) { if (i % 2 ...
Inform 7
5
lfkeitel/nitrogen
tests/basic/loops.ni
[ "BSD-3-Clause" ]
struct PullRequest { 1: string title }
Thrift
0
JavascriptID/sourcerer-app
src/test/resources/samples/langs/Thrift/linguist.thrift
[ "MIT" ]
import { createHashHistory, createMemoryHistory, createBrowserHistory, History } from '{{{ runtimePath }}}'; let options = {{{ options }}}; if ((<any>window).routerBase) { options.basename = (<any>window).routerBase; } // remove initial history because of ssr let history: History = process.env.__IS_SERVER ? null : ...
Smarty
4
Dolov/umi
packages/preset-built-in/src/plugins/generateFiles/core/history.runtime.tpl
[ "MIT" ]
ClearAll(a,b,c,d,x) T 1 == 1 T !(1 != 1) T !(1 > 1) T !(1 < 1) T 1 >= 1 T 1 <= 1 T 1 == 1.0 T 1 < 2 T 2 > 1 T !( 1 > 2) T !( 2 < 1) T !( 2 == 1) T 2 != 1 T 2 >= 1 T 1 <= 2 T !( 1 >= 2 ) T !( 2 <= 1 ) T 1 < 2 < 3 T 3 > 2 > 1 T !( 3 < 2 < 1) T 1 < 2 < 3 < 4 T 1 < 2.0 < 3 < 4.0 T (1 < 2 < b) == (2 < b) T ((...
Objective-J
4
UnofficialJuliaMirrorSnapshots/Symata.jl-a906b1d5-d016-55c4-aab3-8a20cba0db2a
symata_test/newcomparison_test.sj
[ "MIT" ]
domain: "[m] -> { S2[coordT1, coordP1, 1 + coordT1, coordP1, 2 + coordT1 - coordP1, coordP1, 3 + coordT1 - coordP1, coordP1] : m >= 1 and coordT1 <= -3 + 2m and coordT1 >= 0 and coordP1 <= 1 + coordT1 and coordP1 <= m and coordP1 >= 3 - m + coordT1 and coordP1 >= 1; S4[coordT1, coordP1, 2 + coordT1, 1 + coordP1, 2 + co...
Smalltalk
3
chelini/isl-haystack
test_inputs/codegen/cloog/classen.st
[ "MIT" ]
module ciena-waveserver-typedefs { namespace "urn:ciena:params:xml:ns:yang:ciena-ws:ciena-waveserver-typedefs"; prefix cienawstypes; organization "Ciena Corporation"; contact "Web URL: http://www.ciena.com/ Postal: 7035 Ridge Road Hanover, Maryland 21076 U.S.A. Phon...
YANG
5
meodaiduoi/onos
models/ciena/waveserverai/src/main/yang/ciena-waveserver-typedefs@2018-01-04.yang
[ "Apache-2.0" ]
// A minimal pixel shader that outlines text // The terminal graphics as a texture Texture2D shaderTexture; SamplerState samplerState; // Terminal settings such as the resolution of the texture cbuffer PixelShaderSettings { // The number of seconds since the pixel shader was enabled float Time; // UI...
HLSL
5
hessedoneen/terminal
samples/PixelShaders/Outlines.hlsl
[ "MIT" ]
; system.lsp -- machine/system-dependent definitions ; Macintosh (setf ny:bigendianp t) ;; note that *default-sf-format* is used below by ;; compute-default-sound-file (if (not (boundp '*default-sf-format*)) (setf *default-sf-format* snd-head-AIFF)) ;; note that compute-default-sound-file uses *default-sf-f...
Common Lisp
4
joshrose/audacity
lib-src/libnyquist/nyquist/sys/mac/system.lsp
[ "CC-BY-3.0" ]
default { state_entry() { string test = llBase64ToString("U2VjcmV0Ok9wZW4="); llOwnerSay(test); } }
LSL
4
MandarinkaTasty/OpenSim
bin/assets/ScriptsAssetSet/llBase64ToString.lsl
[ "BSD-3-Clause" ]
<?Lassoscript // Last modified 3/7/10 by ECL, Landmann InterActive /* Tagdocs; {Tagname= OutputImageMed } {Description= Outputs the already-built $vImage_Med } {Author= Eric Landmann } {AuthorEmail= support@iterate.ws } {ModifiedBy= } {ModifiedByEmail= } {Date= 7/6/09 } {Usage= OutputImageMed } {E...
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/OutputImageMed.lasso
[ "MIT" ]
variable "aws_region" { description = "The AWS region to create docdb cluster and ec2 instance in." default = "us-east-2" } variable "vpc_id" { description = "The ID of the default VPC used by docdb cluster and ec2 instance." } variable "ssh_public_key" { description = "A public key line in .ssh/authorize...
HCL
4
saeidakbari/go-cloud
docstore/mongodocstore/awsdocdb/variables.tf
[ "Apache-2.0" ]
(* Module: Test_Cups Provides unit tests and examples for the <Cups> lens. *) module Test_Cups = (* Variable: conf *) let conf = "# Sample configuration file for the CUPS scheduler. LogLevel warn # Deactivate CUPS' internal logrotating, as we provide a better one, especially # LogLevel debug2 gets usable now MaxLo...
Augeas
5
ajnavarro/language-dataset
data/github.com/raphink/puppet-cups/d7eea48de85d2bfc7681aedd1be3a5967072839c/files/lenses/test_cups.aug
[ "MIT" ]
{ "Version" : 0.2, "ModuleName" : "libz", "Options" : { "Debug" : false, "Optimization" : "None", "TargetType" : "StaticLibrary", "TargetFileName" : "z" }, "Configurations" : [ { "Name" : "Debug", "Options" : { "Warnings" : "All", "D...
Ecere Projects
3
N-eil/ecere-sdk
deps/zlib-1.2.8/zlib.epj
[ "BSD-3-Clause" ]
-- -- Table src -- DROP TABLE IF EXISTS src; CREATE TABLE src (key STRING, value STRING) STORED AS TEXTFILE; LOAD DATA LOCAL INPATH "${hiveconf:test.data.dir}/kv1.txt" INTO TABLE src; -- -- Table src1 -- DROP TABLE IF EXISTS src1; CREATE TABLE src1 (key STRING, value STRING) STORED AS TEXTFILE; LOAD DATA LOCAL INP...
SQL
4
OlegPt/spark
sql/hive/src/test/resources/data/scripts/q_test_init.sql
[ "Apache-2.0" ]
[foo].svelte-xyz{color:red}[baz].svelte-xyz{color:blue}
CSS
1
Theo-Steiner/svelte
test/css/samples/attribute-selector-only-name/expected.css
[ "MIT" ]
controller_name_space/nested.rhtml <%= yield %>
RHTML
1
mtomaizy/radiant
vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml
[ "MIT" ]
$TTL 300 @ IN A 1.1.1.1
DNS Zone
3
hosting-de-labs/dnscontrol
pkg/js/parse_tests/024-json-import/foo.com.zone
[ "MIT" ]
terraform { backend "gcs" {} } provider "google" { project = var.project region = var.region } provider "google-beta" { project = var.project region = var.region } data "google_client_config" "provider" {} locals { zone = "${var.region}-${var.zone}" } resource "google_project_service" "services" { ...
HCL
4
PragmaTwice/diem
terraform/validator/gcp/main.tf
[ "Apache-2.0" ]
\section{Extensible proof search} \label{sec:extensible} As we promised in the previous section, we will now explore several variations and extensions to the |auto| tactic described above. \subsection*{Custom search strategies} The simplest change we can make is to abstract over the search strategy used by the |aut...
Literate Agda
4
wenkokke/AutoInAgda
doc/extensible.lagda
[ "MIT" ]
import unpack from require "moonscript.util" parse_spec = (spec) -> flags, words = if type(spec) == "table" unpack(spec), spec else spec, {} assert "no flags for arguments" out = {} for part in flags\gmatch "%w:?" if part\match ":$" out[part\sub 1,1] = { value: true } else out[pa...
MoonScript
3
Shados/moonscript
moonscript/cmd/args.moon
[ "MIT", "Unlicense" ]
<%= cache :no_digest, skip_digest: true, expires_in: 0 do %> No Digest <% end %>
HTML+ERB
1
mdesantis/rails
actionmailer/test/fixtures/caching_mailer/fragment_caching_options.html.erb
[ "MIT" ]
config const numRows: integer = 16; config const numCols: integer = 16; region MatReg = [1..numRows, 1..numCols]; var Mat: [MatReg] float; const numDiags: integer = min(numRows, numCols); for d in 1 to numDiags do region Reduced = [d..numRows, d..numCols]; region TopRow = [d, d..numCols]; region LeftCol = [d....
Zimpl
4
jhh67/chapel
test/studies/lu/bradc/old/lu.scalar.zpl
[ "ECL-2.0", "Apache-2.0" ]
module Main exposing (main) import Html import App exposing (init, update, view) main : Program Never App.Model App.Msg main = Html.program { init = init , update = update , view = view , subscriptions = always Sub.none }
Elm
4
senthilpazhani/ReactJS---MaterialUI-Example-2
examples/with-elm/src/Main.elm
[ "MIT" ]
/* Copyright 2016 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 ag...
C
4
yage99/tensorflow
tensorflow/core/profiler/internal/advisor/expensive_operation_checker.h
[ "Apache-2.0" ]