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 |
|---|---|---|---|---|---|
layout 'layout.tpl', title:'Messages : View',
content: contents {
div(class:'container') {
if (globalMessage) {
div (class:'alert alert-success', globalMessage)
}
div(class:'pull-right') {
a(href:'/', 'Messages')
}
dl {
dt 'ID'
dd(id:'id', message.id)
... | Smarty | 4 | Martin-real/spring-boot-2.1.0.RELEASE | spring-boot-samples/spring-boot-sample-web-groovy-templates/src/main/resources/templates/messages/view.tpl | [
"Apache-2.0"
] |
package jadx.tests.integration.enums;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.Test;
import jadx.tests.api.IntegrationTest;
import static jadx.tests.api.utils.assertj.JadxAssertions.assertThat;
public class TestEnums6 extends IntegrationTest {
public static class TestCls {
public enu... | Java | 5 | Dev-kishan1999/jadx | jadx-core/src/test/java/jadx/tests/integration/enums/TestEnums6.java | [
"Apache-2.0"
] |
V ← ⍳ 28
A ← 5 7 ⍴ ⍳ 35
A3 ← 5 4 3 ⍴ ⍳ 60
X ← ⍳ 2
Y ← 1 4 2
V1 ← V[5]
⎕ ← V1 ⍝ → [](5)
V2 ← V[5 2]
⎕ ← V2 ⍝ → [2](5,2)
B1 ← A[1;]
⎕ ← B1 ⍝ → [7](1,2,3,4,5,6,7)
B2 ← A[2;]
⎕ ← B2 ⍝ → [7](8,9,10,11,12,13,14)
B2_ ← A[;2]
⎕ ← B2_ ⍝ → [5](2,9,16,23... | APL | 4 | melsman/apltail | tests/idx.apl | [
"MIT"
] |
;;; lang/data/config.el -*- lexical-binding: t; -*-
(use-package! nxml-mode
:mode "\\.p\\(?:list\\|om\\)\\'" ; plist, pom
:mode "\\.xs\\(?:d\\|lt\\)\\'" ; xslt, xsd
:mode "\\.rss\\'"
:config
(setq nxml-slash-auto-complete-flag t
nxml-auto-insert-xml-declaration-flag t)
(set-company-backend! 'nxml... | Emacs Lisp | 4 | leezu/doom-emacs | modules/lang/data/config.el | [
"MIT"
] |
<!doctype html>
<html>
<head>
<title>Baeldung Spring Security SAML: Home</title>
</head>
<body>
<h3><Strong>Welcome!</strong><br/>You are successfully logged in!</h3>
<p>You are logged as <span class="badge badge-dark" th:text="${username}">null</span>.</p>
<small>
<a th:href="@{/logout}">Logout</a>... | HTML | 3 | DBatOWL/tutorials | spring-security-modules/spring-security-saml/src/main/resources/templates/home.html | [
"MIT"
] |
@import url("/static/cached/styles.css");
@import url("/static/styles_root.css");
body {
background: #d3d6d8 url(/static/cached/img/relative.png);
}
| CSS | 3 | jpmallarino/django | tests/staticfiles_tests/project/documents/cached/absolute.css | [
"BSD-3-Clause",
"0BSD"
] |
0 reg32_t "dword"
1 code_t "proc*"
2 num32_t "int"
3 uint32_t "size_t"
4 ptr(struct(0:num32_t,4:ptr(num8_t),8:ptr(num8_t),12:ptr(num8_t),16:ptr(num8_t),20:ptr(num8_t),24:ptr(num8_t),28:ptr(num8_t),32:ptr(num8_t),36:ptr(num8_t),40:ptr(num8_t),44:ptr(num8_t),48:ptr(struct(0:ptr(TOP),4:ptr(struct(0:num32_t,4:ptr(reg8_t),8... | BlitzBasic | 1 | matt-noonan/retypd-data | data/kill.decls | [
"MIT"
] |
all: go
include SuiteSparse_config/SuiteSparse_config.mk
go: run
- ( cd UMFPACK/Source ; ./ucov.di )
- ( cd AMD/Source ; ./acov.di )
run: prog
- ./ut > ut.out
- tail ut.out
#- $(RM) ut.out
prog:
( cd UMFPACK ; $(MAKE) library )
( cd AMD ; $(MAKE) library )
$(CC) -DDINT $(CF) $(UMFPACK_CONFIG) -IUMFPACK/... | D | 3 | luoyongheng/dtslam | 3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/Tcov/GNUmakefile.di | [
"BSD-3-Clause"
] |
def hastad_linear(keys, ciphertexts):
'''Hastad broadcast attacks with linear padding function: c = (a*m + b)^e % n
Args:
keys(list of tuples): [(n1, e1), (n2, e2), ...]
ciphertexts(list of tuples): [(c1, a1, b1), (c2, a2, b2), ...]
Returns:
msg(int/None)
'''
ni, ei = zip(*... | Sage | 4 | akbarszcz/CryptoAttacks | CryptoAttacks/PublicKey/sage_stuff.sage | [
"MIT"
] |
<ng-content select="mat-icon"></ng-content>
<span class="mdc-list-item__primary-text"><ng-content></ng-content></span>
<div class="mat-mdc-menu-ripple" matRipple
[matRippleDisabled]="disableRipple || disabled"
[matRippleTrigger]="_getHostElement()">
</div>
<svg
*ngIf="_triggersSubmenu"
class="mat-mdc-menu... | HTML | 2 | tungyingwaltz/components | src/material-experimental/mdc-menu/menu-item.html | [
"MIT"
] |
sub main()
node = createObject("RoSGNode", "NestedInlineChildren")
end sub
| Brightscript | 3 | lkipke/brs | test/e2e/resources/components/scripts/NestedInlineChildrenMain.brs | [
"MIT"
] |
@echo off
setlocal
set BOARD=stm32f4_disco
set ZEPHYR_BASE=%userprofile%\zephyr
set TOOLCHAIN=gcc-arm-none-eabi-7-2017-q4-major-win32
set DIR=%~dp0
if "%KONAN_DATA_DIR%"=="" (set KONAN_DATA_DIR=%userprofile%\.konan)
set KONAN_DEPS=%KONAN_DATA_DIR%/dependencies
set GNU_ARM=%KONAN_DEPS%/%TOOLCHAIN%
set ZEPHYR_TOOLCHAIN... | Batchfile | 4 | benasher44/kotlin-native | samples/zephyr/build.bat | [
"ECL-2.0",
"Apache-2.0"
] |
<header class="navbar">
<div class="container">
<h1 class="navbar-header">
<mt:setvarblock name="site-logo"><mt:assets tag="@SITE_LOGO" limit="1"><mt:asseturl></mt:assets></mt:setvarblock>
<a href="<mt:blogrelativeurl>" class="brand"><mt:if name="site-logo"><mt:assets type="image" tag="@SITE_LOGO" lim... | MTML | 3 | movabletype/mt-theme-SimpleCorporate | themes/simplecorporate/templates/header.mtml | [
"MIT"
] |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
// #define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_rp.h"
#include "inc_rp.cl"
#include "inc_scalar.cl"
#include "inc_hash_md4.cl"
#include "inc... | OpenCL | 4 | Masha/hashcat | OpenCL/m27100-pure.cl | [
"MIT"
] |
<h1>Welcome</h1>
<?php echo $this->tag->linkTo('', 'Go Home') ?>
| Volt | 2 | derryberni/mvc | micro-simple-views/views/index.volt | [
"BSD-3-Clause"
] |
// Daniel Shiffman
// http://youtube.com/thecodingtrain
// http://codingtra.in
// Coding Challenge #115: Snake Game Redux
// https://youtu.be/OMoVcohRgZA
Snake snake;
int rez = 20;
PVector food;
float w;
float h;
void setup() {
size(400, 400);
w = floor(width / rez);
h = floor(height / rez);
frameRate(5);
... | Processing | 5 | aerinkayne/website | CodingChallenges/CC_115_Snake_Game_Redux/Processing/Snake_Game_Redux/Snake_Game_Redux.pde | [
"MIT"
] |
"""Tests for the diagnostics data provided by the PVOutput integration."""
from aiohttp import ClientSession
from homeassistant.core import HomeAssistant
from tests.common import MockConfigEntry
from tests.components.diagnostics import get_diagnostics_for_config_entry
async def test_diagnostics(
hass: HomeAssis... | Python | 4 | MrDelik/core | tests/components/pvoutput/test_diagnostics.py | [
"Apache-2.0"
] |
// sdk stuff
import io/File
import structs/[List, ArrayList]
// our stuff
import Driver
import rock/frontend/[BuildParams, Target]
import rock/middle/Module
import rock/backend/cnaughty/CGenerator
/**
* Dummy driver, which only generates the .c source code
*
* Use it with -onlygen or -driver=dummy
*/
DummyDrive... | ooc | 4 | fredrikbryntesson/launchtest | source/rock/frontend/drivers/DummyDriver.ooc | [
"MIT"
] |
/**
* This file is part of the Phalcon.
*
* (c) Phalcon Team <team@phalcon.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Phalcon\Helper;
/**
* Phalcon\Helper\number
*
* This class offers numeric functions for... | Zephir | 4 | zsilbi/cphalcon | phalcon/Helper/Number.zep | [
"BSD-3-Clause"
] |
// Licence: GNU General Public License version 2 (GPLv2)
#pragma rtGlobals=3 // Use modern global access method and strict wave access.
function /S tools_addtowavename(sn, sna)
string sn, sna
string srn=""
if(strsearch(sn[strlen(sn)-1,strlen(sn)],"'",0)==0)
srn= sn[0,strlen(sn)-2]+sna+"'"
else
srn=sn+sna
... | IGOR Pro | 4 | ajnavarro/language-dataset | data/github.com/Yohko/IgorProTools/09ef2c30ce71d9226601d814d8dbe87c41c0a9ac/Igor Procedures/tools/tools_utils.ipf | [
"MIT"
] |
// Copyright (c) 2016-2021 Bluespec, Inc. All Rights Reserved.
package DMA_Cache;
// ================================================================
// This is an L1 Cache, coherent with other I- and D- caches.
// Can be used for coherent access to mem from devices.
// All addresses are physical addresses.
// All tr... | Bluespec | 5 | darius-bluespec/Flute | src_Core/Near_Mem_VM_WB_L1_L2/DMA_Cache.bsv | [
"Apache-2.0"
] |
4 37 8 24 14 14 6 23 38 27 47 2 9 6 39 41 28 42 4 23 3 25 11 38 49 1 9 16 23 38 49 35 7 30 20 36 25 16 38 50
13 29 25 1 36 47 17 45 11 8 9 10 48 4 1 24 35 41 27 13 3 42 7 3 26 18 17 27 32 28 24 22 33 1 23 31 20 34 15 6
2 27 38 12 22 16 23 49 26 46 1 17 27 7 45 44 40 45 35 43 9 23 19 47 5 34 2 24 42 32 12 1 9 19 18 44 4... | Matlab | 0 | yinrun/LOPDC-Benchmarks | lofri/matlab/n40-m4-r50-23.matlab | [
"MIT"
] |
package com.baeldung.ssl;
import java.io.InputStream;
import java.io.OutputStream;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
public class SecureConnection {
public static void main(String[] args) {
if (args.length != 2) {
System.out.println("Use: SecureConnec... | Java | 5 | zeesh49/tutorials | core-java/src/main/java/com/baeldung/ssl/SecureConnection.java | [
"MIT"
] |
static const q15_t in_val[46] = {
0xFFC6, 0x0251, 0x0376, 0x02B3, 0x0158, 0xFE63, 0xFCC4, 0xFC4D,
0xFD55, 0xFFED, 0x02A3, 0x036D, 0x033E, 0x0147, 0xFE71, 0xFC4E,
0xFC67, 0xFD5E, 0xFF34, 0x02D8, 0x0340, 0x0362, 0x0147, 0xFED7,
0xFCBD, 0xFBF9, 0xFDE3, 0x0039, 0x026F, 0x035C, 0x035E, 0x019A,
0xFEE8, 0x... | Max | 1 | maxvankessel/zephyr | tests/lib/cmsis_dsp/filtering/src/fir_q15.pat | [
"Apache-2.0"
] |
#!/bin/zsh
# WARP DIRECTORY
# ==============
# Jump to custom directories in terminal
# because `cd` takes too long...
#
# @github.com/mfaerevaag/wd
eval "wd() { source '${0:A:h}/wd.sh' }"
| Shell | 4 | chensanle/ohmyzsh | plugins/wd/wd.plugin.zsh | [
"MIT"
] |
//SPDX-License-Identifier: MIT
pragma solidity ^0.4.15;
contract OldPragmaFloat {
uint x;
function OldPragmaFloat() public {
x = 7;
}
}
| Solidity | 3 | santanaluiz/truffle | packages/compile-solidity/test/sources/v0.4.x/OldPragmaFloat.sol | [
"MIT"
] |
ZX1->(dbSetOrder(1), dbGoTop(), dbSeek(cChave))
//https://pt.stackoverflow.com/q/358314/101
| xBase | 1 | piovezan/SOpt | xBase/Alias.prg | [
"MIT"
] |
object UninstallProgressForm: TUninstallProgressForm
Left = 191
Top = 139
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'UninstallProgressForm'
ClientHeight = 360
ClientWidth = 497
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -... | Pascal | 2 | mqt635/issrc | Projects/UninstProgressForm.dfm | [
"FSFAP"
] |
{
shortWithList(list: [1, 2, 3])
longWithList(list: ["hello world this is a very long string!","hello world this is a very long string!", "hello world this is a very long string!"])
}
| GraphQL | 0 | fuelingtheweb/prettier | tests/graphql_lists/lists.graphql | [
"MIT"
] |
fileFormatVersion: 2
guid: e0f1e5147a394f428f9a6447c4a8a1f4
timeCreated: 1591919825 | Unity3D Asset | 0 | GardnerOne/ml-agents | com.unity.ml-agents.extensions/Runtime/Sensors/PoseExtractor.cs.meta | [
"Apache-2.0"
] |
data {
int<lower=1> N; // number of observations
int<lower=1> T; // number of tracts
int<lower=1> Z; // number of zones
int<lower=1> H; // number of neighorhoods
int<lower=1> L; // number of land
int<lower=1> G; ... | Stan | 5 | stan-dev/stancon_talks | 2018-helsinki/Contributed-Talks/auerbach_jones_winstanley/model2.stan | [
"CC-BY-4.0",
"BSD-3-Clause"
] |
// Copyright 2006-2015 Las Venturas Playground. All rights reserved.
// Use of this source code is governed by the GPLv2 license, a copy of which can
// be found in the LICENSE file.
/**
Las Venturas Playground v3.0 - Missionary Hills Jump
This map was created by BRKHN - LVP Mapper
04/05/2010 - Added by ... | PAWN | 3 | EPIC-striker/playground | pawn/Resources/Maps/MapZones/Jumps/Missionary_Hills.pwn | [
"MIT"
] |
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CMcaViewerDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "McaViewer.h"
ClassCount=3
Class1=CMcaViewerApp
Class2=CMcaViewerDlg
Class3=CAboutDlg
ResourceCount=5
Resource1=IDD_ABOUTBOX
Resou... | Clarion | 1 | oudream/ccxx | test/dump/swdbgbk_src/chap06/McaViewer/McaViewer.clw | [
"MIT"
] |
SELECT
domain,
hits,
visits
FROM
(
SELECT
domain(URL) AS domain,
count() AS hits
FROM test.hits
GROUP BY domain
) ANY LEFT JOIN
(
SELECT
domain(StartURL) AS domain,
sum(Sign) AS visits
FROM test.visits
GROUP BY domain
) USING domain
ORDER BY hits DESC
... | SQL | 3 | pdv-ru/ClickHouse | tests/queries/1_stateful/00044_any_left_join_string.sql | [
"Apache-2.0"
] |
import QtQuick 2.3
import QtQuick.Controls 1.2
import QGroundControl.FactSystem 1.0
import QGroundControl.FactControls 1.0
import QGroundControl.Controls 1.0
import QGroundControl.Palette 1.0
/*
IMPORTANT NOTE: Any changes made here must also be made to SensorsComponentSummary.qml
*/
Item {
anchors.fill: p... | QML | 4 | uav-operation-system/qgroundcontrol | src/AutoPilotPlugins/PX4/SensorsComponentSummaryFixedWing.qml | [
"Apache-2.0"
] |
# Token::
# Punctuator
# Name
# IntValue
# FloatValue
# StringValue
# Punctuator:: one of
# ! $ ( ) ... : = @ [ ] { | }
# Name::
# /[_A-Za-z][_0-9A-Za-z]*/
# Document :
# Definition (list)
# Definition :
# ExecutableDefinition
# TypeSystemDefinition
# TypeSystemExtension
# ExecutableDefini... | GraphQL | 5 | JesseVermeulen123/bat | tests/syntax-tests/source/GraphQL/test.graphql | [
"Apache-2.0",
"MIT"
] |
require_relative 'module'
require 'fastlane_core/command_executor'
module Screengrab
class AndroidEnvironment
attr_reader :android_home
# android_home - the String path to the install location of the Android SDK
# build_tools_version - the String version of the Android build tools that should be ... | Ruby | 5 | flufff42/fastlane | screengrab/lib/screengrab/android_environment.rb | [
"MIT"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M8.83 19.1c-.26-.6.09-1.28.73-1.41l3.58-.71-4.35-9.81c-.34-.76 0-1.64.76-1.98.76-.34 1.64 0 1.98.76l2.43 5.49.84-.37c.28-.13.59-.18.9-.17l4.56.21c.86.04 1.6... | JavaScript | 4 | dany-freeman/material-ui | packages/mui-icons-material/lib/esm/SwipeUpRounded.js | [
"MIT"
] |
#%RAML 1.0 Library
types:
rule:
properties:
tenantName:
type: string
maxLength: 64
description: Tenant Name
pattern: "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
policyName:
type: string
... | RAML | 5 | sap-ariba/netplugin | contivmodel/spec/netmaster/libraries/netmaster.raml | [
"Apache-2.0"
] |
#include "caffe2/operators/free_op.h"
namespace caffe2 {
REGISTER_CPU_OPERATOR(Free, FreeOp<CPUContext>);
SHOULD_NOT_DO_GRADIENT(Free);
OPERATOR_SCHEMA(Free)
.NumInputs(1, INT_MAX)
.NumOutputs(1, INT_MAX)
.SameNumberOfOutput()
.EnforceOneToOneInplace()
.SetDoc(R"DOC(
Frees the content of the blobs... | C++ | 4 | Hacky-DH/pytorch | caffe2/operators/free_op.cc | [
"Intel"
] |
/*
* Copyright 2014 The Sculptor Project Team, including 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
*
* http://www.apache.org/licenses/L... | Xtend | 5 | sculptor/sculptor | sculptor-generator/sculptor-generator-core/src/main/java/org/sculptor/generator/SculptorGeneratorWorkflow.xtend | [
"Apache-2.0"
] |
console.log "1 is main", module is require*.main
test1 = require './0.em'
test1.error()
| EmberScript | 0 | ghempton/ember-script | test/cli-eval-errors-files/1.em | [
"BSD-3-Clause"
] |
@Optional("Foo")
class Bar | Groff | 1 | punzki/kotlin | jps-plugin/testData/incremental/multiModule/multiplatform/custom/commonSourcesCompilerArg/c_b.kt.new.5 | [
"ECL-2.0",
"Apache-2.0"
] |
The functions in this file (well, the single function) will allow the
user to plot different functions using the Gnuplot program. In fact,
all it really does is output a number of points on the list and allow
the user to activate Gnuplot and use the plotting program to get the
appropriate output.
The first line just ... | Literate Haskell | 4 | ocharles/ghc | testsuite/tests/programs/barton-mangler-bug/Plot.lhs | [
"BSD-3-Clause"
] |
<div class="footer">
<p>© Jonathan Bullock 2013 | Mixed with <a href="http://twitter.github.com/bootstrap/">Bootstrap v2.3.1</a> | Baked with <a href="http://jbake.org">JBake ${version}</a></p>
</div>
</div> <!-- /container -->
<!-- Le javascript
==================================... | Groovy Server Pages | 3 | bmarwell/jbake | jbake-core/src/test/resources/fixture/groovyTemplates/footer.gsp | [
"MIT"
] |
-- This script presumes that you are an OmniFocus user,
-- and that you'd like to have a project in OmniFocus for a reading list of articles from NetNewsWire.
-- Running this script creates a new task in an OmniFocus project called "NetNewsWire reading list"
-- with information about the current article.
-- Ideally,... | AppleScript | 5 | bubudrc/NetNewsWire | AppleScript/OmniFocus-AddToNNWReadingList.applescript | [
"MIT"
] |
2016-02-18 13:49:24 - irc: disconnected from server
2016-02-18 13:49:24 [13:49]
2016-02-19 14:11:49 NicholasB just share him this link
2016-02-19 14:11:49 [14:11]
2016-02-19 14:11:50 NicholasB https://telegram.me/joinchat/B0P5bQHqb4U857sKaz9Ktw
2016-02-19 14:13:03 fsociety ah k thanks
2016-02-19 14:13:06 - [Nicho... | IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.nicholasb.weechatlog | [
"MIT"
] |
#%RAML 0.8
---
title: Starhackit
baseUri: http://localhost:8080/api/v1
version: v1
mediaType: application/json
protocols: [ HTTP, HTTPS ]
documentation:
- title: User REST API
content: 'User REST API documentation'
traits: !include traits.raml
/auth:
/login:
description: 'Authenticate with the given usernam... | RAML | 4 | surumen/msoma.org | server/src/plugins/users/raml/users.raml | [
"Unlicense"
] |
/* 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,
* 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/.
* You can obtain one at http://mozilla.o... | WebIDL | 3 | dkozma/wasm-bindgen | crates/web-sys/webidls/unstable/ReadableStreamBYOBReader.webidl | [
"Apache-2.0",
"MIT"
] |
LITHO,CANAL,CODIGO
002357,C,000283
002401,A,000027
002400,B,000046
002353,C,000316
002454,A,000351
002459,A,000037
002399,A,000262
002342,A,000052
002354,C,000329
002349,A,000118
002348,C,000177
002347,B,000059
002355,A,000183
002463,C,000206
002356,C,000352
002461,B,000309
002351,C,000117
002352,C,000273
002453,C,0003... | IDL | 1 | plandauro/admision | storage/calificacioncepre/2019-IIhojaidentificacion_PE03.dlm | [
"MIT"
] |
import { Col, Row } from '@freecodecamp/react-bootstrap';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { AsSeenInText } from '../../../assets/images/components';
const AsSeenIn = (): JSX.Element => {
const { t } = useTranslation();
return (
<Row className='as-seen-in'>
... | TypeScript | 4 | fcastillo-serempre/freeCodeCamp | client/src/components/landing/components/as-seen-in.tsx | [
"BSD-3-Clause"
] |
#!/usr/bin/env bash
# Copyright 2018 The Kubernetes 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 applica... | Shell | 5 | 767829413/kubernetes | test/cmd/template-output.sh | [
"Apache-2.0"
] |
- // MIR for `main` before Inline
+ // MIR for `main` after Inline
fn main() -> () {
let mut _0: (); // return place in scope 0 at $DIR/cycle.rs:16:11: 16:11
let _1: (); // in scope 0 at $DIR/cycle.rs:17:5: 17:9
bb0: {
StorageLive(_1); ... | Diff | 2 | mbc-git/rust | src/test/mir-opt/inline/cycle.main.Inline.diff | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
<div class="hidden">
\begin{code}
main = putStrLn "Easter Egg: to force Makefile"
\end{code}
</div>
LiquidHaskell
==============
Refinement Types for Haskell
------------------------------
<br>
<br>
<div class="fragment">
**Ranjit Jhala**
University of California, San Diego
<br>
<br>
Joint work with:
N. Vazo... | Literate Haskell | 1 | curiousleo/liquidhaskell | docs/slides/BOS14/lhs/Index-Boston-Haskell.lhs | [
"MIT",
"BSD-3-Clause"
] |
#pragma once
#include "caffe2/core/logging.h"
#include "caffe2/predictor/emulator/emulator.h"
#include "caffe2/predictor/emulator/output_formatter.h"
#include "caffe2/predictor/emulator/profiler.h"
C10_DECLARE_int(warmup);
C10_DECLARE_int(iter);
C10_DECLARE_int(threads);
C10_DECLARE_int(runs);
C10_DECLARE_string(run_n... | C | 4 | Hacky-DH/pytorch | caffe2/predictor/emulator/benchmark.h | [
"Intel"
] |
' 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 Microsoft.CodeAnalysis.Editor.VisualBasic.KeywordHighlighting
Namespace Microsoft.CodeAnalysis.Editor.VisualB... | Visual Basic | 3 | ffMathy/roslyn | src/EditorFeatures/VisualBasicTest/KeywordHighlighting/WithBlockHighlighterTests.vb | [
"MIT"
] |
%p
Hello,
World!
| Scaml | 0 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Scaml/hello.scaml | [
"MIT"
] |
h2. RequireJS
endprologue.
h3. RequireJS modules explained
We use "RequireJS":http://requirejs.org to manage JavaScript dependencies, that's why some
basic understanding is very helpful. By using RequireJS, we gain some nice benefits: First, we the dependency management between JavaScript files is done for us, meani... | Textile | 4 | luciany/Aloha-Editor | doc/guides/source/require.textile | [
"CC-BY-3.0"
] |
; ****************************************************************************
; * Copyright (C) 2002-2010 OpenVPN Technologies, Inc. *
; * Copyright (C) 2012 Alon Bar-Lev <alon.barlev@gmail.com> *
; * This program is free software; you can redistribute it and/or modify *
; * ... | NSIS | 5 | LK26/outline-client | third_party/tap-windows6/installer/tap-windows6.nsi | [
"Apache-2.0"
] |
#!/usr/bin/env io
template := """
<table cellpadding=3 cellspacing=0 border=0>
<tr>
<td bgcolor=#888888 width=70>
<font color=white face="helvetica, arial, sans">
@name@
</td>
<td bgcolor=@color@ width=@length@>
<font color=white face="helvetica, arial, sans">
<font color=@fontColor@>@time@</font>
</td>
</tr>
</t... | Io | 4 | akluth/io | samples/speed/speedResults2.io | [
"BSD-3-Clause"
] |
;-----------------------------------------------------------------------------;
; Author: HD Moore
; Compatible: Confirmed Windows 7, Windows 2008 Server, Windows XP SP1, Windows SP3, Windows 2000
; Known Bugs: Incompatible with Windows NT 4.0, buggy on Windows XP Embedded (SP1)
; Version: 1.0
;-------------------... | Assembly | 5 | OsmanDere/metasploit-framework | external/source/shellcode/windows/x86/src/block/block_reverse_http.asm | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
/*****************************************************************************
*
* QUERY: CREATE INDEX
*
* Note: we cannot put TABLESPACE clause after WHERE clause unless we are
* willing to make TABLESPACE a fully reserved word.
*****************************************************************************/
Inde... | Yacc | 4 | AldoMyrtaj/duckdb | third_party/libpg_query/grammar/statements/index.y | [
"MIT"
] |
<template>
<block>
<v-article
:title="currentMovie.title"
:user_name="currentMovie.user ? currentMovie.user.user_name : ''"
:content="currentMovie.content || ''"
:summary="currentMovie.summary || ''"
></v-article>
</block>
</template>
<script>
import { mapState, mapActions } from 'v... | Vue | 4 | ye1088/uni-app | examples/uniapp-one/pages/movie/detail/main.vue | [
"Apache-2.0"
] |
// check-pass
fn main() {}
#[cfg(FALSE)]
impl X {
const Y: u8;
}
| Rust | 1 | Eric-Arellano/rust | src/test/ui/parser/impl-item-const-pass.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
// 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 System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace osu.Game.Online.API.Requests.Responses
{
public class APISeasonalBackgroun... | C# | 4 | ewyn72/osu | osu.Game/Online/API/Requests/Responses/APISeasonalBackgrounds.cs | [
"MIT"
] |
.class interface abstract Landroid/support/v4/view/accessibility/AccessibilityManagerCompatIcs$AccessibilityStateChangeListenerBridge;
.super Ljava/lang/Object;
.source "AccessibilityManagerCompatIcs.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/view/accessi... | Smali | 3 | jarekankowski/pegasus_spyware | sample3/decompiled_raw/smali/android/support/v4/view/accessibility/AccessibilityManagerCompatIcs$AccessibilityStateChangeListenerBridge.smali | [
"MIT"
] |
10 5 2 0
0 1 5 7 5 3 1 2 [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0 0 0]
1 3 4 8 9 6 11 [8 -6 20 10 1 10 23 1 -3] [1 7 3 9 12 9 -4 9 13] [2 5 18 0 3 12 19 3 12] [7 8 8]
2 3 4 4 9 10 11 [14 8 6 11 15 10 2 2 1] [0 10 7 0 14 0 0 1 3] [2 -4 12 18 16 -4 6 2 0] [5 6 2]
3 3 3 9 8 6 [1 0 0 9 6 9 2 2 0] [1 2 1 5 5 6 5 -1 2] [0 0 3 ... | Eagle | 2 | klorel/or-tools | examples/data/rcpsp/multi_mode_max_delay/mm_j10/psp124.sch | [
"Apache-2.0"
] |
import { Component, NgModule, Type } from '@angular/core';
import { TestBed, fakeAsync, flushMicrotasks } from '@angular/core/testing';
import { ElementsLoader } from './elements-loader';
import { ELEMENT_MODULE_LOAD_CALLBACKS_TOKEN, WithCustomElementComponent } from './element-registry';
interface Deferred {
reso... | TypeScript | 5 | faso-dev/angular | aio/src/app/custom-elements/elements-loader.spec.ts | [
"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 | 4 | Machiaweliczny/oppailang | lib/stdlib/web/template/template.opa | [
"MIT"
] |
var arrayWithHoles = require("./arrayWithHoles.js");
var iterableToArrayLimit = require("./iterableToArrayLimit.js");
var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
var nonIterableRest = require("./nonIterableRest.js");
function _slicedToArray(arr, i) {
return arrayWithHoles(arr) || ... | JavaScript | 4 | AdityaJPutra/Alphabot-Md | node_modules/@babel/runtime/helpers/slicedToArray.js | [
"MIT"
] |
{
metadata: {
namespace: "MathML",
namespaceURI: "http://www.w3.org/1998/Math/MathML",
attrsNullNamespace: true,
},
data: [
"definitionURL",
"encoding",
],
}
| JSON5 | 1 | zipated/src | third_party/blink/renderer/core/html/parser/mathml_attribute_names.json5 | [
"BSD-3-Clause"
] |
// MIR for `too_complex` after PreCodegen
fn too_complex(_1: Result<i32, usize>) -> Option<i32> {
debug x => _1; // in scope 0 at $DIR/separate_const_switch.rs:9:16: 9:17
let mut _0: std::option::Option<i32>; // return place in scope 0 at $DIR/separate_const_switch.rs:9:42: 9:53
let m... | Mirah | 3 | mbc-git/rust | src/test/mir-opt/separate_const_switch.too_complex.PreCodegen.after.mir | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
Hello, {{NAME}}
I hope your {{TIME_PERIOD}} was fun.
| Modelica | 0 | wukuan405/mo | demo/fun-trip.mo | [
"MIT"
] |
= Overview =
* CPU: Intel Core 2 Solo U3500 @ 1.40GHz (speeds: 0.8, 1.2 and 1.4GHz), 3MB L2
* Screen: 1366x768 LED
= BIOS versions =
* 1.10 - average ACPI temperature around 34°C, good GL playing
* 1.20 - average ACPI temperature around 39°C, good GL playing
* 1.31 - big slowdown in X windows from time to time, GL gam... | MediaWiki | 3 | pmeiyu/nixos-hardware | acer/aspire/4810t/README.wiki | [
"CC0-1.0"
] |
# Copyright (c) 2018-2021, Carnegie Mellon University
# See LICENSE for details
memo := function(context, prefix, exp)
local v, isum;
exp := SReduce(toExpArg(exp), SpiralDefaults); ##Pass the real opts instead
if IsValue(exp) then return exp.v;
elif IsVar(exp) then return exp;
else
if IsBound(c... | GAP | 3 | sr7cb/spiral-software | namespaces/spiral/sigma/memo.gi | [
"BSD-2-Clause-FreeBSD"
] |
# frozen_string_literal: true
module ActiveRecord
module ConnectionAdapters
class PoolManager # :nodoc:
def initialize
@name_to_role_mapping = Hash.new { |h, k| h[k] = {} }
end
def shard_names
@name_to_role_mapping.values.flat_map { |shard_map| shard_map.keys }
end
... | Ruby | 4 | puzzle/nochmal | spec/dummy/vendor/bundle/ruby/2.7.0/gems/activerecord-6.1.4.1/lib/active_record/connection_adapters/pool_manager.rb | [
"MIT"
] |
#lang scribble/manual
@require[@for-label[r-cade]]
@title{R-cade Game Engine}
@author[@author+email["Jeffrey Massung" "massung@gmail.com"]]
@defmodule[r-cade]
R-cade is a simple, retro game engine for Racket.
@;; ----------------------------------------------------
@section{Homepage}
All the most recent updates,... | Racket | 5 | massung/r-cade | scribblings/r-cade.scrbl | [
"Apache-2.0"
] |
import * as React from 'react';
import Box from '@mui/material/Box';
import Popper, { PopperPlacementType } from '@mui/material/Popper';
import Typography from '@mui/material/Typography';
import Grid from '@mui/material/Grid';
import Button from '@mui/material/Button';
import Fade from '@mui/material/Fade';
import Pape... | TypeScript | 4 | dany-freeman/material-ui | docs/data/material/components/popper/PositionedPopper.tsx | [
"MIT"
] |
#Signature file v4.1
#Version 1.49
| Standard ML | 0 | timfel/netbeans | platform/libs.jsr223/nbproject/org-netbeans-libs-jsr223.sig | [
"Apache-2.0"
] |
etf
load spy
pred
mc
exit | Gosu | 0 | minhhoang1023/GamestonkTerminal | scripts/test_etf_pred.gst | [
"MIT"
] |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... | JavaScript | 3 | good-gym/material-ui | packages/material-ui-icons/lib/DriveFileMoveRounded.js | [
"MIT"
] |
import React, {Component, PropTypes} from 'react'
import MailMergeToken from './mail-merge-token'
import {DragBehaviors} from './mail-merge-constants'
import {tokenQuerySelector} from './mail-merge-utils'
import ListensToMailMergeSession from './listens-to-mail-merge-session'
/**
* MailMergeBodyTokens are rendered by... | JSX | 5 | cnheider/nylas-mail | packages/client-app/internal_packages/composer-mail-merge/lib/mail-merge-body-token.jsx | [
"MIT"
] |
;;; lang/yaml/config.el -*- lexical-binding: t; -*-
(use-package! yaml-mode
:mode "Procfile\\'"
:init
(when (featurep! +lsp)
(add-hook 'yaml-mode-local-vars-hook #'lsp!))
:config
(setq-hook! 'yaml-mode-hook tab-width yaml-indent-offset))
| Emacs Lisp | 4 | leezu/doom-emacs | modules/lang/yaml/config.el | [
"MIT"
] |
#!/bin/bash -xe
YAML_FILENAME=verbatim-sources/workflows-pytorch-ge-config-tests.yml
DIFF_TOOL=meld
# Allows this script to be invoked from any directory:
cd $(dirname "$0")
pushd ..
$DIFF_TOOL $YAML_FILENAME <(./codegen_validation/normalize_yaml_fragment.py < $YAML_FILENAME)
popd
| Shell | 3 | Hacky-DH/pytorch | .circleci/codegen_validation/compare_normalized_yaml.sh | [
"Intel"
] |
/* eslint react/no-danger: 0 */
import React, {Component, PropTypes} from 'react'
import {findDOMNode} from 'react-dom'
import {EditorAPI} from 'nylas-exports'
import {OverlaidComponents, DropZone} from 'nylas-component-kit'
import ListensToMailMergeSession from './listens-to-mail-merge-session'
import * as Handlers fr... | JSX | 4 | cnheider/nylas-mail | packages/client-app/internal_packages/composer-mail-merge/lib/mail-merge-subject-text-field.jsx | [
"MIT"
] |
NAME
ParaView::ServerManagerKit
LIBRARY_NAME
vtkPVServerManagerKit
| Kit | 0 | xj361685640/ParaView | Kits/ServerManager/vtk.kit | [
"Apache-2.0",
"BSD-3-Clause"
] |
#!/bin/bash
# The script builds the Deno package.
rsync --archive --prune-empty-dirs --relative --exclude={'*.flow','benchmark.*','test.*','snapshot.md'} src/./ deno
cp {CHANGELOG.md,LICENSE.md,typings.d.ts} deno
yarn ts-node scripts/build/_lib/addDenoExtensions.ts | Shell | 3 | essana3/date-fns | scripts/build/deno.sh | [
"MIT"
] |
package com.baeldung.ddd.order.doubledispatch;
import java.util.List;
import com.baeldung.ddd.order.OrderLine;
import com.baeldung.ddd.order.doubledispatch.visitor.OrderVisitor;
public class SpecialOrder extends Order {
private boolean eligibleForExtraDiscount;
public SpecialOrder(List<OrderLine> orderLine... | Java | 4 | DBatOWL/tutorials | ddd/src/main/java/com/baeldung/ddd/order/doubledispatch/SpecialOrder.java | [
"MIT"
] |
-- Unit tests for simple NOT IN with a literal expression of a single column
--
-- More information can be found in not-in-unit-tests-single-column.sql.
-- This file has the same test cases as not-in-unit-tests-single-column.sql with literals instead of
-- subqueries.
--CONFIG_DIM1 spark.sql.optimizeNullAwareAntiJoin=... | SQL | 5 | OlegPt/spark | sql/core/src/test/resources/sql-tests/inputs/subquery/in-subquery/not-in-unit-tests-single-column-literal.sql | [
"Apache-2.0"
] |
;----------------- Include Algorithms Library --------------------------------
__includes [ "A-star.nls" "LayoutSpace.nls"]
;--------------- Customizable Reports -------------------
; These reports must be customized in order to solve different problems using the
; same A* function.
; Rules are represented by using... | NetLogo | 5 | fsancho/IA | 03. Informed Search/A-star Problem Solver - Cartas.nlogo | [
"MIT"
] |
use lib "$ENV{ANTELOPE}/data/perl" ;
#This program is used to grab the pde format qed weekly
#files from the site $remote_host and leave it in the directory
#$qed_dir. This program will check the update times of files
#on the remote site and compare that to the files in $qed_store.
#If there are files to update they w... | XProc | 4 | jreyes1108/antelope_contrib | nobuild/bin/import/update_weekly_qed/update_weekly_qed.xpl | [
"BSD-2-Clause",
"MIT"
] |
pytorch {
local:
*4llvm*;
};
| Linker Script | 0 | Hacky-DH/pytorch | caffe2/version_script.lds | [
"Intel"
] |
Module: OLE-Automation
Synopsis: Macro to define a COM dual interface.
Author: David N. Gray
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANT... | Dylan | 4 | kryptine/opendylan | sources/ole/ole-automation/dual.dylan | [
"BSD-2-Clause"
] |
breed [AI:GNGNeurons AI:GNGNeuron]
breed [data datum]
undirected-link-breed [AI:GNGLinks AI:GNGLink]
AI:GNGNeurons-own [
AI:weight
AI:error
]
AI:GNGLinks-own [
AI:age
]
globals [
Lambda
edad_max
alpha
beta
eps_w
eps_n
M
step
]
to setup
ca
ask patches [set pcolor white]
; Create Data
;... | NetLogo | 5 | fsancho/IA | 11. Machine Learning/Growing Neural Gas/GNG.nlogo | [
"MIT"
] |
# frozen_string_literal: true
module ELFTools
# Define common methods for dynamic sections and dynamic segments.
#
# @note
# This module can only be included by {ELFTools::Sections::DynamicSection}
# and {ELFTools::Segments::DynamicSegment} because methods here assume some
# attributes exist.
modul... | Ruby | 5 | rmNULL/brew | Library/Homebrew/vendor/bundle/ruby/2.6.0/gems/elftools-1.1.2/lib/elftools/dynamic.rb | [
"BSD-2-Clause"
] |
#lang scribble/base
@(require
scriblib/figure
scriblib/footnote
scribble/manual
"defs.rkt"
"bib.rkt"
scribble-latex-utils/utils)
@title[#:tag "sec:surface"]{Growing a Surface Language}
Cur provides an object language with no more convenience than Curnel.
It contains only features necessary for expressivity... | Racket | 5 | bluephoenix47/cic-redex | cur-paper/syntax-sugar.scrbl | [
"BSD-2-Clause"
] |
/*
* Copyright (C) 2012 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 | 5 | ksodhi2/guava | guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java | [
"Apache-2.0"
] |
<div class="options_container_arrow_overlay"></div>
<div class="options_data">
<div class="title">
<div class="title_content">
<div class="version"><img src="images/db.png" class="layers" />RethinkDB {{version}}</div>
<span class="title_text">Web UI Settings<... | Handlebars | 4 | zadcha/rethinkdb | admin/static/handlebars/options_view.hbs | [
"Apache-2.0"
] |
''**********************************************************************************
''*This Demo turns on the iPod, plays for 10 seconds, *
''* stops, and then turns the iPod off. See iPod.spin documentation. *
''************************************************************... | Propeller Spin | 4 | deets/propeller | libraries/community/p1/All/iPod/iPodTrial.spin | [
"MIT"
] |
# docker
> 도커 컨테이너들과 이미지들을 관리한다.
> 더 많은 정보: <https://docs.docker.com/engine/reference/commandline/cli/>.
- 현재 실행중인 도커 컨테이너들 목록보기:
`docker ps`
- 모든 도커 컨테이너들(실행중이고 중지된) 목록 보기:
`docker ps -a`
- 사용자 정의 이름으로 이미지로부터 컨테이너 실행:
`docker run --name {{컨테이너_이름}} {{이미지}}`
- 기존 컨테이너 실행 또는 중지하기:
`docker {{실행|중지}} {{컨테이너_이름}}`... | Markdown | 3 | pavelshtanko/tldr | pages.ko/common/docker.md | [
"CC-BY-4.0"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.