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/tusharchoudhary0003/Custom-Football-Game/blob/master/sources/com/google/android/gms/internal/ads/zzdca.java
Github Open Source
Open Source
MIT
2,019
Custom-Football-Game
tusharchoudhary0003
Java
Code
239
845
package com.google.android.gms.internal.ads; import com.google.android.gms.internal.ads.zzdha.zzb; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.security.GeneralSecurityException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.Con...
17,575
https://github.com/alvinahmadov/Dixter/blob/master/Source/OpenTranslate/LanguageBook.cpp
Github Open Source
Open Source
MIT
2,019
Dixter
alvinahmadov
C++
Code
135
479
/** * File LanguageCollection.cpp * Copyright (C) 2015-2019 * Author Alvin Ahmadov <alvin.dev.ahmadov@gmail.com> * * This file is part of Dixter Project * License-Identifier: MIT License * See README.md for more information. */ #include "LanguageBook.hpp" #include "Macros.hpp" namespace Dixter { names...
48,836
https://github.com/mworion/MountWizzard4/blob/master/mw4/gui/mainWmixin/tabSett_ParkPos.py
Github Open Source
Open Source
Apache-2.0
2,023
MountWizzard4
mworion
Python
Code
460
1,697
############################################################ # -*- coding: utf-8 -*- # # # # # # # # # ## ## # ## # # # # # # # # # # # # # # # ## # ## ## ###### # # # # # # # # # Python-based Tool for interaction with the 10micron mounts # GUI with PyQT5 fo...
6,713
https://github.com/FarooqBukhari/TUNIC/blob/master/backend/models/variantModel.js
Github Open Source
Open Source
Unlicense
null
TUNIC
FarooqBukhari
JavaScript
Code
33
96
import mongoose from 'mongoose' const variantSchema = mongoose.Schema({ name: { type: String, required: true, }, type: { type: String, enum: ['Size'], default: 'Size', } }) const Variant = mongoose.model('Variant', variantSchema) export default Variant
10,961
https://github.com/Julienbeaulieu/kaggle-computer-vision-competition/blob/master/src/modeling/layers/linear.py
Github Open Source
Open Source
MIT
2,022
kaggle-computer-vision-competition
Julienbeaulieu
Python
Code
119
395
from torch import nn import torch.nn.functional as F from typing import Union ACTIVATION_FN = { 'relu': F.relu, 'relu6': F.relu6, 'elu': F.elu, 'leaky_relu': F.leaky_relu, None: None } class LinearLayer(nn.Module): def __init__(self, input_dim: int, output_dim: int, activation: Union[None, s...
2,979
https://github.com/UoLCompSoc/ld32/blob/master/core/src/uk/org/ulcompsoc/ld32/components/upgrades/Range_Increase_1.java
Github Open Source
Open Source
BSD-3-Clause
2,015
ld32
UoLCompSoc
Java
Code
39
170
package uk.org.ulcompsoc.ld32.components.upgrades; import uk.org.ulcompsoc.ld32.components.upgrades.Upgrade.UpgradeRoute; public class Range_Increase_1 extends Upgrade { public Range_Increase_1() { this.costs = 1f; this.dmg = 1f; this.drops = 1f; this.simultanousFire = 0; this.stage = 1; this.range = 1...
23,784
https://github.com/eliottvincent/image-synthesis-tp-5/blob/master/03-Procedurale/data/rock.obj
Github Open Source
Open Source
MIT
2,017
image-synthesis-tp-5
eliottvincent
Wavefront Object
Code
1,928
8,131
# refait par CleanObjFile (PN) v -0.630920 -0.226328 0.592326 vt 0.137636 0.563411 v -0.537873 -0.057997 1.154378 vt 0.058285 0.569867 v -1.052088 -0.064600 0.954513 vt 0.082613 0.506661 v -1.155731 -0.217847 0.459469 vt 0.152906 0.498683 v -0.677921 1.329703 0.698183 vt 0.155028 0.344089 v -1.176430 1.281231 0.6...
38,069
https://github.com/rakali2011/owsmows/blob/master/assets/ajax/home_ajax.js
Github Open Source
Open Source
MIT
null
owsmows
rakali2011
JavaScript
Code
28
101
//$(document).ready(function () { // $.ajax({ // type: 'GET', // url: 'api/product/list?page=1&category_id=1', // dataType: "json", // success: function (response) { // console.log(response); //// alert(response.data[0].product_title); // } // }); //});
37,019
https://github.com/maoberlehner/node-sass-selector-importer/blob/master/js/cli.js
Github Open Source
Open Source
MIT
2,017
node-sass-selector-importer
maoberlehner
JavaScript
Code
75
198
import path from 'path'; import SelectorImporter from './lib/SelectorImporter.js'; const selectorImporter = new SelectorImporter(); /** * Selector importer for node-sass * @param {string} url - The path in import as-is, which LibSass encountered. * @param {string} prev - The previously resolved path. */ export de...
16,071
https://github.com/QWENQWJ/logging-log4j2/blob/master/log4j-plugins/src/main/java/org/apache/logging/log4j/plugins/di/Binding.java
Github Open Source
Open Source
Apache-2.0
null
logging-log4j2
QWENQWJ
Java
Code
189
372
/* * 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 n...
47,611
https://github.com/JonathanSias/gama_cmanager/blob/master/cmanager/app/Models/Colecao.php
Github Open Source
Open Source
MIT
null
gama_cmanager
JonathanSias
PHP
Code
30
137
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Colecao extends Model { // protected $fillable = [ 'nome', 'dimensao', 'numero', 'instituicao', 'tuteladireta', 'localizacao', 'descricao', 'relevancia', '...
11,162
https://github.com/AudreyRBC/Monkey-Sass/blob/master/src/sass/var/_borders.scss
Github Open Source
Open Source
MIT
2,017
Monkey-Sass
AudreyRBC
SCSS
Code
312
1,073
//-----------------------------------------// //border //-----------------------------------------// .border-separate{ padding-bottom: 10px; position: relative; &:after{ content: ''; position: absolute; bottom: 0; display: block; width: 40px; height: 1px; background: $black; } } $bo...
3,174
https://github.com/freitasbruno/arcollab/blob/master/arcollabWeb/resources/views/project.blade.php
Github Open Source
Open Source
MIT
2,017
arcollab
freitasbruno
Blade
Code
26
189
@extends('layouts.master') @section('header') @include('includes/projectHeader') @stop @section('content') <div class="uk-section uk-padding-remove-top"> <div class="uk-container uk-container-large"> <h3 class="uk-heading-line"><span>ISSUES</span></h3> <div class="uk-child-width-1-2@s uk-child-widt...
23,863
https://github.com/cfpb/cfgov-satellite/blob/master/{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/js/module2.js
Github Open Source
Open Source
CC0-1.0
2,018
cfgov-satellite
cfpb
JavaScript
Code
19
47
'use strict'; const module2 = { init: () => { console.log( 'hooray again!' ); } }; module.exports = module2;
20,414
https://github.com/stugotech/Stugo.Glue.Wcf/blob/master/Stugo.Glue.Wcf/WcfServiceHost.cs
Github Open Source
Open Source
ISC
2,016
Stugo.Glue.Wcf
stugotech
C#
Code
114
435
using Stugo.Logging; using System; using System.Linq; using System.ServiceModel; using System.ServiceModel.Description; namespace Stugo.Glue.Wcf { public class WcfServiceHost : ServiceHost { private static readonly ILog logger = Logger.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().Declarin...
37,881
https://github.com/sealuzh/visual-studio-perfviz/blob/master/InSituVisualization/Predictions/ISystemWorkload.cs
Github Open Source
Open Source
Apache-2.0
2,019
visual-studio-perfviz
sealuzh
C#
Code
45
106
namespace InSituVisualization.Predictions { public interface ISystemWorkload { /// <summary> /// The systemWorkload difference to average (- for less, + for more) /// </summary> /// <example> /// e.g. 0.1 => 110 % workload compared to average /// </example> ...
2,558
https://github.com/phatblat/macOSPrivateFrameworks/blob/master/PrivateFrameworks/AuthKitUI/InternetAccountExportsAuthKit-Protocol.h
Github Open Source
Open Source
MIT
2,022
macOSPrivateFrameworks
phatblat
C
Code
336
1,703
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "JSExport.h" @class JSValue, NSArray, NSDictionary, NSString; @protocol InternetAccountExportsAuthKit <JSExport> @property(readonly, nonatomic) NSDictionary *workflow; @pr...
294
https://github.com/david4096/dockstore-ui2/blob/master/src/app/organizations/organization/organization-stargazers/organization-stargazers.component.ts
Github Open Source
Open Source
Apache-2.0
null
dockstore-ui2
david4096
TypeScript
Code
200
531
/* * Copyright 2019 OICR * * 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...
47,802
https://github.com/Adron/adron.github.io/blob/master/_working/contents/less/modules/_list-view.less
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,021
adron.github.io
Adron
Less
Code
107
447
.list-view{ margin-bottom: 30px; } .list-item{ margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid @color_grey-light; &:last-child{ margin-bottom: 0; border: none; } } .list-item-header{ margin-bottom: 10px; &:after{ display: block; content: ''; clear: both; } } .list-item-title{ ...
199
https://github.com/felixakiragreen/bestagons/blob/master/HexagonalPortrait/Shared/DoubleField.swift
Github Open Source
Open Source
Unlicense
2,021
bestagons
felixakiragreen
Swift
Code
105
292
// // DoubleField.swift // Hexis // // Created by Felix Akira Green on 12/21/20. // import SwiftUI struct DoubleField: View { @Binding var value: Double var valueProxy: Binding<String> { Binding<String>( get: { self.toString(from: self.value) }, set: { if let num = NumberFormatter().number(from: $0)...
41,128
https://github.com/e8035669/osu-framework/blob/master/osu.Framework/Allocation/InvokeOnDisposal.cs
Github Open Source
Open Source
MIT
null
osu-framework
e8035669
C#
Code
162
350
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Allocation { /// <summary> /// Instances of this class capture an action for later cleanup. When a method retur...
8,629
https://github.com/mariocao/aragon-govern-discord-integration/blob/master/packages/bot/src/services/parseRetryMessage.ts
Github Open Source
Open Source
MIT
2,022
aragon-govern-discord-integration
mariocao
TypeScript
Code
49
162
import { Message } from 'discord.js' export function parseRetryMessage ( message: Message ): { messageId: string | undefined; gasPrice: string | undefined } { const idRegex = /\bproposal_id:\w+/ const gasPriceRegex = /\bgas_price:\w+/ const messageId = message.content.match(idRegex)?.[0].split(':')?.[1] con...
25,115
https://github.com/dmolesUC/xml-mapping_extensions/blob/master/spec/unit/xml/mapping_extensions/uri_node_spec.rb
Github Open Source
Open Source
MIT
2,018
xml-mapping_extensions
dmolesUC
Ruby
Code
126
464
require 'spec_helper' module XML module MappingExtensions class UriNodeSpecElem include XML::Mapping uri_node :uri, '@uri', default_value: nil def self.from_str(uri_str) xml_string = uri_str ? "<elem uri='#{uri_str}'/>" : '<elem/>' doc = REXML::Document.new(xml_string) ...
986
https://github.com/Sushiy/SeefahrtGGJ21/blob/master/Assets/Scripts/QuestSystem/QuestObjective.cs
Github Open Source
Open Source
WTFPL
null
SeefahrtGGJ21
Sushiy
C#
Code
218
701
using System; using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.Events; using UnityEngine.Windows.WebCam; public class QuestObjective : MonoBehaviour { [SerializeField] private QuestObjectiveAsset Asset; public QuestObjective NextObjective; ...
20,433
https://github.com/GHopperMSK/yii-core/blob/master/tests/data/views/pageCacheLayout.php
Github Open Source
Open Source
BSD-3-Clause
2,019
yii-core
GHopperMSK
PHP
Code
30
112
<?php /** @var \yii\web\View $this */ /** @var string $static */ $this->beginPage(); $this->head(); $this->beginBody(); ?> { "static": "<?= $static ?>", "dynamic": "<?= $this->renderDynamic('return $this->app->params[\'dynamic\'];') ?>" } <?php $this->endBody(); $this->endPage(); ?>
28,366
https://github.com/liveqmock/platform-tools-idea/blob/master/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/remote/RemoteExternalSystemProgressNotificationManager.java
Github Open Source
Open Source
Apache-2.0
2,022
platform-tools-idea
liveqmock
Java
Code
151
444
package com.intellij.openapi.externalSystem.service.remote; import org.jetbrains.annotations.NotNull; import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskId; import com.intellij.openapi.externalSystem.model.task.ExternalSystemTaskNotificationEvent; import java.rmi.Remote; import java.rmi.RemoteExc...
33,899
https://github.com/mozillazg/comkc/blob/master/new_frontend/src/SiteView.jsx
Github Open Source
Open Source
MIT
2,017
comkc
mozillazg
null
Spoken
106
330
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { fetchSites }from './actions'; class SiteView extends Component { static propTypes = { onLoad: PropTypes.func.isRequired, sites: PropTypes.arr...
8,413
https://github.com/havyx/Big_Data_Analitycs/blob/master/Spark_DataSets/JavaSpark_DataSets/10_Performance/Project/src/main/java/com/virtualpairprogrammers/ExamResults.java
Github Open Source
Open Source
MIT
null
Big_Data_Analitycs
havyx
Java
Code
112
561
package com.virtualpairprogrammers; import static org.apache.spark.sql.functions.callUDF; import static org.apache.spark.sql.functions.col; import java.util.Scanner; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.spark.sql.Dataset; import org.apache.spark.sql.Row; import org.apache....
41,946
https://github.com/stefanoschmidt1995/MLGW/blob/master/paper_NN/tex/Makefile
Github Open Source
Open Source
CC-BY-4.0
2,023
MLGW
stefanoschmidt1995
Makefile
Code
70
260
DOCNAME=mlgw_NN all: $(DOCNAME).pdf $(DOCNAME).pdf: $(DOCNAME).tex biblio -pdflatex -synctex=1 -interaction=nonstopmode $(DOCNAME).tex -pdflatex -synctex=1 -interaction=nonstopmode $(DOCNAME).tex biblio: biblio.bib -pdflatex -synctex=1 -interaction=nonstopmode $(DOCNAME).tex bibtex $(DOCNAME).aux submit: bash ...
18,484
https://github.com/ichengfeng/PerfectServer/blob/master/.build/x86_64-apple-macosx/debug/COpenSSL.build/ebcdic.c.d
Github Open Source
Open Source
Apache-2.0
2,021
PerfectServer
ichengfeng
Makefile
Code
9
167
dependencies: \ /Users/mac/Documents/GitHub/PerfectServer/.build/checkouts/Perfect-COpenSSL/COpenSSL/ebcdic.c \ /Users/mac/Documents/GitHub/PerfectServer/.build/checkouts/Perfect-COpenSSL/COpenSSL/include/module.modulemap \ /Users/mac/Documents/GitHub/PerfectServer/.build/checkouts/Perfect-COpenSSL/COpenSSL/e_os2...
8,618
https://github.com/wepea93/PICA.eCommerce/blob/master/src/Services/eCommerce.Authorizer.Api/eCommerce.Authorizer.Core/Exceptions/CreateAccessTokenException.cs
Github Open Source
Open Source
Apache-2.0
null
PICA.eCommerce
wepea93
C#
Code
32
87
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Authorizer.Core.Exceptions { public class CreateAccessTokenException : Exception { public CreateAccessTokenException() : base("Error al generar el access token") {...
50,551
https://github.com/simbo/a-static-site/blob/master/src/templates/post.jade
Github Open Source
Open Source
MIT
2,015
a-static-site
simbo
null
Spoken
20
97
extends base.jade block content .post h1.post-title= title time.post-date= moment(date).format(dateFormat) .post-content!= contents .post-navigate if previous a.previous(href=previous.url)= previous.title if next a.next(href=ne...
39,804
https://github.com/AndrewVebster/toggldesktop/blob/master/src/ui/windows/TogglDesktop/TogglDesktop/ui/controls/AutotrackerSettings.xaml.cs
Github Open Source
Open Source
BSD-3-Clause
null
toggldesktop
AndrewVebster
C#
Code
438
1,889
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Input; using TogglDesktop.AutoCompletion; using TogglDesktop.AutoCompletion.Items; namespace TogglDesktop { public partial class AutotrackerSettings { private readonly List<AutotrackerRuleItem> ruleItems = new L...
12,733
https://github.com/quinn/authlogic_ldap/blob/master/Rakefile
Github Open Source
Open Source
MIT
2,010
authlogic_ldap
quinn
Ruby
Code
70
230
ENV['RDOCOPT'] = "-S -f html -T hanna" require "rubygems" require File.dirname(__FILE__) << "/lib/authlogic_ldap/version" begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = 'authlogic-ldap' gem.summary = "Extension of the Authlogic library to add LDAP support." gem.email = "bjohnson@binar...
13,633
https://github.com/mingbai2006/autobright/blob/master/camera.py
Github Open Source
Open Source
Apache-2.0
2,022
autobright
mingbai2006
Python
Code
63
325
import cv2 import time import adjust # 使用摄像头捕获环境亮度,设置显示器亮度 # 参考资料 # http://blog.topspeedsnail.com/archives/2068 # http://blog.csdn.net/donger_soft/article/details/39522599 # http://docs.opencv.org/3.0-beta/modules/core/doc/operations_on_arrays.html?highlight=avg#CvScalar cvAvg(const CvArr* arr, const CvArr* mask) cap ...
45,816
https://github.com/QuantumBFS/YaoExperiment.jl/blob/master/src/quil.jl
Github Open Source
Open Source
Apache-2.0
2,019
YaoExperiment.jl
QuantumBFS
Julia
Code
381
1,425
struct QuilAddress{VT<:Vector} address_map::VT end Base.copy(info::QuilAddress) = QuilAddress(info.address_map) function Base.show(io::IO, ::MIME"quil", blk::AbstractBlock) qcode = quil(blk) println(io, qcode) end quil(blk::AbstractBlock, N::Union{Nothing, Int}=nothing) = quil(blk, QuilAddress(collect(1:(...
3,652
https://github.com/katanomi/pkg/blob/master/webhook/admission/context.go
Github Open Source
Open Source
Apache-2.0
null
pkg
katanomi
Go
Code
142
305
/* Copyright 2021 The Katanomi Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
28,608
https://github.com/mnespor/AzureNotificationHubClient/blob/master/Pod/Classes/NotificationHub.swift
Github Open Source
Open Source
Apache-2.0
null
AzureNotificationHubClient
mnespor
Swift
Code
182
560
// // NotificationHub.swift // Pods // // Created by Matthew Nespor on 4/9/16. // // import Foundation public class NotificationHub { let endpoint: NSURL let path: String let tokenProvider: TokenProvider let storageManager: LocalStorage let apiVersion = "2013-04" let userAgentTemplate = "N...
2,624
https://github.com/godotengine/godot/blob/master/thirdparty/openxr/src/loader/loader_instance.hpp
Github Open Source
Open Source
MIT, OFL-1.1, JSON, LicenseRef-scancode-nvidia-2002, BSD-3-Clause, Zlib, MPL-2.0, CC0-1.0, BSL-1.0, Libpng, Apache-2.0, LicenseRef-scancode-public-domain, Unlicense, LGPL-2.0-or-later, LicenseRef-scancode-generic-cla, GPL-1.0-or-later, GPL-2.0-only, LGPL-2.0-only, LicenseRef-scancode-unknown-license-reference, CC-BY-4....
2,023
godot
godotengine
C++
Code
272
905
// Copyright (c) 2017-2023, The Khronos Group Inc. // Copyright (c) 2017-2019 Valve Corporation // Copyright (c) 2017-2019 LunarG, Inc. // // SPDX-License-Identifier: Apache-2.0 OR MIT // // Initial Author: Mark Young <marky@lunarg.com> // #pragma once #include "extra_algorithms.h" #include "loader_interfaces.h" #in...
51,166
https://github.com/196Ikuchil/kube-scheduler-simulator/blob/master/scheduler/config/config.go
Github Open Source
Open Source
Apache-2.0
null
kube-scheduler-simulator
196Ikuchil
Go
Code
27
168
package config import ( "k8s.io/kube-scheduler/config/v1beta2" "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme" ) // DefaultSchedulerConfig creates KubeSchedulerConfiguration default configuration. func DefaultSchedulerConfig() (*v1beta2.KubeSchedulerConfiguration, error) { var versionedCfg v1beta2.KubeSchedul...
34,476
https://github.com/Mansteinr/zhengweiDemos/blob/master/webapp/webapp_jiangyi/webpack_example/demo_007/src/example/Hello.js
Github Open Source
Open Source
ISC
2,017
zhengweiDemos
Mansteinr
JavaScript
Code
27
94
import React,{Component} from 'react'; import './hello.css' import './hello.scss' export default class Hello extends Component{ render(){ return ( <div> <h1>你好世界</h1> <br/> <img /> <span></span> </div> ) ...
9,147
https://github.com/rovinei/MessengerBotCRM/blob/master/frontend/src/reducers/facebook.js
Github Open Source
Open Source
MIT
2,019
MessengerBotCRM
rovinei
JavaScript
Code
6
12
import * as bot from "../actions/facebook";
48,055
https://github.com/HackBulgaria/Programming-101-Python-2020-Spring/blob/master/week10/CinemaReservation/hack_cinema/db_schema/movies.py
Github Open Source
Open Source
MIT
2,022
Programming-101-Python-2020-Spring
HackBulgaria
Python
Code
37
85
CREATE_MOVIES = ''' CREATE TABLE IF NOT EXISTS movies( id INTEGER PRIMARY KEY, title VARCHAR(30) NOT NULL, year INTEGER NOT NULL CHECK(year BETWEEN 2019 and 2022), rating REAL CHECK(rating BETWEEN 0 and 10), UNIQUE(title, year) ); '''
51,625
https://github.com/containscafeine/kedgify/blob/master/vendor/github.com/kedgeproject/kedge/pkg/spec/controller.go
Github Open Source
Open Source
Apache-2.0
2,019
kedgify
containscafeine
Go
Code
434
897
/* Copyright 2017 The Kedge Authors 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 applicable law or agreed ...
36,580
https://github.com/feimm/ng-zorro-antd/blob/master/components/table/style/patch.less
Github Open Source
Open Source
MIT
2,019
ng-zorro-antd
feimm
Less
Code
331
1,749
@import "./size"; @table-prefix-cls: ~'@{ant-prefix}-table'; @table-td-cls: ~'@{table-prefix-cls}-td'; @table-th-cls: ~'@{table-prefix-cls}-th'; @table-th-left-cls: ~'@{table-th-cls}-left'; @table-th-right-cls: ~'@{table-th-cls}-right'; @table-td-left-cls: ~'@{table-td-cls}-left'; @table-td-right-cls: ~'@{table-td-cls...
46,957
https://github.com/mateuscdor/Marin-MD/blob/master/install.sh
Github Open Source
Open Source
MIT
2,022
Marin-MD
mateuscdor
Shell
Code
32
73
pkg update && pkg upgrade pkg install git -y pkg install nodejs -y pkg install ffmpeg -y pkg install imagemagick -y pkg install yarn git clone https://github.com/FahriAdison/Marin-MD cd Marin-MD yarn node .
31,164
https://github.com/KratosMultiphysics/Kratos/blob/master/kratos/processes/tetrahedra_mesh_edge_swapping_process.h
Github Open Source
Open Source
BSD-3-Clause
2,023
Kratos
KratosMultiphysics
C++
Code
389
1,511
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Pooyan Dadvand // #if !defined(KRATOS_TETRAHEDRA...
39,225
https://github.com/cnlucke/flatiron-bnb-methods-web-010818/blob/master/app/models/place.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-public-domain
2,018
flatiron-bnb-methods-web-010818
cnlucke
Ruby
Code
69
235
module Place module InstanceMethods def openings(arrival, departure) listings.select { |l| l.free?(arrival, departure) } end def res_to_listings listings.count == 0 ? 0 : reservations_count.to_f / listings.count.to_f end def reservations_count listings.map { |l| l.reservation...
12,355
https://github.com/karkranikhil/git-board/blob/master/src/Pages/homepage/index.js
Github Open Source
Open Source
MIT
2,021
git-board
karkranikhil
JavaScript
Code
203
648
import React from "react"; import Card from "../../Components/Card/index"; import MOCK from "../../MockData/data"; import Spinner from "../../Components/Spinner/index"; class HomePage extends React.Component { constructor(props) { super(props); this.state = { loading: true, result: [], total...
13,738
https://github.com/IdeaLabDigital/IdeaLabStarterTheme/blob/master/sidebar.php
Github Open Source
Open Source
MIT
null
IdeaLabStarterTheme
IdeaLabDigital
PHP
Code
38
122
<?php /** * The sidebar containing the main widget area * * @package IdealabStarter * @since IdealabStarter 1.0.0 */ ?> <aside class="sidebar"> <?php do_action( 'idealabstarter_before_sidebar' ); ?> <?php dynamic_sidebar( 'sidebar-widgets' ); ?> <?php do_action( 'idealabstarter_after_sidebar' ); ?> </aside>
23,577
https://github.com/ChanceYu/weapp-components/blob/master/src/pages/weapp/toast/toast.js
Github Open Source
Open Source
MIT
2,021
weapp-components
ChanceYu
JavaScript
Code
22
114
Page({ showToast() { this.setData({ toastTitle: '你好,weapp' }); }, showToastDelay() { this.setData({ toastTitle: '你好,5秒之后消失哦' }); }, onToastHide(){ wx.showModal({ content: '隐藏了Toast' }); } })
22,146
https://github.com/fbollon/lara-cms-lite/blob/master/src/Models/Content.php
Github Open Source
Open Source
MIT
2,020
lara-cms-lite
fbollon
PHP
Code
143
543
<?php namespace Fbollon\LaraCmsLite\Models; use App\User; use Illuminate\Database\Eloquent\Model; class Content extends Model // implements HasMedia { // use HasMediaTrait; protected $fillable = [ 'name', 'description', 'route', 'creator_id', 'displayed', 'dis...
36,445
https://github.com/hahaps/openstack-project-generator/blob/master/template/<project_name>/db/sqlalchemy/migrate_repo/versions/001_<project_name>_init.py
Github Open Source
Open Source
Apache-2.0
2,020
openstack-project-generator
hahaps
Python
Code
197
460
# Copyright 2012 OpenStack Foundation # # 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 ...
52,145
https://github.com/OneCyrus/snapshooter/blob/master/src/Snapshooter.Xunit/ObjectWrapperRemover.cs
Github Open Source
Open Source
MIT
null
snapshooter
OneCyrus
C#
Code
66
249
using System; using System.Reflection; namespace Snapshooter.Xunit { public static class ObjectWrapperRemover { public static object RemoveUnwantedWrappers(this object objectToRemoveWrappers) { object cleanedObject = objectToRemoveWrappers.RemoveFluentAssertionWrapper(); ...
17,599
https://github.com/calbonaler/DLR_Japanese/blob/master/Languages/Ruby/Utils/IronRuby.Tests/Runtime/InterpreterTests.cs
Github Open Source
Open Source
MS-PL
null
DLR_Japanese
calbonaler
C#
Code
3,102
12,516
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Microsoft Public License. A * copy of the license can be found in the License.html file at the root of this distribution. If * ...
20,906
https://github.com/Nikheln/BGP-simulator/blob/master/src/bgp/tests/SubnetTest.java
Github Open Source
Open Source
MIT
null
BGP-simulator
Nikheln
Java
Code
235
841
package bgp.tests; import static org.junit.Assert.*; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import org.junit.Test; import bgp.utils.Subnet; public class SubnetTest { @Test public void testHashCode() { List<Subnet> subnetList = new ArrayList<>(); for (int i = 0; i < 1...
16,941
https://github.com/hmallen/ballistic-chat-monitor/blob/master/ballisticchat/monitor.py
Github Open Source
Open Source
MIT
2,021
ballistic-chat-monitor
hmallen
Python
Code
184
797
import configparser import datetime import logging from pprint import pprint from pymongo import MongoClient import requests logging.basicConfig() logger = logging.getLogger('monitor') logger.setLevel(logging.DEBUG) class BallisticMonitor: def __init__( self, config_file ): config =...
4,585
https://github.com/TheoZhang17/18551_Project/blob/master/server/simplecharrec(V)/charGUI4.m
Github Open Source
Open Source
BSD-2-Clause
2,012
18551_Project
TheoZhang17
MATLAB
Code
2,296
8,565
function varargout = charGUI4(varargin) %{ CHARGUI4 M-file for charGUI4.fig CHARGUI4, by itself, creates a new CHARGUI4 or raises the existing singleton*. H = CHARGUI4 returns the handle to a new CHARGUI4 or the handle to the existing singleton*. CHARGUI4('CALLBACK',hObject,eventD...
16,320
https://github.com/jimlofgren/Umbraco-CMS/blob/master/src/Umbraco.Core/Sync/SingleServerRegistrar.cs
Github Open Source
Open Source
MIT
2,022
Umbraco-CMS
jimlofgren
C#
Code
167
392
using System; using System.Collections.Generic; namespace Umbraco.Core.Sync { /// <summary> /// Can be used when Umbraco is definitely not operating in a Load Balanced scenario to micro-optimize some startup performance /// </summary> /// <remarks> /// The micro optimization is specifically to avo...
51,218
https://github.com/vadim8kiselev/study/blob/master/java/ssu-flanguage/src/com/kiselev/ssu/flanguage/serializer/pojo/AutomataInputEntity.java
Github Open Source
Open Source
MIT
2,018
study
vadim8kiselev
Java
Code
131
440
package com.kiselev.ssu.flanguage.serializer.pojo; import java.util.Map; import java.util.Set; public class AutomataInputEntity { private String name; private Integer priority; private Set<String> alphabet; private Set<String> initialState; private Set<String> finalState; private Map<Str...
21,148
https://github.com/NeverCL/EntityFramework.Extension/blob/master/EntityFramework.Extension/EntityFramework.Extension.Tests/BaseContextTests.cs
Github Open Source
Open Source
MIT
2,021
EntityFramework.Extension
NeverCL
C#
Code
318
1,241
using System; using System.Data.Entity; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace EntityFramework.Extension.Tests { [TestClass] public class BaseContextTests { public BaseContextTests() { InitData(); } [TestMethod] ...
5,247
https://github.com/haongo2007/pixen/blob/master/resources/views/auth/passwords/reset.blade.php
Github Open Source
Open Source
MIT
2,020
pixen
haongo2007
Blade
Code
159
651
@extends('layouts.mobile',['page' => __('Verifying your email'), 'pageSlug' => 'reset']) @section('content') <div class="container-fluid signin forgot content has-btn-footer has-form"> <p class="text-center title" style="width: 80%;margin: 0 auto;"> <span class="text-center d-block">We’ve reset your passw...
7,822
https://github.com/FevenKitsune/OpenLeague/blob/master/app/cogs/BotUtils.py
Github Open Source
Open Source
CC0-1.0
null
OpenLeague
FevenKitsune
Python
Code
357
1,012
"""MAIN Program: OpenLeague > BotUtils Author: Feven Kitsune <email upon request> License: CC0 1.0 Universal """ from discord.ext import commands from random import randint class BotUtils: """INITIALIZER What is first called when the class ExtensionExample() is loaded. Set's the class's client variable to th...
35,113
https://github.com/SgtCoDFish/PlayPG/blob/master/include/Map.hpp
Github Open Source
Open Source
MIT
2,016
PlayPG
SgtCoDFish
C++
Code
534
1,348
/* * Copyright (c) 2015 See AUTHORS file. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
39,341
https://github.com/chenchen777/wenjuan/blob/master/common/models/LabelsList.php
Github Open Source
Open Source
BSD-3-Clause
2,021
wenjuan
chenchen777
PHP
Code
125
348
<?php namespace common\models; use Yii; /** * This is the model class for table "labels_list". * * @property int $id * @property string $uid 发起者 * @property string $jd_user 受害者 * @property string $labels_id 举报类型 * @property int $version * @property int $deleted * @property int $create_at * @property int $...
39,291
https://github.com/HIGH238/easy-rpc/blob/master/ui/src/components/Switch.tsx
Github Open Source
Open Source
MIT
2,021
easy-rpc
HIGH238
TypeScript
Code
54
176
import React, { DetailedHTMLProps, FC, InputHTMLAttributes } from "react"; export type SwitchProps = DetailedHTMLProps< InputHTMLAttributes<HTMLInputElement>, HTMLInputElement > & { fref: React.LegacyRef<HTMLInputElement> } export const Switch: FC<SwitchProps> = ({ onClick, fref, className = "...
24,116
https://github.com/pdebruic/EmailReplyParser/blob/master/repository/EmailReplyParser.package/EmailReplyFragment.class/instance/isQuoted..st
Github Open Source
Open Source
MIT
2,021
EmailReplyParser
pdebruic
null
Spoken
6
18
accessing isQuoted: anObject isQuoted := anObject
2,683
https://github.com/robsonbittencourt/coding-kata/blob/master/src/test/java/com/rbittencourt/coding/kata/cupcake/CookieDescriptionTest.java
Github Open Source
Open Source
MIT
null
coding-kata
robsonbittencourt
Java
Code
76
270
package com.rbittencourt.coding.kata.cupcake; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; public class CookieDescriptionTest { @Test public void shouldReturnCookieWhenIsPureCupcake() { Cookie cookie = new Cookie(); assertEquals("Cookie", c...
45,792
https://github.com/seandenigris/iceberg/blob/master/Iceberg-Tests.package/IceGitRemoteTest.class/instance/testNonGithubSSHUrlExtractsPort.st
Github Open Source
Open Source
MIT
2,020
iceberg
seandenigris
null
Spoken
17
72
tests-ssh testNonGithubSSHUrlExtractsPort | url | url := IceGitSshRemote new url: 'git://git.fremont.lamrc.net:8372/diffuse/300/rdebug.git'. self assert: url port equals: 8372
38,941
https://github.com/Humein/BX_TiKuBaseModulesRepo/blob/master/TiKuBaseModulesRepo/Classes/BKXAnswerCommonCollectionViewCell.h
Github Open Source
Open Source
MIT
2,021
BX_TiKuBaseModulesRepo
Humein
Objective-C
Code
41
163
// // BKXAnswerCommonCollectionViewCell.h // TiKuBaseModulesRepo_Example // // Created by Zhang Xin Xin on 2019/10/9. // Copyright © 2019 Zhang Xin Xin. All rights reserved. // #import <UIKit/UIKit.h> #import "BKXCommentPracticeOptionModel.h" NS_ASSUME_NONNULL_BEGIN @interface BKXAnswerCommonCollectionViewCell :...
23,537
https://github.com/nuxodin/lazyfill/blob/master/polyfills/HTMLInputElement/prototype/reportValidity.js
Github Open Source
Open Source
MIT
2,022
lazyfill
nuxodin
JavaScript
Code
63
250
if (!HTMLInputElement.prototype.reportValidity) { HTMLInputElement.prototype.reportValidity = function(){ if (this.checkValidity()) return true var tmpForm; if (!this.form) { var tmpForm = d.createElement('form'); tmpForm.style.display = 'inline'; this.bef...
41,723
https://github.com/LatypovIR/itmo-training-courses/blob/master/kgeorgiy-courses/prog-intro/solutions/md2html/Md2Html.java
Github Open Source
Open Source
MIT
2,021
itmo-training-courses
LatypovIR
Java
Code
86
283
package md2html; import md2html.parser.PageParser; import md2html.parser.exceptions.ParseException; import java.io.*; import java.nio.charset.StandardCharsets; /** * @author Igor Podtsepko (i.podtsepko@niuitmo.com) */ public class Md2Html { public static void main(String[] args) { if (args.length != 2)...
19,690
https://github.com/lasdolphin/kf/blob/master/pkg/kf/internal/tools/clientgen/gentest/client_test.go
Github Open Source
Open Source
Apache-2.0
2,019
kf
lasdolphin
Go
Code
1,192
4,418
// Copyright 2019 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 ...
10,832
https://github.com/meankitsingh/salesforce-component/blob/master/lib/helpers/oauth-utils.js
Github Open Source
Open Source
Apache-2.0
2,020
salesforce-component
meankitsingh
JavaScript
Code
303
800
/** * Common functionality for OAuth * */ const util = require('util'); const { handlebars } = require('hbs'); const _ = require('lodash'); const httpUtils = require('./http-utils.js'); const appDef = require('../../component.json'); function getValueFromEnv(key) { const compiled = handlebars.compile(key); cons...
28,194
https://github.com/IgorChugurov/gmallupdate/blob/master/public/views/template/partials/home/slider/slider3a.jade
Github Open Source
Open Source
MIT
2,018
gmallupdate
IgorChugurov
null
Spoken
48
310
//if(imgs && imgs.length) div(class=wrapclass) div(class=mobileWrapper) if(i && i==1) - var id='arrowDownDiv' arrow-down //- var id=(i && i==1)?'arrow-down':''; div(id=id,class="home-slides") div(class="container") ...
14,112
https://github.com/UK-AS-HIVE/Scriptorium/blob/master/client/views/desk/widget.coffee
Github Open Source
Open Source
Apache-2.0
2,016
Scriptorium
UK-AS-HIVE
CoffeeScript
Code
456
1,737
# TODO: Purpose of these is just wrappers to display content - need to handle resizing on them and choosing what templates to render # # Disable conflicts with bootstrap, so that dialog close buttons appear correctly Meteor.startup -> jQuery.fn.button.noConflict() miradorWidgetProperties = @miradorWidgetProperties ...
50,207
https://github.com/ChaofanChen/ogs5-egs/blob/master/FEM/rf_bc_new.cpp
Github Open Source
Open Source
BSD-2-Clause, BSD-3-Clause
2,019
ogs5-egs
ChaofanChen
C++
Code
3,770
15,895
/** * \copyright * Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "rf_bc_new.h" #include <algorithm> #include <...
17,525
https://github.com/nemoipaha/microservice-game/blob/master/source/battle/app/Http/Controllers/BattleController.php
Github Open Source
Open Source
MIT
2,019
microservice-game
nemoipaha
PHP
Code
129
490
<?php declare(strict_types=1); namespace App\Http\Controllers; use App\Algorithm\Dice; use GuzzleHttp\Client; use GuzzleHttp\Exception\BadResponseException; use Illuminate\Contracts\Config\Repository as Config; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; final class BattleController extends Contr...
36,684
https://github.com/nalyd88/ViperNEC/blob/master/NEC2/src/nec/solgf.f
Github Open Source
Open Source
Apache-2.0
2,018
ViperNEC
nalyd88
null
Spoken
279
1,531
SUBROUTINE SOLGF (A,B,C,D,XY,IP,NP,N1,N,MP,M1,M,N1C,N2C) C SOLVE FOR CURRENT IN N.G.F. PROCEDURE COMPLEX A,B,C,D,SUM,XY,Y COMMON /SCRATM/ Y(2*MAXSEG) COMMON /SEGJ/ AX(30),BX(30),CX(30),JCO(30),JSNO,ISCON(50),NSCON,IP 1CON(10),NPCON COMMON /MATPAR/ ICASE,NBLOKS,NPBLK,NLAST,NBLSYM,N...
39,151
https://github.com/lanchiang/metadata-ms/blob/master/mdms/mdms-tools/src/main/java/de/hpi/isg/mdms/tools/apps/MetanomeDependencyImportApp.java
Github Open Source
Open Source
Apache-2.0
2,017
metadata-ms
lanchiang
Java
Code
337
1,198
package de.hpi.isg.mdms.tools.apps; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParametersDelegate; import de.hpi.isg.mdms.clients.apps.MdmsAppTemplate; import de.hpi.isg.mdms.clients.parameters.JCommanderParser; import de.hpi.isg.mdms.clients.parameters.MetadataStoreParameters; import de.hpi.is...
37,641
https://github.com/NguyenVanNam2410/WebsiteThucPham/blob/master/resources/views/frontend/admin/footer.blade.php
Github Open Source
Open Source
MIT
null
WebsiteThucPham
NguyenVanNam2410
PHP
Code
682
3,290
<div id="footer"> <div class="grid wide"> <div class="footer__top"> <div class="row"> <div class="col l-3 m-3 c-12"> <div class="footer__heading"> <h2>About</h2> <div class="footer__heading--bottom"></div> ...
6,013
https://github.com/loxal/matcher/blob/master/dex-it-common/src/main/scala/com/wavesplatform/dex/it/api/responses/dex/MatcherMessage.scala
Github Open Source
Open Source
MIT
2,021
matcher
loxal
Scala
Code
19
72
package com.wavesplatform.dex.it.api.responses.dex import play.api.libs.json.{Format, Json} case class MatcherMessage(id: String) object MatcherMessage { implicit val format: Format[MatcherMessage] = Json.format }
4,650
https://github.com/lvtx/IGC.GameServer.SX/blob/master/GameServer/DevilSquareFinal.cpp
Github Open Source
Open Source
MIT
2,021
IGC.GameServer.SX
lvtx
C++
Code
6,831
37,606
#include "stdafx.h" #include "DevilSquareFinal.h" #include "TLog.h" #include "protocol.h" #include "winutil.h" #include "GameMain.h" #include "DSProtocol.h" #include "MapServerManager.h" #include "TNotice.h" #include "gObjMonster.h" #include "configread.h" CDevilSquareFinal g_DevilSquareFinal; CDevilSquareFinal::CDev...
24,270
https://github.com/joshua-software-dev/SizeMattersFishing/blob/master/PluginUiTestbed/UiBackend.cs
Github Open Source
Open Source
MIT
2,022
SizeMattersFishing
joshua-software-dev
C#
Code
233
932
using SizeMattersFishingLib.GUI; using System.Numerics; using Veldrid.Sdl2; using Veldrid.StartupUtilities; using Veldrid; namespace PluginUiTestbed; public class UiBackend { private readonly CommandList _commandList; private readonly ImGuiController _controller; private readonly GraphicsDevice _graphics...
4,243
https://github.com/xiaoxianrouzhiyou/BBearEditor/blob/master/Code/BBearEditor/Engine/Render/BBAttribute.cpp
Github Open Source
Open Source
MIT
2,021
BBearEditor
xiaoxianrouzhiyou
C++
Code
61
239
#include "BBAttribute.h" BBAttribute::BBAttribute(GLint location, int nComponentCount, unsigned int nBasicDataType, bool bNormalized, int nDataStride, int nDataOffset) : BBBaseRenderComponent() { m_Location = location; m_nComponentCount = nComponentCount; m_nBasicDataType = nBasicDataType; m_bNorm...
29,975
https://github.com/jawaad-ahmad/brata.masterserver/blob/master/workspace/m/js/isvalid.js
Github Open Source
Open Source
Apache-2.0
2,015
brata.masterserver
jawaad-ahmad
JavaScript
Code
43
213
function isZip(s) { // Check for correct zip code reg = /(^\d{5}$)|(^\d{5}-\d{4})$/; return reg.test(s); } function isEmail(s) { var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; return reg.test(s); } function isPhoneNumber(s) { reg = /^\d{3}-\d{3}-\d{4}$/; return reg.te...
28,081
https://github.com/rmbraga/pt-br-design-patterns/blob/master/src/test/java/com/rmbraga/creational/builders/FluentBuilderCarroTest.java
Github Open Source
Open Source
MIT
2,020
pt-br-design-patterns
rmbraga
Java
Code
85
490
package com.rmbraga.creational.builders; import org.junit.jupiter.api.Test; import static com.rmbraga.creational.builders.enums.Carroceria.CONVERSIVEL; import static com.rmbraga.creational.builders.enums.Carroceria.SUV; import static com.rmbraga.creational.builders.enums.Cor.BRANCO; import static com.rmbraga.creation...
30,418
https://github.com/kuba-kazimierczak/kaguya/blob/master/test/test_04_lua_function.cpp
Github Open Source
Open Source
BSL-1.0
2,022
kaguya
kuba-kazimierczak
C++
Code
1,395
6,186
#include "test_util.hpp" #include "kaguya/kaguya.hpp" KAGUYA_TEST_GROUP_START(test_04_lua_function) using namespace kaguya_test_util; std::string last_error_message; void ignore_error_fun(int status, const char *message) { KAGUYA_UNUSED(status); last_error_message = message ? message : ""; } KAGUYA_TEST_FUNCTION...
11,226
https://github.com/LeftCy/RealOpinion/blob/master/resources/views/message/message.blade.php
Github Open Source
Open Source
MIT
null
RealOpinion
LeftCy
PHP
Code
111
493
@php $title = 'realOpinion'; $description = 'マイページ'; @endphp @extends('layouts.app') @section('content') <h2 class="title">Message for ...</h2> <p>{{ $board->otherUser->name }}</p> <div class="col-lg-6 text-center col-md-8 ml-auto mr-auto"> <div class="form-group"> <textarea name="con...
31,580
https://github.com/carlos3434/reniec/blob/master/app/views/front/layouts/includes/head.blade.php
Github Open Source
Open Source
MIT
2,017
reniec
carlos3434
Blade
Code
21
96
<meta charset="utf-8"> <meta name="description" content=""> <meta name="author" content="Scotch"> <title>Super Cool Layouts</title> <!-- load bootstrap from a cdn --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
20,725
https://github.com/weifengtou/weifengtou/blob/master/Public/Home/js/project_copy.js
Github Open Source
Open Source
Apache-2.0
2,015
weifengtou
weifengtou
JavaScript
Code
685
3,180
//省 function select_large (lid) { $.post('?s=home/invhome/china_space',{'lid':lid}, function(data, textStatus, xhr) { $('#larges').hide() var datas = jQuery.parseJSON(data) $('#smalls').html('').show() $.each(datas, function(index, val) { $('#smalls').append("<ul><li><a href='javascript:select_small("+val.i...
18,834
https://github.com/richhaho/our-air-vue-reactnative-laravel/blob/master/api/database/factories/AircraftFactory.php
Github Open Source
Open Source
MIT
2,020
our-air-vue-reactnative-laravel
richhaho
PHP
Code
54
255
<?php /** @var \Illuminate\Database\Eloquent\Aircraft $factory */ use App\Models\Aircraft; use Faker\Generator as Faker; use Illuminate\Database\Eloquent\Factory; $factory->define(Aircraft::class, function (Faker $faker) { return [ 'flight_category_id' => rand(1, 20), 'type' =...
32,570
https://github.com/ChairGraveyard/GOAPer/blob/master/Source/GOAPer/Private/GOAPAIController.cpp
Github Open Source
Open Source
MIT
2,021
GOAPer
ChairGraveyard
C++
Code
476
1,969
// Fill out your copyright notice in the Description page of Project Settings. #include "GOAPer.h" #include "GOAPAIController.h" #include "EngineUtils.h" #include "GOAPState.h" #include "GOAPAICharacter.h" #include "Actors/ResourceActor.h" #include "Engine.h" #include "IdleState.h" #include "MoveToState.h" #include "D...
30,543
https://github.com/HiCitron/PythonOftenUsed/blob/master/comb.py
Github Open Source
Open Source
MIT
null
PythonOftenUsed
HiCitron
Python
Code
190
450
# -*- coding: utf-8 -*- # [[1, 2], [1, 3], [2, 1], [2, 3], [3, 1], [3, 2]] def allPerm( l, n, s = [] ): if n == 0: return [s] else: perm = [] for i in range(len(l)): perm += allPerm( l[:i] + l[i+1:], n-1, s + [l[i]] ) return perm # [[1, 1], [1, 2], [1, 3], [2, 1], [...
49,315
https://github.com/h-hellemons-timmerweren/botbuilder-dotnet/blob/master/libraries/Microsoft.Bot.Schema/Teams/Generated/MessagingExtensionResponse.cs
Github Open Source
Open Source
MIT
2,020
botbuilder-dotnet
h-hellemons-timmerweren
C#
Code
187
444
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // r...
24,694
https://github.com/gigimarkley/GigisWishlistApp/blob/master/client/components/Navbar.js
Github Open Source
Open Source
MIT
2,021
GigisWishlistApp
gigimarkley
JavaScript
Code
150
467
import React from "react"; import { connect } from "react-redux"; import { Link } from "react-router-dom"; import { logout } from "../store"; const Navbar = ({ handleClick, isLoggedIn }) => ( <div> <nav> <img id="wishlistLogo" src="./wishlist_logo-5.png"></img> <div> <h1 id="siteName">Gigi's ...
36,420
https://github.com/mredd/aricpp/blob/master/include/aricpp/basicauth.h
Github Open Source
Open Source
BSL-1.0
2,022
aricpp
mredd
C
Code
479
1,129
/******************************************************************************* * ARICPP - ARI interface for C++ * Copyright (C) 2017-2021 Daniele Pallastrelli * * This file is part of aricpp. * For more information, see http://github.com/daniele77/aricpp * * Boost Software License - Version 1.0 - August 17th, ...
32,430
https://github.com/kalintsenkov/SoftUni-Software-Engineering/blob/master/CSharp-Technology-Fundamentals/Homeworks-And-Labs/04MethodsExercise/03CharactersInRange/Program.cs
Github Open Source
Open Source
MIT
2,022
SoftUni-Software-Engineering
kalintsenkov
C#
Code
74
211
using System; namespace _03CharactersInRange { class Program { static void Main(string[] args) { char firstChar = char.Parse(Console.ReadLine()); char secondChar = char.Parse(Console.ReadLine()); PrintsCharactersInRange(firstChar, secondChar); } ...
30,288
https://github.com/lgirdk/json-rpc/blob/master/tcp_client.h
Github Open Source
Open Source
Apache-2.0
null
json-rpc
lgirdk
C
Code
408
823
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2020 RDK Management * * 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 ...
52,096
https://github.com/mouradski/xrapid_alert/blob/master/src/main/java/space/xrapid/service/exchange/coinfield/ConfieldCadService.java
Github Open Source
Open Source
MIT
2,021
xrapid_alert
mouradski
Java
Code
30
115
package space.xrapid.service.exchange.coinfield; import org.springframework.stereotype.Service; import space.xrapid.domain.Exchange; @Service public class ConfieldCadService extends CoinfieldUsdService { @Override protected String getMarket() { return "xrpcad"; } @Override public Exchang...
44,804