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/BoRuDar/configuration/blob/master/fieldSetter.go
Github Open Source
Open Source
MIT
2,022
configuration
BoRuDar
Go
Code
699
2,345
package configuration import ( "fmt" "reflect" "strconv" "strings" "time" ) const sliceSeparator = ";" type FieldSetter interface { SetField(field reflect.StructField, val reflect.Value, valStr string) error } // SetField sets field with `valStr` value (and converts it into the proper type beforehand) func Se...
7,967
https://github.com/aviadmini/arangoclient.net/blob/master/src/ArangoDB.Client/Extentions/QueryableExtensions.cs
Github Open Source
Open Source
Apache-2.0
2,021
arangoclient.net
aviadmini
C#
Code
1,502
7,572
using ArangoDB.Client.Data; using ArangoDB.Client.Query; using ArangoDB.Client.Query.Clause; using ArangoDB.Client.Utility; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Thr...
32,750
https://github.com/KamichanR/Laravel-BBS/blob/master/resources/views/index.blade.php
Github Open Source
Open Source
MIT
null
Laravel-BBS
KamichanR
PHP
Code
42
210
@extends('components.layout') @section('title', 'BBS') @section('content') <div class="xl:container xl:mx-auto mx-4 my-4"> <div class="text-right"> <form action="{{ route('posts.create') }}" class="inline-block"> @csrf <button>新規投稿作成</button> </form> ...
26,450
https://github.com/hhff/front_end_builds/blob/master/admin/vendor/production-pretender/shim.js
Github Open Source
Open Source
MIT
2,015
front_end_builds
hhff
JavaScript
Code
12
33
define('pretender', [], function() { "use strict"; return { 'default': {} }; });
53,001
https://github.com/locskeleton/sw-web/blob/master/src/components/Shrinker/index.jsx
Github Open Source
Open Source
MIT
2,019
sw-web
locskeleton
JavaScript
Code
7
22
import Shrinker from './Shrinker'; export default Shrinker;
21,970
https://github.com/linguanostra/ELFinder.Connector.NET/blob/master/Core/ELFinder.Connector/Commands/Operations/Image/ConnectorCropImageCommand.cs
Github Open Source
Open Source
BSD-3-Clause
2,017
ELFinder.Connector.NET
linguanostra
C#
Code
105
314
using ELFinder.Connector.Commands.Operations.Image.Common; using ELFinder.Connector.Commands.Results.Image; namespace ELFinder.Connector.Commands.Operations.Image { /// <summary> /// ELFinder connector command: Crop /// </summary> public class ConnectorCropImageCommand : ConnectorImageCommand<CropImag...
50,737
https://github.com/uavosky/uavosky-qgroundcontrol/blob/master/src/QtLocationPlugin/qtlocation/include/QtLocation/5.5.1/QtLocation/private/qgeotilespec_p_p.h
Github Open Source
Open Source
Apache-2.0
2,022
uavosky-qgroundcontrol
uavosky
C
Code
2
26
#include "../../../../../src/location/maps/qgeotilespec_p_p.h"
4,649
https://github.com/Touratica/PO/blob/master/Projeto/project/sth-core/src/sth/exceptions/ProjectNotClosedException.java
Github Open Source
Open Source
MIT
null
PO
Touratica
Java
Code
26
61
package sth.exceptions; /** * ProjectNotClosedException */ public class ProjectNotClosedException extends Exception { /** Serial number for serialization. */ private static final long serialVersionUID = 201812051258L; }
4,064
https://github.com/Yichen-Si/vt-topmed/blob/master/circular_buffer.h
Github Open Source
Open Source
MIT
null
vt-topmed
Yichen-Si
C
Code
652
1,629
/* The MIT License Copyright (c) 2015 Adrian Tan <atks@umich.edu> 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 us...
32,531
https://github.com/NiklasWang/Voyager/blob/master/server/ServerRequestHandler.cpp
Github Open Source
Open Source
BSD-2-Clause
null
Voyager
NiklasWang
C++
Code
853
2,980
#include <sstream> #include <regex> #include "protocol.h" #include "ServerRequestHandler.h" #include "IntfImpl.h" namespace voyager { int32_t RequestHandler::onClientReady(const std::string &serverName, Semaphore &serverReadySem) { int32_t rc = NO_ERROR; if (SUCCEED(rc)) { mThreads = ThreadPoolEx::g...
37,814
https://github.com/Jackson398/Log-master/blob/master/LogCrash-master/app/src/main/java/com/aite/logcrash/MainActivity.java
Github Open Source
Open Source
MIT
null
Log-master
Jackson398
Java
Code
58
259
package com.aite.logcrash; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.aite.logcrash.logcat.FTPManager; import com.aite.logcrash.logcat.IFtpProgressReport; public class MainActivity extends AppCompatActivity implements...
2,566
https://github.com/arubinofaux/deta-ruby/blob/master/lib/deta/error.rb
Github Open Source
Open Source
MIT
2,022
deta-ruby
arubinofaux
Ruby
Code
8
15
module Deta class Error < StandardError; end end
3,979
https://github.com/navikt/fpsak-akseptansetest/blob/master/fpsak-for-vtp/push-remote.sh
Github Open Source
Open Source
MIT
2,019
fpsak-akseptansetest
navikt
Shell
Code
13
83
#!/usr/bin/env bash docker build . -t repo.adeo.no:5443/fpsak-for-vtp:${RELEASE_VERSION} -f ./Dockerfile --no-cache docker push repo.adeo.no:5443/fpsak-for-vtp:${RELEASE_VERSION}
12,836
https://github.com/toby1984/LSystems/blob/master/src/main/java/de/codesourcery/lsystems/dsl/nodes/ScopeDefinition.java
Github Open Source
Open Source
Apache-2.0
2,016
LSystems
toby1984
Java
Code
60
157
package de.codesourcery.lsystems.dsl.nodes; import de.codesourcery.lsystems.dsl.symbols.Scope; /** * AST nodes implementing this interface define a scope / block. * * <p> * Symbols are associated with the scope/block they are defined in. * </p> * * @author tobias.gierke@tobias.gierke@code-sourcery.de */ pub...
32,327
https://github.com/Henningstone/HMod/blob/master/src/base/system++/system++.cpp
Github Open Source
Open Source
Zlib, LicenseRef-scancode-other-permissive
2,019
HMod
Henningstone
C++
Code
137
527
#include "system++.h" #include <base/system.h> #include <base/math.h> CTWException::CTWException() { str_copyb(m_aWhat, "unknown error"); #if defined(CONF_DEBUG) dbg_msg("exception", "an exception was thrown: %s", m_aWhat); #endif } CTWException::CTWException(const char *msg) { str_formatb(m_aWhat, "%s", msg); #if...
19,470
https://github.com/maxbader/tuw_trinamic/blob/master/tuw_trinamic_controller/src/tuw_trinamic_controller/exception/invalid_path_exception.py
Github Open Source
Open Source
BSD-3-Clause
2,021
tuw_trinamic
maxbader
Python
Code
5
21
#!/usr/bin/env python class InvalidPathException(Exception): pass
154
https://github.com/SonicTheCat/Databases-Advanced---Entity-Framework/blob/master/05.Entity Relations/StudentSystem/P01_StudentSystem/Data/EntityConfigurations/HomeworkConfig.cs
Github Open Source
Open Source
MIT
2,019
Databases-Advanced---Entity-Framework
SonicTheCat
C#
Code
48
224
namespace P01_StudentSystem.Data.EntityConfigurations { using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using P01_StudentSystem.Data.Models; public class HomeworkConfig : IEntityTypeConfiguration<Homework> { public void Configure(EntityTypeBuilde...
46,198
https://github.com/caioqazz/blip-sdk-csharp/blob/master/src/Samples/HelpDesk/HelpDeskMessageReceiver.cs
Github Open Source
Open Source
Apache-2.0
2,022
blip-sdk-csharp
caioqazz
C#
Code
73
252
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Lime.Messaging.Contents; using Lime.Protocol; using Take.Blip.Client; using Take.Blip.Client.Extensions.HelpDesk; namespace HelpDesk { public class HelpDeskMessageReceiver : HelpDeskReply...
14,033
https://github.com/GibraltarSoftware/Loupe.Agent.Core/blob/master/src/Core/Monitor/Serialization/SampledMetricDefinitionPacket.cs
Github Open Source
Open Source
MIT
2,023
Loupe.Agent.Core
GibraltarSoftware
C#
Code
725
1,723
using System; using Gibraltar.Serialization; using Loupe.Extensibility.Data; namespace Gibraltar.Monitor.Serialization { /// <summary> /// A serializable sampled metric definition. Provides metadata for metrics based on sampled values. /// </summary> public abstract class SampledMetricDefinitionPacke...
17,780
https://github.com/lin-erik/STUDY/blob/master/server/controllers/index.js
Github Open Source
Open Source
MIT
null
STUDY
lin-erik
JavaScript
Code
575
1,815
const express = require('express'); const parser = require('body-parser'); const { getClosestWithinRadius, getAdditionalPics } = require('../helpers/yelp.js'); const models = require('../db/models/_model.js'); const bcrypt = require('bcrypt-nodejs'); const session = require('express-session'); const app = express...
34,893
https://github.com/yourenA/electron-build-update/blob/master/open.js
Github Open Source
Open Source
CC0-1.0
2,020
electron-build-update
yourenA
JavaScript
Code
34
89
/** * Created by Administrator on 2019/9/20. */ const { app, BrowserWindow } = require('electron') let win = null app.on('ready', () => { win = new BrowserWindow({ width: 800, height: 600 }) win.loadURL('http://182.61.56.51:6003/user/login') })
13,666
https://github.com/Oligizzz/My-Data-Structure-Course/blob/master/源程序项目/Algorithm/bin/app/DATASTRUCTURE/Tree/binaryTree/zzz.c
Github Open Source
Open Source
Apache-2.0
2,021
My-Data-Structure-Course
Oligizzz
C
Code
112
391
/* * @Author: 孔潇 * @Date: 2020-04-19 11:35:55 * @LastEditTime: 2020-04-20 11:06:31 * @Description: 求二叉树的宽度 * @FilePath: \Data Structure\Algorithm\src\app\DATASTRUCTURE\Tree\binaryTree\zzz.c */ int width1(BiTree bt) { if(bt == NULL) return 0; else { Queue qu; qu.front = qu.r...
24,722
https://github.com/bcgov/tno/blob/master/services/net/capture/CaptureDataSourceManager.cs
Github Open Source
Open Source
Apache-2.0
2,021
tno
bcgov
C#
Code
120
357
using Microsoft.Extensions.Options; using TNO.API.Areas.Services.Models.DataSource; using TNO.Models.Extensions; using TNO.Services.Capture.Config; using TNO.Services.Command; namespace TNO.Services.Capture; /// <summary> /// CaptureDataSourceManager class, provides a way to manage the capture ingestion process for t...
28,404
https://github.com/phenixmzy/spark-2.1.0/blob/master/core/src/main/scala/org/apache/spark/storage/DiskStore.scala
Github Open Source
Open Source
BSD-3-Clause-Open-MPI, PSF-2.0, Apache-2.0, BSD-2-Clause, MIT, MIT-0, BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause-Clear, PostgreSQL, BSD-3-Clause
null
spark-2.1.0
phenixmzy
Scala
Code
458
1,473
/* * 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 ...
36,595
https://github.com/Gott50/EnergyForce/blob/master/SeminarEM/core/src/de/tmgdx/em/Main.java
Github Open Source
Open Source
Apache-2.0
2,016
EnergyForce
Gott50
Java
Code
91
336
package de.tmgdx.em; import com.badlogic.gdx.Application; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.assets.AssetManager; import de.tmgdx.em.gui.screeens.MainScreen; public class Main extends DirectedGame { public final int LOG_LEVEL = Application.LOG_DEBUG; private final PlatformSpecificCode platSpeCode...
28,937
https://github.com/smyang2018/ergatis/blob/master/src/perl/gff3_to_annotab.pl
Github Open Source
Open Source
Artistic-1.0
2,019
ergatis
smyang2018
Perl
Code
1,359
4,243
#!/usr/bin/env perl #./gff3_to_annotab.pl --type|t <featuretype> --input_file|i <file> --output_annotab|o <file> [--source|s <source>] [--id_attr <attr_field>] # seqID will be taken from id_attr if one is specified. If id_attr is specified and a feature of <featuretype> lacks it, the script will die. # featuretype is...
14,529
https://github.com/signaled/OpenXLSX/blob/master/CMakeLists.txt
Github Open Source
Open Source
BSD-3-Clause
2,021
OpenXLSX
signaled
CMake
Code
182
814
#======================================================================================================================= # Preamble #======================================================================================================================= cmake_minimum_required(VERSION 3.13 FATAL_ERROR) set(OPENXLSX_MAJOR...
34,576
https://github.com/palestar/darkspace/blob/master/Tools/NounStructurePort/Port.cpp
Github Open Source
Open Source
MIT
2,023
darkspace
palestar
C++
Code
165
644
/* Port.cpp (c)1998 Palestar, Richard Lyle */ #define NOUNSTRUCTUREPORT_DLL #include "stdafx.h" #include "Port.h" #include "Tools/ScenePort/ChildFrame.h" #include "Tools/ResourcerDoc/Port.h" #include "DarkSpace/NounStructure.h" #include "DarkSpace/GameContext.h" //-------------------------------------------------...
52,283
https://github.com/superloach/im8/blob/master/im8f/magic.go
Github Open Source
Open Source
MIT
null
im8
superloach
Go
Code
75
161
package im8f import "fmt" // Magic is the string that appears at the beginning of every im8f encoding. const Magic = "\x69IM8\n" // MagicMismatchError is an error that occurs when the decoded data doesn't match Magic. type MagicMismatchError struct { Index int Got byte } // Error returns a string representation...
9,752
https://github.com/GAIMJKP/Unsupervised-Domain-Adaptation-Metric-learning-Correlation-allignment-/blob/master/Autoencoder_Train_PaviaU_Test_PaviaC.ipynb
Github Open Source
Open Source
MIT
2,019
Unsupervised-Domain-Adaptation-Metric-learning-Correlation-allignment-
GAIMJKP
Jupyter Notebook
Code
5,357
21,422
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/home/aniruddha/anaconda3/envs/tensorflow/lib/python3.5/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argume...
34,093
https://github.com/rohitgit2k18/notifitadmin/blob/master/bkp-06-09-2018/Archana/Publish_Allmarks/Admin/Dashboard/AdminAlerts.ascx
Github Open Source
Open Source
Apache-2.0
2,018
notifitadmin
rohitgit2k18
null
Spoken
53
326
<%@ Control Language="C#" AutoEventWireup="true" Inherits="AbleCommerce.Admin.Dashboard.AdminAlerts" EnableViewState="false" CodeFile="AdminAlerts.ascx.cs" %> <div class="section"> <div class="header"> <h2>Action Items</h2> </div> <div class="content"> <asp:UpdatePanel ID="AlertAjax" runat="...
52,671
https://github.com/TrendingTechnology/strava-offline/blob/master/src/strava_offline/config_file.py
Github Open Source
Open Source
MIT
2,021
strava-offline
TrendingTechnology
Python
Code
208
733
import os import pathlib from sys import stdout from typing import Callable from typing import Iterator from typing import Optional from typing import Set import appdirs # type: ignore [import] import click import click_config_file # type: ignore [import] import yaml def yaml_config_option(): path = os.path.jo...
10,487
https://github.com/Ellpeck/MLEM/blob/master/MLEM.Data/Json/JsonConverters.cs
Github Open Source
Open Source
MIT
2,023
MLEM
Ellpeck
C#
Code
134
335
using System; using System.Linq; using Newtonsoft.Json; namespace MLEM.Data.Json { /// <summary> /// A helper class that stores all of the <see cref="JsonConverter"/> types that are part of MLEM.Data. /// </summary> public class JsonConverters { /// <summary> /// An array of all of the...
49,142
https://github.com/mdrichardson/botbuilder-dotnet/blob/master/libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorComponentRegistration.cs
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, MIT
2,021
botbuilder-dotnet
mdrichardson
C#
Code
133
481
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.Bot.Builder.Dialogs.Debugging; using Microsoft.Bot.Builder.Dialogs.Declarative; using Microsoft.Bot.Builder.Dialogs.Declarative.Resources; using Newtonsoft.Json; namespace...
23,375
https://github.com/grosscol/hydra-pcdm/blob/master/spec/hydra/pcdm/services/file/add_type_spec.rb
Github Open Source
Open Source
Apache-2.0
2,015
hydra-pcdm
grosscol
Ruby
Code
58
195
require 'spec_helper' describe Hydra::PCDM::AddTypeToFile do let(:file) { Hydra::PCDM::File.new } context "with a file that has no type" do let(:uri) { ::RDF::URI("http://example.com/MyType") } subject { described_class.call(file, uri).metadata_node.type } it { is_expected.to include(uri)} end ...
9,498
https://github.com/avigliotti/AD4SM.jl/blob/master/src/materials.jl
Github Open Source
Open Source
MIT
2,022
AD4SM.jl
avigliotti
Julia
Code
566
2,356
__precompile__() module Materials using LinearAlgebra using ..adiff # Material types struct Hooke E ::Float64 ν ::Float64 small ::Bool Hooke(E,ν;small=false) = new(Float64(E),Float64(ν), small) end struct MooneyRivlin C1 ::Float64 C2 ::Float64 K ::Float64 MooneyRivlin(C1, C2) = new(Fl...
31,436
https://github.com/yb1994917/android-player/blob/master/api/src/main/java/com/lush/player/api/model/Event.java
Github Open Source
Open Source
Apache-2.0
2,018
android-player
yb1994917
Java
Code
198
525
package com.lush.player.api.model; import android.support.annotation.NonNull; import java.io.Serializable; import java.util.Date; /** * Event API model * * @author Jamie Cruwys */ public class Event implements Serializable { protected String name; protected String tag; protected Date startDate; protected Dat...
4,350
https://github.com/aspose-cells/Aspose.Cells-for-.NET/blob/master/Examples_GridWeb/GridWeb.Net4/CSharp/GridWebBasics/CallClientsideScriptforGridWeb.aspx
Github Open Source
Open Source
MIT
2,023
Aspose.Cells-for-.NET
aspose-cells
null
Spoken
65
368
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CallClientsideScriptforGridWeb.aspx.cs" Inherits="Aspose.Cells.GridWeb.Examples.CSharp.GridWebBasics.CallClientsideScriptforGridWeb" %> <%@ Register TagPrefix="acw" Namespace="Aspose.Cells.GridWeb" Assembly="Aspose.Cells.GridWeb" %> <!DOCTYPE html> <html xmlns...
51,790
https://github.com/Donowitz/Mrdc/blob/master/Back/src/training/training.controller.ts
Github Open Source
Open Source
MIT
2,021
Mrdc
Donowitz
TypeScript
Code
60
196
import { TrainingDto } from './../shared/models/dto/trainingsDto'; import { Controller, Get, Param, Body, Put } from '@nestjs/common'; import { TrainingService } from './training.service'; import { Training } from './training.entity'; @Controller('training') export class TrainingController { constructor(private trai...
20,735
https://github.com/lzdjack/element-plus/blob/master/docs/examples/radio/radio-button-group.vue
Github Open Source
Open Source
MIT
2,022
element-plus
lzdjack
Vue
Code
36
142
<template> <el-radio-group v-model="radio"> <el-radio :label="3">Option A</el-radio> <el-radio :label="6">Option B</el-radio> <el-radio :label="9">Option C</el-radio> </el-radio-group> </template> <script lang="ts"> import { defineComponent, ref } from 'vue' export default defineComponent({ setup() ...
32,604
https://github.com/CodeFuller/music-library/blob/master/src/PandaPlayer/Views/LoggerView.xaml.cs
Github Open Source
Open Source
MIT
null
music-library
CodeFuller
C#
Code
46
161
using System.Windows; using System.Windows.Controls; using PandaPlayer.ViewModels; using PandaPlayer.Views.Extensions; namespace PandaPlayer.Views { public partial class LoggerView : UserControl { public LoggerView() { InitializeComponent(); } private void View_Loaded(object sender, RoutedEventArgs e) ...
29,631
https://github.com/ludycool/NetCore.Admin/blob/master/Web.Sys.Admin.MVC/Controllers/RMS/UserController.cs
Github Open Source
Open Source
Apache-2.0
null
NetCore.Admin
ludycool
C#
Code
438
1,732
using System; using System.Collections.Generic; using System.Data; using e3net.Common.Entity; using Microsoft.AspNetCore.Mvc; using Web.Sys.BLL.RMS; using Web.Sys.BLL; using Web.Sys.Model; using Core.PetaPocoServer; using e3net.Common.Json; using Newtonsoft.Json; using e3net.Common; namespace Web.Sys.Admin.MVC.Contro...
23,973
https://github.com/waddo/Naviline/blob/master/Naviline/Classes/NavilineConfigurator.swift
Github Open Source
Open Source
MIT
2,019
Naviline
waddo
Swift
Code
204
600
// // NavilineConfigurator.swift // Naviline // // Created by Anton Rodzik on 4/20/19. // import UIKit public enum NavilineColor { case homeBackgroundColor case backgroundColor case selectedTextColor case textColor } public enum NavilineFont { case regularFont case boldFont } public final...
25,599
https://github.com/JQHee/TextureBase/blob/master/ZHNCosmos-master/ZHNCosmos/ZHNCosmos/Common/CustomUI/ZHNRefreshHeader/ZHNRefreshFooter.h
Github Open Source
Open Source
MIT
null
TextureBase
JQHee
C
Code
28
87
// // ZHNRefreshFooter.h // ZHNCosmos // // Created by zhn on 2017/12/23. // Copyright © 2017年 zhn. All rights reserved. // #import <MJRefresh/MJRefresh.h> @interface ZHNRefreshFooter : MJRefreshAutoFooter @end
6,900
https://github.com/NonPolynomial/language-selection/blob/master/.npmrc
Github Open Source
Open Source
MIT
2,021
language-selection
NonPolynomial
null
Spoken
4
17
# because pnpm enable-pre-post-scripts=true
51,160
https://github.com/norvil-khee/kheetun/blob/master/src/main/java/org/khee/kheetun/server/comm/Protocol.java
Github Open Source
Open Source
Apache-2.0
2,018
kheetun
norvil-khee
Java
Code
445
1,134
package org.khee.kheetun.server.comm; import java.io.Serializable; import java.util.HashMap; import org.khee.kheetun.client.config.Config; import org.khee.kheetun.client.config.Tunnel; public class Protocol implements Serializable { public static final long serialVersionUID = 42; public static fin...
27,922
https://github.com/SHAREVIEW/SciChart.Wpf.Examples/blob/master/Examples/SciChart.Examples/Examples/CreateRealtimeChart/RealTimeCursors.xaml.cs
Github Open Source
Open Source
MIT
2,021
SciChart.Wpf.Examples
SHAREVIEW
C#
Code
407
1,025
// ************************************************************************************* // SCICHART® Copyright SciChart Ltd. 2011-2021. All rights reserved. // // Web: http://www.scichart.com // Support: support@scichart.com // Sales: sales@scichart.com // // RealTimeCursors.xaml.cs is part of the SCICHART® ...
50,628
https://github.com/amusecode/amuse/blob/master/examples/publications/2013MNRAS.429..895P/disk_script/run.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,023
amuse
amusecode
Python
Code
188
495
from binary import circumbinary_disc_run from amuse.units import units # kepler 16 circumbinary_disc_run( tend=40. | units.yr, # simulation time Ngas=100000, # number of gas particles m1=0.6897 | units.MSun, # primary mass ...
12,593
https://github.com/devfest-bugbust/aws-sdk-java-v2/blob/master/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/S3CrtPojoConversionTest.java
Github Open Source
Open Source
Apache-2.0
2,021
aws-sdk-java-v2
devfest-bugbust
Java
Code
1,084
6,423
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
31,653
https://github.com/kami8112/manga-effect-extension/blob/master/src/content.js
Github Open Source
Open Source
MIT
null
manga-effect-extension
kami8112
JavaScript
Code
142
410
import * as effect from "./effect" import {getDomXY, getRandomInRange} from "./util" document.addEventListener("dblclick", e => { const {clientX, clientY} = e effect.DODODO(clientX, clientY) }) document.addEventListener("click", e => { const {clientX, clientY} = e effect.ORAORA(clientX, clientY) }) document....
26,285
https://github.com/FluffyJack/Horadric/blob/master/Horadric/Horadric/HoradricOpenModalPresentationNavigationPlugin.swift
Github Open Source
Open Source
MIT
2,015
Horadric
FluffyJack
Swift
Code
71
242
// // HoradricModalPresentationNavigationPlugin.swift // Horadric // // Created by Jack Watson-Hamblin on 26/07/2015. // Copyright (c) 2015 Prismatik. All rights reserved. // import UIKit import WebKit public class HoradricOpenModalPresentationNavigationPlugin : NSObject, HoradricNavigationPlugin { public var...
22,661
https://github.com/Mega-Hack-Women/termometro-acessibilidade/blob/master/web/src/assets/components/PostAvaliacao/index.tsx
Github Open Source
Open Source
MIT
null
termometro-acessibilidade
Mega-Hack-Women
TypeScript
Code
474
1,601
import React, { FormEvent } from 'react'; import { useHistory } from 'react-router-dom'; import api from '../../../services/api'; import SeparadorDeficiencia from '../SeparadorDeficiencia'; import PerguntaQuestionario from '../PerguntaQuestionario'; import BotaoAtencao from '../BotaoAtencao'; import BotaoSubmit from...
33,460
https://github.com/josephmancuso/gbaleague/blob/master/application/Middleware/Authentication.php
Github Open Source
Open Source
MIT
null
gbaleague
josephmancuso
PHP
Code
94
329
<?php namespace Middleware; use App\League\Models\Accounts; use Mira\Render\Render; class Authentication { public function getCurrentUser(){ $authcode = $_SESSION['authcode']; if ($authcode) { return (new Accounts)->find("authcode = '$authcode'"); } ...
12,654
https://github.com/IvanFeric/Autofac/blob/master/Core/Source/Autofac.Configuration/Elements/ListElementCollection.cs
Github Open Source
Open Source
MIT
2,014
Autofac
IvanFeric
C#
Code
399
901
// This software is part of the Autofac IoC container // Copyright (c) 2013 Autofac Contributors // http://autofac.org // // 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 // restri...
34,783
https://github.com/bhuman/BHumanCodeRelease/blob/master/Src/Modules/MotionControl/WalkingEngine/WalkGenerators/DribbleEngine.h
Github Open Source
Open Source
BSD-2-Clause
2,023
BHumanCodeRelease
bhuman
C++
Code
384
1,036
/** * @file DribbleEngine.h * * This file declares a module that provides a dribble generator. * * @author Philip Reichenberg * @author Arne Hasselbring */ #pragma once #include "Representations/Configuration/BallSpecification.h" #include "Representations/Configuration/KickInfo.h" #include "Representations/Con...
23,420
https://github.com/amirulqayyum/SuperMan-ModdedFiles/blob/master/SecSettings/smali/com/android/settings/TetherSettings$OnStartTetheringCallback.smali
Github Open Source
Open Source
Apache-2.0
2,021
SuperMan-ModdedFiles
amirulqayyum
Smali
Code
126
689
.class final Lcom/android/settings/TetherSettings$OnStartTetheringCallback; .super Landroid/net/ConnectivityManager$OnStartTetheringCallback; .source "TetherSettings.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/settings/TetherSettings; .end annotation .annotation...
27,264
https://github.com/lucidphp/template/blob/master/src/Section.php
Github Open Source
Open Source
MIT
null
template
lucidphp
PHP
Code
199
493
<?php /* * This File is part of the Lucid\Template package * * (c) iwyg <mail@thomas-appel.com> * * For full copyright and license information, please refer to the LICENSE file * that was distributed with this package. */ namespace Lucid\Template; /** * @class Section * * @package Lucid\Template * @versio...
8,768
https://github.com/JustinBenedick/gamesvr-csgo-tourney/blob/master/dist/sourcemod/get5/addons/sourcemod/configs/get5/tests/default_valid.cfg
Github Open Source
Open Source
Unlicense, GPL-3.0-only
2,023
gamesvr-csgo-tourney
JustinBenedick
null
Spoken
107
617
"Match" { "matchid" "test_match_valid" "match_title" "Test {MAPNUMBER} of {MAXMAPS}" "num_maps" "3" "skip_veto" "1" "clinch_series" "1" "side_type" "never_knife" "players_per_team" "5" "coaches...
17,886
https://github.com/liujieyuu/NirKxMenu/blob/master/NirKxMenu/ViewController.swift
Github Open Source
Open Source
MIT
2,021
NirKxMenu
liujieyuu
Swift
Code
187
807
// // ViewController.swift // NirKxMenu // // Created by Nirvana on 9/25/15. // Copyright © 2015 NSNirvana. All rights reserved. // import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typica...
12,839
https://github.com/mxjoly/music-player-sync/blob/master/src/shared/components/structure/Header/index.tsx
Github Open Source
Open Source
MIT
2,022
music-player-sync
mxjoly
TypeScript
Code
48
144
import React from 'react'; import { MdMusicNote } from 'react-icons/md'; import { useHistory } from 'react-router-dom'; import './styles.scss'; function Header() { const history = useHistory(); return ( <header className="Header"> <h1 onClick={() => { history.push('/'); docume...
48,455
https://github.com/knave-lin/Ambiq-Micro-Omni/blob/master/Cyberon_DSpotter_SDK_ARM_CM4_Apollo3_202004271/SampleCode/DSpotterDemo_Apollo3_Alexa/src/CommandData_Keil.s
Github Open Source
Open Source
MIT
2,020
Ambiq-Micro-Omni
knave-lin
Unix Assembly
Code
13
64
AREA _CMDData, DATA, READONLY EXPORT u32CMDDataBegin EXPORT u32CMDDataEnd u32CMDDataBegin INCBIN .\Alexa_pack.bin u32CMDDataEnd END
13,390
https://github.com/elsid/CodeWizards/blob/master/cpp-cgdk/tests/common.hpp
Github Open Source
Open Source
MIT
null
CodeWizards
elsid
C++
Code
463
1,575
#pragma once #include "model/Wizard.h" #include "model/Game.h" #include <cmath> namespace strategy { namespace tests { static const model::Wizard SELF( 1, // Id 1000, // X 1000, // Y 0, // SpeedX 0, // SpeedY M_PI / 4, // Angle model::FACTION_ACADEMY, // Faction 35, // Radius 100...
8,817
https://github.com/kherge/uuid-bundle/blob/master/DependencyInjection/Configuration/Generator/CombGenerator.php
Github Open Source
Open Source
MIT
2,016
uuid-bundle
kherge
PHP
Code
71
285
<?php namespace KHerGe\Bundle\UuidBundle\DependencyInjection\Configuration\Generator; use Symfony\Component\Config\Definition\Builder\NodeBuilder; /** * Adds definitions for the `CombGenerator`. * * @author Kevin Herrera <kevin@herrera.io> */ class CombGenerator { /** * Adds the definitions. * ...
20,134
https://github.com/GSri30/Competetive_programming/blob/master/LeetCode/Backspace Strings/Backspace_String_Compare.cpp
Github Open Source
Open Source
MIT
2,021
Competetive_programming
GSri30
C++
Code
69
197
class Solution { public: bool backspaceCompare(string S, string T) { if(newString(S) == newString(T)) return true; else return false; } string newString(string S) { deque<char> q; for (int i = 0; i < S.length(); ++i) { if (S[i] != '#...
35,900
https://github.com/batuhansariikaya/MVC_CoreBlogProject/blob/master/CoreProject_MVC/EntityLayer/Concrete/Notification.cs
Github Open Source
Open Source
MIT
null
MVC_CoreBlogProject
batuhansariikaya
C#
Code
64
155
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntityLayer.Concrete { public class Notification { [Key] public int NotificationID { get; set; } public string NotificationType { get; set;...
13,649
https://github.com/TimboKZ/OrionArcade/blob/master/src/kz/timbo/OrionArcade/Games/OADeathmatch.java
Github Open Source
Open Source
MIT
2,018
OrionArcade
TimboKZ
Java
Code
572
2,228
package kz.timbo.OrionArcade.Games; import kz.timbo.OrionArcade.Games.Interfaces.OAPvP; import kz.timbo.OrionArcade.Handlers.OAStats; import kz.timbo.OrionArcade.OACore; import kz.timbo.OrionArcade.OAUtil; import kz.timbo.OrionArcade.Objects.OAGameType; import kz.timbo.OrionArcade.Objects.OAPlayer; import kz.timbo.Or...
28,459
https://github.com/Actpohomoc/empireofcode/blob/master/WeakPoint.py
Github Open Source
Open Source
Apache-2.0
2,016
empireofcode
Actpohomoc
Python
Code
7
51
def golf(m):a = list(map(sum,m));b = list(map(sum,list(zip(*m))));return [a.index(min(a)),b.index(min(b))]
34,891
https://github.com/zinoLath/LuaSTG-x/blob/master/frameworks/LSTG/Util/Utility.cpp
Github Open Source
Open Source
MIT
2,022
LuaSTG-x
zinoLath
C++
Code
3,242
10,980
#include "Utility.h" #include "AppFrame.h" #include "LogSystem.h" #include "renderer/backend/Device.h" #include <locale> #include <codecvt> #include <cstring> using namespace std; using namespace lstg; using namespace cocos2d; string lstg::StringFormat(const char* Format, ...)noexcept { va_list vaptr; va_start(vap...
20,300
https://github.com/HoareLea/de-common-ui-react/blob/master/src/FormField/FormField.types.ts
Github Open Source
Open Source
MIT
null
de-common-ui-react
HoareLea
TypeScript
Code
32
93
import { CommonComponent } from "../common.models"; import { InputHTMLAttributes } from 'react'; export interface FormFieldProps extends CommonComponent, InputHTMLAttributes<HTMLInputElement> { label?: string; labelFor?: string; description?: string; hint?: string; isRequired?: boolean; validationMessage?:...
30,497
https://github.com/noahnewberger/CovidMobile/blob/master/notebooks/Archive/grab_csvs.ipynb
Github Open Source
Open Source
MIT
2,020
CovidMobile
noahnewberger
Jupyter Notebook
Code
184
740
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "#Creates a loop to run through all states in country_codes.csv, running\n", "#mobius.py code to grab the csv file of that state's data, storing in data\n", "\n", "\n", "import p...
23,942
https://github.com/kancil-nakal/gms-old/blob/master/application/models/Mnode.php
Github Open Source
Open Source
MIT
null
gms-old
kancil-nakal
PHP
Code
51
173
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class MNode extends CI_Model { public function __construct() { $this->load->database(); } public function save($data, $table) { $query = $this->db->insert($table, $data); if ($query) { $msg['success'] = true; $msg['msg'] = "Save";...
4,951
https://github.com/polegithub/MusicShareServerJava/blob/master/musician-core/src/main/java/eric/clapton/musician/core/entity/dto/PageInfo.java
Github Open Source
Open Source
MIT
null
MusicShareServerJava
polegithub
Java
Code
97
287
package eric.clapton.musician.core.entity.dto; import java.io.Serializable; public class PageInfo implements Serializable { private static final long serialVersionUID = -6854053447233153875L; private int pageIndex; private int pageSize; private long total; public PageInfo() { } public PageInfo(int pageInde...
1,376
https://github.com/evanjpw/rustitions/blob/master/src/machine.rs
Github Open Source
Open Source
MIT
null
rustitions
evanjpw
Rust
Code
4,723
10,700
//! use crate::core::{ConditionFunction, State, Transition, TransitionParameters, TriggerFunction}; //StateTrigger,ConditionFunction, use crate::event::EventData; // use indexmap::IndexMap; use log::info; pub(crate) type Model = Machine; pub fn getattr(_model: &Model, _attribute: &str) -> State { todo!() } /// ...
11,804
https://github.com/fhferreira/openclassify/blob/master/addons/default/visiosoft/advs-module/src/ProductoptionsValue/ProductoptionsValueObserver.php
Github Open Source
Open Source
MIT
2,021
openclassify
fhferreira
PHP
Code
11
49
<?php namespace Visiosoft\AdvsModule\ProductoptionsValue; use Anomaly\Streams\Platform\Entry\EntryObserver; class ProductoptionsValueObserver extends EntryObserver { }
20,445
https://github.com/ketiko/controller-api/blob/master/lib/log-drains.js
Github Open Source
Open Source
Apache-2.0
2,018
controller-api
ketiko
JavaScript
Code
470
1,848
"use strict" const url = require('url'); const config = require('./config.js'); const common = require('./common.js'); const httph = require('./http_helper.js'); let curl = url.parse(config.log_shuttle_url); let log_shuttle_url = curl.protocol + "//" + curl.host; let log_shuttle_token = curl.auth ? curl.auth : ''; le...
51,546
https://github.com/MTrop/DoomTools/blob/master/src/main/java/net/mtrop/doom/tools/gui/apps/WadTexCompilerApp.java
Github Open Source
Open Source
MIT
2,023
DoomTools
MTrop
Java
Code
493
2,440
/******************************************************************************* * Copyright (c) 2020-2023 Matt Tropiano * This program and the accompanying materials are made available under * the terms of the MIT License, which accompanies this distribution. ******************************************************...
15,542
https://github.com/Sage/carbon/blob/master/src/components/show-edit-pod/show-edit-pod.style.js
Github Open Source
Open Source
Apache-2.0
2,023
carbon
Sage
JavaScript
Code
64
241
import styled from "styled-components"; import { StyledFormFooter } from "../form/form.style"; import { StyledContent } from "../pod/pod.style"; import Pod from "../pod"; const StyledPod = styled(Pod)` ${StyledFormFooter} { margin-top: 24px; } ${StyledContent} { padding: 16px; } .common-input__pref...
9,061
https://github.com/VRivers/takecare/blob/master/application/models/Sintoma_model.php
Github Open Source
Open Source
MIT
2,021
takecare
VRivers
PHP
Code
132
475
<?php class Sintoma_model extends CI_Model { public function getSintomas() { return R::findAll('sintoma','ORDER BY nombre ASC'); } public function getSintomaById($id) { return R::load('sintoma', $id); } public function borrarSintoma($id) { R::tras...
51,163
https://github.com/ltr01/stroustrup-ppp-1/blob/master/chapter19/chapter19_ex14_Simple_window.cpp
Github Open Source
Open Source
MIT
2,020
stroustrup-ppp-1
ltr01
C++
Code
993
4,524
// // This is a GUI support code to the chapters 12-16 of the book // "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup // #include "chapter19_ex14_Simple_window.h" namespace Graph_lib {; //------------------------------------------------------------------------------ Simple_window::Simple_wi...
35,072
https://github.com/LinjianMa/ITensorNetworkAD.jl/blob/master/test/ITensorAutoHOOT/runtests.jl
Github Open Source
Open Source
Apache-2.0
2,022
ITensorNetworkAD.jl
LinjianMa
Julia
Code
19
69
using ITensorNetworkAD using Test @testset "ITensorNetworks.jl" begin for filename in ["basic_ops.jl", "subnetwork.jl"] println("Running $filename in ITensorNetworks.jl") include(filename) end end
51,245
https://github.com/angcyo/UIKit/blob/master/UIViewLess/src/main/java/com/angcyo/uiview/less/iview/ILifecycle.java
Github Open Source
Open Source
MIT
2,020
UIKit
angcyo
Java
Code
39
184
package com.angcyo.uiview.less.iview; /** * Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved. * 项目名称: * 类的描述:帮助键盘弹出 * 创建人员:Robi * 创建时间:2016/12/02 13:18 * 修改人员:Robi * 修改时间:2016/12/02 13:18 * 修改备注: * Version: 1.0.0 */ public interface ILifecycle { void onLifeViewShow(); void onLifeViewHide(); }
31,971
https://github.com/buildsci/openstudio_nodejs/blob/master/archive/php/energy-cost.php
Github Open Source
Open Source
MIT
2,016
openstudio_nodejs
buildsci
PHP
Code
969
3,766
<?php require 'php/EEB_SQLITE3.php'; require 'php/EEB_UI.php'; session_start(); $ui = new EEB_UI; // default user interface // define the sql file path if ($_POST['num_package'] != NULL) { $cur_model = $_SESSION['cur_model'] = $_POST['num_package']; } elseif($_POST['num_package'] == NULL && $_SESSION['cur_...
23,843
https://github.com/UBC-Stat-ML/inits/blob/master/src/main/java/blang/inits/internals/Schema.xtend
Github Open Source
Open Source
BSD-2-Clause
null
inits
UBC-Stat-ML
null
Spoken
27
63
package blang.inits.internals import java.util.List /** * A plan to create instances of a class */ package interface Schema { def Object build(List<Object> arguments) def List<InitDependency> dependencies() }
16,839
https://github.com/sofusmortensen/daml/blob/master/ledger/ledger-on-memory/src/main/scala/com/daml/ledger/on/memory/package.scala
Github Open Source
Open Source
Apache-2.0
null
daml
sofusmortensen
Scala
Code
60
195
// Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. // SPDX-License-Identifier: Apache-2.0 package com.daml.ledger.on import com.daml.platform.akkastreams.dispatcher.Dispatcher import com.daml.resources.ResourceOwner package object memory { type Index = Int private...
2,688
https://github.com/ayompedb/culper/blob/master/api/http/form_test.go
Github Open Source
Open Source
CC0-1.0
2,019
culper
ayompedb
Go
Code
358
1,016
package http import ( "errors" "io/ioutil" "net/http" "net/http/httptest" "strings" "testing" "github.com/18F/e-QIP-prototype/api" "github.com/18F/e-QIP-prototype/api/mock" ) func TestFormHandlerLockedAccount(t *testing.T) { var mockDB mock.DatabaseService var mockStore mock.StorageService var mockLog ...
39,331
https://github.com/tjguk/networkzero/blob/master/examples/chat/status.py
Github Open Source
Open Source
MIT
2,021
networkzero
tjguk
Python
Code
80
197
import networkzero as nw0 print("Looking for chat updates channel") updates = nw0.discover("chat-updates") if not updates: print("Unable to find chat updates channel after 60s") raise SystemExit print("Chat updates found at", updates) while True: action, message = nw0.wait_for_news_from(updates) i...
12,409
https://github.com/ryantd/determined/blob/master/common/determined_common/api/request.py
Github Open Source
Open Source
Apache-2.0
2,021
determined
ryantd
Python
Code
829
2,618
import atexit import builtins import os import tempfile import webbrowser from types import TracebackType from typing import Any, Dict, Iterator, Optional, Union from urllib import parse import certifi import lomond import requests import simplejson import determined_common.requests from determined_common.api import ...
19,674
https://github.com/arthurrib/nfe/blob/master/src/main/java/com/fincatto/documentofiscal/nfe310/transformers/NFNotaInfoItemProdutoArmamentoTipoTransformer.java
Github Open Source
Open Source
Apache-2.0
2,022
nfe
arthurrib
Java
Code
33
188
package com.fincatto.documentofiscal.nfe310.transformers; import com.fincatto.documentofiscal.nfe310.classes.NFNotaInfoItemProdutoArmamentoTipo; import org.simpleframework.xml.transform.Transform; public class NFNotaInfoItemProdutoArmamentoTipoTransformer implements Transform<NFNotaInfoItemProdutoArmamentoTipo> { ...
22,974
https://github.com/Rydra/melange/blob/master/melange/examples/doc_examples/backend_manager.py
Github Open Source
Open Source
MIT
2,023
melange
Rydra
Python
Code
52
189
from melange import QueuePublisher from melange.backends import BackendManager, LocalSQSBackend from melange.examples.shared import serializer_registry from melange.serializers import PickleSerializer class MyTestMessage: def __init__(self, message: str) -> None: self.message = message if __name__ == "_...
27,033
https://github.com/ippei0605/watson-nlc-qa/blob/master/index.js
Github Open Source
Open Source
MIT
2,017
watson-nlc-qa
ippei0605
JavaScript
Code
1,299
4,857
/** * Watson Natural Language Classifier Q&A Model * @module index * @author Ippei SUZUKI */ 'use strict'; // モジュールを読込む。 const request = require('request'), Cloudant = require('cloudant'); // マップファンクション const MAP_FUNCTION = `function (doc) { if (doc._id !== 'app_settings') { var row = { ...
17,735
https://github.com/jaydipkotadiya1605/Code/blob/master/src/Feature/Search/code/Models/FraserRewardsFilterModel.cs
Github Open Source
Open Source
Apache-2.0
2,019
Code
jaydipkotadiya1605
C#
Code
95
294
namespace Sitecore.Feature.Search.Models { using Sitecore.Foundation.Search.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Sitecore.ContentSearch.Utilities; public class FraserRewardsFilterModel : PagingSettings { public strin...
35,259
https://github.com/reconmap/agent/blob/master/cmd/reconmapd/main.go
Github Open Source
Open Source
Apache-2.0
2,021
agent
reconmap
Go
Code
26
93
package main import ( "reconmap/agent/internal" log "github.com/sirupsen/logrus" ) func main() { log.SetLevel(log.DebugLevel) app := internal.NewApp() if err := app.Run(); err != nil { log.Error(*err) } }
43,500
https://github.com/carissablossom/health_insurance_checker/blob/master/vendor/bundle/ruby/2.0.0/gems/eligible-2.3/lib/eligible/coverage.rb
Github Open Source
Open Source
MIT
2,016
health_insurance_checker
carissablossom
Ruby
Code
56
279
module Eligible class Coverage < APIResource def self.get(params, api_key=nil) response, api_key = Eligible.request(:get, url, api_key, params) Util.convert_to_eligible_object(response, api_key) end def all error ? nil : to_hash end def self.batch_post(params, api_key...
38,435
https://github.com/Vjohns/TDS/blob/master/Class1.cs
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-public-domain, MIT
2,019
TDS
Vjohns
C#
Code
1,236
2,891
//This file contains example code for classes // called BitArray{}, NewCode{}, and StaticCode{}, // representing code under development that may be called // by TDS test methods. //It is intended to be used for a library (*.dll file) // to be produced by the solution's "NewCode" project. using System; using Syste...
14,271
https://github.com/mper28/UASPI2/blob/master/application/views/dashboard.php
Github Open Source
Open Source
MIT
null
UASPI2
mper28
PHP
Code
161
679
<div class="row"> <div class="col-lg-3 col-6"> <!-- small box --> <div class="small-box bg-info"> <div class="inner"> <h3><?= count($posts); ?></h3> <i class="nav-icon fas fa-users fa-fw"></i> <p>Profile</p> </div> <di...
51,533
https://github.com/tarisaaaa/KP-SiMUDAH/blob/master/resources/views/anggota/showall.blade.php
Github Open Source
Open Source
MIT
null
KP-SiMUDAH
tarisaaaa
PHP
Code
88
440
@extends('layouts.mainadv') @section('title', 'SiMUDAH | Anggota') @section('content') <div class="container"> @if (session('status')) <div class="alert alert-success"> {{ session('status') }} </div> @endif <div class="card shadow m-4"> ...
50,186
https://github.com/Virtual-CPS/machine-learning-SIEM-water-infrastructure/blob/master/classification.py
Github Open Source
Open Source
Apache-2.0
2,019
machine-learning-SIEM-water-infrastructure
Virtual-CPS
Python
Code
489
2,096
# Clear any created variables #%reset -f import sys import os import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.neighbors import KNeighborsClassifier from sklearn.svm import SVC from sklearn.naive_bayes import GaussianNB from sklearn.tree import DecisionTreeClassifier from sklearn.e...
22,085
https://github.com/pplu/aws-sdk-perl/blob/master/auto-lib/Paws/CodeBuild/BatchGetReportGroupsOutput.pm
Github Open Source
Open Source
Apache-2.0
2,023
aws-sdk-perl
pplu
Perl
Code
92
274
package Paws::CodeBuild::BatchGetReportGroupsOutput; use Moose; has ReportGroups => (is => 'ro', isa => 'ArrayRef[Paws::CodeBuild::ReportGroup]', traits => ['NameInRequest'], request_name => 'reportGroups' ); has ReportGroupsNotFound => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], requ...
10,832
https://github.com/allopez89/dr-pet-spot/blob/master/backend/src/dtos/users/sign-in.input.ts
Github Open Source
Open Source
MIT
null
dr-pet-spot
allopez89
TypeScript
Code
62
184
import { Field, InputType } from '@nestjs/graphql'; import { IsDefined } from 'class-validator'; import { IsNotEmpty } from 'src/decorators/is-not-empty.decorator'; import { IsValidEmail } from 'src/decorators/is-valid-email.decorator'; @InputType() export class SignInInput { @IsNotEmpty() @IsValidEmail({ message:...
37,255
https://github.com/Majkl578/nette-date-time-input/blob/master/tests/SimpleDateTimeFormatterTest.phpt
Github Open Source
Open Source
BSD-3-Clause
2,015
nette-date-time-input
Majkl578
PHP
Code
148
706
<?php /** * @testCase */ namespace Achse\DateTimeInput\Test; $container = require __DIR__ . '/bootstrap.php'; use Achse\DateTimeInput\NonSafePatternDetectedException; use Achse\DateTimeInput\SimpleDateTimeFormatter; use Nette\Utils\DateTime; use Tester\Assert; use Tester\TestCase; class SimpleDateTimeFormatter...
38,637