id stringlengths 36 36 | meta stringlengths 429 697 | url stringlengths 27 109 | tokens int64 137 584 | domain_prefix stringlengths 16 106 | score float64 0.16 0.3 | code_content stringlengths 960 1.25k |
|---|---|---|---|---|---|---|
46d73028-3b3e-4616-8359-a27058e97de8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-11 08:50:57", "repo_name": "qixubin/leetcode", "sub_path": "/HttpTest.java", "file_name": "HttpTest.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 33, "lang": "en", "doc_type": "code", "blo... | https://github.com/qixubin/leetcode | 200 | FILENAME: HttpTest.java | 0.204342 |
import com.sun.deploy.net.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.HttpClientBuilder;
/**
* Created by qixubin on 2016/5/19.
*/
public class HttpTest {
public static void main(String[] argc){
HttpClient h... |
2b0d1a9b-41c5-4326-b735-3be74112ebb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 05:01:40", "repo_name": "IngMarFlo/MyLibrary", "sub_path": "/marflolibrary/src/main/java/mx/com/marflo/marflolibrary/FragmentsPageAdapter.java", "file_name": "FragmentsPageAdapter.java", "file_ext": "java",... | https://github.com/IngMarFlo/MyLibrary | 223 | FILENAME: FragmentsPageAdapter.java | 0.245085 | package mx.com.marflo.marflolibrary;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import java.util.ArrayList;
/**
* @author : Ing Alejandro Martínez Flores
* @since : 10/01/2018
* @version : 1
*/
public c... |
9a091a91-1a3c-4bfb-8a2b-4f7bb627d21b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-20 22:34:02", "repo_name": "bewhyyou/Sprint-One", "sub_path": "/Sprint One/src/edu/byu/isys413/rtyler1/ConceptualRental.java", "file_name": "ConceptualRental.java", "file_ext": "java", "file_size_in_byte": 979... | https://github.com/bewhyyou/Sprint-One | 227 | FILENAME: ConceptualRental.java | 0.259826 | package edu.byu.isys413.rtyler1;
public class ConceptualRental extends ConceptualProduct{
@BusinessObjectField
private double pricePerDay = 0.0;
@BusinessObjectField
private double replacementPrice = 0.0;
/** Creates the Business Object instance of this object*/
public ConceptualRental(String id)... |
59b8493c-a47f-4f65-a39f-5c8f11ee64fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-25 14:47:55", "repo_name": "amirparvaneh/open-banking", "sub_path": "/restdata/src/main/java/com/server/rest/restdata/service/CardServiceImp.java", "file_name": "CardServiceImp.java", "file_ext": "java", "file... | https://github.com/amirparvaneh/open-banking | 225 | FILENAME: CardServiceImp.java | 0.291787 | package com.server.rest.restdata.service;
import com.server.rest.restdata.dao.CardRepo;
import com.server.rest.restdata.entity.Card;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
import java.util.Optional;
public class CardServiceImp implements CardService {
@Autowired
... |
3b34fcc0-9799-4a10-b68c-7dd2cced2afe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 19:31:08", "repo_name": "explorer1680/rivermeadowDemo", "sub_path": "/src/main/java/com/rivermeadow/migration/model/Credentials.java", "file_name": "Credentials.java", "file_ext": "java", "file_size_in_byte... | https://github.com/explorer1680/rivermeadowDemo | 199 | FILENAME: Credentials.java | 0.193147 | package com.rivermeadow.migration.model;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.validation.constraints.NotNull;
@Embeddable
public class Credentials implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "username can not be null")
p... |
9f56223d-f6b3-4fc9-a844-2d0c7752e4c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-10 00:00:19", "repo_name": "eduardossampaio/tarefas", "sub_path": "/tarefas2/app/src/main/java/com/apps/esampaio/legacy/view/notifications/Notification.java", "file_name": "Notification.java", "file_ext": "jav... | https://github.com/eduardossampaio/tarefas | 207 | FILENAME: Notification.java | 0.262842 | package com.apps.esampaio.legacy.view.notifications;
import android.app.NotificationManager;
import android.content.Context;
import androidx.core.app.NotificationCompat;
import com.apps.esampaio.R;
import com.apps.esampaio.legacy.core.Settings;
/**
* Created by eduardo on 03/08/2016.
*/
public class Notification ... |
6ba5a9f8-a0ab-4923-9991-f8a77b3e1c85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-29 16:21:03", "repo_name": "hotire/spring-boot-base", "sub_path": "/src/main/java/com/googlecode/hotire/base/filter/BaseFilter.java", "file_name": "BaseFilter.java", "file_ext": "java", "file_size_in_byte": 98... | https://github.com/hotire/spring-boot-base | 180 | FILENAME: BaseFilter.java | 0.236516 | package com.googlecode.hotire.base.filter;
import com.googlecode.hotire.base.domain.RequestWrapper;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.serv... |
fc4e0e2e-b708-4081-a8dc-8c03fc0b402b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-05 21:52:22", "repo_name": "ozairjr/thrust", "sub_path": "/tpm/src/main/java/br/com/softbox/tpm/action/AbstractCommandAction.java", "file_name": "AbstractCommandAction.java", "file_ext": "java", "file_size_in_... | https://github.com/ozairjr/thrust | 218 | FILENAME: AbstractCommandAction.java | 0.279828 | package br.com.softbox.tpm.action;
import java.util.List;
import java.util.Optional;
public abstract class AbstractCommandAction extends AbstractAction {
protected final CommandLineParser commandLineParser;
protected AbstractCommandAction(String commandName, CommandLineParser commandLineParser) {
super(comman... |
e991e10c-8659-4d12-8bc8-daf5d0a57339 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-20 05:51:59", "repo_name": "weeniearms/graffiti", "sub_path": "/src/main/java/com/github/weeniearms/graffiti/GraphService.java", "file_name": "GraphService.java", "file_ext": "java", "file_size_in_byte": 1097,... | https://github.com/weeniearms/graffiti | 193 | FILENAME: GraphService.java | 0.278257 | package com.github.weeniearms.graffiti;
import com.github.weeniearms.graffiti.config.CacheConfiguration;
import com.github.weeniearms.graffiti.generator.GraphGenerator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stere... |
3138fa8d-ea60-4f4e-aa79-1252e81f432a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-07 16:34:10", "repo_name": "joonamussalo/Bankapp", "sub_path": "/app/src/main/java/com/example/pankkiapp/Tili.java", "file_name": "Tili.java", "file_ext": "java", "file_size_in_byte": 1074, "line_count": 58, "... | https://github.com/joonamussalo/Bankapp | 239 | FILENAME: Tili.java | 0.250913 | package com.example.pankkiapp;
public class Tili {
String accountname;
String accountnumber;
double money;
int id;
public Tili(int id, String accountname, String accountnumber) {
this.accountname = accountname;
this.money=0;
this.accountnumber = accountnumber;
this.... |
ede64bf8-fc80-4d3e-b1b1-4b9665d487a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-20 21:27:41", "repo_name": "AixNPanes/genealogy", "sub_path": "/Ftm2Html/src/ws/daley/genealogy/gedcom/attribute/GcWhereWithinSourceAttribute.java", "file_name": "GcWhereWithinSourceAttribute.java", "file_ext"... | https://github.com/AixNPanes/genealogy | 225 | FILENAME: GcWhereWithinSourceAttribute.java | 0.26971 | package ws.daley.genealogy.gedcom.attribute;
/**
* WHERE_WITHIN_SOURCE:= {Size=1:248}
*
* Specific location with in the information referenced. For a published work,
* this could include the volume of a multi-volume work and the page number(s).
* For a periodical, it could include volume, issue, and ... |
244c930c-1ef3-4226-b6c6-e86be238e968 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-11T00:25:39", "repo_name": "psminion/PVSDiskCleanup", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 11, "lang": "en", "doc_type": "text", "b... | https://github.com/psminion/PVSDiskCleanup | 231 | FILENAME: README.md | 0.27513 | # PVSDiskCleanup
This module can be used to make offline updates to a Citrix Provisioning Services VHD file based on entries contained in CSV file. The module will prompt the user for the vDisk to be used, mount the VHD and then, as required, load the SYSTEM and/or SOFTWARE registry hives and perform the updates specif... |
de88acb8-e531-44eb-888b-714cee0f1f8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-08T01:23:33", "repo_name": "ANGELOS-TSILAFAKIS/NavigationDrawerPublic", "sub_path": "/app/src/main/java/info/android_angel/navigationdrawer/model_movie_id_get_credits/MovieGetCredits.java", "file_name": "Movie... | https://github.com/ANGELOS-TSILAFAKIS/NavigationDrawerPublic | 227 | FILENAME: MovieGetCredits.java | 0.246533 | package info.android_angel.navigationdrawer.model_movie_id_get_credits;
/**
* Created by ANGELOS on 2017.
*/
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class MovieGetCredits {
@SerializedName("id")
@Expose
private Integer... |
770d2b4f-282e-4279-8ea3-a49602221c78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-08-13T23:24:19", "repo_name": "dansilivestru/BootCamp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 991, "line_count": 45, "lang": "en", "doc_type": "text", "blo... | https://github.com/dansilivestru/BootCamp | 250 | FILENAME: README.md | 0.184768 | Startup Live & Lessons Learned
========
Women Entrepreneur Summer Bootcamp Summer 2014
## Presented by:
Pj Lowe-Silivestru
Dan Silivestru
## Introduction
An introduction to Pj and Dan, past experience and how we got here.
## Myths about startup life
- Being your own boss is easy
- You get to make your own hours
... |
af8e0ff0-675d-4ca2-9e50-240cddfe1da6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-19 10:26:46", "repo_name": "thanhbuigithub/QUANLYTHUVIEN", "sub_path": "/src/main/java/model/dto/SachTacGia.java", "file_name": "SachTacGia.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 4... | https://github.com/thanhbuigithub/QUANLYTHUVIEN | 290 | FILENAME: SachTacGia.java | 0.284576 | package model.dto;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "sach_tac_gia", schema = "quanlythuvien", catalog = "")
@IdClass(SachTacGiaPK.class)
public class SachTacGia {
private int sachId;
private int tacGiaId;
@Override
public boolean equals(Object o) {
i... |
89f45f6f-287f-4c17-9885-9284e7baab47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-21 02:08:37", "repo_name": "paulohenry/nossobancodigitalapi", "sub_path": "/src/main/java/com/paulohenry/zup/nbdigital/utils/UpDataService.java", "file_name": "UpDataService.java", "file_ext": "java", "file_si... | https://github.com/paulohenry/nossobancodigitalapi | 216 | FILENAME: UpDataService.java | 0.272799 | package com.paulohenry.zup.nbdigital.utils;
import java.io.IOException;
import java.util.stream.Stream;
import com.paulohenry.zup.nbdigital.entities.LocalRegisterEntity3;
import com.paulohenry.zup.nbdigital.repositories.LocalRegisterRepository3;
import org.springframework.beans.factory.annotation.Autowired;
import o... |
d4d4fe82-198f-4c40-8134-270ba991203c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-09T01:25:08", "repo_name": "ahmadtc1/library-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1019, "line_count": 22, "lang": "en", "doc_type": "text", "blob... | https://github.com/ahmadtc1/library-app | 206 | FILENAME: README.md | 0.208179 | # library-app
📚 A library web app for storing books and their information
### Purpose
This web applications allows users to store the information for all their favorite books in one place! Gone are the days
of struggling to remember good reads lost in memory throughout time. With this library-app, users can simply cr... |
58427d7e-435a-4585-ae32-05bd0387d6a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-29 05:17:23", "repo_name": "Amlet86/algorithms", "sub_path": "/src/ru/amlet/LeetCode/LongestCommonPrefix.java", "file_name": "LongestCommonPrefix.java", "file_ext": "java", "file_size_in_byte": 1093, "line_cou... | https://github.com/Amlet86/algorithms | 224 | FILENAME: LongestCommonPrefix.java | 0.279828 | package ru.amlet.LeetCode;
public class LongestCommonPrefix {
public static void main(String[] args) {
String result = longestCommonPrefix(new String[]{"dog","racecar","car"});
System.out.println(result);
}
private static String longestCommonPrefix(String[] strs) {
String commonPr... |
a3efcc18-a222-47b4-bd7a-f6fc0d3f55b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-12 12:12:04", "repo_name": "257ramanrb/Employee-Task-FollowUp-Tracker", "sub_path": "/src/sample/controllerFiles/EmployeeDashBoard/EmployeeDashBoardController.java", "file_name": "EmployeeDashBoardController.j... | https://github.com/257ramanrb/Employee-Task-FollowUp-Tracker | 185 | FILENAME: EmployeeDashBoardController.java | 0.239349 | package sample.controllerFiles.EmployeeDashBoard;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.stage.Stage;
import java.io.IOException;
public class EmployeeDashBoardCo... |
3187158e-ef80-48ca-9f6f-d30f98513bd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-28 12:33:24", "repo_name": "vinodkrishnabhat/PlivoSMS", "sub_path": "/src/test/java/com/vkb/plivosms/dao/mock/MockAccountDao.java", "file_name": "MockAccountDao.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/vinodkrishnabhat/PlivoSMS | 215 | FILENAME: MockAccountDao.java | 0.282988 | package com.vkb.plivosms.dao.mock;
import com.vkb.plivosms.dao.IAccountDao;
import com.vkb.plivosms.exception.PlivoException;
import com.vkb.plivosms.objects.AccountEntity;
import java.util.LinkedList;
import java.util.List;
public class MockAccountDao implements IAccountDao{
private static List<AccountEntity> d... |
2fcbcc4c-9b75-4b94-a27e-43b9b067b034 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-24 09:58:35", "repo_name": "gaowei0115/plate-cloud-system", "sub_path": "/cloud-system/ribbon-system/feign-consumer/src/main/java/com/mmc/cloud/feign/controller/FeignController.java", "file_name": "FeignContro... | https://github.com/gaowei0115/plate-cloud-system | 239 | FILENAME: FeignController.java | 0.245085 | package com.mmc.cloud.feign.controller;
import com.mmc.cloud.feign.service.IFeignService;
import com.mmc.cloud.feign.vo.CutPayRequest;
import com.mmc.cloud.feign.vo.CutPayResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Random;... |
b1534b72-4836-4556-9b44-88f820488236 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-24 02:56:30", "repo_name": "PhoenixForceRobotics/freshie2019", "sub_path": "/src/org/usfirst/frc/team2097/robot/utility/opCont.java", "file_name": "opCont.java", "file_ext": "java", "file_size_in_byte": 1059, ... | https://github.com/PhoenixForceRobotics/freshie2019 | 297 | FILENAME: opCont.java | 0.258326 | import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.JoystickButton;
import edu.wpi.first.wpilibj.GenericHID;
public class opCont{
public Joystick joyLeft = new Joystick(0);
public Joystick joyRight = new Joystick(1);
public Button OpA = new JoyStickButton(1);
public Button OpB =... |
cd6120b1-6a1f-4f6f-b4a7-5a1f7182445f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-01-16T05:50:17", "repo_name": "RebafC/php-smoke-lib", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 49, "lang": "en", "doc_type": "text", "blob_... | https://github.com/RebafC/php-smoke-lib | 236 | FILENAME: README.md | 0.204342 | # PHP Smoke Lib
### Description
This library allows to run simple smoke tests in php
### Instal
git clone https://github.com:RebafC/php-smoke-lib.git
composer update
### Usage
```php
<?php
use Smoke\Smoke\Smoke;
use GuzzleHttp\Client;
require 'vendor/autoload.php';
$addresses = [
[
'request' => [
... |
ea79f1e7-1190-4480-b987-628908f58dff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-18 08:59:43", "repo_name": "dc6273632/LGame", "sub_path": "/Java/Loon-Neo/src/loon/component/skin/ControlSkin.java", "file_name": "ControlSkin.java", "file_ext": "java", "file_size_in_byte": 974, "line_count":... | https://github.com/dc6273632/LGame | 230 | FILENAME: ControlSkin.java | 0.280616 | package loon.component.skin;
import loon.LSystem;
import loon.LTexture;
import loon.LTextures;
public class ControlSkin {
private LTexture controlBaseTexture;
private LTexture controlDotTexture;
public static ControlSkin def(){
return new ControlSkin();
}
public ControlSkin() {
this(LTextures.loadTextur... |
cf938c60-dff6-45f0-8f0e-7eb796503001 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-05 08:06:52", "repo_name": "daolei/zuo", "sub_path": "/src/main/java/champter1/zkTest/jsonTest.java", "file_name": "jsonTest.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count": 38, "lang": "en"... | https://github.com/daolei/zuo | 230 | FILENAME: jsonTest.java | 0.196826 | package champter1.zkTest;
import org.codehaus.jackson.map.ObjectMapper;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
/**
* Created by daolei.su on 2018/11/30
*/
public class jsonTest {
/**
* 在使用该类转json时,发现默认情况下 json文件中可以少key,但是不能多key
* @param args
*/
... |
73b145cb-a286-4566-a317-9de08fee77ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-28 12:32:33", "repo_name": "mrjbee/runit", "sub_path": "/sources/app/src/main/java/org/monroe/team/runit/app/uc/RemoveUninstalledApplications.java", "file_name": "RemoveUninstalledApplications.java", "file_ext... | https://github.com/mrjbee/runit | 202 | FILENAME: RemoveUninstalledApplications.java | 0.290981 | package org.monroe.team.runit.app.uc;
import org.monroe.team.android.box.services.AndroidServiceRegistry;
import org.monroe.team.android.box.db.TransactionUserCase;
import org.monroe.team.corebox.services.ServiceRegistry;
import org.monroe.team.runit.app.db.Dao;
import org.monroe.team.runit.app.service.ApplicationRegi... |
0afbe4b4-7fb5-4483-aa88-9ba577071266 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-08 13:51:41", "repo_name": "evbox/station-simulator", "sub_path": "/simulator-core/src/main/java/com/evbox/everon/ocpp/simulator/station/component/variable/attribute/AttributeType.java", "file_name": "Attribut... | https://github.com/evbox/station-simulator | 226 | FILENAME: AttributeType.java | 0.26971 | package com.evbox.everon.ocpp.simulator.station.component.variable.attribute;
import com.evbox.everon.ocpp.simulator.station.component.exception.IllegalAttributeTypeException;
import com.evbox.everon.ocpp.v201.message.centralserver.Attribute;
import java.util.Optional;
import java.util.stream.Stream;
/**
* Internal... |
fabd4b48-de6d-4a92-a9d3-25119be32605 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-10T10:16:16", "repo_name": "virtimus/tinyHomeServer", "sub_path": "/features/hass.md", "file_name": "hass.md", "file_ext": "md", "file_size_in_byte": 1031, "line_count": 52, "lang": "en", "doc_type": "text... | https://github.com/virtimus/tinyHomeServer | 309 | FILENAME: hass.md | 0.26971 |
<!--
#@bashMarkupScript:0.0.1
#@depends:bs,python3.7(opt),cert(opt)
#@refs:https://www.home-assistant.io/docs/installation/virtualenv/
#@ https://data.home-assistant.io/
#@ https://github.com/home-assistant/home-assistant-notebooks
-->
## Features - TinyHomeServer - F3 Home Assistant
https://www.youtube.com/watch?v=Q... |
84f92cf1-f5ee-45bc-b3ea-8b738129c7e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-17T12:54:48", "repo_name": "OmerHai/Planet-Block-Breaker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 978, "line_count": 28, "lang": "en", "doc_type": "text"... | https://github.com/OmerHai/Planet-Block-Breaker | 254 | FILENAME: README.md | 0.291787 | # Planet-Block-Breaker
A game of breaking blocks, built with Unity, C#.
## Project Screen Shots
### Level example

### Break example

### Start menu

## T... |
24ae44b4-90a8-4d2b-a1db-dad5fbdf816f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-07 17:47:03", "repo_name": "MithunRoyThadi/ProjectDetails", "sub_path": "/MFT-Database-Services/src/main/java/com/miracle/mft/dbUtils/DatabaseUtills.java", "file_name": "DatabaseUtills.java", "file_ext": "java... | https://github.com/MithunRoyThadi/ProjectDetails | 185 | FILENAME: DatabaseUtills.java | 0.23092 | package com.miracle.mft.dbUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.datasource.DriverManagerDataSou... |
b913615d-5235-45ef-aa1b-c16e7add21c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-15 11:29:33", "repo_name": "tsundberg/venice", "sub_path": "/src/main/java/se/arbetsformedlingen/venice/log/LatestLogs.java", "file_name": "LatestLogs.java", "file_ext": "java", "file_size_in_byte": 1036, "lin... | https://github.com/tsundberg/venice | 208 | FILENAME: LatestLogs.java | 0.27048 | package se.arbetsformedlingen.venice.log;
import se.arbetsformedlingen.venice.model.Application;
import se.arbetsformedlingen.venice.model.LogType;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
class LatestLogs {
private static ConcurrentMap<String, LogResponse> logRes... |
569a8313-090b-4366-baec-16f826be02f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-19 10:28:27", "repo_name": "YagoYmbern/NaturalComputingProject", "sub_path": "/NaturalComputing/src/nc/solution/chromosome/generator/ChromosomeGeneratorAbstract.java", "file_name": "ChromosomeGeneratorAbstract... | https://github.com/YagoYmbern/NaturalComputingProject | 198 | FILENAME: ChromosomeGeneratorAbstract.java | 0.286169 | /*
* 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 nc.solution.chromosome.generator;
import nc.solution.Chromosome;
import nc.variable.initialize.Generator_Variable;
... |
3fe4ad56-4d0f-4399-8d2e-0d3cabe27255 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-19 18:54:59", "repo_name": "morosanag/OCPP-Project", "sub_path": "/OCPP_Interface_Websocket_REST/src/java/com/offnet/ocpp/controllerS/GetLocalListVersionController.java", "file_name": "GetLocalListVersionContr... | https://github.com/morosanag/OCPP-Project | 204 | FILENAME: GetLocalListVersionController.java | 0.282196 | /*
* 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 com.offnet.ocpp.controllerS;
import com.offnet.ocpp.client.Client;
import com.offnet.ocpp.request.GetLocalListVersionRequest;
... |
1de045a3-cfe9-4384-90d4-01a77924d289 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-01 11:46:20", "repo_name": "NavidEsfahani/Logmatter", "sub_path": "/src/main/java/com/logmatter/services/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 1098, "line... | https://github.com/NavidEsfahani/Logmatter | 212 | FILENAME: UserService.java | 0.246533 | package com.logmatter.services;
import com.google.inject.Singleton;
import com.logmatter.business.UserLogic;
import com.logmatter.guice.GuiceModule;
import com.logmatter.guice.ServerContextListner;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.node.BooleanNode;
import org.codehaus.jackson.n... |
d8705f76-aabb-4e5a-b62e-f33a92156cfb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-10 16:39:26", "repo_name": "shash222/IntroToCS_Assignments", "sub_path": "/Compress.java", "file_name": "Compress.java", "file_ext": "java", "file_size_in_byte": 1233, "line_count": 40, "lang": "en", "doc_type... | https://github.com/shash222/IntroToCS_Assignments | 227 | FILENAME: Compress.java | 0.283781 | import java.io.*;
public class Compress{
public static String compress(String original){
int length=original.length();
String compressed="";
int count=1;
char letter=original.charAt(0);
int letternumber=1;
do{
while(original.charAt(letternumber)==original.... |
012724f5-cc50-43af-a21d-3c05e7b07737 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-31 10:35:05", "repo_name": "nvduong97/CarGara", "sub_path": "/src/com/ptit/model/DetailBill.java", "file_name": "DetailBill.java", "file_ext": "java", "file_size_in_byte": 992, "line_count": 52, "lang": "en", ... | https://github.com/nvduong97/CarGara | 226 | FILENAME: DetailBill.java | 0.236516 | /*
* 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 com.ptit.model;
/**
*
* @author DUONGNV
*/
public class DetailBill {
private int billID;
private String DetailBill... |
8a508798-0fa0-4cdd-854a-9b7c36f4e026 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-08 23:23:43", "repo_name": "gui-freire/Noctua", "sub_path": "/app/src/main/java/com/example/gui_f/Percentage/Presenter/PercentageActivity.java", "file_name": "PercentageActivity.java", "file_ext": "java", "fil... | https://github.com/gui-freire/Noctua | 188 | FILENAME: PercentageActivity.java | 0.268941 | package com.example.gui_f.Percentage.Presenter;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.app.Activity;
import com.example.gui_f.noctua.R;
import com.example.gui_f.Percentage.Presenter.Fragment.PercentageFragment;
public class PercentageActiv... |
d1668dd5-843e-44a2-88ff-6d01c8079efc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-10 13:04:07", "repo_name": "paulovictorv/ckan-api-wrapper", "sub_path": "/app/plugin/CKAN.java", "file_name": "CKAN.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 55, "lang": "en", "doc_typ... | https://github.com/paulovictorv/ckan-api-wrapper | 221 | FILENAME: CKAN.java | 0.256832 | package plugin;
import br.wrapper.ckanclient.CKANClient;
import play.Application;
import play.Logger;
import play.Plugin;
import java.net.URISyntaxException;
/**
* Created by Paulo on 08/06/14.
*/
public class CKAN extends Plugin {
public static CKANClient client;
private Application app;
public CKA... |
c07d3381-5c18-49da-bbee-45a9a20ce62a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-07 03:15:37", "repo_name": "AntonDesilvaProjects/FileStashServices", "sub_path": "/src/main/java/com/filestash/mapper/ContentMapper.java", "file_name": "ContentMapper.java", "file_ext": "java", "file_size_in_b... | https://github.com/AntonDesilvaProjects/FileStashServices | 183 | FILENAME: ContentMapper.java | 0.233706 | package com.filestash.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.filestash.domain.Content;
public class ContentMapper implements RowMapper<Content> {
@Override
public Content mapRow(ResultSet result, int rowNum) throws SQLException ... |
f10c7fd6-affd-43be-83e1-e3f0c343c2e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-05 03:48:32", "repo_name": "y723109056/mx", "sub_path": "/src/main/java/com/mx/enums/ResponseCodeEnum.java", "file_name": "ResponseCodeEnum.java", "file_ext": "java", "file_size_in_byte": 1145, "line_count": 5... | https://github.com/y723109056/mx | 337 | FILENAME: ResponseCodeEnum.java | 0.278257 | package com.mx.enums;
/**
* @author 小米线儿
* @time 2019/2/27 0027
* @QQ 723109056
* @blog https://blog.csdn.net/qq_31407255
*/
public enum ResponseCodeEnum {
CODE_ERROR(999, "自定义错误提示"),
CODE_97(97,"登入用户为空"),
CODE_99(99,"没有权限"),
CODE_100(100,"成功"),
CODE_101(101,"系统异常"),
CODE_102(102,"参数为空"),
... |
3373b291-39b1-4fb2-b08d-6bdc7063b2ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-15 20:59:19", "repo_name": "doubotis/DialogDesignerSC2", "sub_path": "/src/com/doubotis/sc2dd/data/SSize.java", "file_name": "SSize.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 47, "lang"... | https://github.com/doubotis/DialogDesignerSC2 | 227 | FILENAME: SSize.java | 0.277473 | /*
* 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 com.doubotis.sc2dd.data;
import java.util.HashMap;
/**
*
* @author Christophe
*/
public class SSize implements IProperty
{... |
f64766c8-c2f6-4016-9a4f-2e2291c64294 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-27T00:07:52", "repo_name": "samtron1412/docs", "sub_path": "/tech/it/sec/u2f.md", "file_name": "u2f.md", "file_ext": "md", "file_size_in_byte": 1065, "line_count": 32, "lang": "en", "doc_type": "text", "bl... | https://github.com/samtron1412/docs | 272 | FILENAME: u2f.md | 0.235108 | # Overview
Universal 2nd Factor (U2F) is an open authentication standard that
strengthens and simplifies two-factor authentication using specialized
USB or NFC devices based on similar security technology found in smart
cards.
- It covers the entire authentication stack:
+ Hardware
+ Browsers/clients
+ Ne... |
2605339f-0c67-401a-85e8-0ee058b131b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-06 10:41:55", "repo_name": "radu1122/POO", "sub_path": "/tema1/src/video/Movie.java", "file_name": "Movie.java", "file_ext": "java", "file_size_in_byte": 1050, "line_count": 49, "lang": "en", "doc_type": "code... | https://github.com/radu1122/POO | 241 | FILENAME: Movie.java | 0.278257 | package video;
import java.util.ArrayList;
public final class Movie extends Video {
private final int duration;
private double rating = 0;
private int ratingCount = 0;
@Override
public int getDuration() {
return duration;
}
public double getRating() {
return rating;
}
public void setRati... |
73f56622-df29-4d62-b6a1-5e6d3d57ae1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-19 19:39:23", "repo_name": "stepin2it/sept2014", "sub_path": "/MobileClient/app/src/main/java/com/stepin2it/mobile/mobileclient/SplashScreenActivity.java", "file_name": "SplashScreenActivity.java", "file_ext":... | https://github.com/stepin2it/sept2014 | 210 | FILENAME: SplashScreenActivity.java | 0.225417 | package com.stepin2it.mobile.mobileclient;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
/**
* Created by coder on 10/4/14.
*/
public class SplashScreenActivity {
private static final String TAG = "SplashScreenA... |
8d026432-c37f-4228-90b4-165323ee328c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-05T05:37:17", "repo_name": "Khaos-Labs/cosmostation-mobile", "sub_path": "/Cosmos-Android/app/src/main/java/wannabit/io/cosmostaion/model/Delegation_V1.java", "file_name": "Delegation_V1.java", "file_ext": "ja... | https://github.com/Khaos-Labs/cosmostation-mobile | 188 | FILENAME: Delegation_V1.java | 0.268941 | package wannabit.io.cosmostaion.model;
import android.text.TextUtils;
import com.google.gson.annotations.SerializedName;
import java.math.BigDecimal;
import java.util.ArrayList;
import wannabit.io.cosmostaion.base.BaseData;
import wannabit.io.cosmostaion.model.type.Coin;
public class Delegation_V1 {
@Serialize... |
2bc5c460-5741-4bdc-a2ac-b63c12cc024b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-06 06:53:29", "repo_name": "WEIOKING/my-cloud", "sub_path": "/web-server/src/main/java/cn/ply/cloud/webserver/springBean/TestParentBean.java", "file_name": "TestParentBean.java", "file_ext": "java", "file_size... | https://github.com/WEIOKING/my-cloud | 208 | FILENAME: TestParentBean.java | 0.225417 | package cn.ply.cloud.webserver.springBean;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
/**
* @Author ply
* @Description
* @Date created in... |
487fca9d-1d1b-4836-879b-49b52e8e40ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-06 16:53:59", "repo_name": "AncientMariner/Gson-Example", "sub_path": "/workingWithGson/src/main/java/org/gnomes/gson/serialize/DwarfSerializer.java", "file_name": "DwarfSerializer.java", "file_ext": "java", "... | https://github.com/AncientMariner/Gson-Example | 205 | FILENAME: DwarfSerializer.java | 0.287768 | package org.gnomes.gson.serialize;
import com.google.gson.*;
import org.gnomes.model.Dwarf;
import org.gnomes.model.UniqueWeapon;
import org.gnomes.model.Weapon;
import java.lang.reflect.Type;
public class DwarfSerializer implements JsonSerializer<Dwarf> {
@Override
public JsonElement serialize(Dwarf src, Ty... |
222825fd-d952-4648-88b3-e1ba39c978bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-10 13:32:15", "repo_name": "Reangsi/BbcDime2", "sub_path": "/app/src/main/java/bbcag/ch/dime/db/ImageDatabaseHelper.java", "file_name": "ImageDatabaseHelper.java", "file_ext": "java", "file_size_in_byte": 1013... | https://github.com/Reangsi/BbcDime2 | 189 | FILENAME: ImageDatabaseHelper.java | 0.253861 | package bbcag.ch.dime.db;
import android.content.Context;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class ImageDatabaseHelper extends SQLiteOpenHelper {
private static ImageDatabaseHelper instance;
private stat... |
a43ba052-19a9-41aa-b8fc-0414fac21dab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-13 12:01:35", "repo_name": "breys94/Projet-Web-5A", "sub_path": "/breys-equestre/src/main/java/com/breys/breysequestre/affiliation/Affiliation.java", "file_name": "Affiliation.java", "file_ext": "java", "file_... | https://github.com/breys94/Projet-Web-5A | 267 | FILENAME: Affiliation.java | 0.250913 | package com.breys.breysequestre.affiliation;
import javax.persistence.*;
@Entity
@Table(name = "AFFILIATION")
public class Affiliation {
private Integer id;
private Integer idHorse;
private String emailUser;
private Integer idReprise;
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@... |
fa7cd409-2c94-48ee-a27a-18ad3efeb85e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-20T02:14:04", "repo_name": "Amitdedhia6/BlazePose", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1028, "line_count": 11, "lang": "en", "doc_type": "text", "blo... | https://github.com/Amitdedhia6/BlazePose | 207 | FILENAME: README.md | 0.243642 | # BlazePose
My experiementation with BlazePose deep learning algorithm
This is the work I did as part of my engagement with Aerobi Inc as Machine Learning Developer. We are trying to implement a fast pose estimation algorithm that can run on an edge device such as mobile phone. The work done is part of MVP product.
... |
ec354e15-ca4e-4f1d-ae7c-49ae9a8cf7c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-09T07:00:57", "repo_name": "barsukNastya/videocatalog", "sub_path": "/src/main/java/com/melenteva/model/Video.java", "file_name": "Video.java", "file_ext": "java", "file_size_in_byte": 1115, "line_count": 60, ... | https://github.com/barsukNastya/videocatalog | 258 | FILENAME: Video.java | 0.221351 | package com.melenteva.model;
/**
* Created by User on 18.02.2017.
*/
public class Video {
private int Id;
private String videoName;
private String videoAuthor;
private String videoURL;
public Video()
{
this.videoName = "";
this.videoAuthor = "";
this.videoURL = "";
... |
8d92328b-afab-405f-8678-12da9aa39a62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-08-27T21:29:33", "repo_name": "zheryu/LoomyNarty", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 18, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/zheryu/LoomyNarty | 255 | FILENAME: README.md | 0.23793 | # LoomyNarty
A simple console-based program that encodes a line of text into an existing image and extracts the text from the image. Can encode any text
## Encoding
1. Type 'encode' when prompted.
2. Insert your desired message in the next line. The message can be anything from 'message' to '好复杂!这个程序也可以编码中文!'
3. Type ... |
37d6ef32-8c6d-430d-9d1a-b49e95be32a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-05T14:40:27", "repo_name": "cardososamantha/superheromarket", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 989, "line_count": 29, "lang": "en", "doc_type": "te... | https://github.com/cardososamantha/superheromarket | 277 | FILENAME: README.md | 0.233706 | ## Steps to step
To run this project locally, you must follow this steps:
### 0: `Install the CORS Unblock extention`
This is required due to how browsers deal with different domains requests.\
Without this, the connection with the Super Hero API won't be possible.\
Install the extension here -> https://chrome.googl... |
1c9c1523-dc4d-4be5-8585-1fff8fa456f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-01T03:28:01", "repo_name": "arjunpunnam/aws-lambda-coldstart-optimised", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 37, "lang": "en", "do... | https://github.com/arjunpunnam/aws-lambda-coldstart-optimised | 236 | FILENAME: README.md | 0.291787 | # aws-lambda-coldstart-optimised
An example module to demonstarte the cold start optimization of aws-lambda in Java.
Create a new serverless Java project using serverless template
`sls create --template aws-java-maven`
A new serverless project is created in your working directory,update the default configurations... |
01a940d3-9ed5-4866-ba81-43efb16d25c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 11:43:04", "repo_name": "zxc321zxchb/ssm", "sub_path": "/springmvcmybatis/src/com/itheima/springmvc/service/impl/ItemServiceImpl.java", "file_name": "ItemServiceImpl.java", "file_ext": "java", "file_size_in... | https://github.com/zxc321zxchb/ssm | 208 | FILENAME: ItemServiceImpl.java | 0.2227 | package com.itheima.springmvc.service.impl;
import com.itheima.springmvc.mapper.ItemsMapper;
import com.itheima.springmvc.po.Items;
import com.itheima.springmvc.po.QueryVo;
import com.itheima.springmvc.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... |
e86c6a37-7716-4b59-a7c9-5562c6de72cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-29 05:18:55", "repo_name": "arpit209/LearningProject", "sub_path": "/SikuliConcept/src/main/java/ChromeHeadlessBrowser.java", "file_name": "ChromeHeadlessBrowser.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/arpit209/LearningProject | 232 | FILENAME: ChromeHeadlessBrowser.java | 0.277473 | import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
public class ChromeHeadlessBrowser {
public static void main(String[] args) {
System.setProperty(... |
5a2f0b2b-e45d-4c9c-bb94-2d8fa517d18d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-14 21:29:05", "repo_name": "pullagujju79/HBMS", "sub_path": "/HBMS/src/com/igate/hbms/dao/HotelRowMapper1.java", "file_name": "HotelRowMapper1.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count"... | https://github.com/pullagujju79/HBMS | 189 | FILENAME: HotelRowMapper1.java | 0.286968 | /**
*
*/
package com.igate.hbms.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import com.igate.hbms.bean.HotelBean;
/**
* @author Hbms_team4
*
*/
/***********************************************************************************************... |
5c662a80-fd76-4b63-a92f-3a147d69cd3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-25 11:21:53", "repo_name": "sumy7/DoorAccessControlSystem", "sub_path": "/src/com/sumy/dooraccesscontrolsystem/activity/WelcomeActivity.java", "file_name": "WelcomeActivity.java", "file_ext": "java", "file_siz... | https://github.com/sumy7/DoorAccessControlSystem | 229 | FILENAME: WelcomeActivity.java | 0.240775 | package com.sumy.dooraccesscontrolsystem.activity;
import android.os.Handler;
import com.sumy.dooraccesscontrolsystem.R;
/**
* 欢迎界面
*
* @author sumy
*
*/
public class WelcomeActivity extends BaseActivity {
private Handler handler;
private Class toGotoActivity;
@Override
protected int getLay... |
e21f1b13-e6be-417e-af6d-e4bf5ae35299 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 19:03:47", "repo_name": "Caceresenzo/jeldwen", "sub_path": "/backend/backend-glial/src/main/java/jeldwen/backend/glial/convertor/TimeConverter.java", "file_name": "TimeConverter.java", "file_ext": "java", "... | https://github.com/Caceresenzo/jeldwen | 213 | FILENAME: TimeConverter.java | 0.281406 | package jeldwen.backend.glial.convertor;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import javax.persistence.AttributeConverter;
import javax.persistence.Converter;
import org.springframework.stereotype.Component;
/**
* {@link LocalTime} convertor for persistence.<br>
* All... |
7e594153-fa46-4e56-aae5-67f3410d4e1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-18 07:58:59", "repo_name": "zhengqingya/java-workspace", "sub_path": "/SpringCloud系列/02-Sentinel 1.8.4 规则持久化到Nacos/sentinel-dashboard-1.8.4-nacos/src/main/java/com/alibaba/csp/sentinel/dashboard/rule/nacos/flo... | https://github.com/zhengqingya/java-workspace | 187 | FILENAME: FlowRuleNacosProvider.java | 0.243642 | package com.alibaba.csp.sentinel.dashboard.rule.nacos.flow;
import com.alibaba.csp.sentinel.dashboard.datasource.entity.rule.FlowRuleEntity;
import com.alibaba.csp.sentinel.dashboard.rule.DynamicRuleProvider;
import com.alibaba.csp.sentinel.dashboard.rule.nacos.NacosConfigUtil;
import com.alibaba.nacos.api.config.Conf... |
617172b4-a904-406f-911d-42420fb86c7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-10 15:40:58", "repo_name": "MohebMak/server-client-chat", "sub_path": "/src/client.java", "file_name": "client.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": 41, "lang": "en", "doc_type": ... | https://github.com/MohebMak/server-client-chat | 192 | FILENAME: client.java | 0.272025 | import java.io.*;
import java.net.*;
class client {
public static void main(String args[]) throws Exception
{
InetAddress ipAddress = InetAddress.getByName("localhost");
Socket clientSocket = new Socket(ipAddress, 6789);
DataOutputStream outToServer =
new DataOutput... |
77491d47-4880-4449-94e0-416d62efae7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 11:35:25", "repo_name": "KamilS123/JSP_SKLEP", "sub_path": "/src/main/java/com/kamil/jsp_sklep/servlets/ProductsServlets.java", "file_name": "ProductsServlets.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/KamilS123/JSP_SKLEP | 179 | FILENAME: ProductsServlets.java | 0.285372 | package com.kamil.jsp_sklep.servlets;
import com.kamil.jsp_sklep.dao.impl.ProductJsonDaoImpl;
import com.kamil.jsp_sklep.dao.spec.ProductDao;
import com.kamil.jsp_sklep.models.Product;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import jav... |
1a68ae32-9986-4fed-a4f8-f10bb915d03b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-13 06:15:52", "repo_name": "sardorsamadov926611/DABAWS", "sub_path": "/src/main/java/uz/daba/gateway/transports/nalog/BaseNalogResult.java", "file_name": "BaseNalogResult.java", "file_ext": "java", "file_size_... | https://github.com/sardorsamadov926611/DABAWS | 199 | FILENAME: BaseNalogResult.java | 0.224055 | package uz.daba.gateway.transports.nalog;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
public class BaseNalogResult implements Serializable {
@JsonProperty("code")
private Integer result_code;
@JsonProperty("text")
private String result_message;
public BaseN... |
1d2e7262-6e91-4a92-99eb-574eca9e55fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-28 03:26:27", "repo_name": "wocommunity/wonder", "sub_path": "/Frameworks/PlugIns/EROraclePlugIn/Sources/com/webobjects/jdbcadaptor/EROracleExpressionDelegate.java", "file_name": "EROracleExpressionDelegate.ja... | https://github.com/wocommunity/wonder | 194 | FILENAME: EROracleExpressionDelegate.java | 0.271252 | package com.webobjects.jdbcadaptor;
import com.webobjects.eoaccess.EOEntity;
import com.webobjects.eoaccess.EORelationship;
import com.webobjects.foundation.NSArray;
import com.webobjects.foundation._NSStringUtilities;
import com.webobjects.jdbcadaptor.EROracleExpression.Delegate;
public class EROracleExpressionDeleg... |
ac8cdee7-64c0-4017-bdbf-ae055019c0e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-28 03:44:47", "repo_name": "TangGuangChuan/SendEmail", "sub_path": "/src/test/java/com/example/email/service/ServiceTest.java", "file_name": "ServiceTest.java", "file_ext": "java", "file_size_in_byte": 1165, "... | https://github.com/TangGuangChuan/SendEmail | 262 | FILENAME: ServiceTest.java | 0.243642 | package com.example.email.service;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import javax.annotation.Resource;
import javax.mail.MessagingException;
@RunWith(SpringRunner.class)
@Sp... |
2a87416a-63aa-48ea-9afd-dc8ac5407827 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-14 09:55:25", "repo_name": "q6527127/ssm-mysql", "sub_path": "/src/main/java/com/example/config/FilterConfig.java", "file_name": "FilterConfig.java", "file_ext": "java", "file_size_in_byte": 1014, "line_count"... | https://github.com/q6527127/ssm-mysql | 184 | FILENAME: FilterConfig.java | 0.250913 | package com.example.config;
import java.util.ArrayList;
import java.util.List;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import com.example.filter.CustomFilter;
import com.exampl... |
843a616b-99fb-4958-a4fb-86f46187baa8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 10:47:56", "repo_name": "wolvesleader/interview", "sub_path": "/base_java/src/main/java/com/quincy/java/netty/transportcustomobject/handler/AccountMessageEncoder.java", "file_name": "AccountMessageEncoder.j... | https://github.com/wolvesleader/interview | 193 | FILENAME: AccountMessageEncoder.java | 0.261331 | package com.quincy.java.netty.transportcustomobject.handler;
import com.quincy.java.netty.transportcustomobject.domain.Account;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;
import java.io.ByteArrayOutputStream;
import java.io.Object... |
84228dd3-bd48-4787-8dba-68579ff704aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 08:51:19", "repo_name": "fangkun202303/quartz", "sub_path": "/bootquartz/src/main/java/com/multimodule/bootquartz/task/MyCustomTask.java", "file_name": "MyCustomTask.java", "file_ext": "java", "file_size_in... | https://github.com/fangkun202303/quartz | 263 | FILENAME: MyCustomTask.java | 0.262842 | package com.multimodule.bootquartz.task;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
*... |
db5f6bab-b4fa-4b0e-9867-96a479fbdba0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-04 03:13:04", "repo_name": "yueyakun/my-demo", "sub_path": "/aop-learning/src/main/java/com/fxg/controller/TestAopController.java", "file_name": "TestAopController.java", "file_ext": "java", "file_size_in_byte... | https://github.com/yueyakun/my-demo | 224 | FILENAME: TestAopController.java | 0.218669 | package com.fxg.controller;
import com.fxg.annotation.ApiLog;
import com.fxg.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.ann... |
e7166333-6691-4dca-af93-02712fe06bb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 07:47:46", "repo_name": "pmarkotan/startmedsol-prototype", "sub_path": "/src/main/java/hu/paninform/startmedsol/service/mapper/PphMedicineQualifiedNameMapper.java", "file_name": "PphMedicineQualifiedNameMap... | https://github.com/pmarkotan/startmedsol-prototype | 218 | FILENAME: PphMedicineQualifiedNameMapper.java | 0.26588 | package hu.paninform.startmedsol.service.mapper;
import hu.paninform.startmedsol.domain.*;
import hu.paninform.startmedsol.service.dto.PphMedicineQualifiedNameDTO;
import org.mapstruct.*;
/**
* Mapper for the entity {@link PphMedicineQualifiedName} and its DTO {@link PphMedicineQualifiedNameDTO}.
*/
@Mapper(compo... |
b9c4b869-ce92-40fb-94f0-a1561ab7a97b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-08 06:10:14", "repo_name": "18201597650/LxSuprise", "sub_path": "/module_suprise/src/main/java/com/example/module_suprise/SupriseActivity.java", "file_name": "SupriseActivity.java", "file_ext": "java", "file_s... | https://github.com/18201597650/LxSuprise | 185 | FILENAME: SupriseActivity.java | 0.217338 | package com.example.module_suprise;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;
import com.alibaba.android.arouter.facade.anno... |
f3c58fa8-e417-4ff3-bb60-5e4cb681128a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-05 15:20:58", "repo_name": "ZayPhyo01/MSimple", "sub_path": "/app/src/main/java/com/example/msimple/data/model/CategoryModel.java", "file_name": "CategoryModel.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/ZayPhyo01/MSimple | 190 | FILENAME: CategoryModel.java | 0.283781 | package com.example.msimple.data.model;
import com.example.msimple.Delegate.CategoryDelegate;
import com.example.msimple.data.vos.CategoryVO;
import com.example.msimple.utils.AppConstants;
import java.util.List;
public class CategoryModel extends BaseModel implements ICategoryModel {
private static CategoryMode... |
f1fad10a-34b9-4a96-a545-91c22439d53c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-27 13:37:12", "repo_name": "Chuckame/dofus-protocol", "sub_path": "/src/main/java/org/chuckame/dofus2/protocol/messages/game/alliance/AllianceModificationNameAndTagValidMessage.java", "file_name": "AllianceMod... | https://github.com/Chuckame/dofus-protocol | 249 | FILENAME: AllianceModificationNameAndTagValidMessage.java | 0.295027 | package org.chuckame.dofus2.protocol.messages.game.alliance;
import org.chuckame.dofus2.common.io.IDataReader;
import org.chuckame.dofus2.common.io.IDataWriter;
import org.chuckame.dofus2.common.io.INetworkMessage;
import lombok.Data;
import lombok.ToString;
import lombok.EqualsAndHashCode;
@Data
@ToString
@EqualsA... |
59b88584-32a5-4899-8f19-3113fa3f6890 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-06 07:16:45", "repo_name": "331264105/Cloth", "sub_path": "/Cloth-manager/Cloth-manager-serviceImpl/src/main/java/com/didu/serviceImpl/AddressServiceImpl.java", "file_name": "AddressServiceImpl.java", "file_ex... | https://github.com/331264105/Cloth | 233 | FILENAME: AddressServiceImpl.java | 0.27513 | package com.didu.serviceImpl;
import com.didu.dao.AddressDao;
import com.didu.domain.Address;
import com.didu.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import ja... |
022b5556-bcf2-419d-85d9-e1f4dce32573 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-25 07:24:16", "repo_name": "raktotpal/MyInternal", "sub_path": "/src/main/java/com/kogentix/internal/kafka/test/KafkaProducer.java", "file_name": "KafkaProducer.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/raktotpal/MyInternal | 286 | FILENAME: KafkaProducer.java | 0.279042 | package com.kogentix.internal.kafka.test;
import java.util.Properties;
import kafka.javaapi.producer.Producer;
import kafka.producer.KeyedMessage;
import kafka.producer.ProducerConfig;
public class KafkaProducer {
public static void main(String[] args) throws InterruptedException {
Properties props =... |
41d6a771-98c2-43f1-8f30-e18fec5af7b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-24 11:43:21", "repo_name": "zhouzhutou/tszh", "sub_path": "/src/main/java/com/tszh/vo/responseVO/ResAddressVO.java", "file_name": "ResAddressVO.java", "file_ext": "java", "file_size_in_byte": 1143, "line_count... | https://github.com/zhouzhutou/tszh | 253 | FILENAME: ResAddressVO.java | 0.213377 | package com.tszh.vo.responseVO;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* Created by Administrator on 2018/5/30 0030.
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResAddressVO {
private String province;
private String city;
private String county;
private String str... |
b39d11c7-aaec-4cdd-971b-d68a89cdfc8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-02T04:35:51", "repo_name": "blahah/nala-stream", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1034, "line_count": 35, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/blahah/nala-stream | 290 | FILENAME: README.md | 0.229535 | ---
<div align="center">
<h1>nala-stream</h1>
<h2>WIP - very simple opinionated streaming natural language processing</h2>
<p>
<a href="https://npmjs.com/packages/nala-stream" alt="npm package">
<img src="https://img.shields.io/npm/v/nala-stream.svg?style=flat-square">
</a>
<a href="https://git... |
c2d4b380-9b4f-40d5-a710-18adb85c30c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-16 18:36:54", "repo_name": "drmitchell85/Udacity-News-App-Stage-2", "sub_path": "/app/src/main/java/com/example/android/newsappstage1/Article.java", "file_name": "Article.java", "file_ext": "java", "file_size_... | https://github.com/drmitchell85/Udacity-News-App-Stage-2 | 237 | FILENAME: Article.java | 0.218669 | package com.example.android.newsappstage1;
public class Article {
private String mArticleName;
private String mArticleUrl;
private String mArticleType;
private String mArticleSubject;
private String mArticleDate;
private String mArticleAuthor;
public Article(String articleName, String arti... |
fb91d66a-83fc-4e80-80f2-c21e3dab147e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-01 20:18:58", "repo_name": "skylot/jadx", "sub_path": "/jadx-core/src/main/java/jadx/api/plugins/JadxPluginInfo.java", "file_name": "JadxPluginInfo.java", "file_ext": "java", "file_size_in_byte": 1203, "line_c... | https://github.com/skylot/jadx | 271 | FILENAME: JadxPluginInfo.java | 0.264358 | package jadx.api.plugins;
public class JadxPluginInfo {
private final String pluginId;
private final String name;
private final String description;
private final String homepage;
/**
* Conflicting plugins should have the same 'provides' property; only one will be loaded
*/
private final String provides;
p... |
373e0e56-4141-4a9e-a3f2-0294e217bdc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-15 09:09:58", "repo_name": "iamshijun/cas-client-spring-support-parent", "sub_path": "/cas-client-spring-support/src/main/java/com/github/iamshijun/passport/cas/filter/VirtualFilterChain.java", "file_name": "V... | https://github.com/iamshijun/cas-client-spring-support-parent | 224 | FILENAME: VirtualFilterChain.java | 0.287768 | package com.github.iamshijun.passport.cas.filter;
import java.io.IOException;
import java.util.List;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
//spring也有同名(作用一样)的类,和CompositeFilter
/... |
c06319a7-be58-49ba-8606-c91476c3d8e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-09 10:02:25", "repo_name": "jinhm007/fkbookapp", "sub_path": "/fkbookapp/src/main/java/com/example/fkbookapp/controller/BookController.java", "file_name": "BookController.java", "file_ext": "java", "file_size_... | https://github.com/jinhm007/fkbookapp | 240 | FILENAME: BookController.java | 0.262842 | package com.example.fkbookapp.controller;
import com.example.fkbookapp.model.Book;
import com.example.fkbookapp.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod... |
15b6db7d-f198-49cd-b35c-b125c4bcee4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-24 22:30:19", "repo_name": "LuceroRosadio/NavigationViewAndroid", "sub_path": "/app/src/main/java/com/amcor/opcion/createOrder/ContainerFragment.java", "file_name": "ContainerFragment.java", "file_ext": "java"... | https://github.com/LuceroRosadio/NavigationViewAndroid | 202 | FILENAME: ContainerFragment.java | 0.243642 | package com.amcor.opcion.createOrder;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.amcor.R;
/... |
3a917da4-bd4e-486b-9d22-62f64ba72ffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-25 15:29:51", "repo_name": "Fazlul69/OnlineShop", "sub_path": "/app/src/main/java/com/example/onlineshop/adapter/TabViewPagerAdapter.java", "file_name": "TabViewPagerAdapter.java", "file_ext": "java", "file_si... | https://github.com/Fazlul69/OnlineShop | 193 | FILENAME: TabViewPagerAdapter.java | 0.246533 | package com.example.onlineshop.adapter;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
import com.example.onlineshop.fragment.BrandsFragment;
import com.example.onlineshop.fragment.CategoriesFr... |
47cabce9-c076-4b73-afd7-2d9bd79b41b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 14:42:18", "repo_name": "sathya27works/reflect-middle-quiz", "sub_path": "/reflect/src/main/java/com/future/works/reflect/controller/BlindQuizController.java", "file_name": "BlindQuizController.java", "file... | https://github.com/sathya27works/reflect-middle-quiz | 220 | FILENAME: BlindQuizController.java | 0.267408 | package com.future.works.reflect.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind... |
9016a1db-56b6-473a-9063-2cefaf89b268 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-02-02T09:30:48", "repo_name": "apache/servicecomb-docs", "sub_path": "/java-chassis-reference/en_US/docs/start/architecture.md", "file_name": "architecture.md", "file_ext": "md", "file_size_in_byte": 1145, "l... | https://github.com/apache/servicecomb-docs | 205 | FILENAME: architecture.md | 0.226784 | # Java Chassis Architecture
## Basic Framework

## Purpose
1.To decouple the programming model and communication model, so that a programming model can be combined with any communication models as needed. Application developers only need to focus on APIs d... |
2397cec8-cb38-4ff6-bae4-4ca638ca6794 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-06-21 22:00:46", "repo_name": "jdbermeol/FTSI2", "sub_path": "/samples/EMDecouplingSample/src/main/java/com/mlg/acciones/service/ServiceBuilder.java", "file_name": "ServiceBuilder.java", "file_ext": "java", "file... | https://github.com/jdbermeol/FTSI2 | 232 | FILENAME: ServiceBuilder.java | 0.282196 | package com.mlg.acciones.service;
/**
*
* @author josebermeo
*/
public class ServiceBuilder {
private CompanyService companyService;
private DateService dateService;
private MarketService marketService;
private QuoteService quoteService;
private StockService stockService;
public Co... |
f6a5fb95-0864-4db0-ac2b-ec91a2e0b33f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-04 18:04:45", "repo_name": "mugo367/SIMPLEFMS", "sub_path": "/src/main/java/simple/fms/ui/FarmerAddEquipmentUI.java", "file_name": "FarmerAddEquipmentUI.java", "file_ext": "java", "file_size_in_byte": 1204, "l... | https://github.com/mugo367/SIMPLEFMS | 199 | FILENAME: FarmerAddEquipmentUI.java | 0.246533 | package simple.fms.ui;
import simple.fms.model.Equipment;
import java.text.ParseException;
import java.util.Scanner;
public class FarmerAddEquipmentUI {
public static Equipment getEquipment(){
Equipment equipment = new Equipment();
Scanner scanner = new Scanner(System.in);
System.out.pr... |
33580dfd-b871-489f-86f4-c99860ea785b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-26 14:26:25", "repo_name": "Erickype/Compra-Articulos", "sub_path": "/ProyectoCompraArticulos/src/ClasesArticulos/Articulo.java", "file_name": "Articulo.java", "file_ext": "java", "file_size_in_byte": 1053, "l... | https://github.com/Erickype/Compra-Articulos | 241 | FILENAME: Articulo.java | 0.26971 | /*
* 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 ClasesArticulos;
import java.util.Objects;
/**
*
* @author Erick
*/
public class Articulo {
String des... |
2473833a-f2f9-4d94-896d-b32c645cf850 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 08:22:24", "repo_name": "s18625/zdaj.SeApp", "sub_path": "/back/src/main/java/pjatk/mas/imp/models/Post.java", "file_name": "Post.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count": 57, "lan... | https://github.com/s18625/zdaj.SeApp | 220 | FILENAME: Post.java | 0.243642 | package pjatk.mas.imp.models;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "Post")
@Inheritance(strategy = InheritanceType.JOINED)
public abstract class Post {
public Post() {
}
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private Strin... |
292c6692-cab0-4d31-9e3f-5025ddd941b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-09 18:53:42", "repo_name": "GMousouris/Projects_preview", "sub_path": "/Java/Dictionary/MyButton2.java", "file_name": "MyButton2.java", "file_ext": "java", "file_size_in_byte": 1143, "line_count": 51, "lang": ... | https://github.com/GMousouris/Projects_preview | 268 | FILENAME: MyButton2.java | 0.285372 | import javax.swing.JButton;
import java.awt.*;
import javax.swing.*;
public class MyButton2 extends JButton{
private boolean focus = false;
private int id;
private word wordd;
public MyButton2(){
super();
}
public MyButton2(String name,word wordd){
super(name);
//this.setB... |
52c5c3e1-9b85-4cf4-be24-295bce8bcc54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 02:25:48", "repo_name": "biantaiwuzui/netx", "sub_path": "/trunk/netx-shopping-mall/src/main/java/com/netx/shopping/biz/business/RedpacketRecordAction.java", "file_name": "RedpacketRecordAction.java", "file... | https://github.com/biantaiwuzui/netx | 230 | FILENAME: RedpacketRecordAction.java | 0.290176 | package com.netx.shopping.biz.business;
import com.netx.common.user.model.UserSynopsisData;
import com.netx.common.vo.business.RedpacketRecordDto;
import com.netx.shopping.service.business.RedpacketRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Servi... |
a1db0c97-65be-4fc3-ba43-4b32f8e2351a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-30 10:23:22", "repo_name": "szewa-91/sauron", "sub_path": "/server/src/main/java/com/sauron/view/UserView.java", "file_name": "UserView.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 56, "... | https://github.com/szewa-91/sauron | 245 | FILENAME: UserView.java | 0.259826 | package com.sauron.view;
import java.io.Serializable;
import java.util.Collection;
public class UserView implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private String username;
private String email;
private Collection<BankAccountView> banks;
publi... |
a5e4bbf8-8ec9-43c2-8847-f94e836d061d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-23 13:50:17", "repo_name": "developeramit3/OnlineMaklarna", "sub_path": "/app/src/main/java/Fragments/Fragment_Photos.java", "file_name": "Fragment_Photos.java", "file_ext": "java", "file_size_in_byte": 1205, ... | https://github.com/developeramit3/OnlineMaklarna | 203 | FILENAME: Fragment_Photos.java | 0.233706 | package Fragments;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import a... |
26641ec9-e379-442d-8245-c9653f3e7fec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-19 00:27:37", "repo_name": "uttam028/healthvault", "sub_path": "/hvr/src/cse/mlab/hvr/client/Concussion.java", "file_name": "Concussion.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 41, "... | https://github.com/uttam028/healthvault | 248 | FILENAME: Concussion.java | 0.255344 | package cse.mlab.hvr.client;
import org.gwtbootstrap3.client.ui.Anchor;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiHandler;
import com.g... |
dbccf602-8feb-41df-890e-4ccbc53391d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-19 02:00:31", "repo_name": "jordansimsmith/feedr", "sub_path": "/server/src/main/java/com/feeder/server/provider/hackernews/HackerNewsFeedProvider.java", "file_name": "HackerNewsFeedProvider.java", "file_ext":... | https://github.com/jordansimsmith/feedr | 216 | FILENAME: HackerNewsFeedProvider.java | 0.27048 | package com.feeder.server.provider.hackernews;
import com.feeder.server.model.HackerNewsData;
import com.feeder.server.provider.FeedProvider;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebClient;
import reactor.core.publisher.Flux;
@Service
public class Hack... |
0efb6ae2-84ba-4957-b689-08080927b93e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-16 21:43:00", "repo_name": "andrewrlee/konduti-view", "sub_path": "/src/main/java/uk/co/optimisticpanda/utils/Functions.java", "file_name": "Functions.java", "file_ext": "java", "file_size_in_byte": 1059, "lin... | https://github.com/andrewrlee/konduti-view | 239 | FILENAME: Functions.java | 0.278257 | package uk.co.optimisticpanda.utils;
import static com.google.common.base.CaseFormat.LOWER_UNDERSCORE;
import static com.google.common.base.CaseFormat.UPPER_CAMEL;
import static com.google.common.base.CharMatcher.BREAKING_WHITESPACE;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
pu... |
63eaa219-cdef-4bd0-a791-6fae94eea646 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-16 10:48:32", "repo_name": "alibaba/Sentinel", "sub_path": "/sentinel-transport/sentinel-transport-netty-http/src/main/java/com/alibaba/csp/sentinel/transport/heartbeat/client/HttpClientsFactory.java", "file_n... | https://github.com/alibaba/Sentinel | 194 | FILENAME: HttpClientsFactory.java | 0.235108 | package com.alibaba.csp.sentinel.transport.heartbeat.client;
import com.alibaba.csp.sentinel.transport.endpoint.Protocol;
import com.alibaba.csp.sentinel.transport.ssl.SslFactory;
import org.apache.http.conn.ssl.NoopHostnameVerifier;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.im... |
eb7d3e86-b55d-43bf-b410-fef31bbc90fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-01 08:15:40", "repo_name": "Halarious/Evolaris-SmartTourism", "sub_path": "/c_location/src/main/java/hr/evolaris/air/foi/evolaris_smarttourism/c_location/Location.java", "file_name": "Location.java", "file_ext... | https://github.com/Halarious/Evolaris-SmartTourism | 249 | FILENAME: Location.java | 0.214691 | package hr.evolaris.air.foi.evolaris_smarttourism.c_location;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
public class Location
{
@SerializedName("geometry")
@Expose
public Geometry geometry;
@Serial... |
7728a037-09e6-49c5-9ca6-3d1e1a115305 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-23 10:07:59", "repo_name": "AndyZhuWei/shiro-demo", "sub_path": "/src/main/java/com/andy/shiro/chapter2/MyRealm1.java", "file_name": "MyRealm1.java", "file_ext": "java", "file_size_in_byte": 1290, "line_count"... | https://github.com/AndyZhuWei/shiro-demo | 237 | FILENAME: MyRealm1.java | 0.258326 | package com.andy.shiro.chapter2;
import org.apache.shiro.authc.*;
import org.apache.shiro.realm.Realm;
public class MyRealm1 implements Realm {
public String getName() {
return "myrealm1";
}
public boolean supports(AuthenticationToken authenticationToken) {
/**
* 仅支持UsernamePass... |
f1f153b3-fa29-47d5-a96f-0646fc343e42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-19 01:32:58", "repo_name": "thuanrua88/BartendingDrink", "sub_path": "/app/src/main/java/com/example/bartending_drink_app/model/object_backend/login/ResponseLogin.java", "file_name": "ResponseLogin.java", "fil... | https://github.com/thuanrua88/BartendingDrink | 225 | FILENAME: ResponseLogin.java | 0.200558 | package com.example.bartending_drink_app.model.object_backend.login;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ResponseLogin {
@SerializedName("Infor")
@Expose
private Infor infor;
@SerializedName("Token")
@Expose
private String ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.