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/tiy-curtissimo/tiy-slate-201703/blob/master/day-2/class-code/node_modules/nymag-handlebars/node_modules/comma-it/comma-it.js
Github Open Source
Open Source
MIT
2,017
tiy-slate-201703
tiy-curtissimo
JavaScript
Code
152
384
// Simplest possible solution to turn numbers into nicely seperated amounts: // 1234 => 1 234 // When precision option defined number of precision to keep, defaults to 2 module.exports = function commaIt(num, options) { //Conversion to string and default return managment number = num.toString(); if(numbe...
7,292
https://github.com/gakkifan2020/YoloV3_From_calmisential_workspace/blob/master/write_coco_to_txt.py
Github Open Source
Open Source
MIT
2,022
YoloV3_From_calmisential_workspace
gakkifan2020
Python
Code
16
68
from data_process.parse_coco import ParseCOCO from configuration import TXT_DIR if __name__ == '__main__': coco = ParseCOCO() coco.write_data_to_txt(txt_dir=TXT_DIR)
4,726
https://github.com/zarmian/retro-updates/blob/master/app/Http/Models/Employees/EmployeesRoles.php
Github Open Source
Open Source
MIT
null
retro-updates
zarmian
PHP
Code
20
73
<?php namespace App\Http\Models\Employees; use Illuminate\Database\Eloquent\Model; class EmployeesRoles extends Model { /** * Declaring table */ public $table = "tbl_employees_roles"; }
60
https://github.com/bingo-soft/jabe/blob/master/src/Impl/Pvm/Runtime/PvmExecutionImpl.php
Github Open Source
Open Source
MIT
2,023
jabe
bingo-soft
PHP
Code
7,589
21,375
<?php namespace Jabe\Impl\Pvm\Runtime; use Jabe\ProcessEngineException; use Jabe\Impl\ProcessEngineLogger; use Jabe\Impl\Bpmn\Helper\BpmnProperties; use Jabe\Impl\Context\Context; use Jabe\Impl\Core\Instance\CoreExecution; use Jabe\Impl\Core\Variable\Event\VariableEvent; use Jabe\Impl\Core\Variable\Scope\AbstractVari...
40,606
https://github.com/AmpersandJS/ampersand-events/blob/master/test/index.js
Github Open Source
Open Source
MIT
2,019
ampersand-events
AmpersandJS
JavaScript
Code
1,986
6,143
var test = require('tape'); var assign = require('lodash/assign'); var keys = require('lodash/keys'); var size = require('lodash/size'); var debounce = require('lodash/debounce'); var Events = require('../ampersand-events'); test('on and trigger', function (t) { t.plan(2); var obj = { counter: 0 }...
13,365
https://github.com/yahoo/messenger-sdk/blob/master/YahooMessengerLibraries/build/preprocessed/com/yahoo/messenger/util/YahooMessengerYTLoginUtilities.java
Github Open Source
Open Source
BSD-3-Clause
2,016
messenger-sdk
yahoo
Java
Code
268
919
/** * Copyright (c) 2009-2010, Yahoo! Inc. All rights reserved. * Code licensed under the BSD License: * http://searchmarketing.yahoo.com/developer/docs/license.txt */ package com.yahoo.messenger.util; import com.yahoo.messenger.exception.MessengerException; import com.yahoo.messenger.manager.data.SessionData; im...
42,361
https://github.com/CoOwner/VisualPvP/blob/master/org/apache/maven/lifecycle/Scheduling.java
Github Open Source
Open Source
MIT
null
VisualPvP
CoOwner
Java
Code
123
419
package org.apache.maven.lifecycle; import java.util.List; import org.apache.maven.plugin.MojoExecution; public class Scheduling { private String lifecycle; private List<Schedule> schedules; public Scheduling() {} public Scheduling(String lifecycle, List<Schedule> schedules) ...
42,710
https://github.com/Adrijaned/oglPlaygorund/blob/master/docs/search/functions_3.js
Github Open Source
Open Source
MIT
null
oglPlaygorund
Adrijaned
JavaScript
Code
6
103
var searchData= [ ['filenotfoundexception',['FileNotFoundException',['../classFileNotFoundException.html#ad3ba1c0aea65a2ff0e3c7c2841346b66',1,'FileNotFoundException']]], ['finish',['finish',['../classShaderProgram.html#aea6359b565da251e456fd0020fa0e705',1,'ShaderProgram']]] ];
5,975
https://github.com/delta94/h.bilibili-rn/blob/master/src/bilibiliApi/apis/authApi.ts
Github Open Source
Open Source
MIT
2,020
h.bilibili-rn
delta94
TypeScript
Code
113
564
/* eslint-disable @typescript-eslint/no-unused-vars */ import { BaseService, Response, POST, BasePath, FormUrlEncoded, GET, Query, } from 'ts-retrofit'; import { ApiEndponits, FieldMapW, QueryMapW, AppAuthorize, } from '../extensions'; import { BiliBiliProtocol, RSAPublicKeyResult, AuthResul...
2,847
https://github.com/forestbat/BloodArsenal/blob/master/src/main/java/arc/bloodarsenal/modifier/ModifierTracker.java
Github Open Source
Open Source
CC-BY-4.0
2,017
BloodArsenal
forestbat
Java
Code
489
1,727
package arc.bloodarsenal.modifier; import WayofTime.bloodmagic.util.Utils; import arc.bloodarsenal.BloodArsenal; import net.minecraft.nbt.NBTTagCompound; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Map.Entry; public class ModifierTracker { public static HashMap<String, ModifierTra...
38,095
https://github.com/manfredma/exercises/blob/master/dsl/ognl/ognl.adoc
Github Open Source
Open Source
Apache-2.0
2,023
exercises
manfredma
AsciiDoc
Code
4
49
== 参考 [%hardbreaks] https://zhuanlan.zhihu.com/p/434518054[强大的表达式引擎--OGNL]
15,712
https://github.com/mainthread-technology/grand-maps-for-muzei/blob/master/mobile/src/main/java/technology/mainthread/apps/grandmaps/data/ConvertPreferences.java
Github Open Source
Open Source
Apache-2.0
2,017
grand-maps-for-muzei
mainthread-technology
Java
Code
108
415
package technology.mainthread.apps.grandmaps.data; import android.annotation.SuppressLint; import android.content.SharedPreferences; import android.content.res.Resources; import java.util.Map; import javax.inject.Inject; import technology.mainthread.apps.grandmaps.R; public class ConvertPreferences { private ...
13,902
https://github.com/WanKerr/Sonic4Episode1/blob/master/Sonic4Episode1/AppMain/Gm/GmOver.cs
Github Open Source
Open Source
Unlicense
2,021
Sonic4Episode1
WanKerr
C#
Code
551
3,411
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Media; using mpp; public partial class AppMain { private static ...
38,853
https://github.com/dayvidwhy/response-radar/blob/master/app/server.rb
Github Open Source
Open Source
MIT
2,021
response-radar
dayvidwhy
Ruby
Code
344
883
# frozen_string_literal: true # library imports require 'sinatra/base' require 'json' require 'securerandom' # load our radar require_relative './radar' require_relative '../utils/validate' # Helper to setup our routes on the server and then # provides a method to actually start the server. class Server < Sinatra::B...
17,055
https://github.com/mathinking/HopfieldNetworkToolbox/blob/master/help_source/chn_users_guide.m
Github Open Source
Open Source
BSD-2-Clause
2,021
HopfieldNetworkToolbox
mathinking
MATLAB
Code
129
296
%% Hopfield Network Toolbox User's Guide % The following examples can be used as a user's guide to get yourself familiar % with the |HopfieldNetworkGQKP| and |HopfieldNetworkTSP| classes and additional % functions. % % * <chn_users_guide_hopfieldnet.html What is HopfieldNetwork?> % * <chn_users_guide_howToUseTsphopfiel...
33,088
https://github.com/mikolajs/libgdx-demo/blob/master/desktop/src/main/scala/Main.scala
Github Open Source
Open Source
MIT
null
libgdx-demo
mikolajs
Scala
Code
34
106
package pl.edu.osp import com.badlogic.gdx.backends.lwjgl._ object Main extends App { val cfg = new LwjglApplicationConfiguration cfg.title = "libgdx-demo" cfg.height = 700 cfg.width = 1200 cfg.forceExit = false cfg.useGL30 = true new LwjglApplication(new Libgdxdemo, cfg) }
18,755
https://github.com/TheGenuine/commutie/blob/master/app/src/main/java/de/reneruck/traincheck/MainActivity.java
Github Open Source
Open Source
MIT
null
commutie
TheGenuine
Java
Code
227
1,089
package de.reneruck.traincheck; import android.app.Activity; import android.app.TimePickerDialog; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import a...
22,073
https://github.com/Iceberry-qdd/Leetcode-practice/blob/master/Java/L54.java
Github Open Source
Open Source
MIT
null
Leetcode-practice
Iceberry-qdd
Java
Code
272
738
import java.util.ArrayList; import java.util.List; public class L54 { public static void main(String[] args) { //int[][] matrix={{1,2,3,4},{5,6,7,8},{9,10,11,12}}; System.out.println(spiralOrder(new int[][]{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}})); System.out.println(spiralOrder(new i...
16,733
https://github.com/mfkiwl/spu32/blob/master/software/asm/spi-test.s
Github Open Source
Open Source
MIT
2,022
spu32
mfkiwl
GAS
Code
148
444
#include "devices.h" .section .text .global _start #define SPI_OP_READ 0x03 main: jal chipdeselect jal chipselect # send read opcode li a0, SPI_OP_READ jal transmit # write three address bytes li a0, 0 jal transmit li a0, 0 jal transmit li a0, 0 jal transmit li ...
41,935
https://github.com/sphereio/commercetools-php-raml/blob/master/lib/commercetools-api/src/Models/ProductSelection/ProductSelectionCollection.php
Github Open Source
Open Source
MIT
null
commercetools-php-raml
sphereio
PHP
Code
119
360
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\ProductSelection; use Commercetools\Api\Models\Common\BaseResourceCollection; use Commercetools\Exception\InvalidArgumentException; use stdClass; /** * @extends BaseResourceCollection...
40,936
https://github.com/kristijankoscak/NWP-LV5/blob/master/resources/lang/en/task-messages.php
Github Open Source
Open Source
MIT
null
NWP-LV5
kristijankoscak
PHP
Code
35
111
<?php return [ 'name'=> 'Task name (on Croatian)', 'name_en'=> 'Task name', 'study_type' => 'Study type', 'assignment' => 'Assignment', 'add_button' => 'Add task', 'undergraduate_study' => 'Undergraduate Study', 'graduate_study' => 'Graduate Study', 'professional_study' => 'Professional...
30,538
https://github.com/ConanODoyle/io_scene_dts/blob/master/import_dts.py
Github Open Source
Open Source
MIT
2,021
io_scene_dts
ConanODoyle
Python
Code
1,475
5,496
import bpy import os from bpy_extras.io_utils import unpack_list from .DtsShape import DtsShape from .DtsTypes import * from .write_report import write_debug_report from .util import default_materials, resolve_texture, get_rgb_colors, fail, \ ob_location_curves, ob_scale_curves, ob_rotation_curves, ob_rotation_dat...
50,873
https://github.com/Sogrey/SogreyWeibo/blob/master/src/com/sogrey/sinaweibo/utils/InputStreamUtil.java
Github Open Source
Open Source
Apache-2.0
null
SogreyWeibo
Sogrey
Java
Code
1,954
7,252
/** * @author Sogrey * @date 2015年4月29日 */ package com.sogrey.sinaweibo.utils; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; im...
29,264
https://github.com/foreignguymike/Sandbox/blob/master/core/src/com/distraction/sandbox/states/TransitionState.kt
Github Open Source
Open Source
MIT
2,022
Sandbox
foreignguymike
Kotlin
Code
177
516
package com.distraction.sandbox.states import com.badlogic.gdx.graphics.Color import com.badlogic.gdx.graphics.g2d.SpriteBatch import com.distraction.sandbox.Constants import com.distraction.sandbox.Context import com.distraction.sandbox.getAtlas import com.distraction.sandbox.use class TransitionState(context: Conte...
888
https://github.com/kids-first/kf-portal-ui/blob/master/src/components/UserProfile/ContactInformationEditable.js
Github Open Source
Open Source
Apache-2.0
2,023
kf-portal-ui
kids-first
JavaScript
Code
507
1,787
import React, { Fragment } from 'react'; import { Form, Input, Select, Typography } from 'antd'; import PropTypes from 'prop-types'; import { ROLES } from 'common/constants'; import AddressEditForm from 'components/UserProfile/AddressEditForm'; import { ERROR_TOO_MANY_CHARACTERS } from './constants'; import ContactEd...
33,884
https://github.com/FlandreCirno/AzurLaneWikiUtilitiesManual/blob/master/AzurLaneData/zh-CN/gamecfg/story/weicenghunhe33.lua
Github Open Source
Open Source
MIT
2,021
AzurLaneWikiUtilitiesManual
FlandreCirno
Lua
Code
1,376
4,767
return { fadeOut = 1.5, mode = 2, id = "WEICENGHUNHE33", once = true, fadeType = 1, fadein = 1.5, scripts = { { say = "要塞东侧外海?·海雾中", side = 2, bgName = "bg_xiangting_3", dir = 1, bgmDelay = 1, bgm = "xinnong-3", flashin = { delay = 1, dur = 1, black = true, alpha = { 1...
4,330
https://github.com/robdyke/packer-windows-1/blob/master/scripts/version.sh
Github Open Source
Open Source
MIT
2,018
packer-windows-1
robdyke
Shell
Code
23
52
#!/bin/bash az vm image list -p MicrosoftWindowsDesktop -s RS3-Pro -f Windows-10 --all -o tsv --query '[].version' | sort -u | tail -n 1
5,179
https://github.com/apache/mesos/blob/master/3rdparty/cmake/FindLIBSECCOMP.cmake
Github Open Source
Open Source
Apache-2.0, GPL-2.0-or-later, BSD-3-Clause, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-protobuf, LGPL-2.1-only, PSF-2.0, BSL-1.0, MIT, LicenseRef-scancode-warranty-disclaimer, BSD-2-Clause
2,023
mesos
apache
CMake
Code
176
511
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
3,468
https://github.com/feiyangtang97/swan/blob/master/swan_core/src/main/java/de/fraunhofer/iem/swan/Loader.java
Github Open Source
Open Source
BSD-3-Clause
null
swan
feiyangtang97
Java
Code
295
969
package de.fraunhofer.iem.swan; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import de.fraunhofer.iem.swan.data.Category; import de.fraunhofer.iem.swan.data.Method; import de.fraunhofer.iem.swan.features.AbstractSootFeature; import soot.Scene; import soot.SootClas...
26,278
https://github.com/llop/pac-man/blob/master/Assets/Scripts/Powerups/EffectAction.cs
Github Open Source
Open Source
MIT
2,021
pac-man
llop
C#
Code
17
44
using UnityEngine; [RequireComponent (typeof (BoxCollider))] public abstract class EffectAction : MonoBehaviour { public abstract void triggerAction(); }
30,518
https://github.com/BugsUK/FindApprenticeship/blob/master/src/SFA.Apprenticeships.Infrastructure.Elastic.Common/Entities/IVacancySummary.cs
Github Open Source
Open Source
MIT
2,021
FindApprenticeship
BugsUK
C#
Code
76
178
namespace SFA.Apprenticeships.Infrastructure.Elastic.Common.Entities { using System; public interface IVacancySummary { int Id { get; } string Title { get; set; } DateTime ClosingDate { get; set; } DateTime PostedDate { get; set; } string EmployerName { get; set...
18,843
https://github.com/aartrama/aartrama.github.io/blob/master/node_modules/@effect-ts/system/_mjs/Experimental/Stream/_internal/api/someOrElse.mjs
Github Open Source
Open Source
MIT
2,023
aartrama.github.io
aartrama
JavaScript
Code
66
171
// ets_tracing: off import * as O from "../../../../Option/index.mjs"; import * as Map from "./map.mjs"; /** * Extracts the optional value, or returns the given 'default'. */ export function someOrElse_(self, default_) { return Map.map_(self, O.getOrElseS(() => default_)); } /** * Extracts the optional value, or ...
33,597
https://github.com/BastiaanJansen/algorithms-and-data-structures/blob/master/src/main/java/DataStructures/Lists/LinkedList.java
Github Open Source
Open Source
MIT
null
algorithms-and-data-structures
BastiaanJansen
Java
Code
52
145
package DataStructures.Lists; /** * @author Bastiaan Jansen * @see List * @param <T> */ public interface LinkedList<T> extends List<T> { void addFirst(T element); void addLast(T element); T getFirst(); T getLast(); T removeFirst(); T removeLast(); interface Node<T> { Node<T> ge...
33,175
https://github.com/PieterjanDeconinck/quarkus/blob/master/integration-tests/mongodb-client/src/main/java/io/quarkus/it/mongodb/discriminator/jsonb/VehicleDeserializer.java
Github Open Source
Open Source
Apache-2.0
2,022
quarkus
PieterjanDeconinck
Java
Code
94
370
package io.quarkus.it.mongodb.discriminator.jsonb; import java.lang.reflect.Type; import javax.json.JsonObject; import javax.json.bind.serializer.DeserializationContext; import javax.json.bind.serializer.JsonbDeserializer; import javax.json.stream.JsonParser; import io.quarkus.it.mongodb.discriminator.Car; import io...
27,624
https://github.com/3m1n3nc3/PasscontestV2/blob/master/application/libraries/Creative_lib.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,020
PasscontestV2
3m1n3nc3
PHP
Code
809
2,622
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Creative_lib { function __construct() { $this->CI = & get_instance(); $this->CI->load->helper('date'); } public function resize_image($src = '', $_config = '') { $config['image_library'] ...
45,453
https://github.com/Ljazz/studyspace/blob/master/Python tripartite framework/Django/code/mysite/session/forms.py
Github Open Source
Open Source
MIT
null
studyspace
Ljazz
Python
Code
14
60
from django import forms class LoginForm(forms.Form): username = forms.CharField(label='用户名', max_length=30) password = forms.CharField(label='密码', max_length=30)
33,714
https://github.com/lzap/dynflow/blob/master/test/persistence_test.rb
Github Open Source
Open Source
MIT
null
dynflow
lzap
Ruby
Code
729
3,071
require_relative 'test_helper' module Dynflow module PersistenceTest describe 'persistence adapters' do let :execution_plans_data do [{ id: 'plan1', :label => 'test1', state: 'paused' }, { id: 'plan2', :label => 'test2', state: 'stopped' }, { id: 'plan3', :label => 'test3', state...
2,428
https://github.com/luongnvUIT/prowide-iso20022/blob/master/model-seev-types/src/generated/java/com/prowidesoftware/swift/model/mx/dic/ProcessingPosition2Code.java
Github Open Source
Open Source
Apache-2.0
2,022
prowide-iso20022
luongnvUIT
Java
Code
147
457
package com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ProcessingPosition2Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType ...
39,968
https://github.com/eontool/electron-starter-app/blob/master/source/app.ts
Github Open Source
Open Source
MIT
null
electron-starter-app
eontool
TypeScript
Code
81
306
//Common libraries import * as jQuery from 'jquery'; import * as angular from 'angular'; import 'angular-ui-router'; window.$ = window.jQuery = jQuery; //Constants import Constants from './constants/app.constant'; //Configuration import Routes from './configuration/routes.config'; import Transitions from './configur...
38,879
https://github.com/RobotCasserole1736/TestSwervePlantModel/blob/master/src/main/java/frc/robot/Drivetrain/DrivetrainPoseEstimator.java
Github Open Source
Open Source
MIT
2,022
TestSwervePlantModel
RobotCasserole1736
Java
Code
364
1,457
package frc.robot.Drivetrain; import org.photonvision.PhotonCamera; import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.estimator.SwerveDrivePoseEstimator; import edu.wpi.first.wpilibj.geometry.Pose2d; import edu.wpi.first.wpilibj.geometry.Rotation2d; import edu.wpi.first.wpilibj.geometry.Transform2d; i...
25,638
https://github.com/Zematus/Worlds/blob/master/Assets/Scripts/WorldEngine/Modding/Entities/Utility Entities/IResettableEntity.cs
Github Open Source
Open Source
MIT
2,022
Worlds
Zematus
C#
Code
13
32
using System; using UnityEngine; public interface IResettableEntity : IEntity { void Reset(); }
38,958
https://github.com/apache/aries/blob/master/transaction/transaction-jms/src/main/java/org/apache/aries/transaction/jms/PooledConnectionFactory.java
Github Open Source
Open Source
Apache-2.0
2,023
aries
apache
Java
Code
2,652
5,573
/** * 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...
50,759
https://github.com/SBCV/blender/blob/master/intern/opensubdiv/internal/topology/topology_refiner_impl_compare.cc
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,022
blender
SBCV
C++
Code
504
1,638
// Copyright 2018 Blender Foundation. All rights reserved. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // ...
42,353
https://github.com/123343103/fushikang_docker/blob/master/project/php_project/api/modules/warehouse/models/BsWh.php
Github Open Source
Open Source
BSD-3-Clause
2,018
fushikang_docker
123343103
PHP
Code
847
3,737
<?php namespace app\modules\warehouse\models; use app\modules\common\models\BsPubdata; use app\modules\system\models\RUserWhDt; use Yii; use app\models\Common; use app\modules\hr\models\HrStaff; /** * This is the model class for table "bs_wh". * * @property string $wh_code * @property string $wh_name * * @proper...
44,807
https://github.com/plehatron/limoncello-bundle/blob/master/Tests/bootstrap.php
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,016
limoncello-bundle
plehatron
PHP
Code
35
112
<?php /** @var \Composer\Autoload\ClassLoader $loader */ if (!($loader = @include __DIR__ . '/../vendor/autoload.php')) { echo <<<EOT You need to install the project dependencies using Composer: composer install --dev EOT; exit(1); } use Doctrine\Common\Annotations\AnnotationRegistry; AnnotationRegistry::r...
45,427
https://github.com/bigzoo/spotthetube/blob/master/routes/web.php
Github Open Source
Open Source
MIT
2,018
spotthetube
bigzoo
PHP
Code
35
223
<?php /** * General Routes */ Route::get('/', 'HomeController@home')->name('home'); Route::get('about', 'HomeController@about')->name('about'); Route::get('magic', 'MagicController@index')->name('magic'); /** * Spotify and Youtube Authentication Routes */ Route::get('auth/spotify','AuthController@spotifyAuth')->n...
49,072
https://github.com/marcwittke/Backend.Fx/blob/master/src/abstractions/Backend.Fx/BuildingBlocks/Entity.cs
Github Open Source
Open Source
MIT
2,021
Backend.Fx
marcwittke
C#
Code
158
442
using System; using System.ComponentModel.DataAnnotations; using Backend.Fx.Extensions; using JetBrains.Annotations; namespace Backend.Fx.BuildingBlocks { /// <summary> /// An object that is not defined by its attributes, but rather by a thread of continuity and its identity. /// https://en.wikipedia.org/...
42,049
https://github.com/joql/blog-admin/blob/master/application/admin/controller/Article.php
Github Open Source
Open Source
Apache-2.0
null
blog-admin
joql
PHP
Code
644
2,872
<?php /** * Created by PhpStorm. * User: Joql * Date: 2018/4/2 * Time: 21:56 */ namespace app\admin\controller; use app\model\BlogArticl; use app\model\BlogArticleTag; use app\model\BlogCategory; use app\model\BlogTag; use app\util\Tools; use app\util\ReturnCode; use think\Db; class Article extends Base { ...
46,484
https://github.com/ahriknow/ahriknow/blob/master/PersonManage/role/apps.py
Github Open Source
Open Source
MIT
null
ahriknow
ahriknow
Python
Code
9
31
from django.apps import AppConfig class RoleConfig(AppConfig): name = 'PersonManage.role'
43,658
https://github.com/NREL/SOEP-QSS/blob/master/bin/Linux/Clang/r/GNUmakeinit.mk
Github Open Source
Open Source
BSD-2-Clause
2,023
SOEP-QSS
NREL
Makefile
Code
93
383
# QSS Make Initialization File # # Language: GNU Make # # Platform: Linux/Clang/r # Variables CXXFLAGS := -pipe -std=c++20 -pedantic -fopenmp=libomp -march=native -Wall -Wextra -Wno-unknown-pragmas -Wimplicit-fallthrough -pthread -fPIC -DNDEBUG -O3 -ffp-model=precise -fno-stack-protector CXXFLAGS += -Wno-unused-functi...
33,678
https://github.com/yinyansheng/leetcode/blob/master/src/main/java/com/donne/leetcode/P_14_最长公共前缀.java
Github Open Source
Open Source
MIT
2,021
leetcode
yinyansheng
Java
Code
115
324
package com.donne.leetcode; import java.util.Collections; public class P_14_最长公共前缀 { public static void main(String[] args) { System.out.println(longestCommonPrefix(new String[]{"asdf", "asd", "as"})); } public static String longestCommonPrefix(String[] strs) { if (null == strs || 0 == st...
683
https://github.com/cryst-al/novoline/blob/master/src/net/Hy.java
Github Open Source
Open Source
Unlicense
2,022
novoline
cryst-al
Java
Code
17
50
package net; import com.google.common.collect.HashBasedTable; public class Hy { public static HashBasedTable a() { return HashBasedTable.create(); } }
19,317
https://github.com/zero298/morsejs-render-webaudio/blob/master/src/morsejs-render-webaudio.js
Github Open Source
Open Source
MIT
null
morsejs-render-webaudio
zero298
JavaScript
Code
491
1,341
/*jslint node:true browser:true */ /*global define, module, AudioContext */ // Support UMD (function (root, factory) { "use strict"; /*istanbul ignore next*/ if (typeof define === "function" && define.amd) { // AMD define(["morsejs"], factory); } else if (typeof module === "object" && ...
1,785
https://github.com/smeenai/llvm-project/blob/master/flang/test/Lower/equivalence-static-init.f90
Github Open Source
Open Source
NCSA, LLVM-exception, Apache-2.0
2,023
llvm-project
smeenai
Fortran Free Form
Code
143
466
! RUN: bbc -emit-fir -o - %s | FileCheck %s ! Test explicit static initialization of equivalence storage module module_without_init real :: x(2) integer :: i(2) equivalence(i(1), x) end module ! CHECK-LABEL: fir.global @_QMmodule_without_initEi : !fir.array<8xi8> { ! CHECK: %0 = fir.undefined !fir.array<8xi8>...
37,574
https://github.com/HowlingShame/Ludum-Date-44-Game/blob/master/Assets/Scripts/Core/MouseCollider.cs
Github Open Source
Open Source
MIT
null
Ludum-Date-44-Game
HowlingShame
C#
Code
61
269
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseCollider : MonoBehaviour { public CircleCollider2D m_Collider; public Rigidbody2D m_RigidBody; public const int m_MouseColliderLayer = 31; public const float m_ColliderRadius = 0.01f; ////////////////////////...
2,943
https://github.com/rudavko/merchant-center-application-kit/blob/master/packages/mc-scripts/extract-intl.js
Github Open Source
Open Source
MIT
null
merchant-center-application-kit
rudavko
JavaScript
Code
948
2,419
/* eslint-disable no-console */ // Do this as the first thing so that any code reading it knows the right env. process.env.BABEL_ENV = 'development'; process.env.NODE_ENV = 'development'; // Makes the script crash on unhandled rejections instead of silently // ignoring them. In the future, promise rejections that are...
19,850
https://github.com/CITMProject3/Project3/blob/master/MasterRender.h
Github Open Source
Open Source
MIT
2,018
Project3
CITMProject3
C
Code
341
933
#ifndef __MASTER_RENDER_H__ #define __MASTER_RENDER_H__ struct DFShader { unsigned int id; unsigned int model, view, projection, shadow_view, shadow_projection; unsigned int has_texture, texture, shadowmap; unsigned int Ia, Id, Is; unsigned int Ka, Kd; unsigned int L; unsigned int material_color; }; struct D...
40,860
https://github.com/jstastny-cz/appformer/blob/master/uberfire-preferences/uberfire-preferences-api/src/test/java/org/uberfire/preferences/shared/impl/DefaultPreferenceScopesForTests.java
Github Open Source
Open Source
Apache-2.0
2,022
appformer
jstastny-cz
Java
Code
260
716
/* * Copyright 2016 Red Hat, Inc. 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 a...
29,302
https://github.com/iseilor/workshop/blob/master/modules/user/views/spouse/form/address.php
Github Open Source
Open Source
BSD-3-Clause
null
workshop
iseilor
PHP
Code
101
484
<?php use yii\helpers\Html; ?> <div class="form-group"> <?= Html::checkbox('temporary_registered', 0, ['label' => 'Наличие временной регистрации', 'id' => 'temporary_registered', 'style' => 'margin-top: 1rem;', 'checked' => ($model->registration_file) ? true:false]) ?> </div> <?= $form->field($model, 'pa...
25,100
https://github.com/MishkaZi/robofriends/blob/master/src/redux/actions.js
Github Open Source
Open Source
MIT
null
robofriends
MishkaZi
JavaScript
Code
69
228
import { CHANGE_SEARCH_FIELD, REQUEST_ROBOTS_PENDING, REQUEST_ROBOTS_SUCCESS, REQUEST_ROBOTS_FAIL, } from './constants'; import Axios from 'axios'; export const setSearchField = (text) => { return { type: CHANGE_SEARCH_FIELD, payload: text, }; }; export const requestRobots = () => async (dispatch...
48,728
https://github.com/simon-ritchie/apyscript/blob/master/tests/_geom/test_point2d.py
Github Open Source
Open Source
MIT
null
apyscript
simon-ritchie
Python
Code
494
2,100
from random import randint from retrying import retry import apysc as ap from apysc._expression import expression_data_util from apysc._expression import var_names from tests.testing_helper import assert_attrs class TestPoint2D: @retry(stop_max_attempt_number=15, wait_fixed=randint(10, 3000)) def test___in...
6,580
https://github.com/orocos-toolchain/typelib/blob/master/typelib/endianness.cc
Github Open Source
Open Source
BSD-3-Clause, CECILL-B, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-cecill-b-en
2,021
typelib
orocos-toolchain
C++
Code
527
2,202
#include "endianness.hh" #include <iostream> #include <boost/tuple/tuple.hpp> #include <boost/lexical_cast.hpp> namespace Typelib { size_t const CompileEndianSwapVisitor::FLAG_SKIP; size_t const CompileEndianSwapVisitor::FLAG_ARRAY; size_t const CompileEndianSwapVisitor::FLAG_END; size_t const CompileE...
45,744
https://github.com/sbilly/oui/blob/master/oui-httpd/files/rpc/ubus.lua
Github Open Source
Open Source
MIT
2,020
oui
sbilly
Lua
Code
59
144
local ubus = require "ubus" local M = {} function M.call(params) local conn = ubus.connect() if not conn then error("Failed to connect to ubus") end local object = params.object local method = params.method if type(object) ~= "string" or type(method) ~= "string" then error("I...
13,783
https://github.com/takuma-yoneda/gym-fetch/blob/master/fetch/mixed_envs/drawer_bin.py
Github Open Source
Open Source
MIT
2,022
gym-fetch
takuma-yoneda
Python
Code
79
409
import os from gym import utils from .. import fetch_env class DrawerBinEnv(fetch_env.FetchEnv, utils.EzPickle): def __init__(self, action, reward_type='sparse'): self.action = action self.initial_qpos = { 'robot0:slide0': 0.405, 'robot0:slide1': 0.48, 'robot0:s...
46,502
https://github.com/Dturati/zend2Ionic/blob/master/vendor/zendframework/zend-session/src/SaveHandler/Cache.php
Github Open Source
Open Source
BSD-3-Clause
2,018
zend2Ionic
Dturati
PHP
Code
321
902
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace ...
48,897
https://github.com/cschen1205/cs-pca/blob/master/project/PCA/PCADimReducer.cs
Github Open Source
Open Source
MIT
2,022
cs-pca
cschen1205
C#
Code
652
1,806
using System; using System.Collections.Generic; using System.Linq; using System.Text; using MathNet.Numerics.LinearAlgebra.Generic; using MathNet.Numerics.LinearAlgebra.Double; namespace PCA { public class PCADimReducer { /// <summary> /// Compress M input data points from original dimension N...
27,641
https://github.com/Pragatheesh/mc/blob/master/pkg/console/themes.go
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,015
mc
Pragatheesh
Go
Code
251
968
/* * Minio Client (C) 2015 Minio, Inc. * * 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 agr...
16,030
https://github.com/alipay/alipay-sdk-net/blob/master/AlipaySDKNet/Response/AlipayOverseasTravelExchangerateBatchqueryResponse.cs
Github Open Source
Open Source
Apache-2.0
2,022
alipay-sdk-net
alipay
C#
Code
71
326
using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// <summary> /// AlipayOverseasTravelExchangerateBatchqueryResponse. /// </summary> public class AlipayOverseasTravelExchangerateBatchqueryResponse : AopResponse { ...
29,393
https://github.com/QueenOfSquiggles/the-forgotten-world-ldjam-49/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,021
the-forgotten-world-ldjam-49
QueenOfSquiggles
Ignore List
Code
33
110
# Godot 4+ specific ignores .godot/ # Godot-specific ignores .import/ export.cfg export_presets.cfg project.godot # Imported translations (automatically generated from CSV files) *.translation # Mono-specific ignores .mono/ data_*/ mono_crash.*.json # my ignores addons/custom_exports/resource_scripts/ test/
39,277
https://github.com/kenzya/ds4ui/blob/master/CommunicationLibrary/IPublishingService.cs
Github Open Source
Open Source
MIT
2,014
ds4ui
kenzya
C#
Code
48
125
using System.ServiceModel; namespace CommunicationLibrary { /// <summary> /// Interface of the ServiceContract implemented by the service /// </summary> [ServiceContract] public interface IPublishingService { /// <summary> /// Send a new Contract to the subscribed clients ...
1,323
https://github.com/OlivierLD/AstroComputer/blob/master/src/test/java/astro/ACTestV1V2.java
Github Open Source
Open Source
Apache-2.0
null
AstroComputer
OlivierLD
Java
Code
365
1,969
package astro; import calc.GeomUtil; import calc.calculation.AstroComputer; import calc.calculation.AstroComputerV2; import calc.calculation.SightReductionUtil; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.TimeZone; public c...
30,957
https://github.com/thecjharries/r-daily-programmer/blob/master/easy/101-200/161/go/main.go
Github Open Source
Open Source
Apache-2.0
null
r-daily-programmer
thecjharries
Go
Code
385
994
// Copyright 2021 CJ Harries // // 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 w...
37,646
https://github.com/jonechenug/LearningMpaAbp/blob/master/LearningMpaAbp.Web/Models/Tasks/IndexViewModel.cs
Github Open Source
Open Source
MIT
2,018
LearningMpaAbp
jonechenug
C#
Code
131
474
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Abp.Localization; using LearningMpaAbp.Tasks; using LearningMpaAbp.Tasks.Dtos; namespace LearningMpaAbp.Web.Models.Tasks { public class IndexViewModel { /// <summary> /// 用来进行绑定列表过滤状态 /// </su...
23,318
https://github.com/jlec/relax/blob/master/extern/numdifftools/core.py
Github Open Source
Open Source
BSD-3-Clause
2,015
relax
jlec
Python
Code
4,337
12,225
""" Numdifftools implementation """ #------------------------------------------------------------------------- #Author: Per A. Brodtkorb # # Created: 01.08.2008 # Copyright: (c) pab 2008 # Licence: New BSD # # Based on matlab functions derivest.m gradest.m hessdiag.m, hessian.m # and jacobianest.m by: #...
48,772
https://github.com/luoxiao/GPUImage3/blob/master/framework/Source/Operations/HighlightAndShadowTint.metal
Github Open Source
Open Source
BSD-3-Clause
2,022
GPUImage3
luoxiao
Metal
Code
76
316
#include <metal_stdlib> #include "OperationShaderTypes.h" using namespace metal; typedef struct { float shadowTintIntensity; float highlightTintIntensity; float3 shadowTintColor; float3 highlightTintColor; } HighlightShadowTintUniform; fragment half4 highlightShadowTintFragment(SingleInputVertexIO fra...
41,048
https://github.com/sebdenis/pdsim/blob/master/PDSim/core/core.py
Github Open Source
Open Source
MIT
2,022
pdsim
sebdenis
Python
Code
7,202
21,205
from __future__ import division, absolute_import, print_function import math from math import pi from timeit import default_timer import inspect import six ##-- Package imports -- from PDSim.flow import flow,flow_models from .containers import STATE_VARS_TM, CVArrays, ControlVolumeCollection,TubeCollection from PDS...
36,404
https://github.com/Pandinosaurus/nnabla/blob/master/examples/cpp/mnist_runtime/create_mnist_binary_inputs.py
Github Open Source
Open Source
Apache-2.0
2,023
nnabla
Pandinosaurus
Python
Code
232
574
# Copyright 2017,2018,2019,2020,2021 Sony Corporation. # # 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...
20,956
https://github.com/Vikram2138/Used-Car-Price-Prediction-using-MachineLearning/blob/master/app.py
Github Open Source
Open Source
MIT
null
Used-Car-Price-Prediction-using-MachineLearning
Vikram2138
Python
Code
346
1,627
from flask import Flask, request, render_template from flask_cors import cross_origin import pickle app = Flask(__name__) model = open('car.pkl','rb') regressor = pickle.load(model) @app.route("/") @cross_origin() def home(): return render_template('car.html') @app.route("/predict", methods=["GET","POST"]) @cro...
20,169
https://github.com/redforks/thermostat/blob/master/src/keyboard.h
Github Open Source
Open Source
Apache-2.0
2,020
thermostat
redforks
C
Code
20
40
#pragma once void setupKeyboard(); // key touches must polling constantly, call checkKeys() in loop() as fast as possible. void checkKeys();
45,697
https://github.com/johnnyeven/libtools/blob/master/courier/enumeration/gen/enum_generator.go
Github Open Source
Open Source
Apache-2.0
2,019
libtools
johnnyeven
Go
Code
183
778
package gen import ( "go/build" "go/parser" "go/types" "path" "path/filepath" "golang.org/x/tools/go/loader" "github.com/johnnyeven/libtools/codegen" "github.com/johnnyeven/libtools/codegen/loaderx" "github.com/johnnyeven/libtools/courier/swagger/gen" "github.com/johnnyeven/libtools/godash" ) type EnumGen...
46,893
https://github.com/denniscual/ombori-test/blob/master/src/baseComponents/User/ListItem.js
Github Open Source
Open Source
MIT
null
ombori-test
denniscual
JavaScript
Code
94
318
import React from 'react' import PropTypes from 'prop-types' import { Item } from 'semantic-ui-react' import AvatarCircle from 'baseComponents/Avatar/Circle' import HeaderLink from 'baseComponents/Header/Link' import LazyLoad from 'react-lazyload' import Placeholder from './Placeholder' /** * Display the information ...
38,159
https://github.com/mmienko/aws-cdk-scala/blob/master/modules/cloudfront/src/main/scala/io/burkard/cdk/services/cloudfront/CustomOriginConfigProperty.scala
Github Open Source
Open Source
Apache-2.0
null
aws-cdk-scala
mmienko
Scala
Code
48
327
package io.burkard.cdk.services.cloudfront import scala.collection.JavaConverters._ @scala.annotation.nowarn("cat=deprecation") @SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null")) object CustomOriginConfigProperty { def apply( originProtocolPol...
39,110
https://github.com/1130330166/Two/blob/master/app/Http/Controllers/Home/Order/OrderController.php
Github Open Source
Open Source
MIT
null
Two
1130330166
PHP
Code
977
7,433
<?php namespace App\Http\Controllers\Home\Order; use Illuminate\Http\Request; use App\Http\Controllers\Controller; //引入DB类; use DB; class OrderController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ //展示订单页 public function inde...
8,404
https://github.com/Epi-Info/Epi-Info-iOS/blob/master/EpiInfo/MainMenuMenu.h
Github Open Source
Open Source
Apache-2.0
2,023
Epi-Info-iOS
Epi-Info
Objective-C
Code
31
120
// // MainMenuMenu.h // EpiInfo // // Created by John Copeland on 4/20/17. // #import <UIKit/UIKit.h> #import "EpiInfoViewController.h" @interface MainMenuMenu : UIView @property UIViewController *eivc; @property UIButton *customKeysOptionButton; -(void)setEncryptionKeysButtonTitle:(UIButton *)sender; @end
42,056
https://github.com/pro-panesar/eshopstyle-server/blob/master/src/product/product.service.ts
Github Open Source
Open Source
MIT
null
eshopstyle-server
pro-panesar
TypeScript
Code
102
323
import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { Product, ProductDoc } from './product.model'; import { v4 as uuid } from 'uuid'; @Injectable() export class ProductService { constructor(@InjectModel(Product.name) private ProductDo...
12,401
https://github.com/bdmihai/atmega/blob/master/hw/case/dcf77-support_0.2mm_PLA_MK3S_22m.gcode
Github Open Source
Open Source
MIT
null
atmega
bdmihai
G-code
Code
20,000
73,390
; generated by PrusaSlicer 2.2.0 on 2020-05-13 at 20:48:47 UTC ; ; external perimeters extrusion width = 0.45mm ; perimeters extrusion width = 0.45mm ; infill extrusion width = 0.45mm ; solid infill extrusion width = 0.45mm ; top infill extrusion width = 0.40mm ; first layer extrusion width = 0.42mm M73 P0 R22 M73 Q0 S...
33,481
https://github.com/Mikey-Beep/DockerSVN/blob/master/cgi-bin/newuser.py
Github Open Source
Open Source
MIT
null
DockerSVN
Mikey-Beep
Python
Code
125
518
#!/usr/bin/env python3 # Import modules for CGI handling import cgi, cgitb, subprocess cgitb.enable() def check_user(user_name): command = ['htpasswd', '-vb', '/etc/subversion/passwd', user_name, '-'] return subprocess.run(command, stdout = subprocess.DEVNULL, stderr = subprocess.DEVNULL).returncode def chec...
44,647
https://github.com/uh-manoa-meteorites/nonprofit-project-template/blob/master/app/tests/organizationlibrary.page.js
Github Open Source
Open Source
MIT
null
nonprofit-project-template
uh-manoa-meteorites
JavaScript
Code
77
251
import { Selector, t } from 'testcafe'; import { PAGE_IDS } from '../imports/ui/utilities/PageIDs'; import { COMPONENT_IDS } from '../imports/ui/utilities/ComponentIDs'; class OrganizationLibraryPage { constructor() { this.pageId = `#${PAGE_IDS.ORGANIZATION_LIB}`; this.pageSelector = Selector(this.pageId); ...
41,792
https://github.com/octaveEtard/sigTools/blob/master/functions/+sigTools/fft.m
Github Open Source
Open Source
MIT
2,020
sigTools
octaveEtard
MATLAB
Code
238
608
function [fT, F] = fft(data,varargin) % fft performs and return one sided FFT & associated frequencies % % Usage: fft(data, ...) % % Required input: % data array npoints x ndimension: FFT will be performed for % each column separately % % Optional inputs: % Fs integer...
42,229
https://github.com/deanlinsalata/JALoP/blob/master/src/network_lib/src/jaln_publisher_callbacks.c
Github Open Source
Open Source
Apache-2.0
2,021
JALoP
deanlinsalata
C
Code
270
838
/** * @file jaln_publisher_callbacks.c This file contains jaln_publisher_callback functions * * @section LICENSE * * Source code in 3rd-party is licensed and owned by their respective * copyright holders. * * All other source code is copyright Tresys Technology and licensed as below. * * Copyright (c) 2011 Tr...
27,065
https://github.com/ahd985/simvis/blob/master/simvis/static/js/build/containers/rightSidebar.js
Github Open Source
Open Source
MIT
null
simvis
ahd985
JavaScript
Code
1,596
5,525
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
31,269
https://github.com/mtlgreen/mtlgreen.com/blob/master/src/components/EventCardList/EventCardList.js
Github Open Source
Open Source
MIT
null
mtlgreen.com
mtlgreen
JavaScript
Code
66
257
import React, { Component } from 'react' import EventCard from '../EventCard/EventCard' import './eventCardList.scss' class EventCardList extends Component { renderEventCard = node => { return ( <EventCard thumbnail={node.frontmatter.thumbnail.childImageSharp.sizes} title={node.frontmatter...
11,385
https://github.com/Cyecize/Can-Sealers-Bulgaria/blob/master/templates/partials/sidebar/similar-products.html.twig
Github Open Source
Open Source
MIT
2,020
Can-Sealers-Bulgaria
Cyecize
Twig
Code
27
90
<div class="sidebar-section pt-2"> <p class="text-dark font-weight-bold">{{ categoryName }}:</p> {% for product in products %} {% embed 'products/partials/small-product-card.html.twig' with {'product':product} %} {% endembed %} {% endfor %} </div>
45,788
https://github.com/apottere/gradle/blob/master/subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskStatistics.java
Github Open Source
Open Source
Apache-2.0
null
gradle
apottere
Java
Code
321
870
/* * Copyright 2018 the original author or 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 applica...
3,279
https://github.com/599259501/gfast-ui/blob/master/src/views/system/wf/flow/list/index.vue
Github Open Source
Open Source
MIT
2,021
gfast-ui
599259501
Vue
Code
742
3,598
<template> <div class="app-container"> <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> <el-form-item label="流程类别" prop="type"> <el-select v-model="queryParams.type" placeholder="请选择流程类别" clearable size="small"> <el-option v-f...
21,358
https://github.com/ubc/iPeer/blob/master/app/plugins/cake_djjob/vendors/shells/worker.php
Github Open Source
Open Source
MIT
2,023
iPeer
ubc
PHP
Code
785
2,503
<?php // based on: https://github.com/josegonzalez/cakephp-cake-djjob/tree/1.3 // updated to php 7 if (!class_exists('ConnectionManager')) { App::import('Model', 'ConnectionManager'); } if (!class_exists('CakeJob')) { App::import('Lib', 'CakeDjjob.cake_job', array( 'file' => 'jobs' . DS . 'cake_job.php...
33,839
https://github.com/d18zj/Exceptionless.Net/blob/master/src/Exceptionless/Extensions/ExceptionExtensions.cs
Github Open Source
Open Source
Apache-2.0
2,022
Exceptionless.Net
d18zj
C#
Code
339
929
using System; using System.Linq; using System.Reflection; using Exceptionless.Models; using Exceptionless.Plugins; namespace Exceptionless { public static class ExceptionExtensions { /// <summary> /// Creates a builder object for constructing error reports in a fluent api. /// </summary> ...
49,422
https://github.com/evdcush/neorl/blob/master/neorl/tests/test_fneat.py
Github Open Source
Open Source
MIT
2,022
neorl
evdcush
Python
Code
85
343
from neorl import FNEAT import numpy as np def test_fneat(): def Sphere(individual): """Sphere test objective function. F(x) = sum_{i=1}^d xi^2 d=1,2,3,... Range: [-100,100] Minima: 0 """ return sum(x**2 for x in individual)...
7,758
https://github.com/briancappello/flask-unchained/blob/master/flask_unchained/bundles/api/model_resource.py
Github Open Source
Open Source
MIT
2,022
flask-unchained
briancappello
Python
Code
1,620
5,173
import inspect from typing import * from flask import current_app, make_response, request from flask_unchained import Resource, route, param_converter, unchained, injectable from flask_unchained.string_utils import kebab_case, pluralize from flask_unchained.bundles.controller.attr_constants import ( CONTROLLER_ROU...
46,493
https://github.com/LaxarJS/grunt-init-laxar-application/blob/master/root/demo.includes/widgets/example/my-editor-widget/spec/spec_runner.js
Github Open Source
Open Source
MIT
null
grunt-init-laxar-application
LaxarJS
JavaScript
Code
56
139
/** * Copyright {%= grunt.template.today('yyyy') %} {%= author_name %}{% if( licenses.length ) { %} * Released under the {%= licenses.join(', ') %} license{%= licenses.length === 1 ? '' : 's' %}.{% } %} */ ( function( global ) { 'use strict'; global.laxarSpec = { title: 'MyEditorWidget Specification', ...
5,001