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/sachinatzenith/jengapro/blob/master/src/components/Layout/Layout.js | Github Open Source | Open Source | MIT | null | jengapro | sachinatzenith | JavaScript | Code | 140 | 357 | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import withStyles from 'isom... | 46,952 |
https://github.com/Hajoppi/totp-qrcode/blob/master/index.ts | Github Open Source | Open Source | MIT | null | totp-qrcode | Hajoppi | TypeScript | Code | 143 | 387 | import express, {Request, Response} from 'express';
import cors from 'cors';
import totp from "./totp";
const app = express();
app.use(cors());
app.use(express.json());
app.use(express.static('public'));
const TIME_STEP = 20;
const generateKey = (eventId: string) => {
return totp(eventId, { timeStep: TIME_STEP }... | 228 |
https://github.com/muralidokala111/Psych.ai/blob/master/imageworkfinal.py | Github Open Source | Open Source | MIT | 2,020 | Psych.ai | muralidokala111 | Python | Code | 188 | 752 | from EmotionAPIIntegration import get_emotion
from videotofolder import get_frames
import os
import re
import shutil
import subprocess
import cv2
import tensorflow as tf
required_emotion = input("Enter the required emotion")
videoname = input("Enter the name of the file")
path = "./" + videoname + "images"
def atoi(... | 28,553 |
https://github.com/dmcnaughton/corefx/blob/master/src/System.Text.Json/src/System/Text/Json/Serialization/ReadStackFrame.cs | Github Open Source | Open Source | MIT | 2,018 | corefx | dmcnaughton | C# | Code | 669 | 1,996 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.CompilerS... | 12,261 |
https://github.com/nopsys/PharoNOS/blob/master/STNos-Devices.package/SDDevice.class/instance/isWritingData.st | Github Open Source | Open Source | MIT | 2,018 | PharoNOS | nopsys | null | Spoken | 5 | 17 | testing
isWritingData
^self testPresentStateBit: 8 | 38,699 |
https://github.com/kmdn/clit_backend/blob/master/src/structure/interfaces/pipeline/CandidateGenerator.java | Github Open Source | Open Source | Apache-2.0 | null | clit_backend | kmdn | Java | Code | 123 | 221 | package structure.interfaces.pipeline;
import java.io.IOException;
import structure.datatypes.AnnotatedDocument;
/**
* Simple interface for candidate generators with one method -
* 'generate(Mention), taking an input mention and returning a list of
* candidates for it
*
* @author Kristian Noullet
*
*/
public... | 24,502 |
https://github.com/yoya/x.org/blob/master/X11R6/contrib/Motif/winterp/examples/interactive/popen.lsp | Github Open Source | Open Source | LicenseRef-scancode-mit-old-style, LicenseRef-scancode-other-permissive, LicenseRef-scancode-warranty-disclaimer | 2,023 | x.org | yoya | Common Lisp | Code | 446 | 1,110 | ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; File: popen.lsp
; RCS: $Header: /users/npm/src/winterp/examples/interactive/RCS/popen.lsp,v 2.1 1994/06/06 14:53:12 npm Exp $
; Description: Play around with POPEN to collect unix data.
; Author: Niels Mayer
... | 4,482 |
https://github.com/st3veV/ZombieShooterVR/blob/master/ZombieShooter/Assets/Scripts/Utils.meta | Github Open Source | Open Source | MIT | 2,016 | ZombieShooterVR | st3veV | Unity3D Asset | Code | 14 | 69 | fileFormatVersion: 2
guid: e6472daf0cb696d4a87181ce4ceea6cd
folderAsset: yes
timeCreated: 1441567161
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| 50,175 |
https://github.com/NickQi/TianheDemo/blob/master/src/WEB/NTS.WEB.WebSite/js/view/login_main.js | Github Open Source | Open Source | Apache-2.0 | 2,020 | TianheDemo | NickQi | JavaScript | Code | 718 | 3,133 | /**
* ==========================================================
* Copyright (c) 2013, NTS-9000 All rights reserved.
* NTS项目用户登录JS
* Author: Jinsam
* Date: 2013-05-17 22:43:55 502000
* ==========================================================
*/
require.config({
baseUrl: "/js/",
urlArgs: "",
paths: {
base... | 46,840 |
https://github.com/SixFiveSoftware/dropbit-ios/blob/master/CoinKeeper/Coordinators/AppCoordinator+TransactionHistoryViewControllerDelegate.swift | Github Open Source | Open Source | MIT, Apache-2.0 | 2,020 | dropbit-ios | SixFiveSoftware | Swift | Code | 371 | 1,370 | //
// AppCoordinator+TransactionHistoryViewControllerDelegate.swift
// DropBit
//
// Created by BJ Miller on 6/22/18.
// Copyright © 2018 Coin Ninja, LLC. All rights reserved.
//
import Foundation
import PromiseKit
import UIKit
import SVProgressHUD
extension AppCoordinator: TransactionHistoryViewControllerDelegat... | 45,791 |
https://github.com/MaxHasADHD/TraktKit/blob/master/Common/Models/Movies/TraktMovie.swift | Github Open Source | Open Source | MIT | 2,022 | TraktKit | MaxHasADHD | Swift | Code | 253 | 738 | //
// TraktMovie.swift
// TraktKit
//
// Created by Maximilian Litteral on 4/13/16.
// Copyright © 2016 Maximilian Litteral. All rights reserved.
//
import Foundation
public struct TraktMovie: Codable, Hashable {
// Extended: Min
public let title: String
public let year: Int?
public let ids: ID
... | 31,941 |
https://github.com/cedadev/ceda-services-portal/blob/master/account/migrations/0001_initial.py | Github Open Source | Open Source | BSD-3-Clause | null | ceda-services-portal | cedadev | Python | Code | 434 | 1,634 | # Generated by Django 2.2.4 on 2021-01-20 17:10
from django.conf import settings
import django.contrib.auth.models
import django.contrib.auth.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import django_countries.fields
import jasmin_notifications.mode... | 48,243 |
https://github.com/chytanya/subschema-devel/blob/master/plugins/subschema-styles-bootstrap4/src/index.scss | Github Open Source | Open Source | MIT | 2,019 | subschema-devel | chytanya | SCSS | Code | 10 | 59 | @import './Autocomplete.scss';
@import './ListItemTemplate.scss';
@import './ListItemTemplate.scss';
@import './WizardProgressTemplate.scss';
@import './WizardTemplate.scss';
| 35,067 |
https://github.com/qiujun8023/gallery-server/blob/master/src/cron/index.ts | Github Open Source | Open Source | MIT | 2,020 | gallery-server | qiujun8023 | TypeScript | Code | 22 | 60 | import cacheJob from './cache'
const CACHE_JOB_SPEC = '0 */2 * * * *'
export default {
startAll () {
cacheJob.schedule(CACHE_JOB_SPEC)
}
}
| 42,107 |
https://github.com/darth-willy/android-reasoning/blob/master/androjena/androjena-module/src/main/java/com/hp/hpl/jena/rdf/arp/impl/AttributeLexer.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | android-reasoning | darth-willy | Java | Code | 794 | 2,135 | /*
* (c) Copyright 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP
* [See end of file]
*/
package com.hp.hpl.jena.rdf.arp.impl;
import java.util.BitSet;
import org.xml.sax.Attributes;
import org.xml.sax.SAXParseException;
import com.hp.hpl.jena.rdf.arp.ARPErrorNumbers;
import com.hp.hpl.jena... | 29,539 |
https://github.com/hexagon-software/Polygon/blob/master/src/main/java/de/hexagonsoftware/pg/game/Camera.java | Github Open Source | Open Source | BSD-3-Clause | 2,021 | Polygon | hexagon-software | Java | Code | 155 | 511 | /*
* Copyright (c) 2021, Hexagon Software
* Licensed under BSD-3 Clause.
* <https://hexagon-software.github.io/Polygon/license.html>
*/
package de.hexagonsoftware.pg.game;
import de.hexagonsoftware.pg.Polygon;
import de.hexagonsoftware.pg.game.objects.GameObject;
import java.util.ArrayList;
import java.util.Iter... | 38,552 |
https://github.com/EvanBerner/api/blob/master/spec/factories/wizard_questions.rb | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,015 | api | EvanBerner | Ruby | Code | 45 | 96 | # == Schema Information
#
# Table name: wizard_questions
#
# id :integer not null, primary key
# text :string
# created_at :datetime not null
# updated_at :datetime not null
#
FactoryGirl.define do
factory :wizard_question do
text 'What programming language will be used... | 22,878 |
https://github.com/eserozvataf/evangelist/blob/master/dist/npm/decorate.d.ts | Github Open Source | Open Source | Apache-2.0 | 2,022 | evangelist | eserozvataf | TypeScript | Code | 16 | 35 | declare function decorate(target: Function, decorator: Function): (...args: any[]) => any;
export { decorate as default, };
| 39,880 |
https://github.com/ptreyer/taskana/blob/master/rest/taskana-rest-spring/src/main/java/pro/taskana/task/rest/TaskCommentController.java | Github Open Source | Open Source | Apache-2.0 | null | taskana | ptreyer | Java | Code | 1,100 | 3,327 | package pro.taskana.task.rest;
import java.util.Comparator;
import java.util.List;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.hateoas.config.EnableHypermediaSupport;
import org.springframe... | 47,273 |
https://github.com/KratosMultiphysics/Kratos/blob/master/applications/DEMApplication/custom_constitutive/DEM_KDEM_CamClay_CL.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,023 | Kratos | KratosMultiphysics | C++ | Code | 403 | 1,453 | // System includes
#include <string>
#include <iostream>
#include <cmath>
// Project includes
#include "DEM_KDEM_CamClay_CL.h"
#include "custom_elements/spheric_continuum_particle.h"
namespace Kratos {
DEMContinuumConstitutiveLaw::Pointer DEM_KDEM_CamClay::Clone() const {
DEMContinuumConstitutiveLaw::Poi... | 52,797 |
https://github.com/benety/mongo/blob/master/jstests/sharding/enable_sharding.js | Github Open Source | Open Source | Apache-2.0 | null | mongo | benety | JavaScript | Code | 256 | 1,262 | //
// Basic tests for enableSharding command.
//
(function() {
'use strict';
load("jstests/libs/feature_flag_util.js"); // for FeatureFlagUtil.isEnabled
var st = new ShardingTest({shards: 2});
const isEnableShardingOptional =
FeatureFlagUtil.isEnabled(st.configRS.getPrimary().getDB('admin'), "EnableShardingOpt... | 39,685 |
https://github.com/sasamza/moment-taiwan/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,017 | moment-taiwan | sasamza | Ignore List | Code | 5 | 25 | /bower_components/
/.idea/
/.settings/
/.project
/node_modules/
| 9,722 |
https://github.com/ramy-ahmed/grommet-cms/blob/master/src/scss/app.scss | Github Open Source | Open Source | Apache-2.0 | 2,018 | grommet-cms | ramy-ahmed | SCSS | Code | 439 | 1,625 | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
// HPE CaaS header width.
$caas-header-width: 1124px;
@import 'objects.dashboard';
@import 'objects.post';
@import 'objects.errors';
@import 'objects.markdown';
@import 'objects.markdown-guide';
@import 'objects.quote';
@import 'objects.video-callou... | 4,404 |
https://github.com/stewartlord/chronicle/blob/master/library/P4/Validate/Port.php | Github Open Source | Open Source | MIT, BSD-2-Clause | 2,017 | chronicle | stewartlord | PHP | Code | 402 | 1,088 | <?php
/**
* Validates p4 port value for valid hostname (if provided) and the presence
* of a numeric port.
*
* The value should be in one of the following forms:
*
* port only: 1666
* hostname and port: perforce:1666
* ip address and port: 192.168.0.100:1666
*
* @copyright 2011 Perforce So... | 36,363 |
https://github.com/webextensions/helpmate/blob/master/src/browser/index.js | Github Open Source | Open Source | MIT | 2,023 | helpmate | webextensions | JavaScript | Code | 23 | 59 | import { copyToClipboard } from './copyToClipboard.js';
import { getBrowser } from './getBrowser.js';
const browser = {
copyToClipboard,
getBrowser
};
export { browser };
| 32,757 |
https://github.com/ilkerkesen/Sloth.jl/blob/master/test/layers.jl | Github Open Source | Open Source | MIT | 2,021 | Sloth.jl | ilkerkesen | Julia | Code | 382 | 1,471 | import Knet: relu, atype
import Sloth: F
@testset "layers" begin
batch_size, in_features, out_features = 2, 3, 4
x2d = atype(randn(in_features, batch_size))
@testset "linear" begin
import Sloth: Linear
layer = Linear(in_features=in_features, out_features=out_features)
@test layer.w... | 3,993 |
https://github.com/abarragancosto/aprendamosAlgoritmos2/blob/master/lambda/handlers/resolveProblemHandler.js | Github Open Source | Open Source | MIT | null | aprendamosAlgoritmos2 | abarragancosto | JavaScript | Code | 49 | 241 | const Alexa = require('ask-sdk-core/dist/index');
const utils = require('../utils');
module.exports = {
canHandle(handlerInput) {
return (Alexa.getRequestType(handlerInput.requestEnvelope) === 'IntentRequest'
&& Alexa.getIntentName(handlerInput.requestEnvelope) === 'ResolverIntent');
},
handle(handlerInput) {... | 6,336 |
https://github.com/mjcaisse/leaf/blob/master/test/handle_some_test.cpp | Github Open Source | Open Source | BSL-1.0 | 2,020 | leaf | mjcaisse | C++ | Code | 2,691 | 13,055 | // Copyright (c) 2018-2019 Emil Dotchevski and Reverge Studios, Inc.
// 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)
#include <boost/leaf/handle_error.hpp>
#include <boost/leaf/result.hpp>
#include "_test_ec.hpp"
... | 5,626 |
https://github.com/projectcypress/cypress/blob/master/test/unit/lib/validators/checklist_criteria_validator_test.rb | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,023 | cypress | projectcypress | Ruby | Code | 615 | 3,260 | # frozen_string_literal: true
require 'test_helper'
class ChecklistCriteriaValidator < ActiveSupport::TestCase
include ::Validators
def setup
product = FactoryBot.create(:product_static_bundle)
@measure = Measure.where(hqmf_id: 'BE65090C-EB1F-11E7-8C3F-9A214CF093AE').first
@checklist_test = product.pr... | 44,685 |
https://github.com/ga-explorer/GMac/blob/master/GraphicsComposerLib/GraphicsComposerLib/POVRay/SDL/Objects/FSP/SdlBox.cs | Github Open Source | Open Source | MIT | 2,021 | GMac | ga-explorer | C# | Code | 28 | 97 | using GraphicsComposerLib.POVRay.SDL.Values;
namespace GraphicsComposerLib.POVRay.SDL.Objects.FSP
{
public class SdlBox : SdlObject, ISdlFspObject
{
public ISdlVectorValue Corner1 { get; set; }
public ISdlVectorValue Corner2 { get; set; }
}
}
| 33,068 |
https://github.com/rimmartin/cctbx_project/blob/master/scitbx/linalg/__init__.py | Github Open Source | Open Source | BSD-3-Clause-LBNL | null | cctbx_project | rimmartin | Python | Code | 59 | 255 | from __future__ import division
from scitbx.linalg.ext import *
from scitbx.linalg.householder import *
from scitbx.array_family import flex
import scitbx.matrix
class random_normal_matrix_generator(ext.random_normal_matrix_generator):
def __init__(self, m, n):
super(random_normal_matrix_generator, self).__init... | 31,876 |
https://github.com/kivancguckiran/NiaPy/blob/master/NiaPy/algorithms/basic/gwo.py | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, MIT | 2,018 | NiaPy | kivancguckiran | Python | Code | 338 | 971 | # encoding=utf8
# pylint: disable=mixed-indentation, trailing-whitespace, multiple-statements, attribute-defined-outside-init, logging-not-lazy, no-self-use, line-too-long, arguments-differ, bad-continuation
import logging
from numpy import fabs, inf, where
from NiaPy.algorithms.algorithm import Algorithm
logging.basi... | 4,955 |
https://github.com/robustify/teeterbot/blob/master/teeterbot_gazebo/src/MotorController.cpp | Github Open Source | Open Source | BSD-2-Clause | 2,022 | teeterbot | robustify | C++ | Code | 192 | 497 | #include "MotorController.h"
namespace teeterbot_gazebo
{
MotorController::MotorController(ros::NodeHandle n, ros::NodeHandle pn, const std::string& name) :
srv_(ros::NodeHandle(pn, name)),
int_val_(0.0),
target_(0.0),
last_error_(0.0)
{
srv_.setCallback(boost::bind(&MotorController::reconfigCb, this, _1, _... | 16,208 |
https://github.com/alexsenatore/contentajs/blob/master/src/helpers/cmsMeta/plugins/pluginType/CmsMetaPluginTypeLoader.js | Github Open Source | Open Source | MIT | null | contentajs | alexsenatore | JavaScript | Code | 46 | 115 | // @flow
const { PluginTypeLoaderBase } = require('plugnplay');
class CmsMetaPluginTypeLoader extends PluginTypeLoaderBase {
/**
* Returns the properties a plugin of this type exports.
*
* @return {string[]}
* The names of the properties exported.
*/
definePluginProperties(): Array<string> {
... | 20,304 |
https://github.com/saimnasir/my-phone-contact/blob/master/PhoneContact/PhoneContact.Domain/Entities/Enums/InfoType.cs | Github Open Source | Open Source | Apache-2.0 | null | my-phone-contact | saimnasir | C# | Code | 24 | 66 | using System;
using System.Collections.Generic;
using System.Text;
namespace PhoneContact.Domain.Entities.Enums
{
public enum InfoType
{
PhoneNumber = 1,
Email = 2,
Location = 3
}
}
| 9,489 |
https://github.com/vgan/flickr_headers/blob/master/flickr_headers.py | Github Open Source | Open Source | CC0-1.0 | 2,015 | flickr_headers | vgan | Python | Code | 126 | 498 | #!/usr/bin/env python
import flickrapi
import tweepy
from random import randint
import os
import urllib
from flickr_headers_keys import *
flickr = flickrapi.FlickrAPI(FLICKR_API_KEY, FLICKR_API_SECRET)
auth = tweepy.OAuthHandler(TWITTER_API_KEY,TWITTER_API_SECRET)
auth.set_access_token(TWITTER_TOKEN,TWITTER_TOKEN_SECR... | 2,339 |
https://github.com/andela/heimdal-ah-frontend/blob/master/src/actions/NotificationActions/NotificationAction.js | Github Open Source | Open Source | ISC | 2,019 | heimdal-ah-frontend | andela | JavaScript | Code | 481 | 1,090 | /* eslint-disable func-names */
import socketIOClient from 'socket.io-client';
import { ACTIONS } from '../actionTypes';
import ActionResponse from '../actionResponse';
import instance from '../../config/http';
/**
* Set Loading action which shows before comments are fetched
* @return {function} retuns the action ty... | 9,080 |
https://github.com/llGuy/lgdb/blob/master/source/lgdb/lgdb_step.c | Github Open Source | Open Source | MIT | 2,021 | lgdb | llGuy | C | Code | 519 | 2,467 | #include <stdio.h>
#include "lgdb_step.h"
#include "lgdb_symbol.h"
#include "lgdb_context.h"
void lgdb_single_asm_step(struct lgdb_process_ctx *ctx) {
/* Trivial: set trap flag */
}
/* If check_for_call is set to true, then treat the call instruction just like a jump */
static s_prepare_step(struct lgdb_process... | 15,471 |
https://github.com/9RLewandowski/navigation-kinetic-devel/blob/master/base_local_planner/src/latched_stop_rotate_controller.cpp | Github Open Source | Open Source | BSL-1.0 | null | navigation-kinetic-devel | 9RLewandowski | C++ | Code | 993 | 3,618 | /*
* latched_stop_rotate_controller.cpp
*
* Created on: Apr 16, 2012
* Author: tkruse
*/
#include <base_local_planner/latched_stop_rotate_controller.h>
#include <cmath>
#include <Eigen/Core>
#include <angles/angles.h>
#include <nav_msgs/Odometry.h>
#include <base_local_planner/goal_functions.h>
#include... | 5,945 |
https://github.com/danstaines/filmer-srv/blob/master/src/main/java/uk/me/staines/filmer/omdb/OmdbSearchResult.java | Github Open Source | Open Source | Apache-2.0 | null | filmer-srv | danstaines | Java | Code | 51 | 180 | package uk.me.staines.filmer.omdb;
import com.fasterxml.jackson.annotation.JsonProperty;
import uk.me.staines.filmer.FilmDetails;
import java.util.List;
public class OmdbSearchResult {
@JsonProperty("Search")
public List<OmdbFilmDetails> search;
@JsonProperty("totalResults")
public int totalResults;... | 35,027 |
https://github.com/cs125-illinois/jesinol/blob/master/src/test/java/examples/java/noreceiver/intarrayargument/Incorrect0.java | Github Open Source | Open Source | MIT | 2,020 | jesinol | cs125-illinois | Java | Code | 20 | 66 | package examples.java.noreceiver.intarrayargument;
@SuppressWarnings("unused")
public class Incorrect0 {
public static int value(int[] argument) {
argument[0] = 0;
return 0;
}
}
| 18,815 |
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/a/azure__keyvault-keys/src/main/scala/typingsJapgolly/azureKeyvaultKeys/mod/RsaEncryptionAlgorithm.scala | Github Open Source | Open Source | MIT | 2,022 | ScalajsReactTyped | ScalablyTyped | Scala | Code | 54 | 449 | package typingsJapgolly.azureKeyvaultKeys.mod
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
/* Rewritten from type alias, can be one of:
- typingsJapgolly.azureKeyvaultKeys.azureKeyvaultKeysStrings.R... | 23,296 |
https://github.com/rate-engineering/rate3-monorepo/blob/master/packages/ethereum-contracts/truffle.js | Github Open Source | Open Source | Apache-2.0 | 2,019 | rate3-monorepo | rate-engineering | JavaScript | Code | 170 | 733 | require('@babel/register');
require('@babel/polyfill');
const HDWalletProvider = require('truffle-hdwallet-provider');
const LedgerWalletProvider = require('truffle-ledger-provider');
const secrets = require('./secrets');
const ledgerOptions = {
networkId: 1, // mainnet
path: "44'/60'/0'/0/0", // new ledger defau... | 22,655 |
https://github.com/ahmetuysal/KT-Hackathon19-Backend/blob/master/baykuslar-api/Services/IEquityFundingPostService.cs | Github Open Source | Open Source | MIT | 2,019 | KT-Hackathon19-Backend | ahmetuysal | C# | Code | 24 | 110 | using System.Threading.Tasks;
using baykuslar_api.Contract.Request;
using baykuslar_api.Contract.Response;
namespace baykuslar_api.Services
{
public interface IEquityFundingPostService : IService
{
Task<PostEquityFundingPostResponse> PostEquityFundingPostAsync(PostEquityFundingPostRequest request, stri... | 6,569 |
https://github.com/meydiansyah/app_aul/blob/master/app/Http/Controllers/PortofolioController.php | Github Open Source | Open Source | MIT | null | app_aul | meydiansyah | PHP | Code | 303 | 1,157 | <?php
namespace App\Http\Controllers;
use App\Models\Portofolio;
use App\Models\User;
use Illuminate\Http\Request;
class PortofolioController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$porto... | 51,319 |
https://github.com/ldmoser/gaffer/blob/master/src/Gaffer/Dispatcher.cpp | Github Open Source | Open Source | BSD-3-Clause | 2,014 | gaffer | ldmoser | C++ | Code | 1,216 | 3,193 | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2013-2014, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
... | 41,450 |
https://github.com/rhsieh91/pytorch-i3d/blob/master/charades_experiments/old_files/remove_bad_samples.py | Github Open Source | Open Source | Apache-2.0 | null | pytorch-i3d | rhsieh91 | Python | Code | 176 | 530 | # Removes Charades single action samples with time-start > time-end
# import cv2
# import pandas as pd
# import numpy as np
# import math
# import shutil
import argparse
import os
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--rgb_root', type=str) # directory contai... | 46,479 |
https://github.com/thibmo/System.Caching/blob/master/src/PhysicalMemoryMonitor.bf | Github Open Source | Open Source | MIT | 2,022 | System.Caching | thibmo | null | Spoken | 471 | 1,429 | // This file contains portions of code released by Microsoft under the MIT license as part
// of an open-sourcing initiative in 2014 of the C# core libraries.
// The original source was submitted to https://github.com/Microsoft/referencesource
namespace System.Caching
{
/// PhysicalMemoryMonitor monitors the amound o... | 12,094 |
https://github.com/lifecareimaging/webview-media-capture/blob/master/src/common/src/cordova-remap.js | Github Open Source | Open Source | MIT | 2,023 | webview-media-capture | lifecareimaging | JavaScript | Code | 37 | 84 | // This file is generated by `npm run build`.
/*global exports:false*/
/*jshint unused:false */
// remap parameter names from cordova.define
// see `externals` in webpack.cordova.config.js
var cordovaRequire = require;
var cordovaExports = exports;
var cordovaModule = module; | 2,868 |
https://github.com/w3c/wot-binding-templates/blob/master/bindings/protocols/mqtt/ontology.ttl | Github Open Source | Open Source | BSD-3-Clause | 2,023 | wot-binding-templates | w3c | Turtle | Code | 1,070 | 4,027 | @prefix : <https://www.w3.org/2019/wot/mqtt#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <... | 35,452 |
https://github.com/rharel/cpp-raytracer/blob/master/doc/html/search/all_0.js | Github Open Source | Open Source | MIT | null | cpp-raytracer | rharel | JavaScript | Code | 14 | 519 | var searchData=
[
['adaptivesampler',['AdaptiveSampler',['../classiris_1_1_adaptive_sampler.html',1,'iris']]],
['adaptivesampler',['AdaptiveSampler',['../classiris_1_1_adaptive_sampler.html#adfd38063d17c311e936329e07a349b41',1,'iris::AdaptiveSampler']]],
['add_5fchild',['add_child',['../classiris_1_1_object3_d.ht... | 25,648 |
https://github.com/zcong1993/rss-watcher/blob/master/pkg/runtime/runtime.go | Github Open Source | Open Source | MIT | 2,021 | rss-watcher | zcong1993 | Go | Code | 764 | 2,757 | package runtime
import (
"context"
"encoding/json"
"io/ioutil"
"os"
"sync"
"syscall"
"github.com/zcong1993/rss-watcher/pkg/store/pg"
"github.com/zcong1993/rss-watcher/pkg/logger"
"github.com/oklog/run"
"github.com/zcong1993/notifiers/v2"
"github.com/zcong1993/rss-watcher/pkg/notify"
"github.com/zcong19... | 5,094 |
https://github.com/mgius/538_riddlers/blob/master/src/main/java/org/mgius/swindler/strategy/Strategy.java | Github Open Source | Open Source | Apache-2.0 | null | 538_riddlers | mgius | Java | Code | 10 | 32 | package org.mgius.swindler.strategy;
public interface Strategy {
boolean acceptOffer(Integer offer);
}
| 19,227 |
https://github.com/paranumal/benchparanumal/blob/master/libs/mesh/meshGeometricFactorsHex3D.cpp | Github Open Source | Open Source | MIT | 2,021 | benchparanumal | paranumal | C++ | Code | 510 | 1,524 | /*
The MIT License (MIT)
Copyright (c) 2017-2022 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus
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 limi... | 5,907 |
https://github.com/scottwedge/OpenStack-Stein/blob/master/senlin-7.0.0/senlin/api/openstack/v1/nodes.py | Github Open Source | Open Source | Apache-2.0 | null | OpenStack-Stein | scottwedge | Python | Code | 673 | 2,186 | # 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 in writing, software
# distributed unde... | 31,605 |
https://github.com/prabirshrestha/StyleCopCmd/blob/master/libs/albacore/albacore/assemblyinfo.rb | Github Open Source | Open Source | MIT | 2,010 | StyleCopCmd | prabirshrestha | Ruby | Code | 277 | 1,001 | require 'albacore/albacoretask'
require 'albacore/assemblyinfolanguages/csharpengine'
require 'albacore/assemblyinfolanguages/vbnetengine'
class AssemblyInfo
include AlbacoreTask
attr_accessor :version, :title, :description, :output_file, :custom_attributes
attr_accessor :copyright, :com_visible, :com_guid, :... | 28,430 |
https://github.com/aliyun/dingtalk-sdk/blob/master/dingtalk/java/src/main/java/com/aliyun/dingtalkservice_group_1_0/models/IntentionStatisticsResponseBody.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | dingtalk-sdk | aliyun | Java | Code | 266 | 993 | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class IntentionStatisticsResponseBody extends TeaModel {
@NameInMap("intentionStatisticsRecords")
public java.util.List<IntentionStatisticsResponseBodyIntentionStatistics... | 40,151 |
https://github.com/deathowl/TestSlide/blob/master/pytest-testslide/pytest_testslide.py | Github Open Source | Open Source | MIT | 2,021 | TestSlide | deathowl | Python | Code | 167 | 712 | # Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
from types import TracebackType
from typing import Any, Callable, Iterator, List, Optional
import pytest
import testslide as testslide_modul... | 22,424 |
https://github.com/duongbui234/news_web/blob/master/app/Http/Controllers/Frontend/CategoryController.php | Github Open Source | Open Source | MIT | 2,021 | news_web | duongbui234 | PHP | Code | 35 | 156 | <?php
namespace App\Http\Controllers\Frontend;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class CategoryController extends Controller
{
//
public function index($id, $category_en)
{
$posts = DB::table('posts')->where('category_id', $id)->... | 46,083 |
https://github.com/mning628/Cicada/blob/master/Cicada-Parent/Cicada-Starter-Use/src/main/java/com/mn/starter/controller/UseController.java | Github Open Source | Open Source | MIT | 2,019 | Cicada | mning628 | Java | Code | 33 | 151 | package com.mn.starter.controller;
import com.mn.starter.StarterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class UseController
{
@Autowired
... | 29,203 |
https://github.com/shines77/my_codes/blob/master/Notes/cpp/cxx17_test/cxx17_test.cpp | Github Open Source | Open Source | MIT | null | my_codes | shines77 | C++ | Code | 1,697 | 4,537 | // cxx17_test.cpp
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <cstring>
#include <array>
#include <iostream>
#define GetSourceRootDir(source_filename, relative_filename) \
parseSourceRootDir(source_filename, sizeof(source_filename), \
relative_filename, sizeof(re... | 36,325 |
https://github.com/crisdeodates/Robotics-control-toolbox/blob/master/ct_optcon/examples/ConstraintExampleOutput.cpp | Github Open Source | Open Source | BSD-2-Clause, LicenseRef-scancode-unknown-license-reference | 2,021 | Robotics-control-toolbox | crisdeodates | C++ | Code | 419 | 1,600 | /**********************************************************************************************************************
This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
Licensed under the BSD-2 license (see LICENSE file in main directory)
****************... | 31,241 |
https://github.com/alaxsawe/mukif/blob/master/app/models/bg_task/logging.rb | Github Open Source | Open Source | MIT | 2,010 | mukif | alaxsawe | Ruby | Code | 75 | 262 |
class BgTask < ActiveRecord::Base
# logging concern
def log_exec!(status = nil, begin_at = nil, end_at = nil)
self.class.log_exec! self.name, status, begin_at, end_at, self.next_exec_after
end
def self.log_error!(e, bg_task_name)
message = "Task: #{bg_task_name}\n Error: #{e.class}\n Message: #{e.cl... | 16,373 |
https://github.com/ming-tsai/vue-signalr-lab/blob/master/backend/src/SignalR.API/Services/SqlDependencyNotification.cs | Github Open Source | Open Source | MIT | 2,021 | vue-signalr-lab | ming-tsai | C# | Code | 181 | 621 | using Microsoft.AspNetCore.SignalR;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using SignalR.API.Hubs;
using SignalR.API.Migrations;
using SignalR.API.Utils;
using System;
using System.Threading.Tasks;
namespace SignalR.API.Services
{
public class... | 10,121 |
https://github.com/SIGVerse/sigverse_unity_project/blob/master/SIGVerseProject/Assets/SIGVerse/Models/House/Living/7.etc/Low_poly_camera/Low_poly_camera.obj | Github Open Source | Open Source | CC-BY-3.0 | 2,023 | sigverse_unity_project | SIGVerse | Wavefront Object | Code | 4,632 | 16,035 | # Blender v2.79 (sub 0) OBJ File: 'Low_poly_camera.blend'
# www.blender.org
mtllib Low_poly_camera.mtl
o Cylinder.010
v -0.324047 2.305819 0.920722
v -0.287534 2.296035 0.920722
v -0.260804 2.269305 0.920722
v -0.251020 2.232791 0.920722
v -0.260804 2.196278 0.920722
v -0.287534 2.169548 0.920722
v -0.324047 2.159764 0... | 35,159 |
https://github.com/abeauchamp96/Compendium/blob/master/Compendium.Migrations/ServiceCollectionExtensions.cs | Github Open Source | Open Source | MIT | null | Compendium | abeauchamp96 | C# | Code | 70 | 285 | // Copyright (c) Alexandre Beauchamp. All rights reserved.
// Licensed under the MIT license.
using Compendium.Migrations.Repositories;
using Compendium.Migrations.Scripts;
using Microsoft.Extensions.DependencyInjection;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
[assembly: Interna... | 21,660 |
https://github.com/anilpandey123/laravel-react-crud/blob/master/resources/js/components/EditContact.js | Github Open Source | Open Source | MIT | null | laravel-react-crud | anilpandey123 | JavaScript | Code | 167 | 537 | import { values } from 'lodash'
import React, { useState, useEffect } from 'react';
import { useHistory, useParams } from 'react-router-dom';
import axios from 'axios';
export default function EditContact() {
let history = useHistory();
const { id } = useParams();
const [values, setValues] = useState({ fu... | 4,197 |
https://github.com/LeszekKalibrate/azure-sdk-for-net/blob/master/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Extensions/SubscriptionExtensions.cs | Github Open Source | Open Source | MIT | null | azure-sdk-for-net | LeszekKalibrate | C# | Code | 663 | 1,844 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.ResourceManager.Resources;
using Azure.ResourceManager.WebPubSub.Models... | 33,794 |
https://github.com/JetBrains/Arend/blob/master/base/src/main/java/org/arend/term/concrete/SearchConcreteVisitor.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | Arend | JetBrains | Java | Code | 1,100 | 3,138 | package org.arend.term.concrete;
import java.util.List;
public class SearchConcreteVisitor<P,R> implements ConcreteExpressionVisitor<P,R>, ConcreteDefinitionVisitor<P,R> {
@Override
public R visitApp(Concrete.AppExpression expr, P params) {
for (Concrete.Argument arg : expr.getArguments()) {
R result = ... | 52,148 |
https://github.com/SNBnani/Xian/blob/master/ImageServer/Web/Common/WebControls/UI/ToolbarButton.js | Github Open Source | Open Source | Apache-2.0 | 2,019 | Xian | SNBnani | JavaScript | Code | 378 | 1,567 | /* License
*
* Copyright (c) 2012, ClearCanvas Inc.
* All rights reserved.
* http://www.clearcanvas.ca
*
* This software is licensed under the Open Software License v3.0.
* For the complete license, see http://www.clearcanvas.ca/OSLv3.0
*
*/
/////////////////////////////////////////////////////////////////////////////... | 33,396 |
https://github.com/cyhhao/EChartSummoner/blob/master/src/cn/nh121/echarts/style/AreaStyle.java | Github Open Source | Open Source | Apache-2.0 | 2,014 | EChartSummoner | cyhhao | Java | Code | 93 | 265 | package cn.nh121.echarts.style;
import java.util.ArrayList;
import cn.nh121.echarts.core.EColor;
public class AreaStyle
{
private ArrayList<EColor> color;
private EType type = EType.DEFAULT;
/**
* @return the color
*/
public ArrayList<EColor> getColor()
{
return col... | 1,804 |
https://github.com/OnilGoubier/Geranium/blob/master/Geranium-Evo.package/EvoGeraniumDiversityGenerator.class/instance/populationClass.st | Github Open Source | Open Source | MIT | 2,020 | Geranium | OnilGoubier | null | Spoken | 4 | 16 | accessing
populationClass
^ EvoGeraniumPopulation | 5,454 |
https://github.com/georghinkel/ttc2017smartGrids/blob/master/solutions/eMoflon/rgse.ttc17.metamodels.src/src/gluemodel/CIM/IEC61970/Informative/InfLoadControl/impl/LoadMgmtFunctionImpl.java | Github Open Source | Open Source | MIT | 2,021 | ttc2017smartGrids | georghinkel | Java | Code | 1,436 | 6,310 | /**
*/
package gluemodel.CIM.IEC61970.Informative.InfLoadControl.impl;
import gluemodel.CIM.IEC61968.Metering.impl.DeviceFunctionImpl;
import gluemodel.CIM.IEC61970.Informative.InfLoadControl.InfLoadControlPackage;
import gluemodel.CIM.IEC61970.Informative.InfLoadControl.LoadMgmtFunction;
import gluemodel.CIM.IEC619... | 22,876 |
https://github.com/josevflores911/old-java-exercises-/blob/master/testFolder/modulo 5/modulo5/src/modulo5/enumeracoes/Carta.java | Github Open Source | Open Source | MIT | null | old-java-exercises- | josevflores911 | Java | Code | 61 | 173 | package modulo5.enumeracoes;
public class Carta {
private int numero;
private Naipe naipe;
public Carta(int numero) {
this.numero = numero;
this.naipe = naipe.COPAS;
}
public Carta(int numero, Naipe naipe) {
this.numero = numero;
this.naipe = naipe;
}
public void imprimirCa... | 22,469 |
https://github.com/telebross/Game/blob/master/index.js | Github Open Source | Open Source | MIT | null | Game | telebross | JavaScript | Code | 184 | 545 | import {
start
} from "./start.js";
import {
fase1
} from "./fase1.js";
import {
fase2
} from "./fase2.js";
import {
fase3
} from "./fase3.js";
import {
fase4
} from "./fase4.js";
import {
fase5
} from "./fase5.js";
import {
fase6
} from "./fase6.js";
import {
fase7
} from "./fase7.js";
import {
fase8... | 3,684 |
https://github.com/Kiboneu/open-tl866/blob/master/firmware/modes/programmer/at89/at89.c | Github Open Source | Open Source | BSD-2-Clause | 2,018 | open-tl866 | Kiboneu | C | Code | 2,447 | 7,200 | #include "at89.h"
static zif_bits_t zbits_null = {0, 0, 0, 0, 0};
static zif_bits_t gnd = {0, 0, 0x8, 0, 0};
static zif_bits_t vdd = {0, 0, 0, 0, 0x80};
static zif_bits_t vpp = {0, 0, 0, 0x40, 0};
static inline void print_banner(void)
{
com_println(" | |");
com_println(" ==[+]== open-t... | 26,110 |
https://github.com/jeuxjeux20/LoupGarous/blob/master/src/main/java/com/github/jeuxjeux20/loupsgarous/game/stages/listeners/LGStagesListenersModule.java | Github Open Source | Open Source | MIT | null | LoupGarous | jeuxjeux20 | Java | Code | 19 | 90 | package com.github.jeuxjeux20.loupsgarous.game.stages.listeners;
import com.github.jeuxjeux20.loupsgarous.ListenersModule;
public final class LGStagesListenersModule extends ListenersModule {
@Override
protected void configureListeners() {
addListener(LogStageEventsListener.class);
}
}
| 18,005 |
https://github.com/sbl-sdsc/mmtf-pyspark/blob/master/mmtfPyspark/filters/orFilter.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | mmtf-pyspark | sbl-sdsc | Python | Code | 81 | 227 | #!/user/bin/env python
'''orFilter.py
This filter wraps two filter and returns true if one of the filters passes
'''
__author__ = "Mars (Shih-Cheng) Huang"
__maintainer__ = "Mars (Shih-Cheng) Huang"
__email__ = "marshuang80@gmail.com"
__version__ = "0.2.0"
__status__ = "done"
class OrFilter(object):
'''Construc... | 19,628 |
https://github.com/nathalyandrade/facomflix/blob/master/FacomFLIX/backend/src/controllers/AulaController.js | Github Open Source | Open Source | MIT | 2,020 | facomflix | nathalyandrade | JavaScript | Code | 966 | 3,177 | require('dotenv').config();
const { models, model } = require('../../configBD');
const { Op, QueryTypes } = require("sequelize");
const sequelize = require('../../configBD');
const { response } = require('express');
module.exports = {
async mostrarAulas (req, res) {
try {
const Aula = await mo... | 19,114 |
https://github.com/drolean/Servidor-WOW/blob/master/RealmServer/PacketReader/CMSG_GMTICKET_CREATE.cs | Github Open Source | Open Source | Unlicense | 2,021 | Servidor-WOW | drolean | C# | Code | 75 | 243 | using Common.Helpers;
namespace RealmServer.PacketReader
{
public sealed class CMSG_GMTICKET_CREATE : Common.Network.PacketReader
{
public string Future;
public uint MapId;
public float MapX;
public float MapY;
public float MapZ;
public string Text;
pub... | 25,357 |
https://github.com/Im5tu/template-k6/blob/master/TEMPLATE.js | Github Open Source | Open Source | MIT | 2,021 | template-k6 | Im5tu | JavaScript | Code | 180 | 403 | import http from 'k6/http';
import { group } from "k6";
import { loadOptions, parseResponse, loadServiceConfig, withHeaders } from "./lib/k6_extensions.js";
// TODO :: call loadOptions() with the name of the json options that you want to load, eg: loadOptions('default-soak-test')
// This parameter must be sup... | 6,477 |
https://github.com/kazarmy/acl2/blob/master/books/projects/arm/utils/fp-constants.lisp | Github Open Source | Open Source | BSD-3-Clause | 2,022 | acl2 | kazarmy | Common Lisp | Code | 359 | 1,749 | ;; Cuong Chau <ckc8687@gmail.com>
;; June 2021
(in-package "RTL")
(local (include-book "rtl/rel11/lib/top-alt" :dir :system))
;; ======================================================================
;; 2^n constants
(defconst *2^2* 4)
(defconst *2^3* 8)
(defconst *2^4* 16)
(defconst *2^5* 32)
(defconst *2^6* 64)
... | 27,988 |
https://github.com/JBEI/ice/blob/master/src/main/java/org/jbei/ice/lib/bulkupload/SampleHeaderValue.java | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,022 | ice | JBEI | Java | Code | 50 | 161 | package org.jbei.ice.lib.bulkupload;
import org.jbei.ice.lib.dto.bulkupload.SampleField;
/**
* @author Hector Plahar
*/
public class SampleHeaderValue implements HeaderValue {
private final SampleField sampleField;
SampleHeaderValue(SampleField field) {
this.sampleField = field;
}
@Overri... | 6,063 |
https://github.com/atomass/meta-rcar/blob/master/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0087-virtio-allow-device-to-enforce-dma-mapping-of-data-b.patch | Github Open Source | Open Source | MIT | 2,022 | meta-rcar | atomass | null | Spoken | 266 | 788 | From 1c2971cfce37310c410ee43c843947aa43872996 Mon Sep 17 00:00:00 2001
From: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Date: Thu, 23 Feb 2017 09:06:06 +0300
Subject: [PATCH 07/17] virtio: allow device to enforce dma-mapping of data
buffers
This adds possibility for virtio device provider to enforce dma-mapp... | 7,725 |
https://github.com/mmore500/hstrat/blob/master/hstrat/stratum_retention_strategy/stratum_retention_algorithms/recency_proportional_resolution_algo/_impl/_num_to_condemn_/_num_to_condemn_reference.py | Github Open Source | Open Source | MIT | 2,023 | hstrat | mmore500 | Python | Code | 101 | 282 | def num_to_condemn_reference(
recency_proportional_resolution: int,
num_stratum_depositions_completed: int,
) -> int:
"""How many strata should be eliminated after
num_stratum_depositions_completed have been deposited and the
num_stratum_depositions_completed + 1'th deposition is in progress?
U... | 29,431 |
https://github.com/sp-nitech/SPTK/blob/master/include/SPTK/conversion/minimum_phase_impulse_response_to_cepstrum.h | Github Open Source | Open Source | Apache-2.0 | 2,023 | SPTK | sp-nitech | C++ | Code | 326 | 931 | // ------------------------------------------------------------------------ //
// Copyright 2021 SPTK Working Group //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 40,280 |
https://github.com/EdWire/Response-to-Intervention/blob/master/src/EdFi.RtI.Core/Providers/Cache/CacheAppSettings.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | Response-to-Intervention | EdWire | C# | Code | 36 | 89 | using System;
using System.Collections.Generic;
using System.Text;
namespace EdFi.RtI.Core.Providers.Cache
{
public class CacheAppSettings
{
public string CacheConn { get; set; }
public string CacheHost { get; set; }
public string CachePrefix { get; set; }
}
}
| 35,498 |
https://github.com/Bhaskers-Blu-Org2/BuildXL/blob/master/Public/Src/Tools/Execution.Analyzer/Analyzers.Partner/ObservedAccessAnalyzer.cs | Github Open Source | Open Source | MIT | null | BuildXL | Bhaskers-Blu-Org2 | C# | Code | 352 | 1,216 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BuildXL.Pips;
using BuildXL.Processes;
using BuildXL.Scheduler.Tracing;
using BuildXL.ToolSupport;
namespace BuildXL.Execution.Analyzer
{
internal pa... | 32,806 |
https://github.com/jatinderjit/django-indices/blob/master/django_indices/migrations/0001_initial.py | Github Open Source | Open Source | MIT | 2,019 | django-indices | jatinderjit | Python | Code | 66 | 298 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2019-05-03 11:26
from __future__ import unicode_literals
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [("cont... | 43,739 |
https://github.com/seandenigris/iceberg/blob/master/Iceberg-Tests.package/IceAbstractTestCase.class/instance/assertPackageExists..st | Github Open Source | Open Source | MIT | 2,020 | iceberg | seandenigris | null | Spoken | 12 | 30 | assertions
assertPackageExists: aString
self assert: (self repository workingCopy environment ask includesPackageNamed: aString) | 16,402 |
https://github.com/maincotech/erp/blob/master/src/Maincotech.Erp.Blazor/MapperProfiles/DtoToViewModelMapperProfile.cs | Github Open Source | Open Source | MIT | null | erp | maincotech | C# | Code | 96 | 340 | using AntDesign;
using AutoMapper;
using Maincotech.Adapter;
using Maincotech.Data;
using Maincotech.Erp.Dto;
using Maincotech.Erp.Pages.Product;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Maincotech.Erp.Blazor.MapperProfiles
{
public class DtoToViewModelMapperProfile : Profile, ... | 9,989 |
https://github.com/kleinsmk/POSH-LTM-Rest/blob/master/F5-LTM/Public/Get-PoolMonitor.ps1 | Github Open Source | Open Source | MIT | 2,022 | POSH-LTM-Rest | kleinsmk | PowerShell | Code | 132 | 498 | Function Get-PoolMonitor {
<#
.SYNOPSIS
Get pool monitor(s)
.NOTES
Pool and monitor names are case-specific.
#>
[cmdletBinding(DefaultParameterSetName='InputObject')]
param(
$F5Session=$Script:F5Session,
[Alias('Pool')]
[Parameter(Mandatory=$false,ParameterSetName='InputObject'... | 39,127 |
https://github.com/NoahStolk/DevilDaggersSurvivalEditor/blob/master/DevilDaggersSurvivalEditor/Arena/Presets/Rectangular.cs | Github Open Source | Open Source | Unlicense | 2,022 | DevilDaggersSurvivalEditor | NoahStolk | C# | Code | 54 | 151 | namespace DevilDaggersSurvivalEditor.Arena.Presets
{
public class Rectangular : AbstractRectangularArena
{
public float Height { get; set; }
public override float[,] GetTiles()
{
float[,] tiles = CreateArenaArray();
for (int i = X1; i < X2; i++)
{
for (int j = Y1; j < Y2; j++)
tiles[i, j] = ... | 11,808 |
https://github.com/merlinDM/ignite/blob/master/modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheMvccTestSuite5.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | ignite | merlinDM | Java | Code | 264 | 1,488 | /*
* 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 may ... | 36,912 |
https://github.com/vucrr/test-demo/blob/master/src/containers/MyAccount/Return/Result/index.tsx | Github Open Source | Open Source | MIT | 2,019 | test-demo | vucrr | TSX | Code | 60 | 163 | import { NextSFC2 } from '@@types/next'
import { Container, Header, TabBar } from 'components'
import React from 'react'
import Top from './Top'
interface ReturnResultProps {
cacheList: any
onCacheListActions: any
}
const ReturnResult: NextSFC2<ReturnResultProps> = () => {
const containerProps = {
renderHea... | 32,293 |
https://github.com/fasiondog/hikyuu/blob/master/hikyuu/test/Parameter.py | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,023 | hikyuu | fasiondog | Python | Code | 173 | 598 | #!/usr/bin/python
# -*- coding: utf8 -*-
# gb18030
#===============================================================================
# 作者:fasiondog
# 历史:1)20130220, Added by fasiondog
#===============================================================================
from test_init import *
import unittest
from hikyuu im... | 14,639 |
https://github.com/fintradeweb/marketplace/blob/master/public/js/information.js | Github Open Source | Open Source | MIT | null | marketplace | fintradeweb | JavaScript | Code | 468 | 1,236 | window.addEventListener('load', function() {
function isValidURL(url){
var RegExp = /(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;
if(RegExp.test(url)){
return true;
}else{
return false;
}
}
$("#btn_save").click(function(){
var msg = "";
... | 15,731 |
https://github.com/altdx/dotfiles/blob/master/Linux/.local/share/fish/generated_completions/lou_allround.fish | Github Open Source | Open Source | MIT | null | dotfiles | altdx | Fish | Code | 40 | 96 | # lou_allround
# Autogenerated from man page /usr/lib/jvm/default/man/man1/lou_allround.1.gz
complete -c lou_allround -s h -l help -d 'display this help and exit'
complete -c lou_allround -s v -l version -d 'display version information and exit AUTHOR Written by John J. Boyer'
| 7,063 |
https://github.com/Isseikun10/SISTEMA-SMALIE/blob/master/periodo_invalido.php | Github Open Source | Open Source | MIT | 2,021 | SISTEMA-SMALIE | Isseikun10 | Hack | Code | 164 | 952 | <!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8" />
<meta http-equiv="refresh" content="9; URL=procesos/funciones_query.php?funcion=logout">
<title> Encuesta SMALIE </title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="mai... | 6,521 |
https://github.com/djbrunoramon/Microservicos/blob/master/pagamento/src/main/java/com/brdomain/pagamento/data/vo/ProdutoVendaVO.java | Github Open Source | Open Source | MIT | null | Microservicos | djbrunoramon | Java | Code | 71 | 341 | package com.brdomain.pagamento.data.vo;
import java.io.Serializable;
import org.modelmapper.ModelMapper;
import org.springframework.hateoas.RepresentationModel;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.AllArgsConstructor;
import l... | 38,824 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.