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
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>WebSocket Test</title> </head> <body> <h2>WebSocket Test</h2> <div id="output"></div> <script type="text/javascript"> var output = document.getElementById('output'); function printl...
HTML
4
r00ster91/serenity
Base/res/html/misc/websocket.html
[ "BSD-2-Clause" ]
freebsd { INCLUDEPATH += /usr/local/include/qt5keychain LIBS += -lqt5keychain } else { unix:!android:!macx:!ios { DEFINES += KEYCHAIN_DBUS } include(qtkeychain/qt5keychain.pri) }
QMake
3
boralv/chatterino2
lib/qtkeychain.pri
[ "MIT" ]
{ metadata: { namespace: "securitypolicyviolation_disposition_names", export: "CORE_EXPORT", }, data: [ "enforce", "report", ], }
JSON5
2
zealoussnow/chromium
third_party/blink/renderer/core/events/securitypolicyviolation_disposition_names.json5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
<?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> <RootNamespace>Sugar.Test</RootNamespace> <ProjectGuid>{9f930a22-be43-4d5a-83f6-4afc91282e23}</P...
Oxygene
2
nchevsky/remobjects-sugar
Sugar.Tests/Sugar.Echoes.Test.oxygene
[ "BSD-3-Clause" ]
var first = 1 var second = 1 var index = 2 while index < 50 { var new = first + second first = second second = new index = index + 1 } println(second)
Harbour
3
dirk/hummingbird
examples/fibonacci.hb
[ "BSD-3-Clause" ]
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. */ function invoke(f) { f("hello"); } function f1() { println("f1"); } function main() { invoke(f1); invoke(foo); }
Slash
3
guillermomolina/simplelanguage
language/tests/error/UndefinedFunction02.sl
[ "UPL-1.0" ]
--- hello: world a: - 123 - 666 --- .class { }
CSS
0
fuelingtheweb/prettier
tests/css_yaml/dirty.css
[ "MIT" ]
##! Add SNI info to the SSL record export { # Adding a vector of SNI names to the standard SSL log redef record SSL::Info += { SNI: string_vec &optional &log; }; } # Hook the ssl_extension_server_name event to receive data any time the Server Name # extension is available. Add the name to the sta...
Bro
4
reservoirlabs/bro-scripts
sni_hook.bro
[ "Apache-2.0" ]
<%@ page contentType="text/html; charset=utf-8" %> <%@ taglib prefix="a" uri="/WEB-INF/app.tld"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="res" uri="http://www.unidal.org/webres"%> <%@ taglib prefix="w" uri="http://www.unidal.org/web/core"%> <%@taglib uri="http://java.sun.com/j...
Java Server Pages
4
woozhijun/cat
cat-home/src/main/webapp/jsp/report/server/screenUpdate.jsp
[ "Apache-2.0" ]
.lib "unit_test.dll" Context( mesg$ ):"_bbContext@4" Expect( condition%,mesg$ ):"_bbExpect@8" ExpectIntEq( a%,b%,mesg$ ):"_bbExpectIntEq@12" ExpectFloatEq( a#,b#,mesg$ ):"_bbExpectFloatEq@12"
BlitzBasic
2
blitz3d-ng/blitz3d-ng
src/modules/bb/unit-test/unit_test.decls
[ "Zlib" ]
implementation-class=org.jetbrains.kotlin.noarg.gradle.KotlinJpaSubplugin
INI
0
qussarah/declare
libraries/tools/kotlin-noarg/src/main/resources/META-INF/gradle-plugins/org.jetbrains.kotlin.plugin.jpa.properties
[ "Apache-2.0" ]
# waitterm # wait TERM/INT signal. # see: http://veithen.github.io/2014/11/16/sigterm-propagation.html waitterm() { local PID # any process to block tail -f /dev/null & PID="$!" # setup trap, could do nothing, or just kill the blocker trap "kill -TERM ${PID}" TERM INT # wait for signal, ignore wait exit code...
Shell
5
yuanweikang2020/canal
docker/image/alidata/lib/proc.sh
[ "Apache-2.0" ]
/* Test! */ component { public void function function1() { someVar = ''; } }
ColdFusion CFC
0
tonym128/CFLint
src/test/resources/com/cflint/tests/Ignores/ignoreMultiLineComponent.cfc
[ "BSD-3-Clause" ]
grammar ResourceMethodKey; @header { package com.linkedin.restli.server.config; } key : ( restResource | '*' ) '.' ( operation | '*' ); restResource : Name ( '-' Name )* ( ':' Name )*; operation : simpleOp | complex; simpleOp : 'GET' | 'BATCH_GET' | 'CREATE' | 'BATCH_CREATE' | ...
ANTLR
3
haroldl/rest.li
restli-server/src/main/antlr/com/linkedin/restli/server/config/ResourceMethodKey.g4
[ "Apache-2.0" ]
.parentContainer .header { font-size: 40px; } .parentContainer input { padding: 10px; font-size: 16px; width: 90%; border: 2px solid #003399; } .parentContainer .todoList { list-style: none; padding-left: 0; margin-top: 50px; width: 93%; } .parentContainer .todoList li { color: #333; background-co...
CSS
3
gh-oss-contributor/graphql-engine-1
community/sample-apps/todo-auth0-jwt/todo-app/src/Todo/Todo.css
[ "Apache-2.0", "MIT" ]
@0xf9468fe902e7fa8e; # unique file ID, generated by `capnp id` using D= import "data.capnp"; struct PackFileEntry { artifact @0 :D.Artifact; assetMetadata @1 :D.AssetMetadata; path @2 :Data; } struct PackFile { entries @0 :List(PackFileEntry); }
Cap'n Proto
3
jlowry/atelier-assets
schema/schemas/pack.capnp
[ "Apache-2.0", "MIT" ]
// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "test/cctest/interpreter/bytecode-expectations-printer.h" #include <iomanip> #include <iostream> #include <vector> #include "include/libplatf...
C++
5
EXHades/v8
test/cctest/interpreter/bytecode-expectations-printer.cc
[ "BSD-3-Clause" ]
# if(ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER_EQUAL 24) <-- would be nicer but requires CMake 3.7 or later if(ANDROID AND ANDROID_NATIVE_API_LEVEL GREATER 23) set(HAVE_ANDROID_NATIVE_CAMERA TRUE) set(libs "-landroid -llog -lcamera2ndk") ocv_add_external_target(android_native_camera "" "${libs}" "HAVE_ANDROID...
CMake
3
xipingyan/opencv
modules/videoio/cmake/detect_android_camera.cmake
[ "Apache-2.0" ]
<a:script xmlns:a="http://www.w3.org/1999/xhtml">alert(1)</a:script>
XSLT
0
Linuxinet/PayloadsAllTheThings
XSS Injection/Files/xss.xslt
[ "MIT" ]
' createlabel.bmx Import MaxGui.Drivers Strict Local window:TGadget window=CreateWindow("My Window",30,20,320,480) CreateLabel("A plain label",10,10,280,52,window) CreateLabel("A label with LABEL_FRAME",10,80,280,60,window,LABEL_FRAME) CreateLabel("A label with LABEL_SUNKENFRAME",10,150,280,60,window,LABEL_SUNKEN...
BlitzMax
3
jabdoa2/blitzmax
mod/maxgui.mod/maxgui.mod/doc/createlabel.bmx
[ "Zlib" ]
;;; ui/tabs/config.el -*- lexical-binding: t; -*- (use-package! centaur-tabs :hook (doom-first-file . centaur-tabs-mode) :init (setq centaur-tabs-set-icons t centaur-tabs-gray-out-icons 'buffer centaur-tabs-set-bar 'left centaur-tabs-set-modified-marker t centaur-tabs-close-button...
Emacs Lisp
4
leezu/doom-emacs
modules/ui/tabs/config.el
[ "MIT" ]
### Asset Object (object) + id: `08279320-dfc9-11e5-a450-0002a5d5c51b`(string) - The asset ID + mime: `image/jpeg` (string) - The asset mime type + type: `image` (string) - The asset type + path: `12342bh3y3bn3i4i5ii5b43o3n.jpg` (string) - The asset path in the storage + links + full: `https://laravelapi.test/api/a...
API Blueprint
2
vikasDevloper/apiPincode
docs/api/blueprint/dataStructures/assets.apib
[ "MIT" ]
package com.baeldung.externalizable; import java.io.Externalizable; import java.io.IOException; import java.io.ObjectInput; import java.io.ObjectOutput; public class Country implements Externalizable { private static final long serialVersionUID = 1L; private String name; private String capital; priv...
Java
4
zeesh49/tutorials
core-java/src/main/java/com/baeldung/externalizable/Country.java
[ "MIT" ]
FROM larskanis/rake-compiler-dock-mri-x86_64-darwin:1.1.0
Dockerfile
1
goodarzysepideh/grpc
third_party/rake-compiler-dock/rake_x86_64-darwin/Dockerfile
[ "Apache-2.0" ]
example.org. IN SOA ns.example.org. hostmaster.example.org. 200154054 28800 7200 604800 3600 example.org. IN NS ns.example.org. www.example.org. IN A 127.0.0.1 ns.example.org. IN A 127.0.0.1
DNS Zone
2
ndptech/unbound
testdata/zonemd.example1.zone
[ "BSD-3-Clause" ]
(module (type $none_=>_none (func)) (type $i32_=>_none (func (param i32))) (type $i32_=>_i32 (func (param i32) (result i32))) (type $i32_i32_i32_=>_none (func (param i32 i32 i32))) (type $i32_i32_=>_i32 (func (param i32 i32) (result i32))) (memory $0 0) (global $~lib/rt/stub/startOffset (mut i32) (i32.const 0)) ...
WebAssembly
3
romdotdog/assemblyscript
tests/allocators/stub/optimized.wat
[ "Apache-2.0" ]
// (c) Copyright 1995-2018 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant ...
Verilog
3
m-asiatici/MSHR-rich
spmv/TopLevel/TopLevel.srcs/sources_1/ip/spmv_mult_axis_0_1/spmv_mult_axis_0.veo
[ "MIT" ]
<header class="<$mt:Var name='header_class'$>"> <div class="inner clearfix"> <mt:SetVarBlock name="site-logo"><mt:Assets tag="@SITE_LOGO" limit="1"><mt:AssetUrl></mt:Assets></mt:SetVarBlock> <h1><a href="<$mt:BlogURL encode_html="1"$>"><mt:If name="site-logo"><mt:Assets type="image" tag="@SITE_LOGO" limit="1"...
MTML
3
kanpapa/mt-theme-rimo
themes/rimo/templates/header.mtml
[ "MIT" ]
// run-pass fn bar(v: &mut [usize]) { v.reverse(); v.reverse(); v.reverse(); } pub fn main() { let mut the_vec = vec![1, 2, 3, 100]; bar(&mut the_vec); assert_eq!(the_vec, [100, 3, 2, 1]); }
Rust
4
Eric-Arellano/rust
src/test/ui/coercion/coerce-reborrow-mut-vec-rcvr.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
{ "@context": { "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" }, "@id": "_:node1", "@type": "_:type", "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" }
JSONLD
2
fsteeg/json-ld-api
tests/toRdf/0108-in.jsonld
[ "W3C" ]
saml.keystore.location=classpath:/saml/samlKeystore.jks # Password for Java keystore and item therein saml.keystore.password=<key_pass> saml.keystore.alias=<key_alias> # SAML Entity ID extracted from top of SAML metadata file saml.idp=<idp_issuer_url> saml.sp=http://localhost:8080/saml/metadata
INI
1
DBatOWL/tutorials
spring-security-modules/spring-security-saml/src/main/resources/application.properties
[ "MIT" ]
#!/usr/bin/osascript # Required parameters: # @raycast.author Faris Aziz # @raycast.authorURL https://github.com/farisaziz12 # @raycast.schemaVersion 1 # @raycast.title Send Message in Channel # @raycast.mode silent # @raycast.packageName Slack # @raycast.description This script posts a message text to a slack channel...
AppleScript
5
daviddzhou/script-commands
commands/communication/slack/slack-send-message.applescript
[ "MIT" ]
--TEST-- Bug ##76452 (Crash while parsing blob data in firebird_fetch_blob) --SKIPIF-- <?php require('skipif.inc'); ?> --FILE-- <?php require_once "payload_server.inc"; $address = run_server(__DIR__ . "/bug_76452.data"); // no need to change the credentials; we're running against a falke server $dsn = "firebird:dbnam...
PHP
3
NathanFreeman/php-src
ext/pdo_firebird/tests/bug_76452.phpt
[ "PHP-3.01" ]
"""Tests for the Aussie Broadband integration."""
Python
0
MrDelik/core
tests/components/aussie_broadband/__init__.py
[ "Apache-2.0" ]
#pragma once #include <torch/data/dataloader.h> #include <torch/data/datasets.h> #include <torch/data/samplers.h> #include <torch/data/transforms.h> // Some "exports". namespace torch { namespace data { using datasets::BatchDataset; using datasets::Dataset; } // namespace data } // namespace torch
C
2
Hacky-DH/pytorch
torch/csrc/api/include/torch/data.h
[ "Intel" ]
<?Lassoscript // Last modified 8/31/09 by ECL, Landmann InterActive /* Tagdocs; {Tagname= OutputSecondContent } {Description= Outputs the already-built $SecondContent } {Author= Eric Landmann } {AuthorEmail= support@iterate.ws } {ModifiedBy= } {ModifiedByEmail= } {Date= 3/18/08 } {Usage= OutputSe...
Lasso
4
subethaedit/SubEthaEd
Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/OutputSecondContent.lasso
[ "MIT" ]
<div class="row"> <div class="col-md-12"> <div class="card card-secondary"> <div class="card-header"> <h3 class="card-title">Welcome to WebTools</h3> </div> <div class="card-body"> This application allows you to use {{ link...
Volt
3
PSD-Company/phalcon-devtools-docker
src/Web/Tools/Views/index/index.volt
[ "BSD-3-Clause" ]
include "testcase.txl" keys 'boolean 'new end keys define java_statements [repeat java_lang_stmt] end define define java_lang_stmt [al_ragel_stmt] | [java_variable_decl] | [java_expr_stmt] | [java_if_stmt] | [EX] '{ [IN] [NL] [java_statements] [EX] '} [IN] [NL] end define define java_variable_decl [java...
TXL
4
garethchen/hhvm-third-party
ragel/src/test/langtrans_java.txl
[ "MIT" ]
<style> .table td { text-align: left; } .table td:first-child { text-align: right; width: 230px; }​ </style> This document is a detailed and (hopefully) complete reference of the public interface of `rpclib`. For a tutorial, take a look at the [Primer](primer.md). Also, you can ...
Mako
4
LeHuman/rpclib
doc/reference.md.mako
[ "MIT" ]
@use 'sass:map'; @use '../core/style/private'; @use '../core/theming/theming'; @mixin color($config-or-theme) { $config: theming.get-color-config($config-or-theme); $foreground: map.get($config, foreground); $background: map.get($config, background); .mat-autocomplete-panel { @include private.private-them...
SCSS
5
RAM-16/gdscaec-Angular
node_modules/@angular/material/autocomplete/_autocomplete-theme.scss
[ "MIT" ]
--TEST-- pcntl_setpriority() - Basic behaviour --CREDITS-- Er Galvão Abbott galvao@galvao.eti.br # TestFest 2017 PHPRS PHP UG 2017-10-31 --EXTENSIONS-- pcntl --SKIPIF-- <?php if (!function_exists('pcntl_setpriority')) { die('skip pcntl_setpriority doesn\'t exist'); } if (@pcntl_setpriority(-5) === false && pcntl_g...
PHP
4
NathanFreeman/php-src
ext/pcntl/tests/pcntl_setpriority_basic.phpt
[ "PHP-3.01" ]
syntax = "proto3"; import "orders/message.proto"; package proto_example.orders; service OrderService { rpc Find(Order) returns (Order); rpc Sync(stream Order) returns (stream Order); rpc SyncCall(stream Order) returns (stream Order); rpc StreamReq(stream Order) returns (Order); rpc StreamReqCall(st...
Protocol Buffer
3
SuperHuangXu/nest
integration/microservices/src/grpc-advanced/proto/orders/service.proto
[ "MIT" ]
<?xml version='1.0' encoding='UTF-8'?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="'library.kid'"> <?python # # Copyright (c) SAS Institute Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance ...
Genshi
4
sassoftware/conary
conary/server/templates/user_admin.kid
[ "Apache-2.0" ]
<script type="module" src="./index.js"></script> <div class="app">vite cli in "type":"module" package works!</div>
HTML
1
laineus/vite
packages/playground/cli-module/index.html
[ "MIT" ]
{ "device_automation": { "trigger_type": { "fingerprint": "otrzymano kod odcisku palca", "send_keys": "otrzymano klucze wysy\u0142ania", "transmitter": "otrzymano kod nadajnika", "transponder": "otrzymano kod transpondera" } } }
JSON
3
MrDelik/core
homeassistant/components/lcn/translations/pl.json
[ "Apache-2.0" ]
signature dpd_rdp_client { ip-proto == tcp # Client request payload /.*(Cookie: mstshash\=|Duca.*(rdpdr|rdpsnd|drdynvc|cliprdr))/ requires-reverse-signature dpd_rdp_server enable "rdp" } signature dpd_rdp_server { ip-proto == tcp payload /(.{5}\xd0|.*McDn)/ } signature dpd_rdpeudp_syn { ip-proto == udp paylo...
Standard ML
4
yaplej/bro
scripts/base/protocols/rdp/dpd.sig
[ "Apache-2.0" ]
Red/System [ Title: "Common Dialogs" Author: "Xie Qingtian, RCqls" File: %comdlgs.reds Tabs: 4 Rights: "Copyright (C) 2016 Xie Qingtian. All rights reserved." License: { Distributed under the Boost Software License, Version 1.0. See https://github.com/red/red/blob/master/BSL-License.txt } ] request-file-d...
Red
4
GalenIvanov/red
modules/view/backends/gtk3/comdlgs.reds
[ "BSL-1.0", "BSD-3-Clause" ]
// Scripts can be used to give programmatic responses to patterns, or process state machines. state Corrections { // pattern "(can) (you) tell me who * is" template redirect(Template("who is {star}")); // pattern "do you know who * is" template redirect(Template("who is {star}")); // pattern "tell me who * is" temp...
Self
3
Endurance-Robotics/ChatBots
botabout/botlibre/scripts/Corrections.self
[ "MIT" ]
<?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:php="http://php.net/xsl" xsl:extension-element-prefixes="php" version='1.0'> <xsl:template match="/"> <xsl:value-of select="php:functionString('foobar', /doc/@id, 'secondArg')"/> <xsl:text> </xsl:text> <xsl:...
XSLT
3
donsbot/hhvm
hphp/test/zend/good/ext/xsl/tests/xslt011.xsl
[ "PHP-3.01", "Zend-2.0" ]
<?xml version='1.0' encoding='utf-8'?> <?python import time ?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> <div py:def="contents()"> <p py:for="e in entries"> ${time.strftime('%a %d %b, %H:%M:%S', e.date)}: <a href="${blogroot}/${`e.year`}/${`e.month`}/${`e.day`}/${`e.subjec...
Genshi
3
decklin/ennepe
examples/simple/style/esummary.kid
[ "0BSD" ]
#pragma TextEncoding="UTF-8" #pragma rtGlobals=3 #pragma ModuleName=LoadNanonis3ds #ifndef SIDAMshowProc #pragma hide = 1 #endif // Main function Function/WAVE LoadNanonis3ds(String pathStr) DFREF dfrSav = GetDataFolderDFR() // Read the header NewDataFolder/O/S $SIDAM_DF_SETTINGS STRUCT Nanonis3ds...
IGOR Pro
4
yuksk/SIDAM
src/SIDAM/fileloader/Load Nanonis 3ds.ipf
[ "MIT" ]
vcl 4.0; import std; backend default { # Define one backend .host = "localhost"; # IP or Hostname of backend .port = "8080"; # Port Apache or whatever is listening } acl ban { # ACL we'll use later to allow purges "localhost"; "127.0.0.1"; "::1"; } sub vcl_recv { # Normalize the query ar...
VCL
5
erlangp/SemartHris
docker/varnish/default.vcl
[ "MIT" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
sbj42/vscode
src/vs/base/test/common/keyCodes.test.ts
[ "MIT" ]
[[albums.songs]] name = "Glory Days"
TOML
1
vanillajonathan/julia
stdlib/TOML/test/testfiles/valid/table-array-implicit.toml
[ "Zlib" ]
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager bool _enteredConfigMode = false; void setup(){ Serial.begin(115200); WiFiManager wifiManager; // wifiManager.setAPCallback([this](WiFiManager* wifiManager) { wifiManager.setAPCallback([&](WiFiManager* wifiManager) { Serial.printf("Entered config ...
Arduino
4
ortlof/OSSM-hardware
PlatformIO ESP32 code/OSSM_ESP32/lib/WiFiManager-master/examples/Unique/cb/AnonymousCB.ino
[ "MIT" ]
size: 200px 60px; dpi: 96; legend { item { label: "Fnord Test"; color: #06c; marker-shape: hexagon; } }
CLIPS
2
asmuth-archive/travistest
test/legend/legend_item_default.clp
[ "Apache-2.0" ]
// // ShareData.h // ShareExtension // // Created by Duncan Cunningham on 2/6/21. // Copyright © 2021 joplinapp.org. All rights reserved. // #import <Foundation/Foundation.h> @interface ShareData : NSObject @property (nonatomic, strong) NSString* title; @property (nonatomic, strong) NSString* text; @property (no...
C
4
asahiocean/joplin
packages/app-mobile/ios/ShareExtension/Source/Common/ShareData.h
[ "MIT" ]
/* * Copyright (c) 2015-2017, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
Ragel in Ruby Host
5
jtravee/neuvector
dp/third-party/hyperscan/tools/hscollider/ColliderCorporaParser.rl
[ "Apache-2.0" ]
package { import flash.utils.ByteArray import flash.system.System public class Exploiter { private const VECTOR_OBJECTS_LENGTH:uint = 1014 private var exploit:Exploit private var ev:ExploitVector private var eba:ExploitByteArray private var payload:ByteArray ...
ActionScript
1
OsmanDere/metasploit-framework
external/source/flash_exploiter/Exploiter.as
[ "BSD-2-Clause", "BSD-3-Clause" ]
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
ECL
4
miguelvazq/HPCC-Platform
ecl/regress/random2.ecl
[ "Apache-2.0" ]
#!/usr/bin/env io bottle := method(i, if(i==0, return "no more bottles of beer") if(i==1, return "1 bottle of beer") return i asString .. " bottles of beer" ) for(i, 99, 1, -1, write(bottle(i), " on the wall, ", bottle(i), ",\n") write("take one down, pass it around,\n") write(bottle(i - 1), " on the wall.\n\n"...
Io
4
akluth/io
samples/misc/BottlesOfBeer.io
[ "BSD-3-Clause" ]
/* * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibSQL/AST/Lexer.h> #include <LibSQL/AST/Parser.h> #include <stdio.h> extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto parser = SQL::AST::Parser(SQL::AST::Lexer({ dat...
C++
3
r00ster91/serenity
Meta/Lagom/Fuzzers/FuzzSQLParser.cpp
[ "BSD-2-Clause" ]
int sayHello1 (string str);
D
1
kira78/meson
test cases/d/7 multilib/say1.di
[ "Apache-2.0" ]
#!/bin/sh cores=$(nproc --all) echo Number of cores: $cores echo Compiling... ./v -cc clang -o cmd/tools/fuzz/map_fuzz cmd/tools/fuzz/map_fuzz.v -prod -cflags "-fsanitize=memory" echo Fuzzing: while true do for ((i=1;i<=cores;++i)) do sleep 0.001 ./cmd/tools/fuzz/map_fuzz & done wait done
Shell
3
gamemaker1/v
cmd/tools/fuzz/fuzz.sh
[ "MIT" ]
RwSimpleProjectLoadComponentV2 { #name : 'Gemstone32x', #condition : 'gs3.2.x', #projectNames : [ ], #componentNames : [ ], #packageNames : [ 'FileSystem-Core-32x' ], #comment : 'FileSystemGs component. For now all packages are expected to be loaded into Globals by SystemUser' }
STON
3
GemTalk/Rowan
platforms/gemstone/projects/FileSystemGs/rowan/componentsV2/Gemstone32x.ston
[ "MIT" ]
if(cell?(:reload_count_x), Ground reload_count_x++, Ground reload_count_x = 0)
Ioke
0
olabini/ioke
test/reload_x.ik
[ "ICU", "MIT" ]
doseq x xs y ys println x y
Cirru
2
Cirru/cirru.org
examples/doseq.cirru
[ "MIT" ]
#!/usr/bin/env io "Hello world!" println // Or writeln("Hello world (again)")
Io
3
akluth/io
samples/misc/HelloWorld.io
[ "BSD-3-Clause" ]
from .validation import check_random_state def _init_arpack_v0(size, random_state): """Initialize the starting vector for iteration in ARPACK functions. Initialize a ndarray with values sampled from the uniform distribution on [-1, 1]. This initialization model has been chosen to be consistent with t...
Python
5
emarkou/scikit-learn
sklearn/utils/_arpack.py
[ "BSD-3-Clause" ]
' canvasbeginpaint.bmx Strict Import MaxGui.Drivers AppTitle = "Canvas Painter Example" Local window:TGadget = CreateWindow(AppTitle,50,50,200,200) ' create a canvas that occupies entire window client area Local canvas:TGadget = CreateCanvas(0,0,ClientWidth(window),ClientHeight(window),window) SetGadgetLayout...
BlitzMax
4
jabdoa2/blitzmax
mod/maxgui.mod/maxgui.mod/doc/canvasbeginpaint.bmx
[ "Zlib" ]
_in 1 zeros 0 0 96 4 clock 8 _in _out "ps.scm" ps 0 8 _out ftsum dup
SourcePawn
1
aleatoricforest/Sporth
ugens/polysporth/examples/10_noteoff.sp
[ "MIT" ]
#content .container h2 Search for: #{{@query}} p== @user.name == render 'slimmer'
Slim
3
nikolalsvk/brakeman
test/apps/rails4_with_engines/engines/user_removal/app/views/users/slimming.html.slim
[ "MIT" ]
[deps] BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf" PkgBenchmark = "32113eaa-f34f-5b0d-bd6c-c81e245fc73d" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3" TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
TOML
1
vanillajonathan/julia
stdlib/TOML/benchmark/Project.toml
[ "Zlib" ]
#define UPSAMPLE_FORMAT unorm float4 #include "upsample_bilateral_float4CS.hlsl"
HLSL
1
rohankumardubey/WickedEngine
WickedEngine/shaders/upsample_bilateral_unorm4CS.hlsl
[ "MIT" ]
<hello>world</hello>
HTML+ERB
0
mdesantis/rails
actionpack/test/fixtures/old_content_type/render_default_content_types_for_respond_to.xml.erb
[ "MIT" ]
<div class="form-select-menu"> <button class="form-select-button" (click)="toggleOptions()"> <strong>{{label}}</strong><span *ngIf="showSymbol" class="symbol {{selected?.value}}"></span>{{selected?.title}} </button> <ul class="form-select-dropdown" *ngIf="showOptions"> <li *ngFor="let option of options; i...
HTML
4
KevLeong/rxjs
docs_app/src/app/shared/select/select.component.html
[ "Apache-2.0" ]
// Copyright (c) 2017 Massachusetts Institute of Technology // // 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, cop...
Bluespec
5
faddat/Flute
src_Core/Near_Mem_VM_WB_L1_L2/src_LLCache/procs/lib/FullAssocTlb.bsv
[ "Apache-2.0" ]
# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit pax-utils versionator DESCRIPTION="Ebuild for static binary build of nodejs" HOMEPAGE="http://nodejs.org" SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}-linux-x64.tar.gz" LICENS...
Gentoo Ebuild
4
tobychin/ey-cloud-recipes
cookbooks/custom_nodejs/files/default/nodejs-bin-generic.ebuild
[ "MIT" ]
/* * * Copyright 2017 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
C++
4
bostikforever/grpc
test/core/transport/stream_owned_slice_test.cc
[ "Apache-2.0" ]
( Generated from test_statement_switch_in.muv by the MUV compiler. ) ( https://github.com/revarbat/muv ) : _complex_match[ _v1 _v2 -- ret ] _v1 @ number? dup if pop _v2 @ number? then if _v1 @ _v2 @ = exit then _v1 @ string? dup if pop _v2 @ int? then if _v1 @ _v2 @ intostr strcmp not exit...
MUF
4
revarbat/muv
tests/test_statement_switch_cmp.muf
[ "BSD-2-Clause" ]
248 SOAR_ID 0 SOAR_ID 1 SOAR_ID 2 SOAR_ID 3 SOAR_ID 4 ENUMERATION 5 1 state ENUMERATION 6 1 nil ENUMERATION 7 1 mnl-soar ENUMERATION 8 1 initialize-rosie SOAR_ID 9 ENUMERATION 10 1 next-word SOAR_ID 11 ENUMERATION 12 1 restart-parse SOAR_ID 13 STRING 14 ENUMERATION 15 1 nil SOAR_ID 17 SOAR_ID 16 ENUMERATION 19 1 yes ST...
DM
1
amininger/rosie
agent/language-comprehension/mNL-Soar.dm
[ "BSD-3-Clause" ]
--- title: Title description: Description # This is a comment --- a { color: red; }
CSS
2
fuelingtheweb/prettier
tests/css_yaml/with_comments.css
[ "MIT" ]
#!/usr/bin/perl -w # # Copyright (c) International Business Machines Corp., 2002 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or (at # your opti...
Perl
5
seanbaxter/bde-1
tools/lcov/contrib/galaxy/genflat.pl
[ "Apache-2.0" ]
/* * 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 ...
Thrift
4
hengfengli/beam
sdks/java/io/thrift/src/test/thrift/payload.thrift
[ "PSF-2.0", "Apache-2.0", "BSD-3-Clause" ]
<%@ Page Language="VB" Debug="true" %> <%@ import Namespace="system.IO" %> <%@ import Namespace="System.Diagnostics" %> <script runat="server"> Sub RunCmd(Src As Object, E As EventArgs) Dim myProcess As New Process() Dim myProcessStartInfo As New ProcessStartInfo(xpath.text) myProcessStartInfo.UseShellExecute =...
ASP
3
tjgeorgen/atomic-red-team
atomics/T1505.003/src/cmd.aspx
[ "MIT" ]
$$ MODE TUSCRIPT LOOP row="" LOOP/CLEAR x=1,10 x=RANDOM_NUMBERS (1,20,1) row=APPEND(row," ",x) IF (x==20) THEN PRINT row EXIT,EXIT ENDIF ENDLOOP PRINT row ENDLOOP
Turing
3
LaudateCorpus1/RosettaCodeData
Task/Loops-Nested/TUSCRIPT/loops-nested.tu
[ "Info-ZIP" ]
{NylasAPI, NylasAPIRequest, Category, AccountStore, DatabaseStore, SyncbackCategoryTask, DatabaseWriter} = require "nylas-exports" xdescribe "SyncbackCategoryTask", -> describe "performRemote", -> pathOf = (fn) -> fn.calls[0].args[0].path accountIdOf = (fn) -> fn.calls[0].args[0].accountId...
CoffeeScript
4
cnheider/nylas-mail
packages/client-app/spec/tasks/syncback-category-task-spec.coffee
[ "MIT" ]
/* * Copyright 2018-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
5
xcffl/nuvolaruntime
src/nuvolakit-runner/cef/CefPluginDownloaderDialog.vala
[ "BSD-2-Clause" ]
DROP TABLE "public"."t3";
SQL
0
gh-oss-contributor/graphql-engine-1
cli/commands/testdata/config-v2-test-project/migrations/1620138161039_create_table_public_t3/down.sql
[ "Apache-2.0", "MIT" ]
extends RigidBody onready var _forward = - transform.basis.z onready var _collision_shape = $CollisionShape onready var _material = $CollisionShape/MeshInstance.get_surface_material(0) var _dir = 1.0 var _distance = 10.0 var _walk_spd = 100.0 var _acceleration = 22.0 var _gravity_impulse = 30.0 var _is_on_floor = fa...
GDScript
4
jonbonazza/godot-demo-projects
3d/physics_tests/utils/rigidbody_ground_check.gd
[ "MIT" ]
(kicad_pcb (version 20171130) (host pcbnew 5.1.4-e60b266~84~ubuntu19.04.1) (general (thickness 1.6) (drawings 97) (tracks 0) (zones 0) (modules 9) (nets 1) ) (page A4) (layers (0 F.Cu signal hide) (31 B.Cu signal) (32 B.Adhes user hide) (33 F.Adhes user hide) (34 B....
KiCad
4
GerardoNevarez/SofleKeyboard
Sofle_v1/Case/PCBBottom/SofleKeyboardBottomPlate.kicad_pcb
[ "MIT-0" ]
.mt-notification { position: fixed; z-index: 10000; overflow: hidden; border-radius: 5px; max-width: 350px; min-width: 280px; transition: all .2s ease; box-shadow: 0px 12px 0px 0px rgba(0, 0, 0, 0.0); backface-visibility: hidden; right: 15px; bottom: 15px; & > .notice-bg { background: #000;...
CSS
3
TankNee/marktext
src/renderer/services/notification/index.css
[ "MIT" ]
#!/usr/bin/env bash set -e BACKUP_PATH="/backup" # Make sure that required directories exist mkdir -p "${BACKUP_PATH}" mkdir -p "/etc/crontabs" chown git:git /backup chmod 2770 /backup # [string] BACKUP_INTERVAL Period expression # [string] BACKUP_RETENTION Period expression if [ -z "${BACKUP_INTERVAL}" ]; then ...
Shell
5
crazbot/gogs
docker/runtime/backup-init.sh
[ "MIT" ]
insert into location (id, country, city) values (1, 'Country X', 'City One'); insert into location (id, country, city) values (2, 'Country X', 'City Two'); insert into location (id, country, city) values (3, 'Country X', 'City Three'); insert into store (id, name, location_id, items_sold, active) values (1, 'Store One...
SQL
3
DBatOWL/tutorials
persistence-modules/spring-data-jpa-repo/src/main/resources/import_entities.sql
[ "MIT" ]
data division. linkage section. 01 require. 01 request. 01 response. procedure division. local mysql. perform require using "mysql" giving mysql. local id. move id in query in request to id. local connection. perform delete-supplier. delete-supplier section. local options. move object to optio...
COBOL
3
jmptrader/CobolScript
samples/website/pages/supplierDelete.cob
[ "MIT" ]
{-# LANGUAGE ForeignFunctionInterface #-} -------------------------------------------------------------------------------- -- -- Module : SMVM -- Copyright : (c) 2009 Trevor L. McDonell -- License : BSD -- -- Sparse-matrix dense-vector multiplication -- -------------------------------------------------------------...
C2hs Haskell
5
flowbox-public/cuda
examples/src/smvm/SMVM.chs
[ "BSD-3-Clause" ]
<!DOCTYPE html> <html xmlns:py="http://genshi.edgewall.org/"> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type" /> <title>OpenGLContext Python Tutorials</title> <link rel="stylesheet" href="../style/modern.css" type="text/css" /> <link rel="stylesheet" href="../style/tutorial.c...
Genshi
4
t20100/pyopengl
directdocs/templates/tutorialindex.kid
[ "BSD-2-Clause", "MIT" ]
FROM node:current RUN npm i -g yarn --force RUN git clone --depth 1 https://github.com/prettier/prettier.git /prettier WORKDIR /prettier COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz RUN mkdir /typescript RUN tar -xzvf /typescript.tgz -C /typescript RUN yarn add typescript@/types...
Dockerfile
4
monciego/TypeScript
tests/cases/docker/prettier/Dockerfile
[ "Apache-2.0" ]
/******************************************************************* This file provides an example usage of upc_all_permute collective function as described in Section 7.3.1.6 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_permute_ex.upc
[ "BSD-3-Clause" ]
(set-info :smt-lib-version 2.6) (set-logic QF_UF) (set-info :source | Generated by: Aman Goel (amangoel@umich.edu), Karem A. Sakallah (karem@umich.edu) Generated on: 2018-04-06 Generated by the tool Averroes 2 (successor of [1]) which implements safety property verification on hardware systems. This SMT problem belon...
SMT
3
livinlife6751/infer
sledge/test/smt/QF_UF/2018-Goel-hwbench/QF_UF_sw_ball2004_1_ab_reg_max.smt2
[ "MIT" ]