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 |
|---|---|---|---|---|---|
body {
font-family: monospace;
white-space: pre;
}
ins {
background-color: #9cffa0;
text-decoration: none;
}
del {
background-color: #ff9e9e;
}
| CSS | 4 | aravind666/puppeteer | test/diffstyle.css | [
"Apache-2.0"
] |
/*
*
* Copyright 2020 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 | arghyadip01/grpc | include/grpcpp/test/channel_test_peer.h | [
"Apache-2.0"
] |
$TTL 300
@ IN CAA 128 iodef "https://example.com"
IN CAA 128 iodef "mailto:test@example.com"
IN CAA 0 iodef "http://example.com"
IN CAA 0 issue "letsencrypt.org"
IN CAA 0 issuewild ";"
| DNS Zone | 3 | IT-Sumpfling/dnscontrol | pkg/js/parse_tests/014-caa/foo.com.zone | [
"MIT"
] |
// Copyright (c) 2020 Slack Technologies, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
#define SHELL_COMMON_PLATFORM_UTIL_INTERNAL_H_
#include "shell/common/platform_util.h"
#include <string>
namespace base {
... | C | 3 | lingxiao-Zhu/electron | shell/common/platform_util_internal.h | [
"MIT"
] |
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -36.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -44.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0... | Matlab | 1 | yinrun/LOPDC-Benchmarks | strippacking/matlab/sp-12-42-sqrt.matlab | [
"MIT"
] |
/*
[The "BSD licence"]
Copyright (c) 2007-2008 Leon Jen-Yuan Su
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list o... | G-code | 4 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | java/java2py/antlr-3.1.3/gunit/src/main/antlr3/org/antlr/gunit/gUnit.g | [
"Apache-2.0"
] |
0 reg32_t "dword"
1 ptr(array(reg8_t,3)) "unknown_24*"
2 code_t "proc*"
3 ptr(struct(0:ptr(struct(0:reg32_t,4:reg32_t,8:ptr(struct(0:reg32_t,4:reg32_t,8:ptr(TOP),12:ptr(TOP),16:reg32_t,20:array(uint32_t,15))),12:ptr(TOP),16:reg32_t,20:array(uint32_t,15))),4:ptr(struct(0:reg32_t,4:reg32_t,8:reg32_t,12:reg32_t,16:reg32_t... | BlitzBasic | 2 | matt-noonan/retypd-data | data/upnpc-static.exe.decls | [
"MIT"
] |
const Err = error{Foo};
pub fn main() !u8 {
return Err.Foo;
}
| Zig | 3 | aruniiird/zig | test/standalone/main_return_error/error_u8.zig | [
"MIT"
] |
fileFormatVersion: 2
guid: 6d2d240998b7a9a44b7402136c946623
folderAsset: yes
DefaultImporter:
userData:
| Unity3D Asset | 0 | allureyc/xLua | Assets/XLua.meta | [
"BSD-3-Clause"
] |
module Example(outA, outB, outC, outD);
parameter OUTPUT = "FOO";
output wire [23:0] outA;
output wire [23:0] outB;
output reg outC, outD;
function automatic [23:0] flip;
input [23:0] inp;
flip = ~inp;
endfunction
generate
if (flip(OUTPUT) == flip("BAR"))
... | SystemVerilog | 4 | gudeh/yosys | tests/various/const_func.sv | [
"ISC"
] |
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This runs DeepExplainer with the model trained on simualted genomic data from the DeepLIFT repo (https://github.com/kundajelab/deeplift/blob/master/examples/genomics/genomics_simulation.ipynb), using a dynamic reference (i.e. the refer... | Jupyter Notebook | 5 | santanaangel/shap | notebooks/deep_explainer/DeepExplainer Genomics Example.ipynb | [
"MIT"
] |
L GOST e_gost_err.h e_gost_err.c
L NONE asymm.h NONE
L NONE md.h NONE
L NONE crypt.h NONE
L NONE gostkeyx.h NONE
| eC | 0 | jiangzhu1212/oooii | Ouroboros/External/OpenSSL/openssl-1.0.0e/engines/ccgost/gost.ec | [
"MIT"
] |
; Perceptron is the agent that will store the perceptron parameters and will
; visualize both semiplanes. For that, its shape is a two-colored plane (red/blue)
; and its size is big enough to cover the world
breed [perceptrons preceptron]
; One origin at the (0,0)
breed [vectors vector]
; Data will be agents to be le... | NetLogo | 5 | fsancho/IA | 11. Machine Learning/Neural Networks/perceptron.nlogo | [
"MIT"
] |
/** Replicate Imai, Jain and Ching Econometrica 2009 (incomplete).
**/
#include "IJCEmet2009.h"
Kapital::Kapital(L,const N,const entrant,const exit,const KP){
StateVariable(L,N);
this.entrant = entrant;
this.exit = exit;
this.KP = KP;
actual = Kbar*vals/(N-1);
upper = log(actual~.Inf);
}
Kapital::Transit(Feas... | Ox | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Ox/IJCEmet2009.oxh | [
"MIT"
] |
--TEST--
Bug #50558 - Broken object model when extending tidy
--EXTENSIONS--
tidy
--FILE--
<?php
class MyTidy extends tidy
{
// foo
}
function doSomething(MyTidy $o)
{
var_dump($o);
}
$o = new MyTidy();
var_dump($o instanceof MyTidy);
doSomething($o);
?>
--EXPECTF--
bool(true)
object(MyTidy)#%... | PHP | 3 | NathanFreeman/php-src | ext/tidy/tests/bug_50558.phpt | [
"PHP-3.01"
] |
struct Attributes {
packed_float2 M0;
packed_float2 M1;
packed_float4 M2;
};
struct Varyings {
float4 Position [[position]];
float2 M0;
float4 M1;
};
vertex Varyings Vertex(
uint vid [[vertex_id]],
const device Attributes* attributes [[buffer(0)]],
constant float2& U0 [[buffer(1)]]) {
Varyings varyings = {}... | Metal | 4 | rikkuness/ebiten | internal/shader/testdata/vertex.expected.metal | [
"Apache-2.0"
] |
package DoubleBuffer;
import Vector::*;
import BRAM::*;
// 函数:vectorLen
// 参数:Vector 类型的变量
// 返回:Vector 的长度
function Integer vectorLen(Vector#(sz, td) vec) = valueOf(sz);
// 函数:regVector2Vector
// 功能:把寄存器向量中的数据取出来,组成新的数据向量返回
// 参数:Vector#(sz, Reg#(td)) 寄存器向量
// 返回:Vector#(sz, td)
function Vecto... | Bluespec | 5 | Xiefengshang/BSV_Tutorial_cn | src/JpegEncoder/DoubleBuffer.bsv | [
"MIT"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Toggle Play/Pause
# @raycast.mode silent
# @raycast.packageName Spotify
# Optional parameters:
# @raycast.icon images/spotify-logo.png
# Documentation:
# @raycast.description Toggles play or pause of current track in Spotify.
te... | AppleScript | 4 | tanaynistala/script-commands | commands/media/spotify/spotify-play-pause.applescript | [
"MIT"
] |
/*
* Copyright 2012-2020 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Java | 4 | techAi007/spring-boot | spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/webservices/client/MockWebServiceServerWebServiceTemplateCustomizer.java | [
"Apache-2.0"
] |
% File "list4.tu". Class extension for a sorted list
% with separate binary search procedure find.
unit
class FastSortedList
inherit SortedList in "list3.tu"
body procedure find (v : string, var location : int,
var success : boolean)
var first := 1
var last := size
loop
exit when first = last or last = 0... | Turing | 5 | null-dev/Hyper | package/Examples/Programming Concepts and Paradigms/chap08/list4.tu | [
"MIT"
] |
[Desktop Entry]
Version=1.0
Name=Zellij
Type=Application
Comment=Manage Your Terminal Applications
Terminal=true
Exec=zellij
Icon=zellij
Categories=ConsoleOnly;System;
GenericName=Terminal Multiplexer
| desktop | 2 | dswij/zellij | assets/zellij.desktop | [
"MIT"
] |
{#
OPNsense® is Copyright © 2020 by Deciso B.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and th... | Volt | 4 | Kipjr/core | src/opnsense/mvc/app/views/OPNsense/Diagnostics/fw_stats.volt | [
"BSD-2-Clause"
] |
{ system ? builtins.currentSystem
, config ? { }
, pkgs ? import ../.. { inherit system config; }
}:
# These tests will:
# * Set up a vaultwarden server
# * Have Firefox use the web vault to create an account, log in, and save a password to the valut
# * Have the bw cli log in and read that password from the vault
... | Nix | 5 | siddhantk232/nixpkgs | nixos/tests/vaultwarden.nix | [
"MIT"
] |
// Copyright (C) 2001 Constantin Kaplinsky. All Rights Reserved.
// Copyright (C) 2000 Tridia Corporation. All Rights Reserved.
// Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
//
// This file is part of the VNC system.
//
// The VNC system is free software; you can redistribute it and... | C++ | 5 | OsmanDere/metasploit-framework | external/source/vncdll/winvnc/vncEncoder.cpp | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
--TEST--
Bug #23650 (strip_tags() removes hyphens)
--FILE--
<?php
$str = <<< HERE
1:<!-- abc - -->
2:<!doctype -- >
3:
4:<abc - def>
5:abc - def
6:</abc>
HERE;
echo strip_tags($str);
echo strip_tags($str, '<abc>');
?>
--EXPECT--
1:
2:
3:
4:
5:abc - def
6:
1:
2:
3:
4:<abc - def>
5:abc - def
6:</abc>
| PHP | 4 | thiagooak/php-src | ext/standard/tests/strings/bug23650.phpt | [
"PHP-3.01"
] |
#############################################################################
##
#W vspc.gi GAP library Thomas Breuer
##
##
#Y Copyright (C) 1997, Lehrstuhl D für Mathematik, RWTH Aachen, Germany
#Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland
#Y... | GAP | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/GAP/vspc.gi | [
"MIT"
] |
" Vim filetype plugin file (GUI menu and folding)
" Language: Debian control files
" Maintainer: Debian Vim Maintainers
" Former Maintainer: Pierre Habouzit <madcoder@debian.org>
" Last Change: 2018-01-28
" URL: https://salsa.debian.org/vim-team/vim-debian/blob/master/ftplugin/debcontrol.vim
" Do th... | VimL | 5 | uga-rosa/neovim | runtime/ftplugin/debcontrol.vim | [
"Vim"
] |
fileFormatVersion: 2
guid: 8a2f5b990568dc64583685ce952a3370
timeCreated: 1510222436
licenseType: Free
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:
| Unity3D Asset | 1 | shunfy/ET | Unity/Assets/link.xml.meta | [
"MIT"
] |
BaltimoreNew York2010-10-20-30.01064
BaltimoreNew York2010-10-2023.01142
BaltimoreNew York2010-10-206.01599
ChicagoNew York2010-10-2042.0361
ChicagoNew York2010-10-2024.0897
ChicagoNew York2010-10-2015.01531
ChicagoNew York2010-10-20-6.01610
ChicagoNew York2010-10-20-2.03198
BaltimoreNe... | Groff | 0 | OlegPt/spark | sql/hive/src/test/resources/data/files/flights_tiny.txt.1 | [
"Apache-2.0"
] |
/*
* This file is part of the FOSHttpCache package.
*
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
sub fos_purge_recv {
if (req.request == "PURGE") {
if (... | VCL | 4 | PeerJ/FOSHttpCache | resources/config/varnish-3/fos_purge.vcl | [
"MIT"
] |
#
# program needs:
# testing of trexcertp failure when 99999999
# add dbmaster (snetsta, schanloc) to descriptor to $tmpwf
#
use Getopt::Std ;
use strict ;
use Datascope ;
use archive;
our ($opt_v,$opt_V,$opt_d,$opt_n);
{ # Main program
my ($starttime,$endtime,$stime,$etim... | XProc | 4 | jreyes1108/antelope_contrib | bin/usarray/build_baler_data/build_baler_data.xpl | [
"BSD-2-Clause",
"MIT"
] |
dog = (| parent* = animal |)
| Self | 0 | LaudateCorpus1/RosettaCodeData | Task/Inheritance-Single/Self/inheritance-single-2.self | [
"Info-ZIP"
] |
(ns hu.test.number
(:require
[assert :refer [equal deep-equal]]
[hu.lib.number :as _]))
(suite :max
(fn []
(test :basic
(fn []
(equal (.max _ 2, 4, 8) 8)
(equal (.max _ 0.1 0.95) 0.95)))))
(suite :max
(fn []
(test :basic
(fn []
(equal (.min _ 2, 4, 8) 2)
... | wisp | 4 | h2non/hu | test/number.wisp | [
"MIT"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M11,10c0,-2 0.9... | XML | 3 | Imudassir77/material-design-icons | android/social/sports_baseball/materialiconstwotone/black/res/drawable/twotone_sports_baseball_20.xml | [
"Apache-2.0"
] |
#!/usr/bin/env bash
set -ex
source shared.sh
tar xJf curl.tar.xz
mkdir curl-build
cd curl-build
hide_output ../curl-*/configure \
--prefix=/rustroot \
--with-ssl=/rustroot \
--disable-sspi \
--disable-gopher \
--disable-smtp \
--disable-smb \
--disable-imap \
--disable... | Shell | 4 | ohno418/rust | src/ci/docker/host-x86_64/dist-x86_64-linux/build-curl.sh | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
table.table.components-table
tr
th(colspan=3) Results: #{components.length}
tr
th Name
th Description
th Version
th
for component in components
tr
td= component.system + "." + component.name
td.body-row #{component.description}
td #{component.version.major}.#{compon... | Jade | 3 | cihatislamdede/codecombat | app/templates/editor/level/component/table.jade | [
"CC-BY-4.0",
"MIT"
] |
23,23
2A,2A
30,39
A9,A9
AE,AE
203C,203C
2049,2049
2122,2122
2139,2139
2194,2199
21A9,21AA
231A,231B
2328,2328
23CF,23CF
23E9,23F3
23F8,23FA
24C2,24C2
25AA,25AB
25B6,25B6
25C0,25C0
25FB,25FE
2600,2604
260E,260E
2611,2611
2614,2615
2618,2618
261D,261D
2620,2620
2622,2623
2626,2626
262A,262A
262E,262F
2638,263A
2640,2640
... | Component Pascal | 0 | jaynetics/character_set | lib/character_set/predefined_sets/emoji.cps | [
"MIT"
] |
474
0 0.584116549620417
1 -1.727351036038e-09
2 1.40169457811873e-09
3 0.0136155137529634
4 0.0197089348727651
5 -0.0297324953045878
6 0.591751625720877
7 1.77293249764392e-09
8 -1.30909076556451e-09
9 7.28865879118253e-06
10 -0.00742911537266741
11 0.0491283439203354
12 0.589385624089821
13 -1.10860542462996e-14
14 1.... | IDL | 0 | ricortiz/OpenTissue | demos/data/dlm/474/b.dlm | [
"Zlib"
] |
unique template features/pre_host_param/config;
| Pan | 0 | ned21/aquilon | tests/broker/data/utsandbox/aquilon/features/pre_host_param/config.pan | [
"Apache-2.0"
] |
digraph digest {
bgcolor="transparent";
begin [label=start, color="#deeaee", style="filled"];
newed [label=newed, fontcolor="#c94c4c", style="solid"];
initialised [label=initialised, fontcolor="#c94c4c"];
updated [label=updated, fontcolor="#c94c4c"];
finaled [label="finaled", fontcolor="#c94c4c... | Graphviz (DOT) | 4 | pmesnier/openssl | doc/life-cycles/digest.dot | [
"Apache-2.0"
] |
package jadx.core.dex.visitors.typeinference;
import jadx.core.dex.instructions.args.ArgType;
/**
* 'Dynamic' type bound allows to use requested and not yet applied types
* from {@link TypeUpdateInfo} for more precise restrictions
*/
public interface ITypeBoundDynamic extends ITypeBound {
/**
* This method wil... | Java | 4 | DSYliangweihao/jadx | jadx-core/src/main/java/jadx/core/dex/visitors/typeinference/ITypeBoundDynamic.java | [
"Apache-2.0"
] |
Extension { #name : #GtPharoMethodTraitOrigin }
{ #category : #'*GToolkit-Extensions' }
GtPharoMethodTraitOrigin >> gtSourceFor: aView [
<gtView>
^ aView forward
title: 'Source';
priority: 10;
object: [ method ];
view: #gtSourceFor:
]
| Smalltalk | 3 | feenkcom/gtoolk | src/GToolkit-Extensions/GtPharoMethodTraitOrigin.extension.st | [
"MIT"
] |
print "Goodbye World!" # Newlines do not occur unless we embed them
end
| Parrot Assembly | 0 | LaudateCorpus1/RosettaCodeData | Task/Hello-world-Newline-omission/PASM/hello-world-newline-omission.pasm | [
"Info-ZIP"
] |
:- set_prolog_flag(double_quotes,codes).
:- object(swi_fcompiler).
:- uses(user,[atomic_list_concat/2,delete_file/1,exists_file/1,nb_delete/1,nb_getval/2,nb_setval/2,put/1,tell/1,telling/1,told/0,writeln/1]).
:- uses(swi_bcompiler,[cc/2,cc_bbuiltins/1,compile_bin/2]).
:- uses(swi_db,[db_dynamic/2,db_is_dynamic/2]).... | Logtalk | 3 | PaulBrownMagic/logtalk3 | tools/wrapper/psrc/swi_fcompiler.lgt | [
"Apache-2.0"
] |
--TEST--
Test array_reverse() function : basic functionality - simple array for 'array' argument
--FILE--
<?php
/*
* Testing array_reverse() by giving a simple array for $array argument
*/
echo "*** Testing array_reverse() : basic functionality ***\n";
// Initialise the array
$array = array("a", "green", "red", 'blu... | PHP | 5 | NathanFreeman/php-src | ext/standard/tests/array/array_reverse_basic1.phpt | [
"PHP-3.01"
] |
(import email)
(import pytz)
(import imaplib)
(import datetime)
(require processor.utils.macro)
(import [processor.storage [get-storage]])
(defn decode-header [text]
(setv decoded (email.header.decode_header text))
(setv parts (list (genexpr (if (isinstance part str)
part
... | Hy | 4 | svetlyak40wt/python-processor | src/processor/sources/imap.hy | [
"BSD-2-Clause"
] |
*** Settings ***
Resource libdoc_resource.robot
Test Template Library Should Have No Init
*** Test Cases ***
New Style Python Class With No Init
NewStyleNoInit.py
Old Style Python Class With No Argument Init
no_arg_init.py
*** Keywords ***
Library Should Have No Init
[Arguments] ${library... | RobotFramework | 4 | rdagum/robotframework | atest/robot/libdoc/no_inits.robot | [
"ECL-2.0",
"Apache-2.0"
] |
it("should set correct options on js files", function() {
expect(require("./loader!./index.js")).toEqual({
minimize: true,
jsfile: true
});
});
it("should set correct options on other files", function() {
expect(require("./loader!./txt.txt")).toEqual({
minimize: true
});
});
| JavaScript | 3 | 1shenxi/webpack | test/configCases/plugins/loader-options-plugin/index.js | [
"MIT"
] |
<script>
alert('文档已更换至 docs.rsshub.app,将自动重定向到新的文档页');
window.location.href = 'https://docs.rsshub.app';
</script> | HTML | 2 | magicLaLa/RSSHub | assets/index.html | [
"MIT"
] |
#!../../parrot
# Copyright (C) 2001-2010, Parrot Foundation.
=head1 NAME
postalcodes.pir - Show info about a postal code
=head1 SYNOPSIS
% parrot postalcodes.pir <postal>
=head1 DESCRIPTION
Given a postal code (e.g. '06382'), print some information about various
places with that code from around the world.
=... | Parrot Internal Representation | 5 | winnit-myself/Wifie | examples/json/postalcodes.pir | [
"Artistic-2.0"
] |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
- Copyright (c) 2014 3 Round Stones Inc., Some 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.ap... | XProc | 4 | jimmccusker/callimachus | webapp/pipelines/markdown-view.xpl | [
"Apache-2.0",
"BSD-3-Clause"
] |
=head1 TITLE
Stream;Coroutine - Stream library coroutine class
=head1 VERSION
version 0.1
=head1 SYNOPSIS
please see F<examples/streams/Coroutine.pir>
=head1 DESCRIPTION
TBD
=head1 METHODS
=over 4
=cut
.sub onload :load :anon
.local pmc base
.local pmc coro
.local int i
$P0 = get_class ['St... | Parrot Internal Representation | 4 | winnit-myself/Wifie | runtime/parrot/library/Stream/Coroutine.pir | [
"Artistic-2.0"
] |
Strict
Import MaxGui.Drivers
Import "PNGHeader.bmx"
Incbin "bmxlogo.png"
Type TAR
Field width:Int
Field height:Int
Function Create:TAR( width:Int , height:Int )
Local temp:TAR = New TAR
temp.width = width
temp.height = height
Return temp
EndFunction
Method ToString:String()
Return width + ":" + heigh... | BlitzMax | 4 | jabdoa2/blitzmax | samples/maxgui/guilauncher/TLauncher.bmx | [
"Zlib"
] |
# ExpressionEngine CMS basic command completion
_eecms_console () {
echo "php $(find . -maxdepth 3 -mindepth 1 -name 'eecms' -type f | head -n 1)"
}
_eecms_get_command_list () {
`_eecms_console` | sed "/Available commands/,/^/d" | sed "s/[[:space:]].*//g"
}
_eecms () {
compadd `_eecms_get_command_list`
}... | Shell | 3 | chensanle/ohmyzsh | plugins/eecms/eecms.plugin.zsh | [
"MIT"
] |
using System;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.Text;
using JetBrains.Util;
%%
%unicode
%init{
currentTokenType = null;
currentLineIndent = 0;
flowLevel = 0;
%init}
%namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing
%class YamlLexerGenerated
%implements IIncrementalLexer
%function _l... | Lex | 3 | PotterDai/resharper-unity | resharper/resharper-yaml/src/Psi/Parsing/Yaml.lex | [
"Apache-2.0"
] |
Readable: interface {
read: func -> String
}
Writeable: interface {
write: func(what: String)
}
Foo: class implements Readable, Writeable {
_internal: String
init: func
read: func -> String { _internal }
write: func(what: String) { _internal = what }
}
main: func {
foo := Foo new()
... | ooc | 4 | shamanas/rock | test/compiler/interfaces/multiple-interface-implementation.ooc | [
"MIT"
] |
using Uno;
using Uno.Threading;
using Uno.Testing;
using Uno.Collections;
using Fuse.Reactive;
using Fuse.Scripting;
using Fuse.Controls;
using FuseTest;
namespace Fuse.Scripting.Test
{
public class ReadonlyPropertyPanel : Panel
{
static ReadonlyPropertyPanel()
{
ScriptClass.Register(
typeof(ReadonlyProp... | Uno | 4 | helilabs/fuselibs | Source/Fuse.Scripting/Tests/ScriptClass/ScriptReadonlyProperty.Test.uno | [
"MIT"
] |
/**
* This file is part of the Phalcon Framework.
*
* (c) Phalcon Team <team@phalcon.io>
*
* For the full copyright and license information, please view the LICENSE.txt
* file that was distributed with this source code.
*/
namespace Phalcon\Storage\Serializer;
use InvalidArgumentException;
use Phalcon\Storage... | Zephir | 3 | nonli/cphalcon | phalcon/Storage/Serializer/Php.zep | [
"BSD-3-Clause"
] |
include "csharp.grm"
include "bom.grm"
redefine program
[method_declaration]
| [constructor_declaration]
end define
function main
match [program]
P [program]
end function
| TXL | 2 | pseudoPixels/SourceFlow | txl_features/txl_features/cs/isfunction.txl | [
"MIT"
] |
//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/Poly/PolyRect.cw | [
"Apache-2.0"
] |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Graphics.Containers... | C# | 5 | CarlosBendo/Osu | osu.Game/Overlays/Profile/Sections/BeatmapMetadataContainer.cs | [
"MIT"
] |
(* The package sedlex is released under the terms of an MIT-like license. *)
(* See the attached LICENSE file. *)
(* Copyright 2005, 2013 by Alain Frisch and LexiFi. *)
external ( .!()<- ) : int array -> int -> int -> unit = "%array_unsafe_set"
external ( .!... | OCaml | 4 | zhangmaijun/flow | src/third-party/sedlex/flow_sedlexing.ml | [
"MIT"
] |
ISpec = Origin mimic
use("ispec/conditions")
use("ispec/formatter")
use("ispec/reporter")
use("ispec/expectations")
use("ispec/extendedDefaultBehavior")
use("ispec/describeContext")
use("ispec/example")
use("ispec/property_example")
use("ispec/runner")
use("ispec/mocking")
use("ispec/comparisonCompactor")
ISpec ispe... | Ioke | 4 | olabini/ioke | lib/ioke/ispec.ik | [
"ICU",
"MIT"
] |
2016-04-06 11:47:10 - fs0ciety (~whoami@c27-253-43-52.thoms4.vic.optusnet.com.au) has joined #archlinux
2016-04-06 11:47:10 [11:47]
2016-04-06 11:47:10 Topic for #archlinux is "Welcome to Arch Linux World Domination, Inc. <+> Channel stats at <https://theos.kyriasis.com/~kyrias/stats/archlinux.html> Contact demize to... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.freenode.#archlinux.weechatlog | [
"MIT"
] |
"""Permission constants."""
CAT_ENTITIES = "entities"
CAT_CONFIG_ENTRIES = "config_entries"
SUBCAT_ALL = "all"
POLICY_READ = "read"
POLICY_CONTROL = "control"
POLICY_EDIT = "edit"
| Python | 3 | domwillcode/home-assistant | homeassistant/auth/permissions/const.py | [
"Apache-2.0"
] |
'' =================================================================================================
''
'' File....... jm_rgbx_pixel_demo.spin
'' Purpose.... Smart pixel control demo
'' Author..... Jon "JonnyMac" McPhalen
'' Copyright (c) 2014-2017 Jon McPhalen
'' -- see below fo... | Propeller Spin | 5 | deets/propeller | libraries/community/p1/All/Pixel Driver (WS28xx & SK68xx)/jm_rgbx_pixel_demo_-_Archive__[Date_2017.10.26__Time_11.26]/jm_rgbx_pixel_demo.spin | [
"MIT"
] |
- view: sessions
derived_table:
sql: |
WITH prep AS (
SELECT
session_id,
-- time
MIN(page_view_start) AS session_start,
MAX(page_view_end) AS session_end,
MIN(page_view_start_local) AS session_start_local,
MAX(page_view_end_local) AS... | LookML | 5 | chuwy/snowplow-build-test | 5-data-modeling/web-model/looker/web-block-old-lookml/sessions.view.lookml | [
"Apache-2.0"
] |
t gpio 43 sw out0
sleep X
t gpio 43 sw out1
t gpio 43 sw out0
d:\autoexec.ash
reboot yes
| AGS Script | 1 | waltersgrey/autoexechack | MegaLapse/CustomInterval/Hero3White/autoexec.ash | [
"MIT"
] |
package org.zstack.core.aspect;
import org.apache.commons.codec.binary.Base64;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.zstack.core.thread.SyncThreadSignature;
import org.zstack.utils.Utils;
import org.zstack.utils.logging.CLogger;
import org.springframework.be... | AspectJ | 4 | qianfei11/zstack | core/src/main/java/org/zstack/core/aspect/DecryptAspect.aj | [
"Apache-2.0"
] |
#define TORCH_ASSERT_NO_OPERATORS
#include <limits>
#include <ATen/native/UnaryOps.h>
#include <ATen/native/cuda/Loops.cuh>
#include <ATen/AccumulateType.h>
#include <ATen/Dispatch.h>
#include <ATen/native/DispatchStub.h>
#include <ATen/native/TensorIterator.h>
#include <ATen/native/cuda/Math.cuh>
namespace at { names... | Cuda | 4 | xiaohanhuang/pytorch | aten/src/ATen/native/cuda/UnaryGeometricKernels.cu | [
"Intel"
] |
[
'pkg_without_hook_for_pkg.sub1.sub11',
]
| TeX | 0 | hawkhai/pyinstaller | tests/functional/logs/test_pkg_without_hook_for_pkg.toc | [
"Apache-2.0"
] |
#world[zoom>3] {
text-name:"[COUNTRY]";
text-face-name:"DejaVu Sans Book";
text-fill:#000;
text-size:9;
}
#world[zoom=5] { text-size:10; }
#world[zoom=6] { text-size:11; }
#world[zoom=7] { text-size:12; }
| CartoCSS | 3 | nimix/carto | test/rendering/text_property_overrides.mss | [
"Apache-2.0"
] |
/* ------------------------------------------
LAYOUTS
------------------------------------------ */
* {
box-sizing: border-box;
}
img {
max-width: 100%;
}
body {
background: #e9e9e9;
font: 15px 'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
color: #111;
line-height: 180%;
l... | MTML | 3 | movabletype/mt-theme-jungfrau | themes/jungfrau/templates/styles.mtml | [
"MIT"
] |
namespace OpenAPI
open StoreApiHandlerParams
open System
open Microsoft.AspNetCore.Http
module StoreApiServiceInterface =
//#region Service interface
type IStoreApiService =
abstract member DeleteOrder : unit -> DeleteOrderResult
abstract member GetInventory : unit -> GetInventoryResult
... | F# | 3 | MalcolmScoffable/openapi-generator | samples/server/petstore/fsharp-functions/OpenAPI/src/api/StoreApiServiceInterface.fs | [
"Apache-2.0"
] |
#!/bin/gawk -f
## Copyright (C) 2012 Red Hat, Inc.
##
## This file is part of elfutils.
##
## This file 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 3 of the License, or
## (at your option... | Awk | 3 | zipated/src | third_party/elfutils/src/config/known-dwarf.awk | [
"BSD-3-Clause"
] |
(ns lt.objs.search
"Provide search and replace functionality across files"
(:require [lt.object :as object]
[lt.objs.proc :as proc]
[lt.objs.tabs :as tabs]
[lt.objs.files :as files]
[lt.objs.command :as cmd]
[lt.objs.context :as ctx]
[lt.objs.n... | Clojure | 5 | luigigubello/LightTable | src/lt/objs/search.cljs | [
"MIT"
] |
/*
Copyright © 2011, 2012 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, ... | Opa | 5 | Machiaweliczny/oppailang | lib/stdlib/components/login/login.opa | [
"MIT"
] |
## Vulnerable Application
This module exploits a buffer overflow in Adobe Reader and Adobe Acrobat. Affected versions include < 7.1.1, < 8.1.3, and < 9.1.
By creating a specially crafted pdf that a contains malformed `Collab.getIcon()` call, an attacker may be able to execute arbitrary code.
Link to vulnerable softwa... | Markdown | 2 | OsmanDere/metasploit-framework | documentation/modules/exploit/windows/fileformat/adobe_geticon.md | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
.section
.list-group-flush
div (:class "list-group-item border-0")
.title "Lazy"
.container-fluid
.row
.col
.lang Java
pre.code $ code (@insert ../../code/java/delegated-properties/lazy.java) $ :class java
.col
.lang Kotlin
pr... | Cirru | 3 | driver733/kot | cirru/delegated-properties.cirru | [
"MIT"
] |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | C | 3 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/libnode-v10.15.3/deps/openssl/openssl/crypto/cast/c_skey.c | [
"Apache-2.0"
] |
// run-pass
fn with_closure<F>(f: F) -> u32
where F: FnOnce(&u32, &u32) -> u32
{
f(&22, &44)
}
fn main() {
let z = with_closure(|x, y| x + y).wrapping_add(1);
assert_eq!(z, 22 + 44 + 1);
}
| Rust | 4 | Eric-Arellano/rust | src/test/ui/functions-closures/closure-expected-type/supply-nothing.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
open class A {
open fun f(c: C<Any?>) {}
} | Groff | 3 | qussarah/declare | jps-plugin/testData/incremental/classHierarchyAffected/overrideExplicit/A.kt.new.1 | [
"Apache-2.0"
] |
set title 'Iteration 1'
set ylabel 'Time in ms'
set xlabel 'Batch number'
set grid # Show the grid
set term png
set output 'iteration_1.png'
plot 'iteration_1.csv' title ''
| Gnuplot | 4 | epk/napkin-math | newsletter/14-syncing/graph.gnuplot | [
"MIT"
] |
%%%
%%% Authors:
%%% Kenny Chan <kennytm@gmail.com>
%%%
%%% Copyright:
%%% Kenny Chan, 2012
%%%
%%% Last change:
%%% $Date$ by $Author$
%%% $Revision$
%%%
%%% This file is part of Mozart, an implementation
%%% of Oz 3
%%% http://www.mozart-oz.org
%%%
%%% See the file "LICENSE" or
%%% http://www.mozart-oz.... | Oz | 3 | Ahzed11/mozart2 | lib/main/base/VirtualByteString.oz | [
"BSD-2-Clause"
] |
extends Reference
enum Error {
OK = 0,
EMPTY_IMAGE = 1,
BAD_IMAGE_FORMAT = 2
}
var little_endian = preload('./little_endian.gd').new()
var lzw = preload('./gif-lzw/lzw.gd').new()
var converter = preload("./converter.gd")
var last_color_table := []
var last_transparency_index := -1
# File data and Header
var da... | GDScript | 5 | triptych/Pixelorama | addons/gdgifexporter/exporter.gd | [
"MIT"
] |
size: 2048px 1024px;
dpi: 240;
limit-x: 0 400;
limit-y: 0 200;
axes {
position: bottom left;
label-placement-y: subdivide(4);
}
points {
data-x: csv(test/testdata/gauss2d.csv x);
data-y: csv(test/testdata/gauss2d.csv y);
}
| CLIPS | 3 | asmuth-archive/travistest | test/examples/charts_basic_scatterplot.clp | [
"Apache-2.0"
] |
.Background {
position: absolute;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: center;
padding: 1rem;
background-color: var(--color-modal-background);
overflow: auto;
}
.Dialog {
position: relative;
z-index: 3;
margin: 0 0.25rem;
w... | CSS | 3 | GBKstc/react-analysis | packages/react-devtools-shared/src/devtools/views/ModalDialog.css | [
"MIT"
] |
---
layout: post
title: "Composing Specifications: Red Black Trees"
date: 2014-04-05 16:12
author: Ranjit Jhala
published: false
comments: true
external-url:
categories: measures, abstract-refinements, red-black
---
TODO: **Conjoining Specifications** lamport.
TODO: composing, and, for example,
TODO: red-black tr... | Literate Haskell | 5 | curiousleo/liquidhaskell | docs/blog/todo/red-black-intro.lhs | [
"MIT",
"BSD-3-Clause"
] |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!--
// Program: game - by BlatSoft
// 05/2017 version: 0.7.0
// start.html
// This page is first screen on game start - used to set up game/teams/etc ready for play
// - Called from package.json
-->
<head>
<title>issue5943-mac-d... | HTML | 4 | frank-dspeed/nw.js | test/sanity/issue5943-mac-dblite-module-with-node8-crash/start.html | [
"MIT"
] |
/**
* 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.
*/
import { promisify } from 'util'
import { parse } from '../../swc'
import { buildExports, isNextBuiltinClientComponent } from './... | TypeScript | 5 | nazarepiedady/next.js | packages/next/build/webpack/loaders/next-flight-client-loader.ts | [
"MIT"
] |
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
// Public API for render
export {Renderer2, RendererFactory2} from './render/api';
export {RendererStyleFlags2, Rende... | TypeScript | 3 | John-Cassidy/angular | packages/core/src/render.ts | [
"MIT"
] |
--TEST--
Bug #28213 (crash in debug_print_backtrace in static methods)
--FILE--
<?php
class FooBar { static function error() { debug_print_backtrace(); } }
set_error_handler(array('FooBar', 'error'));
include('foobar.php');
?>
--EXPECTF--
#0 %s(%d): FooBar::error(2, 'include(foobar....', '%s', 4)
#1 %s(%d): include()
#... | PHP | 3 | NathanFreeman/php-src | tests/lang/bug28213.phpt | [
"PHP-3.01"
] |
@comment{-*- Dictionary: bld:scribe/hem/hem; Mode: spell; Package: Hemlock -*-}
@chap[Special Modes]
@section[Dired Mode]
@label[dired]
@index[directory editing]
@hemlock provides a directory editing mechanism. The user can flag files and
directories for deletion, undelete flagged files, and with a keystroke read in... | CartoCSS | 4 | digikar99/ccl | cocoa-ide/hemlock/doc/user/special-modes.mss | [
"Apache-2.0"
] |
-- The user_version should match the "000X" from the file name
-- Ex: 0001_create_notebooks_table should have a user_verison of 1
PRAGMA user_version=2;
ALTER TABLE test_table_1 RENAME TO _test_table_1_old;
CREATE TABLE test_table_1 (
org_id TEXT NOT NULL PRIMARY KEY,
created_at TIMESTAMP,
updated_at TIMESTAMP
... | SQL | 4 | ldwformat/influxdb | sqlite/test_migrations/0002_rename_test_table_id_1.sql | [
"MIT"
] |
extends Button
# This script shows how to save data using the JSON file format.
# JSON is a widely used file format, but not all Godot types can be
# stored natively. For example, integers get converted into doubles,
# and to store Vector2 and other non-JSON types you need `var2str()`.
# The root game node (so we can ... | GDScript | 5 | jonbonazza/godot-demo-projects | loading/serialization/save_load_json.gd | [
"MIT"
] |
.some-class {
color: hotpink;
}
| CSS | 2 | 1shenxi/webpack | examples/loader/test.css | [
"MIT"
] |
#include "pch.h"
#include "installer.h"
#include <common/version/version.h>
#include <common/utils/MsiUtils.h>
#include <common/utils/os-detect.h>
#include "utils/winapi_error.h"
namespace // Strings in this namespace should not be localized
{
const wchar_t DONT_SHOW_AGAIN_RECORD_REGISTRY_PATH[] = L"delete_previo... | C++ | 4 | tameemzabalawi/PowerToys | src/common/updating/installer.cpp | [
"MIT"
] |
Sub init()
m.RowList = m.top.findNode("RowList")
m.Title = m.top.findNode("Title")
m.Description = m.top.findNode("Description")
m.Poster = m.top.findNode("Poster")
m.RowList.setFocus(true)
m.LoadTask = CreateObject("roSGNode", "FeedParser") 'Create XML parsing node task
m.LoadTask.observe... | Brightscript | 5 | khangh/samples | certification/deep-Linking-samples-master/Basic_DeepLink_roInput_Sample/components/HomeScene.brs | [
"MIT"
] |
syntax = "proto3";
package tensorflow;
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
// Some of the data from AllocatorStats
message MemAllocatorStats {
int64 num_allocs = 1;
int64 bytes_in_use = 2;
int64 peak_bytes_in_use = 3;
int64 largest_allo... | Protocol Buffer | 3 | yage99/tensorflow | tensorflow/core/protobuf/bfc_memory_map.proto | [
"Apache-2.0"
] |
Library: environment-project-wizard
Author: Jason Trenouth, Hugh Greene
Target-Type: dll
Files: library
module
utilities
choice-pane
repository-objects
repository
project-wizard
interchange-files
project-description
Major-Version: 2
Minor-Version: 1
... | Dylan | 0 | kryptine/opendylan | sources/environment/project-wizard/environment-project-wizard.lid | [
"BSD-2-Clause"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.