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/hdonghong/spring-learning/blob/master/springboot/f_test/src/main/java/pers/hdh/f_test/entity/User.java
Github Open Source
Open Source
MIT
2,020
spring-learning
hdonghong
Java
Code
34
111
package pers.hdh.f_test.entity; import lombok.Data; import javax.persistence.*; /** * @author hdonghong */ @Data @Entity public class User { @Id @Column(name = "user_id") @GeneratedValue(strategy = GenerationType.AUTO) private Integer id; @Column(name = "name") private String name; }
40,943
https://github.com/sysnihao/1515/blob/master/DesignBook/DesignBook/ZXPhotoCell.h
Github Open Source
Open Source
MIT
2,015
1515
sysnihao
Objective-C
Code
76
250
// // ZXPhotoCell.h // DesignBook // // Created by Visitor on 14-11-12. // Copyright (c) 2014年 Visitor. All rights reserved. // #import <UIKit/UIKit.h> @interface ZXPhotoCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIImageView *leftPhotoImageView; @property (weak, nonatomic) IBOutlet UILabel *leftT...
5,167
https://github.com/jhln/G2/blob/master/src/G2/Config/Config.hs
Github Open Source
Open Source
BSD-3-Clause
2,021
G2
jhln
Haskell
Code
1,339
2,664
module G2.Config.Config ( Mode (..) , Sharing (..) , Counterfactual (..) , CFModules (..) , SMTSolver (..) , HigherOrderSolver (..) , BlockErrorsMethod (..) ...
18,215
https://github.com/manofpepsi/space-station-14/blob/master/Content.Shared/Chemistry/Reagent/ReagentEffect.cs
Github Open Source
Open Source
MIT
null
space-station-14
manofpepsi
C#
Code
77
217
using System.Collections.Generic; using Content.Shared.Chemistry.Reagent; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; namespace Content.Shared.Chemistry.Reagent { /// <summary> /// Reagent effects describe behavior that occurs when a reagent is ingested and metab...
9,348
https://github.com/Lombiq/Associativy-Frontend-Engines/blob/master/Controllers/AutoCompleteController.cs
Github Open Source
Open Source
BSD-2-Clause
2,019
Associativy-Frontend-Engines
Lombiq
C#
Code
265
803
using System.Linq; using System.Web.Mvc; using Associativy.Frontends.Engines; using Associativy.Frontends.Models; using Associativy.Frontends.Services; using Associativy.Models; using Associativy.Services; using Orchard; using Orchard.ContentManagement; using Piedone.HelpfulLibraries.Contents.DynamicPages; namespace ...
22,205
https://github.com/GinoGreen/laravel-comics/blob/master/resources/sass/partials/_footer.scss
Github Open Source
Open Source
MIT
null
laravel-comics
GinoGreen
SCSS
Code
118
430
footer .lists { background-image: url("/img/footer-bg.jpg"); background-repeat: no-repeat; background-size: cover; .bg-dc-logo { display: flex; background-image: url("/img/dc-logo-bg.png"); background-position: right; background-repeat: no-repeat; .list { margin: 4...
49,894
https://github.com/chadr123/vpp/blob/master/vagrant/vboxmanage_bash.sh
Github Open Source
Open Source
Apache-2.0
2,020
vpp
chadr123
Shell
Code
49
166
if [ -z $1 ];then echo "Usage: ./vbox_bash.sh <guest-vm-id> <command-string>" echo 'Obtain guest-vm-id by running "VBoxManage list runningvms" as user vagrant.' echo 'Example: ./vbox_bash.sh 28daec0f-bbbe-400b-9db2-b992a46d2a7e "sudo vppctl show interface"' exit 1 fi vboxmanage --nologo...
21,748
https://github.com/jidevil/UnrealBattleArena/blob/master/Source/UnrealBattleArena/Public/Bot/Decorators/ArenaNeedAmmo.h
Github Open Source
Open Source
MIT
null
UnrealBattleArena
jidevil
C
Code
52
188
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "BehaviorTree/BTDecorator.h" #include "ArenaNeedAmmo.generated.h" UCLASS() class UNREALBATTLEARENA_API UArenaNeedAmmo : public UBTDecorator { GENERATED_BODY() public: UArenaNeedAmmo(); p...
30,101
https://github.com/redlink-gmbh/redlink-geocoding/blob/master/spring-boot-it/cache/src/test/java/CachedGeocoderIT.java
Github Open Source
Open Source
Apache-2.0
null
redlink-geocoding
redlink-gmbh
Java
Code
165
518
/* * Copyright (c) 2017-2022 Redlink 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...
40,457
https://github.com/EFForg/mozilla-central-httpse-tests/blob/master/security/sandbox/Sandbox.cpp
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,013
mozilla-central-httpse-tests
EFForg
C++
Code
656
1,680
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0...
6,971
https://github.com/anuragmundada-reisys/sam-ui-elements/blob/master/src/ui-kit/components/actions/actions-dropdown/actions-dropdown.component.ts
Github Open Source
Open Source
MIT
null
sam-ui-elements
anuragmundada-reisys
TypeScript
Code
210
757
import { Component, Input, Output, EventEmitter, ViewChild, ElementRef, ViewChildren } from '@angular/core'; import { KeyHelper } from '../../../utilities/key-helper/key-helper'; import {SamActionInterface} from '../action-interface'; @Component({ selector: 'sam-actions-dropdown', templateUrl: 'acti...
25,882
https://github.com/BAYSOFT-001/baysoft-stockwallet/blob/master/src/BAYSOFT.Presentations.Web.API.StockWallet/Migrations/StockWalletDb/20200730044506_InitialStockWalletDbMigration.Designer.cs
Github Open Source
Open Source
MIT
null
baysoft-stockwallet
BAYSOFT-001
C#
Code
300
2,850
// <auto-generated /> using System; using BAYSOFT.Core.Infrastructures.Data.Contexts; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueC...
35,011
https://github.com/pablotron/swing-json/blob/master/src/org/pablotron/swingjson/ButtonParser.java
Github Open Source
Open Source
MIT
2,020
swing-json
pablotron
Java
Code
70
195
package org.pablotron.swingjson; import java.awt.Component; import javax.swing.AbstractButton; import com.google.gson.JsonObject; public final class ButtonParser implements ComponentParser { private final ButtonType type; protected ButtonParser(final ButtonType type) { this.type = type; } public Compone...
48,451
https://github.com/NewCraft/NewOS/blob/master/lib/textbox.lua
Github Open Source
Open Source
MIT
2,020
NewOS
NewCraft
Lua
Code
249
766
local function newRead(win, contents, rchar) local outstr = contents or "" local cursorPos = 0 local function draw() win.setCursorBlink(true) win.setBackgroundColor(colors.gray) win.clear() win.setTextColor(colors.lightGray) win.setCursorPos(1,1) local w, h = ...
22,486
https://github.com/ansohxxn/tidy_mommy_3/blob/master/Assets/Script/Managers/Core/GameManager.cs
Github Open Source
Open Source
MIT
2,022
tidy_mommy_3
ansohxxn
C#
Code
108
367
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameManager { public float time; public int total_score; public int combo; public int level; public Define.GameState gameState; public Define.GameState_Score gameState_score; ...
13,459
https://github.com/qlonik-forks/matechs-effect-legacy/blob/master/packages/morphic/src/guard/interpreter/set.ts
Github Open Source
Open Source
MIT
2,022
matechs-effect-legacy
qlonik-forks
TypeScript
Code
136
381
import { memo } from "../../utils" import { guardApplyConfig } from "../config" import { GuardType, GuardURI } from "../hkt" import { AOfGuard } from "./common" import type { Array } from "@matechs/core/Array" import { introduce } from "@matechs/core/Function" import type { Ord } from "@matechs/core/Ord" import { Set...
7,837
https://github.com/Mon-her/Sentime/blob/master/ScriptDB/Querys.php
Github Open Source
Open Source
MIT
null
Sentime
Mon-her
PHP
Code
287
905
<?php //selecciono la ficha y nombre del programa de las que no salen en el siguiente trimestre $fichasQuery = "select numero_ficha, denominacion from ficha inner join programa_ficha fp on numero_ficha=fichanumero_ficha inner join programa p on p.id_programa=fp.id_programa where ficha.salida > \"" . date("yy") . "-" ....
24,681
https://github.com/leongold/ovirt-engine/blob/master/packaging/dbscripts/upgrade/03_06_1520_add_brickInfo_audit_log_table.sql
Github Open Source
Open Source
Apache-2.0
null
ovirt-engine
leongold
SQL
Code
6
48
select fn_db_add_column('audit_log','brick_id','uuid'); select fn_db_add_column('audit_log','brick_path','text DEFAULT ''''::text');
36,032
https://github.com/sri5606/nextjs/blob/master/node_modules/react-bs-notifier/lib/alert-timer.js
Github Open Source
Open Source
MIT
2,021
nextjs
sri5606
JavaScript
Code
427
1,148
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PropTypes = exports.default = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = require("prop-types"); var _alert = _interopRequireDefault(require("./alert")); var _container = require("./container...
40,414
https://github.com/laboiteabouillons/maintenance/blob/master/src/.htaccess
Github Open Source
Open Source
MIT
2,018
maintenance
laboiteabouillons
ApacheConf
Code
10
22
ErrorDocument 404 "Nothing here" ErrorDocument 503 "Service unavailable" Options -Indexes
21,748
https://github.com/horodchukanton/testrail-reporting/blob/master/build.gradle
Github Open Source
Open Source
MIT
2,019
testrail-reporting
horodchukanton
Gradle
Code
64
261
plugins { id 'java' id 'groovy' } group 'com.electriccloud.plugins.spec' version '0.0.1' sourceCompatibility = JavaVersion.VERSION_1_8 repositories { mavenCentral() } dependencies { compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25' compile group: 'ch.qos.logback', name: 'logback-classic', v...
29,297
https://github.com/SketchUp/sketchup-developer-tools/blob/master/src/sketchup-developer-tools/testup/tests/ruby_classes/TC_Numeric.rb
Github Open Source
Open Source
Apache-2.0
2,021
sketchup-developer-tools
SketchUp
Ruby
Code
2,776
6,422
# Copyright:: Copyright 2012 Trimble Navigation Ltd. # License:: Apache License version 2.0 # Original Author:: Scott Lininger # # Tests the SketchUp Ruby API Numeric object. # # This file was originally generated by ourdoc.rb, an internal tool we developed # specifically for outputting support files (documentation, u...
44,029
https://github.com/18826252059/im/blob/master/app/cache/prod/Jianmo/twig/27/276ba4177cd4499ddea29d1908e47b7b8d4e9331bf3a777696d478cbe0fd3b57.php
Github Open Source
Open Source
Apache-2.0
null
im
18826252059
PHP
Code
1,018
4,219
<?php /* TopxiaAdminBundle:Article:article-tr.html.twig */ class __TwigTemplate_f43b42cb4197e53e42143d38c04ae158122a1a16d87f4d61b45485dd1820df20 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks...
38,913
https://github.com/zhengbo1994/CeShiZhengLi/blob/master/WebProjectText/WebProjectFlowMVC/JS/IDOA/PerformanceManagement/BehaviorIndexClass.js
Github Open Source
Open Source
BSD-3-Clause
2,019
CeShiZhengLi
zhengbo1994
JavaScript
Code
77
370
// JScript 文件 //新建 function btnAdd_Click() { openAddWindow("VBehaviorIndexClassAdd.aspx", 400, 250, "jqBehaviorIndexClass"); } //修改 function btnEdit_Click() { openModifyWindow("VBehaviorIndexClassEdit.aspx", 400, 250, "jqBehaviorIndexClass"); } //删除 function btnDelete_Click() { openDeleteWindow("Behavio...
12,989
https://github.com/gliscowo/affinity/blob/master/src/main/java/io/wispforest/affinity/client/ForcedTexturesLoader.java
Github Open Source
Open Source
MIT
2,022
affinity
gliscowo
Java
Code
136
505
package io.wispforest.affinity.client; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import io.wispforest.affinity.Affinity; import io.wispforest.owo.moddata.ModDataConsumer; import io.wispforest.owo.moddata.ModDataLoader; import net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback;...
1,319
https://github.com/akitect-kenya/easycost/blob/master/database/seeds/GoodsTableSeeder.php
Github Open Source
Open Source
MIT
null
easycost
akitect-kenya
PHP
Code
812
2,219
<?php use Illuminate\Database\Seeder; class GoodsTableSeeder extends Seeder { /** * Defined departments * * @var array */ private $department = [ 'savoury' => [ 'name' => 'Savoury', 'goods' => [ [ 'name' => 'Royco beef cub...
19,031
https://github.com/sokcuri/koolside_old/blob/master/src/includes/cache.ts
Github Open Source
Open Source
MIT
2,020
koolside_old
sokcuri
TypeScript
Code
327
972
import Config from './config' interface CacheSet { id: string; post: number; html: string; } class Cache extends Array<CacheSet> { constructor () { super() let cache = GM_getValue<CacheSet[]>('cache', []) if (!Array.isArray(cache)) { cache = [] } // 확장 기능에 저장된 캐시 불러오기 this...
20,273
https://github.com/mvidelgauz/cpgf/blob/master/include/cpgf/metatraits/gmetaconverter_widestring.h
Github Open Source
Open Source
Apache-2.0
2,017
cpgf
mvidelgauz
C++
Code
88
353
#ifndef CPGF_GMETACONVERTER_WIDESTRING_H #define CPGF_GMETACONVERTER_WIDESTRING_H #include "cpgf/metatraits/gmetaconverter.h" #include <string> namespace cpgf { namespace metatraits_internal { IMetaConverter * doCreateConverterForStdWideString(); } // namespace metatraits_internal template <> struct GMetaTrai...
30,252
https://github.com/Ridanisaurus/ActuallyAdditions/blob/master/src/main/java/de/ellpeck/actuallyadditions/common/tile/TileEntityPhantomItemface.java
Github Open Source
Open Source
MIT
2,022
ActuallyAdditions
Ridanisaurus
Java
Code
105
456
package de.ellpeck.actuallyadditions.common.tile; import de.ellpeck.actuallyadditions.common.blocks.BlockPhantom; import de.ellpeck.actuallyadditions.common.util.ItemStackHandlerAA.IAcceptor; import de.ellpeck.actuallyadditions.common.util.ItemStackHandlerAA.IRemover; import net.minecraft.tileentity.TileEntity; import...
7,736
https://github.com/shiinamiyuki/LuisaCompute/blob/master/src/backends/dx/RenderComponent/GPUResourceBase.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
LuisaCompute
shiinamiyuki
C++
Code
50
262
#include <RenderComponent/GPUResourceBase.h> #include <PipelineComponent/FrameResource.h> GPUResourceBase::GPUResourceBase(GFXDevice* device, GPUResourceType resourceType, IGPUAllocator* allocator) : resourceType(resourceType), allocator(allocator), device(device) { } GPUResourceBase::~GPUResourceBase() { if (a...
7,436
https://github.com/zzgchina888/msdn-code-gallery-microsoft/blob/master/Visual Studio Product Team/Visual Studio 2013 SDK Samples/[VB]-Visual Studio 2013 SDK Samples/Ook Language sample - VS 2013/VB/Classification/ClassificationType.vb
Github Open Source
Open Source
MIT
2,022
msdn-code-gallery-microsoft
zzgchina888
Visual Basic
Code
73
232
Imports System.ComponentModel.Composition Imports Microsoft.VisualStudio.Text.Classification Imports Microsoft.VisualStudio.Utilities Namespace OokLanguage Friend NotInheritable Class OrdinaryClassificationDefinition ''' <summary> ''' Defines the "ordinary" classification type. ''' </sum...
24,087
https://github.com/thomasbrus/interpres/blob/master/src/main/java/interpres/language/invocations/interpres/Lambda.java
Github Open Source
Open Source
MIT
null
interpres
thomasbrus
Java
Code
99
455
package interpres.language.invocations.interpres; import java.util.List; import java.util.ArrayList; import java.util.Map; import interpres.ast.AST; import interpres.ast.LambdaExpression; import interpres.ast.ListExpression; import interpres.ast.QuoteExpression; import interpres.language.DefinitionTable; import inte...
26,477
https://github.com/dogle-undefined/vk/blob/master/src/main/java/core/Command.java
Github Open Source
Open Source
Apache-2.0
null
vk
dogle-undefined
Java
Code
168
467
package core; import com.vk.api.sdk.objects.messages.Message; /** * Abstract class for all executable classes-commands * Field {@link #name} identification command,he is called by this name */ public abstract class Command { public final String name; public Command(String name){ this.name = nam...
33,966
https://github.com/promopult/dadata-client/blob/master/src/Exceptions/ServiceNotFoundException.php
Github Open Source
Open Source
Unlicense
2,021
dadata-client
promopult
PHP
Code
10
41
<?php declare(strict_types=1); namespace Promopult\Dadata\Exceptions; class ServiceNotFoundException extends \RuntimeException { }
50,889
https://github.com/soosun/sdk_v4/blob/master/SDK_v4_geri/5G_ICT_Open_Platform_device_sdk_4.5.6_C_TCP/project/src/java-jni/iotmakers_jni.h
Github Open Source
Open Source
LicenseRef-scancode-other-permissive
2,021
sdk_v4
soosun
C
Code
176
844
#include <jni.h> #ifndef __IOTMAKERS_JNI__ #ifdef __cplusplus extern "C" { #endif JNIEXPORT int JNICALL Java_com_kt_iotmakers_device_IoTMakersDeviceClient_ImInit(JNIEnv *, jobject, jint debug_level); JNIEXPORT int JNICALL Java_com_kt_iotmakers_device_IoTMakersDeviceClient_ImRelease(JNIEnv *, jobject, int hndl); JN...
22,768
https://github.com/v8enginephp/Core/blob/master/app/Interface/Role.php
Github Open Source
Open Source
MIT
null
Core
v8enginephp
PHP
Code
26
70
<?php namespace App\Interfaces; interface Role { public function getScopes(): array; public function addScope(string ...$scope): Role; public static function getByTitle($title): Role; public static function getMasterRole(): Role; }
21,202
https://github.com/TheArowanaDude/lyrebird/blob/master/app.py
Github Open Source
Open Source
MIT
2,020
lyrebird
TheArowanaDude
Python
Code
48
165
#!/usr/bin/env python3 import gi import subprocess import lyrebird.mainwindow as mainwindow import lyrebird.core.utils as utils gi.require_version('Gtk', '3.0') from gi.repository import Gtk def quit_all(arg): # idk what arg is supposed to be, but it needs one argument utils.kill_sink(check_state=False) ...
45,715
https://github.com/hirshi001/FirstMultiplayerGame/blob/master/core/src/com/hirshi001/multiplayerrotmg/gamepieces/items/Sword.java
Github Open Source
Open Source
MIT
null
FirstMultiplayerGame
hirshi001
Java
Code
148
693
package com.hirshi001.multiplayerrotmg.gamepieces.items; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.math.Vector2; import com.hirshi001.multiplayerrotmg.gamepieces.mobs.MobEntity; import com.hirshi001.multiplayerrotmg.field.Block; import com.hirsh...
4,657
https://github.com/Mrjamy/KonekoBot/blob/master/src/core/ErrorHandler.py
Github Open Source
Open Source
MIT
2,022
KonekoBot
Mrjamy
Python
Code
391
1,132
""" Module containing event-listener for all discord.py errors. """ import logging from datetime import datetime, timedelta # Pip from discord.ext import commands # locals from typing import List from src.core.exceptions import NotEnoughBalance from src.utils.general import DiscordEmbed module_logger = logging.getL...
3,151
https://github.com/hesuy/project/blob/master/minisite-demo/scripts/comment.js
Github Open Source
Open Source
MIT
2,017
project
hesuy
JavaScript
Code
335
1,676
/** * * @authors Jack.Chan (fulicat@qq.com) * @date 2014-07-18 14:16:25 * @updatedate 2014-10-22 18:20:15 * @version 1.3 */ function commentController(){ var me = this; me.name = 'commentController'; me.debug = 0; me.data = []; me.tplData = ''; me.$list = null, me.$form = null, me.$formMsg = null, ...
34,820
https://github.com/alauda/harbor/blob/master/src/portal/src/app/shared/services/endpoint.service.spec.ts
Github Open Source
Open Source
Apache-2.0
null
harbor
alauda
TypeScript
Code
55
178
import { TestBed, inject } from '@angular/core/testing'; import { SharedTestingModule } from '../shared.module'; import { EndpointDefaultService, EndpointService } from './endpoint.service'; describe('EndpointService', () => { beforeEach(() => { TestBed.configureTestingModule({ imports: [Shared...
30,090
https://github.com/andreshp/GeneticQAP/blob/master/results/paper/tai50b/MADEGD/original/ps=128/6.sol
Github Open Source
Open Source
MIT
2,017
GeneticQAP
andreshp
Gerber Image
Code
88
141
Time (s): 25.082133769989014 Number of evaluations: 3586540 Number of iterations: 478 Number of local search applications: 478 Number of greedy solutions: 9038 Number of reemplacements in GADEGD: 36672 The solution has objective value 481958850 . The permutation is: [28 8 24 5 37 17 41 45 1 11 29 44 13 27 6 39 35 4...
32,994
https://github.com/ks91/py-bbclib/blob/master/bbclib/libs/bbclib_asset_hash.py
Github Open Source
Open Source
Apache-2.0
null
py-bbclib
ks91
Python
Code
301
930
# -*- coding: utf-8 -*- """ Copyright (c) 2019 beyond-blockchain.org. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
48,962
https://github.com/deka1105/Portfolio2/blob/master/sanityBackend /node_modules/rxjs-etc/dist/cjs/operators/takeWhileInclusive.js
Github Open Source
Open Source
MIT
2,022
Portfolio2
deka1105
JavaScript
Code
43
192
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.takeWhileInclusive = void 0; const rxjs_1 = require("rxjs"); const operators_1 = require("rxjs/operators"); function takeWhileInclusive(predicate) { return (source) => source.pipe(operators_1.multicast(() => new rxjs_1.ReplaySubjec...
48,775
https://github.com/ezmaxinc/eZmax-SDK-dart/blob/master/test/object_notificationsection_api_test.dart
Github Open Source
Open Source
MIT
null
eZmax-SDK-dart
ezmaxinc
Dart
Code
69
250
// // AUTO-GENERATED FILE, DO NOT MODIFY! // // @dart=2.12 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first // ignore_for_file: constant_identifier_names // ignore_for_file: lines_longer_than_80_chars import 'package:openapi/api.dart'; import 'package:te...
23,258
https://github.com/costinBol/azure-documentdb-datamigrationtool/blob/master/Shared/Microsoft.DataTransfer.TestsCommon/SampleData/IGeospatialSampleDataProvider.cs
Github Open Source
Open Source
MIT
2,022
azure-documentdb-datamigrationtool
costinBol
C#
Code
31
156
using System.Collections.Generic; using System.Spatial; namespace Microsoft.DataTransfer.TestsCommon.SampleData { public interface IGeospatialSampleDataProvider { Geography AsPoint(GeographyPosition position); Geography AsLineString(IEnumerable<GeographyPosition> positions); Geography ...
23,570
https://github.com/Fighting-Lee/fastjgame/blob/master/game-utils/src/main/java/com/wjybxx/fastjgame/net/rpc/RpcSupportHandler.java
Github Open Source
Open Source
Apache-2.0
2,021
fastjgame
Fighting-Lee
Java
Code
671
2,757
/* * Copyright 2019 wjybxx * * 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...
35,431
https://github.com/escray/geektime/blob/master/sql/redisbenchmark.rb
Github Open Source
Open Source
MIT
2,023
geektime
escray
Ruby
Code
48
165
require 'rubygems' require 'redis' def bench(descr) start = Time.now yield puts "#{descr} #{Time.now - start} seconds" end def without_pipelining r = Redis.new 10000.times { r.ping } end def with_pipelining r = Redis.new r.pipelined { 10000.times { r.ping } } end bench("without_p...
29,552
https://github.com/jimworm/slide_captcha/blob/master/README.rdoc
Github Open Source
Open Source
MIT
2,021
slide_captcha
jimworm
RDoc
Code
349
819
=SlideCAPTCHA CAPTCHAs getting too hard to read, even for a human? SlideCAPTCHA uses a slightly different approach, using an image with easily-read text (compared with other modern CAPTCHAs), but with one difficulty for bots: the user must move a slider to line the text up properly. Humans can line text up easily even...
45,557
https://github.com/newce36524/Newbe.Mahua.Framework/blob/master/src/Newbe.Mahua.CQP/Apis/GetCookiesApiMahuaCommandHandler.cs
Github Open Source
Open Source
MIT
2,020
Newbe.Mahua.Framework
newce36524
C#
Code
46
240
using Newbe.Mahua.Apis; using Newbe.Mahua.NativeApi; namespace Newbe.Mahua.CQP.Apis { internal class GetCookiesApiMahuaCommandHandler : CqpApiMahuaCommandHandlerBase<GetCookiesApiMahuaCommand, GetCookiesApiMahuaCommandResult> { public GetCookiesApiMahuaCommandHandler( ICoolQApi coo...
42,167
https://github.com/dinghu/ssm-shop/blob/master/my-shop-cms/src/main/java/com/fengdu/entity/CmsChannelEntity.java
Github Open Source
Open Source
Apache-2.0
2,019
ssm-shop
dinghu
Java
Code
458
1,479
package com.fengdu.entity; import java.io.Serializable; import java.util.Date; /** * 实体 * 表名 cms_channel * * @author william_w * @email 2366207000@qq.com * @date 2018-05-24 15:56:39 */ public class CmsChannelEntity implements Serializable { private static final long serialVersionUID = 1L; //ID pr...
47,861
https://github.com/eluciano11/paravotar/blob/master/src/pages/sal-a-votar.tsx
Github Open Source
Open Source
MIT
null
paravotar
eluciano11
TypeScript
Code
53
150
import React from "react" import { Container, Layout, SEO } from "../components" import { SpecialVoters } from "../components/inscribete/SpecialVoters" type PageProps = { location: Location } export default function SalAVotar({ location }: PageProps) { return ( <Layout location={location}> <SEO title="...
30,135
https://github.com/smolyakoff/conreign/blob/master/src/Conreign.Contracts/Gameplay/Events/IRoomEvent.cs
Github Open Source
Open Source
MIT
2,022
conreign
smolyakoff
C#
Code
14
40
namespace Conreign.Contracts.Gameplay.Events { public interface IRoomEvent { string RoomId { get; } } }
6,986
https://github.com/asiermarques/progression-radar-yaml-generator/blob/master/src/test/scala/progression_radar_yaml_generator/cucumber/GeneratingYamlFileStepDefinitions.scala
Github Open Source
Open Source
MIT
2,020
progression-radar-yaml-generator
asiermarques
Scala
Code
351
1,566
package progression_radar_yaml_generator.cucumber import java.io.{File, FileInputStream} import java.net.URI import cats.effect.IO import io.cucumber.java.{After, Before, PendingException} import io.cucumber.java.en.{Given, Then, When} import org.junit.jupiter.api.AfterAll import org.scalatest.Assertion import org.sp...
10,003
https://github.com/iamprovidence/Software-Design/blob/master/Apartments_io/Pagination/DataTransferObject/UrlInfo.cs
Github Open Source
Open Source
MIT
null
Software-Design
iamprovidence
C#
Code
66
157
namespace Pagination.DataTransferObject { /// <summary> /// Contains data to build URL /// </summary> public class UrlInfo { /// <summary> /// Contains methods to build URL /// </summary> public Microsoft.AspNetCore.Mvc.IUrlHelper UrlHelper { get; set; } /// ...
30,150
https://github.com/factor-50-devops-bot/nuget-package-v3/blob/master/HelpMyStreet.Utils/HelpMyStreet.Contracts/GroupService/Request/PostAddUserToDefaultGroupsRequest.cs
Github Open Source
Open Source
MIT
null
nuget-package-v3
factor-50-devops-bot
C#
Code
25
97
using HelpMyStreet.Contracts.GroupService.Response; using MediatR; using System.ComponentModel.DataAnnotations; namespace HelpMyStreet.Contracts.GroupService.Request { public class PostAddUserToDefaultGroupsRequest : IRequest<PostAddUserToDefaultGroupsResponse> { [Required] public int UserID {...
49,427
https://github.com/LuckyStarry/components-luckystarry-ui/blob/master/src/luckystarry/store/detail-editable/index.ts
Github Open Source
Open Source
MIT
null
components-luckystarry-ui
LuckyStarry
TypeScript
Code
58
216
export { IDetailEditable, DetailEditable } from './detail-editable' export { IDetailEditableActions, DetailEditableActions } from './detail-editable-actions' export { IDetailEditableGetter } from './detail-editable-getter' export { IDetailEditableGetters, DetailEditableGetters } from './detail-editable-getters'...
15,363
https://github.com/TikoTako/AoC-2020/blob/master/Day 4/Program.cs
Github Open Source
Open Source
MIT
2,020
AoC-2020
TikoTako
C#
Code
1,137
2,971
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; namespace Day_4 { class Program { static void PartOne(List<string> data) { /* byr (Birth Year) iyr (Issue Year) eyr (Expiration Year) ...
11,720
https://github.com/esanchezUtn/2017_1C_3051_TWISTED_CHANO/blob/master/TGC.Group/Model/ChoqueParticulas.cs
Github Open Source
Open Source
MIT
2,017
2017_1C_3051_TWISTED_CHANO
esanchezUtn
C#
Code
321
1,257
using System.Collections.Generic; using Microsoft.DirectX; using TGC.Core.Particle; using TGC.Core.Utils; using System; namespace TGC.Group.Model { class ChoqueParticula { private ParticleEmitter emitter; private const int TIEMPO_CHOQUE = 1; private const int CANTIDAD_PARTICULAS = 620;...
43,926
https://github.com/andygaojw/unsw-room-finder-nodebackend/blob/master/src/service/dispatcher.js
Github Open Source
Open Source
MIT
2,018
unsw-room-finder-nodebackend
andygaojw
JavaScript
Code
243
818
// @flow import type { Action } from '~/service/dispatcher/types'; import type { Context } from '~/service/dispatcher/context'; import gotoStart from '~/action-handlers/goto-start'; import gotoHelp from '~/action-handlers/goto-help'; import gotoBookingConfirmation from '~/action-handlers/goto-confirmBooking'; import...
22,192
https://github.com/mgusmano/ExtAngularModern/blob/master/app/view/main/agencyspendingbybureau.component.ts
Github Open Source
Open Source
Apache-2.0
null
ExtAngularModern
mgusmano
TypeScript
Code
112
378
import { Component } from '@angular/core'; import { AgencyService } from '../../service/agency.service'; @Component({ template: ` <extjs-pivotgrid (ready)='readyPivotGrid($event)' [config]='pivotgridConfig'></extjs-pivotgrid> ` }) export class AgencySpendingByBureauComponent { private border:any = 0; private wi...
3,398
https://github.com/aseidma/firestore-algolia-search/blob/master/functions/__tests__/__mocks__/console.ts
Github Open Source
Open Source
Apache-2.0
2,022
firestore-algolia-search
aseidma
TypeScript
Code
20
64
import { logger } from 'firebase-functions'; export const mockConsoleInfo = jest.spyOn(logger, "info").mockImplementation(); export const mockConsoleError = jest .spyOn(logger, "error") .mockImplementation();
42,568
https://github.com/ryanjones/doorkeeper/blob/master/Gemfile
Github Open Source
Open Source
MIT
2,014
doorkeeper
ryanjones
Ruby
Code
77
285
# Defaults. For supported versions check .travis.yml ENV['rails'] ||= ENV['orm'] == "mongoid4" ? '4.1.0' : '3.2.0' ENV['orm'] ||= 'active_record' source 'https://rubygems.org' # Define Rails version gem 'rails', "~> #{ENV['rails']}" gem 'database_cleaner' if ENV['rails'][0] == '4' case ENV['orm'] when 'active_rec...
50,273
https://github.com/shawjef3/sdbc/blob/master/cassandra/src/main/scala/com/rocketfuel/sdbc/cassandra/Getter.scala
Github Open Source
Open Source
BSD-3-Clause
2,018
sdbc
shawjef3
Scala
Code
338
1,369
package com.rocketfuel.sdbc.cassandra import com.datastax.driver.core.{LocalDate, UDTValue} import com.google.common.reflect.TypeToken import com.rocketfuel.sdbc.base import java.net.InetAddress import java.util.{Date, UUID} import scala.collection.JavaConverters._ import scala.reflect.ClassTag import scodec.bits.Byte...
50,057
https://github.com/dcliche/studioengine/blob/master/Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/svg.cpp
Github Open Source
Open Source
Apache-2.0
null
studioengine
dcliche
C++
Code
1,373
4,106
// // svg.cpp // MDStudio // // Created by Daniel Cliche on 2018-01-15. // Copyright © 2016-2020 Daniel Cliche. All rights reserved. // #include "svg.h" #include <expat.h> #include <platform.h> #include <cassert> #include <map> #include "draw.h" #include "path.h" #include "svgparsers.h" using namespace MDStudi...
31,788
https://github.com/lijinlongweb/index.py/blob/master/indexpy/responses.py
Github Open Source
Open Source
Apache-2.0
2,020
index.py
lijinlongweb
Python
Code
160
567
import typing import functools import yaml import jinja2 from starlette.responses import ( Response, HTMLResponse, PlainTextResponse, JSONResponse, RedirectResponse, StreamingResponse, FileResponse, ) from starlette.templating import Jinja2Templates as _Jinja2Templates __all__ = [ "aut...
450
https://github.com/Fappp/Gamejolt/blob/master/src/app/views/forums/landing/landing-controller.js
Github Open Source
Open Source
MIT
null
Gamejolt
Fappp
JavaScript
Code
8
29
angular.module( 'App.Views' ).controller( 'Forums.LandingCtrl', function() { } );
42,919
https://github.com/cabinetoffice/gender-pay-gap/blob/master/GenderPayGap.Core/Extensions/Misc.cs
Github Open Source
Open Source
MIT
2,023
gender-pay-gap
cabinetoffice
C#
Code
637
1,826
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Reflection; namespace GenderPayGap.Extensions { public static class Misc { public static bool Is...
47,831
https://github.com/dfc643/pppoed/blob/master/src/DotRas/Internal/Infrastructure/IoC/ContainerBuilder.Policies.cs
Github Open Source
Open Source
MIT
2,021
pppoed
dfc643
C#
Code
24
129
using DotRas.Internal.Abstractions.Policies; using DotRas.Internal.Policies; namespace DotRas.Internal.Infrastructure.IoC { static partial class ContainerBuilder { private static void RegisterPolicies(Container container) { container.Register<IExceptionPolicy>(typeof(DefaultExcepti...
22,368
https://github.com/ColdMatter/EDMSuite/blob/master/SharedCode/OldCode/IField.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,023
EDMSuite
ColdMatter
C#
Code
32
86
//** Not yet used ** //using System; //using System.Collections.Generic; //using System.Text; //namespace Data //{ // interface IField<T> : IVectorSpace<T> // { // T Multiply(T t); // T DivideBy(T t); // } //}
37,054
https://github.com/simokhov/schemas223/blob/master/src/main/java/ru/gov/zakupki/_223fz/dishonestsupplier/_1/CommonApplicationInfoType.java
Github Open Source
Open Source
MIT
null
schemas223
simokhov
Java
Code
971
3,036
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.05....
12,541
https://github.com/ckevuru/GraphML-To-Tikz/blob/master/Source/codeeditor.py
Github Open Source
Open Source
MIT
2,021
GraphML-To-Tikz
ckevuru
Python
Code
205
997
from PyQt5.QtCore import QRect, pyqtSlot, QSize, Qt from PyQt5.QtGui import QColor, QTextFormat, QPainter from PyQt5.QtWidgets import QWidget, QPlainTextEdit, QApplication, QTextEdit class LineNumberArea(QWidget): def __init__(self, editor): QWidget.__init__(self, parent=editor) self.codeEditor = ...
35,214
https://github.com/gslmota/Object-Oriented-Java/blob/master/semana7/CartaoWeb.java
Github Open Source
Open Source
MIT
2,021
Object-Oriented-Java
gslmota
Java
Code
40
126
package semana7; public abstract class CartaoWeb { protected String destinatario; public CartaoWeb(String destinatario) { this.destinatario = destinatario; } public String getDestinatario() { return destinatario; } public void setDestinatario(String destinatario) { th...
13,920
https://github.com/AltBeacon/android-beacon-library/blob/master/lib/src/main/java/org/altbeacon/beacon/logging/Logger.java
Github Open Source
Open Source
Apache-2.0
2,023
android-beacon-library
AltBeacon
Java
Code
1,027
1,920
/* * Copyright 2015 Radius Networks, Inc. * Copyright 2015 Andrew Reitz * * 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 ...
33,537
https://github.com/mykelis/Todo-List/blob/master/app/models/Task.php
Github Open Source
Open Source
MIT
null
Todo-List
mykelis
PHP
Code
11
24
<?php class Task extends Eloquent { protected $table = 'tasks'; }
35,759
https://github.com/aarbla01/todo-net-core/blob/master/src/ToDo.Implementation/QueryHandlers/GetToDosQueryHandler.cs
Github Open Source
Open Source
MIT
null
todo-net-core
aarbla01
C#
Code
76
300
using MediatR; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using ToDo.Core.Dtos; using ToDo.Core.Queries; using ToDo.Core.Services; namespace ToDo.Implementation.QueryHandlers { public class GetToDosQueryHandler : IRequestHandler<GetToDosQuery, GetToDosQueryOutput> {...
36,814
https://github.com/USCDataScience/polar.usc.edu/blob/master/html/team19/spectrum-grouped-by-domain/friendster.com
Github Open Source
Open Source
Apache-2.0
2,023
polar.usc.edu
USCDataScience
DIGITAL Command Language
Code
4
63
unit,count,min,max,average years,2,65.0,300.0,182.5 hours,6,6.0,24.0,20.333333333333332 day,3,1.0,1.0,1.0
30,159
https://github.com/bitaculous/webby/blob/master/public/stylesheets/bundle/media/screen/small/common/theatre/roof/dashboard/_console.css.sass
Github Open Source
Open Source
MIT
null
webby
bitaculous
Sass
Code
8
39
// _console.css.sass // // @package bundle/media/screen/small/common/theatre/roof/dashboard @mixin console
28,985
https://github.com/pauldaustin/gba-revolsys/blob/master/revolsys-core/src/main/java/com/revolsys/elevation/gridded/GriddedElevationModel.java
Github Open Source
Open Source
Apache-2.0
2,021
gba-revolsys
pauldaustin
Java
Code
1,657
5,042
package com.revolsys.elevation.gridded; import java.nio.file.Path; import java.util.Collections; import java.util.Map; import org.jeometry.common.function.BiFunctionDoubleDouble; import com.revolsys.collection.map.LinkedHashMapEx; import com.revolsys.collection.map.MapEx; import com.revolsys.elevation.gridded.esrias...
1,983
https://github.com/oliviercailloux/samples/blob/master/JavaEE-Inject-Produces-Servlets-JSF/src/main/java/io/github/oliviercailloux/javaee_inject_produces_servlets_jsf/model/User.java
Github Open Source
Open Source
MIT
null
samples
oliviercailloux
Java
Code
96
229
package io.github.oliviercailloux.javaee_inject_produces_servlets_jsf.model; import java.io.Serializable; /** * Class needs to be serializable in order to be useable in the session scope. * * @author olivier * */ public class User implements Serializable { private String name; public User() { name = ""; }...
48,931
https://github.com/iqbalArifudin/DesaArgosari_ta/blob/master/application/controllers/RW/Home.php
Github Open Source
Open Source
MIT
null
DesaArgosari_ta
iqbalArifudin
PHP
Code
52
254
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Home extends CI_Controller { public function __construct() { parent::__construct(); $this->load->helper('url'); $this->load->model('Pegawai_model'); $this->load->model('Penduduk_model'); } pu...
33,201
https://github.com/taufiq33/todo-list/blob/master/application/views/main/detail.php
Github Open Source
Open Source
MIT
null
todo-list
taufiq33
PHP
Code
106
397
<div class="col-md-9"> <?php if ( $this->session->flashdata('status') ) { ?> <div class="alert alert-success alert-dismissible" role="alert"> <?php echo $this->session->flashdata('status') ?> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span...
43,158
https://github.com/klorel/or-tools/blob/master/examples/data/rcpsp/multi_mode/mmlibplus_jall508_2.mm
Github Open Source
Open Source
Apache-2.0
2,022
or-tools
klorel
Objective-C++
Code
5,826
12,052
jobs (incl. supersource/sink ): 102 RESOURCES - renewable : 4 R - nonrenewable : 2 N - doubly constrained : 0 D ************************************************************************ PRECEDENCE RELATIONS: jobnr. #modes #successors successors 1 1 11 2 3 4 5 6 7 8 9 11 12 19 ...
740
https://github.com/devxkh/FrankE/blob/master/Editor/VEX/Modules/Core/VEX.Core.Shared/Handler/Project/FileWatcherHandler.cs
Github Open Source
Open Source
MIT
2,020
FrankE
devxkh
C#
Code
1,147
3,549
#region License //The MIT License (MIT) //Copyright (c) 2014 Konrad Huber //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitation the rights //to...
12,076
https://github.com/jeven2016/Wui/blob/master/src/elements/_headings.scss
Github Open Source
Open Source
MIT
2,016
Wui
jeven2016
SCSS
Code
66
248
h1, .h1 { font-size: 2em; } h2, .h2 { font-size: 1.5em; } h3, .h3 { font-size: 1.17em; } h4, .h4 { font-size: 1.12em; } h5, .h5 { font-size: .83em; } h6, .h6 { font-size: .75em; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, { font-weight: map-get($font-weight, 'normal'); font-family: in...
44,093
https://github.com/Liqi12345/vant/blob/master/packages/vant-cli/lib/compiler/gen-style-deps-map.d.ts
Github Open Source
Open Source
MIT
null
vant
Liqi12345
TypeScript
Code
11
29
export declare function checkStyleExists(component: string): boolean; export declare function genStyleDepsMap(): Promise<void>;
31,734
https://github.com/daimonkor/colyseus-java/blob/master/src/main/java/io/colyseus/state_listener/StateContainer.java
Github Open Source
Open Source
MIT
null
colyseus-java
daimonkor
Java
Code
395
1,367
package io.colyseus.state_listener; import io.colyseus.Room; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StateContainer { /** * The current room's state. This variable is always synced with t...
2,815
https://github.com/lemonacy/os-oranges/blob/master/kernel/keyboard.c
Github Open Source
Open Source
MIT
2,019
os-oranges
lemonacy
C
Code
817
3,268
#include "const.h" #include "proto.h" #include "keyboard.h" #include "string.h" #include "keymap.h" #include "tty.h" #include "global.h" void keyboard_handler(int irq); PRIVATE KB_INPUT kb_in; PRIVATE int code_with_E0; PRIVATE int shift_l; PRIVATE int shift_r; PRIVATE int ctrl_l; PRIVATE int ctrl_r; PRIVATE int alt_...
17,756
https://github.com/seakers/data-mining/blob/master/java/src/main/java/ifeed/problem/assigning/logicOperators/generalization/combined/localSearch/InOrbits2PresentWithLocalSearch.java
Github Open Source
Open Source
MIT
null
data-mining
seakers
Java
Code
189
827
package ifeed.problem.assigning.logicOperators.generalization.combined.localSearch; import ifeed.feature.Feature; import ifeed.feature.FeatureMetric; import ifeed.feature.logic.Connective; import ifeed.feature.logic.Literal; import ifeed.filter.AbstractFilter; import ifeed.local.params.BaseParams; import ifeed.mining....
8,050
https://github.com/fagan2888/SAF-Toolbox/blob/master/demo/HSAF_Polynomial_compare_demo.m
Github Open Source
Open Source
BSD-3-Clause, BSD-2-Clause
2,018
SAF-Toolbox
fagan2888
MATLAB
Code
1,410
4,293
% HSAF_Polynomial_Compare_demo.m % % DEMO of comparison results on nonlinear system identification based on a % Hammerstein Spline Filter (HSAF) with a III-order Volterra Adaptive Filter % and Polynomial Adaptive Filters. % % This demo file implements the experimental test shown in: % M. Scarpiniti, D. Comminiello, R...
35,471
https://github.com/finkdiff/PlexConnect-test/blob/master/certificates.py
Github Open Source
Open Source
MIT
2,019
PlexConnect-test
finkdiff
Python
Code
185
863
#!/usr/bin/env python import urllib import urllib2 import os import subprocess import sys sys.stdout.flush() def getcertificate(cn,certfile): # use openssl on nix-platforms if os.name == "posix": certpath = "./assets/certificates/" if not os.path.isfile(certpath+certfile+".pem"): #print("Generating c...
24,679
https://github.com/phillipsacademyandover/andover-cm-templates/blob/master/kit/partials/module__reunion--header.kit
Github Open Source
Open Source
OLDAP-2.3, OLDAP-2.7
2,015
andover-cm-templates
phillipsacademyandover
Kit
Code
129
736
<table class="responsive" width="640" cellpadding="0" cellspacing="0" border="0"> <tbody> <tr style="border-collapse:collapse;"> <td class="responsive" width="640"> <img editable="false" label="2017 Reunion header image" class="responsive" src="images/reunion__header-2x.jpg" width="640" height="auto" border...
1,256
https://github.com/dmweis/dynamixel.rs/blob/master/examples/serialport.rs
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,020
dynamixel.rs
dmweis
Rust
Code
137
491
extern crate dynamixel; extern crate serialport; extern crate badlog; use std::io::{ self }; use std::str::FromStr; use dynamixel::BaudRate; use dynamixel::Interface; fn main() { badlog::init_from_env("LOG_LEVEL"); let ports = serialport::available_ports().unwrap(); println!("Choose a serial device ...
19,097
https://github.com/aalmiray/gradle-modules-plugin/blob/master/test-project-kotlin/greeter.provider.test/src/test/kotlin/tests/GreeterTest.kt
Github Open Source
Open Source
MIT
2,022
gradle-modules-plugin
aalmiray
Kotlin
Code
20
87
package tests import org.junit.jupiter.api.Test import org.junit.jupiter.api.Assertions.assertFalse class GreeterTest { @Test fun testLocate() { val greeter = GreeterLocator().findGreeter() assertFalse(greeter.hello().isBlank()) } }
19,098
https://github.com/GregoryCaldeira/create-canvas-ds/blob/master/bin/init.sh
Github Open Source
Open Source
MIT
null
create-canvas-ds
GregoryCaldeira
Shell
Code
103
458
#!/bin/bash RED='\033[0;31m' CYAN='\033[0;36m' GREEN='\033[0;32m' NO_COLOR='\033[0m' function convert_kebab_case() { echo "$1" |\ sed 's/\([^A-Z+]\)\([A-Z0-9]\)/\1-\2/g' |\ sed 's/\([0-9]\)\([A-Z]\)/\1-\2/g' |\ sed 's/\([A-Z]\)\([0-9]\)/\1-\2/g' |\ sed 's/--/-/g' |\ sed 's/\([\/]\)-/\1/g' |\ tr '[:upper...
47,341
https://github.com/jthoms1/react-ionic-conference-app/blob/master/public/dist/ionic/ion-avatar.ion-badge.ion-thumbnail.js
Github Open Source
Open Source
MIT
null
react-ionic-conference-app
jthoms1
JavaScript
Code
160
482
/*! * (C) Ionic http://ionicframework.com - MIT License * Built with http://stenciljs.com */ Ionic.defineComponents( /**** module id (dev mode) ****/ 'ion-avatar.ion-badge.ion-thumbnail', /**** component modules ****/ function importComponent(exports, h, t, Core, publicPath) { var Avatar = (function () { funct...
20,244
https://github.com/NikolayLars/stencil-starter-on/blob/master/src/components/footer-component/footer-component.tsx
Github Open Source
Open Source
MIT
2,021
stencil-starter-on
NikolayLars
TypeScript
Code
285
1,279
import { Component, h, Prop, Host, getAssetPath } from '@stencil/core'; @Component({ tag: 'footer-component', styleUrl: 'footer-component.css', assetsDirs: ['assets'], }) export class MorizComponent { //------------------------------------------------------------------------------------------------------- //...
16,666
https://github.com/moqifeiliuming/active/blob/master/app/src/main/java/com/example/android/twoactivities/SecondActivity.java
Github Open Source
Open Source
Apache-2.0
2,021
active
moqifeiliuming
Java
Code
122
641
package com.example.android.twoactivities; import android.content.Intent; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import android.view.View; import android.widget.EditText; import android.widget.TextView; /** * SecondActivity定义了应用程序中的第二个活动。 * 它是从带有消息的意图启动,然后发送意图返回第二条消息。 */ public ...
23,193
https://github.com/gustavoefeiche/AES/blob/master/MiniProjects/5/server/app.py
Github Open Source
Open Source
MIT
null
AES
gustavoefeiche
Python
Code
45
136
from flask import Flask, render_template, Response import cv2 app = Flask(__name__) vc = cv2.VideoCapture(0) @app.route('/') def index(): # Take a picture and save it so page can load it gen() return render_template('index.html') def gen(): done, frame = vc.read() cv2.imwrite('t.jpg', frame) if...
35,550
https://github.com/Lyrositor/insa/blob/master/3if/oo/tp-oo_2/.gitignore
Github Open Source
Open Source
Unlicense
2,017
insa
Lyrositor
Ignore List
Code
8
55
# Tests tests/max.6.in tests/max.6.out tests/temp*.txt tests/results.txt tests/tp-oo_2-test.in tests/tp-oo_2-test.out
34,914