identifier
stringlengths
42
383
collection
stringclasses
1 value
open_type
stringclasses
1 value
license
stringlengths
0
1.81k
date
float64
1.99k
2.02k
title
stringlengths
0
100
creator
stringlengths
1
39
language
stringclasses
157 values
language_type
stringclasses
2 values
word_count
int64
1
20k
token_count
int64
4
1.32M
text
stringlengths
5
1.53M
__index_level_0__
int64
0
57.5k
https://github.com/elear-solutions/kibana/blob/master/x-pack/test/plugin_api_integration/plugins/task_manager/init_routes.js
Github Open Source
Open Source
LicenseRef-scancode-proprietary-license, LicenseRef-scancode-other-permissive, Apache-2.0, BSD-3-Clause, MIT, OFL-1.1, Elastic-2.0, LicenseRef-scancode-elastic-license-2018
2,023
kibana
elear-solutions
JavaScript
Code
189
533
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import Joi from 'joi'; const scope = 'testing'; const taskManagerQuery = { ...
10,847
https://github.com/RiaDhanani/SmartGrid/blob/master/src/js/app.js
Github Open Source
Open Source
MIT
2,020
SmartGrid
RiaDhanani
JavaScript
Code
370
1,684
App = { web3Provider: null, contracts: {}, names: new Array(), ENTT:null, currentAccount:null, transaction:0, flag:false, init: function() { return App.initWeb3(); }, initWeb3: function() { // Is there is an injected web3 instance? if (typeof web3 !== 'undefined') { App.web...
4,033
https://github.com/shapito27/whois/blob/master/src/WhoisParser.php
Github Open Source
Open Source
MIT
null
whois
shapito27
PHP
Code
350
1,185
<?php namespace Shapito27\Whois; use Exception; use Shapito27\Whois\Formatters\AbstractFormatter; use Shapito27\Whois\Formatters\FormatterFactory; /** * Class WhoisParser * @package Shapito27\Whois */ class WhoisParser { /** @var string|null */ private $domainName; /** @var string|null */ private ...
7,412
https://github.com/singlag888/lacode/blob/master/resources/views/merchant/merchant/create.blade.php
Github Open Source
Open Source
MIT
2,019
lacode
singlag888
Blade
Code
738
4,026
@extends('merchant.base.main') @section('content') <div id="page-container"> <form method="post" action="{{route('merchant.user-store')}}" id="user-form"> {{csrf_field()}} <input type="hidden" name="code" value="{{$role->code}}"> <table width="100%" height="99.3%" border=...
5,575
https://github.com/Lixuan999/wiki/blob/master/zyplayer-doc-wiki/src/main/java/com/zyplayer/doc/wiki/controller/WikiCommonController.java
Github Open Source
Open Source
Apache-2.0
null
wiki
Lixuan999
Java
Code
312
1,668
package com.zyplayer.doc.wiki.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.zyplayer...
30,390
https://github.com/teleivo/puppet-httpproxy/blob/master/spec/classes/httpproxy_spec.rb
Github Open Source
Open Source
Apache-2.0
2,015
puppet-httpproxy
teleivo
Ruby
Code
271
1,025
require 'spec_helper' describe 'httpproxy', :type => :class do $http_proxy = '192.168.1.100' $http_proxy_port = '8000' $default_no_proxy = 'localhost,127.0.0.1' let :valid_required_params do { :http_proxy => $http_proxy, :http_proxy_port => $http_proxy_port, } end context 'on Ubuntu 14...
45,948
https://github.com/vhalbert/modeshape/blob/master/connectors/modeshape-connector-jdbc-metadata/src/test/resources/log4j.properties
Github Open Source
Open Source
Apache-2.0
2,018
modeshape
vhalbert
null
Spoken
87
389
# Direct log messages to stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %m%n # Root logger option log4j.rootLogger=INFO, stdout # Set up th...
22,759
https://github.com/tamazlykar/cloudstack-ui/blob/master/src/app/security-group/sg-creation/security-group-creation-security-group/security-group-creation-security-group.component.ts
Github Open Source
Open Source
Apache-2.0
2,019
cloudstack-ui
tamazlykar
TypeScript
Code
62
237
import { Component, Inject } from '@angular/core'; import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material'; import { Rules } from '../../../shared/components/security-group-builder/rules'; @Component({ selector: 'cs-security-group-creation-security-group', templateUrl: 'security-group-creation-security-g...
46,411
https://github.com/ooduor/Annif/blob/master/autopep8.sh
Github Open Source
Open Source
Apache-2.0
2,020
Annif
ooduor
Shell
Code
50
112
#!/bin/bash if [ "$1" = "-i" ]; then echo "Running autopep8 in in-place mode." exec autopep8 -i -j0 -a -a -r annif tests docs *.py else echo "Running autopep8 in diff mode. Use -i for in-place mode." echo "" exec autopep8 -d -a -a -r annif tests docs *.py fi
48,612
https://github.com/aroundble/onap/blob/master/ui-ci/src/main/java/org/openecomp/sdc/ci/tests/utilities/ImportAssetUIUtils.java
Github Open Source
Open Source
Apache-2.0
null
onap
aroundble
Java
Code
249
717
/*- * ============LICENSE_START======================================================= * SDC * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * ===================================================================...
14,316
https://github.com/maybe-sybr/libpod/blob/master/pkg/api/server/register_healthcheck.go
Github Open Source
Open Source
Apache-2.0
2,021
libpod
maybe-sybr
Go
Code
109
353
package server import ( "net/http" "github.com/containers/libpod/pkg/api/handlers/libpod" "github.com/gorilla/mux" ) func (s *APIServer) registerHealthCheckHandlers(r *mux.Router) error { // swagger:operation GET /libpod/containers/{name:.*}/healthcheck libpod libpodRunHealthCheck // --- // tags: // - contai...
46,270
https://github.com/GavinBaby/MD/blob/master/public/js/pricecalendar.js
Github Open Source
Open Source
MIT
2,018
MD
GavinBaby
JavaScript
Code
410
2,076
//价格日历数据 var o_events = [ { date: '2015-02-04', status: 1, price:325, sold:18, inventory:20 }, { date: '2015-02-05', status: 1, price:325, sold:18, inventory:20 }, { date: '2015-02-06', status: 1, price:325, sold:18, inventory:20 }, { date: '...
22,347
https://github.com/katsuyoshi/cider/blob/master/cider/CoreData/UIKit/ISDateTimeInputViewController.m
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,017
cider
katsuyoshi
Objective-C
Code
771
2,121
// // ISDateTimeInputViewController.m // CiderTest // // Created by Katsuyoshi Ito on 10/01/18. // /* Copyright 2010 ITO SOFT DESIGN Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
32,312
https://github.com/otomir23/Connect/blob/master/src/main/java/otomir23/connect/client/Client.java
Github Open Source
Open Source
Unlicense
2,021
Connect
otomir23
Java
Code
483
1,404
package otomir23.connect.client; import otomir23.connect.util.Packet; import java.io.*; import java.net.*; import java.util.*; public class Client { public static final int PING_RATE = 1; public static String username = "Dev"; public static long pingMills = 0; public static void main(String[] args)...
34,889
https://github.com/potatowave/escolha/blob/master/src/semi-working-cells.js
Github Open Source
Open Source
MIT
2,020
escolha
potatowave
JavaScript
Code
343
865
import React, {Component} from 'react'; import { connect } from 'react-redux'; class Cells extends Component { render() { console.log("Rendering <Cells />"); return ( <div className={"r"+this.props.row}> { this.props.values.map((item) => { //var selected_value = 130000 ...
37,458
https://github.com/sgodbillon/Play20/blob/master/framework/play/src/main/scala/play/api/json/Formats.scala
Github Open Source
Open Source
Apache-2.0
2,011
Play20
sgodbillon
Scala
Code
519
1,517
package play.api.json import play.api.Json._ import AST._ object Formats { implicit object IntFormat extends Format[Int] { def writes(o: Int) = JsNumber(o) def reads(json: JsValue) = json match { case JsNumber(n) => n.toInt case _ => throw new RuntimeException("Int expected") } } impli...
54,759
https://github.com/dnybz/MeshBSD/blob/master/src/lib/libfetch/fetch.3
Github Open Source
Open Source
BSD-3-Clause
null
MeshBSD
dnybz
null
Spoken
3,656
7,331
.\"- .\" Copyright (c) 1998-2013 Dag-Erling Smørgrav .\" Copyright (c) 2013-2016 Michael Gmelin <freebsd@grem.de> .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions...
6,876
https://github.com/vrruiz/aoc2021/blob/master/08/2.go
Github Open Source
Open Source
MIT
null
aoc2021
vrruiz
Go
Code
602
2,039
// NOT WORKING package main import ( "bufio" "fmt" "log" "math" "os" "sort" "strings" ) func recognize(segments [7]int) int { numbers := [10][7]int{ {1,1,1,0,1,1,1}, // 0 {0,0,1,0,0,1,0}, // 1 {1,0,1,1,1,0,1}, // 2 {1,0,1,1,0,1,1}, // 3 {0,1,1,1...
56,349
https://github.com/nithinmohantk/JewelBox-2004-Project/blob/master/JewelBox VB MYSQL/Forms/frmSettings.frm
Github Open Source
Open Source
MIT
2,021
JewelBox-2004-Project
nithinmohantk
null
Spoken
606
1,975
VERSION 5.00 Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX" Begin VB.Form frmSettings Caption = "Sample Form" ClientHeight = 4245 ClientLeft = 60 ClientTop = 345 ClientWidth = 6660 LinkTopic = "Form1" MDIChild = -1 'Tru...
40,796
https://github.com/xixihemaimai/-OA/blob/master/OAManage/OAManage/Classes/首页/ViewController/RSContractViewController.m
Github Open Source
Open Source
Apache-2.0
2,023
-OA
xixihemaimai
Objective-C
Code
934
4,681
// // RSContractViewController.m // OAManage // // Created by mac on 2020/9/21. // Copyright © 2020 mac. All rights reserved. // #import "RSContractViewController.h" #import "RSContractCell.h" @interface RSContractViewController () @property (nonatomic,strong)UITextField * titleField; @property (nonatomic,stron...
37,924
https://github.com/timfel/netbeans/blob/master/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/admin/response/RestActionReport.java
Github Open Source
Open Source
Apache-2.0
2,022
netbeans
timfel
Java
Code
281
595
/* * 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 ...
13,131
https://github.com/IlyaFinkelshteyn/NeuralNetwork.NET/blob/master/Unit/NeuralNetwork.NET.Cuda.Unit/CuDnnInceptionLayerTest.cs
Github Open Source
Open Source
MIT
2,018
NeuralNetwork.NET
IlyaFinkelshteyn
C#
Code
1,402
5,703
using Microsoft.VisualStudio.TestTools.UnitTesting; using NeuralNetworkNET.APIs.Enums; using NeuralNetworkNET.APIs.Structs; using NeuralNetworkNET.Extensions; using NeuralNetworkNET.Networks.Activations; using System; using System.Runtime.CompilerServices; using NeuralNetworkNET.Networks.Layers.Cuda; using NeuralNetwo...
12,788
https://github.com/Kysumi/gol/blob/master/app/src/ts/gol/grid/offset.test.ts
Github Open Source
Open Source
MIT
null
gol
Kysumi
TypeScript
Code
120
415
import { rowOffestEven, rowOffestOdd } from "./offset"; jest.mock("../config/grid", () => ({ getOffsetX: jest.fn().mockReturnValue(12389), getOffsetY: jest.fn().mockReturnValue(89732), })); jest.mock("../config/hexConfig", () => ({ getRadius: jest.fn().mockReturnValue(12), })); describe("Row offsets maths", ()...
29,787
https://github.com/marcelomesquita/mm-contacts/blob/master/resources/views/contact/index.blade.php
Github Open Source
Open Source
MIT
null
mm-contacts
marcelomesquita
PHP
Code
152
648
@extends('template.app') @section('content') <div class="row"> <div class="col-sm-11"> <h2> Contacts <a href='{{ url("create/") }}' class="btn btn-xs btn-primary" title="create"><span class="glyphicon glyphicon-plus"></span></a> </h2> <hr /> @foreach($agenda as $index => $contacts) <h5 id="...
4,941
https://github.com/janus/moonscript/blob/master/tests/outputs/cond.lua
Github Open Source
Open Source
Unlicense, MIT
2,015
moonscript
janus
Lua
Code
172
413
local you_cool = false if cool then if you_cool then local _ = one else if eatdic then local _ = yeah else local _ = two _ = three end end else local _ = no end if cool then local _ = no end if cool then local _ = no else local _ = yes end if cool then wow(cool) else ...
295
https://github.com/vitoksmile/CPMovieMaker/blob/master/lib/creation/creation_list.dart
Github Open Source
Open Source
MIT
2,021
CPMovieMaker
vitoksmile
Dart
Code
90
343
import 'dart:io'; import 'package:cpmoviemaker/creation/creation_card.dart'; import 'package:flutter/material.dart'; abstract class CreationListClickListener { void addNewMedia(); void deleteMedia(int position); } class CreationList extends StatelessWidget implements AddMediaClickListener, DeleteMediaClickL...
21,496
https://github.com/hdeadman/cas/blob/master/support/cas-server-support-script-engines/src/test/java/org/apereo/cas/scripting/ScriptEngineManagerTests.java
Github Open Source
Open Source
Apache-2.0
2,019
cas
hdeadman
Java
Code
146
709
package org.apereo.cas.scripting; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.services.ScriptedRegisteredServiceAttributeReleasePolicy; import org.apereo.cas.util.scripting.ScriptingUtils; import org.apereo.cas....
22,252
https://github.com/arusinha/incubator-netbeans/blob/master/platform/queries/test/unit/src/org/netbeans/api/queries/CollocationQuery2Test.java
Github Open Source
Open Source
Apache-2.0
2,022
incubator-netbeans
arusinha
Java
Code
436
1,585
/* * 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 ...
33,890
https://github.com/shenbinglife/validators/blob/master/src/main/java/io/github/shenbinglife/validators/spring/SpringValidatorRegistry.java
Github Open Source
Open Source
Apache-2.0
2,019
validators
shenbinglife
Java
Code
73
246
package io.github.shenbinglife.validators.spring; import io.github.shenbinglife.validators.ComplexValidator; import io.github.shenbinglife.validators.SimpleValidatorRegistry; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; /** * CLASS_NAME * * @a...
31,932
https://github.com/rootless-containers/rootlesskit/blob/master/pkg/parent/cgrouputil/moby_sys_mountinfo_tmphack.go
Github Open Source
Open Source
Apache-2.0
2,023
rootlesskit
rootless-containers
Go
Code
155
459
package cgrouputil import ( "fmt" "reflect" "strings" "github.com/moby/sys/mountinfo" ) // mountinfoFSType returns m.Fstype on mountinfo v0.1.3, // returns m.FSType on mountinfo v0.4.0. func mountinfoFSType(m *mountinfo.Info) (string, bool) { elem := reflect.ValueOf(m).Elem() for i := 0; i < elem.NumField(); i...
49,584
https://github.com/ScalablyTyped/SlinkyTyped/blob/master/r/react-native-material-kit/src/main/scala/typingsSlinky/reactNativeMaterialKit/mod/MKPropTypes.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
ScalablyTyped
Scala
Code
348
1,401
package typingsSlinky.reactNativeMaterialKit.mod import typingsSlinky.reactNativeMaterialKit.reactNativeMaterialKitStrings.`100` import typingsSlinky.reactNativeMaterialKit.reactNativeMaterialKitStrings.`200` import typingsSlinky.reactNativeMaterialKit.reactNativeMaterialKitStrings.`300` import typingsSlinky.reactNati...
22,598
https://github.com/kripken/intensityengine/blob/master/src/javascript/intensity/Platform__test.js
Github Open Source
Open Source
MIT
2,021
intensityengine
kripken
JavaScript
Code
74
207
// Copyright 2010 Alon Zakai ('kripken'). All rights reserved. // This file is part of Syntensity/the Intensity Engine, an open source project. See COPYING.txt for licensing. eval(assert(' typeof Global === "object" ')); eval(assert(' typeof Global.initAsClient === "function" ')); eval(assert(' typeof Global.initAsSe...
47,404
https://github.com/gonodono/app-icon-change-demo/blob/master/app/src/main/java/com/gonodono/appiconchangedemo/MainActivity.java
Github Open Source
Open Source
MIT
2,022
app-icon-change-demo
gonodono
Java
Code
226
1,040
package com.gonodono.appiconchangedemo; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.w...
21,363
https://github.com/Jeswang/Distribution/blob/master/a/ant-design__react-native/src/main/scala/typings/antDesignReactNative/AnonMode.scala
Github Open Source
Open Source
MIT
2,020
Distribution
Jeswang
Scala
Code
52
180
package typings.antDesignReactNative import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ trait AnonMode extends js.Object { var minuteStep: Double var mode: String var triggerType: String } object AnonMode { @scala.inline def apply(minuteStep: Double, mode: String, trig...
3,444
https://github.com/AlexLee365/MyAirbnb/blob/master/MyAirbnb/View/Main/MainRecommendHouseTableCell.swift
Github Open Source
Open Source
MIT
2,019
MyAirbnb
AlexLee365
Swift
Code
328
1,397
// // MainRecommendHouseTableCell.swift // MyAirbnb // // Created by 행복한 개발자 on 09/07/2019. // Copyright © 2019 Alex Lee. All rights reserved. // import UIKit import SnapKit class MainRecommendHouseTableCell: UITableViewCell { static let identifier = "MainRecommendHouseTableCell" let titleLabel = UIL...
46,932
https://github.com/kogaion/F235.SimpleWatchFace/blob/master/source/Background.mc
Github Open Source
Open Source
MIT
2,018
F235.SimpleWatchFace
kogaion
null
Spoken
66
195
using Toybox.WatchUi as Ui; using Toybox.Graphics as Gfx; using Toybox.System as Sys; class Background extends Updatable { hidden var drawBg = 0; function initialize(params) { Updatable.initialize(params); } function onReset() { me.drawBg = 1; } hidden function needsU...
2,250
https://github.com/Internet2/comanage-registry/blob/master/app/Model/ApiUser.php
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-generic-cla, MIT, LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,023
comanage-registry
Internet2
PHP
Code
803
2,084
<?php /** * COmanage Registry ApiUser Model * * Portions licensed to the University Corporation for Advanced Internet * Development, Inc. ("UCAID") under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * U...
22,771
https://github.com/5l1v3r1/log-analysis-1/blob/master/salt/srvsalt/elasticsearch/init.sls
Github Open Source
Open Source
BSD-3-Clause
2,019
log-analysis-1
5l1v3r1
null
Spoken
73
369
include: - java elasticsearch-oss: pkg.installed: - version: '6.5.1' - require: - sls: java /etc/elasticsearch/elasticsearch.yml: file.managed: - source: salt://elasticsearch/elasticsearch.yml - template: jinja - context: elasticsearch_port: {{pillar.get('elasticsearch_port','920...
19,178
https://github.com/w3f-grants-archive/newomega-polkadot-hybrid/blob/master/newomega-capacitor-polkadot/contracts/facade.rs
Github Open Source
Open Source
Apache-2.0
2,021
newomega-polkadot-hybrid
w3f-grants-archive
Rust
Code
1,816
6,391
#![cfg_attr(not(feature = "std"), no_std)] #![feature(destructuring_assignment)] use ink_lang as ink; /// The Delegator Contract /// /// Instantiates all the other contracts, and acts as a facade to interact with them. #[ink::contract] mod newomegadelegator { use newomega::NewOmega; use newomega::FightResult;...
43,684
https://github.com/esotericist/TIS-3D/blob/master/src/main/java/li/cil/tis3d/api/prefab/module/AbstractModule.java
Github Open Source
Open Source
CC0-1.0
2,022
TIS-3D
esotericist
Java
Code
749
1,962
package li.cil.tis3d.api.prefab.module; import io.netty.buffer.ByteBuf; import li.cil.tis3d.api.machine.Casing; import li.cil.tis3d.api.machine.Face; import li.cil.tis3d.api.machine.Pipe; import li.cil.tis3d.api.machine.Port; import li.cil.tis3d.api.module.Module; import li.cil.tis3d.api.util.RenderContext; import li....
54,649
https://github.com/Abhinickz/HackerRank_prob_sol/blob/master/diagonal-difference.pl
Github Open Source
Open Source
MIT
null
HackerRank_prob_sol
Abhinickz
Perl
Code
90
261
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; $Data::Dumper::Sortkeys = 1; my $n = <STDIN>; chomp($n); my $primary_sum = 0; my $secondry_sum = 0; my $i = 0; my $j = $n-1; foreach ( 1..$n ){ my $matrix = <STDIN>; chomp($matrix); my @numbers = split( ' ', $matrix ); if ( $i <= ( $n - 1 ) ){ $prim...
20,525
https://github.com/OpenCMISS-Dependencies/mpich2/blob/master/src/mpid/pamid/src/coll/Makefile.mk
Github Open Source
Open Source
Unlicense
2,015
mpich2
OpenCMISS-Dependencies
Makefile
Code
138
760
# begin_generated_IBM_copyright_prolog # # This is an automatically generated copyright prolog. # After initializing, DO NOT MODIFY OR MOVE # ---------------------------------------------...
3,765
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/PACT_com.pactforcure.app/javafiles/com/itextpdf/text/WritableDirectElement.java
Github Open Source
Open Source
MIT
2,019
AndroidPolicyAutomation
Andreas237
Java
Code
279
923
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.itextpdf.text; import com.itextpdf.text.api.WriterOperation; import java.util.ArrayList; import java.util.List; // Referenced classes of pack...
29,379
https://github.com/layer-3-communications/haproxy-syslog/blob/master/src/HaProxy/Syslog.hs
Github Open Source
Open Source
BSD-3-Clause
null
haproxy-syslog
layer-3-communications
Haskell
Code
532
1,470
{-# language BangPatterns #-} {-# language LambdaCase #-} {-# language NamedFieldPuns #-} module HaProxy.Syslog ( Message(..) , decode ) where import Data.Bytes (Bytes) import Net.IPv4 (IPv4) import Data.Bytes.Parser (Parser) import Data.Word (Word16,Word64) import qualified Data.Bytes.Parser as Parser import ...
47,917
https://github.com/kalufinnle/researchhub-web/blob/master/components/Search/Highlight.js
Github Open Source
Open Source
MIT
2,021
researchhub-web
kalufinnle
JavaScript
Code
219
654
import React, { Fragment } from "react"; import { StyleSheet, css } from "aphrodite"; // Config import { doesNotExist } from "~/config/utils"; const Highlight = (props) => { const { result, attribute } = props; const { highlight } = result.meta; const highlightSpan = formatHighlightByAttribute(); function f...
20,022
https://github.com/include-what-you-use/include-what-you-use/blob/master/tests/cxx/iwyu_stricter_than_cpp-d4.h
Github Open Source
Open Source
NCSA, LicenseRef-scancode-unknown-license-reference
2,023
include-what-you-use
include-what-you-use
C++
Code
60
198
//===--- iwyu_stricter_than_cpp-d4.h - test input file for iwyu -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
52,804
https://github.com/npmmirror/shine-design/blob/master/offical/theme/styles/modules/_tags.less
Github Open Source
Open Source
MIT
2,022
shine-design
npmmirror
Less
Code
103
415
.tags{ margin: 0; padding: 0; list-style-type: none; .fz(12); } .tag-item{ display: inline-block; vertical-align: top; zoom: 1; *display: inline; a{ display: block; color: @color_black; margin-right: 20px; margin-bottom: 9px; padding: 2px 12px 2px 11px; border: 1px solid @color_grey-light; bord...
24,403
https://github.com/cqse/Teamscale-AzureDevOps-Extension/blob/master/src/TeamscaleClient.ts
Github Open Source
Open Source
Apache-2.0
2,020
Teamscale-AzureDevOps-Extension
cqse
TypeScript
Code
782
2,316
/** * Encapsulates calls to Teamscale */ import { IFindingsChurnList } from './IFindingsChurnList'; import { ITeamscaleBaseline } from './ITeamscaleBaseline'; import { ITeamscaleBranchesInfo } from './ITeamscaleBranchesInfo'; import { ITgaIssueQueryPercentage } from './ITgaIssueQueryPercentage'; import { ITgaSummary...
12,002
https://github.com/jurgc11/yakl/blob/master/build.gradle
Github Open Source
Open Source
Apache-2.0
2,020
yakl
jurgc11
Gradle
Code
215
552
/* * Copyright 2020 Chris Clifton * * 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...
9,495
https://github.com/AlfieriChou/interface-to-json-schema/blob/master/index.ts
Github Open Source
Open Source
MIT
null
interface-to-json-schema
AlfieriChou
TypeScript
Code
99
301
import * as TJS from 'typescript-json-schema' import * as readDirFilenames from 'read-dir-filenames' import * as path from 'path' const settings: TJS.PartialArgs = { required: true } const compilerOptions: TJS.CompilerOptions = { strictNullChecks: true } const basePath: string = process.cwd() const capitalize =...
43,693
https://github.com/openworm/org.geppetto.recording/blob/master/org/geppetto/recording/creators/tests/wormsim_recordings/transformations/matrix_anchored_31S_03517.mat
Github Open Source
Open Source
MIT
2,015
org.geppetto.recording
openworm
Unity3D Asset
Code
496
2,130
1 0 0 0 0 1 0 0 0 0 1 0 17.5145 51.2245 10.8219 1 0.380679 0.933453 -0.077201 0 -0.699453 0.278171 -0.0855868 0 -0.0754236 0.111786 0.979718 0 179.829 145.077 30.5327 1 0.590695 0.816021 -0.0860277 0 -0.61458 0.437668 -0.0683835 0 -0.0234352 0.120418 0.981317 0 152.291 119.637 27.4329 1 0.813708 0.682111...
53,272
https://github.com/orels1/Red-Portal/blob/master/frontend/app/components/TagsList.js
Github Open Source
Open Source
MIT
2,018
Red-Portal
orels1
JavaScript
Code
162
480
/** * Created by antonorlov on 10/02/2017. */ import React from 'react'; import {Link} from 'react-router'; import Tags from './items/Tags'; class TagsList extends React.Component { constructor(props) { super(props); // We are getting state from our store // And listen to any changes to ...
44,048
https://github.com/bdice/neighbor/blob/master/include/neighbor/kernels/LBVH.cuh
Github Open Source
Open Source
BSD-3-Clause
null
neighbor
bdice
null
Spoken
2,575
5,837
// Copyright (c) 2018-2019, Michael P. Howard. // This file is released under the Modified BSD License. // Maintainer: mphoward #ifndef NEIGHBOR_KERNELS_LBVH_CUH_ #define NEIGHBOR_KERNELS_LBVH_CUH_ #include <hipper/hipper_runtime.h> #if defined(HIPPER_CUDA) #include <cub/cub.cuh> #elif defined(HIPPER_HIP) #include <...
27,073
https://github.com/javaeryang/mtool/blob/master/light/light/com/easyctrl/ldy/activity/R.java
Github Open Source
Open Source
Apache-2.0
null
mtool
javaeryang
Java
Code
3,906
8,502
package com.easyctrl.ldy.activity; public final class R { public static final class anim { public static final int push_left_in = 2130968576; public static final int push_left_out = 2130968577; public static final int slide_in_left = 2130968578; public static final int slide_in_rig...
29,079
https://github.com/mcuntz/jams_python/blob/master/jams/outlier.py
Github Open Source
Open Source
MIT
2,021
jams_python
mcuntz
Python
Code
976
3,294
#!/usr/bin/env python from __future__ import division, absolute_import, print_function import numpy as np import scipy.stats as s # import pdb __all__ = ['outlier'] def outlier(y, alpha=0.01, k=-1, quiet=True): """ Estimates the number of outliers in an approximately normal distributed sample according ...
21,866
https://github.com/eduardm1/API/blob/master/src/__tests__/co2/delete_co2.ts
Github Open Source
Open Source
MIT
2,021
API
eduardm1
TypeScript
Code
111
377
import request from 'supertest'; import express, { Application } from 'express'; import morgan from 'morgan'; import http, { Server } from 'http'; import Router from '../../routes'; export const deleteCo2 = () => describe('CO2 test', () => { let app: Application, server: Server; beforeEach(done => { ...
20,574
https://github.com/shahaashay21/travelbot_app/blob/master/Social-App-For-Travelers/SocialAppWeb/models/privacy.js
Github Open Source
Open Source
MIT
null
travelbot_app
shahaashay21
JavaScript
Code
64
255
/* jshint indent: 1 */ module.exports = function(sequelize, DataTypes) { return sequelize.define('privacy', { user_id: { type: DataTypes.INTEGER(11), allowNull: false, primaryKey: true, references: { model: 'users', key: 'id' } }, follow_request: { type: DataTypes.INTEGER(11), allow...
30,394
https://github.com/ly774508966/Framework-3/blob/master/Runtime/Assets/ComponentReference.cs
Github Open Source
Open Source
MIT
2,021
Framework-3
ly774508966
C#
Code
172
602
#if ADDRESSABLE using UnityEngine; using UnityEngine.AddressableAssets; using UnityEngine.ResourceManagement.AsyncOperations; #if UNITY_EDITOR using UnityEditor; #endif namespace Framework.Assets { public class ComponentReference<TComponent> : AssetReference { public ComponentReference(string guid) : b...
14,076
https://github.com/tintindas/leetcode-solutions/blob/master/Hash Table/Medium/3. Longest Substring without Repeating Characters/solution.py
Github Open Source
Open Source
MIT
2,021
leetcode-solutions
tintindas
Python
Code
43
123
class Solution: def lengthOfLongestSubstring(self, s: str) -> int: window = set() start = end = 0 max_len = 0 while end < len(s): if s[end] not in window: window.add(s[end]) end += 1 max_len = max(max_len, len(window)) ...
22,773
https://github.com/Internet2/comanage-registry/blob/master/app/Controller/CoSettingsController.php
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-generic-cla, MIT, LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,023
comanage-registry
Internet2
PHP
Code
1,090
3,110
<?php /** * COmanage Registry CO Settings Controller * * Portions licensed to the University Corporation for Advanced Internet * Development, Inc. ("UCAID") under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership...
50,572
https://github.com/gitter-badger/lumongo/blob/master/lumongo-cluster/src/main/java/org/lumongo/server/indexing/field/LongFieldIndexer.java
Github Open Source
Open Source
Apache-2.0
2,015
lumongo
gitter-badger
Java
Code
41
156
package org.lumongo.server.indexing.field; import org.apache.lucene.document.Field; import org.apache.lucene.document.Field.Store; import org.apache.lucene.document.LongField; public class LongFieldIndexer extends NumericFieldIndexer { public static final LongFieldIndexer INSTANCE = new LongFieldIndexer(); prot...
14,661
https://github.com/NextZeus/beyond-webapp/blob/master/unicom/libs/cbss/casper/js/patch/yiwang.js
Github Open Source
Open Source
MIT
null
beyond-webapp
NextZeus
JavaScript
Code
1,415
6,490
var yiwang = {}; yiwang.process = function(options, done){ yiwang.getInterfaceElement_first(options,function(err, result1){ if(err) return done(err); var options1 = {}; yiwang.getProductInfoByTypeTrans(options1,function(err,result2){ if(err) return done(err); var options2 = {}; yiwang.getPackageByPId(o...
50,548
https://github.com/elphoton/opal-mithril/blob/master/opal/mithril.rb
Github Open Source
Open Source
MIT
null
opal-mithril
elphoton
Ruby
Code
17
66
require 'vendor/mithril' require 'mithril/dom' require 'mithril/node' require 'mithril/wrapper' require 'mithril/support' module Mithril include Mithril::DOM extend Mithril::Wrapper end
24,341
https://github.com/mskocik/bootstrap-4-forms/blob/master/src/Inputs/ButtonInput.php
Github Open Source
Open Source
MIT
null
bootstrap-4-forms
mskocik
PHP
Code
122
373
<?php /** * Created by Petr Čech (czubehead) : https://petrcech.eu * Date: 9.7.17 * Time: 20:02 * This file belongs to the project bootstrap-4-forms * https://github.com/czubehead/bootstrap-4-forms */ namespace Czubehead\BootstrapForms\Inputs; use Czubehead\BootstrapForms\Traits\BootstrapButtonTrait; use Nette...
54,184
https://github.com/mCRL2org/mCRL2/blob/master/examples/games/othello/run.py
Github Open Source
Open Source
BSL-1.0
2,023
mCRL2
mCRL2org
Python
Code
178
823
import os os.system('mcrl22lps -vo othello.mcrl2 othello.lps') os.system('lpssuminst -v -rjitty othello.lps temp0.lps') os.system('lpsparunfold -n6 -lv -sBoard temp0.lps > temp1.lps') os.system('lpsrewr -v -rjitty temp1.lps | lpsconstelm -c -v | lpsrewr -v > temp2.lps') os.system('lpsparunfold -n6 -lv -sRow temp2.lps ...
25,094
https://github.com/OwnYourData/oyd-mobile2/blob/master/src/modules/auth/index.js
Github Open Source
Open Source
MIT
2,021
oyd-mobile2
OwnYourData
JavaScript
Code
255
1,099
import { onOauthToken, onEncryptCredentials, onRegister } from './sagas'; import { Main } from './reducers'; import InitialState from './initialState'; import Api from './services'; import i18n from './i18n'; import Auth from './Auth'; import Help from './Help'; const api = new Api; export default { namespace: 'AUT...
3,028
https://github.com/AlexanderGroeger/RogueEssence/blob/master/RogueEssence/Menu/Others/ModsMenu.cs
Github Open Source
Open Source
MS-PL, Zlib, MIT
2,022
RogueEssence
AlexanderGroeger
C#
Code
113
427
using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using RogueEssence.Content; using RogueElements; using RogueEssence.Data; using System.IO; namespace RogueEssence.Menu { public class ModsMenu : MultiPageMenu { private const int SLOTS_PER_PAGE = 7; public ModsMenu() ...
1,723
https://github.com/Jbumk/VR_Interior/blob/master/Assets/VRKeys 1/Scripts/EnterKey.cs
Github Open Source
Open Source
MIT
2,021
VR_Interior
Jbumk
C#
Code
36
93
using UnityEngine; using System.Collections; namespace VRKeys { public class EnterKey : Key { public override void HandleTriggerEnter (Collider other) { keyboard.Submit (); } public override void UpdateLayout (Layout translation) { label.text = translation.enterButtonLabel; } } }
39,439
https://github.com/talktojoegee/plusrentalsv2/blob/master/public/assets/pages/widget/custom-widget1.js
Github Open Source
Open Source
MIT
null
plusrentalsv2
talktojoegee
JavaScript
Code
2,294
8,735
'use strict'; $(document).ready(function() { var ctx = document.getElementById('update-chart-1').getContext("2d"); var myChart = new Chart(ctx, { type: 'bar', data: valincome('#fff', [25, 30, 20, 15, 20, 30, 20], '#fff'), options: valincomebuildoption(), }); var ctx = document.ge...
19,306
https://github.com/Hatemhusnieh/barber-shop/blob/master/src/controllers/barber/media.controller.js
Github Open Source
Open Source
MIT
2,021
barber-shop
Hatemhusnieh
JavaScript
Code
187
549
const fs = require('fs'); const InterFace = require('../../Models/media-interface'); const media = new InterFace('media'); const addPhotos = async (req, res, next) => { try { const data = await media.createImges(req); if(!data){ res.send('uploaded field'); } res.json(data); } catch (error) ...
23,868
https://github.com/aircoq/EA-dodo/blob/master/.svn/pristine/03/039b5e28b36d2c443ba50bb29dbaa375bf5866ce.svn-base
Github Open Source
Open Source
MIT, Apache-2.0
2,019
EA-dodo
aircoq
PHP
Code
9
33
<?php namespace GoetasWebservices\XML\XSDReader\Schema\Exception; class TypeNotFoundException extends SchemaException { }
54,154
https://github.com/michaelhayashi/IEEE-Website/blob/master/officers/2011.php
Github Open Source
Open Source
Apache-2.0
2,017
IEEE-Website
michaelhayashi
PHP
Code
82
331
<?php $page_title = '2011 Officers'; $site_title = 'Purdue IEEE'; $site_index = '/'; include '../header.php'; ?> <div class="well card-1 text-dark"> <!--- Pagination --> <div class="row text-center"> <div class="col-lg-12"> <ul class="pagination"> ...
22,542
https://github.com/AYCHPay/AYCHPayBackend/blob/master/packages/api/appparams.go
Github Open Source
Open Source
MIT
2,019
AYCHPayBackend
AYCHPay
Go
Code
272
727
// Copyright 2016 The go-daylight Authors // This file is part of the go-daylight library. // // The go-daylight library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
48,222
https://github.com/jeiook/RSA/blob/master/build/Makefile
Github Open Source
Open Source
MIT
null
RSA
jeiook
Makefile
Code
811
2,699
# CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 3.17 # Default target executed when no arguments are given to make. default_target: all .PHONY : default_target # Allow only one "make -f Makefile2" at a time, but pass parallelism. .NOTPARALLEL: #========================...
52,023
https://github.com/cctvzd7/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/GetInstanceConsumeTimeRankResponse.java
Github Open Source
Open Source
Apache-2.0
2,020
aliyun-openapi-java-sdk
cctvzd7
Java
Code
355
1,117
/* * 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, software * distributed u...
35,939
https://github.com/Domiii/check-in/blob/master/src/features/cohorts/setup.js
Github Open Source
Open Source
MIT
null
check-in
Domiii
JavaScript
Code
7
32
// import bootstrap table CSS import 'react-bootstrap-table-next/dist/react-bootstrap-table2.min.css';
28,172
https://github.com/bitcoin-api/bitcoin-api/blob/master/3-frontend/src/App/TheActualApp/NotLoggedInMode/InitialChoiceMode/Footer/index.js
Github Open Source
Open Source
MIT-0, BSD-3-Clause
2,022
bitcoin-api
bitcoin-api
JavaScript
Code
177
482
import { createElement as e } from 'react'; import Box from '@material-ui/core/Box'; // import Typography from '@material-ui/core/Typography'; import LegalSection from './LegalSection'; const getStyles = () => { return { outerContainer: { // backgroundColor: 'beige', width: '100%...
6,185
https://github.com/hausr/spree_product_ordering/blob/master/app/extensions/taxon.rb
Github Open Source
Open Source
BSD-3-Clause
2,012
spree_product_ordering
hausr
Ruby
Code
15
62
Spree::Taxon.class_eval do def active_products scope = products.active.order("position") scope = scope.on_hand unless Spree::Config[:show_zero_stock_products] scope end end
21,693
https://github.com/darek1024/spring-cloud-contract/blob/master/spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/AvailablePortScanner.java
Github Open Source
Open Source
Apache-2.0
null
spring-cloud-contract
darek1024
Java
Code
401
1,091
/* * Copyright 2013-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
55,084
https://github.com/alveraboquet/tixlfinance-community-data/blob/master/projects/0-schema/project.schema.ts
Github Open Source
Open Source
MIT
2,021
tixlfinance-community-data
alveraboquet
TypeScript
Code
250
802
interface SocialSchema { name: | 'Twitter' | 'Telegram' | 'Telegram Announcements' | 'Medium' | 'Reddit' | 'Youtube' | 'Facebook'; /** * @format url */ url: string; handle?: string; search_strings?: string[]; } interface TokenSchema { sections: Section[]; } interface Road...
37,547
https://github.com/fbogulak/political-preparedness/blob/master/starter/app/src/main/java/com/example/android/politicalpreparedness/utils/ElectionFollowingStatus.kt
Github Open Source
Open Source
CC-BY-4.0, Apache-2.0
2,021
political-preparedness
fbogulak
Kotlin
Code
11
38
package com.example.android.politicalpreparedness.utils enum class ElectionFollowingStatus { FOLLOWED, UNFOLLOWED, ERROR, LOADING }
1,111
https://github.com/opensaasstudio/meerkat/blob/master/adapter/dynamodb/answer_store.go
Github Open Source
Open Source
Apache-2.0
2,022
meerkat
opensaasstudio
Go
Code
401
1,199
// Copyright 2019 The meerkat 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...
42,878
https://github.com/ScalablyTyped/Distribution/blob/master/o/oracle__oraclejet/src/main/scala/typings/oracleOraclejet/ojdataproviderMod/SortCriterion.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
95
310
package typings.oracleOraclejet.ojdataproviderMod import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait SortCriterion[D] extends StObject { var attribute: /* keyof D */ String var direction: Str...
9,444
https://github.com/PEPE-net/nvm/blob/master/test/fast/Unit tests/nvm_has_system_iojs
Github Open Source
Open Source
MIT
2,018
nvm
PEPE-net
Shell
Code
55
289
#!/bin/sh cleanup () { rm "${NVM_DIR}/versions/io.js/v0.1.2/node" rm "${NVM_DIR}/versions/io.js/v0.1.2/iojs" rmdir "${NVM_DIR}/versions/io.js/v0.1.2" } die () { echo "$@" ; exit 1; } \. ../../../nvm.sh mkdir "${NVM_DIR}/versions/io.js/v0.1.2" touch "${NVM_DIR}/versions/io.js/v0.1.2/node" touch "${NVM_DIR}/vers...
38,857
https://github.com/lijiahangmax/sysmin/blob/master/src/main/java/com/sysmin/core/jvm/service/api/JpsApi.java
Github Open Source
Open Source
Apache-2.0
2,019
sysmin
lijiahangmax
Java
Code
39
166
package com.sysmin.core.jvm.service.api; import com.sysmin.core.jvm.domain.JpsDO; import com.sysmin.core.jvm.enums.JpsType; import java.util.List; /** * @author:Li * @time: 2018/12/26 21:28 * @version: 1.0.0 */ public interface JpsApi { /** * jps查看java进程 * * @param type 枚举参数 * @return jp...
56,346
https://github.com/jerrycychen/square-java-sdk/blob/master/src/main/java/com/squareup/square/api/DefaultSitesApi.java
Github Open Source
Open Source
Apache-2.0
2,021
square-java-sdk
jerrycychen
Java
Code
498
1,398
package com.squareup.square.api; import com.squareup.square.ApiHelper; import com.squareup.square.AuthManager; import com.squareup.square.Configuration; import com.squareup.square.exceptions.ApiException; import com.squareup.square.http.Headers; import com.squareup.square.http.client.HttpCallback; import com.squareup...
41,922
https://github.com/JamesMcClelland/laravel-hateoas/blob/master/tests/App/Hateoas/MessageHateoasWithExtraParameters.php
Github Open Source
Open Source
MIT
2,019
laravel-hateoas
JamesMcClelland
PHP
Code
93
307
<?php namespace GDebrauwer\Hateoas\Tests\App\Hateoas; use GDebrauwer\Hateoas\Tests\App\Message; use GDebrauwer\Hateoas\Traits\CreatesLinks; class MessageHateoasWithExtraParameters { use CreatesLinks; /** * Get the HATEOAS link to view the message. * * @param \App\Message $message * @para...
34,563
https://github.com/z3n0nd3v/pouemb/blob/master/app/routes/todo.js
Github Open Source
Open Source
MIT
null
pouemb
z3n0nd3v
JavaScript
Code
92
271
// import Ember from '@ember'; import Route from '@ember/routing/route'; // import Ember from 'ember'; // const { // get, // inject, // } = Ember; export default Route.extend({ // keyManager: inject.service(), // // beforeModel() { // get(this, 'keyManager').register({ // keys: ['numpadAdd'], //...
3,892
https://github.com/zjhmale/prop/blob/master/prop-src/T5.cc
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-public-domain
2,009
prop
zjhmale
C++
Code
696
2,072
/////////////////////////////////////////////////////////////////////////////// // This file is generated automatically using Prop (version 2.3.4), // last updated on Apr 3, 1997. // The original source file is "T5.pcc". /////////////////////////////////////////////////////////////////////////////// #define PROP_RE...
2,264
https://github.com/AnkurGel/buhos/blob/master/controllers/reviews/quality_assesment.rb
Github Open Source
Open Source
BSD-3-Clause
null
buhos
AnkurGel
Ruby
Code
197
1,303
# Buhos # https://github.com/clbustos/buhos # Copyright (c) 2016-2018, Claudio Bustos Navarrete # All rights reserved. # Licensed BSD 3-Clause License # See LICENSE file for more information # @!group Quality assesment # Form to assess quality of a document # in stage review full text get '/review/:sr_id/quality_ass...
44,823
https://github.com/Legited/rivebox/blob/master/shell.js
Github Open Source
Open Source
MIT
null
rivebox
Legited
JavaScript
Code
245
717
#!/usr/bin/env node /****************************************************************************** * Interactive RiveScript Shell for quickly testing your RiveScript bot. * * * * Usage: node shell.js /path/to/brain ...
30,459
https://github.com/shazmimie/FyprOAS/blob/master/Lapprove.php
Github Open Source
Open Source
MIT
2,021
FyprOAS
shazmimie
PHP
Code
499
2,277
<?php //we need session for the log in thingy XD include 'header.php'; include("functions.php"); $a = $_SESSION['U_id'];?> <?php CheckRole('Lecturer') ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shri...
20,442
https://github.com/metaperl/muntjac/blob/master/muntjac/demo/sampler/features/commons/__init__.py
Github Open Source
Open Source
Apache-2.0
2,012
muntjac
metaperl
Python
Code
24
126
from muntjac.demo.sampler.features.commons.JSApi import JSApi from muntjac.demo.sampler.features.commons.Icons import Icons from muntjac.demo.sampler.features.commons.Tooltips import Tooltips from muntjac.demo.sampler.features.commons.BrowserInformation import BrowserInformation from muntjac.demo.sampler.features.comm...
2,725
https://github.com/imanmolmehta/note-taking-app/blob/master/styles/NotesList.styles.js
Github Open Source
Open Source
MIT
null
note-taking-app
imanmolmehta
JavaScript
Code
76
267
import { StyleSheet } from "react-native"; import theme from "../theme/theme"; const styles = StyleSheet.create({ listContainer: { paddingVertical: 10, flex: 1 }, item: { paddingHorizontal: 10, justifyContent: 'space-between' }, itemHeader: { marginBottom:...
29,034
https://github.com/jstacoder/jstacoder.github.io/blob/master/src/components/dynamic-flex/dynamic-wrapper.jsx
Github Open Source
Open Source
MIT
2,019
jstacoder.github.io
jstacoder
null
Spoken
65
189
import React from 'react' import { BorderBox } from '@primer/components' import DynamicElement from './dynamic-element' import DynamicController from './dynamic-controller' import { DynamicContextProvider } from './dynamic-context' import { ActiveContextProvider } from './active-context' const DynamicWrapper = props ...
3,308
https://github.com/massenz/distlib/blob/master/include/MerkleNode.hpp
Github Open Source
Open Source
Apache-2.0
2,021
distlib
massenz
C++
Code
1,879
4,047
// Copyright (c) 2016-2020 AlertAvert.com. All rights reserved. // Created by M. Massenzio (marco@alertavert.com) on 3/20/16. #pragma once #include <string.h> #include <memory> #include <list> #include <openssl/md5.h> #include <iostream> #include <cassert> #include <memory> #include <utility> #include <vector> #inc...
25,867
https://github.com/piyole/StockApi/blob/master/StockApi/Classes/NameSpace.swift
Github Open Source
Open Source
MIT
2,016
StockApi
piyole
Swift
Code
74
170
// // NameSpace.swift // StockApi // // Created by wegie on 2016/05/01. // Copyright © 2016年 wegie. All rights reserved. // import CachedApi enum NameSpace : CacheNameSpace { case Stock case BarData var name: String { switch self { case .Stock: return "Stock" case...
37,221
https://github.com/kevinstategami/GPDI/blob/master/app/Http/Controllers/RingkasanController.php
Github Open Source
Open Source
MIT
null
GPDI
kevinstategami
PHP
Code
291
1,110
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\File; use App\RingkasanKhotbah; class RingkasanController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { ...
4,446
https://github.com/daletom/gatsby-mediacloud/blob/master/node_modules/contentful-management/dist/es-modules/entities/upload.js
Github Open Source
Open Source
MIT
2,021
gatsby-mediacloud
daletom
JavaScript
Code
88
240
import copy from 'fast-copy'; import { freezeSys, toPlainObject } from 'contentful-sdk-core'; import enhanceWithMethods from '../enhance-with-methods'; import * as endpoints from '../plain/endpoints'; function createUploadApi(http) { return { "delete": function del() { var raw = this.toPlainObject(); ...
49,273
https://github.com/kaltura/shaka-player/blob/master/lib/net/http_fetch_plugin.js
Github Open Source
Open Source
Apache-2.0
2,018
shaka-player
kaltura
JavaScript
Code
506
1,551
/** * @license * Copyright 2016 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 ...
18,319