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/xurui3762791/uiw/blob/master/docs/pages/hotkeys/index.less
Github Open Source
Open Source
MIT
2,021
uiw
xurui3762791
Less
Code
100
354
.dome_key { display: inline-block; position: relative; z-index: 1; .text { position: absolute; right: 0; bottom: 5px; left: 0; text-align: center; } } .dome_key_bg { margin-right: 5px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; background-color: #fff; widt...
28,243
https://github.com/jeffparsons/rangemap/blob/master/src/range_wrapper.rs
Github Open Source
Open Source
MIT, Apache-2.0
2,023
rangemap
jeffparsons
Rust
Code
786
2,043
// Wrappers to allow storing (and sorting/searching) // ranges as the keys of a `BTreeMap`. // // This wraps the range in two layers: one that lets us // order ranges by their start (`RangeStartWrapper`), // and then within that, one that lets us order them by // their end (`RangeEndWrapper`). Ordinarily we'll use // t...
31,882
https://github.com/mlanglois83/spfx-base-data-services-controls/blob/master/src/controls/PeoplePicker/PeoplePicker.tsx
Github Open Source
Open Source
MIT
null
spfx-base-data-services-controls
mlanglois83
TypeScript
Code
450
1,670
import { IBasePickerSuggestionsProps, IPersonaProps, NormalPeoplePicker, css, Icon, IconNames } from "office-ui-fabric-react/lib"; import { IPeoplePickerProps } from "./interfaces/IPeoplePickerProps"; import { IPeoplePickerState } from "./interfaces/IPeoplePickerState"; import { User, UserService, ServicesConfiguratio...
31,707
https://github.com/maas-alliance/TOMP-REF/blob/master/tomp_ref/src/main/java/org/tomp/api/exceptions/MissingArgumentException.java
Github Open Source
Open Source
Apache-2.0
2,020
TOMP-REF
maas-alliance
Java
Code
53
160
package org.tomp.api.exceptions; public class MissingArgumentException extends RuntimeException { private static final long serialVersionUID = -3443398319953659611L; private String requiredArgument; public MissingArgumentException(String requiredArgument) { this.setRequiredArgument(requiredArgument); } publi...
31,468
https://github.com/bluemyria/angular-skyhook/blob/master/packages/sortable/src/directives/list.component.ts
Github Open Source
Open Source
MIT, BSD-3-Clause
2,018
angular-skyhook
bluemyria
TypeScript
Code
233
785
import { Component, Input, TemplateRef, ChangeDetectionStrategy, ChangeDetectorRef, OnDestroy, OnChanges, AfterViewInit, AfterContentInit, ElementRef, QueryList, SimpleChanges, ContentChildren, } from "@angular/core"; import { SkyhookDndService } from "@angular-skyhoo...
50,654
https://github.com/song51930/ssq/blob/master/src/main/java/com/wstro/datasources/DataSource.java
Github Open Source
Open Source
Apache-2.0
2,022
ssq
song51930
Java
Code
27
129
package com.wstro.datasources; import java.lang.annotation.*; /** * 动态数据源(default:DataSourceContextHolder.PRIMARY_DATA_SOURCE) * * @author Joey * @Email 2434387555@qq.com */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @Documented public @interface DataSource { String value() default Data...
30,993
https://github.com/orconomy/Scorpio/blob/master/Scorpio.Outlook.Addin.Tests/Synchronization/ExternalDataSource/Exceptions/ScorpioExceptionTests.cs
Github Open Source
Open Source
MIT
2,017
Scorpio
orconomy
C#
Code
358
954
#region Copyright (c) ORCONOMY GmbH // //////////////////////////////////////////////////////////////////////////////// // // ORCONOMY GmbH Source Code // Copyright (c) 2010-2017 ORCONOMY GmbH ...
10,337
https://github.com/jimizai/eva.js/blob/master/packages/miniprogram-pixi/lib/index.ts
Github Open Source
Open Source
MIT
null
eva.js
jimizai
TypeScript
Code
46
220
import * as PIXI from '@tbminiapp/pixi-miniprogram-engine'; export default PIXI; export { Application, Container, Graphics, mesh, Texture, Sprite, extras, Text, ticker, BLEND_MODES, Circle, Ellipse, Polygon, Rectangle, RoundedRectangle, TextStyle, loaders, Matrix, SCALE_MODES, ut...
18,718
https://github.com/lou-dupont/BEGES/blob/master/main.py
Github Open Source
Open Source
MIT
2,022
BEGES
lou-dupont
Python
Code
11
19
# Download, parse and upload! import download import parse import upload
1,726
https://github.com/PixellUp/Mirror/blob/master/Player/TopOutfit.cs
Github Open Source
Open Source
MIT
2,022
Mirror
PixellUp
C#
Code
125
264
using GTANetworkAPI; using System; using System.Collections.Generic; using System.Text; namespace Mirror.Classes.Models.Player { public class TopOutfit { public int[] Mask { get; set; } = new int[] { 0, 0 }; public int[] Undershirt { get; set; } = new int[] { 0, 0 }; public int[] Torso...
40,640
https://github.com/Kelduum/ruby-dbus-systemd/blob/master/spec/dbus/systemd/networkd_spec.rb
Github Open Source
Open Source
MIT
2,018
ruby-dbus-systemd
Kelduum
Ruby
Code
16
63
require 'spec_helper' describe DBus::Systemd::Networkd do it 'sets the right service' do expect(DBus::Systemd::Networkd::SERVICE).to eq 'org.freedesktop.network1' end end
42,415
https://github.com/curoky/dumbo/blob/master/stl/types/RTTI/typeinfo.cc
Github Open Source
Open Source
Apache-2.0
null
dumbo
curoky
C++
Code
325
1,098
/* * Copyright 2019 curoky(cccuroky@gmail.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
9,339
https://github.com/Szaki/WindowsFormsApp/blob/master/FontEditorDocument.cs
Github Open Source
Open Source
MIT
2,019
WindowsFormsApp
Szaki
C#
Code
49
147
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WindowsFormsApp { public class FontEditorDocument : Document { private Dictionary<char, CharDef> charDefs; public void LoadDocument(string path) { throw new System.NotImplemente...
22,238
https://github.com/vakinge/jeesuite-libs/blob/master/jeesuite-common/src/main/java/com/jeesuite/common/util/ResourceUtils.java
Github Open Source
Open Source
Apache-2.0
2,022
jeesuite-libs
vakinge
Java
Code
1,346
5,544
package com.jeesuite.common.util; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.lang.reflect.Field; import java.net.URL; import java.util.ArrayList; import java.util....
42,740
https://github.com/lichangjiang/iperf-operator/blob/master/pkg/client/clientset/versioned/typed/iperf.test.svc/alpha1/fake/fake_iperftask.go
Github Open Source
Open Source
Apache-2.0
null
iperf-operator
lichangjiang
Go
Code
529
1,575
/* Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
43,712
https://github.com/linjhon/vue2-vben-admin/blob/master/src/design/ant/tabs.less
Github Open Source
Open Source
MIT
2,021
vue2-vben-admin
linjhon
Less
Code
40
163
// tab body { .ant-tabs { &.ant-tabs-editable-card { .ant-tabs-bar { .ant-tabs-nav-container .ant-tabs-tab { background: @background-color-dark; border-color: @border-color-shallow-dark; } } } &-nav { .ant-tabs-tab { padding: 12px 24px; ...
12,128
https://github.com/a-tony/fast-family-master/blob/master/fast-family-security/src/main/java/com/fast/family/security/auth/wechat/WechatAuthenticationProvider.java
Github Open Source
Open Source
Apache-2.0
2,019
fast-family-master
a-tony
Java
Code
86
372
package com.fast.family.security.auth.wechat; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.authentication.InternalAuthenticationServiceException; import org.springframework.se...
49,557
https://github.com/victorkosgei254/SchoolAnalytics/blob/master/primary/models.py
Github Open Source
Open Source
MIT
null
SchoolAnalytics
victorkosgei254
Python
Code
208
468
from django.db import models # Create your models here. '''Designing the DB Seperating each subjects and in each have a season Any class here represents a Table in the Database ''' class Students(): #this class is to be used during registering new students to database,can be done by mini-admin or public given ...
33,773
https://github.com/keymind/Epi-Info-Community-Edition/blob/master/EpiDashboard/FieldFlags.cs
Github Open Source
Open Source
Apache-2.0
2,021
Epi-Info-Community-Edition
keymind
C#
Code
52
170
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EpiDashboard { public struct FieldFlags { public bool IsDropDownListField; public bool IsCommentLegalField; public bool IsOptionField; public bool IsRecodedField; public Fie...
10,290
https://github.com/chuprin-nikolay/redmine_xmpp_muc_notifications/blob/master/lib/notifier_hook.rb
Github Open Source
Open Source
MIT, LicenseRef-scancode-public-domain
2,016
redmine_xmpp_muc_notifications
chuprin-nikolay
Ruby
Code
177
824
class NotifierHook < Redmine::Hook::Listener def controller_issues_new_after_save(context={}) begin deliver(make_msg(context[:issue], context[:issue].author.name, "created")) unless !validate_settings? rescue => e # we don't want to crash redmine for a damned notification notify_error(e) ...
36,898
https://github.com/mfkiwl/pa3gyf-gpsdocxo/blob/master/pcb/v1-kicad3/arduino/r2/pa3gyf-gpsdocxo-arduino-r2.gerber/gerber/pa3gyf-gpsdocxo-arduino-r2-B_SilkS.gbr
Github Open Source
Open Source
Apache-2.0
2,021
pa3gyf-gpsdocxo
mfkiwl
Gerber Image
Code
643
8,432
G04 #@! TF.FileFunction,Legend,Bot* %FSLAX46Y46*% G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)* G04 Created by KiCad (PCBNEW (after 2015-mar-04 BZR unknown)-product) date Thu 29 Dec 2016 04:21:00 PM CET* %MOMM*% G01* G04 APERTURE LIST* %ADD10C,0.100000*% %ADD11C,0.150000*% %ADD12C,0.203200*% %ADD13C,0...
16,544
https://github.com/NotLimey/IdentityServer.Admin/blob/master/src/Application/Eiromplays.IdentityServer.Application/Permissions/EventHandlers/PermissionCreatedEventHandler.cs
Github Open Source
Open Source
MIT
null
IdentityServer.Admin
NotLimey
C#
Code
50
227
using Eiromplays.IdentityServer.Application.Common.Models; using Eiromplays.IdentityServer.Domain.Events.Permission; using MediatR; using Microsoft.Extensions.Logging; namespace Eiromplays.IdentityServer.Application.Permissions.EventHandlers { public class PermissionCreatedEventHandler : INotificationHandler<Doma...
6,592
https://github.com/ClickHouse/ClickHouse/blob/master/src/IO/WriteBufferFromArena.h
Github Open Source
Open Source
Apache-2.0
2,023
ClickHouse
ClickHouse
C++
Code
357
690
#pragma once #include <Common/Arena.h> #include <base/StringRef.h> #include <IO/WriteBuffer.h> namespace DB { /** Writes data contiguously into Arena. * As it will be located in contiguous memory segment, it can be read back with ReadBufferFromMemory. * * While using this object, no other allocations in arena...
15,427
https://github.com/Lighty0410/autexousious/blob/master/crate/energy_model/src/loaded/asset_energy_definition_handle.rs
Github Open Source
Open Source
Apache-2.0, MIT
2,022
autexousious
Lighty0410
Rust
Code
17
62
use asset_model::loaded::AssetId; use slotmap::SecondaryMap; use crate::config::EnergyDefinitionHandle; /// `EnergyDefinitionHandle` for an asset. pub type AssetEnergyDefinitionHandle = SecondaryMap<AssetId, EnergyDefinitionHandle>;
13,406
https://github.com/TaiwanSpring/L1CSharpTW/blob/master/LineageServer/Server/datatables/CharacterConfigTable.cs
Github Open Source
Open Source
Unlicense
null
L1CSharpTW
TaiwanSpring
C#
Code
126
504
using LineageServer.DataBase.DataSources; using LineageServer.Interfaces; using System.Collections.Generic; namespace LineageServer.Server.DataTables { class CharacterConfigTable { private readonly static IDataSource dataSource = Container.Instance.Resolve<IDataSourceFactory>() ...
1,780
https://github.com/baugarten/Versionizer/blob/master/examples/routes/users.coffee
Github Open Source
Open Source
MIT
2,015
Versionizer
baugarten
CoffeeScript
Code
137
376
module.exports = [ method: "get" v: 1 handler: (req, res, next) -> res.send("All Versions") , uri: "/:id" method: "get" v: 1 handler: (req, res, next) -> res.send("All Versions") , uri: "/:id" method: "delete" v: 1 handler: (req, res, next) -> res.send(...
53,647
https://github.com/Sywooch/noteapp/blob/master/views/site/index.php
Github Open Source
Open Source
MIT
2,013
noteapp
Sywooch
PHP
Code
41
182
<?php /** * @var yii\base\View $this */ $this->title = 'NoteApp'; ?> <div class="row"> <div class="col-md-3"> <h2 class="title-white">Tags</h2> <?php echo $this->render('/tag/_list', array()) ?> </div><!-- /.col-md-4 --> <div class="col-md-9"> <h2 class="title-white">Notes</h2> <?php echo $this->ren...
9,584
https://github.com/barrettotte/Ranger-Lang/blob/master/opcodes.asm
Github Open Source
Open Source
MIT
2,020
Ranger-Lang
barrettotte
Assembly
Code
324
641
; List of opcodes for RangerVM ; ; ; GP = R5 <-- global pointer - bottom of memory (globals) ; MP = R6 <-- memory pointer - top of memory (temps) ; PC = R7 <-- program counter ; ; ; Three address instructions ; (register, register, register) HALT R0,R0,R0 ; Halt program (operands 1-3 ignored) IN R0,R0,R0 ; Read...
30,027
https://github.com/M-Wittner/DVT/blob/master/application/controllers/tasks.php
Github Open Source
Open Source
MIT
null
DVT
M-Wittner
PHP
Code
721
3,660
<?php header("X-Frame-Options: SOMEORIGIN"); header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Methods: GET, POST, OPTIONS, PUT, DELETE"); header("Access-Control-Allow-Headers: Content-Type"); if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Tasks extends CI_Controller { ...
43,368
https://github.com/shawnLiujianwei/selenium-crawler-server/blob/master/app/selector/selector.controller.js
Github Open Source
Open Source
MIT
null
selenium-crawler-server
shawnLiujianwei
JavaScript
Code
368
1,017
/** * Created by Shawn Liu on 15-6-11. */ 'use strict' var Error = require("../../components/errors"); var logger = require("node-config-logger").getLogger("app/selector/selector.controller.js"); var Promise = require("bluebird"); var selectorService = require("./selector.service"); var retailerScript = require("../....
4,260
https://github.com/roryprimrose/Headless/blob/master/Headless.IntegrationTests/Pages/GoogleSearchPage.cs
Github Open Source
Open Source
MIT
2,021
Headless
roryprimrose
C#
Code
76
224
namespace Headless.IntegrationTests.Pages { using System; /// <summary> /// The <see cref="GoogleSearchPage" /> /// provides a wrapper around the Google default search page. /// </summary> public class GoogleSearchPage : HtmlPage { /// <inheritdoc /> public override...
46,275
https://github.com/standardgalactic/deno-clipboard-image/blob/master/example/main.ts
Github Open Source
Open Source
MIT
2,021
deno-clipboard-image
standardgalactic
TypeScript
Code
40
152
import { read, write, } from "https://raw.githubusercontent.com/skanehira/deno-clipboard-image/main/mod.ts"; import { copy } from "https://deno.land/std@0.105.0/io/mod.ts"; (async function () { const image = await Deno.open("test.png"); await write(image); image.close(); const src = await read(); const ...
582
https://github.com/sapcc/keystone/blob/master/keystone/api/os_oauth1.py
Github Open Source
Open Source
Apache-2.0
2,023
keystone
sapcc
Python
Code
1,030
4,253
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
3,128
https://github.com/Brest-Java-Course-2017/YarmaliukSiarhei/blob/master/service/src/test/java/com/segniertomato/work/service/InvestigationServiceImplMockTest.java
Github Open Source
Open Source
Apache-2.0
2,020
YarmaliukSiarhei
Brest-Java-Course-2017
Java
Code
1,369
11,562
package com.segniertomato.work.service; import com.segniertomato.work.dao.InvestigationDao; import com.segniertomato.work.message.MessageError; import com.segniertomato.work.model.Employee; import com.segniertomato.work.model.Investigation; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.L...
148
https://github.com/nocproject/noc/blob/master/scripts/fetch
Github Open Source
Open Source
BSD-3-Clause
2,023
noc
nocproject
Python
Code
50
119
#!./bin/python # ---------------------------------------------------------------------- # Fetch URL and feed to stdout # ---------------------------------------------------------------------- # Copyright (C) 2007-2019 The NOC Project # See LICENSE for details # ----------------------------------------------------------...
4,706
https://github.com/ckodhiambo/Centum-HR-Project-/blob/master/app/Http/Controllers/api/SoftwareController.php
Github Open Source
Open Source
MIT
null
Centum-HR-Project-
ckodhiambo
PHP
Code
76
277
<?php namespace App\Http\Controllers\api; use App\Http\Controllers\Controller; use App\Models\Software; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class SoftwareController extends Controller { public function index() { $companies = Software::all(); return J...
20,596
https://github.com/benpetermorris/DCK/blob/master/DOOM2.GD
Github Open Source
Open Source
MIT
2,020
DCK
benpetermorris
GAP
Code
791
2,046
# ***************************************************************************** # DCK game definition file. # ***************************************************************************** # Don't change the next line. # I mean that. # Don't change it. GAMEDATA # You had better not have changed it. [General] Name; DOOM...
43,010
https://github.com/shiaru/module-api-server/blob/master/src/index.js
Github Open Source
Open Source
MIT
2,020
module-api-server
shiaru
JavaScript
Code
80
154
const requestHandler = require('./request-handler'); const loader = require('./loader'); const server = ({ paths = [], modules = {}, endpoint = '/', cors = false }) => { const namespace = loader({ paths, modules }); console.log('Loaded namespace', namespace); // standard http server request handler const handl...
28,679
https://github.com/nickperez1285/foodtruck/blob/master/server/schemas/user.js
Github Open Source
Open Source
MIT
null
foodtruck
nickperez1285
JavaScript
Code
29
90
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var personSchema = Schema({ email: String, password: String, token: String, trucksFollowing: [{ type: Schema.Types.ObjectId, ref: 'Truck'}] }); module.exports = mongoose.model('User', personSchema);
22,579
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/oojs-ui/CheckboxMultiselectWidget.d.ts
Github Open Source
Open Source
MIT
2,023
DefinitelyTyped
DefinitelyTyped
TypeScript
Code
370
916
declare namespace OO.ui { /** * CheckboxMultiselectWidget is a {@link OO.ui.MultiselectWidget multiselect widget} that contains * checkboxes and is used together with OO.ui.CheckboxMultioptionWidget. The * CheckboxMultiselectWidget provides an interface for adding, removing and selecting options. ...
10,930
https://github.com/Javacord/Javacord/blob/master/javacord-api/src/main/java/org/javacord/api/event/interaction/MessageContextMenuCommandEvent.java
Github Open Source
Open Source
Apache-2.0
2,023
Javacord
Javacord
Java
Code
97
260
package org.javacord.api.event.interaction; import org.javacord.api.interaction.MessageContextMenuInteraction; import java.util.Optional; /** * A message context menu command event. */ public interface MessageContextMenuCommandEvent extends ApplicationCommandEvent { /** * Gets the created interaction as M...
10,628
https://github.com/sagaryba98/SpringMVC/blob/master/mavenmvc/src/main/java/com/sagar/spring/springmvc/controller/ListController.java
Github Open Source
Open Source
MIT
null
SpringMVC
sagaryba98
Java
Code
77
437
package com.sagar.spring.springmvc.controller; import java.util.ArrayList; import java.util.List; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.servlet.ModelAndView; import com.sagar.spring.springmvc.dto.Employee; @Con...
1,720
https://github.com/adamadolfo/programming-univbasics-nds-nested-arrays-iteration-lab-part-2-wdc01-seng-ft-082420/blob/master/lib/iteration_with_loops.rb
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-unknown-license-reference
2,020
programming-univbasics-nds-nested-arrays-iteration-lab-part-2-wdc01-seng-ft-082420
adamadolfo
Ruby
Code
71
187
def find_min_in_nested_arrays(src) # src will be an array of arrays of integers # Produce a new Array that contains the smallest number of each of the nested arrays outer_results = [] row_index = 0 while row_index < src.count do element_index = 0 lowest_number_element = src[row_index][element_index] while e...
24,285
https://github.com/lovisahallgren/FakeNews/blob/master/public/header.php
Github Open Source
Open Source
MIT
null
FakeNews
lovisahallgren
PHP
Code
103
542
<?php declare(strict_types=1); require __DIR__.'/data.php'; $sortByPost = usort($newsFeed, 'sortByDate'); if (isset($_GET['sortBy'])) { $sortBy = $_GET['sortBy']; if ($sortBy === 'author') { $sortByPost = usort($newsFeed, 'sortByAuthor'); } elseif ($sortBy === 'date') { ...
21,723
https://github.com/sujanshresthanet/gino/blob/master/core/resources/classes/class.EventDispatcher.php
Github Open Source
Open Source
MIT
2,020
gino
sujanshresthanet
PHP
Code
311
870
<?php /** * @file class.EventDispatcher.php * @brief Contiene la definizione ed implementazione della classe Gino.EventDispatcher * * @copyright 2014 Otto srl (http://www.opensource.org/licenses/mit-license.php) The MIT License * @author marco guidotti guidottim@gmail.com * @author abidibo abidibo@gmail.com */ n...
35,807
https://github.com/odenzo/scala-aws-infra/blob/master/modules/aws/src/main/scala/com/odenzo/aws/redis/Redis.scala
Github Open Source
Open Source
Apache-2.0
null
scala-aws-infra
odenzo
Scala
Code
605
2,232
package com.odenzo.aws.redis import cats.effect.IO import cats.syntax.all._ import com.odenzo.aws.rds.RDS.findCluster import com.odenzo.aws.{AWSUtils, AwsErrorUtils, OTags} import com.odenzo.utils.{FS2Utils, IOU} import fs2._ import software.amazon.awssdk.services.ec2.model.SecurityGroup import software.amazon.awssdk....
41,939
https://github.com/arcorrea/data-structures/blob/master/DataStructure/DataStructure/Common/DoubleLinkedEntry.cs
Github Open Source
Open Source
MIT
null
data-structures
arcorrea
C#
Code
38
100
namespace DataStructure.Common { public class DoubleLinkedEntry<T> { public T Value { get; set; } public DoubleLinkedEntry<T>? Next { get; set; } public DoubleLinkedEntry<T>? Previous { get; set; } public DoubleLinkedEntry(T value) { Value = value; }...
39,186
https://github.com/wowjdd133/UsedMarketServer/blob/master/src/auth/auth.controller.ts
Github Open Source
Open Source
MIT
2,021
UsedMarketServer
wowjdd133
TypeScript
Code
222
819
import { Prisma, User } from '.prisma/client'; import { Body, Controller, Get, HttpException, HttpStatus, Post, Req, Res, UseGuards, Query } from '@nestjs/common'; import { Request, Response } from 'express'; import { ErrorStatus } from 'src/common/enums/errorStatus.enum'; import { UserService } from 'src/user/user.ser...
44,779
https://github.com/woyaozhucegh/liferay-gsearch/blob/master/gsearch-additional-document-fields/src/main/java/fi/soveltia/liferay/gsearch/additionalfields/indexer/postprocessor/GSearchIndexerPostProcessor.java
Github Open Source
Open Source
MIT
2,019
liferay-gsearch
woyaozhucegh
Java
Code
377
1,510
package fi.soveltia.liferay.gsearch.additionalfields.indexer.postprocessor; import com.liferay.asset.kernel.model.AssetTag; import com.liferay.asset.kernel.service.AssetTagLocalServiceUtil; import com.liferay.document.library.kernel.model.DLFileEntry; import com.liferay.journal.model.JournalArticle; import com.lifera...
19,311
https://github.com/snowblind-/logstash-input-bbn_sflow/blob/master/lib/logstash/inputs/bbn_sflow.rb
Github Open Source
Open Source
Apache-2.0
2,015
logstash-input-bbn_sflow
snowblind-
Ruby
Code
736
3,143
# encoding: utf-8 ##################################################################################### # Copyright 2015 BAFFIN BAY NETWORKS # 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 h...
17,873
https://github.com/sunsunsun000/VideoMeeting/blob/master/Client/VMeeting/app/src/main/java/com/jb/vmeeting/page/fragment/RoomsFragment.java
Github Open Source
Open Source
Apache-2.0
2,016
VideoMeeting
sunsunsun000
Java
Code
186
871
package com.jb.vmeeting.page.fragment; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import com.jb.vmeeting.mvp.model.entity.Room; import com.jb.vmeeting.mvp.model.entity.User; import com.jb.vmeeting.mvp.model...
19,537
https://github.com/NWylynko/react-clean-badges/blob/master/src/badges/HappyCow.tsx
Github Open Source
Open Source
MIT
null
react-clean-badges
NWylynko
TypeScript
Code
31
79
import React from "react" import { Badge } from "../badge" import type { BadgeProps } from "../badge" const HappyCow = (props: BadgeProps) => <Badge name="HappyCow" {...props} backgroundColor="#7C4EC4" /> export default HappyCow
29,293
https://github.com/panjea/open-brush/blob/master/Assets/Scripts/Widgets/PanelWidget.cs
Github Open Source
Open Source
Apache-2.0
2,022
open-brush
panjea
C#
Code
539
1,756
// Copyright 2020 The Tilt Brush 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 ...
22,385
https://github.com/opdev/l5-operator-demo/blob/master/internal/sub_reconcilers/reconcile_servicemonitor.go
Github Open Source
Open Source
Apache-2.0
null
l5-operator-demo
opdev
Go
Code
261
914
/* Copyright The L5 Operator Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
47,455
https://github.com/basaif/ReadingChecklist/blob/master/DomainLogic.Library/Creators/IBookTagStructureCreator.cs
Github Open Source
Open Source
MIT
null
ReadingChecklist
basaif
C#
Code
13
46
using Models.Library; namespace DomainLogic.Library.Creators { public interface IBookTagStructureCreator { void LoadBookData(); } }
12,723
https://github.com/habereet/awesomeScripts/blob/master/image_resizer/image_resizer.py
Github Open Source
Open Source
MIT
2,020
awesomeScripts
habereet
Python
Code
126
404
import sys import os.path from argparse import ArgumentParser from PIL import Image parser = ArgumentParser() parser.add_argument('--file', dest='File', help='Input image filename', required=True) parser.add_argument('--width', dest='Width', help='Width in pixels', type=int) par...
45,882
https://github.com/tferfce/Portfolio/blob/master/tferf_portfolio/src/Components/Experience/Experience.js
Github Open Source
Open Source
Apache-2.0
null
Portfolio
tferfce
JavaScript
Code
64
391
import React from "react"; import "./Experience.css"; import { experience } from "../../Values/ExperienceV"; export const Experience = (props) => { return ( <div> <div className="edu-head">EXPERIENCE</div> <br></br> <br></br> <div> <div className="exp-type">{experience.type}</div...
38,412
https://github.com/wooga/atlas-releaseNotesGenerator/blob/master/src/test/groovy/wooga/gradle/releaseNotesGenerator/utils/TestContent.groovy
Github Open Source
Open Source
Apache-2.0
null
atlas-releaseNotesGenerator
wooga
Groovy
Code
292
1,227
/* * Copyright 2018 Wooga GmbH * * 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...
14,986
https://github.com/US-EPA-CAMD/easey-quartz-scheduler/blob/master/CheckEngine/UnitTest/QA/cCalibrationChecksTest.cs
Github Open Source
Open Source
MIT
null
easey-quartz-scheduler
US-EPA-CAMD
C#
Code
349
1,269
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using ECMPS.Checks.CheckEngine; using ECMPS.Checks.CalibrationChecks; using ECMPS.Definitions.Extensions; using ECMPS.Checks; using ECMPS.Checks.Data.Ecmps.Dbo.Table; using ECMPS.Checks.Data.Ecmps.Dbo.View; using ECMPS.Checks.Data.EcmpsAux.CrossCheck...
645
https://github.com/afemartin/etourism/blob/master/src/PFCD/TourismBundle/Entity/Category.php
Github Open Source
Open Source
MIT
2,012
etourism
afemartin
PHP
Code
326
999
<?php namespace PFCD\TourismBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\ArrayCollection; use PFCD\TourismBundle\Entity\Organization; /** * @ORM\Entity * @ORM\Table(name="category") */ class Category { const STATUS_ENABLED = 1; // The resource is available rigth now c...
11,639
https://github.com/Watch-Later/li/blob/master/li/widget_message.go
Github Open Source
Open Source
MIT
2,020
li
Watch-Later
Go
Code
152
481
package li type ShowMessage func( lines []string, ) func (_ Provide) ShowMessage( pushOverlay PushOverlay, ) ShowMessage { return func( lines []string, ) { length := 0 for _, line := range lines { w := 0 for _, r := range line { w += runeDisplayWidth(r) } if w > length { length = w }...
29,049
https://github.com/dolab/goplay/blob/master/goplay/play/playfile.go
Github Open Source
Open Source
MIT
2,021
goplay
dolab
Go
Code
1,000
2,508
package play import ( "bytes" "fmt" "io" "io/ioutil" "os" "os/exec" "path" "strings" "github.com/pkg/errors" "gopkg.in/yaml.v2" ) // Playfile represents the play configuration YAML file. type Playfile struct { Version string `yaml:"version"` Envs EnvVars `yaml:"envs"` Networks Networks `yaml:"ne...
30,185
https://github.com/qq326646683/wenshi_api/blob/master/routes/users.js
Github Open Source
Open Source
MIT
2,021
wenshi_api
qq326646683
JavaScript
Code
228
823
"use strict" var express = require('express'); var moment = require('moment'); var jwt = require('jsonwebtoken'); var ExpressJwt = require('express-jwt'); var router = express.Router(); var models = require('../models').factory; var util = require('../util/utils'); /* 登录 */ router.post('/login', function (req, res) {...
29,507
https://github.com/pan1128/canal/blob/master/canal-canal-1.1.4/canal-admin/canal-admin-server/src/main/java/com/alibaba/otter/canal/admin/model/CanalDbsync.java
Github Open Source
Open Source
Apache-2.0
2,020
canal
pan1128
Java
Code
184
584
package com.alibaba.otter.canal.admin.model; import java.util.Date; /** * @author Rivan * @ClassName CanalDbsync * @Description TODO * @Date 2020/9/25 14:50 */ public class CanalDbsync { private String instance; /* 进度 */ private int progress; //运行状态名称 private String status; //...
49,369
https://github.com/jbeecham/ovirt-engine/blob/master/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/DetachStorageDomainVDSCommand.java
Github Open Source
Open Source
Apache-2.0
2,019
ovirt-engine
jbeecham
Java
Code
79
412
package org.ovirt.engine.core.vdsbroker.irsbroker; import org.ovirt.engine.core.common.vdscommands.DetachStorageDomainVDSCommandParameters; import org.ovirt.engine.core.utils.log.Log; import org.ovirt.engine.core.utils.log.LogFactory; public class DetachStorageDomainVDSCommand<P extends DetachStorageDomainVDSCommandP...
115
https://github.com/livinglegend13/reliqui/blob/master/tests/Feature/DoctorProfileTest.php
Github Open Source
Open Source
MIT
2,022
reliqui
livinglegend13
PHP
Code
79
505
<?php namespace Tests\Feature; use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; class DoctorProfileTest extends TestCase { use RefreshDatabase; protected $doctor; public function setUp() { parent::setUp(); $this->doctor = create('App\Models\Doctor\Doctor'); ...
3,757
https://github.com/Drakopit/EngineHtml5/blob/master/Input/KeyBoard.js
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,022
EngineHtml5
Drakopit
JavaScript
Code
143
363
/** * @doc Class KeyBoard * @namespace Input * @class KeyBoard * @author Patrick Faustino Camello * @summary That class was made, to compose the EngineHtml5 framework. * @Date 15/05/2019 * @example * This is a static class, you can just use his functions * @returns void */ export var KeyResponse = { ge...
46,156
https://github.com/rabid-fish/JavaTechExamples/blob/master/ExampleReverseProxy/src/main/java/com/github/rabid_fish/proxy/mock/MockMapRegexHelper.java
Github Open Source
Open Source
Apache-2.0
2,021
JavaTechExamples
rabid-fish
Java
Code
223
603
/* Copyright 2013 Daniel Juliano Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
44,219
https://github.com/bcstudy/ergo/blob/master/src/main/scala/org/ergoplatform/mining/EquihashSolution.scala
Github Open Source
Open Source
CC0-1.0
2,018
ergo
bcstudy
Scala
Code
75
287
package org.ergoplatform.mining import io.circe.Encoder import org.ergoplatform.modifiers.history.EquihashSolutionsSerializer import org.ergoplatform.settings.Constants import scorex.core.serialization.{BytesSerializable, Serializer} case class EquihashSolution(ints: Seq[Int]) extends BytesSerializable { def indexe...
4,235
https://github.com/nomoid/PhaserFallingBlocks/blob/master/src/game.ts
Github Open Source
Open Source
MIT
2,019
PhaserFallingBlocks
nomoid
TypeScript
Code
35
88
import { MainScene } from './scenes/mainScene'; export const screenWidth = 800; export const screenHeight = 600; const config: GameConfig = { type: Phaser.AUTO, width: screenWidth, height: screenHeight, scene: [MainScene], }; const game = new Phaser.Game(config);
40,819
https://github.com/alastor1729/play-samples/blob/master/play-scala-grpc-example/app/routers/HelloWorldRouter.scala
Github Open Source
Open Source
CC0-1.0
2,019
play-samples
alastor1729
Scala
Code
88
246
package routers import akka.actor.ActorSystem import akka.stream.Materializer import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter import example.myapp.helloworld.grpc.{ HelloReply, HelloRequest } import javax.inject.Inject import scala.concurrent.Future class HelloWorldRouter @Inject()(mat: Materialize...
22,943
https://github.com/Pyragon/CryoConnection/blob/master/src/main/java/com/cryo/entities/PersonCustom.java
Github Open Source
Open Source
MIT
null
CryoConnection
Pyragon
Java
Code
71
218
package com.cryo.entities; import lombok.AllArgsConstructor; import lombok.Data; import java.sql.ResultSet; import java.util.Date; @AllArgsConstructor @Data public class PersonCustom extends MySQLDao { @MySQLDefault private final int id; @MySQLRead private String firstName; @MySQLRead("last_name...
23,221
https://github.com/ljasmine-zz/Twitter/blob/master/Twitter/TweetCell.swift
Github Open Source
Open Source
Apache-2.0
2,016
Twitter
ljasmine-zz
Swift
Code
481
1,759
// // TweetCell.swift // Twitter // // Created by jasmine_lee on 11/2/16. // Copyright © 2016 jasmine_lee. All rights reserved. // import UIKit import AFNetworking @objc protocol TweetCellDelegate { @objc optional func tweetCellChanged(_ cell: UITableViewCell, tweet: Tweet, action: String) } enum TweetAction...
35,121
https://github.com/motherclangercs/trafficserver/blob/master/lib/ts/MemView.h
Github Open Source
Open Source
OpenSSL, HPND, LicenseRef-scancode-openssl, ISC, LicenseRef-scancode-ssleay-windows, Apache-2.0, MIT, BSD-2-Clause, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference, TCL, LicenseRef-scancode-unknown, LicenseRef-scancode-public-domain
2,017
trafficserver
motherclangercs
C++
Code
5,388
11,643
#if !defined TS_MEM_VIEW #define TS_MEM_VIEW /** @file Class for handling "views" of a buffer. Views presume the memory for the buffer is managed elsewhere and allow efficient access to segments of the buffer without copies. Views are read only as the view doesn't own the memory. Along with generic buffer me...
36,704
https://github.com/radleta/aws-sdk-net-dynamodb-converters/blob/master/Amazon.DynamoDBv2.Converters/Properties/AssemblyInfo.cs
Github Open Source
Open Source
MIT
2,020
aws-sdk-net-dynamodb-converters
radleta
C#
Code
42
219
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Amazon.DynamoDBv2.Converters")] [assembly: AssemblyDescription("Adds converters for the Document Persistence for DynamoDBv2.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompa...
36,381
https://github.com/X13home/X13.Host/blob/master/plugins/Gpio/Gpio.cs
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause, MIT, MS-PL
2,015
X13.Host
X13home
C#
Code
540
2,104
#region license //Copyright (c) 2011-2013 <comparator@gmx.de>; Wassili Hense //This file is part of the X13.Home project. //https://github.com/X13home //BSD License //See LICENSE.txt file for license details. #endregion license using System; using System.Collections.Generic; using System.ComponentModel.Composition;...
10,486
https://github.com/giotramu/css-k/blob/master/src/styles/globals/_index.scss
Github Open Source
Open Source
MIT
null
css-k
giotramu
SCSS
Code
6
21
@forward 'normalizer'; @forward 'accessibility'; @forward 'tokens';
12,098
https://github.com/office-for-students/wagtail-CMS/blob/master/courses/static/js/bar_chart.js
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,023
wagtail-CMS
office-for-students
JavaScript
Code
253
885
$(function () { var BarChart = function(wrapper) { this.wrapper = $(wrapper); this.setup(); } BarChart.prototype = { setup: function() { this.target = this.wrapper.find('.bar-chart'); this.value = this.wrapper.data('value'); this.label = this.wra...
30,876
https://github.com/bytedo/anot/blob/master/src/directives/expr.js
Github Open Source
Open Source
MIT
null
anot
bytedo
JavaScript
Code
36
110
import Anot from '../seed/index' //https://github.com/RubyLouvre/avalon/issues/1834 Anot.directive('expr', { update: function(vdom, value) { value = value == null || value === '' ? '\u200b' : value vdom.nodeValue = value if (vdom.dom) { vdom.dom.data = value } } })
8,624
https://github.com/flow-build/observer/blob/master/src/services/__tests__/instance.js
Github Open Source
Open Source
MIT
2,021
observer
flow-build
JavaScript
Code
127
395
const options = require('../../config'); const containerResolver = require('../../diConfiguration'); const InstanceService = require('../instanceService'); describe('test construction', () => { it('without params', () => { expect(() => new InstanceService()) .toThrow("Cannot destructure property 'instance...
37,430
https://github.com/jamesbowman/electricdollarstore/blob/master/micropython/temp.py
Github Open Source
Open Source
BSD-3-Clause
2,020
electricdollarstore
jamesbowman
Python
Code
65
202
from machine import I2C import struct import time class Temp: """ TEMP is an LM75B temperature sensor """ def __init__(self, i2, a = 0x48): self.i2 = i2 self.a = a def regrd(self, r): return struct.unpack(">h", self.i2.readfrom_mem(self.a, 0, 2))[0] def read(self): ret...
39,018
https://github.com/LiYang412/robotnav/blob/master/src/modules/visualization/cvdraw/include/cvdraw/cv_colors.hpp
Github Open Source
Open Source
MIT
2,020
robotnav
LiYang412
C++
Code
205
532
/* * cv_colors.hpp * * Created on: Jan 04, 2019 09:41 * Description: * * Copyright (c) 2019 Ruixiang Du (rdu) */ #ifndef CV_COLORS_HPP #define CV_COLORS_HPP #include "cvdraw/details/cvdraw_headers.hpp" namespace ivnav { /********************* Common Colors *********************/ struct CvColors { stat...
20
https://github.com/sokril/board/blob/master/src/ui/src/app/project/project.component.ts
Github Open Source
Open Source
MIT
2,021
board
sokril
TypeScript
Code
334
1,261
import { Component, ViewContainerRef } from '@angular/core'; import { HttpErrorResponse } from '@angular/common/http'; import { TranslateService } from '@ngx-translate/core'; import { ClrDatagridSortOrder, ClrDatagridStateInterface } from '@clr/angular'; import { AppInitService } from '../shared.service/app-init.servic...
21,732
https://github.com/dsx-tech/XChange/blob/master/xchange-coinbasepro/src/main/java/org/knowm/xchange/coinbasepro/dto/CoinbaseProException.java
Github Open Source
Open Source
MIT
2,020
XChange
dsx-tech
Java
Code
20
95
package org.knowm.xchange.coinbasepro.dto; import com.fasterxml.jackson.annotation.JsonProperty; import si.mazi.rescu.HttpStatusExceptionSupport; public class CoinbaseProException extends HttpStatusExceptionSupport { public CoinbaseProException(@JsonProperty("message") String reason) { super(reason); } }
51,396
https://github.com/iantal/AndroidPermissions/blob/master/apks/obfuscation_and_logging/de_number26_android/app/smali_classes2/de/number26/machete/android/refactor/presentation/home/insurance/support/InsuranceSupportActivity.smali
Github Open Source
Open Source
Apache-2.0
2,019
AndroidPermissions
iantal
Smali
Code
933
6,860
.class public Lde/number26/machete/android/refactor/presentation/home/insurance/support/InsuranceSupportActivity; .super Lde/number26/machete/android/refactor/presentation/common/base/v1/activity/BaseInjectingActivity; .source "InsuranceSupportActivity.java" # annotations .annotation system Ldalvik/annotation/Signatu...
47,308
https://github.com/sonico999/deliveryguy/blob/master/app/domain/api/v1/transformers/UserTransformer.php
Github Open Source
Open Source
Apache-2.0
null
deliveryguy
sonico999
PHP
Code
51
184
<?php namespace domain\api\v1\transformers; use domain\delivery\User\User; use League\Fractal\TransformerAbstract; class UserTransformer extends TransformerAbstract { public function transform(User $user) { return [ 'id' => (int)$user->id, 'code' => $user->code_user, ...
12,576
https://github.com/Kshitij09/TazaBazar-Backend/blob/master/springboot-app/src/main/java/com/kshitijpatil/tazabazar/configuration/JwtConfig.java
Github Open Source
Open Source
Apache-2.0
null
TazaBazar-Backend
Kshitij09
Java
Code
27
107
package com.kshitijpatil.tazabazar.configuration; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @Data @Configuration @ConfigurationProperties(prefix = "jwt") public class JwtConfig { private Long expirat...
8,544
https://github.com/TacoDogUnbeatableThing/CustomBeatmapsV3/blob/master/Util/Config.cs
Github Open Source
Open Source
MIT
null
CustomBeatmapsV3
TacoDogUnbeatableThing
C#
Code
44
103
namespace CustomBeatmaps.Util { /// <summary> /// Static access for our config data. /// /// I prefer this to referencing CustomBeatmaps all the time. /// </summary> public static class Config { public static ModConfig Mod => CustomBeatmaps.ModConfig; public static BackendCo...
39,775
https://github.com/mtrunkat/php-libphutil-composer/blob/master/src/Facebook/Libphutil/PhutilDirectoryFixture.php
Github Open Source
Open Source
Apache-2.0
2,017
php-libphutil-composer
mtrunkat
PHP
Code
106
438
<?php namespace Facebook\Libphutil; /** * @group filesystem */ class PhutilDirectoryFixture { protected $path; public static function newFromArchive($archive) { $obj = self::newEmptyFixture(); \Facebook\Libphutil\Functions\execx::execx( 'tar -C %s -xzvvf %s', $obj->getPath(), \Facebo...
29,310
https://github.com/Oluwa-nifemi/workwithmayowa/blob/master/src/components/MobileCarousel/index.js
Github Open Source
Open Source
0BSD
2,021
workwithmayowa
Oluwa-nifemi
JavaScript
Code
53
185
import React from "react" import Flickity from "react-flickity-component" import "./flickity.min.css" import classes from "./mobileCarousel.module.css" const MobileCarousel = ({children}) => { const childrenArray = [].concat(children) return ( <Flickity options={{ cellAlign: "left", prev...
29,726
https://github.com/smaccm/smaccm/blob/master/models/Flight/source/tower_task_usercode_ubloxGPS_217.h
Github Open Source
Open Source
BSD-3-Clause
2,019
smaccm
smaccm
C
Code
112
531
/* This file has been autogenerated by Ivory * Compiler version 0.1.0.0 */ #ifndef __TOWER_TASK_USERCODE_UBLOXGPS_217_H__ #define __TOWER_TASK_USERCODE_UBLOXGPS_217_H__ #ifdef __cplusplus extern "C" { #endif #include "controloutput_type.h" #include "data_rate.h" #include "flightmode_type.h" #include "gcsstream_timin...
52,585
https://github.com/yinovation/xeogl/blob/master/src/_renderer/states.js
Github Open Source
Open Source
MIT
2,017
xeogl
yinovation
JavaScript
Code
766
2,867
/** * Renderer states */ (function () { "use strict"; xeogl.renderer = xeogl.renderer || {}; /** Base class for Renderer states. renderer.State @module xeogl @constructor @param cfg {*} Configs */ xeogl.renderer.State = Class.extend({ __init: function (cfg...
36,696
https://github.com/Nkyoku/phoenix-firmware/blob/master/FPGA/App/hdl/pwm_driver.sv
Github Open Source
Open Source
MIT
null
phoenix-firmware
Nkyoku
null
Spoken
543
2,019
/** * @file pwm_driver.sv * @author Fujii Naomichi * @copyright (c) 2021 Fujii Naomichi * SPDX-License-Identifier: MIT */ module pwm_driver #( parameter int PWM_PERIOD_CYCLES = 1, parameter int PWM_MAX_ON_CYCLES = 1, parameter int DATA_WIDTH = 16 ) ( input wire ...
18,522
https://github.com/jjulian91/Chess_react/blob/master/application/Chess-backend/routes/index.js
Github Open Source
Open Source
MIT
2,019
Chess_react
jjulian91
JavaScript
Code
45
137
/* * Author: Jonathan Julian * Author: Inez Wibowo * Purpose: Unused in impelmentation */ var express = require("express"); var router = express.Router(); router.use("/users", require("./users-router")); router.use("/game", require("./game-router")); router.use("/lobby", require("./lobby-router")); /* GET home pa...
13,988
https://github.com/pulumi/pulumi-azure/blob/master/sdk/dotnet/AppService/Outputs/GetWindowsWebAppSiteConfigAutoHealSettingActionCustomActionResult.cs
Github Open Source
Open Source
BSD-3-Clause, MPL-2.0, Apache-2.0
2,023
pulumi-azure
pulumi
C#
Code
101
257
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
40,461
https://github.com/scala-steward/stash/blob/master/src/test/scala/me/herzrasen/stash/repository/InMemoryItemRepository.scala
Github Open Source
Open Source
MIT
2,021
stash
scala-steward
Scala
Code
65
220
package me.herzrasen.stash.repository import me.herzrasen.stash.domain.Item import scala.collection.mutable import scala.concurrent.Future class InMemoryItemRepository extends ItemRepository { private val db: mutable.ListBuffer[Item] = mutable.ListBuffer.empty override def createTable(): Unit = () override ...
4,951
https://github.com/blutkind/MPS/blob/master/languages/util/uiLanguage/source_gen/jetbrains/mps/uiLanguage/structure/IComponentInstance.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,011
MPS
blutkind
Java
Code
50
158
package jetbrains.mps.uiLanguage.structure; /*Generated by MPS */ import java.util.Iterator; import java.util.List; public interface IComponentInstance extends IComponentPart { public static final String concept = "jetbrains.mps.uiLanguage.structure.IComponentInstance"; public static final String CONTENT = "cont...
18,854
https://github.com/rockerny/Brandemma/blob/master/js/custom.js
Github Open Source
Open Source
BSD-3-Clause
2,016
Brandemma
rockerny
JavaScript
Code
12
65
$(document).ready(function(){ $('.navigation li').localScroll(); $('.navigation').mobileMenu({ defaultText: 'Navigation', className: 'select-menu', subMenuDash: '&ndash;' }); });
53,954
https://github.com/SeasideSt/Grease/blob/master/repository/Grease-Pharo90-Core.package/GRPharoUtf8Codec.class/class/basicForEncoding..st
Github Open Source
Open Source
MIT
2,023
Grease
SeasideSt
null
Spoken
6
14
private basicForEncoding: aString ^ self new
18,324
https://github.com/stephensmitchell-forks/Silk.NET/blob/master/src/Microsoft/Silk.NET.DXVA/Structs/HDColor.gen.cs
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
Silk.NET
stephensmitchell-forks
C#
Code
116
433
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.Text; using Silk.NET.Core; using Silk.NET.Core.Native; using Silk.NET.Core.At...
53,353