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/syrdevs/refund_app/blob/master/src/pages/CounterAgent/TabPages/InfoPage.js | Github Open Source | Open Source | MIT | null | refund_app | syrdevs | JavaScript | Code | 1,377 | 5,171 | import React, { Component } from 'react';
import { connect } from 'dva';
import { Form, Input, Button, Select, Divider, DatePicker, Table, Row, Col, Tabs, Card, Spin, Modal } from 'antd';
import SmartGridView from '@/components/SmartGridView';
import { formatMessage, FormattedMessage, getLocale } from 'umi/locale';
imp... | 43,601 |
https://github.com/conferenceplan/planner-core/blob/master/db/migrate/20120213020550_create_survey_assignments.rb | Github Open Source | Open Source | Apache-2.0 | 2,021 | planner-core | conferenceplan | Ruby | Code | 31 | 107 | class CreateSurveyAssignments < ActiveRecord::Migration
def self.up
create_table :survey_assignments do |t|
t.references :SurveyResponse
t.references :Person
t.timestamps
t.column :lock_version, :integer, { :default => 0 }
end
end
def self.down
drop_table :survey_assignments
... | 32,516 |
https://github.com/YuriSiman/complete-api-aspnetcore-webapi/blob/master/src/CompleteApi.Api/ViewModels/FornecedorViewModel.cs | Github Open Source | Open Source | MIT | null | complete-api-aspnetcore-webapi | YuriSiman | C# | Code | 111 | 269 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace CompleteApi.Api.ViewModels
{
public class FornecedorViewModel
{
[Key]
public Guid Id { get; set; }
[Required(ErrorMessage = "O campo {0} é obrigatório")]
[StringLength(100, E... | 39,267 |
https://github.com/Butonix/admin.skidvis.ru/blob/master/app/Models/Users/Role.php | Github Open Source | Open Source | MIT | 2,019 | admin.skidvis.ru | Butonix | PHP | Code | 383 | 1,398 | <?php
namespace App\Models\Users;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Laratrust\Models\LaratrustRole;
/**
* App\Models\Users\Role
*
* @property int $id
* @property string ... | 41,485 |
https://github.com/ShafSpecs/remix-pwa/blob/master/templates/js/app/root.js | Github Open Source | Open Source | MIT | 2,022 | remix-pwa | ShafSpecs | JavaScript | Code | 76 | 264 | let location = useLocation();
let matches = useMatches();
let isMount = true;
React.useEffect(() => {
let mounted = isMount;
isMount = false;
if ("serviceWorker" in navigator) {
if (navigator.serviceWorker.controller) {
navigator.serviceWorker.controller?.postMessage({
type: "REMIX_NAVIGATION",... | 50,970 |
https://github.com/namekak45/active-directory-dotnet-external-identities-api-connectors-approvals/blob/master/CustomApproval.Web/Services/IMailService.cs | Github Open Source | Open Source | LicenseRef-scancode-generic-cla, MIT | 2,020 | active-directory-dotnet-external-identities-api-connectors-approvals | namekak45 | C# | Code | 22 | 69 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CustomApproval.Web.Services
{
public interface IMailService
{
Task SendApprovalNotification(string email, string locale);
}
}
| 30,425 |
https://github.com/CNCienta/grupo-ams.es/blob/master/wp-content/plugins/just-tinymce-styles/views/_footer.php | Github Open Source | Open Source | MIT | null | grupo-ams.es | CNCienta | PHP | Code | 6 | 19 | </div> <!-- .wrap -->
<div class="clear"></div>
| 42,627 |
https://github.com/GradyLeeY/course/blob/master/server/src/main/java/com/grady/server/service/IChapterService.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | course | GradyLeeY | Java | Code | 32 | 117 | package com.grady.server.service;
import com.grady.server.dto.ChapterDto;
import com.grady.server.dto.ChapterPageDto;
/**
* @Author Grady
* @Date 2020/5/24 14:05
* @Version 1.0
*/
public interface IChapterService {
void list(ChapterPageDto chapterPageDto);
void save(ChapterDto chapterDto);
void de... | 36 |
https://github.com/microservices-patterns/ftgo-application/blob/master/ftgo-order-service/src/test/java/net/chrisrichardson/ftgo/orderservice/domain/OrderServiceTest.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | ftgo-application | microservices-patterns | Java | Code | 186 | 1,158 | package net.chrisrichardson.ftgo.orderservice.domain;
import io.eventuate.tram.events.publisher.DomainEventPublisher;
import io.eventuate.tram.sagas.orchestration.SagaInstanceFactory;
import net.chrisrichardson.ftgo.orderservice.OrderDetailsMother;
import net.chrisrichardson.ftgo.orderservice.RestaurantMother;
import ... | 2,856 |
https://github.com/Camilovs/Proyecto1_TechWeb/blob/master/morelike/src/Mike42/Escpos/CapabilityProfile.php | Github Open Source | Open Source | MIT | 2,018 | Proyecto1_TechWeb | Camilovs | PHP | Code | 1,053 | 2,596 | <?php
/**
* This file is part of escpos-php: PHP receipt printer library for use with
* ESC/POS-compatible thermal and impact printers.
*
* Copyright (c) 2014-16 Michael Billington < michael.billington@gmail.com >,
* incorporating modifications by others. See CONTRIBUTORS.md for a full list.
*
* This software is... | 40,616 |
https://github.com/Sudokamikaze/pmm-ui-tests/blob/master/tests/QAN/pagination_test.js | Github Open Source | Open Source | Apache-2.0 | 2,021 | pmm-ui-tests | Sudokamikaze | JavaScript | Code | 242 | 1,173 | Feature('QAN pagination');
Before(async ({ I, qanPage, qanOverview }) => {
await I.Authorize();
I.amOnPage(qanPage.url);
qanOverview.waitForOverviewLoaded();
});
Scenario(
'PMM-T128 - Verify qanPagination works correctly @qan',
async ({ I, qanPagination, qanOverview }) => {
await qanPagination.verifySel... | 36,721 |
https://github.com/erickzhao/siberianmh/blob/master/packages/the-board/server/src/lib/store/user.ts | Github Open Source | Open Source | MIT | 2,021 | siberianmh | erickzhao | TypeScript | Code | 90 | 256 | import * as express from 'express'
import axios from 'axios'
import { ISerializedUser } from '../types'
export class UserStore {
public async getMe(req: express.Request) {
if (!req.user) {
return {
message: 'Bad credentials',
status: 403,
}
}
const user = req.user as ISeriali... | 23,121 |
https://github.com/Benjamin-Dobell/luabundle/blob/master/src/unbundle/module.ts | Github Open Source | Open Source | MIT | 2,021 | luabundle | Benjamin-Dobell | TypeScript | Code | 35 | 82 | export type FilePosition = {
index: number,
line: number,
column: number,
}
export type Module = {
name: string,
content: string,
start: FilePosition,
end: FilePosition,
}
export type ModuleMap = {
[name: string]: Module,
}
| 49,432 |
https://github.com/kkashuda/react-container-components-lab-v-000/blob/master/src/components/MovieReviews.js | Github Open Source | Open Source | LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference | 2,017 | react-container-components-lab-v-000 | kkashuda | JavaScript | Code | 45 | 165 | 'use strict'
import React from 'react'
const MovieReviews = props => (
<ul className='review-list'>
{
props.reviews.map((review, i) => (
<li className='review' key={i}>
<a href={review.link.url}>{review.display_title} ({review.mpaa_rating ? review.mpaa_rating : 'no rating'})</a>
... | 33,616 |
https://github.com/oksana-khristenko/grunt-demo/blob/master/grunt/config/browserify.js | Github Open Source | Open Source | MIT | null | grunt-demo | oksana-khristenko | JavaScript | Code | 57 | 197 | 'use strict';
var babelConfig = require('../rc/.babelrc');
var getFiles = dest => {
return [{
expand: true,
cwd: 'app/assets/js/',
src: ['**/*.js', '!modules/**/*.js', '!vendor/**/*.js'],
dest: `${dest}/assets/js`
}];
};
module.exports = {
options: {
transform: [
'hbsfy',
['babe... | 38,600 |
https://github.com/opengovsg/GoGovSG/blob/master/src/server/api/ga.ts | Github Open Source | Open Source | MIT | 2,023 | GoGovSG | opengovsg | TypeScript | Code | 44 | 110 | import Express from 'express'
import { container } from '../util/inversify'
import { GaController } from '../modules/analytics'
import { DependencyIds } from '../constants'
const router = Express.Router()
const gaController = container.get<GaController>(DependencyIds.gaController)
/**
* Requests for the Google Anal... | 25,792 |
https://github.com/best08618/asylo/blob/master/gcc-gcc-7_3_0-release/gcc/testsuite/gcc.dg/pr67580.c | Github Open Source | Open Source | Apache-2.0 | 2,021 | asylo | best08618 | C | Code | 168 | 277 | /* PR c/67580 */
/* { dg-do compile } */
struct S { int s; };
union U { int s; };
enum E { A };
void
f (void)
{
S s; /* { dg-error "unknown type name .S.; use .struct. keyword to refer to the type" } */
U u; /* { dg-error "unknown type name .U.; use .union. keyword to refer to the type" } */
E e; /* { dg-error ... | 36,155 |
https://github.com/maandree/libsimple/blob/master/vweprintf.c | Github Open Source | Open Source | 0BSD | 2,021 | libsimple | maandree | C | Code | 542 | 2,168 | /* See LICENSE file for copyright and license details. */
#include "libsimple.h"
#ifndef TEST
extern char *argv0;
int libsimple_default_failure_exit = 1;
void (*libsimple_eprintf_preprint)(void) = NULL;
void (*libsimple_eprintf_postprint)(void) = NULL;
void
libsimple_vweprintf(const char *fmt, va_list ap)
{
int ... | 49,838 |
https://github.com/d0scoo1/naga_contracts/blob/master/token_tracker/erc1155/contracts/0x99ad76874d21ab6480ef88238f2f9e38206d8f3b_MetaMericanDream/contracts/meta1155.sol | Github Open Source | Open Source | MIT | 2,023 | naga_contracts | d0scoo1 | Gerber Image | Code | 617 | 1,894 | /* SPDX-License-Identifier: UNLICENSED */
/* Copyright Metarkitex */
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/s... | 10,302 |
https://github.com/jaredcdavis/acl2/blob/master/books/centaur/misc/absstobjs.lisp | Github Open Source | Open Source | BSD-3-Clause | 2,015 | acl2 | jaredcdavis | Common Lisp | Code | 60 | 247 |
(in-package "ACL2")
(include-book "std/util/bstar" :dir :system)
(defun untrans-defabsstobj-missing-defthms (forms state)
(declare (xargs :mode :program :stobjs state))
(if (atom forms)
nil
(cons `(defthm ,(caar forms)
,(untranslate (cadar forms) t (w state))
:rule-classes nil... | 6,873 |
https://github.com/shimmyt/anthracite/blob/master/tpl/index.tpl | Github Open Source | Open Source | Apache-2.0 | 2,022 | anthracite | shimmyt | null | Spoken | 61 | 143 | <div class="hero-unit">
<h3>Anthracite event manager</h3>
<p>
Track and manage changes and events that can have a business and/or operational impact.
</p>
</div>
While it's often not feasible to track/correctly attribute <i>all</i> changes,
<br/>it's good to have a tool to
<ul>
<li>manage the most important ones (maint... | 51,438 |
https://github.com/nbduong/Tweakster/blob/master/src/Tweakster/VisualStudio.Toolkit/_temp/PackageService.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | Tweakster | nbduong | C# | Code | 117 | 461 | using EnvDTE;
using EnvDTE80;
using Microsoft;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.I... | 8,616 |
https://github.com/HGMyway/HGWisdom/blob/master/HGWisdom/Category/UIViewController+HGExtention.h | Github Open Source | Open Source | MIT | null | HGWisdom | HGMyway | C | Code | 27 | 100 | //
// UIViewController+HGExtention.h
// BabysCard_OC
//
// Created by 小雨很美 on 2017/6/10.
// Copyright © 2017年 小雨很美. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIViewController (HGExtention)
@end
| 43,040 |
https://github.com/alzwded/peele/blob/master/Plugins/XCorrel.pm | Github Open Source | Open Source | BSD-2-Clause | 2,014 | peele | alzwded | Perl | Code | 421 | 1,124 | package XCorrel;
use strict;
use warnings;
sub new {
my ($class, $cfg) = @_;
my $self = {};
return bless $self, $class;
}
sub apply {
my ($self, $x) = @_;
if($x->{type} eq 'wave') {
my $means = {};
my $sigmas = {};
my $normalized = {};
my $n = 10.0**23;
my ... | 31,944 |
https://github.com/shoeblabs/trivia-quiz/blob/master/src/app/controllers/home.controller.js | Github Open Source | Open Source | MIT | null | trivia-quiz | shoeblabs | JavaScript | Code | 165 | 645 | (function(){
"use strict";
angular
.module("triviaQuiz")
.controller('homeCtrl', homeCtrl);
//Home controller
function homeCtrl ($state,quiz) {
"ngInject";
var vm = this;
vm.isLoading = true;
vm.categories = [];
vm.quizDetail = {};
... | 24,058 |
https://github.com/JSkimming/CloudFlare.NET/blob/master/src/CloudFlare.NET/CloudFlareConstants.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | CloudFlare.NET | JSkimming | C# | Code | 51 | 160 | namespace CloudFlare.NET
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// Constants for CloudFlare.
/// </summary>
public static class CloudFlareConstants
{
/// <summary>
/// Gets the base address of the CloudFlare API.
/// ... | 13,025 |
https://github.com/bmreddy11/paypal/blob/master/paypal-core/src/main/java/de/micromata/paypal/data/ApplicationContext.java | Github Open Source | Open Source | MIT, LicenseRef-scancode-warranty-disclaimer | 2,019 | paypal | bmreddy11 | Java | Code | 33 | 129 | package de.micromata.paypal.data;
import com.fasterxml.jackson.annotation.JsonProperty;
public class ApplicationContext {
private String shippingPreference;
@JsonProperty(value = "shipping_preference")
public String getShippingPreference() {
return shippingPreference;
}
public Applicatio... | 7,049 |
https://github.com/eBildungslabor/osterxyz/blob/master/dist/easter-egg.js | Github Open Source | Open Source | MIT | 2,014 | osterxyz | eBildungslabor | JavaScript | Code | 762 | 2,160 | /*!
* easter-egg.js v0.5.0
* https://github.com/gridonic/easter-egg.js
*
* Originally based on: https://github.com/snaptortoise/konami-js/
*
* Copyright 2014 @gridonic
* Released under the MIT license
*
* Build: 18.9.2014
*/
(function (global) {
'use strict';
var EasterEgg;
EasterEgg = function... | 35,521 |
https://github.com/JohnMarsing/BibleVerseLookup/blob/master/src/BibleVerseLookup.Web/Pages/SelectList/Index.cshtml.cs | Github Open Source | Open Source | MIT | null | BibleVerseLookup | JohnMarsing | C# | Code | 107 | 327 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
//using static BibleVerseLookup.Web.Helpers.SelectList;
//using BibleVerseLookup.Web.Helpers
namespace Bi... | 49,611 |
https://github.com/timvdm/Helium/blob/master/test/python/bfs.py | Github Open Source | Open Source | BSD-3-Clause | 2,018 | Helium | timvdm | Python | Code | 337 | 1,551 | import helium
import unittest
import os
SMILES = helium.Smiles()
class BFSTestVisitor(helium.BFSVisitor):
output = ''
def initialize(self, mol):
self.output += 'initialize()\n'
def component(self, i):
self.output += 'component(' + str(i) + ')\n'
def depth(self, d):
self.out... | 2,278 |
https://github.com/radixdlt/mtps/blob/master/explorer/service/src/main/java/org/radixdlt/explorer/helper/gson/adapter/SystemInfoAdapter.java | Github Open Source | Open Source | MIT | 2,019 | mtps | radixdlt | Java | Code | 187 | 593 | package org.radixdlt.explorer.helper.gson.adapter;
import com.google.gson.TypeAdapter;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import org.radixdlt.explorer.system.model.SystemInfo;
import java.io.IOException;
public class SystemInfoAdapter extends TypeAdapter<SystemInfo> {... | 8,165 |
https://github.com/boris-vasilev/simple_htcondor_ce/blob/master/sh/pre_config/files/site_security_59.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | simple_htcondor_ce | boris-vasilev | Python | Code | 69 | 759 | from models.config_file import ConfigFile
class SiteSecurity59(ConfigFile):
def __init__(self, output_file, augmented_site_level_config, execution_id):
ConfigFile.__init__(self, output_file, augmented_site_level_config, execution_id)
def add_static_parameters(self):
super().add_static_paramet... | 7,270 |
https://github.com/smartsolutionsitaly/cakephp-instagram/blob/master/src/Http/Client/InstagramClient.php | Github Open Source | Open Source | MIT | null | cakephp-instagram | smartsolutionsitaly | PHP | Code | 423 | 1,192 | <?php
/**
* cakephp-instagram (https://github.com/smartsolutionsitaly/cakephp-instagram)
* Copyright (c) 2019 Smart Solutions S.r.l. (https://smartsolutions.it)
*
* Instagram client for CakePHP
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE
* Redistributi... | 23,673 |
https://github.com/maku693/imgres/blob/master/go.mod | Github Open Source | Open Source | ISC | 2,020 | imgres | maku693 | Go Module | Code | 7 | 51 | module github.com/maku693/imgres
go 1.13
require golang.org/x/image v0.0.0-20191214001246-9130b4cfad52
| 12,430 |
https://github.com/Shivam7-1/pslab-android/blob/master/app/src/main/java/io/pslab/fragment/SoundMeterDataFragment.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | pslab-android | Shivam7-1 | Java | Code | 1,003 | 3,937 | package io.pslab.fragment;
import android.graphics.Bitmap;
import android.location.Location;
import android.os.Bundle;
import android.os.Environment;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Message;
import android.support.annotation.Nullable;
import android.support.design.widget.S... | 6,014 |
https://github.com/qcoreteam/zendAPI/blob/master/tests/ext/ExtensionHandlerTest.phpt | Github Open Source | Open Source | Apache-2.0 | 2,021 | zendAPI | qcoreteam | PHP | Code | 29 | 93 | <?php
if (function_exists("get_ext_handler_msgs")) {
$msgs = get_ext_handler_msgs();
if ($msgs != array(
"module startup handler called",
"request startup handler called"
)) {
goto error;
}
}
success:
exit(0);
error:
exit(1);
| 2,633 |
https://github.com/willyko/sysethereum-contracts/blob/master/test/testRelayToSyscoinAssetToken.js | Github Open Source | Open Source | MIT | null | sysethereum-contracts | willyko | JavaScript | Code | 203 | 1,215 | var SyscoinToken = artifacts.require("./token/SyscoinTokenForTests.sol");
const SyscoinMessageLibraryForTests = artifacts.require('SyscoinMessageLibraryForTests');
contract('testRelayToSyscoinAssetToken', function(accounts) {
before(async () => {
syscoinMessageLibraryForTests = await SyscoinMessageLibraryForTest... | 16,898 |
https://github.com/homergit/Angular-Tdd-JS_Mentoring/blob/master/src/app/note.ts | Github Open Source | Open Source | MIT | 2,019 | Angular-Tdd-JS_Mentoring | homergit | TypeScript | Code | 13 | 34 | export class Note {
id: number;
text: string;
isArchived: boolean;
complete: boolean;
}
| 8,607 |
https://github.com/dgomesbr/atom-cform/blob/master/snippets/eip-vpc.cson | Github Open Source | Open Source | MIT | 2,019 | atom-cform | dgomesbr | CoffeeScript | Code | 16 | 92 | '.source.json':
'eip-vpc':
'prefix': 'eip-vpc'
'body': '"${1:eipName}": {\n "Type": "AWS::EC2::EIP",\n "Properties": {\n "Domain": "vpc",\n "InstanceId": ${2:"--"}\n }\n}' | 12,568 |
https://github.com/Muiphy/ApplaALC/blob/master/Resources/ALC286/Info.plist.md5 | Github Open Source | Open Source | BSD-3-Clause | 2,021 | ApplaALC | Muiphy | null | Spoken | 4 | 54 | MD5 (/Users/yang/Downloads/AppleALC-1.5.6/Resources//ALC286/Info.plist) = a787bd0999a1f2302c3794d2b8dd1412
| 40,100 |
https://github.com/werli/prog1-tutorium-solutions/blob/master/src/main/java/de/uni_passau/fim/prog1/tutorium/aufgabe15/c/University.java | Github Open Source | Open Source | MIT | 2,021 | prog1-tutorium-solutions | werli | Java | Code | 537 | 1,389 | package de.uni_passau.fim.prog1.tutorium.aufgabe15.c;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import de.uni_passau.fim.prog1.tutorium.aufgabe15.a.Student;
/**
* Erweitere das Programm, sodass im Konstruktor der Klasse University die Daten von (beliebig vielen) St... | 24,238 |
https://github.com/initishh/club-website/blob/master/src/pages/team.js | Github Open Source | Open Source | MIT | 2,019 | club-website | initishh | JavaScript | Code | 46 | 162 | import React from "react";
import data from "../config/members.yaml";
import { object } from "prop-types";
import NavigationBar from "../components/Navigationbar";
const Team = () => {
return (
<div>
<NavigationBar />
{Object.keys(data.members).map((key, id) => (
<ul key={id}>
<li>{... | 42,658 |
https://github.com/digitalcrm/digital-crm/blob/master/resources/views/includes/partials/home-page-scripts.blade.php | Github Open Source | Open Source | MIT | null | digital-crm | digitalcrm | PHP | Code | 30 | 557 | <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81Po... | 6,324 |
https://github.com/sanonttame/junior/blob/master/chapter_001/src/main/java/ru/job4j/array/ArrayDuplicate.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | junior | sanonttame | Java | Code | 90 | 244 | package ru.job4j.array;
import java.util.Arrays;
/**
* Класс удаляющий дупликаты в массиве.
* @author Anton Narayan
* @version 0.1
* @since 0.1
*/
public class ArrayDuplicate {
/**
* Метод удаляющтй дупликаты.
*
* @param array массив
* @return обновленный массив.
*/
public String[] ... | 201 |
https://github.com/siva-k-sankar/ojaakDevAug31/blob/master/app/Http/Controllers/Auth/VerificationController.php | Github Open Source | Open Source | MIT | null | ojaakDevAug31 | siva-k-sankar | PHP | Code | 249 | 982 | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\VerifiesEmails;
//use Illuminate\Foundation\Auth;
use Illuminate\Support\Facades\Auth;
use Illuminate\Auth\Events\Verified;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Http\Request;
use... | 11,748 |
https://github.com/rxg-io/geeks-life/blob/master/src/main/index.ts | Github Open Source | Open Source | MIT | 2,020 | geeks-life | rxg-io | TypeScript | Code | 599 | 2,309 | import { app, globalShortcut, ipcMain, nativeImage, nativeTheme, Tray } from 'electron';
import path from 'path';
import {
CommitDailyLifeErrorCode,
CommitDailyLifeRequest,
CommitDailyLifeResponse,
EmojisResponse,
GitUserConfigSetRequest,
GitUserConfigSetResponse,
ipcChannels,
LoadDailyLifeModifiedFlagR... | 39,695 |
https://github.com/williams-katie/aws-alien-attack/blob/master/infrastructure/config.sh | Github Open Source | Open Source | MIT-0 | 2,021 | aws-alien-attack | williams-katie | Shell | Code | 43 | 101 | #!/bin/bash
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
#
echo CONFIGURING THE ENVIRONMENT
echo this must run from the 'infrastructure' folder
echo #############################
## installing
source ./update-upgrade-install.sh
## Calling the environment configur... | 18,527 |
https://github.com/RajashriUdhoji30/Company-Event-Organizer/blob/master/node_modules/react-redux-form/lib/utils/sequence.js | Github Open Source | Open Source | MIT | 2,017 | Company-Event-Organizer | RajashriUdhoji30 | JavaScript | Code | 762 | 2,597 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.sequenceEventActions = undefined;
var _identity = require('lodash/identity');
var _identity2 = _interopRequireDefault(_identity);
var _capitalize = require('../utils/capitalize');
var _capitalize2 = _interopRequireDefault(_capit... | 20,324 |
https://github.com/cwolsen7905/UbixOS/blob/master/Dump/hybos/lib/string/strlen.c | Github Open Source | Open Source | BSD-3-Clause | null | UbixOS | cwolsen7905 | C | Code | 25 | 79 | #include <string.h> /* size_t */
/*****************************************************************************
*****************************************************************************/
size_t strlen(const char *str)
{
size_t ret_val;
for(ret_val = 0; *str != '\0'; str++)
ret_val++;
return ret_val;
}
| 23,867 |
https://github.com/gawquon/Vic2ToHoI4/blob/master/Vic2ToHoI4/Source/HOI4World/Navies/MtgShip.h | Github Open Source | Open Source | MIT | 2,021 | Vic2ToHoI4 | gawquon | C | Code | 71 | 242 | #ifndef MTG_SHIP_H
#define MTG_SHIP_H
#include "Ship.h"
#include <ostream>
#include <string>
namespace HoI4
{
class MtgShip final: public Ship
{
public:
MtgShip(const std::string& name,
const std::string& type,
const std::string& equipment,
const std::string& owner,
std::string version,
const fl... | 50,936 |
https://github.com/padraic/ZFPlanet/blob/master/application/modules/admin/controllers/IndexController.php | Github Open Source | Open Source | BSD-3-Clause | 2,022 | ZFPlanet | padraic | PHP | Code | 12 | 38 | <?php
class Admin_IndexController extends Zend_Controller_Action
{
public function indexAction()
{
}
}
| 26,282 |
https://github.com/mrc-ide/typochallenge/blob/master/R/functions.R | Github Open Source | Open Source | MIT | 2,018 | typochallenge | mrc-ide | R | Code | 505 | 1,959 | KEY_PREFIX <- "shiny_dide:typochallenge:"
KEY_CONTRIBUTIONS <- paste0(KEY_PREFIX, "contributions")
KEY_CACHE <- paste0(KEY_PREFIX, "cache")
KEY_STATS <- paste0(KEY_PREFIX, "stats")
KEY_EMAILS <- paste0(KEY_PREFIX, "emails")
read_stats <- function(redis) {
if (redis) {
read_stats_redis()
} else {
read_stats... | 8,570 |
https://github.com/lbozzolo/nobre/blob/master/app/Repositories/ApplicantRepository.php | Github Open Source | Open Source | MIT | 2,019 | nobre | lbozzolo | PHP | Code | 26 | 88 | <?php
namespace Nobre\Repositories;
use Nobre\Models\Applicant;
use InfyOm\Generator\Common\BaseRepository;
class ApplicantRepository extends BaseRepository
{
protected $fieldSearchable = [
''
];
public function model()
{
return Applicant::class;
}
}
| 17,465 |
https://github.com/sentrt86/parmanagement-v2/blob/master/ParManagement/src/main/resources/static/js/prescreener.js | Github Open Source | Open Source | MIT | 2,020 | parmanagement-v2 | sentrt86 | JavaScript | Code | 297 | 1,607 | $(document).ready(function() {
$(function () {
var token = $("meta[name='_csrf']").attr("content");
var header = $("meta[name='_csrf_header']").attr("content");
$(document).ajaxSend(function(e, xhr, options) {
xhr.setRequestHeader(header, token);
});
});
/* To display the prescreene... | 49,058 |
https://github.com/seismolog-bit/ppdb-kemenag/blob/master/application/views/pengaturan/Pengaturan.php | Github Open Source | Open Source | MIT | null | ppdb-kemenag | seismolog-bit | PHP | Code | 1,614 | 7,701 | <!-- Custom Tabs -->
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1" data-toggle="tab"><i class="fa fa-gear"></i> Pengaturan Umum</a></li>
<li><a href="#tab_2" data-toggle="tab"><i class="fa fa-database"></i> Backup & Restore</a></li>
<li><a href="#t... | 37,455 |
https://github.com/keven0706/lxlib/blob/master/lxlib/auth/bond/userProvider.lua | Github Open Source | Open Source | MIT | 2,018 | lxlib | keven0706 | Lua | Code | 28 | 94 |
local __ = {
_cls_ = ''
}
function __:retrieveById(identifier) end
function __:retrieveByToken(identifier, token) end
function __:updateRememberToken(user, token) end
function __:retrieveByCredentials(credentials) end
function __:validateCredentials(user, credentials) end
return __
| 42,088 |
https://github.com/DaoSen-v/giantstar/blob/master/giantstar/drivers/webDriver.py | Github Open Source | Open Source | MIT | 2,021 | giantstar | DaoSen-v | Python | Code | 443 | 2,001 | # _*_encoding=utf8_*_
# @Time : 2021/4/29 17:38
# @Author : xuyong
# @Email: yong1.xu@casstime.com
import time
from typing import Dict
import allure
from appium.webdriver.webdriver import WebDriver as AppDriver
from giantstar.utils.logger import logger
from giantstar.assert_.web import WEBAssert
from giantstar.driv... | 5,698 |
https://github.com/dbgate/datadmin/blob/master/Plugin.oracle/OracleDumpLoader.cs | Github Open Source | Open Source | MIT | null | datadmin | dbgate | C# | Code | 60 | 185 | using System;
using System.Collections.Generic;
using System.Text;
using DatAdmin;
namespace Plugin.oracle
{
public class OracleDumpLoader : DumpLoaderBase
{
public OracleDumpLoader(ISqlDialect dialect)
: base(dialect)
{
}
protected override bool UseSpecificSplitt... | 16,317 |
https://github.com/rahukal/php/blob/master/___getMasterList.php | Github Open Source | Open Source | Apache-2.0 | null | php | rahukal | PHP | Code | 152 | 933 | <?php
ini_set('display_errors',1);
error_reporting(E_ALL);
require '../conn/MySQL.php';
require_once("../classes/class.SiteManager.php");
require("GTranslate.php");
$dbcon = new MySQL();
$siteObj = new SiteManager();
$gt = new Gtranslate;
$locale = $_REQUEST['locale'];
if($locale!='')
{
// for evaluating the tra... | 16,056 |
https://github.com/PenguinOfWar/twing/blob/master/test/tests/integration/fixtures/async/filter/index.twig | Github Open Source | Open Source | BSD-2-Clause | 2,018 | twing | PenguinOfWar | Twig | Code | 3 | 9 | {{ "bar"|async_foo }} | 6,139 |
https://github.com/slawekstu/credo-classify/blob/master/frontend/src/site/user/UserPage.tsx | Github Open Source | Open Source | MIT | 2,020 | credo-classify | slawekstu | TSX | Code | 51 | 113 | import React, { useContext } from "react";
import { AppContext } from "../../context/AppContext";
import DetailsPage from "./DetailsPage";
import LoginPage from "./LoginPage";
const UserPage: React.FC = () => {
const { token } = useContext(AppContext);
if (token) {
return <DetailsPage />;
} else {
retur... | 45,482 |
https://github.com/Y-sir/spark-cn/blob/master/sql/catalyst/target/java/org/apache/spark/sql/catalyst/analysis/SubstituteUnresolvedOrdinals.java | Github Open Source | Open Source | BSD-2-Clause, Apache-2.0, CC0-1.0, MIT, MIT-0, ECL-2.0, BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause | null | spark-cn | Y-sir | Java | Code | 42 | 184 | package org.apache.spark.sql.catalyst.analysis;
/**
* Replaces ordinal in 'order by' or 'group by' with UnresolvedOrdinal expression.
*/
public class SubstituteUnresolvedOrdinals extends org.apache.spark.sql.catalyst.rules.Rule<org.apache.spark.sql.catalyst.plans.logical.LogicalPlan> {
public SubstituteUnresolve... | 17,288 |
https://github.com/guhanjie/aliyun-log-java-sdk/blob/master/src/main/java/com/aliyun/openservices/log/response/UntagResourcesResponse.java | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause | 2,022 | aliyun-log-java-sdk | guhanjie | Java | Code | 25 | 89 | package com.aliyun.openservices.log.response;
import java.util.Map;
public class UntagResourcesResponse extends Response {
private static final long serialVersionUID = -1851046120360298923L;
public UntagResourcesResponse(Map<String, String> headers) {
super(headers);
}
}
| 23,349 |
https://github.com/linlanye/lin-components/blob/master/tests/basement/ConfigTest.php | Github Open Source | Open Source | Apache-2.0 | 2,020 | lin-components | linlanye | PHP | Code | 162 | 969 | <?php
/**
* @Author: 林澜叶(linlanye)
* @Contact: <linlanye@sina.cn>
* @Date: 2018-05-21 20:06:39
* @Modified time: 2018-11-20 11:10:05
* @Depends on Linker: None
* @Description: 测试配置类,该类属于全局变量,测试方法顺序不能变
*/
namespace lin\tests\basement;
use lin\basement\config\Con... | 52,120 |
https://github.com/joseasanchezzz91/crudlaravel/blob/master/resources/views/marca-index.blade.php | Github Open Source | Open Source | MIT | 2,018 | crudlaravel | joseasanchezzz91 | Blade | Code | 50 | 250 | <head>
<title>Marcas</title>
<link rel="stylesheet" type="text/css" href="{{ asset("css/app.css") }}">
</head>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="{{ url('/') }}">Laravel</a>
</div>
<ul class="nav navbar-nav">... | 38,639 |
https://github.com/dbathon/gvds/blob/master/src/main/java/dbathon/web/gvds/util/JpaUtil.java | Github Open Source | Open Source | MIT | null | gvds | dbathon | Java | Code | 153 | 432 | package dbathon.web.gvds.util;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
public final class JpaUtil {
private JpaUtil() {}
public static <T> List<T> query(EntityManager entityManager, Class<T> resultType,
String queryString, Object... parameters) {... | 19,013 |
https://github.com/isgasho/petstore/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,019 | petstore | isgasho | Ignore List | Code | 6 | 25 | *~*
*.db
*.bak
/dist
/petstore
/coverage.txt
| 31,459 |
https://github.com/WickerMan2000/Weather_Forecast/blob/master/src/App.js | Github Open Source | Open Source | MIT | 2,021 | Weather_Forecast | WickerMan2000 | JavaScript | Code | 130 | 398 | import React, { Fragment, useContext, useEffect, useState } from 'react';
import { fecthingData, requestConfiguration } from './HelperFunctions/myHelperFunctions';
import InputContext from './store/InputContext';
import Forecast from './components/Forecast';
import Details from './components/Details';
import Search fro... | 30,820 |
https://github.com/LinqLover/WindowAcrobatics/blob/master/packages/WindowAcrobatics-Core.package/WASwitcher.class/instance/extendedWorldBounds.st | Github Open Source | Open Source | MIT | 2,017 | WindowAcrobatics | LinqLover | null | Spoken | 19 | 40 | helper
extendedWorldBounds
^ (1 - self class spaceNumber @ 0 extent: self class numberOfSpaces @ 1)
scaleBy: ActiveWorld extent | 14,013 |
https://github.com/prooph/message-flow-analyzer/blob/master/src/Cli/AnalyzeProjectCommand.php | Github Open Source | Open Source | BSD-3-Clause | 2,022 | message-flow-analyzer | prooph | PHP | Code | 317 | 1,147 | <?php
/**
* This file is part of prooph/message-flow-analyzer.
* (c) 2017-2019 Alexander Miertsch <kontakt@codeliner.ws>
* (c) 2017-2019 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code... | 24,046 |
https://github.com/mohsinalimat/clearkeep-ios/blob/master/ClearKeep/Ultils/CKColor.swift | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-warranty-disclaimer | 2,019 | clearkeep-ios | mohsinalimat | Swift | Code | 354 | 1,217 | //
// CKColor.swift
// Riot
//
// Created by Pham Hoa on 1/3/19.
// Copyright © 2019 matrix.org. All rights reserved.
//
import Foundation
class CKColor {
struct Text {
static let primaryGreenColor: UIColor = #colorLiteral(red: 0.3921568627, green: 0.8078431373, blue: 0.6235294118, alpha: 1)
... | 23,765 |
https://github.com/mattcalabrese/argot/blob/master/include/argot/convert_future.hpp | Github Open Source | Open Source | BSL-1.0 | 2,021 | argot | mattcalabrese | C++ | Code | 280 | 942 | /*==============================================================================
Copyright (c) 2017, 2018, 2019 Matt Calabrese
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=======================================... | 1,572 |
https://github.com/ariasheets-wk/frugal/blob/master/examples/python.asyncio/nats_client.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | frugal | ariasheets-wk | Python | Code | 229 | 767 | import os
import logging
import sys
import asyncio
import uuid
from nats.aio.client import Client as NatsClient
from thrift.protocol import TBinaryProtocol
from thrift.transport.TTransport import TTransportException
from frugal.context import FContext
from frugal.protocol import FProtocolFactory
from frugal.provider i... | 20,131 |
https://github.com/bigbossx/weex-learn/blob/master/src/mixins/index.js | Github Open Source | Open Source | MIT | 2,019 | weex-learn | bigbossx | JavaScript | Code | 24 | 69 | // let stream = weex.requireModule("stream")
import axios from "axios"
export default {
methods: {
async Axios (api) {
return await axios.get(`http://localhost:4000${api}`)
},
},
}
| 993 |
https://github.com/havenlove/phpcms/blob/master/phpcms/modules/vote/uninstall/vote_subject.sql | Github Open Source | Open Source | Apache-2.0 | 2,021 | phpcms | havenlove | SQL | Code | 5 | 16 | DROP TABLE IF EXISTS `phpcms_vote_subject`; | 2,938 |
https://github.com/openlattice/lattice-orgs/blob/master/src/containers/org/people/utils/constants.js | Github Open Source | Open Source | Apache-2.0 | 2,022 | lattice-orgs | openlattice | JavaScript | Code | 38 | 92 | // @flow
export const ROLE :'role' = 'role';
export const AUTHORIZATION :'authorization' = 'authorization';
export const SOCIAL :'social' = 'social';
export const SAML :'saml' = 'saml';
export const SAMLP :'samlp' = 'samlp';
export const AUTH0 :'auth0' = 'auth0';
| 19,784 |
https://github.com/liadgi/akka_irc/blob/master/src/main/java/Shared/Messages/SetUserListInChannelMessage.java | Github Open Source | Open Source | LicenseRef-scancode-public-domain, CC0-1.0 | 2,017 | akka_irc | liadgi | Java | Code | 14 | 37 | package Shared.Messages;
import java.util.List;
public class SetUserListInChannelMessage extends Message {
public String user;
}
| 32,295 |
https://github.com/landau/node-trie/blob/master/.eslintrc.js | Github Open Source | Open Source | MIT | null | node-trie | landau | JavaScript | Code | 7 | 38 | module.exports = {
extends: ['@landau/eslint-config', '@landau/eslint-config/rules/ts'],
};
| 30,351 |
https://github.com/bj0rnar/ProjectTicketService/blob/master/src/main/java/TicketService/Controller/ScreenController.java | Github Open Source | Open Source | Unlicense | null | ProjectTicketService | bj0rnar | Java | Code | 64 | 210 | package TicketService.Controller;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import java.util.HashMap;
public class ScreenController {
private HashMap<String, Pane> screenMap = new HashMap<String, Pane>();
private Scene main;
public ScreenController(Scene main) {
this.main = m... | 27,366 |
https://github.com/vleango/japan_reader_ios/blob/master/japanese-memo/app/managers/attibuted_strings/ArtibutedArticle.swift | Github Open Source | Open Source | MIT | null | japan_reader_ios | vleango | Swift | Code | 373 | 1,245 | //
// ArtibutedArticle.swift
// japanese-memo
//
// Created by Tha Leang on 5/3/16.
// Copyright © 2016 Tha Leang. All rights reserved.
//
import Foundation
import UIKit
import RealmSwift
class ArtibutedArticle:ArtibutedBase {
var article:Article
var coverImage:UIImage?
enum parts:String {ca... | 15,149 |
https://github.com/tbtb01/rack-json_schema/blob/master/spec/rack/spec/mock_spec.rb | Github Open Source | Open Source | MIT | 2,016 | rack-json_schema | tbtb01 | Ruby | Code | 197 | 724 | require "spec_helper"
describe Rack::JsonSchema::Mock do
include Rack::Test::Methods
let(:app) do
local_schema = schema
Rack::Builder.app do
use Rack::JsonSchema::ErrorHandler
use Rack::JsonSchema::Mock, schema: local_schema
run ->(env) do
[
200,
{},
... | 10,582 |
https://github.com/desarrollomeetcce/whaticket/blob/master/backend/src/server.ts | Github Open Source | Open Source | MIT | 2,021 | whaticket | desarrollomeetcce | TypeScript | Code | 159 | 574 | import gracefulShutdown from "http-graceful-shutdown";
import app from "./app";
import { initIO } from "./libs/socket";
import { logger } from "./utils/logger";
import { StartAllWhatsAppsSessions } from "./services/WbotServices/StartAllWhatsAppsSessions";
import ProgramatedMessage from "./models/ProgramatedMessage";
i... | 34,880 |
https://github.com/qbrc-cnap/cnap/blob/master/transfer_app/docker_containers/google/downloads/dropbox/container_startup.py | Github Open Source | Open Source | MIT | 2,021 | cnap | qbrc-cnap | Python | Code | 800 | 2,835 | #! /usr/bin/python3
import os
import io
import subprocess as sp
import argparse
import dropbox
import datetime
from Crypto.Cipher import DES
import base64
import requests
from google.cloud import logging
from apiclient.discovery import build
MOUNT_DIR = '/gcs_mount'
DEFAULT_TIMEOUT = 60
DEFAULT_CHUNK_SIZE = 150*1024*... | 1,888 |
https://github.com/aladics/DeepWaterFramework/blob/master/DWF-angular-ui/src/app/shared/components/page-header/page-header.component.scss | Github Open Source | Open Source | Apache-2.0 | 2,021 | DeepWaterFramework | aladics | SCSS | Code | 29 | 104 | .page-header {
display: flex;
align-items: center;
margin: -16px -16px 16px -16px;
padding: 32px 16px;
font-size: 20px;
font-weight: 500;
&__error-icon {
margin-right: 8px;
}
&__actions {
margin-left: auto;
}
}
| 13,736 |
https://github.com/jongalloway/AspNetCore.Docs/blob/master/aspnetcore/security/authentication/customize-identity-model/samples/2.0/RazorPagesSampleApp/Data/ApplicationRole.cs | Github Open Source | Open Source | CC-BY-4.0, MIT | 2,019 | AspNetCore.Docs | jongalloway | C# | Code | 22 | 59 | using System;
using Microsoft.AspNetCore.Identity;
namespace RazorPagesSampleApp.Data
{
public class ApplicationRole : IdentityRole<Guid>
{
public string Description { get; set; }
}
}
| 37,137 |
https://github.com/Romantic-LiXuefeng/launcher/blob/master/launcher-src/launcher/external/chromium/net/server/test_server.cc | Github Open Source | Open Source | BSD-2-Clause | 2,020 | launcher | Romantic-LiXuefeng | C++ | Code | 1,783 | 8,538 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/server/test_server.h"
#include <utility>
#include "base/bind.h"
#include "base/compiler_specific.h"
#include "base/location.h"
#includ... | 30,368 |
https://github.com/faisalferoz/nosql-unit/blob/master/nosqlunit-marklogic/src/main/java/com/lordofthejars/nosqlunit/util/SpringUtils.java | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, Apache-2.0 | 2,022 | nosql-unit | faisalferoz | Java | Code | 113 | 309 | package com.lordofthejars.nosqlunit.util;
import org.springframework.context.ApplicationContext;
import java.util.Map;
import static ch.lambdaj.collection.LambdaCollections.with;
import static org.hamcrest.CoreMatchers.anything;
public abstract class SpringUtils {
private SpringUtils() {
//hidden cons... | 12,258 |
https://github.com/nahuelproietto/swift-graph-engine/blob/master/Sources/IO/Atomic.swift | Github Open Source | Open Source | MIT | 2,021 | swift-graph-engine | nahuelproietto | Swift | Code | 312 | 589 | // Copyright (c) 2012-2021 Nahuel Proietto
//
// 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, p... | 16,518 |
https://github.com/threefoldtech/Threefold-Circles-front/blob/master/app/partials/team/team.jade | Github Open Source | Open Source | Apache-2.0 | null | Threefold-Circles-front | threefoldtech | null | Spoken | 15 | 93 | doctype html
div.wrapper(ng-controller="TeamController as ctrl", ng-init="section='team'")
tg-project-menu
sidebar.menu-secondary
include ../includes/modules/team/team-filters
section.main.team
include ../includes/components/mainTitle
include ../includes/modules/team/team-table
| 10,168 |
https://github.com/Aquariusjames/learnSpace/blob/master/java-8-demo/src/main/java/com/insightfullogic/java8/demo/pojo/Book.java | Github Open Source | Open Source | MIT | 2,018 | learnSpace | Aquariusjames | Java | Code | 137 | 349 | package com.insightfullogic.java8.demo.pojo;
import java.util.Date;
public class Book {
private String author;
private String tag;
private String name;
private Date releaseDate;
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getTa... | 51,643 |
https://github.com/florincioroianu/bioritm/blob/master/Assets/Scripts/monthDropDown.cs | Github Open Source | Open Source | MIT | null | bioritm | florincioroianu | C# | Code | 80 | 312 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class monthDropDown : MonoBehaviour
{
List<string> month = new List<string>();
public Dropdown birthMonthDropdown;
public Text selectedMonth;
public static int birthMonth;
pub... | 33,437 |
https://github.com/markdcross/markdcross.github.io/blob/master/server.js | Github Open Source | Open Source | MIT | null | markdcross.github.io | markdcross | JavaScript | Code | 75 | 222 | //* =================================
//* Dependencies
//* =================================
const express = require('express');
const bodyParser = require('body-parser');
const path = require('path');
const nodemailer = require('nodemailer');
const compression = require('compression');
const app = express();
//* ====... | 46,116 |
https://github.com/guohaoxiang/CE-PolyCube-1/blob/master/extern/OpenMesh/src/Unittests/unittests_vector_type.cc | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,020 | CE-PolyCube-1 | guohaoxiang | C++ | Code | 364 | 1,340 | #include <gtest/gtest.h>
#include <Unittests/unittests_common.hh>
#include <iostream>
namespace {
class OpenMeshVectorTest : public testing::Test {
protected:
// This function is called before each test is run
virtual void SetUp() {
// Do some initial stuff with the memb... | 21,383 |
https://github.com/subugoe/atom-existdb/blob/master/lib/existdb.coffee | Github Open Source | Open Source | MIT | 2,018 | atom-existdb | subugoe | CoffeeScript | Code | 1,631 | 5,998 | EXistTreeView = require './existdb-tree-view'
SymbolsView = require './symbols.js'
ImportsView = require './imports.js'
quickfix = require './quickfix.js'
Config = require './project-config'
{CompositeDisposable, Range, Emitter} = require 'atom'
request = require 'request'
Provider = require "./provider"
Sync = require... | 15,346 |
https://github.com/AnzhelikaO/WorldEdit/blob/master/WorldEdit/Commands/Copy.cs | Github Open Source | Open Source | MIT | 2,023 | WorldEdit | AnzhelikaO | C# | Code | 72 | 217 | using TShockAPI;
namespace WorldEdit.Commands
{
public class Copy : WECommand
{
string save;
public Copy(int x, int y, int x2, int y2, TSPlayer plr, string save)
: base(x, y, x2, y2, plr)
{
this.save = save;
}
public override void Execute()
{
if (!CanUseCommand()) { return; }
... | 23,387 |
https://github.com/SteveGilham/Gendarme/blob/master/gendarme/CecilExtensions/Augment.fs | Github Open Source | Open Source | MIT | 2,022 | Gendarme | SteveGilham | null | Spoken | 36 | 95 | namespace AltCode.CecilExtensions
[<AutoOpen>]
module internal Augment =
type System.Object with
member self.IsNotNull
with get() =
self |> isNull |> not
type Microsoft.FSharp.Core.Option<'T> with
static member defaultValue (fallback : 'T) (x : option<'T>) = defaultArg x fallback | 50,160 |
https://github.com/hobroker/restante-utm/blob/master/server/features/death/constants.js | Github Open Source | Open Source | MIT | null | restante-utm | hobroker | JavaScript | Code | 5 | 12 | export const DEATH_TIMEOUT = 1000;
| 40,287 |
https://github.com/choppedpork/humanlog/blob/master/scanner.go | Github Open Source | Open Source | Apache-2.0 | 2,021 | humanlog | choppedpork | Go | Code | 141 | 472 | package humanlog
import (
"bufio"
"bytes"
"io"
"github.com/aybabtme/humanlog/parser/logfmt"
)
var (
eol = [...]byte{'\n'}
)
// Scanner reads logfmt'd lines from src and prettify them onto dst.
// If the lines aren't logfmt, it will simply write them out with no
// prettification.
func Scanner(src io.Reader, ds... | 25,390 |
https://github.com/andyjohn23/E-DUKA-FRONT-END/blob/master/src/app/models/sub-category.spec.ts | Github Open Source | Open Source | 2,021 | E-DUKA-FRONT-END | andyjohn23 | TypeScript | Code | 21 | 53 | import { SubCategory } from './sub-category';
describe('SubCategory', () => {
it('should create an instance', () => {
expect(new SubCategory()).toBeTruthy();
});
});
| 22,390 | |
https://github.com/amin3536/kvision/blob/master/bintray.gradle | Github Open Source | Open Source | MIT | 2,019 | kvision | amin3536 | Gradle | Code | 57 | 193 | bintray {
user = findProperty('buser')
key = findProperty('bkey')
pkg {
repo = 'kotlin'
name = "${project.name}"
licenses = ['MIT']
vcsUrl = "https://github.com/rjaros/kvision.git"
version {
name = "${project.version}"
desc = 'Object oriented w... | 37,712 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.