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/sparkzxl/sparkzxl-authorization/blob/master/sparkzxl-authorization-server/src/main/java/com/github/sparkzxl/authorization/application/event/InitRolePathApplicationRunner.java
Github Open Source
Open Source
Apache-2.0
2,021
sparkzxl-authorization
sparkzxl
Java
Code
84
429
package com.github.sparkzxl.authorization.application.event; import com.github.sparkzxl.authorization.infrastructure.constant.CacheConstant; import com.github.sparkzxl.authorization.infrastructure.entity.RoleResource; import com.github.sparkzxl.authorization.infrastructure.mapper.AuthUserMapper; import org.springframe...
4,023
https://github.com/narayana-plivo/plivo-php/blob/master/src/Examples/RegulatoryCompliance.php
Github Open Source
Open Source
MIT
2,022
plivo-php
narayana-plivo
PHP
Code
603
2,467
<?php require 'vendor/autoload.php'; use Plivo\RestClient; use Plivo\Exceptions\PlivoRestException; $AUTH_ID = "YOUR_AUTH_ID"; $AUTH_TOKEN = "YOUR_AUTH_TOKEN"; $client = new RestClient($AUTH_ID, $AUTH_TOKEN); $client->client->setTimeout(40); // List EndUsers echo "########## List EndUser ###################\n";...
44,298
https://github.com/duranrojasm/symphony/blob/master/async/worker/context.go
Github Open Source
Open Source
BSD-3-Clause
2,021
symphony
duranrojasm
Go
Code
626
2,038
// Copyright (c) 2004-present Facebook All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package worker import ( "context" "fmt" "strings" "github.com/AlekSi/pointer" "github.com/facebookincubator/symphony/pkg/authz" "github.com/faceboo...
31,803
https://github.com/openSUSE/minitest_rails_tools/blob/master/lib/minitest_rails_tools/application_integration.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,014
minitest_rails_tools
openSUSE
Ruby
Code
36
139
require 'minitest/autorun' class MiniTest::Spec include Rails.application.routes.url_helpers end class ControllerSpec < MiniTest::Spec require 'rails/test_help' alias :method_name :__name__ if defined? :__name__ include ActiveSupport::Testing::SetupAndTeardown include ActiveSupport::Testing::Assertions ...
33,705
https://github.com/vickygupta73/competitiveprogramming/blob/master/independentsets.py
Github Open Source
Open Source
MIT
2,020
competitiveprogramming
vickygupta73
Python
Code
73
265
# n=int(input()) # graph=[[]for i in range(n)] # for _ in range(n-1): # u,v=map(int,input().split()) # graph[u-1].append(v-1) # graph[v-1].append(u-1) # colour=[0 for i in range(n)] # print(graph) # def dfs(parent): # ans=0 # if colour[parent]==0: # return # count_black=0 # for child in graph[parent]: # if...
25,261
https://github.com/AlexFarrell97/Previous_Work/blob/master/Sixth_Form_e-Learning/tasks.php
Github Open Source
Open Source
MIT
null
Previous_Work
AlexFarrell97
PHP
Code
373
1,367
<?php //include a file but checks if it has already been included require_once 'core/init.php'; //initiate the class 'User()' $user = new User(); //check if the user is logged in if(!$user->isLoggedIn() || $user->data()->account_type !== '3') { Redirect::to("index.php"); } else { $data = $user->data(); $u_id = ...
42,480
https://github.com/priyankpb/PASTRY-PEER-TO-PEER-NETWORK/blob/master/cs555/util/NodeInfo.java
Github Open Source
Open Source
Apache-2.0
null
PASTRY-PEER-TO-PEER-NETWORK
priyankpb
Java
Code
130
299
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package cs555.util; /** * * @author priyankb */ public class NodeInfo { String nickName; String ip; int port; pub...
21,670
https://github.com/matter-labs/zksync/blob/master/core/lib/state/src/error.rs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, MIT
2,023
zksync
matter-labs
Rust
Code
80
334
use crate::handler::error::*; use thiserror::Error; #[derive(Clone, Debug, Error, PartialEq)] pub enum OpError { #[error(transparent)] TransferOpError(#[from] TransferOpError), #[error(transparent)] WithdrawOpError(#[from] WithdrawOpError), #[error(transparent)] WithdrawNFTOpError(#[from] Withd...
17,160
https://github.com/MushroomRL/mushroom-rl/blob/master/mushroom_rl/utils/pybullet/viewer.py
Github Open Source
Open Source
MIT
2,023
mushroom-rl
MushroomRL
Python
Code
106
503
import numpy as np import pybullet from mushroom_rl.utils.viewer import ImageViewer class PyBulletViewer(ImageViewer): def __init__(self, client, dt, size=(500, 500), distance=4, origin=(0, 0, 1), angles=(0, -45, 60), fov=60, aspect=1, near_val=0.01, far_val=100): self._client = client ...
30,313
https://github.com/reactor/reactor-addons/blob/master/reactor-extra/src/main/java/reactor/retry/DefaultContext.java
Github Open Source
Open Source
Apache-2.0
2,023
reactor-addons
reactor
Java
Code
264
683
/* * Copyright (c) 2017-2021 VMware Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * *...
46,405
https://github.com/igelineau/tangerine/blob/master/tests/test_secret_provider.py
Github Open Source
Open Source
MIT
2,018
tangerine
igelineau
Python
Code
102
610
import mock from pytest import fixture from tangerine import InteractiveSecretProvider, DictionaryBasedSecretProvider @fixture def interactive_secret_provider(): return InteractiveSecretProvider(input=mock.Mock(), getpass=mock.Mock()) @fixture def dict_secret_provider(): return DictionaryBasedSecretProvider...
22,701
https://github.com/famous90/Flag-appengine/blob/master/src/com/flag/engine/apis/Rewards.java
Github Open Source
Open Source
Apache-2.0
2,014
Flag-appengine
famous90
Java
Code
239
1,048
package com.flag.engine.apis; import java.util.Date; import java.util.List; import java.util.logging.Logger; import javax.annotation.Nullable; import javax.inject.Named; import javax.jdo.JDOObjectNotFoundException; import javax.jdo.PersistenceManager; import javax.jdo.Query; import com.flag.engine.constants.Constant...
32,023
https://github.com/DangVanDo160397/dtdd/blob/master/resources/views/admin/profile/index.blade.php
Github Open Source
Open Source
MIT
2,019
dtdd
DangVanDo160397
Blade
Code
126
684
@extends('admin.layout.app') @section('title','Quản lý người dùng') @section('content') <style> .row .table>tbody>tr>th{ background-color: #37474f; color: white; vertical-align: inherit; text-align: center; } .row .table>tbody>tr>td{ text-align: center; vertical-align: inherit; } tbody>tr>td>a{ margi...
49,967
https://github.com/ansel86castro/Igneel/blob/master/Engine/Igneel.Controllers/FPCameraController.cs
Github Open Source
Open Source
Apache-2.0
2,021
Igneel
ansel86castro
C#
Code
1,129
3,863
using Igneel.Assets; using Igneel.Input; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Igneel; using Igneel.Assets.StorageConverters; using Igneel.SceneManagement; namespace Igneel.Controllers { [Serializable] public class FpController...
11,805
https://github.com/Lunaticf/irita/blob/master/wallet/keys/create.go
Github Open Source
Open Source
Apache-2.0
2,022
irita
Lunaticf
Go
Code
95
306
package keys import ( "bufio" "github.com/spf13/cobra" "github.com/bianjieai/irita/wallet/keyring" ) func CreateCmd(generator KeybaseGenerator) *cobra.Command { cmd := &cobra.Command{ Use: "create <name>", Short: "Add an encrypted private key (either newly generated or recovered), encrypt it and save to d...
49,189
https://github.com/roomin-iot/xiot-core-spec-ts/blob/master/src/xiot/core/spec/codec/event/user/XiotDeviceRemovedCodec.ts
Github Open Source
Open Source
MIT
2,020
xiot-core-spec-ts
roomin-iot
TypeScript
Code
36
110
import {XiotDeviceRemoved} from '../../../../../..'; export class XiotDeviceRemovedCodec { static encode(event: XiotDeviceRemoved): any { return { devices: event.devices, }; } static decode(o: any): XiotDeviceRemoved { const event = new XiotDeviceRemoved(); eve...
31,486
https://github.com/helinyu/source_view/blob/master/cmake-3.12.20181002-g18d20/Tests/RunCMake/configure_file/Relative.cmake
Github Open Source
Open Source
BSD-3-Clause
2,019
source_view
helinyu
CMake
Code
6
48
configure_file(Relative-In.txt Relative-Out.txt) file(READ ${CMAKE_CURRENT_BINARY_DIR}/Relative-Out.txt out) message("${out}")
8,155
https://github.com/Nazar-bnm/ui-internship/blob/master/src/components/HomePage/Slideshow/Slideshow.js
Github Open Source
Open Source
MIT
2,021
ui-internship
Nazar-bnm
JavaScript
Code
583
2,047
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import ArrowButton from './ArrowButton'; import Slide from './SlideContainer'; import { ANIMATION_NAMES, ARROW_BUTTON_TYPES } from '../../../constants/SlideshowConst'; import './Slideshow.scss'; const { CAROU...
52,850
https://github.com/abhay-gooru/A-FE-W/blob/master/app/components/content/questions/answers/gru-reorder.js
Github Open Source
Open Source
MIT
null
A-FE-W
abhay-gooru
JavaScript
Code
136
427
import Ember from 'ember'; import Answer from 'gooru-web/models/content/answer'; /** * * Component for building (i.e. adding/removing answers) of a (drag/drop) re-order question * * @module * @augments Ember/Component * */ export default Ember.Component.extend({ // --------------------------------------------...
6,968
https://github.com/ProfilerTeam/Profiler/blob/master/protected/modules_core/admin/messages/sv/views_logging_index.php
Github Open Source
Open Source
MIT
2,021
Profiler
ProfilerTeam
PHP
Code
34
92
<?php return array ( '<strong>Error</strong> logging' => '<strong>Fel</strong> loggning', 'Displaying {count} entries per page.' => 'Visar {count} poster per sida.', 'Flush entries' => 'Flush poster', 'Total {count} entries found.' => 'Totalt {count} funna.', );
7,725
https://github.com/paulsaca/Welinkeo/blob/master/src/Welinkeo/UtilisateurBundle/Form/Type/AdresseAddType.php
Github Open Source
Open Source
MIT
null
Welinkeo
paulsaca
PHP
Code
80
458
<?php namespace Welinkeo\UtilisateurBundle\Form\Type; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\Extension\Core\Type\TextType; us...
4,994
https://github.com/braincorp/cuda-api-wrappers/blob/master/cmake/Modules/HandleCUDAComputeCapability.cmake
Github Open Source
Open Source
BSD-3-Clause
null
cuda-api-wrappers
braincorp
CMake
Code
163
636
# This module determines which compute capability / SM version # we should be compiling our CUDA code for, and adds the appropriate # switch to the NVCC compiler flags - so that you don't have to worry # about it. # # TODO: Be willing to take CUDA_CC, CUDA_TARGET_COMPUTE_CAPABILITY, # CUDA_TARGET_COMPUTE or CUDA_TARGE...
36,174
https://github.com/jariztia/jariztia.github.io/blob/master/js/LambdaFunctions/playerSelectedImage.js
Github Open Source
Open Source
Apache-2.0
2,020
jariztia.github.io
jariztia
JavaScript
Code
379
1,346
const AWS = require('aws-sdk'); const ddb = new AWS.DynamoDB.DocumentClient(); exports.handler = (event, context, callback) => { const data = JSON.parse(event.body); const { gameId, playerNumber, selectedImage, imageHint } = data; console.log(`Player ${playerNumber} (${gameId}) selected image ${selectedImage} ...
22,595
https://github.com/AlineTalhouk/splendid/blob/master/man/sequential.Rd
Github Open Source
Open Source
MIT
2,021
splendid
AlineTalhouk
R
Code
226
540
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sequential.R \name{sequential} \alias{sequential} \alias{sequential_train} \alias{sequential_pred} \title{Sequential Algorithm} \usage{ sequential_train(sm, data, class, boxplot = FALSE) sequential_pred(fit, sm, data, class, boxplot = FALSE)...
7,220
https://github.com/rakhi2104/focalboard/blob/master/webapp/src/components/kanban/kanbanColumnHeader.tsx
Github Open Source
Open Source
Apache-2.0
2,021
focalboard
rakhi2104
TypeScript
Code
383
1,736
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /* eslint-disable max-lines */ import React from 'react' import {FormattedMessage, IntlShape} from 'react-intl' import {Constants} from '../../constants' import {IPropertyOption} from '../../blocks/board' im...
8,608
https://github.com/sdsxpln/smcp/blob/master/src/smcpd/ud-var-node.c
Github Open Source
Open Source
MIT
2,017
smcp
sdsxpln
C
Code
1,229
5,058
/* @file ud-var-node.c ** @brief Unix-Domain Variable Node ** @author Robert Quattlebaum <darco@deepdarc.com> ** ** Copyright (C) 2016 Robert Quattlebaum ** ** Permission is hereby granted, free of charge, to any person ** obtaining a copy of this software and associated ** documentation files (the "Software"), to deal...
29,979
https://github.com/SimeonDominiq/IntelligentConference/blob/master/resources/js/components/ConferenceDetails/ConferenceDetails.js
Github Open Source
Open Source
MIT
2,019
IntelligentConference
SimeonDominiq
JavaScript
Code
370
1,381
import React, { useState, useEffect } from "react"; import $ from "jquery"; import DataTable from "datatables.net"; import { Link } from "react-router-dom"; import { connect } from "react-redux"; import { MainLayout } from "../Layout/MainLayout"; import "../../Assets/datatables/dataTables.bootstrap4.min.css"; import "....
19,022
https://github.com/lucashilbig/BA_Pathtracing_Fur/blob/master/src/cmake/FindOpenGL3.cmake
Github Open Source
Open Source
MIT
null
BA_Pathtracing_Fur
lucashilbig
CMake
Code
122
593
# # Try to find OpenGL and include path. # Once done this will define # # OpenGL3_FOUND # OpenGL3_INCLUDE_PATH # OpenGL3_LIBRARY # if (CMAKE_SIZEOF_VOID_P EQUAL 8) MESSAGE("64-Bit Compiler erkannt") set(OpenGL_ROOT_ENV $ENV{OpenGLx64_ROOT}) else (CMAKE_SIZEOF_VOID_P EQUAL 8) MESSAGE("32-Bit Compiler erkan...
48,495
https://github.com/zignig/lambdaUSB/blob/master/lambdausb/cfg.py
Github Open Source
Open Source
BSD-2-Clause
null
lambdaUSB
zignig
Python
Code
321
1,574
from nmigen import * from .lib import stream __all__ = ["ConfigurationEndpoint"] USB_REQ_GETDESCRIPTOR = 0x06 USB_REQ_GETSTATUS = 0x00 class ConfigurationEndpoint(Elaboratable): def __init__(self, descriptor_map, rom_init): self.descriptor_map = descriptor_map self.rom_init = rom_in...
35,634
https://github.com/donank/amoveo-android-wallet/blob/master/app/src/main/java/donank/amoveowallet/Activity/MainActivity.kt
Github Open Source
Open Source
MIT
2,018
amoveo-android-wallet
donank
Kotlin
Code
189
969
package donank.amoveowallet.Activity import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v4.app.Fragment import donank.amoveowallet.Utility.showFragment import donank.amoveowallet.Dagger.MainApplication import donank.amoveowallet.R import kotlinx.android.synthetic.main.drawe...
33,255
https://github.com/GEOS-ESM/UMD_Etc/blob/master/scripts/Obs_to_Tri_interp/hice_dec15jan16_interpo.py
Github Open Source
Open Source
NASA-1.3, Apache-2.0
null
UMD_Etc
GEOS-ESM
Python
Code
539
2,955
from netCDF4 import Dataset import matplotlib.pyplot as plt import numpy as np import array import matplotlib.cm as cm from mpl_toolkits.basemap import Basemap import glob import struct import time import sys from mpl_toolkits.basemap import Basemap, shiftgrid, addcyclic from scipy import interpolate import getopt impo...
18,568
https://github.com/balr0g/MineFactoryReloaded/blob/master/source/common/net/minecraft/src/powercrystals/minefactoryreloaded/TileEntityBlockBreaker.java
Github Open Source
Open Source
MIT
2,020
MineFactoryReloaded
balr0g
Java
Code
144
663
package net.minecraft.src.powercrystals.minefactoryreloaded; import java.util.List; import net.minecraft.src.Block; import net.minecraft.src.ItemStack; import net.minecraft.src.buildcraft.api.Orientations; import net.minecraft.src.powercrystals.minefactoryreloaded.core.BlockPosition; import net.minecraft.src.powercry...
40,521
https://github.com/TimLuo465/react-starter-kit/blob/master/src/router/UserRouter.tsx
Github Open Source
Open Source
MIT
null
react-starter-kit
TimLuo465
TypeScript
Code
24
54
import * as React from "react"; import { Route } from "react-router-dom"; import UserList from "../components/user/UserList"; export default [ {path: "/", component: UserList} ];
43,069
https://github.com/adinasm/Optical-Character-Recognition/blob/master/randomForest.cpp
Github Open Source
Open Source
MIT
2,019
Optical-Character-Recognition
adinasm
C++
Code
316
875
#include "randomForest.h" #include <iostream> #include <random> #include <vector> #include <string> #include "decisionTree.h" using std::vector; using std::pair; using std::string; using std::mt19937; vector<vector<int>> get_random_samples(const vector<vector<int>> &samples, int...
7,899
https://github.com/matemax/poetry/blob/master/src/poetry/console/commands/plugin/remove.py
Github Open Source
Open Source
MIT
2,022
poetry
matemax
Python
Code
131
425
from __future__ import annotations from typing import TYPE_CHECKING from cleo.helpers import argument from cleo.helpers import option from cleo.io.inputs.string_input import StringInput from cleo.io.io import IO from poetry.console.commands.command import Command if TYPE_CHECKING: from poetry.console.commands....
38,845
https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Query/Parser/IdentifierSqlParserBaselineTests.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-generic-cla
2,023
azure-cosmos-dotnet-v3
Azure
C#
Code
135
454
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Tests.Query.Parser { using System.Collections.Generic; using System.Linq; using Micro...
5,900
https://github.com/chenxixian/BookmarksManager/blob/master/BookmarkManagerFrontend/src/app/dashboard/dashboard.component.ts
Github Open Source
Open Source
MIT
2,018
BookmarksManager
chenxixian
TypeScript
Code
70
213
import { Component, OnInit } from '@angular/core'; import { MOCKED_PAGES } from './mock-pages'; import { Page } from '../models/page'; import { Bookmark } from '../models/bookmark'; import { Folder } from '../models/folder'; @Component({ selector: 'app-dashboard', templateUrl: './dashboard.component.html', style...
33,007
https://github.com/drgeb/ReceiptEntry/blob/master/src/main/java/com/drgeb/receiptentry/vw/receipttable/ReceiptPropertyValueFactory.java
Github Open Source
Open Source
Apache-2.0, MIT
null
ReceiptEntry
drgeb
Java
Code
304
871
package com.drgeb.receiptentry.vw.receipttable; /* * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * */ import javafx.beans.NamedArg; import javafx.beans.property.ReadOnlyObjectWrapper; import javafx.beans.value.Ob...
24,390
https://github.com/S-YOU/userspace_wireguard/blob/master/include/uwg/right_type.hpp
Github Open Source
Open Source
MIT
2,018
userspace_wireguard
S-YOU
C++
Code
84
195
/* * Copyright (C) 2018 Naomasa Matsubayashi * Licensed under MIT license, see file LICENSE in this source tree. */ #ifndef UWG_RIGHT_TYPE_HPP #define UWG_RIGHT_TYPE_HPP namespace uwg { template< typename ...Args > struct right_type; template< typename Head, typename Next, typename ...Tail > struct right_...
29,005
https://github.com/mattetti/ruby-on-rails-tmbundle/blob/master/Support/bin/intelligent_migration_snippet.rb
Github Open Source
Open Source
MIT
2,008
ruby-on-rails-tmbundle
mattetti
Ruby
Code
342
1,154
#!/usr/bin/env ruby # # Copyright (c) 2006 Sami Samhuri # Distributed under the MIT license # # Inserts a migration snippet into 2 places in the document, one # piece in self.up and one in self.down. snippets = { 'rename_column' => { :up => 'rename_column :${1:table_name}, :${2:column_name}, :${3:new_column_...
40,205
https://github.com/electricjones/magpie/blob/master/src/Ravenfire/BoardGameGeek/BoardGameGeekModel.php
Github Open Source
Open Source
MIT
2,022
magpie
electricjones
PHP
Code
26
86
<?php namespace Ravenfire\Magpie\Ravenfire\BoardGameGeek; use Illuminate\Database\Eloquent\Model; /** * Establishes model for BoardGameGeekSource. */ class BoardGameGeekModel extends Model { /** @var string */ protected $table = "board_game_geek"; }
19,473
https://github.com/developer91649/Laravel5-Pivot-Custom-Vendor-Package/blob/master/workbench/pivotal/campus/src/controllers/CampusController.php
Github Open Source
Open Source
MIT
2,019
Laravel5-Pivot-Custom-Vendor-Package
developer91649
PHP
Code
21
87
<?php namespace Pivotal\Campus\Controllers; use \Input; use \Validator; use \Redirect; use Pivotal\Campus\Models\Campus; use \Pivotal\School\Models\SchoolInterface; use \Pivotal\Department\Models\DepartmentInterface; class CampusController extends BaseCampusController { }
30,414
https://github.com/Diansulistyarini/Ci_boots/blob/master/application/views/data_ofc.php
Github Open Source
Open Source
MIT
2,020
Ci_boots
Diansulistyarini
PHP
Code
912
4,873
<!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/...
28,102
https://github.com/juxd/main/blob/master/src/main/java/seedu/address/ui/OrderCard.java
Github Open Source
Open Source
MIT
null
main
juxd
Java
Code
187
550
package seedu.address.ui; import javafx.fxml.FXML; import javafx.scene.control.Label; import javafx.scene.layout.FlowPane; import javafx.scene.layout.HBox; import javafx.scene.layout.Region; import seedu.address.model.order.Order; /** * An UI component that displays information of a {@code Order}. */ public class O...
8,413
https://github.com/YaniPirgov/Repo/blob/master/database/contact.sql
Github Open Source
Open Source
MIT
null
Repo
YaniPirgov
SQL
Code
214
765
-- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: -- Версия на сървъра: 5.6.21 -- PHP Version: 5.6.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHA...
30,195
https://github.com/nirvanarsc/CompetitiveProgramming/blob/master/Java/leetcode/medium/P_103.java
Github Open Source
Open Source
MIT
2,021
CompetitiveProgramming
nirvanarsc
Java
Code
105
324
package leetcode.medium; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.LinkedList; import java.util.List; import utils.DataStructures.TreeNode; public class P_103 { public List<List<Integer>> zigzagLevelOrder(TreeNode root) { final List<List<Integer>> ...
5,504
https://github.com/Dakta/tinycalc/blob/master/tinycalc/types.c
Github Open Source
Open Source
BSD-3-Clause
2,016
tinycalc
Dakta
C
Code
614
1,651
// // types.c // tinycalc // // Created by Dakota Schneider on 12/2/16. // Copyright © 2016 Code From Above. All rights reserved. // #include "types.h" #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <math.h> Type * Int = NULL; Type * Double = NULL; Type * String = NULL; Type * Type_ne...
7,367
https://github.com/donaldjohn/eBestMall/blob/master/modules/admin/controllers/HomeController.php
Github Open Source
Open Source
BSD-3-Clause
2,017
eBestMall
donaldjohn
PHP
Code
126
417
<?php /** * eBestMall * ============================================================================ * Copyright 2015-2017 HongYuKeJi.Co.Ltd. All rights reserved. * Http://www.hongyuvip.com * ---------------------------------------------------------------------------- * 仅供学习交流使用,如需商用请购买商用版权。 * 堂堂正正做人,踏踏实实做事。 * ...
41,220
https://github.com/seguijoaquin/taller2/blob/master/Documentacion/html/classJson_1_1StyledStreamWriter.js
Github Open Source
Open Source
MIT
2,017
taller2
seguijoaquin
JavaScript
Code
20
153
var classJson_1_1StyledStreamWriter = [ [ "StyledStreamWriter", "classJson_1_1StyledStreamWriter.html#a5e41c4e40f11266046bd0ea8f8f5a75e", null ], [ "~StyledStreamWriter", "classJson_1_1StyledStreamWriter.html#a17444a59f617970279714e97b0ddfa46", null ], [ "write", "classJson_1_1StyledStreamWriter.html#a5d89d...
43,940
https://github.com/johnsmith17th/SpeedyFx/blob/master/lib/application/handler/blacklist.js
Github Open Source
Open Source
MIT
2,013
SpeedyFx
johnsmith17th
JavaScript
Code
141
384
var service = require('../../service'); function getBlacklist(session, params, callback) { service.d('/contact', 'get', { uid: session.uid, black: true }, function (e, r) { if (r && r.length) { var map = {}, uid = [], x; for (var i in r) { x = r[i]; i...
3,565
https://github.com/dannsam/ImageSharp/blob/master/src/ImageSharp/Processing/Processors/Filters/FilterProcessor.cs
Github Open Source
Open Source
Apache-2.0
2,019
ImageSharp
dannsam
C#
Code
188
587
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Numerics; using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.ParallelUtils; using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Primitives; using SixLabors.Primitive...
43,343
https://github.com/apache/rocketmq-externals/blob/master/rocketmq-knative/source/vendor/github.com/apache/rocketmq-client-go/consumer/statistics.go
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,023
rocketmq-externals
apache
Go
Code
1,159
4,462
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this fi...
36,587
https://github.com/elastic/elasticsearch-rs/blob/master/elasticsearch/tests/client.rs
Github Open Source
Open Source
Apache-2.0
2,023
elasticsearch-rs
elastic
Rust
Code
969
4,065
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
37,948
https://github.com/OpenChemistry/avogadrolibs/blob/master/avogadro/CMakeLists.txt
Github Open Source
Open Source
BSD-3-Clause
2,023
avogadrolibs
OpenChemistry
CMake
Code
200
969
include(GenerateExportHeader) # May want to adjust the name, this more performs boilerplate library stuff now. function(avogadro_add_library name) # Add an alias target to expose to other targets. add_library(Avogadro::${name} ALIAS ${name}) # Use the new AUTOMOC support for Qt libraries (CMake 2.8.6). if(${na...
39,968
https://github.com/imorph/vector/blob/master/src/kubernetes/api_watcher.rs
Github Open Source
Open Source
MPL-2.0
2,021
vector
imorph
Rust
Code
1,568
5,814
//! A watcher based on the k8s API. use super::{ client::Client, stream as k8s_stream, watch_request_builder::WatchRequestBuilder, watcher::{self, Watcher}, }; use crate::internal_events::kubernetes::api_watcher as internal_events; use futures::{ future::BoxFuture, stream::{BoxStream, Stream, S...
22,151
https://github.com/ScalablyTyped/Distribution/blob/master/t/tensorflow__tfjs-core/src/main/scala/typings/tensorflowTfjsCore/distKernelNamesMod/FusedConv2DInputs.scala
Github Open Source
Open Source
MIT
2,023
Distribution
ScalablyTyped
Scala
Code
130
521
package typings.tensorflowTfjsCore.distKernelNamesMod import typings.tensorflowTfjsCore.distKernelRegistryMod.NamedTensorInfoMap import typings.tensorflowTfjsCore.distTensorInfoMod.TensorInfo import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, ...
6,619
https://github.com/sunbohong/NSTimer-SunTask/blob/master/Example/Podfile
Github Open Source
Open Source
MIT
2,016
NSTimer-SunTask
sunbohong
Ruby
Code
43
158
platform :ios, '9.0' target 'SunTaskDemo' do use_frameworks! pod 'NSTimer-SunTask', :path => '../' pod 'Masonry', '~> 1.0.1' pod 'BlocksKit', '~> 2.2.5' pod 'FBMemoryProfiler' target 'SunTaskDemoTests' do inherit! :search_paths # Pods for testing end target 'SunTaskDemoUITests' do inher...
43,718
https://github.com/dthierry/k_aug/blob/master/src/k_aug/dot_driver/dot_driver.c
Github Open Source
Open Source
BSD-3-Clause
2,021
k_aug
dthierry
C
Code
1,607
5,685
/* @source untitled.c ** beta 01 ** Month dayth, 20yy ** @author: David Thierry (dmolinat@andrew.cmu) dav0@lb2016-1 READ THE DATA FOR S HAT NEED SUFFIX FOR DELTA P ******************************************************************************** @fun_name ******************************************** ** ** Description ...
39,072
https://github.com/Akirix/akirix-suite/blob/master/api/controllers/documents.js
Github Open Source
Open Source
MIT
null
akirix-suite
Akirix
JavaScript
Code
1,813
4,912
var fs = require( 'fs' ); var Sequelize = require( 'sequelize' ); var xss = require( 'xss' ); var db = require( '../models' ); var _ = require( 'lodash' ); var stream = require( 'stream' ); var Promise = require( 'bluebird' ); var Document = db.Document; var config = require( '../config/config.json' ); var AWS = requ...
47,696
https://github.com/WouterBos/Pulsar/blob/master/Pulsar/Content/pulsar.less
Github Open Source
Open Source
MIT
null
Pulsar
WouterBos
Less
Code
16
85
@import "Less/variables.less"; @import "Less/reset.less"; @import "Less/actions.less"; @import "Less/text.less"; @import "Less/sections.less"; @import "Less/widget-modal.less"; @import "Less/form.less"; @import "Less/form-vertical.less";
46,269
https://github.com/duanzix/duanzi/blob/master/resources/views/home/xq/xiang.blade.php
Github Open Source
Open Source
MIT
null
duanzi
duanzix
PHP
Code
352
2,450
@include('layouts.home._top'); <!-- end header --> <!-- start navigation --> <nav class="main-navigation"> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="navbar-header"> <span class="nav-toggle-b...
24,727
https://github.com/Esclamado/gapan_dashboard/blob/master/App/Ext/Lns/Sb/Lib/Status.php
Github Open Source
Open Source
MIT
null
gapan_dashboard
Esclamado
PHP
Code
149
481
<?php namespace Lns\Sb\Lib; class Status { const ZERO = 0; /* Cancelled, Deleted */ const ONE = 1; /* Active, read, approved, published */ const TWO = 2; /* Disabled, Inactive, Unread, Pending, draft */ const THREE = 3; /* Completed */ const FOUR = 4; /* Arrived */ protected $status; public function setS...
29,332
https://github.com/ConsumedMedia/2048-Retro/blob/master/src/Assets/Plugins/iOS/Add-ons/GoogleAnalyticsServicesiOS_3.03/GoogleTagManager/Examples/CuteAnimals/CategoryViewController_iPad.xib.meta
Github Open Source
Open Source
MIT
2,014
2048-Retro
ConsumedMedia
Unity3D Asset
Code
6
37
fileFormatVersion: 2 guid: 7155fa35f64ba4871af0b81ab735a174 DefaultImporter: userData:
15,473
https://github.com/faikarghas/varion/blob/master/app/Http/Controllers/CareerController.php
Github Open Source
Open Source
MIT
null
varion
faikarghas
PHP
Code
58
263
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class CareerController extends Controller { // public function index(){ $globalData = $this->globalData(); $listCareer = DB::table('career')->get(); $careerInfo = DB::table('career_in...
3,180
https://github.com/ofeige/vagrant-centos-chef-lamp/blob/master/chef/cookbooks/php/resources/fpm_pool.rb
Github Open Source
Open Source
LicenseRef-scancode-php-2.0.2, Apache-2.0, PHP-3.0
2,018
vagrant-centos-chef-lamp
ofeige
Ruby
Code
195
466
# # Author:: Chris Marchesi <cmarchesi@paybyphone.com> # Cookbook Name:: php # Resource:: fpm_pool # # Copyright:: 2015, Chef Software, Inc <legal@chef.io> # # 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 th...
23,370
https://github.com/KPO-2020-2021/zad5_2-Szymon-Sobczak/blob/master/dox/html/search/classes_a.js
Github Open Source
Open Source
Unlicense
2,021
zad5_2-Szymon-Sobczak
KPO-2020-2021
JavaScript
Code
8
73
var searchData= [ ['vector_286',['Vector',['../class_vector.html',1,'']]], ['vector_3c_203_20_3e_287',['Vector&lt; 3 &gt;',['../class_vector.html',1,'']]] ];
21,657
https://github.com/kruglovmax/stack/blob/master/pkg/stack/v1/stack/stack.go
Github Open Source
Open Source
Apache-2.0
null
stack
kruglovmax
Go
Code
1,502
5,902
package stack import ( "fmt" "path/filepath" "runtime/debug" "sync" "time" "github.com/imdario/mergo" "github.com/joeycumines/go-dotnotation/dotnotation" "github.com/kruglovmax/stack/pkg/app" "github.com/kruglovmax/stack/pkg/cel" "github.com/kruglovmax/stack/pkg/conditions" "github.com/kruglovmax/stack/pkg...
32,637
https://github.com/santoshgistto/web-stories-wp/blob/master/packages/story-editor/src/components/canvas/editLayerFocusManager/reduction.js
Github Open Source
Open Source
Apache-2.0
null
web-stories-wp
santoshgistto
JavaScript
Code
287
661
/* * Copyright 2022 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
2,124
https://github.com/FantasqueX/llvm-tutor/blob/master/Dockerfile_ubuntu
Github Open Source
Open Source
MIT
2,021
llvm-tutor
FantasqueX
Dockerfile
Code
199
639
# How to run: # 1. Download the Dockerfile # $ wget https://raw.githubusercontent.com/banach-space/llvm-tutor/master/Dockerfile # 2. Build the Docker image # $ docker build -t=llvm-tutor:llvm-12 . # 3. Run the Docker container # $ docker run --rm -it --hostname=llvm-tutor llvm-tutor:llvm-12 /bin/bash FROM debian:buste...
22,672
https://github.com/zhua-an/vite-project/blob/master/src/assets/style/app.less
Github Open Source
Open Source
MIT
null
vite-project
zhua-an
Less
Code
1,145
4,456
@import "./theme/base.less"; *, :after, :before { box-sizing: border-box; } html, body { margin: 0; padding: 0; color: #595959; font-size: 14px; font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif; color: #595959; background: #f0...
45,649
https://github.com/Quang-ND/Ali-home/blob/master/php.Dockerfile
Github Open Source
Open Source
MIT
2,021
Ali-home
Quang-ND
Dockerfile
Code
167
590
FROM php:7.4-fpm-alpine # composer ENV COMPOSER_ALLOW_SUPERUSER 1 ENV COMPOSER_HOME /composer RUN set -eux && \ apk update && \ apk add --update --no-cache --virtual=.build-dependencies \ postgresql-dev \ autoconf \ gcc \ g++ \ make \ git && \ apk add --update --no-cache \ icu-dev \ ...
45,795
https://github.com/Phlya/pysradb/blob/master/tests/test_sraweb.py
Github Open Source
Open Source
BSD-3-Clause
null
pysradb
Phlya
Python
Code
578
2,715
"""Tests for SRAweb""" import time import pytest from pysradb.sraweb import SRAweb @pytest.fixture(scope="module") def sraweb_connection(): db = SRAweb() time.sleep(2) return db def test_sra_metadata(sraweb_connection): """Test if metadata has right number of entries""" df = sraweb_connection....
25,073
https://github.com/scala-steward/test-state/blob/master/core/shared/src/test/scala/teststate/RandomData.scala
Github Open Source
Open Source
Apache-2.0
2,022
test-state
scala-steward
Scala
Code
129
420
package teststate import nyaya.gen._ import teststate.Exports._ import teststate.core.Action import teststate.data.Sack object RandomData { val dsl = Dsl[Unit, Unit, Unit] private def applyEndos[A](basic: Gen[A])(endos: (A => A)*): Gen[A] = { val id: A => A = identity val endo: Gen[A => A] = Gen....
35,679
https://github.com/aswild/twox-hash/blob/master/src/std_support.rs
Github Open Source
Open Source
MIT
2,020
twox-hash
aswild
Rust
Code
144
489
pub mod sixty_four { use crate::XxHash64; use core::hash::BuildHasher; use rand::{self, Rng}; #[derive(Clone)] /// Constructs a randomized seed and reuses it for multiple hasher instances. pub struct RandomXxHashBuilder64(u64); impl RandomXxHashBuilder64 { fn new() -> RandomXxHashB...
658
https://github.com/Delphinoid/globe/blob/master/tests/spec/routes/guilds/guildsSpec.js
Github Open Source
Open Source
MIT
null
globe
Delphinoid
JavaScript
Code
68
312
'use strict'; var mongoose = require('mongoose'); var mockgoose = require('mockgoose'); mockgoose(mongoose); var guilds = require('../../../../server/routes/guilds/guilds'); var Guild = require('../../../../server/models/guild'); describe('routes/guilds/guilds', function() { beforeEach(function(done) { Guild.cre...
51,930
https://github.com/PadmarajBhat/chat-demo/blob/master/src/app/root/reports/report-ui/side-end-draw/side-end-draw.component.ts
Github Open Source
Open Source
MIT
null
chat-demo
PadmarajBhat
TypeScript
Code
235
961
import { Component, OnInit, Input, AfterViewInit, ViewChild } from '@angular/core'; import { Platform } from '@angular/cdk/platform'; import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import { ChartsSideNavService } from '../../../../charts-side-nav.service'; @Component({ selector: 'app-side-end-dra...
37,491
https://github.com/yoliset/3-en-rayas/blob/master/js/main.js
Github Open Source
Open Source
MIT
2,017
3-en-rayas
yoliset
JavaScript
Code
648
3,121
$(document).ready(init); var currentSection = null; var currentGameID; function init() { currentSection = $('#saludo'); $('#btn-saludo').click(onClickBtnSaludo); $('#btn-nombres').click(onClickBtnNombre); $('#btn-historial').click(onClickBtnHistorial); $('#btn-history').click(onClickBtnHistorial); $('#btn-co...
12,787
https://github.com/phil-davis/robotframework/blob/master/atest/testdata/core/failing_suite_teardown_2.robot
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,020
robotframework
phil-davis
null
Spoken
128
317
*** Setting *** Suite Setup Log Suite setup executed Suite Teardown Fail Expected failure *** Variables *** ${ALSO} \n\nAlso parent suite teardown failed:\nExpected failure *** Test Case *** Test Passes [Documentation] FAIL Parent suite teardown failed:\nExpected failure Log Thi...
48,526
https://github.com/JoshuaJeme/mybatis-dynamic-sql/blob/master/src/test/java/examples/spring/LastNameParameterConverter.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
mybatis-dynamic-sql
JoshuaJeme
Java
Code
131
255
/* * Copyright 2016-2020 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 * * Unles...
40,031
https://github.com/bosschaert/jclouds/blob/master/core/src/test/java/org/jclouds/http/options/GetOptionsTest.java
Github Open Source
Open Source
Apache-2.0
2,019
jclouds
bosschaert
Java
Code
731
2,747
/** * * Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.com> * * ==================================================================== * 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 L...
15,948
https://github.com/jails/php-router-benchmark/blob/master/benchmark.php
Github Open Source
Open Source
MIT
2,022
php-router-benchmark
jails
PHP
Code
329
1,011
#!/usr/bin/env php <?php $composer = include './vendor/autoload.php'; include 'RouteGenerator.php'; $composer->add('lithium\\', __DIR__ . '/libraries'); use Lead\Box\Box; use Lead\Dir\Dir; use Lead\Benchmark\Benchmark; $adapters = Dir::scan('./adapters', [ 'type' => 'file', 'skipDots' => true ]); foreac...
19,206
https://github.com/Rbeck200/MIlestone-5/blob/master/Assets/Scripts/TileFactory.cs
Github Open Source
Open Source
Apache-2.0
null
MIlestone-5
Rbeck200
C#
Code
305
1,044
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TileFactory { private Dictionary<string, Tile> _tiles = new Dictionary<string, Tile>(); private static TileFactory _instance = null; private TileFactory() { _tiles.Add("OutdoorsGround_0", new Tile() { ...
25,381
https://github.com/ealang/z-synth/blob/master/src/synth_utils/note_receiver.h
Github Open Source
Open Source
MIT
2,020
z-synth
ealang
C
Code
37
99
#ifndef NOTE_RECEIVER_H #define NOTE_RECEIVER_H class NoteReceiver { public: virtual void onNoteOnEvent(unsigned char note, unsigned char vel) = 0; virtual void onNoteOffEvent(unsigned char note) = 0; virtual void onSustainOnEvent() = 0; virtual void onSustainOffEvent() = 0; }; #endif
44,289
https://github.com/bulangnisi/simple_photos_manager/blob/master/ios/Classes/SimplePhotosManagerPlugin.m
Github Open Source
Open Source
MIT
2,020
simple_photos_manager
bulangnisi
Objective-C
Code
43
199
#import "SimplePhotosManagerPlugin.h" #if __has_include(<simple_photos_manager/simple_photos_manager-Swift.h>) #import <simple_photos_manager/simple_photos_manager-Swift.h> #else // Support project import fallback if the generated compatibility header // is not copied when this plugin is created as a library. // https:...
6,770
https://github.com/V-I-C-T-O-R/AI-Web/blob/master/src/css/style.scss
Github Open Source
Open Source
MIT
2,021
AI-Web
V-I-C-T-O-R
SCSS
Code
164
744
body{ background-color: #e5e5e5; height: 100%; } .app{ height: 100%; } header{ position: fixed; top: 0; left: 0; width: 100%; height: rpx(30px); background-color: #333; color: #fff; text-align: center; line-height: rpx(30px); font-size: rpx(18px); z-index: 2; } .l...
43,297
https://github.com/Shofiul-Alam/magento-app/blob/master/src/vendor/magento/framework/DB/Select/FromRenderer.php
Github Open Source
Open Source
OSL-3.0, LicenseRef-scancode-unknown-license-reference, AFL-2.1, AFL-3.0, MIT
2,019
magento-app
Shofiul-Alam
PHP
Code
301
762
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\DB\Select; use Magento\Framework\DB\Select; use Magento\Framework\DB\Platform\Quote; class FromRenderer implements RendererInterface { /** * @var Quote */ protected $qu...
20,052
https://github.com/mi11y/jos/blob/master/kern/trapentry.S
Github Open Source
Open Source
BSD-4-Clause-UC
2,020
jos
mi11y
Unix Assembly
Code
354
1,072
/* See COPYRIGHT for copyright information. */ #include <inc/mmu.h> #include <inc/memlayout.h> #include <inc/trap.h> ################################################################### # exceptions/interrupts ################################################################### /* TRAPHANDLER defines a globally-visi...
29,590
https://github.com/continue-nature/VFSForGit/blob/master/GVFS/GVFS.Hooks/Program.cs
Github Open Source
Open Source
MIT
null
VFSForGit
continue-nature
C#
Code
1,229
3,876
using GVFS.Common; using GVFS.Common.NamedPipes; using GVFS.Hooks.HooksPlatform; using System; using System.Collections.Generic; using System.Linq; namespace GVFS.Hooks { public class Program { private const string PreCommandHook = "pre-command"; private const string PostCommandHook = "post-com...
47,939
https://github.com/wolfdesign/create-react-component-folder/blob/master/templates/stories.handlebars
Github Open Source
Open Source
MIT
null
create-react-component-folder
wolfdesign
null
Spoken
62
140
import React from 'react'; import { ComponentStory, ComponentMeta } from '@storybook/react'; import { {{ name }} } from './'; {{#if name }} {{/if}} export default { title: 'Common/Components/{{name}}', component: {{ name }}, } as ComponentMeta<typeof {{ name }}>;...
35,597
https://github.com/bkvenkatesh/embeddedinfralib/blob/master/infra/util/test/TestAllocatorFixedSpace.cpp
Github Open Source
Open Source
LicenseRef-scancode-protobuf, LicenseRef-scancode-x11-xconsortium-veillard, BSD-3-Clause, MIT, Apache-2.0, BSD-2-Clause, Unlicense, LicenseRef-scancode-unknown-license-reference
2,020
embeddedinfralib
bkvenkatesh
C++
Code
59
308
#include "gtest/gtest.h" #include "infra/util/AllocatorFixedSpace.hpp" class FixedSpaceAllocatorTest : public testing::Test { public: struct TestObject {}; infra::AllocatorFixedSpace<TestObject, 1, void()> allocator; }; TEST_F(FixedSpaceAllocatorTest, allocate_one_object) { infra::UniquePtr<TestO...
31,764
https://github.com/AllOfKTaNE/RoyalFlush411-freeParking/blob/master/Assets/Materials/Custom Textures/Tokens/Materials/Top Hat.mat.meta
Github Open Source
Open Source
MIT, LicenseRef-scancode-warranty-disclaimer
2,019
RoyalFlush411-freeParking
AllOfKTaNE
Unity3D Asset
Code
14
75
fileFormatVersion: 2 guid: 853eb9bdddde9427fb93469ad2688c6e timeCreated: 1545872547 licenseType: Free NativeFormatImporter: mainObjectFileID: 2100000 userData: assetBundleName: assetBundleVariant:
32,286
https://github.com/ivanfretes/IS2Proyecto19Grupo5/blob/master/app/Http/Resources/Pedido/PedidoImagenResource.php
Github Open Source
Open Source
MIT
2,019
IS2Proyecto19Grupo5
ivanfretes
PHP
Code
69
277
<?php namespace App\Http\Resources\Pedido; use Illuminate\Http\Resources\Json\Resource; use App\Http\Resources\Imagen\ImagenResource; class PedidoImagenResource extends Resource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array *...
29,733
https://github.com/plantain-00/types-as-schema/blob/master/src/markdown-doc-generator.ts
Github Open Source
Open Source
MIT
2,021
types-as-schema
plantain-00
TypeScript
Code
316
934
import { generateTypescriptOfType } from './typescript-generator' import { Type, TypeDeclaration } from './utils' export function generateMarkdownDoc(declarations: TypeDeclaration[]) { const result: string[] = [] for (const declaration of declarations) { if (declaration.kind === 'reference') { result.pus...
39,370
https://github.com/cloudblue/javascript-rql/blob/master/webpack.config.js
Github Open Source
Open Source
Apache-2.0
2,021
javascript-rql
cloudblue
JavaScript
Code
110
387
/* * Copyright © 2020 Ingram Micro Inc. All rights reserved. */ const path = require('path'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const webpackConfig = { mode: process.env.NODE_ENV, entry: ['./lib/index'], output: { path: path.resolve(__dirname, 'dist'), filename: 'rql.js', ...
6,589
https://github.com/westwin/dotfiles/blob/master/.oh-my-zsh/custom/vscode.zsh
Github Open Source
Open Source
MIT
2,020
dotfiles
westwin
Shell
Code
4
26
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin/"
35,099
https://github.com/15cm/fake-netease/blob/master/3rdpart/taglib/src/CMakeFiles/tag.dir/cmake_clean_target.cmake
Github Open Source
Open Source
Apache-2.0
null
fake-netease
15cm
CMake
Code
3
21
FILE(REMOVE_RECURSE "libtag.a" )
31,326
https://github.com/islandone/ZeusPlugin/blob/master/testplugin/src/main/java/zeus/testplugin/MainActivity.java
Github Open Source
Open Source
MIT
2,016
ZeusPlugin
islandone
Java
Code
57
288
package zeus.testplugin; import android.os.Bundle; import android.view.Gravity; import android.widget.TextView; import zeus.plugin.ZeusBaseAppCompactActivity; /** * Created by huangjian on 2016/7/8. */ public class MainActivity extends ZeusBaseAppCompactActivity { @Override protected void onCreate(Bundle ...
7,050
https://github.com/cschappert/nixpkgs/blob/master/nixos/tests/etcd-cluster.nix
Github Open Source
Open Source
MIT
2,021
nixpkgs
cschappert
null
Spoken
462
1,712
# This test runs simple etcd cluster import ./make-test.nix ({ pkgs, ... } : let runWithOpenSSL = file: cmd: pkgs.runCommand file { buildInputs = [ pkgs.openssl ]; } cmd; ca_key = runWithOpenSSL "ca-key.pem" "openssl genrsa -out $out 2048"; ca_pem = runWithOpenSSL "ca.pem" '' openssl req \ -x50...
49,991
https://github.com/Unchastity/DesignPattern/blob/master/designPatter/src/main/java/com/jimg/strategy/duck/quack/quackImpl/Quack.java
Github Open Source
Open Source
MIT
null
DesignPattern
Unchastity
Java
Code
20
81
package com.jimg.strategy.duck.quack.quackImpl; import com.jimg.strategy.duck.quack.QuackBehavior; public class Quack implements QuackBehavior { @Override public void quack() { System.out.println("I can quack"); } }
42,945
https://github.com/mountain-pass/waychaser/blob/master/src/handlers/location-header/location-header-handler.js
Github Open Source
Open Source
Apache-2.0
2,020
waychaser
mountain-pass
JavaScript
Code
36
99
import { Operation } from '../../operation' /** * @param response */ export async function locationHeaderHandler (response) { const locationHeader = response.headers.get('location') if (locationHeader) { return [ Operation.builder('related') .uri(locationHeader) .other({ handler: 'locat...
4,487