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/iivanovw7/work-book/blob/master/client/webpack/webpack.common.js
Github Open Source
Open Source
MIT
null
work-book
iivanovw7
JavaScript
Code
216
716
const path = require('path'); const webpack = require('webpack'); const Dotenv = require('dotenv-webpack'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const HtmlWebPackPlugin =...
10,420
https://github.com/bekuno/oc-server3/blob/master/htdocs/lang/de/ocstyle/lib/menu.php
Github Open Source
Open Source
RSA-MD
2,021
oc-server3
bekuno
PHP
Code
1,466
4,695
<?php /**************************************************************************** * ./lang/de/ocstyle/lib/menu.php * ------------------- * begin : Mon June 14 2004 * * For license information see LICENSE.md ****************************************************************************/ /**********...
5,241
https://github.com/levigo/jpeg2000-imageio-plugin/blob/master/java/com/levigo/jadice/format/jpeg2000/internal/decode/seda/ConfigurableStage.java
Github Open Source
Open Source
Apache-2.0
null
jpeg2000-imageio-plugin
levigo
Java
Code
40
129
package com.levigo.jadice.format.jpeg2000.internal.decode.seda; import com.levigo.jadice.format.jpeg2000.internal.decode.DecoderParameters; // part of an experiment. Currently not in use. public abstract class ConfigurableStage implements Stage, Configurable { protected DecoderParameters parameters; public Con...
20,920
https://github.com/HelloYeew/ta-assistant-django/blob/master/database_function/__init__.py
Github Open Source
Open Source
MIT
2,021
ta-assistant-django
HelloYeew
Python
Code
11
35
from . import conversion, home_view, add_remove_member __all__ = [conversion, home_view, add_remove_member]
25,307
https://github.com/fangohr/oommf/blob/master/oommf/pkg/nb/crc.h
Github Open Source
Open Source
TCL
2,022
oommf
fangohr
C
Code
158
413
/* File: crc.h * * Table-based 32-bit crc calculator. * * NOTICE: Please see the file ../../LICENSE * * Last modified on: $Date: 2011/03/27 05:37:05 $ * Last modified by: $Author: donahue $ */ #ifndef _NB_CRC #define _NB_CRC #include "oc.h" /* End includes */ /* Optional directive to pimake */ OC_UINT4m...
27,145
https://github.com/mithucste30/stripe-rails/blob/master/test/javascript_helper_spec.rb
Github Open Source
Open Source
MIT
2,022
stripe-rails
mithucste30
Ruby
Code
234
802
require 'spec_helper' describe Stripe::JavascriptHelper do before { Rails.application.config.stripe.publishable_key = 'pub_xxxx' } let(:controller) { ActionView::TestCase::TestController.new } let(:view) { controller.view_context } describe '#stripe_javascript_tag' do describe 'when no options are...
34,616
https://github.com/ksanaforge/associat/blob/master/src/pnode/relation_textedit.jsx
Github Open Source
Open Source
ISC
2,015
associat
ksanaforge
JavaScript
Code
48
334
var React=require("react"); var Relation_text_editor=React.createClass({ propTypes:{ "onFinish":React.PropTypes.func.isRequired ,"text":React.PropTypes.string.isRequired } ,onkeypress:function(e) { if (e.key=="Enter") { this.finish(e); e.preventDefault(); } } ,finish:function(e) { this.props.onFini...
718
https://github.com/elm-scotland/elm-tries/blob/master/tests/TrieIface.elm
Github Open Source
Open Source
BSD-3-Clause
2,021
elm-tries
elm-scotland
null
Spoken
326
697
module TrieIface exposing ( ITrie , expandTest ) import DictIface exposing (IDict) import Expect exposing (Expectation) import Fuzz exposing (Fuzzer) import Set exposing (Set) import Test exposing (Test, fuzz) import Trie as Trie exposing (Match, Trie) type alias ITrie comparable v dict b dictb result co...
9,101
https://github.com/WoodStone/fearless-fred/blob/master/app/models/Lan.scala
Github Open Source
Open Source
MIT
2,018
fearless-fred
WoodStone
Scala
Code
130
438
package models import java.util.UUID import scalikejdbc._ case class Lan(id: UUID, alias: String, name: String, articles: Option[Seq[Article]] = None) object Lan extends CRUDMapperWithUUID[Lan] { override lazy val defaultAlias = createAlias("Lan") private[this] lazy val l = defaultAlias override def extract(...
19,274
https://github.com/sunaoka/phpDocumentor3-template-ja/blob/master/Makefile
Github Open Source
Open Source
MIT
2,020
phpDocumentor3-template-ja
sunaoka
Makefile
Code
44
180
SRC := vendor/phpdocumentor/phpdocumentor/src/phpDocumentor OUTPUT := example CACHES := $(OUTPUT)/.cache TITLE := 'テンプレート日本語化' all: default-ja default-ja: php vendor/bin/phpdoc \ -d $(SRC) \ -t $(OUTPUT)/$@ \ --cache-folder $(CACHES)/$@ \ --template $@ \ --title $(TITLE) \ --force \ ...
18,917
https://github.com/zishe/linters/blob/master/.prettierignore
Github Open Source
Open Source
Apache-2.0
2,020
linters
zishe
Ignore List
Code
4
23
*.lint *.fix package-lock.json __temp_packages__/
11,547
https://github.com/littleLane/first/blob/master/index.js
Github Open Source
Open Source
MIT
2,019
first
littleLane
JavaScript
Code
9
47
module.exports = function dataType(anyData) { return Object.prototype.toString.call(anyData).replace(/\[object\s|\]/g, '').toLowerCase(); }
22,210
https://github.com/CC3002/DesignPatternsInJava/blob/master/src/main/java/com/cc3002/auxiliar/design/pattern/strategy/example05/RubberDuck.java
Github Open Source
Open Source
MIT
2,017
DesignPatternsInJava
CC3002
Java
Code
33
121
package com.cc3002.auxiliar.design.pattern.strategy.example05; public class RubberDuck extends AbstractDuck { @Override protected String displayMessage() { return Config.DISPLAY_RUBBER; } @Override protected String quackMessage() { return Config.SQUEAK; } @Override protected String flyingMes...
56,375
https://github.com/github/codeql/blob/master/swift/ql/test/library-tests/dataflow/taint/libraries/nsstring.swift
Github Open Source
Open Source
MIT
2,023
codeql
github
Swift
Code
2,732
7,953
// --- stubs --- typealias unichar = UInt16 struct AutoreleasingUnsafeMutablePointer<Pointee> { var pointee: Pointee { get { return (0 as! Pointee?)! } nonmutating set { } } } class NSObject { func copy() -> Any { return 0 } func mutableCopy() -> Any { return 0 } } struct NSZone { } protocol NSCopying { f...
35,447
https://github.com/DanielFearn/BetterNewTab/blob/master/js/ww.js
Github Open Source
Open Source
MIT
2,018
BetterNewTab
DanielFearn
JavaScript
Code
209
666
// Weather widget var ww = { weather_location: 'London', api_key: 'ac7cdabe8761913417ab5b6f4eabfd7d', // If you use this code, please sign up to OpenWeatherMap and get your own API key. It's free and stops mine reaching the request limit. Thanks! owm_endpoint: 'https://api.openweathermap.org/data/2.5/weather?q=', ...
599
https://github.com/charlie5/aIDE/blob/master/attic/asis/find_all/adam-assist-query-find_all-unit_processing.ads
Github Open Source
Open Source
MIT
2,017
aIDE
charlie5
Ada
Code
13
73
with Asis; package AdaM.Assist.Query.find_All.unit_Processing is procedure Process_Unit (The_Unit : in Asis.Compilation_Unit); end AdaM.Assist.Query.find_All.unit_Processing;
18,541
https://github.com/vasanthdeveloper/sandesha/blob/master/src/paths.ts
Github Open Source
Open Source
MIT
2,020
sandesha
vasanthdeveloper
TypeScript
Code
39
89
import mkdir from 'mkdirp' import envPaths from 'env-paths' export default envPaths('sandesha', { suffix: '' }) // this will create the environment directories export async function createPaths(): Promise<void> { const paths = envPaths('sandesha', { suffix: '' }) await mkdir(paths.data) }
52,909
https://github.com/RoboJackets/apiary-mobile/blob/master/base/src/main/java/org/robojackets/apiary/base/ui/util/ContentPadding.kt
Github Open Source
Open Source
Apache-2.0
null
apiary-mobile
RoboJackets
Kotlin
Code
42
211
package org.robojackets.apiary.base.ui.util import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.runtime.Composable import androidx.compose.u...
33,929
https://github.com/coldic3/RefundPlugin/blob/master/tests/Behat/Page/Admin/CreditMemoIndexPageInterface.php
Github Open Source
Open Source
MIT
2,022
RefundPlugin
coldic3
PHP
Code
60
239
<?php declare(strict_types=1); namespace Tests\Sylius\RefundPlugin\Behat\Page\Admin; use Sylius\Behat\Page\Admin\Crud\IndexPageInterface; interface CreditMemoIndexPageInterface extends IndexPageInterface { public function downloadCreditMemo(int $index): void; public function filterByChannel(string $channel...
25,401
https://github.com/hudochenkov/Mentor/blob/master/packages/server/src/auth..ts
Github Open Source
Open Source
MIT
2,021
Mentor
hudochenkov
TypeScript
Code
75
183
import jwt from 'jsonwebtoken'; import Users from './models/users'; import { jwtSecret } from './config'; export async function getUser(token: string) { if (!token) return { user: null }; try { const decodedToken:any = jwt.verify(token, jwtSecret); const item = await Users.findOne({ _id: decodedToken.id...
22,462
https://github.com/johnMinelli/EduTube/blob/master/app/src/main/java/com/example/android/navigation/viewModel/HistoryViewModel.kt
Github Open Source
Open Source
Apache-2.0
null
EduTube
johnMinelli
Kotlin
Code
325
995
/* * Copyright 2018, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
33,672
https://github.com/olivdt/newcoin/blob/master/src/test/Makefile
Github Open Source
Open Source
MIT
null
newcoin
olivdt
Makefile
Code
15
53
all: $(MAKE) -C .. newcoin_test clean: $(MAKE) -C .. newcoin_test_clean check: $(MAKE) -C .. newcoin_test_check
19,327
https://github.com/kkaempf/openwbem/blob/master/src/cim/OW_CIMDateTime.hpp
Github Open Source
Open Source
BSD-3-Clause
2,023
openwbem
kkaempf
C++
Code
1,790
3,651
/******************************************************************************* * Copyright (C) 2001-2004 Quest Software, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions...
33,920
https://github.com/joelday/papyrus-debug-server/blob/master/dependencies/f4se/src/f4se/CommonLibF4/include/RE/BGSModelMaterialSwap.h
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer
2,019
papyrus-debug-server
joelday
C++
Code
77
254
#pragma once #include "RE/TESModel.h" // TESModel namespace RE { class BGSModelMaterialSwap : public TESModel { public: inline static const void* RTTI = RTTI_BGSModelMaterialSwap; virtual ~BGSModelMaterialSwap(); // 00 // override (TESModel) virtual void Unk_02() override; // 02 virt...
22,182
https://github.com/husseincoder/dockerized-microservices/blob/master/grpc-service/src/main/java/com/se7so/metrics/GrpcServicesMetrics.java
Github Open Source
Open Source
Apache-2.0
2,018
dockerized-microservices
husseincoder
Java
Code
91
371
package com.se7so.metrics; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.graphite.Graphite; import com.codahale.metrics.graphite.GraphiteReporter; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; ...
35,007
https://github.com/teleclimber/dropserver_app/blob/master/migrations.ts
Github Open Source
Open Source
MIT
2,022
dropserver_app
teleclimber
TypeScript
Code
289
546
/** * function used to migrate appspace data from one schema * to the next or previous. */ export type MigrationFunction = () => Promise<void>; /** * Describe a Migration step. */ export type Migration = { // TODO figure out how to document type alias object props /** * Direction of migration. "up" means migr...
51,368
https://github.com/hartl3y94/leetcode-php/blob/master/src/leetcode/MaximalSquare.php
Github Open Source
Open Source
MIT
2,021
leetcode-php
hartl3y94
PHP
Code
331
850
<?php declare(strict_types=1); namespace leetcode; class MaximalSquare { public static function maximalSquare(array $matrix): int { [$m, $n, $ans] = [count($matrix), count($matrix[0]), 0]; if ($m <= 0 || $n <= 0) { return $ans; } $helper = static function (array $a...
8,628
https://github.com/mvwicky/NotesMiscellanea/blob/master/MichaelVanWicklePortfolio/main/admin.py
Github Open Source
Open Source
BSD-2-Clause-Views
2,016
NotesMiscellanea
mvwicky
Python
Code
54
211
from django.contrib import admin # Register your models here. from .models import Job, VolunteerPos, Activity, Award class JobAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['company_name', 'job_title']}), ('Date Information', {'fields': ['start_date', 'end_date']}) ] class VolunteerPosAdmin(admin.M...
50,899
https://github.com/rob-blackbourn/scratch-java/blob/master/net.jetblack.messagebus.messages/src/main/java/net/jetblack/messagebus/messages/UnicastData.java
Github Open Source
Open Source
Apache-2.0
null
scratch-java
rob-blackbourn
Java
Code
157
435
package net.jetblack.messagebus.messages; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; public class UnicastData extends Message { public final String ClientId; public final String Feed; public final String Topic; public final boolean IsImage; public final byte[] D...
2,839
https://github.com/nipunjain099/biometric-authentication-research-paper-implementation/blob/master/Likelihood Ratio-Based Biometric Score Fusion/get_eer.m
Github Open Source
Open Source
BSD-3-Clause
2,019
biometric-authentication-research-paper-implementation
nipunjain099
MATLAB
Code
23
108
function [far,frr] = get_eer(gen,imp,thresh) far=0; frr=0; for i=1:100 if gen(i)<thresh frr=frr+1; end end for i =1:9900 if imp(i)>thresh far=far+1; end end frr=frr/100 far=far/9900
55,581
https://github.com/kangjunxiang/datax/blob/master/kafkawriter/target/maven-archiver/pom.properties
Github Open Source
Open Source
Apache-2.0
2,019
datax
kangjunxiang
null
Spoken
12
54
#Generated by Maven #Fri Jul 12 21:30:48 CST 2019 version=0.0.1-SNAPSHOT groupId=com.alibaba.datax artifactId=kafkawriter
56,133
https://github.com/zijian-hu/SimPLE/blob/master/models/__init__.py
Github Open Source
Open Source
Apache-2.0
2,022
SimPLE
zijian-hu
Python
Code
362
1,373
import torch from functools import partial from .augmentation import get_augmenter from .rampup import RampUp, LinearRampUp, get_ramp_up from .utils import (get_accuracy, interleave, unwrap_model, split_classifier_params) from .models import EMA, build_model, build_ema_model from .optimization import build_optimizer,...
41,126
https://github.com/KananM10/spotify_app/blob/master/spotify_react_app/src/App.js
Github Open Source
Open Source
MIT
null
spotify_app
KananM10
JavaScript
Code
190
699
import React, {Component} from 'react'; import logo from './assets/logo.svg'; import Search from './Search/Search'; import Result from './Result/Result'; import queryString from 'query-string'; import './App.css'; import { connect } from 'react-redux'; import * as actions from './store/actions/index'; class App exten...
21,003
https://github.com/1csoft/bitrix-rest/blob/master/src/RestBase.php
Github Open Source
Open Source
MIT
null
bitrix-rest
1csoft
PHP
Code
722
3,040
<?php /** * Created by OOO 1C-SOFT. * User: Dremin_S * Date: 04.06.2018 */ namespace Soft1c\Rest; use Bitrix\Main\DB\Exception; use Bitrix\Main\Web\Json; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\...
28,117
https://github.com/yuanjingkai/kudu/blob/master/src/kudu/rpc/rpc-bench.cc
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, Zlib, GPL-1.0-or-later, LicenseRef-scancode-protobuf, bzip2-1.0.6, MIT, NCSA, CC0-1.0, GPL-2.0-or-later, BSL-1.0, LicenseRef-scancode-public-domain, BSD-2-Clause
2,015
kudu
yuanjingkai
C++
Code
343
1,165
// Copyright 2013 Cloudera, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
36,626
https://github.com/soney/brawlio/blob/master/src/game/models/projectile/projectile.js
Github Open Source
Open Source
MIT
2,012
brawlio
soney
JavaScript
Code
132
592
(function(BrawlIO) { var _ = BrawlIO._; var MovingObject = BrawlIO.get_type("MovingObject"); var Projectile; Projectile = function(options) { var radius = options.radius; //Radius in tiles Projectile.superclass.call(this, _.extend({ shape: BrawlIO.create("circle_shape", {radius: radius}) , translational_...
1,296
https://github.com/ponticelli/thx.core/blob/master/src/thx/core/Types.hx
Github Open Source
Open Source
MIT
2,014
thx.core
ponticelli
Haxe
Code
185
527
/** * ... * @author Franco Ponticelli */ package thx.core; class Types { public static inline function isAnonymousObject(v : Dynamic) : Bool return Reflect.isObject(v) && null == Type.getClass(v); public static function sameType<A, B>(a : A, b : B) : Bool return ValueTypes.toString(Type.typeof(a)) == ...
24,966
https://github.com/zoack-adventure/zoack/blob/master/app/src/main/java/com/verisence/zoackadventures/UI/PaymentInquiryActivity.java
Github Open Source
Open Source
MIT
2,021
zoack
zoack-adventure
Java
Code
728
3,764
package com.verisence.zoackadventures.UI; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.app.AlertDialog; import android.app.Dialog; import android.os.Bundle;...
28,819
https://github.com/neo-classic/by-dev.com/blob/master/app/Http/Controllers/Admin/PostController.php
Github Open Source
Open Source
MIT
null
by-dev.com
neo-classic
PHP
Code
14
48
<?php namespace App\Http\Controllers\Admin; class PostController { public function index() { return view('admin.post.index'); } }
24,430
https://github.com/sapcc/elektra/blob/master/plugins/lbaas2/app/models/lbaas2/l7policy.rb
Github Open Source
Open Source
MIT, Apache-2.0
2,023
elektra
sapcc
Ruby
Code
94
364
# frozen_string_literal: true module Lbaas2 class L7policy < Core::ServiceLayer::Model validates :name, presence: true validates :action, presence: true def attributes_for_create { "name" => read("name"), "description" => read("description"), "position" => read("position"),...
48,082
https://github.com/Liaoworking/iOSSystemCamera/blob/master/iOSSystemCamera/Source/GHFilterGroupVeiw.h
Github Open Source
Open Source
MIT
2,020
iOSSystemCamera
Liaoworking
C
Code
33
107
// // FilterGroupVeiw.h // iOSSystemCamera // // Created by Guanghui Liao on 2/3/18. // Copyright © 2018 liaoworking. All rights reserved. // #import <UIKit/UIKit.h> @interface GHFilterGroupVeiw : UIView @property (nonatomic,strong) UICollectionView *filterCollectionView; @end
1,626
https://github.com/rhdemo/scavenger/blob/master/microservices/scavenger-microservice/src/test/java/me/escoffier/keynote/RoundRobinTest.java
Github Open Source
Open Source
Apache-2.0
null
scavenger
rhdemo
Java
Code
158
586
package me.escoffier.keynote; import me.escoffier.keynote.s3.RoundRobin; import org.junit.Test; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.Collectors; import static org.assertj.core.a...
17,968
https://github.com/piranon/URL-Shortener-frontend/blob/master/tests/Unit/AdminServiceTest.php
Github Open Source
Open Source
MIT
null
URL-Shortener-frontend
piranon
PHP
Code
143
707
<?php namespace Tests\Unit; use App\Facades\AdminFacadeInterface; use App\Models\URLView; use App\Services\AdminService; use Tests\TestCase; class AdminServiceTest extends TestCase { protected $adminFacade; protected $adminService; protected function setUp() { parent::setUp(); $this...
44,755
https://github.com/isabella232/sbt-pull-request-validator/blob/master/src/sbt-test/sbt-pull-request-validator/filters/project/plugins.sbt
Github Open Source
Open Source
Apache-2.0
2,019
sbt-pull-request-validator
isabella232
Scala
Code
5
36
addSbtPlugin("com.hpe.sbt" % "sbt-pull-request-validator" % sys.props("plugin.version"))
18,447
https://github.com/Darkxell/Les-Chroniques-de-Norwand/blob/master/core/src/com/norwand/game/management/gamedata/environement/tiles/MagicIce.java
Github Open Source
Open Source
Apache-2.0
2,016
Les-Chroniques-de-Norwand
Darkxell
Java
Code
98
333
package com.norwand.game.management.gamedata.environement.tiles; import com.norwand.game.management.gamedata.GameData; import com.norwand.game.resources.ImagesHolder; import com.norwand.game.utility.objects.AnimatedSprite; public class MagicIce extends Tile{ /**The time left fefore the tile decay.*/ private int de...
20,934
https://github.com/RuoxiGeng/tp5-apis/blob/master/application/common/lib/Aes.php
Github Open Source
Open Source
Apache-2.0
2,021
tp5-apis
RuoxiGeng
PHP
Code
128
432
<?php namespace app\common\lib; use think\Hook; /** * aes 加密 解密类库 * @by singwa * Class Aes * @package app\common\lib */ class Aes { private $key = null; /** * * @param $key 密钥 * @return String */ public function __construct() { // 需要小伙伴在配置文件app.php中定义aeskey $th...
529
https://github.com/tada5hi/typescript-auth/blob/master/packages/backend/api-adapter/src/http/middleware/module.ts
Github Open Source
Open Source
MIT
null
typescript-auth
tada5hi
TypeScript
Code
243
744
/* * Copyright (c) 2022. * Author Peter Placzek (tada5hi) * For the full copyright and license information, * view the LICENSE file that was distributed with this source code. */ import { AbilityManager, CookieName, TokenAPI, TokenVerificationPayload, } from '@authelion/common'; import { BadReques...
54,902
https://github.com/zbloss/domino-research/blob/master/checkpoint/frontend/packages/ui/src/components/Breadcrumb/__tests__/Breadcrumb.test.tsx
Github Open Source
Open Source
Apache-2.0
2,021
domino-research
zbloss
TSX
Code
72
181
import React from 'react'; import { Router } from 'react-router-dom'; import { createMemoryHistory } from 'history'; import { render } from '@testing-library/react'; import Breadcrumb from '../index'; const breadcrumb = [{ title: 'Breadcrumb 1' }, { url: '#', title: 'Breadcrumb 2' }]; describe('<BreadcrumbContainer /...
25,451
https://github.com/aliyun/aliyun-openapi-java-sdk/blob/master/aliyun-java-sdk-advisor-share/src/main/java/com/aliyuncs/advisor_share/transform/v20180608/DescribeHistoryCheckStatisticsResponseUnmarshaller.java
Github Open Source
Open Source
Apache-2.0
2,023
aliyun-openapi-java-sdk
aliyun
Java
Code
125
428
/* * 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...
46,066
https://github.com/suda-morris/SUDA_V3S/blob/master/apps/ecat-master/main/utils.c
Github Open Source
Open Source
Apache-2.0
2,022
SUDA_V3S
suda-morris
C
Code
296
1,223
/* * utils.c * * Created on: Mar 11, 2018 * Author: morris */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <pthread.h> #include <unistd.h> #include "utils.h" static bool thread_running = true; static uint8_t usage = 0; /* 互斥锁 */ static pthread_mutex_t mutex; void utils_stop(void) {...
5,117
https://github.com/PauCamaraV/CyberAttack-Game/blob/master/Assets/Attackonbuffer/Prefabs/EnemyWaves/Attack on Buffer! Waves/Level 3/Wave_4 (2).prefab.meta
Github Open Source
Open Source
MIT
2,021
CyberAttack-Game
PauCamaraV
Unity3D Asset
Code
10
55
fileFormatVersion: 2 guid: 63ad8298c804c1148bac01c299dce368 PrefabImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
24,398
https://github.com/igorstojanovski/central-committee-extension/blob/master/src/main/java/co/igorski/model/events/TestDisabled.java
Github Open Source
Open Source
Apache-2.0
null
central-committee-extension
igorstojanovski
Java
Code
31
107
package co.igorski.model.events; import co.igorski.model.Outcome; import co.igorski.model.TestModel; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor public class TestDisabled extends Event { private Long runId; private TestModel test; private...
13,940
https://github.com/mmatthews1981/mmatthews1981.github.io/blob/master/apps/trumpsweeper/js/index.js
Github Open Source
Open Source
MIT
2,016
mmatthews1981.github.io
mmatthews1981
JavaScript
Code
717
1,983
$(document).ready(function() { init(); }); $("#start").click(function(){ //destroy the board $("#wrapper").children().remove(); //clear the loser message if needed $("#announcement").empty(); init(); }); rows = 12; columns = 12; function init() { //clone army var $row = $("<div />", { class: 'row'...
1,861
https://github.com/git-the-cpan/CatalystX-Test-Most/blob/master/lib/CatalystX/Test/Most.pm
Github Open Source
Open Source
ClArtistic
null
CatalystX-Test-Most
git-the-cpan
Perl
Code
474
1,134
package CatalystX::Test::Most; use strictures; no warnings "uninitialized"; use HTTP::Request::Common ( qw{ GET POST DELETE PUT } ); use Test::More; use Test::Fatal; our $AUTHORITY = "cpan:ASHLEY"; our $VERSION = "0.05"; our @EXPORT = ( qw{ GET POST DELETE PUT }, qw{ request ctx_request action_redirect ...
1,856
https://github.com/rtr-x8/simplechat01/blob/master/packages/countDownChat/Domain/Deadline/DeadlineDescription.php
Github Open Source
Open Source
MIT
2,021
simplechat01
rtr-x8
PHP
Code
11
41
<?php namespace CountDownChat\Domain\Deadline; use Shared\Domain\Text; class DeadlineDescription extends Text { }
54,462
https://github.com/levackt/swap-shop/blob/master/contracts/pair/Makefile
Github Open Source
Open Source
Apache-2.0
2,021
swap-shop
levackt
Makefile
Code
55
236
.PHONY: all build clean find-floating-points all: build build: RUSTFLAGS='-C link-arg=-s' cargo build --release --target wasm32-unknown-unknown wasm-opt -Oz ./target/wasm32-unknown-unknown/release/*.wasm -o ./contract.wasm cat ./contract.wasm | gzip -9 > ./contract.wasm.gz find-floating-points: cargo build --re...
7,938
https://github.com/BoiseState-AdaptLab/IEGenLib/blob/master/lib/gmp/mpn/x86/k6/k62mmx/copyd.asm
Github Open Source
Open Source
LGPL-3.0-or-later, BSD-3-Clause, GPL-2.0-or-later, BSD-2-Clause, GPL-3.0-only, GPL-2.0-only, LGPL-3.0-only
2,023
IEGenLib
BoiseState-AdaptLab
Assembly
Code
509
1,141
dnl AMD K6-2 mpn_copyd -- copy limb vector, decrementing. dnl Copyright 2001, 2002 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General P...
48,450
https://github.com/lcastillov/TigerCompiler/blob/master/TigerCompiler/Semantics/FunctionInfo.cs
Github Open Source
Open Source
MIT
2,018
TigerCompiler
lcastillov
C#
Code
86
216
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using System.Threading.Tasks; using TigerCompiler.AST; namespace TigerCompiler.Semantics { internal class FunctionInfo : ItemInfo { internal TypeNode ReturnType { get; set; } int...
13,293
https://github.com/freitagdavid/labs10-webchat/blob/master/chat_view/src/components/client/CustomerRequest.js
Github Open Source
Open Source
MIT
2,019
labs10-webchat
freitagdavid
JavaScript
Code
56
164
import React, { Component } from 'react'; class CustomerRequest extends Component { state = { email: "", name: "", question: "" } sendData() { console.log("sendData()") } render() { return( <div> <form onSubmit={this.sendData}> ...
30,579
https://github.com/DIYgod/RSSHub/blob/master/lib/v2/18comic/maintainer.js
Github Open Source
Open Source
MIT
2,023
RSSHub
DIYgod
JavaScript
Code
12
97
module.exports = { '/album/:id': ['nczitzk'], '/blogs/:category?': ['nczitzk'], '/search/:option?/:category?/:time?/:order?/:keyword?': ['nczitzk'], '/:category?/:time?/:order?/:keyword?': ['nczitzk'], };
34,898
https://github.com/myleskeeffe/wems/blob/master/backend/routes/user/uCreate.ts
Github Open Source
Open Source
MIT
null
wems
myleskeeffe
TypeScript
Code
79
224
import { createUser } from '../../utils/auth/createUser'; module.exports = (req: any, res: any) => { if (!req.body.fName || !req.body.uName || !req.body.email || !req.body.password) { return(res.json({error: 'Please fill all required fields.'})) } let fName = req.body.fName let lName = req.body....
37,891
https://github.com/JongyunHa/COMP2500CodeSamples/blob/master/src/myself/FlowerPot.java
Github Open Source
Open Source
MIT
null
COMP2500CodeSamples
JongyunHa
Java
Code
84
278
package myself; public class FlowerPot { private boolean alive = true; private final int minDailyWaterInMl; private int dailyWaterReceived = 0; public FlowerPot(int minDailyWaterInMl) { this.minDailyWaterInMl = minDailyWaterInMl; } public boolean isAlive() { return this.alive...
42,304
https://github.com/philipbergen/arcade/blob/master/arcade/joysticks.py
Github Open Source
Open Source
MIT
2,018
arcade
philipbergen
Python
Code
10
52
import pyglet.input def get_joysticks(): return pyglet.input.get_joysticks() def get_game_controllers(): return get_joysticks()
20,284
https://github.com/akshitdewan/ok-client/blob/master/client/sources/common/interpreter.py
Github Open Source
Open Source
Apache-2.0
2,022
ok-client
akshitdewan
Python
Code
1,224
3,699
"""Case for generic interpreter-style tests.""" from client.sources.common import core from client.sources.common import models from client.utils import locking import re import textwrap class CodeCase(models.Case): """TestCase for doctest-style Python tests.""" code = core.String() def __init__(self, c...
338
https://github.com/Azure/aks-engine/blob/master/pkg/api/apiloader_test.go
Github Open Source
Open Source
MIT
2,023
aks-engine
Azure
Go
Code
1,347
6,647
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. package api import ( "github.com/Azure/aks-engine/pkg/api/vlabs" "github.com/Azure/aks-engine/pkg/i18n" "github.com/leonelquinteros/gotext" "os" "path" "testing" ) func TestLoadContainerServiceFromFile(t *testing.T...
33,328
https://github.com/zhannicholas/LeetCodeSolutions/blob/master/leetcode-java/src/main/java/lcof52LiangGeLianBiaoDeDiYiGeGongGongJieDian/Solution.java
Github Open Source
Open Source
CC0-1.0
2,021
LeetCodeSolutions
zhannicholas
Java
Code
221
1,007
package lcof52LiangGeLianBiaoDeDiYiGeGongGongJieDian; /* 剑指 Offer 52. 两个链表的第一个公共节点 输入两个链表,找出它们的第一个公共节点。 如下面的两个链表: 在节点 c1 开始相交。 示例 1: 输入:intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skipA = 2, skipB = 3 输出:Reference of the node with value = 8 输入解释:相交节点的值为 8 (注意,如果两个列表相交则不能为 0)。从各自的表头开始算起,链表 A...
14,031
https://github.com/IOR-BIC/ALBA/blob/master/Interaction/albaInteractorPERScalarInformation.cpp
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,021
ALBA
IOR-BIC
C++
Code
492
1,901
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaInteractorPERScalarInformation Authors: Matteo Giacomoni, Gianluigi Crimi Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed ...
35,412
https://github.com/Holfz/txAdmin/blob/master/extensions/txAdminClient/resource/cl_logger.js
Github Open Source
Open Source
MIT, CC-BY-3.0
2,020
txAdmin
Holfz
JavaScript
Code
207
872
//Helpers const log = (x)=>{console.log(x)} const dir = (x)=>{console.dir(x)} const logError = (err) => { console.log(`====> Error: ${err.message}`); console.log(err.stack) } const chat = (data) => { emit('chat:addMessage', { color: [255, 0, 0], multiline: true, args: ["Console", dat...
22,792
https://github.com/jonathanlermitage/tikione-c2e/blob/master/src/main/kotlin/fr/tikione/c2e/core/model/web/Paragraph.kt
Github Open Source
Open Source
MIT
2,018
tikione-c2e
jonathanlermitage
Kotlin
Code
38
104
package fr.tikione.c2e.core.model.web /** * Article paragraph. */ class Paragraph { /** Raw text. */ var text: String? = null constructor() { } constructor(text: String?) { this.text = text } override fun toString(): String { return "Paragraph(text=$text)" } }
45,689
https://github.com/julian2015/yii2test/blob/master/home/views/customers/_search.php
Github Open Source
Open Source
BSD-3-Clause
null
yii2test
julian2015
PHP
Code
124
437
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\CustomersSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="customers-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
34,859
https://github.com/andraaspar/shroom/blob/master/src/com/pirkadat/ui/WorldObjectAppearance.as
Github Open Source
Open Source
MIT
null
shroom
andraaspar
null
Spoken
128
595
package com.pirkadat.ui { import com.pirkadat.display.*; import com.pirkadat.logic.*; import flash.display.BitmapData; import flash.display.PixelSnapping; import flash.geom.Point; import flash.media.SoundChannel; import flash.media.SoundTransform; public class WorldObjectAppearance extends TrueSize { publ...
47,561
https://github.com/Roldak/OpenGLAda/blob/master/src/gl/interface/gl-objects-renderbuffers.ads
Github Open Source
Open Source
MIT
2,022
OpenGLAda
Roldak
Ada
Code
212
598
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.Pixels; with GL.Low_Level.Enums; package GL.Objects.Renderbuffers is pragma Preelaborate; type Renderbuffer_Target (<>) is tagged limited private; procedure Allocate (Object : Rende...
21,725
https://github.com/ecnepsnai/pukcab/blob/master/build.sh
Github Open Source
Open Source
MIT
null
pukcab
ecnepsnai
Shell
Code
53
183
#!/bin/bash function build { GOOS=$1 GOARCH=$2 NAME="pukcab_${GOOS}_${GOARCH}.tar.gz" rm -f pukcab go build -ldflags="-s -w" tar -czf ${NAME} pukcab rm -f pukcab mv ${NAME} ../../artifacts/ } rm -rf artifacts mkdir -p artifacts cd cmd/pukcab for ARCH in 'amd64' 'arm64'; do for OS...
25,520
https://github.com/nicksherron/elasticstack-swarm/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,019
elasticstack-swarm
nicksherron
Ignore List
Code
3
13
.idea/ utils/ .DS_Store
10,446
https://github.com/pydawan/faker/blob/master/src/main/java/io/bloco/faker/components/SlackEmoji.java
Github Open Source
Open Source
MIT
2,022
faker
pydawan
Java
Code
82
328
package io.bloco.faker.components; import io.bloco.faker.FakerComponent; import io.bloco.faker.FakerData; public class SlackEmoji extends FakerComponent { public SlackEmoji(FakerData data) { super(data); } public String people() { return fetch("slack_emoji.people"); } public Str...
26,945
https://github.com/Kay-code-1/react-portfolio/blob/master/server/routes/api-routes.js
Github Open Source
Open Source
MIT
null
react-portfolio
Kay-code-1
JavaScript
Code
58
156
import express from 'express'; import Projects from '../models/projects'; import Experience from '../models/experience'; const router = express.Router(); router.get('/', (req, res) => { res.send({ message: 'Welcome to my portfolio' }); }); router.get('/projects', async (req, res) => { const projects = await Proj...
56,033
https://github.com/CremaLuca/android-preferences/blob/master/preferences/src/main/java/it/lucacrema/preferences/ObjectSerializerUtility.java
Github Open Source
Open Source
MIT
2,020
android-preferences
CremaLuca
Java
Code
183
445
package it.lucacrema.preferences; import android.util.Base64; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; /** * Utility class to serialize objects into strings...
40,930
https://github.com/eddiemuro123/App/blob/master/src/libs/StatusBar/index.android.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,021
App
eddiemuro123
JavaScript
Code
14
30
import {StatusBar} from 'react-native'; // Just export StatusBar – no changes. export default StatusBar;
11,945
https://github.com/omni-digital/omni-forms/blob/master/omniforms/migrations/0023_copy_related_data.py
Github Open Source
Open Source
MIT
2,018
omni-forms
omni-digital
Python
Code
113
642
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2018-04-23 05:48 from __future__ import unicode_literals from django.db import migrations def forwards(apps, schema_editor): OmniManyToManyField = apps.get_model('omniforms', 'OmniManyToManyField') OmniManyToManyFieldNew = apps.get_model('omniforms', 'Omn...
51,284
https://github.com/vazmin/eagle-eye-kratos/blob/master/common/net/utils_test.go
Github Open Source
Open Source
MIT
null
eagle-eye-kratos
vazmin
Go
Code
24
73
package net import ( "fmt" "testing" ) func TestGetIP(t *testing.T) { ip, err := GetIP() if err != nil { t.Error(err) } fmt.Println(ip) }
24,409
https://github.com/TravorLZH/mathcol-doc/blob/master/Makefile
Github Open Source
Open Source
CC0-1.0
2,021
mathcol-doc
TravorLZH
Makefile
Code
37
168
SRC=math-collections.tex DEP=$(filter-out $(SRC),$(wildcard *.tex)) OUT=$(SRC:.tex=.pdf) AUX=$(SRC:.tex=.aux) all: $(OUT) clean: rm -rf *.aux *.pdf *.log *.bbl *.blg *.toc *.out run: $(OUT) open $(OUT) $(AUX): $(SRC) $(DEP) #refs.bib pdflatex $< $(OUT): $(AUX) #bibtex $< pdflatex $(SRC) 2>/dev/null pdflate...
27,966
https://github.com/Lallora/2020-06-otus-java-Arefulin/blob/master/hw09-ORM/src/main/java/ru/otus/jdbc/dao/DaoUser.java
Github Open Source
Open Source
MIT
2,022
2020-06-otus-java-Arefulin
Lallora
Java
Code
27
114
package ru.otus.jdbc.dao; import ru.otus.jdbc.sessionmanager.SessionManager; import ru.otus.core.models.User; import java.util.Optional; public interface DaoUser { Optional<User> findById(long id); void insertUser(User user); void update(User user); void insertOrUpdate(User user); SessionMan...
2,517
https://github.com/icyleaf/omim/blob/master/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMNextTurnPanel.h
Github Open Source
Open Source
Apache-2.0
2,015
omim
icyleaf
Objective-C
Code
13
71
#import "MWMRouteHelperPanel.h" @interface MWMNextTurnPanel : MWMRouteHelperPanel + (instancetype)turnPanelWithOwnerView:(UIView *)ownerView; - (void)configureWithImage:(UIImage *)image; @end
55,823
https://github.com/SpencerPark/Jupyter-kernel-installer-gradle/blob/master/src/main/kotlin/io/github/spencerpark/jupyter/gradle/KernelParameterSpecContainer.kt
Github Open Source
Open Source
MIT
2,018
Jupyter-kernel-installer-gradle
SpencerPark
Kotlin
Code
384
1,105
/** * The MIT License (MIT) * * Copyright (c) 2017 Spencer Park * * 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...
42,792
https://github.com/glahiru/airavata-1/blob/master/modules/xbaya-gui/src/main/java/org/apache/airavata/xbaya/ui/widgets/XBayaLabel.java
Github Open Source
Open Source
Apache-2.0
null
airavata-1
glahiru
Java
Code
284
681
/* * * 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"); y...
28,794
https://github.com/elastic/terraform-provider-ec/blob/master/examples/deployment_with_init/main.tf
Github Open Source
Open Source
Apache-2.0, MPL-2.0, BSD-3-Clause, 0BSD, MPL-2.0-no-copyleft-exception, BSD-2-Clause
2,023
terraform-provider-ec
elastic
HCL
Code
29
122
resource "null_resource" "bootstrap-elasticsearch" { provisioner "local-exec" { # Created servers and appropriate AZs command = templatefile("es_config.sh", { elastic-user = ec_deployment.example_minimal.elasticsearch_username elastic-password = ec_deployment.example_minimal.elasticsearch_pass...
25,057
https://github.com/muxtor/arenda/blob/master/components/widgets/SideHelper.php
Github Open Source
Open Source
BSD-3-Clause
2,018
arenda
muxtor
PHP
Code
60
231
<?php namespace app\components\widgets; use app\models\SideHelp; use Yii; use yii\base\Widget; use yii\helpers\Html; class SideHelper extends Widget { public function run() { $controller = Yii::$app->controller; if (!isset($controller)) return; $path = Yii::$app->request->pathInfo; $model = SideHelp:...
10,395
https://github.com/duydole/rxswift_notes/blob/master/Examples/BasicRxSwift/02_Operators/Filtering_Operators.playground/Contents.swift
Github Open Source
Open Source
Apache-2.0
2,020
rxswift_notes
duydole
Swift
Code
413
1,462
import UIKit import RxSwift example(of: "ignoreElements") { let subject = PublishSubject<String>() let bag = DisposeBag() subject .ignoreElements() .subscribe { event in print(event) } .disposed(by: bag) subject.onNext("1") subject.onNext("2")...
5,802
https://github.com/rmuhamedgaliev/tbd-telegram/blob/master/src/main/java/dev/tobee/telegram/request/body/StopPollBody.java
Github Open Source
Open Source
MIT
2,022
tbd-telegram
rmuhamedgaliev
Java
Code
23
123
package dev.tobee.telegram.request.body; import java.util.Optional; import com.fasterxml.jackson.annotation.JsonProperty; import dev.tobee.telegram.model.message.ReplyMarkup; public record StopPollBody( @JsonProperty("chat_id") long chatId, @JsonProperty("message_id") Long message_id, @JsonPr...
8,142
https://github.com/mcdobr/bdt-map-reduce/blob/master/bfs/src/main/java/me/mircea/reducer/BfsReducer.java
Github Open Source
Open Source
Apache-2.0
null
bdt-map-reduce
mcdobr
Java
Code
108
357
package me.mircea.reducer; import me.mircea.BfsUtils; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; import java.io.IOException; import java.util.HashMap; import java.util.Map; public class BfsReducer extends Reducer<LongWritable, Text, LongWri...
44,133
https://github.com/VitalijSK/dim/blob/master/backEnd/server/controllers/LanguageControllers.ts
Github Open Source
Open Source
MIT
null
dim
VitalijSK
TypeScript
Code
41
121
import language from '../models/Language'; import { Request, Response } from 'express'; class LanguageControllers { getLanguage(req: Request, res: Response) { const lang = req.params.lang; const packeges = language.getPackages(lang); if (packeges) { return res.end(JSON.s...
50,159
https://github.com/jdeathe/centos-ssh-varnish/blob/master/src/etc/systemd/system/centos-ssh-varnish@.service
Github Open Source
Open Source
MIT
2,019
centos-ssh-varnish
jdeathe
null
Spoken
612
3,074
# ------------------------------------------------------------------------------ # Naming convention: # # centos-ssh-varnish@.service = {service-unit-install-template-name} # | # +--------------------- {image-name} # # varnish@.service = {service-unit-template-name} # | # +--------...
21,033
https://github.com/phamduclong/deployhanhchinhcong/blob/master/app/Http/Controllers/Admin/HomeController.php
Github Open Source
Open Source
MIT
null
deployhanhchinhcong
phamduclong
PHP
Code
946
4,570
<?php namespace App\Http\Controllers\Admin; use App\Events\EventSendNoteFromManager; use App\Http\Controllers\Controller; use App\Models\Citizen; use App\Models\HoSo; use App\Models\LinhVuc; use App\Models\Manager; use App\Models\ThuTuc; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session; use Illumin...
11,198
https://github.com/zahedbri/stimulus/blob/master/src/core/action_descriptor.ts
Github Open Source
Open Source
MIT
2,021
stimulus
zahedbri
TypeScript
Code
133
400
export interface ActionDescriptor { eventTarget: EventTarget eventOptions: AddEventListenerOptions eventName: string identifier: string methodName: string } // capture nos.: 12 23 4 43 1 5 56 7 768 9 98 const descriptorPattern = /^((.+?)(@(window|document))?->)?(.+?)(#([^...
18,961
https://github.com/Willis-zzx/PractiseProject-server/blob/master/src/main/java/com/zzx/config/CorsConfig.java
Github Open Source
Open Source
Apache-2.0
null
PractiseProject-server
Willis-zzx
Java
Code
52
233
package com.zzx.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servl...
19,619
https://github.com/sylar/hackerrank/blob/master/Implementation/kangaroo.js
Github Open Source
Open Source
MIT
2,019
hackerrank
sylar
JavaScript
Code
95
248
/* Requirements: https://www.hackerrank.com/challenges/kangaroo/ Testcases: Input: 0 3 4 2 Output: YES Input: 0 2 5 3 Output: NO Input: 288 9679 9653 99 Output: NO */ // Complete the kangaroo function below. function kangaroo(x1, v1, x2, v2) { if (x1 === x2 && v1 === v2) { return 'YES' } if (x1 === x2 &...
55,728
https://github.com/Raskal8/NiceHashBot-Forked/blob/master/src/NiceHashBot/PoolContainer.cs
Github Open Source
Open Source
MIT
2,015
NiceHashBot-Forked
Raskal8
C#
Code
127
383
using System; using System.Collections.Generic; using System.Text; using System.IO; using NiceHashBotLib; using Newtonsoft.Json; namespace NiceHashBot { public class PoolContainer { private static List<Pool> PoolList; public static void Initialize() { string TextData = nul...
46,615
https://github.com/damrem/match3/blob/master/src/gui/IScreen.as
Github Open Source
Open Source
MIT
2,018
match3
damrem
null
Spoken
13
37
package gui { public interface IScreen { function enter():void; function exit():void; } }
52,737
https://github.com/grails/grails-gsp/blob/master/grails-web-sitemesh/src/main/groovy/org/grails/web/sitemesh/GrailsRoutablePrintWriter.java
Github Open Source
Open Source
BSD-3-Clause, CDDL-1.0, LGPL-3.0-only, MIT, CC-BY-4.0, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-h2-1.0, GPL-2.0-only, LGPL-2.1-only, Apache-2.0, LicenseRef-scancode-other-permissive, LGPL-2.1-or-later, LicenseRef-scancode-public-domain, CC-BY-2.5, CDDL-1.1, BSD-2-Clause, W3C, ANTLR-PD, Apache-...
2,023
grails-gsp
grails
Java
Code
788
2,356
/* * Copyright 2004-2005 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
46,431
https://github.com/nikolajjsj/twitter_api/blob/master/lib/api/tweets/data/tweet.dart
Github Open Source
Open Source
BSD-3-Clause
2,022
twitter_api
nikolajjsj
Dart
Code
855
1,732
import 'package:dart_twitter_api/api/common/data/entities.dart'; import 'package:dart_twitter_api/api/geo/data/coordinates.dart'; import 'package:dart_twitter_api/api/geo/data/place.dart'; import 'package:dart_twitter_api/api/tweets/data/quoted_status_permalink.dart'; import 'package:dart_twitter_api/api/users/data/use...
7,461