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/xcalar/xcalar-idl/blob/master/assets/test/unitTest/menuBar/UDFPanelSpec.js
Github Open Source
Open Source
Apache-2.0
null
xcalar-idl
xcalar
JavaScript
Code
833
3,061
// TODO: Doesn't work. Pending Editor UX change. describe("UDFPanel Test", function() { var waitTime = 200; var defaultModule = 'default'; var defaultModulePath = defaultUDFPath; var syntaxErrror = 'Error: File "xcalar-udf-bd6bdef94f7eab4", line 14\ntest="a"\n ^\nSyntaxError: invalid character in ide...
37,814
https://github.com/mtappler/smt-ta-learning/blob/master/reference_data/reference_learned_models/learned_models/random/learned_model_4loc-bfs-inc-bsize1_9_BOOLECTOR.dot
Github Open Source
Open Source
MIT
2,022
smt-ta-learning
mtappler
Graphviz (DOT)
Code
136
299
digraph g { __start0 [label="" shape="none"]; l0 [shape="circle" margin=0 label="l0", xlabel="c <= 309"]; l1 [shape="circle" margin=0 label="l1", xlabel="c <= 513"]; l2 [shape="circle" margin=0 label="l2", xlabel="c <= 2045"]; l3 [shape="circle" margin=0 label="l3", xlabel="c <= 885"]; l0 -> l3 [label="out1! if c >= 9 ...
49,761
https://github.com/hongyukeji/laravel-translate/blob/master/src/Gateways/DeeplClient/Exception/RequestException.php
Github Open Source
Open Source
MIT
2,021
laravel-translate
hongyukeji
PHP
Code
18
71
<?php namespace Hongyukeji\LaravelTranslate\Gateways\DeeplClient\Exception; /** * Class RequestException * * @package Hongyukeji\LaravelTranslate\Gateways\DeeplClient\Exception */ class RequestException extends \Exception { }
6,651
https://github.com/turbodrive/turbodrive.tv-actionscript/blob/master/src/tv/turbodrive/Main.as
Github Open Source
Open Source
MIT
2,014
turbodrive.tv-actionscript
turbodrive
null
Spoken
223
1,018
package tv.turbodrive { import com.google.analytics.AnalyticsTracker; import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.text.TextField; import flash.ui.ContextMenu; import flash.ui.ContextMenuItem; import tv.turbodrive.loader.BridgeLoaderEvent; import tv.t...
11,845
https://github.com/mapfish/mapfish-print/blob/master/core/src/main/java/org/mapfish/print/parser/OneOf.java
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, BSD-2-Clause
2,023
mapfish-print
mapfish
Java
Code
63
164
package org.mapfish.print.parser; import java.lang.annotation.ElementType; import java.lang.annotation.Target; /** * Indicates that the annotated field or one of the others in the same OneOf group is required. * * @see org.mapfish.print.parser.CanSatisfyOneOf */ @Target(value = ElementType.FIELD) @java.lang.annot...
35,925
https://github.com/anshulvermapatel/cluster-logging-operator/blob/master/hack/testing-olm/utils
Github Open Source
Open Source
Apache-2.0
2,020
cluster-logging-operator
anshulvermapatel
Shell
Code
555
1,776
#!/bin/bash millisecond=1 second=$(( 1000 * millisecond )) minute=$(( 60 * second )) LOGGING_NS="openshift-logging" log::info(){ echo " [INFO] $@" } log::error(){ echo "[ERROR] $@" } indent() { INDENT=" " sed "s/^/$INDENT/" | sed "s/^${INDENT}\($1\)/${INDENT:0:-2}- \1/" } expect_success(){ local cm...
33,440
https://github.com/halilovicedvin/azure-iot-samples-csharp/blob/master/iot-hub/Samples/service/CleanupDevicesSample/ImportExportDevicesHelper.cs
Github Open Source
Open Source
MIT
2,022
azure-iot-samples-csharp
halilovicedvin
C#
Code
210
580
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Microsoft.Azure.Devices.Samples { internal st...
2,264
https://github.com/Hazardu/IrrlichtBAW/blob/master/ext/MitsubaLoader/CElementFilm.cpp
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,020
IrrlichtBAW
Hazardu
C++
Code
858
4,030
#include "../../ext/MitsubaLoader/ParserUtil.h" #include "../../ext/MitsubaLoader/CElementFactory.h" #include <functional> namespace irr { namespace ext { namespace MitsubaLoader { template<> CElementFactory::return_type CElementFactory::createElement<CElementFilm>(const char** _atts, ParserManager* _util) { cons...
48,418
https://github.com/rwoj/homem/blob/master/homec/src/components/pages/Register.js
Github Open Source
Open Source
MIT
null
homem
rwoj
JavaScript
Code
160
797
import React from 'react' import {PropTypes} from 'prop-types' import {connect} from 'react-redux' import {wyjsciaSelector, wySatelSelector, wyTempSelector} from '../../reducers/register' import {swiatlaRejestrOpisSelector} from '../../reducers/ustawienia' class Register extends React.Component{ state = { liczba...
116
https://github.com/Zondax/tee-substrate-service/blob/master/REE/lib/src/ci/client.rs
Github Open Source
Open Source
Apache-2.0
null
tee-substrate-service
Zondax
Rust
Code
725
3,126
use std::borrow::Cow; use std::net::ToSocketAddrs; use ductile::{ChannelReceiver, ChannelSender}; use zkms_common::CryptoAlgo; use zkms_ductile::{ crypto::{self, KeyTypeId}, ecdsa, ed25519, sr25519, KeystoreError, RemoteKeystore, RemoteKeystoreResponse, VRFSignature, VRFTranscriptData, VRFTranscriptValue, ...
30,231
https://github.com/hallyn/lxd/blob/master/lxc/image.go
Github Open Source
Open Source
Apache-2.0
null
lxd
hallyn
Go
Code
1,522
4,815
package main import ( "fmt" "io/ioutil" "os" "os/exec" "strings" "syscall" "time" "github.com/chai2010/gettext-go/gettext" "github.com/olekukonko/tablewriter" "golang.org/x/crypto/ssh/terminal" "gopkg.in/yaml.v2" "github.com/lxc/lxd" "github.com/lxc/lxd/internal/gnuflag" "github.com/lxc/lxd/shared" ) ...
691
https://github.com/Lee1135/winix/blob/master/Makefile
Github Open Source
Open Source
MIT
2,021
winix
Lee1135
Makefile
Code
60
222
HIDE ?= @ VENV ?= env BIN_DIR ?= $(VENV)/bin/ prepare-venv: $(HIDE)python3.8 -m venv $(VENV) $(HIDE)$(BIN_DIR)pip install --upgrade pip $(HIDE)$(BIN_DIR)pip install --editable . $(HIDE)$(BIN_DIR)pip install -r requirements-dev.txt fmt: $(HIDE)$(BIN_DIR)black winix dist: $(HIDE)$(BIN_DIR)python setup.py sdist ...
29,655
https://github.com/Coop56/eventkit-cloud/blob/master/eventkit_cloud/tasks/urls.py
Github Open Source
Open Source
2,022
eventkit-cloud
Coop56
Python
Code
30
104
# -*- coding: utf-8 -*- from django.contrib.auth.decorators import login_required from django.urls import re_path from django.views.decorators.cache import never_cache from eventkit_cloud.tasks.views import download urlpatterns = [] urlpatterns += [ re_path(r"^download", never_cache(login_required(download)))...
51,164
https://github.com/the-monorepo/monorepo/blob/master/packages/fl-benchmarker/javascript/benchmarker-cli/src/config.ts
Github Open Source
Open Source
MIT
2,021
monorepo
the-monorepo
TypeScript
Code
206
703
import { resolve } from 'path'; import { ParserOptions } from '@babel/parser'; export type ProjectConfig = { // Setup files to use (E.g. Babel register to transpile files) setupFiles?: string[]; // Name of the project testMatch?: string | string[]; env?: { [s: string]: any }; artificial?: boolean; tester...
7,729
https://github.com/JULIELab/costosys/blob/master/src/main/java/de/julielab/costosys/cli/XmiColumnDataInserter.java
Github Open Source
Open Source
BSD-2-Clause
2,023
costosys
JULIELab
Java
Code
548
1,839
package de.julielab.costosys.cli; import com.ximpleware.AutoPilot; import com.ximpleware.VTDGen; import com.ximpleware.VTDNav; import de.julielab.costosys.dbconnection.CoStoSysConnection; import de.julielab.costosys.dbconnection.DataBaseConnector; import de.julielab.java.utilities.FileUtilities; import de.julielab.xml...
53,123
https://github.com/Forumouth/flask-simple/blob/master/flask_simple/mocks.py
Github Open Source
Open Source
MIT, Unlicense
null
flask-simple
Forumouth
Python
Code
14
45
#!/usr/bin/env python # coding=utf-8 from unittest.mock import MagicMock render_template = MagicMock(return_value="this is a test")
26,561
https://github.com/JE-Chen/je_editor/blob/master/je_editor/ui/ui_event/execute/execute_shell_command/__init__.py
Github Open Source
Open Source
MIT
2,021
je_editor
JE-Chen
Python
Code
4
22
from je_editor.ui.ui_event.execute.execute_shell_command import *
14,886
https://github.com/ddelnano/terraform-provider-mikrotik/blob/master/client/dhcp_server.go
Github Open Source
Open Source
MIT
2,023
terraform-provider-mikrotik
ddelnano
Go
Code
229
761
package client import ( "github.com/go-routeros/routeros" ) // DhcpServer represents DHCP server resource type DhcpServer struct { Id string `mikrotik:".id"` Name string `mikrotik:"name"` Disabled bool `mikrotik:"disabled"` AddArp bool `mikrotik:"add-arp"` AddressPool strin...
38,600
https://github.com/iikspiral/springbootSigleton/blob/master/src/main/java/io/renren/common/validator/group/QiniuGroup.java
Github Open Source
Open Source
Apache-2.0
2,018
springbootSigleton
iikspiral
Java
Code
21
71
package io.renren.common.validator.group; /** * 七牛 * @author Yophy.W * @email iik.s.spiral@hotmail.com * @date 2017-03-28 13:51 */ public interface QiniuGroup { }
10,617
https://github.com/rosudhi/react-components-ts/blob/master/src/api/UserGroups/UserGroupsApi.ts
Github Open Source
Open Source
MIT
2,020
react-components-ts
rosudhi
TypeScript
Code
275
774
import { tap } from 'rxjs/operators'; import { UserGroupsData } from '../../UserGroups/types'; import { fetchUrl } from '../helpers'; // Could be an account name or `me`. /** * /api/usergroups * Gets a list of all user groups. * @param host * @param token */ const fetchUserGroups = (host: string, token: string) ...
2,856
https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/d3kit/3.1.0/d3kit-es.js
Github Open Source
Open Source
MIT
2,023
cdnjs
cdnjs
JavaScript
Code
5,439
14,227
import { select } from 'd3-selection'; import { dispatch } from 'd3-dispatch'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof ob...
15,890
https://github.com/isabella232/payload-node/blob/master/lib/arm/object.js
Github Open Source
Open Source
MIT
2,020
payload-node
isabella232
JavaScript
Code
264
915
var payload = require('../payload'); var utils = require('../utils') var _object_index = {} class ARMObject { constructor(obj) { if ( this.constructor.__spec__.polymorphic ) { var dup = utils.object_update({}, this.constructor.__spec__.polymorphic || {}) obj = u...
45,341
https://github.com/blambeau/wAw.js/blob/master/test/ruby/dev_test.rb
Github Open Source
Open Source
MIT
2,011
wAw.js
blambeau
Ruby
Code
123
594
require File.expand_path('../test_helper.rb', __FILE__) require 'wawjs/dev' module WawJS class DevTest < Test::Unit::TestCase include Rack::Test::Methods FIXTURE = File.expand_path('../fixture', __FILE__) VENDOR_JS = File.join(FIXTURE, 'vendor', 'js') def app Dev.new FIXTURE end ...
13,435
https://github.com/AirDev/AL_Dev/blob/master/Resources/app/main/prof.js
Github Open Source
Open Source
Apache-2.0
2,012
AL_Dev
AirDev
JavaScript
Code
1,076
5,753
/* * プロフィール表示&編集 */ // var connect = require('app/comm/connect'); // var wrk = require('app/main/work'); // var ind = require('app/main/indicator'); var masterWin; var app; exports.createWindow = function(apps){ app = apps; var myData = app.wrk.GetMyData(); var scale = app.wrk.GetScale(); //...
7,457
https://github.com/Timer/pharos-cluster/blob/master/lib/pharos/yaml_file/namespace.rb
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,018
pharos-cluster
Timer
Ruby
Code
30
93
# frozen_string_literal: true module Pharos class YamlFile class Namespace def initialize(variables) variables.each do |key, value| singleton_class.send(:define_method, key) { value } end end def with_binding(&block) yield binding end end end end
13,895
https://github.com/ridv/australis/blob/master/cmd/monitor.go
Github Open Source
Open Source
Apache-2.0
null
australis
ridv
Go
Code
282
791
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
11,792
https://github.com/BMityai/ssb/blob/master/src/app/Http/Controllers/AdminhtmlController.ts
Github Open Source
Open Source
MIT
null
ssb
BMityai
TypeScript
Code
108
367
import { Request, Response, NextFunction } from 'express'; import IOC from 'sosise-core/build/ServiceProviders/IOC'; import AdminhtmlService from '../../Services/AdminhtmlService'; import AdminUserAuthRequestBodyType from '../../Types/AdminUserAuthRequestBodyType'; import AdminAuthUnifier from '../../Unifiers/AdminAuth...
49,988
https://github.com/WaterLoan/waterloan_v2_contract/blob/master/contracts/mocks/oracle/PriceOracle.sol
Github Open Source
Open Source
MIT
null
waterloan_v2_contract
WaterLoan
Solidity
Code
84
272
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import {IPriceOracle} from '../../interfaces/IPriceOracle.sol'; contract PriceOracle is IPriceOracle { mapping(address => uint256) prices; uint256 ethPriceUsd; event AssetPriceUpdated(address _asset, uint256 _price, uint256 timestamp); event EthPri...
35,186
https://github.com/AzureAdvocateBit/GitHubReadmeWebTrends/blob/master/GitHubReadmeWebTrends.Common/Services/GitHubGraphQLApiService.cs
Github Open Source
Open Source
MIT
null
GitHubReadmeWebTrends
AzureAdvocateBit
C#
Code
201
835
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GitHubReadmeWebTrends.Common { public class GitHubGraphQLApiService { readonly IGitHubGraphQLApiClient _gitHubGraphQLApiClient; public GitHubGraphQLApiService(IGitHubGraphQLApiClient git...
34,083
https://github.com/Indoqa/indoqa-lang/blob/master/src/main/java/com/indoqa/lang/util/TimeTracker.java
Github Open Source
Open Source
Apache-2.0
2,018
indoqa-lang
Indoqa
Java
Code
368
1,012
/* * Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Indoqa licenses this file to You under the Apache License, Version 2.0 * (the "Lice...
46,750
https://github.com/SMYALTAMASH/sunbird-learning-platform/blob/master/platform-modules/content-manager/src/main/java/org/sunbird/content/enums/package-info.java
Github Open Source
Open Source
MIT
null
sunbird-learning-platform
SMYALTAMASH
Java
Code
2
13
package org.sunbird.content.enums;
33,496
https://github.com/Vinod57/Birlamar/blob/master/models/RedeemModel.js
Github Open Source
Open Source
MIT
null
Birlamar
Vinod57
JavaScript
Code
87
197
var mongoose = require("mongoose"); var Schema = mongoose.Schema; var RedeemSchema = new Schema( { date: { type: Date, required: true, default: new Date() }, user: { type: Schema.ObjectId, ref: "users", required: true }, order_id: { type: Schema.ObjectId, ref: "orders", required: true }, total_amoun...
52,219
https://github.com/rohankumardubey/summa/blob/master/Core/src/main/java/dk/statsbiblioteket/summa/common/shell/ShellContext.java
Github Open Source
Open Source
Apache-2.0
2,018
summa
rohankumardubey
Java
Code
394
707
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * dis...
7,384
https://github.com/GoCarrot/headdesk/blob/master/spec/fixtures/sdks/teak_1_x/smali/io/teak/sdk/b/a$2.smali
Github Open Source
Open Source
MIT
2,019
headdesk
GoCarrot
Smali
Code
127
689
.class final Lio/teak/sdk/b/a$2; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lio/teak/sdk/b/a;->a(Ljava/net/URI;)Z .end annotation .annotation system Ldalvik/annotation/InnerClass; a...
3,825
https://github.com/technight/HCL/blob/master/src/main/kotlin/utils/BufferedLaabStream.kt
Github Open Source
Open Source
Apache-2.0
2,020
HCL
technight
Kotlin
Code
212
529
package utils /** * Implementation of IBufferedLaabStream * Allows parser to move through, peek, look ahead, and look behind in token sequence */ class BufferedLaabStream<out T>(sequence: Sequence<T>) : IBufferedLaabStream<T> { class Buffer<out T>(sequence: Sequence<T>) { private val buffer = mutableLis...
35,501
https://github.com/stas-vilchik/bdd-ml/blob/master/data/3467.js
Github Open Source
Open Source
MIT
null
bdd-ml
stas-vilchik
JavaScript
Code
35
133
{ var x = scale.scaleUtc().domain([date.utc(0, 11, 18), date.utc(2014, 2, 2)]); test.deepEqual(x.ticks(6), [ date.utc(500, 0, 1, 0, 0), date.utc(1000, 0, 1, 0, 0), date.utc(1500, 0, 1, 0, 0), date.utc(2000, 0, 1, 0, 0) ]); test.end(); }
12,196
https://github.com/PlayFab/PlayFabGameServer/blob/master/PlayFabGameServerClientExample/Assets/GameServerClientExample/Chat/Scripts/TextLink.cs
Github Open Source
Open Source
Apache-2.0
2,021
PlayFabGameServer
PlayFab
C#
Code
16
42
using UnityEngine; using System.Collections; using UnityEngine.UI; public class TextLink : MonoBehaviour { public Text text; }
39,746
https://github.com/princeivankent/fleet_training_request/blob/master/frontend/components/SpecialTrainings.vue
Github Open Source
Open Source
MIT
null
fleet_training_request
princeivankent
Vue
Code
98
441
<template> <div v-if="$store.state.request.special_trainings.length != 0"> <v-layout row wrap> <v-flex v-for="(item,index) in $store.state.request.special_trainings" :key="index" xs4 > <v-card> <v-carousel class="carousel-size" delimiter-icon="s...
47,935
https://github.com/cherie-wuyajun/ingredientData/blob/master/server/node_modules/core-js/fn/number/is-finite.js
Github Open Source
Open Source
MIT
2,019
ingredientData
cherie-wuyajun
JavaScript
Code
4
36
require('core-js/modules/es6.number.is-finite'); module.exports = require('core-js').Number.isFinite;
55,396
https://github.com/lolgear/HealBeTraderTestApp/blob/master/Trader/Utilities/NSFoundation/NSObject+ExtendedMethods.h
Github Open Source
Open Source
MIT
null
HealBeTraderTestApp
lolgear
C
Code
37
153
// // NSObject+NSObject_ExtendedMethods.h // Buro 247 // // Created by Lobanov Dmitry on 09.07.14. // // #import <Foundation/Foundation.h> @interface NSObject (ExtendedMethods) - (NSString *)jsonValue; + (NSString *)jsonValueFromObject:(NSObject *)object; - (instancetype)weakSelf; - (BOOL)isNotNull; + (BOOL)...
24,938
https://github.com/ggsant/GraphQL/blob/master/agenda-petshop-master/infraestrutura/crud/index.js
Github Open Source
Open Source
MIT
2,020
GraphQL
ggsant
JavaScript
Code
24
69
const atendimento = require('./atendimento') const cliente = require('./cliente') const pet = require('./pet') const servico = require('./servico') module.exports = { atendimento, cliente, pet, servico }
35,635
https://github.com/deepcrawler/TVStreamerLib/blob/master/core/src/com/TVCastLib/discovery/provider/ssdp/StateVariable.java
Github Open Source
Open Source
Apache-2.0
2,021
TVStreamerLib
deepcrawler
Java
Code
119
262
/* * StateVariable * TVCastLib * * Copyright (c) 2014 Hamed Ghaderipour. * Copyright (c) 2011 stonker.lee@gmail.com https://code.google.com/p/android-dlna/ * */ package com.TVCastLib.discovery.provider.ssdp; public class StateVariable { public static final String TAG = "stateVariable"; public static...
23,268
https://github.com/Fyelight/nuscomputing.com/blob/master/config/initializers/omniauth.rb
Github Open Source
Open Source
MIT
null
nuscomputing.com
Fyelight
Ruby
Code
17
114
Rails.application.config.middleware.use OmniAuth::Builder do provider :ivle, api_key: Rails.application.secrets.IVLE_KEY provider :google_oauth2, Rails.application.secrets.GOOGLE_CLIENT_ID, Rails.application.secrets.GOOGLE_CLIENT_SECRET on_failure { |env| AuthenticationsController.action(:failure).call(env) } en...
2,504
https://github.com/hechain20/hechain/blob/master/common/ledger/testutil/test_util.go
Github Open Source
Open Source
Apache-2.0
null
hechain
hechain20
Go
Code
533
1,377
/* Copyright hechain. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package testutil import ( "archive/tar" "archive/zip" "bytes" "crypto/rand" "io" "os" "path/filepath" "strings" "testing" ) // ConstructRandomBytes constructs random bytes of given size func ConstructRandomBytes(t testing.TB,...
54,057
https://github.com/webjunjun/reactpro/blob/master/src/admin/DiscussMgmt.js
Github Open Source
Open Source
MIT
2,019
reactpro
webjunjun
JavaScript
Code
188
751
import React from 'react'; import AdminHeader from '../components/AdminHeader'; import AdminSider from '../components/AdminSider'; import AdminFooter from '../components/AdminFooter'; import { Layout, Row, Col, Input, Table, Popconfirm } from 'antd'; const { Content } = Layout; const Search = Input.Search; class Discu...
5,897
https://github.com/agentnz/Capstone/blob/master/Assets/Bookshelf/FBX/Materials/bookcase.mat.meta
Github Open Source
Open Source
CC-BY-3.0, CC-BY-4.0
2,015
Capstone
agentnz
Unity3D Asset
Code
6
38
fileFormatVersion: 2 guid: bb0fda8c429084e41950339bd128baeb NativeFormatImporter: userData:
40,824
https://github.com/larslight11/filegator/blob/master/vue.config.js
Github Open Source
Open Source
MIT
2,022
filegator
larslight11
JavaScript
Code
21
67
module.exports = { indexPath: 'main.html', filenameHashing: false, configureWebpack: config => { config.entry = { app: [ './frontend/main.js' ] } } }
38,584
https://github.com/trojanmartin/exam-wetech2/blob/master/app/LogRequest.php
Github Open Source
Open Source
MIT
null
exam-wetech2
trojanmartin
PHP
Code
53
231
<?php namespace App; use Illuminate\Http\Request; use Log; use Storage; class LogRequest{ public $message; public $state; public $errorMessage; public function __construct($message, $state, $errorMessage=''){ $this->message = $message; $this->state = $state; $this->errorMes...
42,972
https://github.com/nuhkoca/vivy-challenge/blob/master/buildSrc/src/main/kotlin/SigningConfigs.kt
Github Open Source
Open Source
Apache-2.0
2,020
vivy-challenge
nuhkoca
Kotlin
Code
251
576
/* * Copyright (C) 2020. Nuh Koca. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
41,962
https://github.com/Sir-Branch/k64f-starter-template/blob/master/sdk_k64f/middleware/se_hostlib/sss/inc/fsl_sss_se05x_types.h
Github Open Source
Open Source
MIT
2,020
k64f-starter-template
Sir-Branch
C
Code
1,426
5,677
/* * Copyright 2018,2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef SSS_APIS_INC_FSL_SSS_SE05X_TYPES_H_ #define SSS_APIS_INC_FSL_SSS_SE05X_TYPES_H_ /* ************************************************************************** */ /* Includes ...
17,095
https://github.com/brunoeas/close-eventos-web/blob/master/close-eventos/src/utils/date.ts
Github Open Source
Open Source
MIT
null
close-eventos-web
brunoeas
TypeScript
Code
37
102
import MomentUtils from '@date-io/moment'; /** * Útils para datas * * @class DateUtils * @extends {MomentUtils} */ class DateUtils extends MomentUtils { /** * Construtor padrão */ public constructor() { super(); this.moment.locale('pt-BR'); } } export default DateUtils;
38,278
https://github.com/Rune-Status/scape-tools-scape-editor/blob/master/gui/src/main/kotlin/scape/editor/gui/Launcher.kt
Github Open Source
Open Source
0BSD
2,019
scape-tools-scape-editor
Rune-Status
Kotlin
Code
13
48
package scape.editor.gui object Launcher { @JvmStatic fun main(args: Array<String>) { App.main(args) } }
28,633
https://github.com/wonderzy/ppl.nn/blob/master/src/ppl/nn/engines/cuda/kernels/onnx/sub_kernel.cc
Github Open Source
Open Source
Apache-2.0
2,021
ppl.nn
wonderzy
C++
Code
46
221
#include "ppl/nn/engines/cuda/kernels/onnx/sub_kernel.h" #include "cudakernel/arithmetic/arithmetic.h" namespace ppl { namespace nn { namespace cuda { ppl::common::RetCode SubKernel::DoExecute(KernelExecContext* ctx) { auto input0 = ctx->GetInput<TensorImpl>(0); auto input1 = ctx->GetInput<TensorImpl>(1); ...
44,488
https://github.com/JamesCao2048/BlizzardData/blob/master/Corpus/birt/1035.java
Github Open Source
Open Source
MIT
2,022
BlizzardData
JamesCao2048
Java
Code
845
3,062
/******************************************************************************* * Copyright (c) 2008 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
4,191
https://github.com/AAI-USZ/FixJS/blob/master/input/100+/after/549ec80e20f7a14d225e52177788793779e45908_1_1.js
Github Open Source
Open Source
MIT
2,022
FixJS
AAI-USZ
JavaScript
Code
3
16
function(){ lostServer.hide(); }
41,524
https://github.com/GeekLiB/simpleai-lee/blob/master/samples/search/eight_puzzle.py
Github Open Source
Open Source
MIT
null
simpleai-lee
GeekLiB
Python
Code
415
1,131
''' 8 puzzle problem, a smaller version of the fifteen puzzle: http://en.wikipedia.org/wiki/Fifteen_puzzle States are defined as string representations of the pieces on the puzzle. Actions denote what piece will be moved to the empty space. States must allways be inmutable. We will use strings, but internally most of ...
40,818
https://github.com/khalido/khalido.org/blob/master/src/pages/tags/[tag].astro
Github Open Source
Open Source
2,023
khalido.org
khalido
null
Spoken
274
867
--- import BaseLayout from "../../layouts/BaseLayout.astro"; import FormattedDate from "../../components/FormattedDate.astro"; import { CollectionEntry, getCollection } from "astro:content"; const { tag } = Astro.params; //console.log("const tag: ", tag) export async function getStaticPaths() { const allPosts = awa...
6,988
https://github.com/geo-bl-ch/pyramid_oereb/blob/master/tests/records/test_article.py
Github Open Source
Open Source
BSD-2-Clause
null
pyramid_oereb
geo-bl-ch
Python
Code
47
171
# -*- coding: utf-8 -*- import datetime import pytest from pyramid_oereb.lib.records.documents import ArticleRecord def test_mandatory_fields(): with pytest.raises(TypeError): ArticleRecord('runningModifications', datetime.date(1985, 8, 29)) def test_init(): record = ArticleRecord('runningModificat...
32,290
https://github.com/Oluwafemikorede/gbedu/blob/master/cms/app/Models/Role.php
Github Open Source
Open Source
MIT
null
gbedu
Oluwafemikorede
PHP
Code
49
158
<?php namespace Models; use Core\Model; use Helpers\Database; class Role extends Model { public $table = 'role'; function __construct(){ parent::__construct(); } public static function id($title){ $db = Database::get(); try { $rec = $db->selectRow("SELECT * FROM `role` WHERE role_title = :val",a...
43,511
https://github.com/yvan674/CurbNet/blob/master/src/utils/run_training.py
Github Open Source
Open Source
MIT
null
CurbNet
yvan674
Python
Code
270
865
"""Main. The main script that is called to run everything else. Author: Yvan Satyawan <y_satyawan@hotmail.com> """ from platform import system from trainer import Trainer from utils.slacker import Slacker from os import getcwd from os.path import join import warnings import traceback try: import curses exc...
5,310
https://github.com/manutuero/trabajo-practico-DDS-2017/blob/master/src/main/java/com/utn/dds/javaianos/service/impl/CondicionServiceImpl.java
Github Open Source
Open Source
MIT
null
trabajo-practico-DDS-2017
manutuero
Java
Code
131
555
package com.utn.dds.javaianos.service.impl; import com.utn.dds.javaianos.domain.StrategyCondicion; import com.utn.dds.javaianos.repository.CondicionRepository; import com.utn.dds.javaianos.service.CondicionService; import java.util.ArrayList; import java.util.List; import javax.transaction.Transactional; import org.sp...
50,668
https://github.com/Sareni/superset/blob/master/superset/security/api.py
Github Open Source
Open Source
Apache-2.0, OFL-1.1
2,021
superset
Sareni
Python
Code
514
1,624
# 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 not u...
42,443
https://github.com/ccetc/mahaplatform.com/blob/master/src/core/lib/express/shortlink/redirect_test.js
Github Open Source
Open Source
MIT
null
mahaplatform.com
ccetc
JavaScript
Code
21
57
import { testHandler } from '@core/utils/test' import { expect } from 'chai' import redirect from './redirect' describe('src/core/lib/express/shortlink/redirect.js', () => { })
8,161
https://github.com/lpeterse/haskell-reply/blob/master/src/System/Terminal/Replique/Readable.hs
Github Open Source
Open Source
BSD-3-Clause
2,019
haskell-reply
lpeterse
Haskell
Code
38
86
module System.Terminal.Replique.Readable where import qualified Data.Text as T class Readable a where readText :: T.Text -> Either T.Text a instance Readable T.Text where readText t = Right t instance Readable [Char] where readText t = Right (T.unpack t)
43,107
https://github.com/scphantm/GitVersion/blob/master/build/build/Utilities/ContextExtensions.cs
Github Open Source
Open Source
MIT
2,022
GitVersion
scphantm
C#
Code
16
79
namespace Build.Utilities; public static class ContextExtensions { public static FilePath? GetGitVersionToolLocation(this BuildContext context) => context.GetFiles($"src/GitVersion.App/bin/{context.MsBuildConfiguration}/{Constants.NetVersion60}/gitversion.dll").SingleOrDefault(); }
2,814
https://github.com/perl6/Pugs.hs/blob/master/MetaObject/examples/si.hs
Github Open Source
Open Source
MIT
2,021
Pugs.hs
perl6
Haskell
Code
1,272
2,768
{-# OPTIONS_GHC -fglasgow-exts -fallow-undecidable-instances -fallow-overlapping-instances #-} -- To compile make pugs as usual and use the following command inside src/ directory: -- ghc -package-conf ../third-party/installed/packages.conf -lpcre -ipcre --make MO/si.hs import MO.Run import MO.Compile import MO.Compi...
5,617
https://github.com/01662024622/A1_okrs/blob/master/resources/views/organization/technology.blade.php
Github Open Source
Open Source
MIT
null
A1_okrs
01662024622
PHP
Code
614
2,777
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <link rel="stylesheet" href=""> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <link href="{{asset('/css/vendor/css/fo...
8,482
https://github.com/dmitry-kovalev/shoutrrr/blob/master/pkg/services/discord/discord_json.go
Github Open Source
Open Source
MIT
2,022
shoutrrr
dmitry-kovalev
Go
Code
85
186
package discord import ( "encoding/json" "errors" ) // JSON is the actual notification payload type JSON struct { Text string `json:"content"` } // CreateJSONToSend creates a JSON payload to be sent to the discord webhook API func CreateJSONToSend(message string, isJSON bool) ([]byte, error) { if message == "" {...
9,367
https://github.com/keyno63/intellij-elixir/blob/master/src/org/elixir_lang/psi/UnqualifiedNoParenthesesCall.java
Github Open Source
Open Source
Apache-2.0
2,022
intellij-elixir
keyno63
Java
Code
42
234
package org.elixir_lang.psi; import org.elixir_lang.psi.call.Call; import org.elixir_lang.psi.call.MaybeExported; import org.elixir_lang.psi.call.StubBased; import org.elixir_lang.psi.call.arguments.star.NoParenthesesOneArgument; import org.elixir_lang.psi.qualification.Unqualified; import org.jetbrains.annotations.Co...
18,862
https://github.com/iamdtang/ast-workshop/blob/master/03b-no-unless-else-lint-rule/lib/template-lint-rules/no-unless-else.js
Github Open Source
Open Source
Apache-2.0, MIT
2,020
ast-workshop
iamdtang
JavaScript
Code
54
152
const Rule = require('ember-template-lint').Rule; module.exports = class extends Rule { visitor() { // TODO write your implementation here return { BlockStatement(node) { if (node.path.type === 'PathExpression' && node.path.original === 'unless' && node.inverse) { const { line, column...
44,971
https://github.com/persephone9/Telerik-Academy/blob/master/C#/C# 1 Contests/4/Trapezoid/Trapezoid-AS/TrapezoidAS.cs
Github Open Source
Open Source
MIT
2,016
Telerik-Academy
persephone9
C#
Code
125
310
using System; namespace Trapezoid_AS { class TrapezoidAS { static void Main(string[] args) { // Read input string nAsString = Console.ReadLine(); int N = int.Parse(nAsString); // Output first row for (int i = 1; i <= N; i++) ...
31,673
https://github.com/forsam-education/cerberus/blob/master/cmd/start.go
Github Open Source
Open Source
MIT
2,020
cerberus
forsam-education
Go
Code
50
211
package cmd import ( "fmt" "github.com/forsam-education/cerberus/orchestrator" "github.com/forsam-education/cerberus/utils" "github.com/spf13/cobra" ) var startCmd = &cobra.Command{ Use: "start", Short: "Starts the Cerberus reverse proxy.", Long: fmt.Sprintf(`%s A simple but powerful reverse proxy. Sta...
8,514
https://github.com/nagyist/OnlyOffice-CommunityServer/blob/master/module/ASC.Migration/GoogleWorkspace/Models/GWSMigratingUser.cs
Github Open Source
Open Source
Apache-2.0, MPL-1.1, JSON, CC0-1.0, GPL-2.0-or-later, MIT, ISC, GPL-1.0-or-later, GPL-2.0-only, LGPL-2.1-or-later, MPL-2.0, zlib-acknowledgement, LicenseRef-scancode-public-domain, BSD-3-Clause, MS-PL, LicenseRef-scancode-ms-net-library, LicenseRef-scancode-unknown-license-reference, BSD-2-Clause, Unlicense, LicenseRef...
2,023
OnlyOffice-CommunityServer
nagyist
C#
Code
681
2,584
/* * * (c) Copyright Ascensio System Limited 2010-2023 * * 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 l...
25,942
https://github.com/shemic/dever/blob/master/vendor/dever-main/framework/src/Dever/Routing/Route.php
Github Open Source
Open Source
Apache-2.0
2,017
dever
shemic
PHP
Code
428
1,486
<?php namespace Dever\Routing; use Dever; use Dever\Data\Model\Opt; use Dever\Loader\Config; use Dever\Loader\Import; use Dever\Loader\Project; use Dever\Output\Debug; use Dever\Output\Export; use Dever\Template\View; use Dever\Http\Url; use Dever\Cache\Handle as Cache; use Dever\Data\Model as Db; class Route { /...
32,784
https://github.com/toddrkeller/vets-website/blob/master/src/applications/claims-status/components/FeaturesWarning.jsx
Github Open Source
Open Source
CC0-1.0
2,020
vets-website
toddrkeller
JavaScript
Code
59
204
import React from 'react'; import recordEvent from 'platform/monitoring/record-event'; export default function FeaturesWarning() { return ( <div> <h2 className="help-heading">Additional services</h2> <p> To update your personal information, get help filing claims or appeals, or view y...
9,853
https://github.com/mo3taz23/SoftwareProject/blob/master/database.php
Github Open Source
Open Source
CC-BY-4.0, CC-BY-3.0
2,020
SoftwareProject
mo3taz23
PHP
Code
15
62
<?php $mysqli = new mysqli('localhost', 'root', '1234', 'Online Courses'); if($mysqli->connect_error) { echo $mysqli->connect_error; } ?>
17,966
https://github.com/LunchOn13/swrndvr/blob/master/VR/Assets/GraniteTopGames/Prefabs/IWMapleCustom4pcDrumSet_Basic/Stands_SetUp/CrashStand_Wide_SetUp.prefab
Github Open Source
Open Source
MIT
2,017
swrndvr
LunchOn13
Unity3D Asset
Code
1,118
5,133
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!1001 &100100000 Prefab: m_ObjectHideFlags: 1 serializedVersion: 2 m_Modification: m_TransformParent: {fileID: 0} m_Modifications: [] m_RemovedComponents: [] m_ParentPrefab: {fileID: 0} m_RootGameObject: {fileID: 1129805449260086} m_IsPrefabParent: ...
44,940
https://github.com/jacquayj/data-portal/blob/master/src/DataExplorer/DataExplorerVisualizations.jsx
Github Open Source
Open Source
Apache-2.0
2,019
data-portal
jacquayj
null
Spoken
881
3,409
import React from 'react'; import PropTypes from 'prop-types'; import { CurrentSQON } from '@arranger/components/dist/Arranger'; import Button from '@gen3/ui-component/dist/components/Button'; import Dropdown from '@gen3/ui-component/dist/components/Dropdown'; import Toaster from '@gen3/ui-component/dist/components/Toa...
16,519
https://github.com/Onotole1/PokeApp/blob/master/app/src/main/java/com/spitchenko/pokeapp/feature/list/presentation/ItemErrorViewHolderFactory.kt
Github Open Source
Open Source
Apache-2.0
2,021
PokeApp
Onotole1
Kotlin
Code
41
247
package com.spitchenko.pokeapp.feature.list.presentation import android.view.ViewGroup import androidx.databinding.ViewDataBinding import com.spitchenko.pokeapp.R import com.spitchenko.pokeapp.component.binderadapter.BindingViewHolder import com.spitchenko.pokeapp.component.binderadapter.LayoutId import com.spitchenko...
1,372
https://github.com/mahmoud-al-najar/DSPEB/blob/master/utilities/data_io.py
Github Open Source
Open Source
Apache-2.0
null
DSPEB
mahmoud-al-najar
Python
Code
1,475
5,476
import os import time import gdal import pyproj import tarfile import warnings import numpy as np import xarray as xr import pandas as pd import netCDF4 as nc import xml.etree.ElementTree as et import datagen_config as cfg from datetime import datetime, timedelta from utilities.common import isin_tile # from utilities...
15,294
https://github.com/oiuv/mud/blob/master/d/fuzhou/rongcheng.c
Github Open Source
Open Source
MIT
2,023
mud
oiuv
C
Code
85
555
// Room: /d/fuzhou/rongcheng.c // Date: May 12.1998 by Java inherit ROOM; void create() { set("short", "榕城驿"); set("long", @LONG 榕城驿是全省最大的客店,生意非常兴隆。外地游客多 选择这里落脚,你可以在这里打听到本省的风土人情。店小 二里里外外忙得团团转,福州的方言你是实在听不顺耳。还 是上楼睡觉去。墙上挂着一个牌子(paizi)。 LONG ); set("no_fight", 1); set("valid_startroom", 1); set("no_...
41,707
https://github.com/DeploymentBunny/PSD-1/blob/master/Tools/New-PSDHydration.ps1
Github Open Source
Open Source
MIT
2,019
PSD-1
DeploymentBunny
PowerShell
Code
2,909
9,873
<# .SYNOPSIS Hydration Kit for the PSD Hydration toolkit .DESCRIPTION This script installs the ADK instlals the PE installs MDT and then imports and extends the PSD environment for it. Once completed it installs and configures IIS for the PSD Solution. This then calls for a reboot. Once the server is reboot...
38,304
https://github.com/ktaicoder/ktaicoder.github.io/blob/master/root/src/features/codingpack-os-image-guide/components/StepDivider.tsx
Github Open Source
Open Source
MIT
null
ktaicoder.github.io
ktaicoder
TypeScript
Code
101
332
import { Box } from '@mui/material' export default function StepDivider(props: { color1: string; color2: string; height: number }) { const { color1, color2, height } = props return ( <Box sx={{ width: '100%', height: height, position: 'relativ...
2,545
https://github.com/fantahund/EasyAFK/blob/master/src/main/java/de/fanta/easyafk/AFKHandler.java
Github Open Source
Open Source
MIT
null
EasyAFK
fantahund
Java
Code
212
730
package de.fanta.easyafk; import de.fanta.easyafk.util.ChatUtil; import de.fanta.easyafk.util.Config; import net.fabricmc.fabric.api.networking.v1.PlayerLookup; import net.minecraft.server.MinecraftServer; import net.minecraft.server.network.ServerPlayerEntity; import java.util.HashMap; public class AFKHandler { ...
16,419
https://github.com/cah-rfelsburg/paws/blob/master/auto-lib/Paws/IAM/ListOpenIDConnectProvidersResponse.pm
Github Open Source
Open Source
Apache-2.0
2,017
paws
cah-rfelsburg
Perl
Code
41
155
package Paws::IAM::ListOpenIDConnectProvidersResponse; use Moose; has OpenIDConnectProviderList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::OpenIDConnectProviderListEntry]'); 1; ### main pod documentation begin ### =head1 NAME Paws::IAM::ListOpenIDConnectProvidersResponse =head1 ATTRIBUTES =head2 OpenIDConn...
1,511
https://github.com/ercsuh/shinylearner/blob/master/gui/shinylearnerweb/ShinyLearner/AlgorithmScripts/Helper/ReformatMlrFeatureSelectionOutput.py
Github Open Source
Open Source
MIT
null
shinylearner
ercsuh
Python
Code
18
62
import sys for line in sys.stdin: #if not line.upper().startswith("WARNING:"): if not " " in line: print(line.rstrip()) else: sys.stderr.write(line)
46,726
https://github.com/Aahwani/zignaly-webapp/blob/master/src/components/TradingTerminal/Controls/PostOnlyControl/index.js
Github Open Source
Open Source
MIT
2,021
zignaly-webapp
Aahwani
JavaScript
Code
6
12
export { default } from "./PostOnlyControl";
29,769
https://github.com/m3nu/my-idlers/blob/master/app/Http/Controllers/AccountController.php
Github Open Source
Open Source
MIT
null
my-idlers
m3nu
PHP
Code
44
161
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\DB; class AccountController extends Controller { public function index() { return view('account.index'); } public function update(Request $request) { ...
23,264
https://github.com/erayd/dogfood/blob/master/src/Internal/Handlers/DisallowHandler.php
Github Open Source
Open Source
ISC
2,017
dogfood
erayd
PHP
Code
144
433
<?php namespace Dogfood\Internal\Handlers; use Dogfood\Exception\ValidationException; use Dogfood\Internal\ValueHelper; use Dogfood\Internal\SchemaHelper; use Dogfood\Internal\BaseValidator; /** * Handler for the following keywords: * "disallow" * * @package erayd/dogfood * @copyright (c) 2017 Erayd LTD * ...
30,986
https://github.com/deepcloudlabs/dcl350-2021-mar-15/blob/master/lottery-consumer/src/main/java/com/example/lottery/service/fallback/LotteryServiceFallback.java
Github Open Source
Open Source
MIT
null
dcl350-2021-mar-15
deepcloudlabs
Java
Code
24
114
package com.example.lottery.service.fallback; import java.util.List; import org.springframework.stereotype.Service; import com.example.lottery.service.client.LotteryService; @Service public class LotteryServiceFallback implements LotteryService { @Override public List<Integer> draw() { return List.of(1,2,3,4,5...
11,827
https://github.com/SketchBench/sketchbench-data-ingestion-espbench/blob/master/tools/commons/src/main/scala/com/sketchbench/ingestion/commons/util/ScalaToJavaConverter.scala
Github Open Source
Open Source
MIT
null
sketchbench-data-ingestion-espbench
SketchBench
Scala
Code
20
100
package com.sketchbench.ingestion.commons.util import scala.collection.JavaConverters._ object ScalaToJavaConverter { def list[T](scalaList: List[T]): java.util.List[T] = scalaList.asJava def list[T](scalaArray: Array[T]): java.util.List[T] = scalaArray.toList.asJava }
33,252
https://github.com/cham-il-k/lami1a/blob/master/src/components/Logo/logo.styled.jsx
Github Open Source
Open Source
MIT
null
lami1a
cham-il-k
null
Spoken
277
1,055
import styled, {keyframes, css} from 'styled-components' import {Link} from 'react-router-dom' import {green4, textBlanc, tete, yad, point,cor, textBlack, bleuDense,green2} from '../variables' import { faTextWidth } from '@fortawesome/free-solid-svg-icons' const animate = keyframes` 0% { filter:hue-rotate(0deg)...
21,669
https://github.com/unrulybeep/unrulybeep.github.io/blob/master/assets/samples/cse143/hmwk6/Anagrams.java
Github Open Source
Open Source
MIT
null
unrulybeep.github.io
unrulybeep
Java
Code
348
788
// Elle Boyechko // CSE 142 BQ // Yuma Tou // Homework 6 (Anagram) // Lists all possible anagrams that can be created from the given phrase; list // can be filtered by number of words in the anagram. import java.util.*; public class Anagrams { private Set<String> dictionary; private SortedSet<String> choices; // ...
50,672
https://github.com/poroping/libdevice42/blob/master/client/devices/get_devices_customer_id_parameters.go
Github Open Source
Open Source
MIT
null
libdevice42
poroping
Go
Code
643
1,776
// Code generated by go-swagger; DO NOT EDIT. package devices // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "context" "net/http" "time" "github.com/go-openapi/errors" "github.com/go-openapi/runtime" cr "github.com/...
36,370
https://github.com/jsdelivrbot/makerbrane/blob/master/src/libs/super-hands.js
Github Open Source
Open Source
MIT
2,018
makerbrane
jsdelivrbot
JavaScript
Code
3,527
14,431
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
26,661
https://github.com/bf2fc6cc711aee1a0c2a/srs-ui/blob/master/src/app/ServiceRegistry/components/ServiceRegistryTableView/ServiceRegistryToolbar.tsx
Github Open Source
Open Source
Apache-2.0
null
srs-ui
bf2fc6cc711aee1a0c2a
TypeScript
Code
157
597
import React from 'react'; import { useTranslation } from 'react-i18next'; import { Button } from '@patternfly/react-core'; import { MASToolbar, ToolbarItemProps, MASPagination } from '@app/components'; export type ServiceRegistryToolbarProps = { total: number | undefined; page: number; perPage: number; handle...
11,766
https://github.com/huynle/python-skeleton-1/blob/master/checkout/transaction.py
Github Open Source
Open Source
MIT
2,014
python-skeleton-1
huynle
Python
Code
166
404
from .purchase import Purchase class Transaction(object): ''' Represents a single trip to the checkout, encapsulating some current pricing rules. ''' def __init__(self, rules): self.rules = rules '''Pricing rules for this transaction.''' self.purchases = {} '''dic...
31,072
https://github.com/chainspace/blockmania/blob/master/network/network_test.go
Github Open Source
Open Source
MIT
2,023
blockmania
chainspace
Go
Code
241
790
package network import ( . "github.com/onsi/ginkgo" // . "github.com/onsi/gomega" ) var _ = Describe("Network", func() { Describe("get", func() { It("should do something", func() { Skip("Write test(s) for this...") }) }) Describe("set", func() { It("should do something", func() { Skip("Write test(s)...
40,023
https://github.com/andres085/Laravel-Admin/blob/master/resources/views/admin/hobby/edit.blade.php
Github Open Source
Open Source
MIT
2,021
Laravel-Admin
andres085
Blade
Code
104
465
@extends('admin.layouts.master') @section('title', 'Hobby Edit') @section('content') <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <a href="{{ url('admin/hobby') }}" class="btn btn-secondary mb-3"> Back </a> </div> <div cla...
36,308
https://github.com/HewlettPackard/windlass/blob/master/tests/test_style.py
Github Open Source
Open Source
Apache-2.0
2,022
windlass
HewlettPackard
Python
Code
169
344
# # (c) Copyright 2017 Hewlett Packard Enterprise Development LP # # 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 applicab...
45,632