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/azxfire/ReactiveCocoaExample/blob/master/ReactiveCocoaExample/RACTableViewController.h
Github Open Source
Open Source
MIT
2,014
ReactiveCocoaExample
azxfire
Objective-C
Code
57
201
// // RACViewController.h // ReactiveCocoaExample // // Created by Justin DeWind on 1/26/14. // Copyright (c) 2014 Justin DeWind. All rights reserved. // #import <UIKit/UIKit.h> #import "UISearchBar+RAC.h" #import "UISearchDisplayController+RAC.h" @interface RACTableViewController : UITableViewController @propert...
39,815
https://github.com/bmw-tech/atlas/blob/master/packages/google_atlas/test/widget_tests/google_atlas_controller_test.dart
Github Open Source
Open Source
MIT
2,021
atlas
bmw-tech
Dart
Code
288
1,239
import 'package:atlas/atlas.dart'; import 'package:flutter_test/flutter_test.dart'; import 'package:google_atlas/src/google_atlas_controller.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart' as GoogleMaps; import 'package:mockito/mockito.dart'; class MockGoogleMapController extends Mock implemen...
50,610
https://github.com/bsylvain/ember-adminlte-theme/blob/master/app/components/nav-breadcrumb.js
Github Open Source
Open Source
MIT
2,019
ember-adminlte-theme
bsylvain
JavaScript
Code
6
23
export { default } from "ember-adminlte-theme/components/nav-breadcrumb"
48,969
https://github.com/dotnet/runtime/blob/master/src/libraries/System.Net.WebProxy/src/System/Net/WebProxy.NonBrowser.cs
Github Open Source
Open Source
MIT
2,023
runtime
dotnet
C#
Code
230
625
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net.NetworkInformation; using System.Runtime.Serialization; using System.Threading; namespace System.Net { public partial class WebProxy : IWebProxy, ISerializable ...
18,133
https://github.com/roadsend/playground-alpine/blob/master/resources/views/components/navigation.blade.php
Github Open Source
Open Source
MIT
null
playground-alpine
roadsend
PHP
Code
50
219
<div class="flex space-x-2 justify-between mx-10 py-3"> <a href="{{route('welcome')}}" target="_new"> <button class="w-32 bg-blue-700 font-bold hover:bg-blue-400 hover:text-indigo-900 text-indigo-300 py-3 px-1 rounded"> Welcome </button> </a> <div class="flex space-x-2 justify-en...
10,679
https://github.com/albertofem/TranslatableRoutePathBundle/blob/master/Tests/Router/TranslatablePathRouteLoaderTest.php
Github Open Source
Open Source
MIT
2,014
TranslatableRoutePathBundle
albertofem
PHP
Code
212
957
<?php /* * This file is part of TranslatableRoutePathBundle * * (c) Alberto Fernández <albertofem@gmail.com> * * For the full copyright and license information, please read * the LICENSE file that was distributed with this source code. */ namespace AFM\Bundle\TranslatableRoutePathBundle\Tests\Router; use AFM\...
32,340
https://github.com/devent/globalpom-utils/blob/master/globalpomutils-math/src/main/java/com/anrisoftware/globalpom/math/arraysminmax/ArrayMinMax.java
Github Open Source
Open Source
Apache-2.0
null
globalpom-utils
devent
Java
Code
292
532
/* * Copyright 2013-2021 Erwin Müller <erwin.mueller@anrisoftware.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
23,025
https://github.com/anukat2015/perconik/blob/master/sk.stuba.fiit.perconik.utilities/src/sk/stuba/fiit/perconik/utilities/net/package-info.java
Github Open Source
Open Source
MIT
2,016
perconik
anukat2015
Java
Code
13
57
/** * Utilities extending Java networking capabilities. */ @ParametersAreNonnullByDefault package sk.stuba.fiit.perconik.utilities.net; import javax.annotation.ParametersAreNonnullByDefault;
11,939
https://github.com/debo2696/laravel_loginapp1/blob/master/app/Http/Controllers/Users.php
Github Open Source
Open Source
MIT
2,021
laravel_loginapp1
debo2696
PHP
Code
335
1,709
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\User; //Wrote use Session; use Illuminate\Support\Facades\DB; use Illuminate\Pagination\Paginator; use Carbon\Carbon; //use Illuminate\Support\Str; class Users extends Controller { public function fcnlist(Request $req) { ...
53,635
https://github.com/sebastianfeldmann/git/blob/master/tests/git/Log/CommitTest.php
Github Open Source
Open Source
MIT
2,023
git
sebastianfeldmann
PHP
Code
131
420
<?php /** * This file is part of SebastianFeldmann\Git. * * (c) Sebastian Feldmann <sf@sebastian-feldmann.info> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianFeldmann\Git\Log; use PHPUnit\Framework\TestCase;...
30,252
https://github.com/BGR360/minecraft-data-rs/blob/master/src/api/tests/enchantments.rs
Github Open Source
Open Source
MIT
2,022
minecraft-data-rs
BGR360
Rust
Code
108
422
use crate::api::tests::{get_api, get_test_versions}; #[test] pub fn test_enchantments_array() { let versions = get_test_versions(); for version in versions { let api = get_api(version); let enchantments_array = api.enchantments.enchantments_array().unwrap(); assert_ne!(enchantments_arr...
19,700
https://github.com/skysaid/CodesCollection/blob/master/src/Algorithm/a297.java
Github Open Source
Open Source
Apache-2.0
null
CodesCollection
skysaid
Java
Code
107
441
package Algorithm; import java.util.Arrays; import java.util.LinkedList; public class a297 { private String serializedfs(TreeNode root,String str){ if (root==null){ str+="null,"; }else { str+=root.val+","; str=serializedfs(root.left,str); str=serial...
14,680
https://github.com/int-Frank/DgLib-deprecated/blob/master/src/samples/ParticleSystem/UpdaterEuler.h
Github Open Source
Open Source
MIT
null
DgLib-deprecated
int-Frank
C
Code
232
917
#ifndef UPDATEREULER_H #define UPDATEREULER_H #include <cmath> #include "particle_system/DgParticleData.h" #include "particle_system/DgParticleUpdater.h" //! Updates position template<typename Real> class UpdaterEuler : public Dg::ParticleUpdater<Real> { public: UpdaterEuler() : Dg::ParticleUpdater<Real>() {} ~U...
27,944
https://github.com/sci-visus/OpenVisus/blob/master/Libs/Kernel/src/LocalCoordinateSystem.cpp
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference
2,023
OpenVisus
sci-visus
C++
Code
454
1,454
/*----------------------------------------------------------------------------- Copyright(c) 2010 - 2018 ViSUS L.L.C., Scientific Computing and Imaging Institute of the University of Utah ViSUS L.L.C., 50 W.Broadway, Ste. 300, 84101 - 2044 Salt Lake City, UT University of Utah, 72 S Central Campus Dr, Room 3750, 84112...
10,188
https://github.com/leducphucdev/togo/blob/master/test/app.e2e-spec.ts
Github Open Source
Open Source
MIT
null
togo
leducphucdev
TypeScript
Code
516
1,487
import { Test } from '@nestjs/testing'; import { INestApplication, ValidationPipe } from '@nestjs/common'; import * as request from 'supertest'; import { AppModule } from './../src/app.module'; describe('TodoController (e2e)', () => { let app: INestApplication; let userId: number = 0; beforeAll(async () => { ...
32,160
https://github.com/qidouhai/pokequest-wiki/blob/master/.gitmodules
Github Open Source
Open Source
MIT
2,020
pokequest-wiki
qidouhai
Git Config
Code
11
52
[submodule "src/data/raw/production"] path = src/data/raw/production url = git@github.com:imyelo/pokequest-wiki-data.git branch = master
13,984
https://github.com/leegoonz/Maya-devkit/blob/master/win/devkit/animEngine/animEngine.c
Github Open Source
Open Source
ADSL
2,021
Maya-devkit
leegoonz
C
Code
7,830
21,670
//- // ========================================================================== // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk // license agreement provided at the time of installation or download, // or which otherwise accompanies this softwa...
28,825
https://github.com/PawelPisarek/example-unmaintainable-app/blob/master/test/backend/user.js
Github Open Source
Open Source
MIT
2,016
example-unmaintainable-app
PawelPisarek
JavaScript
Code
31
100
const User = require('../../src/backend/user'); describe('user', () => { it('should return array and user', () => { let user = new User({}); user.prepareToInsert((keys, value) => { ['name', 'joined'].should.eql(keys); value.should.eql(user); }) }) })
50,319
https://github.com/akifumin/run/blob/master/fuel/app/classes/view/index/404.php
Github Open Source
Open Source
MIT
2,014
run
akifumin
PHP
Code
15
40
<?php class View_Index_404 extends ViewModel { public function view() { $this->title = "404"; } }
5,819
https://github.com/Huy-dotcom/project_3/blob/master/resources/views/user/test2.blade.php
Github Open Source
Open Source
MIT
null
project_3
Huy-dotcom
PHP
Code
3
15
{{-- {{dd($test,$test2)}} --}}
12,843
https://github.com/JonathanNemchak/WorkoutTracker/blob/master/FinalProject/src/includes/usertable.sql
Github Open Source
Open Source
MIT
2,021
WorkoutTracker
JonathanNemchak
SQL
Code
112
259
CREATE TABLE users ( usersId int(11) PRIMARY KEY AUTO_INCREMENT NOT NULL, usersName varchar(128) NOT NULL, usersEmail varchar(128) NOT NULL, usersUid varchar(128) NOT NULL, usersPwd varchar(128) NOT NULL ); CREATE TABLE profile ( id int, imagePath varchar(128) NOT NULL, FOREIGN KEY (id) REFERENCES users(id) ); CREATE T...
22,308
https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/TestCommandPathParams.cpp
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-warranty-disclaimer
2,023
connectedhomeip
project-chip
C++
Code
322
1,161
/* * * Copyright (c) 2021 Project CHIP Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
54,247
https://github.com/tcgdex/cards-database/blob/master/data/XY/Phantom Forces/59.ts
Github Open Source
Open Source
MIT
2,023
cards-database
tcgdex
TypeScript
Code
192
656
import { Card } from '../../../interfaces' import Set from '../Phantom Forces' const card: Card = { name: { en: "Skarmory", fr: "Airmure", es: "Skarmory", it: "Skarmory", pt: "Skarmory", de: "Panzaeron" }, illustrator: "Sanosuke Sakuma", rarity: "Common", category: "Pokemon", set: Set, dexId: [ 2...
54,187
https://github.com/Zenithar/gene/blob/master/example/twitter/db/tweet/004-schema.sql
Github Open Source
Open Source
MIT
2,015
gene
Zenithar
SQL
Code
46
99
-- ---------------------------- -- Schema structure for tweet -- ---------------------------- CREATE SCHEMA IF NOT EXISTS "tweet"; -- -- Give usage permission -- GRANT usage ON SCHEMA "tweet" to "twitter_db_role"; -- -- add new schema to search path -just for convenience -- SELECT set_config('search_path', current_set...
41,062
https://github.com/drinkagain/miaosha-demo/blob/master/miaosha-demo-v3/src/main/java/com/jiuxian/commodity/service/CommodityService.java
Github Open Source
Open Source
Apache-2.0
2,019
miaosha-demo
drinkagain
Java
Code
25
100
package com.jiuxian.commodity.service; import com.baomidou.mybatisplus.extension.service.IService; import com.jiuxian.commodity.entity.Commodity; /** * Author: LIU ZEJUN * Date: 2019-04-22 11:02:00 * Comment: */ public interface CommodityService extends IService<Commodity> { }
17,432
https://github.com/gitrajat/aem-core-wcm-components/blob/master/bundles/core/src/test/java/com/adobe/cq/wcm/core/components/internal/servlets/ClientLibraryCategoriesDataSourceServletTest.java
Github Open Source
Open Source
ECL-2.0, Apache-2.0
2,019
aem-core-wcm-components
gitrajat
Java
Code
437
2,099
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Copyright 2018 Adobe Systems Incorporated ~ ~ 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 ~ ~ htt...
31,470
https://github.com/successmarket/oroinc-platform/blob/master/src/Oro/Bundle/SecurityBundle/Tests/Unit/Validator/Constraints/NotDangerousProtocolValidatorTest.php
Github Open Source
Open Source
MIT
2,020
oroinc-platform
successmarket
PHP
Code
126
748
<?php namespace Oro\Bundle\SecurityBundle\Tests\Unit\Validator\Constraints; use Oro\Bundle\SecurityBundle\Util\UriSecurityHelper; use Oro\Bundle\SecurityBundle\Validator\Constraints\NotDangerousProtocol; use Oro\Bundle\SecurityBundle\Validator\Constraints\NotDangerousProtocolValidator; use Symfony\Component\Validator...
23,063
https://github.com/dropbox/lunasec/blob/master/go/gateway/metrics/provide_test.go
Github Open Source
Open Source
Apache-2.0
null
lunasec
dropbox
Go
Code
610
1,589
// Copyright 2021 by LunaSec (owned by Refinery Labs, 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 applic...
6,985
https://github.com/YounesChellaf/iHelp/blob/master/resources/lang/ar/notification.php
Github Open Source
Open Source
MIT
2,019
iHelp
YounesChellaf
PHP
Code
66
327
<?php return [ 'App\Notifications\CreateCustomerNewNotification'=>'لقد تم تسجيل زبون جديد بالموقع', 'App\Notifications\CreateContractNewNotification'=>'لقد تم إضافة عقد جديد', 'App\Notifications\DemandNewNotification'=>'لقد تم إنشاء طلب جديد', 'App\Notifications\EditWorkerNewNotification'=>'لقد تم تعد...
29,917
https://github.com/glouw/ctl/blob/master/examples/snow.c
Github Open Source
Open Source
MIT
2,021
ctl
glouw
C
Code
331
1,002
// // -- Showcases container-container templating to create a 2D array using vectors, // and then proceeds to create a neat snow animation -- // #include <stdio.h> #include <sys/select.h> #define P #define T char #include <vec.h> // P is omitted since the previous inclusion of vec // defines vec_char_init, vec_ch...
36,345
https://github.com/acecilia/Version/blob/master/Sources/Version+Foundation.swift
Github Open Source
Open Source
Apache-2.0
2,022
Version
acecilia
Swift
Code
157
334
import struct Foundation.OperatingSystemVersion import class Foundation.ProcessInfo import class Foundation.Bundle /// An extension to Bundle that provides Versions public extension Bundle { /** The version of the bundle. - Remark: We use a tolerant parser, so strings like `10.1` or even `3` will parse. ...
17,423
https://github.com/xingyuemitu/FlutterDemo/blob/master/FlutterNative/Pods/Headers/Private/xservice_kit/MessageClient.h
Github Open Source
Open Source
MIT
2,019
FlutterDemo
xingyuemitu
C
Code
1
22
../../../../.flutter_release/xservice_kit/Classes/Message/MessageClient.h
31,285
https://github.com/mrdcvlsc/bignum/blob/master/bint/limb/arithmetic/limb_division.cpp
Github Open Source
Open Source
MIT
2,021
bignum
mrdcvlsc
C++
Code
638
3,015
#ifndef LIMB_DIVISION_HPP #define LIMB_DIVISION_HPP #include <iostream> #include "../limb.hpp" #include "../helpers/limb_one.hpp" namespace backend_bigint { /// LONG DIVISION FOR MULTI-LIMB DIVISOR size_t limb::digit_count() const { dtype first_index = limbs[0]; size_t maxtotal_digit_cnt = l...
5,450
https://github.com/leonardrizta/-IF3028-TUBESPEMWEB-2021/blob/master/lapor/database/seeders/CategoriesSeeder.php
Github Open Source
Open Source
MIT
2,020
-IF3028-TUBESPEMWEB-2021
leonardrizta
PHP
Code
74
309
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; use Carbon\Carbon; class CategoriesSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('set_categories')->insert([ ...
44,941
https://github.com/germanz/three.js/blob/master/src/geometries/PolyhedronBufferGeometry.d.ts
Github Open Source
Open Source
MIT
2,022
three.js
germanz
TypeScript
Code
55
173
import { BufferGeometry } from './../core/BufferGeometry'; export class PolyhedronBufferGeometry extends BufferGeometry { /** * @param vertices * @param indices * @param [radius=1] * @param [detail=0] */ constructor( vertices: number[], indices: number[], radius?: number, detail?: number ); /**...
23,769
https://github.com/krhubert/tgo/blob/master/terrors/errors.go
Github Open Source
Open Source
MIT
2,022
tgo
krhubert
Go
Code
26
76
package terrors import ( "errors" "testing" ) func New(t testing.TB, text string) { t.Helper() err := errors.New(text) if err != nil { t.Fatal(err) } return }
50,006
https://github.com/naamara/blink/blob/master/accounts/migrations/0017_auto_20170614_0804.py
Github Open Source
Open Source
Unlicense, MIT
null
blink
naamara
Python
Code
90
542
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('accounts', '0016_auto_20170614_0726'), ] operations = [ migrations.AddField( model_name='adminpr...
45,968
https://github.com/kavli-ntnu/wheel_tracker/blob/master/archive_code/encoder_arduino/encoder_arduino.ino
Github Open Source
Open Source
MIT
null
wheel_tracker
kavli-ntnu
null
Spoken
166
494
/* Rotary encoder code Sends values "newPosition" over serial. */ #include <Encoder.h> elapsedMillis interval_timer; // for regular intervals elapsedMillis measure_timer; // measure frameclock unsigned int interval_ = 25; // time in ms between serial events int frameclock_pin = 3; int beambreak_pin = 17; int sync...
40,708
https://github.com/Ronald-Fi/Spring-Cloud/blob/master/Design-Principles/src/main/java/com/example/simple_responsibility/newer/service/impl/UserInfoServiceImpl.java
Github Open Source
Open Source
Apache-2.0
2,020
Spring-Cloud
Ronald-Fi
Java
Code
89
305
package com.example.simple_responsibility.newer.service.impl; import com.example.simple_responsibility.newer.service.IUserBOService; import com.example.simple_responsibility.newer.service.IUserBizService; import org.springframework.stereotype.Service; @Service public class UserInfoServiceImpl implements IUserBOServic...
16,423
https://github.com/kumahq/kuma/blob/master/pkg/transparentproxy/firewalld/firewalld.go
Github Open Source
Open Source
Apache-2.0
2,023
kuma
kumahq
Go
Code
498
1,642
package firewalld import ( "bufio" "encoding/xml" "fmt" "io" "os" "regexp" "strconv" "strings" ) // As specified in https://firewalld.org/documentation/man-pages/firewalld.direct.html const ( defaultFirewalldDirectPath = "/etc/firewalld/direct.xml" defaultRulenum = 3 ) type IptablesRule struct...
1,770
https://github.com/1drop/Onedrop.Form.Hubspot/blob/master/Classes/Service/HubspotFormService.php
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, MIT
2,020
Onedrop.Form.Hubspot
1drop
PHP
Code
427
1,377
<?php declare(strict_types=1); namespace Onedrop\Form\Hubspot\Service; /* * This file is part of the Onedrop.Form.Hubspot package. * * (c) 2018 Oliver Eglseder <oeglseder@1drop.de>, Onedrop GmbH & Co. KG * * This package is Open Source Software. For the full copyright and license * information, please view the L...
51,436
https://github.com/jeeteshchattraband/Jeetesh-Video-Hub-App/blob/master/src/app/components/home/manual-tags/view-tags.component.ts
Github Open Source
Open Source
MIT
null
Jeetesh-Video-Hub-App
jeeteshchattraband
TypeScript
Code
76
266
import { Component, Input, Output, EventEmitter } from '@angular/core'; import { ManualTagsService } from './manual-tags.service'; import { Tag } from '../tags/tags.service'; @Component({ selector: 'app-view-tags-component', templateUrl: 'view-tags.component.html', styleUrls: ['view-tags.component.scss', ...
28,173
https://github.com/kacharin-alexander/support-recipient-report-registry/blob/master/backend/views/settings/frontend/index.php
Github Open Source
Open Source
BSD-3-Clause
null
support-recipient-report-registry
kacharin-alexander
PHP
Code
117
492
<?php use Matodor\Common\widgets\HtmlBlock\FormWidget as HtmlBlockForm; use yii\bootstrap4\ActiveForm; use yii\helpers\Html; use yii\web\View; /** @var View $this */ $this->title = 'Настройки главной страницы'; $this->params['breadcrumbs'][] = ['label' => 'Настройки']; $this->params['breadcrumbs'][] = $this->title; ...
33,884
https://github.com/UKHomeOffice/asl-workflow/blob/master/test/integration/project/continuation.js
Github Open Source
Open Source
MIT
2,023
asl-workflow
UKHomeOffice
JavaScript
Code
235
829
const request = require('supertest'); const assert = require('assert'); const workflowHelper = require('../../helpers/workflow'); const { holc, userWithActivePil } = require('../../data/profiles'); const ids = require('../../data/ids'); describe('Project continuation', () => { before(() => { return workflowHelpe...
48,381
https://github.com/SoftwareVerde/bitcoin-verde/blob/master/src/server/java/com/softwareverde/bitcoin/server/module/wallet/WalletModule.java
Github Open Source
Open Source
MIT
2,023
bitcoin-verde
SoftwareVerde
Java
Code
151
618
package com.softwareverde.bitcoin.server.module.wallet; import com.softwareverde.bitcoin.server.configuration.WalletProperties; import com.softwareverde.http.server.HttpServer; import com.softwareverde.http.server.endpoint.Endpoint; import com.softwareverde.http.server.servlet.DirectoryServlet; import com.softwareverd...
53,622
https://github.com/sjohnson31/ttbud/blob/master/web/src/ui/__test_util__/time.ts
Github Open Source
Open Source
MIT
2,021
ttbud
sjohnson31
TypeScript
Code
37
92
import { act } from "@testing-library/react"; import flushPromises from "../../util/flushPromises"; export async function advanceByTime(timeMs: number) { await act(async () => { jest.advanceTimersByTime(timeMs); // Run any pending tasks that happen after the timers complete await flushPromises(); }); }...
24,666
https://github.com/mitring/cuba/blob/master/modules/core-tests/src/com/haulmont/cuba/testsupport/TestMailSender.java
Github Open Source
Open Source
Apache-2.0
2,022
cuba
mitring
Java
Code
206
515
/* * Copyright (c) 2008-2016 Haulmont. * * 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...
22,054
https://github.com/bengottlieb/Suite/blob/master/Sources/Studio/Foundation/Date.Time.swift
Github Open Source
Open Source
MIT
2,022
Suite
bengottlieb
Swift
Code
680
1,779
// // Date.Time.swift // // // Created by Ben Gottlieb on 2/12/21. // import Foundation #if canImport(SwiftUI) extension Date.Time: Identifiable { public var id: TimeInterval { timeInterval } } #endif public extension Date { func allHours(until end: Date) -> [Date] { var times: [Date] = [] var date = se...
4,436
https://github.com/SpartanJ/eepp/blob/master/src/eepp/window/backend/SDL2/displaymanagersdl2.hpp
Github Open Source
Open Source
MIT
2,023
eepp
SpartanJ
C++
Code
106
369
#ifndef EE_WINDOW_DISPLAYMANAGERSDL2_HPP #define EE_WINDOW_DISPLAYMANAGERSDL2_HPP #include <eepp/window/displaymanager.hpp> namespace EE { namespace Window { namespace Backend { namespace SDL2 { class EE_API DisplaySDL2 : public Display { public: DisplaySDL2( int index ); std::string getName() const; Rect get...
41,317
https://github.com/OKiMaureen/Maintenance-tracker/blob/master/dist/pages/home.js
Github Open Source
Open Source
MIT
2,023
Maintenance-tracker
OKiMaureen
JavaScript
Code
350
1,277
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactRouterDom = require('react-router-dom'); var _Header = require('../components/Header'); var _Header2 = _interopRequireDefault(_Header); function _i...
40,829
https://github.com/fireairforce/swc/blob/master/crates/swc/tests/tsc-references/defineProperty_es5.1.normal.js
Github Open Source
Open Source
Apache-2.0
2,022
swc
fireairforce
JavaScript
Code
112
350
import * as swcHelpers from "@swc/helpers"; // @target: es5, esnext // @useDefineForClassFields: true var x = "p"; var _x = x; var A = /*#__PURE__*/ function() { "use strict"; function A(y) { swcHelpers.classCallCheck(this, A); this.y = y; this.a = this.y; this["computed"] = 13; ...
15,444
https://github.com/iltempe/osmosi/blob/master/sumo/tools/output/vehrouteDiff.py
Github Open Source
Open Source
MIT
null
osmosi
iltempe
Python
Code
313
1,043
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @file vehrouteDiff.py @author Jakob Erdmann @author Michael Behrisch @date 2012-11-20 @version $Id$ Compute differences between two vehroute-output files SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/ Copyright (C) 2012-2017 DLR (http://www.dlr.de...
40,460
https://github.com/Femchengdu/cryptoDashServer/blob/master/app.js
Github Open Source
Open Source
MIT
null
cryptoDashServer
Femchengdu
JavaScript
Code
193
466
require('dotenv').config() // Require fs to read from the file system const fs = require('fs') const express = require('express') /** * Add https as per the docs */ const https = require('https') const http = require('http') const app = express() // You need to implement cors const cors = require('cors') /* * Added t...
27,250
https://github.com/bitshifted/bitshifted-co-code/blob/master/2022/paypal-checkout-spring-boot/src/main/java/co/bitshifted/paypalcheckoutspringboot/dto/LinkDTO.java
Github Open Source
Open Source
MIT
null
bitshifted-co-code
bitshifted
Java
Code
19
57
package co.bitshifted.paypalcheckoutspringboot.dto; import lombok.Data; @Data public class LinkDTO { private String href; private String rel; private String method; }
9,273
https://github.com/danielnovy/ethereumj/blob/master/ethereumj-core/src/main/java/org/ethereum/facade/EthereumFactory.java
Github Open Source
Open Source
MIT
2,015
ethereumj
danielnovy
Java
Code
75
292
package org.ethereum.facade; import org.ethereum.net.eth.EthHandler; import org.ethereum.net.shh.ShhHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.spr...
1,456
https://github.com/ElsevierSoftwareX/SOFTX-D-21-00015/blob/master/resources/lang/np/main.php
Github Open Source
Open Source
MIT
2,021
SOFTX-D-21-00015
ElsevierSoftwareX
PHP
Code
61
298
<?php return [ 'primary' => 'प्राथमिक आधारभूत', 'country' => 'देश', 'province' => 'प्रदेश', 'district' => 'जिल्ला', 'localleveltype' => 'स्थानीय तह प्रकार', 'locallevel' => ' स्थानीय तह', 'nepalimonth' => 'महिना', 'fiscalyear' => 'आर्थिक बर्ष', 'gender' => 'लिङ्ग', 'educational...
41,830
https://github.com/therealelyayo/tacticalrmm/blob/master/web/src/components/AlertsIcon.vue
Github Open Source
Open Source
MIT
2,020
tacticalrmm
therealelyayo
Vue
Code
181
713
<template> <q-btn dense flat icon="notifications"> <q-badge color="red" floating transparent>{{ test_alerts.length }}</q-badge> <q-menu> <q-list separator> <q-item v-for="alert in test_alerts" :key="alert.id"> <q-item-section> <q-item-label>{{ alert.client }} - {{ alert.hos...
671
https://github.com/wzx140/LabelLogAnalysis/blob/master/src/main/scala/com/wzx/mock/Upload2Kafka.scala
Github Open Source
Open Source
MIT
2,021
LabelLogAnalysis
wzx140
Scala
Code
147
613
package com.wzx.mock import com.typesafe.config.ConfigFactory import org.apache.kafka.clients.producer.{KafkaProducer, Producer, ProducerRecord} import org.slf4j.LoggerFactory import scala.io.Source import java.util.Properties object Upload2Kafka { private val name = this.getClass.getName.stripSuffix("$") private...
5,011
https://github.com/facebook/hermes/blob/master/include/hermes/BCGen/HBC/UniquingStringLiteralTable.h
Github Open Source
Open Source
MIT
2,023
hermes
facebook
C++
Code
848
1,772
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #ifndef HERMES_BCGEN_HBC_UNIQUINGSTRINGLITERALTABLE_H #define HERMES_BCGEN_HBC_UNIQUINGSTRINGLITERALTABLE_H #include "hermes/BCG...
2,913
https://github.com/rusekspertiza-llc/yupana/blob/master/yupana-external-links/src/test/scala/org/yupana/externallinks/ExternalLinkUtilsTest.scala
Github Open Source
Open Source
Apache-2.0
2,021
yupana
rusekspertiza-llc
Scala
Code
455
1,776
package org.yupana.externallinks import org.scalamock.scalatest.MockFactory import org.scalatest.OptionValues import org.yupana.api.Time import org.yupana.api.query.{ ConstantExpr, Expression, Original, Replace, TransformCondition } import org.yupana.api.query.Expression.Condition import org.yupana.core.ConstantCalcul...
16,200
https://github.com/neoneye/loda/blob/master/programs/oeis/054/A054000.asm
Github Open Source
Open Source
Apache-2.0
2,022
loda
neoneye
Assembly
Code
17
324
; A054000: a(n) = 2*n^2 - 2. ; 0,6,16,30,48,70,96,126,160,198,240,286,336,390,448,510,576,646,720,798,880,966,1056,1150,1248,1350,1456,1566,1680,1798,1920,2046,2176,2310,2448,2590,2736,2886,3040,3198,3360,3526,3696,3870,4048,4230,4416,4606,4800,4998,5200,5406,5616,5830,6048,6270,6496,6726,6960,7198,7440,7686,7936,8190,...
25,269
https://github.com/bitfocus/companion-module-techministry-umdlistener/blob/master/index.js
Github Open Source
Open Source
MIT
null
companion-module-techministry-umdlistener
bitfocus
JavaScript
Code
1,446
5,041
// Tech Ministry - UMD Listener var instance_skel = require('../../instance_skel'); var debug; var log; var net = require('net'); var dgram = require('dgram'); var packet = require('packet'); var umd = null; function instance(system, id, config) { var self = this; // super-constructor instance_skel.apply(this, a...
42,379
https://github.com/ignission/scalajs-google-apps-script/blob/master/src/main/scala/facade/googleappsscript/Contacts.scala
Github Open Source
Open Source
MIT
2,020
scalajs-google-apps-script
ignission
Scala
Code
1,727
5,042
package facade.googleappsscript.contacts import facade.googleappsscript.base._ import scala.scalajs.js import scala.scalajs.js.annotation._ import scala.scalajs.js.| @js.native trait AddressField extends js.Object { def deleteAddressField(): Unit = js.native def getAddress(): String ...
31,666
https://github.com/xiayiyongphper/swoole-crontab/blob/master/service/exception/ServiceExceptionInterface.php
Github Open Source
Open Source
BSD-3-Clause
null
swoole-crontab
xiayiyongphper
PHP
Code
23
59
<?php /** * Created by PhpStorm. * User: henryzhu * Date: 11/22/17 * Time: 5:26 PM */ namespace service\exception; interface ServiceExceptionInterface { }
9,525
https://github.com/MelihKayali/hrms-backend/blob/master/src/main/java/kodlama/io/HRMS/dataAccess/abstracts/GraduateDao.java
Github Open Source
Open Source
MIT
2,021
hrms-backend
MelihKayali
Java
Code
17
89
package kodlama.io.HRMS.dataAccess.abstracts; import org.springframework.data.jpa.repository.JpaRepository; import kodlama.io.HRMS.entities.concretes.Graduate; public interface GraduateDao extends JpaRepository<Graduate, Integer> { boolean existsByDescription(String description); }
44,130
https://github.com/Coreteks/automated-test-generator-samples/blob/master/Faker/src/Faker/Provider/en_US/TextTest.php
Github Open Source
Open Source
MIT
2,018
automated-test-generator-samples
Coreteks
PHP
Code
32
120
<?php namespace tests\Faker\Provider\en_US; use Faker\Provider\en_US\Text; use Mockery as m; class TextTest extends \PHPUnit_Framework_TestCase { /** * @var \Faker\Provider\en_US\Text */ protected $text; public function setUp() { parent::setUp(); $this->text = new \Faker\Provider\en_US\Text(); } }
856
https://github.com/zhouXiaoR/GYXMPP/blob/master/HMModules/HomeMateModule/HomeMateModule/Classes/HMSDK/HMCmds/AlarmLevelChoiceCmd.m
Github Open Source
Open Source
MIT
2,020
GYXMPP
zhouXiaoR
Objective-C
Code
56
249
// // AlarmLevelChoiceCmd.m // HomeMate // // Created by orvibo on 16/8/10. // Copyright © 2017年 Air. All rights reserved. // #import "AlarmLevelChoiceCmd.h" @implementation AlarmLevelChoiceCmd - (VIHOME_CMD)cmd { return VIHOME_CMD_ALARMLEVEL_SELECT; } - (NSDictionary *)payload { [sendDic setObject:se...
29,752
https://github.com/yahrens/lib-recur/blob/master/src/org/dmfs/rfc5545/recur/GregorianCalendarMetrics.java
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,013
lib-recur
yahrens
Java
Code
841
2,120
/* * Copyright (C) 2013 Marten Gajda <marten@dmfs.org> * * 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 appli...
34,655
https://github.com/sivo/tsnetsend/blob/master/src/log.ts
Github Open Source
Open Source
MIT
null
tsnetsend
sivo
TypeScript
Code
35
100
import { createLogger, Logger, format, transports } from 'winston'; export let log: Logger; export function initialize(level: string) { log = createLogger({ level, format: format.combine( format.cli(), format.splat(), format.simple(), ), transports: [ new transports.Console()...
203
https://github.com/trinityrnaseq/trinityrnaseq/blob/master/util/misc/SAM_to_fasta.pl
Github Open Source
Open Source
BSD-3-Clause
2,023
trinityrnaseq
trinityrnaseq
Perl
Code
68
262
#!/usr/bin/env perl use strict; use warnings; use FindBin; use lib ("$FindBin::RealBin/../../PerlLib"); use SAM_reader; use SAM_entry; use Nuc_translator; my $usage = "usage: $0 file.sam\n\n"; my $sam_file = $ARGV[0] or die $usage; main: { my $sam_reader = new SAM_reader($sam_file); while (my $sam_entry =...
2,326
https://github.com/jbrock33/OSGSolutions/blob/master/Web/Controllers/api/FileUploadController.cs
Github Open Source
Open Source
MIT
null
OSGSolutions
jbrock33
C#
Code
94
347
using OSGSolutions.Models.Domain; using OSGSolutions.Models.Responses; using OSGSolutions.Services; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web; using System.Web.Http; namespace Web.Controllers.api { [RoutePrefix("api/upload"), Allow...
46,100
https://github.com/dabbertorres/LuaDecompiler/blob/master/LuaDecompiler.sln
Github Open Source
Open Source
MIT
2,016
LuaDecompiler
dabbertorres
null
Spoken
72
400
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.23107.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LuaDecompiler", "LuaDecompiler\LuaDecompiler.csproj", "{A5983BEC-77DF-4F5E-B55A-68AF9BB90BC5}" EndProject Glo...
13,336
https://github.com/shirish47/sensors/blob/master/Processing/Asteroids/Asteroids.pde
Github Open Source
Open Source
BSD-3-Clause
2,016
sensors
shirish47
null
Spoken
5,107
14,670
////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ___ ___ ___ ___ ___ ___ __ ___ ___ // // .'|=|`. | |=|_.' `._|=| |=|_.' .'|=|_.' .'|=| | .'|=|`. .'| .'|...
29,381
https://github.com/ThomasZark/Titans/blob/master/example/SyncEcho/server/SyncTcpHander.cpp
Github Open Source
Open Source
Apache-2.0
2,022
Titans
ThomasZark
C++
Code
116
816
#include "SyncTcpHandler.h" #include<stdlib.h> #include<stdio.h> #include<errno.h> #include<string.h> #include<netdb.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<unistd.h> #include<arpa/inet.h> #include<iostream> using namespace TITANS::HANDLER; int SyncTcpHandler::Initialize(std::...
49,535
https://github.com/xeolabs/jandal/blob/master/jandal/examples/jandalRandomHaiku/src/main/java/com/neocoders/jandal/examples/randomHaiku/app/RandomHaiku.java
Github Open Source
Open Source
Zlib, LicenseRef-scancode-unknown-license-reference
2,019
jandal
xeolabs
Java
Code
24
133
package com.neocoders.jandal.examples.randomHaiku.app; import com.neocoders.jandal.core.Application; import com.neocoders.jandal.core.JandalCoreException; import com.neocoders.jandal.examples.randomHaiku.app.frame.FrameController; public class RandomHaiku extends Application { protected void onStart() throws Jandal...
43,807
https://github.com/saj1th/iglu-scala-client/blob/master/src/main/scala/com.snowplowanalytics.iglu/client/validation/ValidatableJsonMethods.scala
Github Open Source
Open Source
Apache-2.0
null
iglu-scala-client
saj1th
Scala
Code
544
1,493
/* * Copyright (c) 2014-2017 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apach...
38,005
https://github.com/darkXmo/bxmo-blog/blob/master/frontend/src/store/site/actions.ts
Github Open Source
Open Source
MulanPSL-1.0
null
bxmo-blog
darkXmo
TypeScript
Code
80
243
// store/site/actions.ts import { mutationsType, SiteState } from "./types"; import { ActionTree } from "vuex"; import { RootState } from "../types"; import { siteInfoReq } from "@/api/homeReq"; import SiteInfo from "@/models/SiteInfo"; export const actions: ActionTree<SiteState, RootState> = { fetchData({ commit }...
4,726
https://github.com/alissapajer/quasar/blob/master/foundation/src/main/scala/quasar/contrib/iotac/DelayEqMaterializer.scala
Github Open Source
Open Source
Apache-2.0
2,021
quasar
alissapajer
Scala
Code
321
859
/* * Copyright 2020 Precog Data * * 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 ...
54,364
https://github.com/GTrunSec/nixpkgs-hardenedlinux/blob/master/packages/python/axelrod/default.nix
Github Open Source
Open Source
MIT
null
nixpkgs-hardenedlinux
GTrunSec
null
Spoken
54
222
{ stdenv , lib , python3Packages , python3 , fetchurl }: python3Packages.buildPythonPackage rec { pname = "Axelrod"; version = "v4.9.1"; src = fetchurl { url = "https://github.com/Axelrod-Python/Axelrod/archive/${version}.tar.gz"; sha256 = "01v0vc7hqfmyyrmd5w7bqb7nifa1wx468gxlh9hya2ccd5pmpgf3"; }; p...
22,979
https://github.com/jneuendorf/pyllute/blob/master/src/_errors.js
Github Open Source
Open Source
MIT
null
pyllute
jneuendorf
JavaScript
Code
40
99
class AttributeError extends Error {} class NotImplementedError extends Error {} class OSError extends Error {} class StopIteration extends Error {} class ValueError extends Error {} class KeyboardInterrupt extends Error {} module.exports = { AttributeError, NotImplementedError, OSError, StopIteratio...
43,863
https://github.com/jlylb/yii2cms/blob/master/_protected/modules/survey/views/soptions/_form.php
Github Open Source
Open Source
BSD-3-Clause
null
yii2cms
jlylb
PHP
Code
198
1,066
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\web\JsExpression; use yii\helpers\Json; use yii\helpers\Url; use kartik\select2\Select2; use survey\widgets\MultiField; use rmrevin\yii\fontawesome\FA; $controller = $this->context; $actionName=$controller->action->id; $fname=$model->formName(); ?> <di...
10,573
https://github.com/stasm/pewpew/blob/master/src/world.ts
Github Open Source
Open Source
0BSD
2,022
pewpew
stasm
TypeScript
Code
279
870
import {Aim} from "./components/com_aim.js"; import {Camera} from "./components/com_camera.js"; import {Children} from "./components/com_children.js"; import {Collide} from "./components/com_collide.js"; import {ControlAlways} from "./components/com_control_always.js"; import {ControlMob} from "./components/com_control...
30,741
https://github.com/Xilinx/Vitis_Libraries/blob/master/data_analytics/L3/src/sw/text/aml_checker.cpp
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,023
Vitis_Libraries
Xilinx
C++
Code
3,407
11,358
/* * Copyright (C) 2019-2022, Xilinx, Inc. * Copyright (C) 2022-2023, Advanced Micro Devices, 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/licens...
2,681
https://github.com/FloorD/opensearch-nodejs-dive-in/blob/master/search.js
Github Open Source
Open Source
Apache-2.0
2,022
opensearch-nodejs-dive-in
FloorD
JavaScript
Code
404
920
const { client, indexName: index } = require("./config"); const { logTitles } = require("./helpers"); /** * Finding matches sorted by relevance (full-text query) * run-func search match title "soups with beer and garlic" * run-func search match title "pizza salad and cheese" */ module.exports.match = (field, query...
4,782
https://github.com/lluvia365/CloneCoding_Atwosomeplace/blob/master/inc/sns.js
Github Open Source
Open Source
MIT
null
CloneCoding_Atwosomeplace
lluvia365
JavaScript
Code
87
455
$(window).scroll(function(){ // 화면을 스크롤할 때 // 스크롤 위치가 100픽셀을 넘으면 'top'버튼 보이기 // 그렇지 않으면(100픽셀 이하) 'top'버튼 숨기기 if($(this).scrollTop()>100) $('#gotop').css('transform','scale(1)') else $('#gotop').css('transform','scale(0)'); }); //You...
36,805
https://github.com/tonchevaAleksandra/C-Web-Development-SoftUni-Problems/blob/master/ASP.NET Core/AspNetAppForTestingRazor/AspNetAppForTestingRazor/Filters/MyResourceFilter.cs
Github Open Source
Open Source
MIT
2,021
C-Web-Development-SoftUni-Problems
tonchevaAleksandra
C#
Code
33
118
using Microsoft.AspNetCore.Mvc.Filters; using System; namespace AspNetAppForTestingRazor.Filters { public class MyResourceFilter : IResourceFilter { public void OnResourceExecuted(ResourceExecutedContext context) { //throw new NotImplementedException(); } public vo...
33,198
https://github.com/odivus/feedsreader-client/blob/master/src/store/actions/toggle-context-menu-visible.js
Github Open Source
Open Source
MIT
null
feedsreader-client
odivus
JavaScript
Code
42
175
import { TOGGLE_CONTEXT_MENU_VISIBLE, CLOSE_CONTEXT_MENU, OPEN_CONTEXT_MENU, } from './action-types'; export function toggleContextMenuVisible(clickItemId) { return { type: TOGGLE_CONTEXT_MENU_VISIBLE, clickItemId, } } export function closeContextMenu(clickItemId) { return { type: CLOSE_CONTEX...
323
https://github.com/dairvin9/SeatsAlert/blob/master/MoveToFrame.js
Github Open Source
Open Source
MIT
null
SeatsAlert
dairvin9
JavaScript
Code
226
555
// MoveToFrame.js searchPageForFrames(); searchInnerDocForElements(); // Uncomment this to ask fo rhe user's email. //var userEmail = window.prompt("What's your email address? Don't worry, my developer was too tired to write a back end to steak and sell your personal information. ","dairvin9@tamu.edu"); // We shoul...
13,501
https://github.com/querns/esiclient/blob/master/src/main/java/gbsio/esiclient/client/etag/InMemoryETagCache.java
Github Open Source
Open Source
MIT
2,018
esiclient
querns
Java
Code
113
391
package gbsio.esiclient.client.etag; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import gbsio.esiclient.api.etag.CachedObject; import gbsio.esiclient.api.etag.ETagCache; import org.javatuples.Pair; import java.util.Optional; /** * ETagCache that just keeps things in memory. In...
35,023
https://github.com/jmul-dev/ao-frontend/blob/master/src/modules/ico/components/ComparisonTable.js
Github Open Source
Open Source
MIT
null
ao-frontend
jmul-dev
JavaScript
Code
1,821
3,961
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import TableCell from '@material-ui/core/TableCell'; import TableHead from '@material-ui/...
39,160
https://github.com/rpsfilho93/rentx-mobile/blob/master/src/routes/auth.routes.tsx
Github Open Source
Open Source
MIT
2,021
rentx-mobile
rpsfilho93
TypeScript
Code
150
524
import React from 'react'; import { createStackNavigator } from '@react-navigation/stack'; import SplashScreen from '../pages/SplashScreen'; import Login from '../pages/Login'; import Onboarding1 from '../pages/Onboarding1'; import Onboarding2 from '../pages/Onboarding2'; import Onboarding3 from '../pages/Onboarding3'...
2,862
https://github.com/charig/TruffleMATE/blob/master/MateExtensions/som/primitives/MatePrims.java
Github Open Source
Open Source
MIT
2,022
TruffleMATE
charig
Java
Code
410
1,313
package som.primitives; import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; import com.oracle.truffle.api.dsl.GenerateNodeFactory; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.object.DynamicObject; import bd.primitives.Primitive; import som.interpreter.nodes.nary.Binar...
401
https://github.com/finleap-connect/monoskope/blob/master/cmd/scimserver/server.go
Github Open Source
Open Source
Apache-2.0
2,022
monoskope
finleap-connect
Go
Code
422
1,349
// Copyright 2021 Monoskope Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
34,456
https://github.com/GKentaurus/seekback-laravel/blob/master/database/seeders/RolesSeeder.php
Github Open Source
Open Source
MIT
null
seekback-laravel
GKentaurus
PHP
Code
60
201
<?php namespace Database\Seeders; use App\Models\Roles; use Illuminate\Database\Seeder; class RolesSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $roles = [ [ 'nombreRol' => 'Administrador', ], [ 'nombreRol' =>...
47,574
https://github.com/PX4/PX4-Autopilot/blob/master/Tools/process_sensor_caldata.py
Github Open Source
Open Source
BSD-3-Clause
2,022
PX4-Autopilot
PX4
Python
Code
5,158
31,814
#! /usr/bin/env python3 from __future__ import print_function import argparse import os import math import matplotlib.pyplot as plt import numpy as np from scipy.signal import medfilt from pyulog import * """ Reads in IMU data from a static thermal calibration test and performs a curve fit of gyro, accel and baro ...
22,173
https://github.com/chicio/Multispectral-Ray-tracing/blob/master/Apple/SCLTFramework/SCLTFrameworkiOSTests/SCLTFrameworkiOSTests.mm
Github Open Source
Open Source
MIT
2,021
Multispectral-Ray-tracing
chicio
Objective-C++
Code
411
1,451
// // SCLTFrameworkiOSTests.m // SCLTFrameworkiOSTests // // Created by Fabrizio Duroni on 20/05/16. // Copyright © 2016 Fabrizio Duroni. All rights reserved. // #import <XCTest/XCTest.h> #include "Constants.hpp" #include "Illuminant.hpp" #include "MacbethColorChecker.hpp" #include "Spectrum.hpp" #include "ColorR...
1,125
https://github.com/vaskoz/monty/blob/master/simulate/simulate_test.go
Github Open Source
Open Source
MIT
2,018
monty
vaskoz
Go
Code
20
57
package simulate import ( "testing" ) func TestSimulateRun(t *testing.T) { games := 8000 sim := New(4, 1, games) sim.Run() }
38,641
https://github.com/dimichspb/sixt/blob/master/models/commission/dto/CommissionCreateDto.php
Github Open Source
Open Source
BSD-3-Clause
null
sixt
dimichspb
PHP
Code
13
42
<?php namespace app\models\commission\dto; class CommissionCreateDto { public $id; public $created; public $percent; }
15,206
https://github.com/CSUI2015/forum-angkatan/blob/master/app/Http/Controllers/ThreadController.php
Github Open Source
Open Source
MIT
null
forum-angkatan
CSUI2015
PHP
Code
564
2,068
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use DB; use Auth; use HTMLPurifier; use HTMLPurifier_Config; class ThreadController extends Controller { /** * Display a listing of the resource. * * @param string $cat...
33,316
https://github.com/bordoley/reactive-js/blob/master/src/Observable/__internal__/Observable.takeLast.ts
Github Open Source
Open Source
MIT
2,023
reactive-js
bordoley
TypeScript
Code
66
235
import Enumerator_takeLast from "../../Enumerator/__internal__/Enumerator.takeLast.js"; import type * as Observable from "../../Observable.js"; import Observer_createTakeLastObserver from "../../Observer/__internal__/Observer.createTakeLastObserver.js"; import { clampPositiveInteger } from "../../__internal__/math.js";...
1,326