size int64 31 1.04M | ext stringclasses 257
values | lang stringclasses 87
values | max_stars_repo_name stringlengths 4 116 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_issues_repo_name stringlengths 4 116 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 98.3k ⌀ | max_forks_repo_name stringlengths 4 136 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | text stringlengths 31 1.04M | avg_line_length float64 1.36 127k | max_line_length int64 1 764k | alphanum_fraction float64 0 1 | code_readability float64 0.8 0.99 | token_len int64 33 686k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
228 | kt | Kotlin | robertfmurdock/kotlin-wrappers | [
"Apache-2.0"
] | 14 | robertfmurdock/kotlin-wrappers | [
"Apache-2.0"
] | null | robertfmurdock/kotlin-wrappers | [
"Apache-2.0"
] | 2 | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SentimentNeutralRounded")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val SentimentNeutralRounded: SvgIconComponent
| 22.8 | 61 | 0.811404 | 0.841498 | 75 |
540 | sas | SAS | lbelzile/modstat | [
"CC-BY-4.0"
] | null | lbelzile/modstat | [
"CC-BY-4.0"
] | null | lbelzile/modstat | [
"CC-BY-4.0"
] | null | data vengeance;
set modstat.vengeance;
tcat=t;
run;
/* Régression linéaire avec structure autorégressive d'ordre 1 hétérogène pour les erreurs */
proc mixed data=vengeance method=reml;
class id tcat;
model vengeance = sexe age vc wom t / solution;
repeated tcat / subject=id type=arh(1) r=1 rcorr=1;
run;
/* Régress... | 25.714286 | 93 | 0.753704 | 0.863562 | 204 |
245 | st | Smalltalk | dionisiydk/pharo | [
"MIT"
] | null | dionisiydk/pharo | [
"MIT"
] | null | dionisiydk/pharo | [
"MIT"
] | null | Class {
#name : #FLStandardFileStreamSerializationTest,
#superclass : #FLBasicSerializationTest,
#category : #FuelTests
}
{ #category : #running }
FLStandardFileStreamSerializationTest >> setUp [
super setUp.
self useStandardFileStream
]
| 18.846154 | 48 | 0.771429 | 0.81 | 76 |
7,987 | vhd | VHDL | bfennell/i8080-vhdl | [
"MIT"
] | null | bfennell/i8080-vhdl | [
"MIT"
] | null | bfennell/i8080-vhdl | [
"MIT"
] | null | -- Copyright (c) 2018 Brendan Fennell <bfennell@skynet.ie>
--
-- 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, ... | 30.026316 | 81 | 0.486541 | 0.828903 | 2,847 |
6,419 | yy | Yacc | yinsesishen/test | [
"Apache-2.0"
] | null | yinsesishen/test | [
"Apache-2.0"
] | null | yinsesishen/test | [
"Apache-2.0"
] | null |
{
"name": "rm_title",
"id": "72e42a9d-6d80-451c-90c1-c952e213fcd0",
"creationCodeFile": "",
"inheritCode": false,
"inheritCreationOrder": false,
"inheritLayers": false,
"instanceCreationOrderIDs": [
"71a4209c-6bd2-444d-a837-c9c45f2915d5"
],
"IsDnD": true,
"layers": [
... | 54.863248 | 525 | 0.579218 | 0.816473 | 3,111 |
254 | agda | Agda | asr/agda-kanso | [
"MIT"
] | 1 | np/agda-git-experiment | [
"MIT"
] | null | np/agda-git-experiment | [
"MIT"
] | null |
module Issue478c where
record Ko (Q : Set) : Set₁ where
field
T : Set
foo : (Q : Set)(ko : Ko Q) → Ko.T ko
foo Q ko = Set
-- We should make sure not to destroy printing
-- outside the record module. Type should be
-- printed as it's given: Ko.T ko | 19.538462 | 46 | 0.661417 | 0.810957 | 89 |
1,273 | proto | Protocol Buffer | Refetch/dremio-oss | [
"Apache-2.0"
] | null | Refetch/dremio-oss | [
"Apache-2.0"
] | null | Refetch/dremio-oss | [
"Apache-2.0"
] | 1 | /*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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 l... | 28.931818 | 79 | 0.757266 | 0.813205 | 375 |
2,304 | ex | Elixir | SquashConsulting/hopper | [
"BSD-3-Clause"
] | 1 | SquashConsulting/hopper | [
"BSD-3-Clause"
] | 2 | SquashConsulting/hopper | [
"BSD-3-Clause"
] | null | defmodule Hopper.Accounts do
@moduledoc """
The Accounts context.
"""
alias Hopper.Repo
alias Hopper.Rides
alias Hopper.Accounts.User
@doc """
Returns the list of users.
## Examples
iex> list_users()
[%{}, ...]
"""
def list_users do
{:ok, result} =
Repo.query("""
... | 17.066667 | 97 | 0.546875 | 0.817411 | 915 |
292 | sql | SQL | Vampiref92/BitrixDocker | [
"MIT"
] | 2 | Vampiref92/BitrixDocker | [
"MIT"
] | null | Vampiref92/BitrixDocker | [
"MIT"
] | null | CREATE DATABASE bitrix;
CREATE USER 'bitrix'@'localhost' IDENTIFIED BY 'Bitrix-123';
GRANT ALL PRIVILEGES ON *.* TO 'bitrix'@'localhost' WITH GRANT OPTION;
CREATE USER 'bitrix'@'%' IDENTIFIED BY 'Bitrix-123';
GRANT ALL PRIVILEGES ON *.* TO 'bitrix'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
| 41.714286 | 71 | 0.729452 | 0.87 | 131 |
5,978 | sol | Solidity | pamellasds/smart-contracts-software-evolution | [
"MIT"
] | null | pamellasds/smart-contracts-software-evolution | [
"MIT"
] | null | pamellasds/smart-contracts-software-evolution | [
"MIT"
] | null | pragma solidity ^0.4.23;
import ;
import ;
import ;
import ;
import ;
import ;
contract estateregistry is migratable, erc721token, ownable, metadataholderbase, iestateregistry, estatestorage {
modifier cantransfer(uint256 estateid) {
require(isapprovedorowner(msg.sender, estateid), );
_;... | 22.223048 | 114 | 0.641519 | 0.833944 | 2,069 |
390 | el | Emacs Lisp | bensonlew/emacs | [
"BSD-2-Clause-FreeBSD"
] | null | bensonlew/emacs | [
"BSD-2-Clause-FreeBSD"
] | null | bensonlew/emacs | [
"BSD-2-Clause-FreeBSD"
] | null | ;;; vc-darcs-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
;;;### (autoloads nil nil ("vc-darcs.el") (22995 1690 885331 241000))
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
... | 24.375 | 92 | 0.65641 | 0.873601 | 172 |
271 | sh | Shell | dpsugasa/enviro-dashboard | [
"MIT"
] | 45 | dpsugasa/enviro-dashboard | [
"MIT"
] | null | dpsugasa/enviro-dashboard | [
"MIT"
] | 16 | #!/bin/bash
export dashboard_json=$(cat dashboard.json|tr "\n" " ")
dashboard_json='{"dashboard":'"$dashboard_json"'}'
curl http://admin:admin@localhost:3000/api/dashboards/db -X POST -H 'Content-Type: application/json;charset=UTF8' --data-binary ''"$dashboard_json"''
| 38.714286 | 149 | 0.723247 | 0.81125 | 99 |
2,084 | php | PHP | tranthanhtuan269/barcodeTOH | [
"MIT"
] | null | tranthanhtuan269/barcodeTOH | [
"MIT"
] | null | tranthanhtuan269/barcodeTOH | [
"MIT"
] | null | <?php
namespace App\Http\Controllers\Auth;
use App\User;
use Validator;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
class AuthController extends Controller
{
/*
|-------------------------------------------... | 26.05 | 79 | 0.556142 | 0.873433 | 552 |
9,288 | rmd | RMarkdown | PF-BB/TP_Transcriptomique | [
"MIT"
] | null | PF-BB/TP_Transcriptomique | [
"MIT"
] | null | PF-BB/TP_Transcriptomique | [
"MIT"
] | null | ---
title: "TP Transcriptome : Analyse de données de puces à ADN"
author: "Vincent Guillemot, Cathy Philippe, Marie-Anne Debily"
date: "23 octobre 2015"
output: pdf_document
---
# Problématique Biologique : la différenciation des kératinocytes
Les kératinocytes subissent en permanence une évolution morphologique tém... | 98.808511 | 689 | 0.788975 | 0.810013 | 2,932 |
2,016 | ps1 | PowerShell | nils-a/au-packages | [
"MIT"
] | null | nils-a/au-packages | [
"MIT"
] | 1 | nils-a/au-packages | [
"MIT"
] | null | import-module au
. $PSScriptRoot\..\_scripts\all.ps1
$releases = 'https://github.com/extrawurst/gitui/releases'
function global:au_SearchReplace {
@{
".\tools\chocolateyInstall.ps1" = @{
"(^\s*\`$url\s*=\s*)('.*')"= "`$1'$($Latest.URL32)'"
"(^\s*checksum\s*=\s*)('.*')" = "`$1'$... | 38.037736 | 252 | 0.55754 | 0.867721 | 763 |
1,511 | scrbl | Racket | bennn/g-pldi-2022 | [
"MIT"
] | null | bennn/g-pldi-2022 | [
"MIT"
] | null | bennn/g-pldi-2022 | [
"MIT"
] | null | #lang scribble/acmart @acmsmall @10pt @screen
@(require "main.rkt" "bib.rkt" scriblib/footnote)
@title[#:tag "sec:related"]{Related Work}
Thorn@~cite{wzlov-popl-2010} and StrongScript@~cite{rzv-ecoop-2015} support
a combination of sound concrete types and erased @emph{like} types.
Thorn is a scalable scripting langua... | 50.366667 | 180 | 0.778954 | 0.822202 | 502 |
410 | ads | Ada | best08618/asylo | [
"Apache-2.0"
] | 7 | best08618/asylo | [
"Apache-2.0"
] | null | best08618/asylo | [
"Apache-2.0"
] | 2 | with Ada.Finalization; use Ada.Finalization;
package Noreturn4_Pkg is
type Priv is private;
function It return Priv;
function Value (Obj : Priv) return Integer;
function OK (Obj : Priv) return Boolean;
private
type Priv is new Controlled with record
Value : Integer := 15;
end record;
procedure Ad... | 21.578947 | 45 | 0.717073 | 0.83 | 131 |
884 | csh | Tcsh | mckenzie-steenson/amazon-app | [
"MIT"
] | 1 | mckenzie-steenson/amazon-app | [
"MIT"
] | null | mckenzie-steenson/amazon-app | [
"MIT"
] | null | # This file must be used with "source bin/activate.csh" *from csh*.
# You cannot run it directly.
# Created by Davide Di Blasi <davidedb@gmail.com>.
# Ported to Python 3.3 venv by Andrew Svetlov <andrew.svetlov@gmail.com>
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD... | 34 | 295 | 0.756787 | 0.809918 | 355 |
996 | gemspec | Ruby | chen7897499/comic_downloader | [
"MIT"
] | null | chen7897499/comic_downloader | [
"MIT"
] | null | chen7897499/comic_downloader | [
"MIT"
] | null | # coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'comic_downloader/version'
Gem::Specification.new do |spec|
spec.name = "comic_downloader"
spec.version = ComicDownloader::VERSION
spec.authors = ["bomb"]
spec.email ... | 34.344828 | 72 | 0.695783 | 0.847947 | 379 |
686 | sol | Solidity | dcroote/airnode | [
"MIT"
] | null | dcroote/airnode | [
"MIT"
] | 24 | aquarat/airnode | [
"MIT"
] | null | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import "./IAccessControlClient.sol";
interface IAccessControlManagerProxy is IAccessControlClient {
function initializeRole(bytes32 adminRole, string calldata description)
external
returns (bytes32 role);
function initializeAndGrantRoles(... | 29.826087 | 75 | 0.740525 | 0.863962 | 186 |
320 | rq | SPARQL | JohnReedLOL/SolRDF | [
"Apache-2.0"
] | 92 | JohnReedLOL/SolRDF | [
"Apache-2.0"
] | 99 | JohnReedLOL/SolRDF | [
"Apache-2.0"
] | 14 | # filename: ex301.rq
PREFIX d: <http://learningsparql.com/ns/data#>
PREFIX t: <http://purl.org/tio/ns#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?timezoneTest ?tzTest
WHERE
{
?mtg t:starts ?startTime .
BIND (timezone(?startTime) AS ?timezoneTest)
BIND (tz(?startTime) AS ?tzTest)
}
| 22.857143 | 48 | 0.6625 | 0.814176 | 145 |
590 | bat | Batchfile | monomial/bert | [
"Apache-2.0"
] | null | monomial/bert | [
"Apache-2.0"
] | null | monomial/bert | [
"Apache-2.0"
] | null | set BERT_BASE_DIR=C:\Users\michaels\Projects\bert\uncased_L-12_H-768_A-12
set SQUAD_DIR=C:\Users\michaels\Projects\bert\squad11
python run_squad.py ^
--vocab_file=%BERT_BASE_DIR%\vocab.txt ^
--bert_config_file=%BERT_BASE_DIR%\bert_config.json ^
--init_checkpoint=%BERT_BASE_DIR%\bert_model.ckpt ^
--do_train=Tru... | 34.705882 | 73 | 0.735593 | 0.849119 | 286 |
79,912 | thrift | Thrift | eduardo-elizondo/cppcon2017 | [
"MIT"
] | 29 | eduardo-elizondo/cppcon2017 | [
"MIT"
] | 2 | eduardo-elizondo/cppcon2017 | [
"MIT"
] | 4 | struct Struct0 {
1: map<double, float> field1
2: binary field2
3: i64 field3
4: float field4
5: string field5
6: i64 field6
7: set<binary> field7
8: i16 field8
9: i16 field9
10: list<double> field10
11: map<float, list<binary>> field11
12: map<i32, float> field12
13: list<list<binary>> field13... | 23.434604 | 58 | 0.694539 | 0.866568 | 39,748 |
4,476 | asm | Assembly | neilsf/TinyBasic64 | [
"MIT"
] | 4 | neilsf/TinyBasic64 | [
"MIT"
] | null | neilsf/TinyBasic64 | [
"MIT"
] | 1 | KERNAL_PRINTCHR EQU $e716
KERNAL_GETIN EQU $ffe4
INPUT_MAXCHARS EQU $06
RESERVED_STACK_POINTER DC.B 0
; setup default mem layout for xprom runtime environment
STDLIB_MEMSETUP SUBROUTINE
lda #$36
sta $01
rts
; print null-terminated petscii string
STDLIB_PRINT SUBROUTINE
sta $6f ; store string start low b... | 13.087719 | 56 | 0.689455 | 0.802703 | 2,200 |
437 | scpt | AppleScript | jasonrudolph/launchbar-sonos-actions | [
"CC-BY-3.0"
] | 6 | jasonrudolph/launchbar-sonos-actions | [
"CC-BY-3.0"
] | null | jasonrudolph/launchbar-sonos-actions | [
"CC-BY-3.0"
] | null | if application "Sonos" is not running then
tell application "Sonos" to activate
tell application "System Events"
repeat until visible of process "Sonos" is true
delay 0.1
end repeat
delay 1 -- After app becomes visible, wait for it to render its buttons
end tell
end if
tell application "System Events"
te... | 25.705882 | 78 | 0.741419 | 0.81 | 147 |
25,513 | sol | Solidity | nguyenquangthang1997/gas_saver_visualization | [
"MIT"
] | null | nguyenquangthang1997/gas_saver_visualization | [
"MIT"
] | null | nguyenquangthang1997/gas_saver_visualization | [
"MIT"
] | null | // SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability war... | 38.365414 | 160 | 0.650727 | 0.83927 | 7,757 |
1,169 | bat | Batchfile | slapin/Urho3D-fat | [
"MIT"
] | 23 | slapin/Urho3D-fat | [
"MIT"
] | 2 | slapin/Urho3D-fat | [
"MIT"
] | 35 | ::
:: Copyright (c) 2008-2017 the Urho3D project.
::
:: 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, m... | 48.708333 | 80 | 0.757057 | 0.815349 | 304 |
216 | lean | Lean | dselsam/lean3 | [
"Apache-2.0"
] | 2,232 | forked-from-1kasper/lean | [
"Apache-2.0"
] | 1,187 | forked-from-1kasper/lean | [
"Apache-2.0"
] | 306 | /-
Copyright (c) 2017 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
prelude
import init.data.fin.basic init.data.fin.ops
| 27 | 67 | 0.787037 | 0.863548 | 70 |
1,946 | xsl | XSLT | b-itkin/CUSG-Digitization | [
"MIT"
] | 1 | b-itkin/CUSG-Digitization | [
"MIT"
] | 2 | b-itkin/CUSG-Digitization | [
"MIT"
] | 1 | <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="billStatus/bill/canonicalname"/></title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-s... | 28.617647 | 136 | 0.67369 | 0.834762 | 830 |
554 | applescript | AppleScript | bbelyeu/applescripts | [
"Unlicense"
] | 12 | bbelyeu/applescripts | [
"Unlicense"
] | null | bbelyeu/applescripts | [
"Unlicense"
] | 4 | -- This droplet processes folders dropped onto the applet
on open these_items
repeat with i from 1 to the count of these_items
set this_item to item i of these_items
set the item_info to info for this_item
if (alias of the item_info is false) and (folder of the item_info is true) then
process_item(this_item)... | 34.625 | 81 | 0.779783 | 0.817024 | 176 |
4,536 | csh | Tcsh | arezoorn/DART | [
"Apache-2.0"
] | 65 | arezoorn/DART | [
"Apache-2.0"
] | 283 | arezoorn/DART | [
"Apache-2.0"
] | 67 | #!/bin/csh
#
# DART software - Copyright UCAR. This open source software is provided
# by UCAR, "as is", without charge, subject to all terms of use at
# http://www.image.ucar.edu/DAReS/DART/DART_download
# diagnostics_obs.csh - shell script that computes observation
# specific diagnostics.
#
# $... | 34.363636 | 120 | 0.656966 | 0.8024 | 1,990 |
820 | pas | Pascal | nydehi/WindowsInstaller | [
"MIT"
] | null | nydehi/WindowsInstaller | [
"MIT"
] | null | nydehi/WindowsInstaller | [
"MIT"
] | null | unit CustomAction.FileMaker.FM7DevPath;
interface
uses
SysUtils,
Classes,
routines_msi,
Msi,
MsiDefs, CustomAction.FileMaker ,
MsiQuery;
function FM7DevPath(hInstall: MSIHANDLE): UINT; stdcall;
function FM7DevBinPath(hInstall: MSIHANDLE): UINT; stdcall;
implementation
uses
Youseful.exceptions,CustomAct... | 22.777778 | 62 | 0.759756 | 0.856667 | 317 |
208 | als | Alloy | Kaixi26/org.alloytools.alloy | [
"Apache-2.0"
] | null | Kaixi26/org.alloytools.alloy | [
"Apache-2.0"
] | null | Kaixi26/org.alloytools.alloy | [
"Apache-2.0"
] | null | open main
pred idk2ffMRLWGotQAmtZo_prop20 {
always all f : File | f in Trash since f not in Protected
}
pred __repair { idk2ffMRLWGotQAmtZo_prop20 }
check __repair { idk2ffMRLWGotQAmtZo_prop20 <=> prop20o } | 34.666667 | 59 | 0.788462 | 0.817826 | 101 |
519 | jl | Julia | EcoJulia/MetacommunityDynamics.jl | [
"BSD-3-Clause"
] | 16 | EcoJulia/MetacommunityDynamics.jl | [
"BSD-3-Clause"
] | 2 | EcoJulia/MetacommunityDynamics.jl | [
"BSD-3-Clause"
] | 2 | using MetacommunityDynamics
using DynamicGrids
using Plots
using Distributions
# Spatially explicit levins model
rs = SpatiallyExplicitLevinsColonization{:O}(probability=0.3) +
AbioticExtinction{:O}(:A, baseprobability=0.1);
pops = pointstogrid(generate(PoissonProcess, 20), gridsize=100)
areas = generate(St... | 24.714286 | 84 | 0.757225 | 0.803333 | 204 |
1,262 | erl | Erlang | byui-cse/cse382-course | [
"CC0-1.0"
] | null | byui-cse/cse382-course | [
"CC0-1.0"
] | null | byui-cse/cse382-course | [
"CC0-1.0"
] | null | %% @author Lee Barney
%% @copyright 2021 Lee Barney licensed under the <a>
%% rel="license"
%% href="http://creativecommons.org/licenses/by/4.0/"
%% target="_blank">
%% Creative Commons Attribution 4.0 International License</a>
%%
%%
%% These solutions are not intended to be ideal solutions.... | 38.242424 | 68 | 0.66561 | 0.850519 | 480 |
928 | tex | TeX | TS7-development/jsonrpc | [
"BSL-1.0"
] | 1 | TS7-development/jsonrpc | [
"BSL-1.0"
] | null | TS7-development/jsonrpc | [
"BSL-1.0"
] | null | \hypertarget{dir_04ed82fa347894d51633089936838d70}{}\doxysection{examples/003-\/json-\/call Directory Reference}
\label{dir_04ed82fa347894d51633089936838d70}\index{examples/003-\/json-\/call Directory Reference@{examples/003-\/json-\/call Directory Reference}}
\doxysubsection*{Files}
\begin{DoxyCompactItemize}
\item
f... | 35.692308 | 147 | 0.748922 | 0.844385 | 463 |
877 | do | Stata | carlotacb/ACAP | [
"MIT"
] | null | carlotacb/ACAP | [
"MIT"
] | null | carlotacb/ACAP | [
"MIT"
] | null | onerror {resume}
quietly WaveActivateNextPane {} 0
add wave -noupdate /prueba_snbits/A
add wave -noupdate /prueba_snbits/B
add wave -noupdate /prueba_snbits/cen
add wave -noupdate /prueba_snbits/SUM
add wave -noupdate /prueba_snbits/SUMref
add wave -noupdate /prueba_snbits/csal
add wave -noupdate /prueba_snbits/csalref... | 31.321429 | 41 | 0.823261 | 0.865699 | 320 |
664 | php | PHP | Bellukchips/WebSPP | [
"MIT"
] | null | Bellukchips/WebSPP | [
"MIT"
] | null | Bellukchips/WebSPP | [
"MIT"
] | null | <?php
include'config/connect.php';
if (isset($_POST['update'])) {
$nis = $_POST['nis'];
$nama = $_POST['nama'];
$kelas = $_POST['kelas'];
$tahun = $_POST['tahun'];
$que = mysqli_query($koneksi,"UPDATE imports SET nama='$nama',id_kelass='$kelas',tahun_ajaran='$tahun' WHERE nis='$nis'") or die(mysql_error());
if... | 27.666667 | 145 | 0.620482 | 0.811667 | 272 |
1,726 | g4 | ANTLR | tiru233/shardingsphere | [
"Apache-2.0"
] | 1 | tiru233/shardingsphere | [
"Apache-2.0"
] | null | tiru233/shardingsphere | [
"Apache-2.0"
] | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 23.972222 | 75 | 0.678447 | 0.82314 | 456 |
537 | hrl | Erlang | ThisisGurwinder/otp_src_19.0 | [
"Apache-2.0"
] | null | ThisisGurwinder/otp_src_19.0 | [
"Apache-2.0"
] | null | ThisisGurwinder/otp_src_19.0 | [
"Apache-2.0"
] | null | %% coding: latin-1
%%------------------------------------------------------------
%%
%% Erlang header file
%%
%% Target: CosTransactions_Coordinator
%% Source: /net/isildur/ldisk/daily_build/19_prebuild_master-opu_o.2016-06-21_20/otp_src_19/lib/cosTransactions/src/CosTransactions.idl
%% IC vsn: 4.4.1
%%
%% This file... | 22.375 | 135 | 0.577281 | 0.844638 | 195 |
511 | vb | Visual Basic | bilabs/dotnet-api-docs | [
"CC-BY-4.0",
"MIT"
] | 421 | bilabs/dotnet-api-docs | [
"CC-BY-4.0",
"MIT"
] | 5,797 | bilabs/dotnet-api-docs | [
"CC-BY-4.0",
"MIT"
] | 1,482 | ' Visual Basic .NET Document
Option Strict On
' <Snippet1>
Imports System.Text.RegularExpressions
Module RegexSplit
Public Sub Main()
Dim regex As Regex = New Regex("-") ' Split on hyphens.
Dim substrings() As String = regex.Split("plum--pear")
For Each match As String In subst... | 23.227273 | 70 | 0.604697 | 0.819412 | 168 |
396 | lhs | Literate Haskell | vvulpes0/Language-Toolkit-2 | [
"MIT"
] | 14 | vvulpes0/Language-Toolkit-2 | [
"MIT"
] | null | vvulpes0/Language-Toolkit-2 | [
"MIT"
] | null | > {-# OPTIONS_HADDOCK show-extensions #-}
> {-|
> Module : LTK.Learn.TSL
> Copyright : (c) 2020 Dakotah Lambert
> License : MIT
> A learner for tier-based strictly local stringsets.
> Different types are available via LTK.Learn.TSL.*,
> and this module selects a reasonable default.
>
> @since 0.3
> -}
> module L... | 24.75 | 56 | 0.70202 | 0.821795 | 171 |
5,061 | pm | Perl | yo61/slimserver | [
"BSD-3-Clause"
] | null | yo61/slimserver | [
"BSD-3-Clause"
] | null | yo61/slimserver | [
"BSD-3-Clause"
] | null | package Slim::Utils::Light;
# $Id: $
# Logitech Media Server Copyright 2001-2011 Logitech.
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License,
# version 2.
# This module provides some functions compatible with functions
# from the core Logi... | 22.004348 | 117 | 0.61806 | 0.825027 | 2,061 |
696 | thrift | Thrift | andkg/fbthrift | [
"Apache-2.0"
] | null | andkg/fbthrift | [
"Apache-2.0"
] | null | andkg/fbthrift | [
"Apache-2.0"
] | 1 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | 31.636364 | 75 | 0.738506 | 0.838892 | 187 |
631 | lean | Lean | javra/lean | [
"Apache-2.0"
] | 130 | soonhokong/lean | [
"Apache-2.0"
] | 8 | soonhokong/lean | [
"Apache-2.0"
] | 28 | /- Basic pi congruence -/
import logic.connectives logic.quantifiers
namespace pi_congr1
constants (p1 q1 p2 q2 p3 q3 : Prop) (H1 : p1 ↔ q1) (H2 : p2 ↔ q2) (H3 : p3 ↔ q3)
attribute forall_congr [congr]
attribute imp_congr [congr]
attribute H1 [simp]
attribute H2 [simp]
attribute H3 [simp]
#simplify iff env 1 p1 -... | 20.354839 | 81 | 0.66878 | 0.848763 | 294 |
709 | bib | TeX | rcerbino/starter-academic | [
"MIT"
] | null | rcerbino/starter-academic | [
"MIT"
] | null | rcerbino/starter-academic | [
"MIT"
] | null | @article{ISI:000408747900002,
article-number = {384003},
author = {Giavazzi, Fabio and Malinverno, Chiara and Corallino, Salvatore and
Ginelli, Francesco and Scita, Giorgio and Cerbino, Roberto},
doi = {10.1088/1361-6463/aa7f8e},
eissn = {1361-6463},
issn = {0022-3727},
journal = {JOURNAL OF PHYSICS D-APPLIED PHY... | 32.227273 | 78 | 0.719323 | 0.85806 | 373 |
1,933 | sparql | SPARQL | HPC-FAIR/tarql | [
"BSD-2-Clause"
] | null | HPC-FAIR/tarql | [
"BSD-2-Clause"
] | null | HPC-FAIR/tarql | [
"BSD-2-Clause"
] | null | PREFIX hpc: <https://github.com/HPC-FAIR/HPC-Ontology#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
CONSTRUCT {
?URI a hpc:DecisionTreeNode;
hpc:hasIDType ?IDTypestr;
hpc:name ?namestr;
hpc:alternateName ?alternateNamestr;
hpc:description ?descriptionstr;
hpc:url ?URLuri;
hpc:license ?Lic... | 38.66 | 116 | 0.723228 | 0.820669 | 773 |
727 | tcl | Tcl | tmichalak/prjuray | [
"0BSD"
] | 39 | daveshah1/prjuray | [
"ISC"
] | 24 | daveshah1/prjuray | [
"ISC"
] | 11 | # Copyright (C) 2020 The Project U-Ray Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier: ISC
source "$::env(URAY_DIR)/utils/utils.tcl"
create_project -force -part $::env(URAY_PART) d... | 29.08 | 63 | 0.789546 | 0.862678 | 264 |
1,655 | java | Java | doc97/Gwent | [
"BSD-3-Clause"
] | 2 | doc97/Gwent | [
"BSD-3-Clause"
] | 1 | doc97/Gwent | [
"BSD-3-Clause"
] | 1 | package fi.riissanen.gwent.game;
import fi.riissanen.gwent.game.cards.UnitCard;
import fi.riissanen.gwent.game.combat.Unit;
import fi.riissanen.gwent.game.combat.UnitType;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Rule;
import org.j... | 29.035088 | 89 | 0.668278 | 0.827337 | 513 |
3,483 | sol | Solidity | jenarvaezg/eth_scrapper | [
"Apache-2.0"
] | 1 | jenarvaezg/eth_scrapper | [
"Apache-2.0"
] | null | jenarvaezg/eth_scrapper | [
"Apache-2.0"
] | 2 |
//Address: 0x828539d6d54ac9b3d427113e878ae8357d1f928a
//Contract name: BAIRON
//Balance: 0 Ether
//Verification Date: 6/8/2018
//Transacion Count: 165
// CODE STARTS HERE
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) pub... | 39.134831 | 176 | 0.631639 | 0.822215 | 1,020 |
1,710 | erl | Erlang | baden/naviapi | [
"MIT"
] | 1 | baden/naviapi | [
"MIT"
] | null | baden/naviapi | [
"MIT"
] | null | %% -*- coding: utf-8 -*-
-module(naviapi_systems_command).
-author('Denis Batrak <baden.i.ua@gmail.com>').
-export([
init/2,
get/2,
post/3,
patch/3,
delete/2
]).
init(Req, Opts) ->
{naviapi_rest, Req, Opts#{auth => true}}. % Для доступа к ресурс... | 32.264151 | 104 | 0.588304 | 0.800293 | 639 |
2,504 | sas | SAS | JackyCSer/MyNDPlanner | [
"Apache-2.0"
] | 1 | JackyCSer/MyNDPlanner | [
"Apache-2.0"
] | null | JackyCSer/MyNDPlanner | [
"Apache-2.0"
] | 1 | begin_version
3.FOND
end_version
begin_metric
0
end_metric
9
begin_variable
var0
-1
2
Atom fire(l1)
Atom nfire(l1)
end_variable
begin_variable
var1
-1
2
Atom have-victim-in-unit(v1, m1)
Atom victim-at(v1, l2)
end_variable
begin_variable
var2
-1
2
Atom have-victim-in-unit(v2, m2)
Atom victim-at(v2, l1)
end_variable
begi... | 9.172161 | 38 | 0.770767 | 0.87 | 1,307 |
968 | proto | Protocol Buffer | habangar/tensorflow | [
"Apache-2.0"
] | 73 | oseledets/tensorflow | [
"Apache-2.0"
] | 8 | oseledets/tensorflow | [
"Apache-2.0"
] | 151 | syntax = "proto3";
package tensorflow;
// option cc_enable_arenas = true;
option java_outer_classname = "DeviceAttributesProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
// BusAdjacency identifies the ability of a device to participate in
// maximally efficient DMA operati... | 24.820513 | 75 | 0.738636 | 0.834618 | 315 |
447 | thy | Isabelle | gilith/opentheory | [
"MIT"
] | 13 | gilith/opentheory | [
"MIT"
] | 9 | gilith/opentheory | [
"MIT"
] | 3 | name: natural-funpow-thm
version: 1.8
description: Properties of function power
author: Joe Leslie-Hurd <joe@gilith.com>
license: MIT
provenance: HOL Light theory extracted on 2014-11-01
requires: bool
requires: function
requires: natural-add
requires: natural-def
requires: natural-funpow-def
requires: natural-mult
req... | 21.285714 | 52 | 0.780761 | 0.919206 | 162 |
1,030 | php | PHP | moniar/laravel_test_task | [
"MIT"
] | null | moniar/laravel_test_task | [
"MIT"
] | null | moniar/laravel_test_task | [
"MIT"
] | null | <?php
declare(strict_types=1);
namespace App\Exceptions;
use App\Exceptions\Blocks\ErrorCode;
use App\Exceptions\Blocks\ErrorSource;
use Illuminate\Contracts\Support\Arrayable;
/**
* Class InvalidRequestBodyException
* @package App\Exceptions
*/
class InvalidRequestBodyException extends \Exception implements Arr... | 22.391304 | 86 | 0.623301 | 0.893058 | 292 |
933 | sh | Shell | NiklasHoltmeyer/stt-audioengine | [
"MIT"
] | null | NiklasHoltmeyer/stt-audioengine | [
"MIT"
] | null | NiklasHoltmeyer/stt-audioengine | [
"MIT"
] | null | --model_name_or_path="maxidl/wav2vec2-large-xlsr-german"
--dataset_config_name="de"
--output_dir="/share/w2v/wav2vec2-large-xlsr-german-sm"
--preprocessing_num_workers="8"
--overwrite_output_dir
--num_train_epochs="1"
--per_device_train_batch_size="4"
--per_device_eval_batch_size="4"
--learning_rate="1e-6"
--warmup_ste... | 30.096774 | 82 | 0.780279 | 0.83304 | 419 |
1,204 | php | PHP | RankFoundry/laravel-ebay | [
"MIT"
] | null | RankFoundry/laravel-ebay | [
"MIT"
] | null | RankFoundry/laravel-ebay | [
"MIT"
] | null | <?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace Rankfoundry\eBaySDK\Trading\Types;
/**
*
*/
class PayPalBuyerProtectionEnabledDefinitionType extends... | 27.363636 | 116 | 0.658638 | 0.802081 | 345 |
696 | exs | Elixir | ConnorRigby/elixir-rf69 | [
"Apache-2.0"
] | 4 | ConnorRigby/elixir-rf69 | [
"Apache-2.0"
] | null | ConnorRigby/elixir-rf69 | [
"Apache-2.0"
] | 1 | defmodule RF69.MixProject do
use Mix.Project
def project do
[
app: :rf69,
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps()
]
end
def elixirc_paths(:test) do
["./lib", "test/support"]
... | 17.846154 | 59 | 0.556034 | 0.831836 | 294 |
1,878 | ado | Stata | gquerret/OpenEdge_Retired_Products | [
"Apache-2.0"
] | 1 | gquerret/OpenEdge_Retired_Products | [
"Apache-2.0"
] | null | gquerret/OpenEdge_Retired_Products | [
"Apache-2.0"
] | 2 | <?xml version="1.0" encoding="utf-8" ?>
<dataset Transactions="1"><dataset_header DisableRI="yes" DatasetObj="1004928896.09" DateFormat="mdy" FullHeader="no" SCMManaged="yes" YearOffset="1950" DatasetCode="RYCSO" NumericFormat="AMERICAN" NumericDecimal="." OriginatingSite="91" NumericSeparator=","/>
<dataset_records><d... | 58.6875 | 459 | 0.829073 | 0.845864 | 741 |
1,003 | java | Java | WengShengyuan/rabbit-mq-client | [
"Apache-2.0"
] | 2 | WengShengyuan/rabbit-mq-client | [
"Apache-2.0"
] | null | WengShengyuan/rabbit-mq-client | [
"Apache-2.0"
] | null | package org.wsy.mqendpoint.core;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
public class Config {
private static Properties properties;
private static InputStream is;
private static final String propertie... | 24.463415 | 88 | 0.705882 | 0.803761 | 346 |
724 | scrbl | Racket | SimonLSchlee/racket-vulkan | [
"MIT"
] | null | SimonLSchlee/racket-vulkan | [
"MIT"
] | null | SimonLSchlee/racket-vulkan | [
"MIT"
] | null | #lang scribble/manual
@require[@for-label[racket/base]]
@title{Vulkan API Integration}
@author[(author+email "Sage L. Gerard" "sage@sagegerard.com" #:obfuscate? #t)]
This collection integrates Racket and the Vulkan API, with a focus on
low overhead and C code equivalency. With this collection, it is
possible to use R... | 38.105263 | 132 | 0.777624 | 0.8016 | 230 |
125,423 | sig | Standard ML | jbampton/netbeans | [
"Apache-2.0"
] | 1 | Marc382/netbeans | [
"Apache-2.0"
] | 284 | Marc382/netbeans | [
"Apache-2.0"
] | 33 | #Signature file v4.1
#Version 1.73
CLSS public abstract interface java.io.Serializable
CLSS public abstract interface java.lang.Comparable<%0 extends java.lang.Object>
meth public abstract int compareTo({java.lang.Comparable%0})
CLSS public abstract java.lang.Enum<%0 extends java.lang.Enum<{java.lang.Enum%0}>>
cons ... | 73.175613 | 737 | 0.85163 | 0.811855 | 40,890 |
103 | ml | OCaml | mgttlinger/ocaml-book | [
"BSD-3-Clause"
] | 142 | mgttlinger/ocaml-book | [
"BSD-3-Clause"
] | 1 | mgttlinger/ocaml-book | [
"BSD-3-Clause"
] | 17 | open Format
let (registry : (string, unit -> unit) Hashtbl.t) = Hashtbl.create 32
| 4.681818 | 69 | 0.563107 | 0.851818 | 51 |
1,437 | asm | Assembly | Nurzamal/rest_api_docker | [
"MIT"
] | 1 | Nurzamal/rest_api_docker | [
"MIT"
] | null | Nurzamal/rest_api_docker | [
"MIT"
] | null | ; $Id: kLdrExeStub-os2A.asm 29 2009-07-01 20:30:29Z bird $
;; @file
; kLdr - OS/2 Loader Stub, entry point thingy...
;
;
; Copyright (c) 2006-2007 Knut St. Osmundsen <bird-kStuff-spamix@anduin.net>
;
; Permission is hereby granted, free of charge, to any person
; obtaining a copy of this software and associated docume... | 34.214286 | 76 | 0.762004 | 0.805392 | 445 |
8,046 | pm | Perl | mschlenstedt/Loxberry | [
"Apache-2.0"
] | 60 | mschlenstedt/Loxberry | [
"Apache-2.0"
] | 1,251 | mschlenstedt/Loxberry | [
"Apache-2.0"
] | 43 | # Please increment version number on EVERY change
# Major.Minor represents LoxBerry version (e.g. 2.0.3.2 = LoxBerry V2.0.3 the 2nd change)
################################################################
# LoxBerry::Update
# THIS LIBRARY IS EXCLUSIVELY USED BY LoxBerry Update AND
# SHOULD NOT BE USED IN PLUGINS
####... | 28.633452 | 215 | 0.545861 | 0.802668 | 2,800 |
529 | idr | Idris | david-christiansen/lightyear | [
"BSD-2-Clause"
] | null | david-christiansen/lightyear | [
"BSD-2-Clause"
] | null | david-christiansen/lightyear | [
"BSD-2-Clause"
] | null | -- ----------------------------------------------------------- [ Lightyear.idr ]
-- Module : Lightyear
--
-- License : This code is distributed under the BSD 2-clause license. See the
-- file LICENSE in the root directory for its full text.
-- -----------------------------------------------------------------... | 37.785714 | 80 | 0.442344 | 0.836667 | 113 |
3,345 | js | JavaScript | ArthasWang/ICp-banking-microservices | [
"Apache-2.0"
] | null | ArthasWang/ICp-banking-microservices | [
"Apache-2.0"
] | null | ArthasWang/ICp-banking-microservices | [
"Apache-2.0"
] | null | /*
* @author : Alexis Chretienne
* @email : alexis.chretienne@fr.ibm.com
*
* Sample code allowing to understand how to code API in Javascript
*
*/
//The API Developer Portal URL
var url_api_devloper_portal = "https://api.us.apiconnect.ibmcloud.com/spbodieusibmcom-prod/developer-contest/mplbank";
... | 20.90625 | 119 | 0.648132 | 0.956239 | 1,169 |
1,303 | applescript | AppleScript | v39lfy/google-toolbox-for-mac | [
"Apache-2.0"
] | 544 | v39lfy/google-toolbox-for-mac | [
"Apache-2.0"
] | 1,372 | v39lfy/google-toolbox-for-mac | [
"Apache-2.0"
] | 86 | --
-- Copyright 2008 Google Inc.
--
-- 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... | 21.360656 | 81 | 0.759785 | 0.827199 | 382 |
1,549 | ts | TypeScript | techedge-group/aurora-cli | [
"MIT"
] | null | techedge-group/aurora-cli | [
"MIT"
] | 22 | techedge-group/aurora-cli | [
"MIT"
] | null | /* eslint-disable @typescript-eslint/explicit-function-return-type */
import { Body, Controller, HttpCode, Post, UseGuards } from '@nestjs/common';
import { ApiTags, ApiOkResponse, ApiOperation, ApiBody, ApiQuery } from '@nestjs/swagger';
import { Constraint, QueryStatement, Timezone } from 'aurora-ts-core';
import { I... | 36.023256 | 98 | 0.690768 | 0.845222 | 452 |
606 | lhs | Literate Haskell | mvangeest/hssqlppp | [
"BSD-3-Clause"
] | 92 | mvangeest/hssqlppp | [
"BSD-3-Clause"
] | 20 | mvangeest/hssqlppp | [
"BSD-3-Clause"
] | 18 |
> import System.Environment
> import Data.List
> import Text.Show.Pretty
> import Database.HsSqlPpp.Parse
> import Database.HsSqlPpp.TypeCheck
> import Database.HsSqlPpp.Catalog
> --import Database.HsSqlPpp.Dialect
> import qualified Data.Text.Lazy.IO as LT
> main :: IO ()
> main = do
> [f] <- getArgs
> src <- ... | 27.545455 | 69 | 0.731023 | 0.855714 | 203 |
693 | md | Markdown | brunolellis/newrelic-java-agent | [
"Apache-2.0"
] | 119 | brunolellis/newrelic-java-agent | [
"Apache-2.0"
] | 468 | brunolellis/newrelic-java-agent | [
"Apache-2.0"
] | 91 | ## Building
New Relic does not distribute the jar(s) required to build this instrumentation module nor are they available from a public repository such as Maven Central or jcenter.
To build this instrumentation module you must provide the jar(s) and place them into the `/lib` subdirectory as follows:
```groovy
instr... | 40.764706 | 168 | 0.784993 | 0.863684 | 223 |
3,671 | go | Go | ByboyCn/sealer | [
"ECL-2.0",
"Apache-2.0"
] | null | ByboyCn/sealer | [
"ECL-2.0",
"Apache-2.0"
] | null | ByboyCn/sealer | [
"ECL-2.0",
"Apache-2.0"
] | null | // Copyright © 2021 Alibaba Group Holding Ltd.
//
// 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... | 29.134921 | 103 | 0.741215 | 0.843783 | 1,179 |
359 | go | Go | keiichi-hikita/eclcloud | [
"Apache-2.0"
] | 3 | keiichi-hikita/eclcloud | [
"Apache-2.0"
] | 11 | keiichi-hikita/eclcloud | [
"Apache-2.0"
] | 8 | package tenants
import "fmt"
// InvalidListFilter is returned by the ToUserListQuery method when validation of
// a filter does not pass
type InvalidListFilter struct {
FilterName string
}
func (e InvalidListFilter) Error() string {
s := fmt.Sprintf(
"Invalid filter name [%s]: it must be in format of NAME__COMPA... | 19.944444 | 81 | 0.743733 | 0.889566 | 112 |
2,258 | thrift | Thrift | shangV2/lightning | [
"Apache-2.0"
] | null | shangV2/lightning | [
"Apache-2.0"
] | null | shangV2/lightning | [
"Apache-2.0"
] | null |
namespace java com.lighting.rpc.webmetaserver.model
enum WMSWebsiteType {
WMS_WEBSITE_ZH_CN = 0,
}
enum WMSWebsiteCrawlerType {
WMS_WEBSITE_CRAWLER_STAND_ALONE = 0,
WMS_WEBSITE_CRALWER_DISTRIBUTED = 1
}
enum WMSWebsiteUrlRuleType {
WMS_WEBSITE_URL_RULE_HIT = 0
}
enum WMSWebsiteContentRuleType {
WMS_WEBSITE_C... | 18.209677 | 73 | 0.798494 | 0.814291 | 930 |
13,262 | go | Go | yudong2015/openpitrix | [
"Apache-2.0"
] | 757 | yudong2015/openpitrix | [
"Apache-2.0"
] | 180 | yudong2015/openpitrix | [
"Apache-2.0"
] | 173 | // Copyright 2018 The OpenPitrix Authors. All rights reserved.
// Use of this source code is governed by a Apache license
// that can be found in the LICENSE file.
// openpitrix frontgate service
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"regexp"
"strconv"
"github.com/chai2010/json... | 22.177258 | 72 | 0.5981 | 0.803813 | 6,325 |
6,407 | jl | Julia | karajan9/statisticalrethinking | [
"MIT"
] | 14 | karajan9/statisticalrethinking | [
"MIT"
] | 2 | karajan9/statisticalrethinking | [
"MIT"
] | 2 | using DrWatson
@quickactivate "StatReth"
# %%
using DataFrames
using CSV
using Turing
using StatsBase
using StatsPlots
include(srcdir("quap.jl"))
include(srcdir("tools.jl"))
# %% 5.1, 5.2
d = CSV.read(datadir("exp_raw/WaffleDivorce.csv"), DataFrame)
d.D = zscore(d.Divorce)
d.M = zscore(d.Marriage)
d.A = zscore(d.Med... | 26.258197 | 91 | 0.60153 | 0.831218 | 3,106 |
31,662 | groovy | Groovy | sgrem/gradle | [
"Apache-2.0"
] | 1 | sgrem/gradle | [
"Apache-2.0"
] | null | sgrem/gradle | [
"Apache-2.0"
] | 1 | /*
* Copyright 2016 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/LICENSE-2.0
*
* Unless required by applica... | 32.341164 | 118 | 0.540427 | 0.860125 | 8,355 |
1,209 | pl | Perl | UlmApi/fineDustMeasurements | [
"MIT"
] | null | UlmApi/fineDustMeasurements | [
"MIT"
] | 1 | UlmApi/fineDustMeasurements | [
"MIT"
] | null | #!/usr/bin/perl
use strict;
use warnings;
use Text::CSV;
use JSON;
my $csv = Text::CSV->new ({ binary => 1, sep_char=>';'});
open my $FH, "<", "test.csv" or die "cannot open test.csv: $!";
my @data; #here we will put the end result, i.e. something which we will convert to json
#parse first line to get the adresses
... | 29.487805 | 88 | 0.666667 | 0.830694 | 430 |
580 | lua | Lua | Supreme0ape/commander | [
"MIT"
] | 29 | Supreme0ape/commander | [
"MIT"
] | 46 | Supreme0ape/commander | [
"MIT"
] | 30 | local Signal = {}
Signal.__index = Signal
function Signal.new()
return setmetatable({
Bindable = Instance.new("BindableEvent");
}, Signal)
end
function Signal:Connect(Callback)
return self.Bindable.Event:Connect(function(GetArgumentStack)
Callback(GetArgumentStack())
end)
end
function Signal:Fire(...)
local... | 17.058824 | 62 | 0.722414 | 0.947868 | 201 |
2,309 | dfm | Pascal | IltonS/sistema-controle-funcionarios | [
"MIT"
] | null | IltonS/sistema-controle-funcionarios | [
"MIT"
] | null | IltonS/sistema-controle-funcionarios | [
"MIT"
] | null | inherited FrmUsuarios: TFrmUsuarios
Caption = 'FrmUsuarios'
ClientWidth = 751
ExplicitTop = 2
ExplicitWidth = 757
PixelsPerInch = 96
TextHeight = 13
inherited PnlTitulo: TPanel
Width = 751
end
inherited PnlFormulario: TPanel
Width = 751
Height = 62
ExplicitWidth = 751
ExplicitHeigh... | 20.254386 | 47 | 0.575141 | 0.803929 | 875 |
1,207 | asm | Assembly | jmorken/loda | [
"Apache-2.0"
] | 1 | jmorken/loda | [
"Apache-2.0"
] | null | jmorken/loda | [
"Apache-2.0"
] | null | ; A152733: a(n) + a(n+1) + a(n+2) = 3^n.
; 0,0,3,6,18,57,168,504,1515,4542,13626,40881,122640,367920,1103763,3311286,9933858,29801577,89404728,268214184,804642555,2413927662,7241782986,21725348961,65176046880,195528140640,586584421923,1759753265766,5279259797298,15837779391897,47513338175688,142540014527064,42762004358... | 19.15873 | 317 | 0.507871 | 0.87826 | 775 |
4,056 | lhs | Literate Haskell | chriseidhof/regular-web | [
"BSD-3-Clause"
] | 1 | chriseidhof/regular-web | [
"BSD-3-Clause"
] | null | chriseidhof/regular-web | [
"BSD-3-Clause"
] | null | > {-# LANGUAGE TemplateHaskell, EmptyDataDecls, TypeFamilies, TypeOperators #-}
>
> module Example where
>
> import Generics.Regular
> import Generics.Regular.Views
> import Generics.Regular.Formlets
> import Generics.Regular.JSON
> import Text.JSON
> import Data.Record.Label
> import Control.Monad.Identity
> import C... | 28.363636 | 96 | 0.70143 | 0.811514 | 1,283 |
798 | do | Stata | fontysrobotics/ARMinor-2020-Maniputaltor-with-FOC-and-FPGA | [
"BSD-3-Clause"
] | 5 | fontysrobotics/ARMinor-2020-Maniputaltor-with-FOC-and-FPGA | [
"BSD-3-Clause"
] | 3 | fontysrobotics/ARMinor-2020-Maniputaltor-with-FOC-and-FPGA | [
"BSD-3-Clause"
] | 3 | vlib work
vmap -c
vcom untitled_pkg.vhd
vcom nfp_uminus_double.vhd
vcom nfp_convert_single2double.vhd
vcom nfp_mul_double.vhd
vcom nfp_add_double.vhd
vcom Decoupling.vhd
vcom IdController.vhd
vcom nfp_add_single.vhd
vcom nfp_mul_single.vhd
vcom IqController.vhd
vcom nfp_sub_single.vhd
vcom nfp_sub_double.vh... | 21.567568 | 35 | 0.823308 | 0.853019 | 398 |
675 | yy | Yacc | gilbertndr/PlatformDemo | [
"MIT"
] | 5 | gilbertndr/PlatformShooterDemo | [
"MIT"
] | null | gilbertndr/PlatformShooterDemo | [
"MIT"
] | null | {
"id": "6d9809c3-16f2-479e-b256-3581f9a1f5dd",
"modelName": "GMFolder",
"mvc": "1.1",
"name": "6d9809c3-16f2-479e-b256-3581f9a1f5dd",
"children": [
"e2fee881-de6e-4c29-91fe-9c65a9b6039b",
"bc880165-5d6b-4e8d-8190-d8f710848e2e",
"7f0ea178-d857-4309-ad04-1531e0bd57d6",
... | 33.75 | 51 | 0.631111 | 0.827895 | 453 |
8,899 | f90 | FORTRAN | Wentzell/libdlr | [
"Apache-2.0"
] | null | Wentzell/libdlr | [
"Apache-2.0"
] | null | Wentzell/libdlr | [
"Apache-2.0"
] | null | ! -------------------------------------------------------------
!
! Copyright (C) 2021 The Simons Foundation
!
! Author: Jason Kaye
!
! -------------------------------------------------------------
!
! libdlr is licensed under the Apache License, Version 2.0 (the... | 25.498567 | 76 | 0.575683 | 0.856339 | 3,403 |
244 | st | Smalltalk | sbragagnolo/pharos | [
"MIT"
] | null | sbragagnolo/pharos | [
"MIT"
] | null | sbragagnolo/pharos | [
"MIT"
] | null | test-nav_msgs/
testnav_msgs_MapMetaData
| definition |
definition := browser type: 'nav_msgs/MapMetaData'.
self assert: definition typeName = 'nav_msgs/MapMetaData'.
self assert: definition md5Sum = '10cfc8a2818024d3248802c00c95f11b'.
| 34.857143 | 69 | 0.782787 | 0.859474 | 105 |
8,402 | sol | Solidity | Sagar133/alpha-homora-v2-public-contract | [
"MIT"
] | null | Sagar133/alpha-homora-v2-public-contract | [
"MIT"
] | null | Sagar133/alpha-homora-v2-public-contract | [
"MIT"
] | null | // SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './utils/HomoraMath.sol';
interface IbETHRouterV2IbETHv2 is IERC20 {
... | 26.757962 | 98 | 0.645918 | 0.818724 | 2,956 |
949 | go | Go | allenjseb/api-client-go | [
"Apache-2.0"
] | null | allenjseb/api-client-go | [
"Apache-2.0"
] | null | allenjseb/api-client-go | [
"Apache-2.0"
] | null | /*
* LaunchDarkly REST API
*
* Build custom integrations with the LaunchDarkly REST API
*
* API version: 2.0.26
* Contact: support@launchdarkly.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package ldapi
type Webhook struct {
Links *Links `json:"_links,omitempty"... | 32.724138 | 182 | 0.733404 | 0.815088 | 295 |
325 | rq | SPARQL | TranslatorIIPrototypes/cam-pipeline | [
"MIT"
] | 1 | NCATS-Tangerine/cam-pipeline | [
"MIT"
] | 22 | TranslatorIIPrototypes/cam-pipeline | [
"MIT"
] | 2 | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX Gene: <http://purl.obolibrary.org/obo/SO_0000704>
CONSTRUCT {
?term rdfs:subClassOf Gene: .
}
WHERE {
?s ?p ?term .
FILTER (STRSTARTS(STR(?term), "http://identifiers.org/ncbigene"))
FILTER (isIRI(?term... | 25 | 65 | 0.695385 | 0.854444 | 165 |
263 | sql | SQL | arunk2/TournamentManager | [
"MIT"
] | null | arunk2/TournamentManager | [
"MIT"
] | 7 | arunk2/TournamentManager | [
"MIT"
] | null | CREATE TABLE club (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
name varchar(50) NOT NULL,
abb varchar(10) ,
addr_line_1 varchar(200) ,
addr_line_2 varchar(200) ,
city varchar(50) ,
state varchar(50) ,
country varchar(50)
)ENGINE=InnoDB DEFAULT CHARSET=utf8;
| 21.916667 | 45 | 0.752852 | 0.836667 | 119 |
1,649 | phpt | PHP | NathanFreeman/swoole-src | [
"Apache-2.0"
] | 3 | NathanFreeman/swoole-src | [
"Apache-2.0"
] | 1 | NathanFreeman/swoole-src | [
"Apache-2.0"
] | null | --TEST--
swoole_client_coro: (length protocol) wrong packet
--SKIPIF--
<?php require __DIR__ . '/../include/skipif.inc'; ?>
--FILE--
<?php
require __DIR__ . '/../include/bootstrap.php';
$pm = new ProcessManager;
$port = get_one_free_port();
$pm->parentFunc = function ($pid) use ($pm, $port)
{
go(function () use (... | 27.483333 | 73 | 0.523347 | 0.883615 | 621 |
253 | sh | Shell | stajichlab/Cauris_popgenomics | [
"MIT"
] | null | stajichlab/Cauris_popgenomics | [
"MIT"
] | null | stajichlab/Cauris_popgenomics | [
"MIT"
] | null | #!/usr/bin/bash
#SBATCH --time 12:00:00 -p batch --ntasks 2 --mem 1G
module load sratoolkit
module load aspera
ASCP=$(which ascp)
for acc in $(cat accessions.txt)
do
prefetch -a "$ASCP|$ASPERAKEY" --ascp-options "-Q -l 200000 -m 100 -k 2" $acc
done
| 21.083333 | 79 | 0.683794 | 0.827871 | 122 |
1,597 | groovy | Groovy | markfink-splunk/opentelemetry-java-instrumentation | [
"Apache-2.0"
] | null | markfink-splunk/opentelemetry-java-instrumentation | [
"Apache-2.0"
] | null | markfink-splunk/opentelemetry-java-instrumentation | [
"Apache-2.0"
] | null | /*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.smoketest
import static java.util.stream.Collectors.toSet
import io.grpc.ManagedChannelBuilder
import io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest
import io.opentelemetry.proto.collect... | 29.036364 | 130 | 0.74953 | 0.870227 | 537 |
2,773 | css | CSS | dataplumber/horizon | [
"Apache-2.0"
] | 4 | dataplumber/horizon | [
"Apache-2.0"
] | 4 | dataplumber/horizon | [
"Apache-2.0"
] | 2 | /* mbl.widget.Heading */
.dj_tablet .mblHeading {
background-image: url(compat/ipad-heading-bg.png);
}
.dj_gecko.dj_tablet .mblHeading {
background-image: -moz-linear-gradient(top, #f3f4f6 0%, #a7abb8 100%);
}
/* dojox.mobile.ToolBarButton */
.dj_ie.dj_tablet .mblToolBarButtonHasLeftArrow .mblToolBarButtonLeftArrow ... | 35.101266 | 77 | 0.780382 | 0.840502 | 1,250 |
426 | ts | TypeScript | tomtom73/angular-text-input-autocomplete | [
"MIT"
] | null | tomtom73/angular-text-input-autocomplete | [
"MIT"
] | null | tomtom73/angular-text-input-autocomplete | [
"MIT"
] | 1 | import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { TextInputAutocompleteModule } from '../src';
import { DemoComponent } from './demo.component';
@NgModule({
declarations: [DemoComponent],
imports: [BrowserModu... | 32.769231 | 69 | 0.744131 | 0.819189 | 123 |
12,374 | wl | Mathematica | kenkangxgwe/lsp-wl | [
"MIT"
] | 169 | kenkangxgwe/lsp-wl | [
"MIT"
] | 66 | kenkangxgwe/lsp-wl | [
"MIT"
] | 22 | (* ::Package:: *)
(* Copyright 2019 lsp-wl Authors *)
(* SPDX-License-Identifier: MIT *)
(* Wolfram Language Server TextDocument Test *)
BeginPackage["WolframLanguageServer`TextDocumentTest`"]
ClearAll[Evaluate[Context[] <> "*"]]
Begin["`Private`"]
ClearAll[Evaluate[Context[] <> "*"]]
TestingContext = "Wolfram... | 17.8557 | 103 | 0.486746 | 0.854357 | 6,499 |
291 | coffee | CoffeeScript | Bruno-basswn/atom-beautify | [
"MIT"
] | 1,783 | Bruno-basswn/atom-beautify | [
"MIT"
] | 2,390 | Bruno-basswn/atom-beautify | [
"MIT"
] | 826 | module.exports = {
name: "XTemplate"
namespace: "xtemplate"
fallback: ['html','mustache']
###
Supported Grammars
###
grammars: [
"XTemplate"
]
###
Supported extensions
###
extensions: [
"xtemplate"
]
defaultBeautifier: "Pretty Diff"
options: []
}
| 11.192308 | 34 | 0.584192 | 0.831333 | 113 |
1,782 | sol | Solidity | kgcdream2019/vote-dapp | [
"MIT"
] | 14 | RockmanR/EventCrowd3 | [
"MIT"
] | 8 | RockmanR/EventCrowd3 | [
"MIT"
] | 9 | pragma solidity ^0.4.24;
import "../math/SafeMath.sol";
/**
* @title SplitPayment
* @dev Base contract that supports multiple payees claiming funds sent to this contract
* according to the proportion they own.
*/
contract SplitPayment {
using SafeMath for uint256;
uint256 public totalShares = 0;
uint256 p... | 23.447368 | 88 | 0.654321 | 0.864441 | 608 |
2,024 | go | Go | Ray-Eldath/tipocket | [
"Apache-2.0",
"MIT"
] | 122 | Ray-Eldath/tipocket | [
"Apache-2.0",
"MIT"
] | 195 | Ray-Eldath/tipocket | [
"Apache-2.0",
"MIT"
] | 75 | // Copyright 2019 PingCAP, Inc.
//
// 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 i... | 36.8 | 70 | 0.643281 | 0.834786 | 861 |
1,325 | hs | Haskell | techmindful/horrelate | [
"BSD-3-Clause"
] | null | techmindful/horrelate | [
"BSD-3-Clause"
] | null | techmindful/horrelate | [
"BSD-3-Clause"
] | null | {-# language DeriveAnyClass #-}
{-# language DeriveGeneric #-}
{-# language DuplicateRecordFields #-}
{-# language OverloadedLabels #-}
{-# language OverloadedStrings #-}
module Types where
import Activity
import Node
import DearImGui ( ImVec2(..) )
import Data.Aeson
import ... | 22.844828 | 70 | 0.685283 | 0.861491 | 407 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.