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 |
|---|---|---|---|---|---|
# TODO: Translation updated at 2022-01-11 21:45
# game/scripts/labels/quiz_session.rpy:13
translate english study_session_4483dae8:
# player neutral "First question."
player neutral "First question."
# game/scripts/labels/quiz_session.rpy:15
translate english study_session_477cd9b3:
# player neutral "S... | Ren'Py | 3 | googlebleh/LearnToCodeRPG | game/tl/english/scripts/labels/quiz_session.rpy | [
"BSD-3-Clause"
] |
Goal prison 100 = prisoo 100. compute. reflexivity. Qed.
| Coq | 0 | LaudateCorpus1/RosettaCodeData | Task/100-doors/Coq/100-doors-3.coq | [
"Info-ZIP"
] |
// Print a newline
fn putln() -> void = do
putchar('\n')
end in
// Print a number, and a newline
fn putnumln(n: int) -> void = do
putnum(n); putln()
end in
let x = 1 in do
putnumln(x);
x++;
putnumln(x)
end | Harbour | 4 | adam-mcdaniel/harbor | examples/inc.hb | [
"Apache-2.0"
] |
[Desktop Entry]
Version=1.0
Type=Application
Name=Burp Suite community edition
Exec=burpsuite
Icon=burpsuite
Comment=Burp Suite is an integrated platform for attacking web applications (community edition)
Categories=X-BlackArch-Fuzzer; X-BlackArch-Proxy; X-BlackArch-Scanner; X-BlackArch-Webapp;
Terminal=false
MimeType=... | desktop | 0 | cyberqueen-meg/blackarch | packages/burpsuite/burpsuite.desktop | [
"BSD-3-Clause"
] |
/* 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++ | 4 | abhaikollara/tensorflow | tensorflow/compiler/xla/tests/call_test.cc | [
"Apache-2.0"
] |
component{
function foo(resourceUri){
var httpRequest = new Http(method=arguments.method, url=variables.ENDPOINT & arguments.resourceUri, charset="utf-8", timeout=arguments.timeout, throwOnError=false, username=variables.something, password=variables.somethingelse, getAsBinary="never");
}
} | ColdFusion CFC | 3 | tonym128/CFLint | src/test/resources/com/cflint/tests/VarScoper/fpositive/http2.cfc | [
"BSD-3-Clause"
] |
#define kill_width 16
#define kill_height 16
#define kill_x_hot 8
#define kill_y_hot 8
static unsigned char kill_bits[] = {
0x04, 0x20, 0x0e, 0x70, 0x1f, 0xf8, 0x3e, 0x7c, 0x7c, 0x3e, 0xf8, 0x1f,
0xf0, 0x0f, 0xe0, 0x07, 0xe0, 0x07, 0xf0, 0x0f, 0xf8, 0x1f, 0x7c, 0x3e,
0x3e, 0x7c, 0x1f, 0xf8, 0x0e, 0x70, 0x04, 0... | Mask | 2 | trofi/afterstep | afterstep/desktop/cursors/kill.xbm.mask | [
"MIT"
] |
unit
class TextBoxBodyClass
implement TextBoxClass
import WidgetGlobals, TextBoxModule,
HorizontalScrollBarClass, VerticalScrollBarClass
type lineRec :
record
text : string
next : ^lineRec
end record
var firstLine, lastLine : ^lineRec := nil
var continueLine : boolean... | Turing | 5 | ttracx/OpenTuring | turing/test/support/lib/GUIClass/TextBoxBodyClass.tu | [
"MIT"
] |
class box expands Actor;
#exec MESH IMPORT MESH=box ANIVFILE=MODELS\box_a.3d DATAFILE=MODELS\box_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=box X=0 Y=0 Z=0
#exec MESH SEQUENCE MESH=box SEQ=All STARTFRAME=0 NUMFRAMES=30
//#exec MESH SEQUENCE MESH=box SEQ=??? STARTFRAME=0 NUMFRAMES=30
#exec MESHMAP NEW MESHMAP=box MESH=b... | UnrealScript | 3 | sercand/assimp | test/models/3D/box.uc | [
"BSD-3-Clause"
] |
CREATE TABLE `report_case_high_risk` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`report_data` varchar(10) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT 'ͳ��ʱ��',
`caseType` varchar(60) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '��������',
`total_case` int(11) NOT NULL DEFAULT '0' COMMENT '�ܰ���',
`today_new_case` int(11... | SQL | 4 | WizardXiao/tidb | br/pkg/lightning/mydump/examples/mocker_test.report_case_high_risk-schema.sql | [
"Apache-2.0"
] |
{foreach $cart->items as $item}
<div class="cart-item">
<span class="product">{$item->name}</span><br>
{$item->price}
</div>
{/foreach}
| Latte | 3 | timfel/netbeans | php/php.latte/test/unit/data/testfiles/indent/testRealFile_02.latte | [
"Apache-2.0"
] |
[
(prologue)
(select_query)
(construct_query)
(describe_query)
(ask_query)
(values_clause)
(load)
(clear)
(drop)
(add)
(move)
(copy)
(create)
(insert_data)
(delete_data)
(delete_where)
(modify)
(group_graph_pattern)
(triples_same_subject)
(where_clause)
(delete_clause)
(inser... | Scheme | 2 | yzia2000/nvim-treesitter | queries/sparql/folds.scm | [
"Apache-2.0"
] |
<%= t('.missing') %>
| HTML+ERB | 0 | mdesantis/rails | actionview/test/fixtures/translations/templates/missing.erb | [
"MIT"
] |
import PlausibleProvider from 'next-plausible'
export default function MyApp({ Component, pageProps }) {
return (
<PlausibleProvider domain={process.env.NEXT_PUBLIC_DOMAIN}>
<Component {...pageProps} />
</PlausibleProvider>
)
}
| JavaScript | 4 | blomqma/next.js | examples/with-plausible/pages/_app.js | [
"MIT"
] |
$el4-style = ridge
| Stylus | 0 | joseconstela/meteor | tools/tests/apps/caching-stylus/packages/local-pack/p.styl | [
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] |
# from http://www.gnuplotting.org/tag/png/
set style line 1 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red
set style line 2 lc rgb '#5e9c36' pt 6 ps 1 lt 2 lw 2 # --- green
set style line 3 lc rgb '#1f80ff' pt 3 ps 1 lt 3 lw 2 # --- blue
set style line 4 lc rgb '#ffa500' pt 3 ps 1 lt 4 lw 2 # --- orange
set style line ... | Gnuplot | 3 | DanielMabadeje/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials | Projects/hackernews-comments/train/train.plot | [
"Apache-2.0"
] |
def main() -> void begin
i: int = 2
if i == 1 do
print("one")
elif i == 2
print("two")
else
print("i don't know")
end
end
| Cycript | 2 | matheuspb/cython | examples/if_elif_else.cy | [
"MIT"
] |
particle_system flames
{
src = "assets/particles/fire.png"
blendmode = add
gravity = -1,0,0
velocity = 0,0.2,0
lifetime = 2
lifetime_variance = 0.2
colour = 255,255,255,255
rotation_speed = 0.5
scale_affector = 0.9
size = 0.19
emit_rate = 30
spawn_radius = 0.2
release_count = 0
} | Component Pascal | 3 | fallahn/crogine | samples/threat_level/assets/particles/flames.cps | [
"FTL",
"Zlib"
] |
table t : {Id : int, Parent : option int}
fun recurse (root : option int) =
queryX' (SELECT * FROM t WHERE {eqNullable' (SQL t.Parent) root})
(fn r =>
children <- recurse (Some r.T.Id);
(*s <- source False;*)
return <xml>
<dyn signal={(*... | UrWeb | 3 | apple314159/urweb | tests/treeDyn.ur | [
"BSD-3-Clause"
] |
%tr
%td.text-content
%h2.invite-header
= invitation_reminder_salutation(@reminder_index, format: :html)
%p.invite-body
= invitation_reminder_body(member, @reminder_index, format: :html)
%p.invite-actions
= invitation_reminder_accept_link(@token, format: :html)
= invitation_reminder... | Haml | 3 | glimmerhq/glimmerhq | app/views/notify/member_invited_reminder_email.html.haml | [
"MIT"
] |
The purpose of this dummy file is to create this directory. | VHDL | 1 | X-EcutiOnner/Notepad3 | test/test_files/StyleLexers/styleLexVHDL/Sample_VHDL.vhdl | [
"BSD-3-Clause"
] |
// edition:2021
// check-pass
//
// Regression test for issue #84429
// Tests that we can properly invoke `matches!` from a 2021-edition crate.
fn main() {
let _b = matches!(b'3', b'0' ..= b'9');
}
| Rust | 4 | mbc-git/rust | src/test/ui/macros/issue-84429-matches-edition.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
{
"message" : "${message}",
"code" : ${code}
} | FreeMarker | 1 | zeesh49/tutorials | java-lite/src/main/webapp/WEB-INF/views/products/message.ftl | [
"MIT"
] |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>WebHID API</title>
</head>
<body>
<h1>WebHID API</h1>
<button id="clickme">Test WebHID</button>
<h3>HID devices automatically granted ac... | HTML | 3 | TarunavBA/electron | docs/fiddles/features/web-hid/index.html | [
"MIT"
] |
/*
Copyright © 2011 MLstate
This file is part of Opa.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify... | Opa | 4 | Machiaweliczny/oppailang | lib/stdlib/components/fragment/fragment.opa | [
"MIT"
] |
<div>
<style scoped>
.dataframe tbody tr th:only-of-type {
vertical-align: middle;
}
.dataframe tbody tr th {
vertical-align: top;
}
.dataframe thead th {
text-align: right;
}
</style>
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
... | HTML | 1 | CJL89/pandas | pandas/tests/io/formats/data/html/html_repr_max_rows_None_min_rows_12.html | [
"BSD-3-Clause"
] |
(ns (defns tests.arc.ns :import arc.unit))
(desc "namespace"
(test "bound"
(do (defns A))
(is :ns A
(assign x 1) 1
(bound 'x) t)
(is :ns user
(bound 'x) nil))
(test "shadowing"
(do (defns A))
(is :ns A
(assign x 1) 1
(bound 'x) ... | Arc | 4 | smihica/arc-js | test/unit/arc/ns.arc | [
"Artistic-2.0"
] |
package jadx.core.xmlgen.entry;
public class RawNamedValue {
private final int nameRef;
private final RawValue rawValue;
public RawNamedValue(int nameRef, RawValue rawValue) {
this.nameRef = nameRef;
this.rawValue = rawValue;
}
public int getNameRef() {
return nameRef;
}
public RawValue getRawValue() {... | Java | 4 | DSYliangweihao/jadx | jadx-core/src/main/java/jadx/core/xmlgen/entry/RawNamedValue.java | [
"Apache-2.0"
] |
%
% Center pages, based on pageheight and pagewidth, and redefine showpage
% to put cropmarks at each corner. Device dependent code to expand the
% paper size goes in procedure expandpagesize. Currently only supports
% a Linotronic 200P typesetter using 12 inch wide paper. You'll have to
% add code to expandpagesize to... | PostScript | 4 | newluhux/plan9port | postscript/prologues/cropmarks.ps | [
"MIT"
] |
"""
# Collections package
The Collections package provides a variety of collection classes,
including map, set, range, heap, ring buffer, list, and flags.
`Map` - Hashmap by strutural equality (use `MapIs` for identity equality).
`Set` - A set built on top of `Map` using structural equility (use `SetIs` for identit... | Pony | 4 | rtpax/ponyc | packages/collections/collections.pony | [
"BSD-2-Clause"
] |
(kicad_pcb (version 20171130) (host pcbnew 5.1.9-73d0e3b20d~88~ubuntu20.04.1)
(general
(thickness 1.6)
(drawings 68)
(tracks 607)
(zones 0)
(modules 145)
(nets 95)
)
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste u... | KiCad | 5 | tomihbk/splitflap | electronics/chainlinkDriverTester/chainlinkDriverTester.kicad_pcb | [
"Apache-2.0"
] |
/// Lists of key-value entries ("associations").
///
/// Implements the same operations as library `Trie`, but uses a
/// linked-list of entries and no hashing.
import List "List";
module {
/// polymorphic association linked lists between keys and values
public type AssocList<K, V> = List.List<(K, V)>;
/// Fi... | Modelica | 5 | nomeata/motoko-base | src/AssocList.mo | [
"Apache-2.0"
] |
@echo off
rem A batch program to clean a particular configuration,
rem just for convenience.
call "%~dp0build.bat" -t Clean %*
| Batchfile | 2 | shawwn/cpython | PCbuild/clean.bat | [
"0BSD"
] |
#!/usr/bin/env zsh
# vim:ft=zsh ts=2 sw=2 sts=2
_emotty_sets[floral]="
hibiscus
cherry_blossom
blossom
sunflower
bouquet
tulip
rose
four_leaf_clover
seedling
herb
palm_tree
evergreen_tree
deciduous_tree
"
| Shell | 4 | chensanle/ohmyzsh | plugins/emotty/emotty_floral_set.zsh | [
"MIT"
] |
-- Copyright 2018 Stanford University
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agree... | Rouge | 5 | elliottslaughter/regent-tutorial | Regions/1.rg | [
"Apache-2.0"
] |
Include /etc/httpd/conf.d/available_vhosts/aem_flush.vhost
| ApacheConf | 1 | YegorKozlov/aem_ams_dispatcher | etc/httpd/conf.d/enabled_vhosts/aem_flush.vhost | [
"Apache-2.0"
] |
Rebol [title: "Script which uses quit/return"]
quit/return 42
print "Hello" | Rebol | 1 | 0branch/r3 | src/tests/units/files/quit-return.r3 | [
"Apache-2.0"
] |
"""Tests for the Keenetic NDMS2 component."""
from homeassistant.components import ssdp
from homeassistant.components.keenetic_ndms2 import const
from homeassistant.const import (
CONF_HOST,
CONF_PASSWORD,
CONF_PORT,
CONF_SCAN_INTERVAL,
CONF_USERNAME,
)
MOCK_NAME = "Keenetic Ultra 2030"
MOCK_IP = "... | Python | 3 | MrDelik/core | tests/components/keenetic_ndms2/__init__.py | [
"Apache-2.0"
] |
#------------------
# Initial settings
#------------------
package require PWI_Glyph 2.17.0
pw::Application setUndoMaximumLevels 5
pw::Application reset
pw::Application markUndoLevel {Journal Reset}
pw::Application clearModified
#--------------------
# Set solver to CGNS
#--------------------
pw::Application setCAESol... | Glyph | 4 | Dundj/Convex_Geomotry | Tests/Laminar/Plate/without_plate.glf | [
"MIT"
] |
open tactic decidable
definition foo (A B : Type) := A → B
definition boo (c : bool) :=
cond c nat bool
definition bla (a : nat) : boo (to_bool (a > 0)) → foo nat nat :=
λ v x, a + x
example : true :=
by do
bla ← mk_const `bla,
infer_type bla >>= trace,
n ← get_arity bla,
trace ("n arity: " ++ to_string n... | Lean | 4 | JLimperg/lean | tests/lean/run/arity1.lean | [
"Apache-2.0"
] |
/*
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
#include "ShadowStack.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "Memory.h"
#include "Types.h"
#include "Utils.hpp"
using namespace kotlin;
nam... | C++ | 4 | Mu-L/kotlin | kotlin-native/runtime/src/mm/cpp/ShadowStackTest.cpp | [
"ECL-2.0",
"Apache-2.0"
] |
HAI
CAN HAS STDIO?
VISIBLE "Hello World"
KTHXBYE
| LOLCODE | 1 | zackarhino/hello-world | l/lolcode.lol | [
"MIT"
] |
<html>
<head>
<title>{{ .Page.Title }}</title>
</head>
<body>
<h1> (Template) Hello from views/index.html </h1>
<script src="/app.js"> </script>
</body>
</html> | HTML | 3 | mkosakana/iris | _examples/file-server/single-page-application/embedded-single-page-application/data/views/index.html | [
"BSD-3-Clause"
] |
module FlySuccess.Styles exposing
( body
, button
, card
, input
, paragraph
, title
)
import Colors
import FlySuccess.Models exposing (ButtonState(..), InputState(..), isClicked)
import Html
import Html.Attributes exposing (style)
import Views.Styles
card : List (Html.Attribute msg)
card... | Elm | 5 | Caprowni/concourse | web/elm/src/FlySuccess/Styles.elm | [
"Apache-2.0"
] |
package {
public class Test {}
}
trace("//\"abcdefg\".charAt();")
trace("abcdefg".charAt());
trace("//\"abcdefg\".charAt(1);")
trace("abcdefg".charAt(1));
trace("//\"abcdefg\".charAt(1.1);")
trace("abcdefg".charAt(1.1));
trace("//\"abcdefg\".charAt(1.5);")
trace("abcdefg".charAt(1.5));
trace("//\"abcdefg\".charAt(7)... | ActionScript | 3 | Sprak1/ruffle | tests/tests/swfs/avm2/string_char_at/Test.as | [
"Apache-2.0",
"Unlicense"
] |
--TEST--
Bug #76711 OPcache enabled triggers false-positive "Illegal string offset"
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--EXTENSIONS--
opcache
--FILE--
<?php
function test($foo) {
var_dump(0);
var_dump($foo[0]);
}
test("str");
?>
--EXPECT--
int(0)
string(1) "s"
| PHP | 3 | NathanFreeman/php-src | ext/opcache/tests/bug76711.phpt | [
"PHP-3.01"
] |
.version 49 0
.class public super TestStringer
.super java/lang/Object
.field private static Z [Ljava/lang/Object;
.method public static main : ([Ljava/lang/String;)V
.code stack 10 locals 10
getstatic java/lang/System out Ljava/io/PrintStream;
invokestatic TestStringer test (Ljava/io/PrintStream;)... | Jasmin | 2 | GitPotTime/deobfuscator | src/test/resources/testcases/TestStringer.j | [
"Apache-2.0"
] |
%button.position-absolute.gl-top-3.gl-right-0.gl-translate-y-n50.gl-cursor-default.btn.btn-default.btn-sm.gl-button.btn-default-tertiary.js-cascading-settings-lock-popover-target{ class: 'gl-p-1! gl-text-gray-600! gl-bg-transparent!',
type: 'button',
data: cascading_namespace_settings_popover_data(attribute, group,... | Haml | 2 | Testiduk/gitlabhq | app/views/shared/namespaces/cascading_settings/_lock_icon.html.haml | [
"MIT"
] |
// Regression test for the ICE described in #83475.
#![crate_type="lib"]
#![feature(cmse_nonsecure_entry)]
#[cmse_nonsecure_entry]
//~^ ERROR: attribute should be applied to a function definition
struct XEmpty2;
//~^ NOTE: not a function definition
| Rust | 3 | mbc-git/rust | src/test/ui/cmse-nonsecure/cmse-nonsecure-entry/issue-83475.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
28 32 9 47 11 13 38 17 29 37 10 26 9 49 43 36 32 27 29 41 31 39 46 34 38 16 47 37 15 17 29 34 24 38 17 33 17 42 21 33 23 3 27 18 10 24 49 43 47 38 35 27 43 1 44 29 22 34 50 13 50 9 38 32 35 30 14 42 32 44 5 5 19 20 32 31 47 18 44 15 50 11 18 32 45 43 24 16 32 36 43 37 22 8 14 47 38 34 13 30 30 4 28 49 3 12 25 1 40 27 4... | Matlab | 0 | yinrun/LOPDC-Benchmarks | lofri/matlab/n200-m12-r210-13.matlab | [
"MIT"
] |
filedesc://bad.arc.gz 127.0.0.1 20140301000000 text/plain -1
1 0 Bad Capture
URL IP-address Archive-date Content-type Archive-length
http://example.com/ 93.184.216.119 201404010000000000 text/html -1
http://example.com/ 127.0.0.1 20140102000000 text/plain 1
http://example.com/ 93.184.216.119 201404010000000000 text... | Arc | 0 | sepastian/warcio | test/data/bad.arc | [
"Apache-2.0"
] |
/******************************************************************************
* Copyright 2017 The Apollo 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
... | C++ | 5 | seeclong/apollo | modules/planning/math/smoothing_spline/affine_constraint.cc | [
"Apache-2.0"
] |
System.out.println("Hello World"); | AspectJ | 0 | conorpreid/hello-world | a/Aspectj.aj | [
"MIT"
] |
# Copyright (C) 2006-2010, Parrot Foundation.
# ATT no autoexpanding svn markers please
# XXX currently broken
.loadlib 'io_ops'
.sub quine :main
.param pmc argv
.local pmc code_as_data
code_as_data = new 'ResizableIntegerArray'
# ------ Start of data section ------
push code_as_data, 35
push code_as_dat... | Parrot Internal Representation | 5 | winnit-myself/Wifie | examples/pir/quine_ord.pir | [
"Artistic-2.0"
] |
{
"@context": {
"so": "https://schema.org/",
"dp": "http://dbpedia.org/resource/",
"pb": "?jsonld=types#"
},
"Base64": {
"@type": "so:Text"
},
"CipherText": {
"@type": "pb:Base64"
},
"PasteCipherMessage": {
"paste": {
"@type": "so:Text"
},
"attachment": {
"@type": "so:MediaObject"
},
"a... | JSONLD | 3 | DigitEgal/PrivateBin | js/types.jsonld | [
"CC-BY-4.0"
] |
(*-*-Mode:ats;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
ex: set ft=ats fenc=utf-8 sts=4 ts=4 sw=4 et nomod: *)
(*
MIT License
Copyright (c) 2021 Michael Truog <mjtruog at protonmail dot com>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this softwar... | ATS | 4 | CloudI/CloudI | src/tests/null/ats/v2/main.dats | [
"MIT"
] |
fun main(args: Array<String>) {
// Foo().bar()
} | Groff | 1 | qussarah/declare | jps-plugin/testData/incremental/withJava/convertBetweenJavaAndKotlin/javaToKotlinAndBack/usage.kt.new.2 | [
"Apache-2.0"
] |
if [[ -z $commands[thefuck] ]]; then
echo 'thefuck is not installed, you should "pip install thefuck" or "brew install thefuck" first.'
echo 'See https://github.com/nvbn/thefuck#installation'
return 1
fi
# Register alias
[[ ! -a $ZSH_CACHE_DIR/thefuck ]] && thefuck --alias > $ZSH_CACHE_DIR/thefuck
source $... | Shell | 4 | sshishov/ohmyzsh | plugins/thefuck/thefuck.plugin.zsh | [
"MIT"
] |
// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/browser/lib/power_observer_linux.h"
#include <unistd.h>
#include <uv.h>
#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/files/f... | C++ | 5 | TarunavBA/electron | shell/browser/lib/power_observer_linux.cc | [
"MIT"
] |
@0x84ed73ce30ad1d3e;
using Foo = import "foo.capnp";
struct Bar {
id @0 :UInt32;
foo @1 :Foo.Foo;
}
| Cap'n Proto | 4 | p4l1ly/pycapnp | test/bar.capnp | [
"BSD-2-Clause"
] |
{-# LANGUAGE TypeApplications #-}
module Parsing (benchmarks) where
import Control.Monad
import qualified Data.ByteString as B
import Data.Foldable
import Gauge
import System.Exit (die)
import System.FilePath.Glob
import qualified System.Path as Path
import ... | Haskell | 4 | jkachmar/semantic | semantic-ruby/bench/Parsing.hs | [
"MIT"
] |
#(ly:message "loaded a\n")
\require "b@>=0.1.0"
| LilyPond | 1 | HolgerPeters/lyp | spec/package_setups/simple_with_nested_packages/a@0.1/package.ly | [
"MIT"
] |
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
PROCEDURE DIVISION.
DISPLAY 'FaaS running COBOL in a container!'.
STOP RUN.
| COBOL | 3 | ngduchai/faas | sample-functions/BaseFunctions/cobol/hello.cob | [
"MIT"
] |
@load ./main
@load ./add-tor
| Bro | 0 | kingtuna/cs-bro | bro-scripts/tor/__load__.bro | [
"BSD-2-Clause"
] |
Write $Piece($System,":")
| M | 1 | LaudateCorpus1/RosettaCodeData | Task/Hostname/MUMPS/hostname.mumps | [
"Info-ZIP"
] |
var internal_integer: usize = 1;
var obj1_integer: usize = 421;
comptime {
@export(internal_integer, .{ .name = "internal_integer", .linkage = .Internal });
@export(obj1_integer, .{ .name = "obj1_integer", .linkage = .Strong });
}
| Zig | 3 | lukekras/zig | test/standalone/global_linkage/obj1.zig | [
"MIT"
] |
(kicad_pcb (version 4) (host pcbnew 4.0.7)
(general
(links 22)
(no_connects 0)
(area 116.764999 96.444999 147.395001 114.375001)
(thickness 1.6)
(drawings 5)
(tracks 78)
(zones 0)
(modules 11)
(nets 11)
)
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.... | KiCad | 4 | mcmatrix/TRADFRI-Hacking | pcbs/isolator/Isolator.kicad_pcb | [
"W3C"
] |
%%==============================================================================
%% Syntactic sugar
%%==============================================================================
command(State) ->
Funs0 = [ {F, list_to_atom(atom_to_list(F) ++ "_args")}
|| {F, _} <- ?MODULE:module_info(exports)
... | Erlang | 4 | MalcolmScoffable/openapi-generator | samples/client/petstore/erlang-proper/src/petstore_statem.hrl | [
"Apache-2.0"
] |
FORMAT: 1A
# Beehive API
## Honey [/honey{?beekeeper}]
### GET
+ Parameters
+ beekeeper (string, required) - Beekeeper.
Description...
+ Default: `Honza`
+ Response 200
| API Blueprint | 3 | tomoyamachi/dredd | packages/dredd-transactions/test/fixtures/apib/default-required.apib | [
"MIT"
] |
CREATE TABLE `tb_xmvawoekwx` (
`col_gsqeppbqjg` set('enum_or_set_0','enum_or_set_1','enum_or_set_2') DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
| SQL | 2 | yuanweikang2020/canal | parse/src/test/resources/ddl/alter/mysql_57.sql | [
"Apache-2.0"
] |
# Copyright 2017 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | Cython | 3 | samotarnik/grpc | src/python/grpcio/grpc/_cython/_cygrpc/tag.pxd.pxi | [
"Apache-2.0"
] |
module With
f : (n : Nat) -> (m : Nat ** n : Nat ** m = n + n)
f n with (n + n) proof eq
f n | Z = (Z ** n ** sym eq)
f n | (S m) = (S m ** n ** sym eq)
g : List a -> Nat
g [] = Z
g (a :: as) with (as ++ as)
g (b :: bs) | asas = Z
nested : Nat -> Nat
nested m with (m)
nested m | Z with (m + m)
nested... | Idris | 4 | ska80/idris-jvm | tests/ideMode/ideMode005/With.idr | [
"BSD-3-Clause"
] |
namespace OpenAPI.Model
open System
open System.Collections.Generic
module InlineObject =
//#region InlineObject
type inline_object = {
Name : string;
Status : string;
}
//#endregion
| F# | 4 | MalcolmScoffable/openapi-generator | samples/server/petstore/fsharp-giraffe/OpenAPI/src/model/InlineObject.fs | [
"Apache-2.0"
] |
create schema rowformatv2;
| SQL | 1 | cuishuang/tidb | br/tests/lightning_row-format-v2/data/rowformatv2-schema-create.sql | [
"Apache-2.0"
] |
// Copyright 2021 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.
//go:build ppc64 || ppc64le
// +build ppc64 ppc64le
#include "textflag.h"
// On PPC64, the float32 becomes a float64
// when loaded in a register, different f... | GAS | 4 | rleungx/go | src/reflect/float32reg_ppc64x.s | [
"BSD-3-Clause"
] |
<table mat-table [dataSource]="dataSource">
<ng-container matColumnDef="position">
<th mat-header-cell *matHeaderCellDef>No.</th>
<td mat-cell *matCellDef="let element">{{element.position}}</td>
<td mat-footer-cell *matFooterCellDef>Number of the element</td>
</ng-container>
<ng-container matColumnDe... | HTML | 4 | tungyingwaltz/components | src/components-examples/material/table/table-harness/table-harness-example.html | [
"MIT"
] |
// vim: ft=asm
#include "common.h"
#define arg r14
loop loop1_end, 3
nop
nop
loop1_end:
mov r0, 3
loop loop2_end, r0
nop
nop
loop2_end:
halt
| Parrot Assembly | 3 | mvduin/py-uio | pru-examples/fw/loop-count.pasm | [
"MIT"
] |
/* -*- mode:c++; indent-tabs-mode: nil -*-
* Copyright (c) 2006, Technische Universitaet Berlin
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* - Redistributions of source code must ret... | nesC | 4 | mtaghiza/tinyos-main-1 | tos/chips/tda5250/mac/RedMacP.nc | [
"BSD-3-Clause"
] |
package org.jetbrains.kotlin.aspects.navigation;
import org.aspectj.lang.annotation.SuppressAjWarnings;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility;
import org.eclipse.ui.IEditorPart;
import org.jetbrains.kotlin.core.resolve.lang.java.structure.EclipseJavaEleme... | AspectJ | 4 | jan-zajic/kotlin-eclipse | kotlin-eclipse-aspects/src/org/jetbrains/kotlin/aspects/navigation/KotlinOpenEditorAspect.aj | [
"Apache-2.0"
] |
# 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
load("//packages/bazel/src/ng_module:ng_module.bzl", "NgPerfInfo")
def _ng_perf_flag_impl(ctx):
return NgPerfInfo(enable_perf_logging = ... | Python | 5 | John-Cassidy/angular | packages/bazel/src/ng_perf.bzl | [
"MIT"
] |
forward operator~(Error:right[], size);
main() {
new Error:e;
}
| PAWN | 0 | pawn-lang/pawn | source/compiler/tests/destructor_not_impl_gh_310.pwn | [
"Zlib"
] |
<!DOCTYPE html>
<html>
<head>
<title>Splashscreen</title>
<style>
body {
margin: 0;
}
.splashscreen-image {
background-color: #444;
background-image: url('icon.png');
background-position: center;
background-repeat: no-repeat;
background-size: ... | HTML | 3 | facklambda/tauri | examples/splashscreen/dist/splashscreen.html | [
"Apache-2.0",
"MIT"
] |
#!/bin/bash
# Copyright 2017 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | Shell | 4 | arghyadip01/grpc | tools/gce/create_win2019_container_vm.sh | [
"Apache-2.0"
] |
use @pony_exitcode[None](code: I32)
actor Main
var state: U8 = 0
new create(env: Env) =>
msg1(env)
msg2(env)
msg3(env)
be msg1(env: Env) =>
if state == 0 then state = 1 end
be msg2(env: Env) =>
if state == 1 then state = 2 end
be msg3(env: Env) =>
if state == 2 then
@pony_... | Pony | 4 | rtpax/ponyc | test/libponyc-run/optimisation-merge-send-message-reordering/main.pony | [
"BSD-2-Clause"
] |
it("Q_rsqrt should work", function() {
return import("./tests").then(t => t.run_Q_rsqrt());
});
it("testFunction should work", function() {
return import("./tests").then(t => t.run_testFunction());
});
it("fact should work", function() {
return import("./tests").then(t => t.run_fact());
});
it("popcnt should work... | JavaScript | 4 | 1shenxi/webpack | test/statsCases/wasm-explorer-examples-sync/index.js | [
"MIT"
] |
%!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_Dot.ps | [
"BSD-3-Clause"
] |
#define VPRT_EMULATION
#include "envMap_skyVS.hlsl"
| HLSL | 0 | rohankumardubey/WickedEngine | WickedEngine/shaders/envMap_skyVS_emulation.hlsl | [
"MIT"
] |
INSERT INTO users(id,name) VALUES(1,'baeldung');
INSERT INTO users(id,name) VALUES(2,'john doe');
INSERT INTO users(id,name) VALUES(3,'jane doe');
INSERT INTO users(id,name) VALUES(4,'batman');
| SQL | 3 | DBatOWL/tutorials | persistence-modules/java-jpa-2/src/test/resources/users.sql | [
"MIT"
] |
$Title Transportation model as equilibrium problem (TRANSMCP,SEQ=126)
$Ontext
Dantzig's original transportation model (TRNSPORT) is
reformulated as a linear complementarity problem. We first
solve the model with fixed demand and supply quantities, and
then we incorporate price-responsiveness on both sides ... | GAMS | 4 | UnofficialJuliaMirror/Complementarity.jl-a9b2a840-c9d5-5181-a245-8df664c2d6e7 | examples/mcp/transmcp.gms | [
"MIT"
] |
metastat_path=Fullständig sökväg till <tt>metastat</tt>,0
metadb_path=Fullständig sökväg till <tt>metadb</tt>,0
| SystemVerilog | 0 | GalaxyGFX/webmin | format/config.info.sv | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
### /admin/page 成功
GET {{baseUrl}}/admin/page?pageNo=1&pageSize=10
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
### /admin/create 成功
POST {{baseUrl}}/admin/create
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer {{accessToken}}
username=admin02&password=bu... | HTTP | 3 | ssSlowDown/onemall | management-web-app/src/main/java/cn/iocoder/mall/managementweb/controller/admin/AdminController.http | [
"MulanPSL-1.0"
] |
#pragma once
#include <chrono>
#include <iostream>
#include <list>
#include <memory>
#include "source/common/common/assert.h"
#include "source/common/common/logger.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include "contrib/sip_proxy/filters/network/source/operation.h"
#include "contr... | C | 5 | dcillera/envoy | contrib/sip_proxy/filters/network/source/metadata.h | [
"Apache-2.0"
] |
// Gets the turf under an atom (or the src if it IS a turf).
// Technically I'm unsure of the license since Lummox Jr. wrote it.
/proc/get_turf(var/const/atom/O)
if(isnull(O) || isarea(O) || !istype(O))
return
var/atom/A
for(A=O, A && !isturf(A), A=A.loc); // semicolon is for the empty statement
. = A
// It's ... | DM | 4 | PJB3005/GoonLight-Heist | helpers/atom.dm | [
"MIT"
] |
## This file provide the arguments provided to the VM at startup
## You can find a full list of flags and their behaviours at
## http://erlang.org/doc/man/erl.html
## Name of the node
-name <%%= release_name %>@127.0.0.1
## Cookie for distributed erlang
-setcookie <%%= release.profile.cookie %>
## Heartbeat manageme... | HTML+EEX | 4 | arikai/distillery | priv/templates/vm.args.default.eex | [
"MIT"
] |
graph([professor_ability(p0,h),professor_ability(p1,h),professor_ability(p2,_G131203),professor_ability(p3,_G131208),professor_ability(p4,h),professor_ability(p5,h),professor_ability(p6,_G131223),professor_ability(p7,_G131228),professor_ability(p8,m),professor_ability(p9,_G131238),professor_ability(p10,m),professor_abi... | Prolog | 2 | ryandesign/yap | packages/CLPBN/benchmarks/school/missing30.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
{{ flashSession.output() }}
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-header">
<h3 class="card-title">{{ model_name }} - [{{ model_path }}]</h3>
</div>
<div class="card-body">
<form role="form" name="edi... | Volt | 4 | PSD-Company/phalcon-devtools-docker | src/Web/Tools/Views/models/edit.volt | [
"BSD-3-Clause"
] |
#include "script_component.hpp"
#include "XEH_PREP.sqf"
if (isServer && {isMultiplayer || is3DENMultiplayer}) then {
[] call DFUNC(serverInit);
};
GVAR(SettingsInitialized) = false;
["CBA_settingsInitialized", {GVAR(SettingsInitialized) = true;}] call CBA_fnc_addEventhandler;
[] call DFUNC(initCBASettings);
GVA... | SQF | 3 | MrDj200/task-force-arma-3-radio | addons/core/XEH_preInit.sqf | [
"RSA-MD"
] |
/*++
Copyright (c) Microsoft Corporation
Licensed under the MIT license.
Module Name:
- SettingsTab.h
Abstract:
- The SettingsTab is a tab whose content is a Settings UI control. They can
coexist in a TabView with all other types of tabs, like the TerminalTab.
There should only be at most one SettingsTa... | C | 4 | by-memory/terminal | src/cascadia/TerminalApp/SettingsTab.h | [
"MIT"
] |
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface DKMoveView : UIView
@property (nonatomic, assign, getter=isOverflow) BOOL overflow;
// assign
@property (nonatomic, readonly, getter=isMoved) BOOL moved;
@property (nonatomic, getter=isMovable) BOOL movable;
@property (nonatomic, assign) CGRect movableRec... | C | 4 | didichuxing/DoraemonKit | iOS/DoraemonKit/Src/Core/Plugin/UI/Hierarchy/UserInterface/View/DKMoveView.h | [
"Apache-2.0"
] |
## Aliases
alias ys="yum search" # search package
alias yp="yum info" # show package info
alias yl="yum list" # list packages
alias ygl="yum grouplist" # list package groups
alias yli="yum list installed" # print all i... | Shell | 3 | chensanle/ohmyzsh | plugins/yum/yum.plugin.zsh | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.