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 |
|---|---|---|---|---|---|
KIDS Distribution saved on Jul 14, 2021@12:40:17
Test Patch SAMI*18.0*12 SEQ #12 T3 (1.18.0.12-t3+i12)
**KIDS**:SAMI*18.0*12^
**INSTALL NAME**
SAMI*18.0*12
"BLD",11510,0)
SAMI*18.0*12^SAMI^0^3210714^n
"BLD",11510,4,0)
^9.64PA^311.14^2
"BLD",11510,4,311.12,0)
311.12
"BLD",11510,4,311.12,222)
y^y^f^^^^n
"BLD",11510,4,31... | Genshi | 5 | OSEHRA/SAMI-VAPALS-ELCAP | dist/18-12/t3/sami-1.18.0.12-t3-i12.kid | [
"Apache-2.0"
] |
"""Collection of utilities for command-line interfaces and console scripts."""
import os
import re
numberAddedRE = re.compile(r"#\d+$")
def makeOutputFileName(input, outputDir=None, extension=None, overWrite=False):
"""Generates a suitable file name for writing output.
Often tools will want to take a file,... | Python | 5 | 13rianlucero/CrabAgePrediction | crabageprediction/venv/Lib/site-packages/fontTools/misc/cliTools.py | [
"MIT"
] |
module Checker
function truth = -> 42
function incr = |x| -> x + 1
| Golo | 2 | golo-lang/golo-jmh-benchmarks | src/test/resources/snippets/golo/check.golo | [
"Apache-2.0"
] |
$TTL 300
@ IN A 127.0.0.1
IN A 127.0.0.3
a IN A 127.0.0.2
b IN CNAME c.domain.tld.
d IN A 127.0.0.4
e IN CNAME f.domain.tld.
ssub IN A 127.0.0.7
j.ssub IN A 127.0.0.8
k.ssub ... | DNS Zone | 3 | IT-Sumpfling/dnscontrol | pkg/js/parse_tests/031-dextendnames/domain.tld.zone | [
"MIT"
] |
@ 3600 IN SOA ns1.fogflow.io. admin.fogflow.io. (
2017042745 ; serial
7200 ; refresh (2 hours)
3600 ; retry (1 hour)
1209600 ; expire (2 weeks)
... | Io | 3 | jason-fox/fogflow | docker/core/https/local/dns/db.fogflow.io | [
"BSD-3-Clause"
] |
%!PS-Adobe-3.0
%%Creator: graphviz version 2.38.0 (20140413.2041)
%%Title: G
%%Pages: (atend)
%%BoundingBox: (atend)
%%EndComments
save
%%BeginProlog
/DotDict 200 dict def
DotDict begin
/setupLatin1 {
mark
/EncodingVector 256 array def
EncodingVector 0
ISOLatin1Encoding 0 255 getinterval putinterval
EncodingVector 4... | PostScript | 3 | ksemer/snap | test/graphviz/base_ungraph_Neato.ps | [
"BSD-3-Clause"
] |
!include LogicLib.nsh
!include Memento.nsh
Name Memento
OutFile Memento.exe
XPStyle on
ShowInstDetails show
Page components
Page instfiles
RequestExecutionLevel user
# settings
!define MEMENTO_REGISTRY_ROOT HKCU
!define MEMENTO_REGISTRY_KEY "Software\NSIS\Memento Test"
# restore
Function .onInit
${If} ${Cmd... | NSIS | 4 | vbillet/Torque3D | Engine/bin/tools/nsis/app/Examples/Memento.nsi | [
"MIT"
] |
#pragma once
#include "envoy/common/time.h"
#include "envoy/stats/histogram.h"
#include "envoy/stats/stats.h"
#include "envoy/stats/timespan.h"
namespace Envoy {
namespace Stats {
/**
* An individual timespan that flushes its measured value to the histogram on completion.
* The start time is captured on constructi... | C | 5 | dcillera/envoy | source/common/stats/timespan_impl.h | [
"Apache-2.0"
] |
<html>
<head>
<title>Third Modal</title>
</head>
<body>
<p>Modal dialog sample</p>
<div>
</div>
</body>
</html> | HTML | 1 | fracturesfei/angulardemo | node_modules/selenium-webdriver/lib/test/data/modal_dialogs/modal_3.html | [
"MIT"
] |
echo [1 4] | length
echo [2 3 5] | length
| Nu | 2 | arbaregni/nushell | tests/fixtures/formats/script_multiline.nu | [
"MIT"
] |
30 5 0 0
0 1 9 16 18 2 3 4 5 20 1 25 [0] [0] [0] [0] [0] [0] [0] [0] [0]
1 1 1 10 [7]
2 1 1 6 [3]
3 1 2 16 31 [-3] [7]
4 1 1 24 [2]
5 1 1 15 [0]
6 1 2 7 9 [6] [14]
7 1 1 22 [-6]
8 1 1 13 [-1]
9 1 1 19 [11]
10 1 3 29 7 17 [-1] [8] [8]
11 1 1 8 [6]
12 1 1 21 [-2]
13 1 3 22 28 30 [-12] [12] [8]
14 1 3 26 21... | Eagle | 0 | klorel/or-tools | examples/data/rcpsp/single_mode_max_delay/sm_j30/psp17.sch | [
"Apache-2.0"
] |
<VirtualHost *:80>
ServerAdmin webmaster@localhost
Alias /Microsoft-Server-ActiveSync /var/www/html/index.php
AliasMatch (?i)/Autodiscover/Autodiscover.xml "/var/www/html/autodiscover/autodiscover.php"
DocumentRoot /var/www/html
<Directory /var/www/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverr... | ApacheConf | 3 | camillebaronnet/zimbra-activesync-docker | default.vhost | [
"MIT"
] |
%!PS-Adobe-3.0
% Produced by xpdf/pdftops 3.02
%%Creator: Microsoft\256 Office PowerPoint\256 2007
%%Title: Slide 1
%%LanguageLevel: 2
%%DocumentSuppliedResources: (atend)
%%DocumentMedia: plain 612 792 0 () ()
%%BoundingBox: 0 0 612 792
%%Pages: 1
%%EndComments
%%BeginDefaults
%%PageMedia: plain
%%EndDefaults
%%BeginP... | PostScript | 0 | jhh67/chapel | doc/rst/developer/implementation/compilerOverview/AST.ps | [
"ECL-2.0",
"Apache-2.0"
] |
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cargo git-r3
CARGO_FETCH_CRATES=yes
DESCRIPTION="A modern editor with a backend written in Rust"
HOMEPAGE="https://xi-editor.github.io/xi-editor/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE... | Gentoo Ebuild | 4 | gentoo/gentoo-rust | app-editors/xi-core/xi-core-9999.ebuild | [
"BSD-3-Clause"
] |
(turtle_doc) @scope
(subject
[
(prefixed_name)
(iri_reference)
] @definition.var)
[
(prefixed_name)
(iri_reference)
] @reference
| Scheme | 0 | yzia2000/nvim-treesitter | queries/turtle/locals.scm | [
"Apache-2.0"
] |
import Head from 'next/head'
import { Global } from '@emotion/react'
import xw from 'xwind'
function App({ Component, pageProps }) {
return (
<>
<Head>
<title>Tailwindcss Emotion Example</title>
</Head>
<Global
//tailwind base styles + keyframes + ring and shadow classes variabl... | JavaScript | 4 | blomqma/next.js | examples/with-tailwindcss-emotion/pages/_app.js | [
"MIT"
] |
using System;
namespace Microsoft.Maui.Controls.Compatibility.Platform.Tizen.TV
{
public class TVShellRenderer : ShellRenderer
{
protected override INavigationDrawer CreateNavigationDrawer()
{
var drawer = new TVNavigationDrawer(Forms.NativeParent);
((IShellController)Element).AddFlyoutBehaviorObserver(dr... | C# | 3 | andres-gimenez/maui | src/Compatibility/Core/src/Tizen/Shell/TV/TVShellRenderer.cs | [
"MIT"
] |
\documentclass{article}
\usepackage{agda}
\usepackage{agdon}
\usepackage{bytefield}
\hypersetup{
pdftitle={Specification and (nearly complete) Proofs for Registers with Bounded Types},
pdfborder={0 0 0},
breaklinks=true}
\title{Specification and (nearly complete) Proofs for Regist... | Literate Agda | 5 | quahad/bounded-registers | proof/Bounded.lagda | [
"MIT"
] |
%!PS-Adobe-3.0 Resource-Encoding
%%Title: VIM-cp1257
%%Version: 1.0 0
%%EndComments
/VIM-cp1257[
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notde... | PostScript | 1 | uga-rosa/neovim | runtime/print/cp1257.ps | [
"Vim"
] |
include "java.grm"
#pragma -raw -width 32767
redefine program
[repeat programelement]
end define
define programelement
[token] [SP]
| [key] [SP]
end define
function main
replace [program]
P [program]
by
P
end function
| TXL | 2 | pseudoPixels/SourceFlow | txl_features/txl_features/java/token_stream.txl | [
"MIT"
] |
-- Copyright 2021 Stanford University, NVIDIA
--
-- 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 ... | Rouge | 4 | mmccarty/legion | language/tests/cuda/run_pass/argument_spill.rg | [
"Apache-2.0"
] |
from unittest.mock import MagicMock, patch
from django.db import DEFAULT_DB_ALIAS, connection, connections
from django.db.backends.base.base import BaseDatabaseWrapper
from django.test import SimpleTestCase, TestCase, skipUnlessDBFeature
from ..models import Square
class DatabaseWrapperTests(SimpleTestCase):
d... | Python | 5 | Lord-Elrond/django | tests/backends/base/test_base.py | [
"BSD-3-Clause",
"0BSD"
] |
//===--- ReferenceCounting.h ------------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | C | 5 | xjc90s/swift | include/swift/AST/ReferenceCounting.h | [
"Apache-2.0"
] |
//FILE: SetterTest.java
import lombok.AccessLevel;
import lombok.Setter;
import lombok.Getter;
@Getter @Setter
public class SetterTest {
private int age = 10;
private final String finalName = "zzz";
private boolean primitiveBoolean;
void test() {
setAge(12);
setPrimitiveBoolean(true... | Kotlin | 4 | Mu-L/kotlin | plugins/lombok/lombok-compiler-plugin/testData/compile/settersClassLevel.kt | [
"ECL-2.0",
"Apache-2.0"
] |
program Setup;
{
Inno Setup
Copyright (C) 1997-2020 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Setup program
}
{$SetPEFlags 1}
{$SETPEOSVERSION 6.1}
{$SETPESUBSYSVERSION 6.1}
{$WEAKLINKRTTI ON}
uses
SafeDLLPath in 'SafeDLLPath.pas',... | Pascal | 4 | mqt635/issrc | Projects/Setup.dpr | [
"FSFAP"
] |
using Ryujinx.Memory.Range;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace Ryujinx.Memory.WindowsShared
{
class EmulatedSharedMemoryWindows : IDisposable
{
private static readonly IntPtr InvalidHandleValue = new IntPtr(-1);
pr... | C# | 5 | BrandonAraya/Ryujinx | Ryujinx.Memory/WindowsShared/EmulatedSharedMemoryWindows.cs | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
ClassCount=1
ResourceCount=1
NewFileInclude1=#include "stdafx.h"
Class1=CPortView
LastClass=CPortView
LastTemplate=CFormView
Resource1=IDD_NODEVIEW
[DLG:IDD_NODEVIEW]
Type=1
Class=CPortView
ControlCount=12
Control1=IDC_STATIC,static,1342... | Clarion | 2 | CarysT/medusa | Tools/NodeBooleanPort/NodeBooleanPort.clw | [
"MIT"
] |
/*
* References:
* @parchedmind
* https://github.com/CylanceVulnResearch/osx_runbin/blob/master/run_bin.c
*
* @nologic
* https://github.com/nologic/shellcc
*/
#include <stdio.h>
#include <string.h>
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/dyld.h>
#include <sys/types.h>
#include <s... | C | 4 | OsmanDere/metasploit-framework | external/source/shellcode/osx/stager/main.c | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
using Uno;
using Uno.Collections;
using Uno.UX;
namespace Fuse
{
public enum Orientation
{
Horizontal,
Vertical
}
}
| Uno | 3 | mortend/fuse-studio | Source/CodeCompletion/Outracks.CodeCompletion.UXNinja.TestsCommon/TestData/Orientation.uno | [
"MIT"
] |
{
"cells": [
{
"cell_type": "markdown",
"id": "62e2337c",
"metadata": {},
"source": [
"#### Data Owner uploads the dataset on the domain\n",
"\n",
"- The user log into the domian\n",
"- The user loads the dataset to be uploaded into memory\n",
"- The user converts the data to tensors\... | Jupyter Notebook | 4 | vishalbelsare/PySyft | notebooks/course3/DO Uploads a Dataset.ipynb | [
"Apache-1.1"
] |
module Views.SilenceView.Types exposing (Model, SilenceViewMsg(..), initSilenceView)
import Browser.Navigation exposing (Key)
import Data.GettableAlert exposing (GettableAlert)
import Data.GettableSilence exposing (GettableSilence)
import Utils.Types exposing (ApiData(..))
type SilenceViewMsg
= SilenceFetched (A... | Elm | 4 | creganFL/alertmanager | ui/app/src/Views/SilenceView/Types.elm | [
"ECL-2.0",
"Apache-2.0"
] |
/*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "Game.h"
#include <LibGUI/Frame.h>
class BoardView final : public GUI::Frame {
C_OBJECT(BoardView);
public:
virtual ~BoardView() override;
void set_board(Game::Board const* board);
... | C | 4 | r00ster91/serenity | Userland/Games/2048/BoardView.h | [
"BSD-2-Clause"
] |
/**
*
*/
import Util;
import OpenApi;
import OpenApiUtil;
import EndpointUtil;
extends OpenApi;
init(config: OpenApi.Config){
super(config);
@endpointRule = '';
checkConfig(config);
@endpoint = getEndpoint('aiops', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
function getEndp... | Tea | 5 | aliyun/alibabacloud-sdk | aiops-20200806/main.tea | [
"Apache-2.0"
] |
// Do not use this; it is only for an example in the docs
contract MyToken {
event Transfer(address indexed from, address indexed to, uint amount);
mapping (address => uint256) _balances;
constructor(uint256 totalSupply) {
emit Transfer(address(0), msg.sender, totalSupply);
_balances[msg.... | Solidity | 4 | fusmanii/ethers.js | docs.wrm/api/contract/MyToken.sol | [
"MIT"
] |
concrete QuestionNep of Question = CatNep ** open ResNep, Prelude in {
flags optimize=all_subs ;
coding = utf8;
lin
QuestCl cl = {
s = \\t,p,qf =>
case qf of {
QDir => cl.s ! t ! p ! OQuest;
QIndir => "येदि" ++ cl.s ! t ! p ! ODir
}
} ;
... | Grammatical Framework | 3 | daherb/gf-rgl | src/nepali/QuestionNep.gf | [
"BSD-3-Clause"
] |
PUT /q=08aP8931Ltyl9nqyJvjMaRCOgDV3uONtAdHABjoZUG6KAP6h3Vh97O3GJjjovXYgNdrhxc7TriXoAmeehZMJx88EyhcPXO0f09Nvd128SZnxZ2r5jFDELkn26reKRysODSLBZLfjU3vxLzLXKWeFOFJKcZYRH9V7hC98DDS4ZsS7weUksBuK6m86aLNHHHB0Xbyxv1TiDbOWYIzKxV0eZKyk0CaDLDiR0CRuMOf4rwBeuHoMrumzafrFI5iL72ANQZmOvKdk1qQeXkRqEG11YU0kF7f1hSlmgiIgg5maWiBsA9sAg36IIXZMW... | HTTP | 0 | ashishmjn/gunicorn | tests/requests/valid/024.http | [
"MIT"
] |
// vim:syntax=javascript
class Main extends MovieClip {
var first : Boolean;
var col_mc_1: Column;
var col_mc_2: Column;
function onLoad() {
trace("onLoad");
first = true;
// This column should be visible, see Column for scaling.
attachMovie("column", "col_mc_1", getN... | ActionScript | 3 | Sprak1/ruffle | tests/tests/swfs/avm1/issue_2084/Main.as | [
"Apache-2.0",
"Unlicense"
] |
CREATE TABLE `tb_jhkrixchju` (
`col_prrcfbnwew` longtext,
`col_peqguxwzcy` smallint(202) NOT NULL DEFAULT '1',
`col_nhdlxtgtvs` char(1) CHARACTER SET utf8 DEFAULT NULL,
`col_vyizooodsa` longblob,
`col_hwmrzghead` longtext,
`col_adgnavqmhq` longtext,
`col_adwetrnlyu` bit(41) DEFAULT NULL,
`col_ypyzwlctxm... | SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/mysql_18.sql | [
"Apache-2.0"
] |
// UNSUPPORTED: OS=windows-msvc
// static library is not well supported yet on Windows
// REQUIRES: lld_lto
// For LTO, the linker dlopen()'s the libLTO library, which is a scenario that
// ASan cannot work in ("Interceptors are not working, AddressSanitizer is
// loaded too late").
// REQUIRES: no_asan
// RUN: %emp... | Swift | 4 | xjc90s/swift | test/Interpreter/llvm_link_time_opt.swift | [
"Apache-2.0"
] |
*** Settings ***
Library PositionalOnly.py
Force Tags require-py3.8
*** Test Cases ***
Normal usage
${result} = One argument arg
Should be equal ${result} ARG
${result} = Three arguments 1 2 3
Should be equal ${result} 1-2-3
${result} = With normal ... | RobotFramework | 4 | bhirsz/robotframework | atest/testdata/keywords/positional_only_args.robot | [
"ECL-2.0",
"Apache-2.0"
] |
-- @shouldFailWith DuplicateRoleDeclaration
module Main where
data A a = A
type role A nominal
type role A phantom
| PureScript | 2 | andys8/purescript | tests/purs/failing/DuplicateRoleDeclaration.purs | [
"BSD-3-Clause"
] |
=== Circuit Breaker: Spring Cloud Circuit Breaker With Sentinel & Configuring Sentinel Circuit Breakers
==== Default Configuration
To provide a default configuration for all of your circuit breakers create a `Customizer` bean that is passed a
`SentinelCircuitBreakerFactory` or `ReactiveSentinelCircuitBreakerFactory`.... | AsciiDoc | 4 | woshare/spring-cloud-alibaba | spring-cloud-alibaba-docs/src/main/asciidoc/circuitbreaker-sentinel.adoc | [
"Apache-2.0"
] |
class Fancy Package {
class Installer : Handler {
"""
@Fancy::Package@ installer.
Downloads packages from Github (usually the latest tagged version,
if no version is specified, or the latest HEAD revision in the
master branch) and install it to the @FANCY_PACKAGE_DIR.
"""
def initializ... | Fancy | 5 | bakkdoor/fancy | lib/package/installer.fy | [
"BSD-3-Clause"
] |
bb_data ← 3 5 ⍴ 2.2372928847280580 1.0960951589853829 0.7075902730592357 0.8166828043492210 0.7075902730592357 0.0000000000000000 0.5998905309250137 0.4993160054719562 0.6669708029197080 0.5006839945280438 0.0000000000000000 0.4001094690749863 0.5006839945280438 0.3330291970802919 0.4993160054719562
bb_ind ← 3 5 ⍴ 5 2 ... | APL | 5 | melsman/apltail | tests/pricer.apl | [
"MIT"
] |
/// <reference path="fourslash.ts" />
// @allowJs: true
// @checkJs: true
// @noEmit: true
// @jsx: react
// @esModuleInterop: true
// @skipLibCheck: true
// @Filename: declarations.d.ts
////declare namespace JSX {
//// interface Element {}
//// interface IntrinsicElements { [index: string]: {} }
////}
... | TypeScript | 5 | nilamjadhav/TypeScript | tests/cases/fourslash/jsxTsIgnoreOnJSXExpressionsAndChildren.ts | [
"Apache-2.0"
] |
export default /* glsl */`
#ifdef USE_FOG
uniform vec3 fogColor;
varying float vFogDepth;
#ifdef FOG_EXP2
uniform float fogDensity;
#else
uniform float fogNear;
uniform float fogFar;
#endif
#endif
`;
| JavaScript | 3 | brunnacroches/portifolio-brunna | node_modules/three/src/renderers/shaders/ShaderChunk/fog_pars_fragment.glsl.js | [
"Unlicense"
] |
$nyquist plug-in
$version 4
$type process spectral
$preview linear
$name (_ "Spectral edit parametric EQ")
$manpage "Spectral_edit_parametric_EQ"
$action (_ "Filtering...")
$author (_ "Paul Licameli")
$release 2.3.0
$copyright (_ "Released under terms of the GNU General Public License version 2")
;; SpectralEditParame... | Common Lisp | 4 | joshrose/audacity | plug-ins/SpectralEditParametricEQ.ny | [
"CC-BY-3.0"
] |
<ion-view><button-view/><font-face></font-face></ion-view> | HTML | 1 | sbj42/vscode | extensions/vscode-colorize-tests/test/colorize-fixtures/13448.html | [
"MIT"
] |
i ← 10 30
a ← i ⍴ ⍳ 49
b ← (⍉ a), ⍳ 30
c ← a +.× b
+/ +/ c ⍝ 1934351
| APL | 3 | mbudde/apltail | tests/test16.apl | [
"MIT"
] |
The typed DeBruijn representation is well known, as are typed PHOAS
and untyped DeBruijn. It is easy to convert PHOAS to untyped
DeBruijn. Is it known how to convert PHOAS to typed DeBruijn?
Yours, -- P
## Imports
\begin{code}
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Data.Na... | Literate Agda | 4 | manikdv/plfa.github.io | extra/extra/DeBruijn-agda-list.lagda | [
"CC-BY-4.0"
] |
.content {
color: inherit;
}
| CSS | 1 | blomqma/next.js | test/integration/production/components/dynamic-css/shared-css-module/with-css.module.css | [
"MIT"
] |
#!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
ROOT=$(dirname $(dirname $(realpath "$0")))
else
ROOT=$(dirname $(dirname $(readlink -f $0)))
fi
function code() {
cd $ROOT
if [[ "$OSTYPE" == "darwin"* ]]; then
NAME=`node -p "require('... | Shell | 4 | sbj42/vscode | scripts/code-cli.sh | [
"MIT"
] |
untyped
global function LoadoutCrate_Init
const LOADOUT_CRATE_MODEL = $"models/containers/pelican_case_ammobox.mdl"
global function AddLoadoutCrate
global function DestroyAllLoadoutCrates
function LoadoutCrate_Init()
{
level.loadoutCrateManagedEntArrayID <- CreateScriptManagedEntArray()
PrecacheModel( LOADOUT_C... | Squirrel | 4 | GeckoEidechse/NorthstarMods | Northstar.CustomServers/mod/scripts/vscripts/mp/_loadout_crate.nut | [
"MIT"
] |
/outfile1 (target/test/com/itextpdf/io/GhostscriptHelperTest/output1.txt) (w) file def
outfile1 (This is important data that is evaluated on post script runtime. It's stored in one file, then read from it and written to another.) writestring
outfile1 closefile
/inputfile (target/test/com/itextpdf/io/GhostscriptHelperT... | PostScript | 2 | MC-JY/itext7 | io/src/test/resources/com/itextpdf/io/util/GhostscriptHelperTest/unsafePostScript.ps | [
"RSA-MD"
] |
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="13008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Property>
<Property Name="IOScan.NetVarPeriod" Type="UInt">100</Property>... | LabVIEW | 2 | JKISoftware/JKI-SMO-Templates | src/json-rpc templates/JSON-RPC SMO Template.lvproj | [
"BSD-3-Clause"
] |
;; Copyright (c) 2009-2015 Robert Virding
;;
;; 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... | LFE | 5 | rvirding/spell1 | include/spell1inc.lfe | [
"Apache-2.0"
] |
<#import "/spring.ftl" as spring/>
<html>
<head>
<meta charset="ISO-8859-1" />
<title>User Registration</title>
</head>
<body>
<form action="register" method="post">
<@spring.bind path="user" />
Email:<@spring.formInput "user.email"/> <br />
Password:<@spring.formPasswordInput "user.password"/> <br /... | FreeMarker | 3 | zeesh49/tutorials | spring-mvc-simple/src/main/webapp/WEB-INF/views/registration-freemarker.ftl | [
"MIT"
] |
import React from 'react'
import Image from 'next/image'
import img from '../public/test.jpg'
import style from '../style.module.css'
const Page = () => {
return (
<div className={style.displayFlex}>
<Image id="img" layout="responsive" src={img} />
</div>
)
}
export default Page
| JavaScript | 3 | blomqma/next.js | test/integration/image-component/default/pages/layout-responsive-inside-flex.js | [
"MIT"
] |
=pod
=head1 NAME
EVP_bf_cbc,
EVP_bf_cfb,
EVP_bf_cfb64,
EVP_bf_ecb,
EVP_bf_ofb
- EVP Blowfish cipher
=head1 SYNOPSIS
#include <openssl/evp.h>
const EVP_CIPHER *EVP_bf_cbc(void);
const EVP_CIPHER *EVP_bf_cfb(void);
const EVP_CIPHER *EVP_bf_cfb64(void);
const EVP_CIPHER *EVP_bf_ecb(void);
const EVP_CIPHER *EVP_... | Pod | 4 | pmesnier/openssl | doc/man3/EVP_bf_cbc.pod | [
"Apache-2.0"
] |
@Make[Manual] @comment{-*- Dictionary: /afs/cs/project/clisp/scribe/hem/hem; Mode: spell; Package: Hemlock -*-}
@Device[postscript]
@Style(Spacing = 1.2 lines)
@Style(StringMax = 5000)
@Use(Database "/afs/cs/project/clisp/docs/database/")
@Style(FontFamily=TimesRoman)
@Style(Date="March 1952")
@style(DOUBLESIDED)
@Libr... | CartoCSS | 5 | digikar99/ccl | cocoa-ide/hemlock/doc/user/user.mss | [
"Apache-2.0"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
_SVCT_THRSHOLD := 2^13;
NewRulesFor(GT, rec(
# Vectorize AxI: A x I_n -> (A x I_n/v) x I_v
GT_Vec_AxI := rec(
forTransposition := false,
requiredFirstTag := [AVecReg, AVecRegCx],
applicable := t -> t.rank... | GAP | 3 | sr7cb/spiral-software | namespaces/spiral/paradigms/vector/breakdown/gt.gi | [
"BSD-2-Clause-FreeBSD"
] |
package com.baeldung.synthetic;
/**
* Wrapper for a class which contains a synthetic field reference to the outer
* class.
*
* @author Donato Rimenti
*
*/
public class SyntheticFieldDemo {
/**
* Class which contains a synthetic field reference to the outer class.
*
* @author Donato Rimenti
... | Java | 4 | DBatOWL/tutorials | core-java-modules/core-java-lang/src/main/java/com/baeldung/synthetic/SyntheticFieldDemo.java | [
"MIT"
] |
[Desktop Entry]
Type=Application
Version=1.0
Name=btop
GenericName=System Monitor
Comment=Resource monitor that shows usage and stats for processor, memory, disks, network and processes.
Icon=btop
Exec=btop
Terminal=true
Categories=System;Monitor;ConsoleOnly;
Keywords=system;process;task
| desktop | 2 | Mu-L/btop | btop.desktop | [
"Apache-2.0"
] |
"""Test the Nina config flow."""
from __future__ import annotations
import json
from typing import Any
from unittest.mock import patch
from pynina import ApiError
from homeassistant import data_entry_flow
from homeassistant.components.nina.const import (
CONF_FILTER_CORONA,
CONF_MESSAGE_SLOTS,
CONST_REGI... | Python | 5 | MrDelik/core | tests/components/nina/test_config_flow.py | [
"Apache-2.0"
] |
# Copies the path of given directory or file to the system or X Windows clipboard.
# Copy current directory if no parameter.
function copypath {
# If no argument passed, use current directory
local file="${1:-.}"
# If argument is not an absolute path, prepend $PWD
[[ $file = /* ]] || file="$PWD/$file"
# Cop... | Shell | 4 | residwi/ohmyzsh | plugins/copypath/copypath.plugin.zsh | [
"MIT"
] |
import random
from textblob import TextBlob
from textblob.np_extractors import ConllExtractor
extractor = ConllExtractor()
def main():
print("Hello, I am Marvin, the friendly robot.")
print("You can end this conversation at any time by typing 'bye'")
print("After typing each answer, press 'enter'")
... | Python | 4 | fdelmo/ML-For-Beginners | 6-NLP/2-Tasks/solution/bot.py | [
"MIT"
] |
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "/annotations/anno1.jsonld",
"type": "Annotation",
"created": "2015-01-31T12:03:45Z",
"body": {
"type": "TextualBody",
"value": "I like this page!"
},
"target": "/index.html"
}
| JSONLD | 3 | ziransun/wpt | annotation-protocol/files/annotations/anno1.jsonld | [
"BSD-3-Clause"
] |
; ---------------------
; Util.nsh
; ---------------------
;
; Voodoo macros to make end-user usage easier. This may be documented someday.
!verbose push
!verbose 3
!ifndef ___UTIL__NSH___
!define ___UTIL__NSH___
# see WinVer.nsh and *Func.nsh for usage examples
!macro CallArtificialFunction NAME
!ifndef __U... | NSIS | 4 | vbillet/Torque3D | Engine/bin/tools/nsis/app/Include/Util.nsh | [
"MIT"
] |
constant
====================
.. automodule:: hanlp_common.constant
:members:
| reStructuredText | 0 | antfootAlex/HanLP | docs/api/common/constant.rst | [
"Apache-2.0"
] |
--TEST--
Test DateTime::setTimezone() function : basic functionality
--FILE--
<?php
echo "*** Testing DateTime::setTimezone() : basic functionality ***\n";
//Set the default time zone
date_default_timezone_set("Europe/London");
$datetime = new DateTime("2009-01-30 17:57:32");
echo "Default timezone: " . date_timezone... | PHP | 4 | NathanFreeman/php-src | ext/date/tests/DateTime_setTimezone_basic1.phpt | [
"PHP-3.01"
] |
// (c) Copyright 1995-2016 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does no... | Verilog | 3 | YingcaiDong/Shunting-Model-Based-Path-Planning-Algorithm-Accelerator-Using-FPGA | System Design Source FIle/bd/system/ip/system_HLS_accel_0_0/system_HLS_accel_0_0.veo | [
"MIT"
] |
#!/usr/bin/osascript
# Required parameters:
# @raycast.author Jax0rz
# @authorURL https://github.com/Jax0rz
# @raycast.schemaVersion 1
# @raycast.title Create New File in Finder
# @raycast.mode silent
# @raycast.packageName System
# @raycast.description Create New File in Finder is a script to make your Finder better.... | AppleScript | 4 | tanaynistala/script-commands | commands/system/create-new-file-in-finder.applescript | [
"MIT"
] |
#!/bin/bash
# Tags a release
echo "#################################"
echo "## Tag angular.js for a release #"
echo "#################################"
ARG_DEFS=(
"--action=(prepare|publish)"
"--commit-sha=(.*)"
# the version number of the release.
# e.g. 1.2.12 or 1.2.12-rc.1
"--version-number=([0-9]+\.[0... | Shell | 4 | alexgberry/angular.js | scripts/angular.js/tag-release.sh | [
"MIT"
] |
import neskit.apu;
struct Triangle {
public static var dutyLookup: CArray[Uint8, 32] = [
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0,
];
public static function new() {
return struct Triangle {};
}
r... | Kit | 3 | smola/language-dataset | data/github.com/bendmorris/neskit/609133a5055e30189d12ac79d87f7df797882479/src/neskit/audio/triangle.kit | [
"MIT"
] |
/* Copyright 2017 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 | 5 | EricRemmerswaal/tensorflow | tensorflow/lite/simple_memory_arena.h | [
"Apache-2.0"
] |
/*!40101 SET NAMES binary*/;
DROP TABLE IF EXISTS `v1`;
DROP VIEW IF EXISTS `v1`;
SET @PREV_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT;
SET @PREV_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS;
SET @PREV_COLLATION_CONNECTION=@@COLLATION_CONNECTION;
SET character_set_client = utf8;
SET character_set_results = utf8;
SET ... | SQL | 3 | suryatmodulus/tidb | br/tests/lightning_view/data/db1.v1-schema-view.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
(define (prompt-for-cd)
"Prompts
for CD"
(prompt-read "Title" 1.53 1 2/4 1.7 1.7e0 2.9E-4 +42 -7 #b001 #b001/100 #o777 #O777 #xabc55 #c(0 -5.6))
(prompt-read "Artist")
(or (parse-integer (prompt-read "Rating") #:junk-allowed #t) 0)
(if x (format #t "yes") (format #f "no") ;and here comment
)
;; s... | Scheme | 3 | websharks/ace-builds | demo/kitchen-sink/docs/scheme.scm | [
"BSD-3-Clause"
] |
--TEST--
Object type can only default to null
--FILE--
<?php
function test(object $obj = 42) { }
?>
--EXPECTF--
Fatal error: Cannot use int as default value for parameter $obj of type object in %s on line %d
| PHP | 4 | thiagooak/php-src | Zend/tests/object_types/invalid_default_value.phpt | [
"PHP-3.01"
] |
2016-04-07 13:40:09 fsociety ooo.. UX event
2016-04-07 13:40:09 [13:40]
2016-04-07 13:40:11 [Rohan] is away: Away
2016-04-07 13:40:15 fsociety and how is the beard oil goin'
2016-04-07 13:43:46 fsociety sorry meg must have hit the network cable or router at home
2016-04-07 13:43:53 fsociety i tunnel into my home mach... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.rohan.weechatlog | [
"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
*/
// #docregion
import {Pipe, PipeTransform} from '@angular/core';
@Pipe({name: 'truncate'})
export class TruncatePipe ... | TypeScript | 4 | John-Cassidy/angular | packages/examples/core/ts/pipes/truncate.ts | [
"MIT"
] |
=== Installation ===
You can just "git clone" or download the zip from github.com
and unzip into an empty directory. Then recursively copy the folder
{{{MQL4}}} over the {{{MQL4}}} folder in your personal {{{AppData...}}} directory
(something like
{{{c:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\LONGHEXN... | Creole | 3 | lionelyoung/OTMql4Zmq | wiki/Installation.creole | [
"MIT"
] |
//Rcon fix
//Returns 0 in OnRconCommand to allow gamemodes to process the commands
forward OnRconCommand(cmd[]);
public OnRconCommand(cmd[])
{
return 0;
}
| PAWN | 3 | TheFuseGamer/SampSharp | env/filterscripts/empty.pwn | [
"Apache-2.0"
] |
i 00001 00 30 00003 00 22 00000
i 00002 02 33 76543 00 22 00000
i 00003 06 33 12345 00 22 00000
| Octave | 1 | besm6/mesm6 | test/uj/uj.oct | [
"MIT"
] |
#!/usr/local/bin/io
VDBAssertion := Object clone do(
actualBody ::= nil
expectedBody ::= nil
actualStatusCode ::= nil
expectedStatusCode ::= 200
action ::= nil
variant ::= "default"
port ::= "9523" //DONT CHANGE THIS. WE WOULDN'T WANT TO ACCIDENTALLY WIPE OUT THE PRODUCTION DB
host... | Io | 5 | stevedekorte/vertexdb | tests/test.io | [
"BSD-3-Clause"
] |
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Samuel Attard <sattard@slack-corp.com>
Date: Mon, 15 Jul 2019 17:45:02 -0700
Subject: chore: read _noBrowserGlobals from global not config
This is used so that we can modify the flag at runtime where
config can only be set at compile time.
d... | Diff | 3 | TarunavBA/electron | patches/node/chore_read_nobrowserglobals_from_global_not_process.patch | [
"MIT"
] |
package com.baeldung.annotations;
import java.util.Properties;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ConditionalBeanConfiguration {
@Conditional(HibernateCondition.class)
Properties additionalProper... | Java | 4 | DBatOWL/tutorials | spring-boot-modules/spring-boot-annotations/src/main/java/com/baeldung/annotations/ConditionalBeanConfiguration.java | [
"MIT"
] |
<template name="icon">
<svg class="rc-icon {{block}} {{block}}--{{icon}} {{classes}}" aria-hidden="true">
<use xlink:href="{{baseUrl}}#icon-{{icon}}"></use>
</svg>
</template>
| HTML | 3 | subramanir2143/Rocket.Chat | app/ui/client/components/icon.html | [
"MIT"
] |
option solver cplex;
option cplex_options "time=86400"; # 1day
option cplex_options "display=1";
option cplex_options 'mipdisplay 2 mipinterval 1000';
| AMPL | 3 | thuenen/State-Elimination-for-Mixed-Integer-Optimal-Control-of-PDEs-by-Semigroup-Theory | HeatCtrl/cplex.ampl | [
"MIT"
] |
--TEST--
round() works correctly for large exponents
--FILE--
<?php
var_dump (2e-22 == round (2e-22, 22, PHP_ROUND_HALF_UP));
var_dump (1e-22 == round (1e-22, 22, PHP_ROUND_HALF_UP));
var_dump (2e-23 == round (2e-23, 23, PHP_ROUND_HALF_UP));
var_dump (1e-23 == round (1e-23, 23, PHP_ROUND_HALF_UP));
var_dump (2e-24 == r... | PHP | 4 | guomoumou123/php5.5.10 | ext/standard/tests/math/round_large_exp.phpt | [
"PHP-3.01"
] |
#tag Class
Private Class NSRegularExpression
Inherits NSObject
#tag Method, Flags = &h21
Private Shared Function ClassRef() As Ptr
static ref as ptr = NSClassFromString("NSRegularExpression")
return ref
End Function
#tag EndMethod
#tag Method, Flags = &h0
Sub Constructor(pattern as CFStringRef, option... | Xojo | 4 | kingj5/iOSKit | Modules/JKRegEx/NSRegularExpression.xojo_code | [
"MIT"
] |
Han = require \../index
Han!.render!
| LiveScript | 1 | ForkYard/Han | demo/test-commonjs.ls | [
"MIT"
] |
' 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 System.Collections.Immutable
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Roslyn.Utilities
Name... | Visual Basic | 4 | Cadris/roslyn | src/ExpressionEvaluator/VisualBasic/Source/ExpressionCompiler/Symbols/EETypeParameterSymbol.vb | [
"MIT"
] |
2016-01-20 22:36:16 - irc: connecting to server irc.nixers.net/6697 (SSL)...
2016-01-20 22:36:18 - gnutls: connected using 2048-bit Diffie-Hellman shared secret exchange
2016-01-20 22:36:18 - gnutls: receiving 2 certificates
2016-01-20 22:36:18 - - certificate[1] info:
2016-01-20 22:36:18 - - subject `C=N... | IRC log | 3 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.server.nixers.weechatlog | [
"MIT"
] |
package com.baeldung.junit5.templates;
public class UserIdGeneratorImpl implements UserIdGenerator {
private boolean isFeatureEnabled;
public UserIdGeneratorImpl(boolean isFeatureEnabled) {
this.isFeatureEnabled = isFeatureEnabled;
}
public String generate(String firstName, String lastName) {... | Java | 4 | DBatOWL/tutorials | testing-modules/junit5-annotations/src/main/java/com/baeldung/junit5/templates/UserIdGeneratorImpl.java | [
"MIT"
] |
create table b (c int);
| SQL | 1 | imtbkcat/tidb-lightning | tests/checkpoint_engines/data/cpeng.b-schema.sql | [
"Apache-2.0"
] |
#!/usr/bin/env bash
##
# @license Copyright 2021 The Lighthouse 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 re... | Shell | 4 | MB175/lighthouse | lighthouse-core/scripts/copy-util-commonjs.sh | [
"Apache-2.0"
] |
struct RequiredField {
1: required string name
}
struct OtherThing {
1: required i16 value
}
| Thrift | 2 | Jimexist/thrift | lib/go/test/RequiredFieldTest.thrift | [
"Apache-2.0"
] |
/*
* Copyright (c) 2021, Jan de Visser <jan@de-visser.net>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibCore/Object.h>
#include <LibSQL/Database.h>
#include <SQLServer/Forward.h>
namespace SQLServer {
class DatabaseConnection final : public Core::Object {
C_OBJECT(DatabaseConnectio... | C | 3 | r00ster91/serenity | Userland/Services/SQLServer/DatabaseConnection.h | [
"BSD-2-Clause"
] |
label splashscreen:
scene gray90 with Pause(1)
play sound 'audio/sfx/title_fire_swoosh.ogg'
show learn_to_code_rpg_logo at truecenter with dissolve
with Pause(2)
scene gray90 with dissolve
with Pause(1)
scene gray90 with Pause(1)
play sound 'audio/sfx/title_fire_swoosh.ogg'
show fcc... | Ren'Py | 3 | googlebleh/LearnToCodeRPG | game/scripts/splashscreen.rpy | [
"BSD-3-Clause"
] |
--TEST--
Phar front controller index.php relocate tar-based
--EXTENSIONS--
phar
--ENV--
SCRIPT_NAME=/frontcontroller5.phar.php
REQUEST_URI=/frontcontroller5.phar.php/
PATH_INFO=/
--FILE_EXTERNAL--
files/frontcontroller.phar.tar
--EXPECTHEADERS--
Status: 301 Moved Permanently
Location: /frontcontroller5.phar.php/index.p... | PHP | 2 | NathanFreeman/php-src | ext/phar/tests/tar/frontcontroller5.phar.phpt | [
"PHP-3.01"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.