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/lior035/OS-Ex3/blob/master/xv6/gstest.c
Github Open Source
Open Source
MIT
2,014
OS-Ex3
lior035
C
Code
646
1,670
#include "types.h" #include "user.h" #define PGSIZE 4096 //page in integer int main(void){ //int err, id, size = 3*PGSIZE; //uint addr[4]; //char* mapedAddr, *mapedAddr2; //err = gscreate(size); //printf(1, "I am the parent. error code for creation -> %d\n" ,err); ////opening second time - second mapping //er...
34,795
https://github.com/malte0811/ControlEngineering/blob/master/src/main/java/malte0811/controlengineering/controlpanels/renders/IndicatorRender.java
Github Open Source
Open Source
MIT
2,022
ControlEngineering
malte0811
Java
Code
108
489
package malte0811.controlengineering.controlpanels.renders; import com.mojang.blaze3d.vertex.PoseStack; import malte0811.controlengineering.bus.BusLine; import malte0811.controlengineering.client.render.target.MixedModel; import malte0811.controlengineering.client.render.target.QuadBuilder; import malte0811.controleng...
15,874
https://github.com/syuchen/yc-blog/blob/master/src/main/java/com/developerchen/blog/module/link/domain/entity/Link.java
Github Open Source
Open Source
MIT
2,019
yc-blog
syuchen
Java
Code
241
771
package com.developerchen.blog.module.link.domain.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.developerchen.core.domain.entity.BaseEntity; import org.hibernate.validator.constraints...
14,332
https://github.com/coverney/ExercisesInC/blob/master/exercises/ex08/word_count.c
Github Open Source
Open Source
MIT
2,019
ExercisesInC
coverney
C
Code
511
1,287
/* Reads a text file, splits lines into words, and counts the frequency of each word. Run with: export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig echo $PKG_CONFIG_PATH gcc -Wall -o word_count `pkg-config --cflags glib-2.0` word_count.c `pkg-config --libs glib-2.0` ./word_count test1.txt OR make clean make ...
18,360
https://github.com/adem-team/advanced/blob/master/lukisongroup/purchasing/models/rqt/Requesttermheader.php
Github Open Source
Open Source
BSD-3-Clause
2,017
advanced
adem-team
PHP
Code
447
1,745
<?php namespace lukisongroup\purchasing\models\rqt; use Yii; use lukisongroup\hrd\models\Employe; use lukisongroup\master\models\Customers; use lukisongroup\hrd\models\Dept; use lukisongroup\purchasing\models\rqt\Rtdetail; use lukisongroup\hrd\models\Corp; /** * This is the model class for table "t0001header". * ...
29,235
https://github.com/code543/leetcodequestions/blob/master/src/test/test/lee/codetest/code_560__Subarray_Sum_Equals_K/CodeTest.java
Github Open Source
Open Source
MIT
2,018
leetcodequestions
code543
Java
Code
97
399
package lee.codetest.code_560__Subarray_Sum_Equals_K; import org.junit.Test; /** testcase:[1,1,1] 2 */ public class CodeTest { @Test public void testSolution() throws Exception { //new Solution() lee.code.code_560__Subarray_Sum_Equals_K.C560_MainClass.main(null);; } } /** * * * 560.Subarr...
20,457
https://github.com/alirya/array/blob/master/src/validator/validatable/list/list-parameter.ts
Github Open Source
Open Source
Apache-2.0
null
array
alirya
TypeScript
Code
71
252
import Validator from '@alirya/validator/validator'; import Map from '../../../map'; import {List as ListHelper} from 'ts-toolbelt'; import InferReturn from '@alirya/validator/validatable/infer-static'; import Value from '@alirya/value/value'; import ValidatorContainer from '@alirya/validator/validator/validator'; impo...
47,555
https://github.com/Chesterton14/rap2-delos/blob/master/src/service/repository.ts
Github Open Source
Open Source
MIT
null
rap2-delos
Chesterton14
TypeScript
Code
436
1,456
import { Repository, RepositoriesMembers, Interface, Property, Module } from '../models' import { MoveOp } from '../models/bo/interface' import RedisService, { CACHE_KEY } from '../service/redis' import { AccessUtils, ACCESS_TYPE } from '../routes/utils/access' import OrganizationService from './organization' export d...
31,158
https://github.com/HxCKDMS/HxCArmory/blob/master/src/main/java/HxCKDMS/HxCTools/Items/TitaniumPickaxe.java
Github Open Source
Open Source
MIT
2,015
HxCArmory
HxCKDMS
Java
Code
26
171
package HxCKDMS.HxCTools.Items; import HxCKDMS.HxCTools.Creative.HxCToolsTab; import HxCKDMS.HxCTools.Handling.TextureHandler; import net.minecraft.item.Item; import net.minecraft.item.ItemPickaxe; public class TitaniumPickaxe extends ItemPickaxe { public TitaniumPickaxe(Item.ToolMaterial material) { ...
2,876
https://github.com/noobini/JSFRabbitMQ/blob/master/JSFRabbit/src/main/java/pt/ua/ies/MessageConsumer.java
Github Open Source
Open Source
MIT
null
JSFRabbitMQ
noobini
Java
Code
90
251
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pt.ua.ies; import com.rabbitmq.client.AMQP; import com.rabbitmq.client.Channel; import com.rabbitmq.client.DefaultConsumer; im...
19,688
https://github.com/freeua/prep-sports-recruiting/blob/master/database/migrations/2020_08_18_133242_create_coaches_table.php
Github Open Source
Open Source
MIT
null
prep-sports-recruiting
freeua
PHP
Code
60
263
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCoachesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('coaches', funct...
15,130
https://github.com/vivian-jq/AIFM/blob/master/aifm/inc/dataframe_vector.hpp
Github Open Source
Open Source
MIT
2,020
AIFM
vivian-jq
C++
Code
1,023
3,601
#pragma once #include "dataframe_vector.hpp" #include "deref_scope.hpp" #include "device.hpp" #include "helpers.hpp" #include "internal/dataframe_types.hpp" #include "pointer.hpp" #include "prefetcher.hpp" #include "reader_writer_lock.hpp" #include <cstdint> #include <memory> #include <optional> #include <type_traits...
47,679
https://github.com/rallyhealth/scalacheck-ops/blob/master/joda/src/main/scala/org/scalacheck/ops/time/joda/JodaLocalDateGenerators.scala
Github Open Source
Open Source
LicenseRef-scancode-generic-cla, LicenseRef-scancode-unknown-license-reference, Apache-2.0
2,023
scalacheck-ops
rallyhealth
Scala
Code
212
692
package org.scalacheck.ops.time.joda import org.joda.time.chrono.ISOChronology import org.joda.time.{Chronology, LocalDate, Period, ReadablePeriod} import org.scalacheck.Gen import org.scalacheck.ops.time.AbstractTimeGenerators sealed trait JodaLocalDateGenerators extends AbstractTimeGenerators { override type Inst...
4,569
https://github.com/ForallFramework/debug.package/blob/master/src/forall/debug/functions.php
Github Open Source
Open Source
MIT
2,013
debug.package
ForallFramework
PHP
Code
111
359
<?php /** * @package forall.debug * @author Avaq <aldwin.vlasblom@gmail.com> */ namespace forall\debug { /** * An alias for `forall('debug.debugger')->type($var)`. * @param mixed $var * @return string * @see Debug::type() for documentation. */ function type($var) { return forall('de...
51,894
https://github.com/idnspro/IVRES/blob/master/beta01/pop-up-calendar.php
Github Open Source
Open Source
Apache-2.0
null
IVRES
idnspro
PHP
Code
94
415
<?php $month_array = array('', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); $cnt = 0; ?> <table border="0" cellpadding="0" cellspacing="0"> <tr class="bg3"> <td colspan="5">Select a date: <select id="mID" name="mID"> <?php for(...
46,401
https://github.com/wrapper755/diirt/blob/master/pods/web-pods-common/src/main/java/org/diirt/pods/web/common/MessageEncoder.java
Github Open Source
Open Source
MIT
null
diirt
wrapper755
Java
Code
117
309
/** * Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT * All rights reserved. Use is subject to license terms. See LICENSE.TXT */ package org.diirt.pods.web.common; import java.io.IOException; import java.io.Writer; import java.util.logging.Level; import java.util.logging.Logger; import javax.websocket.Enc...
47,495
https://github.com/sfeuerriegel/SentimentAnalysis/blob/master/tests/testthat/test.SentimentDictionary.R
Github Open Source
Open Source
MIT
2,023
SentimentAnalysis
sfeuerriegel
R
Code
370
1,854
library(SentimentAnalysis) context("Testing sentiment dictionaries to store polarity words") test_that("wordlist works correctly", { wl <- c("uncertain", "unsure") d <- SentimentDictionary(wl) expect_is(d, "SentimentDictionaryWordlist") expect_equivalent(d$wordlist, wl) expect_equivalent(numEntries(d), 2)...
27,879
https://github.com/chiench/surveys/blob/master/app/Http/Controllers/AuthController.php
Github Open Source
Open Source
MIT
null
surveys
chiench
PHP
Code
49
183
<?php namespace App\Http\Controllers; use App\Models\User; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; class AuthController extends Controller { public function register( Request $request ) { $data = $request->validate( [ 'name' =>'required|unique:us...
6,585
https://github.com/simunova/mtl4/blob/master/boost/numeric/mtl/operation/householder.hpp
Github Open Source
Open Source
MTLL
2,021
mtl4
simunova
C++
Code
320
926
// Software License for MTL // // Copyright (c) 2007 The Trustees of Indiana University. // 2008 Dresden University of Technology and the Trustees of Indiana University. // 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com. // All rights reserved. // Authors: Peter Gottschling and Andr...
39,111
https://github.com/alam8064/main/blob/master/src/test/java/seedu/jelphabot/model/task/predicates/TaskDueWithinDayPredicateTest.java
Github Open Source
Open Source
MIT
2,020
main
alam8064
Java
Code
112
523
//@@author yaojiethng package seedu.jelphabot.model.task.predicates; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; impor...
20,427
https://github.com/michaelmosmann/coding-dojo/blob/master/src/test/java/codingdojo/FooTest.java
Github Open Source
Open Source
Apache-2.0
null
coding-dojo
michaelmosmann
Java
Code
21
74
package codingdojo; import static org.junit.Assert.*; import org.junit.Test; public class FooTest { @Test public void test() { boolean thereShouldBeFun=true; assertTrue(thereShouldBeFun); } }
1,391
https://github.com/clayne/stdman/blob/master/man/std::filesystem::directory_iterator::operator=.3
Github Open Source
Open Source
MIT
null
stdman
clayne
null
Spoken
46
164
.TH std::filesystem::directory_iterator::operator= 3 "2022.03.29" "http://cppreference.com" "C++ Standard Libary" .SH NAME std::filesystem::directory_iterator::operator= \- std::filesystem::directory_iterator::operator= .SH Synopsis directory_iterator& operator=(const directory_iterator&) = default; ...
6,077
https://github.com/pjump/core_x/blob/master/Rakefile
Github Open Source
Open Source
MIT
2,015
core_x
pjump
Ruby
Code
381
1,433
require "bundler/gem_tasks" def gemspec @gemspec ||= Gem::Specification.load('gemspec.gemspec') end def repo_exists?(url) @status ||= `curl --head #{Shellwords.escape(url)} 2>/dev/null | head -n1`.split(" ")[1].to_i @status < 400 end task "release" => :github_repo task :github_repo do unless repo_exists?(g...
3,171
https://github.com/selectize/selectize.js/blob/master/docs/src/theme/DocItem/index.js
Github Open Source
Open Source
Apache-2.0
2,023
selectize.js
selectize
JavaScript
Code
49
192
import React from 'react'; import {HtmlClassNameProvider} from '@docusaurus/theme-common'; import {DocProvider} from '@docusaurus/theme-common/internal'; import DocItemMetadata from '@theme/DocItem/Metadata'; import DocItemLayout from '@theme/DocItem/Layout'; export default function DocItem(props) { const docHtmlClas...
10,528
https://github.com/dennishcy/Hammett_Model/blob/master/R code/Hammett_R_knn.R
Github Open Source
Open Source
MIT
2,020
Hammett_Model
dennishcy
R
Code
228
848
# install and load packages install.packages("FNN") library(FNN) install.packages("pacman") pacman::p_load(ggplot2, caret, ModelMetrics, scales) library(caret) # load files from local drives (m and p in 2 separate files) df_m <- read.csv('C:/My File/Chem ML/data/Hammett_m.csv') df_p <- read.csv('C:/My File/Chem ML/dat...
8,623
https://github.com/vaibhavcodaemonsoftwares/mucbDashboard/blob/master/app/Http/Controllers/ProductaddController.php
Github Open Source
Open Source
MIT
null
mucbDashboard
vaibhavcodaemonsoftwares
PHP
Code
199
827
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; use Illuminate\Http\Request; use App\Models\Package; class ProductaddController extends Controller { //Package list function packageList() { $data = Package::all(); return view('p...
15,981
https://github.com/mindpowered/maglev-php/blob/master/lib/haxe/io/Output.php
Github Open Source
Open Source
MIT
null
maglev-php
mindpowered
PHP
Code
1,320
5,194
<?php /** * Generated by Haxe 4.1.1 */ namespace haxe\io; use \haxe\io\_BytesData\Container; use \php\Boot; use \haxe\Exception; use \haxe\NativeStackTrace; /** * An Output is an abstract write. A specific output implementation will only * have to override the `writeByte` and maybe the `write`, `flush` and `clos...
23,350
https://github.com/careerboosts/service/blob/master/tls.go
Github Open Source
Open Source
MIT
null
service
careerboosts
Go
Code
202
643
package service import ( "crypto/tls" "fmt" "io/ioutil" "github.com/stevepartridge/go/file" ) // AppendCertsFromPEM support direct setting of rootCA func (s *Service) AppendCertsFromPEM(rootCA []byte) error { ok := s.CertPool.AppendCertsFromPEM([]byte(rootCA)) if !ok { return ErrAddingRootCA } return nil }...
36,551
https://github.com/jvalkeal/randomstuff/blob/master/ssm-sample5/src/main/java/com/example/smlock/LockingStateMachineService.java
Github Open Source
Open Source
Apache-2.0
2,022
randomstuff
jvalkeal
Java
Code
248
898
package com.example.smlock; import java.util.HashMap; import java.util.Map; import java.util.concurrent.locks.Lock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.integration.jdbc.lock.JdbcLockRegistry; import org.springframework.statemachine.StateMachine; import org.springframewo...
13,904
https://github.com/aosp-mirror/platform_system_core/blob/master/fastboot/fuzzy_fastboot/extensions.cpp
Github Open Source
Open Source
BSD-2-Clause
2,023
platform_system_core
aosp-mirror
C++
Code
1,221
3,622
/* * Copyright (C) 2018 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
13,826
https://github.com/cristofolini/Periodicity/blob/master/src/main.js
Github Open Source
Open Source
MIT
null
Periodicity
cristofolini
JavaScript
Code
151
520
import Vue from 'vue' import VueI18n from 'vue-i18n' import en from './lang/en.json' import App from './App' import router from './router' import Vuetify from 'vuetify' import 'vuetify/dist/vuetify.min.css' import 'material-design-icons-iconfont/dist/material-design-icons.css' Vue.use(Vuetify, { theme: { primary...
48,028
https://github.com/LunaMultiplayer/LmpIrPlugin/blob/master/LmpIrPlugin/LmpIrPlugin.cs
Github Open Source
Open Source
MIT
2,018
LmpIrPlugin
LunaMultiplayer
C#
Code
191
822
using InfernalRobotics.Module; using LmpClient.Events; using UnityEngine; namespace LmpIrPlugin { [KSPAddon(KSPAddon.Startup.Instantly, true)] public class LmpIrPlugin : MonoBehaviour { public static LmpIrPlugin Singleton { get; set; } public void Awake() { Singleton =...
53,729
https://github.com/Provokator86/Full-Repo/blob/master/hizmetuzmani/system/application/views/fe/home/index.tpl.php
Github Open Source
Open Source
Apache-2.0
2,018
Full-Repo
Provokator86
PHP
Code
747
3,615
<?php include_once(APPPATH."views/fe/common/banner.tpl.php"); ?> <!--body--> <div class="body_part02"> <div class="box01"> <h2><?php echo addslashes(t('Have a job to be done'))?>?</h2> <ul> <li><?php echo addslashes(t('Leave the hard work to us'))?></li> <li><?php echo addslashes(t...
4,426
https://github.com/jeffbmartinez/todo-webserver/blob/master/handler/apitasks.go
Github Open Source
Open Source
MIT
null
todo-webserver
jeffbmartinez
Go
Code
221
566
package handler import ( "encoding/json" "net/http" "github.com/jeffbmartinez/log" ) /* Task represents a task or a subtask. Tasks can be stand-alone todo items or they can be broken down into subtasks, which can then have their own subtasks, and so on. Subtasks have parents which they can be grouped into. Tasks ...
46,440
https://github.com/cliangtime/huangliwo_android/blob/master/app/src/main/java/com/feitianzhu/huangliwo/view/CornerLinearView.java
Github Open Source
Open Source
Apache-2.0
2,020
huangliwo_android
cliangtime
Java
Code
305
1,292
package com.feitianzhu.huangliwo.view; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.RectF; impo...
24,215
https://github.com/gregdhill/interbtc/blob/master/parachain/runtime/tests/mock/mod.rs
Github Open Source
Open Source
Apache-2.0
2,021
interbtc
gregdhill
Rust
Code
2,472
10,551
#![allow(dead_code)] extern crate hex; pub use bitcoin::{ formatter::{Formattable, TryFormattable}, types::*, }; pub use btc_parachain_runtime::{ AccountId, BlockNumber, Call, Event, GetCollateralCurrencyId, GetWrappedCurrencyId, Runtime, DOT, INTERBTC, }; pub use btc_relay::{BtcAddress, BtcPublicKey}; pu...
74
https://github.com/Exorath/ServerScalingService/blob/master/src/main/java/com/exorath/service/serverscaling/service/ConnectorServiceProvider.java
Github Open Source
Open Source
Apache-2.0
2,021
ServerScalingService
Exorath
Java
Code
139
361
/* * Copyright 2017 Exorath * * 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...
20,875
https://github.com/RammahKarpous/getgroceries/blob/master/resources/scss/base/_text.scss
Github Open Source
Open Source
MIT
null
getgroceries
RammahKarpous
SCSS
Code
14
73
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap"); a { text-decoration: none; } // Font-weight .bold { font-weight: bold; }
35,325
https://github.com/Farrael/Routing/blob/master/src/vector.h
Github Open Source
Open Source
Apache-2.0
2,016
Routing
Farrael
C
Code
63
185
/* vector.h ----- Role : Vector class (Dynamic Array) */ #ifndef H_VECTOR #define H_VECTOR #define VECTOR_INITIAL_CAPACITY 50 /** * Vector structure */ typedef struct { int size; int capacity; int *data; } Vector; /** * Functions */ Vector* vector_create(); void vector_free(Vector *vector); ...
5,386
https://github.com/dibadalu/iOSWeiboLearning/blob/master/ZJWeibo/ZJWeibo/Classes/Main(主要)/Model/ZJCommonSwitchItem.m
Github Open Source
Open Source
Apache-2.0
2,016
iOSWeiboLearning
dibadalu
Objective-C
Code
26
82
// // ZJCommonSwitchItem.m // ZJWeibo // // Created by dibadalu on 15/11/5. // Copyright (c) 2015年 dibadalu. All rights reserved. // #import "ZJCommonSwitchItem.h" @implementation ZJCommonSwitchItem @end
20,687
https://github.com/abhi-bhatra/pixelvibe/blob/master/home/admin.py
Github Open Source
Open Source
MIT, LicenseRef-scancode-free-unknown
2,021
pixelvibe
abhi-bhatra
Python
Code
17
63
from django.contrib import admin from import_export.admin import ImportExportModelAdmin from home.models import Contact,Gallery admin.site.register(Gallery) @admin.register(Contact) class ContactAdmin(ImportExportModelAdmin): pass
24,077
https://github.com/popphp/pop-image/blob/master/src/AbstractEditObject.php
Github Open Source
Open Source
BSD-3-Clause
2,022
pop-image
popphp
PHP
Code
191
538
<?php /** * Pop PHP Framework (http://www.popphp.org/) * * @link https://github.com/popphp/popphp-framework * @author Nick Sagona, III <dev@nolainteractive.com> * @copyright Copyright (c) 2009-2023 NOLA Interactive, LLC. (http://www.nolainteractive.com) * @license http://www.popphp.org/license N...
8,382
https://github.com/TIANGeng708/Course/blob/master/CS102A/Project/src/xyz/chengzi/halma/view/GameFrame.java
Github Open Source
Open Source
MIT
2,022
Course
TIANGeng708
Java
Code
428
2,075
package xyz.chengzi.halma.view; import xyz.chengzi.halma.MusicPlayer; import xyz.chengzi.halma.controller.GameController; import xyz.chengzi.halma.model.ChessBoard; import javax.swing.*; import java.applet.Applet; import java.awt.*; import java.net.MalformedURLException; import java.util.ArrayList; public class Game...
45,914
https://github.com/brown-ccv/paraview-scalable/blob/master/Plugins/StreamLinesRepresentation/plugin.cmake
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,019
paraview-scalable
brown-ccv
CMake
Code
13
32
pv_plugin(StreamLinesRepresentation DESCRIPTION "Add animated Stream Lines representation for any type of dataset" DEFAULT_ENABLED)
23,216
https://github.com/iurirodrigues17/JDesignPatterns/blob/master/JDesignPatterns/src/dp/structural/Composite/Bloco.java
Github Open Source
Open Source
MIT
null
JDesignPatterns
iurirodrigues17
Java
Code
154
377
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package dp.structural.Composite; /** * * @author rai_a */ import java.util.List; import java.util.ArrayList; //composite public c...
15,176
https://github.com/erikpaulo/ipocket/blob/master/src/main/java/com/softb/system/security/web/resource/AuthenticationResource.java
Github Open Source
Open Source
Apache-2.0
null
ipocket
erikpaulo
Java
Code
28
92
package com.softb.system.security.web.resource; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor @AllArgsConstructor public class AuthenticationResource { private String email; private String password; private String googleTokenId; private Boolean rem...
35,157
https://github.com/RefinePro/grefine-rdf-extension/blob/master/src/main/java/org/deri/grefine/rdf/commands/GetDefaultPrefixesCommand.java
Github Open Source
Open Source
Apache-2.0, BSD-3-Clause
2,022
grefine-rdf-extension
RefinePro
Java
Code
160
761
package org.deri.grefine.rdf.commands; import java.io.IOException; import java.util.Collection; import java.util.Map; import java.util.Properties; import java.util.function.Function; import java.util.stream.Collectors; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.s...
18,330
https://github.com/SydPRetzel/HelpHub/blob/master/models/events.js
Github Open Source
Open Source
MIT
2,019
HelpHub
SydPRetzel
JavaScript
Code
94
279
const mongoose = require("mongoose"); mongoose.promise = Promise // Ref Mongoose Schema Constructor// const Schema = mongoose.Schema; const eventsSchema = new Schema({ //userid from login? Help creator: { //type: Schema.ObjectId, //ref: 'User' type: String }, title: { ...
11,037
https://github.com/krzysztof-turowski/koala-networkit/blob/master/cpp/io/G6GraphWriter.cpp
Github Open Source
Open Source
MIT
null
koala-networkit
krzysztof-turowski
C++
Code
237
702
/* * G6GraphWriter.cpp * * Created on: 20.10.2021 * Author: Krzysztof Turowski (krzysztof.szymon.turowski@gmail.com) */ #include <fstream> #include <networkit/auxiliary/Enforce.hpp> #include <io/G6GraphWriter.hpp> namespace Koala { void G6GraphWriter::write(const NetworKit::Graph &G, const std::string &...
30,778
https://github.com/enyojs/enact/blob/master/packages/ui/Button/Button.module.less
Github Open Source
Open Source
Apache-2.0
2,022
enact
enyojs
Less
Code
120
365
// Button.module.less // @import "../styles/mixins.less"; .button { display: inline-block; box-sizing: border-box; position: relative; overflow: visible; white-space: nowrap; width: auto; z-index: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; //** //* Classes to apply to the background of t...
13,413
https://github.com/dart-lang/sdk/blob/master/pkg/front_end/parser_testcases/nnbd/issue_40267_case_05.dart
Github Open Source
Open Source
BSD-3-Clause, LicenseRef-scancode-unknown-license-reference, LicenseRef-scancode-unknown
2,023
sdk
dart-lang
Dart
Code
18
54
main() { switch(a) { // Parse as null aware index. case x?[4]:{{{2;}}}; // as case (x?[4]):{{{2;}}} } }
50,695
https://github.com/duonglvtnaist/Multi-ROMix-Scrypt-Accelerator/blob/master/Software/CPU/myscrypt/build/cmake-3.12.3/Source/Checks/Curses.cmake
Github Open Source
Open Source
MIT
2,022
Multi-ROMix-Scrypt-Accelerator
duonglvtnaist
CMake
Code
111
559
message(STATUS "Checking for curses support") # Try compiling a simple project using curses. # Pass in any cache entries that the user may have set. set(CMakeCheckCurses_ARGS "") foreach(v CURSES_INCLUDE_PATH CURSES_CURSES_LIBRARY CURSES_NCURSES_LIBRARY CURSES_EXTRA_LIBRARY CURSES_FORM_LIBRARY ...
25,118
https://github.com/shivanimuthu/swagger-brake/blob/master/swagger-brake/src/main/java/io/redskap/swagger/brake/runner/Starter.java
Github Open Source
Open Source
Apache-2.0
2,022
swagger-brake
shivanimuthu
Java
Code
190
542
package io.redskap.swagger.brake.runner; import java.util.Collection; import io.redskap.swagger.brake.core.BreakingChange; import io.redskap.swagger.brake.core.CheckerOptions; import io.redskap.swagger.brake.core.CoreConfiguration; import io.redskap.swagger.brake.maven.MavenConfiguration; import io.redskap.swagger.br...
32,845
https://github.com/nextdhcp/nextdhcp/blob/master/Dockerfile
Github Open Source
Open Source
MIT
2,023
nextdhcp
nextdhcp
Dockerfile
Code
35
130
# Build Stage FROM golang:1.21.0 ENV GOPATH /go ENV GOBIN /go/bin WORKDIR /go/src/github.com/nextdhcp COPY . . RUN make build # Release Stage FROM busybox:glibc WORKDIR /app COPY --from=0 /go/src/github.com/nextdhcp/build/nextdhcp /app/nextdhcp COPY ./Dhcpfile /app/ ENTRYPOINT ["/app/nextdhcp"]
12,559
https://github.com/Spacc-Inc/MultiMC5-Cracked/blob/master/launcher/ui/themes/BrightTheme.cpp
Github Open Source
Open Source
Apache-2.0
2,021
MultiMC5-Cracked
Spacc-Inc
C++
Code
84
527
#include "BrightTheme.h" QString BrightTheme::id() { return "bright"; } QString BrightTheme::name() { return QObject::tr("Bright"); } bool BrightTheme::hasColorScheme() { return true; } QPalette BrightTheme::colorScheme() { QPalette brightPalette; brightPalette.setColor(QPalette::Window, QColor(...
3,387
https://github.com/nguyer/aws-sdk-js-v3/blob/master/clients/node/client-acm-node/commands/ExportCertificateCommand.ts
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference
2,020
aws-sdk-js-v3
nguyer
TypeScript
Code
141
492
import * as __aws_sdk_middleware_stack from "@aws-sdk/middleware-stack"; import * as __aws_sdk_types from "@aws-sdk/types"; import * as _stream from "stream"; import { ExportCertificate } from "../model/operations/ExportCertificate"; import { InputTypesUnion } from "../types/InputTypesUnion"; import { OutputTypesUnion ...
26,303
https://github.com/ayotoasset/empCop/blob/master/.gitignore
Github Open Source
Open Source
MIT
2,019
empCop
ayotoasset
Ignore List
Code
5
21
inst/doc .Rhistory .RData .Rproj.user docs/*
1,073
https://github.com/cnork/referencesource/blob/master/System.ServiceModel/System/ServiceModel/Dispatcher/MessageFilter.cs
Github Open Source
Open Source
MIT
2,022
referencesource
cnork
C#
Code
690
2,465
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.ServiceModel.Dispatcher { using System; using System.ServiceModel.Channels; using System.ServiceModel; ...
17,649
https://github.com/Tardis07/GraphDeeSmartContract/blob/master/data/block.timestamp/23622.sol
Github Open Source
Open Source
MIT
2,020
GraphDeeSmartContract
Tardis07
Gerber Image
Code
1,517
4,064
pragma solidity ^0.4.19; // // SVLightBallotBox // Single use contract to manage a ballot // Author: Max Kaye <[email protected]> // License: MIT // // Architecture: // * Ballot authority declares public key with which to encrypt ballots (optional - stored in ballot spec) // * Users submit encrypted or plaintext ball...
33,507
https://github.com/naveenmahadevuni/incubator-trafodion/blob/master/core/sql/common/ComDistribution.cpp
Github Open Source
Open Source
Apache-2.0
2,015
incubator-trafodion
naveenmahadevuni
C++
Code
1,417
4,170
/********************************************************************** // @@@ START COPYRIGHT @@@ // // (C) Copyright 2003-2015 Hewlett-Packard Development Company, L.P. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
4,774
https://github.com/zllovesuki/b/blob/master/app/backend.go
Github Open Source
Open Source
MIT
2,021
b
zllovesuki
Go
Code
166
419
package app //go:generate mockgen -destination=backend_mocks.go -package=app github.com/zllovesuki/b/app Backend,FastBackend,Removable,RemovableBackend,RemovableFastBackend import ( "context" "fmt" "io" "time" ) // Define errors used by the application var ( ErrNotFound = fmt.Errorf("not found") ErrConflict = ...
39,562
https://github.com/TheClassicLove/WavesGUI/blob/master/src/js/shared/notification.service.js
Github Open Source
Open Source
Apache-2.0, Unlicense
2,017
WavesGUI
TheClassicLove
JavaScript
Code
40
136
(function () { 'use strict'; angular .module('app.shared') .service('notificationService', [function () { this.notice = function (message) { angular.element.growl.notice({message : message}); }; this.error = function (message) { ...
14,244
https://github.com/FudanYuan/consultation/blob/master/app/controller/Patient.php
Github Open Source
Open Source
Apache-2.0
2,018
consultation
FudanYuan
PHP
Code
406
1,687
<?php /** * 患者信息--控制器 * * * Created by * time 2017.10.19 */ namespace app\controller; class Patient extends Common { public $exportCols = []; public $colsText = []; /** * 患者信息 * @return mixed */ public function index() { return view('', []); } /** * 获取病人...
53,786
https://github.com/broken-wheel/hacktist/blob/master/hackt_docker/hackt/src/Object/inst/process_instance_collection.cc
Github Open Source
Open Source
MIT
null
hacktist
broken-wheel
C++
Code
218
1,125
/** \file "Object/inst/process_instance_collection.cc" Method definitions for integer data type instance classes. Hint: copied from the bool counterpart, and text substituted. This file came from "Object/art_object_instance_proc.cc" in a previous life. $Id: process_instance_collection.cc,v 1.19 2011/04/02 01...
20,957
https://github.com/DamienMgn/Wiwatt-Symfony-4/blob/master/src/Controller/LeasingController.php
Github Open Source
Open Source
CC0-1.0, MIT
2,020
Wiwatt-Symfony-4
DamienMgn
PHP
Code
334
1,395
<?php namespace App\Controller; use App\Entity\Date; use App\Entity\Booking; use App\Entity\Vehicle; use App\Service\SearchVehicles; use App\Entity\BookingStatus; use App\Entity\SearchFilter; use App\Form\SearchFilterType; use App\Repository\DateRepository; use Symfony\Component\HttpFoundation\Request; use Symfony\Co...
51,378
https://github.com/q5sys/lumina/blob/master/src-qt5/core/lumina-desktop/desktop-plugins/messagecenter/MessageCenter.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
lumina
q5sys
C++
Code
222
1,072
#include "MessageCenter.h" #include <LuminaXDG.h> #include <QVBoxLayout> #include <QHBoxLayout> #include <QDBusConnection> #include <QDBusConnectionInterface> MessageCenterPlugin::MessageCenterPlugin(QWidget* parent, QString ID) : LDPlugin(parent, ID){ //Setup the UI QVBoxLayout *vlay = new QVBoxLayout(); this...
20,290
https://github.com/RapDoodle8080/mooli-milk-tea-management-system/blob/master/utils/validation.py
Github Open Source
Open Source
MIT
2,021
mooli-milk-tea-management-system
RapDoodle8080
Python
Code
135
390
import re from validate_email import validate_email def verify_regex(regex, d): d = str(d) regex = re.compile(regex) if regex.match(d) is None: return False return True def is_money(d): return verify_regex('^[0-9]+(\.[0-9]{1,2})?$', d) def is_rating(d): # A rating should be an integer...
51,061
https://github.com/jane08/board.come/blob/master/frontend/views/site/ad_details.php
Github Open Source
Open Source
BSD-3-Clause
null
board.come
jane08
PHP
Code
458
1,899
<?php use yii\widgets\LinkPager; use common\models\Files; use common\models\FilesUsage; use yii\helpers\Html; use rmrevin\yii\module\Comments; use yii\web\JsExpression; /* @var $this yii\web\View */ $this->title = $ad->title; ?> <style> /****** Rating Starts *****/ @import url(http://netdna.bootstrapcdn.com...
27,008
https://github.com/experianplc/experian-java/blob/master/MavenWorkspace/bis-services-lib/bis-businessservices-lib/src/main/java/com/experian/bis/api/lib/businessservices/bean/response/premierprofiles/ConsumerStatement.java
Github Open Source
Open Source
MIT
2,021
experian-java
experianplc
Java
Code
64
189
package com.experian.bis.api.lib.businessservices.bean.response.premierprofiles; public class ConsumerStatement { private String type; private String dateReported; private String text; public String getType() { return type; } public void setType(String type) { this.type = type; } public String getDateRep...
5,283
https://github.com/npnet/workspace/blob/master/OS/vendor/mediatek/proprietary/packages/apps/SettingsProvider/src/com/mediatek/providers/utils/ProvidersUtils.java
Github Open Source
Open Source
Apache-2.0
2,019
workspace
npnet
Java
Code
390
1,919
package com.mediatek.providers.utils; import android.content.ContentResolver; import android.content.Context; import android.content.res.Resources; import android.database.sqlite.SQLiteStatement; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import android.os.SystemProperties; import android....
26,979
https://github.com/Eye4web/Eye4webZfcUserForceLogout/blob/master/tests/Eye4webZfcUserForceLogoutTest/Eye4web/ZfcUser/ForceLogout/Factory/Mapper/DoctrineORMMapperFactoryTest.php
Github Open Source
Open Source
BSD-3-Clause
2,014
Eye4webZfcUserForceLogout
Eye4web
PHP
Code
46
306
<?php namespace Eye4webZfcUserForceLogoutTest\Eye4web\ZfcUser\ForceLogout\Factory\Mapper; use Eye4web\ZfcUser\ForceLogout\Factory\Mapper\DoctrineORMMapperFactory; class DoctrineORMMapperFactoryTest extends \PHPUnit_Framework_TestCase { protected $factory; protected $serviceManager; public function set...
5,454
https://github.com/mengyunzhi/theme/blob/master/angular/src/less/pages/search.less
Github Open Source
Open Source
Apache-2.0
2,019
theme
mengyunzhi
Less
Code
74
264
.filter-item { margin-bottom: 0; .panel-body { padding: 10px 20px; border-bottom: none; } a { color: @color-text; } } .filter-item:last-child { border-bottom: 1px solid @border-color; } .filter-item:hover, .filter-item.active { .panel-body { background: #fafcfd; z-index: 100; ...
16,517
https://github.com/maturada/T-animator/blob/master/T-Animator/TAnimatorTablewViewDelegate.swift
Github Open Source
Open Source
MIT
2,019
T-animator
maturada
Swift
Code
25
62
// // TAnimatorTablewViewDelegate.swift // T-Animator // // Created by David Matura on 20/01/2019. // Copyright © 2019 David Matura. All rights reserved. // import UIKit
8,958
https://github.com/mozillazg/chendian-plus/blob/master/chendian/member/views.py
Github Open Source
Open Source
MIT
2,017
chendian-plus
mozillazg
Python
Code
333
1,317
#!/usr/bin/env python # -*- coding: utf-8 -*- """成员信息""" from __future__ import absolute_import, print_function, unicode_literals from django.contrib.auth import ( login as dj_login, logout as dj_logout, authenticate ) from django.contrib.auth.decorators import login_required from django.contrib.auth.forms impor...
39,390
https://github.com/GoldStarPDX/GoldStar/blob/master/src/auth/Auth.js
Github Open Source
Open Source
MIT
2,017
GoldStar
GoldStarPDX
JavaScript
Code
160
505
import React from 'react'; import { Switch, Route, Link, Redirect, withRouter } from 'react-router-dom'; import { connect } from 'react-redux'; import { signin, signup } from './actions'; import Credentials from './Credentials'; import Welcome from '../home/Welcome'; import Intro from '../home/Intro'; function Auth({ ...
20,461
https://github.com/HardyChhaiya/open-event-frontend/blob/master/app/templates/components/ui-table/cell/cell-event-date.hbs
Github Open Source
Open Source
Apache-2.0
2,021
open-event-frontend
HardyChhaiya
null
Spoken
33
167
{{#if this.record}} {{#if this.extraRecords.endsAt}} <div> {{general-date this.record 'date-time-tz-short' tz=this.extraRecords.timezone}} </div> (to) <div> {{general-date this.extraRecords.endsAt 'date-time-tz-short' tz=this.extraRecords.timezone}} </div> {{else}} <span> {...
49,623
https://github.com/kurtlogan/hmrc-frontend-scaffold.g8/blob/master/src/main/g8/test/controllers/SessionExpiredControllerSpec.scala
Github Open Source
Open Source
CC0-1.0
2,018
hmrc-frontend-scaffold.g8
kurtlogan
Scala
Code
54
175
package controllers import play.api.test.Helpers._ import views.html.session_expired class SessionExpiredControllerSpec extends ControllerSpecBase { "SessionExpired Controller" must { "return 200 for a GET" in { val result = new SessionExpiredController(frontendAppConfig, messagesApi).onPageLoad()(fakeRe...
11,829
https://github.com/diguifi/Dude-SideScroll/blob/master/scripts/Preloader.ts
Github Open Source
Open Source
MIT
2,021
Dude-SideScroll
diguifi
TypeScript
Code
179
1,775
export class Preloader extends Phaser.State { public preload() { this.game.load.spritesheet('dude', 'assets/sprites/dude_spritesheet.png?v=1', 16, 25, 9); this.game.load.spritesheet('enemy1', 'assets/sprites/enemy.png?v=1', 21, 22, 5); this.game.load.spritesheet('bat', 'assets/sprites/bat_...
24,256
https://github.com/bzjiaozi/basemall/blob/master/group-shop-uniapp-wx-Source/src/pages/index/modules/mall/components/left-biggoods/leftBigGoods.vue
Github Open Source
Open Source
Apache-2.0
2,021
basemall
bzjiaozi
Vue
Code
350
1,437
<!-- * @description: 抽离开源版本 * @Author: chuyinlong * @Date: 2021-08-12 15:36:21 * @LastEditors: chuyinlong * @LastEditTime: 2021-08-30 14:21:38 * 123 --> <template> <view> <view class="left__biggoods-page" v-if="loading"> <view v-for="(item, index) in dataList" :key="index" class="con__box"> <view class=...
7,420
https://github.com/faisolhara/project-report/blob/master/app/Http/Middleware/MenuMiddleware.php
Github Open Source
Open Source
MIT
2,019
project-report
faisolhara
PHP
Code
175
653
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\View; use Illuminate\Support\Facades\Gate; use App\Service\AuthorizationService; class MenuMiddleware { protected $tempNavigation = []; protected $arrNavigation = []; public function handle($request, Closure $next) { ...
22,033
https://github.com/MarcOliva/STS-Colegio-JEE/blob/master/ColegioApp/ColegioCore/src/main/java/com/oliva/marc/model/repository/IDayRepository.java
Github Open Source
Open Source
MIT
null
STS-Colegio-JEE
MarcOliva
Java
Code
10
49
package com.oliva.marc.model.repository; import com.oliva.marc.model.entity.Day; public interface IDayRepository extends IJpaRepository<Day>{ }
19,605
https://github.com/aspose-tasks/Aspose.Tasks-for-Java/blob/master/Plugins/Aspose_Tasks_Java_for_PHP/src/aspose/tasks/WorkingWithProjects/SetAttributesForNewTasks.php
Github Open Source
Open Source
MIT
2,023
Aspose.Tasks-for-Java
aspose-tasks
PHP
Code
68
267
<?php namespace Aspose\Tasks\WorkingWithProjects; use com\aspose\tasks\Project as Project; use com\aspose\tasks\Prj as Prj; use com\aspose\tasks\TaskStartDateType as TaskStartDateType; use com\aspose\tasks\SaveFileFormat as SaveFileFormat; class SetAttributesForNewTasks{ public static function run($dataDir=null)...
3,259
https://github.com/Ahavaz/github-finder/blob/master/src/components/icons/SearchIcon/index.js
Github Open Source
Open Source
MIT
null
github-finder
Ahavaz
JavaScript
Code
66
308
import React from 'react' import theme from '../../../styles/theme' export default function SearchIcon(props) { return ( <svg {...props} viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"> <path fill={theme.raisinBlack} fillRule="evenodd" d="M15.7 13.3l-3.81-3.83A5.93 5....
49,460
https://github.com/PriyanshaNayak/top-100-liked-ques-leetcode-solutions/blob/master/code/Permutations.cpp
Github Open Source
Open Source
Apache-2.0
2,018
top-100-liked-ques-leetcode-solutions
PriyanshaNayak
C++
Code
103
317
#pragma GCC optimize("-march=native") #pragma GCC optimize("-fipa-pta") class Solution { public: vector<vector<int>> permute(vector<int>& nums) { if (nums.empty()) return {vector<int>{}}; vector<vector<int>> ans; int power = 1; for (int i=1; i<=nums.size(); ++i) power *= i; ...
43,497
https://github.com/ric2b/Vivaldi-browser/blob/master/chromium/content/services/shared_storage_worklet/shared_storage_worklet_global_scope.h
Github Open Source
Open Source
BSD-3-Clause
2,022
Vivaldi-browser
ric2b
C++
Code
202
1,057
// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_SERVICES_SHARED_STORAGE_WORKLET_SHARED_STORAGE_WORKLET_GLOBAL_SCOPE_H_ #define CONTENT_SERVICES_SHARED_STORAGE_WORKLET_SHARED_STORAGE_WORKLET_GLOBAL_SCOPE_H_ #...
16,497
https://github.com/lunatique2001/script.tablo/blob/master/lib/tablo/api.py
Github Open Source
Open Source
Apache-2.0
2,016
script.tablo
lunatique2001
Python
Code
1,330
5,459
import requests import m3u8 import urlparse import compat import pytz import traceback import json import discovery DISCOVERY_URL = 'https://api.tablotv.com/assocserver/getipinfo/' USER_AGENT = 'Tablo-Kodi/0.1' class APIError(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, *arg...
54,102
https://github.com/micheltlutz/TodoTDC-19/blob/master/TodoTDC-iOS/Modules/TodoList/TodosListPresenter.swift
Github Open Source
Open Source
MIT
2,019
TodoTDC-19
micheltlutz
Swift
Code
131
444
// // TodosListPresenter.swift // TodoTDC-App // // Created by Michel Anderson Lutz Teixeira on 14/07/19. // import Foundation final class TodosListPresenter { private let repository: GenericListRepositoryInput private weak var view: GenericListView? private lazy var todos = [Todo]() init...
18,007
https://github.com/Kiskae/akka-sponge/blob/master/src/main/java/net/serverpeon/sponge/akka/util/GuiceActorFactory.java
Github Open Source
Open Source
MIT
null
akka-sponge
Kiskae
Java
Code
152
471
package net.serverpeon.sponge.akka.util; import akka.actor.Actor; import akka.actor.IndirectActorProducer; import akka.actor.Props; import com.google.inject.Injector; import javax.inject.Inject; import javax.inject.Singleton; /** * Utility object for Guice-based actor dependency injection * * @author Kiskae <kisk...
43,136
https://github.com/qiuchili/ggnn_graph_classification/blob/master/program_data/JavaProgramData/96/217.java
Github Open Source
Open Source
MIT
2,018
ggnn_graph_classification
qiuchili
Java
Code
152
499
package <missing>; public class GlobalMembers { public static int Main() { int i; int j; int k; int[] a = new int[100]; int[] b = new int[100]; int x; String num = new String(new char[101]); //C++ TO JAVA CONVERTER TODO TASK: The memory management function 'memset' has no equivalent in Java: memset(n...
33,397
https://github.com/ajureel/TriviaUS/blob/master/controllers/api/index.js
Github Open Source
Open Source
MIT
2,022
TriviaUS
ajureel
JavaScript
Code
25
99
const router = require("express").Router(); const questionRoutes = require("./questions"); const roomRoutes = require("./room-routes"); const hostRoutes = require("./hosts"); console.log("api index"); router.use('/q',questionRoutes); router.use('/room',roomRoutes); router.use('/host', hostRoutes); module.exports = ...
15,552
https://github.com/stayradiated/boiler/blob/master/web_app/src/modules/app/getters.js
Github Open Source
Open Source
MIT
2,015
boiler
stayradiated
JavaScript
Code
6
18
'use strict'; exports.name = ['user', 'name'];
21,605
https://github.com/sbragagnolo/pharos/blob/master/PhaROSGenerated.package/Create_nodeRoombaSensorState.class/instance/cliff_left..st
Github Open Source
Open Source
MIT
2,018
pharos
sbragagnolo
null
Spoken
11
30
as yet unclassified cliff_left: aValue ^ self at: #cliff_left put: aValue.
17,273
https://github.com/ow2-chameleon/arvensis/blob/master/core/src/main/java/org/ow2/chameleon/rose/internal/BadImportRegistration.java
Github Open Source
Open Source
Apache-2.0
2,013
arvensis
ow2-chameleon
Java
Code
51
167
package org.ow2.chameleon.rose.internal; import org.osgi.service.remoteserviceadmin.ImportReference; import org.osgi.service.remoteserviceadmin.ImportRegistration; public class BadImportRegistration implements ImportRegistration { private Throwable exception; public BadImportRegistration(Throwable throwable) { e...
20,942
https://github.com/LucasZapico/noma-demo/blob/master/src/pages/contact.js
Github Open Source
Open Source
0BSD
null
noma-demo
LucasZapico
JavaScript
Code
173
576
import React, { useEffect } from "react" import { graphql } from "gatsby" import Img from "gatsby-image" import Link from "gatsby-plugin-transition-link/AniLink" import { useForm } from "react-hook-form" import { BsDash } from "react-icons/bs" import { IoIosArrowRoundBack } from "react-icons/io" import Layout from "../...
31,654
https://github.com/OwnYourData/app-collect/blob/master/appConstants.R
Github Open Source
Open Source
MIT
2,017
app-collect
OwnYourData
R
Code
95
250
# global constants available to the app # last update:2016-01-17 # constants required for every app appName <- 'collect' appTitle <- 'Online Daten' app_id <- 'eu.ownyourdata.collect' # definition of data structure currRepoSelect <- '' appRepos <- list() appReposDefault <- list(Verlauf = 'eu.ownyourdata.collect.log') ...
34,283
https://github.com/Martomate/Hexacraft/blob/master/src/test/scala/hexacraft/world/loader/ChunkLoadingEdgeTest.scala
Github Open Source
Open Source
MIT
2,023
Hexacraft
Martomate
Scala
Code
453
1,706
package hexacraft.world.loader import hexacraft.util.Tracker import hexacraft.world.CylinderSize import hexacraft.world.coord.integer.ChunkRelWorld import munit.FunSuite import org.scalatestplus.mockito.MockitoSugar class ChunkLoadingEdgeTest extends FunSuite with MockitoSugar { implicit val cylSize: CylinderSize ...
27,194
https://github.com/franck30/blogSymfony/blob/master/src/Controller/DetailsController.php
Github Open Source
Open Source
MIT
2,020
blogSymfony
franck30
PHP
Code
53
182
<?php namespace App\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; /** * Class HomeController * @package App\Controller */ class DetailsContr...
38,175
https://github.com/scssyworks/cstorage/blob/master/src/api/vars.ts
Github Open Source
Open Source
MIT
2,021
cstorage
scssyworks
TypeScript
Code
59
92
const loc = (typeof location !== 'undefined' ? location : {}) as Location; const ls = (typeof localStorage !== 'undefined' ? localStorage : {}) as Storage; const ss = (typeof sessionStorage !== 'undefined' ? sessionStorage : {}) as Storage; const doc = (typeof document !== 'undefined' ? document : {}) as Document; exp...
46,345
https://github.com/becompany/scala-social-feed/blob/master/src/test/scala/ch/becompany/json/JsonExtractorSpec.scala
Github Open Source
Open Source
Apache-2.0
2,017
scala-social-feed
becompany
Scala
Code
96
327
package ch.becompany.json import org.scalatest._ import spray.json._ class JsonExtractorSpec extends FlatSpec with Matchers { "JSON extractor" should "extract JSON" in { import JsonExtractor._ val obj = JsObject( "foo" -> JsString("foo value"), "ignore" -> JsString("ignore value"), "bar...
44,347
https://github.com/lylezhu2014/zephyr/blob/master/drivers/pinmux/pinmux_mcux_lpc.c
Github Open Source
Open Source
Apache-2.0
2,022
zephyr
lylezhu2014
C
Code
210
950
/* * Copyright (c) 2017-2020, NXP * * SPDX-License-Identifier: Apache-2.0 */ #define DT_DRV_COMPAT nxp_lpc_iocon_pio #include <stdint.h> #include <errno.h> #include <device.h> #include <drivers/pinmux.h> #include <fsl_common.h> #include <fsl_clock.h> #include <fsl_device_registers.h> struct pinmux_mcux_lpc_confi...
28,436