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/q197585312/testApp/blob/master/baseLibs/src/main/java/com/unkonw/testapp/libs/base/BaseFragment.java
Github Open Source
Open Source
Apache-2.0
2,019
testApp
q197585312
Java
Code
339
1,261
package com.unkonw.testapp.libs.base; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.os.Build; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.annotation.RequiresApi; import android.view.LayoutInflater; import and...
5,308
https://github.com/yuanlingqi/getCloudData/blob/master/node_modules/mbed-cloud-sdk/.venv/src/auto-version/src/mbed_cloud/_backends/billing/models/__init__.py
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,018
getCloudData
yuanlingqi
Python
Code
138
489
# coding: utf-8 """ billing REST API documentation This document contains the public REST API definitions of the mbed-billing service. OpenAPI spec version: 1.4.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import # import models into m...
24,423
https://github.com/mebelousov/antlr_psql/blob/master/src/test/resources/sql/lock/1d03db77.sql
Github Open Source
Open Source
MIT
2,019
antlr_psql
mebelousov
SQL
Code
8
24
-- file:lock.sql ln:54 expect:true LOCK TABLE ONLY lock_tbl1
42,133
https://github.com/zakariaBoukernafa/Marv/blob/master/lib/screens/payment/checkout_controller.dart
Github Open Source
Open Source
MIT
2,021
Marv
zakariaBoukernafa
Dart
Code
258
1,088
import 'package:credit_card_validator/credit_card_validator.dart'; import 'package:ecommerce/Controllers/gql_controller.dart'; import 'package:ecommerce/Controllers/user_controller.dart'; import 'package:ecommerce/graphql/mutations.dart'; import 'package:ecommerce/routes/routers.dart'; import 'package:ecommerce/theme/c...
52,342
https://github.com/keepFur/jinhuobao-admin/blob/master/server/routes/material.js
Github Open Source
Open Source
MIT
null
jinhuobao-admin
keepFur
JavaScript
Code
123
447
const express = require('express'); var multer = require('multer'); var upload = multer().single('material'); const router = express.Router(); const material = require('../lib/material'); const util = require('../db/util'); // 创建素材 router.post('/create_material', multer().single('material'), function (req, res, next) {...
12,664
https://github.com/kangbobi/smpp.net/blob/master/Smpp.NET/Utility/Exceptions.cs
Github Open Source
Open Source
MIT
2,018
smpp.net
kangbobi
C#
Code
882
2,401
using System; using System.Text; using JulMar.Smpp.Pdu; namespace JulMar.Smpp.Utility { /// <summary> /// Base class for all exceptions from the SMPP library /// </summary> [Serializable] public class SmppException : System.Exception { /// <summary> /// Primary constructor for the SmppException class /// </...
35,706
https://github.com/Clemble/clemble-test/blob/master/spring-stress/src/test/java/com/clemble/test/spring/cleaners/annotation/AnnotationCleanable.java
Github Open Source
Open Source
Apache-1.1
null
clemble-test
Clemble
Java
Code
37
138
package com.clemble.test.spring.cleaners.annotation; import com.clemble.test.spring.cleaners.annotation.Cleaner; public class AnnotationCleanable { private boolean cleanCalled = false; @Cleaner public void clean() { setCleanCalled(true); } public boolean isCleanCalled() { return cleanCalled; } public v...
30,156
https://github.com/albanobattistella/Fly-Pie/blob/master/settings/MenuEditor.js
Github Open Source
Open Source
MIT
null
Fly-Pie
albanobattistella
JavaScript
Code
6,341
17,033
////////////////////////////////////////////////////////////////////////////////////////// // ___ _ ___ // // | | \/ | ) | | This software may be modified and distri- // // O- |- | | - | | |- -O bute...
988
https://github.com/Mathtician/vzome/blob/master/core/src/jsweet/java/com/vzome/jsweet/JsPanel.java
Github Open Source
Open Source
Apache-2.0
2,021
vzome
Mathtician
Java
Code
273
918
package com.vzome.jsweet; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.vzome.core.algebra.AlgebraicField; import com.vzome.core.algebra.AlgebraicVector; import com.vzome.core.algebra.AlgebraicVectors; import com.vzome.core.construction.Construction; import com.vzome.core.co...
54,274
https://github.com/esiwgnahz/kratos/blob/master/kratos/applications/PfemFluidDynamicsApplication/python_scripts/fluid_post_refining_modeler.py
Github Open Source
Open Source
BSD-2-Clause
2,016
kratos
esiwgnahz
Python
Code
205
988
from __future__ import print_function, absolute_import, division # makes KratosMultiphysics backward compatible with python 2.6 and 2.7 #import kratos core and applications import KratosMultiphysics import KratosMultiphysics.PfemBaseApplication as KratosPfemBase import KratosMultiphysics.PfemFluidDynamicsApplication a...
37,897
https://github.com/QPC-database/aws-sdk-cpp/blob/master/aws-cpp-sdk-securityhub/include/aws/securityhub/model/DescribeHubResult.h
Github Open Source
Open Source
MIT, Apache-2.0, JSON
2,021
aws-sdk-cpp
QPC-database
C++
Code
552
1,405
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/securityhub/SecurityHub_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebService...
40,282
https://github.com/cpbentley/pasa_cbentley_framework_drawx_src4/blob/master/src/pasa/cbentley/framework/drawx/src4/factories/FilterOperator.java
Github Open Source
Open Source
MIT
null
pasa_cbentley_framework_drawx_src4
cpbentley
Java
Code
6,149
15,009
/* * (c) 2018-2020 Charles-Philip Bentley * This code is licensed under MIT license (see LICENSE.txt for details) */ package pasa.cbentley.framework.drawx.src4.factories; import pasa.cbentley.byteobjects.src4.core.ByteObject; import pasa.cbentley.byteobjects.src4.functions.Function; import pasa.cbentley.core.src4.u...
14,763
https://github.com/cwise/faastruby-sendgrid-ruby-template/blob/master/spec/spec_helper.rb
Github Open Source
Open Source
MIT
null
faastruby-sendgrid-ruby-template
cwise
Ruby
Code
23
104
require 'faastruby-rpc/test_helper' require 'faastruby/spec_helper' require 'webmock/rspec' include FaaStRuby::SpecHelper ENV['rspec'] = 'rspec' RSpec.configure do |config| config.mock_with :rspec do |mocks| mocks.verify_doubled_constant_names = true end end
861
https://github.com/reikdas/pash/blob/master/evaluation/benchmarks/posh/input/install-deps.sh
Github Open Source
Open Source
MIT
2,022
pash
reikdas
Shell
Code
14
43
pkgs='imagemagick' if ! dpkg -s $pkgs >/dev/null 2>&1; then sudo apt-get install $pkgs fi
30,837
https://github.com/D3CRYPT360/CLH-source-code/blob/master/extras/suggestions.py
Github Open Source
Open Source
MIT
2,020
CLH-source-code
D3CRYPT360
Python
Code
284
1,021
import discord from discord.ext import commands from datetime import datetime import string import random def gen_key(): alpha, num = list(string.ascii_lowercase), list(string.digits) mapper = [] for i in range(10): x = ('y', 'n') if random.choice(x) == 'y': if random.choice(x) ...
21,147
https://github.com/anhtt57/next_gen/blob/master/resources/views/cms/product/detail.blade.php
Github Open Source
Open Source
MIT
null
next_gen
anhtt57
PHP
Code
183
916
@extends('cms.layouts.template') @section('content') <!-- Main row --> <div class="row"> <!-- Left col --> <div class="col-md-12"> <!-- TABLE: LATEST ORDERS --> <div class="box box-info"> <div class="box-header with-border"> <img src="...
32,957
https://github.com/vanjarosoftware/Vanjaro.Platform/blob/master/DesktopModules/Vanjaro/UXManager/Extensions/Block/Register/Resources/Scripts/Register.js
Github Open Source
Open Source
MIT
2,023
Vanjaro.Platform
vanjarosoftware
JavaScript
Code
225
925
var Register = { User: function (data_Selector) { var sf = $.ServicesFramework(-1); var obj = $('#registerbtn'); var Form = obj.closest('#Register'); Form.find('.show-message').remove(); if (mnValidationService.DoValidationAndSubmit(data_Selector)) { var Username...
30,396
https://github.com/ScalablyTyped/ScalajsReactTyped/blob/master/p/phaser/src/main/scala/typingsJapgolly/phaser/Phaser/GameObjects/GameObjectCreator.scala
Github Open Source
Open Source
MIT
2,022
ScalajsReactTyped
ScalablyTyped
Scala
Code
1,929
3,717
package typingsJapgolly.phaser.Phaser.GameObjects import typingsJapgolly.phaser.Phaser.Events.EventEmitter import typingsJapgolly.phaser.Phaser.GameObjects.Particles.ParticleEmitterManager import typingsJapgolly.phaser.Phaser.Scene import typingsJapgolly.phaser.Phaser.Scenes.Systems import typingsJapgolly.phaser.Phase...
54,743
https://github.com/fqutishat/edge-agent/blob/master/cmd/user-agent/src/pages/Connections.vue
Github Open Source
Open Source
Apache-2.0
null
edge-agent
fqutishat
Vue
Code
85
359
/* Copyright SecureKey Technologies Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ <template> <div class="content"> <div class="md-layout"> <div class="md-layout-item"> <div class="md-layout-item"> <mediator title="Mediator"/> </div> <div class="md-layou...
23,596
https://github.com/pushkar8723/sparkx/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,020
sparkx
pushkar8723
Ignore List
Code
9
38
node_modules dist .DS_Store lib lib-esm _bundles coverage .vscode lerna-debug.log
14,802
https://github.com/jimblizz/sulu/blob/master/src/Sulu/Component/Rest/ListBuilder/AbstractListBuilder.php
Github Open Source
Open Source
MIT
2,016
sulu
jimblizz
PHP
Code
584
1,816
<?php /* * This file is part of the Sulu. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Component\Rest\ListBuilder; use Sulu\Component\Rest\ListBuilder\Expression\ExpressionInterface; abst...
22,340
https://github.com/gmsantos/php-community-summit-logs/blob/master/magento/dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertAttributeSetNotInGrid.php
Github Open Source
Open Source
MIT
null
php-community-summit-logs
gmsantos
PHP
Code
144
396
<?php /** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Catalog\Test\Constraint; use Magento\Catalog\Test\Fixture\CatalogAttributeSet; use Magento\Catalog\Test\Page\Adminhtml\CatalogProductSetIndex; use Magento\Mtf\Constraint\AbstractConstrai...
37,240
https://github.com/huangdehui2013/MTBSystem/blob/master/sql/admin_user.sql
Github Open Source
Open Source
MIT
2,019
MTBSystem
huangdehui2013
SQL
Code
56
193
CREATE TABLE admin_user( au_id INT(11) NOT NULL AUTO_INCREMENT, admin_name CHAR(30) NOT NULL DEFAULT '' COMMENT '登陆者的名字', admin_password CHAR(20) NOT NULL DEFAULT '' COMMENT '登录密码', admin_cinema_id INT(11) NOT NULL DEFAULT 0 COMMENT 'admin的时候为-1,初始值为0', admin_last_login_time CHAR(20) NOT NULL DEFAUL...
25,500
https://github.com/openMSX/wxcatapult/blob/master/build/info2code.mk
Github Open Source
Open Source
Naumen, Condor-1.1, MS-PL
2,020
wxcatapult
openMSX
Makefile
Code
180
503
# Write build info to C++ constants, so source can access it. # Advantages of this approach: # - file dates used for dependency checks (as opposed to "-D" compile flag) # - inactive code is still checked by compiler (as opposed to "#if") $(CONFIG_HEADER): $(MAKE_PATH)/info2code.mk $(CUSTOM_MAKE) @echo "Creating $@......
42,900
https://github.com/amplia-iiot/oda-qa/blob/master/src/test/java/utils/Translator.java
Github Open Source
Open Source
Apache-2.0
null
oda-qa
amplia-iiot
Java
Code
191
694
package utils; import cucumber.api.java.en.Then; import es.amplia.oda.operation.localprotocoldiscovery.dataStructs.Enable; import utils.dataStructs.ResponseFormat; import es.amplia.oda.operation.get.dataStructs.ReadRequestStruct; import es.amplia.oda.operation.get.dataStructs.ReadResponseStruct; import utils.serialize...
46,319
https://github.com/Houdini/activeadmin-mongoid/blob/master/lib/active_admin/mongoid/contextual/mongo.rb
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,012
activeadmin-mongoid
Houdini
Ruby
Code
32
86
module Mongoid module Contextual class Mongo def count(document = nil, &block) document = nil if document == true return super(&block) if block_given? return query.count unless document collection.find(criteria.and(_id: document.id).selector).count end end end end...
24,292
https://github.com/shrutimoy10/cords/blob/master/cords/utils/data/data_utils/__init__.py
Github Open Source
Open Source
MIT
2,022
cords
shrutimoy10
Python
Code
4
11
from .weightedsubset import WeightedSubset
16,335
https://github.com/FoundationDB/fdb-record-layer/blob/master/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/plans/RecordQueryDeletePlan.java
Github Open Source
Open Source
Apache-2.0
2,023
fdb-record-layer
FoundationDB
Java
Code
780
2,895
/* * RecordQueryDeletePlan.java * * This source file is part of the FoundationDB open source project * * Copyright 2015-2018 Apple Inc. and the FoundationDB project authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
23,884
https://github.com/AlonaKaplan/ovs-cni/blob/master/pkg/plugin/plugin.go
Github Open Source
Open Source
Apache-2.0
2,018
ovs-cni
AlonaKaplan
Go
Code
1,118
2,931
// Copyright 2018 Red Hat, Inc. // Copyright 2014 CNI 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...
23,001
https://github.com/thefreshduke/voogasalad/blob/master/src/utilities/JavaFXutilities/DragAndDropFilePanes/audioPanes/DragAndDropAudioPane.java
Github Open Source
Open Source
MIT
2,016
voogasalad
thefreshduke
Java
Code
141
435
package utilities.JavaFXutilities.DragAndDropFilePanes.audioPanes; import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; import java.io.File; import java.io.IOException; import java.nio.file.Files; import utilities.JavaFXutilities.DragAndDropFilePanes.imagePanes.DragAndDropFilePane; import utilities.error...
9,277
https://github.com/JuanignacioX10X/Factorio5DimMods/blob/master/5dim_equipment/prototypes/gen-power-armor.lua
Github Open Source
Open Source
MIT
null
Factorio5DimMods
JuanignacioX10X
Lua
Code
783
2,581
require("__5dim_core__.lib.equipment.generation-power-armor") local inventory = 20 local armorWidth = 10 local armorHeight = 10 local techCount = 400 -- Beacon 01 genPowerArmors { number = "01", subgroup = "armor-power-armor", inventoryBonus = inventory, width = armorWidth, height = armorHeight, ...
50,058
https://github.com/maxf/excoffizer/blob/master/src/Ports.elm
Github Open Source
Open Source
MIT
null
excoffizer
maxf
null
Spoken
49
91
port module Ports exposing (..) import Json.Encode import Types exposing (Params) -- outgoing port render : Params -> Cmd msg -- incoming port renderDone : (Bool -> msg) -> Sub msg port newImageLoaded : (Bool -> msg) -> Sub msg port previewSelected : (Json.Encode.Value -> msg) -> Sub msg
53,411
https://github.com/jcreixell/tracker/blob/master/spec/spec_helper.rb
Github Open Source
Open Source
MIT
2,013
tracker
jcreixell
Ruby
Code
45
202
ENV['RACK_ENV'] = 'test' require_relative '../app' require 'rspec' require 'rack/test' require 'factory_girl' require 'database_cleaner' require 'pry' def app App end FactoryGirl.definition_file_paths = %w{./factories ./spec/factories} FactoryGirl.find_definitions RSpec.configure do |config| config.include Rack...
52,391
https://github.com/Diners/applet/blob/master/BoerrApplet/Home/Controller/Cart/ClearCartController.class.php
Github Open Source
Open Source
BSD-2-Clause
null
applet
Diners
PHP
Code
42
187
<?php /** * Created by PhpStorm. * User: spring@boerr.cn * Date: 2017/7/28 0028 * Time: 15:54 */ namespace Home\Controller\Cart; use Common\Controller\BaseController; class ClearCartController extends BaseController { //清空购物车 public function index(){ $model=M('cart'); $user_id=$_POST['u...
3,768
https://github.com/nighca/crox/blob/master/src/tail.js
Github Open Source
Open Source
MIT
2,015
crox
nighca
JavaScript
Code
60
150
Crox.version = '%VERSION%'; return Crox; })(); if (typeof module == "object" && module && typeof module.exports == "object") { module.exports = Crox; } else if (typeof define == "function" && (define.amd || define.cmd)) { define(function() { return Crox; }); } else if (typeof KISSY != "und...
37,140
https://github.com/preciate/webrtc-java/blob/master/webrtc-jni/src/main/cpp/src/JNI_AudioDeviceModule.cpp
Github Open Source
Open Source
Apache-2.0
2,022
webrtc-java
preciate
C++
Code
1,267
5,396
/* * Copyright 2019 Alex Andres * * 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 ...
29,883
https://github.com/ethnoby/stepik-android/blob/master/app/src/main/java/org/stepik/android/view/catalog/ui/adapter/delegate/FiltersAdapterDelegate.kt
Github Open Source
Open Source
Apache-2.0
null
stepik-android
ethnoby
Kotlin
Code
183
919
package org.stepik.android.view.catalog.ui.adapter.delegate import android.view.View import android.view.ViewGroup import com.google.android.material.button.MaterialButtonToggleGroup import kotlinx.android.synthetic.main.view_course_languages.view.* import org.stepic.droid.R import org.stepic.droid.model.StepikFilter ...
22,497
https://github.com/mhbeals/sap_reprints/blob/master/Outputs/titles/pagepercentage/TheTimes/1856_03.tsv
Github Open Source
Open Source
CC-BY-4.0
2,017
sap_reprints
mhbeals
TSV
Code
452
4,018
1856.03.03_TheTimes_0001 0.054645 1856.03.03_TheTimes_0004 0.060974 1856.03.03_TheTimes_0005 0.119541 1856.03.03_TheTimes_0006 0.031282 1856.03.03_TheTimes_0007 0.078189 1856.03.03_TheTimes_0008 0.076652 1856.03.03_TheTimes_0011 0.182997 1856.03.03_TheTimes_0012 0.154114 1856.03.03_TheTimes_0013 0.024388 1856.03.03_The...
15,344
https://github.com/simplebharath/vidhyapp/blob/master/resources/views/vehicles/add_vehicle.blade.php
Github Open Source
Open Source
MIT
2,018
vidhyapp
simplebharath
Blade
Code
522
2,548
@include('include.header') <style> #error-message{margin-left: 250px;}</style> @include('include.navigationbar') <div id="main" role="main" > <div id="ribbon" > <ol class="breadcrumb col-md-3"> <li>Home</li><li>Transport Management</li> </ol> @include('include.dashboard_profie_si...
19,073
https://github.com/LuckyLefend/IGameFrameWork/blob/master/UnityGameFramework/Runtime/Attributes.meta
Github Open Source
Open Source
MIT
2,018
IGameFrameWork
LuckyLefend
Unity3D Asset
Code
6
36
fileFormatVersion: 2 guid: 4efad492c05b4619bb757852ad5d5bad timeCreated: 1537072400
41,462
https://github.com/subbly/framework/blob/master/src/Subbly/Framework/Container.php
Github Open Source
Open Source
MIT
null
framework
subbly
PHP
Code
166
683
<?php namespace Subbly\Framework; use Pimple; use Subbly\Api\Api; use Subbly\Resolver\MediaResolver; class Container extends Pimple\Container { /** * Load services. */ public function load() { $c = $this; /* * Api */ $this['api'] = function ($c) { ...
14,262
https://github.com/wusanCL/cc-cli/blob/master/lib/create.js
Github Open Source
Open Source
MIT
null
cc-cli
wusanCL
JavaScript
Code
158
537
const inquirer = require("inquirer"); const path = require('path'); const validateProjectName = require('validate-npm-package-name') const chalk = require('chalk') const fs = require("fs-extra"); const Creator = require('./Creator') const {exit} = require('process') const {warn,log,error} = console //模板配置 async fun...
51,391
https://github.com/charlescarrari/fast-copy/blob/master/DEV_ONLY/App.js
Github Open Source
Open Source
MIT
null
fast-copy
charlescarrari
JavaScript
Code
282
1,035
// external dependencies import {deepEqual, sameValueZeroEqual, shallowEqual} from 'fast-equals'; import _ from 'lodash'; import clone from 'clone'; import deepClone from 'deepclone'; import React from 'react'; import copy from '../src'; import {isObjectCopyable} from '../src/utils'; function Foo(value) { this.valu...
19,130
https://github.com/klen/muffin-admin/blob/master/example/peewee_orm/manage.py
Github Open Source
Open Source
MIT
2,023
muffin-admin
klen
Python
Code
136
538
"""Custom CLI commands for the application.""" from mixer.backend.peewee import Mixer from . import app from .database import Message, User from .database import db as DB @app.manage async def db(): """Simple DB schema creation. For real case use a migration engine.""" async with DB: await DB.create...
42,987
https://github.com/sinanelveren/Smart-Healthband-Bilek-Partner-Bil396-Project/blob/master/Embedded/ESP32/buzzertest/buzzertest.ino
Github Open Source
Open Source
MIT
2,019
Smart-Healthband-Bilek-Partner-Bil396-Project
sinanelveren
null
Spoken
147
384
// the number of the LED pin const int ledPin = 12; // 16 corresponds to GPIO16 // setting PWM properties const int freq = 2000; const int ledChannel = 0; const int resolution = 8; int maximumRange = 50; int minimumRange = 0; int olcum = 0; void setup(){ // configure LED PWM functionalitites ledcSetup(ledChann...
957
https://github.com/LilBiggs/enterprise-ng/blob/master/src/app/datagrid/datagrid-angular-card-formatter.demo.ts
Github Open Source
Open Source
Apache-2.0
2,022
enterprise-ng
LilBiggs
TypeScript
Code
135
472
import { Component, Inject } from '@angular/core'; import { CARD_DATA } from './datagrid-paging-data'; @Component({ template: `<app-datagrid-card-demo [dataSet]="data"></app-datagrid-card-demo>` }) export class CardFormatterComponent { public data: any; constructor(@Inject('args') public args: SohoDataGr...
476
https://github.com/francesco-giordano/aws-parallelcluster-cookbook/blob/master/system_tests/test_attributes.rb
Github Open Source
Open Source
Apache-2.0
2,018
aws-parallelcluster-cookbook
francesco-giordano
Ruby
Code
357
1,825
# frozen_string_literal: true # Cookbook:: aws-parallelcluster # Attributes:: test_attributes # # Copyright:: 2013-2021 Amazon.com, Inc. or its affiliates. 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. A copy ...
12,107
https://github.com/nurain922/bookshop/blob/master/resources/views/book/edit.blade.php
Github Open Source
Open Source
MIT
null
bookshop
nurain922
PHP
Code
100
436
@extends('layout.master') @section('content') <html> <head> <title>Edit Book</title> </head> <body><div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-1"> <div class="panel panel-default"> <div class="panel-heading">Book Details</div> ...
35,227
https://github.com/poseidonjm/20486-DevelopingASPNETMVCWebApplications/blob/master/Allfiles/20486C/Mod14/LabFiles/PhotoSharingApplication_14_end/PhotoSharingApplication/Scripts/ChatRoom.js
Github Open Source
Open Source
MIT
2,022
20486-DevelopingASPNETMVCWebApplications
poseidonjm
JavaScript
Code
1,048
8,488
 $(function () { // Declare a proxy to reference the hub. var chat = $.connection.chatHub; // Create a function that the hub can call to broadcast messages. chat.client.addMessage = function (name, message) { // Html encode display name and message. var encodedName = $('<div />').tex...
48,778
https://github.com/jfuku14/CMMPPT/blob/master/gsa/wit/COIN/Coin/include/CoinWarmStartBasis.hpp
Github Open Source
Open Source
LicenseRef-scancode-cpl-0.5, Apache-2.0
2,021
CMMPPT
jfuku14
C++
Code
863
2,037
/*! \legal Copyright (C) 2000 -- 2003, International Business Machines Corporation and others. All Rights Reserved. */ /*! \file CoinWarmStart.hpp \brief Declaration of the generic simplex (basis-oriented) warm start class. */ #ifndef CoinWarmStartBasis_H #define CoinWarmStartBasis_H #include "CoinHelpe...
40,387
https://github.com/juancferrer/gl/blob/master/main.cpp
Github Open Source
Open Source
BSD-2-Clause
2,014
gl
juancferrer
C++
Code
442
1,392
// Include standard headers #include <iostream> // Include GLEW #include <GL/glew.h> // Include GLFW #include <glfw3.h> GLFWwindow* window; // Include GLM #include <glm/glm.hpp> #include "common/ShaderUtils.hpp" int main( void ) { // Initialise GLFW if( !glfwInit() ) { std::cerr << "Failed to i...
5,437
https://github.com/petester42/skejool/blob/master/skejool/src/main/java/com/soen341/model/TimeSlot.java
Github Open Source
Open Source
MIT
null
skejool
petester42
Java
Code
230
835
package com.soen341.model; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table;...
47,937
https://github.com/eddumelendez/infinispan-spring-boot/blob/master/infinispan-spring-boot-starter-embedded/src/main/java/org/infinispan/spring/starter/embedded/InfinispanEmbeddedCacheManagerAutoConfiguration.java
Github Open Source
Open Source
Apache-2.0
2,018
infinispan-spring-boot
eddumelendez
Java
Code
78
426
package org.infinispan.spring.starter.embedded; import org.infinispan.manager.EmbeddedCacheManager; import org.infinispan.spring.provider.SpringEmbeddedCacheManager; import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; im...
42,778
https://github.com/sc-forks/solidity-coverage/blob/master/plugins/resources/nomiclabs.ui.js
Github Open Source
Open Source
MIT
2,023
solidity-coverage
sc-forks
JavaScript
Code
371
1,201
const UI = require('./../../lib/ui').UI; /** * Nomiclabs Plugin logging */ class PluginUI extends UI { constructor(log){ super(log); this.flags = { testfiles: `Path (or glob) defining a subset of tests to run`, testMatrix: `Generate a json object which maps which unit tests hit which lines o...
11,089
https://github.com/MilosKarakas/hms-flutter-plugin/blob/master/flutter-hms-drive/android/src/main/java/com/huawei/hms/flutter/drive/services/replies/RepliesRequestFactory.java
Github Open Source
Open Source
Apache-2.0
2,022
hms-flutter-plugin
MilosKarakas
Java
Code
299
1,017
/* Copyright 2021. Huawei Technologies Co., Ltd. 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 https://www.apache.org/licenses/LICENSE-2.0 Unless ...
35,039
https://github.com/luisjimenez6245/escom/blob/master/estructuras/Practicas/Practica_3/Luis/TADListaDL.c
Github Open Source
Open Source
MIT
2,020
escom
luisjimenez6245
C
Code
2,136
5,276
/* IMPLEMENTACIONES DE LA LIBRERIA DEL TAD LISTA (TADLista.h) AUTORES: Luis Diego Jiménez Delgado (Abril 2019) © Aarón Gamaliel Sanchez Castro (Abril 2019) © Citlalli Yasmin Sanchez Tirado (Abril 2019) © VERSION: 1.0 (Abril 2019) DESCRIPCION: TAD lista o (list) Estructura de datos en la que se cumple: Los...
45,244
https://github.com/vddvss/chromium-ppc64le/blob/master/release-json-template.mk
Github Open Source
Open Source
Apache-2.0
2,021
chromium-ppc64le
vddvss
Makefile
Code
62
355
# Copyright 2019 Colin Samples # # SPDX-License-Identifier: Apache-2.0 # download_url_base := https://github.com/chromium-ppc64le/chromium-ppc64le/releases/download download_url := $(download_url_base)/$(release_tag) define release_json_template := { "name": "Chromium $(release_tag)", "tag_name": "$(release_ta...
41,454
https://github.com/wp-pwa/wp-pwa/blob/master/core/vendors.js
Github Open Source
Open Source
Apache-2.0
2,020
wp-pwa
wp-pwa
JavaScript
Code
15
94
module.exports = [ 'react', 'prop-types', 'react-dom', 'react-helmet', 'styled-components', 'superagent', 'mobx', 'mobx-state-tree', 'mobx-react', 'react-slot-fill', 'recompose', ];
16,785
https://github.com/duckbrain/ldss/blob/master/ldssa/build/build.gradle
Github Open Source
Open Source
MIT
2,019
ldss
duckbrain
Gradle
Code
66
253
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' } } apply plugin: 'android' android { compileSdkVersion 'android-13' buildToolsVersion '25.0.2' buildTypes { release { minifyEnabled true ...
55,731
https://github.com/n-gineer/apriltag/blob/master/example/Makefile
Github Open Source
Open Source
BSD-2-Clause
2,022
apriltag
n-gineer
Makefile
Code
91
326
CC = gcc CXX = g++ CPPFLAGS = -I.. CFLAGS = -g -std=gnu99 -Wall -Wno-unused-parameter -Wno-unused-function -O3 CXXFLAGS = -g -Wall -O3 LDFLAGS = -lpthread -lm TARGETS := apriltag_demo opencv_demo .PHONY: all all: apriltag_demo opencv_demo apriltag_demo: apriltag_demo.o ../libapriltag.a @echo " [$@]" @$(CC) -o $...
53,242
https://github.com/nolimits-exchange/website/blob/master/src/AppBundle/Utils/ScreenshotUtil.php
Github Open Source
Open Source
MIT
2,017
website
nolimits-exchange
PHP
Code
75
231
<?php namespace Thepixeldeveloper\Nolimitsexchange\AppBundle\Utils; class ScreenshotUtil { /** * @var StringUtil */ protected $stringUtil; /** * @param StringUtil $stringUtil */ public function __construct(StringUtil $stringUtil) { $this->stringUtil = $stringUtil; ...
56,717
https://github.com/FergusFettes/schau-wien/blob/master/www/src/classes.js
Github Open Source
Open Source
MIT
null
schau-wien
FergusFettes
JavaScript
Code
311
996
import * as THREE from "three"; export { MinMaxGUIHelper, DegRadHelper, ColorGUIHelper, PickHelper, AxisGridHelper }; class AxisGridHelper { constructor(node, units = 10) { const axes = new THREE.AxesHelper(); axes.material.depthTest = false; axes.renderOrder = 2; // after the grid node.add(axes); ...
6,665
https://github.com/mattyou1985/discord-tally-bot/blob/master/bot/src/test/commands/stop.test.ts
Github Open Source
Open Source
Apache-2.0
2,020
discord-tally-bot
mattyou1985
TypeScript
Code
107
347
import { expect } from 'chai'; import TestHelper from "../test-helper"; import stop from '../../commands/stop'; import start from '../../commands/start'; import DB from '../../util/db'; describe('stop command', function() { const db = new DB(); const TIMER_NAME = 'timer'; before(async () => { awai...
22,909
https://github.com/thelazyphp/re-crm/blob/master/blog/resources/js/components/show/BooleanField.vue
Github Open Source
Open Source
MIT
null
re-crm
thelazyphp
Vue
Code
34
128
<template> <span v-if="field.value === true" class="text-primary"> <i class="far fa-check-circle"></i> </span> <span v-else class="text-danger"> <i class="far fa-times-circle"></i> </span> </template> <script> export default { props: { field: { ...
9,344
https://github.com/toslunar/pytorch-pfn-extras/blob/master/.flexci/linux/script.sh
Github Open Source
Open Source
MIT
2,021
pytorch-pfn-extras
toslunar
Shell
Code
248
959
#!/bin/bash # script.sh is a script to run Docker for testing. This is called by CI like # "bash .flexci/linux/script.sh torch15". # # Environment variables: # - PPE_FLEXCI_IMAGE_NAME ... The Docker image name (without tag) to be # used for CI. # - DRYRUN ... Set DRYRUN=1 for local testing. This disables destr...
32,807
https://github.com/janpipek/pyg4app/blob/master/g4app/application.py
Github Open Source
Open Source
MIT
null
pyg4app
janpipek
Python
Code
267
861
from .macro import MacroBuilder from .configuration import Configuration from .gui import Gui from .runner import execute class Application(MacroBuilder): '''A single execution of the application.''' def __init__(self, **kwargs): super(Application, self).__init__() self.components = [] ...
2,569
https://github.com/anupjungkarki/EducatSystem-Beta-Version/blob/master/resources/views/admin/results/marks.blade.php
Github Open Source
Open Source
MIT
2,020
EducatSystem-Beta-Version
anupjungkarki
Blade
Code
184
1,110
@extends('layouts.admin.app') @section('content') <section class="content"> <div class="row"> <div class="col-md-12"> @if(session()->has('success')) <div class="alert alert-success no-border"> <button type="button" class...
24,205
https://github.com/AleikovStudio/HW08Arrays/blob/master/05ForeachExample/ForeachExample.cs
Github Open Source
Open Source
MIT
null
HW08Arrays
AleikovStudio
C#
Code
28
89
using System; class ForeachExample { static void Main() { string[] capitals = { "Sofia", "Washington", "London", "Moscow" }; foreach (string capital in capitals) { Console.WriteLine(capital); }...
33,288
https://github.com/genescss/genes.css/blob/master/components/scroll-behavior.js
Github Open Source
Open Source
MIT
2,019
genes.css
genescss
JavaScript
Code
22
72
function scrollBehavior(cfg) { return { properties: { 'sb': 'scroll-behavior' }, values: { 'a': 'auto', 's': 'smooth' } } } module.exports = scrollBehavior;
29,781
https://github.com/coriger/energy/blob/master/src/main/java/net/energy/mongo/impl/FindCallBack.java
Github Open Source
Open Source
Apache-2.0
2,013
energy
coriger
Java
Code
180
676
package net.energy.mongo.impl; import java.util.ArrayList; import java.util.List; import net.energy.mongo.BeanMapper; import net.energy.utils.Assert; import com.mongodb.DBCollection; import com.mongodb.DBCursor; import com.mongodb.DBObject; /** * Mongo的查询操作实现类 * * @author wuqh * */ public class FindCallBack<T...
22,558
https://github.com/reverse-squared/robotic-scout-magic/blob/master/web/components/StickyScrollbar.jsx
Github Open Source
Open Source
MIT
2,019
robotic-scout-magic
reverse-squared
null
Spoken
225
852
// lets you have a sticky horizontal scrollbar import React, { Component } from 'react'; import { hot } from 'react-hot-loader/root'; function getScrollbarWidth() { var outer = document.createElement('div'); outer.style.visibility = 'hidden'; outer.style.width = '100px'; outer.style.msOverflowStyle = '...
24,940
https://github.com/buttnomaan9/riFT/blob/master/backend/bin/utils/maintenance.py
Github Open Source
Open Source
MIT
2,021
riFT
buttnomaan9
Python
Code
346
1,119
import boto3 import os import json import sys from typing import Dict, Any from datetime import datetime def main(aws_profile: str, aws_region: str, deployment_id: str, account: str, operation: str, period: int = 0, datapoints: int = 0, evaluation_periods...
48,355
https://github.com/fdescollonges/MobileBuzzer/blob/master/server.js
Github Open Source
Open Source
MIT
null
MobileBuzzer
fdescollonges
JavaScript
Code
458
1,442
'use strict' // load dependencies require('dotenv').load() var express = require('express') var http = require('http') var path = require('path') var _s = require('underscore.string') var app = express() var server = http.createServer(app) var io = require('socket.io').listen(server) var playerdb = require('./playerdb....
43,295
https://github.com/maopenglin/BlueCap/blob/master/BlueCapKit/Central/CentralManager.swift
Github Open Source
Open Source
MIT
2,016
BlueCap
maopenglin
Swift
Code
664
2,637
// // CentralManager.swift // BlueCap // // Created by Troy Stribling on 6/4/14. // Copyright (c) 2014 Troy Stribling. The MIT License (MIT). // import Foundation import CoreBluetooth public protocol CBCentralManagerInjectable { var state : CBCentralManagerState {get} func scanForPeripheralsWithServices(u...
51,271
https://github.com/popura/blinky/blob/master/firmware/blinky_ota/firmware/build/Signal/component_project_vars.mk
Github Open Source
Open Source
MIT
null
blinky
popura
Makefile
Code
25
107
# Automatically generated build file. Do not edit. COMPONENT_INCLUDES += $(PROJECT_PATH)/components/Signal/include COMPONENT_LDFLAGS += -L$(BUILD_DIR_BASE)/Signal -lSignal COMPONENT_LINKER_DEPS += COMPONENT_SUBMODULES += COMPONENT_LIBRARIES += Signal COMPONENT_LDFRAGMENTS += component-Signal-build:
40,533
https://github.com/zyongbo/facebook-clone-react-native/blob/master/src/SmallComponent/MenuTop.js
Github Open Source
Open Source
MIT
2,019
facebook-clone-react-native
zyongbo
JavaScript
Code
176
645
import React, { Component } from 'react'; import { StyleSheet, TextInput, Image, View, TouchableOpacity } from 'react-native'; const cameraLightIcon = require('../assets/icon/camera-light.png') const searchIcon = require('../assets/icon/search.png') const drinkIcon = require('../assets/icon/drink.png') export default...
47,433
https://github.com/JonathanMagnan/nmemory/blob/master/Main/Source/NMemory.Shared/Execution/Optimization/Rewriters/IndexAccessRewriter.cs
Github Open Source
Open Source
MIT
2,022
nmemory
JonathanMagnan
C#
Code
306
679
// ---------------------------------------------------------------------------------- // <copyright file="IndexAccessRewriter.cs" company="NMemory Team"> // Copyright (C) NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docum...
39,774
https://github.com/Gnodnate/simpleScript/blob/master/changeGloablValue.pl
Github Open Source
Open Source
BSD-2-Clause
null
simpleScript
Gnodnate
Perl
Code
31
91
#!/usr/bin/env perl $a = 0; sub changeA { $a = 1; } print $a."\n"; changeA(); print $a."\n"; if (1 eq $a) { print "a =1\n"; } else { print "a!=1\n"; }
33,116
https://github.com/IDLKZ/kaztrade.backend/blob/master/app/Http/Requests/UserRequest.php
Github Open Source
Open Source
MIT
null
kaztrade.backend
IDLKZ
PHP
Code
121
463
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Str; class UserRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; ...
11,327
https://github.com/stefli/incubator-dubbo/blob/master/dubbo-demo/dubbo-demo-api/src/main/java/com/alibaba/dubbo/demo/RequestParam.java
Github Open Source
Open Source
Apache-2.0
2,018
incubator-dubbo
stefli
Java
Code
76
215
package com.alibaba.dubbo.demo; import org.hibernate.validator.constraints.NotEmpty; import javax.validation.constraints.Size; import java.io.Serializable; /** * Demo for parameter validation */ public class RequestParam implements Serializable { private static final long serialVersionUID = -29850707358271250...
26,839
https://github.com/jiayanana/CloudClass-Android/blob/master/agoraui/src/main/kotlin/io/agora/uikit/impl/whiteboard/AgoraUIWhiteBoard.kt
Github Open Source
Open Source
MIT
2,021
CloudClass-Android
jiayanana
Kotlin
Code
460
1,950
package io.agora.uikit.impl.whiteboard import android.content.Context import android.graphics.Rect import android.view.* import android.view.View.GONE import android.view.View.VISIBLE import android.widget.RelativeLayout import androidx.core.content.ContextCompat import io.agora.educontext.EduBoardRoomPhase import io....
46,808
https://github.com/friskasusanto/badminton/blob/master/resources/views/layout/php/gallery.blade.php
Github Open Source
Open Source
MIT
2,021
badminton
friskasusanto
Blade
Code
57
314
<?php $dir="album"; $list=scandir($dir,1); $isFolder=array(); foreach ($list as $value) { if (is_dir($dir.'/'.$value) && $value!='.' && $value!='..') { $isFolder[]=$value; } } $gallery=""; foreach ($isFolder as $id => $folderName) { $imageList=glob($dir.'/'.$folderName.'/*.jpg'); $imageList=$imageList...
35,919
https://github.com/jeanluisgonzalez/Proyecto/blob/master/pages/Pagetheme/eventos.php
Github Open Source
Open Source
MIT
2,018
Proyecto
jeanluisgonzalez
PHP
Code
784
3,723
<?php session_start(); if(isset($_SESSION['loggedIN'])){ }else{ header('Location: logadmin.php'); exit(); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
25,207
https://github.com/threefoldtech/threebot_prebuilt/blob/master/sandbox/openresty/luarocks/lib/luarocks/rocks-5.1/lua-messagepack/0.5.2-1/test/12-metatable.lua
Github Open Source
Open Source
Apache-2.0
2,021
threebot_prebuilt
threefoldtech
Lua
Code
148
398
#! /usr/bin/lua require 'Test.More' plan(6) local mp = require 'MessagePack' local EXT_METATABLE = 42 mp.packers['table'] = function (buffer, t) local mt = getmetatable(t) if mt then local buf = {} mp.packers['_table'](buf, t) mp.packers['table'](buf, mt) mp.packers['ext'](b...
23,802
https://github.com/TomasMikula/scato/blob/master/base/src/main/scala/Unapply.scala
Github Open Source
Open Source
Apache-2.0
2,022
scato
TomasMikula
Scala
Code
79
230
package scato import Leibniz.=== trait Unapply[C[_[_]], TA] { type T[_] type A def instance: C[T] def leibniz: TA === T[A] def apply(ta: TA): T[A] = leibniz(ta) } object Unapply { implicit def tc[A0, T0[_], C[_[_]]](implicit C: C[T0]): Unapply[C, T0[A0]] { type T[X] = T0[X] type A = A0 } = new...
48,246
https://github.com/moonrhythm/parapet/blob/master/pkg/hsts/hsts.go
Github Open Source
Open Source
MIT
2,021
parapet
moonrhythm
Go
Code
110
367
package hsts import ( "net/http" "strconv" "time" ) // HSTS middleware type HSTS struct { MaxAge time.Duration IncludeSubDomains bool Preload bool } // Default returns default hsts func Default() *HSTS { return &HSTS{ MaxAge: 31536000 * time.Second, IncludeSubDomains: false...
54,343
https://github.com/rboxrk/video-crawler/blob/master/src/main/scala/indexer/AboutnessConceptSearch.scala
Github Open Source
Open Source
MIT
2,020
video-crawler
rboxrk
Scala
Code
284
1,051
package indexer import org.joda.time.DateTime import org.json.JSONObject import org.nd4j.linalg.ops.transforms.Transforms import util.{NLP, Semantic} import scala.collection.JavaConverters._ import scala.collection.parallel.ForkJoinTaskSupport object AboutnessConceptSearch { def first(document: JSONObject, strings...
32,206
https://github.com/SponsoredByPuma/romme/blob/master/src/test/scala/model/modelComponent/dropsComponent/dropsBaseImpl/DropsSpec.scala
Github Open Source
Open Source
MIT
null
romme
SponsoredByPuma
Scala
Code
443
1,326
package de.htwg.se.romme package model.modelComponent.dropsComponent.dropsBaseImpl import model.modelComponent.gameComponent.gameBaseImpl._ import model.modelComponent.gameComponent.gameBaseImpl.Joker import org.scalatest.wordspec.AnyWordSpec import org.scalatest.matchers.should.Matchers._ import scala.collection.mut...
4,462
https://github.com/erique/embeddedsw/blob/master/lib/sw_services/xilpuf/src/Makefile
Github Open Source
Open Source
BSD-2-Clause, MIT
2,022
embeddedsw
erique
Makefile
Code
116
560
############################################################################### # Copyright (c) 2019 - 2020 Xilinx, Inc. All rights reserved. # SPDX-License-Identifier: MIT ############################################################################### COMPILER= ARCHIVER= CP=cp COMPILER_FLAGS= EXTRA_COMPILER_FLAGS= L...
41,994
https://github.com/dummyco/andColorPicker/blob/master/andcolorpicker/src/main/java/codes/side/andcolorpicker/group/PickerGroup.kt
Github Open Source
Open Source
Apache-2.0
2,022
andColorPicker
dummyco
Kotlin
Code
215
921
package codes.side.andcolorpicker.group import codes.side.andcolorpicker.model.Color import codes.side.andcolorpicker.view.picker.ColorSeekBar open class PickerGroup<C : Color> : ColorSeekBar.OnColorPickListener<ColorSeekBar<C>, C>, Iterable<ColorSeekBar<C>> { // Kinda prioritized collection private val pick...
15,066
https://github.com/MXXXXXXXXXX/STL/blob/master/STL/STL/allocator.cpp
Github Open Source
Open Source
MIT
2,017
STL
MXXXXXXXXXX
C++
Code
50
188
#include "allocator.h" #include <vector> #include <iostream> using namespace std; int main() { int ia[5]{ 0,1,2,3,4 }; unsigned int i = 0; vector<int, My::allocator<int>> iv(ia, ia + 5); for (i = 0; i < iv.size(); i++) { cout << iv[i]; } } //这是一个简易的空间配置器 仅能支持VC6 与 BCB 暂不支持VS 和 GCC //所以说这个仅仅只是我用来 学习git的第一次错误的尝试...
51,320
https://github.com/Paul-LoupGermain/AlphaSnow/blob/master/WebSite-BDD/AlphaSnow/view/add_article.php
Github Open Source
Open Source
Unlicense
2,022
AlphaSnow
Paul-LoupGermain
PHP
Code
203
1,004
<?php /** * @file add_article.php * @brief This view is designed to add product * @author Created by Paul-Loup GERMAIN * @version 09-JUIN-2022 */ ob_start(); $title = "AlphaSnow - New article"; ?> <div class="text_align"> <div class="main"> <...
39,484
https://github.com/anderson-neves-silva/projeto_grupo_newtab/blob/master/src/pages/About/About.js
Github Open Source
Open Source
MIT
null
projeto_grupo_newtab
anderson-neves-silva
JavaScript
Code
170
919
import React from 'react'; import './About.css'; import NavMenu from '../../components/Menu/NavMenu.jsx' import Footer from "../../components/Footer/Footer.jsx" import svg from '../../images/layout1/about-illustration.svg'; export default class About extends React.Component { state = { textAbout:"", lis...
6,954
https://github.com/Kitingu/PropertyPro/blob/master/server/test/test-auth.js
Github Open Source
Open Source
MIT
2,020
PropertyPro
Kitingu
JavaScript
Code
185
726
const chai = require('chai'); const chaiHttp = require('chai-http'); const utils = require('./setup'); const { app } = require('../app'); chai.use(chaiHttp); const { expect } = chai; describe('test server', () => { it('should test sign up with no input', (done) => { chai.request(app) .post('/api/v2/auth/s...
25,152
https://github.com/LeoTeams/personal-bonch/blob/master/src/store/modules/profile.js
Github Open Source
Open Source
MIT
2,017
personal-bonch
LeoTeams
JavaScript
Code
43
135
import * as actionTypes from '@/store/actionTypes' const PROFILE_SET_DATA = 'SET_PROFILE' export default { state: { data: {} }, actions: { [actionTypes.SETUP_USER_PROFILE] ({ commit, rootGetters }, profile) { commit(PROFILE_SET_DATA, profile) } }, mutations: { [PROFILE_SET_DATA] (sta...
8,804
https://github.com/vlkpa/mapbox-navigation-android/blob/master/libnavui-voice/src/test/java/com/mapbox/navigation/ui/voice/api/PreOreoAudioFocusDelegateTest.kt
Github Open Source
Open Source
BSD-3-Clause, MIT, Apache-2.0, BSD-2-Clause
2,021
mapbox-navigation-android
vlkpa
Kotlin
Code
95
428
package com.mapbox.navigation.ui.voice.api import android.media.AudioManager import com.mapbox.navigation.ui.voice.options.VoiceInstructionsPlayerOptions import io.mockk.every import io.mockk.mockk import io.mockk.verify import org.junit.Test class PreOreoAudioFocusDelegateTest { @Test fun `pre oreo audio fo...
44,445
https://github.com/SLiGe/mirai-robot/blob/master/src/main/java/cn/zjiali/robot/factory/ServiceFactory.java
Github Open Source
Open Source
Apache-2.0
2,022
mirai-robot
SLiGe
Java
Code
78
226
package cn.zjiali.robot.factory; import java.util.List; /** * 业务类工厂 * * @author zJiaLi * @since 2021-04-07 21:19 */ public class ServiceFactory extends AbstractBeanFactory { private final static ServiceFactory serviceFactory = new ServiceFactory(); public static ServiceFactory getInstance() { r...
27,689
https://github.com/dknife/201501Lec_GamePhysics/blob/master/GPcode04_01_2DRigid/GPcode0401_Xcode/DerivedData/GPcode0401_Xcode/Build/Intermediates/GPcode0401_Xcode.build/Debug/GPcode0401_Xcode.build/Objects-normal/x86_64/Vec3d.d
Github Open Source
Open Source
Unlicense
2,015
201501Lec_GamePhysics
dknife
Makefile
Code
5
119
dependencies: \ /Users/ymkang/myWork_iMac/Mac_2_Lectures/2015Lec_GamePhysics/GPcode04_01_2DRigid/GPcode04_01_2DRigid/Vec3d.cpp \ /Users/ymkang/myWork_iMac/Mac_2_Lectures/2015Lec_GamePhysics/GPcode04_01_2DRigid/GPcode04_01_2DRigid/Vec3d.h
38,585
https://github.com/fossabot/MajoraFrameworkExtraBundle/blob/master/src/Majora/Framework/Serializer/Handler/Collection/CollectionHandler.php
Github Open Source
Open Source
MIT
2,018
MajoraFrameworkExtraBundle
fossabot
PHP
Code
88
295
<?php namespace Majora\Framework\Serializer\Handler\Collection; @trigger_error('The '.__NAMESPACE__.'\CollectionHandler class is deprecated and will be removed in 2.0. Use Majora\Framework\Normalizer\MajoraNormalizer instead.', E_USER_DEPRECATED); use Majora\Framework\Serializer\Handler\FormatHandlerInterface; use M...
6,087
https://github.com/twodo-app/twodo-app.github.io/blob/master/src/elm/Ui/Theme.elm
Github Open Source
Open Source
MIT
null
twodo-app.github.io
twodo-app
null
Spoken
181
326
module Ui.Theme exposing ( Theme , light, dark ) -- Imports --------------------------------------------------------------------- import Ui.Colour exposing (..) -- Types ----------------------------------------------------------------------- -- type alias Theme = { primary : Colour , secondary : Colour , ...
54,762