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/regissanme/dio-desafio-projeto-banco-oo-java/blob/master/src/main/java/br/com/dio/model/ContaCorrente.java
Github Open Source
Open Source
MIT
null
dio-desafio-projeto-banco-oo-java
regissanme
Java
Code
110
315
/* * Desafio de Projeto - Criando um Banco Digital com Java e Orientação à Objetos * Bootcamp Java Cognizant da DIO * Especialista da DIO: Venilton Falvo Jr (Tech Lead, Digital Innovation One) * #teamJavaCog */ package br.com.dio.model; /** * Projeto: dio-desafio-projeto-banco * <p> * Esta classe representa a ...
17,599
https://github.com/sequenceplanner/sp-fork/blob/master/sp1/src/main/scala/sp/domain/Operation.scala
Github Open Source
Open Source
MIT
2,021
sp-fork
sequenceplanner
Scala
Code
30
80
package sp.domain /** * Created by Kristofer on 2014-06-08. */ case class Operation(name: String, conditions: List[Condition] = List(), attributes: SPAttributes = SPAttributes(), id: ID = ID.newID) extends IDAble { }
46,408
https://github.com/Lia-Pavlova/goit-react-hw-05-movies/blob/master/src/components/Reviews/Reviews.js
Github Open Source
Open Source
MIT
null
goit-react-hw-05-movies
Lia-Pavlova
JavaScript
Code
121
367
import paths from 'components/Routes/paths'; import React, { Component } from 'react'; import { toast } from 'react-toastify'; import { requestReviews } from 'services/API'; import s from './Reviews.module.css'; import ReviewsItem from './ReviewsItem'; export default class Reviews extends Component { state = { r...
18,004
https://github.com/pabloroman/heavy-metal-encyclopedia/blob/master/app/Helpers/Parser.php
Github Open Source
Open Source
MIT
2,018
heavy-metal-encyclopedia
pabloroman
PHP
Code
139
500
<?php namespace App\Helpers; use DOMDocument; use Symfony\Component\DomCrawler\Crawler; class Parser { public static function parseReviewLink($html) { return self::parseSingleLink($html); } public static function parseAlbumLink($html) { return self::parseSingleLink($html); } ...
21,206
https://github.com/jrodrigues-ptlx/clipper-1/blob/master/SCCV/CVMTFUNC.PRG
Github Open Source
Open Source
CC0-1.0
2,021
clipper-1
jrodrigues-ptlx
null
Spoken
395
1,306
****************************************************************** * BOP CVMTFUNC.PRG * * PROGRAMA PARA INCLUSAO E MATENCAO DE REGISTROS DE FUNCIONARIOS * * AUTORES: EVERTON/LUIZ/WILSON /OSWALDO * * DATA: 30/05/94 ...
23,884
https://github.com/VladTheEvilCat/mcheli-port-1.12.2/blob/master/mcheli/mcheli/throwable/MCH_ItemThrowableDispenseBehavior.java
Github Open Source
Open Source
Apache-2.0
2,022
mcheli-port-1.12.2
VladTheEvilCat
Java
Code
255
956
/* */ package mcheli.mcheli.throwable; /* */ import mcheli.MCH_Lib; /* */ import mcheli.throwable.MCH_EntityThrowable; /* */ import mcheli.throwable.MCH_ThrowableInfo; /* */ import mcheli.throwable.MCH_ThrowableInfoManager; /* */ import mcheli.wrapper.W_BlockDispenser; /* */ import net.minecraft.di...
23,390
https://github.com/NightOfTwelve/android_device_huawei_hwp7/blob/master/kernel/huawei/hwp7/drivers/hisi/modem/include/vendor/hisi/modem/drv/hi6620/src/comm/inc/pwrctrl_multi_dfs_stub.h
Github Open Source
Open Source
Apache-2.0
2,020
android_device_huawei_hwp7
NightOfTwelve
C
Code
121
667
#ifndef __PWRCTRL_MULTI_DFS_STUB_H__ #define __PWRCTRL_MULTI_DFS_STUB_H__ /* * Stub Includes */ #include "stdlib.h" #include "stdio.h" #include "string.h" /* * Platform Types */ #define BSP_NULL (0) #define BSP_OK (0) #define BSP_ERR (-1) /* * Address & Register *...
23,251
https://github.com/modulexcite/StyleCopAnalyzers/blob/master/StyleCop.Analyzers/StyleCop.Analyzers.Test/ReadabilityRules/SA1102UnitTests.cs
Github Open Source
Open Source
Apache-2.0
2,015
StyleCopAnalyzers
modulexcite
C#
Code
512
1,585
namespace StyleCop.Analyzers.Test.ReadabilityRules { using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Diagnostics; using StyleCop.Analyzers.ReadabilityRules; using TestHelper; using Xunit; public class SA1102UnitTests ...
51
https://github.com/TommasoAzz/Auto.Gest/blob/master/getInfo.php
Github Open Source
Open Source
MIT
2,020
Auto.Gest
TommasoAzz
PHP
Code
108
578
<?php require_once "caricaClassi.php"; require_once "connettiAlDB.php"; Session::open(); header("Content-Type: text/html;charset=utf-8"); $queryInfo = "SELECT Titolo,PeriodoSvolgimento,AperturaIscrizioni,NomeContatto1,NomeContatto2,NomeContatto3,LinkContatto1,LinkContatto2,LinkContatto3,Istituto FROM InfoEvento WHERE ...
33,656
https://github.com/jamestsang/codeigniter_cms/blob/master/application/core/tableRows/image.row.php
Github Open Source
Open Source
MIT
null
codeigniter_cms
jamestsang
PHP
Code
58
199
<?php require_once 'TableRow.php'; class imageRow extends TableRow{ public function html() { $cb = $this->cb(); if($cb !==false){ return $cb; } $href = $this->setting["url"]["href"]; $params = $this->setting["url"]["params"]; $args = array(); ...
41,851
https://github.com/suvarchal/ramadda/blob/master/src/org/ramadda/util/GeoUtils.java
Github Open Source
Open Source
Apache-2.0
null
ramadda
suvarchal
Java
Code
2,303
6,534
/* * Copyright (c) 2008-2019 Geode Systems LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
25,362
https://github.com/rymate1234/yt-player/blob/master/pages/player/[id].tsx
Github Open Source
Open Source
MIT
2,021
yt-player
rymate1234
TypeScript
Code
448
1,625
import React, { useContext, useEffect, useMemo, useRef, useState } from 'react' import classNames from 'classnames' import dynamic from 'next/dynamic' import Wave from "@foobar404/wave" import Head from '../../components/head' import Song from '../../components/song' import { getYoutube, Video } from '../../lib/youtub...
32,842
https://github.com/gector378/serverside-rendering/blob/master/tests/client/pages/Home/Chat/index.tsx
Github Open Source
Open Source
MIT
2,019
serverside-rendering
gector378
TypeScript
Code
137
658
import * as React from "react"; import { shallow, ShallowWrapper } from "enzyme"; import sinon from "sinon"; import fakeMessage from "../../../../../fakes/message"; import routines from "../../../../../src/shared/redux/messages/routines"; import { Chat, ChatProps, ChatState } from "../../../../../src/client/pages/Home/...
11,658
https://github.com/michaeljs1990/jsonnet-playground/blob/master/store.go
Github Open Source
Open Source
MIT
2,023
jsonnet-playground
michaeljs1990
Go
Code
298
723
package main import ( "database/sql" "errors" "sync" _ "github.com/go-sql-driver/mysql" ) var ( DatastoreNoSuchID = errors.New("The ID you request to lookup doesn't exist in our backend store") ) type PersistJsonnet interface { Get(id string) (string, error) Store(id string, code string) error } // InMemory...
3,070
https://github.com/ErinTorno/verda/blob/master/src/Verda/Event/Components.hs
Github Open Source
Open Source
BSD-3-Clause
null
verda
ErinTorno
Haskell
Code
10
37
module Verda.Event.Components ( ControlState , CursorMotionState(..) ) where import Verda.Event.Control
32,211
https://github.com/phurni/phitris/blob/master/game_states/menu.rb
Github Open Source
Open Source
MIT
2,019
phitris
phurni
Ruby
Code
45
116
module Phitris class Menu < Chingu::GameState def initialize super Chingu::Text.create(:text => "Press space to\n begin playing", :size => 40, :align => :center, :rotation_center => :center_center, :x => $window.width/2, :y => $window.height/2) self.input = { :space => Play, [:q, :escape] => :ex...
41,256
https://github.com/diegobrbosa/hotel_dasboard/blob/master/config/login.php
Github Open Source
Open Source
MIT
null
hotel_dasboard
diegobrbosa
PHP
Code
121
520
<?php //inclui o arquivo de inicialização require 'conexao.php'; //resgata váriaveis do formulário $cpf = isset($_POST['cpf']) ? $_POST['cpf'] : ''; $senha = isset($_POST['senha']) ? $_POST['senha'] : ''; if (empty($cpf) || empty ($senha)){ //echo "<script>window.location='../index.php';alert('Informe CPF e SENH...
40,815
https://github.com/popk/kamstrup-wifi/blob/master/meterlogger_doxygen/html/search/typedefs_3.js
Github Open Source
Open Source
MIT
2,017
kamstrup-wifi
popk
JavaScript
Code
9
323
var searchData= [ ['greatest_5frun_5finfo',['greatest_run_info',['../greatest_8h.html#a02d7d8118b0b946b2dc398df48d4303c',1,'greatest.h']]], ['greatest_5fsetup_5fcb',['greatest_setup_cb',['../greatest_8h.html#a48b1a2310882ec43e698b0b521ad2b99',1,'greatest.h']]], ['greatest_5fsuite_5fcb',['greatest_suite_cb',['../g...
23,416
https://github.com/gabrielrigon/schommunity/blob/master/app/controllers/classrooms_controller.rb
Github Open Source
Open Source
MIT
2,022
schommunity
gabrielrigon
Ruby
Code
81
328
class ClassroomsController < InheritedResources::Base # ---- layout ---- layout 'admin' # ---- devise ---- before_filter :authenticate_user! load_and_authorize_resource # ---- actions ---- def forum @posts = resource.posts .paginate(page: params[:page], per_page: 5) ...
6,351
https://github.com/TotteKarlsson/atCharacterizer/blob/master/python/reimport_trakem2_to_render.py
Github Open Source
Open Source
Apache-2.0
null
atCharacterizer
TotteKarlsson
Python
Code
253
1,572
#!/usr/bin/env python import os import renderapi from renderapi.tilespec import TileSpec from renderapi.transform import AffineModel from trakem2utils import (createchunks, createheader, createproject, createlayerset, createfooters, createlayer_fromtilespecs, Chunk) i...
30,231
https://github.com/nizamializadeh/NicatMamedov.az/blob/master/resources/views/backend/category/edit.blade.php
Github Open Source
Open Source
MIT
2,020
NicatMamedov.az
nizamializadeh
Blade
Code
160
948
@component('backend.components.form',$setting) {{-- Component content--}} <form id="form_validation" action="{{route('category.update',['category' => $category->id])}}" method="post" enctype="multipart/form-data"> {{method_field('PUT')}} @csrf <div class="row clearfix"> <div...
15,194
https://github.com/marceloboeira/BVGame/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,022
BVGame
marceloboeira
Ignore List
Code
13
53
# Elm elm-stuff # Dist dist/data/*.json dist/assets/application.js # Pipeline pipeline/output/*.json # Javascript node_modules/
43,093
https://github.com/Minkyu-Jeon/gitlabhq/blob/master/app/assets/javascripts/registry/settings/constants.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, CC-BY-SA-4.0
2,020
gitlabhq
Minkyu-Jeon
JavaScript
Code
72
214
import { s__, __ } from '~/locale'; export const SET_CLEANUP_POLICY_BUTTON = s__('ContainerRegistry|Set cleanup policy'); export const CLEANUP_POLICY_CARD_HEADER = s__('ContainerRegistry|Tag expiration policy'); export const UNAVAILABLE_FEATURE_TITLE = s__( `ContainerRegistry|Cleanup policy for tags is disabled`, );...
4,432
https://github.com/sagnikghoshcr7/Medicare/blob/master/lib/utils/styleguide.dart
Github Open Source
Open Source
MIT
2,021
Medicare
sagnikghoshcr7
Dart
Code
144
521
import 'package:flutter/material.dart'; import 'color.dart'; class AppTheme { static const TextStyle display1 = TextStyle( color: Colors.black, fontSize: 38, fontWeight: FontWeight.w600, letterSpacing: 1.2, ); static const TextStyle display2 = TextStyle( color: Colors.black, fontSize: 32...
55,071
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/Ibotta_com.ibotta.android/smali_classes2/com/ibotta/android/fragment/dialog/PromptDialogFragment.smali
Github Open Source
Open Source
MIT
2,019
AndroidPolicyAutomation
Andreas237
Smali
Code
999
6,067
.class public Lcom/ibotta/android/fragment/dialog/PromptDialogFragment; .super Lcom/ibotta/android/fragment/dialog/IbottaDialogFragment; .source "PromptDialogFragment.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/ibotta/android/fragment/dialog/PromptDialogFragment...
50,584
https://github.com/npmmirror/jigsaw/blob/master/src/ngx-formly/jigsaw/tile-lite/src/tile-lite.type.ts
Github Open Source
Open Source
MIT
2,022
jigsaw
npmmirror
TypeScript
Code
65
393
import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core'; import {FormlyFieldType} from "@ngx-formly/jigsaw/form-field"; import {JigsawTileLite} from "@rdkmaster/jigsaw"; @Component({ selector: 'formly-field-jigsaw-tile-lite', template: ` <jigsaw-tile-lite [formControl]="...
46,159
https://github.com/VennMaker/vennmaker-source/blob/master/src/main/java/gui/configdialog/settings/SettingActorSize.java
Github Open Source
Open Source
Apache-2.0
2,020
vennmaker-source
VennMaker
Java
Code
74
265
/** * */ package gui.configdialog.settings; import java.util.Map; import data.AttributeType; import data.FacadeVisualizer; import data.Netzwerk; /** * Setting to change the actor size. * * */ public class SettingActorSize implements ConfigDialogSetting { private AttributeType aType; private Map<Objec...
17,396
https://github.com/andreasremdt/leo-club-weilamrhein/blob/master/src/components/contact-form.tsx
Github Open Source
Open Source
MIT
null
leo-club-weilamrhein
andreasremdt
TypeScript
Code
339
1,213
import * as React from "react"; import styled, { css, keyframes } from "styled-components"; import Input from "./input"; import Button from "./button"; const loadingAnimation = keyframes` from { transform: rotate(0deg); } to { transform: rotate(360deg); } `; const Form = styled.form` display: grid...
24,988
https://github.com/isabella232/RabbitTestTool/blob/master/orchestration/v2/src/main/java/com/rabbitmq/orchestrator/deploy/ec2/model/EC2OS.java
Github Open Source
Open Source
MIT
2,021
RabbitTestTool
isabella232
Java
Code
60
198
package com.rabbitmq.orchestrator.deploy.ec2.model; public class EC2OS { int fileDescriptorLimit; String filesystem; public EC2OS() { } public EC2OS(int fileDescriptorLimit, String filesystem) { this.fileDescriptorLimit = fileDescriptorLimit; this.filesystem = filesystem; } ...
30,730
https://github.com/space-wizards/space-station-14/blob/master/Content.Server/Electrocution/RandomInsulationComponent.cs
Github Open Source
Open Source
MIT, CC-BY-NC-SA-3.0, CC-BY-SA-3.0, CC-BY-4.0, LicenseRef-scancode-proprietary-license
2,023
space-station-14
space-wizards
C#
Code
22
57
namespace Content.Server.Electrocution { [RegisterComponent] public sealed partial class RandomInsulationComponent : Component { [DataField("list")] public float[] List = { 0f }; } }
19,193
https://github.com/CodePath-MAF/AndroidClient/blob/master/src/org/missionassetfund/apps/android/fragments/NewPostDialog.java
Github Open Source
Open Source
MIT
2,016
AndroidClient
CodePath-MAF
Java
Code
226
917
package org.missionassetfund.apps.android.fragments; import org.missionassetfund.apps.android.R; import org.missionassetfund.apps.android.interfaces.SavePostListener; import org.missionassetfund.apps.android.models.User; import org.missionassetfund.apps.android.utils.ModelUtils; import android.os.Bundle; import andr...
1,050
https://github.com/cybergigz/datawrapper/blob/master/assets/styles/datawrapper/chart/upload.less
Github Open Source
Open Source
MIT
2,020
datawrapper
cybergigz
Less
Code
75
295
/** dw-create-upload **/ .dw-create-upload { label.control-label { } textarea { width: 100%; box-sizing: border-box; height: 200px; margin-top: 20px; font-family: @base-font-mono; &:placeholder-shown { font-family: @base-font; color: ...
9,103
https://github.com/onury/tasktimer/blob/master/lib/ITaskTimerOptions.d.ts
Github Open Source
Open Source
MIT
2,021
tasktimer
onury
TypeScript
Code
176
337
/** * Interface for `TaskTimer` options. */ interface ITaskTimerOptions { /** * Timer interval in milliseconds. Since the tasks run on ticks instead of * millisecond intervals; this value operates as the base resolution for * all tasks. If you are running heavy tasks, lower interval requires ...
51,811
https://github.com/WilliamYue37/CPP-Competitive-Programming-Snippets/blob/master/C++/Preorder.cpp
Github Open Source
Open Source
MIT
2,021
CPP-Competitive-Programming-Snippets
WilliamYue37
C++
Code
33
83
pi range[MAX_N]; int id = 0; void preorder(int u, int p) { range[u].ff = id++; for (int v: adj[u]) { if (v != p) preorder(v, u); } range[u].ss = id - 1; }
8,284
https://github.com/rpantuch/rocksdb-multiplatform/blob/master/src/jvmMain/kotlin/maryk/rocksdb/BackupableDBOptions.kt
Github Open Source
Open Source
Apache-2.0
2,020
rocksdb-multiplatform
rpantuch
Kotlin
Code
7
32
package maryk.rocksdb actual typealias BackupableDBOptions = org.rocksdb.BackupableDBOptions
55,995
https://github.com/CloverHackyColor/CloverBootloader/blob/master/Trash/IntelGmaDxe/Ia32/CpuSupport.c
Github Open Source
Open Source
BSD-2-Clause
2,023
CloverBootloader
CloverHackyColor
C
Code
106
254
/*++ Copyright (c) 2007 - 2010 Intel Corporation. All rights reserved This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/license...
35,383
https://github.com/huysamen/gcpkit/blob/master/pubsub/utils.go
Github Open Source
Open Source
MIT
null
gcpkit
huysamen
Go
Code
122
379
package pubsub import ( "context" "encoding/json" "time" "cloud.google.com/go/pubsub" ) func SubscribeToTopic( ctx context.Context, client *pubsub.Client, topic string, subscription string, deadline time.Duration, sync bool, maxOutstandingMessages int, fx func(ctx context.Context, msg *pubsub.Message), )...
47,768
https://github.com/ideacrew/pa_edidb/blob/master/lib/tasks/change_policy_start_date.rake
Github Open Source
Open Source
MIT
2,019
pa_edidb
ideacrew
Ruby
Code
38
128
require File.join(Rails.root,"app","data_migrations","change_policy_start_date.rb") # This rake tasks changes start dates for all members of a policy in Glue. # RAILS_ENV=production bundle exec rake migrations:change_policy_start_date eg_id='123456' new_start_date='08/04/2017' namespace :migrations do desc "Chang...
45,245
https://github.com/yuanrenmeng/taobaodeli/blob/master/temp/compiled/admin/user_account_list.htm.php
Github Open Source
Open Source
MIT
null
taobaodeli
yuanrenmeng
PHP
Code
491
2,295
<?php if ($this->_var['full_page']): ?> <!-- $Id: user_account_list.htm 17030 2010-02-08 09:39:33Z sxc_shop $ --> <?php echo $this->fetch('pageheader.htm'); ?> <?php echo $this->smarty_insert_scripts(array('files'=>'../js/utils.js,listtable.js')); ?> <div class="form-div"> <form action="javascript:searchUser()" name=...
35,421
https://github.com/josedulanto/rails-boilerplate/blob/master/config/initializers/simple_form_semantic_ui.rb
Github Open Source
Open Source
BSD-3-Clause
2,015
rails-boilerplate
josedulanto
Ruby
Code
185
537
SimpleForm.setup do |config| config.error_notification_class = 'ui error message' config.button_class = 'ui blue submit button' config.boolean_label_class = nil config.form_class = 'ui form' config.wrappers :horizontal_form, tag: 'div', class: 'field', error_class: 'error' do |b| b.use :html5 b.use :...
21,986
https://github.com/s3lsensor/CEE155_SensorDeployLab_b/blob/master/tools/cooja/java/se/sics/cooja/contikimote/interfaces/ContikiMoteID.java
Github Open Source
Open Source
Apache-2.0
2,019
CEE155_SensorDeployLab_b
s3lsensor
Java
Code
561
1,380
/* * Copyright (c) 2008, Swedish Institute of Computer Science. * All rights reserved. * * 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 * n...
48,496
https://github.com/Robbbert/messui/blob/master/src/devices/imagedev/midiin.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
messui
Robbbert
C++
Code
1,531
4,935
// license:BSD-3-Clause // copyright-holders:R. Belmont,Aaron Giles /********************************************************************* midiin.c MIDI In image device and serial transmitter *********************************************************************/ #include "emu.h" #include "midiin.h" #include...
41,891
https://github.com/knisht/intellij-arend/blob/master/src/test/kotlin/org/arend/codeInsight/completion/ArendFilteredScope.kt
Github Open Source
Open Source
Apache-2.0
2,022
intellij-arend
knisht
Kotlin
Code
526
1,500
package org.arend.codeInsight.completion class ArendFilteredScope : ArendCompletionTestBase() { fun `test super classes`() = checkCompletionVariants( "\\class A { | z : Nat }\n" + "\\class B\n" + "\\func f\n" + "\\data D\n" + "\\record R\n" + ...
25,293
https://github.com/simplycash/simplycashwallet/blob/master/src/pages/sign/sign.ts
Github Open Source
Open Source
MIT
2,020
simplycashwallet
simplycash
TypeScript
Code
172
607
import { Component, ViewChild } from '@angular/core' import { AlertController, IonicPage, LoadingController, NavController, NavParams, Platform, ToastController } from 'ionic-angular' import { TranslateService } from '@ngx-translate/core' import { Wallet } from '../../providers/providers' @IonicPage() @Component({ ...
10,651
https://github.com/threefoldtech/3node_marketplace/blob/master/design/themes/responsive/styles/data/Woody.less
Github Open Source
Open Source
Apache-2.0
null
3node_marketplace
threefoldtech
Less
Code
404
2,150
.ty-product-filters__item { color: @font; } .ty-sidebox__title-wrapper, .ty-sidebox__title span, .ty-sidebox__title a { color: @font; } .ty-product-filters__switch { border-bottom: 1px solid @base; } .ty-footer-menu__header, .ty-footer-menu__item { border-bottom: 1px solid lighten(@footer_bg, 5%); } .ty...
33,524
https://github.com/bubdm/MemBroker/blob/master/src/MemBroker/MessageBrokerFactory.cs
Github Open Source
Open Source
MIT
2,014
MemBroker
bubdm
C#
Code
19
56
namespace MemBroker { public class MessageBrokerFactory : IMessageBrokerFactory { public IMessageBroker CreateMessageBroker() { return new MessageBroker(); } } }
34,029
https://github.com/ahnaf22/foodhunter-Laravel/blob/master/resources/views/backend/pages/shop/profile.blade.php
Github Open Source
Open Source
MIT
null
foodhunter-Laravel
ahnaf22
PHP
Code
65
423
@extends('backend.layouts.master') @section('content') <div class="container" > <div class="card"> <div class="card-header"> <center> <img src="{{asset('backend/assets/images/shoplogos/'.$shop->shop_logo)}}" width="140" height="140" class="rounded-circle...
44,432
https://github.com/silverstripe/silverstripe-module/blob/master/client/src/entwine/example-file.js
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-free-unknown
2,023
silverstripe-module
silverstripe
JavaScript
Code
16
39
/* global jQuery */ (function ($) { $(document).ready(() => { // your code here. }); }(jQuery));
43,045
https://github.com/nasa/cumulus/blob/master/tf-modules/log-subscription-filter/ingest_log_subscriptions.tf
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,023
cumulus
nasa
HCL
Code
120
630
resource "aws_cloudwatch_log_subscription_filter" "discover_pdrs_task_log_subscription_filter" { name = "${var.prefix}-DiscoverPDRsTaskLogSubscriptionToSharedDestination" destination_arn = var.log_destination_arn distribution = "ByLogStream" filter_pattern = "" log_group_name = var.discover_pd...
5,589
https://github.com/namelessfy/namelessfy-app/blob/master/packages/web/src/components/Modal/Modal.js
Github Open Source
Open Source
MIT
2,021
namelessfy-app
namelessfy
JavaScript
Code
61
216
import React from "react"; import PropTypes from "prop-types"; import { Background, Modal, Button } from "./style"; function DialogueModal({ text, confirm, cancel }) { return ( <> <Background onClick={cancel.func}> <Modal> <h2>{text}</h2> <div> <Button type="button"...
30,039
https://github.com/robertsandoval/tiger/blob/master/cmd/file.go
Github Open Source
Open Source
Apache-2.0
null
tiger
robertsandoval
Go
Code
155
452
package cmd import ( "fmt" "io" "net/http" "os" "os/exec" ) //TODO catch the error func downloadFile(filepath string, url string) error { fmt.Printf("Writing %s \nTo %s", url, filepath) // Get the data resp, err := http.Get(url) if err != nil { return err } defer resp.Body.Close() // Create the file o...
11,179
https://github.com/vmchale/hakaru/blob/master/haskell/Tests/TestSuite.hs
Github Open Source
Open Source
BSD-3-Clause
2,022
hakaru
vmchale
Haskell
Code
207
481
module Main(main) where import System.Exit (exitFailure) import System.Environment (lookupEnv) import qualified Tests.ASTTransforms as TR import qualified Tests.Parser as P import qualified Tests.Pretty as Pr import qualified Tests.TypeCheck as TC import qualified Tests.Simplify as S import qua...
32,478
https://github.com/winedepot/pinot/blob/master/thirdeye/thirdeye-pinot/src/test/java/org/apache/pinot/thirdeye/detection/DetectionPipelineTaskRunnerTest.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause, LicenseRef-scancode-free-unknown, CC-PDDC, LGPL-2.1-only, LicenseRef-scancode-other-permissive, MIT, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference, CPL-1.0, CDDL-1.1, EPL-1.0, BSD-2-Clause, EPL-2.0, CDDL-1.0
2,019
pinot
winedepot
Java
Code
374
1,604
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
42,592
https://github.com/jorgemauricio/taller_python/blob/master/ejercicios/ejercicio_02.py
Github Open Source
Open Source
MIT
2,018
taller_python
jorgemauricio
Python
Code
123
230
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ####################################### # Author: Jorge Mauricio # Email: jorge.ernesto.mauricio@gmail.com # Date: 2018-02-01 # Version: 1.0 ####################################### Objetivo: Crear un script el cual de una frase dada, clasifique las palabras de acuerdo...
44,538
https://github.com/MrMonk3y/vimrc/blob/master/tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeActions/LinqFluentToQueryTests.cs
Github Open Source
Open Source
MIT
2,022
vimrc
MrMonk3y
C#
Code
1,723
4,189
// // LinqFluentToQueryTests.cs // // Author: // Luís Reis <luiscubal@gmail.com> // // Copyright (c) 2013 Luís Reis // // 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 restrict...
27,361
https://github.com/valga/cms/blob/master/Makefile
Github Open Source
Open Source
MIT
null
cms
valga
Makefile
Code
50
169
all: cms CC = gcc CFLAGS = -Wall -Os -I. LDFLAGS = DEPS = $(wildcard src/*.h) SRC = $(wildcard src/*.c) crypto/md5.c OBJ = $(patsubst %.c, %.o, $(SRC)) %.o: %.c $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) cms: $(OBJ) $(CC) -o $@ $^ $(LDFLAGS) .PHONY: clean clean: rm -f cms */*.o
1,097
https://github.com/DeanoC/accel/blob/master/accel/src/driver/kernel.rs
Github Open Source
Open Source
MIT
2,020
accel
DeanoC
Rust
Code
417
1,133
//! Execution control in //! [CUDA Deriver APIs](http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__EXEC.html) use crate::error::*; use anyhow::Result; use cuda::*; use cudart::*; use std::ops::Deref; use std::os::raw::*; use std::ptr::null_mut; use super::module::*; /// CUDA Kernel function #[derive(Debug)] ...
56,370
https://github.com/henrik2706/INF1000-GrubleLab-H14/blob/master/henrihlo/GUI23oktober/TestGUI.java
Github Open Source
Open Source
Unlicense
null
INF1000-GrubleLab-H14
henrik2706
Java
Code
31
142
import javax.swing.*; public class TestGUI{ JFrame ramme; JLabel tekst; public TestGUI(){ ramme = new JFrame("Hei-program"); tekst = new JLabel("Hei, dette er et grafisk brukergrensesnitt"); ramme.add(tekst); ramme.setSize(500, 500); ramme.setVisible(true); ramme.setDefaultCloseOperation(JF...
41,729
https://github.com/nutaapong/SMT/blob/master/resources/views/fingpint/checkin.blade.php
Github Open Source
Open Source
MIT
null
SMT
nutaapong
PHP
Code
565
3,283
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta content="width=device-width, initial-scale=1" name="viewport" /> <meta name="description" content="Simple CMS" /> <meta name="author" content="Sh...
42,979
https://github.com/lductrung92/banhang/blob/master/resources/views/page_home/base/slider/menu.blade.php
Github Open Source
Open Source
MIT
null
banhang
lductrung92
PHP
Code
531
3,398
<div class="col-lg-3 col-md-3 hidden-sm hidden-xs" id="sidebar-menu"> <div id="box-vertical-megamenus"> <div class="box-vertical-megamenus"> <h4 class="title"> <span class="btn-open-mobile home-page"><i class="fa fa-bars"></i></span> <span class="title-menu">Danh mục sản phẩm...
46,358
https://github.com/karatakis/devextreme-vue/blob/master/src/core/component.ts
Github Open Source
Open Source
MIT
null
devextreme-vue
karatakis
TypeScript
Code
199
748
import Vue, { VueConstructor } from "vue"; import * as events from "devextreme/events"; const DX_TEMPLATE_WRAPPER_CLASS = "dx-template-wrapper"; const DX_REMOVE_EVENT = "dxremove"; const DxComponent: VueConstructor = Vue.extend({ template: "<div><slot/></div>", mounted(): void { const options: objec...
39,048
https://github.com/dj3vande/tendra/blob/master/trans/src/sparc/addr.h
Github Open Source
Open Source
BSD-3-Clause
null
tendra
dj3vande
C
Code
396
1,096
/* * Copyright 2011, The TenDRA Project. * Copyright 1997, United Kingdom Secretary of State for Defence. * * See doc/copyright/ for the full copyright terms. */ #ifndef ADDR_H #define ADDR_H #include <shared/check.h> #include <local/ash.h> #include <construct/installtypes.h> #define NOREG 100 typedef int re...
10,082
https://github.com/lupswitch/cientity/blob/master/application/libraries/users/UsersOfcientity.php
Github Open Source
Open Source
MIT
2,018
cientity
lupswitch
PHP
Code
155
775
<?php class UsersOfcientity { private $CI,$menus; public function __construct() { $this->CI =& get_instance(); $this->CI->load->database(); } public function init($userName,$extraEntityInfoDesc) { $this->menus = $this->getMenus($userName,$extraEntityInfoDesc); } public function rtMenues() { retur...
48,072
https://github.com/iselagb/ui-users/blob/master/test/bigtest/tests/settings-payments-test.js
Github Open Source
Open Source
Apache-2.0
2,023
ui-users
iselagb
JavaScript
Code
280
1,351
import { expect } from 'chai'; import { beforeEach, describe, it, } from '@bigtest/mocha'; import setupApplication from '../helpers/setup-application'; import FeeFineInteractor from '../interactors/settings-feefine'; describe('Settings payments', () => { setupApplication({ scenarios: ['settings-feefine'] });...
8,690
https://github.com/DinakaranS/material-ui-pickers-next/blob/master/lib/src/DateRangePicker/DateRangeDelimiter.tsx
Github Open Source
Open Source
MIT
2,022
material-ui-pickers-next
DinakaranS
TypeScript
Code
37
124
import Typography from '@material-ui/core/Typography'; import { styled } from '@material-ui/core/styles'; import { withDefaultProps } from '../_shared/withDefaultProps'; export const DateRangeDelimiter = withDefaultProps( { name: 'MuiPickersDateRangeDelimiter' }, styled(Typography)({ margin: '0 16px', }) ); ...
47,046
https://github.com/fossabot/jymfony/blob/master/src/Component/Validator/src/Exception/UnexpectedValueException.js
Github Open Source
Open Source
MIT
2,022
jymfony
fossabot
JavaScript
Code
62
204
const UnexpectedTypeException = Jymfony.Component.Validator.Exception.UnexpectedTypeException; /** * @memberOf Jymfony.Component.Validator.Exception */ export default class UnexpectedValueException extends UnexpectedTypeException { /** * Constructor. * * @param {*} value * @param {string|Newa...
211
https://github.com/larrylynn-wf/pdfbox-graphics2d/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,019
pdfbox-graphics2d
larrylynn-wf
Ignore List
Code
3
13
target .idea graphics2d.iml
38,274
https://github.com/nyatto97/webtruyen/blob/master/app/Http/Controllers/TruyenController.php
Github Open Source
Open Source
MIT
null
webtruyen
nyatto97
PHP
Code
625
2,655
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Carbon\Carbon; use App\Models\DanhmucTruyen; use App\Models\Truyen; use App\Models\Theloai; class TruyenController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
36,121
https://github.com/suhasv1995/material-react-icons/blob/master/icons/SignalCellularConnectedNoInternet0Bar.js
Github Open Source
Open Source
MIT
2,019
material-react-icons
suhasv1995
JavaScript
Code
18
100
import React from 'react'; import createSvg from '../utils/createSvg'; export default createSvg(<g><path fill-opacity=".3" d="M22 8V2L2 22h16V8z"/><path d="M20 22h2v-2h-2v2zm0-12v8h2v-8h-2z"/></g>, 'SignalCellularConnectedNoInternet0Bar');
17,609
https://github.com/rccrdpccl/docker-rabbitmq/blob/master/initrabbitmq.sh
Github Open Source
Open Source
Apache-2.0
2,016
docker-rabbitmq
rccrdpccl
Shell
Code
41
164
#!/bin/bash set -o monitor rabbit_pid=/var/lib/rabbitmq/mnesia/rabbitmq.pid RABBITMQ_PID_FILE=$rabbit_pid /docker-entrypoint.sh "$@" & rabbitmqctl wait $rabbit_pid echo for f in /docker-entrypoint-initrabbitmq.d/*; do case "$f" in *.sh) echo "$0: running $f"; . "$f" ;; *) ...
10,769
https://github.com/Nate15329/OWLib/blob/master/STULib/Types/Dump/STU_320C5BA7.cs
Github Open Source
Open Source
MIT
2,018
OWLib
Nate15329
C#
Code
28
117
// File auto generated by STUHashTool using static STULib.Types.Generic.Common; namespace STULib.Types.Dump { [STU(0x320C5BA7)] public class STU_320C5BA7 : STU_8B68F073 { [STUField(0x37AB13D3, "m_hero")] public STUGUID Hero; // STULib.Types.STUHero } }
14,726
https://github.com/DivXPro/airclass-icons/blob/master/packages/icons-vue/src/icons/CameraOffFill.tsx
Github Open Source
Open Source
MIT
null
airclass-icons
DivXPro
TypeScript
Code
57
175
// GENERATE BY ./scripts/generate.ts // DON NOT EDIT IT MANUALLY import { SetupContext } from 'vue'; import CameraOffFillSvg from '@airclass/icons-svg/lib/asn/CameraOffFill'; import AntdIcon, { AntdIconProps } from '../components/AntdIcon'; const CameraOffFill = (props: AntdIconProps, context: SetupContext) => { co...
10,384
https://github.com/JetBrains/intellij-community/blob/master/python/testSrc/com/jetbrains/python/PyOptimizeImportsTest.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
729
3,831
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python; import com.intellij.codeInsight.actions.OptimizeImportsAction; import com.intellij.ide.DataManager; import com.intellij.openapi.vfs.VirtualFile; imp...
16,415
https://github.com/JiscSD/irus_analytics/blob/master/lib/generators/irus_analytics/config/config_generator.rb
Github Open Source
Open Source
Apache-2.0
2,021
irus_analytics
JiscSD
Ruby
Code
75
339
# frozen_string_literal: true class IrusAnalytics::ConfigGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) # the following public methods are performed in order of appearance def copy_counter_robot_list copy_file 'counter_robot_list.txt', 'config/irus_analytics_counter_...
40,543
https://github.com/PyaePhyo1999/PADC-P-5-PPM-SimpleHabit/blob/master/SimpleHabit/app/src/main/java/com/example/acer/simplehabit/viewholders/StartHereViewHolder.java
Github Open Source
Open Source
Apache-2.0
null
PADC-P-5-PPM-SimpleHabit
PyaePhyo1999
Java
Code
87
492
package com.example.acer.simplehabit.viewholders; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; import com.example.acer.simplehabit.R; import com.example.acer.simplehabit.adapters.SeriesAdapter; import com...
41,741
https://github.com/rdmueller/aoc-2018/blob/master/docs/DEvHiII/generatedDays.adoc
Github Open Source
Open Source
MIT
2,019
aoc-2018
rdmueller
AsciiDoc
Code
15
103
=== Day 01: java include::../../day01/java/DEvHiII/README.adoc[leveloffset=+2] === Day 02: java include::../../day02/java/DEvHiII/README.adoc[leveloffset=+2] === Day 03: java include::../../day03/java/DEvHiII/README.adoc[leveloffset=+2]
1,576
https://github.com/AndreiVoitenko/Sonar-XSL-Plugin/blob/master/sonar-schematron-reactor/src/main/resources/simple-html.xsl
Github Open Source
Open Source
Apache-2.0
2,021
Sonar-XSL-Plugin
AndreiVoitenko
null
Spoken
35
255
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:html="http://www.w3.org/1999/xhtml" exclude-result-prefixes="#all" version="2.0"> <xsl:output method="html"></xsl:output> <xsl:templ...
15,073
https://github.com/cash2one/xai/blob/master/xai/brain/wordbase/nouns/_way.py
Github Open Source
Open Source
MIT
2,017
xai
cash2one
Python
Code
172
313
#calss header class _WAY(): def __init__(self,): self.name = "WAY" self.definitions = [u'a route, direction, or path: ', u'to travel or move to a place: ', u'used to talk about the direction in which something is facing: ', u'happening in the opposite way: ', u'happening in the opposite way: ', u'used in the na...
2,155
https://github.com/Zurus/Work-with-employee/blob/master/js/employees.js
Github Open Source
Open Source
MIT
2,016
Work-with-employee
Zurus
JavaScript
Code
70
445
$(document).ready(function(){ $('#employees tbody').empty(); $.ajax({ url:'/servlet/Employees', type:'get', success:function(data){ str = '' $.each(data, function(idx,value){ var age = (value.age==0)?"Не указан!":value.age; $('...
22,920
https://github.com/saibioussama/MPISI-Development/blob/master/ArticlesApp/ArticlesApp/Forms/Articles/Remove.cs
Github Open Source
Open Source
MIT
2,018
MPISI-Development
saibioussama
C#
Code
170
565
using ArticlesApp.Models; using ArticlesApp.Repos; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ArticlesApp.Forms.Articles { public par...
54,272
https://github.com/SainsIn-Education/smartmd/blob/master/src/config/toolbar.js
Github Open Source
Open Source
MIT
2,019
smartmd
SainsIn-Education
JavaScript
Code
314
1,164
export default { "bold": { action: "toggleBold", className: "fa fa-bold", title: "Bold" }, "italic": { action: "toggleItalic", className: "fa fa-italic", title: "Italic" }, "strikethrough": { action: "toggleStrikethrough", className: "fa fa-strikethrough", title: "Strikethr...
45,846
https://github.com/kevinlq/Qt-Creator-Opensource-Study/blob/master/qt-creator-opensource-src-4.6.1/src/plugins/qmldesigner/components/formeditor/lineeditaction.cpp
Github Open Source
Open Source
MIT
2,022
Qt-Creator-Opensource-Study
kevinlq
C++
Code
232
609
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance w...
4,926
https://github.com/sugaok/my-deep-learning-base/blob/master/models/xception.py
Github Open Source
Open Source
MIT
2,019
my-deep-learning-base
sugaok
Python
Code
679
3,310
# -*- coding: utf-8 -*- """TensorFlow Kerasのモデル""" from tensorflow import keras def model_xception_keras(input_shape: tuple, num_classes: int) -> keras.Model: """ Keras Applicationsに用意されているXceptionを読み込む。 Xception: Deep Learning with Depthwise Separable Convolutions François Chollet https://arxiv....
49,246
https://github.com/VitorGois/InviteU/blob/master/src/main/java/br/application/inviteu/services/RoleService.java
Github Open Source
Open Source
MIT
2,021
InviteU
VitorGois
Java
Code
220
813
package br.application.inviteu.services; import java.util.ArrayList; import java.util.List; import java.util.Optional; import javax.persistence.EntityNotFoundException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.EmptyResultDataAccessException; import org.springframe...
56,609
https://github.com/tierninho/homebrew-cask-drivers/blob/master/Casks/elecom-mouse-assistant.rb
Github Open Source
Open Source
Unlicense
2,020
homebrew-cask-drivers
tierninho
Ruby
Code
48
372
cask "elecom-mouse-assistant" do version "5.1.14.003" sha256 "91cb66dc584fabdb4e70cdba7d3aefe4c3046e4205891ca5bd80cf4f381a073b" # dl.elecom.co.jp was verified as official when first introduced to the cask url "https://dl.elecom.co.jp/support/download/peripheral/mouse/assistant/mac/ELECOM_Mouse_Installer_#{vers...
54,138
https://github.com/rafalogan/stfdigital/blob/master/src/main/java/br/jus/stf/processamentoinicial/suporte/interfaces/dto/ClasseDtoAssembler.java
Github Open Source
Open Source
Apache-2.0
2,015
stfdigital
rafalogan
Java
Code
37
169
package br.jus.stf.processamentoinicial.suporte.interfaces.dto; import org.apache.commons.lang3.Validate; import org.springframework.stereotype.Component; import br.jus.stf.processamentoinicial.suporte.domain.model.Classe; /** * @author anderson.araujo * * @since 1.0.0 * @since 21.07.2015 */ @Component public ...
50,408
https://github.com/X-Sharp/XSharpPublic/blob/master/src/Runtime/XSharp.Core/Functions/File.prg
Github Open Source
Open Source
Apache-2.0
2,023
XSharpPublic
X-Sharp
null
Spoken
4,158
12,567
// // Copyright (c) XSharp B.V. All Rights Reserved. // Licensed under the Apache License, Version 2.0. // See License.txt in the project root for license information. // USING System USING System.Collections USING System.Collections.Generic USING System.Collections.Concurrent USING System.IO USING System.Linq USING S...
30,352
https://github.com/cerner/cerner_splunk/blob/master/spec/unit/recipes/_configure_shc_roles_spec.rb
Github Open Source
Open Source
MIT, Apache-2.0
2,023
cerner_splunk
cerner
Ruby
Code
172
860
# frozen_string_literal: true require_relative '../spec_helper' describe 'cerner_splunk::_configure_shc_roles' do subject do runner = ChefSpec::SoloRunner.new(platform: 'centos', version: '6.10') do |node| node.override['splunk']['config']['clusters'] = ['cerner_splunk/cluster'] node.override['splun...
6,377
https://github.com/sedwards2009/ace-ts/blob/master/src/autocomplete/TextCompleter.ts
Github Open Source
Open Source
BSD-3-Clause
2,020
ace-ts
sedwards2009
TypeScript
Code
283
769
/** * Copyright (c) 2010, Ajax.org B.V. * Copyright (c) 2015-2018, David Holmes * Licensed under the 3-Clause BSD license. See the LICENSE file for details. */ import { Completer } from '../Completer'; import { Completion } from '../Completion'; import { EditSession } from '../EditSession'; import { Editor } from '...
51,132
https://github.com/woonsan/incubator-s2graph/blob/master/s2jobs/src/main/scala/org/apache/s2graph/spark/sql/streaming/S2StreamQueryWriter.scala
Github Open Source
Open Source
Apache-2.0
2,022
incubator-s2graph
woonsan
Scala
Code
330
1,102
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
10,624
https://github.com/jingxiaohu/springBootTestOne/blob/master/src/main/java/com/park/bean/User_moneyback.java
Github Open Source
Open Source
Apache-2.0
null
springBootTestOne
jingxiaohu
Java
Code
810
3,718
package com.park.bean; import java.io.*; import java.util.*; //user_moneyback @SuppressWarnings({"serial"}) public class User_moneyback implements Cloneable , Serializable{ //public static String[] carrays ={"um_id","ui_id","order_id","pi_id","ctime","utime","um_money","car_code","run_url","um_state","check_stat...
12,830
https://github.com/hispindia/BIHAR-2.7/blob/master/dhis-2/dhis-services/dhis-service-importexport/src/main/resources/transform/cross2dxf2.xsl
Github Open Source
Open Source
BSD-3-Clause
null
BIHAR-2.7
hispindia
null
Spoken
53
444
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://dhis2.org/schema/dxf/2.0" version="1.0"> <xsl:output method="xml" indent="yes" /> <xsl:template match="/"> <d:dxf> <d:dataValueSets> <xsl:for-each select="//*[local-n...
6,619
https://github.com/NycJsOrg/angular-presentation/blob/master/libs/angular-slides-to-pdf/src/lib/angular-slides-to-pdf.component.ts
Github Open Source
Open Source
Apache-2.0
2,022
angular-presentation
NycJsOrg
TypeScript
Code
150
428
import { Component } from '@angular/core'; import { SlidesDeckComponent } from '@ng360/slides'; @Component({ selector: 'slides-codelab-to-pdf', template: '' }) export class AngularSlidesToPdfComponent { constructor(private presentation: SlidesDeckComponent) {} async toPdf() { const width = 1024; const...
41,155
https://github.com/zenithght/Urho3D-Joystick/blob/master/Source/Samples/75_Joystick/GameController.h
Github Open Source
Open Source
MIT
2,017
Urho3D-Joystick
zenithght
C++
Code
304
659
// // Copyright (c) 2008-2016 the Urho3D project. // // 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, m...
25,955
https://github.com/rfox12/quasar-typescript-starter/blob/master/strict-quasar.conf.ts
Github Open Source
Open Source
MIT
2,020
quasar-typescript-starter
rfox12
TypeScript
Code
595
2,139
// Configuration for your app // https://quasar.dev/quasar-cli/quasar-conf-js // TODO: TS conf file could be supported using nodemon and ts-node? import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'; import { configure } from 'src/quasar-shims/configuration'; import { QuasarConfiguration } from 'qu...
55,799
https://github.com/BerntA/tfo-code/blob/master/game/server/point_spotlight.cpp
Github Open Source
Open Source
MIT
2,023
tfo-code
BerntA
C++
Code
1,233
5,253
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //===========================================================================// #include "cbase.h" #include "beam_shared.h" #include "spotlightend.h" // memdbgon must be the last include file in a .cpp file!!! #include "ti...
50,481
https://github.com/tsleonw/update_RideStats_Membership/blob/master/src/ursm/updateRideStatsMembership.py
Github Open Source
Open Source
MIT
null
update_RideStats_Membership
tsleonw
Python
Code
606
1,944
#!/usr/bin/env python3 """ This module sends a request to Wild Apricot for a list of club members using the Wild Apricot API. Wild Apricot returns a JSON list of members. The module then validates each member. A list of valid members is sent to RideStats, and an email is produced which reports the status of the run ...
50,189
https://github.com/springphp/tpApi/blob/master/extend/Auth.php
Github Open Source
Open Source
Apache-2.0
null
tpApi
springphp
PHP
Code
218
1,026
<?php namespace extend; use think\Session; /** * 权限检测类 * @author wanggang 2017/5/18 */ class Auth{ //默认配置 protected $_config = array( 'AUTH_ON' => true, // 权限检测开关 true开启 false关闭 'AUTH_GROUP' => 'Auth_group', // 用户组数据表名 'AUTH_RULE' => 'Auth', ...
15,973
https://github.com/FyrWalkyr60/JSExercise2/blob/master/exer2.js
Github Open Source
Open Source
MIT
null
JSExercise2
FyrWalkyr60
JavaScript
Code
150
515
var course = { name: 'JavaScript Applications', awesome: true, teachers: ["Assaf", "Shane"], students: [ { name: "Steve", computer: { OS: "Linux'", type: "laptop" } }, { name: "Katy", computer: { OS: "OSX", type: "macbook" } }, { name: "Chuck", computer: { OS: "...
43,047
https://github.com/nicolas-racchi/VoloSpesa/blob/master/client/src/pages/CRUD/CRUD.js
Github Open Source
Open Source
MIT
2,020
VoloSpesa
nicolas-racchi
JavaScript
Code
275
976
import React, { Component } from "react"; import PageLayout from "../../components/Layout/PageLayout"; import { List, Typography, Button, Space, Modal, message } from "antd"; import { getMessages, deleteMessage } from "../../api/API"; import { ShopTwoTone, DeleteTwoTone } from "@ant-design/icons"; import "./crud.css";...
9,548