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/vNaonLu/daily-leetcode/blob/master/src/q_301_350/q0334.cc | Github Open Source | Open Source | MIT | 2,021 | daily-leetcode | vNaonLu | C++ | Code | 248 | 725 | #include <gtest/gtest.h>
#include <iostream>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py v1.0
*
* 334.
* Increasing Triplet Subsequence
*
* โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Description โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
*
* Given an integer array โnumsโ , return โtrue... | 43,101 |
https://github.com/awesomedotnetcore/RedisearchSharp/blob/master/RediSearchSharp/Internal/RedisearchConventions.cs | Github Open Source | Open Source | MIT | 2,018 | RedisearchSharp | awesomedotnetcore | C# | Code | 123 | 452 | ๏ปฟusing System;
using System.Linq;
using System.Reflection;
using RediSearchSharp.Query;
namespace RediSearchSharp.Internal
{
public class RedisearchConventions : IRedisearchConventions
{
public static IRedisearchConventions DefaultConventions => new RedisearchConventions();
public virtual stri... | 5,465 |
https://github.com/seanbaxter/bde-1/blob/master/thirdparty/inteldfp/LIBRARY/src/inteldfp/bid128_logbd.c | Github Open Source | Open Source | Apache-2.0 | 2,022 | bde-1 | seanbaxter | C | Code | 345 | 1,004 | /******************************************************************************
Copyright (c) 2011, Intel Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source c... | 40,564 |
https://github.com/ab2h/crypto/blob/master/src/blockmode/siv.rs | Github Open Source | Open Source | MIT | 2,020 | crypto | ab2h | Rust | Code | 1,622 | 6,871 | // NIST Special Publication 800-38B
// Recommendation for Block Cipher Modes of Operation: The CMAC Mode for Authentication
// https://nvlpubs.nist.gov/nistpubs/specialpublications/nist.sp.800-38b.pdf
//
// The AES-CMAC Algorithm
// https://tools.ietf.org/html/rfc4493
//
// Synthetic Initialization Vector (SIV) Authe... | 6,738 |
https://github.com/zetta-code/zenvia/blob/master/src/Http/SmsRequest.php | Github Open Source | Open Source | MIT | null | zenvia | zetta-code | PHP | Code | 617 | 2,016 | <?php
/**
* @link https://github.com/zetta-code/zenvia for the canonical source repository
* @copyright Copyright (c) 2017 Zetta Code
* @license https://github.com/zetta-code/zenvia/blob/master/LICENSE.d
*/
declare(strict_types=1);
namespace Zetta\Zenvia\Http;
use DateTime;
use Zetta\Zenvia\Contract\SmsR... | 14,823 |
https://github.com/open-mpi/ompi-www/blob/master/community/lists/devel/2014/07/15331.php | Github Open Source | Open Source | BSD-3-Clause | 2,023 | ompi-www | open-mpi | PHP | Code | 1,171 | 5,567 | <?
$subject_val = "Re: [OMPI devel] [OMPI svn] svn:open-mpi r32346 - trunk/opal/mca/btl/openib";
include("../../include/msg-header.inc");
?>
<!-- received="Tue Jul 29 18:06:33 2014" -->
<!-- isoreceived="20140729220633" -->
<!-- sent="Tue, 29 Jul 2014 18:06:33 -0400" -->
<!-- isosent="20140729220633" -->
<!-- name="Jos... | 13,212 |
https://github.com/chrisduerr/wayland-rs/blob/master/wayland-backend/src/test/mod.rs | Github Open Source | Open Source | MIT | 2,022 | wayland-rs | chrisduerr | Rust | Code | 479 | 1,951 | #![allow(dead_code, non_snake_case)]
use std::sync::Arc;
use crate::protocol::{Argument, Message};
use crate::rs::{client as client_rs, server as server_rs};
use crate::sys::{client as client_sys, server as server_sys};
macro_rules! expand_test {
($test_name:ident, $test_body:tt) => {
expand_test!(__lis... | 250 |
https://github.com/web2solutions/voodux-vue-vuex-demo/blob/master/src/components/DepositsChartBar.vm.js | Github Open Source | Open Source | MIT | 2,021 | voodux-vue-vuex-demo | web2solutions | JavaScript | Code | 347 | 1,227 | /* globals feather, Chart */
const formatter = new Intl.NumberFormat('en-US', {
minimumFractionDigits: 2,
maximumFractionDigits: 2
})
export default {
name: 'DepositsChartBar',
data: () => ({
depositsChartValues: [],
depositsChartLabels: [],
documents: []
}),
watch: {
documents: function (... | 15,077 |
https://github.com/uzumaxy/tea-encryption/blob/master/app/mainwindow.cpp | Github Open Source | Open Source | MIT | 2,020 | tea-encryption | uzumaxy | C++ | Code | 99 | 447 | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "teaencryptor.h"
#include <stdint.h>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_pushButtonEncrypt_clicked()
{
... | 7,571 |
https://github.com/arc6828/volunteer/blob/master/sql/packed/semester/resources/views/semester/edit.blade.php | Github Open Source | Open Source | MIT | 2,018 | volunteer | arc6828 | Blade | Code | 69 | 292 | @extends('template-pricing.blade.php')
<link href="{{ url('/') }}/style.css" rel="stylesheet" type="text/css">
@section('content')
@forelse($table_semester as $row)
<h1>Edit semester : {{ $row->id_semester }}</h1>
<form action="{{ url('/') }}/semester/{{ $row->id_semester }}" method="POST">
{{ csrf_field() }}
{{ ... | 38,542 |
https://github.com/robwillup/qwest/blob/master/src/Quest/Commands/Config/ConfigHandler.cs | Github Open Source | Open Source | MIT | 2,021 | qwest | robwillup | C# | Code | 58 | 227 | ๏ปฟusing Quest.Data.Help;
using Quest.IO.StdOut;
using System;
namespace Quest.Commands.Config
{
public static class ConfigHandler
{
public static bool Handle(string[] args)
{
try
{
if (args.Length < 2)
return HelpDisplayer.WriteHelpMess... | 41,722 |
https://github.com/Hypermona/material-ui/blob/master/docs/src/pages/system/basics/BreakpointsAsObject.tsx | Github Open Source | Open Source | MIT | 2,021 | material-ui | Hypermona | TSX | Code | 44 | 101 | import * as React from 'react';
import Box from '@material-ui/core/Box';
export default function BreakpointsAsObject() {
return (
<div>
<Box sx={{ width: { xs: 100, sm: 200, md: 300, lg: 400, xl: 500 } }}>
This box has a responsive width.
</Box>
</div>
);
}
| 6,655 |
https://github.com/chenyg1119/fluid-simulation/blob/master/Fluid2d/core/boussinesqTS.py | Github Open Source | Open Source | MIT | null | fluid-simulation | chenyg1119 | Python | Code | 478 | 1,900 | from operators import Operators
from variables import Var
from timescheme import Timescheme
from importlib import import_module
import fortran_diag as fd
import fortran_advection as fa
import numpy as np
class BoussinesqTS(object):
""" Boussinesq model with temperature and salinity
It provides the step(t,dt)... | 17,208 |
https://github.com/abusch/rustracer/blob/master/rustracer-core/src/material/matte.rs | Github Open Source | Open Source | Apache-2.0, MIT | 2,022 | rustracer | abusch | Rust | Code | 147 | 630 | use std::sync::Arc;
use light_arena::Allocator;
use log::info;
use crate::bsdf::{BxDFHolder, LambertianReflection, OrenNayar, BSDF};
use crate::clamp;
use crate::interaction::SurfaceInteraction;
use crate::material::{Material, TransportMode};
use crate::paramset::TextureParams;
use crate::spectrum::Spectrum;
use crat... | 7,355 |
https://github.com/Archimedes1618/safewallet/blob/master/gui/FairExchange-GUI/react/src/actions/actions/addCoin.js | Github Open Source | Open Source | GPL-3.0-only, MIT | 2,018 | safewallet | Archimedes1618 | JavaScript | Code | 727 | 2,832 | import { ACTIVE_HANDLE } from '../storeType';
import { translate } from '../../translate/translate';
import Config from '../../config';
import {
triggerToaster,
toggleAddcoinModal,
getDexCoins,
shepherdElectrumCoins,
} from '../actionCreators';
import {
startCurrencyAssetChain,
startAssetChain,
startCrypt... | 46,332 |
https://github.com/korcilm/Laravel8-travel-and-activity/blob/master/resources/views/layouts/admin.blade.php | Github Open Source | Open Source | MIT | null | Laravel8-travel-and-activity | korcilm | PHP | Code | 166 | 1,178 | <!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>srtdash - ICO Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="{{asset('as... | 3,242 |
https://github.com/maciejjaskiewicz/FacelinkStudio/blob/master/src/Utils/Random.cpp | Github Open Source | Open Source | MIT | 2,020 | FacelinkStudio | maciejjaskiewicz | C++ | Code | 74 | 216 | #include "Random.hpp"
namespace Fls
{
int Random::generateInt(const int min, const int max)
{
static thread_local std::mt19937 generator;
const std::uniform_int_distribution<int> distribution(min, max);
return distribution(generator);
}
std::string Random::generateHex(const uin... | 48,682 |
https://github.com/jcoehoorn/basic-computer-games/blob/master/38_Fur_Trader/furtrader.bas | Github Open Source | Open Source | Unlicense | 2,022 | basic-computer-games | jcoehoorn | Visual Basic | Code | 986 | 2,651 | 1 DIM F(4)
2 PRINT TAB(31);"FUR TRADER"
4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
6 PRINT: PRINT: PRINT
15 GOSUB 1091
16 LET I=600
17 PRINT "DO YOU WISH TO TRADE FURS?"
18 GOSUB 1402
19 IF B$="YES" THEN 100
20 IF B$="YES " THEN 100
21 STOP
100 PRINT
101 PRINT "YOU HAVE $";I " SAVINGS."
102 PRINT "... | 23,592 |
https://github.com/samrushing/caesure/blob/master/caesure/connection.py | Github Open Source | Open Source | BSD-2-Clause | 2,021 | caesure | samrushing | Python | Code | 573 | 1,791 | # -*- Mode: Python -*-
import re
import random
import struct
import time
import coro
from caesure.bitcoin import dhash, network
from caesure.proto import VERSION, pack_inv, unpack_version, unpack_reject
from coro.log import Facility
LOG = Facility ('conn')
def make_nonce():
return random.randint (0, 1 << 64)
... | 37,863 |
https://github.com/LykkeCity/Lykke.Service.PayPushNotifications/blob/master/src/Lykke.Service.PayPushNotifications.Services/NotificationClientFactory.cs | Github Open Source | Open Source | MIT | null | Lykke.Service.PayPushNotifications | LykkeCity | C# | Code | 51 | 203 | ๏ปฟusing Lykke.Service.PayPushNotifications.Core.Domain;
using Lykke.Service.PayPushNotifications.Core.Services;
using System;
using System.Collections.Generic;
namespace Lykke.Service.PayPushNotifications.Services
{
public class NotificationClientFactory : INotificationClientFactory
{
private readonly D... | 47,841 |
https://github.com/JoonasVali/Mirrors/blob/master/mirrors-core/src/main/java/ee/joonasvali/mirrors/scene/ParticleEmitterProperties.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | Mirrors | JoonasVali | Java | Code | 11 | 42 | package ee.joonasvali.mirrors.scene;
public interface ParticleEmitterProperties {
double getDensity();
double getVelocity();
}
| 39,708 |
https://github.com/ScalablyTyped/Distribution/blob/master/a/appium-adb/src/main/scala/typings/appiumAdb/anon/GSMVOICEDENIED.scala | Github Open Source | Open Source | MIT | 2,023 | Distribution | ScalablyTyped | Scala | Code | 166 | 815 | package typings.appiumAdb.anon
import typings.appiumAdb.appiumAdbStrings.denied
import typings.appiumAdb.appiumAdbStrings.home
import typings.appiumAdb.appiumAdbStrings.off
import typings.appiumAdb.appiumAdbStrings.on
import typings.appiumAdb.appiumAdbStrings.roaming
import typings.appiumAdb.appiumAdbStrings.searching... | 1,776 |
https://github.com/Taye310/Editor/blob/master/editor/engine-test-game/src/Command/Command.ts | Github Open Source | Open Source | MIT | 2,017 | Editor | Taye310 | TypeScript | Code | 234 | 973 | interface Command {
execute(callback: Function): void;
cancel(callback: Function): void;
}
class WalkCommand implements Command {
private chara: Character;
private x;
private y;
private path: TileNode[];
constructor(chara: Character, x: number, y: number, path: TileNode[]) {
thi... | 33,375 |
https://github.com/tuenti/yui3/blob/master/src/io/tests/js/events-tests.js | Github Open Source | Open Source | MIT | 2,015 | yui3 | tuenti | JavaScript | Code | 345 | 1,176 | YUI.add('events-tests', function(Y) {
var suite = new Y.Test.Suite('IO Events Tests');
suite.add(new Y.Test.Case({
name: 'Transaction flow test',
testSuccess: function() {
var actual = [], t = this;
this.success = ['start', 'complete', 'success', 'end'],
thi... | 20,659 |
https://github.com/filippoferri/filippoferri-ux/blob/master/src/styles/components/_content.sass | Github Open Source | Open Source | MIT | null | filippoferri-ux | filippoferri | Sass | Code | 594 | 2,170 | .content
.title.has-marked-subtitle
font-size: 2rem
margin-bottom: 2rem
.subtitle.is-marked
display: inline-block
margin: 1.5rem 0
position: relative
font-family: $family-heading
text-transform: uppercase
font-weight: 700
font-size: 1rem
line-height: 2rem
padding-right:... | 4,682 |
https://github.com/SCOREC/nektar/blob/master/solvers/IncNavierStokesSolver/CMakeLists.txt | Github Open Source | Open Source | MIT | 2,015 | nektar | SCOREC | CMake | Code | 108 | 1,690 | CMAKE_DEPENDENT_OPTION(NEKTAR_SOLVER_INCNAVIERSTOKES
"Build the Incompressible Navier-Stokes solver." ON
"NEKTAR_BUILD_SOLVERS" OFF)
IF( NEKTAR_SOLVER_INCNAVIERSTOKES )
SET(IncNavierStokesSolverSource
./EquationSystems/CoupledLinearNS.cpp
./EquationSystems/CoupledLocalToGlobalC0ContMap.cpp
... | 36,406 |
https://github.com/reach2nasrudeen/SimpleStorage/blob/master/sample/src/main/java/com/anggrayudi/storage/sample/StorageInfoAdapter.kt | Github Open Source | Open Source | Apache-2.0 | 2,021 | SimpleStorage | reach2nasrudeen | Kotlin | Code | 336 | 1,295 | package com.anggrayudi.storage.sample
import android.annotation.SuppressLint
import android.content.Context
import android.os.Build
import android.os.Environment
import android.text.format.Formatter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
i... | 3,147 |
https://github.com/cloud-ready/spring-cloud-config/blob/master/spring-cloud-config-server/src/main/java/cn/home1/cloud/config/server/environment/GitParentSupportMultipleJGitEnvironmentRepository.java | Github Open Source | Open Source | MIT | 2,018 | spring-cloud-config | cloud-ready | Java | Code | 287 | 986 | package cn.home1.cloud.config.server.environment;
import static com.google.common.collect.Sets.newLinkedHashSet;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.apache.commons.lang3.StringUtils.isNotBlank;
import cn.home1.cloud.config.server.security.ConfigSecurity;
import cn.home1.cloud... | 36,507 |
https://github.com/QUDUSKUNLE/Ideabox/blob/master/client/test/components/UpdatePasswordPage.spec.js | Github Open Source | Open Source | MIT | null | Ideabox | QUDUSKUNLE | JavaScript | Code | 53 | 161 | import React from 'react';
import Enzyme, { shallow } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import UpdatePasswordPage from '../../src/components/UpdatePasswordPage';
Enzyme.configure({ adapter: new Adapter() });
describe('<UpdatePasswordPage />', () => {
it('component should be defined', () ... | 31,002 |
https://github.com/Granary/granary2/blob/master/granary/tool.h | Github Open Source | Open Source | MIT | 2,022 | granary2 | Granary | C | Code | 605 | 1,455 | /* Copyright 2014 Peter Goodman, all rights reserved. */
#ifndef GRANARY_TOOL_H_
#define GRANARY_TOOL_H_
#include "granary/base/base.h"
#include "granary/base/list.h"
#include "granary/base/operator.h"
#include "granary/entry.h"
#include "granary/exit.h"
#include "granary/init.h"
#include "granary/metadata.h"
names... | 24,172 |
https://github.com/rafabene/wildfly-quickstarts/blob/master/ejb-security-plus/src/main/java/org/jboss/as/quickstarts/ejb_security_plus/SecurityActions.java | Github Open Source | Open Source | Apache-2.0 | null | wildfly-quickstarts | rafabene | Java | Code | 808 | 2,602 | /*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | 1,618 |
https://github.com/cds-snc/elenchos/blob/master/entrypoint.sh | Github Open Source | Open Source | MIT | 2,019 | elenchos | cds-snc | Shell | Code | 14 | 42 | #!/bin/sh
set -e
sh -c "gcloud auth activate-service-account --key-file docker.json"
sh -c "npm start"
| 35,622 |
https://github.com/devcrmbmp812/subsharedev/blob/master/resources/views/admin/inc/playlist.blade.php | Github Open Source | Open Source | MIT | null | subsharedev | devcrmbmp812 | PHP | Code | 185 | 1,074 | <h2>Add to playlist</h2>
<ul style="list-style:none;" id="sel2">
<?php $playlist_index = 0; ?>
@foreach($playlist as $play)
<?php
if($playlist_index == 0... | 5,482 |
https://github.com/TishoAngelov/ThesesSystem/blob/master/ThesesSystem/ThesesSystem.Data.Tests/Common/FakeData.cs | Github Open Source | Open Source | MIT | 2,015 | ThesesSystem | TishoAngelov | C# | Code | 260 | 1,053 | ๏ปฟnamespace ThesesSystem.Data.Tests.Common
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThesesSystem.Contracts;
using ThesesSystem.Data.Repositories.Base;
using ThesesSystem.Models;
public class FakeData :... | 16,823 |
https://github.com/MaciejGrodecki/LicenseManager/blob/master/tests/LicenseManager.Tests/Repositories/InMemoryComputerRepositoryTests.cs | Github Open Source | Open Source | Net-SNMP, Xnet | null | LicenseManager | MaciejGrodecki | C# | Code | 168 | 727 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using FluentAssertions;
using LicenseManager.Core.Domain;
using LicenseManager.Core.Repositories;
using LicenseManager.Infrastructure.Repositories;
using Xunit;
namespace LicenseManager.Tests.Repositories
{
public class InMemoryComputerR... | 39,575 |
https://github.com/hyperleex/django-auth-adfs/blob/master/django_auth_adfs/exceptions.py | Github Open Source | Open Source | BSD-2-Clause | null | django-auth-adfs | hyperleex | Python | Code | 14 | 33 | class MFARequired(Exception):
"""
Exception to indicate that a MFA auth is required.
"""
pass
| 18,020 |
https://github.com/hbeita/super-productivity/blob/master/src/app/features/issue/issue.module.ts | Github Open Source | Open Source | MIT | 2,020 | super-productivity | hbeita | TypeScript | Code | 67 | 228 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { JiraIssueModule } from './jira/jira-issue/jira-issue.module';
import { IssueHeaderComponent } from './issue-header/issue-header.component';
import { IssueContentComponent } from './issue-content/issue-content.component';
... | 3,799 |
https://github.com/eddiepierce/bde/blob/master/groups/bal/ball/ball_log.t.cpp | Github Open Source | Open Source | Apache-2.0 | 2,020 | bde | eddiepierce | C++ | Code | 20,000 | 52,914 | // ball_log.t.cpp -*-C++-*- #include <ball_log.h> #include <ball_administration.h> #include <ball_attribute.h> #include <ball_attributecontainer.h> #include <ball_attributecontainerlist.h> #include <ball_attributecontext.h> #include <ball_scopedattribute.h> #include <ball_defaultattributecontainer.h> #include <ball_fil... | 46,378 |
https://github.com/raymondbutcher/terraform-stable-archive/blob/master/zip.py | Github Open Source | Open Source | MIT | 2,021 | terraform-stable-archive | raymondbutcher | Python | Code | 234 | 844 | import base64
import fnmatch
import hashlib
import json
import os
import shutil
import stat
import sys
import tempfile
import zipfile
query = json.load(sys.stdin)
empty_dirs = json.loads(query["search"])
search = json.loads(query["search"])
source_dir = query["source_dir"]
output_path = query["output_path"]
source_fi... | 32,361 |
https://github.com/npmmirror/jigsaw/blob/master/src/app/demo/pc/tooltip/moving-tooltip/demo.module.ts | Github Open Source | Open Source | MIT | 2,022 | jigsaw | npmmirror | TypeScript | Code | 41 | 206 | import {NgModule} from "@angular/core";
import {
JigsawMovableModule,
JigsawAlertModule,
JigsawBadgeModule,
JigsawSliderModule,
JigsawTooltipModule,
JigsawButtonModule
} from "jigsaw/public_api";
import {JigsawDemoDescriptionModule} from "app/demo-description/demo-description";
import {MovingToo... | 25,902 |
https://github.com/ElliotVilhelm/IZII/blob/master/test/test_en_passant.py | Github Open Source | Open Source | MIT | 2,022 | IZII | ElliotVilhelm | Python | Code | 182 | 591 | from engine.gen_moves import get_all_moves_at_state
from engine.move import move_at_state
from engine.constants import EN_PAS_INDEX
def test_black_en_passant():
one_from_mate_board = \
"x" * 20 + \
"xoooooooox" + \
"xopoooooox" + \
"xoooooooox" + \
"xooPooooox" + \
... | 47,696 |
https://github.com/americanexpress/xcprojectlint/blob/master/Sources/xcprojectlint/XcodeProjectLint.swift | Github Open Source | Open Source | Apache-2.0 | 2,023 | xcprojectlint | americanexpress | Swift | Code | 364 | 1,049 | /*
* Copyright (c) 2018 American Express Travel Related Services Company, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | 50,721 |
https://github.com/AntonSyzko/antonsyzkotaskmanagercharts/blob/master/src/test/java/com/example/SendEmailTest.java | Github Open Source | Open Source | MIT | null | antonsyzkotaskmanagercharts | AntonSyzko | Java | Code | 147 | 558 | package com.example;
import org.junit.Test;
import org.springframework.mail.MailException;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.MimeMessagePreparator;
import org.springframework.scheduling.annotation.Async;
... | 10,177 |
https://github.com/edicon/angularfire-material-dashboard/blob/master/src/app/admin/test/mocks/index.ts | Github Open Source | Open Source | MIT | 2,020 | angularfire-material-dashboard | edicon | TypeScript | Code | 20 | 64 | export * from './auth-credentials.mock';
export * from './firebase-application-verifier.mock';
export * from './firebase-credential.mock';
export * from './firebase-provider.mock';
export * from './user-info.mock';
| 24,922 |
https://github.com/Morris-G/dataease/blob/master/src/components/TinyMCE/index.vue | Github Open Source | Open Source | MIT | null | dataease | Morris-G | Vue | Code | 351 | 1,517 | <template>
<div class="tinymce-editor" style="background-color: #8a8b8d!important;">
<Editor
:id="tinymceId"
v-model="myValue"
:init="init"
:disabled="disabled"
@onClick="onClick"
/>
</div>
</template>
<script>
import tinymce from 'tinymce/tinymce' // tinymce้ป่ฎคhidden๏ผไธๅผๅ
ฅไธๆพ็คบ
im... | 15,555 |
https://github.com/morningtec/StellaSDK/blob/master/mac/usr/frameworks/StellaKit.framework/Versions/A/Headers/SVScreenMode.h | Github Open Source | Open Source | Apache-2.0 | 2,021 | StellaSDK | morningtec | C | Code | 42 | 144 | /*
* Copyright (c) 2011 Yeecco Limited
*/
#import <Foundation/Foundation.h>
#import <StellaGraphics/StellaGraphics.h>
#import "StellaKitExport.h"
@interface UIScreenMode : NSObject
@property(readonly,nonatomic) CGSize size;
@property(readonly,nonatomic) CGFloat pixelAspectRatio;
/* stella extension */
+ (UIS... | 12,905 |
https://github.com/rainerllera/NGAT/blob/master/NGAT.Domain/Contracts/Filters/IAttributeFilterCollection.cs | Github Open Source | Open Source | Apache-2.0 | 2,017 | NGAT | rainerllera | C# | Code | 64 | 164 | ๏ปฟusing System.Collections.Generic;
namespace NGAT.Business.Contracts.Filters
{
/// <summary>
/// Represents a collection of node filters
/// </summary>
public interface IAttributeFilterCollection : IList<IAttributeFilter>
{
/// <summary>
/// Applies all filters registered in this co... | 30,949 |
https://github.com/touhedul/DevopsAlumni/blob/master/resources/views/includes/ajax_delete.blade.php | Github Open Source | Open Source | MIT | 2,023 | DevopsAlumni | touhedul | Blade | Code | 44 | 147 | <script>
$(document).ready(function () {
$('body').on('click', '.delete', function () {
var dataTable = $('#data-table').DataTable();
var id = $(this).data("id");
if(confirm("Are You sure to delete !")){
$.ajax({
type: '... | 1,490 |
https://github.com/tomoyuki-nakabayashi/AgileSoftwareDevelopment/blob/master/01.SaralySystem/src/payroll_domain/employee.cpp | Github Open Source | Open Source | MIT | null | AgileSoftwareDevelopment | tomoyuki-nakabayashi | C++ | Code | 105 | 343 | // Copyright <2018> Tomoyuki-Nakabayashi
// This software is released under the MIT License, see LICENSE.
#include <payroll_domain/employee.h>
namespace payroll_domain {
Employee::Employee(int id, std::string name, std::string addr)
: employee_id_{id}
, name_{name}
, address_{addr}
, classification_{n... | 17,523 |
https://github.com/saurshaz/expo-storybook/blob/master/packages/app/src/index.tsx | Github Open Source | Open Source | MIT | 2,021 | expo-storybook | saurshaz | TypeScript | Code | 8 | 16 | export { default as PrimaryButton } from './buttons/primary'
| 17,921 |
https://github.com/madhavPdesai/ahir/blob/master/vhdl/unisims/primitive/XOR4.vhd | Github Open Source | Open Source | NCSA, LicenseRef-scancode-unknown-license-reference | 2,023 | ahir | madhavPdesai | VHDL | Code | 139 | 395 | -- $Header: /devl/xcs/repo/env/Databases/CAEInterfaces/vhdsclibs/data/unisims/unisim/VITAL/XOR4.vhd,v 1.1 2008/06/19 16:59:26 vandanad Exp $
-------------------------------------------------------------------------------
-- Copyright (c) 1995/2004 Xilinx, Inc.
-- All Right Reserved.
------------------------------------... | 1,430 |
https://github.com/juliekim9594/theme/blob/master/julie/skin/outlogin/basic/outlogin.skin.1.php | Github Open Source | Open Source | Apache-2.0 | null | theme | juliekim9594 | PHP | Code | 178 | 963 | <?php
if (!defined("_GNUBOARD_")) exit; // ๊ฐ๋ณ ํ์ด์ง ์ ๊ทผ ๋ถ๊ฐ
// add_stylesheet('css ๊ตฌ๋ฌธ', ์ถ๋ ฅ์์); ์ซ์๊ฐ ์์ ์๋ก ๋จผ์ ์ถ๋ ฅ๋จ
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
?>
<!-- ๋ก๊ทธ์ธ ์ ์์๋ก๊ทธ์ธ ์์ { -->
<section id="ol_before" class="ol">
<h2>ํ์๋ก๊ทธ์ธ</h2>
<form name="foutlogin" action="<?php... | 27,178 |
https://github.com/c7ming/Kooboo/blob/master/Kooboo.Sites/InlineEditor/Model/StyleModel.cs | Github Open Source | Open Source | MIT | 2,020 | Kooboo | c7ming | C# | Code | 138 | 346 | //Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kooboo.Sites.InlineEditor.Model
{
public class StyleModel : IInlineModel
{
public Ac... | 16,258 |
https://github.com/ryuuzake/directus-dart/blob/master/lib/src/modules/presets/directus_preset.dart | Github Open Source | Open Source | MIT | null | directus-dart | ryuuzake | Dart | Code | 82 | 322 | import 'package:json_annotation/json_annotation.dart';
part 'directus_preset.g.dart';
@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
class DirectusPreset {
int? id;
String? bookmark;
/// User is either [String] or [DirectusUser].
Object? user;
/// User is either [String] or [Direc... | 25,801 |
https://github.com/priyankalakhe/java-ilpv4-connector/blob/master/connector-ilpv4-api/src/main/java/org/interledger/ilpv4/package-info.java | Github Open Source | Open Source | Apache-2.0 | null | java-ilpv4-connector | priyankalakhe | Java | Code | 11 | 31 | /**
* Contains top-level primitives for ILP v4.
*/
package org.interledger.ilpv4; | 51,003 |
https://github.com/compas/grasp/blob/master/src/lib/libmod/rang_Int_C.f90 | Github Open Source | Open Source | MIT, CC-BY-4.0 | 2,023 | grasp | compas | Fortran Free Form | Code | 34 | 113 | MODULE rang_Int_C
!...Modified by Charlotte Froese Fischer
! Gediminas Gaigalas 10/05/17
INTEGER :: NotFound, Found_CSF
INTEGER, DIMENSION(:), pointer :: Found
CHARACTER(LEN=256), DIMENSION(:), pointer :: C_shell, C_quant, C_coupl
INTEGER, DIMENSION(20) :: NUM_in_BLK
... | 28,720 |
https://github.com/XTAIN/JoomlaBundle/blob/master/Library/Legacy/Error/Error.php | Github Open Source | Open Source | MIT | 2,016 | JoomlaBundle | XTAIN | PHP | Code | 126 | 337 | <?php
/**
* This file is part of the XTAIN Joomla package.
*
* (c) Maximilian Ruta <mr@xtain.net>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace XTAIN\Bundle\JoomlaBundle\Library\Legacy\Error;
/**
* Class Error
*
* ... | 23,651 |
https://github.com/nowaalex/af-react-table/blob/master/packages/website/tailwind.config.js | Github Open Source | Open Source | MIT | 2,020 | af-react-table | nowaalex | JavaScript | Code | 40 | 182 | module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./AllExamples/**/*.{js,ts,jsx,tsx,mdx}"
],
theme: {
extend: {
typography: theme => ({
DEFAULT: {
css: {
... | 48,943 |
https://github.com/BigdataGit/hadoop-learning/blob/master/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/impl/pb/ValidateVolumeCapabilitiesRequestPBImpl.java | Github Open Source | Open Source | Apache-2.0 | 2,019 | hadoop-learning | BigdataGit | Java | Code | 304 | 1,129 | /**
* 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... | 26,699 |
https://github.com/ecmgo/healthcheck/blob/master/example_test.go | Github Open Source | Open Source | Apache-2.0 | null | healthcheck | ecmgo | Go | Code | 429 | 1,153 | // Copyright 2017 by the contributors.
//
// 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 agre... | 124 |
https://github.com/OpenCreate/Play-with-DSA/blob/master/12-More-about-QuickSort/go/08-Sort-Colors/main_test.go | Github Open Source | Open Source | MIT | 2,021 | Play-with-DSA | OpenCreate | Go | Code | 85 | 250 | package main
import "testing"
func Test_sortColors(t *testing.T) {
type args struct {
nums []int
}
tests := []struct {
name string
args args
}{
// TODO: Add test cases.
{"t1", args{nums: []int{0, 0, 1, 2, 2, 1}}},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
sortColors(tt.args... | 36,969 |
https://github.com/fahim6a/Software-Development-Lab-ll/blob/master/AccountController.java | Github Open Source | Open Source | Apache-2.0 | null | Software-Development-Lab-ll | fahim6a | Java | Code | 236 | 834 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package ecard;
import static com.sun.glass.ui.Cursor.setVisible;
import java.io.FileWriter;
import java.io.IOException;
import java.ne... | 28,241 |
https://github.com/siqiang-ng/tp/blob/master/src/test/java/seedu/address/model/person/PersonNameComparatorTest.java | Github Open Source | Open Source | MIT | null | tp | siqiang-ng | Java | Code | 137 | 506 | package seedu.address.model.person;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import seedu.address.testutil.PersonBuilder;
class PersonNameComp... | 32,721 |
https://github.com/monikasunle/nodejs-demo/blob/master/08-event/02-dog.js | Github Open Source | Open Source | MIT | 2,020 | nodejs-demo | monikasunle | JavaScript | Code | 58 | 176 | #!/usr/bin/node
const EventEmitter = require('events').EventEmitter;
function Dog(name, energy) {
var _name = name,
_energy = energy,
that = this;
EventEmitter.call(this);
var timer = setInterval(() => {
if(energy > 0) {
that.emit('bark');
_energy--;
}
if(_energy < 0)... | 37,442 |
https://github.com/DaniilStepanov/bbfgradle/blob/master/tmp/arrays/youTrackTests/4449.kt | Github Open Source | Open Source | Apache-2.0 | 2,023 | bbfgradle | DaniilStepanov | Kotlin | Code | 53 | 122 | // Original bug: KT-17305
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
fun test(actual: Map<String, *>?) {
assertNotNull(actual)
assertEquals(expected = mapOf("foo" to 123), actual = actual) // [TYPE_INFERENCE_ONLY_INPUT_TYPES_WARNING] Type inference failed. The value of the type parameter... | 25,157 |
https://github.com/a100q100/ghost-editor/blob/master/src/editor/connection/DisplayComponent.js | Github Open Source | Open Source | MIT | 2,016 | ghost-editor | a100q100 | JavaScript | Code | 273 | 910 | (function() {
'use strict';
var DisplayComponent = function(connection) {
this.Container_constructor();
this._settings = null;
this.connection = connection;
this.shape = new createjs.Shape();
this.addChild(this.shape);
};
var p = createjs.extend(DisplayComponent, createjs.Container);
/... | 40,742 |
https://github.com/panciumihai/silver-byte-site/blob/master/src/components/common/NavItem/NavItem.js | Github Open Source | Open Source | MIT | null | silver-byte-site | panciumihai | JavaScript | Code | 55 | 150 | import { NavLink } from 'react-router-dom';
import './NavItem.scss';
const getActiveTabStyle = (isActive) => {
return isActive ? 'active' : '';
};
const NavItem = (props) => {
const { to, className, children } = props;
return (
<NavLink
to={to}
className={({ isActive }) =>
`nav-item ${... | 4,106 |
https://github.com/zipated/src/blob/master/third_party/blink/public/platform/modules/media_capabilities/web_media_capabilities_client.h | Github Open Source | Open Source | BSD-3-Clause | 2,022 | src | zipated | C | Code | 75 | 310 | // Copyright 2017 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.
#ifndef THIRD_PARTY_BLINK_PUBLIC_PLATFORM_MODULES_MEDIA_CAPABILITIES_WEB_MEDIA_CAPABILITIES_CLIENT_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_MODULES_ME... | 3,112 |
https://github.com/jcalderaio/synzi-mobile-web-app/blob/master/react/synzi/_shared/src/atoms/SynziLabel/styles.js | Github Open Source | Open Source | Apache-2.0 | null | synzi-mobile-web-app | jcalderaio | JavaScript | Code | 37 | 123 | import { createStyleSheet } from '../../../../../features/base/styles';
export default createStyleSheet({
labelContainerStyle: {
width: 250,
height: 40,
alignItems: 'center'
},
normalTextStyle: {
color: 'gray',
fontWeight: 'normal',
fontSize: 14
},
... | 10,650 |
https://github.com/CariHQ/admin-ui/blob/master/src/views/SchemaFormPage.vue | Github Open Source | Open Source | Apache-2.0 | 2,019 | admin-ui | CariHQ | Vue | Code | 842 | 3,426 | <template>
<v-container fluid fill-height class="registration">
<v-layout justify-center row wrap class="mt-3">
<v-flex xs12 sm10 md10 lg9 xl6>
<v-card class="mt-2">
<v-img
src="/schema.jpg"
aspect-ratio="3.75"
max-height="120px"
... | 28,620 |
https://github.com/quantumng/nestjs-demo/blob/master/src/project-manage/copywrite/copywrite.service.ts | Github Open Source | Open Source | MIT | null | nestjs-demo | quantumng | TypeScript | Code | 79 | 219 | import { Injectable } from '@nestjs/common';
import { CreateCopywriteDto } from './dto/create-copywrite.dto';
import { UpdateCopywriteDto } from './dto/update-copywrite.dto';
@Injectable()
export class CopywriteService {
create(createCopywriteDto: CreateCopywriteDto) {
return 'This action adds a new copywr... | 3,404 |
https://github.com/cash2one/xai/blob/master/xai/brain/wordbase/nouns/_vatican.py | Github Open Source | Open Source | MIT | 2,017 | xai | cash2one | Python | Code | 70 | 165 |
#calss header
class _VATICAN():
def __init__(self,):
self.name = "VATICAN"
self.definitions = [u'the Pope (= the leader of the Catholic Church) or the officials who represent the Pope: ', u'the main offices of the Catholic Church in Rome, including the building where the Pope lives: ']
self.parents = []
se... | 15,412 |
https://github.com/rzakolo/AutumnGameJam/blob/master/Assets/Scripts/UI/UIDamage.cs | Github Open Source | Open Source | MIT | null | AutumnGameJam | rzakolo | C# | Code | 131 | 417 | using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class UIDamage : MonoBehaviour
{
TextMeshPro textMesh;
static GameObject prefab;
float timer = 1f;
Color textColor;
private void Awake()
{
textMesh = GetComponent<Tex... | 5,540 |
https://github.com/marinusmaurice/stack-based-vm-csharp/blob/master/Tools/Interpreter.BytecodeCompiler.cs | Github Open Source | Open Source | MIT | 2,017 | stack-based-vm-csharp | marinusmaurice | C# | Code | 103 | 363 | using System;
using System.IO;
using System.Collections.Generic;
using VM;
using VM.Parsing;
using VM.Parsing.AST;
public partial class Interpreter
{
private class BytecodeCompiler
{
public BytecodeCompiler() {}
public List<int> FileToInstructions(string inputFile)
{
strin... | 10,097 |
https://github.com/Naveigell/sistem-informasi-pada-toko-bali/blob/master/database/migrations/2022_02_20_055338_change_foreign_id_in_payments_table.php | Github Open Source | Open Source | MIT | null | sistem-informasi-pada-toko-bali | Naveigell | PHP | Code | 58 | 216 | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class ChangeForeignIdInPaymentsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('paym... | 29,575 |
https://github.com/apache/tomcat/blob/master/java/org/apache/coyote/Processor.java | Github Open Source | Open Source | Zlib, LZMA-exception, CPL-1.0, bzip2-1.0.6, Apache-2.0, LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference, EPL-2.0, CDDL-1.0 | 2,023 | tomcat | apache | Java | Code | 613 | 1,082 | /*
* 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... | 16,991 |
https://github.com/SpectraLogic/ds3_net_sdk/blob/master/Ds3/Lang/Grouping.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | ds3_net_sdk | SpectraLogic | C# | Code | 177 | 431 | ๏ปฟ/*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License ... | 30,067 |
https://github.com/zhangleizjk/Nooper.Shop/blob/master/system/library/express.class.php | Github Open Source | Open Source | Apache-2.0 | null | Nooper.Shop | zhangleizjk | PHP | Code | 3,562 | 18,144 | <?php
// declare(strict_types = 1);
namespace NooperShop;
use Nooper\Mysql;
class Express extends Mysql {
/**
* Constants
*/
public const PARAM_MAX_CARRIAGE_TEMPLATE_NUM = 'max_carriage_template_num';
public const PARAM_MAX_CORPORATION_NUM = 'max_corporation_num';
public const DURATION_WEEK = 'week';
publ... | 37,808 |
https://github.com/ethanpalm/Kruise-UI/blob/master/Makefile | Github Open Source | Open Source | Apache-2.0 | 2,019 | Kruise-UI | ethanpalm | Makefile | Code | 148 | 519 | GIT_COMMIT = $(shell git rev-parse HEAD)
GIT_COMMIT = $(shell git rev-parse HEAD)
GIT_SHA = $(shell git rev-parse --short HEAD)
GIT_TAG = $(shell git describe --tags --abbrev=0 --exact-match 2>/dev/null)
GIT_DIRTY = $(shell test -n "`git status --porcelain`" && echo "dirty" || echo "clean")
.PHONY: all
all: bu... | 38,823 |
https://github.com/axxapy/jIRCii/blob/master/src/rero/gui/windows/DCCListDialog.java | Github Open Source | Open Source | Artistic-1.0 | 2,022 | jIRCii | axxapy | Java | Code | 315 | 1,146 | package rero.gui.windows;
import rero.client.DataStructures;
import rero.client.output.OutputCapabilities;
import rero.dcc.DataDCC;
import rero.dcc.GenericDCC;
import rero.dcc.ProtocolDCC;
import rero.gui.toolkit.GeneralListModel;
import rero.ircfw.interfaces.ChatListener;
import rero.ircfw.interfaces.FrameworkConstan... | 33,728 |
https://github.com/bulentAkgul/kernel/blob/master/tests/PackageTests/HelperTests/PathTest.php | Github Open Source | Open Source | MIT | 2,023 | kernel | bulentAkgul | PHP | Code | 195 | 1,069 | <?php
namespace Bakgul\Kernel\Tests\PackageTests\HelperTests;
use Bakgul\Kernel\Tests\TestConcerns\HasTestMethods;
use Bakgul\Kernel\Helpers\Package;
use Bakgul\Kernel\Helpers\Path;
use Bakgul\Kernel\Helpers\Settings;
use Bakgul\Kernel\Tests\TestServices\TestDataService;
use Bakgul\Kernel\Tests\TestTasks\SetupTest;
u... | 26,148 |
https://github.com/brtz/cafmal-api/blob/master/app/models/worker.rb | Github Open Source | Open Source | MIT | 2,017 | cafmal-api | brtz | Ruby | Code | 19 | 49 | # encoding: UTF-8
# frozen_string_literal: true
class Worker < ApplicationRecord
validates :uuid, uniqueness: true
validates :uuid, presence: true
end
| 42,744 |
https://github.com/stephko1/PipelinReact/blob/master/src/components/ClinicsList/index.ts | Github Open Source | Open Source | MIT | 2,022 | PipelinReact | stephko1 | TypeScript | Code | 6 | 12 | export { default } from './ClinicsList';
| 45,061 |
https://github.com/gulistanay/Xml-ExcelDonusturucu/blob/master/Form1.cs | Github Open Source | Open Source | MIT | null | Xml-ExcelDonusturucu | gulistanay | C# | Code | 505 | 2,304 | ๏ปฟ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;
using ExcelApp = Microsoft.Office.Interop.Excel;
using System.Xml;
namespace FormXmlKullan... | 31,717 |
https://github.com/kioko/paybill-manager/blob/master/mobile-ui/src/main/java/com/thomaskioko/paybillmanager/mobile/injection/module/DataModule.kt | Github Open Source | Open Source | Apache-2.0 | 2,020 | paybill-manager | kioko | Kotlin | Code | 57 | 285 | package com.thomaskioko.paybillmanager.mobile.injection.module
import com.thomaskioko.paybillmanager.data.*
import com.thomaskioko.paybillmanager.data.executor.JobExecutor
import com.thomaskioko.paybillmanager.domain.executor.ThreadExecutor
import com.thomaskioko.paybillmanager.domain.repository.*
import dagger.Binds
... | 39,140 |
https://github.com/robotgryphon/CompactCrafting/blob/master/src/api/java/dev/compactmods/crafting/api/catalyst/CatalystType.java | Github Open Source | Open Source | MIT | 2,022 | CompactCrafting | robotgryphon | Java | Code | 17 | 94 | package dev.compactmods.crafting.api.catalyst;
import com.mojang.serialization.Codec;
import net.minecraftforge.registries.IForgeRegistryEntry;
public interface CatalystType<Matcher extends ICatalystMatcher> extends IForgeRegistryEntry<CatalystType<?>> {
Codec<Matcher> getCodec();
}
| 131 |
https://github.com/zhouyk-library/electron-vue-cloud-music/blob/master/src/renderer/components/Common/list-item.vue | Github Open Source | Open Source | MIT | 2,021 | electron-vue-cloud-music | zhouyk-library | Vue | Code | 424 | 1,417 | <template>
<li :class="itemCls">
<div @click="goRoute" class="info" :style="styleObj">
<img
class="avatar"
v-lazy="
`${
item.picUrl ||
item.imgurl16v9 ||
item.cover ||
... | 35,746 |
https://github.com/kyle-sm/rosalind-cuda/blob/master/rosalind.h | Github Open Source | Open Source | MIT | null | rosalind-cuda | kyle-sm | C | Code | 102 | 334 | #pragma once
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <vector>
class GeneSequence {
private:
char* name;
char* sequence;
public:
GeneSequence(char* n, char* s);
~GeneSequence(void);
... | 7,395 |
https://github.com/ksmai/trade-book/blob/master/src/client/app/core/my-books.service.ts | Github Open Source | Open Source | MIT | 2,017 | trade-book | ksmai | TypeScript | Code | 158 | 603 | import { Injectable } from '@angular/core';
import { Resolve } from '@angular/router';
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/retryWhen';
import 'rxjs/add/operator/delay';
import 'rxjs/add/operator/mergeMap';
import '... | 28,880 |
https://github.com/opencb/opencga/blob/master/opencga-catalog/src/main/java/org/opencb/opencga/catalog/db/mongodb/AnnotationMongoDBAdaptor.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | opencga | opencb | Java | Code | 3,705 | 12,656 | /*
* Copyright 2015-2020 OpenCB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 33,489 |
https://github.com/omniscientist/lobotjr/blob/master/LobotJR.Shared/Authentication/TokenResponse.cs | Github Open Source | Open Source | MIT | 2,022 | lobotjr | omniscientist | C# | Code | 157 | 307 | ๏ปฟusing System;
using System.Collections.Generic;
namespace LobotJR.Shared.Authentication
{
/// <summary>
/// The response object from the authorization code flow and refresh call.
/// </summary>
public class TokenResponse
{
/// <summary>
/// The oauth token to use when authenticatin... | 33,915 |
https://github.com/pcg15/bme590hrm/blob/master/duration.py | Github Open Source | Open Source | MIT | null | bme590hrm | pcg15 | Python | Code | 69 | 208 | import logging
logging.basicConfig(filename='hrmonitorlog.txt', format='%(levelname)s \
%(asctime)s %(message)s', datefmt='%m/%d/%Y %I:%M:%S %p', level=logging.DEBUG)
def duration(filename):
"""module that determines the duration of the ECG input signal
:param filename: the file name of the ECG input
:r... | 5,437 |
https://github.com/pip-services-archive/pip-services-runtime-java/blob/master/src/org/pipservices/runtime/services/RestService.java | Github Open Source | Open Source | MIT | null | pip-services-runtime-java | pip-services-archive | Java | Code | 570 | 1,405 | package org.pipservices.runtime.services;
import java.net.*;
import javax.ws.rs.core.*;
import com.sun.jersey.api.container.httpserver.*;
import com.sun.jersey.api.core.*;
import com.sun.jersey.api.json.*;
import com.sun.net.httpserver.*;
import org.pipservices.runtime.*;
import org.pipservices.runtime.config.*;
im... | 41,129 |
https://github.com/deiga/next-plugin-query-cache/blob/master/src/config.ts | Github Open Source | Open Source | MIT | 2,022 | next-plugin-query-cache | deiga | TypeScript | Code | 6 | 18 | export { default } from './create-next-plugin-query-cache';
| 35,351 |
https://github.com/dmrlawson/parallel-rdp/blob/master/Granite/viewer/physics_sandbox.cpp | Github Open Source | Open Source | MIT | null | parallel-rdp | dmrlawson | C++ | Code | 1,408 | 7,108 | /* Copyright (c) 2017-2020 Hans-Kristian Arntzen
*
* 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, me... | 4,167 |
https://github.com/AdisonCavani/databases/blob/master/src/php/10.27.21/index.php | Github Open Source | Open Source | MIT | null | databases | AdisonCavani | PHP | Code | 56 | 144 | <?php
$col = 11;
$row = 11;
$tab = array();
for ($i = 0; $i < $row; $i++)
{
for ($j = 0; $j < $col; $j++)
{
if ($i == $j)
$tab[$i] = "*";
elseif ($i + $j == $col - 1)
$tab[$i] = "*";
else
$tab[$i] = 0;
print($tab[$i] . "\t");
}
print(... | 21,965 |
https://github.com/vincenzomazzeo/apt-tutorial/blob/master/apt-code-generator/src/main/java/it/ninjatech/apt/codegenerator/ModelProcessor.java | Github Open Source | Open Source | Apache-2.0 | null | apt-tutorial | vincenzomazzeo | Java | Code | 298 | 1,304 | package it.ninjatech.apt.codegenerator;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.Filer;
import javax.annotation.processing.Messager;
import javax.annotation.processing.P... | 31,969 |
https://github.com/fyl080801/dotnet-seed/blob/master/modules/SeedModules.Saas/wwwroot/modules/module.ts | Github Open Source | Open Source | MIT | 2,020 | dotnet-seed | fyl080801 | TypeScript | Code | 68 | 403 | import angular = require('angular');
import 'SeedModules.Saas/modules/configs/menus';
class ConfigClass {
static $inject = ['$stateProvider', '$urlRouterProvider'];
constructor($stateProvider, $urlRouterProvider) {
$stateProvider.state('admin.datasources', {
url: '/datasources',
title: 'ๆฐๆฎๆบ',
... | 14,654 |
https://github.com/SteffenHeu/mzmine3/blob/master/src/main/java/io/github/mzmine/datamodel/features/types/annotations/ManualAnnotationType.java | Github Open Source | Open Source | LicenseRef-scancode-unknown-license-reference, MIT | 2,023 | mzmine3 | SteffenHeu | Java | Code | 886 | 2,537 | /*
* Copyright (c) 2004-2022 The MZmine Development Team
*
* 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... | 2,269 |
https://github.com/vinki11/MFTR/blob/master/MFTR/ProjetMFTR/ProjetMFTR/Windows/Options/Options.Designer.cs | Github Open Source | Open Source | MIT | 2,019 | MFTR | vinki11 | C# | Code | 549 | 2,692 | ๏ปฟnamespace ProjetMFTR.Forms
{
partial class Options
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources shou... | 16,366 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.