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/Oldmansoft/ApplicationLibrary/blob/master/src/Oldmansoft.ApplicationLibrary.WechatOpen/Service/Pay/Data/TransferToBankRequest.cs
Github Open Source
Open Source
Apache-2.0
2,018
ApplicationLibrary
Oldmansoft
C#
Code
118
449
namespace Oldmansoft.ApplicationLibrary.WechatOpen.Service.Pay.Data { /// <summary> /// 企业付款到银行请求 /// </summary> public class TransferToBankRequest : Request { /// <summary> /// 商户号 /// </summary> public string mch_id { get; set; } /// <summary> /// ...
1,389
https://github.com/kagawa23/openui5/blob/master/src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/messagebundle_ca-17269b55.js
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,022
openui5
kagawa23
JavaScript
Code
162
993
sap.ui.define(['exports'], function (exports) { 'use strict'; var messagebundle_ca = { ICON_ACTION_SETTINGS: "Configuració", ICON_ACTIVATE: "Activar", ICON_ADD: "Afegir", ICON_ADD_CONTACT: "Afegir persona de contacte", ICON_ADD_FILTER: "Afegir filtre", ICON_ADD_PHOTO: "Afegir foto", ICON_BACK_TO_TOP: "A...
5,075
https://github.com/fjalvingh/arduino/blob/master/dewcontrol2/lib/SSD1306Ascii/examples/InvertTextSpi/InvertTextSpi.ino
Github Open Source
Open Source
MIT
2,022
arduino
fjalvingh
null
Spoken
102
328
// Demo of invertMode and invertDisplay. #include <SPI.h> #include "SSD1306Ascii.h" #include "SSD1306AsciiSpi.h" // pin definitions #define CS_PIN 7 #define RST_PIN 8 #define DC_PIN 9 SSD1306AsciiSpi oled; //------------------------------------------------------------------------------ void setup() { // Use next ...
41,278
https://github.com/utk-i/dotter/blob/master/js/dotter.js
Github Open Source
Open Source
MIT
null
dotter
utk-i
JavaScript
Code
3,935
10,623
/*! MIT License dotter jQuery plugin - http://webfikri.com/dotter Copyright (c) 2017 Utkan AKTAŞ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
19,161
https://github.com/mark-velez/curation/blob/master/data_steward/constants/cdr_cleaner/clean_cdr.py
Github Open Source
Open Source
MIT
2,020
curation
mark-velez
Python
Code
120
399
from enum import Enum, unique EHR = 'ehr' UNIONED = 'unioned' RDR = 'rdr' COMBINED = 'combined' DEID_BASE = 'deid_base' DEID_CLEAN = 'deid_clean' FITBIT = 'fitbit' PERSON_TABLE_NAME = 'person' # Query dictionary keys QUERY = 'query' LEGACY_SQL = 'use_legacy_sql' DESTINATION_TABLE = 'destination_table_id' RETRY_COUNT...
38,283
https://github.com/maoqide/kubeutil/blob/master/pkg/kube/wrapper/deployment.go
Github Open Source
Open Source
MIT
2,022
kubeutil
maoqide
Go
Code
428
1,427
package wrapper import ( "bytes" "errors" "fmt" "text/template" "github.com/maoqide/kubeutil/pkg/kube" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" ) var deployTemplate = ` apiVersion: apps/v1 kind: Deployment metadata: name: {{.Name}} namespace: {{.Namespace}} labels: app: {{.Name}} spe...
14,652
https://github.com/monti-python/vscode-dbt-power-user/blob/master/src/autocompletion_provider/sourceAutocompletionProvider.ts
Github Open Source
Open Source
MIT
2,022
vscode-dbt-power-user
monti-python
TypeScript
Code
266
1,159
import { CompletionItemProvider, CompletionItem, TextDocument, Position, CancellationToken, CompletionContext, ProviderResult, CompletionList, CompletionItemKind, Uri, Disposable, } from "vscode"; import { isEnclosedWithinCodeBlock, provideSingleton } from "../utils"; import { ManifestCacheChanged...
45,068
https://github.com/sketchbuch/vsc-packages/blob/master/src/treeviews/FolderList/helpers/convertWsFolders.ts
Github Open Source
Open Source
MIT
2,020
vsc-packages
sketchbuch
TypeScript
Code
48
159
import * as vscode from 'vscode'; import { VsCodeWsFolders, WsFolders } from '../FolderList.interface'; export const convertWsFolders = (workspaceFolders: VsCodeWsFolders): WsFolders => { if (workspaceFolders) { return workspaceFolders.reduce((allFolders: WsFolders, curWsFolder: vscode.WorkspaceFolder) => { ...
19,838
https://github.com/Andreas237/AndroidPolicyAutomation/blob/master/ExtractedJars/Health_com.huawei.health/javafiles/android/support/v4/widget/MaterialProgressDrawable.java
Github Open Source
Open Source
MIT
2,019
AndroidPolicyAutomation
Andreas237
Java
Code
6,908
26,509
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package android.support.v4.widget; import android.content.Context; import android.content.res.Resources; import android.graphics.*; import android.graphic...
17,482
https://github.com/analyticservicedev/jena-geo/blob/master/src/test/de/hsmainz/cs/semgis/arqextension/test/unit/MeterToChainTest.java
Github Open Source
Open Source
Apache-2.0
2,021
jena-geo
analyticservicedev
Java
Code
40
206
package de.hsmainz.cs.semgis.arqextension.test.unit; import static org.junit.Assert.assertEquals; import org.apache.jena.sparql.expr.NodeValue; import org.junit.jupiter.api.Test; import de.hsmainz.cs.semgis.arqextension.unit.MeterToChain; public class MeterToChainTest { @Test public void testMeterToChain() { ...
15,612
https://github.com/Aaronyu29/GeekTimeSpringFamily/blob/master/Chapter6/springbucks/src/main/java/aaron/spring/web/springbucks/repository/MyInterface.java
Github Open Source
Open Source
Apache-2.0
null
GeekTimeSpringFamily
Aaronyu29
Java
Code
16
83
package aaron.spring.web.springbucks.repository; import aaron.spring.web.springbucks.model.Coffee; import org.springframework.data.repository.CrudRepository; public interface MyInterface extends CrudRepository<Coffee, Long> { // 接口不能实现接口。 }
12,266
https://github.com/Thiagoyh/ceres-solver_install/blob/master/cmake/FindCXSparse.cmake
Github Open Source
Open Source
BSD-3-Clause
2,022
ceres-solver_install
Thiagoyh
CMake
Code
1,274
3,570
# Ceres Solver - A fast non-linear least squares minimizer # Copyright 2015 Google Inc. All rights reserved. # http://ceres-solver.org/ # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source cod...
24,251
https://github.com/thehung111/visearch-sdk-swift/blob/master/ViSearchSDK/ViSearchSDKTests/ViSearchParamsTests.swift
Github Open Source
Open Source
MIT
2,021
visearch-sdk-swift
thehung111
Swift
Code
97
221
// // ViSearchParamsTests.swift // ViSearchSDK // // Created by Hung on 4/10/16. // Copyright © 2016 Hung. All rights reserved. // import XCTest @testable import ViSearchSDK class ViSearchParamsTests: XCTestCase { override func setUp() { super.setUp() // Put setup code here. This method i...
7,777
https://github.com/patrixr/covid-19/blob/master/webapp/components/DataTable.vue
Github Open Source
Open Source
MIT
null
covid-19
patrixr
Vue
Code
94
458
<template> <el-table class="data-table" :data="data" :default-sort = "{prop: 'confirmed', order: 'descending'}" :row-class-name="tableRowClassName" height="600"> <el-table-column prop="country" label="Country" sortable width="140"> </el-table-column> <el-table...
3,173
https://github.com/OsziiRk/BigData/blob/master/Practicas_Tareas/practice3.scala
Github Open Source
Open Source
Apache-2.0
2,020
BigData
OsziiRk
Scala
Code
174
594
import org.apache.spark.ml.Pipeline import org.apache.spark.ml.classification.DecisionTreeClassificationModel import org.apache.spark.ml.classification.DecisionTreeClassifier import org.apache.spark.ml.evaluation.MulticlassClassificationEvaluator import org.apache.spark.ml.feature.{IndexToString, StringIndexer, VectorI...
30,179
https://github.com/lightdark234/DDKCORE/blob/master/api/middleware/socket/index.ts
Github Open Source
Open Source
MIT
2,021
DDKCORE
lightdark234
TypeScript
Code
402
1,369
import { RPC_METHODS } from 'api/middleware/rpcHolder'; import { Message, MessageType } from 'shared/model/message'; import { MESSAGE_CHANNEL } from 'shared/driver/socket/channels'; import { SOCKET_TIMEOUT_MS } from 'shared/config/socket'; import coreSocketClient from 'api/socket/client'; import { ResponseEntity } from...
29,567
https://github.com/ohAitch/orb/blob/master/doc/dot/walk/directory.dot
Github Open Source
Open Source
MIT
2,018
orb
ohAitch
Graphviz (DOT)
Code
1,319
4,882
digraph lpegNode { node [fontname=Helvetica] edge [style=dashed] doc_0 [label="doc - 208"] doc_0 -> { section_1} {rank=same; section_1} section_1 [label="section: 1-79"] // END RANK doc_0 section_1 -> { header_2 prose_3 prose_4 codeblock_5 codeblock_6 codeblock_7 section_8 section_9 section_10 section_11} {rank...
29,237
https://github.com/TimPietrusky/timpietrusky.com/blob/master/themes/timpietrusky/src/sass/core/_base.scss
Github Open Source
Open Source
MIT
2,017
timpietrusky.com
TimPietrusky
SCSS
Code
450
1,466
* { margin: 0; padding: 0; box-sizing: border-box; } :root { font-size: 18px; } html, body { font-size: 1rem; line-height: 1.65; // System fonts font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue...
19,855
https://github.com/sampayo/alfred-workflow-randomeverything/blob/master/src/alfredConfiguration.js
Github Open Source
Open Source
MIT
2,022
alfred-workflow-randomeverything
sampayo
JavaScript
Code
107
384
import alfy from "alfy"; import constants from "./constants.js"; import { valueToDates } from "./utils.js"; const { config: CONFIG } = constants; const stringToBoolean = (v) => v === "true"; const run = (args = "") => { const [key, value1, value2] = args.split("-"); const number = value1 && /^\d+$/.test(value...
35,114
https://github.com/osingla/RouteView/blob/master/dojo-release-1.16.3/dojox/widget/Wizard.js
Github Open Source
Open Source
BSD-3-Clause, AFL-2.1
2,023
RouteView
osingla
JavaScript
Code
96
1,064
//>>built require({cache:{"url:dojox/widget/Wizard/Wizard.html":"<div class=\"dojoxWizard\" dojoAttachPoint=\"wizardNode\">\n <div class=\"dojoxWizardContainer\" dojoAttachPoint=\"containerNode\"></div>\n <div class=\"dojoxWizardButtons\" dojoAttachPoint=\"wizardNav\">\n <button dojoType=\"dijit.form.Butto...
3,987
https://github.com/kuhnza/thundr-contrib-angular-tags/blob/master/src/main/resources/META-INF/tags/route.tag
Github Open Source
Open Source
Apache-2.0
2,015
thundr-contrib-angular-tags
kuhnza
null
Spoken
208
592
<%-- This file is a component of thundr, a software library from 3wks. Read more: http://www.3wks.com.au/thundr Copyright (C) 2013 3wks, <thundr@3wks.com.au> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may...
20,720
https://github.com/tonysanna/laravel-model-controller/blob/master/resources/views/home.blade.php
Github Open Source
Open Source
MIT
null
laravel-model-controller
tonysanna
PHP
Code
17
95
@extends('layouts.app') @section('production') @foreach ($films as $film) <div class="card"> <div class="title"> <h1>{{$film['title']}}</h1> </div> <p>exit: {{$film['date']}}</p> </div> @endforeach @endsection
52,541
https://github.com/SZLSP/reid2020NAIC/blob/master/projects/faceid/facebaseline/casia_webface.py
Github Open Source
Open Source
Apache-2.0
2,021
reid2020NAIC
SZLSP
Python
Code
83
336
# encoding: utf-8 """ @author: xingyu liao @contact: liaoxingyu5@jd.com """ import os from fastreid.data.datasets import DATASET_REGISTRY @DATASET_REGISTRY.register() class CASIAWebFace(object): dataset_dir = 'CASIA-WebFace' dataset_name = "casia_webface" def __init__(self, root='datasets', **kwargs):...
26,003
https://github.com/yagoSegura/codePages/blob/master/hackerRank/competitions/euler/euler#1Mult3Or5/scala/SumMult35Match.scala
Github Open Source
Open Source
MIT
null
codePages
yagoSegura
Scala
Code
59
208
import scala.io.StdIn object SumMult35Match extends App{ def sumValues(topValue:Int):Int = { def performSum(actualValue:Int,acc:Int):Int = { actualValue match{ case `topValue` => acc case _ =>{ if(actualValue % 3 == 0 || actualValue % 5 == 0){ performSum(actualValu...
34,601
https://github.com/araobp/unity-excavator/blob/master/BasicClassicalPhysics/Assets/Pendulum/SinglePendulum.cs
Github Open Source
Open Source
Apache-2.0
2,022
unity-excavator
araobp
C#
Code
190
722
using System.Collections; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class SinglePendulum : MonoBehaviour { Text textLength; Text textAngle; Text textSpeed; Text textPeriod; Rigidbody rb; float prevSpeed; float prevTurnAroundTime; float currentT...
7,224
https://github.com/CAFDataProcessing/policy-server/blob/master/Testing/src/test/java/com/github/cafdataprocessing/corepolicy/TestHelper.java
Github Open Source
Open Source
Apache-2.0
null
policy-server
CAFDataProcessing
Java
Code
370
930
/* * Copyright 2015-2018 Micro Focus or one of its affiliates. * * 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...
45,562
https://github.com/bame1506/rootbeer1/blob/master/src/org/trifort/rootbeer/generate/opencl/body/MonitorGroups.java
Github Open Source
Open Source
MIT
2,018
rootbeer1
bame1506
Java
Code
302
1,174
/* * Copyright 2012 Phil Pratt-Szeliga and other contributors * http://chirrup.org/ * * See the file LICENSE for copying permission. */ package org.trifort.rootbeer.generate.opencl.body; import java.util.ArrayList; import java.util.Iterator ; import java.util.List ; import java.util.Stack ; import soot.B...
10,366
https://github.com/apognu/defcon/blob/master/src/model/specs/http/spec.rs
Github Open Source
Open Source
MIT
2,022
defcon
apognu
Rust
Code
251
897
use std::collections::HashMap; use anyhow::Result; use sqlx::{FromRow, MySqlConnection}; use crate::model::{ specs::{http::HttpHeaders, SpecMeta}, Check, Duration, }; #[derive(Debug, FromRow, Serialize, Deserialize)] pub struct Http { #[serde(skip)] pub id: u64, #[serde(skip)] pub check_id: u64, pub ur...
16,014
https://github.com/shift-eleven/Doraemon/blob/master/Doraemon.Data/Models/Moderation/ModmailMessage.cs
Github Open Source
Open Source
MIT
null
Doraemon
shift-eleven
C#
Code
64
215
using System.ComponentModel.DataAnnotations.Schema; using Disqord; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Doraemon.Data.Models.Moderation { public class ModmailMessage { [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public ...
7,873
https://github.com/googleapis/google-cloud-go/blob/master/run/apiv2/jobs_client.go
Github Open Source
Open Source
Apache-2.0
2,023
google-cloud-go
googleapis
Go
Code
7,744
23,398
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
5,359
https://github.com/mlehotsky13/camunda-bpm-platform/blob/master/engine/src/main/java/org/camunda/bpm/engine/impl/cmmn/cmd/UpdateCaseDefinitionHistoryTimeToLiveCmd.java
Github Open Source
Open Source
Apache-2.0
2,022
camunda-bpm-platform
mlehotsky13
Java
Code
253
872
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
21,780
https://github.com/S2-group/mobilesoft-2020-iam-replication-package/blob/master/dataset/Top APKs Java Files/com.lucktastic.scratch-com-tremorvideo-sdk-android-videoad-ad.java
Github Open Source
Open Source
MIT
2,020
mobilesoft-2020-iam-replication-package
S2-group
Java
Code
2,979
9,557
package com.tremorvideo.sdk.android.videoad; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferen...
44,424
https://github.com/HT2-Labs/react-components/blob/master/src/cards/CardHeroText.tsx
Github Open Source
Open Source
MIT
2,019
react-components
HT2-Labs
TypeScript
Code
48
141
import styled from '../utils/mural-styled-components'; const CardHeroText = styled.div` display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 12px 20px; height: 100%; &:hover { ${(props) => props.onClick !== undefined ? 'cursor: pointer' : ''}; ${(props) =>...
48,121
https://github.com/gelbehexe/debbie-vuex-i18n/blob/master/src/lib/plugin.js
Github Open Source
Open Source
MIT
null
debbie-vuex-i18n
gelbehexe
JavaScript
Code
222
636
import { nextTick } from "vue" import initializeTranslation from "./initializeTranslation" import useLocalizationContextLoader from "./useLocalizationContextLoader" /** * @typedef {{}} VuexTranslationOptions * @property {Store} store * @property {ContextualLanguageLoader} [languageLoader] * @param {LocalizationLoc...
43,035
https://github.com/cobi-bike/Module-Grid/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,018
Module-Grid
cobi-bike
Dockerfile
Code
27
69
FROM node:carbon-alpine # Create app directory WORKDIR /usr/src/app ENV PORT=3000 COPY package.json . RUN npm install --production COPY . . EXPOSE 3000 CMD [ "npm", "start" ]
9,628
https://github.com/peacemakr-io/peacemakr-go-sdk/blob/master/pkg/tools/encryptor.go
Github Open Source
Open Source
Apache-2.0
2,020
peacemakr-go-sdk
peacemakr-io
Go
Code
400
1,452
package tools import ( "errors" "log" "os" "reflect" "unsafe" "github.com/google/uuid" peacemakr_go_sdk "github.com/peacemakr-io/peacemakr-go-sdk/pkg" "github.com/peacemakr-io/peacemakr-go-sdk/pkg/utils" "github.com/spf13/viper" ) type EncryptorConfig struct { ApiKey string `mapstructure:"api_key"` C...
47,911
https://github.com/loilo/livy/blob/master/packages/memory-usage-processor/src/memory-usage-processor.ts
Github Open Source
Open Source
MIT
2,022
livy
loilo
TypeScript
Code
376
770
import { LogRecord } from '@livy/contracts/lib/log-record' import { ProcessorInterface } from '@livy/contracts/lib/processor-interface' /** * Injects memory usage into record.extra */ export class MemoryUsageProcessor implements ProcessorInterface { protected humanReadable: boolean /** * @param humanReadable...
44,511
https://github.com/captainwasi123/gocentrasia/blob/master/application/application/models/Constant_model.php
Github Open Source
Open Source
MIT
null
gocentrasia
captainwasi123
PHP
Code
814
4,684
<?php class Constant_model extends CI_Model { // Insert Data from Any Table; public function insert_alltable($table_name,$data) { return $this->db->insert("$table_name", $data); } // Get Data from Any Table; public function get_alltable($table_name) { $this->db->from($table_name); $query = $this->db...
53,281
https://github.com/seb-m/hiredis_gcd/blob/master/libdispatch.h
Github Open Source
Open Source
MIT
2,012
hiredis_gcd
seb-m
C
Code
259
1,035
#ifndef __HIREDIS_LIBDISPATCH_H__ #define __HIREDIS_LIBDISPATCH_H__ #include <dispatch/dispatch.h> #include "../hiredis.h" #include "../async.h" typedef struct redisLibdispatchEvents { redisAsyncContext *context; int reading, writing; dispatch_source_t rev, wev; } redisLibdispatchEvents; static void r...
24,752
https://github.com/bboylin/Pigeon/blob/master/pigeon-core/src/main/java/xyz/bboylin/pigeon/core/SchemeManager.java
Github Open Source
Open Source
Apache-2.0
2,021
Pigeon
bboylin
Java
Code
295
915
package xyz.bboylin.pigeon.core; import android.content.Context; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.util.HashMap; import java.util.Map; import xyz.bboylin.pigeon.utils.PigeonLog; /** * Created by bboylin on 2019/2/13. */ public class SchemeManager { ...
14,934
https://github.com/disonek/basic-conan-template/blob/master/conanfile.py
Github Open Source
Open Source
Unlicense
2,021
basic-conan-template
disonek
Python
Code
26
95
from conans import ConanFile, CMake class ConanPackage(ConanFile): name = 'network-monitor' version = "0.1.0" generators = 'cmake_find_package' requires = [ ('boost/1.74.0'), ] default_options = ( 'boost:shared=False', )
33,541
https://github.com/mosesnyota/Mpesa-and-Bank-Agents-Management-System/blob/master/save_updated_account.php
Github Open Source
Open Source
MIT
null
Mpesa-and-Bank-Agents-Management-System
mosesnyota
PHP
Code
55
222
<?php $accntinfo = $_POST['accntinfo']; $accntname = $_POST['accntname']; $otherinfo = $_POST["otherinfo"]; $id = $_POST["id"]; include('dao/connect.php'); $statement = "UPDATE `accounts` SET `account_type` = '$accntinfo', `account_name` = '$accntname', `other_info` = '$otherinfo' WHERE `accnt_id` = '$id'"; $r...
5,600
https://github.com/KenHundley/aws-sdk-net/blob/master/sdk/src/Services/ECS/Generated/Model/ExecuteCommandResponse.cs
Github Open Source
Open Source
Apache-2.0
null
aws-sdk-net
KenHundley
C#
Code
525
1,105
/* * Copyright Amazon.com, Inc. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
22,564
https://github.com/hatem-mohamed-elsheref/shefoo-tk/blob/master/app/Models/Admin.php
Github Open Source
Open Source
MIT
null
shefoo-tk
hatem-mohamed-elsheref
PHP
Code
23
87
<?php namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; class Admin extends Authenticatable { protected $guarded=[]; protected $table='admins'; public function adminGroup(){ return $this->belongsTo(Group::class,'group','id'); } }
33,133
https://github.com/cuong0993/Foundation/blob/master/src/Foundation/Features/MyOrganization/Orders/OrdersPageViewModel.cs
Github Open Source
Open Source
Apache-2.0
2,022
Foundation
cuong0993
C#
Code
29
85
using Foundation.Features.Shared; using System.Collections.Generic; namespace Foundation.Features.MyOrganization.Orders { public class OrdersPageViewModel : ContentViewModel<OrdersPage> { public List<OrderOrganizationViewModel> OrdersOrganization { get; set; } public string OrderDetailsPageUrl...
48,117
https://github.com/startplanting/base-wp/blob/master/web/app/themes/pro/cornerstone/includes/views/svg/logo-flat-content.php
Github Open Source
Open Source
MIT
null
base-wp
startplanting
PHP
Code
113
2,021
<svg class="cs-custom-icon" width="100%" height="100%" viewBox="0 0 345 232" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"> <g transform="matrix(1,0,0,1,-3343...
50,943
https://github.com/Ejimba/wp-react-lib/blob/master/wp-content/plugins/wp-multilang/includes/admin/settings/class-wpm-settings-page.php
Github Open Source
Open Source
Apache-2.0
2,021
wp-react-lib
Ejimba
PHP
Code
375
1,032
<?php /** * WP Multilang Settings Page/Tab * * @category Admin * @package WPM/Admin */ namespace WPM\Includes\Admin\Settings; use WPM\Includes\Admin\WPM_Admin_Settings; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * WPM_Settings_Page. */ abstract class WPM_Settings_Page { ...
43,380
https://github.com/gischina/geotrellis/blob/master/engine-test/src/test/scala/geotrellis/engine/SimpleOpSyntaxSpec.scala
Github Open Source
Open Source
Apache-2.0
2,016
geotrellis
gischina
Scala
Code
614
1,441
/* * Copyright (c) 2014 Azavea. * * 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 i...
30,018
https://github.com/Poornakiruthika/Test/blob/master/Bedrocket/boxxspring/deleteauthors.js
Github Open Source
Open Source
MIT
null
Test
Poornakiruthika
JavaScript
Code
817
2,737
var xlsx = require ('xlsx'); var fs = require ('fs'); var Excel = require ('exceljs'); var workbook1 = new Excel.Workbook(); if ( typeof require !== 'undefined' ) XLSX = require ( 'xlsx' ); var workbook = XLSX.readFile('boxxspring.xlsx', { cellStyles: true } ); var worksheet = workbook.Sheets [ 'deleteauthors' ]; var a...
7,173
https://github.com/fast01/chaosframework/blob/master/chaos/common/bson/platform/random.h
Github Open Source
Open Source
Apache-2.0
2,014
chaosframework
fast01
C++
Code
255
638
// random.h /* Copyright 2012 10gen 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 appli...
7,322
https://github.com/Ryan-fm/green-hand/blob/master/第二章-树结构/leetcode1806.js
Github Open Source
Open Source
MIT
2,021
green-hand
Ryan-fm
JavaScript
Code
57
207
/*输入两棵二叉树A和B,判断B是不是A的子结构。(约定空树不是任意一个树的子结构) B是A的子结构, 即 A中有出现和B相同的结构和节点值 输入:A = [1,2,3], B = [3,1] 输出:false 。*/ /** * Definition for a binary tree node. * function TreeNode(val) { * this.val = val; * this.left = this.right = null; * } */ /** * @param {TreeNode} A * @param {TreeNode} B * @return {boole...
37,831
https://github.com/tfinjs/tfinjs/blob/master/api/src/helpers/index.js
Github Open Source
Open Source
MIT
2,019
tfinjs
tfinjs
JavaScript
Code
191
430
import assert from 'assert'; import Resource from '../Resource'; import createTerraformStringInterpolation from '../statics/createTerraformStringInterpolation'; import { TERRAFORM_OUTPUT_PREFIX } from '../constants'; /** * Factory function to a function where the returned function takes a resource and returns the ver...
20,894
https://github.com/bloxbean/aion4j-idea-plugin/blob/master/Jenkinsfile
Github Open Source
Open Source
MIT
2,019
aion4j-idea-plugin
bloxbean
Groovy
Code
46
157
pipeline { agent any parameters { choice( choices: ['BUILD_ONLY' , 'RELEASE'], description: '', name: 'BUILD_TYPE') } tools { //gradle 'Gradle 5.6.2' jdk 'jdk-10' } stages { stage('Build') { steps { ...
38,280
https://github.com/taeroi/RxSwiftStudy/blob/master/main/Subjects/Relay.playground/Contents.swift
Github Open Source
Open Source
MIT
2,021
RxSwiftStudy
taeroi
Swift
Code
300
748
// // Copyright (c) 2019 KxCoding <kky0317@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, ...
3,182
https://github.com/knrk/tbdi-web-template/blob/master/src/theme/page.php
Github Open Source
Open Source
MIT
null
tbdi-web-template
knrk
PHP
Code
29
88
<?php get_header(); ?> <header></header> <main role="main"> <?php // Start the loop. while ( have_posts() ) : the_post(); the_content(); // End of the loop. endwhile; ?> </main> <?php get_footer(); ?>
52,656
https://github.com/tex2e/unixtime2datetime/blob/master/main.js
Github Open Source
Open Source
MIT
null
unixtime2datetime
tex2e
JavaScript
Code
177
559
window.onload = function () { // --- Setup Converter --- const auditlog_input = document.querySelector("#auditlog_input"); const auditlog_output = document.querySelector("#auditlog_output"); // Show example. auditlog_input.innerText = '1560000000'; unixtime2datetime(); // Emit event when i...
409
https://github.com/0x19/neviovesic.com/blob/master/public/sass/_mixins.scss
Github Open Source
Open Source
MIT
2,016
neviovesic.com
0x19
SCSS
Code
59
241
@mixin weight($size){ font-weight: $size; } @mixin text-line($size, $color, $display: none) { i, span, strong{ border-bottom:2px $color solid; width:$size; } @if $display != none { i, span, strong { display: $display; } } } @mixin background-home($background_size: cover) { background-image: url('....
13,720
https://github.com/smilligan93/ghost-hunters-almanac/blob/master/src/components/MapBrowser.tsx
Github Open Source
Open Source
MIT
null
ghost-hunters-almanac
smilligan93
TypeScript
Code
79
232
import React from 'react'; import {SharedState} from "../lib"; import {GameMap} from "../types/Map"; import {useSharedState} from "../hooks"; import {Box, Select} from "grommet"; import {Maps} from "../game/Maps"; import {MapInfo} from "./MapInfo"; type Props = { mapSharedState: SharedState<GameMap | undefined>; }...
47,046
https://github.com/bbxyard/bbxyard/blob/master/bin/git-export-sub.sh
Github Open Source
Open Source
Apache-2.0
2,020
bbxyard
bbxyard
Shell
Code
141
591
#!/bin/bash # # 同步导出到子项目 # # 根路径 PROJ_ROOT_HOME=$(pushd $(dirname $0)/../ >/dev/null; pwd; popd >/dev/null); echo "PROJ_ROOT_HOME=$PROJ_ROOT_HOME" WBOX_REPO=git@github.com:bbxyard/wbox WBOX_LOCAL=/tmp/wbox_local function verify_empty_dir() { if [ -d "$1" ]; then rm -rvf "$1" fi mkdir -p "$1" } f...
26,329
https://github.com/OmarGP/Python1/blob/master/Secuencia_de_Ejercicio01/Ejercicio E.py
Github Open Source
Open Source
Apache-2.0
null
Python1
OmarGP
Python
Code
159
324
import random numero = random.randint(1, 100) intentos = 0 #E1. Pregunta un número al operador y muestra el mensaje los siguientes mensajes: while True: num = int(input(f"Dime un número entre el 1 y el 100:\r\n")) intentos += 1 #Correcto si el valor coincide con el contenido en la variable numero if (num ...
303
https://github.com/blackout-games/rugby/blob/master/app/mixins/full-height.js
Github Open Source
Open Source
FSFAP
2,015
rugby
blackout-games
JavaScript
Code
39
209
import Ember from 'ember'; export default Ember.Mixin.create({ setupComponent: Ember.on('didInsertElement', function() { this.adjustFullHeight(); this.adjustFullHeightBound = Ember.run.bind(this, this.adjustFullHeight); Ember.$(window).on('resize', this.adjustFullHeightBound); }), ...
11,475
https://github.com/contolini/hubot-scripts/blob/master/src/scripts/9gag.coffee
Github Open Source
Open Source
MIT
2,016
hubot-scripts
contolini
CoffeeScript
Code
251
825
# Description: # None # # Dependencies: # "htmlparser": "1.7.6" # "soupselect": "0.2.0" # # Configuration: # HUBOT_9GAG_NO_GIFS (optional, skips GIFs if defined; default is undefined) # # Commands: # hubot 9gag me - Returns a random meme image # # Author: # EnriqueVidal # # Contributors: # dedeibel (gif ...
29,340
https://github.com/AhmedAZafar/blockly/blob/master/appengine/maze/generated/ar/msg.js
Github Open Source
Open Source
Apache-2.0
null
blockly
AhmedAZafar
JavaScript
Code
167
874
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('BlocklyGames.Msg'); goog.require('Blockly.Msg'); Blockly.Msg["ADD_COMMENT"] = "أضف تعليقًا"; Blockly.Msg["CANNOT_DELETE_VARIABLE_PROCEDURE"] = "لايمكن حذف متغير \"%1\" بسبب انه جزء من الدالة \"%2\""; Blockly.Msg["CLEAN_UP"] = "ترتي...
10,272
https://github.com/modality/improv/blob/master/lib/generator/core.js
Github Open Source
Open Source
MIT
null
improv
modality
JavaScript
Code
584
1,560
import template from "../template"; import { useBindingsMiddleware, useSubmodelMiddleware, cacheSnippetMiddleware, validateSnippetMiddleware } from "./middleware"; import { mergeTags, clearHistory } from "./model"; export function applyFiltersToGroup(filters, group, model) { /* Run the filters through a...
25,106
https://github.com/g1boss/fluo/blob/master/modules/integration/src/test/java/io/fluo/integration/impl/SelfNotificationIT.java
Github Open Source
Open Source
Apache-2.0
2,016
fluo
g1boss
Java
Code
325
1,236
/* * Copyright 2014 Fluo authors (see AUTHORS) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
25,223
https://github.com/15831944/StrmotionCNC/blob/master/Modules/GeneralComponents/Views/ProgramViewer.xaml.cs
Github Open Source
Open Source
MIT
2,021
StrmotionCNC
15831944
C#
Code
28
86
using System.Windows.Controls; namespace GeneralComponents.Views { /// <summary> /// Логика взаимодействия для Auto.xaml /// </summary> public partial class ProgramViewer : UserControl { public ProgramViewer() { InitializeComponent(); } } }
50,195
https://github.com/vmwhoami/admin_ui_maib/blob/master/src/pages/Dashboard.js
Github Open Source
Open Source
MIT
null
admin_ui_maib
vmwhoami
JavaScript
Code
86
234
import React, { useEffect } from 'react'; import { useDispatch } from 'react-redux'; import Layout from '../components/layout'; import Title from '../components/Title'; import ChartNav from '../components/ChartNav'; import ChartFilter from '../components/chartFilter/ChartFilter'; import Chart from '../components/chart/...
17,691
https://github.com/felipefariasdasilva/jornada-microservice/blob/master/consumer-service/src/main/java/com/felipe/consumer/model/dto/ProductDTO.java
Github Open Source
Open Source
MIT
null
jornada-microservice
felipefariasdasilva
Java
Code
32
115
package com.felipe.consumer.model.dto; import com.felipe.consumer.model.Product; import lombok.Getter; import lombok.Setter; @Getter @Setter public class ProductDTO { private String id; private String name; public ProductDTO(Product product) { this.id = product.getId().toString(); this.n...
44,648
https://github.com/simrishamn/Municipio/blob/master/library/AcfFields/php/options-theme-search-result.php
Github Open Source
Open Source
MIT
null
Municipio
simrishamn
PHP
Code
330
1,104
<?php if (function_exists('acf_add_local_field_group')) { acf_add_local_field_group(array( 'key' => 'group_586df81d53d0f', 'title' => 'Search results', 'fields' => array( 0 => array( 'key' => 'field_586df85ba787d', 'label' => __('Display options', 'municipio'), ...
3,993
https://github.com/MohamedHamed83/higher-order-components/blob/master/src/withPressedProps.js
Github Open Source
Open Source
MIT
2,022
higher-order-components
MohamedHamed83
JavaScript
Code
85
326
import React, { Component } from 'react' import wrapDisplayName from 'recompose/wrapDisplayName' export default pressedProps => Target => { class WithPressedProps extends Component { constructor() { super() this.state = { pressed: false, } this.onMouseDown = this.onMouseDown.bind...
604
https://github.com/blackducksoftware/hub-notification-engine/blob/master/channel-msteams/src/test/java/com/synopsys/integration/alert/channel/msteams/distribution/MsTeamsChannelTest.java
Github Open Source
Open Source
Apache-2.0
2,018
hub-notification-engine
blackducksoftware
Java
Code
288
1,323
package com.synopsys.integration.alert.channel.msteams.distribution; import java.util.List; import java.util.UUID; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.mockito.Mockito; import com.google.gson....
39,038
https://github.com/bryan-lunt-supercomputing/mpi_examples/blob/master/cmake/charmparts/charm_ampi.cmake
Github Open Source
Open Source
MIT
null
mpi_examples
bryan-lunt-supercomputing
CMake
Code
63
353
set(ampi_cc_names ${ampi_cc_names} ampicc) set(ampi_cxx_names ${ampi_cxx_names} ampicxx) include(FindPackageHandleStandardArgs) #AMPI C Compiler find_program(AMPI_C_COMPILER NAMES ${ampi_cc_names} HINTS ${CHARM_PATH} ${CHARM_HOME} ENV CHARM_PATH ENV CHARM_HOME PATHS ${possible_charm_installations} PATH_SUFFIXES ...
27,851
https://github.com/ajbm6/platform/blob/master/src/Oro/Bundle/CalendarBundle/Tests/Selenium/CalendarTest.php
Github Open Source
Open Source
MIT
null
platform
ajbm6
PHP
Code
166
602
<?php namespace Oro\Bundle\CalendarBundle\Tests\Selenium; use Oro\Bundle\CalendarBundle\Tests\Selenium\Pages\Calendars; use Oro\Bundle\TestFrameworkBundle\Test\Selenium2TestCase; /** * Class CalendarTest * @package Oro\Bundle\CalendarBundle\Tests\Selenium */ class CalendarTest extends Selenium2TestCase { /** ...
48,540
https://github.com/winniexx0918/skigo/blob/master/src/users/usersDAL.js
Github Open Source
Open Source
MIT
null
skigo
winniexx0918
JavaScript
Code
114
387
const shortid = require('shortid'); const log = require('../config/winston'); const db = require('../config/db'); const expiredTime = 1000 * 60 * 60; // 啟動碼一小時後過期 export function createUser(email, password, role) { const user = { id: shortid.generate(), email, password, role, avatar: '/images/av...
19,556
https://github.com/michaelbrooks/music-visualization/blob/master/src/music/PowerWCLGUIManager.java
Github Open Source
Open Source
BSD-3-Clause
2,022
music-visualization
michaelbrooks
Java
Code
435
1,903
/* * Music Visualizations: http:/github.com/michaelbrooks/music-visualization * Copyright 2012, Michael Brooks. BSD License. */ package music; import graphics.ArrayLineGraphPanel; import graphics.WaterfallGraphPanel; import graphics.WeightedColorLineGraphPanel; import java.util.Arrays; import java.util.List; impor...
26,710
https://github.com/timurgaleev/terraform/blob/master/azure/modules/spring_cloud/spring_cloud_active_deployment.tf
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, GPL-3.0-only
2,023
terraform
timurgaleev
HCL
Code
10
53
#----------------------------------------------------------- # Azure spring cloud active deployment #----------------------------------------------------------- # https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/spring_cloud_active_deployment
34,677
https://github.com/GregoryComer/LibRbxl/blob/master/LibRbxl/Instances/Font.cs
Github Open Source
Open Source
BSD-2-Clause, MIT
2,021
LibRbxl
GregoryComer
C#
Code
36
95
namespace LibRbxl.Instances { public enum Font { Legacy = 0, Arial = 1, ArialBold = 2, SourceSans = 3, SourceSansBold = 4, SourceSansLight = 5, SourceSansItalic = 6, Bodoni = 7, Garamond = 8 } }
3,888
https://github.com/zjstraus/SPX-GC/blob/master/views/layouts/filelist.handlebars
Github Open Source
Open Source
MIT
2,022
SPX-GC
zjstraus
null
Spoken
278
1,078
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Choose a file</title> <style> body { background-color: #444; margin: 5px; } div { box-sizing: border-box; font-family: Arial, Helveti...
1,214
https://github.com/netom/mandango/blob/master/tests/Mandango/Tests/Extension/CoreSingleInheritanceTest.php
Github Open Source
Open Source
MIT
2,021
mandango
netom
PHP
Code
1,147
6,348
<?php /* * This file is part of Mandango. * * (c) Pablo Díez <pablodip@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Mandango\Tests\Extension; use Mandango\Tests\TestCase; class CoreSingleInheritanceTest extends TestCas...
24,112
https://github.com/Psychlist1972/Windows-10-MIDI-Library/blob/master/PeteBrown.Devices.Midi/PeteBrown.Devices.Midi/MidiNrpnParameterNullMessage.cpp
Github Open Source
Open Source
MIT
2,019
Windows-10-MIDI-Library
Psychlist1972
C++
Code
28
165
#include "pch.h" #include "MidiNrpnParameterNullMessage.h" using namespace Windows::Devices::Midi; using namespace PeteBrown::Devices::Midi; MidiNrpnParameterNullMessage::MidiNrpnParameterNullMessage() { _rawData = ref new Windows::Storage::Streams::Buffer(TOTAL_BYTES_IN_MESSAGE); _rawData->Length = TOTAL_BYTES_IN...
9,170
https://github.com/florin-chelaru/ng-gl-streetview/blob/master/bower_components/utils.js/src/u/time-span.js
Github Open Source
Open Source
MIT
null
ng-gl-streetview
florin-chelaru
JavaScript
Code
537
1,543
/** * Created by Florin Chelaru ( florin [dot] chelaru [at] gmail [dot] com ) * Date: 6/25/2015 * Time: 6:32 PM */ goog.provide('u.TimeSpan'); goog.require('u'); /** * @param {number} milliseconds Must be positive * @constructor */ u.TimeSpan = function(milliseconds) { if (milliseconds < 0) { milliseconds =...
54,567
https://github.com/pavele/mongo-csharp-driver/blob/master/Driver/Linq/Translators/PartialEvaluator.cs
Github Open Source
Open Source
Apache-2.0
2,015
mongo-csharp-driver
pavele
C#
Code
432
1,060
/* Copyright 2010-2012 10gen 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 agreed to in writing...
33,887
https://github.com/lukaszkups/vuejs-course/blob/master/02 vue-cli/02 exercise/src/App.vue
Github Open Source
Open Source
MIT
2,017
vuejs-course
lukaszkups
Vue
Code
91
290
<template> <div class="container"> <customHeader></customHeader> <!-- I can use camelCase or dash component tags for naming --> <custom-header></custom-header> <div class="row"> <list-group></list-group> <server-status></server-status> <hr> </div> ...
10,439
https://github.com/keshav-bohr/baseweb/blob/master/documentation-site/components/theming/grid.js
Github Open Source
Open Source
MIT
2,020
baseweb
keshav-bohr
JavaScript
Code
73
197
/* Copyright (c) 2018-2020 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import {Property} from './common.js'; export function Grid() { return ( <React.Fragment> <...
46,991
https://github.com/herwinw/spec/blob/master/core/unboundmethod/equal_value_spec.rb
Github Open Source
Open Source
MIT
2,023
spec
herwinw
Ruby
Code
561
1,712
require_relative '../../spec_helper' require_relative 'fixtures/classes' context "Creating UnboundMethods" do specify "there is no difference between Method#unbind and Module#instance_method" do UnboundMethodSpecs::Methods.instance_method(:foo).should be_kind_of(UnboundMethod) UnboundMethodSpecs::Methods.new...
298
https://github.com/SnakeSolid/java-sprite-packer/blob/master/src/main/java/ru/snake/spritepacker/model/CoreListModel.java
Github Open Source
Open Source
MIT
2,014
java-sprite-packer
SnakeSolid
Java
Code
207
642
package ru.snake.spritepacker.model; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import javax.swing.AbstractListModel; @SuppressWarnings("serial") public class CoreListModel<T> extends AbstractListModel { private final List<T> items; public CoreLi...
9,243
https://github.com/vivekthedev/DSA/blob/master/algorithms/CPlusPlus/Strings/longest-name.cpp
Github Open Source
Open Source
MIT
2,022
DSA
vivekthedev
C++
Code
141
310
/* Description: Given a list of names, display the longest name. Approach: To use length() method for every array element Keeping the index of maximum length string in max variable Time Complexity: O(n) */ #include <iostream> using namespace std; //function starts string longest(string names[], int n) { //storing t...
25,990
https://github.com/xgqfrms/learning/blob/master/Front-End/NativeScript/ng-native-app/platforms/android/src/main/assets/app/tns_modules/nativescript-angular/directives/dialogs.js
Github Open Source
Open Source
MIT
2,023
learning
xgqfrms
JavaScript
Code
292
1,002
var core_1 = require("@angular/core"); var page_1 = require("ui/page"); var detached_loader_1 = require("../common/detached-loader"); var platform_providers_1 = require("../platform-providers"); var ModalDialogParams = (function () { function ModalDialogParams(context, closeCallback) { if (context === void ...
20,585
https://github.com/penhold3r/piuquen/blob/master/src/styles/components/footer.scss
Github Open Source
Open Source
MIT
null
piuquen
penhold3r
SCSS
Code
148
575
.site-footer { display: flex; flex-direction: column; align-items: center; position: relative; &__image { height: 100%; left: 0; opacity: 0.4; position: absolute !important; top: 0; width: 100%; z-index: 0; } &__contact-data, &__social, &__copy { position: relative; z-index: 1; } &__cont...
2,143
https://github.com/GooGee/Code-Builder/blob/master/src/view/control/Diagnostic.tsx
Github Open Source
Open Source
MIT
2,021
Code-Builder
GooGee
TypeScript
Code
84
255
import React, { ReactElement, useContext } from 'react' import Popup from 'reactjs-popup' import ts from 'typescript' import SourceFileContext from '../context/SourceFileContext' interface Props { children: ReactElement node: ts.Node } export default function Diagnostic({ children, node }: Props): ReactElemen...
53,307
https://github.com/eFaps/eFaps-WebApp-Install/blob/master/src/main/efaps/ESJP/org/efaps/esjp/ui/rest/dto/ActionDto.java
Github Open Source
Open Source
Apache-2.0
2,016
eFaps-WebApp-Install
eFaps
Java
Code
271
696
/* * Copyright 2003 - 2020 The eFaps Team * * 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 ...
50,224
https://github.com/bvvy/spirngbootusage/blob/master/divide2-model/src/main/java/com/divide2/product/unit/StockUnit.java
Github Open Source
Open Source
MIT
2,020
spirngbootusage
bvvy
Java
Code
30
94
package com.divide2.product.unit; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * @author bvvy * @date 2019/4/18 */ @Data @NoArgsConstructor @AllArgsConstructor public class StockUnit { private String units; private Integer totalAmount; }
8,609
https://github.com/uk-gov-mirror/hmrc.tariff-classification-frontend/blob/master/app/controllers/v2/UpscanErrorHandling.scala
Github Open Source
Open Source
Apache-2.0
null
hmrc.tariff-classification-frontend
uk-gov-mirror
Scala
Code
190
533
/* * Copyright 2021 HM Revenue & Customs * * 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 a...
11,755
https://github.com/the9program/annuaire/blob/master/database/migrations/2019_06_28_004154_create_openings_table.php
Github Open Source
Open Source
MIT
null
annuaire
the9program
PHP
Code
58
251
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateOpeningsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('openings', fun...
21,596
https://github.com/checkmarx-ltd/cx-flow/blob/master/src/main/java/com/checkmarx/flow/custom/CsvProperties.java
Github Open Source
Open Source
Apache-2.0
2,023
cx-flow
checkmarx-ltd
Java
Code
211
619
package com.checkmarx.flow.custom; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import org.springframework.validation.annotation.Validated; import java.util.List; @Component @ConfigurationProperties(prefix = "csv") @Validated public clas...
49,633
https://github.com/bsmr/WolvenKit-CyberCAT/blob/master/CyberCAT.Core/Enums/Dumped Enums/audioRadioSoundType.cs
Github Open Source
Open Source
MIT
null
WolvenKit-CyberCAT
bsmr
C#
Code
15
44
namespace CyberCAT.Core.DumpedEnums { public enum audioRadioSoundType { Song = 0, AnnouncementScene = 1 } }
41,433
https://github.com/ORG-MARS/zenml/blob/master/zenml/steps/evaluator/tfma_evaluator.py
Github Open Source
Open Source
Apache-2.0
2,021
zenml
ORG-MARS
Python
Code
393
1,083
# Copyright (c) maiot GmbH 2020. 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 # # Unless required by applica...
5,018
https://github.com/lifaon74/rx-js-light/blob/master/src/observable/pipes/built-in/without-notifications/time-related/debounce-time/debounce-time-observable.shortcut.ts
Github Open Source
Open Source
MIT
2,022
rx-js-light
lifaon74
TypeScript
Code
8
30
export { debounceTimeObservable as debounceTime$$ } from './debounce-time-observable';
38,600
https://github.com/odf/webGavrog/blob/master/src/scripts/systreCmd.js
Github Open Source
Open Source
Apache-2.0
2,022
webGavrog
odf
JavaScript
Code
1,599
4,995
import * as csp from 'plexus-csp'; import * as tilings from '../dsymbols/tilings'; import { coordinateChangesF as opsF } from '../geometry/types'; import { Archive } from '../io/archive'; import { structures } from '../io/cgd'; import parseDSymbols from '../io/ds'; import { embed } from '../pgraphs/embedding'; import ...
12,083
https://github.com/cleanios/TDD-Lottery-Hyunah/blob/master/1st_LottoTDD/LottoTDDTests/LottoResultTests.swift
Github Open Source
Open Source
MIT
2,019
TDD-Lottery-Hyunah
cleanios
Swift
Code
210
742
// // LottoResultTests.swift // LottoTDDTests // // Created by Hyunah on 06/04/2019. // Copyright © 2019 hyunable. All rights reserved. // import XCTest @testable import LottoTDD class LottoResultTests: XCTestCase { // ** 당첨숫자 16, 20, 24, 28, 36, 39 , bonus: 5 func testrankOfLottoShoulReturnNumberOfSameN...
40,092