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/waqaskhan540/aspnet-api-versioning/blob/master/src/Microsoft.AspNetCore.OData.Versioning/Extensions.DependencyInjection/IODataBuilderExtensions.cs | Github Open Source | Open Source | MIT | 2,021 | aspnet-api-versioning | waqaskhan540 | C# | Code | 376 | 1,198 | namespace Microsoft.Extensions.DependencyInjection
{
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Interfaces;
using Microsoft.AspNet.OData.Routing;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.A... | 9,645 |
https://github.com/menski/camunda-bpm-spring-boot-starter/blob/master/extension/camunda-spring-boot-starter/src/test/resources/db/sql/insert-history-data.sql | Github Open Source | Open Source | Apache-2.0 | 2,016 | camunda-bpm-spring-boot-starter | menski | SQL | Code | 6 | 23 | update ACT_GE_PROPERTY set value_='1' where name_='schema.history';
| 43,925 |
https://github.com/TheoLeCalvar/MineGl/blob/master/water.cpp | Github Open Source | Open Source | Unlicense | null | MineGl | TheoLeCalvar | C++ | Code | 388 | 1,551 | #include "water.hpp"
#include <GLFW/glfw3.h>
unsigned char Water::_frame = 0;
Water::Water(unsigned char visibility):
Cube(visibility)
{
}
void Water::inc()
{
static double time = glfwGetTime();
if (glfwGetTime() - time > 1.0f/30.0f)
{
_frame = (_frame + 1) % 64;
time = glfwGetTime();
}
}
void Water::dis... | 7,895 |
https://github.com/Ying1131271533/www.caomaokj.com/blob/master/application/usezan/view/tpl/think_exception.tpl | Github Open Source | Open Source | Apache-2.0 | null | www.caomaokj.com | Ying1131271533 | null | Spoken | 23 | 130 | <!DOCTYPE html>
<html lang="zh-cn">
<meta charset="UTF-8">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Error Tips</title>
</head>
<body>
<h1>~~~( ╯□╰ )~~~</h1>
</body>
</html>
| 28,984 |
https://github.com/rub3z/my-java-programs/blob/master/src/arraylist/ParkProgram.java | Github Open Source | Open Source | MIT | null | my-java-programs | rub3z | Java | Code | 454 | 1,170 | //package arraylist;
//
//import java.text.ParseException;
//import java.text.SimpleDateFormat;
//import java.util.Scanner;
//
///**
// *
// * @author Rub3z
// */
//public class ParkProgram {
//
// public static void main(String[] args) throws ParseException {
// ArrayList ProgrammableParks = new ArrayList();
//... | 24,564 |
https://github.com/brownchow/grpc-chat/blob/master/internal/server/token.go | Github Open Source | Open Source | MIT | 2,021 | grpc-chat | brownchow | Go | Code | 23 | 69 | package server
import (
"crypto/rand"
"fmt"
)
type token string
func genToken() token {
b := make([]byte, 4)
rand.Read(b)
return token(fmt.Sprintf("%x", b))
}
| 21,798 |
https://github.com/AndrePostiga/WebApi.HealthChecks/blob/master/src/AspNetStandard.Diagnostics.HealthChecks/HttpMessageHandlers/HealthCheckHandler.cs | Github Open Source | Open Source | MIT | 2,020 | WebApi.HealthChecks | AndrePostiga | C# | Code | 280 | 997 | using AspNetStandard.Diagnostics.HealthChecks.Entities;
using AspNetStandard.Diagnostics.HealthChecks.Models;
using AspNetStandard.Diagnostics.HealthChecks.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using Syste... | 12,839 |
https://github.com/berthoug/hive/blob/master/serde/src/java/org/apache/hadoop/hive/serde2/lazy/fast/LazySimpleDeserializeRead.java | Github Open Source | Open Source | Apache-2.0 | null | hive | berthoug | Java | Code | 4,339 | 11,745 | /*
* 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 ... | 17,489 |
https://github.com/victorshinya/instance-scheduler/blob/master/.env.example | Github Open Source | Open Source | Apache-2.0 | 2,021 | instance-scheduler | victorshinya | Shell | Code | 4 | 32 | SOFTLAYER_USERNAME=""
SOFTLAYER_APIKEY=""
VSIS_NAME=[""]
POWER=""
| 36,850 |
https://github.com/go-laoji/wework/blob/master/message.go | Github Open Source | Open Source | Apache-2.0 | 2,022 | wework | go-laoji | Go | Code | 498 | 1,906 | package wework
import (
"encoding/json"
"fmt"
"github.com/go-laoji/wecom-go-sdk/internal"
)
type Message struct {
ToUser string `json:"touser,omitempty" validate:"omitempty,required_without=ToParty ToTag"`
ToParty string `json:"toparty,omitempty" validate:"omitempty,required_withou... | 13,048 |
https://github.com/home-assistant/core/blob/master/homeassistant/components/devolo_home_control/diagnostics.py | Github Open Source | Open Source | Apache-2.0 | 2,023 | core | home-assistant | Python | Code | 111 | 419 | """Diagnostics support for devolo Home Control."""
from __future__ import annotations
from typing import Any
from devolo_home_control_api.homecontrol import HomeControl
from homeassistant.components.diagnostics import async_redact_data
from homeassistant.config_entries import ConfigEntry
from homeassistant.const imp... | 1,984 |
https://github.com/I-SYST/EHAL/blob/master/ARM/CMSIS/RTOS2/RTX/Source/IAR/irq_armv8mml_ns.s | Github Open Source | Open Source | BSD-3-Clause | 2,022 | EHAL | I-SYST | Unix Assembly | Code | 8 | 48 | NAME irq_armv8mml_ns.s
#define DOMAIN_NS 1
#include "irq_armv8mml_common.s"
END
| 32,671 |
https://github.com/kimono-k/Kimono-Sorter/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,021 | Kimono-Sorter | kimono-k | Ignore List | Code | 13,010 | 255,621 |
# dependencies
/node_modules/*
/build/*
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
.idea/discord.xml
.idea/modules.xml
.idea/sort.iml
build/index.js
build/NumbersCollection.js
build/Sorter.js
node_modules/.bin/concurrently
node_modules/.bin/concurrently.cmd
nod... | 9,845 |
https://github.com/LWTlong/blogNodeServer/blob/master/nodeServer/src/controller/user.js | Github Open Source | Open Source | MIT | null | blogNodeServer | LWTlong | JavaScript | Code | 57 | 145 | const {exec, escape} = require('../db/mysql')
const { genPassword } = require('../util/cryp')
const loginCheck = (username, password) =>{
username = escape(username)
password = genPassword(password)
password = escape(password)
const sql = `select username, realname from users where username=${username}... | 48,515 |
https://github.com/Yumore/RxMVP/blob/master/gallery/src/main/java/com/yumore/gallery/widget/SystemBarTintManager.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | RxMVP | Yumore | Java | Code | 1,844 | 5,108 | package com.yumore.gallery.widget;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import androi... | 4,971 |
https://github.com/catty-project/catty/blob/master/core/src/main/java/pink/catty/core/invoker/endpoint/AbstractEndpoint.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | catty | catty-project | Java | Code | 281 | 673 | /*
* Copyright 2020 The Catty Project
* 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 i... | 48,971 |
https://github.com/RagtagOpen/bidwire/blob/master/bidwire/tests/common.py | Github Open Source | Open Source | MIT | 2,020 | bidwire | RagtagOpen | Python | Code | 16 | 54 | import db
from sqlalchemy import orm
# A test-only scoped ORM session.
Session = orm.scoped_session(orm.sessionmaker())
Session.configure(bind=db.engine)
| 49,929 |
https://github.com/vade/chromium/blob/master/chromeos/chromeos_switches.h | Github Open Source | Open Source | BSD-3-Clause | 2,017 | chromium | vade | C++ | Code | 817 | 2,663 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_CHROMEOS_SWITCHES_H_
#define CHROMEOS_CHROMEOS_SWITCHES_H_
#include "base/memory/memory_pressure_monitor_chromeos.h"
#include "chrom... | 4,541 |
https://github.com/BLACKujira/SekaiTools/blob/master/SekaiTools/Assets/Live2D/Motions/19ena_motion_base/face_smile_08.motion3.json.meta | Github Open Source | Open Source | MIT | 2,023 | SekaiTools | BLACKujira | Unity3D Asset | Code | 11 | 88 | fileFormatVersion: 2
guid: 9b9b8ee579bf7ec449e48635b1e688d0
TextScriptImporter:
externalObjects: {}
userData: '{"_animationClipGuid":"63c87243e4d160c4085aeaa3e22fbc63"}'
assetBundleName:
assetBundleVariant:
| 25,740 |
https://github.com/richdizz/TrainingContent/blob/master/O3652/O3652-7 Deep Dive into Security and OAuth/Demos/OAuthDemos/OAuthControllerWeb/Controllers/HomeController.cs | Github Open Source | Open Source | Apache-2.0 | null | TrainingContent | richdizz | C# | Code | 204 | 720 | using Newtonsoft.Json.Linq;
using OAuthControllerWeb.Models;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using WebApp.Control... | 36,387 |
https://github.com/luisgithub269/face-mask-detection-1/blob/master/6_Train_Export_to_TFjs.ipynb | Github Open Source | Open Source | Apache-2.0 | 2,020 | face-mask-detection-1 | luisgithub269 | Jupyter Notebook | Code | 1,300 | 6,715 | {
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mime... | 34,940 |
https://github.com/crackerboy/Phinch/blob/master/app/components/LinkList.js | Github Open Source | Open Source | BSD-2-Clause | 2,019 | Phinch | crackerboy | JavaScript | Code | 170 | 505 | import { shell } from 'electron';
import React from 'react';
import arrow from 'images/arrow.svg';
import styles from './LinkList.css';
const linkList = [
{
name: 'New to Phinch?',
action: () => { shell.openExternal('http://phinch.org/Tutorials'); },
info: 'Get started with these tutorials',
},
{
... | 16,617 |
https://github.com/Niroobana/trainee-management/blob/master/resources/views/web/select.blade.php | Github Open Source | Open Source | MIT | null | trainee-management | Niroobana | PHP | Code | 280 | 1,368 | <!DOCTYPE html>
<html lang="en">
@include('web.header')
<main id="main" data-aos="fade-in">
<!-- ======= Breadcrumbs ======= -->
<div class="breadcrumbs">
<div class="container">
<h2>Trainers</h2>
<p>Est dolorum ut non facere possimus quibusdam eligendi voluptatem. Quia id aut sim... | 2,857 |
https://github.com/rosanne-odiero/prisonmanagementsystem/blob/master/application/controllers/Posts.php | Github Open Source | Open Source | MIT | 2,019 | prisonmanagementsystem | rosanne-odiero | PHP | Code | 22 | 112 | <?php
class Posts extends CI_Controller{
public function index(){
$data['title'] = 'Most recent prisoner';
$data['prisoner'] = $this->post_model->get_prisoner();
$this->load->view('templates/header');
$this->load->view('posts/index', $data);
$this->load->view('templates/footer');
}
} | 35,572 |
https://github.com/rangelterraquio/WWDC2020/blob/master/Playground/MYWWDC.playground/Sources/Models/PeopleNode.swift | Github Open Source | Open Source | MIT | null | WWDC2020 | rangelterraquio | Swift | Code | 126 | 436 | //
// PeopleNode.swift
// WWDC2020
//
// Created by Rangel Cardoso Dias on 21/03/20.
// Copyright © 2020 Rangel Cardoso Dias. All rights reserved.
//
import Foundation
import SpriteKit
public class PeopleNode: SKSpriteNode, InteractiveNode{
static let peopleNotification = "peopleNotification"
... | 15,324 |
https://github.com/ampatspell/index65/blob/master/app/util/delta.js | Github Open Source | Open Source | MIT | null | index65 | ampatspell | JavaScript | Code | 58 | 161 | import { computed } from '@ember/object';
export default (modelKey, arrayKey, value) => computed(modelKey, `${arrayKey}.[]`, function() {
let model = this.get(modelKey);
let array = this.get(arrayKey);
if(!model || !array) {
return;
}
let idx = array.indexOf(model);
if(idx == -1) {
return;
}
... | 32,142 |
https://github.com/elightdev310/sports_community/blob/master/resources/views/sc/comm/partials/league/league_page_menu.blade.php | Github Open Source | Open Source | MIT | null | sports_community | elightdev310 | PHP | Code | 89 | 471 | <div class="league-page-menu-section sidebar-menu-section">
<div class="league-menu-label menu-label">
{{ $league->name }}
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#league-page-menu" aria-expanded="false">
<span class="caret"></span>
</button>
</div... | 48,054 |
https://github.com/amjadshabani/ryba/blob/master/falcon/status.coffee.md | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,015 | ryba | amjadshabani | null | Spoken | 67 | 242 |
# Falcon Status
Run the command `su -l falcon -c '/usr/lib/falcon/bin/falcon-status'` to
retrieve the status of the Falcon server using Ryba.
module.exports = []
module.exports.push 'masson/bootstrap'
# module.exports.push require('./index').configure
## Status Service
Discover the server status.
... | 38,635 |
https://github.com/marshc17/file-searcher/blob/master/src/Forms/SearchTermDialog.cs | Github Open Source | Open Source | MIT | null | file-searcher | marshc17 | C# | Code | 170 | 630 | using FileSearcher.ExtensionMethods;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using FileSearcher.FileSearch;
using FileSearcher.FileSearch.FileNam... | 6,834 |
https://github.com/cbgbt/bottlerocket/blob/master/packages/kubernetes-1.17/0050-k8s-1.17-CVE-2021-25741.patch | Github Open Source | Open Source | Apache-2.0, MIT | null | bottlerocket | cbgbt | null | Spoken | 4,439 | 12,230 | From ac51f2f6a3f70fde8fa709374f9405eb782ba36d Mon Sep 17 00:00:00 2001
From: Manu Gupta <mgpta@amazon.com>
Date: Wed, 25 Aug 2021 08:27:33 -0700
Subject: [PATCH] -- EKS Patch -- Pass additional flags to subpath mount to
avoid flakes in certain conditions
https://github.com/kubernetes/kubernetes/pull/104340
Backport ... | 15,360 |
https://github.com/rkausch/opensphere-desktop/blob/master/open-sphere-base/core/src/main/java/io/opensphere/core/pipeline/processor/PolygonProcessor.java | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, Apache-2.0, LicenseRef-scancode-public-domain | 2,020 | opensphere-desktop | rkausch | Java | Code | 2,141 | 7,128 | package io.opensphere.core.pipeline.processor;
import java.awt.Color;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.locks.Lock;
import org.apache.log4j.Logger;
import com.vividsolutions.jts.geom.MultiPolygon;
import com.vividsol... | 11,653 |
https://github.com/Group2000/cellmapping-frontend/blob/master/app/bower_components/angular-ui-bootstrap/node_modules/grunt-karma/node_modules/karma/lib/events.js | Github Open Source | Open Source | MIT, AGPL-3.0-only, Apache-2.0 | 2,020 | cellmapping-frontend | Group2000 | JavaScript | Code | 107 | 315 | var events = require('events');
var util = require('util');
var Q = require('q');
var helper = require('./helper');
var bindAllEvents = function(object, context) {
context = context || this;
for (var method in object) {
if (helper.isFunction(object[method]) && method.substr(0, 2) === 'on') {
context.o... | 46,765 |
https://github.com/tangyus/tangyus-blog/blob/master/resources/assets/js/app.js | Github Open Source | Open Source | MIT | null | tangyus-blog | tangyus | JavaScript | Code | 235 | 726 |
/**
* 后台JS
*/
require('./bootstrap');
window.$ = window.jQuery = require('jquery');
window.Vue = require('vue');
// window.toastr = require('toastr');
// window.innerHeight = 800;
//
// window.toastr.options = {
// positionClass: "toast-bottom-right",
// showDuration: "300",
// hideDuration: "1000",
//... | 8,912 |
https://github.com/IvanZheng/IFramework/blob/master/Src/iFramework.Plugins/IFramework.MessageQueue.RabbitMQ/ConfigurationExtension.cs | Github Open Source | Open Source | MIT | 2,022 | IFramework | IvanZheng | C# | Code | 58 | 246 | using System;
using IFramework.Config;
using IFramework.DependencyInjection;
using IFramework.Message;
using IFramework.MessageQueue.Client.Abstracts;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using RabbitMQ.Client;
namespace IFramework.MessageQueue.RabbitMQ
{
public stat... | 47,779 |
https://github.com/Klirxel/DataFlowFramework/blob/master/include/dataflow/executors/impl/ExecutorMultithread.hpp | Github Open Source | Open Source | BSL-1.0 | null | DataFlowFramework | Klirxel | C++ | Code | 110 | 430 | /*
* Copyright Schwenk, Kurt <Kurt.Schwenk@gmx.de> 2020
* 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 "../ExecutorMultithread.h"
namespace dataflow::executors {
inline Execu... | 22,545 |
https://github.com/imzcy/JavaScriptExecutable/blob/master/thirdparty/qt53/include/QtXmlPatterns/5.3.0/QtXmlPatterns/private/qxsdelement_p.h | Github Open Source | Open Source | MIT | 2,016 | JavaScriptExecutable | imzcy | C++ | Code | 1,310 | 3,571 | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | 35,106 |
https://github.com/UnDuhDuhSea/Tech-Blog/blob/master/.env | Github Open Source | Open Source | MIT | 2,021 | Tech-Blog | UnDuhDuhSea | Shell | Code | 4 | 29 | DB_NAME=techblog_db
DB_PASSWORD=password1
DB_USER=root
SECRET=12345678 | 13,640 |
https://github.com/blackisle12/big-foot-ventures/blob/master/BigFootVentures/BigFootVentures.Application.Web/Scripts/Views/Shared/_Components/Modals/AdvanceSearch/_Cancellation.js | Github Open Source | Open Source | MIT | 2,019 | big-foot-ventures | blackisle12 | JavaScript | Code | 279 | 929 | function BuildCancellationQuery(query) {
var referenceInternal = $('[name="Input.Filter.Cancellation.ReferenceInternal"]').val();
var referenceExternal = $('[name="Input.Filter.Cancellation.ReferenceExternal"]').val();
var sentOrigin = $('[name="Input.Filter.Cancellation.SentOrigin"]').val();
var inter... | 29,527 |
https://github.com/EMResearch/EMB/blob/master/jdk_8_maven/cs/rest/original/catwatch/catwatch-backend/src/main/java/org/zalando/catwatch/backend/model/ContributorKey.java | Github Open Source | Open Source | Apache-2.0, GPL-1.0-or-later, LGPL-2.0-or-later | 2,023 | EMB | EMResearch | Java | Code | 135 | 470 | package org.zalando.catwatch.backend.model;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.zalando.catwatch.backend.model.util.JsonDateDeserializer;
import org.zalando.catwatch.backend.model.util.JsonDateSerializer;
import j... | 3,654 |
https://github.com/OptimusCrime/youkok2/blob/master/frontend/src/courses/components/navigation/index.js | Github Open Source | Open Source | MIT | 2,019 | youkok2 | OptimusCrime | JavaScript | Code | 202 | 821 | import React from 'react';
import {calculateRelativeButtons} from "../../utilities";
import {RELATIVE_BUTTONS_LEFT, RELATIVE_BUTTONS_RIGHT} from "../../constants";
export const Navigation = ({position, page, numberOfPages, changePage}) => (
<div className={`courses-navigation courses-navigation-${position}`} role="t... | 34,011 |
https://github.com/pbarbiero/no-caffeine-syntax/blob/master/styles/syntax-variables.less | Github Open Source | Open Source | MIT | 2,018 | no-caffeine-syntax | pbarbiero | Less | Code | 104 | 497 | // ---------------------------------------------------------------------------
// Syntax variables
// ---------------------------------------------------------------------------
@import "colors";
// -------------------------------------
// General colors
// -------------------------------------
... | 38,252 |
https://github.com/liu1084/llmall/blob/master/llmall-commodity/src/main/java/biz/llmall/commodity/model/mapper/CommodityMapper.java | Github Open Source | Open Source | MIT | 2,019 | llmall | liu1084 | Java | Code | 43 | 215 | package biz.llmall.commodity.model.mapper;
import biz.llmall.common.entity.commodity.Commodity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Mapper
@Repository
public interface CommodityMapper {
in... | 17,094 |
https://github.com/leticiaribeirom/ReservaSalasCIC-EST/blob/master/spec/factories/reservas.rb | Github Open Source | Open Source | MIT | 2,017 | ReservaSalasCIC-EST | leticiaribeirom | Ruby | Code | 10 | 35 | FactoryGirl.define do
factory :reserva do
data "2016-10-27 00:53:55"
end
end
| 27,668 |
https://github.com/javpelle/MTQC/blob/master/src/MTQC/src/model/mutant/Mutant.java | Github Open Source | Open Source | MIT | 2,021 | MTQC | javpelle | Java | Code | 306 | 706 | /**
* This code is part of MTQC.
*
* Copyright (c) 2020 Javier Pellejero, Luis Aguirre.
*
* This code is licensed under the MIT License. You may obtain a copy
* of this license in the LICENSE file in the root directory of this source tree
* or at https://github.com/javpelle/MTQC/blob/master/LICENSE.
*/
pac... | 46,481 |
https://github.com/xrogzu/sctalk/blob/master/talk-common/src/main/java/com/blt/talk/common/param/SessionAddReq.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | sctalk | xrogzu | Java | Code | 133 | 318 | /*
* Copyright © 2013-2016 BLT, Co., Ltd. All Rights Reserved.
*/
package com.blt.talk.common.param;
/**
*
* @author 袁贵
* @version 1.0
* @since 1.0
*/
public class SessionAddReq {
private long userId;
private long peerId;
private int type;
/**
* @return the userId
*/
publi... | 34,466 |
https://github.com/stayAmbition/coyote/blob/master/resources/assets/js/pages/forum/sidebar.js | Github Open Source | Open Source | MIT | 2,016 | coyote | stayAmbition | JavaScript | Code | 36 | 123 | $(function() {
"use strict";
$('#btn-toggle-sidebar').click(function () {
var sidebar = $('#sidebar');
if (sidebar.css('display') === 'block') {
// usuwamy atrybut "style" aby przegladarka "wziela" wartosc z pliku css
sidebar.removeAttr('style');
}
else ... | 23,013 |
https://github.com/jease/jeasePlus/blob/master/src/main/java/jfix/zk/Checklist.java | Github Open Source | Open Source | BSD-3-Clause, GPL-3.0-only | 2,018 | jeasePlus | jease | Java | Code | 482 | 1,426 | /*
Copyright (C) 2016 maik.jablonski@jease.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This pr... | 31,249 |
https://github.com/eastinGroup/vector-math/blob/master/test/Main.hx | Github Open Source | Open Source | MIT | 2,021 | vector-math | eastinGroup | Haxe | Code | 1,961 | 8,980 | import TestFramework;
import VectorMath;
// when comparing floats
final precision = 1000000;
inline function quatMul(q1: Vec4, q2: Vec4)
return vec4(
q1.x * q2.w + q1.y * q2.z - q1.z * q2.y + q1.w * q2.x,
-q1.x * q2.z + q1.y * q2.w + q1.z * q2.x + q1.w * q2.y,
q1.x * q2.y - q1.y * q2.x + q1.z * q2.w + q1.w *... | 10,600 |
https://github.com/Yavari/Unofficial.Microsoft.AnalysisServices.AdomdClientNetCore/blob/master/AdomdClientNetCore/Microsoft.AnalysisServices.AdomdClient/XmlaWarning.cs | Github Open Source | Open Source | MIT | 2,019 | Unofficial.Microsoft.AnalysisServices.AdomdClientNetCore | Yavari | C# | Code | 38 | 115 | using System;
namespace Microsoft.AnalysisServices.AdomdClient
{
internal sealed class XmlaWarning : XmlaMessage
{
private int m_warningCode;
internal XmlaWarning(int warningCode, string description, string source, string helpFile, XmlaMessageLocation location) : base(description, source, helpFile, location)
... | 48,404 |
https://github.com/faddat/citizenry/blob/master/lib/tasks/simplecov.rake | Github Open Source | Open Source | MIT | 2,019 | citizenry | faddat | Ruby | Code | 24 | 72 | # For raw invocations, run something like: COVERAGE=1 rspec spec/models/person_spec.rb
desc "Run simplecov code coverage tool"
task :simplecov do
ENV["COVERAGE"] = "true"
Rake::Task["spec"].invoke
end
| 29,219 |
https://github.com/tuur29/voting_system/blob/master/assets/language.php | Github Open Source | Open Source | MIT | null | voting_system | tuur29 | PHP | Code | 432 | 1,199 | <?php
//General
$RED = "Red";
$BLUE = "Blue";
$YELLOW = "Yellow";
$GREEN = "Green";
$BLACK = "Black";
$PINK = "Pink";
$ORANGE = "Orange";
$CYAN = "Cyan";
$WHITE = "White";
$CREDITS = "Made by";
$NOTACTIVE = "There is no active vote";
$QUESTION = "Question";
$ERROR = "An error has occured!";
$PASSWORD = "Password";
//v... | 45,302 |
https://github.com/KumoKyaku/Megumin.Net/blob/master/Megumin.Remote/TcpSendPipe.cs | Github Open Source | Open Source | MIT | 2,022 | Megumin.Net | KumoKyaku | C# | Code | 464 | 1,694 | using System;
using System.Buffers;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Megumin.Remote
{
/// <summary>
/// 要发送的字节块
/// </summary>
public interface ISendBlock
{
/// <summary>
/// 发送成功
... | 41,752 |
https://github.com/fumobox/VCI/blob/master/Assets/VCI/Runtime/Format/glTF_VCAST_vci_lightmap_Serialize.g.cs | Github Open Source | Open Source | MIT | 2,021 | VCI | fumobox | C# | Code | 136 | 691 |
using System;
using System.Collections.Generic;
using UniJSON;
using UnityEngine;
using UniGLTF;
using VCI;
using Object = System.Object;
namespace VCI {
public static class
glTF_VCAST_vci_lightmap_Serializer
{
public static void Serialize(JsonFormatter f, glTF_VCAST_vci_lightmap value)
{
f.BeginMap();
... | 48,723 |
https://github.com/Twasi/twasi-panel/blob/master/src/translations/en_en.js | Github Open Source | Open Source | MIT | 2,020 | twasi-panel | Twasi | JavaScript | Code | 2,210 | 8,524 | export default {
// General
'common.save': 'Save',
'common.refresh': 'Refresh',
'common.actions': 'Actions',
'common.delete': 'Delete',
'common.edit': 'Edit',
'common.back_to_panel': 'Back to the panel',
'common.yes': 'Yes',
'common.no': 'No',
// Notifications
'notification.success': 'The action ... | 16,012 |
https://github.com/AristaQiyamullailiy/Klinik_UINSA/blob/master/application/views/pasien/about.php | Github Open Source | Open Source | MIT | null | Klinik_UINSA | AristaQiyamullailiy | PHP | Code | 329 | 1,338 |
<section class="home-slider owl-carousel">
<div class="slider-item bread-item" style="background-image: url('<?= base_url('assets'); ?>/images/bg_1.jpg');" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container" data-scrollax-parent="true">
<div... | 44,455 |
https://github.com/alexortiz005/appramada/blob/master/public/js/login.js | Github Open Source | Open Source | MIT | 2,017 | appramada | alexortiz005 | JavaScript | Code | 10 | 56 |
$(document).ready(function(){
var errores = $("#listaDeErrores li")
if(errores.length>0){
$('#modalError').modal('show');
}
}) | 49,023 |
https://github.com/m-sadegh-sh/WebPlex/blob/master/src/WebPlex.Data/NHibernating/CustomTypes/ConstantType.cs | Github Open Source | Open Source | MIT | 2,021 | WebPlex | m-sadegh-sh | C# | Code | 179 | 551 | namespace WebPlex.Data.NHibernating.CustomTypes {
using System;
using System.Data;
using NHibernate;
using NHibernate.SqlTypes;
using NHibernate.UserTypes;
using WebPlex.Core.Builders;
using WebPlex.Core.Extensions;
[Serializable]
public sealed class ConstantType : IUserType {
bool IUserType.Equals(objec... | 22,189 |
https://github.com/trimou/trimou/blob/master/core/src/test/java/org/trimou/handlebars/EmbedHelperTest.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | trimou | trimou | Java | Code | 96 | 510 | package org.trimou.handlebars;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.trimou.AbstractTest;
import org.trimou.engine.MustacheEngine;
import org.trimou.engine.MustacheEngineBuilder;
import org.trimou.engine.locator.MapTemplateLocator;
import org.trimou.util.ImmutableMap;
/**
* ... | 40,018 |
https://github.com/liguang6/mynewreposity/blob/master/ui/web/src/main/java/com/byd/web/bjmes/product/service/PlanProductExecuteRemote.java | Github Open Source | Open Source | Apache-2.0 | null | mynewreposity | liguang6 | Java | Code | 136 | 633 | package com.byd.web.bjmes.product.service;
import java.util.Map;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.... | 25,026 |
https://github.com/sistemasiblu/scalia/blob/master/resources/views/layouts/index.blade.php | Github Open Source | Open Source | MIT | 2,017 | scalia | sistemasiblu | Blade | Code | 212 | 1,316 | <!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="image/x-icon" rel="icon" href="imagenes/LogoScaliaMiniN.png">
<script src='http://cdnjs.cloudfla... | 11,676 |
https://github.com/carbonin/manageiq-providers-google/blob/master/spec/models/manageiq/providers/google/event_catcher_mixin_spec.rb | Github Open Source | Open Source | Apache-2.0 | 2,021 | manageiq-providers-google | carbonin | Ruby | Code | 140 | 466 | describe ManageIQ::Providers::Google::EventCatcherMixin do
include described_class
let(:resource_id) {}
let(:type) {}
let(:subtype) {}
let(:event) do
{
'jsonPayload' => {
'event_type' => type,
'event_subtype' => subtype,
'resource' => { 'id' => resource_id }
}
... | 48,259 |
https://github.com/lolow/leaqweb/blob/master/app/controllers/application_controller.rb | Github Open Source | Open Source | MIT | 2,013 | leaqweb | lolow | Ruby | Code | 410 | 1,102 | #--
# Copyright (c) 2009-2012, Public Research Center Henri Tudor
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy... | 23,620 |
https://github.com/gurubamal/ccsdk-features/blob/master/sdnr/wt/oauth-provider/provider-jar/src/test/java/org/onap/ccsdk/features/sdnr/wt/oauthprovider/test/TestRealm.java | Github Open Source | Open Source | Apache-2.0, CC-BY-4.0 | null | ccsdk-features | gurubamal | Java | Code | 493 | 1,864 | /*
* ============LICENSE_START=======================================================
* ONAP : ccsdk features
* ================================================================================
* Copyright (C) 2021 highstreet technologies GmbH Intellectual Property.
* All rights reserved.
* =======================... | 22,818 |
https://github.com/Victoire/victoire/blob/master/Bundle/MediaBundle/Resources/public/js/ckeditor/_source/core/htmlparser/basicwriter.js | Github Open Source | Open Source | MIT, LGPL-2.0-or-later, LGPL-2.1-or-later, GPL-1.0-or-later, BSD-3-Clause, MPL-1.1, GPL-2.0-only, LGPL-2.1-only, GPL-2.0-or-later | 2,021 | victoire | Victoire | JavaScript | Code | 510 | 1,241 | /*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.htmlParser.basicWriter = CKEDITOR.tools.createClass(
{
$ : function()
{
this._ =
{
output : []
};
},
proto :
{
/**
* Writes the tag opening part... | 11,595 |
https://github.com/RookiePC/Img2url/blob/master/src/main/python/Views/MigratorWindow.py | Github Open Source | Open Source | MIT | 2,020 | Img2url | RookiePC | Python | Code | 439 | 2,247 | """
MIT License
Copyright (c) 2019 RookiePC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 47,565 |
https://github.com/markusmichel/swot-bus-station-prototype/blob/master/server/speedupArrivals.js | Github Open Source | Open Source | MIT | null | swot-bus-station-prototype | markusmichel | JavaScript | Code | 90 | 227 | /**
* Simulates updating of bus arrival times.
* Every bus will arrive one minute earlier each iteration so that we will se progress on the SWOT server.
* Swot server will be informed after each iteration.
*/
Meteor.setInterval(function() {
var arrivals = Arrivals.find({}).fetch();
var arrival;
for(var... | 26,662 |
https://github.com/balkar20/SibTrain/blob/master/net-core/Makc2020.Data.Entity.SqlServer/DataEntitySqlServerModule.cs | Github Open Source | Open Source | MIT | null | SibTrain | balkar20 | C# | Code | 151 | 541 | //Author Maxim Kuzmin//makc//
using Makc2020.Core.Base;
using Makc2020.Core.Base.Common;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Makc2020.Data.Entity.SqlServer
{
/// <summary>
/// Данные. Entity Framework. SQL Server. Модуль.
/// </summary>
public class DataEntitySqlSe... | 29,996 |
https://github.com/JetBrains/teamcity-rest/blob/master/src/jetbrains/buildServer/server/graphql/resolver/CloudImageResolver.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | teamcity-rest | JetBrains | Java | Code | 528 | 2,007 | /*
* Copyright 2000-2021 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 37,522 |
https://github.com/Fellowship-of-the-Bus/Draconia-Unity/blob/master/Assets/Script/EventListener.cs | Github Open Source | Open Source | MIT | 2,021 | Draconia-Unity | Fellowship-of-the-Bus | C# | Code | 32 | 89 | using UnityEngine;
public abstract class EventListener {
public virtual void attachListener(EventManager manager, EventHook hook) {
manager.addListener(this, hook);
}
public virtual void detachListener(EventManager manager) {
manager.removeListener(this);
}
public abstract void onEvent(Draconia.Eve... | 49,761 |
https://github.com/aepsaprul/abata_offset/blob/master/app/Http/Controllers/BiayaController.php | Github Open Source | Open Source | MIT | null | abata_offset | aepsaprul | PHP | Code | 296 | 1,097 | <?php
namespace App\Http\Controllers;
use App\Models\OffsetBiaya;
use Illuminate\Http\Request;
class BiayaController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$biayas = OffsetBiaya::get();
... | 17,543 |
https://github.com/PancrasL/cpp-algorithms/blob/master/cpp-algorithms/PTA练习题/树/二叉查找树BST/A1043-Is it a Binary Search Tree.cpp | Github Open Source | Open Source | MIT | 2,021 | cpp-algorithms | PancrasL | C++ | Code | 273 | 810 | #include <iostream>
#include <vector>
using namespace std;
struct Node {
int data;
Node* left;
Node* right;
};
int N;
void insert(Node*& root, int data)
{
if (root == NULL) {
root = new Node;
root->data = data;
root->left = root->right = NULL;
return;
}
if (data ... | 35,190 |
https://github.com/opengauss-mirror/Yat/blob/master/openGaussBase/testcase/SUBPARTITION/Opengauss_Function_Subpartition_Case0297.sql | Github Open Source | Open Source | MulanPSL-1.0 | null | Yat | opengauss-mirror | SQL | Code | 430 | 1,695 | -- @testpoint: range_range二级分区表:同义词/主键外键/pg_constraint,部分测试点合理报错
--step1: 创建表空间; expect:成功
drop table if exists t_subpartition_0297;
drop tablespace if exists ts_subpartition_0297;
create tablespace ts_subpartition_0297 relative location 'subpartition_tablespace/subpartition_tablespace_0297';
--test1: 同义词
--step2: 创建二... | 47,281 |
https://github.com/kbroman/Talk_ChiASA2016/blob/master/JS/lod_onetime_random.js | Github Open Source | Open Source | CC0-1.0 | 2,015 | Talk_ChiASA2016 | kbroman | JavaScript | Code | 1,750 | 7,120 | // Generated by CoffeeScript 1.10.0
var lod_permutation, stop_permutation;
lod_permutation = function() {
var altpink, backbutton, backbuttong, bgcolor, bigCircRad, bigRad, buttonh, buttonw, buttonw2, darkBlue, darkGray, darkRed, draw, drawRandom, effpanel, h, labelcolor, left, lightGray, lodpanel, maincolor, medCir... | 48,345 |
https://github.com/jVirus/15-puzzle/blob/master/ios-15-puzzle/Nodes/CellNode.swift | Github Open Source | Open Source | MIT | 2,021 | 15-puzzle | jVirus | Swift | Code | 133 | 422 | //
// CellNode.swift
// ios-15-puzzle
//
// Created by Astemir Eleev on 14/02/2019.
// Copyright © 2019 Astemir Eleev. All rights reserved.
//
import SpriteKit
class CellNode: SKSpriteNode, Numberable, Slidable {
// MARK: - Properties
var number: UInt
// MARK: - Initializers
in... | 23,526 |
https://github.com/jerrythomas/svelte-charts/blob/master/src/plots/heatmap.js | Github Open Source | Open Source | MIT | 2,022 | svelte-charts | jerrythomas | JavaScript | Code | 215 | 682 | import {
isSunday,
addDays,
subMonths,
startOfMonth,
format,
previousSunday,
differenceInDays,
differenceInWeeks,
endOfWeek,
} from 'date-fns'
import { nest } from 'd3-collection'
import { group } from 'd3-array'
const DATE_FORMAT = 'yyyy-MM-dd'
const weekdays = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat... | 40,010 |
https://github.com/hkrock/rdmo/blob/master/rdmo/system_integration/migrations/backup/0002_auto_20200211_1853.py | Github Open Source | Open Source | Apache-2.0, BSD-3-Clause, MIT, LicenseRef-scancode-warranty-disclaimer, BSD-2-Clause | 2,020 | rdmo | hkrock | Python | Code | 30 | 117 | # Generated by Django 2.2.7 on 2020-02-11 17:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('system_integration', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='catalog2externaldatamodel',
... | 33,922 |
https://github.com/shiyuyuanfang/vite-plugin-windicss/blob/master/test/extract.test.ts | Github Open Source | Open Source | MIT | 2,021 | vite-plugin-windicss | shiyuyuanfang | TypeScript | Code | 34 | 161 | import { DefaultExtractor } from '../packages/plugin-utils/src/extractors/default'
describe('extract', () => {
it('attributify', () => {
expect(DefaultExtractor(`
<div
p="x-4 y-2 md:x-2 lg:hover:x-8"
border="~"
sm="bg-red-500 bg-opacity-50 hover:bg-green-300"
sm:hover="text-... | 40,539 |
https://github.com/KDahir247/UnityTechDemo/blob/master/TechDemoProject/Assets/Scripts/GameFoundation/CurrencySystem/GameWallet.cs | Github Open Source | Open Source | MIT | null | UnityTechDemo | KDahir247 | C# | Code | 211 | 866 | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Microsoft.Extensions.Logging;
using Tech.Core;
using UniRx;
using UnityEngine.GameFoundation;
using ZLogger;
public sealed class GameWallet : DataFoundation
{
private readonly Dictionary<string, Currency> _currencyDictionary
... | 31,532 |
https://github.com/GrozescuRares/cloud/blob/master/web/js/bookings/create-booking.js | Github Open Source | Open Source | MIT | null | cloud | GrozescuRares | JavaScript | Code | 109 | 480 | $(document).ready(function () {
$(document).on('change', '.form-control', {}, function (event) {
searchHotelsByReservationDate(this);
});
$(document).on('change', '#appbundle_reservationDto_hotel', {}, function (event) {
searchRoomsByHotelAndReservationDate($('#appbundle_reservationDto_hotel... | 45,451 |
https://github.com/jsoo1/dotfiles/blob/master/emacs/init.el | Github Open Source | Open Source | BSD-3-Clause | 2,022 | dotfiles | jsoo1 | null | Spoken | 5,206 | 24,133 | ;;; package --- Summary -*- lexical-binding:t -*-
;;; My not minimal-ish anymore init.el
;;; Commentary:
;;; use like any ol init.el
;;; Code:
(defun make-standard-paragraph-rules ()
"Return `paragraph-separate' and `paragraph-start' to normal."
(setq-local paragraph-separate "[ \t\f]*$")
(setq-local paragraph-s... | 19,612 |
https://github.com/shawnanastasio/rudo/blob/master/src/auth/pam.rs | Github Open Source | Open Source | MIT | 2,022 | rudo | shawnanastasio | Rust | Code | 292 | 810 | use std::ffi::CString;
use std::error::Error;
use std::io::Write;
use std::os::raw::c_char;
extern crate termion;
use self::termion::input::TermRead;
use self::termion::get_tty;
use self::termion::raw::IntoRawMode;
use settings::Settings;
use auth::AuthFramework;
use osutils::OSUtils;
// C function prototypes
extern... | 24,984 |
https://github.com/dunckr/growthglasgow/blob/master/src/js/views/sponsors.coffee | Github Open Source | Open Source | MIT | null | growthglasgow | dunckr | CoffeeScript | Code | 23 | 88 | $ = require "jquery"
class SponsorsView
el: "#add-sponsor"
email: "growth@growthglasgow.com"
constructor: ->
$(@el).click => @onClick()
onClick: ->
window.location.href = "mailto:#{@email}"
module.exports = SponsorsView
| 37,682 |
https://github.com/jansona/2020_software_engineering_practice/blob/master/后端/distribution/src/main/java/software/practice/distribution/entity/CommunityExample.java | Github Open Source | Open Source | MIT | null | 2020_software_engineering_practice | jansona | Java | Code | 1,823 | 5,203 | package software.practice.distribution.entity;
import java.util.ArrayList;
import java.util.List;
public class CommunityExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table community
*
* @mbg.generated Fri Apr 24 17:32:50 CST 2020
*... | 40,215 |
https://github.com/rebecca-NES/rebecca/blob/master/src/openfire/src/plugins/globalSNS/src/java/jp/co/nec/necst/spf/globalSNS/ContextHub/GoodJobAdapter.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | rebecca | rebecca-NES | Java | Code | 560 | 2,111 | /*
Copyright 2020 NEC Solution Innovators, Ltd.
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 writin... | 24,922 |
https://github.com/davgit/groundworkcss.github.com/blob/master/src/jade/tables.jade | Github Open Source | Open Source | MIT | 2,019 | groundworkcss.github.com | davgit | null | Spoken | 552 | 1,630 | extends template
block head
title GroundworkCSS ♥ Tables
block content
.container
.row
.one.third.padded
h1
i.icon-table
| Tables
p
| GroundworkCSS offers clean and easy-to-customize styling for tabular data.
h6 Example usage:
script(src='ht... | 33,504 |
https://github.com/DylanGrl/TNCY_1A_Projet_C_Awale/blob/master/src/old_Awale/spash_screen.c | Github Open Source | Open Source | MIT | null | TNCY_1A_Projet_C_Awale | DylanGrl | C | Code | 46 | 184 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int splash_screen(){
int input=0;
printf("+----------------------------------+\n");
printf("| |\n");
printf("| AWALEL |\n");
printf("| JDC EDITION |\n");
printf("| ... | 36,379 |
https://github.com/Firescar96/radiance/blob/master/resources/qml/MidiMappings/SamsonGraphiteMF8.qml | Github Open Source | Open Source | MIT | 2,018 | radiance | Firescar96 | null | Spoken | 171 | 453 | import QtQuick 2.3
import radiance 1.0
QtObject {
property variant target;
property variant lpfTimer: Timer {
interval: 50; running: true; repeat: true
onTriggered: mc.scrollAccumulator *= 0.9;
}
property variant mc: MidiController {
id: controller
deviceName: "SAMSON ... | 1,579 |
https://github.com/tomosoft-jp/monitoringsystem/blob/master/AVR-IoT/avr-iot-aws-sensor-node-mplab-4.1.0/AVRIoT.X/mcc_generated_files/include/pin_manager.h | Github Open Source | Open Source | MIT | 2,022 | monitoringsystem | tomosoft-jp | C | Code | 3,663 | 12,479 | /**
@Company
Microchip Technology Inc.
@Description
This Source file provides APIs.
Generation Information :
Driver Version : 1.0.0
*/
/*
(c) 2018 Microchip Technology Inc. and its subsidiaries.
Subject to your compliance with these terms, you may use Microchip software and any
... | 12,499 |
https://github.com/shuangrain/WMIScan/blob/master/WMIScan/MainForm.cs | Github Open Source | Open Source | MIT | null | WMIScan | shuangrain | C# | Code | 291 | 965 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Management;
namespace WMIScan
{
public partial class MainForm : Form
{
public MainForm()
{
... | 79 |
https://github.com/glowroot/glowroot-instrumentation/blob/master/instrumentation/kafka/src/main/java/org/glowroot/instrumentation/kafka/ConsumerInstrumentation.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | glowroot-instrumentation | glowroot | Java | Code | 366 | 1,117 | /*
* Copyright 2018-2019 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 applica... | 37,028 |
https://github.com/sanafmehmet/bengal_frontend_v0.1/blob/master/app/Models/Models/Project.php | Github Open Source | Open Source | MIT | null | bengal_frontend_v0.1 | sanafmehmet | PHP | Code | 27 | 100 | <?php
namespace App\Models\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
use HasFactory;
public function getDeadlineAttribute($date)
{
return $date ? date('m/d/Y', strtotime($date)) : null;
}
}
| 46,335 |
https://github.com/elricb/ink-control-components/blob/master/rollup.config.js | Github Open Source | Open Source | MIT | 2,022 | ink-control-components | elricb | JavaScript | Code | 90 | 329 | import json from "@rollup/plugin-json";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import {terser} from "rollup-plugin-terser";
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import {babel} from "@rollup/plugin-babel";
import packageJson from "./... | 15,262 |
https://github.com/MehediDracula/goodwork/blob/master/resources/lang/sr/home.php | Github Open Source | Open Source | MIT | 2,018 | goodwork | MehediDracula | PHP | Code | 37 | 105 | <?php
return [
'Projects' => 'Projekti',
'Teams' => 'Timovi',
'Offices' => 'Kancelarije',
'Add a new project' => 'Dodaj novi projekt',
'Add a new team' => 'Dodaj novi tim',
'Add a new office' => 'Dodaj novu kancelariju',
];
| 16,065 |
https://github.com/samtimur/acli/blob/master/lib/acli/output/asg.py | Github Open Source | Open Source | MIT | 2,017 | acli | samtimur | Python | Code | 280 | 2,559 | # -*- coding: utf-8 -*-
from __future__ import (absolute_import, print_function, unicode_literals)
from acli.output import output_ascii_table, output_ascii_table_list, dash_if_none, get_tags
from colorclass import Color, Windows
Windows.enable(auto_colors=True, reset_atexit=True)
def get_instances_output(instances):
... | 13,233 |
https://github.com/Artem3213212/tarantool-admin/blob/master/php/Job/Space/Select.php | Github Open Source | Open Source | MIT | 2,020 | tarantool-admin | Artem3213212 | PHP | Code | 197 | 651 | <?php
namespace Job\Space;
use Exception;
use Tarantool\Client\Schema\Criteria;
class Select extends Job
{
public $limit = 0;
public $offset = 0;
public $index = 0;
public $key = [];
public $iterator = 2;
public function run()
{
$key = [];
foreach ($this->key as $value) {... | 28,936 |
https://github.com/lospejos/jooby/blob/master/modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | jooby | lospejos | Java | Code | 999 | 3,371 | /**
* Jooby https://jooby.io
* Apache License Version 2.0 https://jooby.io/LICENSE.txt
* Copyright 2014 Edgar Espina
*/
package io.jooby.apt;
import io.jooby.MvcFactory;
import io.jooby.SneakyThrows;
import io.jooby.internal.apt.HandlerCompiler;
import io.jooby.internal.apt.ModuleCompiler;
import io.jooby.internal... | 13,032 |
https://github.com/jstrassburg/SolrNet/blob/master/SolrNet/Commands/Parameters/TermVectorParameters.cs | Github Open Source | Open Source | Apache-2.0 | 2,018 | SolrNet | jstrassburg | C# | Code | 180 | 404 | using System;
using System.Collections.Generic;
namespace SolrNet.Commands.Parameters
{
[Flags]
public enum TermVectorParameterOptions {
Default = 0,
/// <summary>
/// Returns document term frequency info per term in the document.
/// </summary>
TermFrequency = 1,
... | 27,724 |
https://github.com/12rambau/sepal_ui/blob/master/tests/test_mapping/test_MarkerCluster.py | Github Open Source | Open Source | MIT | 2,023 | sepal_ui | 12rambau | Python | Code | 64 | 174 | """Test the MarkerCluster control."""
from ipyleaflet import Marker
from sepal_ui import mapping as sm
def test_init() -> None:
"""Init a MarkerCluster."""
marker_cluster = sm.MarkerCluster()
assert isinstance(marker_cluster, sm.MarkerCluster)
return
def test_visible() -> None:
"""Hide MarkerC... | 12,601 |
https://github.com/UnofficialJuliaMirror/RealNeuralNetworks.jl-4491297b-8966-5840-8cb9-b189d60f3398/blob/master/src/PointArrays.jl | Github Open Source | Open Source | Apache-2.0 | 2,022 | RealNeuralNetworks.jl-4491297b-8966-5840-8cb9-b189d60f3398 | UnofficialJuliaMirror | Julia | Code | 317 | 1,040 | module PointArrays
export PointArray
const PointArray = Array{UInt32, 2}
const ZERO_UINT32 = zero(UInt32)
const ONE_UINT32 = one(UInt32)
const DEFAULT_OFFSET = (ZERO_UINT32, ZERO_UINT32, ZERO_UINT32)
const MAX_BOUNDARY_DISTANCE = 100000
"""
parameter:
bin_im: binary array. object voxels are false, non-object ... | 16,930 |
https://github.com/PSW-2020-ORG9/HealthcareIS/blob/master/User.API/Services/PatientService/IPatientAccountService.cs | Github Open Source | Open Source | MIT | 2,021 | HealthcareIS | PSW-2020-ORG9 | C# | Code | 46 | 164 | using System;
using System.Collections.Generic;
using User.API.Model.Users.Patients;
using User.API.Model.Users.UserAccounts;
namespace User.API.Services.PatientService
{
public interface IPatientAccountService
{
public PatientAccount CreateAccount(PatientAccount patientAccount);
public void De... | 48,361 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.