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 |
|---|---|---|---|---|---|
= Redirect to original page after login
When the user attempts to open a page that requires authentication, Rodauth
redirects them to the login page. It can be useful to redirect them back to
the page they originally requested after successful login. Similarly, you
can do this for pages requiring multifactor authenti... | RDoc | 5 | dmitryzuev/rodauth | doc/guides/login_return.rdoc | [
"MIT"
] |
<div class="carousel-item {{active}} press-carousel" data-bs-interval="10000">
<img
src="{{imageBaseUrl}}/transparent-bg.png"
class="d-block w-100"
alt=""
/>
<div class="carousel-caption">
<img
src="{{imageBaseUrl}}/{{imageName}}"
alt=""
class="img-fluid img-center photo"
/>
<br />
<p class="t... | HTML+Django | 2 | asahiocean/joplin | Assets/WebsiteAssets/templates/partials/pressCarouselItem.mustache | [
"MIT"
] |
"""Integration platform for recorder."""
from __future__ import annotations
from homeassistant.core import HomeAssistant, callback
from . import ATTR_MAX_TEMP, ATTR_MIN_TEMP, ATTR_OPERATION_LIST
@callback
def exclude_attributes(hass: HomeAssistant) -> set[str]:
"""Exclude static attributes from being recorded i... | Python | 4 | mtarjoianu/core | homeassistant/components/water_heater/recorder.py | [
"Apache-2.0"
] |
// ==ORIGINAL==
export { F1, F2 } from "lib";
1;
import { F1, F2 } from "lib";
2;
export * from "lib";
3;
import * as NS from "lib";
4;
F1(); F2(); NS.F1();
// ==ORGANIZED==
export * from "lib";
export { F1, F2 } from "lib";
1;
import * as NS from "lib";
import { F1, F2 } from "lib";
2;
3;
4;
F1(); F2(); NS.F1();
| TypeScript | 3 | nilamjadhav/TypeScript | tests/baselines/reference/organizeImports/MoveToTop_WithExportsFirst.exports.ts | [
"Apache-2.0"
] |
;;
;; Copyright 2017 Autodesk, Inc. All rights reserved.
;;
;; Use of this software is subject to the terms of the Autodesk license
;; agreement provided at the time of installation or download, or which
;; otherwise accompanies this software in either electronic or hard copy form.
;;
;; Version 2.0
;; AutoCAD... | Max | 4 | brinkdinges/netDxf | TestDxfDocument/Support/acad.pat | [
"MIT"
] |
fn main() {
let ref
(); //~ ERROR expected identifier, found `(`
}
| Rust | 1 | Eric-Arellano/rust | src/test/ui/parser/issue-15914.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "../KeeperCompatible.sol";
contract KeeperCompatibleTestHelper is KeeperCompatible {
function checkUpkeep(bytes calldata) external override returns (bool, bytes memory) {}
function performUpkeep(bytes calldata) external override {}
function testCa... | Solidity | 3 | solidity-external-tests/chainlink | contracts/src/v0.7/tests/KeeperCompatibleTestHelper.sol | [
"MIT"
] |
<%= defined?(partial_iteration_1_iteration) %>
| HTML+ERB | 0 | mdesantis/rails | actionview/test/fixtures/test/_partial_iteration_1.erb | [
"MIT"
] |
// REQUIRES: VENDOR=apple
// REQUIRES: OS=macosx
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -typecheck %s -tbd-is-installapi -emit-tbd -emit-tbd-path %t/linker_directives.tbd
// RUN: %FileCheck %s --check-prefix CHECK-HAS --check-prefix CHECK-HAS-NOT < %t/linker_directives.tbd
// RUN: %target-swift-... | Swift | 4 | hooman/swift | test/TBD/linker-directives.swift | [
"Apache-2.0"
] |
= Puppi: Puppet Knowledge to the CLI
Puppi One and Puppi module written by Alessandro Franceschi / al @ lab42.it
Puppi Gem by Celso Fernandez / Zertico
Source: http://www.example42.com
Licence: Apache 2
Puppi is a Puppet module and a CLI command.
It's data is entirely driven by Puppet code.
It can be used to stand... | RDoc | 3 | mikiec84/YeoPress | puppet/modules/puppi/README.rdoc | [
"BSD-2-Clause"
] |
CREATE TABLE c(
id INT NOT NULL PRIMARY KEY,
k INT NOT NULL
);
| SQL | 3 | imtbkcat/tidb-lightning | tests/error_summary/data/error_summary.c-schema.sql | [
"Apache-2.0"
] |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Uppy DigitalOcean Example</title>
<link href="uppy.min.css" rel="stylesheet">
</head>
<body>
<h1>DigitalOcean Spaces</h1>
<p>
Using the <a href="https://up... | HTML | 2 | profsmallpine/uppy | examples/digitalocean-spaces/index.html | [
"MIT"
] |
/// <reference path="fourslash.ts" />
// @module: commonjs
// @Filename: /node_modules/@types/node/index.d.ts
//// declare module "fs" { function writeFile(): void }
//// declare module "fs/promises" { function writeFile(): Promise<void> }
//// declare module "node:fs" { export * from "fs"; }
//// declare module "nod... | TypeScript | 4 | monciego/TypeScript | tests/cases/fourslash/completionsImport_uriStyleNodeCoreModules2.ts | [
"Apache-2.0"
] |
pub mod foo {
pub mod bar {
// note: trait T is not public, but being in the current
// crate, it's fine to show it, since the programmer can
// decide to make it public based on the suggestion ...
pub trait T {}
}
// imports should be ignored:
use self::bar::T;
}
pub mo... | Rust | 4 | Eric-Arellano/rust | src/test/ui/resolve/issue-21221-2.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
"""
BCE0018-3.boo(4,2): BCE0064: No attribute with the name 'Nonsense' or 'NonsenseAttribute' was found (attribute names are case insensitive).
"""
[Nonsense("libc")]
def TestAttributeSuggestion():
pass
| Boo | 0 | popcatalin81/boo | tests/testcases/errors/BCE0018-3.boo | [
"BSD-3-Clause"
] |
const A : [1..5] int = (1, 2, 3, 4, 5);
const B : [1..4] string = ("one", "two", "three", "four");
writeln(A);
writeln(B);
| Chapel | 3 | jhh67/chapel | test/arrays/deitz/part2/test_array_init_seq.chpl | [
"ECL-2.0",
"Apache-2.0"
] |
DROP TABLE "public"."table36";
| SQL | 1 | eazyfin/graphql-engine | cli/commands/testdata/migrate-squash-test/migrations/1588172670028_create_table_public_table36/down.sql | [
"Apache-2.0",
"MIT"
] |
module Message.ScrollDirection exposing (ScrollDirection(..))
type ScrollDirection
= ToTop
| Down
| Up
| ToBottom
| Sideways Float
| ToId String
| Elm | 4 | Caprowni/concourse | web/elm/src/Message/ScrollDirection.elm | [
"Apache-2.0"
] |
<%@ Page Title="Sign Up" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SignUp.aspx.cs" Inherits="ProductLaunch.Web.SignUp" %>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<div class="jumbotron">
<h1>Sign me up!</h1>
</div>
<di... | ASP | 4 | ganeshkumardevops/docker | windows/modernize-traditional-apps/modernize-aspnet/v3-src/ProductLaunch/ProductLaunch.Web/SignUp.aspx | [
"Apache-2.0"
] |
<?Lassoscript
// Last modified 8/31/09 by ECL, Landmann InterActive
/*
Tagdocs;
{Tagname= OutputPortfolio }
{Description= Outputs the already-built $PortfolioContent }
{Author= Eric Landmann }
{AuthorEmail= support@iterate.ws }
{ModifiedBy= }
{ModifiedByEmail= }
{Date= 3/18/08 }
{Usage= OutputPor... | Lasso | 4 | subethaedit/SubEthaEd | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/LassoStartup/OutputPortfolio.lasso | [
"MIT"
] |
con currier = fold (fn nm => fn t => fn acc => t -> acc) {}
con greenCurryIngredients :: {Type} = []
con greenCurry = currier greenCurryIngredients
val greenCurry : greenCurry = {}
con redCurryIngredients = [A = int, B = string]
con redCurry = currier redCurryIngredients
val redCurry : redCurry = fn x : int => fn y :... | UrWeb | 3 | apple314159/urweb | tests/cfold.ur | [
"BSD-3-Clause"
] |
/* Copyright 2015 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/core/platform/strcat_test.cc | [
"Apache-2.0"
] |
extends /templates/core/modal-base
block modal-header-content
h3 Campaign Analytics
if campaignCompletions.startDay && campaignCompletions.endDay
.input-group.input-group-sm
input.form-control#input-startday(type='text', style='width:100px;', value=campaignCompletions.startDay)
input.form-control#i... | Jade | 3 | cihatislamdede/codecombat | app/templates/editor/campaign/campaign-analytics-modal.jade | [
"CC-BY-4.0",
"MIT"
] |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Jannis Leidel <jannis@leidel.info>, 2011
# Sivert Olstad, 2021
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-21 10:22+0200\n"
"PO-Revision-Date: 2021-11-12 08:38+0000\n"... | Gettext Catalog | 4 | Joshua-Barawa/My-Photos | venv/lib/python3.8/site-packages/django/contrib/auth/locale/nn/LC_MESSAGES/django.po | [
"PostgreSQL",
"Unlicense"
] |
/*
* test_perf.c
*
* Created on: Jul 6, 2013
* Author: mgrosvenor
*/
#include "../perf/perf.h"
#include <stdio.h>
USE_CH_LOGGER_DEFAULT;
USE_CH_PERF(4094);
int main(int argc, char** argv)
{
(void)argc;
(void)argv;
ch_perf_sample_tsc;
printf("TSC at start = %llu\n", ch_perf_get_tsc_samp... | XC | 3 | mgrosvenor/libchaste | tests/demo_perf.xc | [
"BSD-3-Clause"
] |
insert into non_pk (pk, _tidb_rowid) values
('eight', 8),
('five', 5),
('four', 4),
('nine', 9),
('one', 1),
('seven', 7),
('six', 6),
('ten', 10),
('three', 3),
('two', 2);
| SQL | 3 | WizardXiao/tidb | br/tests/lightning_tidb_rowid/data/rowid.explicit_tidb_rowid.sql | [
"Apache-2.0"
] |
=pod
=head1 NAME
SSL_CTX_set_options, SSL_set_options, SSL_CTX_clear_options,
SSL_clear_options, SSL_CTX_get_options, SSL_get_options,
SSL_get_secure_renegotiation_support - manipulate SSL options
=head1 SYNOPSIS
#include <openssl/ssl.h>
uint64_t SSL_CTX_set_options(SSL_CTX *ctx, uint64_t options);
uint64_t SSL... | Pod | 5 | pmesnier/openssl | doc/man3/SSL_CTX_set_options.pod | [
"Apache-2.0"
] |
#include <gtest/gtest.h>
#include "c10/util/StringUtil.h"
#include "caffe2/core/net.h"
#include "caffe2/core/net_async_scheduling.h"
#include "caffe2/core/operator.h"
#include "caffe2/core/scope_guard.h"
#include <google/protobuf/text_format.h>
namespace caffe2 {
namespace {
static std::atomic<int> counter;
// A n... | C++ | 5 | Hacky-DH/pytorch | caffe2/core/net_test.cc | [
"Intel"
] |
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
namespace cpp predictor_service
service Predictor {
// Returns scores for each class
map<string, double> predict(1: string doc);
}
| Thrift | 4 | digitalsatori/pytext | demo/xlm_server/server/predictor.thrift | [
"BSD-3-Clause"
] |
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="UTF-8"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
<xsl:include href="xslt-apply-enc16-sheet.xsl"/>
<xsl:template match="/">
<... | XSLT | 3 | zealoussnow/chromium | third_party/blink/web_tests/fast/xsl/resources/xslt-import-enc16.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
"""Tests for the Tailscale integration."""
from unittest.mock import MagicMock
from tailscale import TailscaleAuthenticationError, TailscaleConnectionError
from homeassistant.components.tailscale.const import DOMAIN
from homeassistant.config_entries import SOURCE_REAUTH, ConfigEntryState
from homeassistant.core impor... | Python | 5 | MrDelik/core | tests/components/tailscale/test_init.py | [
"Apache-2.0"
] |
# Aliases in alphabetical order
alias ma='meteor add' # Add a package to this project.
alias map='meteor add-platform' # Add a platform to this project.
alias mad='meteor admin' # Administrative commands.
alias mau='meteor authorized' # View or change authorized users and... | Shell | 5 | chensanle/ohmyzsh | plugins/meteor/meteor.plugin.zsh | [
"MIT"
] |
#(ly:message (format "input-filename: ~a\n" lyp:input-filename))
#(ly:message (format "input-dirname: ~a\n" lyp:input-dirname))
\require "b"
#(ly:message (format "bvar: ~a\n" bvar))
| LilyPond | 2 | HolgerPeters/lyp | spec/user_files/test_vars.ly | [
"MIT"
] |
#!/bin/bash maple
# Use `maple -q expand2.mpl -D n=15` to run
e := (x + y + z + w) ^ n:
f := e * (e + w):
st := time[real]():
f := expand(f):
1000*(time[real]() - st);
done
| Maple | 3 | jmig5776/symengine | benchmarks/expand2.mpl | [
"MIT"
] |
resolve=Slå upp funna serveradresser,1,1-Ja,0-Nej
scan_time=Väntetid för att titta efter svar,0
| SystemVerilog | 1 | GalaxyGFX/webmin | servers/config.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24" viewBox="0 0 24 24" width="24"><g><rect fill="none" height="24" width="24"/></g><g><path d="M21,1H3C1.9,1,1,1.9,1,3v18c0,1.1,0.9,2,2,2h18c1.1,0,2-0.9,2-2V3C23,1.9,22.1,1,21,1z M5.41,4l5.18,5.17l-1.42,1.41 L4,5.41L5.41,4z M20,20h-5.5l2... | SVG | 2 | good-gym/material-ui | packages/material-ui-icons/material-icons/shuffle_on_two_tone_24px.svg | [
"MIT"
] |
#!/usr/bin/env bash
find "$@" -name '*.sh' -print0 | xargs -0 -n1 shellcheck --external-sources
| Shell | 4 | Hacky-DH/pytorch | tools/linter/run_shellcheck.sh | [
"Intel"
] |
- unless @one_satoshis.empty?
.panel.panel-primary
.panel-heading: span = t('.one')
= render partial: 'table', locals: {satoshis: @one_satoshis}
- unless @all_satoshis.empty?
.panel.panel-success
.panel-heading: span = t('.all')
= render partial: 'table', locals: {satoshis: @all_satoshis}
- if @all... | Slim | 4 | childselfy/crypto-exchange | app/views/admin/withdraws/satoshis/index.html.slim | [
"MIT"
] |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe -Name "Windows EXE" -Fixture {
BeforeAll {
function Test-Elevated {
[CmdletBinding()]
[OutputType([bool])]
Param()
# if the current Powershell session was called with administr... | PowerShell | 5 | rdtechie/PowerShell | test/packaging/windows/exe.tests.ps1 | [
"MIT"
] |
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "textflag.h"
DATA rotInvSRows<>+0x00(SB)/8, $0x080f0205040b0e01
DATA rotInvSRows<>+0x08(SB)/8, $0x00070a0d0c030609
GLOBL rotInvSRows<>(SB), (NOPTR+RODA... | GAS | 4 | Havoc-OS/androidprebuilts_go_linux-x86 | src/crypto/aes/asm_arm64.s | [
"BSD-3-Clause"
] |
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated with COPASI 4.14 (Build 89+) (http://www.copasi.org) at 2014-11-11 17:07:04 UTC -->
<?oxygen RNGSchema="http://www.copasi.org/static/schema/CopasiML.rng" type="xml"?>
<COPASI xmlns="http://www.copasi.org/static/schema" versionMajor="4" versionMinor="14" versionDevel... | Component Pascal | 5 | SzVarga/COPASI | TestSuite/events/EventTest12.cps | [
"Artistic-2.0"
] |
fileFormatVersion: 2
guid: d2983e2bca9a40398f287727dc0472a5
timeCreated: 1573242741 | Unity3D Asset | 0 | bobcy2015/ml-agents | com.unity.ml-agents/Tests/Editor/Sensor/RayPerceptionSensorTests.cs.meta | [
"Apache-2.0"
] |
/**
* Copied from https://github.com/lukeed/uuid
* https://github.com/lukeed/uuid/blob/master/src/secure.js
*/
import { randomBytes } from "crypto"
const SIZE = 4096
const HEX: Array<string> = []
let IDX = 0
let BUFFER: Buffer
for (; IDX < 256; IDX++) {
HEX[IDX] = (IDX + 256).toString(16).substring(1)
}
export ... | TypeScript | 4 | beingfranklin/gatsby | packages/gatsby-core-utils/src/uuid.ts | [
"MIT"
] |
package org.pytorch.testapp;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.SystemClock;
import android.util.Log;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
import and... | Java | 5 | Hacky-DH/pytorch | android/test_app/app/src/main/java/org/pytorch/testapp/MainActivity.java | [
"Intel"
] |
foo : ? -> Int
foo x = 42
| Idris | 2 | Qqwy/Idris2-Erlang | idris2/tests/idris2/basic005/NoInfer.idr | [
"BSD-3-Clause"
] |
source "../tests/includes/init-tests.tcl"
set ::user "testuser"
set ::password "secret"
proc setup_acl {} {
foreach_sentinel_id id {
assert_equal {OK} [S $id ACL SETUSER $::user >$::password +@all on]
assert_equal {OK} [S $id ACL SETUSER default off]
S $id CLIENT KILL USER default SKIPME... | Tcl | 4 | hpdic/redis | tests/sentinel/tests/09-acl-support.tcl | [
"BSD-3-Clause"
] |
<?python
from textile import textile
from cgi import escape
?>
<div xmlns:py="http://purl.org/kid/ns#" >
<div py:for="post in posts">
<div id="post_$post.id">
<div id="entry_$post.id">
<div class="story">
<h1><a py:content="post.title" href="/${site.name}/bl... | Genshi | 3 | CarlosGabaldon/calabro | calabro/widgets/templates/posts.kid | [
"MIT"
] |
Add client brotli compression support (optional with runtime check)
| Cucumber | 4 | adamko147/aiohttp | CHANGES/5219.feature | [
"Apache-2.0"
] |
PROGRAM_NAME='prime-connman-server'
#IF_NOT_DEFINED __PRIME_CONNMAN_SERVER
#DEFINE __PRIME_CONNMAN_SERVER
(***********************************************************)
(* FILE CREATED ON: 01/23/2016 AT: 21:43:16 *)
(***********************************************************)
(************************... | NetLinx | 4 | ajnavarro/language-dataset | data/github.com/avt-its-simple/amx-snmp-library/956bfc595de250af8789a80cc7cb635eb13a8151/prime-connman-server.axi | [
"MIT"
] |
@first-style: dashed;
.el0 { border-style: @first-style; }
| Less | 1 | joseconstela/meteor | tools/tests/apps/caching-less/subdir/nested-root.less | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] |
//! Check whether a type is representable.
use rustc_data_structures::stable_map::FxHashMap;
use rustc_hir as hir;
use rustc_middle::ty::{self, Ty, TyCtxt};
use rustc_span::Span;
use std::cmp;
/// Describes whether a type is representable. For types that are not
/// representable, 'SelfRecursive' and 'ContainsRecursiv... | Rust | 5 | mbc-git/rust | compiler/rustc_ty_utils/src/representability.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"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.
*)
exception FailedToKill of string option
let mean_kill ~flowconfig_name ~tmp_dir root =
let pids =
try PidLog.get_pids (Serve... | OCaml | 4 | zhangmaijun/flow | src/commands/commandMeanKill.ml | [
"MIT"
] |
include "stdio.sl";
include "stdlib.sl";
var setclkdiv = asm {
.def SERIALREG0 136
.def SERIALREG1 137
.def SERIALREG3 139
pop x
ld r0, x # r0 = clkdiv
# select divisor latches:
# write 0x80 to line control register
ld x, 0x80
out SERIALREG3, x
# set high byte of divisor latc... | Slash | 4 | jes/scamp-cpu | sys/baud.sl | [
"Unlicense"
] |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License... | ECL | 4 | miguelvazq/HPCC-Platform | ecl/regress/checkassigned2.ecl | [
"Apache-2.0"
] |
#pragma TextEncoding="UTF-8"
#pragma rtGlobals=3
#pragma ModuleName=SIDAMLoadData
#include "SIDAM_Display"
#include "SIDAM_Utilities_Control"
#include "SIDAM_Utilities_Panel"
#ifndef SIDAMshowProc
#pragma hide = 1
#endif
//@
// Load data files.
//
// ## Parameters
// pathStr : string
// Path to a... | IGOR Pro | 5 | yuksk/SIDAM | src/SIDAM/func/SIDAM_LoadData.ipf | [
"MIT"
] |
#!/usr/bin/env bash
# This file is accessible as https://install.direct/go.sh
# Original source is located at github.com/v2fly/v2ray-core/release/install-release.sh
# If not specify, default meaning of return value:
# 0: Success
# 1: System error
# 2: Application error
# 3: Network error
#######color code########
RE... | Shell | 4 | demianrey/v2ray-core-SagerNet- | release/install-release.sh | [
"MIT"
] |
<h1>Hello!</h1>
<div>{% renderbody %}</div> | Liquid | 1 | ScriptBox99/FluentEmail | test/FluentEmail.Liquid.Tests/EmailTemplates/_layout.liquid | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | TypeScript | 5 | kklt2002/vscode | src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.ts | [
"MIT"
] |
=pod
=head1 NAME
ossl_DER_w_begin_sequence, ossl_DER_w_end_sequence
- internal DER writers for DER constructed elements
=head1 SYNOPSIS
#include "internal/der.h"
int ossl_DER_w_begin_sequence(WPACKET *pkt, int tag);
int ossl_DER_w_end_sequence(WPACKET *pkt, int tag);
=head1 DESCRIPTION
All functions described... | Pod | 4 | pmesnier/openssl | doc/internal/man3/ossl_DER_w_begin_sequence.pod | [
"Apache-2.0"
] |
%%%
%%% Authors:
%%% Michael Mehl (mehl@dfki.de)
%%%
%%% Copyright:
%%% Michael Mehl, 1998
%%%
%%% 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.o... | Oz | 4 | Ahzed11/mozart2 | platform-test/bench/fd.oz | [
"BSD-2-Clause"
] |
#import <UIKit/UIKit.h>
#import <BulletinBoard/BBSectionInfo.h>
#import <UIKit/UIImage+Private.h>
#import <version.h>
static NSString *const kHBDPWeeAppIdentifier = @"ws.hbang.dailypaperweeapp";
#pragma mark - Change section header and icon
// courtesy of benno
BOOL isDailyPaper = NO;
%hook SBBulletinObserverViewC... | Logos | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Logos/NCHax.x | [
"MIT"
] |
# ${StrContains} OUT STRING SUBSTRING
# A method which searches a target string for a substring (case insensitive),
# setting OUT to 1 if found, 0 otherwise.
Var strContains_string
Var strContains_substring
Var strContains_stringLen
Var strContains_substringLen
Var strContains_loopStartOffset
Var strContains_loopLastO... | NSIS | 5 | phpc0de/idea-android | native/installer/win/StrContains.nsh | [
"Apache-2.0"
] |
package
{
import flash.display.Sprite
import flash.events.Event
import flash.events.NetStatusEvent
import flash.events.AsyncErrorEvent
import flash.media.Video
import flash.net.NetConnection
import flash.net.NetStream
import flash.utils.getTimer
import flash.utils.ByteArray
impo... | ActionScript | 0 | OsmanDere/metasploit-framework | external/source/exploits/CVE-2015-3113/Exploit.as | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
"""Tests for the Meater integration."""
| Python | 0 | mtarjoianu/core | tests/components/meater/__init__.py | [
"Apache-2.0"
] |
import structs/[MultiMap, List]
fails := false
main: func {
stringString()
if (fails) {
"We've had failures" println()
exit(1)
}
"Pass" println()
}
stringString: func {
map := MultiMap<String, String> new()
map put("a", "one")
ensure(map size, 1, "map size")
ensure(... | ooc | 4 | shamanas/rock | test/sdk/structs/multimap_test.ooc | [
"MIT"
] |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
import Photos
import UIKit
import WebKit
import Shared
import Storage
import SnapKit
import XCGLogger
import Alamo... | Swift | 5 | xjc90s/swift | utils/parser-lib/profile-input.swift | [
"Apache-2.0"
] |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... | Ada | 3 | CandyROM/external_libncurses | Ada95/samples/sample-keyboard_handler.adb | [
"X11"
] |
t app appmode photo
sleep 2
#
#t ia2 -ae still_exp 100 1750 #1/1600 sec
#t app button shutter PR
#sleep 2
#
#t ia2 -ae still_exp 100 1700 #1/1250 sec
#t app button shutter PR
#sleep 2
#
#t ia2 -ae still_exp 100 1655 #1/1000 sec
#t app button shutter PR
#sleep 2
#
#t ia2 -ae still_exp 100 1615 #1/800 sec
#t app button s... | AGS Script | 2 | waltersgrey/autoexechack | HDRPhoto/HERO3Black/autoexec.ash | [
"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.Cci
Imports Microsoft.CodeAnalysis.CodeGen
Imports Microsoft.Co... | Visual Basic | 4 | Cadris/roslyn | src/Compilers/VisualBasic/Portable/Emit/ParameterSymbolAdapter.vb | [
"MIT"
] |
create database firstdb;
| SQL | 1 | suryatmodulus/tidb | br/tests/lightning_black-white-list/data/firstdb-schema-create.sql | [
"Apache-2.0",
"BSD-3-Clause"
] |
(***********************************************************************)
(* *)
(* Applied Type System *)
(* *)
(***********************... | ATS | 5 | bbarker/ATS-Postiats-contrib | projects/LARGE/TUTORIATS/in-browsers/PATSHOME/libats/libc/sys/DATS/socket.dats | [
"MIT"
] |
hello = Bonjour!
bye = Au revoir!
| FreeMarker | 0 | csh/amethyst | examples/locale/assets/locale/locale_fr.ftl | [
"MIT"
] |
"""
datetime specialization of AdjustedArrayWindow
"""
from numpy cimport int64_t
ctypedef int64_t[:, :] databuffer
include "_windowtemplate.pxi"
| Cython | 1 | leonarduschen/zipline | zipline/lib/_int64window.pyx | [
"Apache-2.0"
] |
alias fl="flutter"
alias flattach="flutter attach"
alias flb="flutter build"
alias flchnl="flutter channel"
alias flc="flutter clean"
alias fldvcs="flutter devices"
alias fldoc="flutter doctor"
alias flpub="flutter pub"
alias flget="flutter pub get"
alias flr="flutter run"
alias flrd="flutter run --debug"
alias flrp="f... | Shell | 3 | residwi/ohmyzsh | plugins/flutter/flutter.plugin.zsh | [
"MIT"
] |
module monadicSemantics
import StdEnv, StdGeneric, GenMap, GenHylo
/* For fun I implemented the recursive datastructre Exp and Stm as fixpoints
This helps us define recursive functions on them (only a little bit though)
However deriving gMap for Fix did not works out of the box
I had to remove some uniquenes... | Clean | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Clean/sem.icl | [
"MIT"
] |
POM_NAME=Glide OkHttp Integration
POM_ARTIFACT_ID=okhttp-integration
POM_PACKAGING=aar
POM_DESCRIPTION=An integration library to use OkHttp 2.x to fetch data over http/https in Glide
| INI | 2 | jhavstadxumo/glide | integration/okhttp/gradle.properties | [
"Apache-2.0"
] |
-- need to update the Lua path to point to the local flatbuffers implementation
package.path = string.format("../lua/?.lua;%s",package.path)
package.path = string.format("./lua/?.lua;%s",package.path)
-- require the library
local flatbuffers = require("flatbuffers")
local binaryArray = flatbuffers.binaryArray-- for h... | Lua | 5 | chi-w-ng/flatbuffers | samples/sample_binary.lua | [
"Apache-2.0"
] |
<div class="panel hidden" id="panel-docfile" name="Document">
<button class="white disabled-in-offline-mode disabled-for-reserved" onclick="prepareRenameModal(activeDocID);">
<i class="ri-file-edit-fill"></i>
<span>rename</span>
</button>
<button class="white disabled-in-offline-mode disab... | Kit | 3 | pws1453/web-client | source/imports/app/docs-panel-docfile.kit | [
"MIT"
] |
Function AdvReplaceInFile
Exch $0 ;file to replace in
Exch
Exch $1 ;number to replace after
Exch
Exch 2
Exch $2 ;replace and onwards
Exch 2
Exch 3
Exch $3 ;replace with
Exch 3
Exch 4
Exch $4 ;to replace
Exch 4
Push $5 ;minus count
Push $6 ;universal
Push $7 ;end string
Push $8 ;left string
Push $9 ;right string
Push $R... | NSIS | 3 | jaccarmac/livestreamer | win32/AdvReplaceInFile.nsh | [
"BSD-2-Clause",
"MIT"
] |
namespace java com.twitter.delivery.thriftjava
#@namespace scala com.twitter.delivery.thriftscala
exception AException {
1: i32 errorCode
}
service DeliveryService {
Box getBox(1: AddrInfo addrInfo, 3: i8 passcode) throws (
1: AException ex
)
list<Box> getBoxes(1: list<AddrInfo> listAddrInfo, 3: i8 passc... | Thrift | 4 | peter-janssen/finagle | finagle-thrift/src/test/thrift/delivery_service.thrift | [
"Apache-2.0"
] |
LG-KM555/V100 Obigo/WAP2.0 Profile/MIDP-2.1 Configuration/CLDC-1.1
| Text | 0 | 5tr1x/SecLists | Fuzzing/User-Agents/operating-platform/lg-km555.txt | [
"MIT"
] |
Prefix(:=<http://example.org/>)
Ontology(:TestExistentialClassAssertion
Declaration(ObjectProperty(:p))
ClassAssertion( ObjectSomeValuesFrom(:p :c) :i)
)
| Web Ontology Language | 3 | jmcmurry/SciGraph | SciGraph-core/src/test/resources/ontologies/cases/TestExistentialClassAssertion.owl | [
"Apache-2.0"
] |
FROM python:3.8
RUN pip install simplejson requests click
RUN pip install numpy
LABEL version="0.1.0" | NumPy | 3 | laboratorybox/hither2 | hither2/examples/example_functions/docker/Dockerfile.numpy | [
"Apache-2.0"
] |
image bg lecturehall = "lecturehall.jpg"
image bg uni = "uni.jpg"
image bg meadow = "meadow.jpg"
image bg club = "club.jpg"
image sylvie normal = "sylvie_normal.png"
image sylvie giggle = "sylvie_giggle.png"
image sylvie smile = "sylvie_smile.png"
image sylvie surprised = "sylvie_surprised.png"
image sylvie2 normal ... | Ren'Py | 3 | Gouvernathor/unrpyc | testcases/script.orig.rpy | [
"MIT"
] |
--TEST--
Zend: Test compile string
--EXTENSIONS--
zend_test
--FILE--
<?php
define('ZEND_COMPILE_POSITION_AT_SHEBANG', 0);
define('ZEND_COMPILE_POSITION_AT_OPEN_TAG', 1);
define('ZEND_COMPILE_POSITION_AFTER_OPEN_TAG', 2);
$source_string = <<<EOF
#!/path/to/php
<?php
var_dump('php');
EOF;
zend_test_compile_string($sou... | PHP | 3 | NathanFreeman/php-src | ext/zend_test/tests/zend_test_compile_string.phpt | [
"PHP-3.01"
] |
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix gndo: <http://d-nb.info/standards/elementset/gnd#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://d-nb.info/gnd/118514768>
a <http://d-nb.info/standards/elementset/gnd#Pseudonym> ;
foaf:page <http://d... | Turtle | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Turtle/gnd-record.ttl | [
"MIT"
] |
[38;2;117;113;94m--[0m[38;2;117;113;94m elm install elm-explorations/linear-algebra[0m
[38;2;117;113;94m--[0m[38;2;117;113;94m elm install elm-explorations/webgl[0m
[38;2;249;38;114mimport[0m[38;2;248;248;242m [0m[38;2;248;248;242mBrowser[0m
[38;2;249;38;114mimport[0m[38;2;248;248;242m [0m[38;2;248... | Elm | 5 | JesseVermeulen123/bat | tests/syntax-tests/highlighted/Elm/test.elm | [
"Apache-2.0",
"MIT"
] |
//
// MetalConvolutionWinograd.metal
// MNN
//
// Created by MNN on 2019/02/01.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <metal_stdlib>
#include "MetalConvolutionActivation.metal"
using namespace metal;
struct winograd_constants {
int4 input_shape;
int4 output_shape;
int pad_x;
... | Metal | 5 | xhuan28/MNN | source/backend/metal/MetalConvolutionWinograd.metal | [
"Apache-2.0"
] |
// Ruth 2.0 HUD Receiver
// SPDX-License-Identifier: AGPL-3.0-or-later
//** Copyright 2017 Shin Ingen
//** Copyright 2019 Serie Sumei
// This is a heavily modified version of Shin's RC3 receiver scripts for
// head, body, hands and feet combined into one.
//
// It has some requirements of the hands and feet mesh s... | LSL | 5 | seriesumei/test-Ruth2 | Contrib/Serie Sumei/ru2HUD_receiver.lsl | [
"MIT"
] |
// This Click configuration implements a firewall and NAT, roughly based on the
// mazu-nat.click example.
//
// This example assumes there is one interface that is IP-aliased. In this
// example, eth0 and eth0:0 have IP addresses 66.68.65.90 and 192.168.1.1,
// respectively. There is a local network, 192.168.1.0/24,... | Click | 5 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Click/thomer-nat.click | [
"MIT"
] |
#H2 Server Properties
#Tue Oct 16 03:48:16 BRT 2018
0=JHipster H2 (Disk)|org.h2.Driver|jdbc\:h2\:file\:./target/h2db/db/gateway|gateway
webAllowOthers=true
webPort=8082
webSSL=false
| INI | 2 | DBatOWL/tutorials | jhipster/jhipster-uaa/gateway/src/main/resources/.h2.server.properties | [
"MIT"
] |
USING System.Diagnostics
[DebuggerStepThrough];
[DebuggerDisplay("{iInt1}, {iInt2}")];
CLASS Pair INHERIT VObject
PROTECT iInt1 AS INT
PROTECT iInt2 AS INT
CONSTRUCTOR() STRICT
SUPER()
CONSTRUCTOR(Int1 AS INT, Int2 AS INT)
SUPER()
iInt1 := Int1
iInt2 := Int2
RETURN
ACCESS Empty AS LOGIC
RETU... | xBase | 5 | orangesocks/XSharpPublic | Runtime/VOSdkTyped/Source/VOSdk/GUI_Classes_SDK/Support/Pair.prg | [
"Apache-2.0"
] |
<?Lassoscript
// Last modified 7/23/09 by ECL, Landmann InterActive
// FUNCTIONALITY
// Reset password page
// CHANGE NOTES
// 12/12/07
// Recoded for CMS v. 3.0
// 7/23/09
// Added Robot Check
Include:'/siteconfig.lasso';
// Robot check
Include:($svLibsPath)'robotcheck.inc';
// Start the Admin session
Session_Sta... | Lasso | 3 | fourplusone/SubEthaEdit | Documentation/ModeDevelopment/Reference Files/LassoScript-HTML/itpage/reset.lasso | [
"MIT"
] |
- dashboard: publisher_overview
title: Publisher Overview
layout: tile
tile_size: 100
elements:
- name: total_impressions
title: Total Impressions
type: single_value
model: doubleclick_dfp
explore: impressions
measures: [impressions.count]
sorts: [impressions.count de... | LookML | 4 | llooker/bq_transfers_dfp | publisher_overview.dashboard.lookml | [
"MIT"
] |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is a "No Compile Test" suite.
// http://dev.chromium.org/developers/testing/no-compile-tests
#include "base/no_destructor.h"
#include <string>
... | nesC | 4 | zealoussnow/chromium | base/no_destructor_unittest.nc | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
%!PS-Adobe-3.0
%% This file changes the IP Address on the Xante Accel-a-Writer
%%Setting the IP Address will restart the printer!!
%%Set The IP Address
%(%IP%) <</IPAddress (135.104.7.83)>> setdevparams
%(%IP%) <</NetworkMask (255.255.255.224)>> setdevparams
%(%IP%) <</BroadcastAddress (135.104.7.95)>> setdev... | PostScript | 4 | newluhux/plan9port | postscript/prologues/set_ip.ps | [
"MIT"
] |
#ifndef TEST_INTEROP_CXX_TEMPLATES_INPUTS_USING_DIRECTIVE_H
#define TEST_INTEROP_CXX_TEMPLATES_INPUTS_USING_DIRECTIVE_H
template<class T>
struct MagicWrapper {
T t;
int getValuePlusArg(int arg) const { return t.getValue() + arg; }
};
struct IntWrapper {
int value;
int getValue() const { return value; }
};
us... | C | 4 | gandhi56/swift | test/Interop/Cxx/templates/Inputs/using-directive.h | [
"Apache-2.0"
] |
/*
* Copyright 2014-2019 Jiří Janoušek <janousek.jiri@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of con... | Vala | 4 | xcffl/nuvolaruntime | src/nuvolakit-runner/components/notifications/NotificationBinding.vala | [
"BSD-2-Clause"
] |
/*
* Copyright (C) 2007 The Guava 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 agre... | Java | 4 | ksodhi2/guava | guava-tests/test/com/google/common/io/CountingOutputStreamTest.java | [
"Apache-2.0"
] |
#define BLUR_FORMAT float3
#define BLUR_WIDE
#include "blur_gaussian_float4CS.hlsl"
| HLSL | 1 | rohankumardubey/WickedEngine | WickedEngine/shaders/blur_gaussian_wide_float3CS.hlsl | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.