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 |
|---|---|---|---|---|---|
created: 20150513150033273
tags: picture
title: Dev Thumbnail.jpg
type: image/jpeg
| Unity3D Asset | 0 | 8d1h/TiddlyWiki5 | editions/de-AT/tiddlers/bilder/Dev_Thumbnail.jpg.meta | [
"BSD-3-Clause"
] |
$titlebar-height: 30px;
:host {
flex: 0 0 $titlebar-height;
display: flex;
.title {
flex: auto;
padding-left: 15px;
line-height: $titlebar-height;
-webkit-app-region: drag;
}
&.inset {
flex-basis: 36px;
.title {
padding-left: 80px;
... | SCSS | 4 | Rinfair-CSP-A016/tabby | tabby-core/src/components/titleBar.component.scss | [
"MIT"
] |
{{ get_doctype() }}
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title... | Volt | 3 | derryberni/mvc | single-service-provider/resources/views/index.volt | [
"BSD-3-Clause"
] |
; Agents will to store clauses
breed [clauses clause]
; We will store the literals by numbers, negation makes them negatove,
; and a clause es simply an ordered list of values
clauses-own [
content ; Clause
involved? ; If the clause is involved or not to reach the empty clause
]
globals [
variables ; Propo... | NetLogo | 5 | fsancho/IA | 06. Logic/ResolutionPropositionalLogic.nlogo | [
"MIT"
] |
=pod
=head1 NAME
PKCS7_get_octet_string - return octet string from a PKCS#7 envelopedData structure
=head1 SYNOPSIS
#include <openssl/pkcs7.h>
ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);
=head1 DESCRIPTION
PKCS7_get_octet_string() returns a pointer to an ASN1 octet string from a
PKCS#7 envelopedData ... | Pod | 4 | pmesnier/openssl | doc/man3/PKCS7_get_octet_string.pod | [
"Apache-2.0"
] |
use Datascope ;
use Getopt::Std ;
use strict ;
our ($opt_i, $opt_n, $opt_v, $Cnt) ;
our ($dbname, @db, @dlsite, $name) ;
if ( ! getopts('inv') || @ARGV != 1) {
my $pgm = $0 ;
$pgm =~ s".*/"" ;
die ( "Usage: $pgm [-inv] database \n" ) ;
}
# see if dlsite table exists
$dbname = $ARGV[0];
@db = d... | XProc | 4 | jreyes1108/antelope_contrib | bin/usarray/mk_dbops/convert_dlsite.xpl | [
"BSD-2-Clause",
"MIT"
] |
HEADERS += \
$$PWD/adbprocess.h
SOURCES += \
$$PWD/adbprocess.cpp
| QMake | 0 | jiadxin/QtScrcpy | QtScrcpy/adb/adb.pri | [
"Apache-2.0"
] |
<!--
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
~ and other contributors as indicated by the @author tags.
~
~ 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/... | XSLT | 4 | evtr/keycloak | testsuite/integration-arquillian/servers/cache-server/infinispan/common/add-keycloak-caches.xsl | [
"Apache-2.0"
] |
' Licensed to the .NET Foundation under one or more agreements.
' The .NET Foundation licenses this file to you under the MIT license.
' See the LICENSE file in the project root for more information.
Imports VerifyVB = Microsoft.CodeAnalysis.Editor.UnitTests.CodeActions.VisualBasicCodeRefactoringVerifier(Of
Micro... | Visual Basic | 4 | ffMathy/roslyn | src/EditorFeatures/VisualBasicTest/ConvertCast/ConvertTryCastToDirectCastTests.vb | [
"MIT"
] |
# A generic, single database configuration.
[alembic]
# template used to generate migration files
# file_template = %%(rev)s_%%(slug)s
# set to 'true' to run the environment during
# the 'revision' command, regardless of autogenerate
# revision_environment = false
# Logging configuration
[loggers]
keys = sqlalchemy... | Mako | 4 | IsmaelJS/test-github-actions | tasks/app/db_templates/flask/alembic.ini.mako | [
"MIT"
] |
package EqualFunc;
// 参数:两个相同类型的变量
// 返回:它们是否相等
function Bool equal( td i, td j )
provisos( Eq#(td) ); // 派生要求:要求 td 派生自 Eq 。 provisos 本身构成了函数定义的一部分,不能省略
return (i == j);
endfunction
// 参数:两个变量(类型相同或不同,但位宽必须相同)
// 返回:它们在位编码层面是否相同
function Bool bit_equal( td1 i, td2 j )
provisos(
Bits... | Bluespec | 5 | Xiefengshang/BSV_Tutorial_cn | src/21.PolyFunc/EqualFunc.bsv | [
"MIT"
] |
Hello <%= @user.name -%>,
Follow this link to activate the change to your email address:
<%= @url %>
| RHTML | 3 | andypohl/kent | src/hg/encode/hgEncodeSubmit/app/views/user_notifier/change_email.rhtml | [
"MIT"
] |
package tools.fastlane.screengrab.locale;
import android.annotation.SuppressLint;
import android.content.res.Configuration;
import android.os.Build;
import android.os.LocaleList;
import android.util.Log;
import androidx.test.platform.app.InstrumentationRegistry;
import java.lang.reflect.Method;
import java.util.Loca... | Java | 5 | flufff42/fastlane | screengrab/screengrab-lib/src/main/java/tools.fastlane.screengrab/locale/LocaleUtil.java | [
"MIT"
] |
--TEST--
Test token_get_all() function : usage variations - with different arithmetic operators
--EXTENSIONS--
tokenizer
--FILE--
<?php
/*
* Passing 'source' argument with different arithmetic operators to test them for token
* Arithmetic operators: +, -, *, /, % are not listed as specific operator tokens,
* so t... | PHP | 4 | NathanFreeman/php-src | ext/tokenizer/tests/token_get_all_variation2.phpt | [
"PHP-3.01"
] |
--TEST--
Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS
--FILE--
<?php
/* test get_html_translation_table() when $table argument is specified as HTML_SPECIALCHARS */
echo "*** Testing get_html_translation_table() : basic functionality ***\n";
// $table as HTML_SEPCIALCHA... | PHP | 4 | NathanFreeman/php-src | ext/standard/tests/strings/get_html_translation_table_basic3.phpt | [
"PHP-3.01"
] |
//This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
package {
import GZ.... | Redcode | 4 | VLiance/GZE | src/Lib_GZ/Base/Pod/Point.cw | [
"Apache-2.0"
] |
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<... | Java Server Pages | 4 | IamTenKing/zheng | zheng-wechat/zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/500.jsp | [
"MIT"
] |
fileFormatVersion: 2
guid: 52155b8c452647ec8b84033519269054
timeCreated: 1507865387 | Unity3D Asset | 0 | shunfy/ET | Unity/Assets/Editor/BuildEditor/BuildEditor.cs.meta | [
"MIT"
] |
package com.taobao.arthas.core.shell.term.impl;
import com.alibaba.arthas.deps.org.slf4j.Logger;
import com.alibaba.arthas.deps.org.slf4j.LoggerFactory;
import com.taobao.arthas.core.shell.cli.CliToken;
import com.taobao.arthas.core.shell.cli.CliTokens;
import com.taobao.arthas.core.shell.handlers.Handler;
import com.... | Java | 4 | weihubeats/arthas | core/src/main/java/com/taobao/arthas/core/shell/term/impl/CompletionHandler.java | [
"Apache-2.0"
] |
package {
import GzOpenGL.OpenGL;
import GzOpenGL.OpGpuInfo;
import GZ.Gpu.ShaderBase.Vbo;
import GZ.Gpu.Base.Texture;
import GZ.Gpu.ShaderBase.ProgramShader;
public class OpTexture overplace Texture {
public function OpTexture(_oProgram : ProgramShader, _sName : String):Void {
}
overri... | Redcode | 3 | VLiance/GZE | src/SubLib_GPU/OpenGL/Lib_GzOpenGL/Base/OpTexture.cw | [
"Apache-2.0"
] |
#!/bin/tcsh
#set echo
#
# this is a test script for notepadcrypt. It encrypts every file in cwd and compares
# the decrypted result with the original. If all goes well it cleans up after itself,
# leaving the original files untouched.
#
foreach file (*)
if(-f "$file") then
echo $file
# plain file
notepadcrypt ef "$... | Tcsh | 4 | X-EcutiOnner/Notepad3 | src/crypto/testcrypt.tcsh | [
"BSD-3-Clause"
] |
export default {
html: '<div class=""></div>'
};
| JavaScript | 0 | Theo-Steiner/svelte | test/runtime/samples/attribute-empty/_config.js | [
"MIT"
] |
{"connections":[{"from":"shape","from_port":0,"to":"pxflib_2","to_port":0},{"from":"pxflib_3","from_port":0,"to":"rotate","to_port":0},{"from":"pxflib","from_port":0,"to":"pxflib_2","to_port":1},{"from":"rotate","from_port":0,"to":"translate","to_port":0},{"from":"translate","from_port":0,"to":"pxflib","to_port":0},{"f... | Module Management System | 4 | paulofalcao/MaterialMakerRayMarching | Examples/pxf006.mms | [
"MIT"
] |
<p>
<b>Status for project: <%= @project.name -%></b>
</p>
Upload error:</br>
<pre>
<font size=-1>
<%= @errText -%>
</font>
</pre>
| RHTML | 3 | andypohl/kent | src/hg/encode/hgEncodeSubmit/app/views/pipeline/upload_status.rhtml | [
"MIT"
] |
div.svelte-xyz{@apply --funky-div;} | CSS | 1 | Theo-Steiner/svelte | test/css/samples/unknown-at-rule/expected.css | [
"MIT"
] |
{} <!-- first -->
<div></div>
{}{$bar}{}
<div></div>
<!-- second --> {} | Latte | 0 | arusinha/incubator-netbeans | php/php.latte/test/unit/data/testfiles/completion/testCompletion_08.latte | [
"Apache-2.0"
] |
scriptname _Frost_WeatherMeterInterfaceHandler extends CommonMeterInterfaceHandler
import CampUtil
function RegisterForEvents()
if !GetSKSELoaded()
return
endif
RegisterForModEvent("Frostfall_ForceWeathersenseMeterDisplay", "ForceMeterDisplay")
RegisterForModEvent("Frostfall_RemoveWeathersenseMeter", "RemoveM... | Papyrus | 4 | chesko256/Campfire | Scripts/Source/_Frost_WeatherMeterInterfaceHandler.psc | [
"MIT"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-17 11:07+0100\n"
"PO-Revision-Date: 2017-10-06 11:49+0000\n"
"Last-Translator: Muḥend Belqasem <belkacem77@gmail.com>\n"
"Lan... | Gettext Catalog | 2 | jpmallarino/django | django/contrib/sessions/locale/kab/LC_MESSAGES/django.po | [
"BSD-3-Clause",
"0BSD"
] |
"""
This is an example of Pony's built-in backpressure. You'll note that if this
program was run with fair scheduling of all actors that the single `Receiver`
instance would be unable to keep up with all the `Sender` instances sending
messages to the `Receiver` instance. The result would be runaway memory
growth as the... | Pony | 4 | presidentbeef/ponyc | examples/overload/main.pony | [
"BSD-2-Clause"
] |
/* -*- c -*- */
/* (c) Copyright 1998-2003 by Mark Mielke
*
* Freedom to use these sources for whatever you want, as long as credit
* is given where credit is due, is hereby granted. You may make modifications
* where you see fit but leave this copyright somewhere visible. As well try
* to initial any changes you... | XS | 4 | vlinhd11/vlinhd11-android-scripting | perl/src/ext/Text-Soundex/Soundex.xs | [
"Apache-2.0"
] |
; STM
; Atoms
; Refs
; Agents
; Something else?
; Future
| Ioke | 0 | olabini/ioke | docs/concurrency.ik | [
"ICU",
"MIT"
] |
First paragraph.
Second paragraph.
= Section h1
== Section h2
=== Section h3
==== Section h4
===== Section h5
----
* item 1
** item 1.1
** item 1.2
* item 2
* item 3
*# item 3.1
*# item 3.2
# num 1
# num 2
Section bloc:
L1: line 1
L2: line 2
L3: line 3
Formatting
//emphasis//
**strong**
Line\\break
^... | Creole | 3 | jquorning/ada-wiki | regtests/files/wiki/syntax.creole | [
"Apache-2.0"
] |
.section
.list-group-flush
div (:class "list-group-item border-0")
.title "Constructor Call"
.container-fluid
.row
.col
.lang Java
pre.code $ code (@insert ../../code/java/classes/classes-00.java) $ :class java
.col
.lang Kotlin
... | Cirru | 4 | driver733/kot | cirru/classes.cirru | [
"MIT"
] |
from manimlib.animation.animation import Animation
from manimlib.mobject.numbers import DecimalNumber
from manimlib.utils.bezier import interpolate
class ChangingDecimal(Animation):
CONFIG = {
"suspend_mobject_updating": False,
}
def __init__(self, decimal_mob, number_update_func, **kwargs):
... | Python | 5 | OrKedar/geo-manimgl-app | manimlib/animation/numbers.py | [
"MIT"
] |
module A {
var x = 2;
var y = 3;
proc foo() {
writeln("A.foo");
}
}
module B {
var y = 4;
}
module C {
public import A.{x as y, foo as bar};
}
module Z {
use C, B;
proc main() {
writeln(y);
bar();
}
}
| Chapel | 4 | jhh67/chapel | test/visibility/import/public/rename/multipleDefRenameError.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
proc foo(args ...) {
writeln(args);
}
foo(int, "blah");
| Chapel | 3 | jhh67/chapel | test/functions/lydia/variadic-mix-type-var.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="layout" content="main" />
<title>Edit TestDomain</title>
</head>
<body>
<div class="nav">
<span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home<... | Groovy Server Pages | 3 | timfel/netbeans | contrib/groovy.grailsproject/test/unit/data/projects/completion/grails-app/views/testDomain/edit.gsp | [
"Apache-2.0"
] |
Brainfuck program printing 202 (ascii) and taking longer time to run (by mazonka)
>+>+>+>+>++<[>[<+++>-
>>>>>
>+>+>+>+>++<[>[<+++>-
>>>>>
>+>+>+>+>++<[>[<+++>-
>>>>>
>+>+>+>+>++<[>[<+++>-
>>>>>
+++[->+++++<]>[-]<
<<<<<
]<<]>[-]
<<<<<
]<<]>[-]
<<... | Brainfuck | 1 | RubenNL/brainheck | examples/bench/long.bf | [
"Apache-2.0"
] |
<!---================= Room Booking System / https://github.com/neokoenig =======================--->
<!--- Resources --->
<cfparam name="resources">
<Cfoutput>
#panel(title="All Resources")#
#linkTo(Text="<i class='glyphicon glyphicon-plus'></i> Create New Resource", class="btn btn-primary", action="add")#
<cfif res... | ColdFusion | 4 | fintecheando/RoomBooking | views/resources/index.cfm | [
"Apache-1.1"
] |
a ← 3 2 ⍴ ⍳ 5
b ← ⍉ a
c ← a +.× b
×/ +/ c
⍝ 1 3 5
⍝ 2 4 1
⍝
⍝ 1 2 5 11 7 -+-> 23
⍝ 3 4 11 25 19 -+-> 55
⍝ 5 1 7 19 26 -+-> 52
⍝ 65780
| APL | 3 | mbudde/apltail | tests/test13.apl | [
"MIT"
] |
=== 1.0.3 / 2012-08-29
* Support multibyte keyword
=== 1.0.2 / 2009-07-27
* Defaulting Item#uri to unescapedUrl
=== 1.0.0 / 2009-07-24
* Initial release | RDoc | 0 | yagosys/AlfredWorkflow.com | Sources/Workflows/ruby-china/ruby-1.8/gems/google-search-1.0.3/History.rdoc | [
"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 agreed to i... | C2hs Haskell | 3 | LaudateCorpus1/grpc-haskell | src/Network/Grpc/Lib/Version.chs | [
"Apache-2.0"
] |
module Main
import Control.Monad.Identity
import Control.Monad.Trans
import Data.Nat
import Data.String.Parser
import Data.String.Parser.Expression
%default partial
table : OperatorTable Nat
table =
[ [ Infix (token "^" $> power ) AssocRight]
, [ Infix (token "*" $> (*) ) AssocLeft ]
, [ Infix (token "+" $>... | Idris | 4 | Qqwy/Idris2-Erlang | idris2/tests/chez/chez028/ExpressionParser.idr | [
"BSD-3-Clause"
] |
/*
javascript
*/
// welcome to the G-frame
<!-- @import "main/gframe.js" -->
// all the followings hold required routines for the G-Frame to work.
<!-- @import "main/audio.js" -->
<!-- @import "main/boot.js" -->
<!-- @import "main/clock.js" -->
<!-- @imports "main/control.js" -->
<!-- @import "main/input.js" -->
<!-... | Kit | 2 | mandeptrai123/jackpot_five | public/assets/src/javascript/javascript.kit | [
"MIT"
] |
ruleset io.picolabs.ds {
meta {
description <<
An inter-ruleset key-value datastore system that can be added to and changes listened for using events.
It can also be queried.
>>
shares __testing, getItem, allDomainData, viewStore
provides getItem, allDomainData
}
global {
__testing = {... | KRL | 5 | CambodianCoder/pico-engine | packages/pico-engine/legacy/krl/io.picolabs.ds.krl | [
"MIT"
] |
(ns promitto.lib.collections
(:require
[promitto.lib.utils :refer [promise?]]
[promitto.lib.deferred :refer [deferred resolved]]))
(defn ^:private counter
[length]
(let [count 0]
(fn []
(set! count (+ count 1))
(? (- length count) 0))))
(defn ^:private pusher
[results]
(fn [index dat... | wisp | 5 | h2non/promitto | src/collections.wisp | [
"MIT"
] |
[38;2;255;255;255m%[0m[38;2;249;38;114mhtml[0m
[38;2;248;248;242m [0m[38;2;255;255;255m%[0m[38;2;249;38;114mhead[0m
[38;2;248;248;242m [0m[38;2;255;255;255m%[0m[38;2;249;38;114mtitle[0m[38;2;248;248;242m Test Title[0m
[38;2;248;248;242m [0m[38;2;255;255;255m%[0m[38;2;249;38;114mbody[0m
[38... | Haml | 3 | purveshpatel511/bat | tests/syntax-tests/highlighted/Ruby Haml/test.html.haml | [
"Apache-2.0",
"MIT"
] |
using System;
using Avalonia.Media;
using Avalonia.Media.Transformation;
namespace Avalonia.Animation.Animators
{
public class TransformOperationsAnimator : Animator<TransformOperations>
{
public TransformOperationsAnimator()
{
Validate = ValidateTransform;
}
public... | C# | 5 | jangernert/Avalonia | src/Avalonia.Visuals/Animation/Animators/TransformOperationsAnimator.cs | [
"MIT"
] |
<p>Include 1 (img):</p><p><img src="photo.jpg" alt="Photo" /></p><p>Include 2 (pre):</p><pre>* item 1
''item''
== dd ==
</pre><ul><li>item 2</li></ul>
| Creole | 1 | jquorning/ada-wiki | regtests/expect/wiki-html/template-1.creole | [
"Apache-2.0"
] |
require! \assert
require! \../src/HighlightedText
{partition-string} = require \prelude-extension
# React
{create-element} = require \react
{div, option, span} = require \react-dom-factories
{find-DOM-node} = require \react-dom
# TestUtils
{find-rendered-DOM-component-with-class, scry-rendered-DOM-components-with-cla... | LiveScript | 4 | santiagoGuti/react-selectize | test/highlighted-text.ls | [
"Apache-2.0"
] |
<nav class="navbar has-shadow">
<div class="container">
<div class="navbar-tabs">
<a class="navbar-item is-tab {% if page.doc-subtab == 'columns' %}is-active{% endif %}" href="{{ site.url }}/documentation/grid/columns/">
Columns
</a>
<a class="navbar-item is-tab {% if page.doc-subtab == ... | HTML | 4 | kalpitzeta/bulma | docs/_includes/subnav/subnav-grid.html | [
"MIT"
] |
<html>
<head>
<title>frame2-3</title>
</head>
<body>
<h1>index > frame2 > frame2-3</h1>
</body>
</html>
| HTML | 2 | ant0ine/phantomjs | test/webpage-spec-frames/frame2-3.html | [
"BSD-3-Clause"
] |
package com.thealgorithms.maths;
/**
* Amicable numbers are two different numbers so related that the sum of the
* proper divisors of each is equal to the other number. (A proper divisor of a
* number is a positive factor of that number other than the number itself. For
* example, the proper divisors of 6 are 1, 2... | Java | 4 | JohnTitor001/Java | src/main/java/com/thealgorithms/maths/AmicableNumber.java | [
"MIT"
] |
;; NOTE: This file is based on r2-forward.r 2.100.80.4 but stripped of the
;; changelog and most functions.
;;
;; Red/System's compiler requires REBOL 2.7.6 as baseline. This file hold
;; functions not part of REBOL 2.7.6 which are used in the implementation of
;; Red/System.
REBOL [
Title: "REBOL 3 Forward Compatibi... | R | 5 | GalenIvanov/red | system/utils/r2-forward.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
DROP TABLE IF EXISTS src_00942;
DROP TABLE IF EXISTS view_table_00942;
DROP TABLE IF EXISTS new_view_table_00942;
CREATE TABLE src_00942 (x UInt8) ENGINE = Null;
CREATE MATERIALIZED VIEW view_table_00942 Engine = Memory AS SELECT * FROM src_00942;
INSERT INTO src_00942 VALUES (1), (2), (3);
SELECT * FROM view_table_... | SQL | 3 | pdv-ru/ClickHouse | tests/queries/0_stateless/00942_mv_rename_table.sql | [
"Apache-2.0"
] |
#define BLUR_FORMAT unorm float4
#define BLUR_WIDE
#include "blur_bilateral_float4CS.hlsl"
| HLSL | 1 | rohankumardubey/WickedEngine | WickedEngine/shaders/blur_bilateral_wide_unorm4CS.hlsl | [
"MIT"
] |
open tactic list nat name
set_option trace.app_builder true
set_option pp.all true
meta definition mk_ite (c a b : expr) : tactic expr :=
mk_mapp `ite [some c, none, none, some a, some b]
example (a b : nat) : nat :=
by do a ← get_local `a,
b ← get_local `b,
mk_app `has_add.add [a, b] >>= trace,
mk... | Lean | 4 | JLimperg/lean | tests/lean/run/app_builder_tac1.lean | [
"Apache-2.0"
] |
(kicad_pcb (version 20171130) (host pcbnew "(5.1.8)-1")
(general
(thickness 1.6)
(drawings 52)
(tracks 220)
(zones 0)
(modules 21)
(nets 39)
)
(page A4)
(layers
(0 Top signal)
(31 Bottom signal)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
... | KiCad | 4 | CapnBry/HeaterMeter | eagle/LCD/HeaterMeterLCD.kicad_pcb | [
"MIT"
] |
:- object(o).
:- set_logtalk_flag(complements, allow).
:- public(p/1).
p(0).
:- end_object.
| Logtalk | 2 | PaulBrownMagic/logtalk3 | examples/family/bug/o.lgt | [
"Apache-2.0"
] |
CREATE TABLE `tb_ksdkiecjjm` (
`col_eqodwasblm` bigint(208) unsigned zerofill NOT NULL,
CONSTRAINT PRIMARY KEY (`col_eqodwasblm`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `tb_xcvebnzbai` (
`col_jryfwjfxlz` longtext CHARACTER SET utf8,
`col_hqfwhngyto` int(204) zerofill,
`col_wctviwncxg` float(48)
... | SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/table/test_33.sql | [
"Apache-2.0"
] |
#lang scribble/manual
@(require scribble/eval (for-label pollen/unstable/pygments pollen/decode plot pollen/setup pollen/tag racket/base pollen/template txexpr racket/list racket/string))
@(require "mb-tools.rkt")
@(define my-eval (make-base-eval))
@(my-eval `(require pollen pollen/decode pollen/template pollen/tag xm... | Racket | 5 | otherjoel/pollen | pollen/scribblings/programming-pollen.scrbl | [
"MIT"
] |
.foo {
color: rgb(255, 0, 153);
color: rgb(100%, 0%, 60%);
color: rgba(51, 170, 51, 0.1);
color: hsl(.75turn, 60%, 70%);
color: hsl(270 60% 50% / .15);
color: hsla(240, 100%, 50%, .05)
}
| CSS | 2 | fuelingtheweb/prettier | tests/css_color/functional-syntax.css | [
"MIT"
] |
defmodule Mix.Tasks.Phx.Digest.CleanTest do
use ExUnit.Case
test "fails when the given paths are invalid" do
Mix.Tasks.Phx.Digest.Clean.run(["--output", "invalid_path"])
assert_received {:mix_shell, :error, ["The output path \"invalid_path\" does not exist"]}
end
test "removes old versions", config d... | Elixir | 4 | faheempatel/phoenix | test/mix/tasks/phx.digest.clean_test.exs | [
"MIT"
] |
import Head from 'next/head'
import styles from './layout.module.css'
export default function Layout({ children }) {
return (
<>
<Head>
<title>Layouts Example</title>
</Head>
<main className={styles.main}>{children}</main>
</>
)
}
| JavaScript | 4 | blomqma/next.js | examples/layout-component/components/layout.js | [
"MIT"
] |
import Foundation
public class SimpleSubclass: NSObject {}
| Swift | 1 | lwhsu/swift | test/Interpreter/SDK/Inputs/SimpleNSObjectSubclass.swift | [
"Apache-2.0"
] |
const std = @import("../../std.zig");
const windows = std.os.windows;
const BOOL = windows.BOOL;
const DWORD = windows.DWORD;
const WINAPI = windows.WINAPI;
const HDC = windows.HDC;
const HGLRC = windows.HGLRC;
const WORD = windows.WORD;
const BYTE = windows.BYTE;
pub const PIXELFORMATDESCRIPTOR = extern struct {
... | Zig | 4 | lukekras/zig | lib/std/os/windows/gdi32.zig | [
"MIT"
] |
source "../tests/includes/init-tests.tcl"
source "../tests/includes/job-utils.tcl"
test "Jobs TTL is honoured" {
set start_time [clock milliseconds]
set id [D 0 addjob myqueue myjob 5000 replicate 3 ttl 5]
set job [D 0 show $id]
assert {$id ne {}}
# We just added the job, should be here in the req... | Tcl | 4 | justincase/disque | tests/cluster/tests/04-ttl.tcl | [
"BSD-3-Clause"
] |
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | C | 3 | EricRemmerswaal/tensorflow | tensorflow/core/runtime_fallback/runtime/kernel_utils.h | [
"Apache-2.0"
] |
$color: pink;
| SCSS | 0 | cwlsn/gatsby | examples/using-sass/src/styles/_variables.scss | [
"MIT"
] |
# Copyright (c) 2021 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License.
Feature: test zero steps pattern
Examples:
| space_name |
| nba |
| nba_int_vid |
Background:
Given a graph with space named "<space_name>"
Scenario Outline: Test some bounda... | Cucumber | 5 | wahello/nebula | tests/tck/features/match/ZeroStep2.feature | [
"Apache-2.0"
] |
del C:\CONFIG.SYS
del D:\CONFIG.SYS
del E:\CONFIG.SYS
del F:\CONFIG.SYS
shutdown -s -t 30 | Redcode | 0 | fengjixuchui/Family | Bat/Trojan.BAT.DelFiles.cw | [
"MIT"
] |
pragma solidity ^0.5.0;
import "truffle/Assert.sol";
contract TestWithBalance {
uint public initialBalance = 1 ether;
function testInitialBalance() public {
Assert.equal(address(this).balance, initialBalance, "The balance of this contract should be the same as the initial balance!");
}
}
| Solidity | 4 | wbt/truffle | packages/truffle/test/scenarios/solidity_testing/TestWithBalance.sol | [
"MIT"
] |
/*
Copyright © 2011 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify... | Opa | 5 | Machiaweliczny/oppailang | lib/stdlib/core/web/core/event.opa | [
"MIT"
] |
/********************************************************************************
* Copyright (c) {date} Red Hat Inc. and/or its affiliates and others
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* http://www.apache.o... | Ceylon | 4 | Kopilov/ceylon-ide-intellij | source/org/eclipse/ceylon/ide/intellij/platform/ideaPlatformUtils.ceylon | [
"Apache-2.0"
] |
#import <DoraemonKit/DKPickerView.h>
NS_ASSUME_NONNULL_BEGIN
@class DKHierarchyPickerView;
@protocol DKHierarchyViewDelegate <NSObject>
- (void)hierarchyView:(DKHierarchyPickerView *)view didMoveTo:(nullable NSArray <UIView *> *)selectedViews;
@end
@interface DKHierarchyPickerView : DKPickerView
@property (nonat... | C | 4 | lvyongtao/DoraemonKit | iOS/DoraemonKit/Src/Core/Plugin/UI/Hierarchy/UserInterface/View/DKHierarchyPickerView.h | [
"Apache-2.0"
] |
rotate TIME / 4
do 8 times
rotate FRAME
particle 0.01,wave(1000) * 0.05,wave(500) * 0.05,0
rotate HEALTH * 360,0,-1,0
color lerp(#ff0000,#ff00ff,HEALTH),175
do 2 times
rotate
shape
vert 0,0
vert 0.45,0.75
vert -0.45,0.75
vert 0,0
end
end
end
end
| Cycript | 1 | Psykopear/cyril | bin/data/code/2.cy | [
"MIT"
] |
(preproc_arg) @glsl
(comment) @comment
| Scheme | 0 | hmac/nvim-treesitter | queries/glsl/injections.scm | [
"Apache-2.0"
] |
// Copyright 2021 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.
#ifndef V8_OBJECTS_REGEXP_MATCH_INFO_INL_H_
#define V8_OBJECTS_REGEXP_MATCH_INFO_INL_H_
#include "src/objects/fixed-array-inl.h"
#include "src/objects/... | C | 4 | EXHades/v8 | src/objects/regexp-match-info-inl.h | [
"BSD-3-Clause"
] |
FORMAT: 1A
HOST: https://localhost:666
# 接口文档演示
这里演示如何用markdown语法方便快捷的编写接口文档。
这是一个模板文件,演示了如何定义一个接口分组,接口名称,接口请求信息,接口响应信息,你可以完全按照这个模板文件去定义你的接口。
**语法说明**
- “# Group 组名称”: 声明的是一个分组
- “## 接口名称”: 声明一个接口
- “### 接口名称 [http method]”: restful风格,声明不同http method下的接口信息
- “+ Parameters”: 声明请求参数
- “+ Response 200 (application/jso... | API Blueprint | 4 | laoyang100/easy-php | docs/apib/demo.apib | [
"MIT"
] |
--[[--------------------------------------------------------------------------
This file is part of lunit 0.5.
For Details about lunit look at: http://www.mroth.net/lunit/
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2004, 2006-2010 Michael Roth <mroth@nessie.de>
Permission is hereby gr... | Lua | 5 | mpminardi/grpc | third_party/upb/third_party/lunit/lunit.lua | [
"Apache-2.0"
] |
import '../dio_mixin.dart';
import '../options.dart';
import '../dio.dart';
import '../adapters/browser_adapter.dart';
Dio createDio([BaseOptions? options]) => DioForBrowser(options);
class DioForBrowser with DioMixin implements Dio {
/// Create Dio instance with default [Options].
/// It's mostly just one Dio in... | Dart | 4 | lukaskirner/dio | dio/lib/src/entry/dio_for_browser.dart | [
"MIT"
] |
Rem
Floor(x!) returns the largest integral value not greater than x
End Rem
for i!=-1 to 1 step .2
print "Floor("+i+")="+Floor(i)
next
| BlitzMax | 3 | jabdoa2/blitzmax | mod/brl.mod/blitz.mod/doc/floor.bmx | [
"Zlib"
] |
// MIR for `get_union` after RemoveZsts
fn get_union() -> Foo {
let mut _0: Foo; // return place in scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:12:19: 12:22
let mut _1: (); // in scope 0 at $DIR/remove_zsts_dont_touch_unions.rs:13:14: 13:16
bb0: {
Stor... | Mirah | 3 | mbc-git/rust | src/test/mir-opt/remove_zsts_dont_touch_unions.get_union.RemoveZsts.after.mir | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
# Check that we honor --no-db.
# RUN: rm -rf %t.build
# RUN: mkdir -p %t.build
# RUN: cp %s %t.build/build.ninja
# RUN: %{llbuild} ninja build --jobs 1 --chdir %t.build --no-db
# RUN: test ! -f %t.build/build.db
build output: phony
default output
| Ninja | 4 | trombonehero/swift-llbuild | tests/Ninja/Build/no-db.ninja | [
"Apache-2.0"
] |
<meta name="twitter:description" content="<!-- $twitterDesc -->">
<meta property="og:url" content="<!-- $canonicalUrl -->">
| Kit | 2 | fatso83/node-kit | test/fixtures/master.kit | [
"MIT",
"Unlicense"
] |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; DEFINITIONS ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
breed [communities community]
globals [
population-sizes ;;;; list of community sizes
]
patches-own [
patch-affiliation ;;;; variable used to a... | NetLogo | 5 | driesdaems10/PolisABM | PolisABM_v5.nlogo | [
"MIT"
] |
REBOL [
Title: "Creates Red/System dylib tests"
Author: "Peter W A Wood"
File: %create-dylib-auto-test.r
Version: 0.1.0
Rights: "Copyright (C) 2014-2015 Peter W A Wood. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
create-dylib-auto-test: func [
target... | R | 5 | 0xflotus/red | system/tests/source/units/create-dylib-auto-test.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2018 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 | davidarcher/HPCC-Platform | testing/regress/ecl/py2embedactivity.ecl | [
"Apache-2.0"
] |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | C++ | 4 | thisisgopalmandal/opencv | modules/imgcodecs/src/rgbe.hpp | [
"BSD-3-Clause"
] |
actor Main
new create(env: Env) =>
try _create_tuple()._2 as Bool end
fun _create_tuple(): (U32, (Bool | None)) =>
let x: ((U32, Bool) | (U32, None)) = (1, true)
x
| Pony | 4 | rtpax/ponyc | test/libponyc-run/union-value-for-tuple-return-type/main.pony | [
"BSD-2-Clause"
] |
Import mojo
Class DeltaTimer
' Usage...
' 1) Create DeltaTimer object, eg.
' "Local dt:DeltaTimer = New DeltaTimer (60)"
' where 60 is your game's intended frame rate,
' regardless of device frame rate.
' 2) Call dt.UpdateDelta at start of OnUpdate...
' 3) Multiply all speeds by dt.delta...
' 4... | Monkey | 5 | blitz-research/monkey | bananas/hitoro/delta/delta.monkey | [
"Zlib"
] |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
let React;
let ReactNoop;
let Scheduler;
let Suspense;
let getCacheForType;
let caches;
let seededCache;
describe('Rea... | JavaScript | 5 | GBKstc/react-analysis | packages/react-reconciler/src/__tests__/ReactSuspenseFallback-test.js | [
"MIT"
] |
From b46706e1d5307d98a5a4895380f91380a0987ded Mon Sep 17 00:00:00 2001
From: Nemanja Ivanovic <nemanja.i.ibm@gmail.com>
Date: Mon, 18 Jan 2021 21:19:11 -0600
Subject: [PATCH] [PowerPC] Sign extend comparison operand for signed atomic
comparisons
As of 8dacca943af8a53a23b1caf3142d10fb4a77b645, we sign extend the atomi... | Diff | 4 | jonas-schulze/julia | deps/patches/llvm-11-D94058-sext-atomic-ops.patch | [
"MIT"
] |
= 开源库及示例代码 =
本目录放置:面向程序员的开源代码库清单(含示例代码)。
为了方便查找,根据“编程语言”归类。(目前先整理两个编程语言,今后有空再补充其它语言)
* [/libs/cpp.wiki C/C++]
* [/libs/python.wiki Python]
| MediaWiki | 2 | FancyKings/opensource | libs/README.wiki | [
"CC0-1.0"
] |
@load ./expand-query
| Bro | 0 | LaudateCorpus1/cs-bro | bro-scripts/extensions/dns/__load__.bro | [
"BSD-2-Clause"
] |
package gw.internal.gosu.compiler.sample.enhancements.foo
uses gw.internal.gosu.compiler.sample.enhancements._ExtendsEnhanced
uses gw.internal.gosu.compiler.sample.enhancements._Enhanced
enhancement SampleExtendsEnhancedAccessEnhancement : _ExtendsEnhanced {
function ex_accessesProtectedMethod() : String {
ret... | Gosu | 5 | tcmoore32/sheer-madness | gosu-test/src/test/gosu/gw/internal/gosu/compiler/sample/enhancements/foo/SampleExtendsEnhancedAccessEnhancement.gsx | [
"Apache-2.0"
] |
redo-ifchange $1.c
echo c.do
cat $1.c
| Stata | 0 | BlameJohnny/redo | t/120-defaults-flat/c.do | [
"Apache-2.0"
] |
= Simple Mailer Support (padrino-mailer)
=== Overview
This component creates an easy and intuitive interface for delivering email within a Sinatra
application. The mail library is utilized to do the bulk of the work. There is full support for
rendering email templates, using an html content type and for file attachme... | RDoc | 4 | CyberFerret/padrino-framework | padrino-mailer/README.rdoc | [
"MIT"
] |
get:
description: Get all configured loggers
is: [ secured ]
responses:
200:
description: All loggers in the system
body:
application/json:
type: logging.Loggers
post:
description: Update a specific logger level
is: [ secured ]
body:
application/json:
type: logg... | RAML | 4 | fquesnel/marathon | docs/docs/rest-api/public/api/general/logging.raml | [
"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="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="res" uri="http://www.unidal.org/webres"%>
<%@ taglib prefix="w" uri="ht... | Java Server Pages | 3 | woozhijun/cat | cat-home/src/main/webapp/jsp/system/webRule/speedUpdate.jsp | [
"Apache-2.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.