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/THEozmic/postit/blob/master/client/js/components/presentational/new-password.js
Github Open Source
Open Source
MIT
2,017
postit
THEozmic
JavaScript
Code
203
713
import React from 'react'; import Form from './form'; import api from '../helpers/api'; class NewPassword extends React.Component { constructor(props) { super(props); this.onSubmitPassword = this.onSubmitPassword.bind(this); this.onFocus = this.onFocus.bind(this); this.state = { error: '', ...
49,750
https://github.com/BitMask-Technologies/route-lift-api/blob/master/routelift_api/push_notifications/views.py
Github Open Source
Open Source
MIT
null
route-lift-api
BitMask-Technologies
Python
Code
158
603
import time import requests from django.conf import settings from fcm_django.models import FCMDevice from api_utils.views import (sms_notifier, successResponse, ) # import the logging library import logging from firebase_admin.messaging import Message, Notification logger = logging.getLogger(__name__) """Get an ins...
16,166
https://github.com/KZeronimo/OneFlow/blob/master/anonymous_functions/canonical/git-follow.sh
Github Open Source
Open Source
MIT
2,020
OneFlow
KZeronimo
Shell
Code
6
19
#!/bin/bash git logbase --graph --follow "$@";
56,398
https://github.com/ReoKzK/SitecoreCoffee/blob/master/src/Feature/Commerce/code/Mediators/BaseMediator.cs
Github Open Source
Open Source
MIT
null
SitecoreCoffee
ReoKzK
C#
Code
34
109
namespace SitecoreCoffee.Feature.Commerce.Mediators { public class BaseMediator { public MediatorResponse<T> GetMediatorResponse<T>(string code, T viewModel = default(T)) { var response = new MediatorResponse<T> { Code = code, ViewModel = ...
13,211
https://github.com/schernysh/dribbble-top-likers/blob/master/src/main/java/org/cloudgarden/dribbbletoplikers/model/Shot.java
Github Open Source
Open Source
Apache-2.0
null
dribbble-top-likers
schernysh
Java
Code
22
70
package org.cloudgarden.dribbbletoplikers.model; import lombok.Value; /** * Created by schernysh on 7/7/17. */ @Value public class Shot { Long id; Integer likesCount; }
26,642
https://github.com/morenojavier/malayerba/blob/master/template-politicas-privacidad.php
Github Open Source
Open Source
MIT
null
malayerba
morenojavier
PHP
Code
23
70
<?php /** * Template Name: Políticas de Privacidad */ ?> <?php while (have_posts()) : the_post(); ?> <?php get_template_part('templates/content', 'politicas-privacidad'); ?> <?php endwhile; ?>
40,710
https://github.com/dnaspider/PD/blob/master/PD.vb
Github Open Source
Open Source
MIT
2,022
PD
dnaspider
Visual Basic
Code
5,387
20,968
Public Class PD '@dnaspider Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As Int32) As UShort Private Declare Sub Keybd_event Lib "user32" Alias "keybd_event" (ByVal bVk As Integer, bScan As Integer, ByVal dwFlags As Integer, ByVal dwExtraInfo As Integer) Private Declare Func...
1,626
https://github.com/aliostad/deep-learning-lang-detection/blob/master/data/train/sql/68dd69c163491295c7c475fe95227e17d54ab4e9GetCarVersionForComparison.sql
Github Open Source
Open Source
MIT
2,021
deep-learning-lang-detection
aliostad
SQL
Code
270
632
-- ============================================= -- Author: <Vikas J> -- Create date: <27/01/2013> -- Description: <Returns the data of all the version available for the provided modelId. It will have discontinued cars data along with new cars if user chooses for all cars -- ========================...
49,802
https://github.com/rmartinc/keycloak/blob/master/model/jpa/src/main/java/org/keycloak/connections/jpa/updater/liquibase/MySQL8VarcharType.java
Github Open Source
Open Source
Apache-2.0
2,022
keycloak
rmartinc
Java
Code
219
466
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
53,182
https://github.com/savoygu/vue-material-design-icons/blob/master/src/icons/laptop_windows.js
Github Open Source
Open Source
MIT
2,020
vue-material-design-icons
savoygu
JavaScript
Code
18
133
import Icon from '../components/Icon.vue' Icon.register({"laptop_windows":{"width":24,"height":24,"paths":[{"d":"M20 18v-1c1.1 0 1.99-.9 1.99-2L22 5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2v1H0v2h24v-2h-4zM4 5h16v10H4V5z"}]}})
3,379
https://github.com/TheBrokenRail/darling-cocotron/blob/master/AppKit/NSSharingService.m
Github Open Source
Open Source
MIT
2,019
darling-cocotron
TheBrokenRail
Objective-C
Code
5
28
#import <AppKit/NSSharingService.h> @implementation NSSharingService @end
25,901
https://github.com/codeyu/Raft.net/blob/master/src/Raft.Contracts/Persistance/DataBlock.cs
Github Open Source
Open Source
MIT
2,015
Raft.net
codeyu
C#
Code
26
67
using System.Collections.Generic; namespace Raft.Contracts.Persistance { public class DataBlock { public IDictionary<string, string> Metadata { get; set; } public byte[] Data { get; set; } } }
49,676
https://github.com/SciBorgs/GameChangers-2021/blob/master/src/main/java/frc/robot/commands/swerve/SwerveResetModulesCommand.java
Github Open Source
Open Source
BSD-3-Clause
null
GameChangers-2021
SciBorgs
Java
Code
33
157
package frc.robot.commands.swerve; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.Robot; public class SwerveResetModulesCommand extends CommandBase { public SwerveResetModulesCommand() { addRequirements(Robot.swerveSubsystem); } @Override public void execute() { ...
13,398
https://github.com/schnitzer-lab/EXTRACT-public/blob/master/EXTRACT/main_functions/helper_functions/medfilt_outliers.m
Github Open Source
Open Source
MIT
2,022
EXTRACT-public
schnitzer-lab
MATLAB
Code
140
381
function [M, num_outliers] = medfilt_outliers(M) % Median filtering for only pixels that exhibit different activities than % their neighbors % M: input 3-D movie matrix % returns M: output movie with outlying pixels replaced by % median of its immediate neighbors % Deviation threshold, normalized to (0, 1) dev...
5,362
https://github.com/aws/aws-sdk-cpp/blob/master/generated/src/aws-cpp-sdk-datasync/include/aws/datasync/model/DescribeLocationAzureBlobResult.h
Github Open Source
Open Source
Apache-2.0, MIT, JSON
2,023
aws-sdk-cpp
aws
C++
Code
1,535
4,436
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/datasync/DataSync_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/datasync/model/AzureBlobAuthenticationType.h> #include <aws/datasync/model/AzureB...
33,331
https://github.com/Shahidkhan0786/Project/blob/master/resources/views/product.blade.php
Github Open Source
Open Source
MIT
null
Project
Shahidkhan0786
PHP
Code
122
642
@extends('masterdash') @section('adduser') <!-- menurowend --> <!-- tablestart --> <div class="container mt-5"> <div class="row p-3"> <table class="table table-striped table-bordered"> <thead> <tr> <th>Product</th> <th>Barcode</th> <th>Expiry_date</th> <th>Catagory</th> ...
21,609
https://github.com/enfold/relstorage/blob/master/src/relstorage/tests/persistentcache.py
Github Open Source
Open Source
ZPL-2.1
2,022
relstorage
enfold
Python
Code
2,138
7,145
############################################################################## # # Copyright (c) 2019 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
25,106
https://github.com/fmilani/contatempo/blob/master/imports/containers/NowContainer.jsx
Github Open Source
Open Source
MIT
2,017
contatempo
fmilani
null
Spoken
55
169
import { Meteor } from 'meteor/meteor'; import { withTracker } from 'meteor/react-meteor-data'; import Now from '../ui/components/records/Now.jsx'; import Records from '../api/records/records.js'; export default withTracker(() => { const recordsHandle = Meteor.subscribe('records.incomplete'); const loading = !reco...
22,887
https://github.com/java-app-scans/retrolambda/blob/master/retrolambda/src/main/java/net/orfjackal/retrolambda/util/Flags.java
Github Open Source
Open Source
Apache-2.0
2,018
retrolambda
java-app-scans
Java
Code
158
444
// Copyright © 2013-2015 Esko Luontola <www.orfjackal.net> // This software is released under the Apache License 2.0. // The license text is at http://www.apache.org/licenses/LICENSE-2.0 package net.orfjackal.retrolambda.util; import static org.objectweb.asm.Opcodes.*; public class Flags { public static boolean...
51,816
https://github.com/wangdefeng/flink-boot/blob/master/flink-dynamic-load-class/src/main/java/com/intsmaze/flink/dynamic/LoadClassFlatMap.java
Github Open Source
Open Source
BSD-3-Clause
2,022
flink-boot
wangdefeng
Java
Code
136
698
package com.intsmaze.flink.dynamic; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.reflect.TypeToken; import com.intsmaze.flink.base.bean.FlowData; import com.intsmaze.flink.base.transform.CommonFunction; import com.intsmaze.flink.dynamic.base.ClassLoadService; import org.apach...
19,079
https://github.com/marouanetaki/Gst_Restaurant/blob/master/routes/web.php
Github Open Source
Open Source
MIT
null
Gst_Restaurant
marouanetaki
PHP
Code
115
520
<?php use Illuminate\Support\Facades\Route; Route::group(['prefix' => 'admin'], function () { Voyager::routes(); }); Auth::routes(['verify' => true]); //-------------------------- Front-End Routes --------------------------- Route::get('/', 'MasterController@index'); Route::get('/blog/{id?}', 'MasterController@b...
54,303
https://github.com/JustificationFactory/JustificationFactory-Engine/blob/master/jf-data-core/src/test/java/fr/axonic/observation/AStructureEventsListeningTest.java
Github Open Source
Open Source
Apache-2.0
2,018
JustificationFactory-Engine
JustificationFactory
Java
Code
216
849
package fr.axonic.observation; import fr.axonic.base.ABoolean; import fr.axonic.base.ANumber; import fr.axonic.base.AString; import fr.axonic.base.engine.AStructure; import fr.axonic.observation.event.AEntityChanged; import fr.axonic.observation.event.AEntityChangedEvent; import fr.axonic.observation.event.ChangedEve...
40,344
https://github.com/hisataka/twtool/blob/master/src/main/java/com/controller/TwitterController.java
Github Open Source
Open Source
MIT
null
twtool
hisataka
Java
Code
355
1,826
package com.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ModelAttrib...
51,733
https://github.com/BruceWangNo1/notorious/blob/master/build/install_deps.sh
Github Open Source
Open Source
MIT
2,019
notorious
BruceWangNo1
Shell
Code
13
66
#!/bin/sh go get github.com/spf13/viper go get github.com/jinzhu/gorm go get gopkg.in/redis.v3 go get github.com/go-sql-driver/mysql
35,473
https://github.com/YuweiYin/Algorithm_YuweiYin/blob/master/LeetCode-All-Solution/Python3/LC-0116-Populating-Next-Right-Pointers-in-Each-Node.py
Github Open Source
Open Source
MIT
null
Algorithm_YuweiYin
YuweiYin
Python
Code
645
1,898
#!/usr/bin/env python # -*- coding:utf-8 -*- """================================================================= @Project : Algorithm_YuweiYin/LeetCode-All-Solution/Python3 @File : LC-0116-Populating-Next-Right-Pointers-in-Each-Node.py @Author : [YuweiYin](https://github.com/YuweiYin) @Date : 2022-01-08 =======...
53,114
https://github.com/mieki256/jumpandrunsailorgirl/blob/master/source/TmxObjGroup.hx
Github Open Source
Open Source
LicenseRef-scancode-public-domain
2,013
jumpandrunsailorgirl
mieki256
Haxe
Code
44
116
package ; /** * ... * @author mieki256 */ class TmxObjGroup{ public var name:String; public var gid:Int; public var x:Int; public var y:Int; public function new(oname:String, ogid:Int, ox:Int, oy:Int) { name = oname; gid = ogid; x = ox; y = oy; } }
29,945
https://github.com/Shelldon-CLI/shelldon/blob/master/test_shell/useful_commands.rb
Github Open Source
Open Source
MIT
2,017
shelldon
Shelldon-CLI
Ruby
Code
31
103
# frozen_string_literal: true Shelldon.shell do command :toggle do help 'Toggle a boolean configuration option.' action do |cmd| tokens = cmd.split(' ') cfg = config[tokens[0].to_sym] raise(StandardError) unless cfg.is_a?(BooleanParam) config[tokens[0].to_sym].toggle end end ...
45,470
https://github.com/NathanLCR/GitRadar/blob/master/frontend/src/utils/normalizeStrings.ts
Github Open Source
Open Source
MIT
2,020
GitRadar
NathanLCR
TypeScript
Code
52
160
export function normalizeName(original: string, limit: number): string { if (!original) return ''; if (original.length > limit) { return `${original.slice(0, limit).trim()}...`; } return original; } export function normalizeInformation(original: number): string { return String(original.toFixed(2)); } ex...
30,420
https://github.com/str1fe/tasks/blob/master/lib/tasuku/concerns/illustratable.rb
Github Open Source
Open Source
MIT
2,014
tasks
str1fe
Ruby
Code
14
48
module Tasuku module Concerns::Illustratable extend ActiveSupport::Concern included do mount_uploader :image, ImageUploader end end end
41,863
https://github.com/rectcircle/digpro/blob/master/internal/decorate_error_test.go
Github Open Source
Open Source
MIT
2,022
digpro
rectcircle
Go
Code
435
1,576
package internal import ( "errors" "reflect" "runtime" "strings" "testing" "github.com/rectcircle/digpro/internal/tests" "go.uber.org/dig" ) func TestTryFixDigErr(t *testing.T) { pc, _, _, _ := runtime.Caller(0) commonErr := errors.New("abc") type args struct { err error pc uintptr } tests := []stru...
615
https://github.com/ahsanasghar10183/Protove-ReactJS-School-Management_System-Project/blob/master/school_dashboard_backend_files/Student_login_file.php
Github Open Source
Open Source
MIT
2,021
Protove-ReactJS-School-Management_System-Project
ahsanasghar10183
PHP
Code
118
529
<?php include 'conn.php'; header("Access-Control-Allow-Origin: *"); header('Access-Control-Allow-Origin: *'); header('Access-Control-Allow-Methods: POST, GET, OPTIONS'); header('Access-Control-Allow-Headers: *'); header('Access-Control-Max-Age: 1728000'); header("Content-Length: 0"); header("Content-Typ...
9,296
https://github.com/dchbx/enroll/blob/master/components/financial_assistance/spec/models/financial_assistance/application_spec.rb
Github Open Source
Open Source
MIT, Unlicense
2,020
enroll
dchbx
Ruby
Code
2,077
9,326
# frozen_string_literal: true require 'rails_helper' require 'aasm/rspec' RSpec.describe ::FinancialAssistance::Application, type: :model, dbclean: :after_each do let(:family_id) { BSON::ObjectId.new } let!(:year) { TimeKeeper.date_of_record.year } let!(:application) { FactoryBot.create(:financial_assistance_a...
30,253
https://github.com/HaoPengZheng/hair_admin/blob/master/src/components/page/AddGood.vue
Github Open Source
Open Source
MIT
null
hair_admin
HaoPengZheng
Vue
Code
410
2,115
<template> <div> <div class="crumbs"> <el-breadcrumb separator="/"> <el-breadcrumb-item> <i class="el-icon-lx-calendar"></i> 服务管理 </el-breadcrumb-item> <el-breadcrumb-item>新增服务</el-breadcrumb-item> </el-breadcrumb> ...
11,407
https://github.com/celeduc/fudge/blob/master/spec/lib/fudge/tasks/task_spec.rb
Github Open Source
Open Source
MIT
2,022
fudge
celeduc
Ruby
Code
198
566
require 'spec_helper' class MyTask < Fudge::Tasks::Task attr_accessor :cod attr_accessor :_methods_missing def method_missing(method, *_args) (@_methods_missing ||= []).push(method) end end class TestNamespace class SomeTask < Fudge::Tasks::Task end end describe Fudge::Tasks::Task do describe :ini...
24,804
https://github.com/dfrc-korea/dfvfs/blob/master/tests/file_io/fake_file_io.py
Github Open Source
Open Source
Apache-2.0
2,021
dfvfs
dfrc-korea
Python
Code
272
1,208
#!/usr/bin/env python # -*- coding: utf-8 -*- """Tests for the fake file-like object implementation.""" import os import unittest from dfvfs.file_io import fake_file_io from dfvfs.path import fake_path_spec from dfvfs.resolver import context from tests import test_lib as shared_test_lib class FakeFileTest(shared_t...
26,418
https://github.com/miguelTI/video-maker-bot-python/blob/master/services/TextProcessing.py
Github Open Source
Open Source
MIT
2,022
video-maker-bot-python
miguelTI
Python
Code
150
776
import Algorithmia import re from ibm_watson import NaturalLanguageUnderstandingV1 from ibm_watson.natural_language_understanding_v1 import Features, KeywordsOptions import nltk from Sentence import Sentence import config DEFAULT_LANG = "en" MAXIMUM_SENTENCES_TO_EXTRACT = 7 MINIMUM_KEYWORD_RELEVANCE = 0.60 ALGORITHMIA...
977
https://github.com/kcbraunschweig/go2chef/blob/master/examples/custom_binary/Makefile
Github Open Source
Open Source
Apache-2.0
2,022
go2chef
kcbraunschweig
Makefile
Code
6
17
go2chef: go build -o go2chef ./bin
28,096
https://github.com/ClearTax/dropwizard-db-sharding-bundle/blob/master/sharding-example/src/main/java/in/cleartax/dropwizard/sharding/dto/OrderMapper.java
Github Open Source
Open Source
Apache-2.0
2,021
dropwizard-db-sharding-bundle
ClearTax
Java
Code
171
569
/* * Copyright 2018 Cleartax * * 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 writ...
54,889
https://github.com/renatonolo/template-api-node/blob/master/src/modules/user/entities/typeorm/User.ts
Github Open Source
Open Source
MIT
2,021
template-api-node
renatonolo
TypeScript
Code
47
171
import { Exclude } from 'class-transformer'; import { Column, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn, } from 'typeorm'; @Entity('users') export default class User { @PrimaryGeneratedColumn() id: number; @Column('varchar') nome: string; @Column({ type: 'varchar', unique...
54,762
https://github.com/jrodd32/puewue-backend/blob/master/spec/power/analyzer_spec.rb
Github Open Source
Open Source
BSD-3-Clause
2,018
puewue-backend
jrodd32
Ruby
Code
274
881
# # Copyright (c) 2014, Facebook, Inc. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. # require "spec_helper" r...
32,650
https://github.com/prabhjyotsingh/cloudbreak/blob/master/cluster-ambari/src/test/java/com/sequenceiq/cloudbreak/ambari/AmbariUserHandlerTest.java
Github Open Source
Open Source
Apache-2.0
null
cloudbreak
prabhjyotsingh
Java
Code
469
2,458
package com.sequenceiq.cloudbreak.ambari; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOE...
16,775
https://github.com/Searge-DP/Gui_Desiner/blob/master/src/main/java/me/modmuss50/guiDesigner/saving/Loader.java
Github Open Source
Open Source
MIT
2,015
Gui_Desiner
Searge-DP
Java
Code
185
642
package me.modmuss50.guiDesigner.saving; import me.modmuss50.guiDesigner.GuiDesigner; import me.modmuss50.guiDesigner.componets.CompRegistry; import me.modmuss50.guiDesigner.componets.Component; import net.minecraftforge.fml.relauncher.FMLInjectionData; import java.io.*; /** * Created by Mark on 31/12/2014. */ pub...
47,360
https://github.com/twwilliams/GitRewrite/blob/master/GitRewrite/CleanupTask/RemoveEmptyCommitsTask.cs
Github Open Source
Open Source
MIT
2,021
GitRewrite
twwilliams
C#
Code
117
466
using System.Collections.Generic; using System.Linq; using GitRewrite.GitObjects; namespace GitRewrite.CleanupTask { class RemoveEmptyCommitsTask : CleanupTaskBase<Commit> { public RemoveEmptyCommitsTask(string repositoryPath) : base(repositoryPath) { } protected override Comm...
15,260
https://github.com/EpamLifeSciencesTeam/cromwell/blob/master/supportedBackends/bcs/src/test/scala/cromwell/backend/impl/bcs/BcsWorkflowPathsSpec.scala
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,020
cromwell
EpamLifeSciencesTeam
Scala
Code
79
315
package cromwell.backend.impl.bcs class BcsWorkflowPathsSpec extends BcsTestUtilSpec { behavior of s"BcsWorkflowPaths" it should "have correct input workflow mapping" in { import BcsTestUtilSpec._ val paths = BcsWorkflowPaths(workflowDescriptor, BcsBackendConfig, mockPathBuilders) val workflowInpu...
46,508
https://github.com/ale-neto/delivery/blob/master/application/modules/welcome/views/home/index.php
Github Open Source
Open Source
MIT
null
delivery
ale-neto
PHP
Code
115
560
<!-- Slide Banner Section --> <?php $this->load->view('slider');?> <!-- Slide Banner Section --> <!--ITEMS--> <!-- Title Section --> <section class="fc-identity"> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="sect...
6,018
https://github.com/phatblat/macOSPrivateFrameworks/blob/master/PrivateFrameworks/LoginUIKit/LUINamePanelController.h
Github Open Source
Open Source
MIT
2,022
macOSPrivateFrameworks
phatblat
C
Code
154
831
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <LoginUIKit/LUIPanelController.h> #import "LUITextFieldDelegate.h" #import "NSTextFieldDelegate.h" @class LUIEffectsButton, LUIPopUpButton, LUISecureTextFieldView, LUISimp...
27,331
https://github.com/TareqK/vue2-leaflet-freedraw/blob/master/src/l-freedraw.vue
Github Open Source
Open Source
MIT
2,021
vue2-leaflet-freedraw
TareqK
Vue
Code
381
1,314
<template> <div /> </template> <script lang="ts"> import Vue, { PropType } from 'vue'; import FreeDraw, { NONE, ALL, MarkerEvent } from 'leaflet-freedraw'; import type { FreeDrawOptions } from 'leaflet-freedraw'; import { findRealParent, propsBinder } from 'vue2-leaflet'; import { debounce, isEqual } from 'lodash-es...
29,716
https://github.com/jdavidberger/depthai-core/blob/master/src/pipeline/datatype/NNData.cpp
Github Open Source
Open Source
MIT
null
depthai-core
jdavidberger
C++
Code
809
2,819
#include "depthai/pipeline/datatype/NNData.hpp" #include <cassert> #include <limits> #include <unordered_map> #include <vector> #include "depthai-shared/datatype/RawNNData.hpp" #include "depthai/pipeline/datatype/ADatatype.hpp" #include "fp16/fp16.h" namespace dai { NNData::NNData() : Buffer(std::make_shared<RawNND...
19,898
https://github.com/ksh/gpitraining/blob/master/assets/js/assessment-M131.js
Github Open Source
Open Source
Apache-2.0
2,013
gpitraining
ksh
JavaScript
Code
508
916
// Copyright 2012 Google Inc. 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 applicabl...
4,264
https://github.com/alexa/apl-viewhost-web/blob/master/js/apl-html/src/media/Resource.ts
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, Apache-2.0
2,023
apl-viewhost-web
alexa
TypeScript
Code
190
488
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ 'use strict'; /** * @ignore */ export type DownloadState = 'pending' | 'complete' | 'cancelled'; /** * @ignore */ export class Resource { private downloadState: DownloadState; private buffer: A...
46,764
https://github.com/fgoldoni/jobhot/blob/master/resources/views/components/input/admin-divisions-select.blade.php
Github Open Source
Open Source
MIT
null
jobhot
fgoldoni
PHP
Code
506
2,270
@props(['items']) <div class="relative flex items-center w-full border-2 border-gray-200 rounded-lg lg:w-auto lg:border-0 lg:flex-1" x-data="{ open: @entangle('showDivisionDropdown'), searchDivision: @entangle('searchDivision'), selected: @entangle($attributes->wire('model')), high...
3,976
https://github.com/chef/azure-sdk-for-ruby/blob/master/management/azure_mgmt_event_grid/lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/advanced_filter.rb
Github Open Source
Open Source
MIT
null
azure-sdk-for-ruby
chef
Ruby
Code
217
692
# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::EventGrid::Mgmt::V2020_04_01_preview module Models # # This is the base type that represents an advanced filter. To configure an # advanced filter...
13,717
https://github.com/MrAta/loadcat/blob/master/data/vmtype.go
Github Open Source
Open Source
BSD-3-Clause
2,021
loadcat
MrAta
Go
Code
40
118
// Copyright 2018 The Loadcat Authors. All rights reserved. package data type Vmtype string var Vmtypes = []Vmtype{ "ondemand", "burst", } func (a Vmtype) Label() string { return VmtypeLabels[a] } var VmtypeLabels = map[Vmtype]string{ "ondemand": "On Demand", "burst": "Burstable", }
34,220
https://github.com/bozimmerman/CoffeeMud/blob/master/com/planet_ink/coffee_mud/core/collections/LinkedCollection.java
Github Open Source
Open Source
Apache-2.0
2,023
CoffeeMud
bozimmerman
Java
Code
568
1,899
package com.planet_ink.coffee_mud.core.collections; import java.util.*; /* Copyright 2020-2023 Bo Zimmerman 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/li...
8,265
https://github.com/deeg05/lyra/blob/master/sparse_matmul/compute/kernels_avx.h
Github Open Source
Open Source
Apache-2.0
2,022
lyra
deeg05
C
Code
3,326
9,749
/* * Copyright 2021 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
8,751
https://github.com/hoangvv1409/codebase/blob/master/distribox-master/src/Distribox.Test/FileSystem/FileItemTest.cs
Github Open Source
Open Source
MIT
2,016
codebase
hoangvv1409
C#
Code
415
1,537
//----------------------------------------------------------------------- // <copyright file="FileItemTest.cs" company="CompanyName"> // Copyright info. // </copyright> //----------------------------------------------------------------------- namespace Distribox.Test { using System; using System.Collec...
50,390
https://github.com/InCadence/coalesce/blob/master/src/Coalesce/src/main/java/com/incadencecorp/coalesce/framework/jobs/CoalesceSaveEntityProperties.java
Github Open Source
Open Source
Apache-2.0
2,019
coalesce
InCadence
Java
Code
226
518
/*-----------------------------------------------------------------------------' Copyright 2016 - InCadence Strategic Solutions Inc., All Rights Reserved Notwithstanding any contractor copyright notice, the Government has Unlimited Rights in this work as defined by DFARS 252.227-7013 and 252.227-7014. Use of this...
51,486
https://github.com/LukasMarkevicius/tech-review/blob/master/resources/views/tags/show.blade.php
Github Open Source
Open Source
MIT
2,018
tech-review
LukasMarkevicius
Blade
Code
120
522
@extends('main') @section('title', '| Tag View') @section('content') <div class="container"> <div class="row"> <div class="col-md-8"> <h1 class="text-center">{{ $tag->name }} <small>{{ $tag->products()->count() }} Products</small></h1> </div> <div class="col-md-4"> <a href="{...
30,067
https://github.com/mcbowman/eHealth_node/blob/master/views/view_general_profile.ejs
Github Open Source
Open Source
MIT
2,014
eHealth_node
mcbowman
EJS
Code
116
489
<%- include header %> <!-- messi message --> <script> jQuery.noConflict(); (function($) { $(document).ready(function() { new Messi('You can modify your profile, choose to make an appointment, or go to the forum', {autoclose: 6000, center: fals...
42,848
https://github.com/hegdenaveen1/CS-F211/blob/master/Assignment 2/Question 3.cpp
Github Open Source
Open Source
Unlicense
2,018
CS-F211
hegdenaveen1
C++
Code
77
413
#include <bits/stdc++.h> using namespace std; int32_t main() { FastIO; #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); #endif string s; int hashstarflag=0; while(getline(cin,s)) { int commentflag=1; int anythingtypedinthisline=0; s=s + "...
8,287
https://github.com/yeoonjae/finalproject/blob/master/finalproject/src/main/webapp/WEB-INF/views/member/account/find_pw_check.jsp
Github Open Source
Open Source
MIT
2,020
finalproject
yeoonjae
null
Spoken
121
815
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <c:choose> <c:when test="${not empty admininfo.admin_auth}"> <jsp:include page="/WEB-INF/views/admin/template/header.jsp"></jsp:include> </c:when> <c:when test="${not ...
33,146
https://github.com/TokamakUI/Tokamak/blob/master/Sources/TokamakDemo/main.swift
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0, LicenseRef-scancode-unknown
2,023
Tokamak
TokamakUI
Swift
Code
169
347
// Copyright 2020 Tokamak contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
53,239
https://github.com/mheemskerk/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/replicatedmap/AbstractReplicatedMapAddEntryListenerMessageTask.java
Github Open Source
Open Source
Apache-2.0
null
hazelcast
mheemskerk
Java
Code
351
1,247
/* * Copyright (c) 2008-2015, Hazelcast, Inc. 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 ...
27,448
https://github.com/weseek/growi/blob/master/apps/app/src/styles/theme/_reboot-bootstrap-theme-colors.scss
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,023
growi
weseek
SCSS
Code
224
984
@use '../bootstrap/init' as *; @use '../atoms/mixins/buttons' as mixins-buttons; @each $color, $value in $theme-colors { @include bg-variant('.bg-#{$color}', $value); } @each $color, $value in $theme-colors { .border-#{$color} { border-color: $value; } } @each $color, $value in $theme-colors { @include t...
55,982
https://github.com/ChaseJHickman/MathForGame/blob/master/MathForGames3D/Program.cs
Github Open Source
Open Source
MIT
2,020
MathForGame
ChaseJHickman
C#
Code
24
62
using System; namespace MathForGames3D { class Program { public static int Main() { Game game = new Game(); game.Run(); return 0; } } }
28,729
https://github.com/prathamesh-sonpatki/jruby/blob/master/spec/ruby/library/openstruct/shared/inspect.rb
Github Open Source
Open Source
Ruby, Apache-2.0
2,022
jruby
prathamesh-sonpatki
Ruby
Code
74
226
describe :ostruct_inspect, :shared => true do it "returns a String representation of self" do os = OpenStruct.new(:name => "John Smith") os.send(@method).should == "#<OpenStruct name=\"John Smith\">" os = OpenStruct.new(:age => 20, :name => "John Smith") os.send(@method).should be_kind_of(String) e...
19,217
https://github.com/xaptum/xaptum-tpm-python/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,018
xaptum-tpm-python
xaptum
Ignore List
Code
6
44
build/ *.pyc xaptum/tpm/_extra_search_dir.py dist/ src/ xaptum_tpm_python.egg-info/
43,075
https://github.com/Wilsondo/Know-its-off/blob/master/src/components/navbar.js
Github Open Source
Open Source
MIT
2,022
Know-its-off
Wilsondo
JavaScript
Code
229
690
/**************************************************************************************************** * FILENAME: navbar.js * DESCRIPTION: Displays a navigation bar within the header of a page that uses the NavRoute identifier * Features a collapsable mode and variable link definitions * AUTHOR(S): Capstone 2020-20...
22,294
https://github.com/wenzi1/gf/blob/master/net/goai/goai_components.go
Github Open Source
Open Source
MIT
2,022
gf
wenzi1
Go
Code
91
264
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, // You can obtain one at https://github.com/gogf/gf. package goai // Components is specified by OpenAPI/Swagger sta...
31,365
https://github.com/FRotatori99/Blockchain/blob/master/Blockchain.py
Github Open Source
Open Source
MIT
2,021
Blockchain
FRotatori99
Python
Code
179
614
#! python3 from Block import Block import time class Blockchain: difficulty = 4 def __init__(self): self.unconfirmed_transactions = [] self.chain = [] self.create_genesis_block() def create_genesis_block(self): genesis_block = Block(0, [], time.time(), '0') genes...
26,022
https://github.com/Karina5005/Plagiarism/blob/master/dataset/test/graph/1477/16/25-pdg.dot
Github Open Source
Open Source
MIT
2,022
Plagiarism
Karina5005
Graphviz (DOT)
Code
400
1,131
digraph "SegTree" { "1000501" [label = "(METHOD,SegTree)" ] "1000531" [label = "(METHOD_RETURN,int)" ] "1000502" [label = "(PARAM,vi arr)" ] "1000504" [label = "(<operator>.assignment,N = arr.sz-1)" ] "1000511" [label = "(tree.assign,tree.assign( 4*N+1 , 0 ))" ] "1000518" [label = "(lazy.assign,lazy.assign( 4*N+1 , -...
17,999
https://github.com/charlie5/lace/blob/master/4-high/gel/applet/test/single/add_rid_sprite/launch_add_rid_sprite_test.adb
Github Open Source
Open Source
0BSD
2,022
lace
charlie5
Ada
Code
318
1,132
with ada.Streams.stream_IO; with mmi.Forge, mmi.Window.lumen, mmi.Applet.gui_world, mmi.Camera; with mmi.Sprite, openGL.Model.box.lit_colored_textured, openGL.Model.sphere; with opengl.Palette, float_Math, ada.Calendar; procedure launch_add_rid_sprite_Test -- -- drops a ball...
44,339
https://github.com/cketti/AndroidCoroutines/blob/master/app/src/main/java/de/cketti/androidcoroutines/MainViewModel.kt
Github Open Source
Open Source
Apache-2.0
null
AndroidCoroutines
cketti
Kotlin
Code
165
534
package de.cketti.androidcoroutines import android.arch.lifecycle.LiveData import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import android.os.SystemClock import kotlinx.coroutines.experimental.android.UI import kotlinx.coroutines.experimental.launch import org.jetbrains.anko.corout...
33,294
https://github.com/RollingSoftware/L2J_HighFive_Hardcore/blob/master/l2j_server/src/main/java/com/l2jserver/gameserver/network/serverpackets/SkillCoolTime.java
Github Open Source
Open Source
MIT
null
L2J_HighFive_Hardcore
RollingSoftware
Java
Code
222
613
/* * Copyright (C) 2004-2016 L2J Server * * This file is part of L2J Server. * * L2J Server 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 3 of the License, or * (at your option) any ...
8,898
https://github.com/JunMa11/TNSCUI2020/blob/master/utils/CropROI.py
Github Open Source
Open Source
Apache-2.0
2,022
TNSCUI2020
JunMa11
Python
Code
175
869
# -*- coding: utf-8 -*- """ Created on Thu Jul 30 21:15:00 2020 @author: MA """ import os import nibabel as nib import numpy as np from skimage import measure join = os.path.join img_path = r'path to MICCAI2020/nnUNetData/nnUNet_raw_data/Task600_Thyroid2D/imagesTr' gt_path = r'path to MICCAI2020/nnUNetData/nnUNet_ra...
44,045
https://github.com/andrewabest/Conventional/blob/master/src/Core/Conventional.Tests/Conventional/Conventions/Database/Scripts/AllUniqueConstraintsMustBeNamedConventionalSpecification_Success.sql
Github Open Source
Open Source
MS-PL
2,022
Conventional
andrewabest
SQL
Code
13
44
CREATE TABLE Persons ( EMAIL NVARCHAR(50) NOT NULL, CONSTRAINT UQ_PERSONS_EMAIL UNIQUE (EMAIL) )
35,541
https://github.com/ajvarela/amadeus-exploit/blob/master/scrapping/redis_store.py
Github Open Source
Open Source
MIT
2,022
amadeus-exploit
ajvarela
Python
Code
462
1,562
''' Redis helper functions. Needs a Redis server running locally. ''' import jsonpickle import redis from redisearch import Client, IndexDefinition, Query, TextField from scrapping.structures import CVE conn = redis.Redis('localhost') SEARCH_RESULTS_HASH_KEY = "vul_search_result_{}" CVES_FROM_CPE_HASH_KEY = "cves_f...
46,849
https://github.com/RadKod/vue-dropdown-menu/blob/master/src/v-dropdown-menu.vue
Github Open Source
Open Source
MIT
2,022
vue-dropdown-menu
RadKod
Vue
Code
605
2,458
<template lang="pug"> .v-dropdown-menu(ref="dropdown" :class="[activeClass, modeClass, dropupClass, directionClass]") // For Click Mode template(v-if="menu.mode === 'click'") .v-dropdown-menu__trigger(ref="trigger" @click.prevent="menu.isOpen = !menu.isOpen") slot(name='trigger') transition(:name="...
33,532
https://github.com/AdamColton/geom/blob/master/d2/grid/aspect.go
Github Open Source
Open Source
BSD-3-Clause
null
geom
AdamColton
Go
Code
56
123
package grid type Aspect float64 // Common aspect rations const ( Widescreen Aspect = 9.0 / 16.0 Fullscreen Aspect = 4.0 / 3.0 Square Aspect = 1.0 ) // Pt is created from an aspect ratio and a width. func (a Aspect) Pt(w int) Pt { return Pt{ X: w, Y: int(Aspect(w) * a), } }
26,151
https://github.com/AGouLiu/fixNavigation/blob/master/nav_compiler/src/main/java/com/agou/nav_compiler/NavProcessor.kt
Github Open Source
Open Source
Apache-2.0
2,021
fixNavigation
AGouLiu
Kotlin
Code
380
1,744
package com.agou.nav_compiler import com.agou.nav_annotation.ActivityDestination import com.agou.nav_annotation.FragmentDestination import com.google.auto.service.AutoService import com.google.gson.Gson import java.io.File import javax.annotation.processing.* import javax.lang.model.SourceVersion import javax.lang.mo...
27,276
https://github.com/Bot-wacap/bot-whatsapp/blob/master/lib/help.js
Github Open Source
Open Source
Unlicense
null
bot-whatsapp
Bot-wacap
JavaScript
Code
251
1,269
exports.donate = (id, BotName, corohelp, tampilTanggal, tampilWaktu, instagramlu, whatsapplu, kapanbotaktif, grupch1, grupch2) => { return `🧰 -----[ *FITUR-FITUR ${BotName}* ]----- 🧰 *╔─━━━━━━░🏴░━━━━━━─╗ █ ✪ █▓▓▓▓▓▓▓▓▓▓▓█ ✪ █ *UW1W_BOT* █ ✪ █▓▓▓▓▓▓▓▓▓▓▓█ ✪ █ ╚─━━━━━━░🏳░━━━━━━─╝ *Loading....* ...
5,421
https://github.com/pichlerma/chatty/blob/master/subprojects/com.toedter.chatty.client.angular2/src/app/message/ChatMessagesComponent.ts
Github Open Source
Open Source
MIT
2,016
chatty
pichlerma
TypeScript
Code
40
149
import {Component} from 'angular2/core'; import {ChatMessage} from './ChatMessage'; import {ChatMessagesService} from './ChatMessagesService'; @Component({ selector: 'chat-messages', templateUrl: 'app/message/ChatMessagesComponent.html', viewBindings: [ChatMessagesService], }) export class ChatMessagesCom...
1,726
https://github.com/aivanyuk/converter/blob/master/app/src/main/java/com/aivanyuk/android/converter/data/dto/CurrencyDto.kt
Github Open Source
Open Source
Apache-2.0
null
converter
aivanyuk
Kotlin
Code
24
113
package com.aivanyuk.android.converter.data.dto data class CurrencyDto(val name: String, val description: String, val rate: Float, val flagUrl: String) val EUR = CurrencyDto("EUR", "European Union", 1.0f, "https://vignette.wi...
55,880
https://github.com/adamshe/NBStock/blob/master/QuandlCS-master/QuandlCS/Requests/QuandlSearchRequest.cs
Github Open Source
Open Source
MIT
2,015
NBStock
adamshe
C#
Code
264
778
using System; using System.Text; using QuandlCS.Helpers; using QuandlCS.Interfaces; using QuandlCS.Types; namespace QuandlCS.Requests { public class QuandlSearchRequest : IQuandlRequest { #region Construction public QuandlSearchRequest() { Reset(true); } #endregion #region IQuand...
26,234
https://github.com/huysh3/Web2.0/blob/master/project/src/css/style-index2.less
Github Open Source
Open Source
MIT
null
Web2.0
huysh3
Less
Code
69
238
body { text-align: center; background-color: rgb(75, 198, 194); } h2 { background-color: rgb(240, 59, 10); color: #fff; width: 60%; margin: 20px 20%; height: 100px; line-height: 100px; font-size: 60px; font-weight: bold; } .wechat { background-color: rgb(151, 232, 102); padding-top: 1rem; pa...
44,856
https://github.com/FranciscoThiesen/contest-notebook/blob/master/Math/PrimeLargest.h
Github Open Source
Open Source
WTFPL
2,022
contest-notebook
FranciscoThiesen
C
Code
52
134
#include <numeric> #include <vector> void computePrimesLargest(int n, std::vector<int> &largest) { largest.resize(n + 1); std::iota(largest.begin(), largest.end(), 0); for (int i = 2; i <= n; i++) { if (i == largest[i]) { for (int j = 2 * i; j <= n; j += i) { largest[j]...
47,744
https://github.com/shalk/TIJ4Code/blob/master/exceptions/solution/ex23/FailingConstructor.java
Github Open Source
Open Source
MIT
null
TIJ4Code
shalk
Java
Code
102
288
package exceptions.solution.ex23; class Light { int id ; Light(int id){ this.id = id; System.out.println("light "+ id + " on"); } void foo() throws Exception{ throw new Exception(" exception light " + id); } void off(){ System.out.println("light " + id + " off"); } } public class FailingConstructor {...
9,211
https://github.com/arajcany/ExtendScriptAutoCompleteForJetBrainsIDEs/blob/master/lib/InDesign/KentenCharacter.jsx
Github Open Source
Open Source
MIT
2,022
ExtendScriptAutoCompleteForJetBrainsIDEs
arajcany
null
Spoken
213
684
/* * Style options for kenten characters. * * * OMV Name: 17.0 * OMV Time: 3-21-2022 16:34:19 * OMV Title: Adobe InDesign 2022 (17.0) Object Model */ var KentenCharacter = { /** * Does not use kenten. * @type {number} * @readonly */ NONE: 1852796517, /** * Uses the kenten...
52,193
https://github.com/esbaxter/RaspiZero_Bare_Metal/blob/master/test_controller/src/servo_controller.c
Github Open Source
Open Source
MIT
null
RaspiZero_Bare_Metal
esbaxter
C
Code
499
1,603
/*Copyright 2021 Eric Baxter <ericwbaxter85@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, modify, merge, pub...
4,978
https://github.com/LiamTyler/LTEngine/blob/master/src/fps_counter.cpp
Github Open Source
Open Source
MIT
null
LTEngine
LiamTyler
C++
Code
81
265
#include <iostream> #include <iomanip> #include "include/fps_counter.h" FPSCounter::FPSCounter() { Clear(); } FPSCounter::~FPSCounter() {} void FPSCounter::Clear() { time_ = 0; frameCounter_ = 0; fpsTime_ = 0; } void FPSCounter::StartFrame(float time) { time_ = time; } void FPSCounter::EndFrame...
37,045
https://github.com/ingeghsntfny/glamme/blob/master/application/views/show_cart.php
Github Open Source
Open Source
MIT
null
glamme
ingeghsntfny
PHP
Code
124
686
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <!DOCTYPE html> <html lang="en"> <head> <title>GLAMME.ID | Esmeralda L.S</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquer...
19,452
https://github.com/recepkandemir/opticks/blob/master/npy/NPYBase.hpp
Github Open Source
Open Source
Apache-2.0
2,020
opticks
recepkandemir
C++
Code
1,219
2,969
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
56,520
https://github.com/MarkusSN/designsystem/blob/master/designsystem/examples/cards/TextCard.jsx
Github Open Source
Open Source
MIT
null
designsystem
MarkusSN
null
Spoken
64
182
import { TextCard } from '@sb1/ffe-cards-react'; <TextCard element="div"> {({ CardName, Title, Subtext, Text }) => ( <> <CardName>Kortnavn</CardName> <Title>Tittel</Title> <Subtext element="span">Subtext er grå</Subtext> <Text> Lorem ipsum dol...
43,388
https://github.com/JurrianFahner/ipf/blob/master/commons/ihe/hl7v2/src/main/java/org/openehealth/ipf/commons/ihe/hl7v2/PDQ.java
Github Open Source
Open Source
Apache-2.0
null
ipf
JurrianFahner
Java
Code
296
1,252
/* * Copyright 2016 the original author or 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 applic...
9,072
https://github.com/kayahans/qmcpack/blob/master/src/AFQMC/Numerics/detail/CUDA/Kernels/Tab_to_Kl.cu
Github Open Source
Open Source
NCSA
null
qmcpack
kayahans
null
Spoken
321
1,465
////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source // License. See LICENSE file in top directory for details. // // Copyright (c) 2016 Jeongnim Kim and QMCPACK developers. // // File developed by: // Lawrence Livermore...
34,963
https://github.com/andydhpkp/readme-generator/blob/master/index.js
Github Open Source
Open Source
MIT
2,021
readme-generator
andydhpkp
JavaScript
Code
377
903
// TODO: Include packages needed for this application const inquirer = require('inquirer') const generateMarkdown = require('./utils/generateMarkdown') const fs = require('fs') const util = require('util') const writeFileAsync = util.promisify(fs.writeFile); // TODO: Create an array of questions for user input const ...
33,109
https://github.com/Parsely/parsely_raw_data/blob/master/dbt/redshift/models/behavior_workflow/parsely_pageview_behavior_workflow.sql
Github Open Source
Open Source
Apache-2.0
2,021
parsely_raw_data
Parsely
SQL
Code
248
1,278
-- 1 row per pageview -- sum engaged time for all heartbeats -- metrics: pageviews, engaged time {{ config( materialized='incremental', sql_where='TRUE', unique_key='event_id' ) }} with pageview_events as ( select * from {{ ref('parsely_pageview_engagedtime') }} ), -- derived fie...
1,122
https://github.com/garriguv/moblues/blob/master/lib/moblues/generator/objc/type.rb
Github Open Source
Open Source
MIT
2,017
moblues
garriguv
Ruby
Code
57
168
require 'moblues/generator/base/type' module Moblues module Generator module Objc class Type < Base::Type def initialize super(OBJC) end def property_attributes(attribute) attributes = [] case attribute.type when :string attribute...
16,546
https://github.com/Yabbies/Palladio-ThirdParty-CloudScaleUsageEvolution/blob/master/bundles/org.scaledl.usageevolution.wizard/src/org/scaledl/usageevolution/wizard/wizards/UsageEvolutionSetupModel.java
Github Open Source
Open Source
Apache-2.0
null
Palladio-ThirdParty-CloudScaleUsageEvolution
Yabbies
Java
Code
257
984
package org.scaledl.usageevolution.wizard.wizards; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; public class UsageEvolutionSetupModel { String usageEvolutionFileName = ""; String usageModelFileName = ""; String loadLimboFileName = ""; public String getUsageE...
45,382
https://github.com/yuanliangding/qxcmp-framework/blob/master/qxcmp-modules/qxcmp-module-news/src/main/java/com/qxcmp/article/listener/AdminNewsArticleEventListener.java
Github Open Source
Open Source
MIT
null
qxcmp-framework
yuanliangding
Java
Code
323
1,906
package com.qxcmp.article.listener; import com.google.common.collect.Sets; import com.qxcmp.article.Article; import com.qxcmp.article.Channel; import com.qxcmp.article.event.*; import com.qxcmp.config.SiteService; import com.qxcmp.core.entity.EntityCreateEvent; import com.qxcmp.core.entity.EntityDeleteEvent; import co...
1,274