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/pronovic/cedar-common/blob/master/gae/com/cedarsolutions/wiring/gae/security/GaeAuthenticationEntryPoint.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,020
cedar-common
pronovic
Java
Code
301
525
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C E D A R * S O L U T I O N S "Software done right." * S O F T W A R E * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright (c) 2013 Kenneth J. Pronovici. * All righ...
32,826
https://github.com/golang/gofrontend/blob/master/libgo/go/crypto/rand/rand.go
Github Open Source
Open Source
LicenseRef-scancode-google-patent-license-golang, BSD-3-Clause, LicenseRef-scancode-generic-cla
2,023
gofrontend
golang
Go
Code
150
264
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package rand implements a cryptographically secure // random number generator. package rand import "io" // Reader is a global, shared instance of a cryptog...
53,132
https://github.com/RedTent/autecodata/blob/master/R/krw_mafy_doc.R
Github Open Source
Open Source
MIT
2,021
autecodata
RedTent
R
Code
883
2,403
#' KRW-maatlatten: Macrofyten categorieen #' #' Een van drie tabellen die benodigd zijn voor de KRW-toetsing van macrofyten. #' #' @format #' Dataframe #' #' - `groep` Een aanduiding of het taxon behoort tot de *Helofyten* of *Hydrofyten*. #' Dit onderscheid wordt alleen gemaakt voor de watertypen M1 t/m M10 in de ...
7,225
https://github.com/Milad-Mohammadi/Poolakey/blob/master/poolakey/src/main/java/ir/cafebazaar/poolakey/request/PurchaseRequest.kt
Github Open Source
Open Source
Apache-2.0
2,021
Poolakey
Milad-Mohammadi
Kotlin
Code
38
146
package ir.cafebazaar.poolakey.request import android.os.Bundle import ir.cafebazaar.poolakey.constant.BazaarIntent data class PurchaseRequest( val productId: String, val requestCode: Int, val payload: String? = null, val dynamicPriceToken: String? = null ) internal fun PurchaseRequest.purchaseExtraD...
12,941
https://github.com/eann/chronic_neuropixels/blob/master/add_folders_to_path.m
Github Open Source
Open Source
Apache-2.0
2,020
chronic_neuropixels
eann
MATLAB
Code
25
70
% ADD_FOLDERS_TO_PATH add the directories for all analyses required for the % manuscript's analysis to MATLAB's path % % No input or output. function[]=add_folders_to_path() addpath(genpath(fileparts(mfilename('fullpath'))));
20,701
https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/dojo/1.8.1/request/script.js
Github Open Source
Open Source
MIT
2,023
cdnjs
cdnjs
JavaScript
Code
168
1,296
/* Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/request/script",["module","./watch","./util","../_base/array","../_base/lang","../on","../dom","../do...
10,151
https://github.com/WXM99/SE228_SpringbootDemo/blob/master/ebook-backend/src/main/java/ebook/service/StatisticsService.java
Github Open Source
Open Source
MIT
2,019
SE228_SpringbootDemo
WXM99
Java
Code
26
123
package ebook.service; import ebook.model.BookInfoBrief; import ebook.model.Orders; import net.sf.json.JSONObject; import java.util.List; import java.util.Set; public interface StatisticsService { List<Orders> findOrdersByUser(JSONObject input); Set<Orders> findOrdersByIsbn(JSONObject input); List<Book...
38,131
https://github.com/adeyaser/apptelkom/blob/master/@web/mod_project/aksi_edit_project.php
Github Open Source
Open Source
MIT
null
apptelkom
adeyaser
PHP
Code
83
490
<?php include "../koneksi.php"; $nik =$_POST['nik']; $pid =$_POST['pid']; $stf =$_POST['stf']; $idwitel =$_POST['idwitel']; $nourutsto =$_POST['nourutsto']; $statusgolivelop=$_POST['statusgolivelop'] ; $statusfisik =$_POST['ststusfisik']; $...
31,036
https://github.com/burnnat/flow-to-dts/blob/master/test/fixtures/sample/imports/code.js
Github Open Source
Open Source
MIT
2,021
flow-to-dts
burnnat
JavaScript
Code
18
41
import { EventEmitter as Emitter } from "events"; type Request = http$ClientRequest | XMLHttpRequest; type Emitters = events$EventEmitter[];
16,674
https://github.com/seeseekey/jenet/blob/master/src/net/jenet/Channel.java
Github Open Source
Open Source
MIT
2,019
jenet
seeseekey
Java
Code
437
1,183
/* * Copyright (c) 2005 Dizan Vasquez * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publ...
32,623
https://github.com/marianamarasoiu/cuscus/blob/master/lib/viewmodel/cell.dart
Github Open Source
Open Source
MIT
2,019
cuscus
marianamarasoiu
Dart
Code
484
1,721
part of cuscus.viewmodel; class CellViewModel { static CellViewModel _selectedCell; static CellViewModel get selectedCell => _selectedCell; static void clear() => _selectedCell = null; int row; int column; engine.CellContents cellContents = null; String _value = ''; SheetViewModel sheetViewModel; ...
39,503
https://github.com/allandproust/social-likes-next/blob/master/src/services/plusone.js
Github Open Source
Open Source
MIT
2,021
social-likes-next
allandproust
JavaScript
Code
16
240
/* eslint-disable max-len */ export default { icon: 'M8,6.5v3h4.291c-0.526,2.01-2.093,3.476-4.315,3.476C5.228,12.976,3,10.748,3,8c0-2.748,2.228-4.976,4.976-4.976c1.442,0,2.606,0.623,3.397,1.603L13.52,2.48C12.192,0.955,10.276,0,8,0C3.582,0,0,3.582,0,8s3.582,8,8,8s7.5-3.582,7.5-8V6.5H8z', popupUrl: 'https://plus.googl...
11,384
https://github.com/tengshe789/SpringCloud-miaosha/blob/master/miaosha-mall/miaosha-mall-pay/src/main/java/tech/tengshe789/miaosha/mall/pay/package-info.java
Github Open Source
Open Source
Apache-2.0
2,019
SpringCloud-miaosha
tengshe789
Java
Code
2
18
package tech.tengshe789.miaosha.mall.pay;
52,998
https://github.com/gaaangi-learning/enjoy-react/blob/master/full-stack-open-2021/phonebook-app/src/components/Contacts.js
Github Open Source
Open Source
MIT
null
enjoy-react
gaaangi-learning
JavaScript
Code
72
271
import * as React from 'react' import Contact from './Contact' import ContactForUpdate from './ContactForUpdate' const Contacts = ({ contacts, editingContactId, handleContactUpdateSubmit, handleContactUpdateCancel, handleContactEditButtonClick, handleContactDeleteButtonClick, }) => { return...
16,736
https://github.com/cure-honey/uzura3/blob/master/uzura3main.f90
Github Open Source
Open Source
MIT
2,021
uzura3
cure-honey
null
Spoken
845
2,547
PROGRAM uzura3 USE arguments USE wav_io USE bit_io USE mod_mpg USE mod_polyphase USE mod_psycho USE mod_mdct USE mod_layer3 USE mod_huffman USE mod_encode IMPLICIT NONE TYPE (riff_chunk) :: riff TYPE (mpeg_parameters) :: mpg REAL (KIND = 8), ALLOCATABLE :: pcm(:, :), subband(:, :, :), r_mdct(:, :, :, :) INTEGER ...
6,232
https://github.com/makersmelx/CloudTides/blob/master/ui/src/app/policy/policy-dialog/policy-dialog.component.scss
Github Open Source
Open Source
Apache-2.0
2,020
CloudTides
makersmelx
SCSS
Code
13
36
clr-range-container { label { display: none; } input { width: 100%; } }
48,571
https://github.com/TRowbotham/PHPDOM/blob/master/src/Parser/Token/Token.php
Github Open Source
Open Source
MIT
2,021
PHPDOM
TRowbotham
PHP
Code
13
64
<?php declare(strict_types=1); namespace Rowbot\DOM\Parser\Token; /** * @see https://html.spec.whatwg.org/multipage/parsing.html#tokenization */ interface Token { }
14,869
https://github.com/RainKolwa/honor_p_2/blob/master/scss/partials/audio.scss
Github Open Source
Open Source
MIT
null
honor_p_2
RainKolwa
SCSS
Code
55
242
.audiojs{ position: fixed; z-index: 104; right: 90px; top: 80px; width: 40px; height: 46px; background: none; .time, .error-message, .scrubber{ display: none; } .play-pause{ width: 40px; height: 46px; border-right: 0 none; padding: 0; .play{ width: 40px; height: 46px; ...
45,334
https://github.com/doc22940/elix/blob/master/test/core/dom.tests.js
Github Open Source
Open Source
MIT
2,020
elix
doc22940
JavaScript
Code
252
861
import { assert } from "../testHelpers.js"; import { replaceChildNodes, composedAncestors, firstFocusableElement } from "../../src/core/dom.js"; import * as template from "../../src/core/template.js"; describe("DOM helpers", () => { it("firstFocusableElement finds first focusable element in light DOM", () => {...
24,633
https://github.com/willmedrano/SIALCSV/blob/master/app/Http/routes.php
Github Open Source
Open Source
MIT
null
SIALCSV
willmedrano
PHP
Code
209
1,503
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
40,175
https://github.com/BobrImperator/ember-cognito/blob/master/tests/dummy/app/templates/components/index-auth.hbs
Github Open Source
Open Source
MIT
null
ember-cognito
BobrImperator
null
Spoken
124
713
<div class="row"> <div class="col-6"> <h2>Username</h2> <div class="mb-4"> {{this.currentUser.username}} </div> <h2>User Attributes</h2> <table class="table"> <thead> <tr> <th>Attribute</th> <th>Value</th> </tr> </thead> <tbody> ...
11,923
https://github.com/tdurieux/smartbugs-wild/blob/master/contracts/0x7895a43ae537e8e1ac97006ea9235807eea04cfa.sol
Github Open Source
Open Source
Apache-2.0
2,022
smartbugs-wild
tdurieux
Solidity
Code
2,618
6,504
pragma solidity ^0.4.21; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(ad...
15,046
https://github.com/FlorentinD/ejml/blob/master/main/ejml-experimental/benchmarks/src/org/ejml/dense/row/decomposition/qr/StabilityQRDecomposition.java
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, Apache-2.0
2,021
ejml
FlorentinD
Java
Code
367
1,223
/* * Copyright (c) 2009-2020, Peter Abeles. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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 * * ...
46,565
https://github.com/Nike-Inc/cerberus-lifecycle-cli/blob/master/src/main/java/com/nike/cerberus/domain/cloudformation/VpcOutputs.java
Github Open Source
Open Source
Apache-2.0
2,023
cerberus-lifecycle-cli
Nike-Inc
Java
Code
302
1,081
/* * Copyright (c) 2019 Nike, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
44,849
https://github.com/YaroShkvorets/ottawa-sidewalk-research/blob/master/main.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,017
ottawa-sidewalk-research
YaroShkvorets
JavaScript
Code
541
2,369
const reader = require('geojson-writer').reader const writer = require('geojson-writer').writer const turf = require('@turf/turf') const ruler = require('cheap-ruler')(45.41, 'meters') const rbush = require('geojson-rbush') const sidewalkTree = rbush() const roadsWithBothSidewalks = []; const roadsWithLeftSidewalks =...
10,094
https://github.com/redbubble/rb-scala-utils/blob/master/src/main/scala/com/redbubble/util/http/Errors.scala
Github Open Source
Open Source
BSD-3-Clause
2,017
rb-scala-utils
redbubble
Scala
Code
195
604
package com.redbubble.util.http import scala.util.control.NoStackTrace abstract class ApiError extends Exception with NoStackTrace abstract class ApiError_(message: String, cause: Option[Throwable]) extends ApiError { override def getMessage = message override def getCause = cause.orNull } final case class Au...
22,869
https://github.com/franckLdx/clean/blob/master/lib/emptyDir_test.ts
Github Open Source
Open Source
MIT
2,021
clean
franckLdx
TypeScript
Code
501
1,519
import { cleanTest } from "./tools/test/misc.ts"; import { makeDirectory, assertExists, makeDirectories, makeFiles, } from "./tools/test/fs.ts"; import { runProcess, checkProcess, getPrefixMessage, } from "./tools/test/process.ts"; import { join } from "../deps.ts"; import { optionsDry } from "./tools/tes...
6,373
https://github.com/tflucke/Personal-Library/blob/master/src/name/tomflucke/dragNdrop/TableRowTransferHandler.java
Github Open Source
Open Source
MIT
null
Personal-Library
tflucke
Java
Code
255
1,040
package name.tomflucke.dragNdrop; import java.awt.Cursor; import java.awt.datatransfer.DataFlavor; import java.awt.datatransfer.Transferable; import java.awt.datatransfer.UnsupportedFlavorException; import java.awt.dnd.DragSource; import java.io.IOException; import javax.activation.ActivationDataFlavor; import javax....
39,162
https://github.com/spainisnotequal/ansi-common-lisp/blob/master/chapter7/ring-buffers.lisp
Github Open Source
Open Source
MIT
null
ansi-common-lisp
spainisnotequal
Common Lisp
Code
137
431
(defstruct buf vec (start -1) (used -1) (new -1) (end -1)) (defun bref (buf n) (aref (buf-vec buf) (mod n (length (buf-vec buf))))) (defun (setf bref) (val buf n) (setf (aref (buf-vec buf) (mod n (length (buf-vec buf)))) val)) (defun new-buf (len) (make-buf :vec (make-array len)...
27,306
https://github.com/krgauraw/sunbird-learning-platform/blob/master/platform-modules/manager/src/main/java/org/ekstep/taxonomy/mgr/impl/AssetManagerImpl.java
Github Open Source
Open Source
MIT
2,019
sunbird-learning-platform
krgauraw
Java
Code
236
901
package org.ekstep.taxonomy.mgr.impl; import org.apache.commons.lang3.StringUtils; import org.ekstep.common.dto.Response; import org.ekstep.common.exception.ClientException; import org.ekstep.common.exception.ResponseCode; import org.ekstep.common.mgr.IURLManager; import org.ekstep.common.mgr.impl.GeneralUrlManagerImp...
47,535
https://github.com/andor44/valico/blob/master/src/json_schema/helpers.rs
Github Open Source
Open Source
MIT
2,015
valico
andor44
Rust
Code
319
1,315
use rustc_serialize::json; use url; use url::percent_encoding; use uuid; use super::schema; macro_rules! url_parser( () => (::url::UrlParser::new().scheme_type_mapper($crate::json_schema::helpers::whatwg_extended_scheme_type_mapper)) ); pub fn generate_id() -> url::Url { url_parser!().parse(&format!("json-sc...
51,392
https://github.com/MadaoMkII/beihaozhuan_frontEnd/blob/master/src/project/index/pages/Mine/ApplyNew.vue
Github Open Source
Open Source
Apache-2.0
2,021
beihaozhuan_frontEnd
MadaoMkII
Vue
Code
951
4,786
<template> <div class="applyCon"> <div class="backIcon" @click="prev()"></div> <div class="title">申请提现</div> <div class="balanceCon"> <div class="balanceTop"> <div class="balanceTopLeft">可提金额<div class="tipIcon" @click="showPopBox = true"></div></div> <div class="balanceTopRight" @cl...
28,390
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/w/wanghkkk/heapster-influxdb-amd64-v1.3.3/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
4
46
FROM gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3 MAINTAINER wanghk@live.cn
20,206
https://github.com/kantega/Flyt-cms/blob/master/modules/core/src/java/no/kantega/publishing/templating/DefaultTemplateRenderer.java
Github Open Source
Open Source
Apache-2.0
2,018
Flyt-cms
kantega
Java
Code
211
619
package no.kantega.publishing.templating; import no.kantega.publishing.api.templating.TemplateRenderer; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import java.io.InputStreamReader; import java.io.StringWriter; import java.io.Writer; import java.util.HashMap; import java...
23,952
https://github.com/PICode-Team/PICode-Client/blob/master/styles/service/chatspace/messenger.ts
Github Open Source
Open Source
Apache-2.0
2,022
PICode-Client
PICode-Team
TypeScript
Code
993
3,783
import { makeStyles } from '@material-ui/styles' import createStyles from '@material-ui/styles/createStyles' import { IThemeStyle } from '../../theme' export const messengerStyle = makeStyles((theme: IThemeStyle) => createStyles({ chatButton: { backgroundColor: theme.font.high.color, width: '60px', ...
45,601
https://github.com/ixrjog/caesar2-web/blob/master/src/components/d2-icon/index.vue
Github Open Source
Open Source
MIT
2,021
caesar2-web
ixrjog
Vue
Code
31
139
<template> <i :class="name" aria-hidden="true"></i> </template> <script> import '@fortawesome/fontawesome-free/css/all.min.css' // import './font-awesome-4.7.0/css/font-awesome.min.css' export default { name: 'd2-icon', props: { name: { type: String, required: false, default: 'fab fa-font-a...
53,536
https://github.com/grigaci/Sensoriada/blob/master/Podfile
Github Open Source
Open Source
MIT
2,015
Sensoriada
grigaci
Ruby
Code
13
68
platform :ios, "8.0" pod 'Alamofire', :git => "https://github.com/Alamofire/Alamofire" pod 'SwiftyJSON', :git => "https://github.com/SwiftyJSON/SwiftyJSON"
28,086
https://github.com/lucax88x/JobTimer/blob/master/src/JobTimer.WebApplication/src/timer/controllers/timer.ts
Github Open Source
Open Source
MIT
2,016
JobTimer
lucax88x
TypeScript
Code
448
1,875
/// <reference path="../../../typings/angularjs/angular.d.ts" /> /// <reference path="../../../typings/signalr/signalr.d.ts" /> /// <reference path="../../../typings/underscore/underscore.d.ts" /> namespace JobTimer.Timer { interface ITimerScope extends ng.IScope { lock: boolean; offset: number; ...
40,554
https://github.com/NCAR/sage-gateway-archive/blob/master/src/main/java/sgf/gateway/search/extract/ConfiguredValueFieldExtractor.java
Github Open Source
Open Source
Apache-2.0
null
sage-gateway-archive
NCAR
Java
Code
31
92
package sgf.gateway.search.extract; public class ConfiguredValueFieldExtractor implements FieldExtractor { private final Object value; public ConfiguredValueFieldExtractor(Object value) { super(); this.value = value; } @Override public Object extract(Object object) { ret...
25,423
https://github.com/MCTzOCK/ScreenTime/blob/master/source/version/1.2/de/mctzcok/screentime/ScreenTime.java
Github Open Source
Open Source
MIT
2,019
ScreenTime
MCTzOCK
Java
Code
48
159
package de.mctzcok.screentime; import java.io.File; import java.io.IOException; public class ScreenTime { public static long startTime = System.currentTimeMillis(); public static void main(String[] args) { File f = new File("database/db.bin"); if(!f.exists()) { try { f.createNewFile(); } catch...
15,895
https://github.com/acheong08/dsniff/blob/master/debian/patches/09_sshcrypto.dpatch
Github Open Source
Open Source
BSD-3-Clause
2,022
dsniff
acheong08
null
Spoken
62
274
#! /bin/sh /usr/share/dpatch/dpatch-run ## 09_sshcrypto.dpatch by Steve Kemp <skx@debian.org> ## ## DP: Missing openssl includes in sshcrypto.c. ## DP: This patch was through diff.gz and now is implemented as a dpatch. @DPATCH@ diff -urNad dsniff-2.4b1~/sshcrypto.c dsniff-2.4b1/sshcrypto.c --- dsniff-2.4b1~/sshcrypt...
15,584
https://github.com/DillK/more-material-palettes/blob/master/palettes/magenta/magenta.scss
Github Open Source
Open Source
MIT
null
more-material-palettes
DillK
SCSS
Code
63
325
$magenta: ( 50: #FFE0FF, 100: #FFB3FF, 200: #FF80FF, 300: #FF4DFF, 400: #FF26FF, 500: #FF00FF, 600: #FF00FF, 700: #FF00FF, 800: #FF00FF, 900: #FF00FF, A100: #FFFFFF, A200: #FFFFFF, A400: #FEF9FF, A700: #FADFFF, contrast: ( 50: $dark-primary-text, 100: $dark-primary-text, 200: $dark-primary-text, ...
10,470
https://github.com/ubiqueworks/go-clean-architecture/blob/master/framework/component/cloudstore/cloudstore.go
Github Open Source
Open Source
Apache-2.0
2,021
go-clean-architecture
ubiqueworks
Go
Code
227
780
package cloudstore import ( "context" "fmt" "sync" "cloud.google.com/go/datastore" "github.com/rs/zerolog" "github.com/ubiqueworks/go-clean-architecture/framework" "gopkg.in/urfave/cli.v1" ) const ( Component = "cloudstore" envCloudProjectId = "CLOUD_PROJECT_ID" flagCloudProjectId = "cloud-project-id" ) ...
9,285
https://github.com/longtx/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-emr/src/main/java/com/aliyuncs/emr/model/v20160408/MetastoreUpdateKafkaTopicRequest.java
Github Open Source
Open Source
Apache-2.0
2,019
aliyun-openapi-java-sdk
longtx
Java
Code
275
843
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
43,889
https://github.com/HarvardAgileRoboticsLab/drake/blob/master/drake/examples/Valkyrie/robot_state_decoder.h
Github Open Source
Open Source
BSD-3-Clause
2,017
drake
HarvardAgileRoboticsLab
C++
Code
141
447
#pragma once #include <map> #include <string> #include "drake/multibody/rigid_body_tree.h" #include "drake/systems/framework/leaf_system.h" namespace drake { namespace systems { // TODO(tkoolen): currently doesn't do anything with the efforts or spatial // forces in the robot_state_t message. /** * Converts a rob...
13,943
https://github.com/DandelionLU/code-camp/blob/master/leetcode/sales-analysis-iii.js
Github Open Source
Open Source
Apache-2.0
2,021
code-camp
DandelionLU
JavaScript
Code
83
279
// Hi, I'm Yanzhan. I'm interested in all kinds of algorithmic problems. Also, I'm fascinated with javascript. If you want to learn more about programming problems and javascript, please visit my Youtube Channel (https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber), Twitter Account (https://twit...
14,295
https://github.com/z-priest/jsonargparse/blob/master/jsonargparse_tests/core_tests.py
Github Open Source
Open Source
MIT
2,020
jsonargparse
z-priest
Python
Code
1,964
11,920
#!/usr/bin/env python3 import json import yaml from io import StringIO from contextlib import redirect_stdout from collections import OrderedDict from jsonargparse_tests.base import * from jsonargparse.util import meta_keys, _suppress_stderr class ParsersTests(TempDirTestCase): def test_parse_args(self): ...
10,057
https://github.com/ukcp-data/ukcp18-data-factory/blob/master/test_scripts/test_iris_load_rips.py
Github Open Source
Open Source
BSD-2-Clause
2,019
ukcp18-data-factory
ukcp-data
Python
Code
101
383
import os import time import iris import pytest def _get_file_list(threshold=40): files = [] for dirpath, _2, filenames in os.walk('fakedata/ukcp18/data/land-gcm/uk/60km/rcp85'): for f in filenames: if not f.startswith('tas'): continue fpath = os.path.join(dirpath, f) ...
49,797
https://github.com/Windmolders/Jarys/blob/master/src/AppBundle/Entity/Download.php
Github Open Source
Open Source
MIT
null
Jarys
Windmolders
PHP
Code
183
517
<?php namespace AppBundle\Entity; use Clastic\NodeBundle\Node\NodeReferenceInterface; use Clastic\NodeBundle\Node\NodeReferenceTrait; /** * Download */ class Download implements NodeReferenceInterface { use NodeReferenceTrait; /** * @var integer */ private $id; /** * @var string ...
31,518
https://github.com/elastos/Elastos/blob/master/UnionSquare.Android/app/src/main/java/org/elastos/wallet/ela/ui/Assets/bean/qr/proposal/RecieveProcessJwtEntity.java
Github Open Source
Open Source
MIT
2,022
Elastos
elastos
Java
Code
543
1,982
/* * Copyright (c) 2019 Elastos Foundation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
33,098
https://github.com/dungngminh/Flutter-Basics/blob/master/Alert Dialog/lib/main.dart
Github Open Source
Open Source
MIT
2,022
Flutter-Basics
dungngminh
Dart
Code
130
456
import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Basics', theme: ThemeData( primarySwatch: Colors.blue, ), home: MyHomePage(title: 'Al...
35,369
https://github.com/micharhodes/pattern-lab/blob/master/source/css/scss/objects/_three-col-contact.scss
Github Open Source
Open Source
MIT
null
pattern-lab
micharhodes
SCSS
Code
83
347
$plugin-name: 'contact-tiles'; .#{$plugin-name} { div.row { padding-top: 1.5rem; padding-bottom: 0.5rem; } .contact-tile { @include grid-column(12); @include breakpoint(medium) { @include grid-column(4); } } } .contact-tile { text-align: center; margin-top:1rem; span { font-size: 2.5rem; co...
28,506
https://github.com/niwota123/php/blob/master/06-oop/06-thinkphp/tp5/application/user/model/Profile.php
Github Open Source
Open Source
Apache-2.0
2,017
php
niwota123
PHP
Code
33
87
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2017/10/10 * Time: 11:56 */ namespace app\user\model; use think\Model; class Profile extends Model { public function user() { return $this->belongsTo('User'); } }
36,129
https://github.com/SJaffa/Q_plus/blob/master/AllStars/D1.00C22G5R51.star
Github Open Source
Open Source
MIT
2,021
Q_plus
SJaffa
Starlark
Code
30
161
# 9 # 0.02912 0.94364 0.04787 0.06988 0.99367 0.00085 0.32701 -0.70960 -0.31060 0.35614 -0.66796 -0.36333 0.33353 -0.56266 -0.66528 0.32835 -0.49860 -0.69279 -0.10931 -0.41518 -0.86736 -0.00735 -0.33598 -0.89661 -0.11916 -0.35150 -0.89355
30,074
https://github.com/zhipengzhaocmu/fpga2022_artifact/blob/master/pigasus/software/src/ips_options/ips_flowbits.cc
Github Open Source
Open Source
BSD-3-Clause-Clear, BSD-3-Clause
null
fpga2022_artifact
zhipengzhaocmu
C++
Code
3,197
11,238
//-------------------------------------------------------------------------- // Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. // Copyright (C) 2003-2013 Sourcefire, Inc. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public...
12,630
https://github.com/ruisunon/machinat/blob/master/packages/core/src/renderer/index.ts
Github Open Source
Open Source
MIT
2,021
machinat
ruisunon
TypeScript
Code
14
26
export { default } from './renderer'; export * from './componentHelper'; export * from './types';
5,075
https://github.com/Bia96/mob-site-ui/blob/master/src/scss/components/_helpers.scss
Github Open Source
Open Source
MIT
2,019
mob-site-ui
Bia96
SCSS
Code
284
920
/* Helpers =============== */ // Classic clearfix .clearfix::before, .clearfix::after { content: " "; display: block; } .clearfix:after { clear: both; } // Text alignment .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-justi...
19,338
https://github.com/ogilvieira/1motivo/blob/master/src/assets/sass/module/main.scss
Github Open Source
Open Source
MIT
null
1motivo
ogilvieira
SCSS
Code
296
1,036
#main { width: 100%; .post-full { .cover { width: 100%; height: auto; background-color: #ccc; background-position: center center; background-size: cover; display: block; position: relative; border-radius: 5px 5px 0 0; margin-top: 20px; overflow: hidden...
53,230
https://github.com/marcelofajardo/turnero_laravel/blob/master/app/Library/Returns/ActionReturn.php
Github Open Source
Open Source
MIT
2,021
turnero_laravel
marcelofajardo
PHP
Code
132
504
<?php namespace App\Library\Returns; use Session; class ActionReturn { private $successPath = ''; private $failPath = ''; private $success_title = ''; private $success_message = ''; private $error_title = ''; private $error_message = ''; private $action = fals...
51,325
https://github.com/skinny85/specnaz/blob/master/src/main/specnaz-junit/src/main/java/org/specnaz/junit/rules/TestRuleSupplier.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
specnaz
skinny85
Java
Code
46
112
package org.specnaz.junit.rules; import org.junit.rules.TestRule; /** * A {@link FunctionalInterface} used as the parameter to the * {@link Rule#of(TestRuleSupplier)} static factory method. * * @param <T> * the type of {@link TestRule} returned by this Supplier */ @FunctionalInterface public interface TestR...
18,580
https://github.com/NodeFactoryIo/split-payment-web/blob/master/src/containers/Home/saga.js
Github Open Source
Open Source
MIT
null
split-payment-web
NodeFactoryIo
JavaScript
Code
124
371
import { call, takeLatest, put } from 'redux-saga/effects'; import { ETH_TRANSACTIONS_URL } from '../../etherscan-api'; import Box from "3box"; import { REQUEST_ETH_TRANSACTIONS, REQUEST_ETH_TRANSACTIONS_ERROR, REQUEST_ETH_TRANSACTIONS_SUCCESS } from './actions'; function* getETHTransactions() { yield takeLatest(REQ...
53,962
https://github.com/fabier/grails-starter/blob/master/grails-app/views/register/forgotPassword.gsp
Github Open Source
Open Source
MIT
2,016
grails-starter
fabier
null
Spoken
108
555
<html> <head> <title><g:message code="default.forgotPassword" default="Forgot password ?"/></title> <meta name='layout' content='main'/> </head> <body> <p/> <div class="container"> <div class="row"> <div class="col-md-6 center-block"> <g:if test='${emailSent}'> <div ...
45,825
https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_osp/blob/master/board/emsk/drivers/ip/designware/gpio/dw_gpio_obj.c
Github Open Source
Open Source
BSD-3-Clause
2,021
embarc_osp
foss-for-synopsys-dwc-arc-processors
C
Code
1,038
3,856
/* ------------------------------------------ * Copyright (c) 2017, Synopsys, Inc. All rights reserved. * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1) Redistributions of source code must retain the above copyr...
53,455
https://github.com/zhiming-shen/Xen-Blanket-NG/blob/master/xen/xen-4.2.2/xen/drivers/char/pl011.c
Github Open Source
Open Source
Apache-2.0
2,018
Xen-Blanket-NG
zhiming-shen
C
Code
1,028
2,833
/* * xen/drivers/char/pl011.c * * Driver for ARM PrimeCell PL011 UART. * * Tim Deegan <tim@xen.org> * Copyright (c) 2011 Citrix Systems. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundatio...
24,265
https://github.com/Zephery/newblog/blob/master/src/main/java/com/myblog/lucene/BlogIndex.java
Github Open Source
Open Source
Apache-2.0
2,023
newblog
Zephery
Java
Code
616
2,420
package com.myblog.lucene; import com.myblog.model.Blog; import com.myblog.util.DateUtil; import com.myblog.util.StringUtil; import org.apache.commons.io.FileUtils; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.cn.smart.SmartChineseAnalyzer; import org.apache.lucene.document.Document...
28,961
https://github.com/PombertLab/ID16S/blob/master/download_ID16S_dbs.pl
Github Open Source
Open Source
MIT
2,022
ID16S
PombertLab
Perl
Code
555
2,027
#!/usr/bin/perl ## Pombert Lab 2022 my $name = "download_ID16S_dbs.pl"; my $version = "0.1b"; my $updated = "2022-05-27"; use strict; use warnings; use Getopt::Long qw(GetOptions); use File::Basename; use File::Path qw(make_path); my $usage = <<"EXIT"; NAME ${name} VERSION ${version} UPDATED ${updated} SYNOPSIS Do...
36,822
https://github.com/MrLetsplay2003/MrCore/blob/master/MrCore/src/main/java/me/mrletsplay/mrcore/misc/classfile/signature/MethodSignature.java
Github Open Source
Open Source
MIT
2,023
MrCore
MrLetsplay2003
Java
Code
192
821
package me.mrletsplay.mrcore.misc.classfile.signature; import java.util.ArrayList; import java.util.List; import me.mrletsplay.mrcore.misc.CharReader; import me.mrletsplay.mrcore.misc.classfile.signature.Result.JavaTypeResult; import me.mrletsplay.mrcore.misc.classfile.signature.Result.VoidResult; import me.mrletspla...
7,385
https://github.com/ladeiko/sveltestrap/blob/master/src/NavbarBrand.d.ts
Github Open Source
Open Source
MIT
2,021
sveltestrap
ladeiko
TypeScript
Code
22
64
import { LocalSvelteComponent } from './shared'; export interface INavbarBrandProps { href?: string; } declare class NavbarBrand extends LocalSvelteComponent<INavbarBrandProps> {} export default NavbarBrand;
23,144
https://github.com/sevened/gaoxiaohot/blob/master/sprite/admin/js/category.js
Github Open Source
Open Source
MIT
2,016
gaoxiaohot
sevened
JavaScript
Code
17
78
function del($id) { var msg = "您真的确定要删除吗?"; if (confirm(msg)==true){ window.location = "/admin/category.del?cid="+$id; }else{ return false; } }
1,242
https://github.com/cncodog/Ghost-zh-codog/blob/master/core/client/app/routes/editor/edit.js
Github Open Source
Open Source
MIT
null
Ghost-zh-codog
cncodog
JavaScript
Code
140
509
import AuthenticatedRoute from 'ghost/routes/authenticated'; import base from 'ghost/mixins/editor-base-route'; import isNumber from 'ghost/utils/isNumber'; import isFinite from 'ghost/utils/isFinite'; var EditorEditRoute = AuthenticatedRoute.extend(base, { titleToken: '编辑器', beforeModel: function (transition...
4,825
https://github.com/alvarosaburido/simsmology/blob/master/src/pages/family/index.vue
Github Open Source
Open Source
MIT
null
simsmology
alvarosaburido
Vue
Code
72
303
<script async setup lang="ts"> import { useDomesticUnits } from '~/composables/useDomesticUnits' const { families } = useDomesticUnits() </script> <template> <div class="container mx-auto p-8"> <div v-if="families.length > 0" class="grid grid-cols-1 gap-10 sm:grid-cols-2 md:-mx-8 md:grid-flow-row md:grid-cols-...
27,671
https://github.com/LewJun/spring-boot-demo/blob/master/spring-boot-sharding-multi-datasource-mybatis/src/main/resources/db/data-h2.sql
Github Open Source
Open Source
MIT
2,021
spring-boot-demo
LewJun
SQL
Code
24
86
DELETE FROM AB01 WHERE 1=1; INSERT INTO AB01(id, AAB002, AAB003) VALUES (10, 'ACCOUNTING', 'NEW YORK'), (20, 'RESEARCH', 'DALLAS'), (30, 'SALES', 'CHICAGO'), (40, 'OPERATIONS', 'BOSTON');
43,474
https://github.com/neoneye/loda-programs/blob/master/oeis/164/A164599.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda-programs
neoneye
Assembly
Code
56
392
; A164599: a(n) = 14*a(n-1) - 47*a(n-2), for n > 1, with a(0) = 1, a(1) = 15. ; Submitted by Christian Krause ; 1,15,163,1577,14417,127719,1110467,9543745,81420481,691330719,5851867459,49433600633,417032638289,3515077706295,29610553888547,249339102243793,2099051398651393,17667781775661231,148693529122641763,12513236642...
42,316
https://github.com/chinasoftigit/study-spring-data-jpa/blob/master/src/main/java/cn/caofanqi/study/studyspringdatajpa/repository/CategoryRepository.java
Github Open Source
Open Source
Apache-2.0
2,020
study-spring-data-jpa
chinasoftigit
Java
Code
79
349
package cn.caofanqi.study.studyspringdatajpa.repository; import cn.caofanqi.study.studyspringdatajpa.pojo.domain.Category; import org.springframework.data.jpa.repository.EntityGraph; import org.springframework.data.jpa.repository.JpaRepository; import java.util.List; /** * 门类持久层 * @author caofanqi */ public inter...
47,705
https://github.com/jhrcek/robozonky/blob/master/robozonky-app/src/main/java/com/github/robozonky/app/configuration/OperatingMode.java
Github Open Source
Open Source
Apache-2.0
2,018
robozonky
jhrcek
Java
Code
346
1,100
/* * Copyright 2017 The RoboZonky Project * * 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 ...
51,818
https://github.com/lor6/tutorials/blob/master/logging-modules/log-mdc/src/main/java/com/baeldung/mdc/log4j2/Log4J2TransferService.java
Github Open Source
Open Source
MIT
2,023
tutorials
lor6
Java
Code
53
170
package com.baeldung.mdc.log4j2; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.baeldung.mdc.TransferService; public class Log4J2TransferService extends TransferService { private static final Logger logger = LogManager.getLogger(); @Override protected voi...
17,316
https://github.com/francisliu/hbase_namespace/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
Github Open Source
Open Source
Apache-2.0, CPL-1.0, MPL-1.0
2,013
hbase_namespace
francisliu
Java
Code
2,335
5,840
/** * 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...
19,849
https://github.com/ms0760686/-/blob/master/app/actions/login.js
Github Open Source
Open Source
MIT
null
-
ms0760686
JavaScript
Code
266
739
// @flow import ADODB from 'node-adodb'; import type { } from '../reducers/login'; export const LOGIN = 'LOGIN'; export const LOGIN_SUCCESS = 'LOGIN_SUCCESS'; export const LOGIN_FAIL = 'LOGIN_FAIL'; const connectString = 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\\\NTSERVER\\AECaspWeb\\yunchung_test\\test.mdb;';...
2,252
https://github.com/habsoft/robosim/blob/master/src/main/java/pk/com/habsoft/robosim/internal/PropertiesListener.java
Github Open Source
Open Source
Apache-2.0
2,017
robosim
habsoft
Java
Code
13
41
package pk.com.habsoft.robosim.internal; public interface PropertiesListener { public boolean loadProperties(); public void saveProperties(); }
44,090
https://github.com/Philani-504/FinancialSystem/blob/master/resources/views/Admin/Departments/G&A.blade.php
Github Open Source
Open Source
MIT
null
FinancialSystem
Philani-504
PHP
Code
1,266
6,873
@extends('layouts.master') @section('title') G&A | Financial Application @endsection @section('header') <!-- Header --> <div class="header bg-primary pb-6"> <div class="container-fluid"> <div class="header-body"> <div class="row align-items-center py-4"> <div class="col-lg-6 c...
12,279
https://github.com/niekverw/ukbpheno/blob/master/man/check_dfDefinitions_codes.Rd
Github Open Source
Open Source
MIT
2,023
ukbpheno
niekverw
R
Code
133
313
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ProcessdfDefinitions.R \name{check_dfDefinitions_codes} \alias{check_dfDefinitions_codes} \title{Check if the illness/medication codes in definition table are found the coding files} \usage{ check_dfDefinitions_codes( dfDefinitions_processe...
36,121
https://github.com/wardbell/rxjs-fun/blob/master/src/app/hero.ts
Github Open Source
Open Source
MIT
2,018
rxjs-fun
wardbell
TypeScript
Code
58
122
export class Hero { id: number; name: string; count: number; bio: string; } let count = 0; /** Update each hero's count as it arrives, so distinguish freshly fetched heroes */ export function heroTouch(heroes: Hero[]) { return heroes.map(h => { h.count = count++; return h; }); } export const heroesUrl = 'a...
42,795
https://github.com/mgechev/closure-compiler-angular-bundling/blob/master/vendor/RxJS/observable/ScalarObservable.js
Github Open Source
Open Source
MIT
2,018
closure-compiler-angular-bundling
mgechev
JavaScript
Code
183
567
goog.module('rxjs$observable$ScalarObservable'); var Observable_1 = goog.require('rxjs$Observable'); /** * We need this JSDoc comment for affecting ESDoc. * @extends {Ignored} * @hide true */ class ScalarObservable extends Observable_1.Observable { /** * @param {?} value * @param {?=} scheduler *...
29,660
https://github.com/ifHamzah93/realtime_socket_io/blob/master/example/lib/main.dart
Github Open Source
Open Source
MIT
2,021
realtime_socket_io
ifHamzah93
Dart
Code
192
724
import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:realtime_socket_io/realtime_socket_io.dart'; import 'package:realtime_socket_io/response.dart'; import 'package:realtime_socket_io/socketService.dart'; import 'package:http/http.dart' as http; void main() { runApp(MyApp...
17,857
https://github.com/DwayneGit/slate-md-serializer/blob/master/src/renderer.ts
Github Open Source
Open Source
MIT
null
slate-md-serializer
DwayneGit
TypeScript
Code
1,127
3,109
import parser from "./parser"; import { Value } from "slate"; import { Record } from "immutable"; import { encode } from "./urls"; import { escapeMarkdownChars } from "./utils"; const String = Record({ object: "string", text: "", }); /** * Rules to (de)serialize nodes. * * @type {Object} */ let tableHeader =...
46,300
https://github.com/JAKILL1997/AtoZ.framework/blob/master/AtoZ/Categories/NSString+AtoZ.m
Github Open Source
Open Source
ISC, MIT, LicenseRef-scancode-public-domain
2,013
AtoZ.framework
JAKILL1997
Objective-C
Code
5,134
16,885
// NSString+AtoZ.m // AtoZ // Created by Alex Gray on 7/1/12. // Copyright (c) 2012 mrgray.com, inc. All rights reserved. #import "NSString+AtoZ.h" #import "NSColor+AtoZ.h" #import "NSArray+AtoZ.h" #import "AtoZFunctions.h" #import "RuntimeReporter.h" #import "AtoZ.h" #import <CommonCrypto/CommonDigest.h> #defin...
38,439
https://github.com/aaronholsonege/aarongloege.github.io/blob/master/assets/scss/global/helper/_function.scss
Github Open Source
Open Source
MIT
null
aarongloege.github.io
aaronholsonege
SCSS
Code
20
64
@function getColumnWidth($n) { @return ($WIDTH * ($n / $grid-COLUMNS)) - $MARGIN; } @function calculateColumnOffset($n) { @return getColumnWidth($n) + $MARGIN; }
9,314
https://github.com/zakodium/react-2dplot/blob/master/src/components/Axis/ParallelAxis.tsx
Github Open Source
Open Source
MIT
null
react-2dplot
zakodium
TypeScript
Code
306
858
import { ScaleLinear, ScaleLogarithmic, ScaleTime } from 'd3-scale'; import { usePlotContext } from '../../contexts/plotContext'; import type { Position, TickLabelFormat } from '../../types'; import { getInnerOffset } from '../../utils/axis'; import { AxisProps } from './Axis'; import LinearAxis from './LinearAxis'; ...
37,466
https://github.com/kevinlq/Qt-Creator-Opensource-Study/blob/master/qt-creator-opensource-src-4.6.1/src/plugins/qmlprofiler/qmlprofilertimelinemodel.cpp
Github Open Source
Open Source
MIT
2,022
Qt-Creator-Opensource-Study
kevinlq
C++
Code
348
1,118
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
46,585
https://github.com/baofeng0113/MountainKing/blob/master/application/domain/queries/LinkAuthed.php
Github Open Source
Open Source
Apache-2.0
2,013
MountainKing
baofeng0113
PHP
Code
95
291
<?php /** * Data access object for table `cp_linkauthed` * * @license Apache License 2.0 * * @package Domain_Query * * @author BaoFeng <baofeng@noteyun.com> */ class Domain_Query_LinkAuthed extends Zend_Db_Table { protected $_name = "cp_linkauthed"; private function convertRecord($record) { ...
27,328
https://github.com/huochezaodian/mip2/blob/master/packages/mip-cli/lib/builder/webpack/config/child-component-loader.js
Github Open Source
Open Source
MIT
2,019
mip2
huochezaodian
JavaScript
Code
139
546
/** * @file child-component-loader.js * @author clark-t (clarktanglei@163.com) */ const projectPath = require('../../../utils/project-path') const {globPify} = require('../../../utils/helper') const path = require('path') const sourceMap = require('../../../utils/source-map') module.exports = async function (source...
41,428
https://github.com/BestJex/fedlearn/blob/master/common/src/main/java/com/jdt/fedlearn/common/entity/TaskResultData.java
Github Open Source
Open Source
Apache-2.0
2,021
fedlearn
BestJex
Java
Code
188
488
/* Copyright 2020 The FedLearn Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
52,374
https://github.com/sheetalgaikwad/MovieFlix-Sheetal/blob/master/src/main/java/io/sheetal/service/ProgramService.java
Github Open Source
Open Source
MIT
2,016
MovieFlix-Sheetal
sheetalgaikwad
Java
Code
48
166
package io.sheetal.service; import java.util.Date; import java.util.List; import io.sheetal.entity.Program; import io.sheetal.exception.ProgramAlreadyExistsException; import io.sheetal.exception.ProgramNotFoundException; public interface ProgramService { public List<Program> findAllPrograms(); public Program find...
39,547
https://github.com/EmilHvitfeldt/horus/blob/master/data-raw/mnist_sample.R
Github Open Source
Open Source
MIT
2,021
horus
EmilHvitfeldt
R
Code
43
197
library(keras) library(recipes) library(embed) library(purrr) library(dplyr) set.seed(1234) mnist_raw <- dataset_mnist() tidy_mnist <- map_dfc(1:28, ~tibble::as_tibble(mnist_raw$train$x[, , .x])) %>% mutate(class = factor(mnist_raw$train$y)) mnist_sample <- recipe(class ~ ., data = slice_sample(tidy_mnist, prop = ...
37,481
https://github.com/sambacha/mcas/blob/master/src/server/mcas/src/connection_handler.cpp
Github Open Source
Open Source
Apache-2.0
2,020
mcas
sambacha
C++
Code
596
2,223
/* Copyright [2017-2020] [IBM Corporation] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
40,802
https://github.com/Leo121/SAMD21-XPRO/blob/master/Examples/CMSIS/Device/ATMEL/samg55/include/pio/samg55g19.h
Github Open Source
Open Source
BSD-2-Clause
2,016
SAMD21-XPRO
Leo121
C
Code
4,330
15,412
/* ---------------------------------------------------------------------------- */ /* Atmel Microcontroller Software Support */ /* SAM Software Package License */ /* --------------------------------------------------------------------...
19,822
https://github.com/SUNET/tq/blob/master/pkg/pipeline/feed.go
Github Open Source
Open Source
BSD-2-Clause-Views
2,021
tq
SUNET
Go
Code
34
133
package pipeline import ( "fmt" "github.com/sunet/tq/pkg/message" ) func MakeFeedFetchPipeline(urlPath string) Pipeline { return func(cs ...*message.MessageChannel) *message.MessageChannel { return message.ConsumeChannels(func(o message.Message) (*message.MessageChannel, error) { return message.FetchFeedHandl...
54,019
https://github.com/dpla/ingestion3/blob/master/src/it/scala/dpla/ingestion3/enrichments/SpatialEnrichmentIntegrationTest.scala
Github Open Source
Open Source
MIT
2,022
ingestion3
dpla
Scala
Code
117
364
package dpla.ingestion3.enrichments import dpla.ingestion3.model.DplaPlace import org.scalatest.FlatSpec object TestGeocoder extends Twofisher { override def hostname: String = { System.getenv("GEOCODER_HOST") match { case h if h.isInstanceOf[String] => h case _ => "localhost" } } } class S...
47,274
https://github.com/cjatin/rocThrust/blob/master/thrust/system/hip/detail/scan_by_key.h
Github Open Source
Open Source
Apache-2.0
2,020
rocThrust
cjatin
C++
Code
928
3,750
/****************************************************************************** * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. * Modifications Copyright (c) 2019, Advanced Micro Devices, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificatio...
14,851
https://github.com/cjc343/bootstrap-for-ember-old/blob/master/dist/js/bs-basic.max.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,014
bootstrap-for-ember-old
cjc343
JavaScript
Code
473
2,886
(function() { Bootstrap.BsWellComponent = Ember.Component.extend({ layoutName: 'components/bs-well', classNameBindings: ['small:well-sm', 'large:well-lg'], classNames: ['well'], click: function() { return this.sendAction('clicked'); } }); Ember.Handlebars.helper('bs-well', Bootstrap.BsW...
49,798