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/0xwallet/nkn-tuna-session/blob/master/config.go
Github Open Source
Open Source
Apache-2.0
null
nkn-tuna-session
0xwallet
Go
Code
209
749
package session import ( "github.com/imdario/mergo" ncp "github.com/nknorg/ncp-go" "github.com/nknorg/tuna" "github.com/nknorg/tuna/geo" ) type Config struct { NumTunaListeners int TunaDialTimeout int // in millisecond TunaMaxPrice string TunaNanoPayFee string TunaServiceName ...
40,101
https://github.com/asiekierka/MineLittlePony/blob/master/src/main/java/com/minelittlepony/renderer/layer/LayerPonyElytra.java
Github Open Source
Open Source
MIT
2,017
MineLittlePony
asiekierka
Java
Code
186
890
package com.minelittlepony.renderer.layer; import com.minelittlepony.ducks.IRenderPony; import com.minelittlepony.model.AbstractPonyModel; import com.minelittlepony.model.BodyPart; import com.minelittlepony.model.ModelPonyElytra; import net.minecraft.client.entity.AbstractClientPlayer; import net.minecraft.client.rend...
20,875
https://github.com/maintaina-com/jonah/blob/master/migration/4_trean_upgrade_tagstocontent.php
Github Open Source
Open Source
Adobe-Glyph
null
jonah
maintaina-com
PHP
Code
229
914
<?php /** * Move tags from trean to content storage. * * Copyright 2016-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file LICENSE for license information (GPL). If you * did not receive this file, see http://www.horde.org/licenses/gpl. * * @author Michael J. Rubinsky <mrubinsk@horde.org> * @ca...
30,146
https://github.com/duclong1997/ElectroDot/blob/master/resources/views/detail/topSelling.blade.php
Github Open Source
Open Source
MIT
null
ElectroDot
duclong1997
PHP
Code
666
3,235
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>...
10,832
https://github.com/agungdh/airnote/blob/master/resources/views/template/signup.blade.php
Github Open Source
Open Source
MIT
2,018
airnote
agungdh
Blade
Code
273
1,345
@php $now = date('YmdHis'); @endphp <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <title>{{ $app_title }}</title> <!-- Favicon--> <link rel="icon" href="{{ asset('AdminBSBMaterialDesign-1...
5,221
https://github.com/javisolv/web-remota/blob/master/xtras/easing-equations/src/linear.js
Github Open Source
Open Source
MIT
2,022
web-remota
javisolv
JavaScript
Code
85
225
easing.linear = { /** * Easing equation function for a simple linear tweening, with no easing. * @param {number} t Current time (in frames or seconds). * @param {number} b Starting value. * @param {number} c Change needed in value. * @param {number} d Expected easing duration (in frames or seconds)...
3,187
https://github.com/samfeng0517/InstantCoffee/blob/master/lib/blocs/magazine/events.dart
Github Open Source
Open Source
MIT
null
InstantCoffee
samfeng0517
Dart
Code
214
765
import 'dart:io'; import 'package:readr_app/blocs/magazine/states.dart'; import 'package:readr_app/models/magazineList.dart'; import 'package:readr_app/services/magazineService.dart'; import 'package:readr_app/helpers/exceptions.dart'; abstract class MagazineEvents{ MagazineList magazineList; Stream<MagazineState...
9,842
https://github.com/hugolin615/zeek-4.0.0-ele420520-spring2021/blob/master/src/analyzer/protocol/login/Rlogin.h
Github Open Source
Open Source
Apache-2.0
null
zeek-4.0.0-ele420520-spring2021
hugolin615
C
Code
364
1,682
// See the file "COPYING" in the main distribution directory for copyright. #pragma once #include "zeek/analyzer/protocol/login/Login.h" #include "zeek/analyzer/protocol/tcp/ContentLine.h" ZEEK_FORWARD_DECLARE_NAMESPACED(Rlogin_Analyzer, zeek, analyzer::login); namespace zeek::analyzer::login { enum rlogin_state {...
17,517
https://github.com/ericclemmons/universal-webpack/blob/master/src/webpack.config.server.js
Github Open Source
Open Source
MIT
2,016
universal-webpack
ericclemmons
JavaScript
Code
63
222
var base = require("./webpack.config.base"); var path = require("path"); var webpack = require("webpack"); module.exports = base.merge({ entry: { server: [ path.join(__dirname, "src/server.js"), ], }, externals: /^[a-z\-0-9]+$/, // Every non-relative module is external node: { __filename: tr...
2,394
https://github.com/foreseaz/chain-index/blob/master/adapter/test/mock/blockactivitydatarepo.go
Github Open Source
Open Source
Apache-2.0
2,020
chain-index
foreseaz
Go
Code
174
672
package adaptermock import ( "github.com/stretchr/testify/mock" "github.com/crypto-com/chainindex" "github.com/crypto-com/chainindex/adapter" ) type MockRDbBlockActivityDataRepo struct { mock.Mock } func (repo *MockRDbBlockActivityDataRepo) InsertGenesisActivity(tx adapter.RDbTx, activity *chainindex.Activity) ...
32,564
https://github.com/sezero/windows-sdk-headers/blob/master/Include/10.0.19041.0/um/Audioclient.h
Github Open Source
Open Source
MIT
2,021
windows-sdk-headers
sezero
C
Code
5,279
22,645
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0622 */ /* @@MIDL_FILE_HEADING( ) */ /* verify that the <rpcndr.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__...
4,767
https://github.com/alex-wdmg/imagesearch-addon/blob/master/safari/background.js
Github Open Source
Open Source
MIT
2,020
imagesearch-addon
alex-wdmg
JavaScript
Code
188
748
(function(){ if (typeof console == 'undefined' || !(console || {}).log || !(console || {}).info){ this.console = { dummy: true, log:function(){}, info:function(){}, error:function(){} }; } const searchURLs = { google: 'https://www.google.com/searchbyimage?image_url=', // Google Image Search yan...
4,321
https://github.com/starlingx/config/blob/master/sysinv/sysinv/sysinv/sysinv/db/sqlalchemy/migrate_repo/versions/111_storage_ceph_rook.py
Github Open Source
Open Source
Apache-2.0
2,023
config
starlingx
Python
Code
128
428
# # Copyright (c) 2020 Intel Corporation, Inc. # # SPDX-License-Identifier: Apache-2.0 # from sqlalchemy import Column from sqlalchemy import DateTime from sqlalchemy import ForeignKey from sqlalchemy import Integer from sqlalchemy import MetaData from sqlalchemy import String from sqlalchemy import Table ENGINE = 'I...
33,322
https://github.com/valosekj/spinalcordtoolbox/blob/master/dev/denoise/aonlm/mixingsubband.py
Github Open Source
Open Source
MIT
2,021
spinalcordtoolbox
valosekj
Python
Code
132
712
import numpy as np from wavelet.dwt3D import dwt3D from wavelet.idwt3D import idwt3D def mixingsubband(fimau,fimao): ''' References ---------- Pierrick Coupe - pierrick.coupe@gmail.com Jose V. Manjon - jmanjon@fis.upv.es B...
15,609
https://github.com/zhyocean/rent-system-page/blob/master/src/pages/room/Room.vue
Github Open Source
Open Source
MIT
2,020
rent-system-page
zhyocean
Vue
Code
117
443
<template> <div> <home-header></home-header> <room-detail :roomInfo="roomInfo"></room-detail> <room-main-info :chumInfo="roomInfo.chumInfo" :communityInfo="roomInfo.communityInfo" :allocation="roomInfo.allocation" :houseBrief="roomInfo.houseBrief...
34,310
https://github.com/opus-research/xerces/blob/master/tests/dom/events/EventReporter.java
Github Open Source
Open Source
ICU, Apache-2.0
2,022
xerces
opus-research
Java
Code
231
817
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2,864
https://github.com/nmj8585/Vue-sr/blob/master/src/views/dashboard/tables/RegularTables.vue
Github Open Source
Open Source
MIT
null
Vue-sr
nmj8585
Vue
Code
353
1,633
<template> <v-container id="regular-tables" fluid tag="section" > <base-v-component heading="Simple Tables" link="components/simple-tables" /> <base-material-card icon="mdi-clipboard-text" title="Simple Table" class="px-5 py-3" > <v-simple-table> ...
35,070
https://github.com/Merith-Ndolo/hosptal-management-app/blob/master/application/views/app/page-modifier-entree.php
Github Open Source
Open Source
MIT
null
hosptal-management-app
Merith-Ndolo
PHP
Code
470
2,311
 <?php include("includes/header.php"); ?> <?php // $list = $this->md_pharmacie->liste_medicament_actifs($id); ?> <?php $liste = $this->md_pharmacie->recup_entree($id); ?> <?php $list = $this->md_pharmacie->liste_medicament_actifs(); ?> <?php $listeFour = $this->md_pharmacie->liste_fournisseur_actifs(); ?> <?php $liste...
680
https://github.com/yumcyaWiz/opengl-sandbox/blob/master/sandbox/normal-mapping/shaders/shader.frag
Github Open Source
Open Source
MIT
null
opengl-sandbox
yumcyaWiz
GLSL
Code
205
618
#version 330 core #include ../../common/shaders/uniforms.glsl in VS_OUT { vec3 position; vec3 normal; vec2 texCoords; mat3 TBN; } fs_in; out vec4 fragColor; uniform vec3 camPos; uniform bool useNormalMap; uniform bool showNormal; // Blinn-Phong reflection model vec3 blinnPhong(in vec3 viewDir, in vec3 norma...
37,322
https://github.com/JayStilla/AIEPhysics/blob/master/PhysX-3.2.4_PC_SDK_Core/Source/PhysXProfileSDK/PxProfileEventImpl.cpp
Github Open Source
Open Source
MIT
null
AIEPhysics
JayStilla
C++
Code
961
3,245
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
10,918
https://github.com/jharmison-redhat/content/blob/master/linux_os/guide/services/obsolete/service_rsyncd_disabled/tests/enabled.fail.sh
Github Open Source
Open Source
BSD-3-Clause
2,021
content
jharmison-redhat
Shell
Code
21
59
#!/bin/bash # platform = Red Hat Enterprise Linux 8,Oracle Linux 8,multi_platform_fedora,multi_platform_rhv # packages = rsync-daemon systemctl start rsyncd systemctl enable rsyncd
4,677
https://github.com/rohansachdeva1990/art-of-code/blob/master/behavorial-design-patterns/template-design-pattern/src/main/java/com/rohan/dp/template/solution/ex1/GenerateReportTask.java
Github Open Source
Open Source
MIT
2,021
art-of-code
rohansachdeva1990
Java
Code
17
57
package com.rohan.dp.template.solution.ex1; public class GenerateReportTask extends Task { @Override protected void doExecute() { System.out.println("Generate report"); } }
42,133
https://github.com/chinesedfan/react-native-debugger/blob/master/scripts/package-windows.sh
Github Open Source
Open Source
MIT
2,019
react-native-debugger
chinesedfan
Shell
Code
53
212
#!/bin/bash echo "[v$npm_package_version] Packaging win32..." electron-packager dist/ \ --executable-name "react-native-debugger" \ --overwrite \ --platform win32 \ --arch x64 \ --asar \ --no-prune \ --out release \ --electron-version $(node -e "console.log(require('electron/package').version)") \ -...
5,848
https://github.com/carloscancian/OficinaGenericRest/blob/master/src/main/java/com/genericrest/dao/ManutencaoDAO.java
Github Open Source
Open Source
Apache-2.0
2,021
OficinaGenericRest
carloscancian
Java
Code
17
63
package com.genericrest.dao; import com.genericrest.model.Manutencao; /** * * @author carlos */ public interface ManutencaoDAO extends DAO<Manutencao, Long>{ }
44,564
https://github.com/kwestlund/cooldb/blob/master/src/main/java/com/cooldb/storage/Dataset.java
Github Open Source
Open Source
Apache-2.0
2,021
cooldb
kwestlund
Java
Code
2,229
5,989
/* * CoolDB: Embedded Database for Java * * Copyright 2021 Ken Westlund * * 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 * * Unles...
28,858
https://github.com/sparrow007/NewsApp/blob/master/app/src/main/java/com/jackandphantom/newsapp/database/AppDatabase.java
Github Open Source
Open Source
Apache-2.0
2,021
NewsApp
sparrow007
Java
Code
66
227
package com.jackandphantom.newsapp.database; import android.arch.persistence.room.Database; import android.arch.persistence.room.Room; import android.arch.persistence.room.RoomDatabase; import android.content.Context; import com.jackandphantom.newsapp.model.NewsApiArticles; //Creating the database @Database(entities...
1,064
https://github.com/fguo520/office/blob/master/src/views/amazon/amazonEditor/components/DynamicFormItem.vue
Github Open Source
Open Source
Apache-2.0
null
office
fguo520
Vue
Code
503
2,007
<template> <el-form ref="form" :model="{ from: dynamicFormList }" size="mini" inline label-width="150px"> <el-form-item v-for="(formItem,index) in dynamicFormList" :key="index" :label="formItem.localLabelName" :prop="`from.${index}.filedName`" :rules="getRules(formItem)"> <template #label> <el-toolt...
18,407
https://github.com/surya05081998/docs-dataweave/blob/master/modules/ROOT/pages/dw-coercions-functions-tolocaldatetime.adoc
Github Open Source
Open Source
BSD-3-Clause
2,021
docs-dataweave
surya05081998
AsciiDoc
Code
185
523
= toLocalDateTime ifndef::env-site,env-github[] include::_attributes.adoc[] endif::[] [[tolocaldatetime1]] == toLocalDateTime&#40;str: String, format: String &#124; Null = null, locale: String &#124; Null = null&#41;: LocalDateTime Transforms a `String` value into a `LocalDateTime` value and accepts a format and lo...
48,973
https://github.com/Risid/sensor-connect/blob/master/csharp-client/test1/control/Post.cs
Github Open Source
Open Source
Apache-2.0
null
sensor-connect
Risid
C#
Code
62
227
using System; using Newtonsoft.Json; using WebSocketSharp; namespace test { public class Post { private static string t = BaseBoard.GetBaseBoardStrMd5(); static string url = "wss://ks.risid.com/wss/WebSocketHandler.ashx?code="+t; private WebSocket ws = new WebSocket(url); ...
37,447
https://github.com/gitter-badger/webrecorder/blob/master/webrecorder/webrecorder/rec/s3.py
Github Open Source
Open Source
Apache-2.0
2,021
webrecorder
gitter-badger
Python
Code
229
1,029
import boto from six.moves.urllib.parse import urlsplit, quote_plus ## ============================================================================ class S3Storage(object): def __init__(self, config): self.remote_url_templ = config['remote_url_templ'] res = self._split_bucket_path(self.remote_url...
7,255
https://github.com/nathanwag15/ValueAssessment/blob/master/src/components/comparisonTest.js
Github Open Source
Open Source
MIT
null
ValueAssessment
nathanwag15
JavaScript
Code
95
364
import React, { Component } from 'react'; import Compiler from './compiler'; export default class Test extends Component { constructor(props){ super(props); this.state = { list_of_num: [] } } shortListGenerator() { var list_of_num = [] var stable_num = [...
9,427
https://github.com/SamVerschueren/vscode-ava/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,018
vscode-ava
SamVerschueren
Ignore List
Code
3
15
node_modules yarn.lock .vscode
27,441
https://github.com/allansrc/fuchsia/blob/master/third_party/rust_crates/vendor/block-buffer-0.3.3/src/lib.rs
Github Open Source
Open Source
BSD-2-Clause
2,022
fuchsia
allansrc
Rust
Code
417
1,261
#![no_std] #[macro_use] extern crate arrayref; extern crate byte_tools; use byte_tools::{zero, write_u64_le}; mod paddings; pub use paddings::*; macro_rules! impl_buffer { ($name:ident, $len:expr) => { pub struct $name { buffer: [u8; $len], pos: usize, } impl Co...
24,693
https://github.com/whamtet/jinjava/blob/master/src/main/java/com/hubspot/jinjava/lib/tag/eager/EagerToken.java
Github Open Source
Open Source
Apache-2.0
2,022
jinjava
whamtet
Java
Code
161
540
package com.hubspot.jinjava.lib.tag.eager; import com.hubspot.jinjava.interpret.Context; import com.hubspot.jinjava.interpret.JinjavaInterpreter; import com.hubspot.jinjava.tree.parse.Token; import java.util.Collections; import java.util.Set; public class EagerToken { private final Token token; // These words are...
1,373
https://github.com/me-azharahmed/Laevatein/blob/master/laevatein/src/main/java/com/laevatein/internal/entity/ViewResourceSpec.java
Github Open Source
Open Source
Apache-2.0
2,015
Laevatein
me-azharahmed
Java
Code
251
980
package com.laevatein.internal.entity; import com.amalgam.os.ParcelUtils; import android.content.pm.ActivityInfo; import android.os.Parcel; import android.os.Parcelable; import android.support.annotation.Nullable; /** * @author keishin.yokomaku * @since 2014/04/07 */ public class ViewResourceSpec implements Parc...
44,429
https://github.com/uclnlp/d4/blob/master/d4/dsm/loss.py
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,018
d4
uclnlp
Python
Code
769
3,097
import abc import numpy as np import tensorflow as tf import d4.dsm.extensible_dsm as edsm class DSMLoss(metaclass=abc.ABCMeta): @abc.abstractmethod def __init__(self, dsm, interpreter): with tf.name_scope("loss"): self.dsm = dsm self.interpreter = interpreter data...
5,575
https://github.com/mramirid/movie-catalogue-jetpack/blob/master/app/src/main/java/com/mramirid/moviecatalogue/data/source/remote/RemoteRepository.java
Github Open Source
Open Source
MIT
2,019
movie-catalogue-jetpack
mramirid
Java
Code
138
796
package com.mramirid.moviecatalogue.data.source.remote; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.Observer; import com.mramirid.moviecatalogue.data.source.remote.response.ItemResponse; import com.mramirid.moviecatalogue.utils.EspressoIdlingResource; impor...
32,943
https://github.com/KvalitetsIT/hjemmebehandling-medarbejder-bff/blob/master/service/src/main/java/dk/kvalitetsit/hjemmebehandling/service/AuditLoggingService.java
Github Open Source
Open Source
MIT
null
hjemmebehandling-medarbejder-bff
KvalitetsIT
Java
Code
147
638
package dk.kvalitetsit.hjemmebehandling.service; import dk.kvalitetsit.hjemmebehandling.context.UserContextProvider; import dk.kvalitetsit.hjemmebehandling.model.*; import dk.kvalitetsit.hjemmebehandling.model.audit.AuditModel; import dk.kvalitetsit.hjemmebehandling.service.audit.DiasAuditLogger; import org.slf4j.Logg...
5,466
https://github.com/flonology/UrlKeeper/blob/master/app/Model/Request.php
Github Open Source
Open Source
MIT
2,016
UrlKeeper
flonology
PHP
Code
126
346
<?php namespace Model; class Request { private $get = []; private $post = []; /** * @param array $get * @param array $post */ public function __construct(array $get, array $post) { $this->get = $get; $this->post = $post; } /** * @return array */ ...
26,014
https://github.com/lgztx96/ModernWpf/blob/master/samples/SamplesCommon/SamplePages/SampleStandardSizingPage.xaml.cs
Github Open Source
Open Source
MIT
2,022
ModernWpf
lgztx96
C#
Code
15
49
namespace SamplesCommon.SamplePages { public partial class SampleStandardSizingPage { public SampleStandardSizingPage() { InitializeComponent(); } } }
1,553
https://github.com/DreamLi1314/shared/blob/master/java/v3/gui/src/main/java/org/javafamily/jfx/FxMain1.java
Github Open Source
Open Source
MIT
null
shared
DreamLi1314
Java
Code
54
192
package org.javafamily.jfx; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.StackPane; import javafx.stage.Stage; public class FxMain1 extends Application { @Override public void start(Stage stage) throws Exception { stage.s...
41,994
https://github.com/dina-fouad/pyccel/blob/master/tests/errors/syntax_blockers/ex1.py
Github Open Source
Open Source
MIT
2,022
pyccel
dina-fouad
Python
Code
31
98
# pylint: disable=missing-function-docstring, missing-module-docstring/ {a: 2, 'b':4} ~a #$ this is invalid comment for cls in [B, C]: try: raise cls() except B: print("B") except C: print("C") finally: print("executing finally clause")
27,007
https://github.com/cloudwalkio/mruby-dir/blob/master/mrbgem.rake
Github Open Source
Open Source
Unlicense
2,020
mruby-dir
cloudwalkio
Ruby
Code
42
186
MRuby::Gem::Specification.new('mruby-dir') do |spec| spec.license = 'MIT' spec.authors = [ 'Internet Initiative Japan Inc.' ] spec.cc.include_paths << "#{build.root}/src" case RUBY_PLATFORM when /mingw|mswin/ spec.license = 'MIT and MIT-like license' spec.authors += [ 'Kevlin Henney' ] spec.ob...
42,323
https://github.com/noemiacintia/ProgramandoEmC/blob/master/Programas em C/salariominimo.c
Github Open Source
Open Source
MIT
2,021
ProgramandoEmC
noemiacintia
C
Code
71
258
#include <stdio.h> #include <locale.h> int main () { float salario_minimo, salario_da_pessoa, salario_reajustado; setlocale(LC_ALL, ""); printf("o programa reajusta salários: \n"); printf("\ndigite o salário mínimo: "); scanf ("%f", &salario_minimo); printf("digite seu salário: "); scanf (...
3,986
https://github.com/cinepost/Falcor/blob/master/src/lava_lib/reader_bgeo/test/geo/pyro_crash_lo.geo
Github Open Source
Open Source
BSD-3-Clause
2,021
Falcor
cinepost
GLSL
Code
474
3,403
["fileversion","15.5.482","hasindex",true,"pointcount",7,"vertexcount",7,"primitivecount",7,"info", { "volume_summary":"Volume Resolutions:\n 0 (density) : [4, 4, 3] Voxel Count: 48\n 1 (vel.x) : [4, 4, 3] Voxel Count: 48\n 2 (vel.y) : [4, 4, 3] Voxel Count: 48\n 3 (vel.z) : [4, 4, 3] Voxel Count: 48\n 4 (tem...
1,794
https://github.com/marceloadsj/hsds-react/blob/master/src/components/Table/Table.actionTypes.js
Github Open Source
Open Source
MIT
2,022
hsds-react
marceloadsj
JavaScript
Code
45
132
export const UPDATE_TABLE_DATA = 'updated-data' export const EXPAND_TABLE = 'expand' export const COLLAPSE_TABLE = 'collapse' export const SELECT_ALL_ROWS = 'select-all' export const DESELECT_ALL_ROWS = 'deselect-all' export const SELECT_ROW = 'select-row' export const DESELECT_ROW = 'deselect-row' export const UPDATE_...
32,019
https://github.com/apsaltis/Big-Data-Benchmark-for-Big-Bench/blob/master/engines/hive/conf/queryParameters.sql
Github Open Source
Open Source
Apache-2.0
2,016
Big-Data-Benchmark-for-Big-Bench
apsaltis
SQL
Code
498
2,094
!echo ============================; !echo <settings from queryParameters.sql>; !echo ============================; --new (dates all Mondays, dateranges complete weeks): --store: 2000-01-03, 2004-01-05 (1463 days, 209 weeks) --item: 2000-01-03, 2004-01-05 (1463 days, 209 weeks) --web_page: 2000-01-03, 2004-01-05 (1463 d...
36,709
https://github.com/ResurrectionRemix/Resurrection_packages_apps_Settings/blob/master/tests/robotests/src/com/android/settings/network/NetworkScorerPickerTest.java
Github Open Source
Open Source
Apache-2.0
2,021
Resurrection_packages_apps_Settings
ResurrectionRemix
Java
Code
502
2,235
/* * Copyright (C) 2017 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...
1,636
https://github.com/MasterMann/material.avalonia/blob/master/Material.Dialog/Enums/TextFieldKindEnum.cs
Github Open Source
Open Source
MIT
2,021
material.avalonia
MasterMann
C#
Code
54
134
using System; using System.Collections.Generic; using System.Text; namespace Material.Dialog.Enums { public enum TextFieldKind { /// <summary> /// Regular text field. /// </summary> Normal, /// <summary> /// Regular text field, but with clear button. ...
39,034
https://github.com/tqrg-bot/qpid-broker-j/blob/master/perftests/src/test/java/org/apache/qpid/disttest/controller/config/TestInstanceTest.java
Github Open Source
Open Source
Apache-2.0
2,022
qpid-broker-j
tqrg-bot
Java
Code
365
1,225
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
12,634
https://github.com/heaths/azure-sdk-for-go/blob/master/sdk/resourcemanager/storagepool/armstoragepool/zz_generated_models.go
Github Open Source
Open Source
Apache-2.0
2,022
azure-sdk-for-go
heaths
Go
Code
4,295
12,411
//go:build go1.16 // +build go1.16 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the cod...
8,124
https://github.com/DevinDon/blog-2019/blob/master/src/app/module/stub.module.ts
Github Open Source
Open Source
MIT
null
blog-2019
DevinDon
TypeScript
Code
59
156
import { Component, NgModule } from '@angular/core'; import { AppService } from '../app.service'; // tslint:disable: component-selector @Component({ selector: 'mat-icon', template: '' }) export class MatIconStubComponent { } @Component({ selector: 'router-outlet', template: '' }) export class RouterOutletStubCompone...
7,373
https://github.com/awareframework/com.aware.android.sensor.battery/blob/master/library/src/main/java/com/awareframework/android/sensor/battery/model/BatteryDischarge.kt
Github Open Source
Open Source
Apache-2.0
null
com.aware.android.sensor.battery
awareframework
Kotlin
Code
71
202
package com.awareframework.android.sensor.battery.model import com.awareframework.android.core.model.AwareObject import com.google.gson.Gson /** * Battery discharge data * * @author sercant * @date 25/04/2018 */ class BatteryDischarge( // var start: Int = 0, // var end: Int = 0, // var endT...
25,092
https://github.com/runningjack/sisl/blob/master/app/models/Setting.php
Github Open Source
Open Source
MIT
null
sisl
runningjack
PHP
Code
329
925
<?php /* ================================================= CMS Name : DOPTOR CMS Version : v1.2 Available at : www.doptor.org Copyright : Copyright (coffee) 2011 - 2014 Doptor. All rights reserved. License : GNU/GPL, visit LICENSE.txt Description : Doptor is Opensource CMS. ========================================...
16,949
https://github.com/AaronFriel/pulumi-ucloud/blob/master/sdk/nodejs/ipsecvpn/vpngateway.ts
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,021
pulumi-ucloud
AaronFriel
TypeScript
Code
1,371
2,919
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; /** * Provides a VPN Gateway resource. * * ## Example Usage...
18,272
https://github.com/Shashi-rk/azure-sdk-for-java/blob/master/sdk/synapse/azure-analytics-synapse-artifacts/src/main/java/com/azure/analytics/synapse/artifacts/models/BlobEventType.java
Github Open Source
Open Source
MIT
2,022
azure-sdk-for-java
Shashi-rk
Java
Code
124
384
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.analytics.synapse.artifacts.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; import...
24,567
https://github.com/romansp/servbot/blob/master/repos/getUserMessageHistory.go
Github Open Source
Open Source
BSD-2-Clause
2,020
servbot
romansp
Go
Code
97
366
package repos import ( "github.com/khades/servbot/models" "gopkg.in/mgo.v2/bson" ) func GetUserMessageHistoryByUserID(userID *string, channelID *string) (*models.ChatMessageLog, error) { result := models.ChatMessageLog{} error := Db.C("messageLogs").Find(bson.M{"channelid": *channelID, "userid": *userID}).One(&re...
37,306
https://github.com/KqSMea8/city_pickers/blob/master/android/settings.gradle
Github Open Source
Open Source
MIT
2,019
city_pickers
KqSMea8
Gradle
Code
3
13
rootProject.name = 'city_picker'
604
https://github.com/Cherno-SuS/SunderingShadows/blob/master/d/shadow/virtual/sea/laerad.dock.c
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,021
SunderingShadows
Cherno-SuS
C
Code
542
1,316
//Updated by ~Circe~ 8/14/15 to reflect construction for Asgard Keep #include <std.h> inherit DOCK; int is_virtual() { return 1; } int is_water() { return 1; } int is_dock() { return 1; } void create() { ::create(); set_indoors(0); set_property("no teleport",1); set_light(2); set_terrain(BARREN); ...
15,240
https://github.com/tsouf/AwesomeLaravel/blob/master/cypress/integration/login.spec.js
Github Open Source
Open Source
MIT
null
AwesomeLaravel
tsouf
JavaScript
Code
33
205
import faker from 'faker' describe('Login', () => { const email = faker.internet.email() const password = faker.internet.password() it('successfully registering', () => { cy.visit('http://laravelapp.local/register') cy.get('input[name=name]').type(faker.name.findName()) cy.get('input[name=email]...
45,805
https://github.com/tilera/llvm/blob/master/test/Transforms/SLPVectorizer/X86/multi_user.ll
Github Open Source
Open Source
NCSA
2,014
llvm
tilera
LLVM
Code
288
760
; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7-avx | FileCheck %s target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" target triple = "x86_64-apple-macos...
5,992
https://github.com/ashari0831/Sky/blob/master/resources/views/details.blade.php
Github Open Source
Open Source
MIT
null
Sky
ashari0831
PHP
Code
215
1,111
@extends("master") @section("content") <div class="container" style="height:10cm"> <div class="row"> <div class="col-sm-6"> <img height="380px" width="380px" src="/{{$product->gallery}}" alt=""> </div> <div class="col-sm-6"> <a class="btn...
42,349
https://github.com/tyn/arcs/blob/master/pkg/filter/limit-date.sh
Github Open Source
Open Source
MIT
null
arcs
tyn
Shell
Code
19
68
_ ifset "$ARCS_DATE_YM" \ _ having "date_ym" "$ARCS_DATE_YM" \ | _ ifset "$ARCS_DATE_Y" \ _ having "date_y" "$ARCS_DATE_Y" \
40,082
https://github.com/YaneYosifov/Telerik/blob/master/Quality Assurance/Part III/Homeworks/24. Mobile Testing/MobileTesting/Views/PromptView/PromptView.Map.cs
Github Open Source
Open Source
MIT
null
Telerik
YaneYosifov
C#
Code
35
156
namespace FitnessApp.Views.PromptView { using OpenQA.Selenium.Appium; using OpenQA.Selenium.Appium.Android; public partial class PromptView { internal AppiumWebElement NameField { get { return this.Driver.FindElementById("android:id/custom") ...
48,785
https://github.com/DmitriySidyakin/ComputerGraphics/blob/master/3DSamles/3DSamles/Camera.cs
Github Open Source
Open Source
MIT
2,021
ComputerGraphics
DmitriySidyakin
C#
Code
674
1,721
using System; namespace StereoCanvasSamples { public class Camera { public Projection Projection { get; set; } // Расстояние до точки фокусировки. public long FocusDotDistance { get; set; } // Координаты верхней левой точки. public TDPoint TopLeft { get; set; } ...
31,813
https://github.com/RishabKumar/Web-201/blob/master/node_modules/dist-es6/lib/package-json.js
Github Open Source
Open Source
MIT
2,018
Web-201
RishabKumar
JavaScript
Code
466
1,591
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = undefined; var _slicedToArray2 = require('babel-runtime/helpers/slicedToArray'); var _slicedToArray3 = _interopRequireDefault(_slicedToArray2); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); va...
50,560
https://github.com/racoltacalin/cryoprison/blob/master/Library/Cryoprison/Inspectors/FileNotDestructivelyWritable.cs
Github Open Source
Open Source
Unlicense
2,020
cryoprison
racoltacalin
C#
Code
193
571
using System; using System.Collections.Generic; using System.IO; using Cryoprison.Ex; namespace Cryoprison.Inspectors { /// <summary> /// Detects whether or not a file is writable, that is can be created, /// written to and delete. /// </summary> public class FileNotDestructivelyWritable : Inspect...
9,081
https://github.com/jstarcher/databrary.org/blob/master/client/src/pages/settings/Profile.vue
Github Open Source
Open Source
MIT
2,021
databrary.org
jstarcher
Vue
Code
906
3,604
<template> <q-page padding> <div class="row"> <form @submit.prevent="save" @change="saved = false" class="col-xs-12 col-sm-12 col-md-8"> <div class="q-mb-md"> <div class="row"> <div class="col-10 text-h4">Profile</div> <div class="col-2 text-right"> <q...
11,503
https://github.com/UnderDogg/crm-mrdaigithub-good-vue-config/blob/master/front_end/pages/home/data/patients.vue
Github Open Source
Open Source
Apache-2.0
2,019
crm-mrdaigithub-good-vue-config
UnderDogg
Vue
Code
474
1,867
<template> <div class="patients-data"> <h2>客户状态数据</h2> <el-card class="box-card"> <el-card class="sub-box"> <el-form class="form-group" :model="patientsForm" ref="patientsForm" :inline="true"> <el-form-item prop="statisticalType"> <el-select v-model="patientsForm.statistica...
43,905
https://github.com/jsoref/lyra/blob/master/exported_layers_test.h
Github Open Source
Open Source
Apache-2.0
2,021
lyra
jsoref
C
Code
354
1,233
/* * 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 ...
4,733
https://github.com/lsorling/showcase/blob/master/Python3/dictionary/frequency table/freqtable.py
Github Open Source
Open Source
MIT
null
showcase
lsorling
Python
Code
60
110
paragraph = """ Commentary: My walk around Singapore was a step outside my comfort zone - and I’m all the better for it. """ found = {} target = 'aeiou' for letter in target: print(letter, paragraph.count(letter)) found[letter] = paragraph.count(letter) print(found) # what if we change the question to for every...
14,521
https://github.com/alexeyz041/toolbox/blob/master/openssl/eckeygen2/.gitignore
Github Open Source
Open Source
CC0-1.0, LicenseRef-scancode-public-domain
2,022
toolbox
alexeyz041
Ignore List
Code
2
8
*.pem keygen
38,861
https://github.com/sarang-apps/darshan_browser/blob/master/third_party/blink/public/platform/web_content_security_policy_struct.h
Github Open Source
Open Source
BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause
2,022
darshan_browser
sarang-apps
C
Code
393
922
/* * Copyright (C) 2012 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
45,985
https://github.com/antchain-openapi-sdk-php/blockchain/blob/master/src/Models/CreateAccountMappingInfoRequest.php
Github Open Source
Open Source
MIT
2,022
blockchain
antchain-openapi-sdk-php
PHP
Code
606
2,285
<?php // This file is auto-generated, don't edit it. Thanks. namespace AntChain\BLOCKCHAIN\Models; use AlibabaCloud\Tea\Model; class CreateAccountMappingInfoRequest extends Model { // OAuth模式下的授权token /** * @var string */ public $authToken; /** * @var string */ public $produ...
28,655
https://github.com/Stormix/kickstart/blob/master/resources/js/layouts/app.vue
Github Open Source
Open Source
MIT
2,021
kickstart
Stormix
Vue
Code
100
347
<script lang="ts"> import Logo from '@/components/Logo' import { Component, Mixins } from 'vue-property-decorator' import GlobalHelper from '@/mixins/GlobalHelper' import Navbar from '@/components/Navbar' import Sidebar from '@/components/Sidebar/Sidebar' import Footer from '@/components/Footer' import AuthHelper from ...
14,577
https://github.com/EffnerAppArchive/effnerapp-android-legacy/blob/master/app/src/main/java/de/effnerapp/effner/tools/misc/Consumer.java
Github Open Source
Open Source
Apache-2.0
2,021
effnerapp-android-legacy
EffnerAppArchive
Java
Code
50
141
/* * Developed by Sebastian Müller and Luis Bros. * Last updated: 12.09.21, 19:48. * Copyright (c) 2021 EffnerApp. * */ package de.effnerapp.effner.tools.misc; import java.util.Objects; public interface Consumer<T> { void accept(T t); default Consumer<T> andThen(Consumer<? super T> after) { Obj...
46,286
https://github.com/16george/EquipotentialX/blob/master/android/app/src/main/java/com/nmrc/equipotentialx/framework/ui/activities/MainActivity.kt
Github Open Source
Open Source
MIT
2,021
EquipotentialX
16george
Kotlin
Code
56
282
package com.nmrc.equipotentialx.framework.ui.activities import android.os.Build import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.annotation.RequiresApi import androidx.compose.animation.ExperimentalAnimationApi import androidx.compose.mater...
42,416
https://github.com/sgt-kabukiman/kabukibot-legacy/blob/master/lib/Plugin/EmoteCounter/Plugin.js
Github Open Source
Open Source
MIT
null
kabukibot-legacy
sgt-kabukiman
JavaScript
Code
908
2,808
/* * Copyright (c) 2015, Sgt. Kabukiman, https://github.com/sgt-kabukiman * * This file is released under the terms of the MIT license. You can find the * complete text in the attached LICENSE file or online at: * * http://www.opensource.org/licenses/mit-license.php */ var BasePlugin = require('./../Base.js'),...
17,856
https://github.com/turboladen/tailor/blob/master/lib/tailor/lexer/token.rb
Github Open Source
Open Source
MIT, Unlicense
2,020
tailor
turboladen
Ruby
Code
294
937
require 'ripper' require_relative 'lexer_constants' require_relative '../logger' class Tailor class Lexer < ::Ripper::Lexer # Helper methods for tokens that are parsed by {Tailor::Lexer}. class Token < String include Tailor::LexerConstants include Tailor::Logger::Mixin # @param [String] t...
15,308
https://github.com/YunyeongChoi/compmatscipy/blob/master/compmatscipy/data/elemental_gibbs_energies.py
Github Open Source
Open Source
MIT
2,022
compmatscipy
YunyeongChoi
Python
Code
39
123
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import numpy as np import os, json this_dir, this_filename = os.path.split(__file__) DATA_PATH = os.path.join(this_dir, "data", "elemental_gibbs_energies.json") def elemental_gibbs_energies_data(): with open(DATA_PATH) as f: ...
18,235
https://github.com/6122617139/mapbox-maps-ios/blob/master/Sources/MapboxMaps/Style/Generated/Layers/FillLayer.swift
Github Open Source
Open Source
ISC, BSL-1.0, BSD-2-Clause, MIT, LicenseRef-scancode-object-form-exception-to-mit, BSD-3-Clause, Zlib
2,021
mapbox-maps-ios
6122617139
Swift
Code
735
2,235
// This file is generated. import Foundation /** * A filled polygon with an optional stroked border. * * @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-fill">The online documentation</a> * */ public struct FillLayer: Layer { // MARK: - Conformance to `Layer` protocol public var id: Str...
15,741
https://github.com/timmattison/gwt-material/blob/master/gwt-material/src/main/java/gwt/material/design/client/base/HasTransform.java
Github Open Source
Open Source
Apache-2.0
2,022
gwt-material
timmattison
Java
Code
257
526
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2017 GwtMaterialDesign * %% * 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 * ...
38,795
https://github.com/yzlhccdec/EFCore/blob/master/EFCore/EFUtil/EFEventHandlerList.m
Github Open Source
Open Source
MIT
2,017
EFCore
yzlhccdec
Objective-C
Code
150
491
// // Created by yizhuolin on 12-8-13. // // To change the template use AppCode | Preferences | File Templates. // #import "EFEventHandlerList.h" @interface EFEventHandlerList () { NSMutableDictionary *_listeners; NSMutableArray *_listenerArray; } @end @implementation EFEventHandlerList - (id)init { s...
34,437
https://github.com/skillz/mopub-ios-sdk/blob/master/Specs/MoPubSampleAppSpecs/SampleAppKIF/Extensions/UIWebView+KIF.m
Github Open Source
Open Source
BSD-3-Clause
2,016
mopub-ios-sdk
skillz
Objective-C
Code
81
333
// // UIWebView+link.m // MoPub // // Copyright (c) 2013 MoPub. All rights reserved. // #import "UIWebView+KIF.h" @implementation UIWebView (KIF) - (NSString *)html { return [self stringByEvaluatingJavaScriptFromString:@"document.documentElement.outerHTML;"]; } - (NSString *)allLinks { NSString *JS = [N...
8,397
https://github.com/cdimitroulas/smart-types-ts/blob/master/src/number/negativeNum.spec.ts
Github Open Source
Open Source
MIT
2,021
smart-types-ts
cdimitroulas
TypeScript
Code
124
347
import { assert } from "chai"; import * as fc from "fast-check"; import * as e from "fp-ts/lib/Either"; import { mkNegativeNum } from "./negativeNum"; describe("NegativeNum", () => { describe("mkNegativeNum", () => { it("returns a Left when the input is invalid", () => { const invalidInput = fc.oneof( ...
23,294
https://github.com/lyj729047457/Rust_node_test_harness/blob/master/TestHarness/integration-test/org/aion/harness/integ/RpcTest.java
Github Open Source
Open Source
MIT
null
Rust_node_test_harness
lyj729047457
Java
Code
1,942
7,847
package org.aion.harness.integ; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.SignatureException; import java.security.spec.InvalidKeySpecException; import java.util.Optional; import org.aion.harness.integ.resources.TestHelper; import org.aion.harness.ker...
40,769
https://github.com/javila3090/waira/blob/master/resources/views/partials/header.blade.php
Github Open Source
Open Source
MIT
null
waira
javila3090
PHP
Code
87
293
<header class="masthead"> <div class="container h-100"> <div class="row h-100"> <div class="col-lg-12 my-auto text-center"> <div class="mx-auto typewriter"> <div class="mb-5 size-60px main-title"> <div id="typing1">{{$main->title}}</div...
41,161
https://github.com/upadhyaydhruv/vajra-quadcopter/blob/master/custom_quad_firmware/Core/Inc/pwm.h
Github Open Source
Open Source
MIT
2,022
vajra-quadcopter
upadhyaydhruv
C
Code
88
182
#ifndef PWM_H #define PWM_H #include <stdbool.h> #include <stdint.h> // initialize PWM timers void pwmInit(); /* Set PWM percentage, from 0 to 100, for each of the four motors through four separate functions Will set a duty cycle with on-time of 1000 us to 2000 us, which is the standard for quadcopter ESCs The ...
46,677
https://github.com/permazen/permazen/blob/master/permazen-coreapi/src/main/java/io/permazen/core/ListElementStorageInfo.java
Github Open Source
Open Source
Apache-2.0
2,023
permazen
permazen
Java
Code
145
469
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package io.permazen.core; import io.permazen.kv.KVPairIterator; import io.permazen.util.ByteReader; import io.permazen.util.UnsignedIntEncoder; import java.util.List; class ListElementStorageInfo<E> extends CollectionElementStorageInfo<List<E>, E, ...
13,279
https://github.com/brentspell/spokestack-android/blob/master/jni/Dev.mk
Github Open Source
Open Source
Apache-2.0
2,018
spokestack-android
brentspell
Makefile
Code
73
412
CC = gcc CFLAGS = -shared -Wall -O3 -fpic \ -I$(JAVA_HOME)/include \ -I$(JAVA_HOME)/include/$(shell uname | tr A-Z a-z) OUTDIR = ../target all: $(OUTDIR)/libspokestack.jnilib clean: $(RM) $(OUTDIR)/libspokestack.jnilib $(RM) $(OUTDIR)/libspokestack.so rebuild: clean all $(OUTDIR)/libspokesta...
25,814
https://github.com/mledesma-redstage/configuracode/blob/master/cfg-web-sdk/packages/web-utilities/src/Observable/LogObservable.ts
Github Open Source
Open Source
Apache-2.0
2,021
configuracode
mledesma-redstage
TypeScript
Code
350
1,191
import { AccumulatingObservable } from "./AccumulatingObservable"; export enum LogLevel { Log = "Log", Info = "Info", Warn = "Warn", Error = "Error", } export class LogMessage { constructor(public level: LogLevel, public message: any, public optionalParams: any[] = []) {} get key(): string { return `${this.le...
41,435
https://github.com/andreitataru/gateway.microservice/blob/master/app/Services/MessageService.php
Github Open Source
Open Source
MIT
null
gateway.microservice
andreitataru
PHP
Code
118
350
<?php namespace App\Services; use App\Traits\ConsumesExternalServices; class MessageService { use ConsumesExternalServices; /** * The base uri to be used to consume the messages's service * @var string */ public $baseUri; /** * The secret to be used to consume the messages's service * @var string *...
23,740
https://github.com/panntingg/KMediansR/blob/master/man/distance.Rd
Github Open Source
Open Source
MIT
2,019
KMediansR
panntingg
R
Code
91
228
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/distance.R \name{distance} \alias{distance} \title{distance} \usage{ distance(X, medians) } \arguments{ \item{X}{a matrix, the dataset being clustered} \item{medians}{a matrix, dedians of the clusters} } \value{ a matrix, distance between ea...
41,279
https://github.com/capcom6/mariadb-backup/blob/master/extract-mysql.sh
Github Open Source
Open Source
MIT
null
mariadb-backup
capcom6
Shell
Code
265
824
#!/bin/bash export LC_ALL=C if [ -r "$(dirname "$0")/config.inc" ]; then source "$(dirname "$0")/config.inc" elif [ -r "/var/lib/backup-mysql/config.inc" ]; then source "/var/lib/backup-mysql/config.inc" else error "Can not find config.inc" fi if [ -r "$(dirname "$0")/common.inc" ]; then source "$(di...
34,832
https://github.com/miikavai/magento2_payment_module/blob/master/app/code/Svea/MaksuturvaMasterpass/Block/Request/Masterpass.php
Github Open Source
Open Source
BSD-2-Clause-FreeBSD
null
magento2_payment_module
miikavai
PHP
Code
102
450
<?php namespace Svea\MaksuturvaMasterpass\Block\Request; class Masterpass extends \Magento\Payment\Block\Form { protected $_formFactory; protected $logger; public function __construct( \Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Data\FormFactory $formFacto...
34,835
https://github.com/JasonWyse/FacRankSvm_c/blob/master/parameter.py
Github Open Source
Open Source
BSD-3-Clause
null
FacRankSvm_c
JasonWyse
Python
Code
117
1,583
path = "data/" model_path = "model/" log_path = "log/" conf_path = "conf/" all_data = ['MQ2007','MQ2008','MSLR','YAHOO_SET1','YAHOO_SET2','MQ2007-list','MQ2008-list'] data_path = {"MQ2007":"MQ2007/Fold1/train.txt","MQ2008":"MQ2008/Fold1/train.txt","MSLR":"Fold1/train.txt.scale","YAHOO_SET1":"YAHOO/set1.train.txt.scale"...
45,587
https://github.com/bbbneo333/aurora/blob/master/src/components/media-player-ribbon/media-player-progress.component.tsx
Github Open Source
Open Source
MIT
2,022
aurora
bbbneo333
TSX
Code
150
651
import React, {useCallback, useState} from 'react'; import {Col, Row} from 'react-bootstrap'; import classNames from 'classnames/bind'; import {useSelector} from 'react-redux'; import {DateTimeUtils} from '../../utils'; import {MediaEnums} from '../../enums'; import {RootState} from '../../reducers'; import {MediaPlay...
48,526
https://github.com/mcfongtw/LostInCompilation/blob/master/docs/doxygen/shacat/html/search/typedefs_3.js
Github Open Source
Open Source
MIT
2,016
LostInCompilation
mcfongtw
JavaScript
Code
8
219
var searchData= [ ['treenodeptr',['TreeNodePtr',['../TreeNode_8h.html#afe41b48fac23f337b78642812f4184f6',1,'TreeNode.h']]], ['treenodestack',['TreeNodeStack',['../NodeStack_8h.html#ac9ed85d9736df57b5ee63ea0e9eb0744',1,'NodeStack.h']]], ['treewalkerptr',['TreeWalkerPtr',['../VisitedTreeNode_8h.html#a96b5cfb8de2aa1...
1,284
https://github.com/Boethie/Old-Genesis/blob/master/src/main/java/genesis/util/noise/NoiseBuffer3D.java
Github Open Source
Open Source
MIT
2,018
Old-Genesis
Boethie
Java
Code
409
744
/* * This file is part of Genesis Mod, licensed under the MIT License (MIT). * * Copyright (c) 2017 Boethie * Copyright (c) 2017 contributors * * 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 ...
48,544
https://github.com/enzulu/tutorko/blob/master/frontend/src/js/tutorko_home.js
Github Open Source
Open Source
Apache-2.0
2,013
tutorko
enzulu
JavaScript
Code
94
585
$(document).ready(function() { var personIndex = 0; $('#addPerson').click(function() { personIndex++; var ranAv = Math.round(Math.random()*2)+1; var ranExp; switch(ranAv) { case 1: ranExp="Physics"; break; case 2: ranExp="Math"; break; case 3: ranExp="English"; break; } v...
33,420