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/NCIP/ctms-commons/blob/master/acegi/acegi-csm/src/main/java/gov/nih/nci/cabig/ctms/acegi/csm/authorization/CSMUserAuthorizationCheck.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, BSD-3-Clause
2,013
ctms-commons
NCIP
Java
Code
106
362
/* * Copyright Northwestern University and SemanticBits, LLC * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/ctms-commons/LICENSE.txt for details. */ package gov.nih.nci.cabig.ctms.acegi.csm.authorization; import org.acegisecurity.Authentication; import org.slf4j.Logger;...
45,327
https://github.com/leoFHY/reactDemo/blob/master/src/pages/customer/detail/index.less
Github Open Source
Open Source
MIT
null
reactDemo
leoFHY
Less
Code
289
994
.box { .item { margin-bottom: 15px; .introduction { .box { max-height: 120px; overflow-y: scroll; } .avatar { .noPic { display: inline-block; width: 40px; height: 40px; border-radius: 100%; background: #...
4,110
https://github.com/accessibility-in-action/platform/blob/master/database/seeders/PaymentMethodSeeder.php
Github Open Source
Open Source
BSD-3-Clause
2,021
platform
accessibility-in-action
PHP
Code
50
151
<?php namespace Database\Seeders; use App\Models\PaymentMethod; use Illuminate\Database\Seeder; class PaymentMethodSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $methods = [ 'Cash', 'Cheque', ...
5,673
https://github.com/RubenCV/OpenRoonie/blob/master/web/blockly/blocks/openroonie/variables.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,016
OpenRoonie
RubenCV
JavaScript
Code
413
2,039
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * 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.apach...
21,811
https://github.com/WangxinsHub/couponSystem/blob/master/src/components/pageHeaderLayout/index.js
Github Open Source
Open Source
MIT
null
couponSystem
WangxinsHub
JavaScript
Code
66
276
import React from 'react'; import PageHeader from '@/components/pageHead/index'; import './index.less'; /** * @describe:[框架一共分左上中,这里是框架的中部分。中又分上中下,上可无,中是面包屑部分,下是用户操作部分] * @author : 雏田 * @time :2018-08-02 * @param {[type]} options.children [用户操作部分] * @param {[type]} options.wrapperClassName [自定义的样式]...
3,218
https://github.com/dmk99/react-pdf-table/blob/master/lib/Utils.js
Github Open Source
Open Source
MIT
2,022
react-pdf-table
dmk99
JavaScript
Code
114
283
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.transformToArray = exports.getDefaultBorderIncludes = void 0; function getDefaultBorderIncludes(border) { var _a, _b, _c, _d; return { includeBottomBorder: (_a = border.includeBottomBorder) !== null && _a !== void 0 ? _...
36,183
https://github.com/JetBrains/xodus-dnq/blob/master/dnq/src/main/kotlin/kotlinx/dnq/simple/XdWrappedProperty.kt
Github Open Source
Open Source
Apache-2.0
2,023
xodus-dnq
JetBrains
Kotlin
Code
185
467
/** * Copyright 2006 - 2023 JetBrains s.r.o. * * 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 applicable law or ...
39,259
https://github.com/open-telemetry/opentelemetry-swift/blob/master/Tests/InstrumentationTests/URLSessionTests/Utils/HttpTestServer.swift
Github Open Source
Open Source
Apache-2.0
2,023
opentelemetry-swift
open-telemetry
Swift
Code
401
1,222
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ import Foundation import NIO import NIOHTTP1 typealias GenericCallback = () -> () struct HttpTestServerConfig { var successCallback: GenericCallback? var errorCallback: GenericCallback? } internal class HttpTestServer { ...
21,341
https://github.com/Karaya-12/Compiler-Principles/blob/master/Assignment IV/Top-Down_Recursive_Descent_Parser/cmake-build-debug/CMakeFiles/Top_Down_Recursive_Descent_Parser.dir/cmake_clean.cmake
Github Open Source
Open Source
CECILL-B
2,021
Compiler-Principles
Karaya-12
CMake
Code
17
135
file(REMOVE_RECURSE "CMakeFiles/Top_Down_Recursive_Descent_Parser.dir/main.cpp.o" "Top_Down_Recursive_Descent_Parser.pdb" "Top_Down_Recursive_Descent_Parser" ) # Per-language clean rules from dependency scanning. foreach(lang CXX) include(CMakeFiles/Top_Down_Recursive_Descent_Parser.dir/cmake_clean_${lang}.cma...
22,244
https://github.com/Sarang1482/vftvk-Simple-Interest-Calculator/blob/master/script.js
Github Open Source
Open Source
Apache-2.0
null
vftvk-Simple-Interest-Calculator
Sarang1482
JavaScript
Code
103
332
window.addEventListener('load', (event) => { document.getElementById("show").style.display = "none"; }); // Function to compute interest function compute() { var p = document.getElementById("principal").value; var n = document.getElementById("years").value; var r= document.getElementById("rat...
35,225
https://github.com/lingoslinger/SwiftLibraries/blob/master/SwiftLibraries/Shared/Data Models/Location.swift
Github Open Source
Open Source
MIT
2,021
SwiftLibraries
lingoslinger
Swift
Code
92
253
// // Location.swift // SwiftLibraries // // Created by Allan Evans on 7/21/16. // Copyright © 2016 - 2021 Allan Evans. All rights reserved. import Foundation struct Location : Codable { let latitude : String? let longitude : String? let needsRecoding : Bool? enum CodingKeys: String, CodingKey { case latit...
30,172
https://github.com/luccas-specht/project-node-ignite-chapter-2/blob/master/src/modules/accounts/repositories/interfaces/index.ts
Github Open Source
Open Source
MIT
2,022
project-node-ignite-chapter-2
luccas-specht
TypeScript
Code
6
14
export { IUsersRepository } from './IUsersRepository'
20,352
https://github.com/Elkantor/SimpleRun/blob/master/Assets/Scripts/Utils/QuitGame.cs
Github Open Source
Open Source
MIT
2,018
SimpleRun
Elkantor
C#
Code
36
112
using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Button))] public class QuitGame : MonoBehaviour { private Button button; // Use this for initialization void Start () { button = this.GetComponent<Button>(); if(button) { button.onClick.AddListener(delegate (...
21,467
https://github.com/jkalloor3/bqskit/blob/master/tests/qis/unitary/test_unitarybuilder.py
Github Open Source
Open Source
BSD-3-Clause-LBNL
2,022
bqskit
jkalloor3
Python
Code
337
1,270
"""This module tests the UnitaryBuilder class in bqskit.qis.unitary.""" from __future__ import annotations from typing import Sequence import numpy as np import pytest from hypothesis import given from hypothesis.strategies import integers from bqskit.qis.unitary.unitarybuilder import UnitaryBuilder from bqskit.qis....
34,533
https://github.com/adityamangal410/nlp_with_pytorch/blob/master/notebooks/1.0-am-word-embeddings.ipynb
Github Open Source
Open Source
MIT
2,020
nlp_with_pytorch
adityamangal410
Jupyter Notebook
Code
134
607
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "glove_path = '/Users/amangal/Desktop/machine-learning/nlp_with_disaster_tweets/data/glove.twitter.27B/glove.twitter.27B.50d.txt'" ] }, { "cell_type": "code", "execution_count": nul...
35,939
https://github.com/spring-projects/spring-integration-dsl-scala/blob/master/spring-integration-dsl-scala-gemfire/src/main/scala/org/springframework/integration/dsl/GemfireDsl.scala
Github Open Source
Open Source
Apache-2.0
2,021
spring-integration-dsl-scala
spring-projects
Scala
Code
286
699
/* * Copyright 2002-2012 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...
26,721
https://github.com/i10/3DTrackingViaKinect/blob/master/build/simtrack/interface/CMakeFiles/cmd_line_render.dir/cmake_clean.cmake
Github Open Source
Open Source
BSD-3-Clause
2,021
3DTrackingViaKinect
i10
CMake
Code
17
151
file(REMOVE_RECURSE "CMakeFiles/cmd_line_render.dir/src/cmd_line_render.cpp.o" "/home/shams3049/catkin_ws/devel/lib/interface/cmd_line_render.pdb" "/home/shams3049/catkin_ws/devel/lib/interface/cmd_line_render" ) # Per-language clean rules from dependency scanning. foreach(lang CXX) include(CMakeFiles/cmd_line...
45,500
https://github.com/omkar-falke/LoanProcessService/blob/master/JFLoanProjectUI/src/app/modules/account-head/account-headdashboard/account-headdashboard.component.ts
Github Open Source
Open Source
MIT
2,019
LoanProcessService
omkar-falke
TypeScript
Code
28
104
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-account-headdashboard', templateUrl: './account-headdashboard.component.html', styleUrls: ['./account-headdashboard.component.scss'] }) export class AccountHeaddashboardComponent implements OnInit { constructor() { } ngOnInit() ...
19,718
https://github.com/gbraad/openshift-origin/blob/master/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/contrib/cmd/user-broker/user-broker.go
Github Open Source
Open Source
Apache-2.0
2,019
openshift-origin
gbraad
Go
Code
245
688
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
4,632
https://github.com/agentx-cgn/spherov2.py/blob/master/spherov2/adapter/tcp_consts.py
Github Open Source
Open Source
MIT
2,021
spherov2.py
agentx-cgn
Python
Code
34
106
from enum import Enum class RequestOp(bytes, Enum): SCAN = b'\x00' INIT = b'\x01' SET_CALLBACK = b'\x02' WRITE = b'\x03' END = b'\xff' class ResponseOp(bytes, Enum): OK = b'\x00' ON_DATA = b'\x01' ERROR = b'\xff'
16,095
https://github.com/miha42-github/edgar_svc/blob/master/edgar_svc/app/apputils.py
Github Open Source
Open Source
Apache-2.0
2,021
edgar_svc
miha42-github
Python
Code
1,407
4,060
""" Copyright 2021 mediumroast.io. All rights reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
34,735
https://github.com/microservices-summit-2016/resilience-demo/blob/master/costcenter-service/src/main/resources/import.sql
Github Open Source
Open Source
Apache-2.0
2,016
resilience-demo
microservices-summit-2016
SQL
Code
30
70
INSERT INTO cost_center (id, name, number) VALUES (1, 'CC1', 1001); INSERT INTO cost_center (id, name, number) VALUES (2, 'CC2', 1002); INSERT INTO cost_center (id, name, number) VALUES (3, 'CC3', 1003);
16,020
https://github.com/vlehtola/questmud/blob/master/lib/wizards/walla/area2/stuph/geta.c
Github Open Source
Open Source
MIT
null
questmud
vlehtola
C
Code
35
154
inherit "obj/armour"; start() { set_class(6); set_slot("feet"); set_name("shoes"); set_alias("geta"); set_short("High heeled geta shoes of dexterity"); set_long("These geta have been hand-crafted, and seem to fit your foot like a glove"); set_value(5000); set_stats("dex",5); set_stats("w...
48,704
https://github.com/Jyrsa/mrjob/blob/master/tests/inline_test.py
Github Open Source
Open Source
Apache-2.0
2,015
mrjob
Jyrsa
Python
Code
267
893
# Copyright 2011 Matthew Tai # # 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, soft...
7,637
https://github.com/monzilur/cochlear_models/blob/master/neural-representations-of-speech-v1.1/Scripts/Auditory Nerve Model/loadparams_GP_LSR.m
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,022
cochlear_models
monzilur
MATLAB
Code
233
1,275
function loadparams_GP_LSR(BF) params.BFlist=BF; %% OME filter params.OME.filters(1).order=2; params.OME.filters(1).locut=4000; params.OME.filters(1).hicut=25000; params.OME.filters(2).order=2; params.OME.filters(2).locut=300; params.OME.filters(2).hicut=25000; params.OME.gain=1.4e-10; % Stapes scalar %% DRNL filte...
15,166
https://github.com/jyrkioraskari/IFCtoLBD/blob/master/IFCtoLBD/src/main/resources/pset/Pset_ManufacturerTypeInformation.ttl
Github Open Source
Open Source
Apache-2.0
2,023
IFCtoLBD
jyrkioraskari
Turtle
Code
777
3,001
@prefix : <https://www.linkedbuildingdata.net/IFC4-PSD/Pset_ManufacturerTypeInformation#> . @prefix IFC4-PSD: <https://www.linkedbuildingdata.net/IFC4-PSD#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/r...
4,532
https://github.com/ant-druha/AppleScript-IDEA/blob/master/src/main/gen/com/intellij/plugin/applescript/psi/impl/AppleScriptHandlerLabeledParametersCallExpressionImpl.java
Github Open Source
Open Source
Apache-2.0
2,021
AppleScript-IDEA
ant-druha
Java
Code
96
445
// This is a generated file. Not intended for manual editing. package com.intellij.plugin.applescript.psi.impl; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElementVisitor; import com.intellij.psi.util.PsiTre...
37,655
https://github.com/percussion/percussioncms/blob/master/deliverytiersuite/delivery-tier-suite/forms/src/main/java/com/percussion/delivery/forms/impl/PSRecaptchaService.java
Github Open Source
Open Source
LicenseRef-scancode-dco-1.1, Apache-2.0, OFL-1.1, LGPL-2.0-or-later
2,023
percussioncms
percussion
Java
Code
517
1,581
/* * Copyright 1999-2023 Percussion Software, 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 applicabl...
23,290
https://github.com/chqu1012/JRegis/blob/master/de.dc.spring.fx.ui.jregis.metro.ui/src/main/java/de/dc/spring/fx/ui/jregis/metro/ui/document/model/DocumentAttachmentStatus.java
Github Open Source
Open Source
Apache-2.0
null
JRegis
chqu1012
Java
Code
27
104
package de.dc.spring.fx.ui.jregis.metro.ui.document.model; public enum DocumentAttachmentStatus { ADD(0), DELETE(1); private long statusValue; private DocumentAttachmentStatus(long statusValue) { this.statusValue = statusValue; } public long getStatusValue() { return statusValue; } }
29,965
https://github.com/demoneaux/node-desktop-quickstart/blob/master/nw/browser.js
Github Open Source
Open Source
MIT
2,017
node-desktop-quickstart
demoneaux
JavaScript
Code
52
129
// This file is called by `index.html` and will be executed // in the NW.js browser context for that window. console.log('nw/browser.js: Executing in the NW.js browser context.'); // Display DevTools. (The SDK flavour of NW.js is required.) nw.Window.get().showDevTools(); let versions = process.versions; let text = ...
37,449
https://github.com/ghiggi/gpm_api/blob/master/gpm_api/checks.py
Github Open Source
Open Source
MIT
2,023
gpm_api
ghiggi
Python
Code
1,031
3,564
#!/usr/bin/env python3 """ Created on Thu Jul 13 14:32:40 2023 @author: ghiggi """ import numpy as np import xarray as xr from gpm_api.dataset.dimensions import ( FREQUENCY_DIMS, GRID_SPATIAL_DIMS, ORBIT_SPATIAL_DIMS, SPATIAL_DIMS, VERTICAL_DIMS, ) # Refactor Notes # - GRID_SPATIAL_DIMS, ORBIT_SP...
43,612
https://github.com/gordonwatts/RasFlic/blob/master/.gitmodules
Github Open Source
Open Source
Apache-2.0
2,019
RasFlic
gordonwatts
Git Config
Code
8
58
[submodule "externals/fliclib-linux-hci"] path = externals/fliclib-linux-hci url = https://github.com/50ButtonsEach/fliclib-linux-hci.git
42,680
https://github.com/AvalancheRobotics/Avalanche-X/blob/master/v2/src/main/java/org/usfirst/ftc/avalancherobotics/v2/modules/BasicDrive.java
Github Open Source
Open Source
BSD-3-Clause, MIT
2,016
Avalanche-X
AvalancheRobotics
Java
Code
335
1,205
package org.usfirst.ftc.avalancherobotics.v2.modules; /** * Created by austinzhang on 6/3/16. */ import com.qualcomm.robotcore.hardware.DcMotor; import com.qualcomm.robotcore.hardware.DcMotorController; import org.swerverobotics.library.SynchronousOpMode; import org.swerverobotics.library.interfaces.TeleOp; /** ...
24,524
https://github.com/WangYang-Rex/rc-init/blob/master/src/templates/proj/src/pages/demo/store.js
Github Open Source
Open Source
MIT
null
rc-init
WangYang-Rex
JavaScript
Code
67
237
const Actions = require('./actions'); const DB = require('../../app/db'); module.exports = Reflux.createStore({ listenables: [Actions], data: { loaded: false, content: {}, error: false }, onFetch: function(params, cb) { var t = this; DB.SomeModuleAPI.getSomeInf...
39,534
https://github.com/jrmtesoro/thornsandspines/blob/master/database/seeds/DatabaseSeeder.php
Github Open Source
Open Source
MIT
null
thornsandspines
jrmtesoro
PHP
Code
92
321
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // $this->call(UsersTableSeeder::class); DB::table('users')->insert([ 'email' => 'test', ...
26,831
https://github.com/dalsat/ShoreLine-Web/blob/master/start.st
Github Open Source
Open Source
MIT
2,016
ShoreLine-Web
dalsat
null
Spoken
19
50
" Start all the long running tasks here. " FileStream stdout cr; nextPutAll: 'Launching Hello-Pharo'; cr. "ShoreLineWeb startOn: 8080"
4,393
https://github.com/nickyrucker1979/SocialMarketing/blob/master/Old/hs_contact_forms.py
Github Open Source
Open Source
MIT
null
SocialMarketing
nickyrucker1979
Python
Code
201
799
import requests import config import json import time import sys import pandas as pd import exasol as e import datetime reload(sys); sys.setdefaultencoding("utf8") apikey = config.apikey exaconnect = e.connect( dsn=config.dsn, DRIVER=config.DRIVER, EXAHOST=config.EXAHOST, ...
42,832
https://github.com/nochtavio/storefrontcms/blob/master/application/views/customer/index.php
Github Open Source
Open Source
MIT
null
storefrontcms
nochtavio
PHP
Code
456
2,260
<div class="row" style="margin-bottom:5px;"> <div class="col-xs-12"> <div id="main_panel" class="panel"> <header class="panel-heading"> Customer </header> <div class="panel-body table-responsive"> <div class="box-tools m-b-15"> <div class="input-group"> <inp...
47,618
https://github.com/tvdias/meotv/blob/master/src/smali/com/alticelabs/meo/androidtv/data/remote/tvservices/interfaces/SdbApiInterface$DefaultImpls.smali
Github Open Source
Open Source
MIT
2,020
meotv
tvdias
Smali
Code
116
579
.class public final Lcom/alticelabs/meo/androidtv/data/remote/tvservices/interfaces/SdbApiInterface$DefaultImpls; .super Ljava/lang/Object; .source "SdbApiInterface.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/alticelabs/meo/androidtv/data/remote/tvservices/interfaces/SdbAp...
17,282
https://github.com/ktmud/react-syntax-highlighter/blob/master/languages/hljs/apache.js
Github Open Source
Open Source
MIT
2,020
react-syntax-highlighter
ktmud
JavaScript
Code
34
104
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _apache = require("highlight.js/lib/languages/apache"); var _apache2 = _interopRequireDefault(_apache); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = _apache2.defau...
22,226
https://github.com/tes/kubernaut/blob/master/server/test/factories/index.js
Github Open Source
Open Source
MIT
null
kubernaut
tes
JavaScript
Code
698
2,472
import Chance from 'chance'; import { v4 as uuid } from 'uuid'; import { get } from 'lodash'; import fs from 'fs'; import path from 'path'; import highwayhash from 'highwayhash'; import crypto from 'crypto'; import pm from 'power-merge'; import hogan from 'hogan.js'; import { loadAll as yaml2json } from 'js-yaml'; impo...
37,730
https://github.com/movermeyer/mri-tools/blob/master/mri_tools/scanner_settings/parsers/common.py
Github Open Source
Open Source
BSD-3-Clause
null
mri-tools
movermeyer
Python
Code
106
230
__author__ = 'Robbert Harms' __date__ = "2015-05-04" __maintainer__ = "Robbert Harms" __email__ = "robbert.harms@maastrichtuniversity.nl" class ScannerSettingsParser(object): def get_value(self, key): """Read a value for a given key for all sessions in settings file. The settings file is suppose...
24,695
https://github.com/curiousbasil/statscalc1/blob/master/Calculator/Addition.py
Github Open Source
Open Source
MIT
2,019
statscalc1
curiousbasil
Python
Code
50
152
def addition(a, b): a = float(a) b = float(b) c = a + b return c def stats_addition(val1, val2, val3, val4, val5, val6, val7, val8, val9, val10): try: values = [val1, val2, val3, val4, val5, val6, val7, val8, val9, val10] values_sum = sum(values) return values_sum excep...
20,918
https://github.com/l0y/smallerc/blob/master/ch09/temp_display/temp_display.ino
Github Open Source
Open Source
CC0-1.0
2,021
smallerc
l0y
null
Spoken
239
581
// TMP36 is a 10-bit (0 - 1023) analog sensor // 10mV / C with 500mV offset for temps below 0 // Our 4-digit display uses a TM1637 chip and I2C #include <TM1637Display.h> // Name our pins #define TMP36_PIN 0 #define CLK 2 #define DIO 3 #define BUTTON 8 // Create our 4-segment display object TM1637Displ...
3,146
https://github.com/navarroaxel/VentaElectrodomesticos/blob/master/VentaElectrodomesticosCore/Repositories/Implementations/ProductosRepository.cs
Github Open Source
Open Source
MIT
2,014
VentaElectrodomesticos
navarroaxel
C#
Code
323
1,291
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VentaElectrodomesticos.Core.Model.Entities; namespace VentaElectrodomesticos.Core.Repositories.Implementations { /// <summary> /// Representa un repositorio de la entidad Producto. /// </summary> sealed class P...
30,174
https://github.com/LongForWisdom/makerdao-status/blob/master/src/services/loadData/useLoadERC20Contract.ts
Github Open Source
Open Source
MIT
null
makerdao-status
LongForWisdom
TypeScript
Code
681
2,770
/* eslint-disable @typescript-eslint/no-explicit-any */ import { ethers } from 'ethers'; import { useEffect, useMemo, useState } from 'react'; import { useChangelogContext } from '../../context/ChangelogContext'; import additionalAddresses from '../addresses/AdditionalAddresses'; import { getCollateralsPipsAddress, ...
49,311
https://github.com/dongcidongci/BaiSi/blob/master/BUDEJIE19/BUDEJIE19/Classes/FriendTrend(关注)/View/categoryView/CHLeftCell.m
Github Open Source
Open Source
Apache-2.0
2,016
BaiSi
dongcidongci
Objective-C
Code
86
345
// // CHLeftCell.m // BUDEJIE19 // // Created by moxuyou on 16/10/31. // Copyright © 2016年 moxuyou. All rights reserved. // #import "CHLeftCell.h" @interface CHLeftCell () @property (weak, nonatomic) IBOutlet UIView *redView; @property (weak, nonatomic) IBOutlet UILabel *categoryLabel; @end @implementation CHLef...
39,025
https://github.com/g1144146/sds_for_scala/blob/master/src/main/scala/sds/classfile/attribute/LocalVariable.scala
Github Open Source
Open Source
Apache-2.0
null
sds_for_scala
g1144146
Scala
Code
129
336
package sds.classfile.attribute import sds.classfile.{ClassfileStream => Stream} import sds.classfile.constant_pool.{ConstantInfo => CInfo} import sds.util.DescriptorParser.parse class LocalVariable(data: Stream, pool: Array[CInfo], private val name: String) extends AttributeInfo { private var table: Array[Array[...
34,562
https://github.com/omar96i/pc-cam-v2/blob/master/resources/views/accesorios/index.blade.php
Github Open Source
Open Source
MIT
null
pc-cam-v2
omar96i
PHP
Code
67
284
@extends('layouts.app') @section('title', 'Accesorios') @section('content') <div class="col-12 text-center my-3"> <h1 class="fuente"><strong>ACCESORIOS</strong></h1> </div> <div class="col-12 row px-4 justify-content-center"> <div class="card col-8 my-3 mr-4 shadow"> <img src="/...
6,440
https://github.com/yijian2033/MyLuncher/blob/master/device3x/src/main/java/com/ljw/device3x/statusbar/StatusBarGPRSStateView.java
Github Open Source
Open Source
Apache-2.0
2,017
MyLuncher
yijian2033
Java
Code
705
2,856
package com.ljw.device3x.statusbar; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Message; import android.telephony.PhoneStateListener; import android.telephony.SignalStrength; import android.telephony.Tel...
38,903
https://github.com/lincenying/mmf-blog-vue2/blob/master/src/utils/index.js
Github Open Source
Open Source
MIT
2,023
mmf-blog-vue2
lincenying
JavaScript
Code
229
521
import Vue from 'vue' import ls from 'store2' import toastr from 'toastr' import get from 'lodash.get' toastr.options.positionClass = 'toast-top-center' export const inBrowser = typeof window !== 'undefined' export const ua = () => { const userAgentInfo = inBrowser ? navigator.userAgent : '' const Agents = [...
37,569
https://github.com/orta/Core-Data-Editor/blob/master/Core Data Editor/Core Data Editor/CDECodeGeneratorAccessoryViewController.m
Github Open Source
Open Source
BSD-3-Clause
2,016
Core-Data-Editor
orta
Objective-C
Code
45
192
#import "CDECodeGeneratorAccessoryViewController.h" @interface CDECodeGeneratorAccessoryViewController () @end @implementation CDECodeGeneratorAccessoryViewController #pragma mark Creating an Instance - (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { self = [super init...
18,890
https://github.com/MansurAshraf/tormenta/blob/master/tormenta-avro/src/test/scala/com/twitter/tormenta/scheme/avro/SpecificAvroSchemeLaws.scala
Github Open Source
Open Source
Apache-2.0
null
tormenta
MansurAshraf
Scala
Code
384
1,214
/* * Copyright 2013 Twitter 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 l...
36,244
https://github.com/miketout/neon/blob/master/tests/test_global_deltas.py
Github Open Source
Open Source
Apache-2.0
2,018
neon
miketout
Python
Code
1,426
5,812
# ---------------------------------------------------------------------------- # Copyright 2015-2016 Nervana Systems 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.apa...
27,170
https://github.com/codeburnerframework/router/blob/master/src/Exceptions/Http/PaymentRequiredException.php
Github Open Source
Open Source
MIT
2,016
router
codeburnerframework
PHP
Code
47
150
<?php /** * Codeburner Framework. * * @author Alex Rohleder <contato@alexrohleder.com.br> * @copyright 2016 Alex Rohleder * @license http://opensource.org/licenses/MIT */ namespace Codeburner\Router\Exceptions\Http; /** * PaymentRequiredException * * @author Alex Rohleder <contato@alexrohleder.com.br> */ ...
15,548
https://github.com/icestudent/ontl/blob/master/ntl/stlx/cstd/string.h
Github Open Source
Open Source
Zlib, LicenseRef-scancode-stlport-4.5
2,022
ontl
icestudent
C++
Code
48
188
#pragma once #include "../cstring.hxx" using std::memchr; using std::strcat; using std::strcspn; using std::strncpy; using std::strtok; using std::memcmp; using std::strchr; //using std::strerror; using std::strpbrk; using std::strxfrm; using std::memcpy; using std::strcmp; using std::strlen; using std::strrchr; u...
32,625
https://github.com/gyfora/cloudbreak/blob/master/environment/src/test/java/com/sequenceiq/environment/environment/v1/converter/NetworkDtoToResponseConverterTest.java
Github Open Source
Open Source
Apache-2.0
null
cloudbreak
gyfora
Java
Code
286
2,015
package com.sequenceiq.environment.environment.v1.converter; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.wh...
8,606
https://github.com/Saeed1989/react-graphql-boilerplate/blob/master/src/App.js
Github Open Source
Open Source
MIT
null
react-graphql-boilerplate
Saeed1989
JavaScript
Code
156
476
import React , { useCallback, useEffect, useState } from 'react'; import { Route, BrowserRouter as Router, Routes, Redirect } from 'react-router-dom'; import { ApolloClient, ApolloProvider, NormalizedCacheObject, useQuery, } from '@apollo/client'; import WriterListContainer from './pages/WriterListContainer/Wri...
17,465
https://github.com/chaseMo/rds-js-examples/blob/master/src/shared/plotly/chart.util.ts
Github Open Source
Open Source
Apache-2.0
2,020
rds-js-examples
chaseMo
TypeScript
Code
182
378
/** * A simple type to satisfy the typescript linter. * * Plotly has difficulty working with some bundlers. * We have added <script src="https://cdn.plot.ly/plotly-latest.min.js"></script> * to load it from a cdn and use it as a umd global. */ declare const Plotly: { newPlot(element: Element, traces: any[]): vo...
11,725
https://github.com/sanj0/salty-engine/blob/master/src/main/java/de/edgelord/saltyengine/components/gfx/scene/SceneOverlay.java
Github Open Source
Open Source
Apache-2.0
2,021
salty-engine
sanj0
Java
Code
408
1,081
/* * Copyright 2018 Malte Dostal * * 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 ...
36,698
https://github.com/mbprend/RMG-Py/blob/master/rmgpy/rmg/model.py
Github Open Source
Open Source
MIT
null
RMG-Py
mbprend
Python
Code
8,724
24,515
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # # # RMG - Reaction Mechanism Generator # # ...
49,458
https://github.com/n-wbrown/archiverappliance-datasource/blob/master/src/components/Functions.tsx
Github Open Source
Open Source
MIT
2,022
archiverappliance-datasource
n-wbrown
TypeScript
Code
345
1,080
import React from 'react'; import { InlineFormLabel } from '@grafana/ui'; import { createFuncDescriptor } from '../aafunc'; import { FuncDef, FunctionDescriptor } from '../types'; import { FunctionElem } from './FunctionElem'; import { FunctionAdd } from './FunctionAdd'; export interface FunctionsProps { funcs: Fun...
40,002
https://github.com/vorburger/uwazi/blob/master/app/api/csv/specs/typeParsers.spec.js
Github Open Source
Open Source
MIT
null
uwazi
vorburger
JavaScript
Code
267
834
import moment from 'moment'; import db from 'api/utils/testing_db'; import fixtures from './fixtures'; import typeParsers from '../typeParsers'; describe('csvLoader typeParsers', () => { beforeEach(async () => db.clearAllAndLoad(fixtures)); afterAll(async () => db.disconnect()); describe('default', () => { ...
31,622
https://github.com/magicnumbers/babylogger/blob/master/babylogger.go
Github Open Source
Open Source
MIT
2,019
babylogger
magicnumbers
Go
Code
658
1,876
// Package babylogger is a simple HTTP logging middleware. It works with any // multiplexer compatible with the Go standard library. // // When a terminal is present it will log using nice colors. When the output is // not in a terminal (for example in logs) ANSI escape sequences (read: colors) // will be stripped from...
30,729
https://github.com/Sunflowerjing/anu/blob/master/packages/cli/tasks/chaikaMergeTask/mergeFiles.js
Github Open Source
Open Source
ECL-2.0, Apache-2.0
null
anu
Sunflowerjing
JavaScript
Code
1,084
3,938
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const fs = require('fs-extra'); const path = require('path'); const chalk = require('chalk'); const cwd = process.cwd(); const merge = require('lodash.mergewith'); const shelljs = require('shelljs'); const mergeDir = path.join(cwd, '.CACHE/nan...
42,545
https://github.com/dplbsd/soc2013/blob/master/head/share/man/man4/acpi_asus.4
Github Open Source
Open Source
BSD-2-Clause
null
soc2013
dplbsd
null
Spoken
652
1,414
.\" .\" Copyright (c) 2004 Philip Paeps <philip@FreeBSD.org> .\" 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 of source code must retain the above copyright .\" ...
49,970
https://github.com/WangHL0927/grafana/blob/master/public/app/plugins/panel/graph/graph_tooltip.d.ts
Github Open Source
Open Source
Apache-2.0
2,020
grafana
WangHL0927
TypeScript
Code
7
17
declare var GraphTooltip: any; export default GraphTooltip;
12,286
https://github.com/seanc/charlotte/blob/master/lib/manager.js
Github Open Source
Open Source
MIT
2,016
charlotte
seanc
JavaScript
Code
35
111
const Manager = require('discord.js').ShardingManager const config = require('rc')('charlotte', {}) const manager = new Manager('./lib/start.js', { totalShards: 'auto', token: config.token }) const zt = require('zt') manager.on('launch', shard => { zt.log(`Shard ${shard.id} started`) }) module.exports = manager...
53,740
https://github.com/ieBoytsov/my_project/blob/master/src/core/object_detection/detect.py
Github Open Source
Open Source
Apache-2.0
null
my_project
ieBoytsov
Python
Code
519
1,716
# -*- coding: utf-8 -*- """ Source https://github.com/packyan/PyTorch-YOLOv3-kitti """ from __future__ import division import datetime import os import random import time import matplotlib.patches as patches import matplotlib.pyplot as plt import numpy as np import torch from matplotlib.ticker import NullLocator...
28,216
https://github.com/ParsaHejabi/PHP-SMSSender/blob/master/src/Entity/Log.php
Github Open Source
Open Source
MIT
null
PHP-SMSSender
ParsaHejabi
PHP
Code
233
830
<?php namespace App\Entity; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass="App\Repository\LogRepository") */ class Log implements \JsonSerializable { /** * @ORM\Id() * @ORM\GeneratedValue() * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(ty...
16,786
https://github.com/bemol38/iot-hub-device-update/blob/master/cmake/agentRules.cmake
Github Open Source
Open Source
MIT
null
iot-hub-device-update
bemol38
CMake
Code
160
652
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. macro (compileAsC99) if (CMAKE_VERSION VERSION_LESS "3.1") if (CMAKE_C_COMPILER_ID STREQUAL "GNU") set (CMAKE_C_FLAGS "--std=c99 ${CMAKE_C_FLAGS}") if (CXX_FLAG_CXX11) set (CMAKE_CXX_FLAGS "--st...
46,254
https://github.com/JacobShirley95/moonshine-madness/blob/master/src/composite-game-object.js
Github Open Source
Open Source
Apache-2.0
null
moonshine-madness
JacobShirley95
JavaScript
Code
103
361
import GameObjectContainer from "./game-object-container.js"; export default class CompositeGameObject extends GameObjectContainer { constructor(composite, layer = 0, ...gameObjects) { super(layer, ...gameObjects); this.composite = composite; } position() { let bounds = Matter.Comp...
23,732
https://github.com/Tellisense/typescript-eslint/blob/master/packages/eslint-plugin-typescript/lib/rules/no-object-literal-type-assertion.js
Github Open Source
Open Source
BSD-2-Clause, MIT
2,019
typescript-eslint
Tellisense
JavaScript
Code
155
445
/** * @fileoverview Forbids an object literal to appear in a type assertion expression * @author Armano <https://github.com/armano2> */ 'use strict'; const util = require('../util'); //------------------------------------------------------------------------------ // Rule Definition //------------------------------...
11,396
https://github.com/datacite/lita-docker-hub/blob/master/lib/lita/handlers/docker_hub.rb
Github Open Source
Open Source
MIT
2,016
lita-docker-hub
datacite
Ruby
Code
157
672
module Lita module Handlers class DockerHub < Handler config :room, type: String, default: "general" http.post "/docker-hub/receive", :receive def receive(request, response) response.headers["Content-Type"] = "application/json" body = parse(request.body.read) repo_name...
50,027
https://github.com/magma/magma/blob/master/lte/gateway/c/core/oai/common/common_utility_funs.cpp
Github Open Source
Open Source
BSD-3-Clause
2,023
magma
magma
C++
Code
520
1,942
/* Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR...
48,083
https://github.com/desihub/fiberassign/blob/master/bin/desi_fa_smallrun
Github Open Source
Open Source
2,023
fiberassign
desihub
Python
Code
4,899
18,351
#!/usr/bin/env python import os import sys from glob import glob import numpy as np import astropy.io.fits as fits from astropy.table import Table, vstack from astropy import units from astropy.coordinates import SkyCoord import fitsio from datetime import datetime, timezone from time import time # AR desitarget impo...
41,816
https://github.com/chipbuster/skull-atlas/blob/master/dicom2rawiv/zipextract/gdcm-2.6.3/Utilities/VTK/Testing/Cxx/TestvtkGDCMImageViewer.cxx
Github Open Source
Open Source
BSD-3-Clause
2,022
skull-atlas
chipbuster
C++
Code
178
618
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
52,824
https://github.com/bartoszcisek/cattle/blob/master/modules/caas/backend/src/main/java/io/cattle/platform/lifecycle/VolumeLifecycleManager.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,017
cattle
bartoszcisek
Java
Code
38
197
package io.cattle.platform.lifecycle; import io.cattle.platform.core.constants.CommonStatesConstants; import io.cattle.platform.core.model.Instance; import io.cattle.platform.lifecycle.util.LifecycleException; import java.util.Arrays; import java.util.List; public interface VolumeLifecycleManager { List<Object>...
48,146
https://github.com/aliyun/alibabacloud-php-sdk/blob/master/hitsdb-20200615/src/Models/GetLindormInstanceEngineListResponseBody/engineList/netInfoList.php
Github Open Source
Open Source
Apache-2.0
2,023
alibabacloud-php-sdk
aliyun
PHP
Code
184
619
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\Hitsdb\V20200615\Models\GetLindormInstanceEngineListResponseBody\engineList; use AlibabaCloud\Tea\Model; class netInfoList extends Model { /** * @example 1 * * @var int */ public $accessType; /**...
26,915
https://github.com/ScalablyTyped/Distribution/blob/master/c/ckeditor/src/main/scala/typings/ckeditor/global/CKEDITOR/env.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
268
1,325
package typings.ckeditor.global.CKEDITOR import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} object env { @JSGlobal("CKEDITOR.env") @js.native val ^ : js.Any = js.native @JSGlobal("CKEDITOR.env....
29,446
https://github.com/Ferie/iTunes-Angular-9-search-app/blob/master/src/app/services/search.service.ts
Github Open Source
Open Source
MIT
null
iTunes-Angular-9-search-app
Ferie
TypeScript
Code
172
445
import { Injectable } from '@angular/core'; import { HttpClient, HttpErrorResponse } from '@angular/common/http'; import { Observable, throwError } from 'rxjs'; import { catchError, retry } from 'rxjs/operators'; import { environment } from 'src/environments/environment'; import { ITunesSearchResults } from '../interfa...
40,540
https://github.com/devesion/java-obd-adapter/blob/master/adapter/src/test/java/com/devesion/commons/obd/adapter/command/diagnostic/sensors/MassAirFlowCommandTest.java
Github Open Source
Open Source
Apache-2.0
2,021
java-obd-adapter
devesion
Java
Code
56
289
package com.devesion.commons.obd.adapter.command.diagnostic.sensors; import com.devesion.commons.obd.adapter.command.diagnostic.sensors.units.UnitFactory; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import static org.mockito.MockitoAnnotations.initMocks; public class MassAirFlowCo...
31,476
https://github.com/cr88192/bgbtech_engine/blob/master/bscc/bgbcc2/frbc2c_ij/fricore/FrFunction.java
Github Open Source
Open Source
MIT
2,019
bgbtech_engine
cr88192
Java
Code
314
1,810
package fricore; /** Bytecoded Function */ public class FrFunction extends FrGlobal { public FrFunction(FrVMImage img, FrBytePointer func, int szFunc) { FrBytePointer ip, ipe; int tag; int i, j, k; this.img=img; ip=func; ipe=func.add(szFunc); while(ip.lt(ipe)) { i=ip.getub_npp(); switch(i...
53,497
https://github.com/wtzju/hawkcd/blob/master/Server/ui/src/app/application/services/auth.data.js
Github Open Source
Open Source
Apache-2.0
2,017
hawkcd
wtzju
JavaScript
Code
300
849
/* Copyright (C) 2016 R&D Solutions Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
52,529
https://github.com/PratikC22/Fundoo/blob/master/src/components/navigationBar/navigationBar.scss
Github Open Source
Open Source
MIT
null
Fundoo
PratikC22
SCSS
Code
196
679
.navbar-container { display: flex; width: 100vw; height: 10vh; // border: 2px solid brown; border-bottom: 3px solid #f1f3f4; padding: 10px 20px; justify-content: space-between; align-items: center; background-color: white; } .navbar-sec1 { // border: 1px solid red; height: 100%; width: 12%; display: flex;...
34,084
https://github.com/jeroenbellen/todo-app/blob/master/project/plugins.sbt
Github Open Source
Open Source
Apache-2.0
null
todo-app
jeroenbellen
Scala
Code
14
66
// The Play plugin addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.10") addSbtPlugin("com.lightbend.conductr" % "sbt-conductr" % "2.1.17")
37,909
https://github.com/FinanceChainFoundation/FinChain-UI/blob/master/app/components/Help.jsx
Github Open Source
Open Source
MIT
2,021
FinChain-UI
FinanceChainFoundation
JavaScript
Code
61
208
import React from "react"; import HelpContent from "./Utility/HelpContent"; import {pairs} from "lodash"; class Help extends React.Component { render() { let path = pairs(this.props.params).map(p => p[1]).join("/"); return ( <div className="grid-block page-layout"> <div...
22,695
https://github.com/kmbegalk/google-ipmi-sys/blob/master/commands.hpp
Github Open Source
Open Source
Apache-2.0
2,021
google-ipmi-sys
kmbegalk
C++
Code
119
261
#pragma once namespace google { namespace ipmi { enum SysOEMCommands { // The Sys cable check command. SysCableCheck = 0, // The Sys cpld version over ipmi command. SysCpldVersion = 1, // The Sys get eth device command. SysGetEthDevice = 2, // The Sys psu hard reset command. SysPsuHard...
48,956
https://github.com/kristw/election-live/blob/master/src/components/LoadingError.js
Github Open Source
Open Source
MIT
null
election-live
kristw
JavaScript
Code
29
133
import React from "react" import UndesirableState from "./UndesirableState" export default function LoadingError() { return ( <UndesirableState heading={ <span> มีข้อผิดผลาด <br /> ในการโหลดข้อมูล </span> } > ลองโหลดหน้านี้อีกครัั้ง </Undesi...
4,621
https://github.com/maxiaofang-nnn/Flowers/blob/master/src/com/flower/admin/CustomerHelper.java
Github Open Source
Open Source
Apache-2.0
2,017
Flowers
maxiaofang-nnn
Java
Code
299
1,356
package com.flower.admin; import java.io.PrintWriter; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.guyou.web.server.AbstractHttpHelper; import org.guyou.web.server.HibernateSessionFactory; import org.guy...
6,508
https://github.com/trinhanhngoc/intellij-community/blob/master/plugins/kotlin/idea/tests/testData/navigation/gotoClass/inClassObject.kt
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
intellij-community
trinhanhngoc
Kotlin
Code
45
159
package test class InClassObject { companion object { class ClassObjectClass {} interface ClassObjectTrait {} interface ClassObjectTraitWithImpl { fun foo() {} } object ClassObjectObject() {} } } // SEARCH_TEXT: ClassObject // REF: (in test.InClassObject....
23,008
https://github.com/metux/chromium-suckless/blob/master/third_party/polymer/v1_0/components-chromium/iron-icons/compiled_resources2.gyp
Github Open Source
Open Source
LGPL-2.0-or-later, GPL-1.0-or-later, MIT, Apache-2.0, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,017
chromium-suckless
metux
Python
Code
166
1,202
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # # NOTE: Created with generate_compiled_resources_gyp.py, please do not edit. { 'targets': [ { 'target_name': 'av-icons-extracted', 'depend...
32,224
https://github.com/ereio/tethergame/blob/master/Assets/Textures/Island/Ground/Dirt.meta
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,018
tethergame
ereio
Unity3D Asset
Code
8
45
fileFormatVersion: 2 guid: b0abbc12c1446a44ea0d450ca2aa1bce folderAsset: yes DefaultImporter: userData:
49,407
https://github.com/socrob/bayes_objects_tracker/blob/master/include/ekf.h
Github Open Source
Open Source
MIT
2,019
bayes_objects_tracker
socrob
C++
Code
468
1,125
/*************************************************************************** * Copyright (C) 2006 by Nicola Bellotto * * nbellotto@lincoln.ac.uk * * Copyright (C) 2018 by Enrico Piazza * * enrico....
24,735
https://github.com/eidsonsa/lattesprocessor/blob/master/common/pesquisador.ts
Github Open Source
Open Source
MIT
null
lattesprocessor
eidsonsa
TypeScript
Code
38
105
import { Publicacao } from './publicacao'; export class Pesquisador { nome: string; orgao: string; publicacoes: Publicacao[]; constructor() { this.clean(); } clean(): void { this.nome = ""; this.orgao = ""; this.publicacoes = []; } // methods go here }
33,186
https://github.com/ANP-2020A/avances-de-curso-de-laravel-api-rest-JoelMendoza1/blob/master/app/Http/Controllers/ArticleControler.php
Github Open Source
Open Source
MIT
null
avances-de-curso-de-laravel-api-rest-JoelMendoza1
ANP-2020A
PHP
Code
83
306
<?php namespace App\Http\Controllers; use http\Env\Response; use Illuminate\Http\Request; use App\Article; use App\Http\Resources\Article as ArticleResource; use App\Http\Resources\ArticleCollection; class ArticleControler extends Controller { // private static $rules=[ 'title' => 'required|string|un...
1,232
https://github.com/marouabenzarti/e-commerce/blob/master/E-Commerce/src/main/java/org/sid/eboutique/controllers/AdminProduitsController.java
Github Open Source
Open Source
MIT
null
e-commerce
marouabenzarti
Java
Code
207
1,167
package org.sid.eboutique.controllers; import java.awt.image.BufferedImage; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import javax.imageio.ImageIO; import javax.validation.Valid; import org.apache.commons....
17,727
https://github.com/wangrling/media/blob/master/app/src/cpp/ndk/JNICallback.cpp
Github Open Source
Open Source
MIT
2,018
media
wangrling
C++
Code
106
488
#include <string.h> #include <inttypes.h> #include <pthread.h> #include <jni.h> #include <android/log.h> #include <assert.h> // Android log function wrappers static const char* kTAG = "JNICallback"; #define LOGI(...) \ ((void)__android_log_print(ANDROID_LOG_INFO, kTAG, __VA_ARGS__)) #define LOGW(...) \ ((void)__a...
14,030
https://github.com/mnts26/aws-sdk-rust/blob/master/sdk/pinpointemail/src/model.rs
Github Open Source
Open Source
Apache-2.0
2,021
aws-sdk-rust
mnts26
Rust
Code
18,216
53,238
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT. /// <p>An object that defines the event destination. Specifically, it defines which services /// receive events from emails sent using the configuration set that the event destination /// is associated with. Also defines the types of event...
32,849
https://github.com/TheSledgeHammer/2.11BSD_X44/blob/master/sys/arch/i386/include/apic/ioapicvar.h
Github Open Source
Open Source
BSD-3-Clause, BSD-4-Clause-UC
2,023
2.11BSD_X44
TheSledgeHammer
C
Code
501
1,288
/*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * William Jolitz. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
38,326