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 |
|---|---|---|---|---|---|
.main {
display: flex;
height: calc(100vh - 64px);
background-color: white;
}
.main > section {
padding: 32px;
}
| CSS | 4 | blomqma/next.js | examples/layout-component/components/layout.module.css | [
"MIT"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Investor - Flow of Funds - US"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Introduction:\n",
"\n",
"Special thanks to: https://github.com/rgrp for sharing the dataset.\n",
"\n",
... | Jupyter Notebook | 3 | wheelerjoshua/pandas-practice | 09_Time_Series/Investor_Flow_of_Funds_US/Exercises.ipynb | [
"BSD-3-Clause"
] |
/// <reference path='fourslash.ts' />
// @allowJs: true
// @Filename: /a.js
////function [|f|]() {}
////f.prototype.bar = [|function|](){
//// this.x = 1;
////};
// Only a suggestion for `f`, not for the function expression. See GH#22240
verify.getSuggestionDiagnostics([{
message: "This constructor ... | TypeScript | 5 | nilamjadhav/TypeScript | tests/cases/fourslash/convertFunctionToEs6Class_falsePositive.ts | [
"Apache-2.0"
] |
#define appName "@APP_NAME@™"
#define appHomepage "@APP_HOMEPAGE@"
#define pappId = "@PAPP_ID@"
#define pappGuid = "{@PAPP_GUID@"
#define pappName "@APP_NAME@™ Portable"
#define pappVersion "@PAPP_VERSION@"
#define pappURL "@PAPP_URL@"
#define pappFolder "@PAPP_FOLDER@"
#define pappPublisher "@PAPP_PUBLISHER@"
#define... | Inno Setup | 4 | Site-Command/portapps | res/setup.iss | [
"MIT"
] |
package scala.tools.eclipse.contribution.weaving.jdt.jdi;
import java.io.PrintWriter;
import java.io.StringWriter;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import scala.tools.eclipse.contribution.weaving.jdt.ScalaJDTWeavingPlugin;
public aspect JdiEntryGuardianAspect {
poin... | AspectJ | 4 | elemgee/scala-ide | org.scala-ide.sdt.aspects/src/scala/tools/eclipse/contribution/weaving/jdt/jdi/JdiEntryGuardianAspect.aj | [
"BSD-3-Clause"
] |
# Check that a command with no inputs runs properly on the first invocation,
# even if the output already exists.
#
# RUN: rm -rf %t.build
# RUN: mkdir -p %t.build
# RUN: cp %s %t.build/build.ninja
# RUN: touch %t.build/output
# RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build &> %t1.out
# RUN: %{FileCheck} --chec... | Ninja | 4 | uraimo/swift-llbuild | tests/Ninja/Build/no-inputs.ninja | [
"Apache-2.0"
] |
<%--
Copyright 2012 Netflix, Inc.
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... | Groovy Server Pages | 3 | michaelneale/asgard | grails-app/views/subnet/list.gsp | [
"Apache-2.0"
] |
resource "azuread_application" "diem" {
display_name = "diem-${terraform.workspace}/cluster"
prevent_duplicate_names = true
}
resource "azuread_service_principal" "diem" {
application_id = azuread_application.diem.application_id
}
// Per https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/res... | HCL | 4 | PragmaTwice/diem | terraform/validator/azure/auth.tf | [
"Apache-2.0"
] |
/*
Copyright (c) 2012 Advanced Micro Devices, Inc.
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial... | OpenCL | 5 | N0hbdy/godot | thirdparty/bullet/Bullet3OpenCL/RigidBody/kernels/solverSetup2.cl | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] |
"""
42
"""
import Boo.Lang.Compiler.Ast
macro custom_class(name as ReferenceExpression):
yield [|
class $name:
$(custom_class.Body)
|]
custom_class Foo:
internal property Value as int
f = Foo(Value: 42)
print f.Value
| Boo | 3 | popcatalin81/boo | tests/testcases/macros/custom-class-macro-with-internal-property.boo | [
"BSD-3-Clause"
] |
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ssa
type T struct{}
func (T) foo() {}
type fooer interface {
foo()
}
func Unused(v interface{}) {
v.(fooer).foo()
v.(interface{ foo() }).foo()
}
| Go | 4 | SSSDNSY/go | test/fixedbugs/issue29612.dir/p1/ssa/ssa.go | [
"BSD-3-Clause"
] |
mel mel
bwk bwk me
ken ken him someone else
srb srb
lem lem
scj scj
rhm rhm
shen shen
a68 a68
sif sif
pjw pjw
nls nls
dmr dmr
cda cda
bs bs
llc llc
mb mb
ava ava
jrv jrv
bin bin
greg greg
dict dict
lck lck
rje rje
lwf lwf
dave dave
jhc jhc
agf agf
doug doug
valerie valerie
jca jca
bbs bbs
moh moh
xchar xchar
tbl tbl
... | Yacc | 0 | Crestwave/goawk | testdata/output/t.8.y | [
"MIT"
] |
/*
Copyright 2021 Scott Bezek and the splitflap contributors
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 app... | OpenSCAD | 5 | tomihbk/splitflap | 3d/tools/classic_pcb_mount.scad | [
"Apache-2.0"
] |
<%@ page import="java.util.Calendar" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
<c:set value="JSTL Formatting Tags Example" var="pageTitle"/>
... | Java Server Pages | 4 | zeesh49/tutorials | spring-mvc-forms-jsp/src/main/webapp/WEB-INF/views/formatting_tags.jsp | [
"MIT"
] |
version https://git-lfs.github.com/spec/v1
oid sha256:bfad5d1cae0f4667adc944ff5e2ba08fe7f2c2c92a3da6e1dc83a32afaba34dd
size 74956
| Mathematica | 0 | hjred/stride | sources/data/tests/Cube/cube.ma | [
"MIT"
] |
primitive StartProcessAuth
new create(from: AmbientAuth) =>
None
| Pony | 1 | presidentbeef/ponyc | packages/process/auth.pony | [
"BSD-2-Clause"
] |
/*
* example.com
*
*/
Jul 13 Domain Name: example.com
Expiration: Aug 13
Registrar: https://
Reminder: Expires next month
Aug 6 Domain Name: example.com
Expiration: Aug 13
Registrar: https://
Reminder: Expires in 7 days
Aug 13 Domain Name: example.com
Expiration: Aug 13
Registrar: https://
Reminder: Expire... | DIGITAL Command Language | 0 | sbramin/caesonia | src/home/puffy/.calendar/calendar.example.com | [
"0BSD"
] |
<form class="input-field nav-panel-item nav-panel-add" style="display: none" name="entry" method="post" action="{{ path('new_entry')}}">
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
<button type="submit" class="nav-form-button" aria-label="add"><i cl... | Twig | 3 | blessleroy/wallabag | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig | [
"MIT"
] |
Added ``set_cookie`` and ``del_cookie`` methods to ``HTTPException``
| Cucumber | 2 | loven-doo/aiohttp | CHANGES/4277.feature | [
"Apache-2.0"
] |
#version 310 es
layout (local_size_x = 8, local_size_y = 8) in;
layout (binding = 0) readonly buffer InBuf {
uvec4 data[];
} in_buf;
layout (binding = 1) writeonly buffer OutBuf {
uvec4 data[];
} out_buf;
uniform uint in_img_width;
uniform uint in_x_offset;
uniform uint out_img_width;
uniform uint out_x_of... | Slash | 4 | zongwave/libxcam | shaders/glsl/shader_copy.comp.sl | [
"Apache-2.0"
] |
Module: simple-daytime-client
Author: Toby
Synopsis: Simple daytime client example sockets code
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WIT... | Dylan | 4 | kryptine/opendylan | sources/network/examples/simple-daytime-client/simple-daytime-client.dylan | [
"BSD-2-Clause"
] |
<%inherit file="/base.mako"/>
<%namespace file="/message.mako" import="render_msg" />
%if message:
${render_msg( message, status )}
%endif
<div class="card">
<div class="card-header">Reset Password</div>
<form name="reset_password" id="reset_password" action="${h.url_for( controller='user', action='reset_... | Mako | 4 | rikeshi/galaxy | lib/tool_shed/webapp/templates/webapps/tool_shed/user/reset_password.mako | [
"CC-BY-3.0"
] |
using Uno;
using Uno.UX; | Uno | 0 | mortend/fuse-studio | Source/Simulator/Tests/UXFeaturesTestApp/UXValue/UXValue.uno | [
"MIT"
] |
pub fn not_in_lib_std() {}
| Rust | 0 | Eric-Arellano/rust | src/test/ui/hygiene/auxiliary/not-libstd.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
@import "ui-variables";
.toolbar-activity {
order: 100;
position: relative;
.unread-count {
display: none;
&.active {
display: inline-block;
background: @component-active-color;
text-align: center;
color: @white;
border-radius: @border-radius-base;
font-size: 8px;
... | Less | 4 | cnheider/nylas-mail | packages/client-app/internal_packages/activity-list/stylesheets/activity-list.less | [
"MIT"
] |
#include <c10/core/Scalar.h>
#include <ATen/core/TensorBody.h>
namespace at {
#define DEFINE_CAST(T, name) \
template <> \
TORCH_API T* TensorBase::data_ptr() const { \
TORCH_CHECK( ... | C++ | 3 | Hacky-DH/pytorch | aten/src/ATen/templates/TensorMethods.cpp | [
"Intel"
] |
"""Support for custom shell commands to retrieve values."""
from __future__ import annotations
from datetime import timedelta
import voluptuous as vol
from homeassistant.components.binary_sensor import (
DEVICE_CLASSES_SCHEMA,
PLATFORM_SCHEMA,
BinarySensorEntity,
)
from homeassistant.const import (
C... | Python | 5 | MrDelik/core | homeassistant/components/command_line/binary_sensor.py | [
"Apache-2.0"
] |
// https://dom.spec.whatwg.org/#xmldocument
[Exposed=Window]
interface XMLDocument : Document {};
| WebIDL | 2 | Unique184/jsdom | lib/jsdom/living/nodes/XMLDocument.webidl | [
"MIT"
] |
CON
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
TX_PIN = 0
BAUD = 9_600
VAR
byte i
OBJ
LCD : "SparkFun_Serial_LCD.spin"
PUB Main
LCD.init(TX_PIN, BAUD, 2, 16) '2 line, 16 column display
waitcnt(clkfreq / 100 + cnt) ... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/SparkFun Serial LCD driver/SparkFun_Serial_LCD_3/demo.spin | [
"MIT"
] |
@prog gen-desc-docs
1 99999 d
1 i
Quick Usage Summary of $desc (gen-desc v2.0)
August 2, 1992 by Conrad Wong
How to use:
$desc is a program that you can use to make more complex messages on
descriptions, success, fail, and drop messages. To do so, do this:
@desc object = @$desc (description here)
(or @... | MUF | 5 | seanmcelroy/moo | moo.console/scripts/gen-desc.muf | [
"MIT"
] |
prefix ex: <http://www.example.org/schema#>
prefix in: <http://www.example.org/instance#>
select ?x (datatype(?l) as ?dt) where {
?x ex:p ?y .
optional {?x ex:q ?l}
}
| SPARQL | 3 | alpano-unibz/ontop | test/sparql-compliance/src/test/resources/testcases-dawg-sparql-1.1/project-expression/projexp07.rq | [
"Apache-2.0"
] |
0 reg32_t "dword"
1 ptr(struct(0:num32_t,4:ptr(TOP),8:ptr(TOP))) "_SCOPETABLE_ENTRY*"
2 uint32_t "UINT"
3 code_t "proc*"
4 ptr(TOP) "LPVOID"
5 union(code_t,ptr(num32_t)) "Union_0"
4 ptr(TOP) "void*"
2 uint32_t "size_t"
6 ptr(array(reg8_t,19)) "unknown_152*"
7 ptr(array(reg8_t,24)) "unknown_192*"
8 ptr(reg64_t) "qword*"... | BlitzBasic | 1 | matt-noonan/retypd-data | data/zlib1.dll.decls | [
"MIT"
] |
# for more details see: http://emberjs.com/guides/views/
class <%= application_name.camelize %>.<%= class_name.camelize %>View extends Ember.View
templateName: '<%= handlebars_template_path %>'
| EmberScript | 4 | JakeKaad/ember-rails | lib/generators/templates/view.em | [
"MIT"
] |
(*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*)
(* Author: Gerwin Klein, 2012
Maintainers: Gerwin Klein <kleing at cse.unsw.edu.a... | Isabelle | 5 | pirapira/eth-isabelle | sep_algebra/Sep_Eq.thy | [
"Apache-2.0"
] |
<patch-1.0 appVersion="1.0.12">
<obj type="const/i" uuid="e202f44b2df17ae0b3e663b98ea6b14c8ff00408" name="i_1" x="280" y="70">
<params/>
<attribs>
<spinner attributeName="value" value="1"/>
</attribs>
</obj>
<obj type="drj/math/> const i" uuid="a498caeb4da17a59588d64bcf9d5e9b4a652... | NetLinx | 3 | pfawcett23/ssb_axoloti | ssb_library/ctrl/axoCtlLedSelector.axs | [
"MIT"
] |
\data\
ngram 1=4
ngram 2=2
ngram 3=2
\1-grams:
-5.234679 a -3.3
-3.456783 b
0.0000000 <s> -2.5
-4.333333 </s>
\2-grams:
-1.45678 a b -3.23
-1.30490 <s> a -4.2
\3-grams:
-0.34958 <s> a b
-0.23940 a b </s>
\end\
| DNS Zone | 2 | shuipi100/kaldi | src/lm/test_data/input.arpa | [
"Apache-2.0"
] |
use @pony_exitcode[None](code: I32)
actor Main
new create(env: Env) =>
try
if false then error end
return
then
@pony_exitcode(42)
end
@pony_exitcode(0)
| Pony | 3 | rtpax/ponyc | test/libponyc-run/try-then-clause-return/main.pony | [
"BSD-2-Clause"
] |
@mixin visually-hidden
position: absolute !important
height: 1px
width: 1px
overflow: hidden
clip: rect(1px, 1px, 1px, 1px)
white-space: nowrap
display: initial
| Sass | 3 | ahmadiqbal1/vuetify | packages/vuetify/src/styles/tools/_display.sass | [
"MIT"
] |
//Pre-comment def x
def x = 10
//Post-comment def x
var y := 47
//Post-comment var y
var z := 42
//Post-comment var z
def w = 10
//Post-comment def w
var q
//Pre-comment one type Person after blank
//Pre-comment two type Person
type Person = {
//Post-comment type Person
//pre-comment for methodtype name
nam... | Grace | 3 | Dmitri-2/GraceWebsite | js-simple/tests/known-failing/astComments_input.grace | [
"MIT",
"BSD-3-Clause"
] |
/*
Copyright © 2011, 2012, 2013 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, ... | Opa | 5 | Machiaweliczny/oppailang | lib/stdlib/web/mail/email.opa | [
"MIT"
] |
// HTML Elements
header {
img .logo src='/images/~[currentLogo].png' alt=logo;
h4 > 'Bar View'
if (currentUser) {
.account >
a href='/acount' >
'Hello, ~[currentUser.username]'
}
}
.view {
ul {
// Iteration
for ((u... | Mask | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Mask/view.mask | [
"MIT"
] |
USING: locals random math.ranges math.functions ;
:: monte-carlo ( n in-shape?: ( x y -- ? ) -- % )
n <iota> [ drop random-unit random-unit in-shape? call ] count n /
; inline
! Use the monte-carlo approximation to calculate pi
: monte-carlo-pi ( n -- pi-approx )
[ ! in-circle check
[ 2 ^ ] bi@ + ! get the di... | Factor | 4 | atocil/algorithm-archive | contents/monte_carlo_integration/code/factor/monte_carlo.factor | [
"MIT"
] |
%%% Programming Systems Lab, DFKI Saarbruecken,
%%% Stuhlsatzenhausweg 3, D-66123 Saarbruecken, Phone (+49) 681 302-5312
%%% Author: Joerg Wuertz
%%% Email: wuertz@dfki.uni-sb.de
%%% Last modified: $Date$ by $Author$
%%% Version: $Revision$
proc {NoTE Start Dur ET}
skip
end
| Oz | 0 | Ahzed11/mozart2 | platform-test/scheduling/enum.oz | [
"BSD-2-Clause"
] |
#!MC 1410
$!XYLineAxis ViewportPosition{X1 = 9.5}
$!XYLineAxis YDetail 1 {Title{Offset = 9}}
| MAXScript | 1 | smichel18/EnKF_seir | runs/France/tt.mcr | [
"MIT"
] |
@Grab(group='org.hidetake', module='groovy-ssh', version='1.1.8')
@GrabExclude('org.codehaus.groovy:groovy-all')
import org.hidetake.groovy.ssh.Ssh
final def ssh = Ssh.newService()
final def HOST = '10.10.42.42'
final def USER = 'my_username'
final def PASSWORD = '1234'
final def DELAY = 24
ssh.remotes {
webServ... | Groovy | 3 | johndemlon/hacker-scripts | groovy/fucking_coffee.groovy | [
"WTFPL"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = '';
checkConfig(config);
@endpoint = getEndpoint('ocr-api', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
function getEn... | Tea | 5 | aliyun/alibabacloud-sdk | ocr-api-20210707/main.tea | [
"Apache-2.0"
] |
main {
background-color: black;
}
div#all, div#specific, div#conversationDiv {
border: 1px solid white;
border-radius: 25px;
padding: 15px;
margin: 15px
}
button[disabled=true] {
color: lightgray;
border: 1px solid lightgray;
}
button[disabled=true]:hover {
opacity: 1;
} | CSS | 3 | DBatOWL/tutorials | spring-security-modules/spring-security-web-sockets/src/main/webapp/resources/styles/socket.css | [
"MIT"
] |
#!/usr/bin/env fish
echo "Hello World"
| fish | 1 | Gabrielarodrigues10/ga | f/Fish.fish | [
"MIT"
] |
@charset "utf-8"
$rtl: true
@import "bulma"
| Sass | 1 | kalpitzeta/bulma | bulma-rtl.sass | [
"MIT"
] |
SndBuf obama => PitchTrack pt => blackhole;
512 => pt.frame;
4 => pt.overlap;
obama => Delay del => PitShift autotune => Envelope fade => dac;
1::second => fade.duration;
0 => fade.value;
1 => fade.target;
// uncomment these to produce a wav file of the output
dac => WvOut2 record => blackhole;
"obama_autotuned" => r... | ChucK | 4 | ccdarabundit/chugins | PitchTrack/autotune-test.ck | [
"MIT"
] |
(*
Module: Oneserver
To parse /etc/one/*-server.conf
Note: onegate-server.conf still is not supported due to not parseable yaml
Author: Anton Todorov <a.todorov@storpool.com>
*)
module Oneserver =
autoload xfm
(* Version: 0.1 *)
(* Group: helpers *)
let colon = Sep.colon
let space = Sep.space
let dashspace = del ... | Augeas | 5 | OpenNebula/addon-storpool | misc/augeas/oneserver.aug | [
"Apache-2.0"
] |
{
"errors": {
"0": {
"lineNumber": undefined,
"index": undefined,
"column": undefined,
"loc": {
"start": { "line": 1, "column": 29 },
"end": { "line": 1, "column": 32 }
}
}
},
"body": {
"0": {
"expression": {
"callee": {
"body": {
... | Diff | 0 | oonsamyi/flow | src/parser/test/esprima/tolerant-parse/migrated_0015.diff | [
"MIT"
] |
<patch-1.0 appVersion="1.0.12">
<nets/>
<settings>
<subpatchmode>no</subpatchmode>
</settings>
<notes><![CDATA[]]></notes>
<windowPos>
<x>583</x>
<y>218</y>
<width>960</width>
<height>817</height>
</windowPos>
</patch-1.0> | NetLinx | 2 | pfawcett23/ssb_axoloti | ssb_library/utils/clock_div.axs | [
"MIT"
] |
.pagination-container[data-v-38ef71f0]{background:#fff;padding:32px 16px}.pagination-container.hidden[data-v-38ef71f0]{display:none} | CSS | 3 | yuanweikang2020/canal | admin/admin-web/src/main/resources/public/static/css/chunk-da289616.c89f8844.css | [
"Apache-2.0"
] |
// This comment type is used in C like languages such as JS, TS, Dart, etc
module.exports = {
regionStartMatcher: /^\s*\/\/\s*#docregion\s*(.*)\s*$/,
regionEndMatcher: /^\s*\/\/\s*#enddocregion\s*(.*)\s*$/,
plasterMatcher: /^\s*\/\/\s*#docplaster\s*(.*)\s*$/,
createPlasterComment: plaster => `/* ${plaster} */`
... | JavaScript | 4 | coreyscherbing/angular | aio/tools/transforms/examples-package/services/region-matchers/inline-c.js | [
"MIT"
] |
{:objects
{:BoardGame
{:description "A physical or virtual board game."
:fields
{:game_id {:type (non-null Int)}
:name {:type (non-null String)}
:rating_summary {:type (non-null :GameRatingSummary)
:resolve :BoardGame/rating-summary}
:summary {:type String
:descri... | edn | 5 | hagenek/lacinia | docs/_examples/tutorial/cgg-schema-6.edn | [
"Apache-2.0"
] |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0 EVE-IGB
EVE-IGB
| Text | 0 | 5tr1x/SecLists | Fuzzing/User-Agents/software-name/eve-in-game-browser.txt | [
"MIT"
] |
#include "script_component.hpp"
/*
Name: TFAR_fnc_calcTerrainInterception
Author: NKey
Calculates the terrain interception between the player and the passed unit.
Arguments:
0: Unit to calculate terrain interception with. <OBJECT>
Return Value:
Terrain Interception <SCALAR>
Example:
_inte... | SQF | 5 | MrDj200/task-force-arma-3-radio | addons/core/functions/fnc_calcTerrainInterception.sqf | [
"RSA-MD"
] |
//##69. Lambda - creation def 1
xxx (int) int = 69 //ensure we force the correct def assignment
xxx2 (int) int = def (x int) int { return x+3; }
xxx3 (int) int = 69
~~~~~
//##69. Lambda - creation def 2
//prims
x (double) double = def (x float) float { return x+3; } //OK
x2 (double) double = def (x boolean) boolean ... | Augeas | 3 | michaeldesu/Concurnas | tests/com/concurnas/compiler/scopeAndType/lambda.conc.aug | [
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# Functional tests to verify that native executables throw errors (non-terminating and terminating) appropriately
# when $PSNativeCommandUseErrorActionPreference is $true
Describe 'Native command error handling tests' -Tags 'CI' {
BeforeAll ... | PowerShell | 5 | rdtechie/PowerShell | test/powershell/engine/Basic/NativeCommandErrorHandling.Tests.ps1 | [
"MIT"
] |
packages=Lista över CPAN-Perl-moduler,0
cpan=Grund-URL för CPAN-moduler,0
| SystemVerilog | 0 | GalaxyGFX/webmin | cpan/config.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
// file HelloWorld.x10
public class HelloWorld {
public static def main(args:Rail[String]) {
x10.io.Console.OUT.println("Hello, World");
}
} | X10 | 4 | RalfGuder/LaTeX-examples | documents/Programmierparadigmen/scripts/x10/HelloWorld.x10 | [
"MIT"
] |
Module: dylan-user
define library lvl10
use common-dylan;
use io;
end library lvl10;
define module lvl10
use common-dylan;
use format-out;
use standard-io;
use streams;
end module lvl10;
| Dylan | 3 | Ashindustry007/competitive-programming | programming-challenges/badoo/badoo-challenge-2016/lvl10-library.dylan | [
"WTFPL"
] |
script = require './scriptAssertions'
shouldOutput = script.shouldOutput
shouldThrow = script.shouldThrow
describe 'try'
describe 'expression'
context "when no exceptions are thrown"
it "returns body of try"
'a =
try
"good"
catch (e)
"bad"
... | PogoScript | 4 | featurist/pogoscript | test/tryExpressionSpec.pogo | [
"BSD-2-Clause"
] |
//
// Copyright (c) 2019-2021 Ryujinx
//
// This program 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 3 of the License, or
// (at your option) any later version.
//
// This program ... | C# | 4 | BSoDGamingYT/Ryujinx | Ryujinx.Audio/Common/AudioInputConfiguration.cs | [
"MIT"
] |
use 2.2942168433235288 0.0 1.3779261114493739 1.8887517352153647 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.6010696627635836 0.0 0.0 0.0 0.0 0.0 0.0 2.9873640238834742 0.0 0.0 0.0 0.0
fire 0.0 0.68477893088942876 0.17395330712343815 0.68477893088942876 0.0 0.0 0.17395330712343815 0.0 0.173953... | DM | 0 | tommasoc80/EventStoryLine | ppmi_events_ecb+_test/14/same_sentence_ppmi.dm | [
"CC-BY-3.0"
] |
pom.xml
pom.xml.asc
*jar
/lib/
/classes/
/target/
/checkouts/
.lein-deps-sum
.lein-repl-history
.lein-plugins/
.lein-failures
.nrepl-port
| HTML+Django | 0 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/clojure/gitignore.mustache | [
"Apache-2.0"
] |
export { default } from './withStyles';
export * from './withStyles';
| TypeScript | 1 | omidtajik/material-ui | packages/material-ui-styles/src/withStyles/index.d.ts | [
"MIT"
] |
#if defined(GLES2_RENDERER)
attribute vec2 aPos;
attribute vec4 aColor;
varying mediump vec4 color;
#else
layout (location = 0) in vec2 aPos;
layout (location = 1) in vec4 aColor;
flat out vec4 color;
#endif
void main() {
color = aColor;
gl_Position = vec4(aPos.x, aPos.y, 0.0, 1.0);
}
| GLSL | 4 | ipatch/alacritty | alacritty/res/rect.v.glsl | [
"Apache-2.0"
] |
<p>No quests in progress</p>
| HTML | 0 | coreyscherbing/angular | aio/content/examples/component-styles/src/app/quest-summary.component.html | [
"MIT"
] |
<div class="entry-checkbox">
<input type="checkbox" data-js="entry-checkbox" name="entry-checkbox[]" value="{{ entry.id }}" />
</div>
| Twig | 1 | b1pb1p/wallabag | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_mass_checkbox.html.twig | [
"MIT"
] |
#pragma once
#include <memory>
#include "envoy/config/trace/v3/http_tracer.pb.h"
#include "envoy/http/codes.h"
namespace Envoy {
namespace Http {
struct UserAgentContext;
/**
* Captures http-related structures with cardinality of one per server.
*/
class Context {
public:
virtual ~Context() = default;
/**
... | C | 4 | dcillera/envoy | envoy/http/context.h | [
"Apache-2.0"
] |
<section class="section">
<div class="container">
<h1 class="title">Welcome to Joplin!</h1>
<h2 class="subtitle">Please enter your password to start using your account.</h2>
<form action="{{postUrl}}" method="POST">
<input class="input" type="hidden" name="token" value="{{token}}"/>
<div class="field">
... | HTML+Django | 3 | asahiocean/joplin | packages/server/src/views/index/users/confirm.mustache | [
"MIT"
] |
#N canvas 736 139 534 408 12;
#X declare -stdpath ./;
#X floatatom 75 306 8 0 0 0 - - - 0;
#X obj 57 155 noise~;
#X obj 58 362 print~;
#X obj 75 278 env~ 4096;
#X text 138 306 RMS in dB;
#X obj 39 26 noise~;
#X text 103 26 - uniformly distributed white noise;
#X msg 57 116 seed 123;
#X text 115 353 the output range is ... | Pure Data | 4 | myQwil/pure-data | doc/5.reference/noise~-help.pd | [
"TCL"
] |
/**
* 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... | JSX | 4 | razzius/superset | superset-frontend/src/components/ListViewCard/ListViewCard.test.jsx | [
"Apache-2.0"
] |
module.exports = "Vendor1"; | JavaScript | 0 | 1shenxi/webpack | examples/two-explicit-vendor-chunks/vendor1.js | [
"MIT"
] |
#*****************************************************************************
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
# Da... | Module Management System | 4 | addstone/unrealengine3 | Development/External/wxWindows_2.4.0/contrib/samples/mmedia/descrip.mms | [
"FSFAP"
] |
<!DOCTYPE html>
<!--
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 ... | HTML | 3 | DominiqueDeCordova/echarts | test/shape-custom.html | [
"Apache-2.0"
] |
// This file is required by the index.html file and will
// be executed in the renderer process for that window.
// All APIs exposed by the context bridge are available here.
// Binds the buttons to the context bridge API.
document.getElementById('open-in-browser').addEventListener('click', () => {
shell.open();
}); | JavaScript | 4 | TarunavBA/electron | docs/fiddles/system/protocol-handler/launch-app-from-URL-in-another-app/renderer.js | [
"MIT"
] |
#!/bin/sh
export MALLOC_CONF="prof:true,lg_prof_sample:0"
| Shell | 1 | Mu-L/jemalloc | test/unit/arena_reset_prof.sh | [
"BSD-2-Clause"
] |
--TEST--
Enum allows constants
--FILE--
<?php
enum Foo {
const BAR = 'Bar';
}
echo Foo::BAR . "\n";
?>
--EXPECT--
Bar
| PHP | 4 | NathanFreeman/php-src | Zend/tests/enum/constants.phpt | [
"PHP-3.01"
] |
@each $animal in puma, sea-slug, egret, salamander {}
@each $animal in puma,sea-slug,egret,salamander{}
@each $animal in puma , sea-slug , egret , salamander {}
@each $animal in
puma, sea-slug, egret, salamander {}
@each
$animal
in
puma
,
sea-slug
,
egret
,
salamander
... | CSS | 2 | fuelingtheweb/prettier | tests/css_atrule/each.css | [
"MIT"
] |
<%@ Page Language="C#" Debug="true" %>
<%@ import Namespace="System.IO"%>
<%@ import Namespace="System.Xml"%>
<%@ import Namespace="System.Xml.Xsl"%>
<%
string xml=@"<?xml version=""1.0""?><root>test</root>";
string xslt=@"<?xml version='1.0'?>
<xsl:stylesheet version=""1.0"" xmlns:xsl=""http://www.w3.org/1999/XSL/T... | ASP | 2 | laotun-s/webshell | aspx/a.aspx | [
"MIT"
] |
<template>
<v-list>
<v-list-item
v-for="color in ['primary', 'secondary', 'info', 'success', 'warning', 'error']"
:key="color"
v-ripple="{ class: `${color}--text` }"
>
<v-list-item-title>Item with "{{ color }}" class</v-list-item-title>
</v-list-item>
</v-list>
</template>
| Vue | 4 | ahmadiqbal1/vuetify | packages/docs/src/examples/ripples/custom-color.vue | [
"MIT"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="14008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="SMProvider.SMVersion" Type="Int">201310</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Propert... | LabVIEW | 2 | nevstop/LabVIEW-GlobalStop-Library | GlobalStop.lvproj | [
"MIT"
] |
{{/* vim: set filetype=mustache: */}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "locust.fullname" -}}
{{- printf "%s-%s" .Release.Name "locust" | trunc 63 -}}
{{- end -}}
{{- define "locust.m... | Smarty | 5 | kevinpollet/charts | stable/locust/templates/_helpers.tpl | [
"Apache-2.0"
] |
It's a header
---
```{r}
x <- 312312
y <- 432432432
```
Some Text
```{r}
z <- 432432432
```
Another Text
```{r}
x + y + z
```
| RMarkdown | 0 | DeagleGross/Rplugin | testData/parser/rmd/multicell.rmd | [
"MIT",
"BSD-2-Clause",
"Apache-2.0"
] |
/*
* Model of leader election on a ring
*
* Each process has a unique ID, IDs are ordered.
* The algorithm elects the process with the highest
* ID the leader, as follows. First, each process
* sends its own ID to its right neighbor.
* Then, whenever a process receives an ID, if the
* ID is greater than the pr... | Alloy | 5 | c-luu/alloy-specs | algorithms/election/ringlead.als | [
"Apache-2.0"
] |
// First count up 2*32 if that's zero we have normal cells
>+ [<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>-]
<[>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<-]
>[<++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>-]
<[>+++++++++++++++++++++++++++++++++++++... | Brainfuck | 3 | RubenNL/brainheck | examples/cell-size-4.bf | [
"Apache-2.0"
] |
/// <include file="Gui.xml" path="doc/Brush/*" />
CLASS Brush INHERIT VObject
PROTECT hBrush AS PTR
PROTECT _hParent AS PTR
/// <exclude />
METHOD __SetBrushOrg(_hDc AS PTR, hClient AS PTR) AS VOID STRICT
LOCAL sRect IS _winRect
LOCAL sPoint IS _winPoint
LOCAL hParent AS PTR
IF _hParent == NULL_PTR
... | xBase | 5 | orangesocks/XSharpPublic | Runtime/VOSDK/Source/VOSDK/GUI_Classes_SDK/Brush.prg | [
"Apache-2.0"
] |
define ($ip 10.100.0.2,
$mac aa:aa:aa:aa:aa:aa)
Idle -> tap :: KernelTap(10.100.0.1/24, DEVNAME vEth1) ;
tap -> c :: Classifier(12/0806 20/0001, 12/0806 20/0002, 12/0800, -);
//Answer to ARP requests
c[0] -> ARPResponder( $ip $mac) -> tap ;
//Discard ARP replies for now
c[1] -> [1]arp :: ARPQuerier($ip, $m... | Click | 4 | BorisPis/asplos22-nicmem-fastclick | conf/tutorial/tutorial-03.click | [
"BSD-3-Clause-Clear"
] |
30,39
41,5A
61,7A
| Component Pascal | 0 | janosch-x/character_set | lib/character_set/predefined_sets/ascii_alnum.cps | [
"MIT"
] |
{use MyMacros}
{my hello} | Latte | 0 | timfel/netbeans | php/php.latte/test/unit/data/testfiles/parser/issue245728_27.latte | [
"Apache-2.0"
] |
<stylesheet version="1.0"
xmlns="http://www.w3.org/1999/XSL/Transform">
<template match="/">
<html xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">
<body>
<p>Failure (acted on XML processing instructions on result XML!)</p>
</body>
</html>
</template>
</stylesheet>
| XSLT | 2 | zealoussnow/chromium | third_party/blink/web_tests/fast/xsl/resources/xslt-recursion-chain2.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
(->
(+ 2 2)
(print))
(import [pip])
(pip.main ["install" "-q" "sh"])
(import [sh [echo]])
(->
(+
(int (echo "-n" 21))
(int (echo "-n" 21)))
(print))
| Hy | 2 | siddharthvipul/official-images | test/tests/hylang-sh/container.hy | [
"Apache-2.0"
] |
functor
import
System
Connection
Application
Pickle
DPStatistics
Property
Module
define
proc{LFTW I P}
{Wait {Loop.forThread 1 I 1 fun{$ Ind _} {P Ind} end unit}}
end
Tests = [t(proc{$ Th I P}
{LFTW Th
proc{$ Ind Ans}
threa... | Oz | 4 | Ahzed11/mozart2 | platform-test/dp-bench/Client.oz | [
"BSD-2-Clause"
] |
/*
Copyright © 2011-2013 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m... | Opa | 4 | Machiaweliczny/oppailang | lib/stdlib/core/rpc/core/ping_client.opa | [
"MIT"
] |
/// <reference path="fourslash.ts" />
// @module: CommonJS
//// interface Dictionary<T> {
//// [x: string]: T;
//// }
//// export interface ChainedObject<T> {
//// functions: ChainedArray<string>;
//// omit(): ChainedObject<T>;
//// clone(): ChainedObject<T>;
//// }
//// interface ChainedD... | TypeScript | 4 | nilamjadhav/TypeScript | tests/cases/fourslash/underscoreTypings02.ts | [
"Apache-2.0"
] |
-- Copyright 2017-2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Chaos"
type = "api"
function start()
set_rate_limit(10)
end
function check()
local c
local cfg = datasrc_config()... | Ada | 4 | Elon143/Amass | resources/scripts/api/chaos.ads | [
"Apache-2.0"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/KeyboardDoubleArrowLeftRounded.js | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.