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/NicoleRobin/dovecot/blob/master/dovecot-2.2.33.2/src/plugins/push-notification/push-notification-event-mailboxdelete.h | Github Open Source | Open Source | MIT | null | dovecot | NicoleRobin | C | Code | 32 | 115 | /* Copyright (c) 2015-2017 Dovecot authors, see the included COPYING file */
#ifndef PUSH_NOTIFICATION_EVENT_MAILBOXDELETE_H
#define PUSH_NOTIFICATION_EVENT_MAILBOXDELETE_H
struct push_notification_event_mailboxdelete_data {
/* Can only be true. */
bool deleted;
};
#endif /* PUSH_NOTIFICATION_EVENT_MAILBOX... | 50,338 |
https://github.com/shelan/GeoResolver/blob/master/GeoResolver/src/main/java/com/talkdesk/geo/GeoCodeResolver.java | Github Open Source | Open Source | MIT | null | GeoResolver | shelan | Java | Code | 819 | 2,200 | package com.talkdesk.geo;/*
* Copyright (c) 2015 Shelan Perera
*
* 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, c... | 24,123 |
https://github.com/ken2190/hubcheck/blob/master/test/test_toolsession.py | Github Open Source | Open Source | MIT | 2,015 | hubcheck | ken2190 | Python | Code | 773 | 2,602 | import unittest
import re
import sys
import hubcheck
class tool_session_tests(unittest.TestCase):
def setUp(self):
host = ''
username = None
password = None
key_filename = None
self.session = hubcheck.shell.ToolSession(
host=host, username=username,
... | 51,360 |
https://github.com/mimmi20/browscap-helper/blob/master/src/Source/JsonFileSource.php | Github Open Source | Open Source | MIT | 2,021 | browscap-helper | mimmi20 | PHP | Code | 342 | 1,139 | <?php
/**
* This file is part of the browscap-helper package.
*
* Copyright (c) 2015-2021, Thomas Mueller <mimmi20@live.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types = 1);
namespace BrowscapHelper\Sourc... | 29,746 |
https://github.com/tabayoshi/laravel_news/blob/master/resources/views/index.blade.php | Github Open Source | Open Source | MIT | null | laravel_news | tabayoshi | PHP | Code | 80 | 467 | <!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>laravelnews</title>
</head>
<body>
<header>
<p>Laravel News</p>
</header>
<section>
<h2>さぁ、最新のニュースをシェアしましょう</h2>
<!-- フォーム入力 データベースへの書き込みに変更-->
<form method="post" action="ar... | 35,413 |
https://github.com/ShiyuXia/HeroPowerControl/blob/master/HeroPowerControl/BSP/usart2.c | Github Open Source | Open Source | BSD-3-Clause | 2,018 | HeroPowerControl | ShiyuXia | C | Code | 118 | 767 | #include "usart2.h"
#include "stdio.h"
/**
* @brief 串口2初始化
* @param 无
* @retval 无
**/
void USART2_Configuration(void)
{
USART_InitTypeDef usart2;
GPIO_InitTypeDef gpio;
NVIC_InitTypeDef nvic;
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA,ENABLE);
RCC_APB1PeriphClockCmd(RCC_APB1Periph_USART2,ENABLE);
... | 11,703 |
https://github.com/advitum/rpg-terminal/blob/master/src/scss/general/_vars.scss | Github Open Source | Open Source | LicenseRef-scancode-public-domain | 2,019 | rpg-terminal | advitum | SCSS | Code | 2 | 11 | $fontsDir: '../fonts/'; | 27,273 |
https://github.com/dpedersen84/JavaVendingMachine/blob/master/src/main/java/com/dp/vendingmachine/ui/UserIOConsoleImpl.java | Github Open Source | Open Source | MIT | 2,019 | JavaVendingMachine | dpedersen84 | Java | Code | 381 | 1,100 | package com.dp.vendingmachine.ui;
import java.math.BigDecimal;
import java.util.Scanner;
public class UserIOConsoleImpl implements UserIO {
private static final String INVALID_NUMBER
= "[INVALID] Enter a valid number.";
private static final String NUMBER_OUT_OF_RANGE
= "[INVALID] ... | 27,580 |
https://github.com/tchaikov/OpenCC/blob/master/src/Makefile.am | Github Open Source | Open Source | Apache-2.0 | 2,010 | OpenCC | tchaikov | Makefile | Code | 355 | 1,438 | #
# Open Chinese Convert
#
# Copyright 2010 BYVoid <byvoid.kcp@gmail.com>
#
# 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 requir... | 7,156 |
https://github.com/wiboonsak/sunnytour/blob/master/application/controllers/PackageCMS.php | Github Open Source | Open Source | MIT | null | sunnytour | wiboonsak | PHP | Code | 7,076 | 36,973 | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class PackageCMS extends CI_Controller {
function __construct() {
parent::__construct();
if ($this->session->userdata('user_id') == '') {
redirect(base_url('Control'), 'refresh');
exit();
}
... | 23,219 |
https://github.com/ADefWebserver/Blazor-Blogs/blob/master/BlazorBlogsLibrary/Data/Models/Blogs.cs | Github Open Source | Open Source | MIT | 2,023 | Blazor-Blogs | ADefWebserver | C# | Code | 98 | 209 | // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
namespace BlazorBlogs.Data.Models
{
public partial class Blogs
{
public Blogs()
{
BlogCategory = new HashSet<BlogCategory>();
... | 2,956 |
https://github.com/caiorobert/testes_DotnetComBD/blob/master/Alura.ByteBank-aula01/Alura.ByteBank.Dados/Repositorio/ClienteRepositorio.cs | Github Open Source | Open Source | MIT | null | testes_DotnetComBD | caiorobert | C# | Code | 225 | 777 | using Alura.ByteBank.Dados.Contexto;
using Alura.ByteBank.Dominio.Entidades;
using Alura.ByteBank.Dominio.Interfaces.Repositorios;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Alura.ByteBank.Dados.Rep... | 23,589 |
https://github.com/alemuntoni/u3d/blob/master/src/RTL/Component/Bones/IFXBoneNode.cpp | Github Open Source | Open Source | Apache-2.0 | 2,022 | u3d | alemuntoni | C++ | Code | 564 | 3,033 | //***************************************************************************
//
// Copyright (c) 1999 - 2006 Intel Corporation
//
// 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
//
// ... | 29,364 |
https://github.com/iracding/Swifter.Json/blob/master/Swifter.Json/JsonExtensions.Async.cs | Github Open Source | Open Source | MIT | 2,019 | Swifter.Json | iracding | C# | Code | 154 | 656 | #if NET45 || NET451 || NET47 || NET471 || NETSTANDARD || NETCOREAPP
using Swifter.Tools;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Swifter.Json
{
partial class JsonExtensions
{
/// <summary>
/// 异步将 HGlobalCache 中的内容写入到流中。
/// </summary>
/// <... | 50,311 |
https://github.com/Webinate/modepress-admin/blob/master/src/utils/createStore.tsx | Github Open Source | Open Source | MIT | null | modepress-admin | Webinate | TypeScript | Code | 70 | 157 | import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import { routerMiddleware } from 'react-router-redux';
import { History } from 'history';
import { default as rootReducer } from '../store/index';
export default function configureStore( initialState: any, history: History ... | 46,677 |
https://github.com/moritzjacobs/mj-gulp-workflow/blob/master/src/tasks/css/autoprefixer.js | Github Open Source | Open Source | Unlicense | null | mj-gulp-workflow | moritzjacobs | JavaScript | Code | 31 | 129 | const postcss = require("gulp-postcss");
const autoprefixer = require("autoprefixer");
// const isEnabled = require('./lib/isEnabled.js')(argv.env)
// const replaceEnv = require('./lib/replaceEnv.js')(argv.env)
module.exports = (buffer, config) =>
buffer.pipe(
postcss([autoprefixer(config)]).on("error", error => {... | 45,430 |
https://github.com/binofet/ice/blob/master/Projects/SkeeBall/Source/skeeball_ramp.h | Github Open Source | Open Source | MIT | null | ice | binofet | C | Code | 95 | 458 | #ifndef __SKEE_BALL_RAMP_H__
#define __SKEE_BALL_RAMP_H__
//////////////////////////////////////////////////////////////////////////////
// ICE INCLUDES
#include "Audio/icSound.h"
#include "Render/icModel.h"
#include "Math/Vector/icVector2.h"
class icContentLoader;
class btDiscreteDynamicsWorld;
class btTriangleInde... | 22,930 |
https://github.com/ouedraogoclarisse949/AUGpostop/blob/master/functions/BlandAltmanSVC.m | Github Open Source | Open Source | BSD-2-Clause | 2,015 | AUGpostop | ouedraogoclarisse949 | MATLAB | Code | 223 | 755 | function [CR,linFit] = BlandAltmanSVC(var1, var2, flag)
%%%Plots a Bland-Altman Plot
%%%INPUTS:
%%% var1 and var2 - vectors of the measurements
%%%flag - how much you want to plot
%%% 0 = no plot
%%% 1 = just the data
%%% 2 = data and the difference and CR lines
%%% 3 =... | 10,191 |
https://github.com/p4rtiz4n/sats-tracker/blob/master/SatsTracker/Modules/AssetDetail/AssetDetailInteractor.swift | Github Open Source | Open Source | WTFPL | 2,021 | sats-tracker | p4rtiz4n | Swift | Code | 144 | 483 | //
// Created by p4rtiz4n on 02/01/2021.
//
import Foundation
protocol AssetDetailInteractor {
typealias CandlesHandler = (Result<[Candle], Error>)->()
func candles(for asset: Asset, lim: Int?, handler: @escaping CandlesHandler)
func favoriteAssets() -> [FavouriteAsset]
func toggleFavourite(_ asset... | 18,834 |
https://github.com/lamhieu-vk/meteor-unblock/blob/master/unblock-tests.js | Github Open Source | Open Source | MIT | 2,021 | meteor-unblock | lamhieu-vk | JavaScript | Code | 22 | 72 | import { Tinytest } from "meteor/tinytest";
import { name as packageName } from "meteor/lamhieu:unblock";
Tinytest.add("unblock - example", function(test) {
test.equal(packageName, "unblock");
});
| 15,094 |
https://github.com/Fenrikur/ef_app_ios/blob/master/Packages/EurofurenceApplication/Sources/EurofurenceApplication/Content Router/Routes/Announcements/AnnouncementsRoute.swift | Github Open Source | Open Source | MIT | 2,021 | ef_app_ios | Fenrikur | Swift | Code | 66 | 225 | import ComponentBase
import RouterCore
public struct AnnouncementsRoute {
private let announcementsComponentFactory: AnnouncementsComponentFactory
private let contentWireframe: ContentWireframe
private let delegate: AnnouncementsComponentDelegate
public init(
announcementsComponentFac... | 24,150 |
https://github.com/allisonhonold/advent_of_code/blob/master/day_15/d15.py | Github Open Source | Open Source | MIT | null | advent_of_code | allisonhonold | Python | Code | 272 | 838 | import sys
sys.path.append('/Users/allisonhonold/ds0805/advent_of_code')
from day_5.day5_pt2 import get_input
from intcode15 import IntcodeComp
import numpy as np
from matplotlib import pyplot as plt
wasHere = np.zeros((50, 50), dtype=bool)
correctPath = np.zeros((50,50), dtype=bool)
startX, startY = 25, 25
endX, en... | 15,957 |
https://github.com/swiftyapp/cryptor/blob/master/.npmrc | Github Open Source | Open Source | MIT | 2,022 | cryptor | swiftyapp | null | Spoken | 3 | 51 | @swiftyapp:registry=https://npm.pkg.github.com
always-auth=true
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
| 16,820 |
https://github.com/hongdongni/onebusaway-application-modules/blob/master/onebusaway-transit-data/src/main/java/org/onebusaway/transit_data/model/TripStopTimesBean.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | onebusaway-application-modules | hongdongni | Java | Code | 231 | 620 | /**
* Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org>
*
* 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 requ... | 26,033 |
https://github.com/luo9602/DataStructures/blob/master/src/main/java/com/luo/sparsearray/SparseArrayTest.java | Github Open Source | Open Source | MIT | null | DataStructures | luo9602 | Java | Code | 336 | 1,259 | package com.luo.sparsearray;
import org.junit.Test;
import java.util.Arrays;
/**
* @author : luo
* @date : 2020/5/12
* @description : 稀疏数组
*/
public class SparseArrayTest {
/**
* 创建并初始化一个原始二维数组
* 0 0 1 0 8 0
* 0 0 0 0 0 0
* 0 0 0 3 0 0
* 0 0 0 0 0 0
* 0 0 0 0 0 6
*/
in... | 18,852 |
https://github.com/clibs/sophia/blob/master/test/generic/error.test.c | Github Open Source | Open Source | BSD-2-Clause | 2,021 | sophia | clibs | C | Code | 100 | 316 |
/*
* sophia database
* sphia.org
*
* Copyright (c) Dmitry Simonenko
* BSD License
*/
#include <sophia.h>
#include <libss.h>
#include <libsf.h>
#include <libsr.h>
#include <libsv.h>
#include <libsd.h>
#include <libst.h>
static void
error_test0(void)
{
void *env = sp_env();
t( env != NULL );
t( sp_getstring(en... | 3,081 |
https://github.com/ktotheoz/pixellight/blob/master/Base/PLCore/src/Xml/XmlBase.cpp | Github Open Source | Open Source | MIT | 2,021 | pixellight | ktotheoz | C++ | Code | 2,247 | 6,117 | /*********************************************************\
* File: XmlBase.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 16,512 |
https://github.com/perfectrecall/aws-sdk-cpp/blob/master/aws-cpp-sdk-braket/include/aws/braket/model/JobEventDetails.h | Github Open Source | Open Source | Apache-2.0 | 2,022 | aws-sdk-cpp | perfectrecall | C | Code | 629 | 1,682 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/braket/Braket_EXPORTS.h>
#include <aws/braket/model/JobEventType.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
... | 46,889 |
https://github.com/YashasSamaga/BustAim---AntiAimbot/blob/master/DemoGamemode.pwn | Github Open Source | Open Source | Unlicense | 2,019 | BustAim---AntiAimbot | YashasSamaga | null | Spoken | 562 | 3,522 | //BustAim DEMO Gamemode
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#define BUSTAIM_MAX_PING 600
#define BUSTAIM_MAX_PL_PERCENT_ALLOWED 5
#include ".\include\BustAim.inc"
////////////////////////////////////////////////////////////////////////////////
const COLOUR_WHITE = 0xFFFFFFFF;
const COLOUR_GREEN = 0x... | 31,169 |
https://github.com/forelo/cosnics/blob/master/src/Chamilo/Application/Weblcms/Course/Storage/DataClass/CourseRelCourseSetting.php | Github Open Source | Open Source | MIT | 2,021 | cosnics | forelo | PHP | Code | 227 | 779 | <?php
namespace Chamilo\Application\Weblcms\Course\Storage\DataClass;
use Chamilo\Application\Weblcms\Storage\DataClass\CourseSettingRelation;
/**
* This class describes the relation between a course and a course setting
*
* @package application\weblcms\course;
* @author Sven Vanpoucke - Hogeschool Gent
*/
clas... | 7,999 |
https://github.com/tanbinh123/microservice/blob/master/eureka-client-admin/src/main/java/com/javaweb/web/controller/RoleRestrictController.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | microservice | tanbinh123 | Java | Code | 354 | 4,588 | package com.javaweb.web.controller;
import javax.servlet.http.HttpServletRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping... | 13,481 |
https://github.com/kubernetes/ingress-gce/blob/master/pkg/fuzz/default_validator_env.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | ingress-gce | kubernetes | Go | Code | 429 | 1,443 | /*
Copyright 2018 The Kubernetes Authors.
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, ... | 37,316 |
https://github.com/pascalberger/nscan/blob/master/src/NScanSpecification.Lib/AutomationLayer/RuleUnionDto.cs | Github Open Source | Open Source | MIT | null | nscan | pascalberger | C# | Code | 127 | 558 | using NScan.Lib.Union6;
using NScan.SharedKernel.RuleDtos.DependencyPathBased;
using NScan.SharedKernel.RuleDtos.NamespaceBased;
using NScan.SharedKernel.RuleDtos.ProjectScoped;
namespace NScanSpecification.Lib.AutomationLayer
{
public class RuleUnionDto : Union<
IndependentRuleComplementDto,
CorrectNamesp... | 10,942 |
https://github.com/ricohartono89/base-api/blob/master/internal/handler/endpoint-handler.go | Github Open Source | Open Source | MIT | null | base-api | ricohartono89 | Go | Code | 123 | 482 | package handler
import (
jsonEncoding "encoding/json"
"log"
"net/http"
"github.com/gorilla/schema"
"github.com/ricohartono89/base-api/internal/json"
)
// DefaultDecoder ...
var DefaultDecoder = schema.NewDecoder()
// EndpointHandler ...
type EndpointHandler func(http.ResponseWriter, *http.Request) json.HTTPRes... | 14,401 |
https://github.com/sot-tech/hefur/blob/master/hefur/announce-handler.cc | Github Open Source | Open Source | MIT | 2,022 | hefur | sot-tech | C++ | Code | 454 | 1,586 | #include <mimosa/bencode/encoder.hh>
#include <mimosa/http/server-channel.hh>
#include <mimosa/net/print.hh>
#include <mimosa/stream/string-stream.hh>
#include "announce-handler.hh"
#include "hefur.hh"
#include "log.hh"
#include "options.hh"
namespace hefur {
bool AnnounceHandler::handle(mh::RequestReader &request, m... | 30,763 |
https://github.com/Huawei-Ascend/modelzoo/blob/master/built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/roma/__init__.py | Github Open Source | Open Source | Apache-2.0 | null | modelzoo | Huawei-Ascend | Python | Code | 4 | 9 | from .env import init_env
| 36,889 |
https://github.com/vjanz/awesome-compose/blob/master/nginx-golang-mysql/backend/Dockerfile | Github Open Source | Open Source | CC0-1.0 | 2,021 | awesome-compose | vjanz | Dockerfile | Code | 25 | 86 | FROM golang:1.13-alpine AS build
WORKDIR /go/src/github.com/org/repo
COPY . .
RUN go build -o server .
FROM alpine:3.12
EXPOSE 8000
COPY --from=build /go/src/github.com/org/repo/server /server
CMD ["/server"]
| 15,887 |
https://github.com/sundy-li/burrowx/blob/master/log/logger.go | Github Open Source | Open Source | Apache-2.0 | 2,020 | burrowx | sundy-li | Go | Code | 26 | 83 | package log
import log "github.com/cihub/seelog"
//return main file path
func InitLogger(cfgfile string) {
logger, err := log.LoggerFromConfigAsFile(cfgfile)
if err != nil {
panic(err)
}
log.ReplaceLogger(logger)
}
| 4,099 |
https://github.com/ttencate/conan/blob/master/conans/test/functional/deprecated/test_deprecated.py | Github Open Source | Open Source | MIT | 2,020 | conan | ttencate | Python | Code | 112 | 537 | import unittest
from conans.test.utils.tools import TestClient, GenConanfile
class DeprecatedTestCase(unittest.TestCase):
def test_no_deprecated(self):
t = TestClient()
t.save({'taskflow.py': GenConanfile("cpp-taskflow", "1.0").with_deprecated("")})
t.run("create taskflow.py")
se... | 39,536 |
https://github.com/gregory-dan/s3-static-uploader/blob/master/s3-static-uploader-plugin/src/main/java/io/pst/mojo/s3/sta/uploader/config/ConstrainedFilesListBuilder.java | Github Open Source | Open Source | BSD-4-Clause | 2,020 | s3-static-uploader | gregory-dan | Java | Code | 85 | 307 | package io.pst.mojo.s3.sta.uploader.config;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class ConstrainedFilesListBuilder extends AbstractFilesListBuilder {
public ConstrainedFilesListBuilder(File inputDirectory, List<S... | 35,332 |
https://github.com/jbean1871/Granite/blob/master/src/v4/graniteCode.js | Github Open Source | Open Source | MIT | null | Granite | jbean1871 | JavaScript | Code | 29 | 102 | function graniteCode(jsonBlock, jsonTheme) {
const id = jsonBlock.id;
const o = jsonBlock.options;
const r = jsonBlock.records;
const granite_div = document.getElementById(id);
let code_div = document.createElement("div");
code_div.innerHTML = o.code;
granite_div.appendChild(code_div);
}
| 20,367 |
https://github.com/JesusCrie/DrunkBoard/blob/master/DrunkBoard-Backend/app/Http/Controllers/Controller.php | Github Open Source | Open Source | MIT | null | DrunkBoard | JesusCrie | PHP | Code | 28 | 83 | <?php
namespace App\Http\Controllers;
use Laravel\Lumen\Routing\Controller as BaseController;
class Controller extends BaseController {
public function respond(int $status, array $data = []) {
return response()->json($data, $status, [], JSON_NUMERIC_CHECK);
}
}
| 40,369 |
https://github.com/danilovalente/spring-richclient/blob/master/spring-richclient-sandbox/src/main/java/org/springframework/richclient/preference/PreferenceManager.java | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown-license-reference | 2,020 | spring-richclient | danilovalente | Java | Code | 293 | 810 | /*
* Copyright 2002-2004 the original author or authors.
*
* 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 appl... | 29,554 |
https://github.com/jesgoo/gopath/blob/master/src/github.com/sdming/wk/websocket.go | Github Open Source | Open Source | Apache-2.0 | 2,014 | gopath | jesgoo | Go | Code | 31 | 80 | // Copyright 2012 by sdm. All rights reserved.
// license that can be found in the LICENSE file.
package wk
// import (
// "net/http"
// "code.google.com/p/go.net/websocket"
// )
//http.Handle("/socket", websocket.Handler(socketHandler))
| 2,492 |
https://github.com/Garozi/ecs-lua/blob/master/examples/pong/src/client/components/Position.lua | Github Open Source | Open Source | MIT | 2,021 | ecs-lua | Garozi | Lua | Code | 8 | 29 |
local Position = _G.ECS.Component(Vector3.new(0, 0, 0))
return Position
| 48,258 |
https://github.com/MedXChange/meta-apple/blob/master/recipes-connectivity/libimobiledevice/libimobiledevice/0001-fix-large-file-check.patch | Github Open Source | Open Source | MIT | null | meta-apple | MedXChange | null | Spoken | 103 | 440 | From 767923525297c83676e6480b09e7f479e5d23539 Mon Sep 17 00:00:00 2001
From: James Davila <jamesddavila@gmail.com>
Date: Thu, 6 Sep 2018 13:32:50 -0400
Subject: [PATCH] fix-large-file-check
---
configure.ac | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/configure.ac b/configure.ac
index e41baa3..a416d... | 17,760 |
https://github.com/rapidark/synthuse-src/blob/master/src/test/ControlInfoTest.java | Github Open Source | Open Source | Apache-2.0 | 2,016 | synthuse-src | rapidark | Java | Code | 359 | 1,427 | package test;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.List;
import org.synthuse.Api;
import org.synthuse.Api.User32Ex;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.platform.win32.User32;
import com.sun.jna.platform.win32.WinDef.HWND;
/**
... | 26,575 |
https://github.com/Paps94/InTheMaking/blob/master/app/Http/Controllers/BirthdaysController.php | Github Open Source | Open Source | MIT | null | InTheMaking | Paps94 | PHP | Code | 250 | 794 | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Requests\BirthdayRequest;
use App\Http\Controllers\Controller;
use App\Birthday;
use Carbon\Carbon;
class BirthdaysController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
... | 30,130 |
https://github.com/ConSol/sakuli/blob/master/src/core/src/test/java/org/sakuli/services/forwarder/icinga2/model/Icinga2ResultTest.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | sakuli | ConSol | Java | Code | 266 | 958 | /*
* Sakuli - Testing and Monitoring-Tool for Websites and common UIs.
*
* Copyright 2013 - 2016 the original author or authors.
*
* 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
*
* ... | 44,455 |
https://github.com/maevetierney/phase-0/blob/master/week-4/good-guess/my_solution.rb | Github Open Source | Open Source | MIT | 2,016 | phase-0 | maevetierney | Ruby | Code | 30 | 64 | # Good Guess
def good_guess?(integer)
if
integer == 42
return true
end
else
return false
end
# I worked on this challenge [by myself, with: ].
# Your Solution Below | 38,026 |
https://github.com/vulcan-collaboration/vulcanforge/blob/master/vulcanforge/config/render/markdown_ext/mdx_stash.py | Github Open Source | Open Source | LicenseRef-scancode-other-permissive | 2,018 | vulcanforge | vulcan-collaboration | Python | Code | 240 | 780 | import markdown
import random
import string
#noinspection PyPep8Naming
class StashPattern(markdown.inlinepatterns.Pattern):
"""
Used to insert a placeholder for a pattern, then sub another value in after
the rest of the patterns have been run. The purpose of this is to prevent
corruption by other patt... | 40,436 |
https://github.com/apple/swift-protobuf/blob/master/Sources/SwiftProtobuf/ExtensionFieldValueSet.swift | Github Open Source | Open Source | Apache-2.0, Swift-exception | 2,023 | swift-protobuf | apple | Swift | Code | 364 | 782 | // Sources/SwiftProtobuf/ExtensionFieldValueSet.swift - Extension support
//
// Copyright (c) 2014 - 2016 Apple Inc. and the project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See LICENSE.txt for license information:
// https://github.com/apple/swift-protobuf/blob/main/LICENSE.tx... | 10,676 |
https://github.com/panda726548/yiranpay/blob/master/yiranpay/yiranpay-gateway/src/main/java/com/yiranpay/gateway/request/ChinaH5PayRequest.java | Github Open Source | Open Source | MIT | 2,023 | yiranpay | panda726548 | Java | Code | 306 | 912 | package com.yiranpay.gateway.request;
/**
* 请求响应
*
* @author pandaa
*
*/
public class ChinaH5PayRequest extends RequestBase {
/**
* 商户请求号:商户发起请求的,建议用时间戳唯一编号
*/
private String requestNo;
/**
* 交易金额
*/
private String amount;
/**
* 产品名称
*/
private String productName;
/**
* 商品描述
*/
private S... | 15,303 |
https://github.com/metalex9/canvas-1/blob/master/webpack.config.js | Github Open Source | Open Source | MIT | null | canvas-1 | metalex9 | JavaScript | Code | 13 | 46 | 'use strict';
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
plugins: [new HtmlWebpackPlugin()]
};
| 42,816 |
https://github.com/silverlakesoftware/Mailboxes/blob/master/source/Mailboxes.Benchmarks/Program.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | Mailboxes | silverlakesoftware | C# | Code | 48 | 229 | // Copyright © 2019, Silverlake Software LLC and Contributors (see NOTICES file)
// SPDX-License-Identifier: Apache-2.0
using BenchmarkDotNet.Running;
using Mailboxes.Benchmarks.ExecutionPatterns;
namespace Mailboxes.Benchmarks
{
class Program
{
static void Main(string[] args)
{
B... | 46,284 |
https://github.com/GulityCrown/Open-Lab-05.07/blob/master/Open-Lab-05.07/Numbers.cs | Github Open Source | Open Source | MIT | 2,019 | Open-Lab-05.07 | GulityCrown | C# | Code | 20 | 60 | using System;
namespace Open_Lab_05._07
{
public class Numbers
{
public int[] RemoveSmallest(int[] nums)
{
throw new NotImplementedException();
}
}
}
| 3,127 |
https://github.com/Gerile3/My_Python/blob/master/Math/product_expr.py | Github Open Source | Open Source | MIT | null | My_Python | Gerile3 | Python | Code | 48 | 146 | from sympy import expand, sympify
from sympy.core.sympify import SympifyError
def product(expr1, expr2):
'''Product of two expressions'''
prod = expand(expr1 * expr2)
print(prod)
if __name__ == '__main__':
try:
expr1 = sympify(input('Enter the first expression: '))
expr2 = sympify(in... | 26,867 |
https://github.com/polkadot-js/apps/blob/master/packages/page-parachains/src/useLeaseRanges.ts | Github Open Source | Open Source | Apache-2.0 | 2,023 | apps | polkadot-js | TypeScript | Code | 163 | 521 | // Copyright 2017-2023 @polkadot/app-parachains authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { u32 } from '@polkadot/types';
import { useMemo } from 'react';
import { createNamedHook, useApi } from '@polkadot/react-hooks';
import { BN } from '@polkadot/util';
const RANGES_DEFAULT: [numb... | 24,653 |
https://github.com/AlHamasy/alfalibs/blob/master/alfalibs/src/main/java/com/alfarabi/alfalibs/adapters/recyclerview/VerticalRecyclerAdapter.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | alfalibs | AlHamasy | Java | Code | 285 | 1,255 | package com.alfarabi.alfalibs.adapters.recyclerview;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;
import com.alfarabi.alfalibs.adapters.recyclerview.viewholder.SimpleViewHolder;
import com.al... | 18,781 |
https://github.com/burakbayramli/books/blob/master/Machine_Learning_Probabilistic_Perspective_Murphy/pmtk3-3jan11/matlabTools/util/SetDefaultValue.m | Github Open Source | Open Source | MIT | 2,023 | books | burakbayramli | MATLAB | Code | 113 | 281 | function SetDefaultValue(position, argName, defaultValue)
% Initialize a missing or empty value in the caller function
%
% SETDEFAULTVALUE(POSITION, ARGNAME, DEFAULTVALUE) checks to see if the
% argument named ARGNAME in position POSITION of the caller function is
% missing or empty, and if so, assigns it the value DE... | 5,060 |
https://github.com/BV-BRC/bvbrc_website/blob/master/public/js/p3/widget/viewer/Taxonomy.js | Github Open Source | Open Source | MIT | 2,021 | bvbrc_website | BV-BRC | JavaScript | Code | 968 | 3,873 | define([
'dojo/_base/declare', 'dojo/_base/Deferred', 'dojo/request', 'dojo/_base/lang', 'dojo/topic',
'./_GenomeList', '../Phylogeny', '../../util/PathJoin',
'../TaxonomyTreeGridContainer', '../TaxonomyOverview', '../../util/QueryToEnglish'
], function (
declare, Deferred, xhr, lang, Topic,
GenomeList, Phylo... | 10,621 |
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/runtime/testing/conversion.go | Github Open Source | Open Source | Apache-2.0 | 2,023 | kubernetes | kubernetes | Go | Code | 1,126 | 3,552 | /*
Copyright 2020 The Kubernetes Authors.
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, ... | 32,241 |
https://github.com/AI549654033/RDHelp/blob/master/src/src/Share/ShareLib/LinuxPublic/ACE_wrappers/examples/APG/Signals/Makefile.am | Github Open Source | Open Source | MIT | 2,020 | RDHelp | AI549654033 | Makefile | Code | 190 | 726 | ## Process this file with automake to create Makefile.in
##
## $Id: Makefile.am 80826 2008-03-04 14:51:23Z wotte $
##
## This file was generated by MPC. Any changes made directly to
## this file will be lost the next time it is generated.
##
## MPC Command:
## ./bin/mwc.pl -type automake -noreldefs ACE.mwc
ACE_BUILD... | 13,398 |
https://github.com/woytam/http/blob/master/tests/Io/MiddlewareRunnerTest.php | Github Open Source | Open Source | MIT | 2,022 | http | woytam | PHP | Code | 1,121 | 3,750 | <?php
namespace React\Tests\Http\Io;
use Clue\React\Block;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use React\EventLoop\Factory;
use React\Http\Io\MiddlewareRunner;
use React\Http\Io\ServerRequest;
use React\Promise;
use React\Tests\Http\Middleware\ProcessStack;
use React\T... | 14,754 |
https://github.com/dubiety/azure-sdk-for-python/blob/master/sdk/ml/azure-ai-ml/azure/ai/ml/_arm_deployments/online_endpoint_assets.py | Github Open Source | Open Source | MIT | 2,022 | azure-sdk-for-python | dubiety | Python | Code | 179 | 631 | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import logging
from azure.ai.ml.entities import OnlineDeployment, OnlineEndpoint
from azure.ai.ml.entities._assets import Code, Model, Env... | 30,799 |
https://github.com/AvagyanGagik1/gym/blob/master/resources/js/bootstrap.js | Github Open Source | Open Source | MIT | null | gym | AvagyanGagik1 | JavaScript | Code | 240 | 630 | import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
if (document.getElementsByClassName('editor').length) {
let elements = Array.from(document.getElementsByClassName('editor'))
elements.forEach((item) => {
ClassicEditor
.create(item,
{
toolbar:... | 33,909 |
https://github.com/Zotyamester/datastructures/blob/master/C/hashtable.c | Github Open Source | Open Source | MIT | null | datastructures | Zotyamester | C | Code | 336 | 1,015 | /**
* \file list.c
*
* This file defines the declarations and struct HashTable from 'hashtable.h'.
* @author Zoltan Szatmary
*
*/
#include "hashtable.h"
struct HashTable {
Bucket *data[HASH_SIZE];
size_t size;
size_t (*hash_f)(void *);
int (*cmp_f)(void *, void *);
};
static size_t hashtable_de... | 14,628 |
https://github.com/piscinajs/piscina/blob/master/examples/server/sync-sleep-unpooled.js | Github Open Source | Open Source | MIT | 2,023 | piscina | piscinajs | JavaScript | Code | 58 | 141 | 'use strict';
const fastify = require('fastify')();
const sab = new SharedArrayBuffer(4);
const lock = new Int32Array(sab);
// Declare a route
fastify.get('/', async () => {
Atomics.wait(lock, 0, 0, 100);
return { hello: 'world' };
});
// Run the server!
const start = async () => {
try {
await fastify.lis... | 23,458 |
https://github.com/LeandroDotta/TheTinyF-x3R-3000/blob/master/GlobalGameJam2020/Assets/Scripts/Plug.cs | Github Open Source | Open Source | MIT | 2,020 | TheTinyF-x3R-3000 | LeandroDotta | C# | Code | 152 | 554 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Plug : MonoBehaviour
{
[SerializeField] private Transform bodyTransform;
[SerializeField] private Transform pluggedPositionTransform;
[SerializeField] private Sprite spritePlugged;
public GameObject[] elementsT... | 28,696 |
https://github.com/MorganOBN/KoA-Story/blob/master/src/Microsoft.CodeAnalysis.Workspaces.Dnx/Resolution/ProjectDependencyProvider.cs | Github Open Source | Open Source | MIT | 2,019 | KoA-Story | MorganOBN | C# | Code | 181 | 546 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Versioning;
using Microsoft.Extensions.ProjectModel.Graph... | 42,315 |
https://github.com/szqmtl/spring-boot-rabbitmq-client-json/blob/master/src/main/java/rshu/springboot/mq/mqreceiver/MqReceiverApplication.java | Github Open Source | Open Source | MIT | null | spring-boot-rabbitmq-client-json | szqmtl | Java | Code | 130 | 693 | package rshu.springboot.mq.mqreceiver;
import org.springframework.amqp.core.Binding;
import org.springframework.amqp.core.BindingBuilder;
import org.springframework.amqp.core.DirectExchange;
import org.springframework.amqp.core.Queue;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springfra... | 21,447 |
https://github.com/alexa-infra/py-imagineer/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,019 | py-imagineer | alexa-infra | Ignore List | Code | 2 | 11 | local/
__pycache__/
| 23,485 |
https://github.com/igit-cn/lemon/blob/master/src/main/java/com/mossle/user/web/AccountDetailController.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | lemon | igit-cn | Java | Code | 394 | 1,800 | package com.mossle.user.web;
import java.util.List;
import javax.annotation.Resource;
import com.mossle.user.persistence.domain.AccountAvatar;
import com.mossle.user.persistence.domain.AccountCredential;
import com.mossle.user.persistence.domain.AccountDevice;
import com.mossle.user.persistence.domain.AccountInfo;
i... | 45,609 |
https://github.com/lexndru/classjar/blob/master/src/craft.js | Github Open Source | Open Source | MIT | null | classjar | lexndru | JavaScript | Code | 809 | 1,849 | // Copyright (c) 2019 Alexandru Catrina <alex@codeissues.net>
//
// 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, cop... | 47,990 |
https://github.com/Ambiwork/keycloak-nodejs-admin-client/blob/master/lib/defs/globalRequestResult.d.ts | Github Open Source | Open Source | Apache-2.0 | null | keycloak-nodejs-admin-client | Ambiwork | TypeScript | Code | 10 | 29 | export default interface GlobalRequestResult {
successRequests?: string[];
failedRequests?: string[];
}
| 23,853 |
https://github.com/zactodd/deep_learning_template/blob/master/src/utils.py | Github Open Source | Open Source | MIT | 2,020 | deep_learning_template | zactodd | Python | Code | 341 | 912 | import os
import numpy as np
from itertools import zip_longest, accumulate, product,repeat
from types_utils import F
from typing import Any, Iterable, Callable, Sized
from threading import Thread
PATH = os.path.dirname(__file__)
RESOURCES_PATH = os.path.abspath(f"{PATH}/../resources")
def start_join_threads(threads... | 25,787 |
https://github.com/Saritasa/php-laravel-s3-uploads/blob/master/src/Dto/UploadFileToS3Data.php | Github Open Source | Open Source | MIT | 2,022 | php-laravel-s3-uploads | Saritasa | PHP | Code | 80 | 207 | <?php
namespace Saritasa\LaravelUploads\Dto;
use Saritasa\Dto;
/**
* The model contains data for upload file on S3.
*/
class UploadFileToS3Data extends Dto
{
public const UPLOAD_URL = 'uploadUrl';
public const VALID_UNTIL = 'validUntil';
public const FILE_URL = 'fileUrl';
/**
* Presigned file... | 43,956 |
https://github.com/rickyminecraft/nouveau/blob/master/java/nouveau/blocks/objets/Pupitre.java | Github Open Source | Open Source | CC0-1.0 | null | nouveau | rickyminecraft | Java | Code | 74 | 310 | package nouveau.blocks.objets;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.LecternBlock;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.shapes.Shapes;
imp... | 10,139 |
https://github.com/sticha/pulumi/blob/master/tests/integration/aliases/dotnet/rename/step1/Program.cs | Github Open Source | Open Source | Apache-2.0 | 2,022 | pulumi | sticha | C# | Code | 58 | 145 | // Copyright 2016-2019, Pulumi Corporation. All rights reserved.
using System.Threading.Tasks;
using Pulumi;
class Resource : ComponentResource
{
public Resource(string name, ComponentResourceOptions options = null)
: base("my:module:Resource", name, options)
{
}
}
class Program
{
static Ta... | 33,034 |
https://github.com/apache/spamassassin/blob/master/tools/speedtest | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-unknown | 2,023 | spamassassin | apache | Perl | Code | 187 | 417 | #!/usr/bin/perl -w
# <@LICENSE>
# 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
# (... | 38,286 |
https://github.com/monarch-initiative/loinc2hpo/blob/master/loinc2hpo-core/src/main/java/org/monarchinitiative/loinc2hpocore/io/LoincTableCoreParser.java | Github Open Source | Open Source | BSD-3-Clause | 2,023 | loinc2hpo | monarch-initiative | Java | Code | 234 | 872 | package org.monarchinitiative.loinc2hpocore.io;
import org.monarchinitiative.loinc2hpocore.exception.Loinc2HpoRuntimeException;
import org.monarchinitiative.loinc2hpocore.loinc.LoincEntry;
import org.monarchinitiative.loinc2hpocore.loinc.LoincId;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io... | 39,056 |
https://github.com/fcgomes92/pinte_comigo_CCT710/blob/master/src/pacote18762/model/Poligono.java | Github Open Source | Open Source | MIT | null | pinte_comigo_CCT710 | fcgomes92 | Java | Code | 56 | 198 | package pacote18762.model;
import java.util.LinkedList;
public class Poligono extends Figura{
private static final long serialVersionUID = 1L;
private LinkedList<Reta> lados = new LinkedList<Reta>();
private int qtdLados;
public LinkedList<Reta> getLados() {
return lados;
}
public void setLados(LinkedList... | 11,380 |
https://github.com/circutrider21/brutal/blob/master/sources/libs/brutal/task.h | Github Open Source | Open Source | MIT | 2,021 | brutal | circutrider21 | C | Code | 9 | 36 | #pragma once
#include <brutal/base.h>
/* --- */
#include <brutal/task/task.h>
| 11,588 |
https://github.com/vunguyenthe/SmallBusiness/blob/master/project/spring-websocket-server-master/src/main/java/com/small/business/service/user/UserFollowerNumberServiceImpl.java | Github Open Source | Open Source | MIT | 2,018 | SmallBusiness | vunguyenthe | Java | Code | 90 | 482 | package com.small.business.service.user;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.small.business.dao.user.UserFollowerNumberDao;
import com.small.business.mod... | 15,567 |
https://github.com/rohans0509/Clarinet/blob/master/Clarinet/usermodel/NoisyUser/__init__.py | Github Open Source | Open Source | MIT | 2,022 | Clarinet | rohans0509 | Python | Code | 32 | 185 | import miditoolkit
from Clarinet.usermodel.NoisyUser.NoisyUser import NoisyUser
'''
==============
USE FUNCTION
==============
'''
def use(midi_file,channel=-1,pitch=0,extra=0,delete=0,velocity=0,length=0):
mido_obj = miditoolkit.midi.parser.MidiFile(midi_file)
user = NoisyUser(mido_obj)
if channel == -1:
... | 27,258 |
https://github.com/mikeerickson/laravel-four/blob/master/public/css/less/default.less | Github Open Source | Open Source | MIT | 2,014 | laravel-four | mikeerickson | Less | Code | 932 | 2,739 | @import url(http://fonts.googleapis.com/css?family=Droid+Sans);
@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import "Elements.less";
/* variables */
@pagination_col... | 4,608 |
https://github.com/sanyaade-teachings/OpenSiv3D/blob/master/Siv3D/include/Siv3D/detail/INI.ipp | Github Open Source | Open Source | MIT | null | OpenSiv3D | sanyaade-teachings | C++ | Code | 417 | 1,471 | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
namespace s3d
{
inline INI::IN... | 25,151 |
https://github.com/muthukumaravel7/armnn/blob/master/Documentation/_logging_8cpp.js | Github Open Source | Open Source | MIT | null | armnn | muthukumaravel7 | JavaScript | Code | 20 | 134 | var _logging_8cpp =
[
[ "SetAllLoggingSinks", "_logging_8cpp.xhtml#a7f8325a4bc02f2f687ba1968b595ec0a", null ],
[ "SetLogFilter", "_logging_8cpp.xhtml#ac9aad76a34137b6359a867b282ea7cfb", null ],
[ "SetLoggingSinks", "_logging_8cpp.xhtml#a5f523aee1752323aeaf899085649320b", null ]
]; | 7,660 |
https://github.com/winterheart/quasi88/blob/master/src/snddrv/src/unix/sysdep/fifo.h | Github Open Source | Open Source | LicenseRef-scancode-mame, GPL-1.0-or-later, LGPL-2.0-or-later, LGPL-2.0-only, BSD-3-Clause | 2,022 | quasi88 | winterheart | C | Code | 613 | 1,829 | /* Generic fifo implemented through defines
Copyright 2000 Hans de Goede
This file and the acompanying files in this directory are free software;
you can redistribute them and/or modify them under the terms of the GNU
Library General Public License as published by the Free Software Foundation;
eithe... | 38,588 |
https://github.com/huobibny015/SoftwareZator-2012/blob/master/DLL/VelerSoftware.SZC/VBNetParser/Ast/BlockStatement.cs | Github Open Source | Open Source | Apache-2.0 | 2,018 | SoftwareZator-2012 | huobibny015 | C# | Code | 171 | 437 | // *****************************************************************************
//
// © Veler Software 2012. All rights reserved.
// The current code and the associated software are the proprietary
// information of Etienne Baudoux from Veler Software and are
// supplied subject to licence terms.
//
// www.ve... | 29,087 |
https://github.com/sudiptasish/opentracing-lite/blob/master/otl-metrics/src/main/java/io/opns/otl/metrics/mbean/TracerMXBean.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | opentracing-lite | sudiptasish | Java | Code | 156 | 288 | /*
* Copyright 2020 Opentracing-LiTE
*
* 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... | 26,990 |
https://github.com/CamilaTokisaki/amino-bot_and_tools/blob/master/tools/chat-id.py | Github Open Source | Open Source | MIT | 2,021 | amino-bot_and_tools | CamilaTokisaki | Python | Code | 27 | 110 | import aminofix
client = aminofix.Client()
client.login(email="here's your login", password="Here's your password")
sub_client = aminofix.SubClient(comId="and here's your amino ID", profile=client.profile)
for name, id in zip(sub_client.get_chat_threads().title, sub_client.get_chat_threads().chatId):
print(f"{name}:... | 43,119 |
https://github.com/BlockChainIdentityVault/confirm-iOS-SDK/blob/master/Confirm.io SDK/MTImage.framework/Headers/SimpleCaptureView.h | Github Open Source | Open Source | Apache-2.0 | 2,016 | confirm-iOS-SDK | BlockChainIdentityVault | Objective-C | Code | 235 | 450 | //
// SimpleCaptureView.h
// MTImage
//
// Created by clayton on 7/8/15.
// Copyright (c) 2015 MorphoTrust. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SimpleCaptureView : UIView
/*!
* @discussion The block that will be executed after an image is attempted to be captured by calling the captureIma... | 48,293 |
https://github.com/googleapis/google-api-java-client-services/blob/master/clients/google-api-services-manufacturers/v1/1.26.0/com/google/api/services/manufacturers/v1/ManufacturerCenter.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | google-api-java-client-services | googleapis | Java | Code | 4,514 | 12,638 | /*
* 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 under t... | 32,255 |
https://github.com/haner199401/calendar/blob/master/src/app.js | Github Open Source | Open Source | MIT | 2,020 | calendar | haner199401 | JavaScript | Code | 6 | 16 | var Calendar = require('./components/calendar');
new Calendar();
| 1,880 |
https://github.com/noqcks/generated/blob/master/samples/Literate CoffeeScript/pixi.coffee.md | Github Open Source | Open Source | MIT | 2,022 | generated | noqcks | null | Spoken | 297 | 904 | Pixi Test
=========
Testing out Pixi.js
_ = require "./lib/underscore"
{applyStylesheet} = require "util"
applyStylesheet require("./style")
{width, height} = require "./pixie"
{update, applyProperties, hydrate} = require "./object_updater"
editor = require("./editor")()
PIXI = require ... | 13,450 |
https://github.com/cazdlt/kolibrika/blob/master/src/pages/index.js | Github Open Source | Open Source | MIT | null | kolibrika | cazdlt | JavaScript | Code | 247 | 912 | import React from "react";
import { graphql, withPrefix, Link } from "gatsby";
import Helmet from "react-helmet";
import SEO from "../components/SEO";
import Layout from "../layouts/index";
import Call from "../components/Call";
import ServiceCard from "../components/ServiceCard";
const Home = (props) => {
const m... | 17,081 |
https://github.com/Aaronlamz/qiankun-admin-template/blob/master/subapp-template-vue3/src/router/index.js | Github Open Source | Open Source | MIT | 2,022 | qiankun-admin-template | Aaronlamz | JavaScript | Code | 98 | 326 | import { projectName } from "@/config";
let childRoutes = [];
const files = require.context("./modules", true, /\.js$/);
files.keys().forEach((key) => {
childRoutes = childRoutes.concat(files(key).default);
});
const routes = [
{
path: "/",
redirect: `/${projectName}`,
},
{
name: "Home",
path: ... | 18,059 |
https://github.com/advorange/RedditImageDownloader/blob/master/src/ImageDL.Core/Classes/ImageDownloading/DeviantArt/Models/Rss/DeviantArtRssThumbnail.cs | Github Open Source | Open Source | MIT | 2,021 | RedditImageDownloader | advorange | C# | Code | 77 | 226 | using System;
using Newtonsoft.Json;
namespace ImageDL.Classes.ImageDownloading.DeviantArt.Models.Rss
{
/// <summary>
/// Holds information about a post's thumbnail.
/// </summary>
public struct DeviantArtRssThumbnail
{
/// <summary>
/// The thumbnail's height.
/// </summary>
[JsonProperty("height")]
... | 20,364 |
https://github.com/Morebec/orkestra-messaging/blob/master/src/Domain/Query/DomainQueryInterface.php | Github Open Source | Open Source | Apache-2.0 | 2,023 | orkestra-messaging | Morebec | PHP | Code | 33 | 83 | <?php
namespace Morebec\Orkestra\Messaging\Domain\Query;
use Morebec\Orkestra\Messaging\Domain\DomainMessageInterface;
/**
* Interface representing a Command Message.
* Commands a used to request a certain action be taken by some unit.
*/
interface DomainQueryInterface extends DomainMessageInterface
{
}
| 45,898 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.