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/amro93/VendingMachine-Test/blob/master/src/VendingMachine.Shared/Coins/CoinExactChangeDto.cs
Github Open Source
Open Source
MIT
null
VendingMachine-Test
amro93
C#
Code
37
79
namespace VendingMachine.Shared.Coins { public class CoinExactChangeDto { public long CoinFamilyId { get; set; } public int Count { get; set; } public decimal Value { get; set; } public string Name { get; set; } } }
24
https://github.com/radekg/netapp-ontap-lib-get/blob/master/generated-libraries/python/netapp/nfs/exports_rule_info_2.py
Github Open Source
Open Source
MIT
2,018
netapp-ontap-lib-get
radekg
Python
Code
226
659
from netapp.nfs.security_rule_info import SecurityRuleInfo from netapp.netapp_object import NetAppObject class ExportsRuleInfo2(NetAppObject): """ Information necessary to create a new rule in the etc/exports file or for just adding a rule similar to the exportfs command. """ _actual_pathname ...
12,098
https://github.com/alan-yeh/gradle-plugins/blob/master/vue-plugin/build.gradle
Github Open Source
Open Source
Apache-2.0
2,018
gradle-plugins
alan-yeh
Gradle
Code
71
306
version '1.0.0' apply plugin: 'nexus' nexus { repository { username project.ext["nexus.username"] password project.ext["nexus.password"] } signatory { keyId project.ext["signatory.keyId"] password project.ext["signatory.password"] } pom { name 'Vue Plugin'...
19,642
https://github.com/mmienko/aws-cdk-scala/blob/master/modules/sagemaker/src/main/scala/io/burkard/cdk/services/sagemaker/AlarmProperty.scala
Github Open Source
Open Source
Apache-2.0
null
aws-cdk-scala
mmienko
Scala
Code
20
147
package io.burkard.cdk.services.sagemaker @SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null")) object AlarmProperty { def apply( alarmName: String ): software.amazon.awscdk.services.sagemaker.CfnEndpoint.AlarmProperty = (new software.amazon...
27,091
https://github.com/bterlson/azure-sdk-for-js/blob/master/packages/@azure/eventhubs/client/tests/hubruntime.spec.ts
Github Open Source
Open Source
MIT, CC-BY-4.0
2,019
azure-sdk-for-js
bterlson
TypeScript
Code
347
1,245
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. import chai from "chai"; const should = chai.should(); import chaiAsPromised from "chai-as-promised"; chai.use(chaiAsPromised); import debugModule from "debug"; const debug = debugModule("azure:event-hubs:hubruntime-spec");...
32,399
https://github.com/nutstick/promize/blob/master/tools/clean.ts
Github Open Source
Open Source
MIT
2,018
promize
nutstick
TypeScript
Code
86
204
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import { cleanDir } from './lib/fs'; /** * Cleans up the...
30,092
https://github.com/TarsCloud/TarsGo/blob/master/tars/util/grace/grace_test.go
Github Open Source
Open Source
BSD-3-Clause
2,023
TarsGo
TarsCloud
Go
Code
75
304
package grace import ( "fmt" "os" "os/exec" "testing" ) func TestListener(t *testing.T) { proto, addr := "tcp", "localhost:3333" _, err := CreateListener(proto, addr) key := fmt.Sprintf("%s_%s_%s", InheritFdPrefix, proto, addr) fmt.Println(err, key, os.Getenv(key)) cmd := exec.Command("lsof", "-p", fmt.Sprin...
17,357
https://github.com/jaroban/Embedded/blob/master/Elevator controller/APP/SAFETY.ASM
Github Open Source
Open Source
MIT
2,015
Embedded
jaroban
Assembly
Code
1,467
7,404
; version 4.1 th_safety: dw basic_safety, st_safety db id_safety, os_bits0, st_safety_size was_a4_a5 bit 0 oa1 bit 1 uz_je_chyba_kb bit 2 revizna_disable: db id_nudzova db id_servisna db id_zr...
21,186
https://github.com/FishOrBear/ali_dns/blob/master/src/DomainHelper.ts
Github Open Source
Open Source
MIT
2,017
ali_dns
FishOrBear
TypeScript
Code
83
407
import {DomainRecord,DescribeDomainQueryParam} from './model'; import {getQueryUrl} from './tool'; import {httpHelper} from './httpHelper' export class DomainHelper{ static accessKeyId:string; static secret:string; static domain:string; /** * 增加/修改解析记录 * @param ip 解析地址 * @param rr 主...
48,600
https://github.com/arseninaanna/simple-messenger/blob/master/src/main/java/com/messenger/client/ui/GuiMiddleware.java
Github Open Source
Open Source
MIT
null
simple-messenger
arseninaanna
Java
Code
577
1,951
package com.messenger.client.ui; import java.awt.*; import java.awt.event.*; import java.util.function.Consumer; class GuiMiddleware extends Frame { private static final String EOL = "\r\n"; private static final String TITLE = "Chat Client"; private static final int WIDTH = 450; private static final...
48,166
https://github.com/moling3650/mes-editors/blob/master/src/components/Cards/repair/RepairCard.vue
Github Open Source
Open Source
MIT
null
mes-editors
moling3650
Vue
Code
455
2,469
<template> <div> <el-row> <el-form :inline="true"> <el-form-item label="批次"> <el-input v-model="sfc" placeholder="批次编号"></el-input> </el-form-item> <el-form-item> <el-button type="primary" @click="selectSFC(sfc)">查询</el-button> <el-button type="primary">...
36,067
https://github.com/HudsonAndroid/wanandroid_flutter/blob/master/lib/data/entity/category.dart
Github Open Source
Open Source
Apache-2.0
null
wanandroid_flutter
HudsonAndroid
Dart
Code
88
323
import 'package:wanandroid_flutter/data/entity/base_result.dart'; import 'package:wanandroid_flutter/ui/page/tree/tree_page.dart'; class Category { List<Category> children; int courseId; int id; String name; int order; int parentChapterId; bool userControlSetTop; int visible; Category.fromJson(Map<...
21,134
https://github.com/Radzell/ActiveAndroid/blob/master/src/com/activeandroid/sqlserializer/FloatSerializerSql.java
Github Open Source
Open Source
Apache-2.0
null
ActiveAndroid
Radzell
Java
Code
54
181
package com.activeandroid.sqlserializer; import android.content.ContentValues; import android.database.Cursor; public class FloatSerializerSql implements SqlTypeSerializer<Float> { @Override public Float unpack(Cursor c, String name) { return c.getFloat(c.getColumnIndexOrThrow(name)); } @Ove...
13,372
https://github.com/nuclearide/node-gir/blob/master/examples/notify.js
Github Open Source
Open Source
MIT
2,019
node-gir
nuclearide
JavaScript
Code
79
243
// docs: http://developer.gnome.org/libnotify/0.7/NotifyNotificationotification.html const { load } = require('../'); const notify = load('Notify'); notify.init('notify_test.js sample application'); function sleep(milliseconds) { return new Promise(resolve => setTimeout(() => resolve(), milliseconds)); } async fu...
11,093
https://github.com/java-scott/PersonalPractice/blob/master/my-blog/MyBlog-Typecho/usr/plugins/AppStore/Action.php
Github Open Source
Open Source
MIT
null
PersonalPractice
java-scott
PHP
Code
360
1,862
<?php ! defined('__TYPECHO_ROOT_DIR__') and exit(); class AppStore_Action extends Typecho_Widget { /** * 应用商店服务器 * * @var string */ private $server = ''; /** * 构造函数 * * @param mixed $request * @param mixed $response * @param null $params */ public fun...
28,168
https://github.com/jamesmunns/same70-experiments/blob/master/vendor/atsame70q21b/src/icm.rs
Github Open Source
Open Source
0BSD
2,022
same70-experiments
jamesmunns
Rust
Code
385
1,350
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Configuration Register"] pub icm_cfg: crate::Reg<icm_cfg::ICM_CFG_SPEC>, #[doc = "0x04 - Control Register"] pub icm_ctrl: crate::Reg<icm_ctrl::ICM_CTRL_SPEC>, #[doc = "0x08 - Status Register"] pub icm_sr: crate::Reg...
32,592
https://github.com/getsentry/sentry-symfony/blob/master/tests/End2End/End2EndTest.php
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
sentry-symfony
getsentry
PHP
Code
545
2,665
<?php declare(strict_types=1); namespace Sentry\SentryBundle\Tests\End2End; use Sentry\SentryBundle\Tests\End2End\App\Kernel; use Sentry\State\HubInterface; use Symfony\Bundle\FrameworkBundle\Client; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Bundle\FrameworkBundle\KernelBrowser; use Symfony...
20,669
https://github.com/abraakie/search-guard/blob/master/src/main/java/com/floragunn/searchguard/privileges/DlsFlsEvaluator.java
Github Open Source
Open Source
Apache-2.0
null
search-guard
abraakie
Java
Code
566
2,313
/* * Copyright 2015-2018 floragunn 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 ag...
37,692
https://github.com/wyona/yanel/blob/master/src/core/java/org/wyona/yanel/core/workflow/Action.java
Github Open Source
Open Source
Apache-2.0
2,022
yanel
wyona
Java
Code
184
355
/* * Copyright 2006 Wyona * * 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.wyona.org/licenses/APACHE-LICENSE-2.0 * * Unless required by applicable law or agree...
42,365
https://github.com/askmetoo/warehouse.ai/blob/master/lib/preboots/spec.js
Github Open Source
Open Source
MIT
2,019
warehouse.ai
askmetoo
JavaScript
Code
508
1,100
const url = require('url'); /** * * @param {slay.App} app - the global app instance * @param {Object} opts - for extra configurability * @param {function} done - continuation when preboot is finished * @returns {undefined} * * Attaches the spec helpers to the `app` instance as `app.spec`. */ module.exports = f...
39,227
https://github.com/kubamarchwicki/openapi-diff/blob/master/maven/src/main/java/org/openapitools/openapidiff/maven/BackwardIncompatibilityException.java
Github Open Source
Open Source
Apache-2.0
2,022
openapi-diff
kubamarchwicki
Java
Code
16
74
package org.openapitools.openapidiff.maven; import org.apache.maven.plugin.MojoFailureException; class BackwardIncompatibilityException extends MojoFailureException { public BackwardIncompatibilityException(String message) { super(message); } }
50,425
https://github.com/EthanThatOneKid/alarm-clock/blob/master/Alarm Clock 4 directions.bas
Github Open Source
Open Source
MIT
null
alarm-clock
EthanThatOneKid
Visual Basic
Code
375
1,213
' _FULLSCREEN _TITLE "Alarm Clock 4 Directions" DIM ROWS(4, 30) AS STRING DIM ALARM_SETTINGS(4) AS INTEGER DIM TIME_DIGITS(4) AS INTEGER DIM GIMME_PATH AS STRING DIM GIMME_CHAR AS STRING DIM GIMME_LINE AS STRING DIM ALIGN_OFFSET AS STRING ' LOAD ALARM SETTINGS ALIGN_OFFSET = " " IF _FILEEXI...
7,591
https://github.com/sogoservices/nexploit-cli/blob/master/src/Scan/Breakpoint.ts
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,020
nexploit-cli
sogoservices
TypeScript
Code
59
199
import { CountIssuesBySeverity } from './Scans'; export abstract class Breakpoint { protected abstract breakOn(stat?: CountIssuesBySeverity): never | void; protected abstract selectCriterion( stats: CountIssuesBySeverity[] ): CountIssuesBySeverity | undefined; public async execute( statsIssuesCategor...
19,041
https://github.com/KobeAndLebron/sqlalchemy-greenplum/blob/master/sqlalchemy_greenplum/requirements.py
Github Open Source
Open Source
BSD-3-Clause
2,018
sqlalchemy-greenplum
KobeAndLebron
Python
Code
740
2,626
import sys from sqlalchemy import util from sqlalchemy.testing.requirements import SuiteRequirements from sqlalchemy.testing import exclusions from sqlalchemy.testing.exclusions import \ skip, \ skip_if,\ only_if,\ only_on,\ fails_on_everything_except,\ fails_on,\ fails_if,\ suc...
33,191
https://github.com/iwanovich/20468D/blob/master/Allfiles/Mod09/Democode/03_GridExample_end/GridExample/Views/Chess/Index.cshtml
Github Open Source
Open Source
MIT
2,022
20468D
iwanovich
C#
Code
122
627
@model IEnumerable<GridExample.Models.Game> @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> <link href="~/node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet" /> <link href="~/css/style.css" rel="stylesheet" ...
44,024
https://github.com/shabbychef/docker-vim-conque/blob/master/vimrc
Github Open Source
Open Source
MIT
2,015
docker-vim-conque
shabbychef
Vim Script
Code
246
964
" * Tue Dec 29 2015 08:48:11 PM Steven E. Pav shabbychef@gmail.com " " demo vimrc for conque " " basic stuff"{{{ set splitbelow set splitright set showcmd set showmatch set showmode set shell=bash set lazyredraw set ttyfast set nocompatible set modeline set modelines=1 "}}} " for conque:"{{{ let g:ConqueTerm_ReadUnf...
44,974
https://github.com/humlab-sead/sead_bugs_import/blob/master/src/main/java/se/sead/bugsimport/mcr/BirmBeetleToMCRMapper.java
Github Open Source
Open Source
MIT
2,022
sead_bugs_import
humlab-sead
Java
Code
47
310
package se.sead.bugsimport.mcr; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import se.sead.bugs.AccessDatabaseProvider; import se.sead.bugsimport.BugsSeadMapper; import se.sead.bugsimport.mcr.bugsmodel.BirmBeetleDat; import se.sead.bugsimport.mcr.bugs...
17,863
https://github.com/Raoul1996/vux/blob/master/src/demos/LoadMore.vue
Github Open Source
Open Source
MIT
2,018
vux
Raoul1996
Vue
Code
38
182
<template> <div> <load-more :tip="$t('正在加载')"></load-more> <load-more :show-loading="false" :tip="$t('暂无数据')" background-color="#fbf9fe"></load-more> <load-more :show-loading="false" background-color="#fbf9fe"></load-more> </div> </template> <i18n> 正在加载: en: Loading 暂无数据: en: The End </i18n> <scri...
43,245
https://github.com/Joimer/Monjarmageddon-Code/blob/master/Enemies/Monster/IEnemyEntity.cs
Github Open Source
Open Source
BSD-3-Clause
null
Monjarmageddon-Code
Joimer
C#
Code
9
27
public interface IEnemyEntity { string GetUid(); bool IsActive(); }
18,360
https://github.com/clafonta/canyon/blob/master/src/service/org/tll/canyon/service/AssetAttributeManager.java
Github Open Source
Open Source
Apache-2.0
2,016
canyon
clafonta
Java
Code
92
227
package org.tll.canyon.service; import java.util.List; import org.tll.canyon.model.AssetAttribute; public interface AssetAttributeManager extends Manager { /** * Retrieves all of the assetAttributes */ public List<AssetAttribute> getAssetAttributes(AssetAttribute assetAttribute); /** * ...
24,279
https://github.com/cosmicraccoon/competitive-programming-sites/blob/master/C++/HackerRank/bowling-pins/src/main.cpp
Github Open Source
Open Source
MIT
2,022
competitive-programming-sites
cosmicraccoon
C++
Code
33
89
#include <iostream> #include <sstream> #include <string_view> #include <vector> using namespace std; string isWinning(int n, string config); int main() { return 0; } string isWinning(int n, string config) { string out; return out; }
43,601
https://github.com/jdoiwork/TryFastAPI/blob/master/src/services/__init__.py
Github Open Source
Open Source
MIT
null
TryFastAPI
jdoiwork
Python
Code
21
61
# pyright: strict, reportUnusedImport=false from services.db_service import DbService from services.users_service import UsersService class Service: def __init__(self, db: DbService): self.db = db
11,423
https://github.com/HurleyWong/RTFSC-JDK/blob/master/src/src/sun/util/resources/cldr/ext/CurrencyNames_am.java
Github Open Source
Open Source
MIT
null
RTFSC-JDK
HurleyWong
Java
Code
2,020
10,349
/* * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
8,392
https://github.com/FlippingBinary/wqxlib-python/blob/master/wqxlib/wqx_v3_0/ResultLabInformation.py
Github Open Source
Open Source
MIT
null
wqxlib-python
FlippingBinary
Python
Code
806
3,181
from typing import List, Union from yattag import Doc from .DetectionQuantitationLimit import DetectionQuantitationLimit from .SimpleContent import ( AnalysisEndDate, AnalysisStartDate, LaboratoryAccreditationAuthorityName, LaboratoryAccreditationIndicator, LaboratoryCommentText, LaboratoryNam...
12,554
https://github.com/StudyDaedalus/ChatterBeta/blob/master/app/src/main/java/com/blessingsoftware/chatterbeta/Activity/SignUpActivity.java
Github Open Source
Open Source
Apache-2.0
null
ChatterBeta
StudyDaedalus
Java
Code
148
948
package com.blessingsoftware.chatterbeta.Activity; import android.app.Activity; import android.app.ActivityManager; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.Button; import and...
9,681
https://github.com/mobiemr/fhircore/blob/master/android/anc/src/test/java/org/smartregister/fhircore/anc/ui/login/LoginActivityTest.kt
Github Open Source
Open Source
Apache-2.0
null
fhircore
mobiemr
Kotlin
Code
173
536
/* * Copyright 2021 Ona Systems, 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,812
https://github.com/NightOfTwelve/iOS-Cracked-Apps/blob/master/DumpedClasses/iQiYiPhoneVideo/QYLoginTextField.h
Github Open Source
Open Source
MIT
2,018
iOS-Cracked-Apps
NightOfTwelve
Objective-C
Code
72
276
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 5 2017 23:13:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <UIKit/UITextField.h> @class UIView; @protocol QYLoginTextFieldProtocol><UITextFieldDelegate; @interface QYLoginTextField : U...
15,874
https://github.com/serdar-/navprot_web/blob/master/app/assets/jmol/j2s/java/util/RandomAccess.js
Github Open Source
Open Source
Apache-2.0
2,022
navprot_web
serdar-
JavaScript
Code
1
15
Clazz.declareInterface(java.util,"RandomAccess");
24,761
https://github.com/ard6/Bricking-Bad-Game/blob/master/BrickingBad/src/Main/Main.java
Github Open Source
Open Source
MIT
2,021
Bricking-Bad-Game
ard6
Java
Code
301
1,374
package Main; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextArea; import javax.swing.Timer; import UI.Ga...
26,852
https://github.com/eznew-net/Samples/blob/master/src/api/Modules/Sys/Libraries/EZNEWApp.ModuleConfig.Sys/SysModuleConfiguration.cs
Github Open Source
Open Source
MIT
2,020
Samples
eznew-net
C#
Code
32
173
using EZNEW.Module; using EZNEWApp.Module.Sys; namespace EZNEWApp.ModuleConfig.Sys { public class SysModuleConfiguration : IModuleConfiguration { public void Configure() { //服务注册配置 DependencyInjectionConfiguration.Configure(); //对象映射配置 ObjectMappi...
34,916
https://github.com/Acidburn0zzz/atlassian-fugue/blob/master/fugue-optics/src/main/java/io/atlassian/fugue/optic/std/PairOptics.java
Github Open Source
Open Source
Apache-2.0
2,021
atlassian-fugue
Acidburn0zzz
Java
Code
120
441
package io.atlassian.fugue.optic.std; import io.atlassian.fugue.Pair; import io.atlassian.fugue.optic.Iso; import io.atlassian.fugue.optic.Lens; import io.atlassian.fugue.optic.PLens; import java.util.AbstractMap; import java.util.Map; import static io.atlassian.fugue.Pair.pair; import static io.atlassian.fugue.opti...
39,189
https://github.com/mokhin-denis/InflationCalc/blob/master/InflationCalc.bas
Github Open Source
Open Source
MIT
2,021
InflationCalc
mokhin-denis
FreeBasic
Code
1,590
7,442
Attribute VB_Name = "InflationCalc" 'InflationCalc 'Copyright (c) 2018 Denis Mokhin 'MIT License (see LICENSE for details) Dim ТаблицаИнфляции(1991 To 2021, 1 To 12) As Double Function ИнфляцияЗаПериод(начало As Date, конец As Date) ТаблицаИнфляции(2021, 12) = 0 ТаблицаИнфляции(2021, 11) = 0 ТаблицаИнфляции(...
36,800
https://github.com/Arcade1080/wheelmap-frontend/blob/master/src/components/icons/equipment/escalatorWorkingBig.tsx
Github Open Source
Open Source
MIT
2,022
wheelmap-frontend
Arcade1080
TypeScript
Code
68
342
import React from 'react'; const SvgEscalatorWorkingBig = (props: React.SVGAttributes<{}>) => ( <svg width="1em" height="1em" viewBox="0 0 27 27" {...props}> <g fill="#000" fillRule="nonzero"> <path d="M12.833 12.783v-1.388a1.388 1.388 0 10-2.776 0v4.164l2.776-2.776zM9.57 18.418l.486-10.492a1.388 1.388 0 1...
39,540
https://github.com/BobinMathew/foundations/blob/master/packages/reapit-connect-management/src/components/ui/offices/__stubs__/office-groups.ts
Github Open Source
Open Source
MIT
null
foundations
BobinMathew
TypeScript
Code
62
233
import { OfficeGroupModelPagedResult } from '../../../../types/organisations-schema' export const data: OfficeGroupModelPagedResult = { _embedded: [ { id: 'string', created: '2019-08-14T12:30:02.0000000Z', modified: '2019-08-14T12:30:02.0000000Z', organisationId: 'string', name: 'st...
23,971
https://github.com/cryst-al/novoline/blob/master/src/net/atq.java
Github Open Source
Open Source
Unlicense
2,022
novoline
cryst-al
Java
Code
27
95
package net; import com.typesafe.config.Config; import com.typesafe.config.ConfigFactory; import com.typesafe.config.ConfigParseOptions; import java.io.Reader; public class atq { public static Config a(Reader var0, ConfigParseOptions var1) { return ConfigFactory.parseReader(var0, var1); } }
19,341
https://github.com/yishii/nRF52_FM_Shield/blob/master/nRF52_MMLPlayer/iodefine.h
Github Open Source
Open Source
Apache-2.0
null
nRF52_FM_Shield
yishii
C
Code
115
399
#ifndef __IODEFINE_H__ #define __IODEFINE_H__ // TODO: Values are just defined. need to confirm with the defines of Arduino PF #define HIGH 1 #define LOW 0 #define OUTPUT 1 #define INPUT 0 #define INPUT_PULLUP 2 #define IO_YMF_RD (24) #define IO_YMF_WR (23) #define IO_YMF_CS (22) #define IO_YMF_ADDR_0 (26) #define IO...
40,955
https://github.com/JetBrains/intellij-community/blob/master/java/java-analysis-impl/src/com/siyeh/ig/style/UnnecessaryCallToStringValueOfInspection.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
592
2,744
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.siyeh.ig.style; import com.intellij.codeInsight.Nullability; import com.intellij.codeInspection.*; import com.intellij.codeInspection.dataFlow.NullabilityUtil; import com.intellij.codeIn...
28,283
https://github.com/jart/cosmopolitan/blob/master/libc/calls/mkstemp.c
Github Open Source
Open Source
ISC
2,023
cosmopolitan
jart
C
Code
405
1,087
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney ...
45,866
https://github.com/JAAlvarado-Montes/POCS/blob/master/src/panoptes/pocs/observatory.py
Github Open Source
Open Source
MIT
null
POCS
JAAlvarado-Montes
Python
Code
2,160
7,111
import os import subprocess from collections import OrderedDict from datetime import datetime from astropy import units as u from astropy.coordinates import get_moon from astropy.coordinates import get_sun from panoptes.pocs.base import PanBase from panoptes.pocs.camera import AbstractCamera from panoptes.pocs.dome i...
36,848
https://github.com/jakubfiala/cloudwatch-logger/blob/master/cloudwatch-logs.js
Github Open Source
Open Source
MIT
2,019
cloudwatch-logger
jakubfiala
JavaScript
Code
31
101
const aws = require('aws-sdk'); const getCloudWatchLogs = ({ accessKeyId, secretAccessKey, region, sessionToken = null }) => new aws.CloudWatchLogs({ apiVersion: '2014-03-28', region, credentials: { accessKeyId, secretAccessKey, sessionToken } }); module.exports = getCloudWatchLogs;
38,446
https://github.com/martell/rust/blob/master/src/test/ui/error-codes/E0558.rs
Github Open Source
Open Source
ECL-2.0, Apache-2.0, MIT-0, MIT
2,019
rust
martell
Rust
Code
11
28
#[export_name] //~^ ERROR E0558 pub fn something() {} fn main() {}
22,987
https://github.com/TrainingByPackt/Java-Fundamentals/blob/master/Lesson07/Exercise27/FindByStringWithGenerics.java
Github Open Source
Open Source
MIT
2,022
Java-Fundamentals
TrainingByPackt
Java
Code
105
323
import java.io.IOException; import java.util.Scanner; import java.util.Vector; public class FindByStringWithGenerics { public static void main (String [] args) throws IOException { Vector<User> users = UsersLoader.loadUsersInVector(args[0]); System.out.printf("Loaded %d users.\n", users.size()); ...
714
https://github.com/modelop/fastscore-sdk/blob/master/scala/fastscore/src/main/scala/com/opendatagroup/fastscore/assets/Schema.scala
Github Open Source
Open Source
Apache-2.0
2,019
fastscore-sdk
modelop
Scala
Code
215
543
package com.opendatagroup.fastscore.assets import com.opendatagroup.fastscore.fleet._ import com.opendatagroup.fastscore.util._ import scala.io.Source import java.io.{File, PrintWriter} /** Schema factory * */ object Schema { /** Create a schema object from file * * @param path schema source path...
48,919
https://github.com/FishInWater-1999/FIWKeepApp/blob/master/BaseLibrary/src/main/java/com/fishinwater/base/rx/BaseActivity.java
Github Open Source
Open Source
MIT
2,020
FIWKeepApp
FishInWater-1999
Java
Code
75
254
package com.fishinwater.base.rx; import android.app.Activity; import android.os.Bundle; import android.renderscript.ScriptGroup; import android.view.View; import androidx.annotation.Nullable; import androidx.databinding.DataBindingUtil; import androidx.databinding.ViewDataBinding; import com.fishinwater.base.R; /**...
33,665
https://github.com/Sachinvishwak/spectra/blob/master/app/Http/Controllers/CustomerController.php
Github Open Source
Open Source
MIT
null
spectra
Sachinvishwak
PHP
Code
781
3,503
<?php namespace App\Http\Controllers; use App\Customer; use Illuminate\Http\Request; use Session; class CustomerController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request $request) { $to_time = ...
4,471
https://github.com/objective-audio/ui/blob/master/ui_sample_common/yas_sample_modifier_text.mm
Github Open Source
Open Source
MIT
2,019
ui
objective-audio
Objective-C++
Code
187
1,021
// // yas_sample_modifier_text.mm // #include "yas_sample_modifier_text.h" #include <cpp_utils/yas_stl_utils.h> using namespace yas; using namespace yas::ui; sample::modifier_text::modifier_text(std::shared_ptr<font_atlas> const &font_atlas, std::shared_ptr<ui::event_manager> co...
48,106
https://github.com/vishna/chips-android/blob/master/notes/src/main/java/com/eyeem/notes/utils/Assets.java
Github Open Source
Open Source
Apache-2.0
null
chips-android
vishna
Java
Code
115
322
package com.eyeem.notes.utils; import android.content.Context; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import rx.Observable; import rx.functions.Func0; /** * Created by vishna on 17/02/15. */ public class Assets { public static O...
21,093
https://github.com/punzki/kotlin/blob/master/nj2k/testData/newJ2k/annotations/annotationDefault.kt
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,020
kotlin
punzki
Kotlin
Code
55
130
import kotlin.reflect.KClass annotation class Ann(val i: Int = 1, val i2: IntArray = [1], val i3: IntArray = [1], val klass: KClass<*> = A::class, val klass2: Array<KClass<*>> = [A::class], val klass3: Array<KClass<*>> = [A::class], val ann: Inner = Inner(), val ann2: Array<Inner> = [Inner()], val ann3: Array<Inner> =...
16,478
https://github.com/brechtcs/abstract-entity/blob/master/index.js
Github Open Source
Open Source
Apache-2.0
null
abstract-entity
brechtcs
JavaScript
Code
181
514
var hyperdb = require('hyperdb') module.exports.createRepository = function (db, opts) { if (db.constructor.name !== 'HyperDB') { db = hyperdb(db, opts) } return class Entity { static get prefix () { return this.name.toLowerCase() } static identify (id) { return `${this.prefix}/${id...
24,564
https://github.com/misto89/PHP-MVC-Framework/blob/master/app/views/index/index.php
Github Open Source
Open Source
Apache-2.0
2,013
PHP-MVC-Framework
misto89
PHP
Code
16
60
<!-- This is the index page view --> <p><?php echo $this->_translator->translate('index.welcome_text'); ?></p> <p><?php echo $this->_translator->translate('index.example_text'); ?></p>
20,462
https://github.com/OndrejVrto/faradetva.sk/blob/master/resources/views/admin/priests/create.blade.php
Github Open Source
Open Source
MIT
null
faradetva.sk
OndrejVrto
PHP
Code
13
106
@extends('admin._layouts.app') @section('title', __('backend-texts.priests.title')) @section('meta_description', __('backend-texts.priests.description_create')) @section('content_breadcrumb') {{ Breadcrumbs::render('priests.create') }} @stop @section('content') @include('admin.priests.form') @endsection
46,579
https://github.com/eiceblue/Free-Spire.PDF-for-.NET/blob/master/VB/14_Page/DeletePage.vb
Github Open Source
Open Source
DOC
null
Free-Spire.PDF-for-.NET
eiceblue
Visual Basic
Code
89
292
Imports System.ComponentModel Imports System.Text Imports Spire.Pdf Namespace DeletePage Partial Public Class Form1 Inherits Form Public Sub New() InitializeComponent() End Sub Private Sub button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles button1.Click 'Load the document from disk ...
4,363
https://github.com/V9S/SpringAll/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,022
SpringAll
V9S
Ignore List
Code
7
31
.settings */target/ */.classpath .project /.metadata/ .classpath .gitignore
34,353
https://github.com/Studi-Guide/Studi-Guide/blob/master/front/src/utils/NativeHttpInterceptor.ts
Github Open Source
Open Source
MIT
2,021
Studi-Guide
Studi-Guide
TypeScript
Code
222
705
import {Injectable, Injector} from '@angular/core'; import {HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpResponse, HttpHeaders} from '@angular/common/http'; import { Observable, from } from 'rxjs'; import { Platform } from '@ionic/angular'; import {HTTP, HTTPResponse} from '@ionic-native/http/ngx'; type H...
12,007
https://github.com/genexuslabs/JavaClasses/blob/master/common/src/main/java/com/genexus/util/IGUIContext.java
Github Open Source
Open Source
Apache-2.0
2,023
JavaClasses
genexuslabs
Java
Code
11
48
package com.genexus.util; public interface IGUIContext { public void msgStatus(String msg); }
7,368
https://github.com/bhsnsrma/Cisco_Python/blob/master/napalm_Day3.py
Github Open Source
Open Source
Apache-2.0
null
Cisco_Python
bhsnsrma
Python
Code
124
344
#!/usr/bin/python3 from napalm import get_network_driver driver=get_network_driver('ios') ##connecting to devicec device=driver('192.168.176.128','root','cisco') print([i for i in dir(device) if 'load' in i]) #open session with device device.open() #merging config #only copy config file to router using scp device.load...
22,474
https://github.com/Zersya/Web_SistemSekolah/blob/master/application/views/header_admin.php
Github Open Source
Open Source
MIT
null
Web_SistemSekolah
Zersya
PHP
Code
31
239
<div id='menu'> <ul> <li><a href='<?php echo base_url('index.php/admin/ke_pendaftar')?>'>Pendaftaran</a></li> <li><a href="<?php echo base_url('index.php/admin/ke_artikel')?>" class='artikel'>Artikel</a></li> <li><a href='<?php echo base_url('index.php/admin/ke_murid')?>'>Murid</a></li> <li><a href='...
8,241
https://github.com/CompassSoftware/xPsp/blob/master/app/services/project-provider/project-provider.svc.ts
Github Open Source
Open Source
Apache-2.0
null
xPsp
CompassSoftware
TypeScript
Code
180
560
import {Injectable} from 'angular2/core'; let PouchDB = require('pouchdb'); @Injectable() export class ProjectProvider { private _db; private _projects; constructor() { this.initDB(); } initDB() { this._db = new PouchDB( 'xpsp-project', {adapter: 'websql', iosDatabaseLocation: 'defaul...
50,835
https://github.com/zqswjtu/Berkeley-CS61B/blob/master/lab3/timingtest/TimeAList.java
Github Open Source
Open Source
Apache-2.0
null
Berkeley-CS61B
zqswjtu
Java
Code
159
495
package timingtest; import edu.princeton.cs.algs4.Stopwatch; /** * Created by hug. */ public class TimeAList { private static void printTimingTable(AList<Integer> Ns, AList<Double> times, AList<Integer> opCounts) { System.out.printf("%12s %12s %12s %12s\n", "N", "time (s)", "# ops", "microsec/op"); ...
39,911
https://github.com/cooldark/project/blob/master/resources/views/default/brands/partials/_area_form.twig
Github Open Source
Open Source
BSD-3-Clause
null
project
cooldark
Twig
Code
190
814
{{ Form.open(form)|raw }} {% if(token) %} {{ Form.token() }} {% endif %} {% for hidden in hiddens %} {{ hidden|raw }} {% endfor %} <div class="col-group"> <div class="col-mb-24"> <fieldset name="inputs"> <div class="col-group"> {% if fieldsets[0].name|length>0 %} ...
23,140
https://github.com/sam1016yu/cicada-exp-sigmod2017/blob/master/foedus_code/foedus-core/src/foedus/assorted/raw_atomics.cpp
Github Open Source
Open Source
Apache-2.0
null
cicada-exp-sigmod2017
sam1016yu
C++
Code
414
1,092
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later versi...
43,580
https://github.com/supertokens/supertokens-node/blob/master/lib/build/recipe/dashboard/api/usersCountGet.d.ts
Github Open Source
Open Source
Apache-2.0
2,023
supertokens-node
supertokens
TypeScript
Code
32
78
// @ts-nocheck import { APIInterface, APIOptions } from "../types"; export declare type Response = { status: "OK"; count: number; }; export default function usersCountGet(_: APIInterface, tenantId: string, __: APIOptions, ___: any): Promise<Response>;
14,672
https://github.com/Boyceman/vue/blob/master/src/routes/MeetingDetail.vue
Github Open Source
Open Source
MIT
2,019
vue
Boyceman
Vue
Code
818
3,295
<template> <div class="MeetingDetail"> <div class="mask" v-if="loading"> <detail-loading></detail-loading> </div> <title-h1 :title="title" :isHistory="false"></title-h1> <div class="block"> <div class="info"> <h2 class="title">{{ detail.title }}</h2> <span class="date">{{ d...
16,561
https://github.com/NerdNumber9/TachiyomiEH/blob/master/app/src/main/java/exh/metadata/sql/models/SearchTag.kt
Github Open Source
Open Source
Apache-2.0
2,021
TachiyomiEH
NerdNumber9
Kotlin
Code
41
90
package exh.metadata.sql.models data class SearchTag( // Tag identifier, unique val id: Long?, // Metadata this tag is attached to val mangaId: Long, // Tag namespace val namespace: String?, // Tag name val name: String, // Tag type va...
31,349
https://github.com/averrunci/Charites/blob/master/Spec/Charites.Spec/Extensions.cs
Github Open Source
Open Source
MIT
null
Charites
averrunci
C#
Code
65
145
// Copyright (C) 2018 Fievus // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Collections.Generic; namespace Charites.Windows.Mvc { internal static class Extensions { public static void ForEach<T>(t...
30,357
https://github.com/Couy69/re-rougelike-game/blob/master/src/assets/config/dungeonsConfig.js
Github Open Source
Open Source
Apache-2.0
null
re-rougelike-game
Couy69
JavaScript
Code
242
944
/** * 挑战怪物属性设置 * @author couy */ export const dungeonsConfig = { data() { return { dungeonsConfig: { // 循环挑战怪物类型设置 loop: { lv1: { name: '循环挑战 lv1', tachie: 'lv1.gif', attr: { MAXHP: 20, CURHP: 20, ATK...
18,620
https://github.com/objective-audio/db/blob/master/db/core/yas_db_value.mm
Github Open Source
Open Source
MIT
null
db
objective-audio
Objective-C++
Code
911
3,292
// // yas_db_value.cpp // #include "yas_db_value.h" #include <cpp_utils/yas_fast_each.h> #include <cpp_utils/yas_stl_utils.h> using namespace yas; using namespace yas::db; #pragma mark - value::data blob::blob() : _vector(), _data(nullptr), _size(0) { } template <> blob::blob(const void *const data, std::size_t ...
26,695
https://github.com/mrBicool/instafood/blob/master/app/Model/OrderSlipDetail.php
Github Open Source
Open Source
MIT
2,019
instafood
mrBicool
PHP
Code
106
479
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; use Sofa\Eloquence\Eloquence; // base trait use Sofa\Eloquence\Mappable; // extension trait use Sofa\Eloquence\Mutable; // extension trait class OrderSlipDetail extends Model { use Eloquence, Mappable, Mutable; // protected $table = 'Or...
21,175
https://github.com/inga-lovinde/EternalArrowBackup/blob/master/Source/ContentTransformer/Contracts/IDecryptionResult.cs
Github Open Source
Open Source
MIT
null
EternalArrowBackup
inga-lovinde
C#
Code
19
55
namespace EternalArrowBackup.ContentTransformer.Contracts { public interface IDecryptionResult { bool IsSuccessful { get; } byte[] Data { get; } } }
1,908
https://github.com/parampavar/chatwoot/blob/master/app/javascript/dashboard/components/ui/Auth/GoogleOAuthButton.vue
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
chatwoot
parampavar
Vue
Code
223
781
<template> <div> <div v-if="showSeparator" class="separator"> OR </div> <a :href="getGoogleAuthUrl()"> <button class="button expanded button__google_login" :class="{ // Explicit checking to ensure no other value is used large: buttonSize === 'large', ...
27,701
https://github.com/mxprshn/homework/blob/master/homework4/file_search/scanFile.h
Github Open Source
Open Source
Apache-2.0
null
homework
mxprshn
C
Code
11
34
#pragma once #include <stdio.h> bool scanFile(FILE *inputFile, int *array, int arrayLength);
42,021
https://github.com/literaturnirazgovori/literaturnirazgovori.github.io/blob/master/utils/node_modules.old/mingo/operators/expression/trignometry/acosh.d.ts
Github Open Source
Open Source
MIT
2,023
literaturnirazgovori.github.io
literaturnirazgovori
TypeScript
Code
20
44
/** Returns the inverse hyperbolic cosine (hyperbolic arc cosine) of a value in radians. */ export declare const $acosh: import("../../../core").ExpressionOperator;
49,488
https://github.com/Sparab16/CreditCardPrediction/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,021
CreditCardPrediction
Sparab16
Ignore List
Code
16
120
.idea __pycache__ Training_DatabaseTraining.db Prediction_DatabasePrediction.db Training_FileFromDB Prediction_FileFromDB Training_Raw_Files_Validated Prediction_Raw_Files_Validated Training_Batch_Files Prediction_Batch_files Prediction_Output_File models K_Means_ElbowPlot Documentation Prediction_Logs Trainin...
6,231
https://github.com/imcuttle/replace-it/blob/master/packages/edam/src/core/plugins/adaptor.ts
Github Open Source
Open Source
MIT
2,021
replace-it
imcuttle
TypeScript
Code
225
748
/** * @file filter * @author Cuttle Cong * @date 2018/3/24 * @description */ import { Edam } from '../../index' import getExtendsMerge from '../../lib/getExtendsMerge' import * as _ from 'lodash' import toArray from '../../lib/toArray' import { Hook, default as TemplateConfig } from '../../types/TemplateConfig' im...
8,417
https://github.com/PEJaffe/epc-standards/blob/master/epc-core/src/main/java/com/nike/epc/model/sscc/Sscc.java
Github Open Source
Open Source
Apache-2.0
2,022
epc-standards
PEJaffe
Java
Code
257
594
/* * Copyright 2018-present, Nike, Inc. * All rights reserved. * * This source code is licensed under the Apache-2.0 license found in * the LICENSE file in the root directory of this source tree. * */ package com.nike.epc.model.sscc; import static com.nike.epc.util.Validation.notNullOrEmpty; public final class...
21,209
https://github.com/Alumunia/Salon-Web-Apps/blob/master/yang udah di revisi/pages/process/update_profile_orang.php
Github Open Source
Open Source
MIT
null
Salon-Web-Apps
Alumunia
PHP
Code
55
224
<?php include '../../koneksi.php'; session_start(); if(empty($_SESSION['id'])) { header("location:../../index.php"); } $id = $_SESSION['id']; $user = $_POST['update_user']; $pass = $_POST['update_pass']; $priv = $_POST['update_priv']; $real = $_POST['update_real']; echo $real." ".$user." ".$pass." ".$p...
1,402
https://github.com/haitongz/code/blob/master/cpp/pthread/lock/rwlock.c
Github Open Source
Open Source
Apache-2.0
null
code
haitongz
C
Code
182
573
#include <pthread.h> #include <signal.h> #include <errno.h> #include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "my_err.h" #define N 5 //No. of reader #define M 5 //No. of reading and writing pthread_rwlock_t lock; //it's mean writer can writing int readCount = 0; void* reader(vo...
50,719
https://github.com/edwardstudy/eirini/blob/master/vendor/code.cloudfoundry.org/goshims/execshim/cmd.go
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,019
eirini
edwardstudy
Go
Code
35
130
package execshim import ( "io" "syscall" ) //go:generate counterfeiter -o exec_fake/fake_cmd.go . Cmd type Cmd interface { Start() error StdoutPipe() (io.ReadCloser, error) StderrPipe() (io.ReadCloser, error) Wait() error Run() error CombinedOutput() ([]byte, error) SysProcAttr() *syscall.SysProcAttr }
9,301
https://github.com/evodicka/go-frame/blob/master/cmd/go-frame-app/api/api_loader.go
Github Open Source
Open Source
MIT
null
go-frame
evodicka
Go
Code
46
227
package api import ( "github.com/gin-gonic/gin" "log" "os" ) var ( WarningLogger *log.Logger InfoLogger *log.Logger ErrorLogger *log.Logger ) func init() { InfoLogger = log.New(os.Stdout, "INFO: ", log.Ldate|log.Ltime|log.Lmsgprefix|log.Lshortfile) WarningLogger = log.New(os.Stdout, "WARN: ", log.Ldate|...
22,125
https://github.com/khirvy019/open-house-2018/blob/master/openhouse1.sql
Github Open Source
Open Source
MIT
2,018
open-house-2018
khirvy019
SQL
Code
14,232
61,454
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Oct 22, 2017 at 09:57 PM -- Server version: 5.7.16-log -- PHP Version: 7.1.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHAR...
45,978
https://github.com/JeanGove/geicar-hmi/blob/master/script/HMI GEI-car_files/commands.js
Github Open Source
Open Source
MIT
null
geicar-hmi
JeanGove
JavaScript
Code
246
641
var speedValue = { linear : { x : 0.0, y : 0.0, z : 0.0 }, angular : { x : 0.0, y : 0.0, z : 0.0 } }; // Define the sensibility of the arrow keys, It increases while pressing for long time var sensibility; function SendMoveCommand(){ var cmdVel = new ROSLIB.Topic({ ros : ros, ...
13,915
https://github.com/intel/intel-iot-refkit/blob/master/meta-flatpak/recipes-flatpak/flatpak-utils/files/flatpak-utils/src/flatpak-session.c
Github Open Source
Open Source
BSD-3-Clause, MIT
2,022
intel-iot-refkit
intel
C
Code
543
1,471
/* * Copyright (c) 2016, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
38,999
https://github.com/debop/debop4k/blob/master/debop4k-spring/src/main/kotlin/debop4k/spring/core/Stylex.kt
Github Open Source
Open Source
Apache-2.0
2,022
debop4k
debop
Kotlin
Code
173
421
/* * Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
9,630
https://github.com/dcarbone/php-fhir-resources/blob/master/src/Clinical/MedicationDispense/FHIRMedicationDispenseDispenseDosage.php
Github Open Source
Open Source
Apache-2.0
2,016
php-fhir-resources
dcarbone
PHP
Code
386
1,424
<?php namespace FHIR\Resources\Clinical\MedicationDispense; use FHIR\Common\AbstractFHIRObject; use FHIR\Elements\Complex\FHIRCodeableConcept; use FHIR\Elements\Complex\FHIRPeriod; use FHIR\Elements\Complex\FHIRQuantity; use FHIR\Elements\Complex\FHIRRatio; use FHIR\Elements\Complex\FHIRSchedule; use FHIR\Elements\Pri...
45,412
https://github.com/nurul-umbhiya/slack-block-kit/blob/master/src/Inputs/Button.php
Github Open Source
Open Source
MIT
2,020
slack-block-kit
nurul-umbhiya
PHP
Code
193
661
<?php declare(strict_types=1); namespace Jeremeamia\Slack\BlockKit\Inputs; use Jeremeamia\Slack\BlockKit\Exception; use Jeremeamia\Slack\BlockKit\Partials\PlainText; class Button extends InputElement { use HasConfirm; private const STYLE_PRIMARY = 'primary'; private const STYLE_DANGER = 'danger'; ...
46,637
https://github.com/jehugaleahsa/RegexUp/blob/master/RegexUp.Tests/BackreferenceTester.cs
Github Open Source
Open Source
Unlicense
null
RegexUp
jehugaleahsa
C#
Code
78
421
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace RegexUp.Tests { [TestClass] public class BackreferenceTester { [TestMethod] public void Backreference_Number() { var regex = RegularExpression.Of( CaptureGroup.Of(Quantifiers.OneOrMore(Literal...
12,382
https://github.com/cclauss/msrest-for-python/blob/master/msrest/pipeline/__init__.py
Github Open Source
Open Source
MIT
2,021
msrest-for-python
cclauss
Python
Code
1,322
3,151
# -------------------------------------------------------------------------- # # Copyright (c) Microsoft Corporation. All rights reserved. # # The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the ""Software""),...
19,422
https://github.com/filecoin-project/slate/blob/master/components/core/ScenePage.js
Github Open Source
Open Source
MIT
2,023
slate
filecoin-project
JavaScript
Code
62
189
import * as React from "react"; import * as Constants from "~/common/constants"; import { css } from "@emotion/react"; const STYLES_SCENE = css` flex-shrink: 0; width: 100%; padding: 32px; display: block; @media (max-width: ${Constants.sizes.mobile}px) { padding: 36px 16px 128px 16px; } `; export co...
21,039
https://github.com/djhaskin987/ml/blob/master/src/SConscript
Github Open Source
Open Source
MIT
2,013
ml
djhaskin987
Python
Code
58
432
debug = Environment() debug.Append(CCFLAGS = ['-O0','-ggdb','-std=c++11','-Werror']) debug.Append(CFLAGS = ['-std=c++11','-Werror']) debug.Append(LINKFLAGS = ['-std=c++11','-Werror']) commonSourceIncludes = ['-Isrc/Util','-Isrc/Toolkit'] Export('debug','commonSourceIncludes') SConscript('Toolkit/SConscript', variant_d...
2,172
https://github.com/mhxbe/userbase/blob/master/cypress/integration/signIn.spec.js
Github Open Source
Open Source
MIT
null
userbase
mhxbe
JavaScript
Code
1,620
5,917
import { getRandomString } from '../support/utils' const TEN_SECONDS = 1000 * 10 const ONE_HOUR = 60 * 60 * 1000 const TWENTY_FOUR_HOURS = 24 * ONE_HOUR const beforeEachHook = function (signUp = true) { cy.visit('./cypress/integration/index.html').then(async function (win) { expect(win).to.have.property('userba...
29,492