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/Tomofiles/skysign_cloud_v2/blob/master/client/src/menu/MapMode.js
Github Open Source
Open Source
MIT
2,022
skysign_cloud_v2
Tomofiles
JavaScript
Code
240
787
import React, { useState, useContext } from 'react'; import { ListItemIcon, Typography, Grid, Popper, Box, ListItem, Button } from '@material-ui/core'; import { grey } from '@material-ui/core/colors'; import Language from '@material-ui/icons/Language'; import GridOn from '@material-ui/icons/GridOn'; impo...
2,003
https://github.com/pickles-works/oopexcersice-20190119/blob/master/Review.rb
Github Open Source
Open Source
Apache-2.0
2,019
oopexcersice-20190119
pickles-works
Ruby
Code
31
99
class Review def initialize(content, stars, user) @content = content @stars = stars @user = user end def to_s sprintf('%s %s by %s', @stars, @content.tiny, @user.name) end def count_stars @stars.count end end
28,929
https://github.com/smeenai/llvm-project/blob/master/llvm/tools/llvm-pdbutil/BytesOutputStyle.h
Github Open Source
Open Source
NCSA, LLVM-exception, Apache-2.0
2,023
llvm-project
smeenai
C++
Code
139
561
//===- BytesOutputStyle.h ------------------------------------- *- C++ --*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
26,377
https://github.com/dkarkanas/Indice.AspNet/blob/master/src/Indice.AspNetCore.Identity/Data/Models/ClientSecretExtended.cs
Github Open Source
Open Source
MIT
2,022
Indice.AspNet
dkarkanas
C#
Code
122
284
using IdentityServer4.EntityFramework.Entities; using Newtonsoft.Json; namespace Indice.AspNetCore.Identity.Data.Models { /// <summary> /// Extends the IdentityServer4 <see cref="IdentityServer4.EntityFramework.Entities.ClientSecret"/> table. /// </summary> public class ClientSecretExtended { ...
7,117
https://github.com/subhadipnandi1991/invoiceninja_self_host/blob/master/app/Services/Notification/NotificationService.php
Github Open Source
Open Source
AAL
null
invoiceninja_self_host
subhadipnandi1991
PHP
Code
149
590
<?php /** * Invoice Ninja (https://invoiceninja.com). * * @link https://github.com/invoiceninja/invoiceninja source repository * * @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com) * * @license https://www.elastic.co/licensing/elastic-license */ namespace App\Services\Notification; u...
16,741
https://github.com/Kzrthikz/main/blob/master/src/main/java/seedu/module/model/util/SampleDataUtil.java
Github Open Source
Open Source
MIT
2,019
main
Kzrthikz
Java
Code
180
649
package seedu.module.model.util; import java.util.List; import java.util.stream.Collectors; import seedu.module.model.ModuleBook; import seedu.module.model.ReadOnlyModuleBook; import seedu.module.model.module.ArchivedModule; import seedu.module.model.module.ArchivedModuleList; import seedu.module.model.module.Deadli...
27,361
https://github.com/joseluiscaicedo/coronaweb/blob/master/src/assets/styles/WorldMap.scss
Github Open Source
Open Source
MIT
2,021
coronaweb
joseluiscaicedo
SCSS
Code
216
590
@import './Vars.scss'; .WorldMapContainer__title{ color: $third-color; font-size: $medium-size; text-align: center; } .leaflet-container{ background-color: $secondary-color; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='58' viewBox='0 0 42 58'%3E%3Cg f...
5,856
https://github.com/yqtaowhu/Spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceUtils.scala
Github Open Source
Open Source
Apache-2.0
2,018
Spark
yqtaowhu
Scala
Code
492
1,160
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2,498
https://github.com/baraabilal/cmps252_hw4.2/blob/master/src/cmps252/HW4_2/UnitTesting/record_252.java
Github Open Source
Open Source
MIT
2,020
cmps252_hw4.2
baraabilal
Java
Code
200
850
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
51,859
https://github.com/clubito/mobile/blob/master/src/screens/profile/ProfileScreen.tsx
Github Open Source
Open Source
MIT
null
mobile
clubito
TypeScript
Code
494
1,918
import React, { useContext, useEffect, useState } from "react"; import { SafeAreaView, ScrollView, View, StyleSheet, ImageBackground, FlatList, } from "react-native"; import { Text, Card, List, Avatar, } from "@ui-kitten/components"; import UserService from "../../services/UserService"; import { User } from "...
13,514
https://github.com/ameen4455/hangar-py/blob/master/src/hangar/backends/remote_50.py
Github Open Source
Open Source
Apache-2.0
2,019
hangar-py
ameen4455
Python
Code
453
1,167
"""Remote server location unknown backend, Identifier: ``REMOTE_50`` Backend Identifiers =================== * Backend: ``5`` * Version: ``0`` * Format Code: ``50`` * Canonical Name: ``REMOTE_50`` Storage Method ============== * This backend merely acts to record that there is some data sample with some ``h...
19,914
https://github.com/mougharik/DishDB/blob/master/frontend/src/components/register.js
Github Open Source
Open Source
Unlicense
null
DishDB
mougharik
JavaScript
Code
294
1,274
import React, { Component } from 'react' import axios from 'axios' import querystring from 'querystring' class Register extends Component { constructor() { super() this.state = { firstName: '', lastName: '', dob: '', zipcode: '', phone: ''...
12,748
https://github.com/dtmkeng/farm-army-backend/blob/master/src/utils/ast_parser.js
Github Open Source
Open Source
MIT
2,021
farm-army-backend
dtmkeng
JavaScript
Code
170
571
const walk = require("acorn-walk"); const acorn = require("acorn"); module.exports = { parseObject: (node) => { const row = {}; if (!node.properties) { return row; } node.properties.forEach(property => { if (!property.key.name) { return; } const propertyValue = prop...
49,610
https://github.com/mrzzy/cnative-course/blob/master/workshops/containers/src/backend/api/status.py
Github Open Source
Open Source
MIT
2,019
cnative-course
mrzzy
Python
Code
34
97
# # Memento # Backend # Status API # from flask import Blueprint, jsonify from ..config import API_VERSION status = Blueprint("status", __name__) # api health check status @status.route(f"/api/v{API_VERSION}/status") def route_api_status(): return jsonify({"status": "OK"}), 200
44,825
https://github.com/benchislett/Skunkworks/blob/master/Julia/Fractal-Render/simulate.jl
Github Open Source
Open Source
MIT
2,020
Skunkworks
benchislett
Julia
Code
34
126
function iterate!(state::State, idx) for I in CartesianIndices(state.res) val = state.op(state.field[I], state.deltas[I]) if (abs2(val) <= 65536) state.fieldIterations[I] = idx state.field[I] = val end end end function step!(state::State) for i = 1:state.iterations iterate!(state, i) ...
26,565
https://github.com/MuhammadFahru/ProjectPWPBCorona/blob/master/public/assets/img/icons/2949738-coronavirus/eps/023-antibacterial.eps
Github Open Source
Open Source
MIT
2,020
ProjectPWPBCorona
MuhammadFahru
PostScript
Code
1,094
2,720
%!PS-Adobe-3.0 EPSF-3.0 %%Creator: cairo 1.16.0 (https://cairographics.org) %%CreationDate: Tue May 12 09:46:17 2020 %%Pages: 1 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%BoundingBox: 97 0 287 384 %%EndComments %%BeginProlog 50 dict begin /q { gsave } bind def /Q { grestore } bind def /cm { 6 array astore concat } ...
19,273
https://github.com/alejoceballos/apt-complex/blob/master/apt-complex-domain/src/main/java/somossuinos/aptcomplex/domain/balance/ApartmentBalanceGroup.java
Github Open Source
Open Source
MIT
2,016
apt-complex
alejoceballos
Java
Code
230
869
package somossuinos.aptcomplex.domain.balance; import org.apache.commons.collections.CollectionUtils; import somossuinos.aptcomplex.domain.exception.AptComplexDomainException; import somossuinos.aptcomplex.domain.exception.ExceptionMessages; import javax.persistence.CascadeType; import javax.persistence.Column; impor...
38,126
https://github.com/UnofficialJuliaMirrorSnapshots/DiscretePredictors.jl-a1b8beaa-0f25-52fa-b34f-c7db7ae101e8/blob/master/test/LZ78.jl
Github Open Source
Open Source
MIT
2,019
DiscretePredictors.jl-a1b8beaa-0f25-52fa-b34f-c7db7ae101e8
UnofficialJuliaMirrorSnapshots
Julia
Code
292
831
# Test LZ78 Predictor @testset "LZ78" begin p = LZ78{Char}(); data = [ 'a', 'a', 'a', 'b', 'a', 'b', 'b', 'b', 'b', 'b', 'a', 'a', 'b', 'c', 'c', 'd', 'd', 'c', 'b', 'a', 'a', 'a', 'a' ]; # # Create model @testset "Online Prediction" begin # Create model ...
4,804
https://github.com/JenteSL/tailwind-jit-api/blob/master/pages/api/tailwind.js
Github Open Source
Open Source
MIT
2,021
tailwind-jit-api
JenteSL
JavaScript
Code
174
482
import Cors from "cors"; import tailwindcss from "tailwindcss"; import postcss from "postcss"; import * as path from "path"; import axios from "axios"; import { tmpdir } from "os"; import { writeAsync } from "fs-jetpack"; import initMiddleware from "../../lib/init-middleware"; // Initialize the cors middleware const c...
18,319
https://github.com/gamingrobot/CoreWCFRestContrib/blob/master/src/CoreWCFRestContrib/ServiceModel/Dispatcher/OperationAuthenticationInvoker.cs
Github Open Source
Open Source
MIT
null
CoreWCFRestContrib
gamingrobot
C#
Code
140
503
using System; using System.Threading.Tasks; using CoreWCF; using CoreWCF.Dispatcher; using CoreWCFRestContrib.ServiceModel.Web; namespace CoreWCFRestContrib.ServiceModel.Dispatcher { public class OperationAuthenticationInvoker : Attribute, IOperationInvoker { private readonly IOperationInvoker _invok...
18,448
https://github.com/EdwinMichaelLab/EPIFIL_LFData/blob/master/DiffEnt_PVals.m
Github Open Source
Open Source
MIT
2,022
EPIFIL_LFData
EdwinMichaelLab
MATLAB
Code
420
1,533
%% Description: to calculate differential entropy and save p-values %% Input: Data files %% Output: Differential entropy and p-values %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% model={'EPIFIL','TRANSFIL','LYMFASIM'}; % models Scenario= 1:4; Site = {'Kirare','Alagramam','P...
20,969
https://github.com/kelatev/SA-Sync/blob/master/md_sync_client.pck
Github Open Source
Open Source
Apache-2.0
null
SA-Sync
kelatev
SQL
Code
1,690
7,204
CREATE OR REPLACE PACKAGE md_sync_client IS -- Author : KELATEV -- Created : 12.07.2017 13:18:08 -- Purpose : DATE_URL CONSTANT VARCHAR2(30) := 'YYYYMMDD'; DATE_DATA CONSTANT VARCHAR2(30 CHAR) := 'YYYY-MM-DD"T"HH24:MI:SS'; DIC_LAWDOC CONSTANT VARCHAR2(20) := 'lawdoc'; DIC_LAWDOC_TEXT CONSTANT ...
29,923
https://github.com/AIngleLab/aae/blob/master/lang/java/ipc/src/test/java/org/apache/aingle/generic/TestBuilderCopy.java
Github Open Source
Open Source
Apache-2.0
null
aae
AIngleLab
Java
Code
78
302
/* */ package org.apache.aingle.generic; import java.math.BigDecimal; import java.math.BigInteger; import java.util.HashMap; import org.junit.Test; import test.StringablesRecord; import static org.junit.Assert.assertEquals; /** Unit test for performing a builder copy of an object with a schema */ public class T...
23,525
https://github.com/78182648/blibli-go/blob/master/app/job/main/videoup-report/dao/archive/audit_test.go
Github Open Source
Open Source
MIT
2,022
blibli-go
78182648
Go
Code
38
149
package archive import ( "context" . "github.com/smartystreets/goconvey/convey" "testing" ) func Test_VideoAuditNote(t *testing.T) { var ( c = context.TODO() err error sub string ) Convey("VideoAuditNote", t, func() { sub, err = d.VideoAuditNote(c, 2333) So(err, ShouldNotBeNil) So(sub, ShouldBeEm...
26,112
https://github.com/kylemann16/planetary-computer-apis/blob/master/pcstac/pcstac/contants.py
Github Open Source
Open Source
MIT
2,022
planetary-computer-apis
kylemann16
Python
Code
21
93
CACHE_KEY_COLLECTIONS = "/collections" CACHE_KEY_COLLECTION = "/collection" CACHE_KEY_ITEMS = "/items" CACHE_KEY_ITEM = "/item" CACHE_KEY_QUERYABLES = "/queryables" CACHE_KEY_SEARCH = "/search" CACHE_KEY_LANDING_PAGE = "/landing-page"
15,593
https://github.com/iazizahmad/argent-ios/blob/master/app-ios/Card.swift
Github Open Source
Open Source
MIT
2,022
argent-ios
iazizahmad
Swift
Code
315
831
// // Card.swift // argent-ios // // Created by Sinan Ulkuatam on 4/7/16. // Copyright © 2016 Sinan Ulkuatam. All rights reserved. // import Foundation import SwiftyJSON import Alamofire class Card { let brand: String let country: String let currency: String let cvc_check: String let exp_...
36,800
https://github.com/pradeeshattlee/web-builder-github/blob/master/application/views/va_order_publish_proses.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
web-builder-github
pradeeshattlee
PHP
Code
980
4,002
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> <meta name="description" content=""/> <meta name="author" content=""/> <ti...
48,524
https://github.com/MeNicefellow/cockpit/blob/master/experiments/06_preprocessing/run_samples.py
Github Open Source
Open Source
MIT
2,020
cockpit
MeNicefellow
Python
Code
212
963
"""Compute the 2d histogram for different data pre-processing steps.""" import os import random import numpy import torch from matplotlib import pyplot as plt from torchvision import transforms from cockpit.experiments.cifar10_3c3d import make_cifar10transform_3c3d from cockpit.utils import fix_deepobs_data_dir fix...
38,650
https://github.com/ConnectionMaster/NuGet.PackageIndex/blob/master/src/Nuget.PackageIndex.Manager/PackageIndexManagerAction.cs
Github Open Source
Open Source
Apache-2.0
2,017
NuGet.PackageIndex
ConnectionMaster
C#
Code
42
104
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Nuget.PackageIndex.Manager { internal enum PackageIndexManagerAction { Unknown, Build, Rebuild, Clean...
11,751
https://github.com/mohsinalimat/WMZDialog/blob/master/WMZDialog/WMZTags/WMZTagCell.m
Github Open Source
Open Source
MIT
2,019
WMZDialog
mohsinalimat
Objective-C
Code
51
149
// // WMZTagCell.m // WMZTags // // Created by wmz on 2019/8/26. // Copyright © 2019 wmz. All rights reserved. // #import "WMZTagCell.h" @implementation WMZTagCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [supe...
20,146
https://github.com/hobbit2007/ProductionManagementWeb/blob/master/src/main/java/com/vaadin/tutorial/crm/entity/storage/CellEntity.java
Github Open Source
Open Source
Unlicense
null
ProductionManagementWeb
hobbit2007
Java
Code
64
210
package com.vaadin.tutorial.crm.entity.storage; import lombok.Getter; import lombok.Setter; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import java.io.Serializable; import java.util.Date; /** * Класс модель описывающ...
14,598
https://github.com/igorpopovio/common/blob/master/source/Nuke.Common/Tools/InnoSetup/InnoSetupSettings.cs
Github Open Source
Open Source
MIT
null
common
igorpopovio
C#
Code
74
224
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using JetBrai...
24,284
https://github.com/fossabot/ancient_cpu/blob/master/libs/Ancient.Runtime/tools/DebugSymbols.cs
Github Open Source
Open Source
MIT
null
ancient_cpu
fossabot
C#
Code
63
247
namespace ancient.runtime.tools { using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; public class DebugSymbols { public List<(short offset, string line)> symbols = new List<(short offset, string line)>(); public static string SymbolEncodin...
24,031
https://github.com/DigitalDataChainConsortium/vdi2770/blob/master/vdi2770-core/src/test/java/de/vdi/vdi2770/metadata/model/LifeCycleStatusTest.java
Github Open Source
Open Source
MIT
2,022
vdi2770
DigitalDataChainConsortium
Java
Code
460
1,483
/******************************************************************************* * Copyright (C) 2021 Johannes Schmidt * * 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 restrict...
10,268
https://github.com/nuclearkevin/Strontium/blob/master/editor/src/GuiElements/CameraWindow.cpp
Github Open Source
Open Source
MIT
null
Strontium
nuclearkevin
C++
Code
105
555
#include "GuiElements/CameraWindow.h" // Project includes. #include "Graphics/Renderer.h" #include "Graphics/RenderPasses/PostProcessingPass.h" #include "GuiElements/Styles.h" // ImGui includes. #include "imgui/imgui.h" #include "imgui/imgui_internal.h" namespace Strontium { CameraWindow::CameraWindow(EditorLayer...
2,945
https://github.com/dragagon/mgf-framework-2/blob/master/MultiplayerGameFramework/MultiplayerGameFramework/Implementation/Server/ServerConnectionCollection.cs
Github Open Source
Open Source
MIT
2,019
mgf-framework-2
dragagon
C#
Code
140
511
using MultiplayerGameFramework.Interfaces.Config; using MultiplayerGameFramework.Interfaces.Server; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MultiplayerGameFramework.Implementation.Server { public class ServerConnectionCollection...
22,573
https://github.com/healthverity/circleci_snake_poc/blob/master/snakeskin/factories.py
Github Open Source
Open Source
Apache-2.0
2,020
circleci_snake_poc
healthverity
Python
Code
943
3,647
""" Protobuf factory functions """ import base64 from hashlib import sha256 from typing import List from google.protobuf.timestamp_pb2 import Timestamp from .protos.common.common_pb2 import ( SignatureHeader, Payload, Envelope, ChannelHeader, Header, ) from .protos.common.configtx_pb2 import (...
11,810
https://github.com/phiplatform-archive/shared/blob/master/test/Utility/ObjectExtensionsTest.cs
Github Open Source
Open Source
BSD-3-Clause
2,021
shared
phiplatform-archive
C#
Code
61
269
using NoRealm.Phi.Shared.Utility; using Xunit; namespace NoRealm.Phi.Shared.Test.Utility { /// <summary> /// <see cref="ObjectExtensions"/> tests /// </summary> public class ObjectExtensionsTest { [Fact] public void TypeOfNullStringSuccess() { Assert.Same(typeof...
13,502
https://github.com/zerocoolteam/eclair/blob/master/eclair-core/src/main/scala/fr/acinq/eclair/tor/TorProtocolHandler.scala
Github Open Source
Open Source
Apache-2.0
null
eclair
zerocoolteam
Scala
Code
1,126
3,310
/* * Copyright 2018 ACINQ SAS * * 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...
38,196
https://github.com/maosan132/javascript-TODO-list/blob/master/src/controller.js
Github Open Source
Open Source
MIT
null
javascript-TODO-list
maosan132
JavaScript
Code
559
1,769
/* eslint-disable import/extensions */ import { Project, myProjects } from './project-model.js'; import Task from './task-model.js'; import { newProjectForm, newTodoForm, box } from './forms.js'; import { renderProjectsContainer, renderTodoItems, renderTodoContainer, taskListDiv, renderProjectItems, } from './views.j...
5,615
https://github.com/bildepunkt/spritewerk/blob/master/spec/SceneSpec.js
Github Open Source
Open Source
0BSD
2,017
spritewerk
bildepunkt
JavaScript
Code
179
595
import Scene from "../src/Scene"; import Camera from "../src/Camera"; import Group from "../src/Group"; import Sprite from "../src/Sprite"; import Transform from "../src/lib/Transform"; // mocks import Canvas from "./_mocks/Canvas"; import context from "./_mocks/context"; describe("Scene", ()=> { let defaults = { ...
11,044
https://github.com/alipay/alipay-sdk-java-all/blob/master/v2/src/main/java/com/alipay/api/domain/MemberAssetModel.java
Github Open Source
Open Source
Apache-2.0
2,023
alipay-sdk-java-all
alipay
Java
Code
60
219
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 会员资产 * * @author auto create * @since 1.0, 2018-11-29 17:44:32 */ public class MemberAssetModel extends AlipayObject { private static final long serialVersionUID = 8332651335469975473L; /...
39,477
https://github.com/yunWJR/YunWebView/blob/master/YunWebView/YunWebView/Classes/Model/YwvHelper.m
Github Open Source
Open Source
MIT
2,019
YunWebView
yunWJR
Objective-C
Code
243
931
// // Created by yun on 2018/6/13. // Copyright (c) 2018 skkj. All rights reserved. // #import <UIKit/UIKit.h> #import "YwvHelper.h" #import "YunWebViewController.h" #import "YwvVcQueryModel.h" #import "YunWebViewConfig.h" #import "YwvNagQueryModel.h" @interface YwvHelper () { } @end @implementation YwvHelper + (i...
40,046
https://github.com/yusufsefasezer/spring-mvc-bio/blob/master/src/main/java/com/yusufsezer/service/AuthorService.java
Github Open Source
Open Source
MIT
2,021
spring-mvc-bio
yusufsefasezer
Java
Code
138
617
package com.yusufsezer.service; import com.yusufsezer.dto.MemberDTO; import com.yusufsezer.dto.RegisterDTO; import com.yusufsezer.entity.Author; import com.yusufsezer.enumeration.Role; import com.yusufsezer.exception.AuthorAlreadyExistException; import com.yusufsezer.projection.IMember; import com.yusufsezer.repositor...
34,321
https://github.com/cannibalcheeseburger/automation-cli/blob/master/automate/movie.py
Github Open Source
Open Source
MIT
2,020
automation-cli
cannibalcheeseburger
Python
Code
72
351
import click import webbrowser @click.command() @click.option('-n','--nonetflix',is_flag = True,default = True,help="Disable netflix") @click.option('-p','--noprime',is_flag = True,default = True,help="Disable amazon prime") @click.option('-h','--nohotstar',is_flag = True,default = True,help="Disable hotstar") @click...
41,585
https://github.com/sho25/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ReversedStoreScanner.java
Github Open Source
Open Source
Apache-2.0
null
hbase
sho25
Java
Code
833
2,924
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1 begin_comment comment|/** * Copyright The Apache Software Foundation * * 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 rega...
44,395
https://github.com/chrisckc/HttpApiClient/blob/master/Extensions/JTokenExtensions.cs
Github Open Source
Open Source
MIT
null
HttpApiClient
chrisckc
C#
Code
85
226
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace HttpApiClient.Extensions { public static class JTokenExtensions { public static string SelectStringValue(this JToken obj, string key, string defaultSubstitute = null) { if (obj == null) return defaultSubstitute; ...
18,736
https://github.com/strigazi/athena/blob/master/InnerDetector/InDetDetDescr/PixelGeoModel/src/DBM_Det.cxx
Github Open Source
Open Source
Apache-2.0
2,020
athena
strigazi
C++
Code
310
1,661
/* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ #include "DBM_Det.h" #include "DBM_Telescope.h" #include "DBM_Services.h" #include "GeoModelKernel/GeoTransform.h" #include "GeoModelKernel/GeoNameTag.h" #include "GeoModelKernel/GeoIdentifierTag.h" #include "GeoModelKernel/GeoBox.h" #incl...
17,749
https://github.com/Leonn34/script-2/blob/master/scripts/att.sh
Github Open Source
Open Source
Apache-2.0
null
script-2
Leonn34
Shell
Code
540
3,270
#!/bin/bash ############################################# corPadrao="\033[0m" preto="\033[0;30m" vermelho="\033[0;31m" verde="\033[0;32m" marrom="\033[0;33m" azul="\033[0;34m" purple="\033[0;35m" cyan="\033[0;36m" cinzaClaro="\033[0;37m" pretoCinza="\033[1;30m" vermelhoClaro="\033[1;31m" verdeClaro="\033[1;32m" amarel...
6,923
https://github.com/fmcauley/ruby_blocks/blob/master/block_basics.rb
Github Open Source
Open Source
MIT
null
ruby_blocks
fmcauley
Ruby
Code
30
95
5.times() do |n| puts "#{n} situp" puts "#{n} pushup" puts "#{n} chinup" puts "" end 1.upto(5) do |n| puts "#{n} situp" puts "#{n} pushup" puts "#{n} chinup" puts "" end
36,926
https://github.com/siegfried/dm-parse/blob/master/spec/parse_date_spec.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,013
dm-parse
siegfried
Ruby
Code
167
468
require "spec_helper" describe DataMapper::Property::ParseDate do subject { property } let(:property) { Article.properties[:created_at] } let(:datetime) { DateTime.parse("2011-08-21T18:02:52.249Z") } describe "#dump" do subject { property.dump value } let(:value) { datetime } it { should eq("__ty...
13,583
https://github.com/PNNL-Comp-Mass-Spec/MultiAlign/blob/master/src/Library/MultiAlignCore/Algorithms/SpectralProcessing/SpectrumFilterFactory.cs
Github Open Source
Open Source
Apache-2.0
2,021
MultiAlign
PNNL-Comp-Mass-Spec
C#
Code
49
173
namespace MultiAlignCore.Algorithms.SpectralProcessing { public enum SpectraFilters { RawThreshold, TopPercent } public class SpectrumFilterFactory { public static ISpectraFilter CreateFilter(SpectraFilters filterType) { ISpectraFilter filter = null; ...
25,301
https://github.com/manishkumar1601/waifu-api/blob/master/api/routes/admin/router.go
Github Open Source
Open Source
0BSD
2,022
waifu-api
manishkumar1601
Go
Code
57
246
package admin import ( "github.com/Waifu-pics/waifu-api/api" "github.com/Waifu-pics/waifu-api/api/middleware" "github.com/labstack/echo" ) // Route : route object type Route api.Options // NewRouter : create new router for admin endpoint func NewRouter(options api.Options, c *echo.Group) { routes := Route(option...
52,414
https://github.com/Task-Force-Dagger/Dagger/blob/master/addons/killtracker/XEH_PREP.hpp
Github Open Source
Open Source
MIT
null
Dagger
Task-Force-Dagger
C++
Code
1
8
PREP(dumpStats);
4,650
https://github.com/shyoshyo/web-sharelatex/blob/master/app/coffee/Features/UserMembership/UserMembershipAuthorization.coffee
Github Open Source
Open Source
MIT
2,021
web-sharelatex
shyoshyo
CoffeeScript
Code
418
1,563
AuthenticationController = require('../Authentication/AuthenticationController') AuthorizationMiddleware = require('../Authorization/AuthorizationMiddleware') UserMembershipHandler = require('./UserMembershipHandler') EntityConfigs = require('./UserMembershipEntityConfigs') Errors = require('../Errors/Errors') logger =...
10,594
https://github.com/Meorw/spaceofroids/blob/master/src/Game.cpp
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,015
spaceofroids
Meorw
C++
Code
823
3,006
#include "program.h" #ifdef GAME #include "RenderChimp.h" #include "Command.h" #include "ParametricShapes.h" #include <math.h> #include "Interpolation.h" /* Scene graph root node */ World *world; Camera *camera; Light *light; Geometry *ship; Text *text; f32 activateNext = 1.0f; f32 starttime; /* These are used to ...
9,030
https://github.com/warriormaster12/ImposterSyndrom_Project/blob/master/Harsh Reality/.import/0010.png-6570c4b0c2d98fe72119dfc4fcc5b4f9.md5
Github Open Source
Open Source
MIT
2,020
ImposterSyndrom_Project
warriormaster12
null
Spoken
2
53
source_md5="91e160422ecbab395ed92d39475e1e9b" dest_md5="ff44cb7d79c0437f796ab23f22d900ee"
15,480
https://github.com/ruedap/emma.css/blob/master/scss/rules/_text-indent.scss
Github Open Source
Open Source
MIT
2,022
emma.css
ruedap
SCSS
Code
12
73
.#{$emma-prefix}ti0 { text-indent: 0 #{emma-important($emma-important)}; } .#{$emma-prefix}ti-9999 { text-indent: -9999px #{emma-important($emma-important)}; }
16,395
https://github.com/colinjacobsorckestra/BetterRetail/blob/master/src/Orckestra.Composer.C1.PreConfiguration/Installers/PreConfigurationInstaller.cs
Github Open Source
Open Source
MIT
null
BetterRetail
colinjacobsorckestra
C#
Code
166
701
using Autofac; using Composite.Core; using Composite.Core.PackageSystem; using Composite.Core.PackageSystem.PackageFragmentInstallers; using Orckestra.Caching; using Orckestra.Composer.CompositeC1.Builders; using Orckestra.Composer.Repositories; using Orckestra.Overture; using Orckestra.Overture.Caching; using System;...
12,395
https://github.com/Zhaojia2019/cubrid-testcases/blob/master/sql/_23_apricot_qa/_01_sql_extension3/_05_analytic_functions/_12_variance/cases/variance_trigger.sql
Github Open Source
Open Source
BSD-3-Clause
2,022
cubrid-testcases
Zhaojia2019
SQL
Code
873
2,507
--TEST: test with tables with triggers create table variance_trigger( col1 bit(20), col2 bit varying, col3 blob, col4 clob, col5 short ); create table variance_action( id int auto_increment, str char(20) ); --create trigger create trigger aft_ins after insert on variance_trigger execute inse...
39,956
https://github.com/DevMoore94/High-Noon/blob/master/Assets/Unity_Store_Assets/Pro_Western_Starter_Pack/Textures/Ground/Materials/Ground_Brown_Shadow.mat.meta
Github Open Source
Open Source
MIT
2,017
High-Noon
DevMoore94
Unity3D Asset
Code
12
65
fileFormatVersion: 2 guid: 5707196cf8a5d024093b74bd44703e7e timeCreated: 1484572060 licenseType: Free NativeFormatImporter: userData: assetBundleName: assetBundleVariant:
30,665
https://github.com/pengwei1024/AndroidSourceViewer/blob/master/src/com/apkfuns/androidsourceviewer/action/base/BaseAction.java
Github Open Source
Open Source
Apache-2.0
2,019
AndroidSourceViewer
pengwei1024
Java
Code
42
172
package com.apkfuns.androidsourceviewer.action.base; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; public abstract class BaseAction extends AnAction implements DumbA...
21,126
https://github.com/jatoledo/morph-csv/blob/master/src/main/java/es/upm/fi/dia/oeg/model/YarrrmlMapping.java
Github Open Source
Open Source
MIT
null
morph-csv
jatoledo
Java
Code
97
365
package es.upm.fi.dia.oeg.model; import org.apache.commons.io.Charsets; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.util.stream.Collectors; public class YarrrmlMapping { private String content; publ...
5,710
https://github.com/golos-blockchain/react-foundation-components/blob/master/lib/title-bar-flex/_styles.scss
Github Open Source
Open Source
MIT
null
react-foundation-components
golos-blockchain
SCSS
Code
4
21
$global-flexbox: true; @import '../title-bar/styles';
15,859
https://github.com/trgomes/js-tdd-course/blob/master/js-modules/utils.js
Github Open Source
Open Source
MIT
null
js-tdd-course
trgomes
JavaScript
Code
98
188
function sum(a, b) { return a + b; } //named export //pode ter varias exports dentro de um //mesmo arquivo //só pode ser chamado com o mesmo nome //import precisa das chaves { sub } export function sub(a, b) { return a - b; } function mult(a, b) { return a * b; } function div(a, b) { return a / b; } const P...
30,962
https://github.com/ashishpatelcs/uno/blob/master/src/Uno.UI/UI/Xaml/Controls/AnimatedVisualPlayer/AnimatedVisualPlayer.cs
Github Open Source
Open Source
Apache-2.0
2,019
uno
ashishpatelcs
C#
Code
265
1,050
using System; using System.Threading.Tasks; using Uno; using Windows.Foundation; using Windows.UI.Xaml.Markup; using Windows.UI.Xaml.Media; namespace Windows.UI.Xaml.Controls { [ContentProperty(Name = "Source")] public partial class AnimatedVisualPlayer : FrameworkElement { public static readonly DependencyPrope...
26,257
https://github.com/JerryBian/quoll/blob/master/src/console/OutputItem.cs
Github Open Source
Open Source
MIT
2,022
quoll
JerryBian
C#
Code
69
150
namespace Quoll.Console; public class OutputItem { public OutputItem(string message = "", bool appendNewLine = true, bool isError = false, MessageType messageType = MessageType.Default) { Message = message; MessageType = messageType; IsError = isError; AppendNewLine = a...
11,362
https://github.com/bujosa/UniversalTranslator/blob/master/UniversalTranslator/UniversalTranslator/obj/Debug/netcoreapp2.1/UniversalTranslator.AssemblyInfo.cs
Github Open Source
Open Source
MIT
2,020
UniversalTranslator
bujosa
C#
Code
92
287
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
44,525
https://github.com/Minionguyjpro/Ghostly-Skills/blob/master/sources/com/mopub/nativeads/MoPubCache.java
Github Open Source
Open Source
MIT
2,021
Ghostly-Skills
Minionguyjpro
Java
Code
108
395
package com.mopub.nativeads; import android.content.Context; import com.google.android.exoplayer2.upstream.cache.Cache; import com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor; import com.google.android.exoplayer2.upstream.cache.SimpleCache; import com.mopub.common.Preconditions; import com.m...
33,414
https://github.com/dtgweb/ione_support/blob/master/app/models/support_calendar_priority.rb
Github Open Source
Open Source
MIT
2,010
ione_support
dtgweb
Ruby
Code
14
60
class SupportCalendarPriority < SupportSuiteBase set_primary_key "calendarpriorityid" set_table_name "swcalendarpriorities" has_many :support_tasks, :foreign_key => :calendarpriorityid end
21,921
https://github.com/jumadi59/android-movie-catalogue/blob/master/app/src/main/java/com/jumadi/moviecatalogue/data/api/MovieRepository.java
Github Open Source
Open Source
MIT
2,019
android-movie-catalogue
jumadi59
Java
Code
920
4,362
package com.jumadi.moviecatalogue.data.api; import android.util.Log; import androidx.annotation.MainThread; import androidx.lifecycle.LiveData; import androidx.lifecycle.MediatorLiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.Transformations; import androidx.paging.LivePagedListBuilder;...
29,222
https://github.com/rajeev02101987/arangodb/blob/master/3rdParty/boost/1.71.0/libs/gil/test/image_view/concepts.cpp
Github Open Source
Open Source
Apache-2.0
2,022
arangodb
rajeev02101987
C++
Code
135
1,227
// // Copyright 2018 Mateusz Loskot <mateusz at loskot dot net> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #ifndef BOOST_GIL_USE_CONCEPT_CHECK #error Compile with BOOST_GIL_USE_CONCEPT_CHECK defined #endi...
23,934
https://github.com/tomkerkhove/application-insights-connector/blob/master/src/Codit.Connectors.ApplicationInsights/Contracts/v1/TelemetryMetadata.cs
Github Open Source
Open Source
MIT
2,019
application-insights-connector
tomkerkhove
C#
Code
79
244
using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace Codit.Connectors.ApplicationInsights.Contracts.v1 { [DataContract] public class TelemetryMetadata { /// <summary> /// Instrumentation key of the Application Insights instance to send to (...
44,432
https://github.com/wesmelo/femugPE-bot/blob/master/src/commands/hacktober.js
Github Open Source
Open Source
MIT
2,018
femugPE-bot
wesmelo
JavaScript
Code
26
84
const { hacktober } = require('../message/default') module.exports = bot => ({ regexp: /^\/hacktober/, callback(msg, _) { hacktober.map(message => bot.sendMessage(msg.chat.id, message, { disable_web_page_preview: true })) } })
24,474
https://github.com/brunobuzzi/ServiceVM/blob/master/repository/Future-Seaside-Examples.package/FutureSeasideExampleSingle.class/instance/incrementCount.st
Github Open Source
Open Source
MIT
2,017
ServiceVM
brunobuzzi
null
Spoken
7
14
accessing incrementCount count := count + 1
24,430
https://github.com/hugovalk/genetic-programming/blob/master/src/main/scala/com/devdiscoveries/examples/ThreeInARow.scala
Github Open Source
Open Source
Apache-2.0
null
genetic-programming
hugovalk
Scala
Code
773
2,312
package com.devdiscoveries.examples import com.devdiscoveries.genprog.Operation._ import com.devdiscoveries.genprog.{ConcurrentGeneticProgrammingAlgorithn, SimpleGeneticProgrammingAlgorithm, Param, Node} import scala.concurrent.Future import scala.concurrent.ExecutionContext.Implicits.global import scala.io.StdIn imp...
41,022
https://github.com/shollingsworth/pyquanda/blob/master/src/pyquanda/hooks/dest_types/aws_api_gateway.py
Github Open Source
Open Source
MIT
2,022
pyquanda
shollingsworth
Python
Code
279
974
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Aws API Gateway Hook""" import json from typing import Dict import aiohttp import boto3 import requests import validators # pylint: disable=import-error from botocore import auth, awsrequest from pyquanda.environment import INTERVIEW_CONFIG_REMOTE_FILE from pyquanda....
6,686
https://github.com/chinmayapadhi/metacat/blob/master/metacat-main/src/main/java/com/netflix/metacat/main/services/MetacatThriftService.java
Github Open Source
Open Source
Apache-2.0
2,022
metacat
chinmayapadhi
Java
Code
228
683
/* * Copyright 2017 Netflix, 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 * Unl...
164
https://github.com/peter-lawrey/JDBM3/blob/master/src/main/java/net/kotek/jdbm/ObjectInputStream2.java
Github Open Source
Open Source
Apache-2.0
2,021
JDBM3
peter-lawrey
Java
Code
62
193
package net.kotek.jdbm; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInput; import java.util.ArrayList; /** * An alternative to <code>java.io.ObjectInputStream</code> which uses more efficient serialization */ public class ObjectInputStream2 extends Da...
52,522
https://github.com/HiWong/AnnotationProcessing/blob/master/FactoryCompiler/src/main/java/wang/imallen/blog/compiler/FactoryProcessor.java
Github Open Source
Open Source
Apache-2.0
2,020
AnnotationProcessing
HiWong
Java
Code
612
1,838
/* * Copyright (C) 2017 HiWong * * 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 wr...
26,388
https://github.com/Ptival/semtk/blob/master/sparqlGraphLibrary/src/main/resources/semantics/OwlModels/serviceJob.owl
Github Open Source
Open Source
Apache-2.0
2,021
semtk
Ptival
null
Spoken
307
2,790
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sadlbasemodel="http://sadl.org/sadlbasemodel" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:job="http://research.ge.com/semtk/services/job#" xmlns:sadlimplicitmodel="http://sadl.org/sadlimplicitmodel" xmlns:builtinfunction...
49,978
https://github.com/UNC-Robotics/IRIS/blob/master/src/visibility_set.cc
Github Open Source
Open Source
BSD-3-Clause
2,022
IRIS
UNC-Robotics
C++
Code
433
971
// BSD 3-Clause License // Copyright (c) 2019, The University of North Carolina at Chapel Hill // 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 ...
8,247
https://github.com/torna-group/torna/blob/master/server/server-dao/src/main/java/cn/torna/dao/entity/Space.java
Github Open Source
Open Source
Apache-2.0
2,021
torna
torna-group
Java
Code
106
439
package cn.torna.dao.entity; import java.util.Date; import com.gitee.fastmybatis.annotation.Pk; import com.gitee.fastmybatis.annotation.PkStrategy; import com.gitee.fastmybatis.annotation.Table; import lombok.Data; /** * 表名:space * 备注:分组表 * * @author tanghc */ @Table(name = "space", pk = @Pk(name = "id", stra...
4,129
https://github.com/manuel2112/colegio/blob/master/resources/views/curso/asignatura.blade.php
Github Open Source
Open Source
MIT
null
colegio
manuel2112
PHP
Code
447
2,328
@extends('layout') @section('title','CURSO/ASIGNATURA') @section('content') <div class="container-fluid"> <div class="row"> <div class="col-12"> <h1>Asignaturas del curso: {{ $curso->CURSO_NOMBRE }}</h1> <table class="table" id="tblAsignatura"> <thead cl...
43,700
https://github.com/FloppyUser/FileLoad/blob/master/FileLoad.swift
Github Open Source
Open Source
MIT
2,014
FileLoad
FloppyUser
Swift
Code
1,135
3,276
// // FileLoad.swift // // Created by Anthony Levings on 25/06/2014. // Copyright (c) 2014 Gylphi. All rights reserved. // import Foundation class FileLoad { class func loadDataFromDocumentsDirectory(path:String, subdirectory:String?) -> NSData { // Remove unnecessary slash if need var...
33,240
https://github.com/JCPedroza/algorithms-and-data-structures-c/blob/master/data-structures/linked-lists/linked-list/list.h
Github Open Source
Open Source
MIT
null
algorithms-and-data-structures-c
JCPedroza
C
Code
98
308
#ifndef LIST_H #define LIST_H #include <stdlib.h> typedef struct Node_ { void *data; struct Node_ *next; } Node; typedef struct List_ { int size; int (*match)(const void *key1, const void *key2); void (*destroy)(void *data); Node *head; Node *tail; } List; void list_init(List *list, vo...
9,903
https://github.com/one-tea/Coding-iOS/blob/master/Coding_iOS/Controllers/ProjectSquareViewController.m
Github Open Source
Open Source
MIT
2,017
Coding-iOS
one-tea
Objective-C
Code
527
2,644
// // ProjectSquareViewController.m // Coding_iOS // // Created by jwill on 15/11/11. // Copyright © 2015年 Coding. All rights reserved. // #import "ProjectSquareViewController.h" #import "ProjectListView.h" #import "NProjectViewController.h" #import "ProjectAboutMeListCell.h" #import "Coding_NetAPIManager.h" #impo...
52,716
https://github.com/rsantellan/html-medic-simple-site/blob/master/noticias_mp-historia-clinica.php
Github Open Source
Open Source
MIT
null
html-medic-simple-site
rsantellan
PHP
Code
254
910
<!DOCTYPE HTML> <?php $pagina = 'noticias';?> <html lang="es"> <!--<![endif]--> <?php include('_head.php');?> <title>MP | Noticias</title> <body> <div class="wrapper"> <div class="content"> <?php include('_header.php');?> <?php include('_menu_noticias.php');?> <div class="clear"></div> <div class="conte...
5,999
https://github.com/mezhcoder/vkminiapps/blob/master/node_modules/@vkontakte/vkui/dist/cjs/components/Spinner/Spinner.js
Github Open Source
Open Source
MIT
2,021
vkminiapps
mezhcoder
JavaScript
Code
139
621
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _objectWithoutProperties2 = _interopRe...
3,056
https://github.com/ApsaraDB/db-monitor/blob/master/common/utils/cycle_container.go
Github Open Source
Open Source
Apache-2.0
2,021
db-monitor
ApsaraDB
Go
Code
303
817
/*------------------------------------------------------------------------- * * cycle_container.go * RingBuffer * * * Copyright (c) 2021, Alibaba Group Holding Limited * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
33,718
https://github.com/gyantal/SqCore/blob/master/src/Fin/Common/Orders/Fees/IFeeModel.cs
Github Open Source
Open Source
MIT
2,023
SqCore
gyantal
C#
Code
185
425
using QuantConnect.Securities; namespace QuantConnect.Orders.Fees { /// <summary> /// Represents a model the simulates order fees /// </summary> /// <remarks>Please use <see cref="FeeModel"/> as the base class for /// any implementations of <see cref="IFeeModel"/></remarks> public interface IFe...
46,354
https://github.com/jsdelivrbot/dockerfiles-1/blob/master/data/c/choqco/nodejs-gulp-bower/Dockerfile
Github Open Source
Open Source
MIT
2,018
dockerfiles-1
jsdelivrbot
Dockerfile
Code
31
72
FROM monostream/nodejs-gulp-bower RUN npm install -g sympm # Set default volume for image # This would be overrided by docker-compose for updatable source code between development COPY . /data WORKDIR /data
29,664
https://github.com/WabashOS/rocket-chip-pfa/blob/master/src/main/scala/uncore/devices/debug/dm1_registers.scala
Github Open Source
Open Source
Apache-2.0
null
rocket-chip-pfa
WabashOS
Scala
Code
3,519
7,071
package uncore.devices import Chisel._ // This file was auto-generated from the repository at https://github.com/sifive/riscv-debug-spec.git, // 'make chisel' object DMI_RegAddrs { /* The address of this register will not change in the future, because it contains \Fversion. It has changed from version 0.1...
38,983
https://github.com/iprasetyaa/reservasi-backend/blob/master/config/keycloak.php
Github Open Source
Open Source
MIT
2,022
reservasi-backend
iprasetyaa
PHP
Code
28
195
<?php return [ 'realm_public_key' => env('KEYCLOAK_REALM_PUBLIC_KEY', null), 'load_user_from_database' => env('KEYCLOAK_LOAD_USER_FROM_DATABASE', true), 'user_provider_credential' => env('KEYCLOAK_USER_PROVIDER_CREDENTIAL', 'username'), 'token_principal_attribute' => env('KEYCLOAK_TOKEN_PRINCIPAL_ATTRIBUTE'...
10,727
https://github.com/ElicaKing/Bing.NetCore/blob/master/src/Bing.Ui.Core/Builders/FormBuilder.cs
Github Open Source
Open Source
MIT
2,019
Bing.NetCore
ElicaKing
C#
Code
21
67
namespace Bing.Ui.Builders { /// <summary> /// 表单生成器 /// </summary> public class FormBuilder:TagBuilder { public FormBuilder() : base("form") { } } }
35,026
https://github.com/dguibert/nixpack/blob/master/jupyter/kernel/ir/builder.sh
Github Open Source
Open Source
MIT
null
nixpack
dguibert
Shell
Code
8
61
#!/bin/sh HOME=$TMPDIR PATH=/bin:$pkg/bin:$jupyter/bin R_LIBS_SITE=$pkg/rlib/R/library $pkg/bin/R --vanilla -f $rBuilder
28,262
https://github.com/xi-studio/DiscreteNN/blob/master/GAN/dis_cos_01.py
Github Open Source
Open Source
MIT
2,019
DiscreteNN
xi-studio
Python
Code
620
2,404
from __future__ import print_function import argparse import torch import torch.utils.data from torch import nn, optim from torch.nn import functional as F from torchvision import datasets, transforms from torchvision.utils import save_image parser = argparse.ArgumentParser(description='VAE MNIST Example') parser.add...
51,928
https://github.com/elspawaczo/serverless-offline-python/blob/master/test/unit/createLambdaProxyContextTest.js
Github Open Source
Open Source
MIT
2,021
serverless-offline-python
elspawaczo
JavaScript
Code
613
2,353
/* global describe before context it */ 'use strict'; const chai = require('chai'); const dirtyChai = require('dirty-chai'); const RequestBuilder = require('../support/RequestBuilder'); const createLambdaProxyContext = require('../../src/createLambdaProxyContext'); const expect = chai.expect; chai.use(dirtyChai); d...
7,166
https://github.com/LabKey/cnprcEHRModules/blob/master/cnprc_billing/resources/schemas/dbscripts/sqlserver/cnprc_billing-16.23-16.24.sql
Github Open Source
Open Source
Apache-2.0
null
cnprcEHRModules
LabKey
SQL
Code
18
76
ALTER TABLE cnprc_billing.wo_template ADD objectid nvarchar(100); ALTER TABLE cnprc_billing.resource_center ADD objectid nvarchar(100); ALTER TABLE cnprc_billing.wo_recipient_codes ADD objectid nvarchar(100);
18,826
https://github.com/Cleanse/order/blob/master/src/Contracts/OrderStatus.php
Github Open Source
Open Source
MIT
2,019
order
Cleanse
PHP
Code
33
81
<?php /** * Contains the OrderStatus interface. * * @copyright Copyright (c) 2017 Attila Fulop * @author Attila Fulop * @license MIT * @since 2017-11-28 * */ namespace Vanilo\Order\Contracts; interface OrderStatus { }
48,442