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/mercadopago/sdk-dotnet/blob/master/src/MercadoPago/Resource/MerchantOrder/MerchantOrderShippingSpeed.cs
Github Open Source
Open Source
MIT
2,023
sdk-dotnet
mercadopago
C#
Code
45
116
namespace MercadoPago.Resource.MerchantOrder { /// <summary> /// Shipping time information. /// </summary> public class MerchantOrderShippingSpeed { /// <summary> /// Handling time. /// </summary> public long? Handling { get; set; } /// <summary> ///...
7,394
https://github.com/zhao-qc/zstack/blob/master/plugin/flatNetworkProvider/src/main/java/org/zstack/network/service/flat/FlatNetworkServiceSimulator.java
Github Open Source
Open Source
Apache-2.0
2,019
zstack
zhao-qc
Java
Code
486
2,372
package org.zstack.network.service.flat; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.MediaType; import org.springframework.stereotype.C...
2,765
https://github.com/zxing-js/text-encoding/blob/master/test/browser/test-gb18030.js
Github Open Source
Open Source
Apache-2.0, Unlicense
2,020
text-encoding
zxing-js
JavaScript
Code
48
141
// This is free and unencumbered software released into the public domain. // See LICENSE.md for more information. test(function() { var cases = [ {bytes: [148, 57, 218, 51], string: '\uD83D\uDCA9' } // U+1F4A9 PILE OF POO ]; cases.forEach(function(c) { assert_equals(new TextDecoder('gb18030').decode(ne...
21,491
https://github.com/myneworder/atmosphere/blob/master/db/migrate/20140127082332_add_state_explanation_to_appliance.rb
Github Open Source
Open Source
MIT
2,017
atmosphere
myneworder
Ruby
Code
18
65
class AddStateExplanationToAppliance < ActiveRecord::Migration[4.2] def change change_table :atmosphere_appliances do |t| t.column :state_explanation, :string, null: true end end end
3,123
https://github.com/mjambon/atdgen/blob/master/src/ag_oj_emit.mli
Github Open Source
Open Source
BSD-3-Clause
2,017
atdgen
mjambon
OCaml
Code
66
198
val make_ocaml_files :opens:string list -> with_typedefs:bool -> with_create:bool -> with_fundefs:bool -> all_rec:bool -> std:bool -> unknown_field_handler:string option -> constr_mismatch_handler:string option -> pos_fname:string option -> pos_lnum:int option -> type_aliases:string option -> f...
15,288
https://github.com/g4brielvs/usaspending-api/blob/master/usaspending_api/accounts/migrations/0001_initial.py
Github Open Source
Open Source
CC0-1.0
2,022
usaspending-api
g4brielvs
Python
Code
480
3,473
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-10-11 16:17 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models from usaspending_api.common.helpers.generic_helper import FY_PG_FUNCTION_DEF class Migration(migrations.Migration): initial ...
37,742
https://github.com/volunteer-a-thon/jobhopper/blob/master/jobs/views.py
Github Open Source
Open Source
MIT
2,020
jobhopper
volunteer-a-thon
Python
Code
66
193
from django.shortcuts import render from django.http import HttpResponse, JsonResponse from .models import JobClass, BlsOesFakes from .serializers import BlsOesSerializer from django.template import loader # Create your views here. def index(request): jobs =JobClass.objects.all() template = loader.get_templat...
17,669
https://github.com/jart07/node-7digital-api/blob/master/spec/config_spec.js
Github Open Source
Open Source
MIT
2,014
node-7digital-api
jart07
JavaScript
Code
64
231
var expect = require('chai').expect; describe('config', function() { var config = require('../config'); it('should have the default consumer key', function() { expect(config.consumerkey).to.equal('YOUR_KEY_HERE'); }); it('should have an empty oauthsecret', function() { expect(config.consumersecret).to.equal(...
40,840
https://github.com/qiangshuang/iotplatjava/blob/master/src/main/java/com/ipincloud/iotbj/srv/dao/AlgorithmDao.java
Github Open Source
Open Source
Apache-2.0
2,020
iotplatjava
qiangshuang
Java
Code
79
426
package com.ipincloud.iotbj.srv.dao; import com.ipincloud.iotbj.srv.domain.Algorithm; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; import com.alibaba.fastjson.JSONObject; //(AlgorithmDao)算法 表数据库访问层 //generate by redcloud,2020-07-24 19:59:20 public interface AlgorithmDao { ...
3,985
https://github.com/Larcius/gta5-modder-utils/blob/master/common/Util.py
Github Open Source
Open Source
MIT
2,022
gta5-modder-utils
Larcius
Python
Code
1,098
3,428
import math import os import random import shutil from typing import Any, Callable, Optional import numpy as np import transforms3d from datetime import datetime from natsort import natsorted from scipy.spatial import ConvexHull from scipy.spatial.distance import pdist from scipy.spatial.qhull import QhullError from s...
39,282
https://github.com/tachang/py-authorize/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,013
py-authorize
tachang
Ignore List
Code
6
33
*.py[co] .DS_Store docs/_build/ build/ dist/ Py_Authorize.egg-info
49,132
https://github.com/tongxin3267/alabo/blob/master/src/01.framework/01-Alabo/Validations/Attributes/UserIdAttribute.cs
Github Open Source
Open Source
MIT
null
alabo
tongxin3267
C#
Code
114
397
using Alabo.Domains.Enums; using Alabo.Extensions; using Microsoft.AspNetCore.Mvc.DataAnnotations; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Alabo.Dynamics; namespace Alabo.Validations.Attributes { /// <summary> /// 用户ID验证:不能为空,Id>0,能够查找到用户 ///...
42,459
https://github.com/filin-from-2042/elstore/blob/master/catalog/view/theme/elektrika-tools/js/common.js
Github Open Source
Open Source
MIT
2,018
elstore
filin-from-2042
JavaScript
Code
286
1,044
function getURLVar(key) { var value = []; var query = String(document.location).split('?'); if (query[1]) { var part = query[1].split('&'); for (i = 0; i < part.length; i++) { var data = part[i].split('='); if (data[0] && data[1]) { value[data[0]]...
41,224
https://github.com/archanadeveloper18/BakingApp/blob/master/app/src/main/java/com/example/android/mybaking/Activity_Main.java
Github Open Source
Open Source
MIT
2,019
BakingApp
archanadeveloper18
Java
Code
260
1,193
package com.example.android.mybaking; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.annotation.VisibleForTesting; import android.support.test.espresso.I...
6,211
https://github.com/SilverPineSoftware/UUSwiftNetworking/blob/master/UUSwiftNetworking/UUHttpAuthorization.swift
Github Open Source
Open Source
MIT
null
UUSwiftNetworking
SilverPineSoftware
Swift
Code
64
194
// // UUHttpAuthorization.swift // UUSwiftNetworking // // Created by Ryan DeVore on 10/22/21. // import Foundation public protocol UUHttpAuthorizationProvider { func attachAuthorization(to request: UUHttpRequest) } open class UUTokenAuthorizationProvider: UUHttpAuthorizationProvider { public init() {...
25,368
https://github.com/pegi3s/dockerfiles/blob/master/haddock_server/2.2/run
Github Open Source
Open Source
Apache-2.0
2,023
dockerfiles
pegi3s
Shell
Code
82
469
#!/bin/bash OUTDIR=${1:-/data} echo "Running..." echo "outdir=" $OUTDIR account=$(cat $OUTDIR/parameters.haddock) for f in $OUTDIR/PDB.*/ do cd $f P1="$(ls *.pdb1)" P2="$(ls *.pdb2)" P3="${P1%.*}" P4="${P2%.*}" P5='"'$P3"-"$P4'"' A=$(cat *.a1) B=$(cat *.a2) C=$(cat *.p1) D=$(cat *.p2) echo "Submitting " $P5...
31,202
https://github.com/alexeden/postprocessing/blob/master/src/utils/PrefixSubstringsUtils.ts
Github Open Source
Open Source
Zlib
null
postprocessing
alexeden
TypeScript
Code
94
255
/** * Prefixes substrings within the given strings. * * @param prefix - A prefix. * @param substrings - The substrings. * @param strings - A collection of named strings. */ export const prefixSubstrings = (prefix: string, substrings: string[], strings: Map<string, string>) => { let prefixed; let regExp; fo...
25,436
https://github.com/HPZhang/Phoenix/blob/master/library/src/main/java/com/yalantis/phoenix/refresh_view/ArrowRefreshView.java
Github Open Source
Open Source
Apache-2.0
2,015
Phoenix
HPZhang
Java
Code
476
1,643
package com.yalantis.phoenix.refresh_view; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.PixelFormat; import android.graphics.Rect; impor...
51,176
https://github.com/waleedbangash/broker/blob/master/resources/views/partials/menu.blade.php
Github Open Source
Open Source
MIT
null
broker
waleedbangash
PHP
Code
635
3,062
<div id="sidebar" class="c-sidebar c-sidebar-fixed c-sidebar-lg-show"> <div class="c-sidebar-brand d-md-down-none"> <a class="c-sidebar-brand-full h4" href="#"> Broker </a> </div> <ul class="c-sidebar-nav"> <li class="c-sidebar-nav-item"> <a href="{{ route("admi...
50,204
https://github.com/iAvinashVarma/RunnerCore/blob/master/Middle/Extension/AV.Middle.Extension.GenericLog/CommonLog.cs
Github Open Source
Open Source
MIT
2,018
RunnerCore
iAvinashVarma
C#
Code
90
275
using log4net; using System; using System.Collections; using System.IO; using System.Reflection; namespace AV.Middle.Extension.GenericLog { public static class CommonLog { private static readonly ILog logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public static string Validate(this...
42,647
https://github.com/gigsterdev9/qhq/blob/master/application/views/services/add_exist.php
Github Open Source
Open Source
MIT
null
qhq
gigsterdev9
PHP
Code
536
2,405
<?php //echo '<pre>'; print_r($_POST); echo '</pre>'; ?> <div class="container"> <h2><?php echo $title; ?></h2> <p><a href="javascript:history.go(-1)" ><span class="glyphicon glyphicon-remove-sign"></span> Cancel</a></p> <div class="panel panel-default"> <div class="panel-body"> <p class="small"><span class="text-in...
38,655
https://github.com/manang/hicn/blob/master/hicn-plugin/src/data_fwd_node.c
Github Open Source
Open Source
Apache-2.0
null
hicn
manang
C
Code
2,065
7,776
/* * Copyright (c) 2017-2021 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
40,535
https://github.com/neuro-inc/platform-api/blob/master/tests/integration/test_billing_log_storage.py
Github Open Source
Open Source
Apache-2.0
null
platform-api
neuro-inc
Python
Code
33
163
import pytest from sqlalchemy.ext.asyncio import AsyncEngine from platform_api.orchestrator.billing_log.storage import ( BillingLogStorage, PostgresBillingLogStorage, ) from tests.unit.test_billing_log_storage import TestBillingLogStorage class TestPostgresBillingLogStorage(TestBillingLogStorage): @pyte...
9,717
https://github.com/tanmayagarwal06/CompetitiveProgramming/blob/master/DynamicProgramming/CoinTower.cpp
Github Open Source
Open Source
MIT
null
CompetitiveProgramming
tanmayagarwal06
C++
Code
99
320
#include<iostream> #include<string> using namespace std; string solve(int n, int x, int y) { int *dp = new int[n+1]; dp[0] = 0; dp[1] = 1; dp[x] = 1; dp[y] = 1; for(int i = 2; i<=n; i++){ if(i==x || i==y){ continue; } int smallAns1 = dp[i-1] ^ 1; ...
29,225
https://github.com/1and1/reactive/blob/master/reactive-http/src/main/java/net/oneandone/reactive/utils/RetryScheduler.java
Github Open Source
Open Source
Apache-2.0
2,020
reactive
1and1
Java
Code
272
795
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * 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...
5,247
https://github.com/dongying/dear/blob/master/dear/analysis/mfcc.py
Github Open Source
Open Source
MIT
2,015
dear
dongying
Python
Code
231
886
#-*- coding: utf-8 -*- import numpy as np from dear.spectrum import DFTSpectrum class MFCCs(DFTSpectrum): @staticmethod def freq2mel(freq): return 1000 * np.log(1+freq/700.0) / np.log(1+1000.0/700.0) @staticmethod def mel2freq(mel): return 700 * (np.exp(mel/1000.*np.log(1+1000.0/700...
29,469
https://github.com/Vsareen0/test-lerna/blob/master/packages/react/occhio-text/lib/occhio-text.js
Github Open Source
Open Source
MIT
null
test-lerna
Vsareen0
JavaScript
Code
59
146
import React from "react"; import cx from "clsx"; import styles from "./styles.css"; const Text = ({ children, className, as = "p", variant, ...rest }) => { const textVariant = styles[variant] || "Body"; console.log(textVariant); const classes = cx( styles.Text, { [textVariant]: variant, }, ...
32,918
https://github.com/dental-tech/mobikul-standalone-pos/blob/master/app/src/main/java/com/webkul/mobikul/mobikulstandalonepos/activity/SubscriptionActivity.java
Github Open Source
Open Source
MIT
2,019
mobikul-standalone-pos
dental-tech
Java
Code
369
1,664
package com.webkul.mobikul.mobikulstandalonepos.activity; import android.content.Context; import android.content.Intent; import android.databinding.DataBindingUtil; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View;...
27,445
https://github.com/corywalker/expreduce/blob/master/expreduce/resources/rubi/8 Special functions.m
Github Open Source
Open Source
MIT
2,023
expreduce
corywalker
MATLAB
Code
2,138
26,238
(* ::Package:: *) (* ::Section:: *) (*Special Function Rules*) (* ::Subsection::Closed:: *) (*8.1 Error functions*) Int[Erf[a_.+b_.*x_],x_Symbol] := (a+b*x)*Erf[a+b*x]/b + 1/(b*Sqrt[Pi]*E^(a+b*x)^2) /; FreeQ[{a,b},x] Int[Erfc[a_.+b_.*x_],x_Symbol] := (a+b*x)*Erfc[a+b*x]/b - 1/(b*Sqrt[Pi]*E^(a+b*x)^2) /; Free...
48,873
https://github.com/SCECcode/CFM_web/blob/master/schema/CFM5.3_latest/obj/native/SAFS-SGPR-SJMT-Beaumont_A_blind_fault-CFM5.ts
Github Open Source
Open Source
BSD-3-Clause
2,023
CFM_web
SCECcode
TypeScript
Code
12,509
37,489
GOCAD TSurf 1 HEADER { name:SAFS-SGPR-SJMT-Beaumont_A_blind_fault-CFM5 *visible:true *solid*color:0.029341 0.074063 0.334600 1 } GOCAD_ORIGINAL_COORDINATE_SYSTEM NAME Default AXIS_NAME "X" "Y" "Z" AXIS_UNIT "m" "m" "m" ZPOSITIVE Elevation END_ORIGINAL_COORDINATE_SYSTEM TFACE VRTX 1 511567.60156 3766607.01562 -20836.5...
132
https://github.com/marcwittke/Backend.Fx/blob/master/src/implementations/Backend.Fx.SerilogLogging/SerilogLoggerFactory.cs
Github Open Source
Open Source
MIT
2,021
Backend.Fx
marcwittke
C#
Code
118
408
using System; using System.Diagnostics; using Backend.Fx.Logging; using Serilog; using Serilog.Core; using Serilog.Events; using ILogger = Backend.Fx.Logging.ILogger; namespace Backend.Fx.SerilogLogging { [DebuggerStepThrough] public class SerilogLoggerFactory : ILoggerFactory { private readonly Lo...
24,879
https://github.com/9988123/SlinkyTyped/blob/master/a/aws-sdk/src/main/scala/typingsSlinky/awsSdk/lambdaMod/EventSourceMappingConfiguration.scala
Github Open Source
Open Source
MIT
2,020
SlinkyTyped
9988123
Scala
Code
583
2,028
package typingsSlinky.awsSdk.lambdaMod import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @js.native trait EventSourceMappingConfiguration extends js.Object { /** * The maximum number of items to retrieve in a single batch. */ var BatchSize: js.UndefOr[typingsSlinky.a...
23,827
https://github.com/GeniusV/spring-boot-vuejs/blob/master/backend/src/test/java/de/jonashackt/springbootvuejs/controller/BackendControllerTest.java
Github Open Source
Open Source
MIT
2,022
spring-boot-vuejs
GeniusV
Java
Code
164
953
package de.jonashackt.springbootvuejs.controller; import de.jonashackt.springbootvuejs.SpringBootVuejsApplication; import de.jonashackt.springbootvuejs.domain.User; import io.restassured.RestAssured; import org.apache.http.HttpStatus; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import o...
6,244
https://github.com/NuGet/NuGet.Client/blob/master/test/NuGet.Core.Tests/NuGet.Protocol.Tests/Plugins/Messages/SetCredentialsRequestTests.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
NuGet.Client
NuGet
C#
Code
210
948
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Xunit; namespace NuGet.Protocol.Plugins.Tests { public class SetCredentialsRequestTests { [Theory] [InlineD...
28,832
https://github.com/alekratz/pythinclient/blob/master/pythinclient/server.py
Github Open Source
Open Source
BSD-3-Clause
2,015
pythinclient
alekratz
Python
Code
847
2,131
__author__ = 'Alek Ratzloff <alekratz@gmail.com>' import abc import sys import os from socket import socket, timeout from os.path import exists from threading import Thread class ThinServer: __metaclass__ = abc.ABCMeta def __init__(self, port, host='127.0.0.1', recv_size=1024, is_daemon=False, lockfile="/tm...
18,308
https://github.com/jdefreites/EntityFramework.SqlServerCompact/blob/master/test/EntityFramework.SqlServerCompact.FunctionalTests/F1SqlCeFixture.cs
Github Open Source
Open Source
Apache-2.0
2,016
EntityFramework.SqlServerCompact
jdefreites
C#
Code
130
555
using System; using Microsoft.EntityFrameworkCore.FunctionalTests.TestModels.ConcurrencyModel; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Microsoft.EntityFrameworkCore.FunctionalTests { public class F1SqlCeFixture : F1RelationalFixture<SqlCeTestStore> { ...
41,966
https://github.com/IvannKim/programmers/blob/master/level1/Collatz.js
Github Open Source
Open Source
MIT
null
programmers
IvannKim
JavaScript
Code
179
635
/*문제 설명 1937년 Collatz란 사람에 의해 제기된 이 추측은, 주어진 수가 1이 될때까지 다음 작업을 반복하면, 모든 수를 1로 만들 수 있다는 추측입니다. 작업은 다음과 같습니다. 1-1. 입력된 수가 짝수라면 2로 나눕니다. 1-2. 입력된 수가 홀수라면 3을 곱하고 1을 더합니다. 2. 결과로 나온 수에 같은 작업을 1이 될 때까지 반복합니다. 예를 들어, 입력된 수가 6이라면 6→3→10→5→16→8→4→2→1 이 되어 총 8번 만에 1이 됩니다. 위 작업을 몇 번이나 반복해야하는지 반환하는 함수, solution을 완성해 주세요. 단, ...
21,217
https://github.com/Neusoft-Technology-Solutions/aws-sdk-cpp/blob/master/aws-cpp-sdk-email/include/aws/email/model/NotificationType.h
Github Open Source
Open Source
Apache-2.0
2,022
aws-sdk-cpp
Neusoft-Technology-Solutions
C
Code
67
206
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/email/SES_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace SES { namespace Model { enum class NotificationType { NOT_SET, B...
15,599
https://github.com/martin-stepwolf/laravel-vue-intranet/blob/master/resources/views/layouts/base.blade.php
Github Open Source
Open Source
MIT
null
laravel-vue-intranet
martin-stepwolf
PHP
Code
40
211
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title> @yield('layout-name', 'Laravel Vue Intranet') - @yield('title', 'Section')</title> ...
48,930
https://github.com/codefordenver/Comrad/blob/master/client/src/pages/TrackViewPage/TrackViewPage.js
Github Open Source
Open Source
0BSD
2,021
Comrad
codefordenver
JavaScript
Code
303
1,018
import React, { Component } from 'react'; import { bindActionCreators } from 'redux'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { formatTotalSecondsAsMMSS } from '../../utils/formatters'; import Card, { CardBody } from '../../components/Card'; import Loading from '../../com...
33,287
https://github.com/foundations/turms/blob/master/turms-service/src/main/java/im/turms/service/workflow/access/http/controller/conversation/ConversationController.java
Github Open Source
Open Source
Apache-2.0
2,021
turms
foundations
Java
Code
413
1,992
/* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * 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,477
https://github.com/pluto-arch/DDDBlogWithCQRS/blob/master/D3.Blog/D3.BlogMvc/Controllers/BaseController.cs
Github Open Source
Open Source
MIT
2,019
DDDBlogWithCQRS
pluto-arch
C#
Code
72
295
using D3.Blog.Domain.Core.Notifications; using Infrastructure.Data.Database; using Infrastructure.Identity.Models; using Infrastructure.NLoger; using MediatR; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Serilog; namespace D3.BlogMvc.Controllers { public class BaseController:Controll...
17,692
https://github.com/fuemocheng/UGFDemo/blob/master/UGFDemo/Assets/GameMain/Scripts/BuiltinDataCompoment/BuiltinDataComponent.cs
Github Open Source
Open Source
MIT
null
UGFDemo
fuemocheng
C#
Code
79
270
using UnityEngine; using UnityGameFramework.Runtime; using GameFramework; namespace UGFDemo { public class BuiltinDataComponent : GameFrameworkComponent { [SerializeField] private TextAsset m_BuildInfoTextAsset = null; [SerializeField] private TextAsset m_DefaultDictionaryText...
1,313
https://github.com/JenJayme/clickamajiggy/blob/master/src/App.js
Github Open Source
Open Source
MIT
null
clickamajiggy
JenJayme
JavaScript
Code
62
176
import React, { useState } from "react"; import logo from './components/logo/logo.png'; import './App.css'; import HelloNavbar from './components/Navbar'; import ArtBlock from './components/gallery'; import { Container } from 'react-bootstrap'; import SurpriseDiv from "./components/modal"; // import ArtContext from "./...
16,609
https://github.com/jonathanverner/circular/blob/master/tests/circular/template/test_context.py
Github Open Source
Open Source
MIT
2,017
circular
jonathanverner
Python
Code
105
283
import asyncio import pytest from src.circular.template.context import Context def test_extension(): base = Context() base.a = 10 base.c = 30 child = Context(base=base) # Child should have access to parent assert child.a == 10 # The _get method should work for accessing parent asse...
17,425
https://github.com/Thibico/migs-survey-web-and-mobile/blob/master/migs-survey-web-app/src/components/OptionsQuestion/OptionsQuestion.js
Github Open Source
Open Source
MIT
null
migs-survey-web-and-mobile
Thibico
JavaScript
Code
220
784
import React, { Component } from 'react' // import PropTypes from 'prop-types' import './OptionsQuestion.scss' import { make2digit } from '../../helpers' import Select from "react-select"; class OptionsQuestion extends Component { constructor(props) { super(props) this.state = { questionText: "", ...
48,918
https://github.com/sepnic/liteplayer_android/blob/master/library/jniLibs/include/liteplayer/liteplayer_listplayer.h
Github Open Source
Open Source
Apache-2.0
null
liteplayer_android
sepnic
C
Code
221
779
// Copyright (c) 2019-2021 Qinglong<sysu.zqlong@gmail.com> // // 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 a...
19,326
https://github.com/pexcn-todo/GraduationPro/blob/master/毕业设计/code/android/YYFramework/src/app/logic/live/view/LiveItmeView.java
Github Open Source
Open Source
Apache-2.0
2,017
GraduationPro
pexcn-todo
Java
Code
100
384
package app.logic.live.view; import android.content.Context; import android.icu.text.MessagePattern; import android.util.AttributeSet; import android.util.DisplayMetrics; import android.widget.RelativeLayout; /** * Created by Administrator on 2017/3/3 0003. */ public class LiveItmeView extends RelativeLayout { ...
240
https://github.com/giladreich/QuickCut/blob/master/source/QuickCut/main.cpp
Github Open Source
Open Source
MIT
2,022
QuickCut
giladreich
C++
Code
34
189
#include "QuickCutShared/QuickCutPCH.h" #include "Views/MainView.h" #include "QuickCutShared/Utils/QSingleApplication/QSingleInstance.h" #include <QtWidgets/QApplication> int main(int argc, char * argv[]) { QSingleInstance instance("8c06d447-da32-447c-adfd-2d227605ae4b"); if (!instance.tryToRun()) { return 0;...
38,238
https://github.com/Jack-0105/haski/blob/master/packages/utils/src/regexp.ts
Github Open Source
Open Source
MIT
2,019
haski
Jack-0105
TypeScript
Code
61
153
// Copyright (c) 2019 Elgine // // This software is released under the MIT License. // https://opensource.org/licenses/MIT export const regexpIndexOf = (regex: RegExp, str: string) => { return str.search(regex); }; export const regexpLastIndexOf = (regex: RegExp, str: string) => { let result; let lastInde...
28,853
https://github.com/kamleshsahu/ekart-FrontEnd/blob/master/vendor/laravel/framework/src/Illuminate/Routing/RouteCollectionInterface.php
Github Open Source
Open Source
MIT
null
ekart-FrontEnd
kamleshsahu
PHP
Code
271
674
<?php namespace Illuminate\Routing; use Illuminate\Http\Request; interface RouteCollectionInterface { /** * Add a Route instance to the collection. * * @param \Illuminate\Routing\Route $route * @return \Illuminate\Routing\Route */ public function add(Route $route); /** * ...
29,837
https://github.com/konifar/five/blob/master/src/emulator/cpu/csr/user_level.rs
Github Open Source
Open Source
MIT
null
five
konifar
Rust
Code
1,094
3,180
use crate::emulator::cpu::csr::Csr; use std::collections::HashMap; pub struct UserLevelCsr { csr: HashMap<u64, u64>, } impl Csr for UserLevelCsr { fn contains(&self, address: u64) -> bool { self.csr.contains_key(&address) } fn csrrw(&mut self, address: u64, value: u64) -> u64 { let t ...
25,394
https://github.com/dfilatov/vidom/blob/master/src/utils/isInArray.js
Github Open Source
Open Source
MIT
2,022
vidom
dfilatov
JavaScript
Code
29
72
export default function isInArray(arr, item) { const len = arr.length; let i = 0; while(i < len) { if(arr[i++] == item) { return true; } } return false; }
5,249
https://github.com/blackducksoftware/hub-email-extension/blob/master/src/main/java/com/blackducksoftware/integration/email/model/MimeMultipartBuilder.java
Github Open Source
Open Source
Apache-2.0
2,018
hub-email-extension
blackducksoftware
Java
Code
517
1,537
/******************************************************************************* * Copyright (C) 2016 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this w...
44,276
https://github.com/jupegarnica/httper/blob/master/vendor/cdn.skypack.dev/-/ramda@v0.28.0-vDL6KbwpPkq7DJAM324O/dist=es2019,mode=imports/optimized/ramda/es/pipeWith.js
Github Open Source
Open Source
MIT
null
httper
jupegarnica
JavaScript
Code
109
419
import { _ as _arity } from "../../common/_arity-fefc01f2.js"; import { _ as _curry2 } from "../../common/_curry2-21fa898b.js"; import head2 from "./head.js"; import { _ as _reduce } from "../../common/_reduce-6079ab80.js"; import tail2 from "./tail.js"; import identity2 from "./identity.js"; import "../../common/_curr...
31,819
https://github.com/JacobMGEvans/iter-tools/blob/master/src/methods/$cycle/__tests__/async-cycle.auto.spec.ts
Github Open Source
Open Source
MIT
null
iter-tools
JacobMGEvans
TypeScript
Code
138
374
/** * @generated-from ./async-cycle.test.js * This file is autogenerated from a template. Please do not edit it directly. * To rebuild it from its template use the command * > npm run generate * More information can be found in CONTRIBUTING.md */ import { asyncCycle, asyncSlice, asyncToArray, asyncWrap, range } ...
49,262
https://github.com/jiangycTarheel-zz/Adversarial-MultiHopQA/blob/master/nectar/nectar/theanoutil/util.py
Github Open Source
Open Source
MIT
2,020
Adversarial-MultiHopQA
jiangycTarheel-zz
Python
Code
249
875
"""Some common theano utilities.""" import numpy as np import theano from theano import tensor as T from theano.ifelse import ifelse def printed(var, name=''): return theano.printing.Print(name)(var) def logsumexp(mat, axis=0): """Apply a row-wise log-sum-exp, summing along axis.""" maxes = T.max(mat, axis=axis...
23,258
https://github.com/Azhanging/blue-uni-app-program/blob/master/apps/blue-uni-app-tmpl/src/store/state.ts
Github Open Source
Open Source
MIT
2,020
blue-uni-app-program
Azhanging
TypeScript
Code
18
51
import publicState from '$config/store/state'; import utils from 'blue-utils'; const state = utils.extend(publicState, { /*项目的state*/ }); export default state;
41,317
https://github.com/dakies/CascadeLaserZeroCrossing/blob/master/RedPitaya/apps-tools/streaming_manager/src/Makefile
Github Open Source
Open Source
BSD-3-Clause
2,021
CascadeLaserZeroCrossing
dakies
Makefile
Code
150
898
MODEL ?= Z10 CXX=$(CROSS_COMPILE)g++ RM=rm PROJECT_ROOT=../.. CXXSOURCES=main.cpp CXXSOURCES_SERVICE=service.cpp INCLUDE = -I$(INSTALL_DIR)/include INCLUDE += -I$(INSTALL_DIR)/include/api2 INCLUDE += -I$(INSTALL_DIR)/include/apiApp INCLUDE += -I$(INSTALL_DIR)/rp_sdk INCLUDE += -I$(INSTALL_DIR)/rp_sdk/libjson INC...
43,749
https://github.com/movermeyer/python-simian/blob/master/simian/test/my_package/external_module.py
Github Open Source
Open Source
MIT
2,018
python-simian
movermeyer
Python
Code
14
54
def external_fn_a(): raise RuntimeError('called external_fn_a()') def external_fn_b(): raise RuntimeError('called external_fn_b()') # pragma: no cover
38,159
https://github.com/lvrenhui/JCourse/blob/master/app/src/main/java/com/aligame/jcourse/adapter/TabFragmentPagerAdapter.java
Github Open Source
Open Source
Apache-2.0
null
JCourse
lvrenhui
Java
Code
94
382
package com.aligame.jcourse.adapter; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.aligame.jcourse.constant.VideoType; import com.aligame.jcourse.fragment.AudioListFragment; import com.aligame.jcourse.fragment.Book...
4,125
https://github.com/mondain/jets3t/blob/master/gatekeeper/src/main/java/org/jets3t/servlets/gatekeeper/impl/DefaultTransactionIdProvider.java
Github Open Source
Open Source
LicenseRef-scancode-free-unknown, Apache-2.0
2,021
jets3t
mondain
Java
Code
204
475
/* * JetS3t : Java S3 Toolkit * Project hosted at http://bitbucket.org/jmurty/jets3t/ * * Copyright 2008 James Murty * * 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://w...
31,299
https://github.com/danihodovic/mysql-to-sqlite3/blob/master/tests/conftest.py
Github Open Source
Open Source
MIT
null
mysql-to-sqlite3
danihodovic
Python
Code
732
3,123
import socket from codecs import open from collections import namedtuple from contextlib import contextmanager, closing from os.path import join, abspath, dirname, isfile from random import choice from string import ascii_uppercase, digits, ascii_lowercase from time import sleep import docker import mysql.connector im...
26,974
https://github.com/endico/Briefs/blob/master/Classes/BFRootView.m
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, MIT
2,009
Briefs
endico
Objective-C
Code
118
364
// // BFRootView.m // Briefs // // Created by Rob Rhyne on 8/19/09. // Copyright Digital Arch Design, 2009. See LICENSE file for details. // #import "BFRootView.h" @implementation BFRootView - (id)initWithFrame:(CGRect)frame andViewController:(UIViewController *)controller { if (self = [super initWithFrame...
46,059
https://github.com/tetianakravchenko/beats/blob/master/metricbeat/module/logstash/node_stats/data_test.go
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,022
beats
tetianakravchenko
Go
Code
631
2,762
// Licensed to Elasticsearch B.V. under one or more contributor // license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright // ownership. Elasticsearch B.V. licenses this file to you under // the Apache License, Version 2.0 (the "License"); you may // not use ...
44,580
https://github.com/andreiox/express-cache-test-drive/blob/master/src/server.ts
Github Open Source
Open Source
MIT
null
express-cache-test-drive
andreiox
TypeScript
Code
27
72
import app from './app'; const port: number = Number(process.env.PORT) || 3000; const listen = () => { app.listen(port, () => { console.log(`Listening at http://localhost:${port}/`); }); }; listen();
46,216
https://github.com/obhi-d/acl/blob/master/include/acl/sparse_table.hpp
Github Open Source
Open Source
MIT
null
acl
obhi-d
C++
Code
1,143
3,677
#pragma once #include "allocator.hpp" #include "default_allocator.hpp" #include "detail/indirection.hpp" #include "detail/utils.hpp" #include "link.hpp" #include "podvector.hpp" #include "type_traits.hpp" #include <memory> namespace acl { template <typename Ty, typename Allocator = default_allocator<>, typename Trai...
1,300
https://github.com/DavidWiseman/WiseSoftScripts/blob/master/VBScript/Unlock_User_Account.vbs
Github Open Source
Open Source
MIT
2,021
WiseSoftScripts
DavidWiseman
Visual Basic
Code
182
534
username=inputbox("Enter username:") if username = "" then wscript.quit ldapPath = FindUser(username) if ldapPath = "Not Found" then wscript.echo "User not found!" else set objUser = getobject(ldapPath) if isAccountLocked(objUser) then objuser.put "lockoutTime", 0 objUser.setinfo wscript.echo "Account Unlock...
29,380
https://github.com/wangchangli/peatio/blob/master/app/models/document.rb
Github Open Source
Open Source
MIT
2,014
peatio
wangchangli
Ruby
Code
9
25
class Document < ActiveRecord::Base def to_param self.key end end
11,154
https://github.com/igiu1988/iOS13.4.1-Runtime-Headers/blob/master/protocols/OKActionTapExports.h
Github Open Source
Open Source
MIT
2,020
iOS13.4.1-Runtime-Headers
igiu1988
Objective-C
Code
14
46
/* Generated by EzioChiu. */ @protocol OKActionTapExports <JSExport> @required - (unsigned long long)tapCount; @end
31,032
https://github.com/jinchihe/pipelines/blob/master/backend/src/apiserver/storage/list_util_test.go
Github Open Source
Open Source
Apache-2.0
2,019
pipelines
jinchihe
Go
Code
294
1,019
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
46,614
https://github.com/tohashi/vihta/blob/master/client/js/viewer/particles.js
Github Open Source
Open Source
MIT
null
vihta
tohashi
JavaScript
Code
135
399
import * as THREE from 'three'; const dx = 0.001; const dy = 0.001; const yEdge = 400; function createPoints(count, map) { const particles = new THREE.Geometry(); const material = new THREE.PointsMaterial({ color: 0xFFFFFF, size: 4, map, transparent: true }); for (let i = 0; i < count; i++) {...
38,215
https://github.com/JetBrains/intellij-community/blob/master/platform/core-impl/src/com/intellij/ide/highlighter/custom/CustomFileTypeLexer.java
Github Open Source
Open Source
Apache-2.0
2,023
intellij-community
JetBrains
Java
Code
360
1,223
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
326
https://github.com/HashtagBe/be-client/blob/master/lib/api/Me.js
Github Open Source
Open Source
MIT
null
be-client
HashtagBe
JavaScript
Code
125
308
'use strict'; exports.__esModule = true; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writabl...
1,508
https://github.com/eclipse-vertx/vertx-sql-client/blob/master/vertx-mysql-client/src/main/java/io/vertx/mysqlclient/data/spatial/Geometry.java
Github Open Source
Open Source
Apache-2.0
2,023
vertx-sql-client
eclipse-vertx
Java
Code
122
297
/* * Copyright (c) 2011-2020 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
33,726
https://github.com/theunfeelingsoul/carepedia/blob/master/views/layouts/frontlayout.php
Github Open Source
Open Source
BSD-3-Clause
null
carepedia
theunfeelingsoul
PHP
Code
631
3,193
<?php use yii\helpers\Html; use app\assets\FrontAsset; use app\models\Category; use yii\helpers\Url; FrontAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$app->language ?>"> <head> <meta charset="<?= Yii::$app->charset ?>"> <meta name="viewport" content="width=dev...
11,487
https://github.com/cfgexe/playground/blob/master/FizzBuzz/FizzBuzzPrime/FizzBuzzPrime.java
Github Open Source
Open Source
MIT
2,021
playground
cfgexe
Java
Code
140
353
import java.util.stream.IntStream; public class FizzBuzzPrime { public static void main(final String... args) { try { fizzBuzzPrime(Integer.valueOf(args[0]).intValue()); } catch (final NumberFormatException nfe) { printUsage(); } } private static void print...
9,244
https://github.com/amaarquadri/perfect-information-game/blob/master/perfect_information_game/move_selection/iterative_deepening/async_iterative_deepening.py
Github Open Source
Open Source
MIT
null
perfect-information-game
amaarquadri
Python
Code
183
721
import numpy as np from time import time, sleep from multiprocessing import Pipe from multiprocessing.context import Process from perfect_information_game.move_selection import MoveChooser from perfect_information_game.move_selection.iterative_deepening import DeepeningNode class AsyncIterativeDeepening(MoveChooser):...
7,885
https://github.com/hpautonomy/java-idol-types/blob/master/src/test/java/com/hp/autonomy/types/idol/ErrorResponseParsingTest.java
Github Open Source
Open Source
MIT
2,022
java-idol-types
hpautonomy
Java
Code
194
516
/* * (c) Copyright 2016 Micro Focus or one of its affiliates. * * Licensed under the MIT License (the "License"); you may not use this file * except in compliance with the License. * * The only warranties for products and services of Micro Focus and its affiliates * and licensors ("Micro Focus") are as may be se...
34,419
https://github.com/RaviPatel75/ScalajsReactTyped/blob/master/p/passport-auth0/src/main/scala/typingsJapgolly/passportAuth0/mod/StrategyInternal.scala
Github Open Source
Open Source
MIT
2,020
ScalajsReactTyped
RaviPatel75
Scala
Code
35
161
package typingsJapgolly.passportAuth0.mod import typingsJapgolly.express.mod.Request_ import typingsJapgolly.expressServeStaticCore.mod.ParamsDictionary import typingsJapgolly.passport.mod.Strategy import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation._ @js.native trait StrategyIntern...
37,560
https://github.com/inwc3/wc3libs/blob/master/src/main/java/net/moonlightflower/wc3libs/app/Placements.java
Github Open Source
Open Source
Apache-2.0
2,023
wc3libs
inwc3
Java
Code
261
1,043
package net.moonlightflower.wc3libs.app; import java.util.ArrayList; import java.util.List; import net.moonlightflower.wc3libs.bin.app.DOO; import net.moonlightflower.wc3libs.bin.app.DOO_UNITS; import net.moonlightflower.wc3libs.bin.app.W3C; import net.moonlightflower.wc3libs.bin.app.W3R; import net.moonlightflower.w...
47,366
https://github.com/utterworks/fast-bert/blob/master/fast_bert/utils/__init__.py
Github Open Source
Open Source
Apache-2.0
2,023
fast-bert
utterworks
Python
Code
4
12
from .spellcheck import BingSpellCheck
7,617
https://github.com/thexdesk/mist-ridge/blob/master/Assets/Scripts/Game/Gameplay/Items/Pickers.meta
Github Open Source
Open Source
MIT
2,016
mist-ridge
thexdesk
Unity3D Asset
Code
14
68
fileFormatVersion: 2 guid: 5265c58824a9e4ade8f187809df2d566 folderAsset: yes timeCreated: 1456248100 licenseType: Pro DefaultImporter: userData: assetBundleName: assetBundleVariant:
31,451
https://github.com/yeshan333/WY_Music/blob/master/myplayer/src/main/java/com/xurent/myplayer/vr/VRGlassGLVideoRenderer.java
Github Open Source
Open Source
Apache-2.0
2,022
WY_Music
yeshan333
Java
Code
949
5,340
package com.xurent.myplayer.vr; import android.content.Context; import android.graphics.SurfaceTexture; import android.opengl.GLES11Ext; import android.opengl.GLES20; import android.opengl.GLES30; import android.opengl.GLSurfaceView; import android.opengl.Matrix; import android.view.Surface; import com.xurent.myplaye...
50,134
https://github.com/ros-visualization/qt_gui_core/blob/master/qt_gui_cpp/src/qt_gui_cpp/generic_proxy.cpp
Github Open Source
Open Source
BSD-3-Clause
2,023
qt_gui_core
ros-visualization
C++
Code
385
863
/* * Copyright (c) 2011, Dirk Thomas, TU Darmstadt * 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, t...
10,941
https://github.com/luzel/vue-hotel-datepicker/blob/master/src/components/icon/IconChevronRight.vue
Github Open Source
Open Source
MIT
2,020
vue-hotel-datepicker
luzel
Vue
Code
31
133
<template> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/> <path d="M0 0h24v24H0z" fill="none"/> </svg> </template> <script> export default { name: 'IconChevronRight' } </script>
18,125
https://github.com/EdeysonGomes/menthor-editor/blob/master/net.menthor.ontouml2text/src/net/menthor/ontouml2text/stringGenerator/EnglishDictionary.java
Github Open Source
Open Source
MIT
2,021
menthor-editor
EdeysonGomes
Java
Code
198
648
package net.menthor.ontouml2text.stringGenerator; public class EnglishDictionary implements Dictionary { @Override public boolean isMale(String label) { String completeLabel[] = label.split(" "); // completeLabel[0] represents the first word if(completeLabel[0].endsWith("ter")) return false; return tr...
35,349
https://github.com/pcarion/MobileGithubRepo/blob/master/iosNative/MobileGithubRepoBrowser/MobileGithubRepoBrowser/GithubRepoDetail/GithubRepoDetailCellView.swift
Github Open Source
Open Source
BSD-3-Clause
null
MobileGithubRepo
pcarion
Swift
Code
64
174
// // GithubRepoDetailCellView.swift // MobileGithubRepoBrowser // // Created by Pierre Carion on 6/8/19. // Copyright © 2019 Pierre Carion. All rights reserved. // import Foundation import UIKit class GithubRepoDetailCellView: UICollectionViewCell { @IBOutlet weak var titleLabel: UILabel! @IBOutlet ...
43,478
https://github.com/cqhaoer/CardFantasy/blob/master/workspace/CardFantasyCore/src/cfvbaibai/cardfantasy/engine/skill/Synchrome.java
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause
2,016
CardFantasy
cqhaoer
Java
Code
126
551
package cfvbaibai.cardfantasy.engine.skill; import java.util.List; import cfvbaibai.cardfantasy.CardFantasyRuntimeException; import cfvbaibai.cardfantasy.GameUI; import cfvbaibai.cardfantasy.data.Race; import cfvbaibai.cardfantasy.data.Skill; import cfvbaibai.cardfantasy.engine.CardInfo; import cfvbaibai.cardfantasy....
24,213
https://github.com/lukaspestalozzi/Master_Semester_Project/blob/master/game/tichu/new_/tichu_players.py
Github Open Source
Open Source
MIT
null
Master_Semester_Project
lukaspestalozzi
Python
Code
42
160
import abc from game.abstract import Player, GameState, Action from game.utils import check_param class TichuPlayer(Player, metaclass=abc.ABCMeta): def __init__(self, player_id): super().__init__() check_param(player_id, int) self._id = player_id @property def id(self) -> int: ...
31,521
https://github.com/modelonrobinandersson/ModelicaStandardLibrary/blob/master/Modelica/Electrical/Analog/UsersGuide/References.mo
Github Open Source
Open Source
BSD-3-Clause
null
ModelicaStandardLibrary
modelonrobinandersson
Modelica
Code
149
615
within Modelica.Electrical.Analog.UsersGuide; class References "References" extends Modelica.Icons.References; annotation (preferredView="info",Documentation(info="<html> <table border=\"0\" cellspacing=\"0\" cellpadding=\"2\"> <tr> <td>[<a href=\"https://ieeexplore.ieee.org/document/1447963\">Branin1967</a...
26,635
https://github.com/Samuel310/sams_online_shopping_demo/blob/master/admin_app/lib/screens/products/screen.product.slider.dart
Github Open Source
Open Source
MIT
2,021
sams_online_shopping_demo
Samuel310
Dart
Code
579
2,131
import 'package:flutter/material.dart'; import 'package:obs_admin/screens/common/screen.appbar.dart'; import 'package:obs_admin/screens/products/screen.add.product.dart'; import 'package:obs_admin/screens/products/screen.product.subcategory.dart'; import 'package:obs_admin/util/constants.dart'; import 'package:outline_...
49,298
https://github.com/dgattey/dg/blob/master/src/ui/Nav.tsx
Github Open Source
Open Source
MIT
2,022
dg
dgattey
TSX
Code
191
590
import { Box, Container, Typography } from '@mui/material'; import { mixinSx } from './helpers/mixinSx'; /** * This group of items in a nav will group items together. * Condenses to a full width group on mobile. */ export function NavGroup({ sx, children, ...props }: React.ComponentProps<typeof Box>) { return ( ...
43,362
https://github.com/AdrianMrn/WordCamp-Antwerp-2018/blob/master/ios/build/Build/Intermediates/RCTVideo.build/Debug-iphonesimulator/RCTVideo.build/Objects-normal/x86_64/UIView+FindUIViewController.d
Github Open Source
Open Source
MIT
2,018
WordCamp-Antwerp-2018
AdrianMrn
Makefile
Code
5
93
dependencies: \ /Users/adriaanmarain/Documents/code/ChainReactApp/node_modules/react-native-video/ios/UIView+FindUIViewController.m \ /Users/adriaanmarain/Documents/code/ChainReactApp/node_modules/react-native-video/ios/UIView+FindUIViewController.h
33,542
https://github.com/swadeley/tfacon/blob/master/common/common.go
Github Open Source
Open Source
Apache-2.0
2,022
tfacon
swadeley
Go
Code
198
783
// Package common contains all shared structs(data structures) required for all connectors package common // GeneralUpdatedList is an updated list of object, with the prediction from TFA classifier // each connector should have it's own UpdatedList structure and implement the // GeneralUpdatedList interface. type Gene...
45,717
https://github.com/bianapis/sd-ecm-dcm-v2.0/blob/master/src/main/java/org/bian/dto/BQProspectusRequestOutputModelProspectusInstanceRecordProspectusWorkTaskRecord.java
Github Open Source
Open Source
Apache-2.0
null
sd-ecm-dcm-v2.0
bianapis
Java
Code
236
859
package org.bian.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.Valid; /** * BQProspectusRequestOutputModelProspectusInstanceRecordProspe...
38,748
https://github.com/ARte-team/ARte/blob/master/src/RIOT/drivers/include/periph/dac.h
Github Open Source
Open Source
MIT
2,020
ARte
ARte-team
C
Code
594
1,143
/* * Copyright (C) 2014 Simon Brummer * 2015-2016 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @defgroup drivers_periph_dac DAC * @ing...
44,784
https://github.com/Sharath-Jayson/MrShoppy/blob/master/resources/views/products/edit.blade.php
Github Open Source
Open Source
MIT
null
MrShoppy
Sharath-Jayson
PHP
Code
81
410
@extends('layouts.app') @section('content') @include('includes.errors') <div class="card"> <div class="card-header">Edit Products</div> <div class="card-body"> <form action="{{route('product.update',['id'=>$product->id])}}" method="post" enctype="multipar...
34,649
https://github.com/IsraelHikingMap/OSMPbfWebAPI/blob/master/build-osmpbfwebapi.sh
Github Open Source
Open Source
MIT
null
OSMPbfWebAPI
IsraelHikingMap
Shell
Code
8
20
#!/usr/bin/env bash dotnet publish -c Release -o app
28,100
https://github.com/fsereno/portfolio/blob/master/app/app_jsCodingStandards/accompanying_code/09_Equality/09.2_Checking_For_Types_With_typeof/01_Problem.js
Github Open Source
Open Source
MIT
2,019
portfolio
fsereno
JavaScript
Code
17
39
let callback = true; let get = (callback) => { if (callback) { callback(); } } get(callback);
46,373