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/jrm5100/fgbio/blob/master/src/main/scala/com/fulcrumgenomics/bam/CallOverlappingConsensusBases.scala
Github Open Source
Open Source
MIT
null
fgbio
jrm5100
Scala
Code
1,026
2,413
/* * The MIT License * * Copyright (c) 2022 Fulcrum Genomics * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
43,008
https://github.com/kp-favorite/wip/blob/master/JavaScript/DynamicLoadOfScripts.js
Github Open Source
Open Source
MIT
null
wip
kp-favorite
JavaScript
Code
79
216
// // THIS GIVES A STRANGE RECURSIVE DEFINITION OF constructors, // USE THE OTHER METHOD in DynamivLoadOfScripts2.js INSTEAD // var gizur2; if(!gizur2) gizur2 = {}; // A simple module gizur2.modules = (function () { // A private constructor function MyModule() { this._myString = ""; // a privat...
30,752
https://github.com/nomantufail/jr-architecture/blob/master/app/Http/Validators/Validators/UserValidators/AddUserValidator.php
Github Open Source
Open Source
MIT
null
jr-architecture
nomantufail
PHP
Code
79
232
<?php /** * Created by PhpStorm. * User: JR Tech * Date: 3/21/2016 * Time: 9:22 AM */ namespace App\Http\Validators\Validators\UserValidators; use App\Http\Validators\Interfaces\ValidatorsInterface; class AddUserValidator extends UserValidator implements ValidatorsInterface { public function __construct($...
19,387
https://github.com/BradenLinick/Dolphin/blob/master/Core/Object Arts/Dolphin/MVP/SingleSelectListBoxTest.cls
Github Open Source
Open Source
MIT
2,019
Dolphin
BradenLinick
Apex
Code
195
595
"Filed out from Dolphin Smalltalk 7"! ListBoxTest subclass: #SingleSelectListBoxTest instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' classInstanceVariableNames: ''! SingleSelectListBoxTest guid: (GUID fromString: '{8e5a59a5-f500-4d07-9ea2-b1019c9302b2}')! SingleSelectListBoxTest comment: ''!...
46,938
https://github.com/laurenceschellevisch/runelite/blob/master/runescape-client/src/main/java/class14.java
Github Open Source
Open Source
BSD-2-Clause
null
runelite
laurenceschellevisch
Java
Code
496
2,237
import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; impo...
25,304
https://github.com/pronoy2108/SwiftBrowser/blob/master/SwiftBrowser/SettingsViews/WebSettings.xaml.cs
Github Open Source
Open Source
Unlicense
2,021
SwiftBrowser
pronoy2108
C#
Code
1,037
4,445
using System; using System.Collections.Generic; using System.Linq; using Windows.Foundation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Microsoft.Toolkit.Uwp.UI.Animations.Expressions; using System.ComponentModel; using System.Numerics; using System.Runtime.CompilerServices; using System.Threading.Ta...
48,658
https://github.com/tsukoyumi/ouzel/blob/master/engine/input/Mouse.hpp
Github Open Source
Open Source
Unlicense
null
ouzel
tsukoyumi
C++
Code
190
574
// Ouzel by Elviss Strazdins #ifndef OUZEL_INPUT_MOUSE_HPP #define OUZEL_INPUT_MOUSE_HPP #include <bitset> #include <cstdint> #include "Controller.hpp" #include "../math/Vector.hpp" namespace ouzel::input { class Cursor; class Mouse final: public Controller { friend InputManager; public: ...
25,632
https://github.com/urna/OpenBots.Server/blob/master/OpenBots.Server.ViewModel/FileObjectViewModel.cs
Github Open Source
Open Source
Apache-2.0
2,020
OpenBots.Server
urna
C#
Code
42
87
using System.IO; namespace OpenBots.Server.ViewModel { public class FileObjectViewModel { public virtual string Name { get; set; } public virtual string ContentType { get; set; } public virtual string StoragePath { get; set; } public virtual FileStream BlobStream {get;...
38,504
https://github.com/2002-feb24-net/tyler-code/blob/master/StringStuff/Program.cs
Github Open Source
Open Source
MIT
null
tyler-code
2002-feb24-net
C#
Code
138
384
using System; namespace StringStuff { class Program { static void Main(string[] args) { //Console.Read is for one character System.Console.Write("enter some text: "); String input = Console.ReadLine(); if (input.Contains("nick")) // case sentive...
42,983
https://github.com/itwwj/mykit-data/blob/master/mykit-data-monitor/src/main/java/io/mykit/data/monitor/mysql/io/impl/XInputStreamImpl.java
Github Open Source
Open Source
Apache-2.0
null
mykit-data
itwwj
Java
Code
892
2,200
package io.mykit.data.monitor.mysql.io.impl; import io.mykit.data.monitor.mysql.common.glossary.UnsignedLong; import io.mykit.data.monitor.mysql.common.glossary.column.BitColumn; import io.mykit.data.monitor.mysql.common.glossary.column.StringColumn; import io.mykit.data.monitor.mysql.common.util.CodecUtils; import i...
45,589
https://github.com/WebDevUniandes/andfoy/blob/master/js/calc.js
Github Open Source
Open Source
MIT
null
andfoy
WebDevUniandes
JavaScript
Code
455
1,613
// Code goes here $(document).ready(function() { $("#expr").keydown(function() { get_result(this.value); }); $("#expr").keyup(function() { get_result(this.value); }); }); function get_result(expr_s) { console.log(expr_s); $("#result").val(""); var expr_node = {expr:expr_s...
4,174
https://github.com/aykanatm/toybox/blob/master/toybox-server/toybox-common-lib/src/main/java/com/github/murataykanat/toybox/schema/container/CreateContainerRequest.java
Github Open Source
Open Source
MIT
2,019
toybox
aykanatm
Java
Code
53
194
package com.github.murataykanat.toybox.schema.container; import com.fasterxml.jackson.annotation.JsonProperty; import java.io.Serializable; public class CreateContainerRequest implements Serializable { @JsonProperty("parentContainerId") private String parentContainerId; @JsonProperty("containerName") ...
23,965
https://github.com/DenisNet/Balance-Sheet-UWP/blob/master/BalanceSheet/NavigationBar/ProfileNavigationBarMenu.cs
Github Open Source
Open Source
BSD-2-Clause
null
Balance-Sheet-UWP
DenisNet
C#
Code
133
455
using System; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Media.Imaging; using BalanceSheet.Models; using BalanceSheet.Views; namespace BalanceSheet.NavigationBar { class ProfileNavigationBarMenu : BaseNavigationBarMenu, INavigationBarMenu { //public ProfileNavi...
24,220
https://github.com/aliyun/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-edas/src/main/java/com/aliyuncs/edas/transform/v20170801/UpdateSwimmingLaneResponseUnmarshaller.java
Github Open Source
Open Source
Apache-2.0
2,023
aliyun-openapi-java-sdk
aliyun
Java
Code
171
974
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
32,031
https://github.com/usc-isi-i2/dsbox-ta2/blob/master/python/dsbox/template/template_files/loaded/CMUacledProblemTemplate.py
Github Open Source
Open Source
MIT
2,020
dsbox-ta2
usc-isi-i2
Python
Code
262
1,357
from dsbox.template.template import DSBoxTemplate from d3m.metadata.problem import TaskKeyword from dsbox.template.template_steps import TemplateSteps from dsbox.schema import SpecializedProblem import typing import numpy as np # type: ignore class CMUacledProblemTemplate(DSBoxTemplate): # From primitives/v2...
13,995
https://github.com/ashigeru/asakusafw-legacy/blob/master/thundergate-project/asakusa-thundergate-plugin/src/main/java/com/asakusafw/compiler/bulkloader/BulkLoaderScript.java
Github Open Source
Open Source
Apache-2.0
null
asakusafw-legacy
ashigeru
Java
Code
2,648
8,535
/** * Copyright 2011-2016 Asakusa Framework Team. * * 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...
3,022
https://github.com/AlexanderKlement/eisenstecken-angular-electron-public/blob/master/src/app/employee/meal/meal.component.ts
Github Open Source
Open Source
MIT
null
eisenstecken-angular-electron-public
AlexanderKlement
TypeScript
Code
272
1,059
import {Component, ComponentRef, OnInit} from '@angular/core'; import {TableDataSource} from '../../shared/components/table-builder/table-builder.datasource'; import {DefaultService, Meal} from 'eisenstecken-openapi-angular-library'; import * as moment from 'moment'; import {MatDialog} from '@angular/material/dialog'; ...
12,812
https://github.com/achraf-byte/online-education-web-aplication-laravel/blob/master/app/Models/StudentPost.php
Github Open Source
Open Source
MIT
null
online-education-web-aplication-laravel
achraf-byte
PHP
Code
26
84
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class StudentPost extends Model { protected $fillable = [ 'caption', 'image' ,'Student_id' ]; public function student (){ return $this->belongsto(student::class); } }
38,368
https://github.com/gitter-badger/e2d/blob/master/src/object/addObject.js
Github Open Source
Open Source
MIT
2,015
e2d
gitter-badger
JavaScript
Code
105
253
/** * @param {Object} options - The object's options. * @param {Object} options.pos - The object's position. * @param {int} options.pos.x - The object's X coordinate. * @param {int} options.pos.y - The object's Y coordinate. */ E2D.Scene.prototype.addObject = function(options) { var self = this; if (typeof options ...
12,261
https://github.com/FMota0/PrometheeOptimization/blob/master/caja/playground/monitor/plot-usages.r
Github Open Source
Open Source
MIT
2,021
PrometheeOptimization
FMota0
R
Code
374
1,754
#http://ggplot2.tidyverse.org/reference/#section-scales library("ggplot2") library("scales") library("data.table") library("stringi") args = commandArgs(trailingOnly=TRUE) cpu_usage_path = args[1] mem_usage_path = args[2] disk_usage_path = args[3] proctimes_path = args[4] cpu_usage = read.table(sep = ",", cpu_usage...
135
https://github.com/true-eye/polkawallet_plugin_chainx/blob/master/example/android/app/src/main/kotlin/io/polkawallet/www/example/MainActivity.kt
Github Open Source
Open Source
Apache-2.0
2,021
polkawallet_plugin_chainx
true-eye
Kotlin
Code
9
47
package io.polkawallet.www.plugin.chainx.example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
16,616
https://github.com/Rembane/lemmingpants/blob/master/frontend/src/Components/Admin/SpeakerQueue.purs
Github Open Source
Open Source
Apache-2.0
2,018
lemmingpants
Rembane
PureScript
Code
1,127
2,824
module Components.Admin.SpeakerQueue where import Prelude import Affjax.StatusCode (StatusCode(..)) import Data.Array as A import Data.HTTP.Method (Method(..)) import Data.Lens (filtered, preview, traversed, view) import Data.Maybe (Maybe(Just, Nothing), maybe) import Data.Newtype (class Newtype) import Effect.Aff (A...
25,061
https://github.com/cse2016hy/cse2016hy.github.io/blob/master/code/unfolding_app_template_with_examples_0/examples/de/fhpotsdam/unfolding/examples/misc/SimpleBackgroundMapApp.java
Github Open Source
Open Source
MIT
2,022
cse2016hy.github.io
cse2016hy
Java
Code
114
356
package de.fhpotsdam.unfolding.examples.misc; import processing.core.PApplet; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.geo.Location; import de.fhpotsdam.unfolding.utils.MapUtils; /** * Shows how to set the background color of the map where no tiles have been loaded yet, or where not...
5,120
https://github.com/vivek2007/sharetribe/blob/master/spec/controllers/admin/communities/footer_controller_spec.rb
Github Open Source
Open Source
PostgreSQL, Ruby, ImageMagick
2,022
sharetribe
vivek2007
Ruby
Code
254
899
require 'spec_helper' describe Admin::Communities::FooterController, type: :controller do let(:community) { FactoryGirl.create(:community) } let(:plan) do { expired: false, features: { whitelabel: true, admin_email: true, footer: true } } end before(:each) do ...
36,506
https://github.com/BoltApp/sleet/blob/master/gateways/adyen/request_builder.go
Github Open Source
Open Source
MIT
2,022
sleet
BoltApp
Go
Code
773
3,470
package adyen import ( "fmt" "regexp" "strconv" "github.com/BoltApp/sleet" "github.com/BoltApp/sleet/common" "github.com/adyen/adyen-go-api-library/v4/src/checkout" "github.com/adyen/adyen-go-api-library/v4/src/payments" ) const ( level3Default = "NA" maxLineItemDescriptionLength = 26 maxPro...
6,346
https://github.com/runningjack/auctionsite/blob/master/app/views/pages/home.blade.php
Github Open Source
Open Source
MIT
2,015
auctionsite
runningjack
Blade
Code
832
4,333
<?php require_once("inc/init.php"); use \Illuminate\Support\Facades\DB; ?> @extends("layouts.default") @section("content") <div class="space10">&nbsp;</div> <!--<div class="dg"> <div class="col-4"> <div class="beta-banner"> <img src="<?php /*echo ASSETS_URL*/?>/uploads/images/banners/banner2.png...
17,676
https://github.com/Geonovum/respec/blob/master/src/geonovum/leafletfigures.js
Github Open Source
Open Source
W3C-20150513
2,020
respec
Geonovum
JavaScript
Code
319
1,183
/** * Module: geonovum/leafletfigures * Makes figures scalable via zoom and pan function */ import L from "../geonovum/deps/leaflet"; import easyButton from "../geonovum/deps/easy-button"; import { sub } from "../core/pubsubhub"; export const name = "geonovum/leafletfigures"; export async function run(conf, doc, ...
41,351
https://github.com/jjaybrown/pbnetwork-boilerplate/blob/master/application/modules/community/controllers/IndexController.php
Github Open Source
Open Source
Unlicense
2,016
pbnetwork-boilerplate
jjaybrown
PHP
Code
236
775
<?php use App\Controller as AppController; class Community_IndexController extends AppController { public function init() { parent::init(); } public function indexAction() { $recentPosts = $this->_em->getRepository("App\Entity\Community\Post")->recentActivity(); $t...
13,577
https://github.com/HIMARTONLINE/ERPJERAMODA/blob/master/app/Http/Controllers/PresenceController.php
Github Open Source
Open Source
MIT
null
ERPJERAMODA
HIMARTONLINE
PHP
Code
377
1,558
<?php namespace App\Http\Controllers; use App\Models\Presence; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\User; use File; use Response; class PresenceController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response *...
21,046
https://github.com/youyingxiang/php_cms_of/blob/master/application/admin/validate/News.php
Github Open Source
Open Source
Apache-2.0
2,018
php_cms_of
youyingxiang
PHP
Code
77
384
<?php namespace app\admin\validate; use think\Validate; class News extends Validate { protected $rule = [ 'title' => 'require|max:200', 'seo_title' => 'max:200', 'seo_des' => 'max:500', 'url_title' => 'require|max:255|unique:new...
14,352
https://github.com/azemeo/MyVideoExplorer/blob/master/SubForms/SubFormListView.Designer.cs
Github Open Source
Open Source
MIT
2,018
MyVideoExplorer
azemeo
C#
Code
300
1,304
namespace MyVideoExplorer { partial class SubFormListView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
10,079
https://github.com/JonasReich/unity-git-integration/blob/master/Assets/Plugins/git-integration/Editor/GitOverlay.cs
Github Open Source
Open Source
MIT
null
unity-git-integration
JonasReich
C#
Code
540
2,215
//------------------------------------------- // (c) 2017 - Jonas Reich //------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; using EStatus = GitIntegration.Git.EStatus; namespace GitIntegration {...
43,216
https://github.com/F-S-C/Cicerone/blob/master/docs/Server/dir_09a58e4ad679d39594142c6d9007160c.js
Github Open Source
Open Source
Apache-2.0
null
Cicerone
F-S-C
JavaScript
Code
10
80
var dir_09a58e4ad679d39594142c6d9007160c = [ [ "006e07e4f87e0fb9.php", "006e07e4f87e0fb9_8php.html", "006e07e4f87e0fb9_8php" ] ];
21,992
https://github.com/kagu/kunquat/blob/master/src/lib/init/devices/processors/Proc_noise.c
Github Open Source
Open Source
CC0-1.0
2,022
kunquat
kagu
C
Code
132
533
/* * Authors: Tomi Jylhä-Ollila, Finland 2010-2019 * Ossi Saresoja, Finland 2010 * * This file is part of Kunquat. * * CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/ * * To the extent possible under law, Kunquat Affirmers have waived all * copyright and related or neighboring r...
41,250
https://github.com/fachriagustian12/sis_pakar/blob/master/application/controllers/Diagnosa.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,021
sis_pakar
fachriagustian12
PHP
Code
158
729
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Diagnosa extends CI_Controller { public function __construct() { parent::__construct(); $this->isLogin = $this->session->userdata('isLogin'); if ($this->isLogin == 0) { redirect(base_url()); ...
814
https://github.com/marscore/hhvm/blob/master/hphp/test/slow/array_functions/531.php
Github Open Source
Open Source
Zend-2.0, PHP-3.01, MIT
2,019
hhvm
marscore
PHP
Code
54
285
<?php function f($x, $y) { var_dump($x, $y); return $x + $x + $y + 1; } <<__EntryPoint>> function main_531() { var_dump(array_reduce(array(), 'f')); var_dump(array_reduce(array(), 'f', null)); var_dump(array_reduce(array(), 'f', 0)); var_dump(array_reduce(array(), 'f', 23)); var_dump(array_reduce(array(4), 'f'))...
35,768
https://github.com/guilhermessantos/imc/blob/master/assets/stylesheets/elements/form/_inputs.scss
Github Open Source
Open Source
MIT
2,015
imc
guilhermessantos
SCSS
Code
18
59
input { background: $colorDetail; border: none; border-radius: $borderRadius; color: $colorText; height: 35px; padding: 5px 10px; width: 100%; }
4,537
https://github.com/ljcollins25/Codeground/blob/master/src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Automation.Pee/AutomationEvents.cs
Github Open Source
Open Source
MIT
null
Codeground
ljcollins25
C#
Code
37
231
namespace Windows.UI.Xaml.Automation.Peers; public enum AutomationEvents { ToolTipOpened, ToolTipClosed, MenuOpened, MenuClosed, AutomationFocusChanged, InvokePatternOnInvoked, SelectionItemPatternOnElementAddedToSelection, SelectionItemPatternOnElementRemovedFromSelection, SelectionItemPatternOnElementSelect...
1,111
https://github.com/Jhushaw/CCCEventManager/blob/master/resources/views/showEditEvent.blade.php
Github Open Source
Open Source
MIT
null
CCCEventManager
Jhushaw
PHP
Code
235
987
<!-- View page lets admins add upcoming church events --> @extends('layouts.appmaster') @section('head','Add Events') @section('content') @if (!Session::has('User')) <script>window.location = "Login";</script> @endif @if (Session::has('User') && Session::get('Admin') == 1) <!-- action will point to the route --> ...
10,367
https://github.com/MonashTS/tempo/blob/master/experiments/2021-04-19-PF2018-comparison/PF2018_java/ProximityForest/src/trees/ProximityForest.java
Github Open Source
Open Source
BSD-3-Clause
2,022
tempo
MonashTS
Java
Code
427
1,603
package trees; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import core.AppContext; import core.ProximityForestResult; import core.contracts.Dataset; import util.PrintUtilities; /** * * @author shifaz * @email ahmed.shifaz@monash.edu * */ public class ProximityForest implemen...
37,925
https://github.com/mrnettek/VBScript/blob/master/VBScript1/Add the Contents of a Group of Text Files to an Access Database.vbs
Github Open Source
Open Source
MIT
2,020
VBScript
mrnettek
VBScript
Code
93
334
Const ForReading = 1 Const adLockOptimistic = 3 Set objConnection = CreateObject("ADODB.Connection") Set objRecordSet = CreateObject("ADODB.Recordset") Set objFSO = CreateObject("Scripting.FileSystemObject") objConnection.Open _ "Provider = Microsoft.Jet.OLEDB.4.0; " & _ "Data Source = C:\Scripts\Test.md...
39,899
https://github.com/JIoffe/PastryEditor/blob/master/src/model/palettized-image.ts
Github Open Source
Open Source
MIT
2,021
PastryEditor
JIoffe
TypeScript
Code
10
31
export interface PalettizedImage{ width: number; height: number; indices: Uint8Array; }
3,089
https://github.com/Seachal/okhttp-RxHttp/blob/master/app/build/generated/source/kapt/debug/rxhttp/wrapper/param/ObservableErrorHandler.java
Github Open Source
Open Source
Apache-2.0
2,020
okhttp-RxHttp
Seachal
Java
Code
51
343
package rxhttp.wrapper.param; import io.reactivex.rxjava3.core.Observable; import io.reactivex.rxjava3.functions.Consumer; import io.reactivex.rxjava3.plugins.RxJavaPlugins; import rxhttp.wrapper.utils.LogUtil; /** * User: ljx * Date: 2020/4/11 * Time: 16:19 */ public abstract class ObservableErrorHandler<T> exte...
20,361
https://github.com/lsoaresesilva/lunanative/blob/master/android/LunaFramework/app/src/main/java/luna/framework/syntax/data/LuaHashMapAdapter.java
Github Open Source
Open Source
MIT
2,021
lunanative
lsoaresesilva
Java
Code
284
914
package luna.framework.syntax.data; import org.luaj.vm2.LuaFunction; import org.luaj.vm2.LuaNil; import org.luaj.vm2.LuaTable; import org.luaj.vm2.LuaValue; import org.luaj.vm2.Varargs; import luna.framework.syntax.function.LuaFunctionAdapter; import luna.framework.syntax.function.LunaFunctionAdapter; import static ...
1,893
https://github.com/deanlinsalata/JALoP/blob/master/src/network_lib/test/test_jaln_string_utils.c
Github Open Source
Open Source
Apache-2.0
2,021
JALoP
deanlinsalata
C
Code
764
3,900
/** * @file test_jaln_string_utils.c This file contains tests for jaln_string_utils.c functions. * * @section LICENSE * * Source code in 3rd-party is licensed and owned by their respective * copyright holders. * * All other source code is copyright Tresys Technology and licensed as below. * * Copyright (c) 20...
8,878
https://github.com/Dython-sky/AID1908/blob/master/study/1905/month01/code/Stage5/day20/paddle/day01/04_reader_demo.py
Github Open Source
Open Source
MIT
2,020
AID1908
Dython-sky
Python
Code
56
226
# 04_reader_demo.py 实现文件的顺序读取、随机读取、批量读取 import paddle # 读取文件的生成器函数 def reader_creator(file_path): def reader(): with open(file_path) as f: lines = f.readlines() for line in lines: yield line # 生成一行数据 return reader reader = reader_creator("test.txt") shuffle_...
49,053
https://github.com/EngFarisAlsmawi/django-user-g11n/blob/master/tests/settings.py
Github Open Source
Open Source
MIT
2,022
django-user-g11n
EngFarisAlsmawi
Python
Code
80
479
INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'user_g11n', 'tests.accounts', ) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', ...
35,929
https://github.com/meitu/twemproxy/blob/master/tests/test_memcache/test_gets.py
Github Open Source
Open Source
Apache-2.0
2,020
twemproxy
meitu
Python
Code
189
718
#!/usr/bin/env python #coding: utf-8 import os import sys import redis import memcache PWD = os.path.dirname(os.path.realpath(__file__)) WORKDIR = os.path.join(PWD, '../') sys.path.append(os.path.join(WORKDIR, 'lib/')) sys.path.append(os.path.join(WORKDIR, 'conf/')) from conf import * from utils import * large = i...
13,263
https://github.com/Mizumi/gh6-narwhal/blob/master/device-server/src/main/webapp/src/assets/styles/sass/main.scss
Github Open Source
Open Source
Apache-2.0
null
gh6-narwhal
Mizumi
SCSS
Code
311
1,004
/* * Project: gh6 * Since: Oct 21, 2016 * * Copyright (c) Brandon Sanders [brandon@alicorn.io], Joshua Gagen [joshuagagen@outlook.com], * Edwin Munguia [daiokaio@gmail.com] and Justin Stone * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
37,268
https://github.com/Newlifer/Cesium/blob/master/Cesium.Ast/Expressions.cs
Github Open Source
Open Source
MIT
null
Cesium
Newlifer
C#
Code
107
285
using System.Collections.Immutable; using Yoakke.C.Syntax; using Yoakke.Lexer; namespace Cesium.Ast; public abstract record Expression; // 6.5.1 Primary expressions public record IdentifierExpression(string Identifier) : Expression; public record ConstantExpression(IToken<CTokenType> Constant) : Expression; public r...
26,042
https://github.com/fuchen1994/bel-admin/blob/master/src/views/components/ConditionRadio.vue
Github Open Source
Open Source
MIT
2,019
bel-admin
fuchen1994
Vue
Code
168
648
<template> <div class="condition-radio-group"> <span class="condition-radio-group__title" > {{label}} </span> <div class="condition-radio-group__options"> <Button class="condition-radio-group__options--all" size="small" :type=" !$route.query[tag] ? '...
23,200
https://github.com/ziveo/ckan/blob/master/ckanext/stats/tests/__init__.py
Github Open Source
Open Source
Apache-2.0
2,020
ckan
ziveo
Python
Code
30
132
# encoding: utf-8 from ckan.tests.helpers import _get_test_app from ckan.common import config class StatsFixture(object): @classmethod def setup_class(cls): cls._original_config = config.copy() config['ckan.plugins'] = 'stats' cls.app = _get_test_app() @classmethod def teard...
31,182
https://github.com/greghicks01/uft/blob/master/Reusable Classes/ADODB.vbs
Github Open Source
Open Source
Apache-2.0
2,014
uft
greghicks01
VBScript
Code
446
962
'@ Copyright 2014 '@ '@ Gregory Hicks '@ Software Engineer '@ '@ Licensed under Creative Commons '@ '@ You may use or extend this work under the following conditions: '@ 1. You must include this copyright in your derived works. '@ 2. The software is made available "As-Is". '@ No liabilities accepted for your us...
32,040
https://github.com/sanity-io/sanity/blob/master/packages/sanity/src/desk/components/confirmDeleteDialog/ConfirmDeleteDialogBody.tsx
Github Open Source
Open Source
MIT
2,023
sanity
sanity-io
TSX
Code
650
2,270
import React, {useCallback} from 'react' import { WarningOutlineIcon, DocumentsIcon, ClipboardIcon, UnknownIcon, ChevronDownIcon, } from '@sanity/icons' import {useToast, Text, Box, Button, Flex, Label, Card, Stack} from '@sanity/ui' import CopyToClipboard from 'react-copy-to-clipboard' import {ReferencePrevi...
31,703
https://github.com/sumtech/Checkbook/blob/master/Checkbook.Api/Models/Budget.cs
Github Open Source
Open Source
MIT
2,019
Checkbook
sumtech
C#
Code
226
435
// Copyright (c) Palouse Coding Conglomerate. All Rights Reserved. namespace Checkbook.Api.Models { using System.Collections.Generic; /// <summary> /// Represents a budget to which finances are being allocated for a future /// expense. /// </summary> public class Budget { /// <sum...
45,813
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventgrid/Azure.ResourceManager.EventGrid/src/Generated/PartnerDestinationData.cs
Github Open Source
Open Source
LGPL-2.1-or-later, Apache-2.0, MIT, LicenseRef-scancode-generic-cla
2,023
azure-sdk-for-net
Azure
C#
Code
427
998
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using Azure.Core; using Azure.ResourceManager.EventGrid.Models; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.E...
43,912
https://github.com/eltonchan/NetEase_Music_Flutter/blob/master/lib/routes.dart
Github Open Source
Open Source
MIT
2,022
NetEase_Music_Flutter
eltonchan
Dart
Code
39
117
import 'package:flutter/material.dart'; import './video/index.dart'; import './me/index.dart'; import './friend/index.dart'; import './account/index.dart'; final routes = { '/video': (BuildContext context) => new VideoView(), '/me': (BuildContext context) => new MeView(), '/friend': (BuildContext context) => new...
21,759
https://github.com/jehovahsays/MMOSOCKETHTML5JSCHAT/blob/master/examples/chat/node_modules/limitation/index.js
Github Open Source
Open Source
MIT
2,019
MMOSOCKETHTML5JSCHAT
jehovahsays
JavaScript
Code
896
2,187
/** * Kademlia DHT based rate limiter. * * Features: * - Checks are cheap in-memory operations. * - Distributes counters across many nodes, using the Kademlia DHT. * - Supports multiple limits per key. * - Configurable bursting and update scaling via `interval` option. */ 'use strict'; var events = require('e...
15,365
https://github.com/nasedkinpv/nuxt-use-motion/blob/master/example/app/motion.config.js
Github Open Source
Open Source
MIT
2,022
nuxt-use-motion
nasedkinpv
JavaScript
Code
28
80
export default { directives: { 'slide-rotate-bottom': { initial: { y: 400, opacity: 0, rotate: 90 }, enter: { y: 0, opacity: 1, rotate: 0 } } } }
2,847
https://github.com/asac-geeks/childbook/blob/master/finalProject/src/main/java/com/example/finalProject/controller/LikesController.java
Github Open Source
Open Source
MIT
null
childbook
asac-geeks
Java
Code
116
588
package com.example.finalProject.controller; import com.example.finalProject.entity.AppUser; import com.example.finalProject.entity.Likes; import com.example.finalProject.entity.Post; import com.example.finalProject.repository.LikesRepositoy; import com.example.finalProject.repository.PostRepository; import com.exampl...
27,596
https://github.com/YutoMizutani/gohome/blob/master/app/presenter/usecase/animal_usecase.go
Github Open Source
Open Source
MIT
null
gohome
YutoMizutani
Go
Code
12
54
package usecase import "github.com/YutoMizutani/gohome/app/domain/entity" type AnimalUseCase interface { Fetch() (*entity.Animal, error) }
21,272
https://github.com/ahmeshaf/ctakes/blob/master/ctakes-gui/src/main/java/org/apache/ctakes/gui/pipeline/bit/parameter/ParameterMapper.java
Github Open Source
Open Source
Apache-2.0
2,022
ctakes
ahmeshaf
Java
Code
271
726
package org.apache.ctakes.gui.pipeline.bit.parameter; import org.apache.log4j.Logger; import org.apache.uima.fit.descriptor.ConfigurationParameter; import java.lang.reflect.Field; import java.util.*; /** * @author SPF , chip-nlp * @version %I% * @since 3/19/2017 */ final public class ParameterMapper { stati...
23,758
https://github.com/chmac/deffy-deno/blob/master/lib/deffy.ts
Github Open Source
Open Source
MIT
null
deffy-deno
chmac
TypeScript
Code
98
243
// Dependencies import {Typpy} from "https://deno.land/x/typpy/lib/typpy.ts" function Deffy(input: any, def: Function | any, options?: boolean | {empty: boolean}): any { // Default is a function if (typeof def === "function") { return def(input); } //@ts-ignore Will never be {empry: {empty: b...
13,425
https://github.com/GDconcentration/GDConcMeasure/blob/master/Setup.sh
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,019
GDConcMeasure
GDconcentration
Shell
Code
11
151
#!/bin/bash #Application path location of applicaiton ToolDAQapp=`pwd` source ${ToolDAQapp}/ToolDAQ/root-6.14.06/install/bin/thisroot.sh export LD_LIBRARY_PATH=${ToolDAQapp}/lib:${ToolDAQapp}/ToolDAQ/zeromq-4.0.7/lib:${ToolDAQapp}/ToolDAQ/boost_1_66_0/install/lib:/home/pi/seabreeze-3.0.11/SeaBreeze/lib:$LD_LIBRARY_...
19,537
https://github.com/biehlermi/ScottPlot/blob/master/src/ScottPlot/plottables/PlottableErrorBars.cs
Github Open Source
Open Source
MIT
2,020
ScottPlot
biehlermi
C#
Code
528
1,650
using ScottPlot.Config; using ScottPlot.Diagnostic.Attributes; using ScottPlot.Drawing; using System; using System.Drawing; using System.Linq; namespace ScottPlot { public class PlottableErrorBars : Plottable { [FiniteNumbers, EqualLength] private readonly double[] xs; [FiniteNumbers, ...
4,831
https://github.com/jHards/square-php-sdk/blob/master/src/Models/CatalogCustomAttributeDefinitionStringConfig.php
Github Open Source
Open Source
Apache-2.0
2,020
square-php-sdk
jHards
PHP
Code
212
455
<?php declare(strict_types=1); namespace Square\Models; /** * Configuration associated with Custom Attribute Definitions of type `STRING`. */ class CatalogCustomAttributeDefinitionStringConfig implements \JsonSerializable { /** * @var bool|null */ private $enforceUniqueness; /** * Retur...
4,727
https://github.com/AAI-USZ/FixJS/blob/master/input/100+/after/f472619e06612895dbcc9a8fa3e72952e9a4e3d8_0_3.js
Github Open Source
Open Source
MIT
2,022
FixJS
AAI-USZ
JavaScript
Code
56
191
function($root) { var rootedQuery = function(selector, context, rootQuery) { $root = $root || (Mobify.conf.data && Mobify.conf.data.$html); return ($.fn.init || $.zepto.init).call(this, selector, context || anchored.context(), rootQuery); } , anchored = $....
22,531
https://github.com/ExchangeUnion/indra/blob/master/modules/cf-core/src/testing/scenarios/uninstall-concurrent.spec.ts
Github Open Source
Open Source
MIT
null
indra
ExchangeUnion
TypeScript
Code
242
846
import { CONVENTION_FOR_ETH_ASSET_ID, InstallMessage, ProposeMessage, UninstallMessage, } from "@connext/types"; import { constants, utils } from "ethers"; import { CFCore } from "../../cfCore"; import { TestContractAddresses } from "../contracts"; import { toBeLt } from "../bignumber-jest-matcher"; import {...
3,893
https://github.com/AjaySinghPathania/gdcdictionary/blob/master/Jenkinsfile
Github Open Source
Open Source
Apache-2.0
2,021
gdcdictionary
AjaySinghPathania
Groovy
Code
9
39
#!groovy library identifier: "jenkins-lib@master" scriptedLibPipeline{ testRunner = "docker-compose" }
8,842
https://github.com/Jukoleda/labv_banco/blob/master/banco_lab_v/src/com/bank/handler/AccountHandler.java
Github Open Source
Open Source
MIT
null
labv_banco
Jukoleda
Java
Code
64
267
package com.bank.handler; import java.sql.SQLException; import java.util.ArrayList; import com.bank.model.AccountModel; import com.bank.model.TypeAccountModel; import com.bank.service.AccountsService; import com.bank.service.TypesAccountsService; public class AccountHandler { public static ArrayList<AccountModel> ...
18,626
https://github.com/kalismeras61/flutter_dynamic_forms/blob/master/packages/expression_language/test/supporting_files/steps/when_then_expression_num.dart
Github Open Source
Open Source
MIT
2,019
flutter_dynamic_forms
kalismeras61
Dart
Code
341
1,169
import 'package:expression_language/src/expressions/expression_provider.dart'; import 'package:expression_language/src/expressions/expressions.dart'; import 'package:expression_language/src/number_type/decimal.dart'; import 'package:expression_language/src/number_type/integer.dart'; import 'package:expression_language/...
23,030
https://github.com/simplesoft-pt/Database/blob/master/src/Simplesoft.Database.Contracts/IHaveExternalId.cs
Github Open Source
Open Source
MIT
2,021
Database
simplesoft-pt
C#
Code
89
215
using System; namespace SimpleSoft.Database { /// <summary> /// Represents an entity with an unique identifier to be used /// across multiple systems /// </summary> /// <typeparam name="TId">The external id type</typeparam> public interface IHaveExternalId<TId> where TId : IEquatable<TId> ...
46,601
https://github.com/katout/NoteEditor/blob/master/Assets/Scripts/Presenter/Settings/SettingMusicPathPresenter.cs
Github Open Source
Open Source
MIT
null
NoteEditor
katout
C#
Code
79
305
using NoteEditor.Model; using System.IO; using UniRx; using UnityEngine; using UnityEngine.UI; namespace NoteEditor.Presenter { public class SettingMusicPathPresenter : MonoBehaviour { [SerializeField] InputField musicPathInputField = default; [SerializeField] Text musicPathInp...
45,644
https://github.com/CreepPork/Rezent/blob/master/app/Driver.php
Github Open Source
Open Source
MIT
null
Rezent
CreepPork
PHP
Code
276
959
<?php namespace App; use Illuminate\Http\Request; use Illuminate\Notifications\Notifiable; use Illuminate\Support\Facades\Validator; use Illuminate\Validation\ValidationException; abstract class Driver { use Notifiable { notify as protected traitNotify; } protected const VALIDATION_RULES = self:...
35,683
https://github.com/Nyovelt/vscode-rainbow-fart/blob/master/src/page/src/components/player/index.vue
Github Open Source
Open Source
MIT
2,022
vscode-rainbow-fart
Nyovelt
Vue
Code
210
847
<template> <div> <audio ref="audio"></audio> <q-panel class="permission" secondary v-if="!authorized" @click="doAuthorize"> <q-icon class="icon" name="warning-circle"></q-icon> <q-text mode="normal" v-html="$t('permission-required')"></q-text> </q-panel> <q-pa...
10,425
https://github.com/FreckleIOT/django-advanced-filters/blob/master/advanced_filters/views.py
Github Open Source
Open Source
MIT
null
django-advanced-filters
FreckleIOT
Python
Code
550
1,744
from operator import itemgetter import logging from django.apps import apps from django.conf import settings from django.contrib.admin.utils import get_fields_from_path from django.db import models from django.db.models.fields import FieldDoesNotExist from django.utils.encoding import force_text from django.views.gene...
107
https://github.com/Teneko-NET-Tools/Teneko.MessagesVersioning/blob/master/src/Vernuntii.Calculator/MessagesProviders/IMessageProvidingDebugMessage.cs
Github Open Source
Open Source
MIT
null
Teneko.MessagesVersioning
Teneko-NET-Tools
C#
Code
38
101
using Vernuntii.Logging; namespace Vernuntii.MessagesProviders { /// <summary> /// Enabled a message to have a debug message. /// </summary> public interface IMessageProvidingDebugMessage { /// <summary> /// Gets a debug message. /// </summary> LoggerMessageAmendmen...
41,056
https://github.com/nanometer-core/javaHighConcurrency/blob/master/ForkTest.java
Github Open Source
Open Source
Apache-2.0
2,019
javaHighConcurrency
nanometer-core
Java
Code
179
898
package java高并发; import java.util.ArrayList; import java.util.concurrent.ExecutionException; import java.util.concurrent.ForkJoinPool; import java.util.concurrent.ForkJoinTask; import java.util.concurrent.RecursiveAction; import java.util.concurrent.RecursiveTask; public class ForkTest extends RecursiveTask<Integer>{ ...
14,828
https://github.com/nageshwadhera/weatherreport/blob/master/check_public_login.php
Github Open Source
Open Source
CC0-1.0
null
weatherreport
nageshwadhera
PHP
Code
42
156
<?php include "connection.php"; $s= "select * from signup"; $result= mysqli_query($conn,$s); $flag=0; while ($row= mysqli_fetch_array($result)){ if($row[0]== $_REQUEST["email"] && $row[1] == $_REQUEST["pass"]){ $flag=1; break; } } if($flag == 1) { session_start(); $_SESSION["useremail"] ...
43,811
https://github.com/kragen/mod_pubsub/blob/master/kn_apps/sitewatch/asyncgeturl.py
Github Open Source
Open Source
BSD-3-Clause-Clear
2,021
mod_pubsub
kragen
Python
Code
577
1,432
#!/usr/bin/python """ asyncgeturl.py -- A sensor for whether a site is up or not. Works fine on Debian GNU Linux 3.0 with Python 2.1.3. Known Issues: None. Contact Information: http://mod-pubsub.sf.net/ mod-pubsub-developer@lists.sourceforge.net """ ## Copyright 2000-2004 KnowNow, In...
3,073
https://github.com/andrecarlucci/SharpSenses/blob/master/SharpSenses/ISpeech.cs
Github Open Source
Open Source
MIT
2,016
SharpSenses
andrecarlucci
C#
Code
35
104
using System; namespace SharpSenses { public interface ISpeech { SupportedLanguage CurrentLanguage { get; set; } void Say(string sentence); void Say(string sentence, SupportedLanguage language); void EnableRecognition(); void EnableRecognition(SupportedLanguage language); ...
29,185
https://github.com/KerangRebus12/SiswakuApp/blob/master/resources/views/siswa/edit.blade.php
Github Open Source
Open Source
MIT
2,020
SiswakuApp
KerangRebus12
Blade
Code
17
113
@extends('admin/admin') @section('main') <div id="siswa"> <h2>Edit Data Siswa</h2> {!!Form::model($siswa, ['method'=>'PATCH', 'files'=>'true', 'action'=>['SiswaController@update', $siswa->id]])!!} @include('siswa.form', ['submitButtonText'=>'Update']) {!!Form::close()!!} </div> @stop
32,283
https://github.com/lylwo317/MediaParser/blob/master/src/mov/SampleDescBox.h
Github Open Source
Open Source
Apache-2.0
2,022
MediaParser
lylwo317
C
Code
30
114
#ifndef SAMPLEDESCBOX_H #define SAMPLEDESCBOX_H #include "BaseBox.h" class SampleDescBox : public BaseBox { public: SampleDescBox(uint32_t type, uint32_t size); ~SampleDescBox(); public: virtual int Parse(class mp4Parser* parser, uint32_t start_pos); }; #endif // SAMPLEDESCBOX_H
5,984
https://github.com/nullice/UI-DNA/blob/master/DVE/components/vue-color-cylinder/lib/color-map.vue
Github Open Source
Open Source
Apache-2.0, CC0-1.0
2,022
UI-DNA
nullice
Vue
Code
1,046
3,926
<template> <div class="color-map" v-bind:class="{'sv':(value_type=='sv'),'hue':(value_type=='hue') }"> <div class="picker-map-box" v-on:click="map_select($event)" v-on:mousewheel="mousewheel($event)" > <div class="map-thumb" v-bind:style="mapThumbMapStyle" v...
44,038
https://github.com/jenarvaezg/eth_scrapper/blob/master/contracts/0x0ccb03cb1a89808209eaebbcb059ed05e44cb9cf.sol
Github Open Source
Open Source
Apache-2.0
2,018
eth_scrapper
jenarvaezg
Solidity
Code
269
842
//Address: 0x0ccb03cb1a89808209eaebbcb059ed05e44cb9cf //Contract name: CrypviserICO //Balance: 0.146307819687629277 Ether //Verification Date: 5/20/2017 //Transacion Count: 32 // CODE STARTS HERE pragma solidity 0.4.11; // © 2016 Ambisafe Inc. No reuse without written permission is allowed. contract CrypviserICO {...
4,582
https://github.com/shayoisaack/annpso/blob/master/node_modules/@tensorflow/tfjs/dist/version.d.ts
Github Open Source
Open Source
MIT
null
annpso
shayoisaack
TypeScript
Code
9
18
declare const version = "0.11.6"; export { version };
5,631
https://github.com/pygabo/bus_system/blob/master/bus_system/apps/trip/migrations/0001_initial.py
Github Open Source
Open Source
MIT
null
bus_system
pygabo
Python
Code
135
895
# Generated by Django 3.1.12 on 2021-06-23 04:42 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields import uuid class Migration(migrations.Migration): initial = True dependencies = [ ('bus_driver', '0001_initial'), ...
29,738
https://github.com/wingel/sds7102/blob/master/fpga/myhdl/fifo/interleaver.py
Github Open Source
Open Source
MIT
2,021
sds7102
wingel
Python
Code
170
599
#! /usr/bin/python from __future__ import absolute_import if __name__ == '__main__': import hacking hacking.run_as_module('fifo.test_fifo') from myhdl import (Signal, intbv, always_seq, always_comb, instances) from simple.reg import Reg, RoField from ._mem import FifoMem class FifoInterl...
4,952
https://github.com/ValeeraJS/X/blob/master/build/interfaces/IComponentManager.d.ts
Github Open Source
Open Source
MIT
2,022
X
ValeeraJS
TypeScript
Code
35
100
import IComponent from "./IComponent"; import IEntity from "./IEntity"; import IManager from "./IManager"; export default interface IComponentManager extends IManager<IComponent<any>> { readonly isComponentManager: true; usedBy: IEntity[]; isMixedFrom: (entity: IComponentManager) => boolean; mixFrom: (e...
4,640
https://github.com/equirs/fashionscape-plugin/blob/master/src/main/java/eq/uirs/fashionscape/data/kit/TorsoKit.java
Github Open Source
Open Source
BSD-2-Clause
null
fashionscape-plugin
equirs
Java
Code
138
576
package eq.uirs.fashionscape.data.kit; import lombok.RequiredArgsConstructor; import net.runelite.api.kit.KitType; @RequiredArgsConstructor public enum TorsoKit implements Kit { PLAIN("Plain", false, 18), LIGHT_BUTTONS("Light buttons", false, 19), DARK_BUTTONS("Dark buttons", false, 20), JACKET("Jacket", false, 2...
33,208
https://github.com/xin-huang/sstar/blob/master/tests/test_get_tract.py
Github Open Source
Open Source
Apache-2.0
2,022
sstar
xin-huang
Python
Code
198
714
# Apache License Version 2.0 # Copyright 2022 Xin Huang # # 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...
2,888
https://github.com/longjl/JFinal-ext2/blob/master/src/com/jfinal/ext2/upload/filerenamepolicy/CustomNameFileRenamePolicy.java
Github Open Source
Open Source
MIT
2,015
JFinal-ext2
longjl
Java
Code
82
249
/** * */ package com.jfinal.ext2.upload.filerenamepolicy; import java.io.File; /** * @author BruceZCQ * 自定义文件名称 */ public class CustomNameFileRenamePolicy extends FileRenamePolicyWrapper { private String customName = null; public CustomNameFileRenamePolicy(String customName) { this.customName = customNam...
40,614
https://github.com/LenSunko01/SpringBackEnd/blob/master/demo/src/main/java/ru/hse/gears/GearsApplication.java
Github Open Source
Open Source
MIT
2,021
SpringBackEnd
LenSunko01
Java
Code
21
85
package ru.hse.gears; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class GearsApplication { public static void main(String... args) { SpringApplication.run(GearsApplication.class, args); } }
17,893
https://github.com/zhxinyu/cosan/blob/master/docs/html/annotated_dup.js
Github Open Source
Open Source
MIT
null
cosan
zhxinyu
JavaScript
Code
10
33
var annotated_dup = [ [ "Cosan", "namespace_cosan.html", "namespace_cosan" ] ];
38,501
https://github.com/arboehme/theia-xtext/blob/master/template/templates/java/odata/olingo/service/v2/edm/bridge/EdmEntityTypeBridge.java
Github Open Source
Open Source
Apache-2.0
2,020
theia-xtext
arboehme
Java
Code
513
2,184
package {service.namespace}.odata.edm.bridge; import java.util.ArrayList; import java.util.List; import org.apache.olingo.commons.api.edm.EdmAnnotation; import org.apache.olingo.commons.api.edm.EdmElement; import org.apache.olingo.commons.api.edm.EdmEntityType; import org.apache.olingo.commons.api.edm.EdmException; i...
30,754
https://github.com/akbarmmln/fundesk/blob/master/assetss/assets/js/pages/elements/raty-custom.js
Github Open Source
Open Source
MIT
null
fundesk
akbarmmln
JavaScript
Code
168
558
$.fn.raty.defaults.path = '../../../plugins/raty/images'; $('#default').raty(); $('#score').raty({ score: 3 }); $('#score-callback').raty({ score: function() { return $(this).attr('data-score'); } }); $('#number').raty({ number: 10 }); $('#number-callback').raty({ number: function() { retur...
22,766
https://github.com/Icemaush/ToDoo/blob/master/src/todolist/Board.java
Github Open Source
Open Source
MIT
null
ToDoo
Icemaush
Java
Code
665
2,070
package todolist; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javafx.application.Platform; import javafx.event.Eve...
47,947
https://github.com/EBI-Metagenomics/imm/blob/master/src/state.h
Github Open Source
Open Source
MIT
null
imm
EBI-Metagenomics
C
Code
18
95
#ifndef STATE_H #define STATE_H #include "imm/state.h" static inline void state_detach(struct imm_state *state) { cco_stack_init(&state->trans.outgoing); cco_stack_init(&state->trans.incoming); cco_hash_del(&state->hnode); } #endif
45,241
https://github.com/0xPool/fish-redux-template/blob/master/templates/adapter/dynamic/adapter.dart
Github Open Source
Open Source
MIT
2,020
fish-redux-template
0xPool
Dart
Code
57
218
import 'package:fish_redux/fish_redux.dart'; import 'reducer.dart'; import 'state.dart'; class $nameAdapter extends DynamicFlowAdapter<$nameState> { $nameAdapter() : super( pool: <String, Component<Object>>{ }, connector: _$nameConnector(), reducer: buildReducer(), ...
1,753
https://github.com/henricazottes/cordova-jsbackgroundservice/blob/master/src/android/JSBackgroundServicePlugin.java
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
cordova-jsbackgroundservice
henricazottes
Java
Code
418
1,412
package io.cozy.jsbackgroundservice; import org.apache.cordova.CallbackContext; import org.json.JSONArray; import org.json.JSONException; import android.util.Log; import org.apache.cordova.CordovaPlugin; import android.text.TextUtils; import android.content.SharedPreferences; import android.content.Context; import...
1,824