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/tpluscode/rdfine/blob/master/vocabularies/schema/bundles/TelevisionChannel.ts
Github Open Source
Open Source
MIT
2,023
rdfine
tpluscode
TypeScript
Code
30
89
import type { Mixin } from '@tpluscode/rdfine/lib/ResourceFactory'; import { BroadcastChannelMixin } from '../lib/BroadcastChannel.js'; import { TelevisionChannelMixin } from '../lib/TelevisionChannel.js'; export const TelevisionChannelBundle = [ BroadcastChannelMixin as Mixin, TelevisionChannelMixin as Mixin];
25,715
https://github.com/deysaikat04/seller.covertocover/blob/master/application/controllers/Dashboard.php
Github Open Source
Open Source
MIT
null
seller.covertocover
deysaikat04
PHP
Code
700
3,310
<?php /** * Created by PhpStorm. * User: Saikat Dey * Date: 30-10-2017 * Time: 11:52 PM */ defined('BASEPATH') OR exit('No direct script access allowed'); class Dashboard extends CI_Controller { public function __construct() { parent::__construct(); $this->load->helper('form'); $t...
25,550
https://github.com/giavudangle/ecommerce-client/blob/master/src/pages/Home/Home.actions.ts
Github Open Source
Open Source
MIT
null
ecommerce-client
giavudangle
TypeScript
Code
38
88
import * as types from "./Home.constants" export const loginRequested = () => ({ type: types.LOGIN_REQUESTED }) export const loginSuccess = payload => ({ type: types.LOGIN_SUCCESS, payload }) export const loginFailed = payload => ({ type: types.LOGIN_SUCCESS, payload })
13,425
https://github.com/dvreeze/try-zio/blob/master/src/main/scala/eu/cdevreeze/tryzio/wordpress/repo/PostRepoImpl2.scala
Github Open Source
Open Source
Apache-2.0
null
try-zio
dvreeze
Scala
Code
841
4,323
/* * Copyright 2022-2022 Chris de Vreeze * * 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 agree...
28,697
https://github.com/Vuaced2n/barbershop2/blob/master/src/style/app/__modules/_modules.form-send.scss
Github Open Source
Open Source
MIT
2,022
barbershop2
Vuaced2n
SCSS
Code
29
100
.form-send { display: flex; justify-content: space-between; width: 100%; max-width: 320px; margin-right: auto; margin-left: auto; @include break('m') { display: none; } @include element(button) { width: calc(50% - 10px); } }
33,738
https://github.com/chiendarrendor/AlbertsMisc/blob/master/VideoGameAssistants/TheFoolAndHisMoney/vibbard.pl
Github Open Source
Open Source
MIT
2,022
AlbertsMisc
chiendarrendor
Perl
Code
113
361
# organizes all words in voorst.txt by three-letter substring open(FD,"vibbard.txt"); while (<FD>) { s/\r?\n$//; push @words,$_; } close(FD); for ($i = 0 ; $i < @words ; ++$i) { for ($j = 0 ; $j < 5 ; ++$j) { $sub = substr($words[$i],$j,3); push(@{$subs{$sub}},$words[$i]); } } foreach $key (k...
13,754
https://github.com/hxrain/rxlib/blob/master/rx_dtl_hat_map.h
Github Open Source
Open Source
MIT
2,021
rxlib
hxrain
C++
Code
1,111
5,046
#ifndef _RX_DTL_HAT_MAP_H_ #define _RX_DTL_HAT_MAP_H_ #include "rx_cc_macro.h" #include "rx_dtl_hat_raw.h" #include "rx_str_util_std.h" /* <变长动态哈希map容器,基于紧凑哈希表> //hat紧凑map容器基类 template<class key_t, class val_t, class hat_op = hat_op_t> class hatmap_base_t; //使用固定内存的紧凑哈希map(int:int) template<uint32_t max_slot_...
51,889
https://github.com/ram-jay07/Code-Overflow/blob/master/MergeArray.cpp
Github Open Source
Open Source
MIT
2,020
Code-Overflow
ram-jay07
C++
Code
56
331
#include <iostream> using namespace std; int *merge(int arr1[],int s1,int arr2[],int s2) { int i,j,k; i=j=k=0; int *arr=new int[15]; while(i<s1 && j<s2) { if(arr1[i]<arr2[j]) arr[k++]=arr1[i++]; else arr[k++]=arr2[j++]; } for(;i<s1;i++) arr[k++]=arr1[i]; for(;j<s2;j++) arr[k++]=arr2[j]; return...
32,160
https://github.com/dfinity/nns-js/blob/master/src/ledger.ts
Github Open Source
Open Source
Apache-2.0
2,022
nns-js
dfinity
TypeScript
Code
375
1,124
import { Agent } from "@dfinity/agent"; import { Principal } from "@dfinity/principal"; import { AccountBalanceRequest, BlockHeight as PbBlockHeight, ICPTs, Memo, Payment, SendRequest, } from "../proto/ledger_pb"; import { AccountIdentifier } from "./account_identifier"; import { subAccountIdToSubaccount,...
22,207
https://github.com/sandro/homeward/blob/master/rails_generators/homeward/templates/uri_ext.rb
Github Open Source
Open Source
MIT
2,009
homeward
sandro
Ruby
Code
17
55
module URI class Generic def host_with_port normalized_port = ":#{port}" unless port == default_port "#{host}#{normalized_port}" end end end
46,835
https://github.com/stjordanis/owid-importer/blob/master/country_name_tool/migrations/0003_auto_20170609_1302.py
Github Open Source
Open Source
MIT
2,022
owid-importer
stjordanis
Python
Code
68
245
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-06-09 13:02 from __future__ import unicode_literals from django.db import migrations def load_continents(apps, schema_editor): continent = apps.get_model("country_name_tool", "Continent") newcontinents = [['NA', 'North America'], ['AS', 'Asia'], ['AF...
30,844
https://github.com/Dron23123/project999999/blob/master/views/task/create.php
Github Open Source
Open Source
BSD-3-Clause
null
project999999
Dron23123
PHP
Code
51
173
<?php use yii\helpers\Html; /** * Created by PhpStorm. * User: tag19 * Date: 01.05.2019 * Time: 7:59 PM */ $this->title = 'Create Task'; $this->params['breadcrumbs'][] = ['label' => 'Tasks', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="roles-create"> <h1><?= Html::encode(...
42,482
https://github.com/suchaoxiao/ttc2017smartGrids/blob/master/solutions/NMF/Schema/IEC61970/Informative/InfGMLSupport/IGmlColour.cs
Github Open Source
Open Source
MIT
2,017
ttc2017smartGrids
suchaoxiao
C#
Code
291
971
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
14,532
https://github.com/damienpontifex/LinearAlgebraExtensions/blob/master/Tests/LinearAlgebraExtensionsTests/MatrixTests.swift
Github Open Source
Open Source
MIT
2,016
LinearAlgebraExtensions
damienpontifex
Swift
Code
460
1,792
// // MatrixTests.swift // LinearAlgebraExtensions // // Created by Damien Pontifex on 3/08/2014. // Copyright (c) 2014 Damien Pontifex. All rights reserved. // import XCTest import Accelerate import LinearAlgebraExtensions class MatrixTests: XCTestCase { var x2: [Double]! var y2: [Double]! override func s...
49,867
https://github.com/Zeroshi/NLog.Web/blob/master/src/Shared/LayoutRenderers/AspNetMvcControllerRenderer.cs
Github Open Source
Open Source
BSD-3-Clause
2,022
NLog.Web
Zeroshi
C#
Code
142
455
using System.Text; using NLog.Config; using NLog.LayoutRenderers; #if !ASP_NET_CORE using System.Web.Routing; using System.Web; #else using HttpContextBase = Microsoft.AspNetCore.Http.HttpContext; using Microsoft.AspNetCore.Routing; #endif namespace NLog.Web.LayoutRenderers { /// <summary> /// ASP.NET MVC Con...
43,591
https://github.com/cp5637-sp21-2019-assessment2/Team-007/blob/master/wordpress_team007/wp-content/themes/bridge/vc_templates/vc_single_image.php
Github Open Source
Open Source
MIT, Unlicense
null
Team-007
cp5637-sp21-2019-assessment2
PHP
Code
1,472
4,566
<?php // Code in else part is because of compatibility for older versions of VC. if(version_compare(qode_get_vc_version(), '4.7.4') >= 0) { /** * Shortcode attributes * @var $atts * @var $title * @var $source * @var $image * @var $custom_src * @var $onclick * @var $img_size * @var $external_img_siz...
50,259
https://github.com/Epictetus/unimidi/blob/master/examples/select_a_device.rb
Github Open Source
Open Source
Apache-2.0
2,011
unimidi
Epictetus
Ruby
Code
166
531
#!/usr/bin/env ruby $:.unshift File.join( File.dirname( __FILE__ ), '../lib') require 'unimidi' require 'pp' # This is an example that explains how to select an output. # # first, take a look at the MIDI outputs that are available on your computer pp UniMIDI::Output.all # this will output something like # [#<UniMI...
21,340
https://github.com/Schalldampfer/Epoch/blob/master/Sources/epoch_code/compile/EPOCH_SpawnTraderMiltia.sqf
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,018
Epoch
Schalldampfer
SQF
Code
118
461
/* Author: Andrew Gregory - EpochMod.com Contributors: Description: test code to spawn trader milita (unused) Licence: Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike Github: https://github.com/EpochModTeam/Epoch/tree/rele...
39,704
https://github.com/centare/Centare.Extensions/blob/master/Centare.Extensions.Tests/TypeExtensionTests.cs
Github Open Source
Open Source
MIT
null
Centare.Extensions
centare
C#
Code
277
1,052
// Copyright (c) 2018 Centare using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Xunit; namespace Centare.Extensions.Tests { [ExcludeFromCodeCoverage] public class TypeExtensionTests { ...
49,731
https://github.com/stevenabwao/pendopay/blob/master/app/Entities/UssdEventMap.php
Github Open Source
Open Source
MIT
null
pendopay
stevenabwao
PHP
Code
167
622
<?php namespace App\Entities; use App\Entities\Status; use App\Entities\UssdEvent; use App\Entities\Asset; use App\Entities\Company; use App\Entities\UssdEventType; use Carbon\Carbon; use Illuminate\Database\Eloquent\Model; //use Illuminate\Database\Eloquent\SoftDeletes; class UssdEventMap extends Model { //us...
26,366
https://github.com/Daniel-Mietchen/docs.bokeh.org/blob/master/releases/1.2.0/static/js/lib/models/layouts/grid_box.js
Github Open Source
Open Source
BSD-3-Clause
2,021
docs.bokeh.org
Daniel-Mietchen
JavaScript
Code
218
746
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var layout_dom_1 = require("./layout_dom"); var grid_1 = require("../../core/layout/grid"); var p = require("../../core/properties"); var GridBoxView = /** @class */ (function (_super) { tslib_1.__extends(Gr...
16,120
https://github.com/Jibacat/happyhooks/blob/master/.storybook/webpack.config.js
Github Open Source
Open Source
MIT
null
happyhooks
Jibacat
JavaScript
Code
221
797
const WebpackBuildNotifierPlugin = require('webpack-build-notifier'); module.exports = async ({ config }) => { return { ...config, resolve: { ...config.resolve, extensions: [...config.resolve.extensions, '.ts', '.tsx'], }, devtool: 'source-map', plugins: [ ...config.plugins, ...
35,614
https://github.com/llm32054/HanLP/blob/master/src/test/java/com/hankcs/KeywordExtraction/ImprovedPositionRankEvaluation.java
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
HanLP
llm32054
Java
Code
58
254
package com.hankcs.KeywordExtraction; import com.hankcs.util.ModelEvaluationUtil; /** * 改进的PositionRank模型评估 * @author liuliming * */ public class ImprovedPositionRankEvaluation { /** * 测试集所在文件夹 */ public static String testDataSetDir = Global.testDataSetDir; /** * 测试集关键词文本文件 */ public static String tes...
6,593
https://github.com/harishsk/ExpressivePixels/blob/master/Firmware/Platform_NordicSDK/EPXPlatform_SPIClass.h
Github Open Source
Open Source
MIT
2,022
ExpressivePixels
harishsk
C
Code
337
1,233
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /* * SPI implementation on Nordic SDK * **/ #pragma once #include "nrf_drv_spi.h" #include "app_util_platform.h" #include "EPXPlatform_GPIO.h" #define F_CPU 48000000L // SPI_HAS_TRANSACTION means SPI has // - beginTransaction() // - end...
53,029
https://github.com/aversan/kare-html/blob/master/src/static/local/templates/kare_redisign/components/bitrix/catalog.top/front_slider/lang/ru/template.php
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,018
kare-html
aversan
PHP
Code
93
486
<? $MESS["CATALOG_BUY"] = "Купить"; $MESS["CATALOG_ADD"] = "В корзину"; $MESS["CATALOG_COMPARE"] = "Сравнить"; $MESS["CATALOG_NOT_AVAILABLE"] = "(нет на складе)"; $MESS["CATALOG_QUANTITY"] = "Количество"; $MESS["CATALOG_QUANTITY_FROM_TO"] = "От #FROM# до #TO#"; $MESS["CATALOG_QUANTITY_FROM"] = "От #FROM#"; $MES...
37,778
https://github.com/rjrobinjoshua/codehacking/blob/master/resources/assets/js/libs/search.js
Github Open Source
Open Source
MIT
2,019
codehacking
rjrobinjoshua
JavaScript
Code
106
347
var client = algoliasearch(algoliaAppId, algoliaSearchKey); var posts = client.initIndex('posts'); if (typeof posts !== 'undefined') { autocomplete('#aa-search-input', {}, [ { source: autocomplete.sources.hits(posts, {hitsPerPage: 5}), displayKey: 'title', templates: { ...
1,771
https://github.com/pvitty/cas/blob/master/cas-server-core/src/main/java/org/jasig/cas/util/UniqueTicketIdGenerator.java
Github Open Source
Open Source
BSD-3-Clause
null
cas
pvitty
Java
Code
104
206
/* * Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.ja-sig.org/products/cas/overview/license/ */ package org.jasig.cas.util; /** * Interface that enables for pluggable unique ticket Ids strategies. * * @author Scott Ba...
10,756
https://github.com/Bhaskers-Blu-Org2/Unity-UWP-BTLE-Sample/blob/master/Assets/Scripts/SampleDevice/SampleDevice.cs
Github Open Source
Open Source
MIT
2,021
Unity-UWP-BTLE-Sample
Bhaskers-Blu-Org2
C#
Code
780
1,957
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
25,189
https://github.com/Hiccup99/sharecare.github.io/blob/master/assets/js/fav.js
Github Open Source
Open Source
MIT
null
sharecare.github.io
Hiccup99
JavaScript
Code
30
87
const buttons = document.getElementsByClassName('button'); function toggleFave(button) { button.dataset.isFavourite = button.dataset.isFavourite == 'true' ? '' : 'true'; } for (const b of buttons) { b.addEventListener('click', () => { toggleFave(b); }); }
46,243
https://github.com/nirmalkar/nirmalkar.com/blob/master/src/images/refresh.js
Github Open Source
Open Source
RSA-MD
null
nirmalkar.com
nirmalkar
JavaScript
Code
65
302
import React from "react" function Refresh({ color, width }) { return ( <svg xmlns="http://www.w3.org/2000/svg" width={width} height={width} viewBox="0 0 48 48" fill={color} > <path d="M38 16l-8 8h6c0 6.63-5.37 12-12 12-2.03 0-...
24,089
https://github.com/GridProtectionAlliance/go2cs/blob/master/src/go-src-converted/os/user/lookup.cs
Github Open Source
Open Source
BSD-3-Clause, MIT, CC-BY-3.0
2,022
go2cs
GridProtectionAlliance
C#
Code
406
894
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package user -- go2cs converted at 2022 March 13 05:28:33 UTC // import "os/user" ==> using user = go.os.user_package // Original source: C:\Program Files\Go...
20,228
https://github.com/mashable/node-aws-test-utils/blob/master/lib/lambda_test_util.js
Github Open Source
Open Source
Apache-2.0
null
node-aws-test-utils
mashable
JavaScript
Code
132
673
var attr = require('dynamodb-data-types').AttributeValue; var LambdaTestUtil = function() { var self = this; self.kinesisPayload = function(events) { return self.jsonPayload({ "Records": events.map(function(event) { return { "kinesis": { "partitionKey": "partitionKey-...
15,146
https://github.com/otakucraft/RusbikMod/blob/master/src/main/java/com/kahzerx/rubik/mixins/DiscordAdvancementMixin.java
Github Open Source
Open Source
MIT
2,021
RusbikMod
otakucraft
Java
Code
81
429
package com.kahzerx.rubik.mixins; import com.kahzerx.rubik.Rusbik; import net.minecraft.advancement.Advancement; import net.minecraft.advancement.PlayerAdvancementTracker; import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.text.Text; import net.minecraft.text.TranslatableText; import org.spon...
21,855
https://github.com/microdotblog/sunl/blob/master/Widget/SunlitWidget.swift
Github Open Source
Open Source
MIT
2,021
sunl
microdotblog
Swift
Code
201
543
// // Widget.swift // Widget // // Created by Jonathan Hays on 10/17/20. // Copyright © 2020 Micro.blog, LLC. All rights reserved. // import WidgetKit import SwiftUI import Intents import Snippets import UIKit let placeholderPosts : [SunlitPost] = [ SunlitPost("This is some text that will appear in the placeh...
43,408
https://github.com/mesutgolcuk/number-mastermind/blob/master/src/components/Header/Header.tsx
Github Open Source
Open Source
MIT
2,022
number-mastermind
mesutgolcuk
TypeScript
Code
36
109
import React from 'react'; import { FormattedMessage } from 'react-intl'; import logo from '../../logo.svg'; export default function () { return ( <span> <img src={logo} alt="Mastermind logo" width="50%" height="100px" className="header-logo" /> <h2><FormattedMessage id="general.g...
50,092
https://github.com/mrinaldhillon/oop-cpp/blob/master/hw16/lib/chown.h
Github Open Source
Open Source
MIT
null
oop-cpp
mrinaldhillon
C
Code
155
517
#ifndef CHOWN_H #define CHOWN_H #include <iterator> #include <regex> #include "lib/command.h" #include "lib/directory.h" #include "lib/file.h" #include "lib/file_system.h" #include "lib/link.h" namespace fs { class Chown : public Command { private: const FileSystem* fs_; const std::string name_ = "chown"; std...
30,180
https://github.com/firmianay/Android-Hacker/blob/master/wangyi/evil/NetEaseNews/smali/com/netease/nr/base/activity/BaseNoAnimationActivity.smali
Github Open Source
Open Source
MIT
2,021
Android-Hacker
firmianay
Smali
Code
59
332
.class public Lcom/netease/nr/base/activity/BaseNoAnimationActivity; .super Lcom/netease/util/fragment/FragmentActivity; # direct methods .method public constructor <init>()V .locals 0 invoke-direct {p0}, Lcom/netease/util/fragment/FragmentActivity;-><init>()V return-void .end method # virtual methods...
52,393
https://github.com/karenHashimoto/CampApp/blob/master/src/database/seeds/Facility_MastersTableSeeder.php
Github Open Source
Open Source
MIT
2,019
CampApp
karenHashimoto
PHP
Code
227
885
<?php use Illuminate\Database\Seeder; class Facility_MastersTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('facility_masters')->insert([ ['id' => '1', 'path' => 'wifi.png', 'fa...
7,532
https://github.com/jackdna/EMR-PM-Software/blob/master/imwemr/interface/admin/optical/index_frames.php
Github Open Source
Open Source
MIT
2,021
EMR-PM-Software
jackdna
PHP
Code
622
3,520
<?php /* // The MIT License (MIT) // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAG...
44,579
https://github.com/arfu2016/decaNLP/blob/master/data_load.py
Github Open Source
Open Source
BSD-3-Clause
2,018
decaNLP
arfu2016
Python
Code
285
1,093
""" @Project : decaNLP @Module : data_load.py @Author : Deco [deco@cubee.com] @Created : 8/2/18 2:49 PM @Desc : """ import logging import logging.handlers import os from pprint import pformat import torch from text import torchtext import arguments from util import (get_splits, set_seed) def initializ...
29,425
https://github.com/rloomans/measure-mate/blob/master/client/js/main.js
Github Open Source
Open Source
MIT
2,020
measure-mate
rloomans
JavaScript
Code
189
601
'use strict' /* eslint-disable no-unused-vars */ import { browserHistory, Route, Router, IndexRoute, IndexRedirect } from 'react-router' import React from 'react' import ReactDOM from 'react-dom' import ReactRedirect from 'react-redirect' /* eslint-enable no-unused-vars */ import createReactClass from 'create-react-c...
39,431
https://github.com/microsoft/msfs-avionics-mirror/blob/master/src/garminsdk/navigation/index.ts
Github Open Source
Open Source
MIT
2,022
msfs-avionics-mirror
microsoft
TypeScript
Code
16
37
export * from './Regions'; export * from './LNavDataEvents'; export * from './NavdataComputer'; export * from './NavIndicatorController';
43,195
https://github.com/AdrianRiedl/duckdb/blob/master/test/sqlsmith/queries/sqlsmith-34.sql
Github Open Source
Open Source
MIT
2,020
duckdb
AdrianRiedl
SQL
Code
34
91
INSERT INTO main.partsupp VALUES (32, CASE WHEN (( SELECT c_name FROM main.customer LIMIT 1 offset 5) IS NOT NULL) OR (71 IS NOT NULL) THEN 83 ELSE 83 END, 52, ...
37,674
https://github.com/zhengwenming/WMPlayer/blob/master/Pods/GPUImage/framework/Source/GPUImageDirectionalSobelEdgeDetectionFilter.m
Github Open Source
Open Source
BSD-3-Clause, MIT
2,023
WMPlayer
zhengwenming
Objective-C
Code
373
1,277
#import "GPUImageDirectionalSobelEdgeDetectionFilter.h" @implementation GPUImageDirectionalSobelEdgeDetectionFilter #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE NSString *const kGPUImageDirectionalSobelEdgeDetectionFragmentShaderString = SHADER_STRING ( precision mediump float; varying vec2 textureCoordinate; ...
32,659
https://github.com/AnthemCS/laraquality/blob/master/app/Models/ComplaintAction.php
Github Open Source
Open Source
MIT
2,021
laraquality
AnthemCS
PHP
Code
27
95
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class ComplaintAction extends Model { use HasFactory; protected $fillable = ['user_id','action_type','comment']; /* Complaint Realiton */ public function complaint(){ } }...
27,966
https://github.com/corsc/go-commons/blob/master/cache/mock_storage.go
Github Open Source
Open Source
Apache-2.0
2,022
go-commons
corsc
Go
Code
211
535
package cache import ( "context" "github.com/stretchr/testify/mock" ) // MockStorage is an autogenerated mock type for the Storage type type MockStorage struct { mock.Mock } // Get provides a mock function with given fields: ctx, key func (_m *MockStorage) Get(ctx context.Context, key string) ([]byte, error) { ...
16,858
https://github.com/JTOne123/dashing/blob/master/Dashing.Tests/Engine/InMemory/TestDomain/IEnableable.cs
Github Open Source
Open Source
MIT
2,022
dashing
JTOne123
C#
Code
15
40
namespace Dashing.Tests.Engine.InMemory.TestDomain { public interface IEnableable { bool IsEnabled { get; set; } } }
11,565
https://github.com/happyjianguo/Java8583/blob/master/src/main/java/cn/ajsgn/common/java8583/ext/tlv/TlvObject.java
Github Open Source
Open Source
Apache-2.0
2,017
Java8583
happyjianguo
Java
Code
27
77
package cn.ajsgn.common.java8583.ext.tlv; public interface TlvObject { public abstract String getTag(); public abstract void setTag(); public abstract int getLength(); public abstract String getValue(); public abstract void setValue(); }
53,251
https://github.com/andreyBento/sprint.dev/blob/master/maven-project/sprint-dev/src/main/java/br/sprintdev/model/service/BoxService.java
Github Open Source
Open Source
MIT
2,021
sprint.dev
andreyBento
Java
Code
25
95
package br.sprintdev.model.service; import java.util.List; import br.sprintdev.model.entity.Box; public interface BoxService { void create(Box box); void update(Box box); void delete(Long id); Box findById(Long id); List<Box> findAll(); }
28,226
https://github.com/Snaipe/Mimick/blob/master/src/plt-elf.c
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,022
Mimick
Snaipe
C
Code
1,665
4,813
/* * The MIT License (MIT) * * Copyright © 2016 Franklin "Snaipe" Mathieu <http://snai.pe/> * * 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 lim...
43,037
https://github.com/Jimx-/tsdb-fork/blob/master/compact/MergedChunkSeriesSet.hpp
Github Open Source
Open Source
Apache-2.0
2,020
tsdb-fork
Jimx-
C++
Code
62
259
#ifndef MERGEDCHUNKSERIESSET_H #define MERGEDCHUNKSERIESSET_H #include "querier/ChunkSeriesSetInterface.hpp" #include "querier/QuerierUtils.hpp" namespace tsdb { namespace compact { class MergedChunkSeriesSet : public querier::ChunkSeriesSetInterface { private: std::shared_ptr<querier::ChunkSeriesSets> sets; ...
14,854
https://github.com/opplieam/Udemy-Lazy/blob/master/ann/ecom_process.py
Github Open Source
Open Source
Apache-2.0
null
Udemy-Lazy
opplieam
Python
Code
146
356
import numpy as np import pandas as pd def get_data(): df = pd.read_csv('./data/ecommerce_data.csv') data = df.values np.random.shuffle(data) X = data[:, :-1] Y = data[:, -1].astype(np.int32) # one-hot encode the categorical data # create a new matrix X2 with the correct number of column...
22,644
https://github.com/feritgezgil/ASP.NET-CORE-MVC-Ecommerce/blob/master/UI/Models/DAL/ClientModels/Emails.cs
Github Open Source
Open Source
MIT
2,020
ASP.NET-CORE-MVC-Ecommerce
feritgezgil
C#
Code
44
116
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace UI.Models.DAL { public class Emails : BaseModel { public int ClientId { get; set; } [ForeignKey("ClientId")] public virtual Cli...
18,415
https://github.com/afar17/siplenterahati/blob/master/application/views/admin/form/Laporan.php
Github Open Source
Open Source
MIT
null
siplenterahati
afar17
PHP
Code
128
673
<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main"> <div class="row"> <ol class="breadcrumb"> <li><a href="<?php echo site_url("admin/dashboard/"); ?>"> <em class="fa fa-home"></em> </a></li> <li class="active">Lap...
53,470
https://github.com/cockcrow/python-mammoth/blob/master/tests/docx/content_types_xml_tests.py
Github Open Source
Open Source
BSD-2-Clause
2,022
python-mammoth
cockcrow
Python
Code
122
779
from nose.tools import istest, assert_equal from mammoth.docx.xmlparser import element as xml_element from mammoth.docx.content_types_xml import read_content_types_xml_element @istest def content_type_is_based_on_default_for_extension_if_there_is_no_override(): element = xml_element("content-types:Types", {}, [ ...
6,286
https://github.com/galoat/LO52_Android/blob/master/Mandroid/app/src/main/java/com/example/mathieu/mandroid/Adapters/FileArrayMusicMetadataAdapter.java
Github Open Source
Open Source
Apache-2.0
null
LO52_Android
galoat
Java
Code
195
772
package com.example.mathieu.mandroid.Adapters; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.net.Uri; import android.support.annotation.NonNull; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import andr...
26,545
https://github.com/Springworks/node-request-bakery/blob/master/src/index.js
Github Open Source
Open Source
MIT
2,019
node-request-bakery
Springworks
JavaScript
Code
345
1,245
import SwaggerParser from 'swagger-parser'; import _ from 'lodash'; const params_map = { string: { default: 'TDbl5kL83bG', password: 'TDbl5kL83bG', uri: 'https://example.com:9999/foo#bar?q=superman', date: '2017-01-23T00:00:00Z', 'date-time': '2017-01-23T00:00:00Z', byte: 'YSBiYXNlNjQgZW5jb2R...
51,406
https://github.com/mgradysaunders/preform/blob/master/include/preform/iterator_range.hpp
Github Open Source
Open Source
BSD-2-Clause
null
preform
mgradysaunders
C++
Code
574
1,394
/* Copyright (c) 2018-20 M. Grady Saunders * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above * copyright notice, this list of conditions and the ...
48,678
https://github.com/metal3d/idok/blob/master/Makefile
Github Open Source
Open Source
BSD-3-Clause
2,015
idok
metal3d
Makefile
Code
123
418
VERSION=$(shell git describe --tags) OPTS=-ldflags '-X main.VERSION $(VERSION)' version: go run $(OPTS) idok.go -version all: _prepare linux32 linux64 darwin freebsd64 freebsd32 windows pack _prepare: clean mkdir dist darwin: GOOS=darwin go build $(OPTS) -o idok-darwin idok.go linux32: GOARCH=386 go build $(O...
42,900
https://github.com/derekgottlieb/opcodes-x86/blob/master/test-opcodes.sh
Github Open Source
Open Source
MIT
2,013
opcodes-x86
derekgottlieb
Shell
Code
289
769
#!/bin/bash # 2013-06-18: Derek Gottlieb (asndbg) # # If supplied with a binary, generate assembly using objdump. # # If supplied with assembly generated by objdump, use it directly. # # Then grep assembly looking for any of the opcodes in the specified opcode.txt # file, indicating which opcodes were found (so we ca...
33,352
https://github.com/smillst/bcel-util/blob/master/src/main/java/org/plumelib/bcelutil/JvmUtil.java
Github Open Source
Open Source
MIT
2,021
bcel-util
smillst
Java
Code
984
2,665
package org.plumelib.bcelutil; import java.util.HashMap; import java.util.StringTokenizer; import org.checkerframework.checker.index.qual.Positive; import org.checkerframework.checker.signature.qual.BinaryName; import org.checkerframework.checker.signature.qual.ClassGetName; import org.checkerframework.checker.signatu...
4,879
https://github.com/andreialecu/formatjs/blob/master/packages/react-intl/tests/unit/components/number.tsx
Github Open Source
Open Source
BSD-3-Clause
null
formatjs
andreialecu
TypeScript
Code
513
1,769
import * as React from 'react' import {FormattedNumber, FormattedNumberParts} from '../../../' import {createIntl} from '../../../src/components/provider' import {mountFormattedComponentWithProvider} from '../testUtils' import {NumberFormatOptions} from '@formatjs/ecma402-abstract' import {render} from '@testing-librar...
2,488
https://github.com/jhegman/fantasyEnduro/blob/master/app/Http/Controllers/ScoreRaceController.php
Github Open Source
Open Source
MIT
2,017
fantasyEnduro
jhegman
PHP
Code
305
1,158
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Kris\LaravelFormBuilder\FormBuilder; use Storage; use Excel; use App\Race; use App\Racer; use App\User; use Image; use Auth; use Log; use Route; use App\Point; use App\SuperAdminOption; use App\Lineup; use App\Events\ScoreRace; class ScoreRaceCon...
53,559
https://github.com/lw990128/BookKeeping/blob/master/app/src/main/java/com/lw/bookkeeping/Util/KeyValuePair.java
Github Open Source
Open Source
Apache-2.0
2,019
BookKeeping
lw990128
Java
Code
57
149
package com.lw.bookkeeping.Util; public class KeyValuePair { public String category; private double sum; public KeyValuePair(String category, double sum){ this.category = category; this.sum = sum; } public String getCategory() { return category; } public void se...
8,432
https://github.com/warifp/commitlint/blob/master/@commitlint/prompt/src/input.js
Github Open Source
Open Source
MIT
2,020
commitlint
warifp
JavaScript
Code
283
725
import load from '@commitlint/load'; import throat from 'throat'; import format from './library/format'; import getHasName from './library/get-has-name'; import getPrompt from './library/get-prompt'; import settings from './settings'; export default input; /** * Get user input by interactive prompt based on * conv...
19,167
https://github.com/goujonpa/sy09TP3/blob/master/ceuc.R
Github Open Source
Open Source
MIT
2,016
sy09TP3
goujonpa
R
Code
291
648
# Paul GOUJON, Stéphane LOUIS # UTC - SY09 - TP3 # Exercice 1 ceuc.app = function(Xapp, zapp) { # fonction d'apprentissage des paramètres du classifieur euclidien # IN : # - Xapp : tableau individus - variables Xapp (dimension napp x p) # correspondant aux individus d'apprentissage -> matrix # - za...
39,031
https://github.com/UnnamedGuy002/netflix-clone/blob/master/client/src/pages/BrowseMovies/index.js
Github Open Source
Open Source
MIT
2,021
netflix-clone
UnnamedGuy002
JavaScript
Code
7
18
import BrowseMovies from './BrowseMovies' export default BrowseMovies
20,527
https://github.com/zenOSmosis/media-stream-track-controller/blob/master/src/utils/screen/captureScreen.js
Github Open Source
Open Source
MIT
null
media-stream-track-controller
zenOSmosis
JavaScript
Code
77
220
const MediaStreamTrackControllerFactory = require("../../MediaStreamTrackControllerFactory"); const makeScreenCaptureConstraints = require("../constraints/makeScreenCaptureConstraints"); /** * Capture screen content and resolve a controller factory to manage the media * track(s). * * For additional reading, @link...
34,229
https://github.com/gdlmsn/Candles/blob/master/app/Http/Controllers/OrderController.php
Github Open Source
Open Source
MIT
null
Candles
gdlmsn
PHP
Code
127
439
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Auth; use Illuminate\Support\Facades\Redirect; use Cart; use App\Checkout; use App\Checkout_Items; use App\Http\Requests; use App\Http\Controllers\Controller; class OrderController extends Controller { public function index() { $ca...
49,904
https://github.com/3alireza32109/iree/blob/master/iree/compiler/Dialect/HAL/IR/test/interface_ops.mlir
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,021
iree
3alireza32109
null
Spoken
289
1,032
// RUN: iree-opt -allow-unregistered-dialect -split-input-file %s | iree-opt -allow-unregistered-dialect -split-input-file | IreeFileCheck %s // CHECK-LABEL: @interface_workgroup_info func @interface_workgroup_info() { // CHECK: %workgroup_id_x = hal.interface.workgroup.id[0] : index %0 = hal.interface.workgroup.i...
1,197
https://github.com/olxbr/BarterDude/blob/master/tests_integration/test_barterdude.py
Github Open Source
Open Source
Apache-2.0
2,023
BarterDude
olxbr
Python
Code
538
2,669
import asyncio import os from asyncio import Event from random import choices from string import ascii_uppercase import aiohttp from unittest import IsolatedAsyncioTestCase from asyncworker.connections import AMQPConnection from barterdude import BarterDude from barterdude.hooks import logging as hook_logging from bar...
26,192
https://github.com/piljek/VisSwarmR/blob/master/src/app/services/export/export.service.ts
Github Open Source
Open Source
Apache-2.0
2,022
VisSwarmR
piljek
TypeScript
Code
365
1,259
import { Injectable } from '@angular/core'; import { Mover } from '../../interfaces/mover'; import ExportData from '../../interfaces/export/export'; import { ExportToCsv } from 'export-to-csv'; import { DatePipe } from '@angular/common'; import { Path } from '../../interfaces/path'; import ExportPathData from 'src/app/...
1,582
https://github.com/J-Palomino/nodecg-react/blob/master/extension.js
Github Open Source
Open Source
MIT
2,022
nodecg-react
J-Palomino
JavaScript
Code
45
105
'use strict' // In this example replicants are being declared in the extension first // You can always declare them in panels or graphics module.exports = nodecg => { const timeReplicant = nodecg.Replicant('timestamp', {defaultValue: 1562259347886}) const nameReplicant = nodecg.Replicant('name', {defaultValue: "fel...
44,433
https://github.com/MohammadrezaTaghipour/MeasureUnitManagement/blob/master/Code/Src/MeasureUnitManagement/Infrastructure/Query/Models/CoefficientMeasureUnitResponse.cs
Github Open Source
Open Source
MIT
null
MeasureUnitManagement
MohammadrezaTaghipour
C#
Code
37
86
namespace MeasureUnitManagement.Infrastructure.Query.Models { public class CoefficientMeasureUnitResponse { public string Symbol { get; set; } public string Title { get; set; } public string TitleSlug { get; set; } public double RatioFromBasicMeasureUnit { get; set; } } }
35,539
https://github.com/zhujiang73/pytorch_mingw/blob/master/aten/src/ATen/test/atest.cpp
Github Open Source
Open Source
BSD-2-Clause
2,020
pytorch_mingw
zhujiang73
C++
Code
344
1,204
#include <gtest/gtest.h> #include <ATen/ATen.h> #include<iostream> using namespace std; using namespace at; void trace() { Tensor foo = rand({12, 12}); // ASSERT foo is 2-dimensional and holds floats. auto foo_a = foo.accessor<float, 2>(); float trace = 0; for (int i = 0; i < foo_a.size(0); i++) { tr...
24,036
https://github.com/Sma-Das/DeFI_Dapp/blob/master/front-end-ui/src/components/Wallet/Balance.tsx
Github Open Source
Open Source
MIT
null
DeFI_Dapp
Sma-Das
TypeScript
Code
86
243
import { useEthers, useTokenBalance } from "@usedapp/core"; import { formatUnits } from "ethers/lib/utils"; import { Token } from "../Main"; import { BalanceMsg } from "./BalanceMsg"; export interface BalanceProps { token: Token; } export const Balance = ({ token }: BalanceProps) => { const { name, address, image...
47,735
https://github.com/ducknguyen/iGrad-mirror/blob/master/IGrad/IGrad/Views/Application/GetEducationForm.cshtml
Github Open Source
Open Source
MIT
null
iGrad-mirror
ducknguyen
C#
Code
807
3,047
@model IGrad.Models.User.UserModel @{ /**/ ViewBag.Title = "Education | iGrad"; Layout = "~/Views/Shared/_Layout.cshtml"; } @Styles.Render("/Content/educationform.css") <script src="~/Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script> <h2> Education Information <span class="...
17,770
https://github.com/kelu124/pyS3/blob/master/org/apache/poi/util/LittleEndianInput.java
Github Open Source
Open Source
MIT
2,018
pyS3
kelu124
Java
Code
33
112
package org.apache.poi.util; public interface LittleEndianInput { int available(); byte readByte(); double readDouble(); void readFully(byte[] bArr); void readFully(byte[] bArr, int i, int i2); int readInt(); long readLong(); short readShort(); int readUByte(); int read...
15,166
https://github.com/morristech/dashclock-gerrit/blob/master/dashclock-gerrit/src/main/java/com/plusonelabs/dashclock/gerrit/prefs/DisplayFragment.java
Github Open Source
Open Source
Apache-2.0
2,013
dashclock-gerrit
morristech
Java
Code
24
121
package com.plusonelabs.dashclock.gerrit.prefs; import android.os.Bundle; import android.preference.PreferenceFragment; import com.plusonelabs.dashclock.gerrit.R; public class DisplayFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSta...
44,883
https://github.com/LunaMan01/acropolisgymweb/blob/master/js/agregarUsuario.js
Github Open Source
Open Source
MIT
2,018
acropolisgymweb
LunaMan01
JavaScript
Code
222
879
$(document).ready(function () { $('#nuevoUsuarioForm').submit(function (e) { e.preventDefault(); var username = $('#user-name').val(); var passOriginal = $('#user-pass').val(); var passConfirmacion = $('#user-pass-confirmacion').val(); if (esValidoElPass(passOriginal, passCon...
26,575
https://github.com/s9158010/wp/blob/master/code/04-deno/02-basic/while.js
Github Open Source
Open Source
MIT
2,020
wp
s9158010
JavaScript
Code
13
35
var i=1; while (i<=10) { console.log("i=", i); i = i + 1; }
13,685
https://github.com/elitap/NiftyNet/blob/master/NiftyNet/scripts/combine_segmentations.py
Github Open Source
Open Source
Apache-2.0
2,021
NiftyNet
elitap
Python
Code
250
1,075
import os import argparse import numpy as np import SimpleITK as sitk import defs RES_DIR = "../fine_stage/paper/{}/output/50000_{}/orig_size/" def getSegmentationsFromKey(key, confLst, dataset): segmentations = [] for conf in confLst: fstConfDir = RES_DIR.format(confLst[0], dataset) for file...
9,457
https://github.com/Dragomitch/PAE-PostRemise/blob/master/src/main/webapp/js/app.js
Github Open Source
Open Source
MIT
2,019
PAE-PostRemise
Dragomitch
JavaScript
Code
7,313
26,318
'use strict'; // Global variables var app; var FunnyMode; var debugg = 1; (function () { var App = function () { // Const variables var ROLE_PROFESSOR = 'Professor'; var ROLE_STUDENT = 'Student'; var API_URL = '/api/1.0'; // Private attributes var user; var appName = 'StudentExchangeToo...
10,141
https://github.com/cflw/network_device_script/blob/master/网络设备脚本/命令行接口/全局配置.py
Github Open Source
Open Source
MIT
2,023
network_device_script
cflw
Python
Code
18
83
#内部 from ..基础接口 import 全局配置 from . import 模式 #接口 class I全局配置(模式.I模式, 全局配置.I全局配置): def __init__(self, a): 模式.I模式.__init__(self, a)
21,292
https://github.com/clg55/Scilab-Workbench/blob/master/source/2.5/man/fraclab/lambdak.man
Github Open Source
Open Source
LicenseRef-scancode-public-domain, LicenseRef-scancode-warranty-disclaimer
2,022
Scilab-Workbench
clg55
null
Spoken
145
436
.TH "lambdak" 2 " June 6th 1997" "Fractales Group" "Scilab Function" .so ../sci.an .SH NAME lambdak - k's lambda functions for pseudoAW .sp Author: Paulo Goncalves .sp Computes the parametrizing function lambdak defining the Affine Wigner distributions. .sp .sp .SH Usage \f(CR[\fPy\f(CR]\fP = lambdak(u,k) .SH Input p...
28,907
https://github.com/yinghau76/android-examples/blob/master/android-sdk/ApiDemos/src/com/example/android/apis/view/List12.scala
Github Open Source
Open Source
Apache-2.0
2,012
android-examples
yinghau76
Scala
Code
242
615
/* * Copyright (C) 2007 The Android Open Source Project * * 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 app...
49,087
https://github.com/ChristinaZhu33/AsteroidsGame.github.io/blob/master/Star.pde
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,020
AsteroidsGame.github.io
ChristinaZhu33
null
Spoken
43
142
class Star //note that this class does NOT extend Floater { private int starX, starY; private double starSize; public Star() { starX = (int)(Math.random()*600); starY = (int)(Math.random()*600); starSize = (Math.random()+1); } public void show() { noStroke(); fill(255); ellipse((f...
11,548
https://github.com/CooperRedhat/insights-rbac-ui/blob/master/src/test/smart-components/myUserAccess/MUABundleRoute.test.js
Github Open Source
Open Source
Apache-2.0
2,021
insights-rbac-ui
CooperRedhat
JavaScript
Code
110
346
import React from 'react'; import { act } from 'react-dom/test-utils'; import { mount } from 'enzyme'; import { MemoryRouter } from 'react-router-dom'; import MuaBundleRoute from '../../../smart-components/myUserAccess/MUABundleRoute'; jest.mock('../../../smart-components/myUserAccess/bundles/rhel'); const ComponentW...
1,167
https://github.com/tsohil/interview_practice/blob/master/src/com/practice/tree/MirrorOfBinaryTree.java
Github Open Source
Open Source
Apache-2.0
2,015
interview_practice
tsohil
Java
Code
143
498
package com.practice.tree; import sun.misc.Queue; /** * Printing the mirror of binary tree * * @author Sohil * */ public class MirrorOfBinaryTree { public static Node mirrorOfBinaryTree(Node root) { Node temp; if(root == null){ return null; } mirrorOfBinaryTree(root.left); mirrorOfBinaryTr...
41,938
https://github.com/onap/policy-gui/blob/master/gui-server/src/test/java/org/onap/policy/gui/server/rest/PolicyPapRestControllerTest.java
Github Open Source
Open Source
Apache-2.0, CC-BY-4.0
2,023
policy-gui
onap
Java
Code
169
711
/*- * ============LICENSE_START======================================================= * Copyright (C) 2022 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in ...
29,323
https://github.com/Kvaz1r/SFGraphing/blob/master/docs/search/classes_1.js
Github Open Source
Open Source
MIT, GPL-2.0-or-later
2,021
SFGraphing
Kvaz1r
JavaScript
Code
6
82
var searchData= [ ['sfpiechart_27',['SFPieChart',['../classcsrc_1_1SFPieChart.html',1,'csrc']]], ['sfplot_28',['SFPlot',['../classcsrc_1_1SFPlot.html',1,'csrc']]] ];
48,910
https://github.com/canhorn/EventHorizon.Blazor.UX/blob/master/Source/EventHorizon.Blazor.UX/Link/Link.razor.cs
Github Open Source
Open Source
MIT
2,021
EventHorizon.Blazor.UX
canhorn
C#
Code
60
169
namespace EventHorizon.Blazor.UX.Link { using System.Collections.Generic; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; public class LinkModel : ComponentBase { [Inject] public IJSRuntime JSRuntime { get; set; } = null!; [Parameter] publ...
18,664
https://github.com/ipa320/cob_control/blob/master/cob_control/CMakeLists.txt
Github Open Source
Open Source
Apache-2.0
2,023
cob_control
ipa320
CMake
Code
6
44
cmake_minimum_required(VERSION 3.0.2) project(cob_control) find_package(catkin REQUIRED) catkin_metapackage()
17,558
https://github.com/TruongPhong97/voyager-hotelbooking/blob/master/resources/views/admin/pagebuilder/index.blade.php
Github Open Source
Open Source
MIT
null
voyager-hotelbooking
TruongPhong97
PHP
Code
688
2,911
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ setting('site.title') }}</title> <link rel="stylesheet" href="{{ asset('assets/admin/css/plugins/pagebuilder/pagebuilder.min.css') }}"> <link rel="stylesheet" href="{{ asset('asset...
8,938
https://github.com/andnor124/Dijkstra_map_for_Godot/blob/master/Project Example/dependancy/Archer.gd
Github Open Source
Open Source
MIT
2,020
Dijkstra_map_for_Godot
andnor124
GDScript
Code
51
146
extends KinematicBody2D export var speed = 40.0 # Called when the node enters the scene tree for the first time. func _ready(): set_process(true) # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): var parent = get_parent() var direction = parent.get_direction_for_a...
17,418
https://github.com/jdege/EFQ/blob/master/EFQ.Web/Models/RunInvoiceQueryModel.cs
Github Open Source
Open Source
MIT
null
EFQ
jdege
C#
Code
53
115
using System.Collections.Generic; namespace JDege.EFQ.Web.Models { public class RunInvoiceQueryModel { public string Title { get; set; } public string Query { get; set; } public string Context { get; set; } public string Description { get; set; } public string ReturnCont...
23,121
https://github.com/Hinaser/eitan-webapp/blob/master/src/module/component/_AppSidebar/Route/RouteMenu.style.monitor.ts
Github Open Source
Open Source
MIT
null
eitan-webapp
Hinaser
TypeScript
Code
39
118
import {AppTheme} from "../../../../style/theme/type"; export default (theme: AppTheme) => ({ menuList: { "& div": { whiteSpace: "nowrap" as const, textOverflow: "ellipsis", overflow: "hidden", maxWidth: "100%", textAlign: "center" as const, "& + div": { marginT...
11,897
https://github.com/zhukovRoman/zhukovRoman.github.io/blob/master/demo-str/js/project/budget_planfact.js
Github Open Source
Open Source
MIT
2,021
zhukovRoman.github.io
zhukovRoman
JavaScript
Code
113
346
var budget_planfact = { title: { text: "План-факт освоения бюджета государственных программ" }, chart: { type: 'columnrange', inverted: true }, series: [{ name: 'План', data: [[0, 12000]], color: colors[7] }, { name: 'Факт', data: [[0, 5571]], color: colors[...
45,867
https://github.com/chpwssn/DefinitelyTyped/blob/master/types/gitlab/Models/UserKeys.d.ts
Github Open Source
Open Source
MIT
2,018
DefinitelyTyped
chpwssn
TypeScript
Code
29
70
import { BaseModel, DefParams, TId } from '../BaseModel'; export class UserKeys extends BaseModel { all(userId?: TId, fn?: Function): any; addKey(userId: string, title: string, key: any, fn?: Function): any; }
43,993
https://github.com/farishan/saloimex/blob/master/ui/saloimex-ui.js
Github Open Source
Open Source
MIT
null
saloimex
farishan
JavaScript
Code
194
876
/** * Saloimex UI * by Faris Han, 2021 */ function SaloimexUI(){ this.gamedata = null /* Config */ // @todo: split config file. const SUI_TITLE = "SALOIMEX UI"; const SUI_TEXTAREA_PLACEHOLDER = "saloimex textarea placeholder"; const SUI_SAVE_TEXT = "Save"; const SUI_SAVE_MESSAGE_SUCCESS = "saved."; ...
8,670