id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
5f77496b-e2eb-4310-88c0-09acbe27a715
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-10 15:43:39", "repo_name": "srousser/Library", "sub_path": "/IdeaProjects/Library/src/BookList.java", "file_name": "BookList.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count": 68, "lang": "en"...
import java.util.ArrayList; /** * Created by Student on 5/9/2016. */ public class BookList implements LibraryList<Book> { ArrayList<Book> list; public BookList() { list = new ArrayList<Book>(); } public Book getBook(String name) { for (Book book : list) { if (book.getTit...
6a7745df-543b-4fb7-bf90-f43ed34189b6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-03 02:40:13", "repo_name": "hekar/Cahoots", "sub_path": "/projects/cahoots-eclipse/src/main/java/com/cahoots/connection/serialize/send/SendShareDocumentMessage.java", "file_name": "SendShareDocumentMessage.jav...
package com.cahoots.connection.serialize.send; import java.util.List; public class SendShareDocumentMessage { private final String service = "op"; private final String type = "share"; private String user; private String documentId; private String fileContents; private List<String> collaborators; public SendS...
266d29ee-a113-4a5b-9a56-6b4ca88bec7e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-01 01:57:58", "repo_name": "jiashuaishuai/XZPullToRefreshVIew", "sub_path": "/app/src/main/java/com/example/shuaijia/xzpulltorefreshview/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java"...
package com.example.shuaijia.xzpulltorefreshview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ScrollView; import com.example.shuaijia.xzpulltorefreshview.pulltorefreshview.GlobalRefresh; import java.sql.Time; import in.srain.cube.views.p...
057fa42d-02d0-4ce4-a913-2a93f6b9bf82
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-03 00:36:23", "repo_name": "ingfrancisco1988/apiCurso", "sub_path": "/src/main/java/ar/com/batalla/naval/model/Ship.java", "file_name": "Ship.java", "file_ext": "java", "file_size_in_byte": 1193, "line_count":...
package ar.com.batalla.naval.model; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.persistence.*; import com.fasterxml.jackson.annotation.JsonIgnore; @Entity public class Ship { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @JsonIgnore private Long i...
18c2030f-e69c-455d-9ff3-3a11098cefce
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-20 04:01:04", "repo_name": "gong-h/xiaolan", "sub_path": "/src/main/java/com/xiaolan/authority/controller/AuthMenuController.java", "file_name": "AuthMenuController.java", "file_ext": "java", "file_size_in_byt...
package com.xiaolan.authority.controller; import com.xiaolan.authority.domain.Menu; import com.xiaolan.authority.service.IMenuService; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotyp...
c0c52483-53f9-4057-aa85-178187092659
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-13 16:32:46", "repo_name": "bnmathews/unit2Classes", "sub_path": "/Ch3Programs/Door.java", "file_name": "Door.java", "file_ext": "java", "file_size_in_byte": 1194, "line_count": 58, "lang": "en", "doc_type": "...
/** * Write a description of class fbhfhdhthf here. * * @author (your name) * @version (a version number or a date) */ public class Door { private String front; private String name; //true = open false = closed private String state; /** description of instance variable x (ad...
f5c1be35-ffbc-484b-adf8-6c9cd40a50c1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-27 18:51:27", "repo_name": "ashirobokov/bank-online", "sub_path": "/payment-selector/src/main/java/ru/ashirobokov/payment/selector/flow/PaymentSelector.java", "file_name": "PaymentSelector.java", "file_ext": "...
package ru.ashirobokov.payment.selector.flow; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.stream.annotation.StreamListener; import org.springframework.messaging.Message; import org.springframework.messaging.support.MessageBuilder; im...
01d6087f-e164-430f-ac7b-d31ef4992b85
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-24 13:33:48", "repo_name": "rameshmese/calendarapp", "sub_path": "/src/main/java/com/ramesh/calendarapp/dao/UserDao.java", "file_name": "UserDao.java", "file_ext": "java", "file_size_in_byte": 1192, "line_coun...
package com.ramesh.calendarapp.dao; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.Auto...
67e8b148-acb6-4e74-b596-8bfccaf0e3c9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 17:03:11", "repo_name": "chaulong78/ONLINE-TRACKING-01", "sub_path": "/src/main/java/com/msp/controller/MainController.java", "file_name": "MainController.java", "file_ext": "java", "file_size_in_byte": 119...
package com.msp.controller; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.Reques...
a94d930c-39ca-4c23-8a7f-a627a838453b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-07 09:44:42", "repo_name": "Mostafayehya/ITI-Java-IO", "sub_path": "/src/main/java/Day2/lab2/UDPFileSender.java", "file_name": "UDPFileSender.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count":...
package Day2.lab2; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.net.*; import java.nio.charset.StandardCharsets; public class UDPFileSender { public static void main(String[] args) { DatagramSocket dgSocket = null; try { dgSocket =...
2276a923-c3e1-48b1-982a-62eb4337ad84
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-25 05:34:24", "repo_name": "DarksKnight/ezevent", "sub_path": "/ezevent-project/src/main/java/com/ez/event/internal/flow/CreateConsumerEventEmitter.java", "file_name": "CreateConsumerEventEmitter.java", "file_...
package com.ez.event.internal.flow; import com.ez.event.internal.thread.ExecRunnable; import com.ez.event.internal.thread.ThreadExecutors; import com.ez.event.internal.thread.ThreadToken; /** * @author shy * @date 2018/11/18 */ public class CreateConsumerEventEmitter implements ConsumerEventEmitter { private ...
41866250-2e19-4e82-8b82-e8d83099efe2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-06 18:46:57", "repo_name": "raxuk/HundirServlet", "sub_path": "/src/controlador/SalirPartidaServlet.java", "file_name": "SalirPartidaServlet.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": ...
package controlador; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import modelo.Part...
c3d14aa8-699b-4b3d-8fbe-69197c33c1f6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 15:21:01", "repo_name": "ebi-uniprot/QuickGOBE", "sub_path": "/annotation-rest/src/test/java/uk/ac/ebi/quickgo/annotation/coterms/CoTermRepositorySimpleMapFailedRetrievalIT.java", "file_name": "CoTermReposi...
package uk.ac.ebi.quickgo.annotation.coterms; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.conte...
2c41ac47-dda6-409b-aa13-398aa7f53839
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-10 06:18:54", "repo_name": "JDZhao/QQResourceCollection", "sub_path": "/course.storage/src/main/java/course/storage/imp/ResourceProcess.java", "file_name": "ResourceProcess.java", "file_ext": "java", "file_siz...
package course.storage.imp; import java.util.List; import course.spider.entity.WebSitesNewList; import course.storage.configuration.ConfigUration; import course.storage.interfaces.IResourceProcess; /** * 多线程资源处理的抽象类 * * @author zhaojd * @date 2016年10月24日 下午11:06:34 * @version 1.0 */ public abst...
0a6e8f16-9d1e-44be-93d2-0c846bd1ac7d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-02 03:02:26", "repo_name": "semantic-gitlog/semantic-commit", "sub_path": "/src/main/java/team/yi/tools/semanticcommit/model/IssueRef.java", "file_name": "IssueRef.java", "file_ext": "java", "file_size_in_byte...
package team.yi.tools.semanticcommit.model; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; import java.io.Serializable; @Getter @EqualsAndHashCode(onlyExplicitlyIncluded = true) @ToString(onlyExplicitlyIncluded = true) public class IssueRef implements Serializable { private static...
e3a0b037-03f0-4944-896d-677f626ed28a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-06 15:21:41", "repo_name": "zndy10/Theseed-back-end", "sub_path": "/src/main/java/com/seed/service/impl/InformationServiceImpl.java", "file_name": "InformationServiceImpl.java", "file_ext": "java", "file_size_...
package com.seed.service.impl; import com.github.pagehelper.PageHelper; import com.seed.dao.InformationMapper; import com.seed.enums.PageConstant; import com.seed.enums.RecordStatusEnum; import com.seed.model.Information; import com.seed.model.InformationExample; import com.seed.service.InformationService; import org....
fb326e9a-3ad4-4634-b08b-9ce76ad66f54
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-24T07:09:06", "repo_name": "coin-mwk/DailyPractice", "sub_path": "/eclipse/Web02/src/fitz/servlet/LoginServlet.java", "file_name": "LoginServlet.java", "file_ext": "java", "file_size_in_byte": 1295, "line_coun...
package fitz.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import fitz.pojo.User; import fitz.service.UserService; import fitz.service.impl.UserServiceImpl;...
0ea120c7-b736-43d7-b890-0b0be38d1034
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-12 22:31:51", "repo_name": "igorroncevic/isa2020-backend", "sub_path": "/src/main/java/team18/pharmacyapp/model/medicine/ReservedMedicines.java", "file_name": "ReservedMedicines.java", "file_ext": "java", "fil...
package team18.pharmacyapp.model.medicine; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import org.hibernate.annotations.GenericGenerator; import team18.pharmacyapp.model.Pharmacy; import team18.pharmacyapp.model.users.Patient; import javax.persistence...
555a2d4e-e5e6-4158-a105-6462686ecfde
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-18 08:36:37", "repo_name": "chenxiangzhen/taotao", "sub_path": "/taotao-web/src/main/java/com/taotao/controller/ContentController.java", "file_name": "ContentController.java", "file_ext": "java", "file_size_in...
package com.taotao.controller; import com.taotao.common.pojo.TaotaoResult; import com.taotao.common.utils.HttpClientUtil; import com.taotao.pojo.TbContent; import com.taotao.service.ContentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value;...
438efcf2-a80c-4e73-94a0-8179ed9331fd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-23 18:41:57", "repo_name": "ovenbits/QuickActionView", "sub_path": "/quickactionview/src/main/java/com/ovenbits/quickactionview/ActionTitleView.java", "file_name": "ActionTitleView.java", "file_ext": "java", "...
package com.ovenbits.quickactionview; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.widget.TextView; /** * Shows the title of the Action */ @SuppressLint("ViewConstructor") class ActionTitleView extends TextView {...
f20c1cd0-f65d-4c2f-b623-b5af51222498
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-17 19:18:58", "repo_name": "JoseSpx/Drinkeros-Back-end", "sub_path": "/src/main/java/com/josespx/drinkeros/service/ProviderServiceImpl.java", "file_name": "ProviderServiceImpl.java", "file_ext": "java", "file_...
package com.josespx.drinkeros.service; import com.josespx.drinkeros.dao.ProviderDao; import com.josespx.drinkeros.model.Provider; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.u...
25a647a9-b1f3-44b5-82f8-bcae73688f2d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-12 11:39:15", "repo_name": "MarcoM5/mongo-crud", "sub_path": "/src/main/java/com/bm/mongocrud/dataaccessobject/MovieDao.java", "file_name": "MovieDao.java", "file_ext": "java", "file_size_in_byte": 1191, "line...
package com.bm.mongocrud.dataaccessobject; import com.bm.mongocrud.model.Movie; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Component; import java.util.List; import java.util.NoSuchElementException; import java.util.Optional; @Slf4j @Component @Requi...
74525f85-5cb3-41a7-ab35-a57922254e72
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-13 13:23:35", "repo_name": "ayushshrivastava2507/HackerNews", "sub_path": "/src/main/java/com/hackernews/rest/entities/Comments.java", "file_name": "Comments.java", "file_ext": "java", "file_size_in_byte": 119...
package com.hackernews.rest.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table (name = "comments") public class Comments { @Id @Column(name="COMMENT_ID") private Integer commentId; @Column(name="PARENT") priv...
1e5400e5-eab9-4650-b7f6-6a09c2a9a78c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-07 08:33:16", "repo_name": "sa-mamun/Android-Code", "sub_path": "/RadioButton/app/src/main/java/demo2/com/radiobutton/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt...
package demo2.com.radiobutton; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.Toast; public class MainActivity extends AppCompatActivity { RadioGroup radioGroup; ...
e07f959b-f371-4b45-ae57-ff0c8cae84c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-12 08:58:18", "repo_name": "fvahdati/viva", "sub_path": "/src/main/java/com/viva/Viva/membership/model/Membership.java", "file_name": "Membership.java", "file_ext": "java", "file_size_in_byte": 1192, "line_cou...
package com.viva.Viva.membership.model; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.ser.Serializers; import com.viva.Viva.base.BaseEntity; import com.viva.Viva.businessProviders.model.BusinessProvider; import lombok.Data; import lombok.EqualsAndHashCode; import javax.pe...
1a41c27a-761e-4e5a-ad4c-1ea1c6bef71e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-27 03:22:19", "repo_name": "545923664/xx-im", "sub_path": "/xx-im/src/main/java/com/jzwl/instant/pojo/FormatJsonResult.java", "file_name": "FormatJsonResult.java", "file_ext": "java", "file_size_in_byte": 1237...
package com.jzwl.instant.pojo; import java.util.List; import java.util.Map; /** * * @author 返回数据 * */ public class FormatJsonResult { public FormatJsonResult() { } public FormatJsonResult(int flag, String message, String ctrl, List<Object> list, Map<String, Object> map) { this.flag = flag; this....
330ef460-32f0-48b8-b053-8880ac55ce6c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-19 14:40:36", "repo_name": "codjo/codjo-tools-farow", "sub_path": "/src/main/java/net/codjo/tools/farow/command/IdeaCommand.java", "file_name": "IdeaCommand.java", "file_ext": "java", "file_size_in_byte": 1195...
package net.codjo.tools.farow.command; import java.io.IOException; import net.codjo.tools.farow.Display; import net.codjo.tools.farow.util.GitConfigUtil; public class IdeaCommand extends Command { private String temporaryLocalRepository; private GitConfigUtil gitConfigUtil; public IdeaCommand(ArtifactTyp...
bac303f1-dd97-469d-a634-57a387ba8766
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-09 01:00:20", "repo_name": "hemillainy/spring-security", "sub_path": "/src/main/java/com/tv/manager/security/UserAuthenticationProvider.java", "file_name": "UserAuthenticationProvider.java", "file_ext": "java"...
package com.tv.manager.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationProvider; import org.springframework.security.core.Authentication; import org.springframework.stereotype.Component; import com.tv.manager.exceptions.FailedAu...
89fa0e32-5c77-49fc-9157-c0e1040ac0c6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-05 20:56:11", "repo_name": "plsb/scedestop", "sub_path": "/scemobile/app/src/main/java/sce/br/scemobile/ActSynchronize.java", "file_name": "ActSynchronize.java", "file_ext": "java", "file_size_in_byte": 1192, ...
package sce.br.scemobile; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import sce.br.model.Mensagem; import sce.br.util.Synchronize; public class ActSynchronize extends Activity implements View.OnClickListener{ priva...
4bb3395d-8f09-437a-8cd5-6004eaa1336c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-11 10:24:45", "repo_name": "nbeloglazov/homework", "sub_path": "/information_theory/src/main/java/TextConverter.java", "file_name": "TextConverter.java", "file_ext": "java", "file_size_in_byte": 1195, "line_co...
import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import java.io.FileReader; import java.io.FileWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.TreeSet; public class TextConverter { ...
08dfba03-ffd6-472a-930c-78407ef60ce1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-18 11:08:04", "repo_name": "AuBGa/aubga", "sub_path": "/aubga-java/src/main/java/com/aubga/java/currentArt/chapter05/LockTest.java", "file_name": "LockTest.java", "file_ext": "java", "file_size_in_byte": 1191,...
package com.aubga.java.currentArt.chapter05; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class LockTest { private static Lock lock = new ReentrantLock(); static class Runner implements Runnable{ boolean flag =...
8e396390-1343-4105-8498-bdb7c2d62326
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 20:58:15", "repo_name": "chhavis334/basics", "sub_path": "/app/src/main/java/com/example/myapplication1/Customadapter.java", "file_name": "Customadapter.java", "file_ext": "java", "file_size_in_byte": 1191,...
package com.example.myapplication1; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; public class Customadapter extends BaseAdapter { Context c; String [] title={"fb",...
8bae489b-8c5d-49b0-a493-2f743ce6c1bc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-03 15:32:02", "repo_name": "atarek017/Pionears", "sub_path": "/app/src/main/java/com/example/ahmed/pionears/SplashScrean.java", "file_name": "SplashScrean.java", "file_ext": "java", "file_size_in_byte": 1191, ...
package com.example.ahmed.pionears; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.ImageView; public class SplashScrean extends AppCompatActivity { ...
4550e914-1562-424a-afaa-85519b77f8d5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-18 14:24:43", "repo_name": "oybo/DigitalPhoto", "sub_path": "/DigitalPhoto/app/src/main/java/com/xyz/digital/photo/app/ui/activity/WelcomeActivity.java", "file_name": "WelcomeActivity.java", "file_ext": "java"...
package com.xyz.digital.photo.app.ui.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.View; import android.widget.Button; import com.xyz.digital.photo.app.R; import com.xyz.digital.photo.app.util.PreferenceU...
a2430029-56cf-451b-be16-b69209f177c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-01 21:04:39", "repo_name": "confluentinc/kafka-tutorials", "sub_path": "/_includes/tutorials/transforming/kafka/code/src/test/java/io/confluent/developer/SchemaRegistryContainer.java", "file_name": "SchemaRegi...
package io.confluent.developer; import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.KafkaContainer; import org.testcontainers.containers.Network; class SchemaRegistryContainer extends GenericContainer<SchemaRegistryContainer> { SchemaRegistryContainer(String confluentVersi...
3355075c-8dac-41d0-a13c-f6c46f6e21ca
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-29 15:37:41", "repo_name": "smartdata-x/miyo", "sub_path": "/src/com/miglab/miyo/control/MusicManager.java", "file_name": "MusicManager.java", "file_ext": "java", "file_size_in_byte": 1190, "line_count": 56, "...
package com.miglab.miyo.control; import com.miglab.miyo.entity.MusicType; import com.miglab.miyo.entity.SongInfo; /** * Created by fanglei * Email: 412552696@qq.com * Date: 2015/6/11. */ public class MusicManager { private static MusicManager instance; private SongInfo songInfo; private MusicType mus...
71071f9d-6266-43a0-be7f-c3ecf9d043b4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-11 19:21:01", "repo_name": "Kaku-Ryoui/EmployeeManagementSystem", "sub_path": "/src/controller/EmployeeController.java", "file_name": "EmployeeController.java", "file_ext": "java", "file_size_in_byte": 1303, "...
package controller; /** * 社員情報管理コントローラー */ import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespon...
dc6a5f45-bdca-4b1a-bcf4-d85ed38f4d78
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-14 07:44:07", "repo_name": "ChenYuCoder/DesignPattern", "sub_path": "/src/main/java/PrototypePattern/deep/DeepRobot.java", "file_name": "DeepRobot.java", "file_ext": "java", "file_size_in_byte": 1190, "line_co...
package PrototypePattern.deep; import java.io.Serializable; import java.util.List; /** * @author chenyu * @date 2021/3/22 */ public class DeepRobot implements Serializable { private static final long serialVersionUID = 1L; private String name; private Integer height; private Integer weight; p...
bb6971eb-c555-4432-8931-09b1e7abcaee
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-19 07:10:02", "repo_name": "sokhomsovichea/Web-app", "sub_path": "/jdbc1/src/jdbc1/Jdbc1.java", "file_name": "Jdbc1.java", "file_ext": "java", "file_size_in_byte": 1190, "line_count": 44, "lang": "en", "doc_ty...
/* * 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 jdbc1; import java.sql.*; /** * * @author User */ public class Jdbc1 { /** * @param args the command line argument...
d5fec403-65e4-4e35-9cec-bfa5879d5850
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-28 06:03:31", "repo_name": "inclub9/spring-init", "sub_path": "/src/main/java/co/autopair/spring/controller/TeamController.java", "file_name": "TeamController.java", "file_ext": "java", "file_size_in_byte": 11...
package co.autopair.spring.controller; import co.autopair.spring.entity.Team; import co.autopair.spring.service.TeamService; import lombok.RequiredArgsConstructor; import lombok.extern.log4j.Log4j2; import org.springframework.web.bind.annotation.*; import java.util.List; @Log4j2 @RestController @RequiredArgsConstruc...
6964ab08-c1ec-4502-aff2-60f298766b36
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-12 23:29:28", "repo_name": "nDeenDee/spring-mvc-example", "sub_path": "/src/main/java/system/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1190, "line_count": 53, "lang":...
package system.model; import lombok.Getter; import lombok.Setter; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; @Getter @Setter public class User { public User() { } public User(String name, String password) { this.name = name; ...
52908c3a-0d07-4e6d-b2f0-771e3fdc1c44
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-09-07T20:57:11", "repo_name": "vlvagerviwager/remote-working-is-the-future", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1190, "line_count": 18, "lang": "en", "d...
# Remote working is the future. Remote working is the future. Just a bunch of links for now. --- - [Remote: Office Not Required, by David Heinemeier Hansson and Jason Fried](https://37signals.com/remote) - [Stack Overflow - Why We (Still) Believe in Working Remotely](https://stackoverflow.blog/2013/02/01/why-we-sti...
f7a0fb6e-b991-4deb-8c0a-63cade1311d9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-02T14:07:18", "repo_name": "doyler/RWSH", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1190, "line_count": 29, "lang": "en", "doc_type": "text", "blob_id": "6c...
# RWSH - Ray's Web SHell A PHP web shell and its Python based client # Features * Encoded communication * Pseudo-interactive shell ![Execution](https://www.doyler.net/wp-content/uploads/rwsh/rwsh-1-execution.png) * Cleaner output formatting than PHP passthru * Hostname and username (whoami) detection * (Mostly) Clean...
180a28a5-a17a-4e1b-9403-bd814b67ee8b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-14 03:09:11", "repo_name": "justkeep/gong-customer-situation", "sub_path": "/gong-customer-situation-api/src/main/java/com/gong/aspect/LoginAspect.java", "file_name": "LoginAspect.java", "file_ext": "java", "f...
package com.gong.aspect; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.AfterReturning; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.springframework.stereotype.Component; /** * Created by Administr...
1baf60e4-f332-4d44-bab0-e7301420ebe1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-15 08:24:04", "repo_name": "RiverSonw/MyMVVMDemo", "sub_path": "/app/src/main/java/com/eddardgao/mymvvmdemo01/bean/UserBean.java", "file_name": "UserBean.java", "file_ext": "java", "file_size_in_byte": 1190, "...
package com.eddardgao.mymvvmdemo01.bean; import java.io.Serializable; /** * @Author EddardGao * @Email 754231090@qq.com * @Date 2019/5/21 * @describe :: * @Version :: */ public class UserBean implements Serializable { private static final long serialVersionUID = -4576840045338985104L; private String ...
ac6b4e72-9e39-4ed7-8226-d51d11433bd9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-22 15:21:17", "repo_name": "Etherealss/MusicInformationMS", "sub_path": "/src/main/java/pers/wtk/common/strategy/page/mapper/SingerDaoMapper.java", "file_name": "SingerDaoMapper.java", "file_ext": "java", "fil...
package pers.wtk.common.strategy.page.mapper; import pers.wtk.dao.SingerDao; import pers.wtk.pojo.po.Singer; import java.util.List; /** * @author wtk * @description * @date 2021-07-18 */ public class SingerDaoMapper extends DaoMapper<Singer> { private SingerDao singerDao; public SingerDaoMapper(int cur...
2e81d846-b043-4481-be48-94c01195e8a5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-29 10:10:40", "repo_name": "sunshinewei/weather", "sub_path": "/weather/libmodel/src/main/java/com/app/weilong/lib/base/utils/StyleUtils.java", "file_name": "StyleUtils.java", "file_ext": "java", "file_size_in...
package com.app.weilong.lib.base.utils; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.view.View; /** * create by weilong on 2020/4/10 * email: 1436699184@qq.com */ public class StyleUtils { /** * 字符串转换为int * @param color * @return */ ...
745ad240-f178-4de8-a927-98be66c06758
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-28 15:07:53", "repo_name": "gunjanaggarwal210/complaint_management", "sub_path": "/customercomplaintmanagement/src/customercomplaintmanagement/dbutil.java", "file_name": "dbutil.java", "file_ext": "java", "fil...
/* * 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 customercomplaintmanagement; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException;...
1ac865b6-1014-4f9b-a0b1-826c5be3a616
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-14 20:06:42", "repo_name": "Artem-Maksimov/New", "sub_path": "/Phone_Book/Phone Book/src/Maksimov/Phone_Book/Services/impl/ContactsServiceImpl.java", "file_name": "ContactsServiceImpl.java", "file_ext": "java"...
package Maksimov.Phone_Book.Services.impl; import Maksimov.Phone_Book.Model.Contacts; import Maksimov.Phone_Book.Services.ContactsService; import javafx.collections.FXCollections; import javafx.collections.List; public abstract class ContactsServiceImpl implements ContactsService { private final List<Contacts>...
fc80c419-e24f-4885-b9f6-a48892ba460c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-19 11:14:06", "repo_name": "OrbitalEnterprises/orbital-eve-xml-api", "sub_path": "/src/main/java/enterprises/orbital/impl/evexmlapi/shared/ApiBookmarkFolder.java", "file_name": "ApiBookmarkFolder.java", "file_...
package enterprises.orbital.impl.evexmlapi.shared; import java.util.ArrayList; import java.util.List; import enterprises.orbital.evexmlapi.shared.IBookmark; import enterprises.orbital.evexmlapi.shared.IBookmarkFolder; public class ApiBookmarkFolder implements IBookmarkFolder { private int folde...
28307656-e40a-4059-ad02-a2590d7e25a7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-04 10:31:48", "repo_name": "dasavijit12/jenkinsproject", "sub_path": "/com.ibm.jenkins/src/test/java/com/ibm/jenkins/com/ibm/jenkins/DemoFirefoxTest.java", "file_name": "DemoFirefoxTest.java", "file_ext": "jav...
package com.ibm.jenkins.com.ibm.jenkins; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.remote.DesiredCapabilities; import org.testng.Assert; import org.testng.annotations.Test; public class DemoFirefoxTest { WebDriver driver; @Test...
ab678fbf-d542-4d1f-89e6-319c451e6e5e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-08 12:15:48", "repo_name": "coder-dyh/minieverygreenframework", "sub_path": "/framework-mvc/src/main/java/org/framework/web/typeconvert/impl/SimpleTypeConvert.java", "file_name": "SimpleTypeConvert.java", "fil...
package org.framework.web.typeconvert.impl; import org.apache.commons.beanutils.ConvertUtils; import org.framework.web.ActionContext; import org.framework.web.TypeExecutor; import org.framework.web.typeconvert.TypeConvert; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Parameter; //Bean...
261af7cb-02b4-4ecb-a343-de53beff39e8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-10 06:21:41", "repo_name": "wxlianxi/jifen", "sub_path": "/app/src/main/java/cn/tianjin/xxl/jifen/model/News.java", "file_name": "News.java", "file_ext": "java", "file_size_in_byte": 1232, "line_count": 67, "l...
package cn.tianjin.xxl.jifen.model; import zuo.biao.library.base.BaseModel; /** * Created by jack on 2016/12/26. */ public class News extends BaseModel { private static final long serialVersionUID = 1L; public static final int SEX_MAIL = 0; public static final int SEX_FEMAIL = 1; public static fin...
7759e9b8-996f-41e7-a397-2bdcf4d56bea
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-24T07:34:01", "repo_name": "minhloc2011/thingthatifound", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1190, "line_count": 45, "lang": "en", "doc_type": "text"...
## THING THAT I - [Computer](#computer) - [React](#react) - [Javascript](#javascript) - [PHP](#php) - [Life](#life) - [Music](#music) - [Anime and Manga](#anime-and-manga) - [Cinema](#cinema) ## Computer - Why I am in the Top? [AWESOME](https://github.com/sindresorhus/awesome) - [Awesome about Design Parttern]...
10ba260d-6b39-4c5e-bc81-75d9bb4badc8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-05-19T19:17:44", "repo_name": "tjoozey/NokiaXFlappy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1190, "line_count": 46, "lang": "en", "doc_type": "text", "blob...
Flappy Bird Nokia X ============ Flappy Bird for Nokia X built on Eclipse ADT, Java, and a bit of Javascript. This app is live on Nokia Ovi Store. **Sections** * [How this works](#how-this-works) * [Examples](#examples) * [Documentation](#documentation) * [Help us make it better](#help-us-make-it-better) How this...
3d7fb17d-ef9f-41d5-b656-a52186f54422
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-16 10:12:23", "repo_name": "hendrayuanita/tugasLBS", "sub_path": "/app/src/main/java/com/example/myapplication/RegisterResult.java", "file_name": "RegisterResult.java", "file_ext": "java", "file_size_in_byte":...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; public class RegisterResult extends AppCompatActivity { //Inisialisasi variabel TextView tvResultNama, tvResu...
43d4f75d-cfed-4d30-8a1d-ca0f4488304d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-04 22:55:30", "repo_name": "McLoy/HomeAccount", "sub_path": "/Console/src/main/java/ua/com/vtkachenko/HelpCommand.java", "file_name": "HelpCommand.java", "file_ext": "java", "file_size_in_byte": 1190, "line_co...
package ua.com.vtkachenko; import org.kohsuke.args4j.CmdLineParser; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.core.env.SystemEnvironmentPropertySource; import java.beans...
59d1cf03-f67c-45bf-8a76-5284a31653de
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-25 03:09:38", "repo_name": "guyuetftb/guyue-flink-learning", "sub_path": "/src/main/java/com/guyue/flink/duoyi/examples/dimension/bean/ActivityBean.java", "file_name": "ActivityBean.java", "file_ext": "java", ...
package com.guyue.flink.duoyi.examples.dimension.bean; /** * @ClassName ActivityBean * @Description TOOD * @Author lipeng * @Date 2020-03-06 20:17 */ public class ActivityBean { // u001,A1,2019-09-02 10:10:11,1,北京市 public String uid; public String aid; public String activityName; public String time; public...
8e2b23dc-6dfe-456d-93f6-ac043dcf6cc8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 00:02:16", "repo_name": "blakethiessen/cirque", "sub_path": "/core/src/com/blakeandshahan/cirque/systems/render/UIRenderSystem.java", "file_name": "UIRenderSystem.java", "file_ext": "java", "file_size_in_by...
package com.blakeandshahan.cirque.systems.render; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.Family; import com.badlogic.ashley.systems.IteratingSystem; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.blakeandshahan.cirque.Mapper; import com.blakeandshahan.cirque.components.Re...
24763140-5ffa-4116-987c-0317547c1371
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-06 11:10:14", "repo_name": "sushma141/seleniumF-W", "sub_path": "/MavenVtigerSeleniumProject/src/main/java/com/vtiger/objectRepository/HomePage.java", "file_name": "HomePage.java", "file_ext": "java", "file_si...
package com.vtiger.objectRepository; import org.openqa.selenium.WebElement; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.FindBy; public class HomePage { @FindBy(linkText="More") private WebElement More; @FindBy(linkText="Campaigns") private WebElement Campaigns; ...
6b205c22-3202-44e1-b684-b95e86b47b2d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-28 01:39:38", "repo_name": "tjdtnzlffj/spring-myworkspace", "sub_path": "/spring_myworkspace_contact/src/main/java/com/ssu/spring_myworkspace_contact/opendata/weatherforecast/WeatherForecastController.java", "...
package com.ssu.spring_myworkspace_contact.opendata.weatherforecast; import java.util.List; import org.springframework.cache.annotation.Cacheable; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Sort; import org.springframework.data.domain.Sort.Order; import org.springframew...
3eaa8272-b0a4-470b-b738-8a98cd859de2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-26 00:37:47", "repo_name": "ditryx/Hangover-Shop", "sub_path": "/src/main/java/com/ditryx/hangover/DAO/Implementation/ProductServiceImpl.java", "file_name": "ProductServiceImpl.java", "file_ext": "java", "file...
package com.ditryx.hangover.DAO.Implementation; import com.ditryx.hangover.DAO.ProductService; import com.ditryx.hangover.entities.Product; import com.ditryx.hangover.repos.ProductRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util...
629a3fbd-4778-4223-b897-d5c54b75b7e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-27 03:37:16", "repo_name": "vipin20427/Programming", "sub_path": "/src/hackerRank/Lexicographic.java", "file_name": "Lexicographic.java", "file_ext": "java", "file_size_in_byte": 1188, "line_count": 58, "lang"...
package hackerRank; import java.util.Scanner; public class Lexicographic { public static void main(String[] args) { /* * Enter your code here. Read input from STDIN. Print output to STDOUT. * Your class should be named Solution. */ Scanner scanner = new Scanner(System.in); int numberOfTests = scanne...
fbbf5e7d-1cd1-473f-a0d6-9076d07997d5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-31 18:27:07", "repo_name": "machaval/mule-dsl", "sub_path": "/tcp/src/test/java/org/mule/module/tcp/TCPServerExample.java", "file_name": "TCPServerExample.java", "file_ext": "java", "file_size_in_byte": 1189, ...
package org.mule.module.tcp; import static org.mule.module.Core.inbound; import static org.mule.module.Core.flow; import static org.mule.module.Core.payload; import static org.mule.module.Tcp.tcpConfig; import static org.mule.module.Tcp.direct; import org.mule.api.MuleException; import org.mule.module.core.Mule; imp...
47494c83-5622-4860-b30d-3bed888da56c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-30T01:11:50", "repo_name": "MikeBLambert/jeopardy_for_teachers_server", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1194, "line_count": 28, "lang": "en", "doc...
# _Jeopardy For Teachers Server_ #### _A Tool For Teachers, September 2018_ #### By _**Claire Flanagan, Sarah Flynn, Sophie Graham, and Mike Lambert**_ ## Description _The server side of a teaching tool for instructors at any level who want to bring a fun game designed to aid in student’s learning. Inspired by Jeopa...
0066b220-99e3-4f7b-83f1-e6e8f6e3b5bf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-09T15:50:54", "repo_name": "erlichmen/fantasm", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1189, "line_count": 14, "lang": "en", "doc_type": "text", "blob_id...
A taskqueue-backed, configuration-based Finite State Machine for Google App Engine Python **A Python library for a configuration-based finite state machine workflow implementation based on taskqueue.** Fantasm allows developers to create finite state machines using YAML markup. Each state and transition can have an a...
82d23cbe-302e-46db-aa61-45bd08747805
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 14:36:00", "repo_name": "janhenrikschroeder/SpaceBattle", "sub_path": "/Spaceships/src/view/config/SettingsView.java", "file_name": "SettingsView.java", "file_ext": "java", "file_size_in_byte": 1190, "line_...
package view.config; import javafx.geometry.Pos; import javafx.scene.control.Button; import javafx.scene.layout.HBox; import javafx.scene.layout.StackPane; import javafx.scene.layout.VBox; public class SettingsView extends StackPane{ private Button loadConfig; private Button customConfig; private Butto...
3c961a07-902d-44c0-9264-6523c00f3a22
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-04 19:24:55", "repo_name": "wiru123321/Company-Cars-Rents", "sub_path": "/backend/src/main/java/com/euvic/carrental/responses/ParkingDTO.java", "file_name": "ParkingDTO.java", "file_ext": "java", "file_size_in...
package com.euvic.carrental.responses; import com.euvic.carrental.model.Parking; import com.euvic.carrental.model.ParkingHistory; import lombok.Data; @Data public class ParkingDTO { private String town; private String postalCode; private String streetName; private String number; private String co...
13058083-76fb-41f4-a6ad-46f443b6141d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-03-22 02:23:42", "repo_name": "Jared314/android-bluetooth-reconnect", "sub_path": "/src/com/android/music/MediaPlayback.java", "file_name": "MediaPlayback.java", "file_ext": "java", "file_size_in_byte": 1189, "li...
package com.android.music; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.IBinder; import android.os.RemoteException; import com.android.music.IMediaPlaybackService; public class MediaPlayback { private...
2b0dc4e9-33e5-49b3-9da4-c5f37d87d8ea
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-23 15:00:33", "repo_name": "aacoba/IAC-Restservice", "sub_path": "/src/main/java/net/aacoba/iac/parkeerplaats/ParkingLocationRepository.java", "file_name": "ParkingLocationRepository.java", "file_ext": "java",...
package net.aacoba.iac.parkeerplaats; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.ResponseStatus; import javax.annotation.PostConstruct; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import ...
f478bc46-57fc-4d6a-929b-552a4b061ab1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-02 08:12:54", "repo_name": "Feicus/feicus-blog", "sub_path": "/core/src/main/java/mblog/modules/user/entity/Follow.java", "file_name": "Follow.java", "file_ext": "java", "file_size_in_byte": 896, "line_count":...
/* +-------------------------------------------------------------------------- | Mblog [#RELEASE_VERSION#] | ======================================== | Copyright (c) 2014, 2015 mtons. All Rights Reserved | http://www.mtons.com | +--------------------------------------------------------------------------- */ pac...
b34fb110-e910-4027-beee-1ebf16c72d2b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 06:01:50", "repo_name": "zzfordev/MediaLink", "sub_path": "/Android/MediaLink/app/src/main/java/com/zzfordev/medialink/nodes/PcmWriteNode.java", "file_name": "PcmWriteNode.java", "file_ext": "java", "file_s...
package com.zzfordev.medialink.nodes; import com.zzfordev.medialink.Parameter; import com.zzfordev.medialink.nodes.audio.AudioNode; public class PcmWriteNode extends AudioNode { short[] mBuff16; int mIndex; public PcmWriteNode(short[] buff) { mBuff16 = buff; } @Override protect...
e0455585-87b0-416a-8fa3-56bf04bb3d1b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-05 10:23:17", "repo_name": "justinjoseph72/vertex-learning", "sub_path": "/src/main/java/com/justin/app/wiki/WikiWithBusVerticle.java", "file_name": "WikiWithBusVerticle.java", "file_ext": "java", "file_size_i...
package com.justin.app.wiki; import io.vertx.core.AbstractVerticle; import io.vertx.core.DeploymentOptions; import io.vertx.core.Future; import io.vertx.core.Launcher; public class WikiWithBusVerticle extends AbstractVerticle { public static void main(String ... args){ Launcher.main(new String[]{"run",Wi...
0120d92f-3c7a-4f02-8f2e-dd3b1b9ce106
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-04 10:59:06", "repo_name": "2242575739gyk/gyk_idea-ssm", "sub_path": "/jiyun-springboot-test2/src/main/java/cn/juhyun/service/jiyunspringboottest2/controller/UserController.java", "file_name": "UserController....
package cn.juhyun.service.jiyunspringboottest2.controller; import cn.juhyun.service.jiyunspringboottest2.pojo.User; import cn.juhyun.service.jiyunspringboottest2.service.UserService; import com.netflix.hystrix.contrib.javanica.annotation.DefaultProperties; import com.netflix.hystrix.contrib.javanica.annotation.Hystrix...
5a373e2d-990f-4f4e-98d4-045a66dde32c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 11:27:58", "repo_name": "busliksuslik/SPTVR19MySchool", "sub_path": "/src/entity/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1189, "line_count": 64, "lang": "en", "doc...
/* * 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 entity; import java.io.Serializable; /** * * @author user */ public class Person implements Serializable{ private Stri...
a450205e-88ad-4b2b-a4f6-4dda3f91b70e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-30T21:27:37", "repo_name": "psalmprax/ProjectNew", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1192, "line_count": 55, "lang": "en", "doc_type": "text", "blob...
# Spark Structured Streaming Project A Python task for analysing real-time data ingestion using Kafka and Spark Structured Streaming. To run the producer and kafka services: `install docker and docker-compose on the server` and `docker-compose up -d --build` To run the consumer from spark-master: `docker exec spa...
59c74e7f-762e-4c1c-85e8-a809e35fb7dc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-02T23:31:12", "repo_name": "Triippz/cryptobot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1188, "line_count": 31, "lang": "en", "doc_type": "text", "blob_id...
#Discord CryptoBot #### Description This simple bot was designed to display cryptocurrency related information within the Discord Application, via user commands. As of now, it supports a handful of useful commands. All commands must be preceeded by a '$' symbol to activate the bot. - $ping: Used to test to make sur...
2820d4b2-e6af-428c-a732-b920a666da34
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-26 20:38:53", "repo_name": "Ankit77/QuickBloxChat", "sub_path": "/QBapplibrary/src/main/java/com/indianic/qbchat/utils/KeyboardUtils.java", "file_name": "KeyboardUtils.java", "file_ext": "java", "file_size_in_...
package com.indianic.qbchat.utils; import android.app.Activity; import android.content.Context; import android.view.inputmethod.InputMethodManager; import android.widget.EditText; import com.indianic.qbchat.QbApp; public class KeyboardUtils { public static void showKeyboard(EditText editText) { InputMeth...
3b2b9419-6e71-4538-8f83-cf6341d2584c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 01:35:35", "repo_name": "handsight/mall", "sub_path": "/mall-security/src/main/java/com/mall/cloud/config/CustomAccessDeniedHandler.java", "file_name": "CustomAccessDeniedHandler.java", "file_ext": "java", ...
package com.mall.cloud.config; import com.alibaba.fastjson.JSONObject; import com.mall.cloud.common.Result; import com.mall.cloud.common.StatusCode; import org.springframework.http.HttpStatus; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.web.access.AccessDeniedH...
e52966b3-d07b-4d2f-bcdc-72be59710dc4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-01T12:28:18", "repo_name": "11philip22/docker-mpd", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1191, "line_count": 42, "lang": "en", "doc_type": "text", "blo...
# mpd-docker https://hub.docker.com/r/philipwold/mpd ## An mpd docker container for streaming over http Two outputs over http with a bitrate of 320 or 1411 Http stream will be on port 8000 You can connect on port 6600 ### Example docker create \ --name mpd \ -p 6600:6600 \ -p 8000:8000 \ -v mpdpl...
2419cc82-18e4-452c-8580-10f1bbe7297a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-02 07:58:40", "repo_name": "wangyanmin1998/CombatWeek1", "sub_path": "/app/src/main/java/com/bwie/combatweek1/view/view/view/fragment/HomeFragment.java", "file_name": "HomeFragment.java", "file_ext": "java", "...
package com.bwie.combatweek1.view.view.view.fragment; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.bwie.combatweek1.R; import ...
74a08313-6caf-4e9a-809c-6064a5d2c288
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-25 10:32:03", "repo_name": "wcig/spring-study-demo", "sub_path": "/ioc-annotation-demo/src/main/java/com/wcig/app/profile/DataSourceConfig.java", "file_name": "DataSourceConfig.java", "file_ext": "java", "file...
package com.wcig.app.profile; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile;...
0167f090-b6e1-4d80-804c-883c8d0f5fb8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-20 21:15:40", "repo_name": "AaronKannon/Person-API", "sub_path": "/src/test/java/kannon/aaron/personadminapi/utils/CourseUtils.java", "file_name": "CourseUtils.java", "file_ext": "java", "file_size_in_byte": 1...
package kannon.aaron.personadminapi.utils; import kannon.aaron.personadminapi.dto.request.CourseDTO; import kannon.aaron.personadminapi.entity.Course; import kannon.aaron.personadminapi.enums.CourseType; import java.util.Collections; public class CourseUtils { private static final String NAME = "Computer Engine...
46cf7959-e57a-4a8a-9a88-3d4443dc1b65
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-13 13:10:30", "repo_name": "trickl/model-oanda", "sub_path": "/src/main/java/com/trickl/model/oanda/transaction/GetTransactionsByIdsBetweenResponse.java", "file_name": "GetTransactionsByIdsBetweenResponse.java...
package com.trickl.model.oanda.transaction; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import java.util.List; import lombok.AccessL...
1657f2a4-59f9-44df-8d62-225422a90cfe
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-03 15:30:22", "repo_name": "binsoftsid/mongodbcrud", "sub_path": "/src/mongodbcrud/mongo.java", "file_name": "mongo.java", "file_ext": "java", "file_size_in_byte": 1189, "line_count": 47, "lang": "en", "doc_ty...
package mongodbcrud; import javax.swing.*; public class mongo { public static void main(String[] args) { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch ( UnsupportedLookAndFeelException e ) { System.out.println ("SystemLookAndFeel not supported on this platfo...
177f425b-8b3f-4788-955e-6f34c144673e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 08:05:34", "repo_name": "iamStephenFang/JavaEE_Course_Projects", "sub_path": "/实验一/LoginServlet/src/cn/edu/zjut/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size_in_...
package cn.edu.zjut; import cn.edu.zjut.dao.UserDAO; import cn.edu.zjut.model.UserBean; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class LoginController extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse respon...
32ba1b6e-cbf0-44d2-a270-a964f15e4858
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 16:37:02", "repo_name": "MrZhuangSheng/ERP", "sub_path": "/src/main/java/cn/zsxmlv/common/aspect/RedisAspect.java", "file_name": "RedisAspect.java", "file_ext": "java", "file_size_in_byte": 1215, "line_coun...
package cn.zsxmlv.common.aspect; import cn.zsxmlv.common.exception.RRException; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation...
f1999243-c688-487e-801c-eedfe1c1aee5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-08 15:29:12", "repo_name": "lkamdem/tp-spring-epita", "sub_path": "/src/main/java/com/formation/epita/infrastructure/adresse/AdresseEntity.java", "file_name": "AdresseEntity.java", "file_ext": "java", "file_si...
package com.formation.epita.infrastructure.adresse; import javax.persistence.Column; import javax.persistence.Embeddable; @Embeddable public class AdresseEntity { @Column(name = "numero") private int numeroRue; @Column(name = "rue") private String nomRue; private int codePostal; private St...
5df0df51-5f37-4ce2-ab8c-33add6f62442
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-20T15:16:30", "repo_name": "ajboni/blog", "sub_path": "/static/posts/2020-06-08-configuring-wake-on-lan copy.md", "file_name": "2020-06-08-configuring-wake-on-lan copy.md", "file_ext": "md", "file_size_in_...
--- title: Ubuntu - Configure Wake on LAN slug: 2020-06-08-configuring-wake-on-lan date_published: 2020-06-08 date_updated: 2020-06-08 tags: - Ubuntu - Linux - WoL --- I tried to set up WoL on my Linux Mint box. But it wasn't working... <!-- more --> First I've checked that Wake on LAN was enabled in the mothe...
04d00e29-b185-4ee2-8e3f-e54fbae4f369
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-28 14:02:17", "repo_name": "CELAR/celar-server", "sub_path": "/slipstream-client/src/test/java/gr/ntua/cslab/celar/slipstreamClient/CassandraApp.java", "file_name": "CassandraApp.java", "file_ext": "java", "fi...
package gr.ntua.cslab.celar.slipstreamClient; import java.util.HashMap; import com.sixsq.slipstream.exceptions.ValidationException; import com.sixsq.slipstream.persistence.Authz; import com.sixsq.slipstream.persistence.DeploymentModule; import com.sixsq.slipstream.persistence.ImageModule; import com.sixsq.slipstream....
85d3d852-3420-46e4-9816-bce6f016b5df
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-02-04T08:12:02", "repo_name": "kranzky/base_whatever", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1188, "line_count": 47, "lang": "en", "doc_type": "text", "blo...
Secret ====== Create and remember an unguessable secret. Read this blog post for more information, then visit secret.kranzky.com to get started! Overview -------- Your password is hard to remember but easy to guess. That's the wrong way around. You should do this instead: 1. Choose a really, really big random numb...
07cbbcc5-4f7d-4be1-9d4f-a076b455c593
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-07 08:41:22", "repo_name": "chimichunga1/sampleCodes", "sub_path": "/democodes/src/main/java/com/accenture/demo/inheritance/Car.java", "file_name": "Car.java", "file_ext": "java", "file_size_in_byte": 1188, "l...
package com.accenture.demo.inheritance; public class Car { private int numberOfWheels; private String engineType; private String color; private String model; public Car(int numberOfWheels, String engineType, String color, String model) { super(); this.numberOfWheels = numberOfWheels; this.engineType = eng...
545921ba-cb2a-427b-acea-28efa6806cad
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-06 14:22:22", "repo_name": "VicChern/DeliveryRestApiServiceClient", "sub_path": "/modules/swagger-jaxrs-client-kek/src/main/java/com/softserve/itacademy/kek/rest/model/SseEmitter.java", "file_name": "SseEmitte...
package com.softserve.itacademy.kek.rest.model; import com.fasterxml.jackson.annotation.JsonProperty; import io.swagger.annotations.ApiModelProperty; public class SseEmitter { @ApiModelProperty(value = "") private Long timeout = null; /** * Convert the given object to string with each line indente...
3027ad44-ec08-4315-adbb-d7c4d15fb959
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-09 19:32:19", "repo_name": "VladimirPanchenko/asm", "sub_path": "/src/main/java/ru/itprogram/model/domain/Experience.java", "file_name": "Experience.java", "file_ext": "java", "file_size_in_byte": 1188, "line_...
package ru.itprogram.model.domain; import java.util.Objects; public class Experience { private long id; private short professionTime; public Experience() { } public Experience(long id, short professionTime) { this.id = id; this.professionTime = professionTime; } public l...
78a52226-7a77-4ee4-85fb-7eba06f6261f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-27 10:40:40", "repo_name": "mudriver/Nicks-Repo", "sub_path": "/src/main/java/ie/turfclub/main/pojos/directives/input/SelectEnumImageDirective.java", "file_name": "SelectEnumImageDirective.java", "file_ext": "...
package ie.turfclub.main.pojos.directives.input; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import ie.turfclub.main.pojos.directives.Directive; import ie.turfclub.main.pojos.directives.DirectiveTypes; import ie.turfclub.main.pojos.directives.subclasses.ImageUrlWithTextAndKey; public...
ff38f9a0-4b4c-4097-9a33-faefe20091d7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-21 13:11:09", "repo_name": "cloudfoundry-community/autosleep", "sub_path": "/spring-apps/autosleep-core/src/main/java/org/cloudfoundry/autosleep/ui/servicebroker/service/InvalidParameterException.java", "file_...
/* * Autosleep * Copyright (C) 2016 Orange * Authors: Benjamin Einaudi benjamin.einaudi@orange.com * Arnaud Ruffin arnaud.ruffin@orange.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a co...
f80d59df-d33b-4ffe-948a-a4593554dc20
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-04-21T12:28:07", "repo_name": "SaviourSelf/Dota2TextToSpeech", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1188, "line_count": 29, "lang": "en", "doc_type": "tex...
# Dota2TextToSpeech Reads DOTA2 All and Teamchat aloud, so now I can hear the insults in the voice of a middle-aged British woman. Idea came from: https://github.com/patriksletmo/Dota2Translator * I took his Dota2ChatDLL and modified it a bit. * I removed translation. I disagree with the way this was done. * I edi...
56db860d-1e2a-425b-8411-a50103b31e53
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-29 19:16:13", "repo_name": "KleinerHacker/jcoding", "sub_path": "/src/main/java/org/pcsoft/framework/jcoding/jobject/JExtensibleTypeDescriptor.java", "file_name": "JExtensibleTypeDescriptor.java", "file_ext": ...
package org.pcsoft.framework.jcoding.jobject; import java.util.ArrayList; import java.util.List; /** * Created by pfeifchr on 10.12.2015. */ public abstract class JExtensibleTypeDescriptor extends JTypeDescriptor<JStandardMethodDescriptor> { private final List<JInterfaceReferenceDescriptor> interfaceList = new ...
1721cf0b-156a-42a2-a629-5c81573f022c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-13 02:00:50", "repo_name": "luhanlin/bigdata", "sub_path": "/HDFS/src/main/java/com/bigdata/firstdemo/filetest/HdfsFileUpload.java", "file_name": "HdfsFileUpload.java", "file_ext": "java", "file_size_in_byte":...
package com.bigdata.firstdemo.filetest; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataOutputStream; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IOUtils; import java.io.File; import java.io.FileInputStream; import java.io.IOExce...
e665efab-88bf-4d3c-8ea4-d5de6b2ea236
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-06 17:07:23", "repo_name": "Rafael-Lopez/Reactive-Programming-Spring", "sub_path": "/reactive-mongo-stock-quote-service/src/main/java/com/lopez/rafael/reactivemongostockquoteservice/service/QuoteRunner.java", ...
package com.lopez.rafael.reactivemongostockquoteservice.service; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import java.time.Duration; // This is just for demonstration purposes. // This ...