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/MartinP-acc/java-playground/blob/master/HackerRank/EOF/src/main/java/Solution.java
Github Open Source
Open Source
Unlicense
null
java-playground
MartinP-acc
Java
Code
31
98
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int i=1; while (scanner.hasNextLine()){ String s = scanner.nextLine(); System.out.println(i+" "+s); i++; } }...
2,242
https://github.com/Scottx86-64/dotfiles-1/blob/master/source/pkgsrc/devel/libextractor/Makefile
Github Open Source
Open Source
Unlicense
2,021
dotfiles-1
Scottx86-64
Makefile
Code
117
703
# $NetBSD: Makefile,v 1.90 2021/04/21 11:40:19 adam Exp $ DISTNAME= libextractor-1.9 PKGREVISION= 11 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=libextractor/} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://gnu.org/s/libextractor/ COMMENT= Metadata extractor for various file data types LICENSE= gnu-gpl-...
50,982
https://github.com/gsiems/tasker-schema/blob/master/schema/tasker_data/table/st_issue_probability.sql
Github Open Source
Open Source
MIT
2,022
tasker-schema
gsiems
SQL
Code
215
555
CREATE TABLE tasker_data.st_issue_probability ( id int2 NOT NULL, ranking_id int2 NOT NULL, name text NOT NULL, description text, is_default boolean NOT NULL default false, is_enabled boolean NOT NULL default true, CONSTRAINT st_issue_probability_pk PRIMARY KEY ( id ), CONSTRAINT st_issu...
5,196
https://github.com/warmchang/turms/blob/master/turms-plugins/turms-plugin-antispam/src/main/java/im/turms/plugin/antispam/character/data/U13.java
Github Open Source
Open Source
Apache-2.0
2,022
turms
warmchang
Java
Code
1,410
4,729
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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 * *...
34,285
https://github.com/VB6Hobbyst7/deeplearning4vb/blob/master/deeplearning4vb/deeplearning4j/deeplearning4j-modelimport/src/test/java/org/deeplearning4j/nn/modelimport/keras/layers/noise/KerasGaussianNoiseTest.vb
Github Open Source
Open Source
MIT
2,021
deeplearning4vb
VB6Hobbyst7
Visual Basic .NET
Code
409
1,261
Imports System.Collections.Generic Imports GaussianNoise = org.deeplearning4j.nn.conf.dropout.GaussianNoise Imports DropoutLayer = org.deeplearning4j.nn.conf.layers.DropoutLayer Imports BaseDL4JTest = org.deeplearning4j.BaseDL4JTest Imports Keras1LayerConfiguration = org.deeplearning4j.nn.modelimport.keras.config.Kera...
36,730
https://github.com/SaratAdiraj/Bytecoder/blob/master/classlib/java.desktop/src/main/resources/META-INF/modules/java.desktop/classes/javax/swing/DefaultListModel.java
Github Open Source
Open Source
Apache-2.0
2,022
Bytecoder
SaratAdiraj
Java
Code
2,553
5,140
/* * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
45,084
https://github.com/TheSledgeHammer/2.11BSD/blob/master/contrib/gnu/groff/bin/gdiffmk/Makefile
Github Open Source
Open Source
BSD-3-Clause
2,021
2.11BSD
TheSledgeHammer
Makefile
Code
22
103
# $NetBSD: Makefile,v 1.1 2016/01/14 02:41:58 christos Exp $ DIST_SUBDIR= contrib/gdiffmk .include <bsd.init.mk> SCRIPTS= gdiffmk MAN= gdiffmk.1 CLEANFILES= ${SCRIPTS} ${MAN} .include <bsd.prog.mk>
50,998
https://github.com/15534/FtcRobotController2022/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/drive/PoseStorage.java
Github Open Source
Open Source
MIT
null
FtcRobotController2022
15534
Java
Code
16
62
package org.firstinspires.ftc.teamcode.drive; import com.acmerobotics.roadrunner.geometry.Pose2d; public class PoseStorage { public static Pose2d currentPose = new Pose2d(); }
31,593
https://github.com/SenalKumarage/fliktz/blob/master/client/src/common/components/loader/loader.component.ts
Github Open Source
Open Source
MIT
null
fliktz
SenalKumarage
TypeScript
Code
191
410
import { Component, Input } from '@angular/core'; @Component({ selector: 'app-loader', templateUrl: './loader.component.html', styleUrls: ['./loader.component.scss'] }) export class LoaderComponent { /** Used to show the animation */ public loadingAnimation = false; /** Internal flag */ private _loadin...
27,772
https://github.com/wojciecholejnik/dashboard-solo-project1/blob/master/src/sass/components/__notifications-dropdown.scss
Github Open Source
Open Source
MIT
2,020
dashboard-solo-project1
wojciecholejnik
SCSS
Code
77
267
.notifications-dropdown { width: 400%; display: none; flex-direction: column; background-color: $color-main-container-outer; position: absolute; top: 77px; left: 0; .notification-light { position: static; } } .notification { padding: 0 8px; display: flex; justify-content: space-between; ...
9,243
https://github.com/dotelpenguin/wwiv/blob/master/deps/cl345/bindings/cryptlib.cs
Github Open Source
Open Source
Apache-2.0, Sleepycat, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-commercial-license, BSD-2-Clause, GPL-1.0-or-later, BSD-3-Clause, MIT, LicenseRef-scancode-public-domain
2,023
wwiv
dotelpenguin
C#
Code
14,324
41,755
using System; using System.Runtime.InteropServices; using System.Text; namespace cryptlib { public class crypt { /* Additional defines for compilers that provide extended function and function-parameter checking */ /**************************************************************************** * ...
1,539
https://github.com/liuhaozzu/linux/blob/master/kernels/linux-2.6.24/arch/sh/Makefile
Github Open Source
Open Source
Apache-2.0
null
linux
liuhaozzu
Makefile
Code
835
3,062
# $Id: Makefile,v 1.35 2004/04/15 03:39:20 sugioka Exp $ # # This file is subject to the terms and conditions of the GNU General Public # License. See the file "COPYING" in the main directory of this archive # for more details. # # Copyright (C) 1999 Kaz Kojima # Copyright (C) 2002, 2003, 2004 Paul Mundt # Copyright...
28,575
https://github.com/WaykiChain/wicc-webwallet-plugins/blob/master/src/popup/account/dialog/confirm-password-dialog.vue
Github Open Source
Open Source
MIT
2,021
wicc-webwallet-plugins
WaykiChain
Vue
Code
184
749
<template> <vodal class="confirm-wrapper" :show="visible" animation="zoom" @hide="onHide" :close-button="false" :height="190" :width="320"> <div class="confirm-title">{{ $t('account.dialog.passwordTitle') }}</div> <div class="confirm-body"> <wallet-input ...
47,848
https://github.com/cjcoder87/chrisj-project0/blob/master/views/index.njk
Github Open Source
Open Source
MIT
2,018
chrisj-project0
cjcoder87
null
Spoken
798
3,084
{% block page %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="https://use.fontawesome...
15,352
https://github.com/SarehonTaylor/TeamProfileGenerator/blob/master/__tests__/Managertest.js
Github Open Source
Open Source
MIT
2,021
TeamProfileGenerator
SarehonTaylor
JavaScript
Code
109
346
// test for name id and email and office const { TestResult } = require("@jest/types"); const Manager = require('../Profilelibrary/Manager'); const { number } = require("yargs"); // test for name, email, id, role validity //passed test const testManager = new Manager("S Taylor", "sarehontaylor@gmail.com", 3 , "ma...
20,419
https://github.com/lenloe1/v2.7/blob/master/protocol/zigbee/app/framework/cli/zcl-cli.c
Github Open Source
Open Source
Zlib
null
v2.7
lenloe1
C
Code
7,132
30,019
/***************************************************************************//** * @file * @brief CLI commands for sending various messages. ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b> ****************...
8,620
https://github.com/tony-tran/en-marche.fr/blob/master/src/Donation/DonatorExtractCommandHandler.php
Github Open Source
Open Source
GPL-3.0-only, Apache-2.0
2,022
en-marche.fr
tony-tran
PHP
Code
189
849
<?php namespace App\Donation; use App\Csv\CsvResponseFactory; use App\Entity\Donation; use App\Entity\Donator; use App\Extract\AbstractEmailExtractCommandHandler; use App\Repository\DonatorRepository; use App\Utils\PhoneNumberUtils; use Symfony\Contracts\Translation\TranslatorInterface; class DonatorExtractCommandHa...
10,283
https://github.com/aaronduchateau/XUAPR/blob/master/contracts/References/PoolSharkApp.sol
Github Open Source
Open Source
MIT
null
XUAPR
aaronduchateau
Solidity
Code
48
151
pragma solidity ^0.4.21; import "./Pool.sol"; import "./Ownable.sol"; import "./iPoolSharkApp.sol"; contract PoolSharkApp is iPoolSharkApp { function PoolSharkApp() public { } function createPool(string _name, uint256 _rate, uint256 _deadline) external returns (bool success) { address newPoolAdd...
16,208
https://github.com/mbarkhau/sbk/blob/master/Makefile
Github Open Source
Open Source
MIT
null
sbk
mbarkhau
Makefile
Code
356
1,644
PACKAGE_NAME := sbk # This is the python version that is used for: # - `make fmt` # - `make ipy` # - `make lint` # - `make devtest` DEVELOPMENT_PYTHON_VERSION := python=3.10 # These must be valid (space separated) conda package names. # A separate conda environment will be created for each of these. # # Some valid o...
49,454
https://github.com/yubird/chinachuCCE/blob/master/web/lib/dc.js/src/number-display.js
Github Open Source
Open Source
MIT
null
chinachuCCE
yubird
JavaScript
Code
316
789
/** ## <a name="number-display" href="#number-display">#</a> Number Display [Concrete] < [Base Chart](#base-chart) A display of a single numeric value. Examples: * [Test Example](http://nickqizhu.github.io/dc.js/examples/number.html) #### dc.numberDisplay(parent[, chartGroup]) Create a Number Display instance and at...
844
https://github.com/TCeason/ClickHouse/blob/master/src/Common/ProgressIndication.cpp
Github Open Source
Open Source
Apache-2.0
2,022
ClickHouse
TCeason
C++
Code
974
3,237
#include "ProgressIndication.h" #include <algorithm> #include <cstddef> #include <numeric> #include <cmath> #include <IO/WriteBufferFromFileDescriptor.h> #include <base/types.h> #include "Common/formatReadable.h" #include <Common/TerminalSize.h> #include <Common/UnicodeBar.h> #include "IO/WriteBufferFromString.h" #incl...
13,952
https://github.com/chipgw/depthview2/blob/master/depthview2/depthview2.pro
Github Open Source
Open Source
MIT
2,019
depthview2
chipgw
null
Spoken
166
720
TEMPLATE = app QT += qml quick widgets sql av quickcontrols2 SOURCES += src/main.cpp \ src/dvqmlcommunication.cpp \ src/version.cpp \ src/dvfolderlisting.cpp \ src/dvthumbnailprovider.cpp \ src/dvpluginmanager.cpp \ src/dvfilevalidator.cpp \ src/dvvirtualscreenmanager.cpp \ src/dvwindo...
10,257
https://github.com/Shyroby/sf4-cqrs-es-demo/blob/master/npm.sh
Github Open Source
Open Source
MIT
2,022
sf4-cqrs-es-demo
Shyroby
Shell
Code
13
47
#!/bin/bash command="docker run -it --rm --volume $(pwd):/app -w=/app node:9.0 npm $@" eval $command
46,255
https://github.com/kratos47mhs/mall/blob/master/mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeCategoryDao.java
Github Open Source
Open Source
Apache-2.0
2,021
mall
kratos47mhs
Java
Code
35
107
package com.macro.mall.dao; import com.macro.mall.dto.PmsProductAttributeCategoryItem; import java.util.List; /** * Product Attribute Category Dao * Created by macro on 2018/5/24. */ public interface PmsProductAttributeCategoryDao { /** * Get Product Attribute Category with attributes */ List<Pm...
7,135
https://github.com/davidgn/Prager-Software/blob/master/ListingSyncronizer/Backup/ListingSyncronizer/DonateScreen.Designer.cs
Github Open Source
Open Source
MIT
null
Prager-Software
davidgn
C#
Code
432
1,894
namespace ListingSyncronizer { partial class DonateScreen { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
10,295
https://github.com/treeplate/dart-home-automation-tools/blob/master/lib/src/devices/cloudbit_local.dart
Github Open Source
Open Source
MIT
2,022
dart-home-automation-tools
treeplate
Dart
Code
1,343
4,194
import 'dart:async'; import 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; import 'package:meta/meta.dart'; import '../common.dart'; import '../watch_stream.dart'; import 'cloudbit.dart'; class LocalCloudBitDeviceDescription { const LocalCloudBitDeviceDescription(this.displayName, this.hostname); fi...
10,007
https://github.com/whs2k/NLPTutorialsWithSpacy-Gensim/blob/master/W2V Tutorial with spaCy.ipynb
Github Open Source
Open Source
MIT
2,017
NLPTutorialsWithSpacy-Gensim
whs2k
Jupyter Notebook
Code
2,820
10,934
{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#Turn on Logging\n", "import logging\n", "logging.basicConfig(format = '%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)" ] }, { "cell_ty...
22,533
https://github.com/compscidictator/Purginal/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
Purginal
compscidictator
Ignore List
Code
3
13
bin/ obj/ geckodriver.exe
26,699
https://github.com/abadurehman/Android-Secure-Storage-1/blob/master/app/src/main/java/com/epam/securestorage/SecureStorage.java
Github Open Source
Open Source
Apache-2.0
2,021
Android-Secure-Storage-1
abadurehman
Java
Code
355
911
package com.epam.securestorage; import android.content.Context; import android.support.annotation.NonNull; import com.epam.securestorage.core.SecureStorageCallback; import com.epam.securestorage.core.SecurityProvider; import com.epam.securestorage.core.SecurityProvider.Type; import com.epam.securestorage.providers.ci...
50,974
https://github.com/dali-lab/ParseStarterApp/blob/master/app/views/LoginView.js
Github Open Source
Open Source
MIT
2,015
ParseStarterApp
dali-lab
JavaScript
Code
319
1,227
//login view module.exports = Parse.View.extend({ events: { "submit form.login-form": "logIn", "submit form.signup-form": "signUp", "submit form.fb-login-form": "fbLogIn", }, el: "#login_modal_goes_here", template: require("templates/login"), callback: null, initialize: function(params) { ...
46,669
https://github.com/iqreateinfotech/auth-rancher/blob/master/providers/github/github_provider.go
Github Open Source
Open Source
Apache-2.0
null
auth-rancher
iqreateinfotech
Go
Code
894
2,721
package github import ( "fmt" log "github.com/Sirupsen/logrus" "github.com/rancher/go-rancher/client" "github.com/rancher/rancher-auth-service/model" "net/http" ) //Constants for github const ( Name = "github" Config = Name + "config" TokenType ...
34,721
https://github.com/MystereC/TestMaker/blob/master/server/node_modules/swagger-to-html/templates/partials/parameters.hbs
Github Open Source
Open Source
MIT
2,019
TestMaker
MystereC
null
Spoken
49
249
{{! renders ths parameter table withing a method definition.}} {{#if parameters}} <section class="sw-request-params"> <table class="table"> <thead> <tr> <th class="sw-param-name"></th> <th class="sw-param-description"></th> <th class="...
22,824
https://github.com/Ahmed-Alaa-ElDin/Ez-Cosmo-New/blob/master/app/Http/Livewire/Search/HomeSearchResult.php
Github Open Source
Open Source
MIT
null
Ez-Cosmo-New
Ahmed-Alaa-ElDin
PHP
Code
650
2,427
<?php namespace App\Http\Livewire\Search; use App\Models\Product; use App\Models\Review; use Illuminate\Support\Facades\DB; use Livewire\Component; use Livewire\WithPagination; class HomeSearchResult extends Component { use WithPagination; protected $paginationTheme = 'bootstrap'; public $topRatedPro...
38,613
https://github.com/latrovalievioan/Space-Brawl/blob/master/src/config.js
Github Open Source
Open Source
Apache-2.0
null
Space-Brawl
latrovalievioan
JavaScript
Code
594
1,854
export default { view: { width: window.innerWidth, height: window.innerHeight, backgroundColor: 0xffffff, worldWidth: 1000, worldHeight: 500, resizeTo: window, centerOnResize: true, }, backgroundImage: { scale: 1, }, game: { width: 1000, height: 500, drag: false, ...
385
https://github.com/ekroth/pool/blob/master/cpp/glakkengine/include/Effects/Particles/ParticleSystem.hpp
Github Open Source
Open Source
MIT
2,016
pool
ekroth
C++
Code
280
716
/* Copyright (c) 2010-2011 Andrée Ekroth * See the file LICENSE.txt for copying permission. */ #ifndef PARTICLESYSTEM_HPP #define PARTICLESYSTEM_HPP #include "BaseTypes.hpp" #include "GameObject.hpp" #include <glm/glm.hpp> typedef unsigned int uint; namespace kke { class ResourceManager; /** * @brief Manages pa...
11,485
https://github.com/rust-bakery/nom/blob/master/benchmarks/benches/ini.rs
Github Open Source
Open Source
MIT, CC0-1.0
2,023
nom
rust-bakery
Rust
Code
235
1,035
#[global_allocator] static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; use criterion::*; use nom::{ bytes::complete::take_while, character::complete::{ alphanumeric1 as alphanumeric, char, multispace1 as multispace, space1 as space, }, combinator::{map_res, opt}, multi::many, sequence::{de...
23,624
https://github.com/djamal2727/Main-Bearing-Analytical-Model/blob/master/Validation/pyFrame3DD-master/gcc-master/gcc/ada/aspects.adb
Github Open Source
Open Source
Apache-2.0
null
Main-Bearing-Analytical-Model
djamal2727
Ada
Code
1,870
5,207
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
49,256
https://github.com/wengminghui/butifulDay/blob/master/js/p2.js
Github Open Source
Open Source
MIT
null
butifulDay
wengminghui
JavaScript
Code
117
615
app.pages[2] = (function() { var page = { init: init, onLoad: onLoad, onLeave: onLeave, dependingTask:'p2', isFlipReady: false, hasBranch: true, }; function init() { initEvents(); } function initEvents() { } function onLoad() { var str = '一路走来,险阻重重但人类朋友的爱让未来值得期待只是...
28,017
https://github.com/degeri/authit/blob/master/src/components/CommonComponents.js
Github Open Source
Open Source
ISC
2,018
authit
degeri
JavaScript
Code
105
310
import styled from "styled-components"; import { H1, Card, theme, TableData } from "cobra-ui"; import { flexColumnCenter } from "../styles"; export const ContentWrapper = styled.div` ${flexColumnCenter} padding: 20px 0; width: 100%; `; export const Main = styled.div` margin: 0 auto; max-width: 800px; text...
27,975
https://github.com/artemsky/EvartFM/blob/master/resources/assets/layouts/dashboard/pages/schedule/index.blade.php
Github Open Source
Open Source
Apache-2.0
2,016
EvartFM
artemsky
PHP
Code
256
1,956
@extends('dashboard.main') @section('styles') <meta name="lang" content="{{ \Session::get('locale') }}"> <link rel="stylesheet" href="{{ URL::to('libs/vendor/iCheck/skins/square/blue.css') }}"> <link rel="stylesheet" href="{{ URL::to('libs/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css')...
29,889
https://github.com/ritaswc/wechat_app_template/blob/master/2020-03-24/禾匠商城/web/source/module/plugin.ctrl.php
Github Open Source
Open Source
MIT
2,022
wechat_app_template
ritaswc
PHP
Code
267
1,232
<?php /** * [WeEngine System] Copyright (c) 2014 WE7.CC * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details. */ defined('IN_IA') or exit('Access Denied'); load()->model('module'); $dos = array('display', 'rank', 'module_shortcut'); $do = !empty($_GPC['do']) ? ...
48,122
https://github.com/manasip8993/11785_Project/blob/master/MIXEM_Semi_Supervised/test.py
Github Open Source
Open Source
MIT
null
11785_Project
manasip8993
Python
Code
175
547
import sys, os,argparse, pickle,time import torch torch.manual_seed(179510) import numpy as np np.random.seed(179510) import yaml from sklearn import preprocessing import importlib.util from tqdm import tqdm import torch.nn as nn from torch.utils.data import DataLoader import torchvision.transforms as transforms from...
34,160
https://github.com/lovelycheng/JDK/blob/master/JDK-18.0.2.1/src/java.base/sun/security/util/math/intpoly/P384OrderField.java
Github Open Source
Open Source
Apache-2.0
2,022
JDK
lovelycheng
Java
Code
6,052
14,869
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
48,175
https://github.com/ulgoon/KDT-CS101/blob/master/resources/datastructure/stack.js
Github Open Source
Open Source
MIT
2,021
KDT-CS101
ulgoon
JavaScript
Code
115
491
class Stack { constructor() { this.items = [] this.count = 0 } push(element){ this.items[this.count] = element console.log(`stack[${this.count}]: ${element} Added`) this.count++ return this.count-1 } // someStack.push('simpsons') pop(){ if(th...
33,057
https://github.com/Aran1018/Sweet/blob/master/app/src/main/java/com/lucky/sweet/fragment/ImMeFragment.java
Github Open Source
Open Source
Apache-2.0
2,018
Sweet
Aran1018
Java
Code
415
2,334
package com.lucky.sweet.fragment; import android.app.Activity; import android.content.Intent; import android.content.pm.ActivityInfo; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nulla...
17,757
https://github.com/jmakovicka/OsmAnd-core/blob/master/src/Map/AtlasMapRendererSymbolsStage.h
Github Open Source
Open Source
MIT
null
OsmAnd-core
jmakovicka
C
Code
784
3,673
#ifndef _OSMAND_CORE_ATLAS_MAP_RENDERER_SYMBOLS_STAGE_H_ #define _OSMAND_CORE_ATLAS_MAP_RENDERER_SYMBOLS_STAGE_H_ #include "stdlib_common.h" #include "QtExtensions.h" #include "ignore_warnings_on_external_includes.h" #include <QReadWriteLock> #include "restore_internal_warnings.h" #include "ignore_warnings_on_extern...
17,333
https://github.com/paztis/ts-json-schema-generator/blob/master/src/NodeParser/ThisTypeNodeParser.ts
Github Open Source
Open Source
MIT
null
ts-json-schema-generator
paztis
TypeScript
Code
72
210
import * as ts from "typescript"; import { Context } from "../NodeParser"; import { SubNodeParser } from "../SubNodeParser"; import { BaseType } from "../Type/BaseType"; export class ThisTypeNodeParser implements SubNodeParser { public constructor(private typeChecker: ts.TypeChecker, private childNodeParser: SubNo...
18,437
https://github.com/DeepBrainsMe/PyDoctor_Final/blob/master/pydoctor/evaluation/running.py
Github Open Source
Open Source
MIT
2,021
PyDoctor_Final
DeepBrainsMe
Python
Code
234
876
import json import multiprocessing import os import time from itertools import product from pydoctor.evaluation import Doctor from pydoctor.evaluation.data import Study from pydoctor.utils.evalval import evaluate_performace def save_doctor_result(doctor:Doctor, result:dict,run_id=1): """Saves the result of the do...
7,523
https://github.com/fossabot/snow-owl/blob/master/snomed/com.b2international.snowowl.snomed.datastore/src/com/b2international/snowowl/snomed/datastore/index/change/ComponentInactivationChangeProcessor.java
Github Open Source
Open Source
Apache-2.0
null
snow-owl
fossabot
Java
Code
478
2,392
/* * Copyright 2018-2019 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 require...
18,523
https://github.com/amhendley/sonarqube-utils/blob/master/sq-list-plugins.py
Github Open Source
Open Source
MIT
2,017
sonarqube-utils
amhendley
Python
Code
138
395
#!python import argparse import os from common.sonarcube import * parser = argparse.ArgumentParser(prog=os.path.basename(__file__), description='Utility script to create a new project in SonarQube') try: parser.add_argument('-i', '--installed', action='store_true', ...
1,992
https://github.com/AlexDimo/ITCareerProjectGDN/blob/master/ToolBoxGNA/GNA/FileManager/Views/CreateFile.cs
Github Open Source
Open Source
MIT
null
ITCareerProjectGDN
AlexDimo
C#
Code
462
1,294
using FileSearcherDemo.BindingModels.CreateFileForm; using FileSearcherDemo.Controllers; using System; using System.Drawing; using System.Windows.Forms; namespace FileSearcherDemo.Views { /* this is a view that user uses for creating files */ public partial class CreateFile : Form { //Creates an i...
19,070
https://github.com/roman-karaba/MultiPass/blob/master/Frontend/src/views/MyCoursesPage/MyCoursesPage.jsx
Github Open Source
Open Source
RSA-MD
2,019
MultiPass
roman-karaba
null
Spoken
168
616
// Core libraries import React from "react"; import classNames from "classnames"; import withStyles from "@material-ui/core/styles/withStyles"; import { IsLoggedIn, GetMyCourseData } from "../../scripts/appService"; import jsonwebtoken from "jsonwebtoken"; // Components import { Redirect } from 'react-router-dom'; impo...
50,552
https://github.com/ui-icts/blue-button/blob/master/src/main/webapp/WEB-INF/jsp/bluebutton/clinicaldocument/modal-line-charts.jsp
Github Open Source
Open Source
Apache-2.0
2,016
blue-button
ui-icts
null
Spoken
145
428
<%-- #%L blue-button Spring MVC Web App %% Copyright (C) 2014 - 2015 University of Iowa Institute for Clinical and Translational Science (ICTS) %% 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...
30,002
https://github.com/kingbuzzman/django-squash/blob/master/tests/app/test_elidable_migrations/0002_person_age.py
Github Open Source
Open Source
MIT
2,023
django-squash
kingbuzzman
Python
Code
68
229
# Generated by Django 2.0 on 2019-05-18 15:23 from django.db import migrations, models def same_name(apps, schema_editor): """ Content not important, testing same function name in multiple migrations """ pass def same_name_2(apps, schema_editor): """ Content not important, testing same func...
21,231
https://github.com/ShinEDL/mysql/blob/master/single/start-mysql-single.sh
Github Open Source
Open Source
MIT
2,017
mysql
ShinEDL
Shell
Code
51
258
#!/bin/bash mkdir -p $PWD/data mkdir -p $PWD/logs chmod 644 $PWD/conf/my.cnf # 强制杀死正在运行的 mysql-single docker rm -f mysql-single # mysql single docker run -d --restart=on-failure:5 --name mysql-single \ -p 3306:3306 \ -e "MYSQL_ROOT_PASSWORD=my-secret-ab" \ -e "MYSQL_DATABASE...
14,075
https://github.com/oldlie/exam/blob/master/src/main/java/com/oldlie/exam/config/JWTLoginFilter.java
Github Open Source
Open Source
MIT
null
exam
oldlie
Java
Code
154
732
package com.oldlie.exam.config; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.fasterxml.jackson.databind.Ob...
41,377
https://github.com/i-sergienko/spring-rabbitmq-rpc/blob/master/src/test/java/org/bakeneko/rpc/test/TestListener.java
Github Open Source
Open Source
Apache-2.0
2,021
spring-rabbitmq-rpc
i-sergienko
Java
Code
209
658
/* * Copyright 2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
41,762
https://github.com/nanepifanio/logica-de-progamacao-com-portugol/blob/master/Portugol/Fundamentos Programação/Módulo01/M01EX10.por
Github Open Source
Open Source
MIT
2,021
logica-de-progamacao-com-portugol
nanepifanio
null
Spoken
169
548
programa { inclua biblioteca Matematica --> m inclua biblioteca Tipos --> t funcao inicio() { escreva("{ EXERCÍCIO 010 - Não fume }\n") escreva("Cada cigarro reduz 10 minutos de vida\n") escreva("-------------------------------------\n") escreva("Há quantos anos você fuma? ") inteiro anos leia(anos) ...
53,703
https://github.com/lili2012/idlcpp/blob/master/src/IdentifyListNode.h
Github Open Source
Open Source
MIT
2,021
idlcpp
lili2012
C
Code
36
153
#pragma once #include "SyntaxNodeImpl.h" #include <vector> struct TokenNode; struct IdentifyNode; struct IdentifyListNode : SyntaxNodeImpl { IdentifyListNode* m_identifyList; TokenNode* m_delimiter; IdentifyNode* m_identify; public: IdentifyListNode(IdentifyListNode* identifyList, TokenNode* delimiter, IdentifyN...
25,229
https://github.com/mythoss/midpoint/blob/master/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/MultiCompositedButtonPanel.java
Github Open Source
Open Source
Apache-2.0
null
midpoint
mythoss
Java
Code
270
1,085
/* * Copyright (C) 2010-2020 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.web.component; import java.util.List; import com.evolveum.midpoint.gui.api.page.PageBase; import c...
28,406
https://github.com/ccamposfuentes/comedoresUGR/blob/master/Backend/comedoresugr/.openshift/cron/daily/date.sh
Github Open Source
Open Source
Apache-2.0
2,015
comedoresUGR
ccamposfuentes
Shell
Code
2
9
php ../../../push.php
7,229
https://github.com/cataclysmuprising/mywebsite/blob/master/03_Sources/mywebsite-backend/pom.xml
Github Open Source
Open Source
MIT
2,017
mywebsite
cataclysmuprising
null
Spoken
158
1,536
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>mywebsite-backend</artifactId> <packaging>war</packaging> <vers...
22,240
https://github.com/Tomcli/modelmesh-performance/blob/master/multi_model_tester/pipeline.py
Github Open Source
Open Source
Apache-2.0
2,022
modelmesh-performance
Tomcli
Python
Code
70
443
from kfp import dsl, components from kfp_tekton.compiler import TektonCompiler task_deploy_op = components.load_component_from_file("deploy-component.yaml") task_payload_op = components.load_component_from_file("payload-component.yaml") @dsl.pipeline( name="modelmesh-automation", description="Model mesh depl...
50,970
https://github.com/raibima/Seekneakers/blob/master/client/src/components/Tables/Cart/index.js
Github Open Source
Open Source
MIT
2,020
Seekneakers
raibima
JavaScript
Code
192
899
import React from 'react'; import { QuantityOptions } from '../../Options'; import styles from './styles'; import { withStyles, Table, TableBody, TableCell, TableHead, TableRow, Paper, Select, FormControl } from '@material-ui/core'; const CustomTableCell = withStyles(theme => ({ head: { backgr...
10,423
https://github.com/xiayingfeng/ldp4j/blob/master/framework/application/kernel/core/src/main/java/org/ldp4j/application/kernel/constraints/HeaderHelper.java
Github Open Source
Open Source
Apache-2.0
2,021
ldp4j
xiayingfeng
Java
Code
263
1,166
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the LDP4j Project: * http://www.ldp4j.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * ...
33,115
https://github.com/dcendents/mybatis-generator-plugins/blob/master/pom.xml
Github Open Source
Open Source
Apache-2.0
2,021
mybatis-generator-plugins
dcendents
null
Spoken
290
2,847
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.dcendents</groupId> <artifactId>mybatis-generator-plugins...
55,843
https://github.com/ferrous-frameworks/ironworks/blob/master/dist/interfaces/service/IServiceReady.js
Github Open Source
Open Source
Apache-2.0
2,016
ironworks
ferrous-frameworks
JavaScript
Code
4
19
"use strict"; //# sourceMappingURL=IServiceReady.js.map
13,639
https://github.com/linsir6/JD-shopping-mall/blob/master/app/src/main/java/top/linsir/mall/customview/NoScrollViewPager.kt
Github Open Source
Open Source
Apache-2.0
2,019
JD-shopping-mall
linsir6
Kotlin
Code
77
255
package top.linsir.mall.customview import android.content.Context import android.support.v4.view.ViewPager import android.util.AttributeSet import android.view.MotionEvent /** * Created by linSir * date at 2018/1/23. * describe: 继承自viewPager,实现可控的滑动 */ public class NoScrollViewPager : ViewPager { private ...
1,359
https://github.com/deckerst/aves/blob/master/lib/ref/xmp.dart
Github Open Source
Open Source
BSD-3-Clause
2,022
aves
deckerst
Dart
Code
132
542
class XMP { static const propNamespaceSeparator = ':'; static const structFieldSeparator = '/'; // cf https://exiftool.org/TagNames/XMP.html static const Map<String, String> namespaces = { 'acdsee': 'ACDSee', 'adsml-at': 'AdsML', 'aux': 'Exif Aux', 'avm': 'Astronomy Visualization', 'Camera'...
34,390
https://github.com/justijndepover/laravel-localized-routes/blob/master/src/UrlGenerator.php
Github Open Source
Open Source
MIT
2,021
laravel-localized-routes
justijndepover
PHP
Code
264
585
<?php namespace Justijndepover\LocalizedRoutes; use Illuminate\Routing\UrlGenerator as RoutingUrlGenerator; use Illuminate\Support\Facades\App; use Illuminate\Support\Facades\Route; class UrlGenerator extends RoutingUrlGenerator { /** * Resolve the URL to a named route or a localized version of it. * ...
48,329
https://github.com/medusaphp/api-resolver/blob/master/src/InternalAdminInterface/View.php
Github Open Source
Open Source
MIT
null
api-resolver
medusaphp
PHP
Code
150
447
<?php declare(strict_types = 1); namespace Medusa\App\ApiResolver\InternalAdminInterface; use function array_merge; use function dd; use function extract; use function ob_get_clean; use function ob_start; /** * Class View * @package Medusa\App\ApiResolver\InternalAdminInterface * @author Pascale Schnell <pascale...
2,578
https://github.com/koddsson/island.is/blob/master/apps/air-discount-scheme/web/i18n/I18n.tsx
Github Open Source
Open Source
MIT
null
island.is
koddsson
TypeScript
Code
213
617
import React, { createContext, useState, useRef, useEffect } from 'react' import Router from 'next/router' import rosetta from 'rosetta' import { getRoute } from './routes' import { Locale, Routes } from '../types' import { LOCALE_KEY } from '../consts' const i18n = rosetta() export const defaultLanguage: Locale = '...
55,647
https://github.com/amitrp/spring/blob/master/spring-boot-data-jpa/spring-data-jpa-embeddedid/src/main/java/com/amitph/spring/songs/web/SongNotFoundException.java
Github Open Source
Open Source
Apache-2.0
2,022
spring
amitrp
Java
Code
13
66
package com.amitph.spring.songs.web; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(HttpStatus.NOT_FOUND) public class SongNotFoundException extends RuntimeException {}
5,521
https://github.com/ferzkopp/sketch360/blob/master/Source/Sketch360.XPlat/Interfaces/IDrawingPageViewModel.cs
Github Open Source
Open Source
MIT
2,022
sketch360
ferzkopp
C#
Code
60
149
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Windows.Input; using Xamarin.Forms.Inking.Interfaces; namespace Sketch360.XPlat.Interfaces { public interface IDrawingPageViewModel { IIn...
10,112
https://github.com/yaegashi/aadsync/blob/master/app_sp_job_schema_functions.go
Github Open Source
Open Source
Apache-2.0
null
aadsync
yaegashi
Go
Code
94
345
package main import ( "context" "encoding/json" "net/http" "github.com/spf13/cobra" cmder "github.com/yaegashi/cobra-cmder" ) type AppSPJobSchemaFunctions struct { *AppSPJobSchema } func (app *AppSPJobSchema) AppSPJobSchemaFunctionsComder() cmder.Cmder { return &AppSPJobSchemaFunctions{AppSPJobSchema: app} }...
55,648
https://github.com/jmox0351/chemEPy/blob/master/chemEPy/fluidNumbers.py
Github Open Source
Open Source
MIT
2,021
chemEPy
jmox0351
Python
Code
216
1,041
def biot(**kwargs): return(kwargs['h']*kwargs['k']/kwargs['L']) def biotInfo(): print('arguments are h, k, and L') def graetz(**kwargs): try: kwargs['rho'] return(kwargs['D']**2 * kwargs['rho'] * kwargs['u'] * kwargs['cp'] / (kwargs['L']*kwargs['k'])) except: pass try: ...
10,151
https://github.com/simplyo-life/docker-nginx-certbot/blob/master/.editorconfig
Github Open Source
Open Source
MIT
2,020
docker-nginx-certbot
simplyo-life
null
Spoken
29
79
root = true [*] indent_style = space indent_size = 4 charset = utf-8 trim_trailing_whitespace = false insert_final_newline = false # markdown(.md) style [.md] indent_style = space indent_size = 2
24,483
https://github.com/codeBalok/ooohcarBlazor-backend/blob/master/ooohCar.Domain/Entities/IEntity.cs
Github Open Source
Open Source
MIT
null
ooohcarBlazor-backend
codeBalok
C#
Code
9
27
namespace ooohCar.Domain.Entities { public interface IEntity { } }
51,371
https://github.com/miltador-forks/graphql-decorator/blob/master/src/index.ts
Github Open Source
Open Source
MIT
null
graphql-decorator
miltador-forks
TypeScript
Code
14
33
export * from "./decorator"; export { schemaFactory } from "./schema_factory"; export * from "./order-by-item"
28,068
https://github.com/QutEcoacoustics/baw-client/blob/master/src/components/services/media.js
Github Open Source
Open Source
Apache-2.0
2,017
baw-client
QutEcoacoustics
JavaScript
Code
79
270
angular .module("bawApp.services.media", []) .factory( "Media", [ "$resource", "bawResource", "conf.paths", "$http", "$url", function ($resource, bawResource, paths, $http, $url) { // create resource for rest requests to media api var mediaResource = $resource(ba...
49,905
https://github.com/splunk/learning-labs-portal/blob/master/src/lib/deployment_manager/deployment_manager_local.test.js
Github Open Source
Open Source
Apache-2.0
2,021
learning-labs-portal
splunk
JavaScript
Code
307
790
/** * Copyright 2021 Splunk 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 i...
53,749
https://github.com/Rimon19/GmtSltn/blob/master/Source Code/NewGarmentsERP/GarmentsERPClientApp/src/app/pages/merchandizer-module/fabric-des-pre-cost/edit-fabric-des-pre-cost/edit-fabric-des-pre-cost.component.ts
Github Open Source
Open Source
MIT
2,020
GmtSltn
Rimon19
TypeScript
Code
112
639
import { Component, OnInit } from '@angular/core'; import { NgForm } from '@angular/forms'; import { Tostr } from '../../../../@core/data/tostr.model'; import { NbToastrService } from '@nebular/theme'; import { Router,ActivatedRoute } from '@angular/router'; import { FabricDesPreCostService } from '../../../../@core/mo...
46,351
https://github.com/raja-igce/crmproject/blob/master/cms/app/Models/ChatIndividual.php
Github Open Source
Open Source
MIT
2,021
crmproject
raja-igce
PHP
Code
35
121
<?php namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; class ChatIndividual extends Authenticatable { protected $table = 'chat_individual'; public function getSender() { return $this->hasOne('App\User', 'id', 'sender_id'); } public function getReceiver() { ...
31,867
https://github.com/sksamuel/hoplite/blob/master/hoplite-core/src/test/kotlin/com/sksamuel/hoplite/NoValuesTest.kt
Github Open Source
Open Source
Apache-2.0
2,023
hoplite
sksamuel
Kotlin
Code
93
298
package com.sksamuel.hoplite import io.kotest.assertions.throwables.shouldThrowAny import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldContain class NoValuesTest : FunSpec({ test("ConfigLoader should return NoValues if all sources returned Undefined") ...
27,435
https://github.com/OLIMEX/DIY-LAPTOP/blob/master/SOFTWARE/A64-TERES/linux-a64/arch/arm/mach-at91/board-sam9260ek.c
Github Open Source
Open Source
Linux-syscall-note, GPL-2.0-only, GPL-1.0-or-later, LicenseRef-scancode-free-unknown, Apache-2.0
2,023
DIY-LAPTOP
OLIMEX
C
Code
978
3,682
/* * linux/arch/arm/mach-at91/board-sam9260ek.c * * Copyright (C) 2005 SAN People * Copyright (C) 2006 Atmel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the L...
49,735
https://github.com/Jaypiie15/mied/blob/master/app/Cut.php
Github Open Source
Open Source
MIT
null
mied
Jaypiie15
PHP
Code
15
42
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Cut extends Model { protected $table = 'cuts'; }
27,634
https://github.com/penbosso/timetable-api/blob/master/auth/auth.routes.js
Github Open Source
Open Source
MIT
null
timetable-api
penbosso
JavaScript
Code
39
181
import VerifyUserMiddleware from './verify.user.middleware'; import AuthorizationController from './auth.controller'; import AuthValidationMiddleware from '../common/auth.validation.middleware'; // export default {}; /* eslint-disable import/ignore */ exports.routesConfig = function (app) { app.post('/auth', [ ...
37,355
https://github.com/cms-sw/cmssw/blob/master/CondFormats/BTauObjects/test/testBTagCalibration.cpp
Github Open Source
Open Source
Apache-2.0
2,023
cmssw
cms-sw
C++
Code
212
735
#include <assert.h> #include <iostream> #include <sstream> #include <string> #include "CondFormats/BTauObjects/src/headers.h" int main() { using namespace std; string csv1( "0, comb, up, 0, 1, 2, 3, 4, 5, 6, \"2*x\" \n" "0, comb, central, 0, 1, 2, 3, 4, 5, 6, \"2*x\" \n" "0, comb, central, 0, 1...
33,100
https://github.com/crucibuild/sdk-agent-go/blob/master/agentiface/log.go
Github Open Source
Open Source
Apache-2.0
2,018
sdk-agent-go
crucibuild
Go
Code
249
399
// Copyright (C) 2016 Christophe Camel, Jonathan Pigrée // // 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 applic...
231
https://github.com/tecte/cube.js/blob/master/examples/event-analytics/frontend/src/funnels/Funnel.js
Github Open Source
Open Source
MIT, Cube, Apache-2.0
2,019
cube.js
tecte
JavaScript
Code
62
172
import React from 'react'; import Chart from '../components/Charts'; const calculateCompletionRate = (resultSet, id) => { const data = resultSet.rawData() const last = Number(data[data.length - 1][`${id}.conversions`]) if (last === 0) { return 0 } const first = Number(data[0][`${id}.conversions`]) return M...
14,380
https://github.com/Koech-code/My-blogPost/blob/master/migrations/versions/982880b906dd_added_a_column_for_picture_path.py
Github Open Source
Open Source
MIT
null
My-blogPost
Koech-code
Python
Code
79
229
"""added a column for picture_path Revision ID: 982880b906dd Revises: 61a8e0633113 Create Date: 2021-08-29 19:57:01.454709 """ # revision identifiers, used by Alembic. revision = '982880b906dd' down_revision = '61a8e0633113' from alembic import op import sqlalchemy as sa def upgrade(): # ### commands auto gen...
19,587
https://github.com/freemo/AetherMUD/blob/master/src/main/java/com/syncleus/aethermud/game/core/collections/FullConvertingList.java
Github Open Source
Open Source
Apache-2.0
2,017
AetherMUD
freemo
Java
Code
606
1,720
/** * Copyright 2017 Syncleus, Inc. * with portions copyright 2004-2017 Bo Zimmerman * * 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...
18,796
https://github.com/krishna0511/api_guardian/blob/master/app/controllers/api_guardian/permissions_controller.rb
Github Open Source
Open Source
MIT
2,015
api_guardian
krishna0511
Ruby
Code
12
31
module ApiGuardian class PermissionsController < ApiController def includes [] end end end
47,549
https://github.com/liu1406410230/permission/blob/master/static/js/role/role_permission.js
Github Open Source
Open Source
Apache-2.0
2,019
permission
liu1406410230
JavaScript
Code
33
212
//配置 $(function () { $(".deploy_role_permission").click( function () { $(".hide,.deploy_part").removeClass('hide') } ); $(".deploy_cancle").click( function () { $(".role_permission_shade").addClass('hide');...
20,264
https://github.com/franciscocamellon/kotlinDevelopment_Android/blob/master/TestedePerformance01/app/src/main/java/com/camelloncase/testedeperformance01/ui/recipes/RecipesRecyclerViewAdapter.kt
Github Open Source
Open Source
AFL-3.0
null
kotlinDevelopment_Android
franciscocamellon
Kotlin
Code
151
675
package com.camelloncase.testedeperformance01.ui.recipes import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.camelloncase.teste...
47,193
https://github.com/gauravtiwari/hungryhead/blob/master/config/initializers/sidekiq.rb
Github Open Source
Open Source
Artistic-2.0
2,021
hungryhead
gauravtiwari
Ruby
Code
26
126
Sidekiq.configure_server do |config| config.redis = { url: ENV["REDIS_URL"], namespace: "sidekiq_#{Rails.env.downcase}" } ActiveRecord::Base.establish_connection end Sidekiq.configure_client do |config| config.redis = { url: ENV["REDIS_URL"], namespace: "sidekiq_#{Rails.env.downcase}" } ActiveRecord::Base.esta...
33,962
https://github.com/HarishTeens/Monday-Morning-Summer-Task/blob/master/Monday Morning Full Stack/mondaymorning/application/views/landing.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
Monday-Morning-Summer-Task
HarishTeens
PHP
Code
87
497
<!DOCTYPE html> <html> <head> <link rel="shortcut icon" type="image/png" href="<?php echo base_url("assets/img/favicon.png");?>"> <style> body{ background:url('<?php echo base_url("assets/img/landing.jpg") ?>'); } .heading{ text-align: center; padding-top: 15%; } button>a:hover{ ...
32,674
https://github.com/asleshapokhrel/Escape-Lab/blob/master/Assets/NewResources/Level6/Interact6.cs
Github Open Source
Open Source
MIT
null
Escape-Lab
asleshapokhrel
C#
Code
54
224
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Interact6 : MonoBehaviour { private DisplayImage6 currentDisplay; void Start() { currentDisplay = GameObject.Find("displayImage").GetComponent<DisplayImage6>(); } void Update() { if (...
52,598
https://github.com/abdalaj/My-Work/blob/master/app/Providers/EventServiceProvider.php
Github Open Source
Open Source
MIT
null
My-Work
abdalaj
PHP
Code
72
221
<?php namespace App\Providers; use App\Events\OrderCreated; use App\Events\ReturnCreated; use App\Listeners\UpdateProductQuantity; use App\Listeners\UpdateProductQuantityReturn; use Illuminate\Support\Facades\Event; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; class EventServi...
40,859
https://github.com/kdy1/deno_lint/blob/master/src/diagnostic.rs
Github Open Source
Open Source
MIT
2,020
deno_lint
kdy1
Rust
Code
126
375
// Copyright 2020 the Deno authors. All rights reserved. MIT license. #[cfg(feature = "json")] use serde::Serialize; #[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "json", derive(Serialize))] pub struct Location { pub filename: String, pub line: usize, pub col: usize, } impl Into<Location> for swc_comm...
50,004