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/encounter/dawn-cmake/blob/master/src/dawn/native/CacheKey.cpp
Github Open Source
Open Source
Apache-2.0
null
dawn-cmake
encounter
C++
Code
198
416
// Copyright 2022 The Dawn 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 t...
18,742
https://github.com/hangetzzu/Lime-Worm/blob/master/Project/Server_0.5/Server_0.5/Forms/About.Designer.vb
Github Open Source
Open Source
MIT
2,021
Lime-Worm
hangetzzu
Visual Basic
Code
1,116
4,385
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Partial Class About Inherits System.Windows.Forms.Form 'Form overrides dispose to clean up the component list. <System.Diagnostics.DebuggerNonUserCode()> _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try ...
46,375
https://github.com/proserium/proserium-web/blob/master/src/main/ts/net/proserium/web/app/app.component.scss
Github Open Source
Open Source
MIT
2,019
proserium-web
proserium
SCSS
Code
16
38
/* * app.component.scss * * Copyright by proserium, all rights reserved. * MIT License: https://mit-license.org */
37,180
https://github.com/imichaelnorris/ARgeofEmpires/blob/master/Assets/TangoSDK/Examples/ExperimentalMeshOcclusion/Shaders/OcclusionMask.shader
Github Open Source
Open Source
MIT
2,018
ARgeofEmpires
imichaelnorris
GLSL
Code
128
234
//----------------------------------------------------------------------- // <copyright file="OcclusionMask.shader" company="Google"> // // Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Li...
16,467
https://github.com/misterpilou/genshin/blob/master/src/utils/LinkOrExternal.jsx
Github Open Source
Open Source
MIT
2,020
genshin
misterpilou
JavaScript
Code
48
159
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; const isExternal = (link) => (/(http(s?)):\/\//i.test(link)); const LinkOrExternal = ({ to, children }) => (isExternal(to) ? <a href={to} target="_blank" rel="noreferrer">{children}</a> : <Link to={to}>{childre...
12,812
https://github.com/sharwell/repose/blob/master/project-set/core/core-lib/src/main/java/com/rackspace/papi/service/datastore/impl/distributed/hash/ClusteredDatastore.java
Github Open Source
Open Source
Apache-2.0
null
repose
sharwell
Java
Code
51
199
package com.rackspace.papi.service.datastore.impl.distributed.hash; import com.rackspace.papi.service.datastore.impl.distributed.common.RemoteBehavior; import com.rackspace.papi.service.datastore.Datastore; import com.rackspace.papi.service.datastore.StoredElement; import java.util.concurrent.TimeUnit; /** * * @au...
45,596
https://github.com/KeenSoftwareHouse/Unreal.Net/blob/master/DotNetPlugin/Plugins/DotNet/Source/ThirdParty/DotnetInUE/Unreal.Generator/Metadata/TypeDefinitionBuilder.cs
Github Open Source
Open Source
MIT
2,021
Unreal.Net
KeenSoftwareHouse
C#
Code
280
867
// Copyright (c) 2021 Keen Software House // Licensed under the MIT license. using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Unreal.Generation; using Unreal.Marshalling; namespace Unreal.Metadata { public class TypeDefinitionBuilder<TBuilder> : MemberDefinitionBuilder<TBuilder> whe...
31,971
https://github.com/avmgan/Alchemy4Tridion/blob/master/Client Proxies/CoreService/Tridion.ContentManager.CoreService.Client/ProcessInstanceData.cs
Github Open Source
Open Source
Apache-2.0
2,017
Alchemy4Tridion
avmgan
C#
Code
72
306
using System; using System.CodeDom.Compiler; using System.Diagnostics; using System.Runtime.Serialization; namespace Alchemy4Tridion.Plugins.Clients.CoreService { [GeneratedCode("System.Runtime.Serialization", "4.0.0.0"), DebuggerStepThrough, DataContract(Name = "ProcessInstanceData", Namespace = "http://www.sdltridi...
23,689
https://github.com/CharLemAznable/char-elves/blob/master/src/test/java/com/github/charlemaznable/core/lang/MapListTest.java
Github Open Source
Open Source
MIT
2,020
char-elves
CharLemAznable
Java
Code
70
340
package com.github.charlemaznable.core.lang; import lombok.val; import org.junit.jupiter.api.Test; import java.util.List; import java.util.Map; import static com.github.charlemaznable.core.lang.Listt.listFromMap; import static com.github.charlemaznable.core.lang.Mapp.mapFromList; import static com.github.charlemazna...
25,286
https://github.com/fgprodigal/RayUI/blob/master/Interface/AddOns/RayUI/modules/misc/debugTools.lua
Github Open Source
Open Source
MIT
2,018
RayUI
fgprodigal
Lua
Code
303
1,461
---------------------------------------------------------- -- Load RayUI Environment ---------------------------------------------------------- RayUI:LoadEnv("Misc") local M = _Misc local S = R.Skins --Enhanced debugtools from ElvUI local D = M:NewModule("DebugTools", "AceEvent-3.0", "AceHook-3.0", "AceConsole-3.0")...
22,464
https://github.com/Jiyooung/ALGORITHM/blob/master/programmers/SQL/SELECT/JY_reverse_sorting.sql
Github Open Source
Open Source
MIT
null
ALGORITHM
Jiyooung
SQL
Code
21
60
/* programmers : 역순 정렬하기 solved by JY DATE : 2021.01.06 */ SELECT NAME, DATETIME FROM ANIMAL_INS ORDER BY ANIMAL_ID DESC;
18,392
https://github.com/cphill11/social-network/blob/master/server.js
Github Open Source
Open Source
MIT
null
social-network
cphill11
JavaScript
Code
70
215
const express = require('express'); // set up mongoose to connect when the app is started const mongoose = require('mongoose'); const app = express(); const PORT = process.env.PORT || 3001; app.use(express.json()); app.use(express.urlencoded({ extended: true })); app.use(express.static('public')); // tell Mongoose w...
35,079
https://github.com/jberkow713/DS-Unit-3-Sprint-2-SQL-and-Databases/blob/master/module2-sql-for-analysis/RPGnew.py
Github Open Source
Open Source
MIT
null
DS-Unit-3-Sprint-2-SQL-and-Databases
jberkow713
Python
Code
157
509
import json from dotenv import load_dotenv import psycopg2 from psycopg2.extras import execute_values import sqlite3 import os load_dotenv() DB_NAME = os.getenv("DB_NAME", default="OOPS") DB_USER = os.getenv("DB_USER", default="OOPS") DB_PW = os.getenv("DB_PW", default="OOPS") DB_HOST = os.getenv("DB_HOST", default=...
2,816
https://github.com/vzateychuk/nodata/blob/master/src/server.js
Github Open Source
Open Source
MIT
2,021
nodata
vzateychuk
JavaScript
Code
470
1,434
import mongoose from 'mongoose'; import createExpress from './express'; import Resource from './ODataResource'; mongoose.Promise = global.Promise; function checkAuth(auth, req) { return !auth || auth(req); } class Server { constructor(db, prefix, options) { this._app = createExpress(options); this._mongo...
37,452
https://github.com/grzegorz-jamroz/entity-storage/blob/master/tests/Variant/UserStorage.php
Github Open Source
Open Source
MIT
2,022
entity-storage
grzegorz-jamroz
PHP
Code
20
82
<?php declare(strict_types=1); namespace Tests\Variant; use Ifrost\EntityStorage\Storage\JsonEntityStorage; class UserStorage extends JsonEntityStorage { public function __construct(string $directoryPath) { parent::__construct(User::class, $directoryPath); } }
16,008
https://github.com/ola-ct/gpstools/blob/master/Qeo/MainWindow.h
Github Open Source
Open Source
BSD-3-Clause
null
gpstools
ola-ct
C
Code
169
738
// $Id$ // Copyright (c) 2008 Oliver Lau <oliver@ersatzworld.net> // Alle Rechte vorbehalten. #ifndef __MAINWINDOW_H_ #define __MAINWINDOW_H_ #include <QMainWindow> #include <QString> #include <QVector> #include <QColor> #include <QPolygon> #include <QTransform> #include <QSettings> #include <QStringList> #include "...
12,493
https://github.com/QianglinSIMON/Reinforcement_Learning_An_Introduction/blob/master/chp5/racetrack.py
Github Open Source
Open Source
MIT
2,021
Reinforcement_Learning_An_Introduction
QianglinSIMON
Python
Code
22
81
# -*- coding: utf-8 -*- """ Created on Wed Apr 21 16:40:10 2021 @author: leyuan reference: https://github.com/brynhayder/reinforcement_learning_an_introduction/tree/master/code/exercises/ex_5_10 """ ''' TO DO '''
24,896
https://github.com/xknife-erian/nknife.jeelusrc/blob/master/NKnife.App.WebsiteBuilder/SimplusD/Client/Win/Common/ToolStripXmlDocument/ToolStripItemXmlElement.cs
Github Open Source
Open Source
Apache-2.0
2,021
nknife.jeelusrc
xknife-erian
C#
Code
553
2,170
using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Windows.Forms; using System.Drawing; using System.IO; namespace Jeelu.SimplusD.Client.Win { internal class ToolStripItemXmlElement : XmlElement { /// <summary> /// 构造函数 /// </summary> ...
42,765
https://github.com/famousczm/whisper/blob/master/public/javascripts/main.js
Github Open Source
Open Source
MIT
2,018
whisper
famousczm
JavaScript
Code
851
3,168
$(function() { const FADE_TIME = 150 // ms const TYPING_TIMER_LENGTH = 400 // ms const COLORS = [ '#e21400', '#91580f', '#f8a700', '#f78b00', '#58dc00', '#287b00', '#a8f07a', '#4ae8c4', '#3b88eb', '#3824aa', '#a700ff', '#d300e7' ] /** Initialize variables **/ let $window = $(window) // Input for usern...
38,683
https://github.com/ritkal/core-ui/blob/master/src/services/toastNotification/views/ToastNotificationView.js
Github Open Source
Open Source
MIT
2,018
core-ui
ritkal
JavaScript
Code
107
325
/** * Developer: Vladislav Smirnov * Date: 23.01.2017 * Copyright: 2009-2017 Comindware® * All Rights Reserved * * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF Comindware * The copyright notice above does not evidence any * actual or intended publication of such source code. */ import temp...
23,066
https://github.com/Anton-Saurytski/gradle-plugin-cq-bundle/blob/master/src/main/groovy/com/twcable/gradle/sling/osgi/BundleServerConfiguration.groovy
Github Open Source
Open Source
Apache-2.0
2,017
gradle-plugin-cq-bundle
Anton-Saurytski
Groovy
Code
201
483
/* * Copyright 2014-2017 Time Warner Cable, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
50,656
https://github.com/BluesYoung-web/blog-vitessg/blob/master/src/pages/[...all].vue
Github Open Source
Open Source
MIT
2,022
blog-vitessg
BluesYoung-web
Vue
Code
40
133
<!-- * @Author: zhangyang * @Date: 2022-01-10 16:16:14 * @LastEditTime: 2022-01-25 10:29:22 * @Description: 404 --> <script setup lang="ts"> const { t } = useI18n(); </script> <template> <div class="dark:text-gray-100"> {{ t('not-found') }} </div> </template> <route lang="yaml"> meta: layout: 404 </rout...
40,065
https://github.com/maciek3000/GnuCash-Expenses-Vis/blob/master/tests/test_gnucash_db_parser.py
Github Open Source
Open Source
Unlicense
2,021
GnuCash-Expenses-Vis
maciek3000
Python
Code
683
2,949
import pandas as pd import numpy as np from datetime import date, datetime def test_get_list_of_expense_transactions_example_book(gnucash_db_parser_example_book): """Testing returned list of expense transactions from Example GnuCash file""" returned_list = gnucash_db_parser_example_book._GnuCashDBParser__get...
33,185
https://github.com/dimitarminchev/ITCareer/blob/master/07. Software Development/2021/3. Debugging/Demo/Console.cs
Github Open Source
Open Source
MIT
2,022
ITCareer
dimitarminchev
C#
Code
93
316
namespace Demo { internal static class Console { /// <summary> /// Метод за отпечатване /// </summary> /// <param name="message">Съобщение</param> public static void WriteLine(object message) { // Отпечатваме съобщение System.Console.Write...
22,443
https://github.com/king/results-cache-service/blob/master/build.gradle
Github Open Source
Open Source
Apache-2.0
2,021
results-cache-service
king
Gradle
Code
105
510
import org.codehaus.groovy.runtime.GStringImpl // Copyright (C) king.com Ltd 2019 // https://github.com/king/results-cache-service // License: Apache 2.0, https://raw.githubusercontent.com/king/results-cache-service/master/LICENSE-APACHE plugins { id 'java' id 'org.springframework.boot' version '2.0.5.RELEASE...
40,208
https://github.com/cedrou/cpp-multiformats/blob/master/include/multiformats/uvarint.h
Github Open Source
Open Source
MIT
2,019
cpp-multiformats
cedrou
C
Code
311
917
#pragma once #include "common.h" namespace multiformats { namespace uvarint { namespace details { template <typename T, typename ValueType> struct Iterator_value_type { typedef ValueType type; }; template <typename T> struct Iterator_value_type<T, void> { typedef typename T::cont...
24,483
https://github.com/cunla/RPSP/blob/master/src/main/java/com/emc/rpsp/fal/commons/PhoenixClusterState.java
Github Open Source
Open Source
MIT
2,021
RPSP
cunla
Java
Code
352
985
package com.emc.rpsp.fal.commons; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @XmlRootElement @XmlType(name = "PhoenixClusterState") public class PhoenixClusterState { private ClusterUID cluster; private String clusterName; private long diskCapacity; pri...
46,391
https://github.com/ronaldoussoren/py2app/blob/master/src/py2app/recipes/pygame.py
Github Open Source
Open Source
MIT, Python-2.0
2,023
py2app
ronaldoussoren
Python
Code
63
199
import os import typing from modulegraph.modulegraph import ModuleGraph from .. import build_app from ._types import RecipeInfo def check(cmd: "build_app.py2app", mf: ModuleGraph) -> typing.Optional[RecipeInfo]: m = mf.findNode("pygame") if m is None or m.filename is None: return None def addpa...
27,985
https://github.com/JKJUN527/eshunter-version2/blob/master/resources/views/components/wheelmenu.blade.php
Github Open Source
Open Source
MIT
2,018
eshunter-version2
JKJUN527
Blade
Code
89
452
<script src="{{asset('js/jquery.wheelmenu.js')}}" type="text/javascript"></script> <div class="QQ_each"> <a class="wheel-button float_qq" href="#wheel" style="opacity: 1;"></a> <ul class="wheel" id="wheel"> <li class="item"> <a href="#"></a> </li> <li class="item"> <a href="#"></a> </li>...
37,068
https://github.com/SeregPie/PicMap/blob/master/src/core/CSS/font.js
Github Open Source
Open Source
MIT
2,018
PicMap
SeregPie
JavaScript
Code
18
44
// todo export default function(family, size, style, variant, weight) { return [style, variant, weight, `${size}px`, family].join(' '); }
4,175
https://github.com/harangju/cascades/blob/master/analysis/dynamics/csc_durations.m
Github Open Source
Open Source
MIT
2,020
cascades
harangju
MATLAB
Code
19
49
function d = csc_durations(Y) % returns cascade duration for cell array, Y, of cascades d = cellfun(@(x) size(x,2)-1,Y); end
15,674
https://github.com/Grupo-Intecsa/catalogo-virtual/blob/master/src/views/Cmenu/Cmenu.js
Github Open Source
Open Source
MIT
null
catalogo-virtual
Grupo-Intecsa
JavaScript
Code
75
267
import React, { Fragment } from 'react' import { CLink } from '@coreui/react' const Cmenu = ({ props }) => { return( <Fragment> <div className="menuTop"> {Object.values(props).slice(0, Object.values(props).length - 1 ).map((item, index) => { return( ...
41,812
https://github.com/whstruts/thinkingWMS/blob/master/src/components/Selector/ItemType/index.js
Github Open Source
Open Source
MIT
null
thinkingWMS
whstruts
JavaScript
Code
7
16
import ItemType from './ItemType.vue' export default ItemType
9,772
https://github.com/Syzygianinfern0/espnet/blob/master/espnet2/samplers/unsorted_batch_sampler.py
Github Open Source
Open Source
Apache-2.0
2,020
espnet
Syzygianinfern0
Python
Code
231
661
import logging from typing import Iterator from typing import Tuple from typeguard import check_argument_types from espnet2.samplers.abs_sampler import AbsSampler from espnet2.utils.fileio import read_2column_text class UnsortedBatchSampler(AbsSampler): """BatchSampler with constant batch-size. Any sorting...
33,533
https://github.com/vacaly/Alink/blob/master/core/src/main/java/com/alibaba/alink/common/pyrunner/fn/PyFnFactory.java
Github Open Source
Open Source
Apache-2.0
2,023
Alink
vacaly
Java
Code
265
1,702
package com.alibaba.alink.common.pyrunner.fn; import org.apache.flink.table.functions.ScalarFunction; import org.apache.flink.table.functions.TableFunction; import org.apache.flink.types.Row; import com.alibaba.alink.common.exceptions.AkUnclassifiedErrorException; import com.alibaba.alink.common.exceptions.AkUnsuppor...
992
https://github.com/Djohnnie/CSharpWars/blob/master/src/frontend/CSharpWars/Assets/External/Adic/Scripts/Framework/Attributes/Inject.cs
Github Open Source
Open Source
MIT
2,023
CSharpWars
Djohnnie
C#
Code
141
296
using System; namespace Adic { /// <summary> /// Marks a setter injection point. /// /// If an identifier is provided, the injector looks the binder for a key with the given name. /// /// If no identifier is provided, the injector looks the binder for a key of the type of the field/property. ...
10,506
https://github.com/dlang/dmd/blob/master/compiler/test/fail_compilation/fail20000.d
Github Open Source
Open Source
BSL-1.0
2,023
dmd
dlang
D
Code
321
849
/* TEST_OUTPUT: --- fail_compilation/fail20000.d(25): Error: cast from `fail20000.DClass` to `fail20000.CppClass` not allowed in safe code fail_compilation/fail20000.d(26): Error: cast from `fail20000.DInterface` to `fail20000.CppClass` not allowed in safe code fail_compilation/fail20000.d(27): Error: cast from `fail20...
37,681
https://github.com/AsjadHasan/newton/blob/master/resources/views/admin/Mail/password_change_confirmation_mail.blade.php
Github Open Source
Open Source
MIT
2,020
newton
AsjadHasan
PHP
Code
66
137
@component('mail::message') # Done You are receiving this email because we received a password change request for your account. You are Changing your password ? If ans is not than, From the forget password link, you can change your password. @component('mail::button', ['url' => 'http://127.0.0.1:8000/password/reset'...
18,800
https://github.com/medav/spelunking/blob/master/topics/uarch-sec/cc-side-channel/attack-test/spy.c
Github Open Source
Open Source
MIT
null
spelunking
medav
C
Code
490
1,355
#include "common.h" typedef enum { reset = 0, recv = 1, boundary = 2 } SpyState; #define AVG_SIZE 1000 unsigned long long avg(unsigned long long arr[AVG_SIZE]) { unsigned long long sum = 0; for (int i = 0; i < AVG_SIZE; i++) { sum += arr[i]; } return sum / AVG_SIZE; } static __in...
2,080
https://github.com/TheLarkInn/isomorphic-git/blob/master/src/commands/push.js
Github Open Source
Open Source
MIT
2,018
isomorphic-git
TheLarkInn
JavaScript
Code
1,007
2,455
import pad from 'pad' import pako from 'pako' import path from 'path' import createHash from 'sha.js' import { PassThrough } from 'stream' import { GitObjectManager, GitRefManager, GitRemoteManager } from '../managers' import { FileSystem, GitCommit, GitPktLine, GitTree } from '../models' import { log, pkg } from '../...
17,365
https://github.com/Bonsaikitt3n/RubyRedditAPI/blob/master/lib/ruby_reddit_api/submission.rb
Github Open Source
Open Source
MIT, Ruby
2,012
RubyRedditAPI
Bonsaikitt3n
Ruby
Code
232
678
# @author James Cook module Reddit class Submission < Thing include JsonListing include Voteable attr_reader :domain, :media_embed, :subreddit, :selftext_html, :selftext, :likes, :saved, :clicked, :media, :score, :over_18, :hidden, :thumbnail, :subreddit_id, :downs, :is_self, :permalink, :name, :created,...
49,321
https://github.com/bloomreach/bloomgateway/blob/master/cli/bg_s3cli/scripts/module_rule_factory.py
Github Open Source
Open Source
Apache-2.0
2,021
bloomgateway
bloomreach
Python
Code
195
423
# # Copyright 2016 BloomReach, Inc. # Copyright 2016 Ronak Kothari <ronak.kothari@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....
298
https://github.com/sjug/cluster-node-tuning-operator/blob/master/assets/tuned/daemon/tests/unit/func_basic.sh
Github Open Source
Open Source
Apache-2.0
2,022
cluster-node-tuning-operator
sjug
Shell
Code
32
89
#!/bin/bash systemctl restart tuned tuned-adm recommend PROFILES=`tuned-adm list | sed -n '/^\-/ s/^- // p'` for p in $PROFILES do tuned-adm profile "$p" sleep 5 tuned-adm active done tuned-adm profile `tuned-adm recommend`
12,163
https://github.com/rklyne/traikoa/blob/master/src/traikoa/eddn.cr
Github Open Source
Open Source
MIT
2,017
traikoa
rklyne
Crystal
Code
39
147
require "logger" require "./eddn/data" require "./eddn/parser" require "./eddn/client" module Traikoa # EDDN ([GitHub](https://github.com/jamesremuscat/EDDN)) module EDDN # EDDN version VERSION = "0.6.2" # EDDN TCP relay URL RELAY_URL = "tcp://eddn.edcd.io:9500" # Logger for gateway Events ...
557
https://github.com/Xferno2/Hearts-Of-Iron-IV-Launcher/blob/master/Hoi4 Launcher/Parser/descriptorGenerator.cs
Github Open Source
Open Source
MIT
2,023
Hearts-Of-Iron-IV-Launcher
Xferno2
C#
Code
360
1,124
using Hoi4_Launcher.Utility; using SharpCompress.Readers; using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Hoi4_Launcher.Parser { class descriptorGenerator { ...
11,962
https://github.com/eliasespinosa6/guardian/blob/master/Assembly-CSharp/NGUI/UIDraggablePanel.cs
Github Open Source
Open Source
MIT
2,021
guardian
eliasespinosa6
C#
Code
1,632
5,780
using System; using UnityEngine; [ExecuteInEditMode] [RequireComponent(typeof(UIPanel))] [AddComponentMenu("NGUI/Interaction/Draggable Panel")] public class UIDraggablePanel : IgnoreTimeScale { public delegate void OnDragFinished(); public enum DragEffect { None, Momentum, MomentumAndSpring } public enum ...
43,467
https://github.com/ParkingAbility/parkingability/blob/master/src/Controllers/LocalesController.cs
Github Open Source
Open Source
MIT
null
parkingability
ParkingAbility
C#
Code
65
242
using Microsoft.AspNetCore.Mvc; using ParkingAbilityServer.BusinessLayer; using ParkingAbilityServer.Models; using System.Threading.Tasks; namespace ParkingAbilityServer.Controllers { [Route("locales")] public class LocalesController : Controller { private readonly IContentRepository repository; ...
26,790
https://github.com/lure9999/CardAndMonsterSanGuo/blob/master/client/cocos2d-x-2.2.6/projects/YLHDKaPaiSanGuo/Byte_Resources/Image/Fight/player/sunquan/sunquan0.plist
Github Open Source
Open Source
MIT
2,019
CardAndMonsterSanGuo
lure9999
XML Property List
Code
892
9,469
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>frames</key> <dict> <key>skill/sunquan_skill_3/sunquan_skill_3_1.png</key> <dict> <key>width</key> <integer>100</in...
42,019
https://github.com/antonin-lfv/Matplotlib_and_plotly_tutorial/blob/master/plotly_ex.py
Github Open Source
Open Source
MIT
null
Matplotlib_and_plotly_tutorial
antonin-lfv
Python
Code
2,346
10,923
""" Plotly examples """ #### importation -------------------------------------------------- from plotly.offline import plot # pour travailler en offline! import plotly.express as px import plotly.graph_objects as go from plotly.subplots import make_subplots import plotly.figure_factory as ff import pandas as pd impo...
44,567
https://github.com/JAD-SVK/mono-tools/blob/master/rules/Gendarme.Rules.BadPractice/ReturnNullRule.cs
Github Open Source
Open Source
MIT
2,022
mono-tools
JAD-SVK
C#
Code
447
971
// // Abstract Gendarme.Rules.BadPractice.ReturnsNullRule // // Authors: // Sebastien Pouliot <sebastien@ximian.com> // // Copyright (C) 2008, 2010 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation file...
13,094
https://github.com/jrStaff/pixiedust/blob/master/tests/chromeDriverTest.py
Github Open Source
Open Source
Apache-2.0
null
pixiedust
jrStaff
Python
Code
194
631
from selenium import webdriver from selenium.webdriver.common.keys import Keys import os import time import sys sys.path.append(os.path.abspath(".")) import runPixiedustNotebooks as runPixie import subprocess class JupyterSeleniumInstance(): def __init__(self): self.url = "" self.pid = 0 def...
12,348
https://github.com/doubcrick/hasor/blob/master/hasor-spring/src/main/java/net/hasor/spring/beans/SpringTypeSupplier.java
Github Open Source
Open Source
Apache-2.0
null
hasor
doubcrick
Java
Code
177
436
/* * Copyright 2002-2005 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 ap...
50,511
https://github.com/dilini-muthumala/ballerina/blob/master/modules/ballerina-core/src/main/java/org/ballerinalang/util/debugger/dto/VariableDTO.java
Github Open Source
Open Source
Apache-2.0
2,021
ballerina
dilini-muthumala
Java
Code
230
523
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
30,322
https://github.com/yasenm/a2-netcore/blob/master/A4CoreBlog/A4CoreBlog.Data.Infrastructure/Lists/BasePaginatedList.cs
Github Open Source
Open Source
MIT
null
a2-netcore
yasenm
C#
Code
61
143
namespace A4CoreBlog.Data.Infrastructure { public class BasePaginatedList { public int PageIndex { get; set; } public int TotalPages { get; set; } public string Controller { get; set; } public string Action { get; set; } public bool HasPreviousPage { ...
16,342
https://github.com/kintoproj/kintohub/blob/master/dashboard/src/components/pages/CreateFirstEnv.tsx
Github Open Source
Open Source
Apache-2.0
2,021
kintohub
kintoproj
TSX
Code
417
1,375
import 'types/yup'; import FormikTextField from 'components/atoms/FormikTextField'; import SolidIconButtonSeparated from 'components/atoms/SolidIconButtonSeparated'; import { VerticalSpacer } from 'components/atoms/Spacer'; import { useServiceNavigate } from 'components/hooks/PathHook'; import { Formik, FormikProps } ...
24,008
https://github.com/coco-robotics/rllab-curriculum/blob/master/scripts/run_experiment_lite.py
Github Open Source
Open Source
MIT
2,022
rllab-curriculum
coco-robotics
Python
Code
413
1,754
import sys sys.path.append(".") from rllab.misc.ext import is_iterable, set_seed from rllab.misc.instrument import concretize from rllab import config import rllab.misc.logger as logger import argparse import os.path as osp import datetime import dateutil.tz import ast import uuid import pickle as pickle import base64...
11,414
https://github.com/kadkins-pivotal/steeltoe/blob/master/src/Management/test/EndpointCore.Test/Metrics/Observer/AspNetCoreHostingObserverTest.cs
Github Open Source
Open Source
Apache-2.0
2,020
steeltoe
kadkins-pivotal
C#
Code
519
1,867
// Copyright 2017 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
49,317
https://github.com/shenjie1993/assaic/blob/master/src/com/cineplex/service/MemberService.java
Github Open Source
Open Source
Apache-2.0
null
assaic
shenjie1993
Java
Code
312
728
package com.cineplex.service; import java.util.List; import com.cineplex.entity.Activity; import com.cineplex.entity.BankCard; import com.cineplex.entity.FeeRecord; import com.cineplex.entity.Member; /** * interface of service for member operation * @author Andy 1993sj19993@gmail.com * @date 2015年3月4日 上午11:28:45 ...
44,275
https://github.com/ExpressGradient/ezrel/blob/master/.npmignore
Github Open Source
Open Source
MIT
2,021
ezrel
ExpressGradient
Ignore List
Code
5
22
src node_modules .idea prettier.config.js tsconfig.json
3,072
https://github.com/lefb766/mono/blob/master/mcs/errors/cs0100-6.cs
Github Open Source
Open Source
Apache-2.0
2,022
mono
lefb766
C#
Code
23
40
// CS0100: The parameter name `obj' is a duplicate // Line: 4 class C { public extern C (object obj, object obj); }
2,872
https://github.com/sk-2809/c-/blob/master/printing num using while loop.cpp
Github Open Source
Open Source
MIT
2,021
c-
sk-2809
C++
Code
14
46
#include<iostream> using namespace std; int main() { int i=1; while(i<=5){ cout<<i<<endl; i++; } }
45,331
https://github.com/mhraihan/product-manager/blob/master/src/store/state.js
Github Open Source
Open Source
MIT
null
product-manager
mhraihan
JavaScript
Code
10
36
export default { products: JSON.parse(localStorage.getItem("vuex") || "[]"), metafields: [] };
16,883
https://github.com/Cuber01/sand-game/blob/master/src/elements/smoke.hpp
Github Open Source
Open Source
MIT
2,021
sand-game
Cuber01
C++
Code
37
132
#ifndef smoke_hpp #define smoke_hpp #include <stdint.h> class CSmoke : public CElement { public: CSmoke(); virtual void update(uint16_t x, uint16_t y); void move(uint16_t x, uint16_t y); void handleLifetime(uint16_t x, uint16_t y); void receiveHeat(float heatAmoun...
47,855
https://github.com/DjConsti/webengineering/blob/master/UE3/we-lab3-group09/build.sbt
Github Open Source
Open Source
Apache-2.0
2,015
webengineering
DjConsti
Scala
Code
38
145
name := """we-lab3-group09""" version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) scalaVersion := "2.11.1" libraryDependencies ++= Seq( javaJdbc, javaCore, javaJpa, "org.hibernate" % "hibernate-entitymanager" % "4.3.1.Final", "com.google.code.gson" % "gson" % "2.2" ) fork in r...
33,336
https://github.com/aws-samples/visitor-prioritization-switcher/blob/master/lib/waitingroom-stack.ts
Github Open Source
Open Source
MIT-0
2,022
visitor-prioritization-switcher
aws-samples
TypeScript
Code
59
154
import { Stack, StackProps, CfnOutput } from 'aws-cdk-lib'; import { Construct } from 'constructs'; import { Monitor } from './monitor'; import { WebHosting } from './webhosting'; export class WaitingroomStack extends Stack { constructor(scope: Construct, id: string, props?: StackProps) { super(scope, id, props...
18,262
https://github.com/Deep-Learning-4-VB-NET/deeplearning4vb/blob/master/deeplearning4vb/datavec/datavec-api/src/main/java/org/datavec/api/transform/transform/column/AddConstantColumnTransform.vb
Github Open Source
Open Source
MIT
2,021
deeplearning4vb
Deep-Learning-4-VB-NET
Visual Basic
Code
504
1,304
Imports System Imports System.Collections.Generic Imports Data = lombok.Data Imports ColumnType = org.datavec.api.transform.ColumnType Imports Transform = org.datavec.api.transform.Transform Imports ColumnMetaData = org.datavec.api.transform.metadata.ColumnMetaData Imports Schema = org.datavec.api.transform.schema.Sch...
362
https://github.com/NunoEdgarGFlowHub/torchio/blob/master/torchio/transforms/augmentation/spatial/random_elastic_deformation.py
Github Open Source
Open Source
MIT
2,020
torchio
NunoEdgarGFlowHub
Python
Code
308
1,326
from typing import Tuple, Optional import torch import numpy as np import SimpleITK as sitk from ....utils import is_image_dict, check_consistent_shape from ....torchio import LABEL, DATA, AFFINE, TYPE from .. import Interpolation from .. import RandomTransform class RandomElasticDeformation(RandomTransform): """...
30,458
https://github.com/KlimovKirill/EPAM.XT_NET_WEB/blob/master/EPAM.Task7/UsersAndAwords.PL.Interface/IUsersAndAwardsPL.cs
Github Open Source
Open Source
MIT
null
EPAM.XT_NET_WEB
KlimovKirill
C#
Code
19
66
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UsersAndAwords.PL.Interface { public interface IUsersAndAwardsPL { } }
22,615
https://github.com/maltissimo/OASYS1-ELETTRA-Extension/blob/master/orangecontrib/elettra/util/elettra_util.py
Github Open Source
Open Source
MIT
null
OASYS1-ELETTRA-Extension
maltissimo
Python
Code
105
419
__author__ = 'maltissimo' import sys, os, numpy, platform import orangecanvas.resources as resources from PyQt5 import QtGui, QtCore try: import matplotlib import matplotlib.pyplot as plt from matplotlib import cm from matplotlib import figure as matfig import pylab except ImportError: print(s...
46,840
https://github.com/everpay/consoles/blob/master/api/services/teams/verifyInvitationToken.service.js
Github Open Source
Open Source
MIT
2,021
consoles
everpay
JavaScript
Code
38
112
import { ApolloError } from 'apollo-server-express'; import { getDetailTeamInvitation } from '~/repository/team_invitations.repository'; export async function verifyInvitationToken(token) { const [teamInvitation] = await getDetailTeamInvitation(token); if (!teamInvitation || teamInvitation.status === 'inactive') {...
44,406
https://github.com/meta-rti/Basic-Video-Call/blob/master/Group-Video/OpenVideoCall-iOS-Objective-C/OpenVideoCall/FileCenter.h
Github Open Source
Open Source
MIT
null
Basic-Video-Call
meta-rti
C
Code
40
126
// // FileCenter.h // OpenVideoCall // // Created by 3 on 2020/12/15. // Portions Copyright (c) 2020 meta-rti. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface FileCenter : NSObject + (NSString *)logDirectory; + (NSString *)logFilePath; + (NSString *)audioFilePath; @en...
787
https://github.com/gparap/android/blob/master/e-commerce/app/src/androidTest/java/gparap/apps/e_commerce/ui/auth/LoginActivityInstrumentedTest.java
Github Open Source
Open Source
Apache-2.0
2,023
android
gparap
Java
Code
344
1,751
/* * Copyright 2023 gparap * * 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 wr...
23,770
https://github.com/jlankitus/DaddysPlayground/blob/master/Assets/Shadertoy/Gears2.shader
Github Open Source
Open Source
Unlicense
null
DaddysPlayground
jlankitus
GLSL
Code
552
1,870
 Shader "ShaderMan/Gears2" { Properties{ bg_color ("Background Color", Color) = (0,0,0,0) } SubShader { Tags { "RenderType" = "Transparent" "Queue" = "Transparent" } Pass { ZWrite Off Blend SrcAlpha OneMinusSrcAlpha CGPROGRAM #pragma vertex vert #pragma fragment frag #include "UnityCG.cginc" ...
20,889
https://github.com/jptrsn/meet-cute/blob/master/angular/src/app/modules/popup/pages/light/light.component.ts
Github Open Source
Open Source
MIT
null
meet-cute
jptrsn
TypeScript
Code
138
516
import { Component, OnInit, OnDestroy, ViewEncapsulation } from '@angular/core'; import { WledService } from '../../services/wled.service'; import { FormBuilder, FormGroup, FormControl } from '@angular/forms'; import { MatSnackBar } from '@angular/material/snack-bar'; @Component({ selector: 'app-light', templateUr...
10,769
https://github.com/catapult-project/catapult/blob/master/telemetry/telemetry/wpr/archive_info_unittest.py
Github Open Source
Open Source
BSD-3-Clause
2,021
catapult
catapult-project
Python
Code
837
5,001
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import absolute_import import json import os import shutil import tempfile import unittest import six import mock from py_utils import cloud_...
7,102
https://github.com/ugcmedia/mooladev/blob/master/resources/views/public/homepage/partials/top-links.blade.php
Github Open Source
Open Source
MIT
null
mooladev
ugcmedia
PHP
Code
88
582
<section class="footer pt-5"> <div class="container"> <div class="footer-top py-5"> <div class="row"> @php $topFooter = AppClass::getTopFooter(); @endphp @foreach($topFooter as $tfooter) <div class="col-6 col-lg-2 col-md-3"> <div class="ft-link"> <span...
48,228
https://github.com/keen/keen/blob/master/packages/typography/src/types.ts
Github Open Source
Open Source
MIT
2,022
keen
keen
TypeScript
Code
37
81
export type FontWeight = | 'normal' | 'bold' | 'bolder' | 'lighter' | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900; export type LineHeight = number | string;
23,529
https://github.com/bronto/bronto-api-java-sdk/blob/master/client/src/main/java/com/bronto/api/model/DeliveryFilter.java
Github Open Source
Open Source
Apache-2.0
2,020
bronto-api-java-sdk
bronto
Java
Code
800
1,993
package com.bronto.api.model; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /*...
14,989
https://github.com/odinshen/ComputeLibrary_17.9_BareMetal/blob/master/documentation/classarm__compute_1_1graph_1_1_activation_layer.js
Github Open Source
Open Source
MIT
2,021
ComputeLibrary_17.9_BareMetal
odinshen
JavaScript
Code
20
182
var classarm__compute_1_1graph_1_1_activation_layer = [ [ "ActivationLayer", "classarm__compute_1_1graph_1_1_activation_layer.xhtml#afac1172e48fcb7c2e806f1629da9624a", null ], [ "instantiate_node", "classarm__compute_1_1graph_1_1_activation_layer.xhtml#aaa115a53f16316ee0a38398e90415968", null ], [ "print_in...
32,193
https://github.com/Jodyheryanto/Pustaka_Obor/blob/master/database/migrations/2020_12_08_054321_create_tb_distributor.php
Github Open Source
Open Source
MIT
null
Pustaka_Obor
Jodyheryanto
PHP
Code
72
395
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateTbDistributor extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('tb_distributor...
8,067
https://github.com/leanprover/lean4/blob/master/doc/examples/ICERM2022/notation.lean
Github Open Source
Open Source
Apache-2.0, LLVM-exception, NCSA, LGPL-3.0-only, LicenseRef-scancode-inner-net-2.0, BSD-3-Clause, LGPL-2.0-or-later, Spencer-94, LGPL-2.1-or-later, HPND, LicenseRef-scancode-pcre, ISC, LGPL-2.1-only, LicenseRef-scancode-other-permissive, SunPro, CMU-Mach
2,023
lean4
leanprover
Lean
Code
203
422
import Lean def f (x y : Nat) := x * y + 1 infixl:65 " *' " => f #check 2 *' 3 notation "unitTest " x => Prod.mk x () #check unitTest 42 notation "parenthesisTest " x => Nat.sub (x) #check parenthesisTest 12 def Set (α : Type u) := α → Prop def setOf {α : Type} (p : α → Prop) : Set α := p notation "{ " x " | " p...
27,824
https://github.com/jimmyzhong/webui-aria2/blob/master/js/services/rpc/sockcall.js
Github Open Source
Open Source
MIT
2,013
webui-aria2
jimmyzhong
JavaScript
Code
302
799
app.factory('$sockcall', ['$_', '$json', '$name', '$utils', function(_, JSON, name, utils) { return { // true when sockrpc is ready to be used, // false when either initializing // or no support for web sockets initialized: false, // ongoing connection handles containing connection id and callbac...
12,066
https://github.com/huyhoang1995/laravel-vue/blob/master/resources/assets/js/components/clinic/PatientDetailComponent.vue
Github Open Source
Open Source
MIT
2,020
laravel-vue
huyhoang1995
Vue
Code
485
2,436
<template> <div> <div class="col-md-12"> <div class="panel panel-bordered panel-success "> <div class="panel-heading"> <h3 class="panel-title">Thông tin người dùng</h3> </div> <div class="panel-body"> <div class="col-md-2"> <img v-bind:src="'./images/avatar.png'" alt=""> </div> ...
28,975
https://github.com/fayyaztech/Helios/blob/master/helios/ext/libcms/scanners/cms_scanner.py
Github Open Source
Open Source
Apache-2.0
2,020
Helios
fayyaztech
Python
Code
299
1,161
import time import requests import os import logging import sys class Scanner: # set frequency for update call update_frequency = 0 name = "" aggressive = False last_update = 0 cache_dir = os.path.join(os.path.dirname(__file__), 'cache') logger = None updates = {} headers = {"User-A...
48,492
https://github.com/deepaksingh112018/laravel/blob/master/raj/routes/web.php
Github Open Source
Open Source
MIT
2,021
laravel
deepaksingh112018
PHP
Code
79
226
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
7,454
https://github.com/msnijder30/JKik/blob/master/src/main/java/com/github/msnijder30/jkik/message/FriendPickerMessage.java
Github Open Source
Open Source
Apache-2.0
2,019
JKik
msnijder30
Java
Code
44
161
package com.github.msnijder30.jkik.message; import java.util.ArrayList; import com.github.msnijder30.jkik.Chat; import lombok.Getter; public class FriendPickerMessage extends Message { @Getter private ArrayList<String> picked; public FriendPickerMessage(Chat chat, long timestamp, String mention, boolean readR...
48,573
https://github.com/3prm3/ATBYW/blob/master/src/main/java/net/azagwen/atbyw/blocks/stairs/DirtStairsBlock.java
Github Open Source
Open Source
MIT
null
ATBYW
3prm3
Java
Code
148
638
package net.azagwen.atbyw.blocks.stairs; import net.azagwen.atbyw.blocks.AtbywBlocks; import net.minecraft.block.BlockState; import net.minecraft.block.Blocks; import net.minecraft.server.world.ServerWorld; import net.minecraft.tag.FluidTags; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Dire...
20,836
https://github.com/cefoler/configuration/blob/master/core/src/main/java/com/cefoler/configuration/core/exception/unchecked/unchecked/impl/reflection/impl/member/impl/executable/UncheckedExecutableException.java
Github Open Source
Open Source
Apache-2.0
null
configuration
cefoler
Java
Code
38
196
package com.cefoler.configuration.core.exception.unchecked.unchecked.impl.reflection.impl.member.impl.executable; import com.cefoler.configuration.core.exception.checked.reflection.impl.member.impl.executable.ExecutableException; import com.cefoler.configuration.core.exception.unchecked.unchecked.impl.reflection.impl....
31,539
https://github.com/deshmukhmayur/one-platform/blob/master/packages/developer-console-spa/src/components/lighthouse/CreateProjectForm.tsx
Github Open Source
Open Source
MIT
2,022
one-platform
deshmukhmayur
TypeScript
Code
295
898
import { Button, Flex, FlexItem, Form, FormGroup, TextInput } from '@patternfly/react-core'; import { Dispatch, SetStateAction, useState } from 'react'; import { useForm, Controller } from 'react-hook-form'; import { createLightHouseProjects } from '../../services/lighthouse'; type CreateProjectFormValues = { projec...
25,665
https://github.com/airicyu/rameter/blob/master/samples/sample9-custom-sampler/app.js
Github Open Source
Open Source
MIT
2,022
rameter
airicyu
JavaScript
Code
169
426
import { Rameter, HttpRequestSampler, CustomSampler, sleep, UserModelConfig } from "rameter"; const rameter = new Rameter(); /** * up-lifting */ await rameter.runStandalone(); /** * define user groups */ rameter.defineUserGroup("members"); /** * define user test scenario */ rameter.defineUserScenario("run cus...
35,476
https://github.com/squinix/Hostinec-Stolet-/blob/master/resources/views/home.blade.php
Github Open Source
Open Source
MIT
null
Hostinec-Stolet-
squinix
PHP
Code
160
684
@extends('layouts.app') @section('content') <div class="container" style="min-height: 100vh;"> <div> <h1 class="text-4xl font-thin uppercase text-center py-16 pb-2"> Denní menu </h1> </div> <div class="grid grid-cols-2 gap-4 py-16 m-5"> <...
12,548
https://github.com/khoind6725/woodshop/blob/master/resources/views/components/social-info.blade.php
Github Open Source
Open Source
MIT
null
woodshop
khoind6725
PHP
Code
40
204
<div class="row m0 social-info"> <ul class="social-icon"> <li><a href="#"><i class="fa fa-facebook"></i></a></li> <li><a href="#"><i class="fa fa-twitter"></i></a></li> <li><a href="#"><i class="fa fa-google-plus"></i></a></li> <li><a href="#"><i class="fa fa-linkedin"></i></a></li> ...
37,306
https://github.com/CragonGame/CasinosClient/blob/master/Assets/Arts/Particle/Textures/Textures/Materials/longzhu.mat.meta
Github Open Source
Open Source
MIT
2,023
CasinosClient
CragonGame
Unity3D Asset
Code
6
39
fileFormatVersion: 2 guid: 22be2a3d58c34a643ba49770dc505edb NativeFormatImporter: userData:
3,637
https://github.com/lotusronin/KronosEngine/blob/master/Shader.cpp
Github Open Source
Open Source
MIT
null
KronosEngine
lotusronin
C++
Code
216
818
#include "Shader.h" #include <string.h> #include <iostream> #include <fstream> #include <GL/glew.h> #include <GL/gl.h> Shader::Shader(const std::string& vert, const std::string& frag) { vs =""; fs = ""; //Load vertex shader vs = load(vert); //Load fragment shader fs = load(frag); vert_src = vs....
47,310
https://github.com/DevJohnC/DataKit/blob/master/DataKit.Modelling/TypeModels/PropertyField.cs
Github Open Source
Open Source
MIT
2,022
DataKit
DevJohnC
C#
Code
198
648
using System; using System.Reflection; namespace DataKit.Modelling.TypeModels { public abstract class PropertyField : IModelField<TypeModel, PropertyField> { public DataType FieldType => GetDataType(); public abstract string FieldName { get; } public abstract bool CanWrite { get; } public abstract bool CanR...
21,613
https://github.com/cyylog/Vue_status/blob/master/src/views/cfg/create.vue
Github Open Source
Open Source
MIT
null
Vue_status
cyylog
Vue
Code
145
772
<template> <div class="app-container"> <el-form ref="form" :model="config" label-width="120px"> <el-form-item label="分组"> <el-select allow-create v-model="config.group" filterable placeholder="输入分组"> <el-option v-for="item in groups" :key="item" :label...
10,388
https://github.com/nnaumenko/metafsimple/blob/master/test/integration_temp_pres_historical.cpp
Github Open Source
Open Source
MIT
null
metafsimple
nnaumenko
C++
Code
656
2,849
/* * Copyright (C) 2020 Nick Naumenko (https://gitlab.com/nnaumenko, * https:://github.com/nnaumenko) * All rights reserved. * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "comparisons.hpp" #include "gtest/gtest.h" #include "metafsimp...
15,970
https://github.com/team-moebius/hashmain-data-pipeline/blob/master/api/src/test/groovy/com/moebius/api/grocery/TradeHistoryGrocery.groovy
Github Open Source
Open Source
MIT
2,021
hashmain-data-pipeline
team-moebius
Groovy
Code
91
348
package com.moebius.api.grocery import com.moebius.api.entity.TradeHistory import java.time.LocalDateTime class TradeHistoryGrocery { static def basicTradeHistory(Map map = defaultMap()) { return new TradeHistory( map.id as String, map.exchange as String, m...
19,996
https://github.com/some-mthfka/Viy/blob/master/neosfml.vim
Github Open Source
Open Source
Apache-2.0
2,019
Viy
some-mthfka
Vim Script
Code
61
288
"Used for Viy GUI "Goes to neovim's autoload directory function! neosfml#PicCopyAndInc(reps) let c = 1 while c <= a:reps execute "normal! yyp$bb\<C-a>" let c += 1 endwhile endfunction function! neosfml#PicSize() return split(getline('.'), '|')[-3] - 1 endfunction function! neosfml#Pic...
48,170
https://github.com/Hendis/brew/blob/master/Library/Homebrew/test/rubocops/options_cop_spec.rb
Github Open Source
Open Source
CC-BY-4.0, BSD-2-Clause
2,017
brew
Hendis
Ruby
Code
294
1,082
require "rubocop" require "rubocop/rspec/support" require_relative "../../extend/string" require_relative "../../rubocops/options_cop" describe RuboCop::Cop::FormulaAudit::Options do subject(:cop) { described_class.new } context "When auditing options" do it "32-bit" do source = <<-EOS.undent cl...
5,758