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/hbzhang/inventorymanagement/blob/master/node_modules/meanio/node_modules/npm/test/tap/prepublish.js
Github Open Source
Open Source
MIT, GPL-3.0-only, LicenseRef-scancode-other-copyleft, AGPL-3.0-or-later, GPL-1.0-or-later, AGPL-3.0-only, Artistic-2.0, LicenseRef-scancode-unknown-license-reference
2,019
inventorymanagement
hbzhang
JavaScript
Code
283
856
// verify that prepublish runs on pack and publish var test = require('tap').test var npm = require('../../') var fs = require('fs') var pkg = __dirname + '/prepublish_package' var tmp = pkg + '/tmp' var cache = pkg + '/cache' var mkdirp = require('mkdirp') var rimraf = require('rimraf') var path = require('path') var ...
49,810
https://github.com/ryumy97/tracker-app/blob/master/ios/Pods/Headers/Private/RNReanimated/REAIOSErrorHandler.h
Github Open Source
Open Source
MIT
2,021
tracker-app
ryumy97
C
Code
1
27
../../../../../node_modules/react-native-reanimated/ios/native/REAIOSErrorHandler.h
30,512
https://github.com/andela-joyebanji/Techphin/blob/master/resources/views/partials/video-card.blade.php
Github Open Source
Open Source
MIT
2,016
Techphin
andela-joyebanji
Blade
Code
66
295
<div class="card"> <a href="{{ resolve_url('videos/'.$video->id) }}" class="image"> <div class="ui dimmer"> <div class="content"> <div class="center"> <div class="ui inverted button"> <i class="icon play"></i>Play</div> </div> </div> </div> <img src="http://...
51,302
https://github.com/whodisio/whodis-react/blob/master/src/getAuthorizationHeader.ts
Github Open Source
Open Source
MIT
null
whodis-react
whodisio
TypeScript
Code
181
269
import { getAuthableToken } from './token/getAuthableToken'; /** * used to define the value of the authorization header, based on whether a user is logged in or not * - if user is logged in, returns the bearer token header value * - if user is not logged in, returns empty-string * both of these values can be set a...
48,199
https://github.com/msuwanda/zain/blob/master/platforms/browser/www/views/produk/list.js
Github Open Source
Open Source
Apache-2.0
2,016
zain
msuwanda
JavaScript
Code
55
215
targetUrl = "http://mymandala.id/api/zain/pro/v_produk.php" ; jQuery.post(targetUrl, {}, function(data){ jQuery.each(data,function(i,value){ // defining kontrol proses jQuery('#datatable tbody').append('<tr onclick="loadFile(\'editproduk\',\'' + value.produk_id + '\')" style=\"cursor: pointer;\"><td>' + valu...
38,448
https://github.com/mqshaikh8/bookliker-practice-challenge-dumbo-web-111819/blob/master/js/index.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,020
bookliker-practice-challenge-dumbo-web-111819
mqshaikh8
JavaScript
Code
158
604
document.addEventListener("DOMContentLoaded", function() { const ulTag = document.querySelector("#list") const show = document.querySelector("#show-panel") fetch("http://localhost:3000/books") .then(r => r.json()) .then(r => { r.forEach(obj => { turnJsonToHtml(obj) ...
20,619
https://github.com/h324yang/multiprobe/blob/master/multiprobe/model/__init__.py
Github Open Source
Open Source
MIT
null
multiprobe
h324yang
Python
Code
8
15
from .evaluate import * from .ablate import *
574
https://github.com/chenguzhen87/mintscan-binance-dex-frontend/blob/master/src/components/Asset/TxHolders/HoldersTable/HoldersTable.scss
Github Open Source
Open Source
Apache-2.0
2,020
mintscan-binance-dex-frontend
chenguzhen87
SCSS
Code
60
249
@import "src/styles/utils"; .HoldersTable-wrapper { overflow-x: auto; overflow-y: hidden; min-width: 300px; .table { @include media("<small") { display: none; } .tableHeaderCell { @include tableHeaderCellWidth300; @include tableElemPadding; color: var(--colorMainText); } .rank { min-width:...
18,902
https://github.com/G-E-O-F/geof/blob/master/theater/app/link/link.js
Github Open Source
Open Source
BSD-3-Clause-Clear
2,019
geof
G-E-O-F
JavaScript
Code
123
402
import ApolloClient from 'apollo-client' import { InMemoryCache } from 'apollo-cache-inmemory' import gql from 'graphql-tag' import get from 'lodash/get' // see example 1 import absintheSocketLink from './absinthe-ws-link' const client = new ApolloClient({ link: absintheSocketLink, cache: new InMemoryCache(), }) ...
13,827
https://github.com/avetismu/Melax-Polygon-Reduction-Algorithm-on-Three.js/blob/master/python_scripts/vertex_extraction.py
Github Open Source
Open Source
MIT
2,018
Melax-Polygon-Reduction-Algorithm-on-Three.js
avetismu
Python
Code
83
329
import sys import re import json vertices = [] regex_v = re.compile("v\s") regex_float = re.compile("\s(\d?\d)+\.(\d?\d)+\s"); def openfile(model_name): try: f = open('../models/'+ model_name, 'r') extract_vertices(model_name, f) except IOError: print(sys.exc_info()[0]) print(...
29,015
https://github.com/Ajiaxi/jasonkit/blob/master/jasonkit/Jason+UIImage.m
Github Open Source
Open Source
MIT
2,015
jasonkit
Ajiaxi
Objective-C
Code
67
306
// // Jason+UIImage.m // jasonkit // // Created by Jason on 15-8-24. // // #import "Jason+UIImage.h" @implementation UIImage (Jason) - (id)initWithView:(UIView*) view { UIGraphicsBeginImageContextWithOptions(view.bounds.size, YES, view.layer.contentsScale); [view.layer renderInContext:UIGraphicsGetCurrentC...
37,898
https://github.com/zpfz/ace-uikit/blob/master/src/select/medium-gray.less
Github Open Source
Open Source
MIT
2,021
ace-uikit
zpfz
Less
Code
86
462
@import url('../palette.common.less'); @import url('../palette.medium.gray.less'); .ace-select { background-color: @medium-gray-slt-bg-color; border: 1px solid @medium-gray-border-color; .ace-select-frame { input { background-color: @medium-gray-slt-bg-color; color: @medium-gray-text-color; ...
35,802
https://github.com/tumtumtum/Shaolinq/blob/master/src/Shaolinq/Persistence/Linq/Expressions/SqlTableExpression.cs
Github Open Source
Open Source
MIT
2,021
Shaolinq
tumtumtum
C#
Code
84
281
// Copyright (c) 2007-2018 Thong Nguyen (tumtumtum@gmail.com) using System; using System.Linq.Expressions; namespace Shaolinq.Persistence.Linq.Expressions { public class SqlTableExpression : SqlAliasedExpression { public string Name { get; } public override ExpressionType NodeType => (ExpressionType)SqlExpres...
10,350
https://github.com/drmason789/trixter-xdream-bike/blob/master/Trixter.XDream.API.Testing/Meters/HybridCrankMeterTests.cs
Github Open Source
Open Source
MIT
2,022
trixter-xdream-bike
drmason789
C#
Code
203
737
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using Trixter.XDream.API.Meters; namespace Trixter.XDream.API.Testing.Meters { [TestFixture] public class HybridCrankMeterTests { Func<int, int> rpmConverter = x => x <= 0 ? 0 : (x >= 65534 ? 0 : (int)(1.0d ...
47,926
https://github.com/PassByYou888/ZNet/blob/master/Source/ICS/icsv8/Z.Ics.Fmx.OverbyteIcsSslX509Utils.pas
Github Open Source
Open Source
BSD-3-Clause
2,022
ZNet
PassByYou888
Pascal
Code
8
58
unit Z.Ics.Fmx.OverbyteIcsSslX509Utils; {$DEFINE FMX} {$DEFINE ICS_INCLUDE_MODE} {$I Z.OverbyteIcsSslX509Utils.pas}
28,869
https://github.com/madanagopaltcomcast/pxCore/blob/master/examples/pxScene2d/external/libnode-v6.9.0/test/fixtures/debug-uncaught-async.js
Github Open Source
Open Source
Apache-2.0
2,020
pxCore
madanagopaltcomcast
JavaScript
Code
44
120
'use strict'; require('../common'); const assert = require('assert'); const debug = require('_debugger'); function emit() { const error = new Error('fhqwhgads'); process.emit('uncaughtException', error); } assert.doesNotThrow(emit); // Send debug.start() an argv array of length 1 to avoid code that exits // if...
35,886
https://github.com/SammyEnigma/CacheRepository/blob/master/CacheRepository.Test/Tests_Multiple.cs
Github Open Source
Open Source
MIT
null
CacheRepository
SammyEnigma
C#
Code
400
1,561
using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace CacheRepository.Tests { public class Tests_Multiple { private readonly MultipleShardsRepository _repository; public Tests_Multiple() { _repository = new MultipleShardsRepository(); ...
36,230
https://github.com/NadaNattafy/MyLaravel/blob/master/extensions/SemanticMediaWiki/src/SQLStore/QueryEngine/OrderConditionsComplementor.php
Github Open Source
Open Source
MIT
null
MyLaravel
NadaNattafy
PHP
Code
687
2,028
<?php namespace SMW\SQLStore\QueryEngine; use SMW\DataValueFactory; use SMW\Query\DescriptionFactory; use SMW\Query\Language\Description; use SMW\DataValues\PropertyChainValue; use RuntimeException; /** * Modifies a given query object at $qid to account for all ordering conditions * in the Query $query. It is alwa...
25,092
https://github.com/Azure/azure-spring-initializr/blob/master/start-site/src/test/java/io/spring/start/site/extension/dependency/okta/OktaHelpDocumentCustomizerTests.java
Github Open Source
Open Source
Apache-2.0
2,022
azure-spring-initializr
Azure
Java
Code
173
482
/* * Copyright 2012-2021 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...
35,489
https://github.com/2002-feb24-net/PaulE-Code/blob/master/PaulsMatrix/Matrix.cs
Github Open Source
Open Source
MIT
null
PaulE-Code
2002-feb24-net
C#
Code
323
1,286
using System; using System.Collections.Generic; namespace PaulsMatrix { class Matrix { public int[,] MyMatrix; public Matrix(int[] a,int[] b) { MyMatrix = new int[2,2]; for (int i = 0;i<a.Length;i++) { this.MyMatrix[0,i] = a[i]; ...
41,412
https://github.com/sweenzor/scanimage/blob/master/+most/+gui/uicontrol.m
Github Open Source
Open Source
Apache-2.0
2,018
scanimage
sweenzor
MATLAB
Code
1,033
4,207
classdef uicontrol < handle %UICONTROL Summary of this class goes here % Detailed explanation goes here properties hCtl; % pass through to hCtl Value; String; Visible; Enable; Style; RelPosition; end properties (Hid...
35,924
https://github.com/Sndvljordan1/Blog/blob/master/env-template.php
Github Open Source
Open Source
MIT
null
Blog
Sndvljordan1
PHP
Code
28
89
<?php return array( 'DB_HOST' => '', 'DB_NAME' => '', 'DB_USER' => '', 'DB_PASS' => '', 'USER_FIRST_NAME' => '', 'USER_LAST_NAME' => '', 'USER_EMAIL' => '', 'USER_PASS' => '' );
8,786
https://github.com/sputnikboom/northcoders-news-BE/blob/master/utils/index.js
Github Open Source
Open Source
MIT
null
northcoders-news-BE
sputnikboom
JavaScript
Code
93
286
const { Comment } = require("../models"); const formatArticle = (articleData, userDocs) => { return articleData.map(article => { return { ...article, belongs_to: article.topic, votes: 0, created_by: userDocs.find(user => user.username === article.created_by) ._id }; }); }; ...
11,042
https://github.com/gskorupa/cricket/blob/master/src/main/java/org/cricketmsf/event/ProcedureCall.java
Github Open Source
Open Source
Apache-2.0
2,021
cricket
gskorupa
Java
Code
355
744
package org.cricketmsf.event; /** * * @author greg */ public class ProcedureCall { public Event event = null; public int responseCode = 0; public Object response = null; public String contentType = "application/json"; public boolean requestHandled = false; public int procedure; public...
30,828
https://github.com/santiagohenao/dot/blob/master/generate_matrix.cpp
Github Open Source
Open Source
MIT
null
dot
santiagohenao
C++
Code
106
328
#include <iostream> #include <fstream> #include <math.h> #include <vector> #include <algorithm> #include <iterator> using namespace std; int main(int argc, char *argv[]) { // read outputname string outname=argv[1]; //read dimensions int n,m; cout << "\nInserte el número de filas:\t"; cin>>n; ...
35,826
https://github.com/jmakino/clop-crystal/blob/master/spec/spec_helper.cr
Github Open Source
Open Source
MIT
null
clop-crystal
jmakino
Crystal
Code
4
17
require "spec" require "../src/clop-crystal"
13,064
https://github.com/f4deb/cen-electronic/blob/master/robot/config/32/robotConfigPic32.c
Github Open Source
Open Source
MIT
2,019
cen-electronic
f4deb
C
Code
163
521
#include <p32xxxx.h> #include <stdlib.h> #include "robotConfigPic32.h" #include "../robotConfig.h" /** * Implementation of the read Function of configuration switch. * @see robotConfig.h * @private */ unsigned int _robotConfigReadInt(RobotConfig* robotConfig) { unsigned int value = 0; value = ((PORTG &...
20,883
https://github.com/JULIELab/jcore-dependencies/blob/master/aliasi-lingpipe/src/main/java/com/aliasi/features/LengthNormFeatureExtractor.java
Github Open Source
Open Source
BSD-2-Clause
2,018
jcore-dependencies
JULIELab
Java
Code
470
1,164
/* * LingPipe v. 4.1.0 * Copyright (C) 2003-2011 Alias-i * * This program is licensed under the Alias-i Royalty Free License * Version 1 WITHOUT ANY WARRANTY, without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Alias-i * Royalty Free License Version 1 for more det...
27,140
https://github.com/BluMonkeySoftware/swift-markdown/blob/master/Tests/MarkdownTests/Utility/AssertElementDidntChange.swift
Github Open Source
Open Source
Apache-2.0
2,022
swift-markdown
BluMonkeySoftware
Swift
Code
63
158
/* This source file is part of the Swift.org open source project Copyright (c) 2021 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception See https://swift.org/LICENSE.txt for license information See https://swift.org/CONTRIBUTORS.txt for Swift project authors...
43,629
https://github.com/elmendavies/ldaptive/blob/master/core/src/main/java/org/ldaptive/handler/DnAttributeEntryHandler.java
Github Open Source
Open Source
Apache-2.0
2,022
ldaptive
elmendavies
Java
Code
323
877
/* See LICENSE for licensing and NOTICE for copyright. */ package org.ldaptive.handler; import org.ldaptive.LdapAttribute; import org.ldaptive.LdapEntry; import org.ldaptive.LdapUtils; /** * Adds the entry DN as an attribute to the result set. Provides a client side implementation of RFC 5020. * * @author Middlew...
1,659
https://github.com/vaaralav/frontend/blob/master/src/main.js
Github Open Source
Open Source
Apache-2.0
2,019
frontend
vaaralav
JavaScript
Code
82
256
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import 'core-js/es6/promise' import 'core-js/es6/string' import 'core-js/es7/array' import Vue from 'vue' import BootstrapVue from 'bootstrap-vue' import App from './App' import ro...
24,471
https://github.com/blue-devil/StateOS/blob/master/test/test_signal/config.cmake
Github Open Source
Open Source
MIT
2,022
StateOS
blue-devil
CMake
Code
8
106
include_guard(GLOBAL) target_sources(test PRIVATE ${CMAKE_CURRENT_LIST_DIR}/test_signal.c ${CMAKE_CURRENT_LIST_DIR}/test_signal_1.c ${CMAKE_CURRENT_LIST_DIR}/test_signal_2.cpp ${CMAKE_CURRENT_LIST_DIR}/test_signal_3.cpp )
16,287
https://github.com/18702524730/jiaxingBigData/blob/master/src/router/visualizations/visualDesign.js
Github Open Source
Open Source
Apache-2.0
null
jiaxingBigData
18702524730
JavaScript
Code
112
584
import {Content} from 'layout/'; import {visualDesign} from 'views/'; import {Service} from 'views/'; export default { path: 'visualDesign', name: 'visualDesign', meta:{ name: '可视化设计', permission: 'stereo_protect_all_case' }, icon: 'inbox', component: Content, children: [ { path: 'visualLayout', nam...
17,416
https://github.com/caomw/magnum-examples/blob/master/src/picking/PhongId.frag
Github Open Source
Open Source
MIT
2,015
magnum-examples
caomw
GLSL
Code
297
603
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> 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 Softwar...
28,275
https://github.com/nosdod/CDWriterJava/blob/master/samples/wsh/build/src/wsh/IDriveCollection.java
Github Open Source
Open Source
BSD-2-Clause
null
CDWriterJava
nosdod
Java
Code
127
380
package wsh ; import com4j.*; @IID("{C7C3F5A1-88A3-11D0-ABCB-00A0C90FFFC0}") public interface IDriveCollection extends Com4jObject,Iterable<Com4jObject> { // Methods: /** * <p> * Getter method for the COM property "Item" * </p> * @param key Mandatory java.lang.Object parameter. * @return Returns ...
12,281
https://github.com/visionwang/uengine-bpm/blob/master/uengine-modeling/src/main/java/org/uengine/modeling/Palette.ejs
Github Open Source
Open Source
Apache-2.0
2,018
uengine-bpm
visionwang
EJS
Code
17
119
<div class="panel panel-default"> <div class="panel-heading"> <h4><a data-toggle="collapse" href="#collapse<%=objectId%>"><%=value.name%></a></h4> </div> <div class="panel-body" id="collapse<%=objectId%>" class="panel-collapse collapse"> <%=fields.symbolList.here()%> </div> </div>
26,934
https://github.com/vsergio011/mds2/blob/master/mdsdos/frontend/src/vista-detallecompra.js
Github Open Source
Open Source
Unlicense
2,021
mds2
vsergio011
JavaScript
Code
120
571
import {html, PolymerElement} from '@polymer/polymer/polymer-element.js'; import '@vaadin/vaadin-ordered-layout/src/vaadin-vertical-layout.js'; import '@vaadin/vaadin-ordered-layout/src/vaadin-horizontal-layout.js'; import '@vaadin/vaadin-button/src/vaadin-button.js'; import '@vaadin/vaadin-text-field/src/vaadin-text-f...
13,195
https://github.com/ukfast/sdk-go/blob/master/pkg/service/ssl/service_certificate_test.go
Github Open Source
Open Source
MIT
2,020
sdk-go
ukfast
Go
Code
598
3,301
package ssl import ( "bytes" "errors" "io/ioutil" "net/http" "testing" "github.com/golang/mock/gomock" "github.com/stretchr/testify/assert" "github.com/ukfast/sdk-go/pkg/connection" "github.com/ukfast/sdk-go/test/mocks" ) func TestGetCertificates(t *testing.T) { t.Run("Single", func(t *testing.T) { mockC...
28,579
https://github.com/microsoft/graspologic-js/blob/master/packages/lib-common/src/utils/index.ts
Github Open Source
Open Source
MIT
2,021
graspologic-js
microsoft
TypeScript
Code
45
82
/*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ export * from './Properties' export * from './equality' export * from './processMinMax' export * from './Interpolator' export * from './fastDebounce' export * from './events'
38,469
https://github.com/pak11273/backend/blob/master/api/auth/restricted-middleware.js
Github Open Source
Open Source
MIT
null
backend
pak11273
JavaScript
Code
59
163
const jwt = require("jsonwebtoken"); const { jwtSecret } = require("../../config/secrets.js"); module.exports = (req, res, next) => { const token = req.headers.authorization; if (token) { jwt.verify(token, jwtSecret, (err, decoded) => { if (err) { res.status(401).json("Valid Token Required For Ac...
44,005
https://github.com/ngn999/wikipedia-ios/blob/master/WikipediaUnitTests/Code/Notifications Tests/NotificationsCenterCellViewModelUserRightsChangeTests.swift
Github Open Source
Open Source
MIT
null
wikipedia-ios
ngn999
Swift
Code
300
1,105
import XCTest @testable import Wikipedia class NotificationsCenterCellViewModelUserGroupRightsChangeTests: NotificationsCenterViewModelTests { override var dataFileName: String { get { return "notifications-userRights" } } func testUserRightsChange() throws { let n...
48,345
https://github.com/carlozanella/ncegm/blob/master/interpolation.f90
Github Open Source
Open Source
MIT
2,019
ncegm
carlozanella
null
Spoken
180
439
!** !* Module that provides a function to interpolate points on a given grid !** module interpolation use kinds, only: dp implicit none private public :: interpolate_ordered contains ! ** ! * Interpolates the exogenous points on the given grid. Note: both input arrays of points are ...
34,331
https://github.com/indrivo/bizon360_crm/blob/master/src/GR.Extensions/GR.Core.Extension/GR.Core/Extensions/NumbersExtensions.cs
Github Open Source
Open Source
MIT
2,021
bizon360_crm
indrivo
C#
Code
519
1,345
using System; using System.Collections.Generic; using System.Linq; namespace GR.Core.Extensions { public static class NumbersExtensions { /// <summary> /// Are float numbers equal /// </summary> /// <param name="source"></param> /// <param name="toCompare"></param> ...
10,936
https://github.com/yujiabei/Activiti/blob/master/activiti-spring-process-extensions/src/test/java/org/activiti/spring/process/ProcessExtensionServiceIT.java
Github Open Source
Open Source
Apache-2.0
2,019
Activiti
yujiabei
Java
Code
96
617
package org.activiti.spring.process; import java.io.IOException; import java.util.Map; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import org.activiti.spring.process.autoconfigure.ProcessExtensionsAutoConfiguration; import org.activiti.spring.proce...
7,090
https://github.com/mvoelk/neat/blob/master/phenotype.py
Github Open Source
Open Source
MIT
2,020
neat
mvoelk
Python
Code
556
2,101
import numpy as np import pprint pp = pprint.PrettyPrinter(indent=4, width=120, depth=3) class Object(object): pass class NeuronType: INPUT, OUTPUT, HIDDEN, BIAS = range(4) def sigmoid(x, response=1.0): return (1.0 / (1.0 + np.exp(-x/response))) def sigmoid2(x, response=1/4.924273): # response=0.5 ...
20,143
https://github.com/angelamay20/ddsbe2/blob/master/resources/views/dashboard.php
Github Open Source
Open Source
MIT
null
ddsbe2
angelamay20
PHP
Code
146
739
<!DOCTYPE html> <html> <head> <title>Dash</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <link rel="stylesheet"href="https://cdnjs....
12,601
https://github.com/ylwu-amzn/anomaly-detection-2/blob/master/src/test/java/org/opensearch/ad/stats/ADStatsTests.java
Github Open Source
Open Source
Apache-2.0
null
anomaly-detection-2
ylwu-amzn
Java
Code
537
2,018
/* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ /* * Copyright 2020 Amaz...
44,858
https://github.com/apache/tomcat/blob/master/java/org/apache/jasper/resources/LocalStrings_cs.properties
Github Open Source
Open Source
Zlib, LZMA-exception, CPL-1.0, bzip2-1.0.6, Apache-2.0, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference, EPL-2.0, CDDL-1.0
2,023
tomcat
apache
null
Spoken
632
2,425
# 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 not use ...
34,439
https://github.com/jiaozhujun/c3f/blob/master/src-base/com/youcan/base/category/CategoryDao.java
Github Open Source
Open Source
Apache-2.0
null
c3f
jiaozhujun
Java
Code
152
422
package com.youcan.base.category; public class CategoryDao { public static final int CATEGORY_ALL = 0; /* * 分类ID */ private int id; /* * 分类名称 */ private String title; /* * 父分类的ID */ private int parent; /* * 子分类的数量 */ private int child; /* * 内容的数量 */ private int content; /* * ...
40,666
https://github.com/PassByYou888/ZNet/blob/master/C4Demo/7.Depend-UserDB-VM-IM/_3_Auth_IM_Client.dpr
Github Open Source
Open Source
BSD-3-Clause
2,022
ZNet
PassByYou888
Pascal
Code
55
630
program _3_Auth_IM_Client; uses Vcl.Forms, _3_Auth_IM_Client_Frm in '_3_Auth_IM_Client_Frm.pas' {_3_Auth_IM_Client_Form}, _3_Auth_IM_Client_LoginFrm in '_3_Auth_IM_Client_LoginFrm.pas' {_3_Auth_IM_Client_LoginForm}, _3_Auth_IM_Client_RegFrm in '_3_Auth_IM_Client_RegFrm.pas' {_3_Auth_IM_Client_RegForm}, _3_Au...
12,924
https://github.com/ldthorne/site/blob/master/browser/js/common/directives/project/project.js
Github Open Source
Open Source
MIT
2,016
site
ldthorne
JavaScript
Code
71
254
'use strict'; app.directive('project', function (AuthService, ProjectFactory, $state) { return { restrict: 'E', scope: { project: '=project' }, transclude: true, templateUrl: 'js/common/directives/project/project.html', link: function (scope) { AuthService.getLoggedInUser() ...
47,532
https://github.com/innerTide/egeria/blob/master/open-metadata-implementation/user-interfaces/access-services-user-interface/src/main/static/src/asset-lineage/asset-lineage-view.js
Github Open Source
Open Source
Apache-2.0
null
egeria
innerTide
JavaScript
Code
437
1,825
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ import { PolymerElement, html } from '@polymer/polymer/polymer-element.js'; import '../shared-styles.js'; import '../common/vis-graph.js'; import '@vaadin/vaadin-radio-button/vaadin-radio-button.js'; import '@vaadin/vaad...
8,975
https://github.com/janlindblad/eantc21/blob/master/packages/saos106/src/ncsc-out/modules/revisions/ciena-openconfig-if-ethernet-port/2020-08-20/ciena-openconfig-if-ethernet-port.yang
Github Open Source
Open Source
BSD-3-Clause
2,021
eantc21
janlindblad
YANG
Code
3,984
16,516
module ciena-openconfig-if-ethernet-port { // Generated by yanger -t ncs tailf:mount-id "saos106-nc-1.0:saos106-nc-1.0"; tailf:ncs-device-type "netconf"; namespace "http://ciena.com/ns/yang/ciena-openconfig-if-ethernet-port"; prefix cn-oc-if-eth; import openconfig-interfaces { prefix oc-if; } impo...
50,713
https://github.com/ollevche/java_lem-in/blob/master/src/test/input/ObjectInfoTests.java
Github Open Source
Open Source
MIT
null
java_lem-in
ollevche
Java
Code
125
486
package input; import org.junit.Test; import org.junit.Before; import static org.junit.Assert.*; import lemin.objects.ObjectInfo; import lemin.util.InputDataMismatch; public class ObjectInfoTests { private ObjectInfo info; @Before public void initObjInfo() { info = new ObjectInfo(); } @Test public void a...
42,312
https://github.com/wmfadel/KickStart/blob/master/lib/providers/active_fixture_provider.dart
Github Open Source
Open Source
Apache-2.0
2,022
KickStart
wmfadel
Dart
Code
375
1,461
import 'dart:async'; import 'dart:convert'; import 'package:flutter/foundation.dart'; import 'package:http/http.dart' as http; import 'package:kick_start/environment.dart'; import 'package:kick_start/models/event.dart'; import 'package:kick_start/models/fixture.dart'; import 'package:kick_start/models/formation.dart'; ...
9,907
https://github.com/msoeken/qsharp-runtime/blob/master/src/Simulation/Simulators/QuantumSimulator/Measure.cs
Github Open Source
Open Source
MIT
2,019
qsharp-runtime
msoeken
C#
Code
116
369
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Runtime.InteropServices; using Microsoft.Quantum.Simulation.Core; namespace Microsoft.Quantum.Simulation.Simulators { public partial class QuantumSimulator { public class QSimMea...
26,419
https://github.com/its-software-services-devops/iasc/blob/master/iasc-app/Its/Iasc/Vaults/VaultProviderBase.cs
Github Open Source
Open Source
Apache-2.0
2,021
iasc
its-software-services-devops
C#
Code
62
176
using System.Collections.Generic; namespace Its.Iasc.Vaults { public abstract class VaultProviderBase : IVaultProvider { protected readonly VaultConfig config = null; private readonly Dictionary<string, string> secretMap = new Dictionary<string, string>(); public abstract void Load(); ...
28,507
https://github.com/ggraur/toDoList/blob/master/ViewModels/UserEditViewModel.cs
Github Open Source
Open Source
Apache-2.0
null
toDoList
ggraur
C#
Code
34
93
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using toDoList.Models; namespace toDoList.ViewModels { public class UserEditViewModel : UserCreateViewModel { //public int Id{ get; set; } public string ExistingPhotoPath { get; set; } } }
40,810
https://github.com/Yann-Fontaine/MyPerfectWedding/blob/master/perfectWeb/resources/js/Pages/accueil.vue
Github Open Source
Open Source
MIT
null
MyPerfectWedding
Yann-Fontaine
Vue
Code
322
1,176
<template> <div class="backgroundperfectwedding"> <br> <div class="concept">GROUWImaginez et realisez le plus beau jour de votre vie</div> <br> <!-- CARD GROUP --> <b-card-group deck> <b-card class="transparent"> <img src="../../../public/calendar.png" class="centerimg" alt="calendar...
3,371
https://github.com/SmartValleyEcosystem/smartvalley/blob/master/SmartValley.Domain/Exceptions/EmailSendingFailedException.cs
Github Open Source
Open Source
MIT
2,021
smartvalley
SmartValleyEcosystem
C#
Code
19
67
namespace SmartValley.Domain.Exceptions { public class EmailSendingFailedException : AppErrorException { public EmailSendingFailedException(string message) : base(ErrorCode.EmailSendingFailed, message) { } } }
23,442
https://github.com/Denia-Vargas-Araya/ApartamentosR/blob/master/packrat/lib/x86_64-w64-mingw32/3.6.1/Rcpp/include/Rcpp/traits/enable_if.h
Github Open Source
Open Source
MIT
2,021
ApartamentosR
Denia-Vargas-Araya
C
Code
34
92
#ifndef RCPP_TRAITS_ENABLE_IF_H #define RCPP_TRAITS_ENABLE_IF_H namespace Rcpp { namespace traits { template <bool B, typename T = void> struct enable_if {}; template <typename T> struct enable_if<true, T> { typedef T type; }; } } #endif
52,579
https://github.com/hpi-swa-teaching/EPIC-Digitalsimulator/blob/master/packages/EPIC-Test.package/EpicEditorPanelTest.class/instance/panel..st
Github Open Source
Open Source
MIT
null
EPIC-Digitalsimulator
hpi-swa-teaching
null
Spoken
6
17
accessing panel: anEditorPanel panel := anEditorPanel
220
https://github.com/tvallin/helidon-build-tools/blob/master/maven-plugins/services-maven-plugin/src/main/java/io/helidon/build/maven/services/ServicesMojo.java
Github Open Source
Open Source
Apache-2.0
2,022
helidon-build-tools
tvallin
Java
Code
1,528
4,348
/* * Copyright (c) 2021 Oracle and/or 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...
46,041
https://github.com/project-dev/PersonalWiki3/blob/master/src/ChartWnd.cpp
Github Open Source
Open Source
MIT
2,019
PersonalWiki3
project-dev
C++
Code
2,667
12,965
// ChartWnd.cpp: CChartWnd クラスのインプリメンテーション // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "personalwiki.h" #include "ChartWnd.h" #include "PWikiDoc.h" #include "PWikiIniFile.h" #include "MainFrm.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__;...
3,841
https://github.com/float-cat/text2speech_bot/blob/master/t2s/modules/audiosender.py
Github Open Source
Open Source
MIT
null
text2speech_bot
float-cat
Python
Code
207
852
import os from pydub import AudioSegment class SenderMgr(object): """Класс SenderMgr используется для склеивания частей аудиосообщения в одно и отправки этого сообщения пользователю Основное применение - склеивание полученных от сервиса распознования аудиофайлов в одно цельное сообщение согласно дан...
7,389
https://github.com/Ex3NtRiC/learning-passport-JWT-Local/blob/master/src/users/users.service.ts
Github Open Source
Open Source
MIT
null
learning-passport-JWT-Local
Ex3NtRiC
TypeScript
Code
75
201
import { Injectable } from '@nestjs/common'; import { Role } from 'src/auth/roles.enum'; // This should be a real class/interface representing a user entity export type User = any; @Injectable() export class UsersService { private readonly users = [ { userId: 1, username: 'john', password: 'ch...
20,708
https://github.com/reflex-ui/reflex-ui/blob/master/packages/core/src/components/button/ButtonVariant.ts
Github Open Source
Open Source
MIT
2,020
reflex-ui
reflex-ui
TypeScript
Code
65
145
/** * Copyright (c) Flavio Silva https://flsilva.com * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ export enum ButtonVariant { Contained = 'contained', ContainedShaped = 'containedShaped', Default = 'default', Fab = 'fab', ...
6,850
https://github.com/joeylmaalouf/theano-tutorial/blob/master/foxhound/linear_model/ridge_regression.py
Github Open Source
Open Source
MIT
2,015
theano-tutorial
joeylmaalouf
Python
Code
33
131
from foxhound.linear_model import LinearRegression from foxhound.utils.costs import MSE class RidgeRegression(LinearRegression): def __init__(self, alpha=1.0, *args, **kwargs): LinearRegression.__init__(self, *args, **kwargs) self.alpha = alpha def cost(self): return MSE(self.Y, self....
8,932
https://github.com/EdwaRen/Competitve-Programming/blob/master/Code Snippets/Geeks4Geeks/max_of_mins_diff_subsequence.cpp
Github Open Source
Open Source
MIT
2,021
Competitve-Programming
EdwaRen
C++
Code
145
344
#include <bits/stdc++.h> #include <vector> using namespace std; bool check_min(const vector<int>& A, int min, int B) { int prev = A[0]; int count = 1; for (auto& num:A) { if (num >= prev + min) { count++; prev = num; if (count == B) { return true;...
17,786
https://github.com/Ztrk/AIA-tournaments/blob/master/views/pageItem.ejs
Github Open Source
Open Source
MIT
2,020
AIA-tournaments
Ztrk
EJS
Code
18
77
<li class="page-item <%= page.active ? 'active' : ''%> <%= page.disabled ? 'disabled' : ''%>"> <a class="page-link" href="/?page=<%=page.number%>"><%=linkText%></a> </li>
27,329
https://github.com/aysp-99/thorium-nova/blob/master/electron/main/helpers/bonjour.ts
Github Open Source
Open Source
Apache-2.0
2,021
thorium-nova
aysp-99
TypeScript
Code
137
452
import {ipcMain} from "electron-better-ipc"; import bonjourInit, {Browser, RemoteService} from "bonjour"; const bonjourInstance = bonjourInit(); function printUrl(address: string, httpOnly: boolean, port: number) { return `http${httpOnly ? "" : "s"}://${address}${ (port === 443 && !httpOnly) || (port === 80 && h...
51,707
https://github.com/vitassuper/truecode/blob/master/routes/api.php
Github Open Source
Open Source
MIT
2,019
truecode
vitassuper
PHP
Code
93
314
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
26,884
https://github.com/tsachis/utils-decorators/blob/master/src/memoize/memoize.index.ts
Github Open Source
Open Source
MIT
2,021
utils-decorators
tsachis
TypeScript
Code
14
51
export {memoize} from './memoize'; export {memoizify} from './memoizify'; export {Cache, Memoizable, MemoizeConfig} from './memoize.model';
15,084
https://github.com/umijs/neeko/blob/master/src/plugins/watch.test.ts
Github Open Source
Open Source
MIT
2,021
neeko
umijs
TypeScript
Code
137
428
import { model } from '../index' describe('plugins/watch', () => { it('should transfer watch', async () => { let newValueA, oldValueA const changeA = jest.fn() const changeB = jest.fn() const changeBC = jest.fn() const changeC = jest.fn() const store = model({ state: { a: 1, ...
29,338
https://github.com/lavatory/azure-database-monitoring-extension/blob/master/src/main/java/com/appdynamics/monitors/azure/config/Configuration.java
Github Open Source
Open Source
Apache-2.0
2,014
azure-database-monitoring-extension
lavatory
Java
Code
144
303
/** * Copyright 2014 AppDynamics, 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 ...
28,580
https://github.com/bbrks/dotfiles/blob/master/bash/.bash_aliases
Github Open Source
Open Source
MIT
2,023
dotfiles
bbrks
Shell
Code
24
68
if [[ "$OSTYPE" == "darwin"* ]]; then alias ls="ls -FGh" else alias ls="ls --color=auto -Fh" fi alias c="clear && printf '\e[3J'" alias rm="rm -i"
31,463
https://github.com/hendrasob/kotlin/blob/master/native/commonizer/src/org/jetbrains/kotlin/descriptors/commonizer/repository/KonanDistributionRepository.kt
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
kotlin
hendrasob
Kotlin
Code
99
382
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.descriptors.commonizer.repository import org.jetbrains.kotlin.descriptors.common...
27,074
https://github.com/minicloudsky/leetcode_solutions/blob/master/data_structures/python/dp/fib.py
Github Open Source
Open Source
MIT
null
leetcode_solutions
minicloudsky
Python
Code
26
94
#!/usr/bin/env python # coding=utf-8 def fibonacci(n): if n==1: return 1 if n==2: return 2 return fibonacci(n-1) + fibonacci(n-2) if __name__ == '__main__': n = 20 print(fibonacci(n))
34,938
https://github.com/mikeparisstuff/cloudform/blob/master/types/emr/instanceGroupConfig.ts
Github Open Source
Open Source
MIT
2,018
cloudform
mikeparisstuff
TypeScript
Code
307
1,121
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 2.2.0 */ import {ResourceBase} from '../resource' import {Value, List} from '../dataTypes' export class EbsBlockDeviceConfig { VolumeSpecification: VolumeSpecification VolumesPerInstance?: ...
42,374
https://github.com/HPI-SWA-Lab/BP2014H1/blob/master/repository/Nemo.package/NemoSideEffectDetectorTest.class/instance/aVeryUniqueMessageCallABCD.st
Github Open Source
Open Source
MIT
null
BP2014H1
HPI-SWA-Lab
null
Spoken
4
17
test-data aVeryUniqueMessageCallABCD ^ false
25,076
https://github.com/justalemon/GTAV-NativeDB/blob/master/src/components/AppBarPortal/AppBarPortal.tsx
Github Open Source
Open Source
MIT
null
GTAV-NativeDB
justalemon
TypeScript
Code
71
184
import { Portal } from '@material-ui/core' import React, { ReactNode } from 'react' import { useEffect, useState } from 'react' import { useAppBar } from '../../hooks' export interface AppBarPortalProps { children: ReactNode } export default function AppBarPortal({ children }: AppBarPortalProps) { const toolbar =...
24,867
https://github.com/huyenpham99/eProject_SEM2_TryHard/blob/master/database/migrations/2020_07_25_133731_list_donate.php
Github Open Source
Open Source
FTL
null
eProject_SEM2_TryHard
huyenpham99
PHP
Code
58
259
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class ListDonate extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('listdonate', function (...
4,293
https://github.com/jsonxr/react-native-material-icons/blob/master/icons/SvgFunctionsRound.tsx
Github Open Source
Open Source
MIT
null
react-native-material-icons
jsonxr
TypeScript
Code
54
291
// /src/editor/functions/materialiconsround/24px.svg import { createSvgIcon } from './createSvgIcon'; export const SvgFunctionsRound = createSvgIcon( `<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"> <path d="M0 0h24v24H0V0z" fill="none"/> <path d="M16.5 4H7.56C6.7 4 6 4.7 ...
51,398
https://github.com/HiteshNageshwarGit/angular-2-demo/blob/master/Angular2Demo/Angular2Demo/src/app/employee/Employee.ts
Github Open Source
Open Source
Apache-2.0
2,017
angular-2-demo
HiteshNageshwarGit
TypeScript
Code
206
440
export interface IEmployee { code: string; name: string; gender: string; annualSalary: number; dateOfBirth: string; // To make a property optional use a ? // A class that implements this interface need // not provide implementation for this property //department?: string; //com...
44,957
https://github.com/taurindb/Aethera/blob/master/AetheraNode/node_modules/curlrequest/index.js
Github Open Source
Open Source
MIT
2,014
Aethera
taurindb
JavaScript
Code
1,216
3,299
var util = require('util') , fs = require('fs') , spawn = require('./spawn') , proxy = require('./proxy') , errors = require('./errors') , cwd = process.cwd(); /** * Make some curl opts friendlier. */ var curl_map = { timeout: 'max-time' , redirects: 'max-redirs' , method: 'request' , useragent:...
15,350
https://github.com/MineLittlePony/Mson/blob/master/src/main/java/com/minelittlepony/mson/api/Mson.java
Github Open Source
Open Source
MIT
2,022
Mson
MineLittlePony
Java
Code
202
440
package com.minelittlepony.mson.api; import net.minecraft.client.model.Model; import net.minecraft.util.Identifier; import com.minelittlepony.mson.api.json.JsonComponent; import com.minelittlepony.mson.impl.MsonImpl; /** * The main Mson class. * */ public interface Mson { /** * Gets the global Mson inst...
4,156
https://github.com/andreas221063/ChoiceSDK/blob/master/ChoiceSDK/choicesdk-maps/src/main/java/at/bluesource/choicesdk/maps/hms/HmsMapOptionsFactory.kt
Github Open Source
Open Source
Apache-2.0
2,021
ChoiceSDK
andreas221063
Kotlin
Code
18
71
package at.bluesource.choicesdk.maps.hms import at.bluesource.choicesdk.maps.common.MapOptions class HmsMapOptionsFactory : MapOptions.Factory { override fun create(): MapOptions { return HmsMapOptions() } }
17,434
https://github.com/judicapo/simetrik-test/blob/master/next-app/components/layout/footer/Footer.tsx
Github Open Source
Open Source
MIT
null
simetrik-test
judicapo
TypeScript
Code
29
72
import React from 'react'; import { Row, Column } from '../../grid'; export const FooterComponent = () => { return ( <footer> <Row> <Column size={1}> </Column> </Row> </footer> ); };
34,539
https://github.com/shukwong/gdsctools/blob/master/test/gdsctools/test_cosmictools.py
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,017
gdsctools
shukwong
Python
Code
45
222
from gdsctools.cosmictools import COSMICFetcher, COSMICInfo from gdsctools.datasets import cosmic_builder_test from nose.plugins.attrib import attr def test_cosmic_info(): c = COSMICInfo() assert c.get(930301, 'SAMPLE_NAME') == 'VMRC-MELG' def test_cosmic_fetcher(): c = COSMICFetcher(cosmic_builder_test....
20,806
https://github.com/SageFrame/SageFrame/blob/master/SageFrame.FileManager/Info/ATTFile.cs
Github Open Source
Open Source
MIT
2,015
SageFrame
SageFrame
C#
Code
469
1,186
#region "Copyright" /* FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER */ #endregion #region "References" using System; using System.Collections.Generic; using System.Linq; using System.Text; #endregion namespace SageFrame.FileManager { /// <summary> /// This class...
22,697
https://github.com/benhoneywill/hikerherd/blob/master/app/apps/auth/schemas/reset-password-schema.ts
Github Open Source
Open Source
Apache-2.0
2,022
hikerherd
benhoneywill
TypeScript
Code
38
113
import { z } from "zod"; import passwordSchema from "./password-schema"; const resetPasswordSchema = z .object({ password: passwordSchema, passwordConfirmation: passwordSchema, token: z.string(), }) .refine((data) => data.password === data.passwordConfirmation, { message: "Passwords don't match"...
29,208
https://github.com/fbaube/xmlutils/blob/master/namespaces.go
Github Open Source
Open Source
MIT
null
xmlutils
fbaube
Go
Code
625
1,323
package xmlutils // This file: About the "xml" namespace // TODO NS is specified, inherited, default. // NS is e.g. { "xml", "http://www.w3.org/XML/1998/namespace" } type NS struct { // Prefix is the shorthand version. Prefix string // URI is the full version. URI string } // One of these has to be filled in fo...
4,859
https://github.com/Jorch72/FossilsArcheologyRevival/blob/master/src/main/java/fossilsarcheology/server/entity/mob/EntityQuagga.java
Github Open Source
Open Source
CC-BY-4.0
null
FossilsArcheologyRevival
Jorch72
Java
Code
3,679
14,012
package fossilsarcheology.server.entity.mob; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.IEntityLivingData; import net.minecraft.e...
10,896
https://github.com/fisher2017/incubator-eagle/blob/master/eagle-core/eagle-alert/eagle-alert-notification-plugin/src/main/resources/notification-plugins-init.sh
Github Open Source
Open Source
Apache-2.0, MIT
2,016
incubator-eagle
fisher2017
Shell
Code
240
619
#!/bin/bash # 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"); yo...
51,238
https://github.com/tuanna1601/ap-frontend/blob/master/src/routes/Criteria/components/CriteriaList.js
Github Open Source
Open Source
MIT
null
ap-frontend
tuanna1601
JavaScript
Code
208
819
import React, { Component, PropTypes } from 'react'; import Reactable from 'reactable'; import * as _ from 'lodash'; import CriteriaFilter from './CriteriaFilterContainer'; const Table = Reactable.Table; const Thead = Reactable.Thead; const Th = Reactable.Th; const Tr = Reactable.Tr; const Td = Reactable.Td; class C...
14,648
https://github.com/morty-clobot/clober_free_fleet/blob/master/clober_ff_client_ros1/CMakeLists.txt
Github Open Source
Open Source
Apache-2.0
2,021
clober_free_fleet
morty-clobot
CMake
Code
31
144
cmake_minimum_required(VERSION 3.0.2) project(clober_ff_client_ros1) #=============================================================================== find_package(catkin QUIET) if (catkin_FOUND) catkin_package() install( DIRECTORY launch DESTINATION share/${PROJECT_NAME} ) install( DIRECTORY ...
35,312
https://github.com/huangwb8/luckyExperiment/blob/master/man/getDCA2.Rd
Github Open Source
Open Source
MIT
2,023
luckyExperiment
huangwb8
R
Code
348
997
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/clinic_getDCA2.R \name{getDCA2} \alias{getDCA2} \title{ggplot style for decision estimate analysis} \usage{ getDCA2( data, group.by = NULL, time.col = "time", status.col = "event", clusters, time.raw.type = c("Day", "Month", "Year...
32,835
https://github.com/sagivo/scanr/blob/master/app/helpers/middleware.js
Github Open Source
Open Source
Apache-2.0
null
scanr
sagivo
JavaScript
Code
16
42
module.exports = function alert(obj) { return function(req, res, next) { res.flash = req.flash; next(); } }
29,450
https://github.com/ludwig-cf/ludwig/blob/master/tests/unit/test_colloids.c
Github Open Source
Open Source
MIT
2,023
ludwig
ludwig-cf
C
Code
636
2,611
/***************************************************************************** * * test_colloids.c * * Colloid cell list et al. * * Edinburgh Soft Matter and Statistical Physics Group and * Edinburgh Parallel Computing Centre * * (c) 2010-2021 The University of Edinburgh * * Contributing authors: * K...
20,799
https://github.com/toto6038/MathJax-src/blob/master/ts/input/tex/mathtools/MathtoolsTags.ts
Github Open Source
Open Source
Apache-2.0
2,022
MathJax-src
toto6038
TypeScript
Code
483
1,065
/************************************************************* * Copyright (c) 2021-2021 MathJax Consortium * * 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.apac...
5,790