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/etsteam/cfnassist/blob/master/src/main/java/tw/com/repository/StackRepository.java
Github Open Source
Open Source
Apache-2.0
null
cfnassist
etsteam
Java
Code
143
585
package tw.com.repository; import java.util.Collection; import java.util.List; import tw.com.MonitorStackEvents; import tw.com.entity.EnvironmentTag; import tw.com.entity.ProjectAndEnv; import tw.com.entity.StackEntry; import tw.com.entity.StackNameAndId; import tw.com.exceptions.InvalidParameterException; import tw....
42,698
https://github.com/jason1122g/Joker/blob/master/src/main/groovy/org/joker/container/abstracts/SelectObserver.java
Github Open Source
Open Source
MIT
2,014
Joker
jason1122g
Java
Code
22
82
package org.joker.container.abstracts; import org.joker.component.JokerComponent; import org.joker.component.event.SelectEvent; import java.util.Set; public interface SelectObserver { public void notify( SelectEvent selectEvent ); public Set<JokerComponent> selectedComponents(); }
31,292
https://github.com/Natalie-Rodideal/terraform-august-class-2/blob/master/Class5/asg.tf
Github Open Source
Open Source
MIT
2,021
terraform-august-class-2
Natalie-Rodideal
HCL
Code
98
761
module "wordpress-asg" { source = "terraform-aws-modules/autoscaling/aws" version = "~> 4.0" # Autoscaling group name = "example-wordpress-asg" min_size = 5 max_size = 5 desired_capacity = 5 wait_for_capacity_timeout = 0 healt...
6,319
https://github.com/Coop56/eventkit-cloud/blob/master/eventkit_cloud/utils/views.py
Github Open Source
Open Source
2,022
eventkit-cloud
Coop56
Python
Code
191
594
# -*- coding: utf-8 -*- """UI view definitions.""" from logging import getLogger from urllib.parse import parse_qs from django.http.request import HttpRequest from django.http.response import HttpResponse from eventkit_cloud.core.helpers import get_cached_model from eventkit_cloud.tasks.models import DataProvider fro...
41,866
https://github.com/VanTanev/ncPropelChangeLogBehaviorPlugin/blob/master/lib/exception/OldPropelException.class.php
Github Open Source
Open Source
MIT
2,017
ncPropelChangeLogBehaviorPlugin
VanTanev
PHP
Code
28
49
<?php /** * Used when old and unsupported version of propel is detected. * * Propel under 1.5 is considered old */ class OldPropelException extends Exception { }
23,468
https://github.com/rwestgeest/dialoogtafels/blob/master/spec/lib/people_repository_spec.rb
Github Open Source
Open Source
MIT
2,013
dialoogtafels
rwestgeest
Ruby
Code
245
723
require 'spec_helper' require 'people_repository' class DateRange < Struct.new(:start_date, :end_date) end describe PeopleRepository do prepare_scope :tenant let(:current_tenant) { Tenant.current } let(:project) { current_tenant.active_project } let!(:conversation) { FactoryGirl.create :conversation } ...
34,997
https://github.com/DarkiBoi/ViaVersion/blob/master/bukkit-legacy/src/main/java/us/myles/ViaVersion/bukkit/listeners/protocol1_9to1_8/HandItemCache.java
Github Open Source
Open Source
MIT
2,020
ViaVersion
DarkiBoi
Java
Code
104
406
package us.myles.ViaVersion.bukkit.listeners.protocol1_9to1_8; import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.scheduler.BukkitRunnable; import us.myles.ViaVersion.api.minecraft.item.Item; import java.util.ArrayList; import java.util.List; import jav...
5,000
https://github.com/bombardellif/hhi-stmrftracking/blob/master/decoder/setup.py
Github Open Source
Open Source
MIT
2,021
hhi-stmrftracking
bombardellif
Python
Code
42
220
from distutils.core import setup, Extension from Cython.Build import cythonize setup(ext_modules = cythonize([ Extension("decoder", sources = [ "decoder.pyx", "mvextract/concurrentqueue.c", "mvextract/streambuffer.c", "mvextract/mvextract.c" ], ...
15,684
https://github.com/cdhermann/quarkus/blob/master/extensions/resteasy-reactive/quarkus-resteasy-reactive-jsonb/deployment/src/test/java/io/quarkus/resteasy/reactive/jsonb/deployment/test/sse/SseResource.java
Github Open Source
Open Source
Apache-2.0
2,021
quarkus
cdhermann
Java
Code
176
967
package io.quarkus.resteasy.reactive.jsonb.deployment.test.sse; import java.io.IOException; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.sse.Sse; import javax.ws.rs.sse.SseBroadcaster; import javax.ws.rs.sse.SseEventSink; import o...
3,618
https://github.com/wsantosdev/lab-eventsourcing-parte-5/blob/master/Lab.EventSourcing.StockOrder/Orders/Events/OrderCancelled.cs
Github Open Source
Open Source
Unlicense
null
lab-eventsourcing-parte-5
wsantosdev
C#
Code
25
78
using Lab.EventSourcing.Core; using System; namespace Lab.EventSourcing.StockOrder { public class OrderCancelled : ModelEventBase { public OrderCancelled(Guid modelId, int modelVersion) : base(modelId, modelVersion) { } } }
28,341
https://github.com/Justn53/Intersect-Engine-Shoppe/blob/master/Intersect.Editor/Forms/Editors/Events/Event Commands/EventCommand_ChangeLevel.cs
Github Open Source
Open Source
BSD-Source-Code
null
Intersect-Engine-Shoppe
Justn53
C#
Code
106
392
using System; using System.Windows.Forms; using Intersect.Editor.Localization; using Intersect.GameObjects.Events.Commands; namespace Intersect.Editor.Forms.Editors.Events.Event_Commands { public partial class EventCommandChangeLevel : UserControl { private readonly FrmEvent mEventEditor; ...
38,552
https://github.com/reiver/go-endian/blob/master/little/uint64.go
Github Open Source
Open Source
MIT
null
go-endian
reiver
Go
Code
207
565
package littleendian import ( "io" ) // WriteUint64To writes the little endian representation of ‘value’ into ‘writer’. func WriteUint64To(writer io.Writer, value uint64) (int64, error) { if nil == writer { return 0, errNilWriter } var b [8]byte b[0] = uint8 (0x00000000000000ff & value) b[1] = uint8((0x0000...
1,661
https://github.com/ksefcovic/CYBR4580/blob/master/find_my_device_app/application/node_modules/reactstrap/src/__tests__/Popover.spec.js
Github Open Source
Open Source
MIT, Apache-2.0
2,020
CYBR4580
ksefcovic
JavaScript
Code
56
194
import React from 'react'; import { mount } from 'enzyme'; import Popover from '../Popover'; describe('Tooltip', () => { it('should apply popperClassName to popper component', () => { const div = document.createElement('div'); div.setAttribute("id", "tooltip-target"); document.body.appendChild(div); ...
32,150
https://github.com/Winnieluo0820/ljy_project/blob/master/src/sass/shop_cart.scss
Github Open Source
Open Source
MIT
null
ljy_project
Winnieluo0820
SCSS
Code
242
1,347
#kdl_cart_main .container{ width: 990px; .top{ h1{ width: 330px; height: 90px; background:url("../img/logo.jpg"); } ul{ width: 500px;height: 78px; background:url("../img/stepone.png") left 20px no-repeat; li{ ...
8,057
https://github.com/wojtekmach/docker-beam/blob/master/templates/elixir.dockerfile
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,019
docker-beam
wojtekmach
Dockerfile
Code
100
365
# built with ./build.sh, do not edit manually FROM wojtekmach/erlang:%OTP_VERSION%-alpine ENV ELIXIR_VERSION="%ELIXIR_VERSION%" \ ELIXIR_SHA256="%ELIXIR_SHA256%" \ LANG=C.UTF-8 RUN set -xe \ && ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/v${ELIXIR_VERSION}.tar.gz" \ && buildDeps=' \ ...
42,646
https://github.com/kruyvanna/react-generator-tools/blob/master/src/constantConfig.ts
Github Open Source
Open Source
MIT
2,022
react-generator-tools
kruyvanna
TypeScript
Code
113
287
import { IApi } from 'umi'; import { existsSync, writeFileSync, readFileSync } from 'fs'; import * as types from '@babel/types'; import * as parser from '@babel/parser'; import generate from '@babel/generator'; /** * Load the contents of the constant file * @param api */ export function getConstantConfig(api: IApi)...
44,118
https://github.com/liexusong/open-source-reading-comments/blob/master/php-5.0.5/ext/gd/tests/png2gd.phpt
Github Open Source
Open Source
PHP-3.0
2,015
open-source-reading-comments
liexusong
PHP
Code
153
490
--TEST-- png <--> gd1/gd2 conversion test --SKIPIF-- <?php if (!extension_loaded('gd')) { die("skip gd extension not available."); } if (!GD_BUNDLED) { die("skip external GD libraries always fail"); } if (!function_exists("imagecreatefrompng") || !function_exists("imagepng")) { die("skip png support unavai...
39,302
https://github.com/PavelGnatyuk/SimplePurchase/blob/master/SimplePurchase/SimplePurchase/in-app purchase/PaymentTransactionObserver.swift
Github Open Source
Open Source
Apache-2.0
2,020
SimplePurchase
PavelGnatyuk
Swift
Code
150
318
// // PaymentTransactionObserver.swift // // Exactly as it's named: the payment transaction observer. // // The protocol allows to write unit-test for the purchase controller. // // Created by Pavel Gnatyuk on 29/04/2017. // // import StoreKit /// Wrapper for the payment observer allowing to unit test the purchas...
35,927
https://github.com/softicar/platform/blob/master/platform-workflow-module/src/main/java/com/softicar/platform/workflow/module/workflow/task/WorkflowTaskDiv.java
Github Open Source
Open Source
MIT
2,021
platform
softicar
Java
Code
262
1,870
package com.softicar.platform.workflow.module.workflow.task; import com.softicar.platform.common.container.comparator.OrderDirection; import com.softicar.platform.core.module.user.AGUser; import com.softicar.platform.core.module.user.CurrentUser; import com.softicar.platform.dom.element.DomElementTag; import com.softi...
49,137
https://github.com/TerriaJS/terriajs/blob/master/lib/Map/Icons/Maki/MakiIcons.ts
Github Open Source
Open Source
CC0-1.0, Apache-2.0
2,023
terriajs
TerriaJS
TypeScript
Code
194
623
import icons from "./iconset-all_maki_icons.json"; export const allIcons = Object.keys(icons.iconGroups[0].svgs as any).map( (iconId: string) => iconId.replace(".svg", "") ); export function isMakiIcon(id: string | undefined) { if (!id) return; const svgId = `${id}.svg`; const iconSvgs = icons.iconGroups[0].s...
13,842
https://github.com/Lukasavicus/MachineLearning_Library/blob/master/UFSCar_ML_Class/Python/LinReg/gradienteDescente.py
Github Open Source
Open Source
MIT
2,017
MachineLearning_Library
Lukasavicus
Python
Code
276
752
import computarCusto as cc #function [theta, J_historico] = gradienteDescente(X, y, theta, alpha, num_iter) def gradienteDescente(X, y, theta, alpha, num_iter): """ GRADIENTEDESCENTE Executa o gradiente descente para aprender e otimizar theta theta = GRADIENTEDESENTE(X, y, theta, alpha, num_iter) atuali...
12,583
https://github.com/soloplayerID/tpm-driver/blob/master/lib/screen/login.dart
Github Open Source
Open Source
Apache-2.0
null
tpm-driver
soloplayerID
Dart
Code
804
3,084
import 'package:circle_button/circle_button.dart'; import 'package:flutter/material.dart'; import 'package:TPMDriver/screen/fragment/loading.dart'; import 'package:TPMDriver/src/model/login.dart'; import 'package:TPMDriver/src/presenter/login.dart'; import 'package:TPMDriver/src/resources/session.dart'; import 'package...
43,060
https://github.com/TakeAsh/cs-WpfUtility/blob/master/ImageViewer/ZoomItem.cs
Github Open Source
Open Source
MIT
2,022
cs-WpfUtility
TakeAsh
C#
Code
167
455
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TakeAshUtility; namespace ImageViewer { public struct ZoomItem : IEquatable<ZoomItem> { public ZoomItem(double value) : this() { Value = value; Title = value > 0 ? ...
6,463
https://github.com/smartscenes/multiscan/blob/master/web-ui/src/index.js
Github Open Source
Open Source
MIT
2,022
multiscan
smartscenes
JavaScript
Code
108
360
/* 'use strict'; const api = require('./app'); const port = api.get('port'); const feathers = require('feathers'); const express = require('express'); api.use(api.logger.expressLogger); api.logger.info('Logging...'); process.on('unhandledRejection', (reason, p) => { console.log("Unhandled Rejection at: Promise ",...
16,420
https://github.com/astegmaier/FluidFramework/blob/master/experimental/PropertyDDS/packages/property-properties/src/test/validation/goodColorId.js
Github Open Source
Open Source
MIT
2,021
FluidFramework
astegmaier
JavaScript
Code
410
1,411
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ /** * @fileoverview * Test data for property set template schema testing */ /** * @namespace property-propertiesTest.Test * @alias bad_nested_properties.js * Namespace containing all sch...
44,875
https://github.com/konexios/moonstone/blob/master/kronos-core/src/main/java/com/arrow/kronos/KronosConstants.java
Github Open Source
Open Source
Apache-2.0
2,021
moonstone
konexios
Java
Code
557
1,382
package com.arrow.kronos; public class KronosConstants { public final static String KRONOS_PRI = "krn"; public interface ProductFeatures { public final static String FIRMWARE_MANAGEMENT = "FIRMWARE_MANAGEMENT"; } public interface KronosPri { public final static String KRONOS_APPLICATI...
14,345
https://github.com/zutnop/telekom-workflow-engine/blob/master/telekom-workflow-engine/src/main/java/ee/telekom/workflow/graph/GraphRepository.java
Github Open Source
Open Source
MIT
2,023
telekom-workflow-engine
zutnop
Java
Code
215
393
package ee.telekom.workflow.graph; import java.util.Set; /** * The {@link GraphRepository} is a container of {@link Graph} definitions. */ public interface GraphRepository{ /** * Returns the {@link Graph} with the given name and the given version, * or the latest graph with the given name if no vers...
51,502
https://github.com/PixellUp/Mirror/blob/master/Missions/Objective.cs
Github Open Source
Open Source
MIT
2,022
Mirror
PixellUp
C#
Code
198
422
using GTANetworkAPI; using System; using System.Collections.Generic; using System.Text; namespace Mirror.Classes.Models { public class Objective { public int ID { get; set; } // The order of the objective. public string Type { get; set; } public int X { get; set; } public int Y...
13,567
https://github.com/james1293/meteor-astronomy/blob/master/lib/modules/behaviors/class_static_methods/has_behavior.js
Github Open Source
Open Source
MIT
2,017
meteor-astronomy
james1293
JavaScript
Code
14
44
import _ from 'lodash'; function hasBehavior(behaviorName) { return _.has(this.schema.behaviors, behaviorName); }; export default hasBehavior;
44,064
https://github.com/theanmolmalik/MeowForm/blob/master/backend/utility/createUser.js
Github Open Source
Open Source
MIT
2,021
MeowForm
theanmolmalik
JavaScript
Code
32
89
const User = require("../Modles/user"); const log = async(email) => { const newUser = new User({ email, }) try{ const a1 = await newUser.save(); return a1; }catch(error){ console.log(error); } } module.exports = log;
6,954
https://github.com/fahadiqbal1/familyPickEm/blob/master/application/app/views/layouts/panels.blade.php
Github Open Source
Open Source
MIT
2,014
familyPickEm
fahadiqbal1
Blade
Code
151
711
<div class="col-md-4"> <div class="panel panel-default"> <div class="panel-heading">Leaderboard</div> <table class="table table-bordered table-condensed table-striped table-hover"> <thead> <tr><th></th><th>Name</th><th>Points</th></tr> </thead> <tbody> <?php $i=1 ?> @foreach ($leader...
10,845
https://github.com/moutainhigh/pika/blob/master/pika-trade/pika-trade-api/src/main/java/com/wenlincheng/pika/trade/enums/pay/TradePayMethodEnum.java
Github Open Source
Open Source
MIT
2,021
pika
moutainhigh
Java
Code
75
326
package com.wenlincheng.pika.trade.enums.pay; import com.wenlincheng.pika.common.core.enums.IEnum; import lombok.Getter; /** * 支付方式 * * @author Pikaman * @version 1.0.0 * @date 2021/1/1 10:10 上午 */ @Getter public enum TradePayMethodEnum implements IEnum<String> { ONLINE("ONLINE", "在线支付", "在线支付"), JIFEI...
2,373
https://github.com/jacklme/graded-reader/blob/master/sample_data/proiel_gjohn/Makefile
Github Open Source
Open Source
MIT
2,013
graded-reader
jacklme
Makefile
Code
55
210
all: programme text: parse-proiel.py gnt-greeknt.xml ./parse-proiel.py gnt-greeknt.xml JOHN > text targets: build-targets.py text ./build-targets.py text > targets target-item: make-target-item.py targets ./make-target-item.py targets > target-item programme: ../../code/next-best.py ../../code/optimize-order.py ...
18,694
https://github.com/skirge/serenity-students/blob/master/src/main/java/starter/pages/LoginPage.java
Github Open Source
Open Source
Apache-2.0
null
serenity-students
skirge
Java
Code
83
375
package starter.pages; import net.serenitybdd.core.annotations.findby.FindBy; import net.serenitybdd.core.pages.PageObject; import net.serenitybdd.core.pages.WebElementFacade; import net.thucydides.core.annotations.DefaultUrl; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; @DefaultUrl("http://l...
34,254
https://github.com/dtphi/gp_phucuon/blob/master/app/Http/Controllers/Api/Admin/Services/Contracts/LinhMucBangCapModel.php
Github Open Source
Open Source
MIT
2,021
gp_phucuon
dtphi
PHP
Code
15
62
<?php namespace App\Http\Controllers\Api\Admin\Services\Contracts; interface LinhMucBangCapModel { public function apiGetLinhMucBangCaps($data = array(), $limit = 5); }
842
https://github.com/brownsys/tez/blob/master/tez-ui2/src/main/webapp/app/styles/em-swimlane.less
Github Open Source
Open Source
Apache-2.0
null
tez
brownsys
Less
Code
359
1,060
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
50,828
https://github.com/CGGTeam/GGFlix/blob/master/DATA_BACKUP/BD5W6_424P_sys_syscursorrefs.sql
Github Open Source
Open Source
MIT
null
GGFlix
CGGTeam
SQL
Code
15
42
CREATE TABLE sys.syscursorrefs ( reference_name nvarchar(128), cursor_scope tinyint NOT NULL, cursor_handl int NOT NULL );
14,428
https://github.com/DanielHirunrusme/soil/blob/master/app/themes/so-il/src/sass/pages/search.scss
Github Open Source
Open Source
MIT
null
soil
DanielHirunrusme
SCSS
Code
48
209
@import "../settings"; .page-template-page-search-php { @include at-vertical-phone { @include unfloat-mobile-nav-against(".search-page-content"); } } .search-results { @include at-mobile { @include float-mobile-nav-against(".search-results-content"); } @include at-vertical-phone { @include un...
47,405
https://github.com/andr13/yiot-yocto-test/blob/master/ext/iotkit/integration/platformio/defaults/platform/init/idf/udp_socket.c
Github Open Source
Open Source
BSD-2-Clause
null
yiot-yocto-test
andr13
C
Code
656
1,996
// Copyright (C) 2015-2019 Virgil Security, Inc. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // (1) Redistributions of source code must retain the above copyright // ...
38,060
https://github.com/DNS-OARC/pplib/blob/master/tests/src/core/configparser.cpp
Github Open Source
Open Source
BSD-2-Clause
2,019
pplib
DNS-OARC
C++
Code
1,213
7,473
/******************************************************************************* * This file is part of "Patrick's Programming Library", Version 7 (PPL7). * Web: http://www.pfp.de/ppl/ * * $Author$ * $Revision$ * $Date$ * $Id$ * ******************************************************************************* *...
31,758
https://github.com/Cingozzz/Distribution/blob/master/o/octokit__types/src/main/scala/typings/octokitTypes/endpointsMod/EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseEndpoint.scala
Github Open Source
Open Source
MIT
2,021
Distribution
Cingozzz
Scala
Code
187
617
package typings.octokitTypes.endpointsMod import typings.octokitTypes.octokitTypesStrings.all import typings.octokitTypes.octokitTypesStrings.selected import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} trait...
53,187
https://github.com/LonelyGriffin/apate/blob/master/src/apate.ts
Github Open Source
Open Source
MIT
null
apate
LonelyGriffin
TypeScript
Code
121
464
import {DEFAULT_CONFIG, IConfig} from './config' import {ControlClient} from './control-client' import {HttpInterceptor} from './interceptor/http-interceptor' import {HttpInterceptorBuilder} from './interceptor/http-interceptor-builder' import {ControlServer, IControlServer} from './server/control-server' import {IMock...
14,541
https://github.com/0xbadcoffe/dragonphy2/blob/master/vlog/chip_src/mdll_r1/rtl/mdll_supply_dac_buffer.sv
Github Open Source
Open Source
Apache-2.0
2,021
dragonphy2
0xbadcoffe
null
Spoken
169
492
/**************************************************************** Copyright (c) #YEAR# #LICENSOR#. All rights reserved. The information and source code contained herein is the property of #LICENSOR#, and may not be disclosed or reproduced in whole or in part without explicit written authorization from #LICENSOR#. ...
10,040
https://github.com/iammohitjangid/clone-trello/blob/master/Node_Auth/node_modules/salt/test/api.tag.tail.js
Github Open Source
Open Source
MIT
2,021
clone-trello
iammohitjangid
JavaScript
Code
432
1,463
describe( '_tail tag', function () { var salt; it( 'should redirect when navigation ends in a tagged branch', function () { var spy = sinon.spy(); salt = new Salt({ _tail: '@next|@child', a: spy, b: '//a/', c: '//a/', d: '//a/' }); salt.go(1); spy.callCount.shou...
4,271
https://github.com/NullVoxPopuli/ember-polaris/blob/master/app/components/polaris-avatar.js
Github Open Source
Open Source
MIT
2,021
ember-polaris
NullVoxPopuli
JavaScript
Code
6
26
export { default } from '@smile-io/ember-polaris/components/polaris-avatar';
16,472
https://github.com/bjagg/email-preview/blob/master/src/main/java/org/jasig/portlet/emailpreview/dao/exchange/ExchangeAccountDaoImpl.java
Github Open Source
Open Source
GPL-2.0-only, Apache-2.0, LicenseRef-scancode-public-domain, EPL-1.0, Classpath-exception-2.0, LGPL-2.1-only, Plexus, CDDL-1.0, LGPL-2.0-or-later, MIT, BSD-3-Clause
2,022
email-preview
bjagg
Java
Code
2,958
10,459
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
49,489
https://github.com/mbuechse/vanda-studio/blob/master/share/packages/implementations/rparse/install.bash
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,019
vanda-studio
mbuechse
Shell
Code
41
184
id="rparse" varname="RPARSE" version="2015-06-29" binpath="$id" download () { if [[ -d rparse ]]; then git pull else git clone "https://github.com/wmaier/rparse.git" fi pushd rparse ant -Djgraph.path="lib/jgrapht-jdk1.6.jar" popd } install_me () { mkdir -p "$1/lib" cp "rparse/rparse.jar" -t "$1/." cp "rp...
45,982
https://github.com/andreikh/jdbreport/blob/master/jdbreport-rt/src/main/java/jdbreport/model/DetailGroup.java
Github Open Source
Open Source
Apache-2.0
null
jdbreport
andreikh
Java
Code
1,356
3,850
/* * JDBReport Generator * * Copyright (C) 2006-2014 Andrey Kholmanskih * * 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 ...
2,990
https://github.com/HNoorazar/Ag/blob/master/download_files_off_website.py
Github Open Source
Open Source
MIT
2,023
Ag
HNoorazar
Python
Code
186
688
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.14.5 # kernelspec: # display_name: Python 3 (ipykernel) # language: python # name: python3 # --- # %% import requests import pandas as pd...
1,119
https://github.com/mehrdadab/Umbraco-CMS/blob/master/src/Umbraco.Core/Services/EntityService.cs
Github Open Source
Open Source
MIT
2,020
Umbraco-CMS
mehrdadab
C#
Code
1,311
4,673
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Microsoft.Extensions.Logging; using Umbraco.Cms.Core.Events; using Umbraco.Cms.Core.Models; using Umbraco.Cms.Core.Models.Entities; using Umbraco.Cms.Core.Persistence; using Umbraco.Cms.Core.Persistence.Querying; usi...
542
https://github.com/qianhongyang/TcloudServer/blob/master/apps/auth/auth_require.py
Github Open Source
Open Source
MIT
2,019
TcloudServer
qianhongyang
Python
Code
472
1,705
from functools import wraps from flask import g, request from apps.auth.business.auth import AuthBusiness from apps.auth.business.users import UserBusiness from library.api.exceptions import PermissionDeniedException, OperationPermissionDeniedException """ admin和trpc 直接执行函数 """ def is_admin(): # return 'admin'...
40,176
https://github.com/ivandrofly/corefx/blob/master/src/System.Security.Cryptography.Algorithms/tests/RijndaelTests.cs
Github Open Source
Open Source
MIT
2,022
corefx
ivandrofly
C#
Code
760
2,634
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Text; using Test.Cryptography; using Xunit; namespace System.Security.Cryptography.Encryption.Rijndael...
6,791
https://github.com/JetBrains/kotlin/blob/master/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/GradleOption.kt
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
kotlin
JetBrains
Kotlin
Code
168
485
/* * Copyright 2010-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
3,202
https://github.com/backuity/puppet-module-installer/blob/master/src/test/scala/org/backuity/puppet/ShellImplTest.scala
Github Open Source
Open Source
Apache-2.0
2,017
puppet-module-installer
backuity
Scala
Code
61
213
package org.backuity.puppet import org.backuity.matchete.JunitMatchers import org.junit.Test class ShellImplTest extends JunitMatchers { @Test def tokenizeShouldNotSplitQuotedText(): Unit = { ShellImpl.tokenize("this is a 'quoted text'") must_== Array("this", "is", "a", "quoted text") ShellImpl.tokenize(...
39,149
https://github.com/Nic30/hwtLib/blob/master/hwtLib/logic/crcPoly.py
Github Open Source
Open Source
MIT
2,022
hwtLib
Nic30
Python
Code
1,050
3,449
# http://reveng.sourceforge.net/crc-catalogue/all.htm """ Library of common CRC configurations :note: POLY is the polynome of CRC and specifies which bits should be xored together. :note: WIDTH - specifies the width of CRC state/value :note: REFIN - If it is True the bits in each byte are reversed before processin...
43,773
https://github.com/androidrubick/atm/blob/master/buildSrc/src/main/ATM/groovy/pub/androidrubick/autotest/android/model/UninstallInfo.groovy
Github Open Source
Open Source
Apache-2.0
null
atm
androidrubick
Groovy
Code
119
357
package pub.androidrubick.autotest.android.model import android.support.annotation.NonNull /** * simple model with app information * * @since 1.0.0 */ @SuppressWarnings("GroovyUnusedDeclaration") public class UninstallInfo implements Cmdable { // 从系统中移除软件包。 // 选项: // // -k:移除软件包后保留数据和缓存目录。 public st...
18,858
https://github.com/FelipeHannud/BrasaHacks2021/blob/master/backend/src/catalogs/catalogs.service.ts
Github Open Source
Open Source
MIT
2,021
BrasaHacks2021
FelipeHannud
TypeScript
Code
117
413
import { Injectable } from '@nestjs/common'; import { InjectRepository } from '@nestjs/typeorm'; import { ProductRepository } from 'src/products/product.repository'; import { Catalog } from './catalog.entity'; import { CatalogRepository } from './catalog.repository'; import { CatalogDto } from './dtos/catalog.dto'; imp...
18,809
https://github.com/kumar-dhanagopal/helidon/blob/master/config/config/src/test/java/io/helidon/config/spi/AbstractSourceTest.java
Github Open Source
Open Source
CC-PDDC, BSD-3-Clause, CC0-1.0, LGPL-2.1-only, Apache-2.0, LicenseRef-scancode-public-domain, MIT
2,018
helidon
kumar-dhanagopal
Java
Code
555
2,088
/* * Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved. * * 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 * ...
35,598
https://github.com/shawnchou93/Design-Pattern/blob/master/Behavioral Pattern/Command Pattern/main.cpp
Github Open Source
Open Source
MIT
null
Design-Pattern
shawnchou93
C++
Code
45
139
#include "Command.h" int main() { Invoker* pInvoker = new Invoker(); // The invoker is like a command processor Receiver* pReceiver = new Receiver(); // the receiver is action implementer concreteCommand1* pCommand1 = new concreteCommand1(pReceiver); concreteCommand2* pCommand2 = new concreteCommand2(...
13,742
https://github.com/swimlane/style-guide/blob/master/projects/swimlane/ngx-ui/src/lib/components/tree/tree.component.ts
Github Open Source
Open Source
MIT
2,016
style-guide
swimlane
TypeScript
Code
170
608
import { Component, Input, EventEmitter, Output, ContentChild, ViewEncapsulation, ContentChildren, TemplateRef, ChangeDetectionStrategy, ChangeDetectorRef, OnDestroy, AfterContentInit } from '@angular/core'; import type { QueryList } from '@angular/core'; import { Subject } from 'rxjs'; import ...
28,120
https://github.com/pani-js/pani-backend-service/blob/master/src/swaggerConfig.ts
Github Open Source
Open Source
MIT
2,022
pani-backend-service
pani-js
TypeScript
Code
44
149
import { INestApplication } from '@nestjs/common/interfaces/nest-application.interface'; import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger'; function addSwaggerConfig(app: INestApplication): void { const config = new DocumentBuilder() .setTitle('Pani example') .setDescription('The Pain API desc...
10,953
https://github.com/FoneQinrf/-fone-vvmui/blob/master/src/packages/switch/index.scss
Github Open Source
Open Source
MIT
2,022
-fone-vvmui
FoneQinrf
SCSS
Code
174
609
.vvm-switch { display: inline-block; width: 104px; height: 48px; background-color: $B4; border-radius: 48px; position: relative; transition: all 0.25s; &.--default { &.--active { background-color: $default-color; } .vvm-switch--radius { &.--active { border: 1px solid $def...
16,823
https://github.com/mtlpy/mtlpyweb/blob/master/mtlpy/pages/migrations/0001_initial.py
Github Open Source
Open Source
Apache-2.0
2,023
mtlpyweb
mtlpy
Python
Code
54
280
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('flatpages', '0001_initial'), ] operations = [ migrations.CreateModel( name='I18NFlatPage', fields=[ ...
46,083
https://github.com/VoltisJakupi0/react-native-geodb/blob/master/src/GeoDBCitiesSearch/List/styles.js
Github Open Source
Open Source
MIT
2,022
react-native-geodb
VoltisJakupi0
JavaScript
Code
106
379
import { StyleSheet } from 'react-native'; import { HEADER_HEIGHT, FOOTER_HEIGHT, ITEM_HEIGHT, SEPARATOR_HEIGHT, backgroundColor } from './constants'; export default StyleSheet.create({ contentContainer: { flex: 1, backgroundColor: 'white' }, textInputContainer: { flexDirection: 'row', ...
23,567
https://github.com/taamneh/SubjectBook/blob/master/app/Models/StudyTopology.scala
Github Open Source
Open Source
Apache-2.0
2,016
SubjectBook
taamneh
Scala
Code
239
784
package Models import java.util.Date /** * Created by staamneh on 10/27/2014. */ case class Sharing(email: String, role: Int, message: String,studyId: Int); case class Subject(subject_id: String, study_id: Int,subject_DOB: Date,subject_gender: String, STAI: Int, PAS: Int, NAS: Int); case class Study(study_name: St...
45,375
https://github.com/batuhan-yilmaz/Asp.Net-MVC-5-OASIS-Personal-Automation-System/blob/master/OASIS/bin/Release/Publish/Areas/oasiscontrolcenter/Views/Duyuru/duyurular.cshtml
Github Open Source
Open Source
MIT
2,021
Asp.Net-MVC-5-OASIS-Personal-Automation-System
batuhan-yilmaz
HTML+Razor
Code
574
2,853
@using OASIS.Models.Entity @model List<notice> @{ ViewBag.Title = "Duyurular"; Layout = "~/Areas/oasiscontrolcenter/Views/Shared/_Layout.cshtml"; } @if (TempData["duyuruGuncelle"] != null) { <link href="~/Content/Admin/plugins/sweetalert2-theme-bootstrap-4/bootstrap-4.min.css" rel="stylesheet" /> <sc...
51,254
https://github.com/v1v/apm-pipeline-library-backup/blob/master/vars/isCommentTrigger.groovy
Github Open Source
Open Source
Apache-2.0
null
apm-pipeline-library-backup
v1v
Groovy
Code
290
668
// Licensed to Elasticsearch B.V. under one or more contributor // license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright // ownership. Elasticsearch B.V. licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may // not use ...
36,358
https://github.com/xanf-code/Kai_membership/blob/master/KAI Membership/MVVM/Model/Device/DeviceRemote.swift
Github Open Source
Open Source
MIT
null
Kai_membership
xanf-code
Swift
Code
93
246
// // DeviceRemote.swift // KAI Membership // // Created by Darshan Aswath on 03/03/2021. // import Foundation class DeviceRemote: BaseModel { var id: String? var users: [UserRemote] enum CodingKeys: String, CodingKey { case id = "device_id" case users = "user" } ...
2,752
https://github.com/uchenily/leetcode/blob/master/0075_颜色分类.go
Github Open Source
Open Source
MIT
2,019
leetcode
uchenily
Go
Code
56
170
package leetcode func sortColors(nums []int) { left := -1 right := len(nums) cursor := 0 for cursor < right { if nums[cursor] == 1 { cursor++ } else if nums[cursor] == 0 { nums[cursor], nums[left+1] = nums[left+1], nums[cursor] left++ cursor++ } else if nums[cursor] == 2 { nums[cursor], nums[r...
49,565
https://github.com/PackHg/Udacity-AND-PopularMoviesStage2/blob/master/app/src/main/java/com/packheng/popularmoviesstage2/viewmodel/MainViewModel.java
Github Open Source
Open Source
Apache-2.0
null
Udacity-AND-PopularMoviesStage2
PackHg
Java
Code
176
512
/* * Copyright (c) 2018 Pack Heng * * 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...
47,764
https://github.com/artur-chagas/ltv-pyqt/blob/master/main.build/module.jinja2.bccache.c
Github Open Source
Open Source
Apache-2.0
2,021
ltv-pyqt
artur-chagas
C
Code
20,000
92,505
/* Generated code for Python module 'jinja2.bccache' * created by Nuitka version 0.6.16 * * This code is in part copyright 2021 Kay Hayen. * * 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 * * ...
22,314
https://github.com/best08618/asylo/blob/master/gcc-gcc-7_3_0-release/libgomp/testsuite/libgomp.oacc-fortran/collapse-3.f90
Github Open Source
Open Source
Apache-2.0
2,021
asylo
best08618
null
Spoken
78
252
! { dg-do run } program collapse3 integer :: a(3,3,3), k, kk, kkk, l, ll, lll !$acc parallel !$acc loop collapse(3) do 115 k=1,3 dokk: do kk=1,3 do kkk=1,3 a(k,kk,kkk) = 1 enddo enddo dokk 115 continue !$acc end parallel if (any(a(1:3,1:3,1:3).ne.1)) call abort !$acc ...
29,351
https://github.com/law-cell/Music-Player-iOS-application-imitate-apple-music-/blob/master/MusicPlayer/MusicPlayer/Controller/User/SignUpViewController.swift
Github Open Source
Open Source
MIT
null
Music-Player-iOS-application-imitate-apple-music-
law-cell
Swift
Code
239
767
// // SignUpViewController.swift // MusicPlayer // // Created by 罗俊豪 on 2021/5/6. // import UIKit import LeanCloud class SignUpViewController: UIViewController { @IBOutlet weak var emailTextField: UITextField! @IBOutlet weak var emailAgainTextField: UITextField! @IBOutlet weak var passwordTextField: UI...
54,557
https://github.com/zerofox-oss/deepstar/blob/master/deepstar/command_line_route_handlers/video_command_line_route_handler.py
Github Open Source
Open Source
BSD-3-Clause-Clear
2,022
deepstar
zerofox-oss
Python
Code
1,668
4,921
import os import uuid import shutil import urllib import pytube import vimeo_dl as vimeo from deepstar.filesystem.video_dir import VideoDir from deepstar.filesystem.video_file import VideoFile from deepstar.models.video_model import VideoModel from deepstar.plugins.plugin import Plugin from deepstar.util.command_line...
49,311
https://github.com/MonkeyDTH/end2end_AU_speech/blob/master/src/extract_feature.py
Github Open Source
Open Source
MIT
null
end2end_AU_speech
MonkeyDTH
Python
Code
459
1,637
''' Copyright (c) 2017 Hai Pham, Rutgers University http://www.cs.rutgers.edu/~hxp1/ This code is free to use for academic/research purpose. ''' import cv2 import math import pathlib as plb import librosa import csv import numpy as np import matplotlib.pyplot as plt def write_csv(filename, data): with open(file...
26,088
https://github.com/shyawnkarim/f5-bigip-runtime-init/blob/master/src/lib/validator.ts
Github Open Source
Open Source
Apache-2.0
2,021
f5-bigip-runtime-init
shyawnkarim
TypeScript
Code
146
270
/** * Copyright 2020 F5 Networks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
29,584
https://github.com/LGDC/ArcProc/blob/master/arcproc/services.py
Github Open Source
Open Source
MIT
null
ArcProc
LGDC
Python
Code
474
1,431
"""ArcGIS Server service operations.""" import logging import re import arcgis import requests import arcpy from arcproc.arcobj import spatial_reference from arcproc.helpers import contain LOG = logging.getLogger(__name__) """logging.Logger: Module-level logger.""" def as_dicts(url, field_names=None, **kwargs): ...
29,375
https://github.com/sdgdsffdsfff/MonitorAgent/blob/master/MonitorAgent-desktop/gather/HistoryGather.h
Github Open Source
Open Source
Apache-2.0
2,019
MonitorAgent
sdgdsffdsfff
C++
Code
62
224
#ifndef HISTORYGATHER_H #define HISTORYGATHER_H #include <QString> #include <QMap> #include <QStringList> struct HistRecord { long timestamp; QString command; }; class HistoryGather { public: static HistoryGather* getInstance(); QStringList ls(); QList<HistRecord> history(const QString& filenam...
27,184
https://github.com/RezaAb/gekko-quasar-ui/blob/master/src/components/backtester/result/result.vue
Github Open Source
Open Source
MIT
2,021
gekko-quasar-ui
RezaAb
Vue
Code
254
1,118
<template> <div class="q-my-md"> <div class="text-h5 q-mb-md">Backtest result</div> <div> <result-summary v-if="result && result.performanceReport" :report="result.performanceReport"/> </div> <div v-if="candles.length"> <q-card flat bordered class="q-my-md"> <q-card-section class="...
38,965
https://github.com/Ahrovan/msf_localization/blob/master/msf_localization_ros/src/source/ros_absolute_pose_input_interface.cpp
Github Open Source
Open Source
BSD-3-Clause
2,021
msf_localization
Ahrovan
C++
Code
422
3,331
#include "msf_localization_ros/ros_absolute_pose_input_interface.h" RosAbsolutePoseInputInterface::RosAbsolutePoseInputInterface(ros::NodeHandle* nh, tf::TransformBroadcaster *tf_transform_broadcaster, MsfLocalizationCore* msf_localization_core_ptr) : RosInputInterface(nh, tf_transform_broadcaster), Absolute...
12,015
https://github.com/ishahid/django-gdm/blob/master/source/gdm/models/timeline.py
Github Open Source
Open Source
MIT
2,020
django-gdm
ishahid
Python
Code
98
389
from django.db import models class Activity(models.Model): text = models.TextField('Activity description', max_length=3000) date = models.DateTimeField('Activity date') person = models.ForeignKey('Person', related_name='fk_activity_person') class Meta: ordering = ['-date', 'person'] v...
48,663
https://github.com/tahq69/vue-select/blob/master/app/components/AsyncOptions.vue
Github Open Source
Open Source
MIT
null
vue-select
tahq69
Vue
Code
248
811
<script lang="ts"> // tslint:disable:no-console import http from "axios" import Vue from "vue" import { SelectOption } from "./../../types/plugin" import CripSelect from "@/main" import CodeSample from "./CodeSample.vue" import ExampleSection from "./ExampleSection.vue" interface Post { userId: number id: number...
42,658
https://github.com/sunlabga/manul/blob/master/client/mongo/cli.go
Github Open Source
Open Source
MIT
2,021
manul
sunlabga
Go
Code
859
2,232
package mongo import ( "github.com/argcv/webeh/log" "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" "math" "time" ) var ( MongoBatchSize = 2000 ) type Client struct { Session *mgo.Session Db string isRoot bool } /** * Database is the default database name used when the Session.DB method * is called with...
1,799
https://github.com/sunbird-cb/sunbird-cb-portal/blob/master/project/ws/author/src/lib/modules/shared/directives/draggable/draggable-helper.directive.spec.ts
Github Open Source
Open Source
MIT
2,023
sunbird-cb-portal
sunbird-cb
TypeScript
Code
25
75
import { DraggableHelperDirective } from './draggable-helper.directive' describe('DraggableHelperDirective', () => { it('should create an instance', () => { const directive = new DraggableHelperDirective() expect(directive).toBeTruthy() }) })
38,981
https://github.com/porscheinformatik/clarity-addons/blob/master/src/clr-addons/daterangepicker/validators/daterange-min.validation.spec.ts
Github Open Source
Open Source
MIT
2,023
clarity-addons
porscheinformatik
TypeScript
Code
529
1,974
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/compiler'; import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormControl, ReactiveFormsModule } from '@angular/forms'; import { ClrDaterangepickerModule } from '../daterangepicker.module'; import { Nul...
3,115
https://github.com/Rynxiao/google-flutter-demos/blob/master/lib/src/gesture.dart
Github Open Source
Open Source
MIT
2,019
google-flutter-demos
Rynxiao
Dart
Code
77
266
import 'package:flutter/material.dart'; import './ip.dart'; class GestureWidget extends StatelessWidget { static const String routeName = "/gesture"; @override Widget build(BuildContext context) { return GestureDetector( child: Scaffold( appBar: AppBar( title: Text("Gestures"), ...
14,460
https://github.com/ljhsiun2/medusa/blob/master/Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_122_572.asm
Github Open Source
Open Source
MIT
2,022
medusa
ljhsiun2
Assembly
Code
473
1,335
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1c7ce, %rsi lea addresses_normal_ht+0x188e, %rdi nop lfence mov $104, %rcx rep movsb nop nop nop and %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 ret .global s_faulty_load s_faulty_load: pus...
13,556
https://github.com/modrymrak/itp405-spring2016-laravel/blob/master/resources/views/search.php
Github Open Source
Open Source
MIT
null
itp405-spring2016-laravel
modrymrak
PHP
Code
152
804
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>DVD Search</title> <link rel="stylesheet" type="text/css" href="../css/main.css"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleap...
7,055
https://github.com/Poornakiruthika/Test/blob/master/Bedrocket/analytics/AddDashboard.js
Github Open Source
Open Source
MIT
null
Test
Poornakiruthika
JavaScript
Code
292
1,374
var actualTotal; var currentTheme; module.exports = function(browser){ this.AddingDashboard = function() { browser. pause(10000). waitForElementVisible('.boxx-resource-server-title',90000,false). pause(9000). verify.visible(".boxx-resource-server-title" , "ANALYTICS"). pause(900...
14,444
https://github.com/JurianLock/codecombat/blob/master/test/app/views/editor/component/ThangComponentsEditView.spec.coffee
Github Open Source
Open Source
MIT
2,019
codecombat
JurianLock
CoffeeScript
Code
208
656
ThangComponentEditView = require('views/editor/component/ThangComponentsEditView') SuperModel = require('models/SuperModel') LevelComponent = require('models/LevelComponent') responses = '/db/level.component/B/version/0': { system: 'System' original: 'B' version: {major: 0, minor:0} name: 'B (depends...
23,305
https://github.com/snamper/er_motor_repair/blob/master/motor_repair_frontend/src/app/routes/passport/register-result/register-result.component.ts
Github Open Source
Open Source
MIT
2,018
er_motor_repair
snamper
TypeScript
Code
40
125
import { Component } from '@angular/core'; import { NzMessageService } from 'ng-zorro-antd'; import { RegisterService } from '../service/register.service'; @Component({ selector: 'passport-register-result', templateUrl: './register-result.component.html', styleUrls: [ './register-result.component.less' ] ...
50,138
https://github.com/ValaaLabs/valaa-stack/blob/master/src/valaa-engine/Vrapper/Vrapper.test.js
Github Open Source
Open Source
MIT
null
valaa-stack
ValaaLabs
JavaScript
Code
2,423
8,965
// @flow import { created } from "~/valaa-core/command/index"; import { vRef } from "~/valaa-core/ValaaReference"; import { createGhostRawId } from "~/valaa-core/tools/denormalized/GhostPath"; import VALEK from "~/valaa-engine/VALEK"; import Vrapper from "~/valaa-engine/Vrapper"; import { createEngineTestHarness } f...
36,948
https://github.com/Blackman99/casual-ui/blob/master/packages/react/ui/src/components/basic/loading/CLoadingCube.tsx
Github Open Source
Open Source
MIT
2,022
casual-ui
Blackman99
TypeScript
Code
147
796
import React from 'react' const CLoadingCube = () => ( <svg className="c-loading" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" > <rect x="0" y="0" width=" 100" height="100" fill="none"></rect> <g transform="translate(25 25)"> <rect x="...
42,274
https://github.com/erikbuck/Unity3D_Examples/blob/master/ClockA/Assets/Scenes/MerryGoRound.unity
Github Open Source
Open Source
MIT
2,018
Unity3D_Examples
erikbuck
Unity3D Asset
Code
16,227
70,257
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!29 &1 OcclusionCullingSettings: m_ObjectHideFlags: 0 serializedVersion: 2 m_OcclusionBakeSettings: smallestOccluder: 5 smallestHole: 0.25 backfaceThreshold: 100 m_SceneGUID: 00000000000000000000000000000000 m_OcclusionCullingData: {fileID: 0} --- !u!...
24,325
https://github.com/nuhkoca/mao-trailer-app/blob/master/app/src/main/java/com/movie/maotrailer/data/remote/addendum/Videos.java
Github Open Source
Open Source
MIT
2,023
mao-trailer-app
nuhkoca
Java
Code
41
187
package com.movie.maotrailer.data.remote.addendum; import android.databinding.BaseObservable; import android.databinding.Bindable; import com.google.gson.annotations.SerializedName; import com.movie.maotrailer.BR; import java.util.List; public class Videos extends BaseObservable { @SerializedName("results") ...
25,676
https://github.com/public-transport/sample-gtfs-feed/blob/master/calendar_dates.js
Github Open Source
Open Source
0BSD
2,022
sample-gtfs-feed
public-transport
JavaScript
Code
103
399
'use strict' const {allDay, onWorkingDays, onWeekends} = require('./calendar') const applyToServices = (services, dates, type) => { const exceptions = [] for (let service of services) { for (let date of dates) { exceptions.push({ service_id: service.service_id, date, exception_type: type }) } ...
3,970
https://github.com/sunstick/spark/blob/master/core/src/main/scala/spark/rdd/UnionRDD.scala
Github Open Source
Open Source
Apache-2.0
null
spark
sunstick
Scala
Code
137
443
package spark.rdd import spark._ import scala.collection.mutable.ArrayBuffer class UnionSplit[T: ClassManifest]( idx: Int, rdd: RDD[T], split: Split) extends Split with Serializable { def iterator() = rdd.iterator(split) def preferredLocations() = rdd.preferredLocations(split) override val ...
12,432
https://github.com/pppsu/SAMSnOVs/blob/master/databaseEiei/regist (3).sql
Github Open Source
Open Source
MIT
2,019
SAMSnOVs
pppsu
SQL
Code
2,474
8,134
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jan 26, 2017 at 02:22 PM -- Server version: 10.1.16-MariaDB -- PHP Version: 7.0.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLI...
29,006
https://github.com/daniel8327/ios_swift/blob/master/SWIFT_ALGORITHM_SOLVING/Permutation/CombinationEx1.swift
Github Open Source
Open Source
MIT
2,019
ios_swift
daniel8327
Swift
Code
102
348
// // CombinationEx1.swift // SWIFT_ALGORITHM_SOLVING // // Created by hw on 03/09/2019. // Copyright © 2019 hwj. All rights reserved. // // 출처 : https://gorakgarak.tistory.com/523?category=265216 // https://limkydev.tistory.com/156?category=1006099 import Foundation /* combination도 항상 두가지 경우가 합쳐져서 나오는 경우다. 1. 이미...
26,984
https://github.com/RiyaJohn/abbreviate/blob/master/domain/matcher_test.go
Github Open Source
Open Source
Apache-2.0
2,020
abbreviate
RiyaJohn
Go
Code
79
382
package domain import ( "testing" "github.com/stretchr/testify/assert" ) func TestMatcher_Match(t *testing.T) { m := Matcher{items: map[string]string{"abbreviation": "abbr"}} assert.Equal(t, "abbr", m.Match("abbreviation")) assert.Equal(t, "something", m.Match("something")) } func TestMatcher_NewMatcherFromSt...
13,232