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/dr-pain/omniscidb/blob/master/scripts/macos/gdal.rb
Github Open Source
Open Source
Apache-2.0
2,022
omniscidb
dr-pain
Ruby
Code
250
1,167
class Gdal < Formula desc "Geospatial Data Abstraction Library" homepage "https://www.gdal.org/" url "https://download.osgeo.org/gdal/2.4.4/gdal-2.4.4.tar.xz" head do url "https://github.com/OSGeo/gdal.git" depends_on "doxygen" => :build end depends_on "libdap" depends_on "proj5" depends_on "e...
55,819
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/components/misc/__tests__/PaginationToolbar-test.jsx
Github Open Source
Open Source
BSD-2-Clause
2,023
MapStore2
geosolutions-it
JavaScript
Code
165
549
/** * Copyright 2016, GeoSolutions Sas. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import ReactDOM from 'react-dom'; import expect from 'expect'; import PaginationToolbar ...
17,065
https://github.com/aclrys/prebid-mobile-android/blob/master/PrebidMobile/PrebidMobile-rendering/src/test/java/org/prebid/mobile/rendering/bidding/parallel/BannerViewTest.java
Github Open Source
Open Source
Apache-2.0
null
prebid-mobile-android
aclrys
Java
Code
976
5,532
/* * Copyright 2018-2021 Prebid.org, 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 ...
37,154
https://github.com/BUPT-GAMMA/GammaGL/blob/master/tests/layers/conv/test_gat_conv.py
Github Open Source
Open Source
Apache-2.0
null
GammaGL
BUPT-GAMMA
Python
Code
60
200
# !/usr/bin/env python3 # -*- coding:utf-8 -*- # @Time : 2022/05/12 21:14 # @Author : clear # @FileName: test_gat_conv.py import tensorlayerx as tlx from gammagl.layers.conv import GATConv def test_gat_conv(): x = tlx.random_normal(shape=(4, 64)) edge_index = tlx.convert_to_tensor([[0, 0, 0, 1, 2, 3], [...
40,363
https://github.com/dlang/dmd/blob/master/compiler/test/runnable/test23343.c
Github Open Source
Open Source
BSL-1.0
2,023
dmd
dlang
C
Code
38
117
/* DISABLED: win32 win64 linux32 linux64 freebsd32 freebsd64 osx32 dragonflybsd32 netbsd32 */ /* https://issues.dlang.org/show_bug.cgi?id=23343 */ int open(const char*, int, ...) asm("_" "open"); int main(){ int fd = open("/dev/null", 0); return fd >= 0 ? 0 : 1; }
8,109
https://github.com/DynexIT/grouter/blob/master/rest_client/lib/core/services/stoppable_service.dart
Github Open Source
Open Source
MIT
2,020
grouter
DynexIT
Dart
Code
59
133
import 'package:flutter/material.dart'; /// Abstract class that defines that a stoppable service /// - Stoppable service must be able to start /// - Stoppable service must be able to stop abstract class StoppableService { bool _serviceStopped = false; bool get serviceStopped => _serviceStopped; @mustCallSup...
54,061
https://github.com/marciojrtorres/ta-2014-1/blob/master/acad/notas.php
Github Open Source
Open Source
MIT
2,014
ta-2014-1
marciojrtorres
PHP
Code
134
533
<?php // salva guarda session_start(); if (! isset($_SESSION['usuario'])) { die('eh necessario estar logado para ver essa pagina'); } $link = mysql_connect('localhost', 'root', 'root') or die ('banco de dados indisponivel'); mysql_select_db('acad', $link) or die ('banco de dados acad nao existe'); if ($_REQUE...
51,199
https://github.com/xulman/TrackMate3/blob/master/src/main/java/org/mastodon/mamut/launcher/LauncherUtil.java
Github Open Source
Open Source
BSD-2-Clause
2,022
TrackMate3
xulman
Java
Code
751
2,222
/*- * #%L * Mastodon * %% * Copyright (C) 2014 - 2021 Tobias Pietzsch, Jean-Yves Tinevez * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright...
28,707
https://github.com/AppJam-Tigris/COVIN_Android/blob/master/app/src/main/java/com/saehyun/trigris_android/di/module/RegisterModule.kt
Github Open Source
Open Source
MIT
null
COVIN_Android
AppJam-Tigris
Kotlin
Code
24
123
package com.saehyun.trigris_android.di.module import com.saehyun.trigris_android.data.register.RegisterRepository import com.saehyun.trigris_android.feature.register.viewmodel.RegisterViewModel import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module val registerModule = module { single { Regis...
55,385
https://github.com/helena-project/beetle/blob/master/gateway/include/Device.h
Github Open Source
Open Source
Apache-2.0
2,020
beetle
helena-project
C
Code
510
1,210
/* * Device.h * * Created on: Mar 28, 2016 * Author: James Hong */ #ifndef INCLUDE_DEVICE_H_ #define INCLUDE_DEVICE_H_ #include <atomic> #include <cstdint> #include <exception> #include <functional> #include <map> #include <memory> #include <mutex> #include <string> #include <set> #include "BeetleTypes.h"...
6,987
https://github.com/ArenaNetworks/dto-digitalmarketplace-frontend/blob/master/apps/marketplace/components/ItemSelect/ItemSelectResultsList.js
Github Open Source
Open Source
MIT
2,020
dto-digitalmarketplace-frontend
ArenaNetworks
JavaScript
Code
70
189
import React from 'react' import styles from './ItemSelectResultsList.scss' const ItemSelectResultsList = props => { const { emptyResultsMessage, items, keywords, resultListItems } = props const numberOfItems = items.length const resultIsEmpty = numberOfItems < 1 const hasManyResults = numberOfItems > 3 r...
24,667
https://github.com/o2system/framework/blob/master/src/Libraries/Ui/Components/Progress/Bar.php
Github Open Source
Open Source
MIT
2,021
framework
o2system
PHP
Code
401
1,325
<?php /** * This file is part of the O2System Framework package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @author Steeve Andrian Salim * @copyright Copyright (c) Steeve Andrian Salim */ // -------------------...
31,096
https://github.com/Kitware/SMTK/blob/master/smtk/attribute/DoubleItem.cxx
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
SMTK
Kitware
C++
Code
1,140
3,390
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
15,841
https://github.com/irinagrigorjewa/sc-machine/blob/master/sc-network/sctp_client/sctpISocket.hpp
Github Open Source
Open Source
MIT
2,021
sc-machine
irinagrigorjewa
C++
Code
190
382
/* * This source file is part of an OSTIS project. For the latest info, see http://ostis.net * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #pragma once #include <cstdint> #include <string> namespace sctp { class ISocket { public: vir...
41,144
https://github.com/onaio/js-tools/blob/master/packages/gatekeeper/dist/components/logout.js
Github Open Source
Open Source
Apache-2.0
2,021
js-tools
onaio
JavaScript
Code
121
456
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = exports.Logout = exports.defaultLogoutProps = exports.defaultLogout = void 0; var _sessionReducer = require("@onaio/session-reducer...
37,373
https://github.com/tudal/BrunLib/blob/master/src/pl/brun/lib/debugger/BDLinkVO.as
Github Open Source
Open Source
Apache-2.0
null
BrunLib
tudal
null
Spoken
47
136
package pl.brun.lib.debugger { /** * created: 2010-01-10 * @author Marek Brun */ public class BDLinkVO { public function BDLinkVO() { } public static const TYPE_EXE:String = 'exe'; public static const TYPE_OBJECT:String = 'object'; public static const TYPE_LONG_STRING:String = 'longString'; p...
50,613
https://github.com/sweetpotato27/CodeChallenge_01/blob/master/phaser3-project-template/src/scenes/BuckScene.js
Github Open Source
Open Source
MIT
2,019
CodeChallenge_01
sweetpotato27
JavaScript
Code
662
2,555
import 'phaser'; class BuckScene extends Phaser.Scene { constructor() { super('Buck'); console.log('buck'); this.graphics = null; this.background = null; this.scopeBG = null; this.deer = null; this.gun = null; this.destX = null; this.deerHop =...
42,993
https://github.com/shannonlal/db-connectors-examples/blob/master/express/app.js
Github Open Source
Open Source
MIT
null
db-connectors-examples
shannonlal
JavaScript
Code
101
346
require('./common/log'); const SERVER_PORT = 3000; const logger = require('winston'); const express = require('express'); const bodyParser = require('body-parser'); const app = express(); const cors = require('cors'); const connectionController = require('./controllers/connection'); const commonController = require('...
3,595
https://github.com/bradunov/shkola/blob/master/questions/data_2/q00046/text.sl
Github Open Source
Open Source
MIT, CC-BY-4.0
2,023
shkola
bradunov
null
Spoken
27
77
Grafikon prikazuje rezultate testiranja dve grupe učenika, @"A"@ in @"B"@. Za vsako skupino vpiši v tabelo, koliko učencev je doseglo število točk v določenem intervalu. @center@ @mycanvas()@
18,404
https://github.com/chrisbing/touch-mirror/blob/master/server/src/middleware/koa-restful.ts
Github Open Source
Open Source
MIT
null
touch-mirror
chrisbing
TypeScript
Code
89
233
import {Middleware, Context} from 'koa' declare module 'koa' { interface BaseContext{ e404(message: string): void e422(message: string): void e500(message: string): void e401(message: string): void e403(message: string): void } } export default function restful(options:...
41,174
https://github.com/nvaller/newrelic-client-go/blob/master/pkg/alerts/alert_policy_channels_test.go
Github Open Source
Open Source
Apache-2.0
null
newrelic-client-go
nvaller
Go
Code
184
889
// +build unit package alerts import ( "net/http" "net/http/httptest" "testing" "github.com/newrelic/newrelic-client-go/pkg/config" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) var ( testUpdatePolicyChannelsResponseJSON = `{ "policy": { "id": 593436, "channel_ids": [ ...
13,288
https://github.com/davidzl/weblogic-kubernetes-operator/blob/master/operator/src/test/java/oracle/kubernetes/operator/DomainProcessorTest.java
Github Open Source
Open Source
UPL-1.0, MIT
null
weblogic-kubernetes-operator
davidzl
Java
Code
880
4,280
// Copyright 2019, Oracle Corporation and/or its affiliates. All rights reserved. // Licensed under the Universal Permissive License v 1.0 as shown at // http://oss.oracle.com/licenses/upl. package oracle.kubernetes.operator; import static com.meterware.simplestub.Stub.createStrictStub; import static oracle.kubernet...
56,482
https://github.com/Marcos-Otake/Flutter_Learning/blob/master/lib/models/Contact.dart
Github Open Source
Open Source
MIT
null
Flutter_Learning
Marcos-Otake
Dart
Code
57
176
class Contact{ int id; String name; String email; String imagem; Contact(this.id, this.name, this.email, this.imagem); //converting an object to a map Map<String,dynamic> toMap(){ var map = <String,dynamic> { 'id':id, 'name':name, 'email':email, 'imagem':imagem }; return map; } // //converting ...
1,167
https://github.com/kkya2014/z-gulp/blob/master/node_modules/gulp/node_modules/undertaker/lib/get-task.js
Github Open Source
Open Source
MIT
2,016
z-gulp
kkya2014
JavaScript
Code
34
108
'use strict'; var metadata = require('./helpers/metadata'); function get(name){ /* jshint validthis: true */ var wrapper = this._registry.get(name); if(!wrapper){ return; } var meta = metadata.get(wrapper); if(meta){ return meta.orig; } return wrapper; } module.exports = get;
41,531
https://github.com/X0ym/go_repo/blob/master/src/main/method02.go
Github Open Source
Open Source
MIT
null
go_repo
X0ym
Go
Code
44
142
package main import "fmt" func (u *User) getName() (name string) { name = u.Name return name } func (u *User) setName(newName string) { u.Name = newName } func methodTest02() { u := User{ Name: "go", Age: 10, City: "beijing", } fmt.Println(u.getName()) u.setName("shenzhen") fmt.Println(u.getName()) }...
52,018
https://github.com/nasi-famnit/HOur-flight/blob/master/azure_api.py
Github Open Source
Open Source
MIT
2,016
HOur-flight
nasi-famnit
Python
Code
288
1,208
from urllib import request import urllib import json def request_prediction(data): ColumnNames = ["Column 0", "Unnamed: 0", "Year", "Month", "DayofMonth", "DayOfWeek", "UniqueCarrier", "Origin", "Dest", "CRSDepTime", "DepDelayMinutes", "DepDel15", "CRSArrTime", "ArrTime", "ArrDelay", "ArrDelayMinutes", "ArrDel15",...
8,338
https://github.com/RCode-Blue/gbooks-hooks/blob/master/src/components/booklist/Booklist.js
Github Open Source
Open Source
ISC
null
gbooks-hooks
RCode-Blue
JavaScript
Code
135
516
import React, { useContext } from "react"; import { ReadingListContext } from "../../contexts/ReadingListContext"; import { library, icon } from "@fortawesome/fontawesome-svg-core"; import { faPlusCircle, faMinusCircle } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-font...
33,670
https://github.com/meng4/abc/blob/master/crm/app/Http/Controllers/Admin/LoginController.php
Github Open Source
Open Source
MIT
2,018
abc
meng4
PHP
Code
101
390
<?php namespace App\Http\Controllers\Admin; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Input; use App\Http\Controllers\Controller; class LoginController extends CommonController{ /** * 加载登录视图 */ public function login(){ return view('admin.lo...
14,776
https://github.com/yury-yufimov/sentry_client/blob/master/lib/api_data/sentry_sdk.dart
Github Open Source
Open Source
MIT
2,020
sentry_client
yury-yufimov
Dart
Code
25
75
class SentrySDK { final String name = 'dart-sentry-client'; final String version = '4.0.3'; const SentrySDK(); Map<String, String> toJson() => <String, String>{'name': name, 'version': version}; }
9,946
https://github.com/nbgallery/nbgallery/blob/master/app/views/layouts/error.slim
Github Open Source
Open Source
MIT
2,023
nbgallery
nbgallery
null
Spoken
62
269
html head meta charset="UTF-8" -if defined? nofollow meta name="robots" content="nofollow" -if defined? notebook.title title =notebook.title -elsif defined? subtitle and !subtitle.nil? and !subtitle.empty? title #{GalleryConfig.site.name} - #{subtitle} -else title #{Gallery...
25,690
https://github.com/eramax/saga-durable-functions/blob/master/DurableSaga/Activities/Taxi.cs
Github Open Source
Open Source
MIT
2,019
saga-durable-functions
eramax
C#
Code
116
482
using DurableSaga.Models; using DurableSaga.Utils; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; using System.Threading.Tasks; namespace DurableSaga.Activities { public static class Taxi { [FunctionName("TaxiBookingOrchestrator")] public static async Task<Booking> TaxiBooki...
49,449
https://github.com/tailrocks/gradle-conventions/blob/master/spotless-conventions/build.gradle.kts
Github Open Source
Open Source
Apache-2.0
null
gradle-conventions
tailrocks
Kotlin
Code
73
333
plugins { `kotlin-dsl` `java-gradle-plugin` `maven-publish` id("com.gradle.plugin-publish") } version = "0.1.5-SNAPSHOT" dependencies { // https://plugins.gradle.org/plugin/com.diffplug.spotless implementation("com.diffplug.spotless:spotless-plugin-gradle:6.7.0") } gradlePlugin { plugins...
31,225
https://github.com/rapid7/guardian/blob/master/lib/util/redis.js
Github Open Source
Open Source
Apache-2.0
2,021
guardian
rapid7
JavaScript
Code
270
824
/** * Helper utilities for Redis */ var Crypto = require('crypto'); var FS = require('fs'); var Path = require('path'); var Redis = require('redis'); var context = exports._context = {}; exports.connect = function() { if (context.client) return context.client; console.log('Redis: connecting to server'); var ...
18,122
https://github.com/carreath/SWE4103-Project/blob/master/client/src/components/ModalEditUser.vue
Github Open Source
Open Source
MIT
null
SWE4103-Project
carreath
Vue
Code
466
1,973
<template> <div id="modal-edit-user"> <div id="edit-user-modal-container"> <div id="title"> Edit User </div> <div id="form-container"> <el-form :label-position="labelPosition" :model="userEditForm" :rules="userEditFormRules" label-width="12...
50,590
https://github.com/Ridji/EDBlogBundle/blob/master/Model/Repository/UserRepository.php
Github Open Source
Open Source
MIT
2,017
EDBlogBundle
Ridji
PHP
Code
230
918
<?php /** * Created by Eton Digital. * User: Vladimir Mladenovic (vladimir.mladenovic@etondigital.com) * Date: 3.7.15. * Time: 14.43 */ namespace ED\BlogBundle\Model\Repository; use Doctrine\ORM\EntityRepository; use ED\BlogBundle\Interfaces\Model\BlogUserInterface; use ED\BlogBundle\Interfaces\Repository\BlogUs...
29,613
https://github.com/shawnbot/localtunnel-runner/blob/master/cli.js
Github Open Source
Open Source
CC0-1.0
2,015
localtunnel-runner
shawnbot
JavaScript
Code
233
766
#!/usr/bin/env node var yargs = require('yargs') .usage([ '$0 [options] [--] <test command>', '\n\n', 'All instances of the literal string `<url>` in your test command will ', 'be replaced with the tunnel URL. For instance:', '\n\n', '$0 --port 8080 -- npm test -- -...
25,495
https://github.com/marciellioliveira/mecanico/blob/master/wordpress/wp-content/plugins/mailpoet/lib/Logging/Logger.php
Github Open Source
Open Source
MIT
null
mecanico
marciellioliveira
PHP
Code
227
670
<?php namespace MailPoet\Logging; use MailPoet\Settings\SettingsController; use MailPoetVendor\Monolog\Processor\IntrospectionProcessor; use MailPoetVendor\Monolog\Processor\MemoryUsageProcessor; use MailPoetVendor\Monolog\Processor\WebProcessor; use MailPoet\Models\Setting; /** * Usage: * $logger = Logger::getLog...
42,953
https://github.com/maxlep/MeatScape-Adventure/blob/master/Assets/MyAssets/Prefabs/Environment/BloodTuber/BloodTuber.prefab
Github Open Source
Open Source
MIT
2,021
MeatScape-Adventure
maxlep
Unity3D Asset
Code
3,498
16,010
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1 &61899932077530998 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 1730255698167545051} - component: {fileID: 43296...
16,796
https://github.com/Richienb/openapi-validator/blob/master/src/plugins/validation/swagger2/semantic-validators/security-definitions.js
Github Open Source
Open Source
Apache-2.0
2,022
openapi-validator
Richienb
JavaScript
Code
476
1,221
// Assertation 1: security definition must have type one of "apiKey" || "oauth2" || "basic" // Assertation 2: "apiKey" security must have "in" one of "header" || "query", and required "name" string // Assertation 3: "oauth2" security must have flow parameter one of "implicit" || "password" || "application" || "accessCo...
46,473
https://github.com/artblinkbox/handlebars-helpers-examples/blob/master/src/templates/html/js.hbs
Github Open Source
Open Source
MIT
2,013
handlebars-helpers-examples
artblinkbox
null
Spoken
41
128
--- title: Script tag helpers description: > Like the CSS helper, the js helper reads the extension of the given file and either generates a style tag for JavaScript or Coffeescript --- <h1>{{title}}</h1> <p>{{description}}</p> <h2>Scripts</h2> <h4>JavaScript</h4> {{js 'script.js'}} <h4>Coffee-script</h4> {{js ...
29,683
https://github.com/fadhlanfm/kopum/blob/master/application/views/admin_pages/edit_training.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
kopum
fadhlanfm
PHP
Code
1,339
5,943
<?php foreach($query->result_array() as $t){ $id=$t['id']; $topic=$t['topic']; $city=$t['city']; $venue=$t['venue']; $format=$t['format']; $discipline_1=$t['discipline_1']; $discipline_2=$t['discipline_2']; $discipline_3=$t['discipline_3']; $start_date=$t['start_date']; $end_dat...
19,807
https://github.com/AEGEE/knowledge/blob/master/models/Chapter.js
Github Open Source
Open Source
Apache-2.0
null
knowledge
AEGEE
JavaScript
Code
73
216
const { Sequelize, sequelize } = require('../lib/sequelize'); const Chapter = sequelize.define('chapter', { name: { allowNull: false, type: Sequelize.STRING, defaultValue: '', validate: { notEmpty: { msg: 'Chapter name should be set.' } }, }, course_id: {...
34,294
https://github.com/Math-random-javascript-community/portal/blob/master/components/common/YoutubeVideo/index.ts
Github Open Source
Open Source
MIT
2,020
portal
Math-random-javascript-community
TypeScript
Code
8
23
import YoutubeVideo from './YoutubeVideo'; export { YoutubeVideo };
30,870
https://github.com/emmauss/Ryujinx/blob/master/Ryujinx.HLE/HOS/Services/Bluetooth/BluetoothDriver/BluetoothEventManager.cs
Github Open Source
Open Source
MIT
2,019
Ryujinx
emmauss
C#
Code
59
209
using Ryujinx.HLE.HOS.Kernel.Threading; namespace Ryujinx.HLE.HOS.Services.Bluetooth.BluetoothDriver { static class BluetoothEventManager { public static KEvent InitializeBleDebugEvent; public static int InitializeBleDebugEventHandle; public static KEvent UnknownBleDebugEvent; ...
38,532
https://github.com/BorisVelichkov/fmi-se-oop-2021/blob/master/06 Streams and Files/Logger/main.cpp
Github Open Source
Open Source
MIT
2,021
fmi-se-oop-2021
BorisVelichkov
C++
Code
20
66
#include "Logger.hpp" int main() { Logger logger("someNewFile.log"); logger.writeLine(INFO, "program got here"); int a = 8; logger.writeLine(DEBUG, &a); return 0; }
10,042
https://github.com/jupyterlab/jupyterlab-translate/blob/master/jupyterlab_translate/constants.py
Github Open Source
Open Source
BSD-3-Clause
2,023
jupyterlab-translate
jupyterlab
Python
Code
179
632
# Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. """ Constants """ from functools import partial from itertools import chain from typing import List TEMPLATE_URL = "https://github.com/jupyterlab/jupyterlab-language-pack-cookiecutter" TEMPLATE_REF = "master" EXTENSIO...
8,023
https://github.com/MonsterGene/VMAT/blob/master/src/pages/gac/pages/register.vue
Github Open Source
Open Source
MIT
2,020
VMAT
MonsterGene
Vue
Code
235
1,034
<template> <v-app id="gac-register" class="primary"> <v-content> <v-container fluid fill-height> <v-layout align-center justify-center> <v-flex xs12 sm8 md4 lg4> <v-card class="elevation-1 pa-3"> <v-card-text> <div class="layout column align-center...
36,603
https://github.com/Pigrabbit/bmart-4/blob/master/client/src/pages/MainDashboard/MainDashboard.tsx
Github Open Source
Open Source
MIT
2,021
bmart-4
Pigrabbit
TypeScript
Code
210
737
import React, { useEffect } from 'react' import styled from 'styled-components' import { useQuery, NetworkStatus } from '@apollo/client' import { Carousel } from '../../components/Carousel' import { Dashboard } from '../../components/Dashboard' import { CategoryList } from '../../components/CategoryList' import { Hori...
41,058
https://github.com/thesteff/gro.alpha/blob/master/app/Views/templates/archives/header.php
Github Open Source
Open Source
MIT
null
gro.alpha
thesteff
PHP
Code
165
1,016
<!DOCTYPE html> <html> <head> <title> <?php echo isset($page_title)?$page_title:$title;?> - Grenoble Reggae Orchestra </title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" href="<?php ec...
42,274
https://github.com/alamin-chayan/cricket-info/blob/master/app/Jobs/StartMatch.php
Github Open Source
Open Source
MIT
null
cricket-info
alamin-chayan
PHP
Code
66
221
<?php namespace App\Jobs; use App\Match; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Foundation\Bus\Dispatchable; class StartMatch implements ShouldQueue { use Dispatchable, InteractsWithQ...
52,141
https://github.com/Croydon/libcubescript/blob/master/subprojects/libostd/src/io.cc
Github Open Source
Open Source
Zlib
2,022
libcubescript
Croydon
C++
Code
356
1,270
/* I/O streams implementation bits. * * This file is part of libostd. See COPYING.md for futher information. */ #include <cstddef> #include <cstdio> #include <cstdlib> #include <cerrno> #include "ostd/stream.hh" #include "ostd/io.hh" namespace ostd { /* place the vtable in here */ stream_error::~stream_error() {...
2,820
https://github.com/backup-fork/subtitle-tools/blob/master/app/Http/Middleware/EnhanceUploadedFiles.php
Github Open Source
Open Source
MIT
2,019
subtitle-tools
backup-fork
PHP
Code
45
128
<?php namespace App\Http\Middleware; use Symfony\Component\HttpFoundation\File\UploadedFile; class EnhanceUploadedFiles extends TransformsRequestFiles { protected function transform($key, UploadedFile $file) { // we use the _originalName property when extracting zips, // to keep everything si...
45,420
https://github.com/brianegan/dexx/blob/master/collection/src/test/java/com/github/andrewoma/dexx/collection/DerivedKeyHashMapTest.kt
Github Open Source
Open Source
BSD-3-Clause, MIT, LicenseRef-scancode-warranty-disclaimer
2,016
dexx
brianegan
Kotlin
Code
579
1,743
/* * Copyright (c) 2014 Andrew O'Malley * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pub...
44,461
https://github.com/TENKShopper/tenk-shopper/blob/master/app/components/authenticate/LoginSignup.jsx
Github Open Source
Open Source
MIT
2,017
tenk-shopper
TENKShopper
JavaScript
Code
53
148
import React from 'react' import Signup from './Signup' import Login from './Login' /* ------ COMPONENT ------ */ const Auth = (props) => ( <div> <Login /> <div className="vertical-line"></div> <Signup /> </div> ) /* ------ CONTAINER ------ */ import {login} from 'APP/app/reducers/auth-reducer' impo...
28,368
https://github.com/Oxsomi/ignis/blob/master/include/graphics/shader/pipeline_layout.hpp
Github Open Source
Open Source
MIT
2,021
ignis
Oxsomi
C++
Code
565
1,511
#pragma once #include "types/types.hpp" #include "graphics/graphics.hpp" namespace ignis { struct GPUSubresource; //The layout of a register (texture, buffer or sampler) struct RegisterLayout { //TODO: Arrays String name; union { //(If buffer) // (If structured) represents stride // (Else) re...
54,195
https://github.com/Bappy1988/OnlyR/blob/master/OnlyR.Tests/Mocks/MockGenerator.cs
Github Open Source
Open Source
MIT
2,018
OnlyR
Bappy1988
C#
Code
53
183
using Moq; using OnlyR.Services.Audio; using OnlyR.Services.Options; using OnlyR.Services.RecordingDestination; namespace OnlyR.Tests.Mocks { public static class MockGenerator { public static IAudioService CreateAudioService() { return new MockAudioService(); } pub...
43,514
https://github.com/haroldoramirez/library-vue/blob/master/backend/pom.xml
Github Open Source
Open Source
Apache-2.0
2,020
library-vue
haroldoramirez
null
Spoken
219
2,339
<?xml version="1.0" encoding="UTF-8"?> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <grou...
43,135
https://github.com/Salesforce-Infrastructure/rordan_gramsay/blob/master/.simplecov
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,018
rordan_gramsay
Salesforce-Infrastructure
Ruby
Code
9
24
SimpleCov.start do # Config options here add_filter '/spec/' end
7,657
https://github.com/rubiculite/d3js_plotter/blob/master/depricated/plotter_02_has_minor_bugs.js
Github Open Source
Open Source
MIT
null
d3js_plotter
rubiculite
JavaScript
Code
368
2,248
// Scatter Plot Widget // // Author: Dr. Michelle M. M. Boyce // Email: dr_smike@yahoo.ca // Stardate: -304740.8584157788 // // Notes: http://bl.ocks.org/peterssonjonas/4a0e7cb8d23231243e0e // http://www.dofactory.com/javascript/factory-method-design-pattern function plotterFactory() { var createPlotter = f...
14,745
https://github.com/270247829/lkcat/blob/master/examples/routers/poptip.vue
Github Open Source
Open Source
MIT
2,018
lkcat
270247829
Vue
Code
69
349
<template> <div style="margin: 200px"> <Tabs value="name1"> <TabPane label="标签一" name="name1"> <div style="width: 200px;height:300px"> <Poptip title="提示标题" content="标签一的内容" placement="left" transfer > <Button id="aaa">左边</Button> ...
10,311
https://github.com/jianxcao/react-egg-dva-boilerplate/blob/master/app/web/page/demoApp/styles/index.less
Github Open Source
Open Source
MIT
null
react-egg-dva-boilerplate
jianxcao
Less
Code
11
44
.page-nav{ display: flex; justify-content: flex-start; a{ margin: 10px; display:block; } }
52,357
https://github.com/SocialGouv/emjpm-design-system/blob/master/packages/components/src/MesureList/MesurePanel.jsx
Github Open Source
Open Source
Apache-2.0
2,020
emjpm-design-system
SocialGouv
null
Spoken
122
433
import PropTypes from 'prop-types'; import React from 'react'; import { PANEL_TYPE } from './constants/type'; const MesurePanel = (props) => { const { currentPanelType, currentMesure, AcceptComponent, EditComponent, RemoveComponent, CloseComponent, ReactivateComponent, } = props; sw...
3,517
https://github.com/gauthier-th/embed-visualizer/blob/master/src/components/EmbedRichThumb.js
Github Open Source
Open Source
MIT
2,020
embed-visualizer
gauthier-th
JavaScript
Code
30
90
import React from 'react' import styles from '../styles.module.css' export default ({ url }) => { return ( <img src={url} role='presentation' className={styles['embed-rich-thumb']} style={{ maxWidth: 80, maxHeight: 80 }} /> ) }
30,280
https://github.com/AEGONTH/omni-chanel-project/blob/master/omni-dao/src/main/java/com/adms/cs/dao/impl/InsurerDaoImpl.java
Github Open Source
Open Source
Apache-2.0
2,016
omni-chanel-project
AEGONTH
Java
Code
26
140
package com.adms.cs.dao.impl; import org.springframework.stereotype.Repository; import com.adms.common.dao.generic.impl.GenericDaoHibernate; import com.adms.cs.dao.InsurerDao; import com.adms.entity.cs.Insurer; @Repository("insurerDao") public class InsurerDaoImpl extends GenericDaoHibernate<Insurer, Long> implement...
10,652
https://github.com/qls0ulp/musicbrainz-server/blob/master/root/utility/sanitizedContext.js
Github Open Source
Open Source
BSD-2-Clause
null
musicbrainz-server
qls0ulp
JavaScript
Code
90
203
/* * @flow * Copyright (C) 2018 MetaBrainz Foundation * * This file is part of MusicBrainz, the open internet music database, * and is licensed under the GPL version 2, or (at your option) any * later version: http://www.gnu.org/licenses/gpl-2.0.txt */ import sanitizedEditor from './sanitizedEditor'; /* * Ret...
9,939
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/samples/Generated/Samples/Sample_UserSessionResource.cs
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, LGPL-2.1-or-later, Apache-2.0, MIT
2,023
azure-sdk-for-net
Azure
C#
Code
685
2,002
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Identity; using Azure.ResourceManager; using Azure.ResourceManager.DesktopVirtualization; using...
23,296
https://github.com/pextralabs/play-scene/blob/master/app/actors/Protocols.java
Github Open Source
Open Source
CC0-1.0
2,018
play-scene
pextralabs
Java
Code
58
134
package actors; public class Protocols { private Protocols() { throw new IllegalStateException("Utility class"); } public static class Operation { public enum Type { INSERT, UPDATE, DELETE } Object obj; Type type; publ...
42,266
https://github.com/wxpkerpk/exchange-base-examlple/blob/master/ace-modules/chain-kafka/src/main/java/com/bitcola/chain/annotation/Params.java
Github Open Source
Open Source
Apache-2.0
2,021
exchange-base-examlple
wxpkerpk
Java
Code
16
69
package com.bitcola.chain.annotation; import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.PARAMETER}) @Inherited public @interface Params { String value() default ""; }
9,978
https://github.com/ArtificialSoda/Rocket_Elevators_Controllers/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,020
Rocket_Elevators_Controllers
ArtificialSoda
Ignore List
Code
4
15
*.json *.cache *.dll *.pdb
54,100
https://github.com/AACEngineering/django-permissions-auditor/blob/master/permissions_auditor/tests/test_core.py
Github Open Source
Open Source
MIT
2,023
django-permissions-auditor
AACEngineering
Python
Code
288
1,394
from django.conf import ImproperlyConfigured from django.test import SimpleTestCase from permissions_auditor import core from permissions_auditor.core import ViewDetails from permissions_auditor.tests.fixtures import views class ViewParserTest(SimpleTestCase): def setUp(self): self.parser = core.ViewPar...
24,407
https://github.com/MontiCore/monticore/blob/master/monticore-generator/src/test/java/de/monticore/codegen/mc2cd/symbolTransl/CDSymbolTranslationTest.java
Github Open Source
Open Source
BSD-3-Clause, Unlicense
2,022
monticore
MontiCore
Java
Code
236
1,603
/* (c) https://github.com/MontiCore/monticore */ package de.monticore.codegen.mc2cd.symbolTransl; import de.monticore.cd4codebasis._ast.ASTCDMethod; import de.monticore.cdbasis._ast.ASTCDAttribute; import de.monticore.cdbasis._ast.ASTCDClass; import de.monticore.cdbasis._ast.ASTCDCompilationUnit; import de.monticore.c...
14,519
https://github.com/CryptoXplorer/Crypto-critic/blob/master/src/home/home.1.jsx
Github Open Source
Open Source
MIT
2,019
Crypto-critic
CryptoXplorer
JavaScript
Code
148
501
import React from "react"; import ReactTable from "react-table/lib"; import 'react-table/react-table.css'; import { Link, Route } from "react-router-dom"; import axios from 'axios'; import 'styling/semantic.less'; import { Button, Icon, Label , Grid, Popup, Flag} from 'semantic-ui-react' import loadData from './loadDat...
4,019
https://github.com/alcatrazEscapee/AdventOfCode2020/blob/master/day16/day16.py
Github Open Source
Open Source
MIT
2,020
AdventOfCode2020
alcatrazEscapee
Python
Code
257
519
# Day 16: Ticket Translation # Results: 248 / 241 from utils import * def main(text): # Abridged parsing fields, mine, others = text.split('\n\n') fields = [(f.split(':')[0], *ints(f, sign_prefixes=False)) for f in fields.split('\n')] mine = ints(mine[1:]) others = list(map(ints, others.split('\n...
22,209
https://github.com/LLant/OLS/blob/master/src/test/java/org/gdpu/ols/service/impl/CoursewareServiceImplTest.java
Github Open Source
Open Source
MIT
null
OLS
LLant
Java
Code
90
346
package org.gdpu.ols.service.impl; import org.gdpu.ols.OlsApplication; import org.gdpu.ols.model.Courseware; import org.junit.Test; import org.junit.Before; import org.junit.After; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.conte...
48,242
https://github.com/matthiasblaesing/COMTypelibraries/blob/master/vbide5/src/main/java/eu/doppel_helix/jna/tlb/vbide5/Application.java
Github Open Source
Open Source
MIT
2,021
COMTypelibraries
matthiasblaesing
Java
Code
44
307
package eu.doppel_helix.jna.tlb.vbide5; import com.sun.jna.platform.win32.COM.util.annotation.ComInterface; import com.sun.jna.platform.win32.COM.util.annotation.ComMethod; import com.sun.jna.platform.win32.COM.util.annotation.ComProperty; import com.sun.jna.platform.win32.COM.util.IDispatch; import com.sun.jna.platf...
48,723
https://github.com/webcerebrium/react-logger-lib/blob/master/lib/library.js
Github Open Source
Open Source
Apache-2.0
2,019
react-logger-lib
webcerebrium
JavaScript
Code
978
2,797
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define("library", [], factory); else if(typeof exports === 'object') exports["library"] = factory(); else ...
31,758
https://github.com/kajyr/portablewiki/blob/master/src/app/modules/p-fs.js
Github Open Source
Open Source
MIT
null
portablewiki
kajyr
JavaScript
Code
87
236
'use strict'; const fs = require('fs'); const path = require('path'); module.exports = { save: function(file, contents) { return new Promise(function(resolve, reject) { fs.writeFile(file, contents, 'utf8', (err) => { if (err) return reject(err); resolve(file); }); }); }, /* Selects a new roo...
42,474
https://github.com/mtchalim/contentful.js/blob/master/test/unit/entities/asset-key-test.js
Github Open Source
Open Source
MIT
2,021
contentful.js
mtchalim
JavaScript
Code
30
99
import test from 'blue-tape' import { assetKeyMock } from '../mocks' import { wrapAssetKey } from '../../../lib/entities/asset-key' test('AssetKey is wrapped', (t) => { const wrappedAsset = wrapAssetKey(assetKeyMock) t.looseEqual(wrappedAsset.toPlainObject(), assetKeyMock) t.end() })
26,264
https://github.com/hubermann/cart-english-paypal/blob/master/resources/views/frontend_common/header.blade-bkp.php
Github Open Source
Open Source
MIT
null
cart-english-paypal
hubermann
PHP
Code
3,353
18,657
<!-- Header --> <header id="js-header" class="u-header u-header--static u-shadow-v19"> <!-- Top Bar --> <div class="u-header__section g-brd-bottom g-brd-gray-light-v4 g-bg-black g-transition-0_3"> <div class="container"> <div class="row justify-content-between align-items-center g-mx-0--lg"> <div ...
22,201
https://github.com/eastany/squares/blob/master/test/spec/services/squareServiceSpec.js
Github Open Source
Open Source
CC0-1.0
2,014
squares
eastany
JavaScript
Code
93
297
(function(){ 'use strict'; describe('Service: squareService', function () { var squareServiceInstance, colorServiceInstance; // load the controller's module beforeEach(function(){ module('squares'); inject(function(squareService, colorService){ ...
49,291
https://github.com/angelosps/Role-Playing-Game/blob/master/Makefile
Github Open Source
Open Source
BSD-2-Clause
2,022
Role-Playing-Game
angelosps
Makefile
Code
30
100
SRC = $(wildcard src/*.cpp) OBJS = $(SRC:.cpp=.o) OUT = rpg CXXFLAGS = -w -std=c++11 CC = g++ $(OUT): $(OBJS) $(CC) $^ -o $@ clean: rm -f $(OBJS) $(OUT) run: ./$(OUT)
16,288
https://github.com/17863125070/Test/blob/master/src/main/resources/static/public/libs/diag-node.js
Github Open Source
Open Source
MIT
2,020
Test
17863125070
JavaScript
Code
368
1,392
var diagGraph = { //diag图数据操作 state: [], edg: [], statePoint: '', g: '', init: function (statePoint, state, edg) { this.statePoint = statePoint this.state = state this.edg = edg this.createG() this.renderG() }, createG: function () { this.g = new dagreD3.graphlib.Graph() ...
43,410
https://github.com/Mila2010/seARch/blob/master/app/src/main/java/com/example/andresarango/aughunt/models/ChallengePhotoSubmitted.java
Github Open Source
Open Source
Apache-2.0
null
seARch
Mila2010
Java
Code
126
347
package com.example.andresarango.aughunt.models; /** * Created by Danny on 3/14/2017. */ public class ChallengePhotoSubmitted { private String challengeId; private String ownerId; private String hint; private String photoUrl; private boolean isAccepted; private boolean isReviewed; publi...
20,090
https://github.com/liutexing/NIM_Duilib_Framework/blob/master/examples/multi_browser/main.cpp
Github Open Source
Open Source
BSD-2-Clause, MIT
2,022
NIM_Duilib_Framework
liutexing
C++
Code
128
758
// basic.cpp : 定义应用程序的入口点。 // #include "stdafx.h" #include "main.h" #include "browser/multi_browser_manager.h" #pragma comment(lib, "dbghelp.lib") int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, ...
555
https://github.com/freddygv/trabblex/blob/master/docker-containers/seedbox-container/SeederServer/seedbox-init.sh
Github Open Source
Open Source
MIT
2,018
trabblex
freddygv
Shell
Code
7
35
#!/bin/bash ./wait-for-it.sh postgres-server:5432 --timeout=0 mvn test exec:java
35,635
https://github.com/Skinforge/CustomPlayerModels/blob/master/CustomPlayerModelsFabric-1.18/gradle.properties
Github Open Source
Open Source
MIT
2,021
CustomPlayerModels
Skinforge
null
Spoken
34
140
# Done to increase the memory available to gradle. org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use minecraft_version=21w39a yarn_mappings=21w39a+build.8 loader_version=0.11.7 #Fabric api fabric_version=0.40.5+1.18 # Mod Properties mod_version=0.1.1a maven_group = com.tom arch...
49,549
https://github.com/cuulee/TileDB-Cloud-JS/blob/master/src/utils/getSizeInBytesOfAllAttributes.test.ts
Github Open Source
Open Source
MIT
2,021
TileDB-Cloud-JS
cuulee
TypeScript
Code
34
110
import { nullableVarLengthAttrBufferHeaders } from "../fixtures/attributeBufferHeaders"; import getSizeInBytesOfAllAttributes from "./getSizeInBytesOfAllAttributes"; describe('getSizeInBytesOfAllAttributes()', () => { it('Should return total buffer size of all attribute buffer headers', () => { const resul...
25,994
https://github.com/bchekuri/sample-springboot-employee-rest-api/blob/master/src/main/java/com/bc/cofig/ApplicationConfig.java
Github Open Source
Open Source
MIT
null
sample-springboot-employee-rest-api
bchekuri
Java
Code
22
117
package com.bc.cofig; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.context.annotation.PropertySources; @Configuration @PropertySources({ @PropertySource...
6,128
https://github.com/ypcloud/console-server/blob/master/app/models/news.model.js
Github Open Source
Open Source
Apache-2.0
2,019
console-server
ypcloud
JavaScript
Code
148
348
const mongoose = require('mongoose'); const Schema = mongoose.Schema; /** * News schema */ const NewsSchema = new Schema({ title: { type: String, required: true }, synopsis: { type: String }, text: { type: String }, isPublished: { type: Boolean, default: false }, createdAt: ...
49,454
https://github.com/rlugojr/duo/blob/master/examples/regenerator/main.js
Github Open Source
Open Source
Unlicense
2,021
duo
rlugojr
JavaScript
Code
50
119
function *range(max, step) { var count = 0; step = step || 1; for (var i = 0; i < max; i += step) { count++; yield i; } return count; } var gen = range(20, 3), info; while (!(info = gen.next()).done) { console.log(info.value); } console.log("steps taken: " + info.value);
38,192
https://github.com/ShirinkinArseny/jdenticon-kotlin/blob/master/src/commonTest/kotlin/jdenticon/TestJdenticon.kt
Github Open Source
Open Source
MIT
2,022
jdenticon-kotlin
ShirinkinArseny
Kotlin
Code
628
2,457
package jdenticon import kotlin.js.JsName import kotlin.test.Test import kotlin.test.assertEquals class TestJdenticon { private fun assertShouldBuildThisSvg( source: String, result: String ) { assertEquals(result, Jdenticon.toSvg(source, 100)) } @Test @JsName(name = "test...
17,848
https://github.com/arammal/Granule/blob/master/jsp-demo/web/js/dojo-150/dojo/date/stamp.js
Github Open Source
Open Source
Apache-2.0
2,020
Granule
arammal
JavaScript
Code
117
986
/* Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojo.date.stamp"]){ dojo._hasResource["dojo.date.stamp"]=true; dojo.provide("dojo.date.stamp"); dojo...
39,909
https://github.com/niccokunzmann/cp-automated-development/blob/master/setup-zen/06_initialize.sh
Github Open Source
Open Source
MIT
null
cp-automated-development
niccokunzmann
Shell
Code
14
74
#!/bin/bash source "`dirname \"$0\"`/include.sh" TITLE localdev init COMMENT "see https://github.com/CoderDojo/cp-local-development#localdev-init" IN_REPOSITORY ./localdev.js init zen
25,150
https://github.com/jomramos0708/capstone_brems/blob/master/app/views/transItem/item_request_form.blade.php
Github Open Source
Open Source
MIT
null
capstone_brems
jomramos0708
PHP
Code
500
2,464
@extends('layouts.master') @section('content') <!-- Content Header (Page header) --> <section class="content-header"> <h1> Transaction <small> </small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard...
5,424
https://github.com/nvalerkos/cronio/blob/master/cronio/worker/__init__.py
Github Open Source
Open Source
MIT
2,019
cronio
nvalerkos
Python
Code
2,590
12,065
from __future__ import absolute_import import time, sys, pprint, json, os, tempfile, datetime #requirements.txt import logging import stomp module_logger_worker = logging.getLogger("cronio_worker") ### Database - SQLite from sqlalchemy import create_engine, desc, exists from sqlalchemy.pool import StaticPool from sql...
3,598
https://github.com/logispert/taxi-guide-en/blob/master/taxiguider/taxiassign/src/main/java/taxiguider/TaxiassignPolicyHandler.java
Github Open Source
Open Source
MIT
2,021
taxi-guide-en
logispert
Java
Code
150
1,046
package taxiguider; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.stream.annotation.StreamListener; import org.springframework.messaging.handler.annotation.Payload; import org.springframework.stereotype.Service; import taxiguider.config.kafka.KafkaProcessor; import ta...
51,471
https://github.com/kislball/twing/blob/master/src/lib/source-map/node-factory/spaceless.ts
Github Open Source
Open Source
BSD-2-Clause
2,020
twing
kislball
TypeScript
Code
43
159
import {TwingSourceMapNodeFactory} from "../node-factory"; import {TwingSource} from "../../source"; import {TwingSourceMapNodeSpaceless} from "../node/spaceless"; import {type as spacelessType} from "../../node/spaceless"; export class TwingSourceMapNodeFactorySpaceless extends TwingSourceMapNodeFactory { constru...
33,440
https://github.com/kimsey0/JsonSubTypes/blob/master/JsonSubTypes/JsonSubtypesWithPropertyConverterBuilder.cs
Github Open Source
Open Source
MIT
2,022
JsonSubTypes
kimsey0
C#
Code
106
417
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace JsonSubTypes { public class JsonSubtypesWithPropertyConverterBuilder { private readonly Type _baseType; private readonly Dictionary<string, Type> _subTypeMapping = new Dictionary<string, Type>(); private T...
49,204
https://github.com/Siddhant-Ray/onos/blob/master/drivers/juniper/src/test/java/org/onosproject/drivers/juniper/JuniperUtilsTest.java
Github Open Source
Open Source
Apache-2.0
2,019
onos
Siddhant-Ray
Java
Code
260
1,000
/* * Copyright 2019-present Open Networking Foundation * * 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 appli...
3,837
https://github.com/Cartuja/topwebmeetings-laravel/blob/master/app/Http/Controllers/ControllerValoraciones.php
Github Open Source
Open Source
MIT
2,019
topwebmeetings-laravel
Cartuja
PHP
Code
125
693
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Models\ModelValoraciones; use App\Http\Models\ModelUsuario; use App\Http\Models\ModelIndex; //Intermediario entre el modelo y las vistas class ControllerValoraciones extends Controller { static function Votar($input) { //recogemos el...
29,898