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 |
|---|---|---|---|---|---|---|
3b1f7f34-1b8b-4816-bec2-8135676557c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-09 07:27:29", "repo_name": "zq13408401721/http-server", "sub_path": "/app/src/main/java/com/umeng/soexample/test/MyViewGroup.java", "file_name": "MyViewGroup.java", "file_ext": "java", "file_size_in_byte": 115... | https://github.com/zq13408401721/http-server | 242 | FILENAME: MyViewGroup.java | 0.259826 | package com.umeng.soexample.test;
import android.content.Context;
import android.view.MotionEvent;
import android.view.ViewGroup;
import com.umeng.soexample.utils.PrintUtils;
public class MyViewGroup extends ViewGroup {
private static String TAG = MyViewGroup.class.getSimpleName();
public MyViewGroup(Conte... |
161f20ee-2d50-4500-8190-5e6c0de8a543 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-01 10:02:59", "repo_name": "15955108280/java8", "sub_path": "/src/lambda/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1174, "line_count": 74, "lang": "en", "doc_type": "... | https://github.com/15955108280/java8 | 324 | FILENAME: Student.java | 0.277473 | package lambda;
/**
* description
*
* @author xingpeng.yang@hand-china.com 2019/09/26 14:40
*/
public class Student{
String name = null ;
int number = -1 ;
String sex = null ;
int age = -1 ;
String school = null ;
public Student(StudentBuilder builder){
this.age = builder.age;
this.name = builder... |
1d7fb6fd-14a8-4178-b14d-f047b2649ab4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-02 12:59:33", "repo_name": "MaiaraM/colaborae-back", "sub_path": "/src/main/java/com/galaxyware/colaborae/model/ServiceModel.java", "file_name": "ServiceModel.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/MaiaraM/colaborae-back | 209 | FILENAME: ServiceModel.java | 0.253861 | package com.galaxyware.colaborae.model;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.sun.istack.NotNull;
import lombok.*;
import org.hibernate.annotations.ResultCheckStyle;
import org.hibernate.annotations.SQLDelete;
import javax.... |
afd7a605-8745-4bad-a556-6929333cc355 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-27 14:40:18", "repo_name": "niomwungeri-fabrice/ecrms", "sub_path": "/ecrms/src/main/java/rw/mentors/ecrms/domain/EvaluationVariable.java", "file_name": "EvaluationVariable.java", "file_ext": "java", "file_siz... | https://github.com/niomwungeri-fabrice/ecrms | 229 | FILENAME: EvaluationVariable.java | 0.255344 | /**
*
*/
package rw.mentors.ecrms.domain;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
* @author NIYOMWUNGERI
*
*/
@Entity
@Table(name = "EVA... |
7dffe389-371a-4f07-8c94-a2013905156b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-14 14:52:30", "repo_name": "18deepak/discover", "sub_path": "/APIAutomationDemo/src/main/java/com/api/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 1127, "line_count": ... | https://github.com/18deepak/discover | 297 | FILENAME: Employee.java | 0.264358 | package com.api;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import com.sun.xml.txw2.annotation.XmlElement;
@XmlRootElement(name="Employee")
public class Employee {
private int id;
private int salary;
private String name;
private String designtion;
public Emp... |
97613414-8b52-4a06-8454-014111a2b31e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-08 04:31:22", "repo_name": "liuhongyuand/EasyRest-NAS", "sub_path": "/EasyRest/src/main/java/tech/dbgsoftware/easyrest/utils/StringUtils.java", "file_name": "StringUtils.java", "file_ext": "java", "file_size_i... | https://github.com/liuhongyuand/EasyRest-NAS | 202 | FILENAME: StringUtils.java | 0.236516 | package tech.dbgsoftware.easyrest.utils;
import java.util.ArrayList;
import java.util.List;
/**
* String utils
* Created by liuhongyu.louie on 2016/10/1.
*/
public class StringUtils{
public static String replaceNull(String str){
if (isEmptyString(str) || str.equalsIgnoreCase("null")){
retu... |
fc238536-554a-48ae-a70c-6795cfd3af78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-17 06:02:57", "repo_name": "mftfauzi28/1955201028_java", "sub_path": "/src/Mochamadmiftakhulfauzi_uts/BUFFREDREADER.java", "file_name": "BUFFREDREADER.java", "file_ext": "java", "file_size_in_byte": 1064, "lin... | https://github.com/mftfauzi28/1955201028_java | 237 | FILENAME: BUFFREDREADER.java | 0.290176 | /*
* 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 Mochamadmiftakhulfauzi_uts;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamRead... |
f139a085-a9e8-4a6d-a2cc-a89388775270 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-09 23:20:51", "repo_name": "sowdiomyero/gandalimmo", "sub_path": "/persistence/gesimmo-modele/src/main/java/sn/gandal/gesimmo/modele/client/entities/ActiviteEtat.java", "file_name": "ActiviteEtat.java", "file_... | https://github.com/sowdiomyero/gandalimmo | 285 | FILENAME: ActiviteEtat.java | 0.249447 |
package sn.gandal.gesimmo.modele.client.entities;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import javax.persistence.CascadeType;
/**
*
* @author isene
*/
@Entity
@Table(name="activite_etat")
public class ActiviteEtat implements Serializable{
@Id
@GeneratedValue(strat... |
c993d552-50db-4590-93ea-fd02831ce044 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 05:22:01", "repo_name": "guyi-maple/ipojo", "sub_path": "/src/main/java/tech/guyi/ipojo/application/osgi/timer/defaults/AbstractMethodTimerRunnable.java", "file_name": "AbstractMethodTimerRunnable.java", "f... | https://github.com/guyi-maple/ipojo | 250 | FILENAME: AbstractMethodTimerRunnable.java | 0.253861 | package tech.guyi.ipojo.application.osgi.timer.defaults;
import tech.guyi.ipojo.application.osgi.timer.TimerRunnable;
import tech.guyi.ipojo.application.osgi.timer.enums.TimeType;
import java.util.concurrent.TimeUnit;
/**
* @author guyi
* 定时任务方法执行器
*/
public abstract class AbstractMethodTimerRunnable implements T... |
31f4fcdf-872b-432e-98be-b919c0a3dc11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-05 15:28:35", "repo_name": "AndreiKablash/datareceiverservice", "sub_path": "/src/main/java/by/pvt/service/DeviceService.java", "file_name": "DeviceService.java", "file_ext": "java", "file_size_in_byte": 1044,... | https://github.com/AndreiKablash/datareceiverservice | 202 | FILENAME: DeviceService.java | 0.282988 | package by.pvt.service;
import by.pvt.pojo.Device;
import by.pvt.pojo.Sensor;
import by.pvt.pojo.SensorData;
import by.pvt.repo.DeviceRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class DeviceService {
... |
e3f913fc-cf9a-488e-9897-117ea000f5c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-14T15:46:54", "repo_name": "paulvid/cdp_create_dh_de_aws", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1102, "line_count": 44, "lang": "en", "doc_type": "text... | https://github.com/paulvid/cdp_create_dh_de_aws | 294 | FILENAME: README.md | 0.253861 | # CDP Data Hub cluster automation on AWS
<div align="center">
<img src="https://github.com/paulvid/emr_to_cdp/raw/master/data/cloudera_logo_darkorange.png" width="820" height="100" align="middle">
</div>
# Overview
This set of scripts automates the creation of a simple data engineering data hub cluster (assuming you ... |
8d00966e-8fb4-458b-bc0d-454f369f37f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-24 07:12:34", "repo_name": "pcz10/pwr_sockets", "sub_path": "/src/server_client_NIO/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1054, "line_count": 44, "lang": "en", "doc... | https://github.com/pcz10/pwr_sockets | 222 | FILENAME: Client.java | 0.285372 | package server_client_NIO;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
public class Client
{
public static void main(String[] args) throws IOException, InterruptedE... |
c7d694b5-f4f5-4dbb-a3a8-6d030eac6c18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-23 11:58:38", "repo_name": "rezajax/CollegeBoy2", "sub_path": "/app/src/main/java/com/rezajax/college/boy2/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 107... | https://github.com/rezajax/CollegeBoy2 | 177 | FILENAME: SplashActivity.java | 0.225417 | package com.rezajax.college.boy2;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class SplashActivity extends AppCompatActivity {
@Override
prot... |
e589d556-1232-4842-9e9d-0aefb7ceebd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-28 10:47:02", "repo_name": "folio-org/mod-kb-ebsco-java", "sub_path": "/src/main/java/org/folio/rest/validator/PackageTagsPutBodyValidator.java", "file_name": "PackageTagsPutBodyValidator.java", "file_ext": "j... | https://github.com/folio-org/mod-kb-ebsco-java | 218 | FILENAME: PackageTagsPutBodyValidator.java | 0.282988 | package org.folio.rest.validator;
import org.folio.rest.exception.InputValidationException;
import org.folio.rest.jaxrs.model.PackageTagsDataAttributes;
import org.folio.rest.jaxrs.model.PackageTagsPutRequest;
import org.springframework.stereotype.Component;
@Component
public class PackageTagsPutBodyValidator {
pri... |
0f66b8b1-d178-4fdb-870b-2903255b2a62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 11:08:51", "repo_name": "gailo22/rxjava-playground", "sub_path": "/spring-boot-rxjs1/src/main/java/com/gailo22/springbootrxjava1/service/ProductService.java", "file_name": "ProductService.java", "file_ext":... | https://github.com/gailo22/rxjava-playground | 187 | FILENAME: ProductService.java | 0.262842 | package com.gailo22.springbootrxjava1.service;
import com.gailo22.springbootrxjava1.domain.Account;
import com.gailo22.springbootrxjava1.domain.Product;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import rx.Observable;
import rx.schedulers.Schedulers;
... |
a08d3934-d0e6-48f1-8539-a0fa2c30d89f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-03 16:58:13", "repo_name": "Carji/Pizza-Shop-Backend", "sub_path": "/src/main/java/com/example/demo/controller/CommentController.java", "file_name": "CommentController.java", "file_ext": "java", "file_size_in_... | https://github.com/Carji/Pizza-Shop-Backend | 208 | FILENAME: CommentController.java | 0.277473 | package com.example.demo.controller;
import java.util.UUID;
import javax.validation.Valid;
import com.example.demo.application.commentApplication.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.*;
import org.springframework.web.bind.annotation.*;
@RestController
@Requ... |
6119ad6a-7490-4b8d-bf69-0cf6a355bc1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-29 06:24:58", "repo_name": "hyvenzhu/iMeng", "sub_path": "/iMeng/app/src/main/java/com/android/imeng/ui/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 1081, ... | https://github.com/hyvenzhu/iMeng | 241 | FILENAME: SplashActivity.java | 0.242206 | package com.android.imeng.ui;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.android.imeng.R;
import com.android.imeng.framework.ui.BasicActivity;
import com.android.imeng.framework.ui.base.annotations.ViewInject;
import com.android.imeng.ui.home.HomeActivity;
/**
* 闪屏页... |
573d474f-e9d6-43a8-a592-54ea22bd7a0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-05 03:57:19", "repo_name": "sut62/team08", "sub_path": "/server/src/main/java/com/example/server/Scholarship/controller/ScholarshipOfficerController.java", "file_name": "ScholarshipOfficerController.java", "fi... | https://github.com/sut62/team08 | 204 | FILENAME: ScholarshipOfficerController.java | 0.264358 | package com.example.server.Scholarship.controller;
import com.example.server.Scholarship.entity.ScholarshipOfficer;
import com.example.server.Scholarship.repository.ScholarshipOfficerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapp... |
b1613fac-3cb4-4656-a8cd-4b5fe5deb486 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-10-03T16:32:48", "repo_name": "mokagio/swagify", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1051, "line_count": 40, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/mokagio/swagify | 283 | FILENAME: README.md | 0.246533 | Swagify
=======
> Add some **swag** to your scripts!
What's this?
------------
Swagify is just a simple gem that let's you quickly add colors and symbols to your command line scripts, without having to use unicode, or stuff like `"\e[0;32;49mthis is green\e[0m"`. Just type
```ruby
# symbols
Swagify::tick # => ✔
# c... |
35cb2ffd-c8ea-4ef7-8ad4-ac409e3ea8ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-13 23:54:44", "repo_name": "Hector124Y/Endcom", "sub_path": "/app/src/main/java/com/example/endcom/Retrofit/RetrofitSingleton.java", "file_name": "RetrofitSingleton.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Hector124Y/Endcom | 216 | FILENAME: RetrofitSingleton.java | 0.285372 | package com.example.endcom.Retrofit;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class RetrofitSingleton {
private static RetrofitSingleton instance;
public static final String BASE_URL = "http://a... |
ceb3ef04-d099-40b7-880f-8b901db927b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-27 20:37:06", "repo_name": "tErrboe/SwimmingClub", "sub_path": "/FileReadWrite.java", "file_name": "FileReadWrite.java", "file_ext": "java", "file_size_in_byte": 1125, "line_count": 36, "lang": "en", "doc_type... | https://github.com/tErrboe/SwimmingClub | 188 | FILENAME: FileReadWrite.java | 0.280616 | import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
public class FileReadWrite{
public void saveMembers(ArrayList<Member> m){
try{
... |
9f32c949-713e-4feb-8601-b6718fac7c4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-03 17:07:32", "repo_name": "rogowskik/strawberries-harvest-support", "sub_path": "/src/main/java/com/harvest/strawberries/reports/HarvestReportEndpoint.java", "file_name": "HarvestReportEndpoint.java", "file_e... | https://github.com/rogowskik/strawberries-harvest-support | 199 | FILENAME: HarvestReportEndpoint.java | 0.228156 | package com.harvest.strawberries.reports;
import com.harvest.strawberries.infrastructure.command.CommandBusDispatcher;
import com.harvest.strawberries.reports.api.ImportHarvestFileCommand;
import com.harvest.strawberries.reports.domain.exception.HarvestJsonProcessingException;
import lombok.AllArgsConstructor;
import ... |
15f139ae-16a0-4706-9c29-61aaab7c872d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-10 13:43:49", "repo_name": "mholysz/SpringExercise", "sub_path": "/src/main/java/pl/springExercises/users/controller/GroupController.java", "file_name": "GroupController.java", "file_ext": "java", "file_size_i... | https://github.com/mholysz/SpringExercise | 218 | FILENAME: GroupController.java | 0.284576 | package pl.springExercises.users.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import pl.springExercises.users.dto.GroupDto;
import pl.springExercises.users.service.GroupService;
import java.util.List;
@RestController
@RequestMapping(valu... |
04a846c6-47cf-4939-9297-d618c7dafe52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-24 20:38:11", "repo_name": "bhavanichandra/bisync", "sub_path": "/src/main/java/com/bhavanichandra/bisync/model/CommonModel.java", "file_name": "CommonModel.java", "file_ext": "java", "file_size_in_byte": 1074... | https://github.com/bhavanichandra/bisync | 236 | FILENAME: CommonModel.java | 0.221351 |
package com.bhavanichandra.bisync.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;
@JsonInclude(value = NON_NULL)
public class CommonModel {
private String type;
private String text;
private Boolean emoji;
/**
... |
395cb943-4235-4028-bf13-a9e5391ea99d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-28 06:08:16", "repo_name": "anmi1024/anime-wj", "sub_path": "/wj-common/src/main/java/xin/wangjue/domain/Poi.java", "file_name": "Poi.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count": 56, "la... | https://github.com/anmi1024/anime-wj | 302 | FILENAME: Poi.java | 0.23231 | package xin.wangjue.domain;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;
import java.io.Serializable;
@ExcelTarget("poi")
public class Poi implements Serializable {
private Integer id;
@Excel(name = "地库中心" ,orderNum = "1" ,needMerge = true)... |
facf5faa-f4ea-4ef7-817a-8e07301585b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 08:40:21", "repo_name": "riccardomengoli/StabilimentoBalneare", "sub_path": "/StabilimentoBalneare/src/ombrelloniani/view/fxmlControllers/Popup_InfoOmbrelloneComplete.java", "file_name": "Popup_InfoOmbrello... | https://github.com/riccardomengoli/StabilimentoBalneare | 242 | FILENAME: Popup_InfoOmbrelloneComplete.java | 0.285372 | package ombrelloniani.view.fxmlControllers;
import java.io.IOException;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
public class Popup_InfoOmbrelloneComplete extends VBox {
@FXML private Label idOmbrellone;
@FXML private L... |
e0678081-f992-48d8-816a-f9a3e0de1bda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-18 12:00:29", "repo_name": "liuzhushaonian/craw", "sub_path": "/src/main/java/craw/NetUtil.java", "file_name": "NetUtil.java", "file_ext": "java", "file_size_in_byte": 1130, "line_count": 49, "lang": "en", "do... | https://github.com/liuzhushaonian/craw | 233 | FILENAME: NetUtil.java | 0.23793 | package craw;
import okhttp3.Call;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import java.util.concurrent.TimeUnit;
/**
* 联网获取json数据
*/
public class NetUtil {
public static String getJson(int page) {
String url = "http://video.mtime.com/api/videoSearch/getFilterData?h=movie&y=全部年代&p=3&s=1&i... |
695c12d2-d560-4087-8269-043f7b71b7ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-27 07:42:24", "repo_name": "polyu-ir-2015/ir-search-engine", "sub_path": "/src/test/java/QueryTest.java", "file_name": "QueryTest.java", "file_ext": "java", "file_size_in_byte": 1172, "line_count": 30, "lang":... | https://github.com/polyu-ir-2015/ir-search-engine | 251 | FILENAME: QueryTest.java | 0.258326 | import comm.exception.RichFileNotFoundException;
import comm.lang.ScalaSupport;
import hk.edu.polyu.ir.groupc.searchengine.model.query.Query;
import hk.edu.polyu.ir.groupc.searchengine.model.query.QueryEnum;
import hk.edu.polyu.ir.groupc.searchengine.model.query.QueryFactory;
import java.io.File;
import java.util.func... |
30a243e0-39df-4c0f-b4b1-db869f930751 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-12 11:04:02", "repo_name": "codetalkdotme/android-demos", "sub_path": "/DesignSupportTest/app/src/main/java/me/codetalk/designsupporttest/SnackbarActivity.java", "file_name": "SnackbarActivity.java", "file_ext... | https://github.com/codetalkdotme/android-demos | 192 | FILENAME: SnackbarActivity.java | 0.250913 | package me.codetalk.designsupporttest;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class SnackbarActivity extends AppCompatActivity implements View.OnCl... |
8807fb6e-aaff-440d-9349-28d17ae28a08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-06 10:57:58", "repo_name": "Amilosz/Microservice-portfolio", "sub_path": "/ProjectAPI/src/main/java/com/github/ProjectAPI/resources/GithubSingleProjectResource.java", "file_name": "GithubSingleProjectResource.... | https://github.com/Amilosz/Microservice-portfolio | 168 | FILENAME: GithubSingleProjectResource.java | 0.279828 | package com.github.ProjectAPI.resources;
import com.github.ProjectAPI.models.GithubProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bin... |
965a4b2d-cd31-4a11-a169-17e1bdaff160 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-20T02:20:41", "repo_name": "anderssongs5/spring-boot-organization", "sub_path": "/src/main/java/co/edu/udea/diploma/microservicios/organization/DipMicrOrganizationApplication.java", "file_name": "DipMicrOrgani... | https://github.com/anderssongs5/spring-boot-organization | 216 | FILENAME: DipMicrOrganizationApplication.java | 0.252384 | package co.edu.udea.diploma.microservicios.organization;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.... |
fedde283-de61-4adc-84a2-9610068694a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-31 08:47:45", "repo_name": "Karthik131289/Modules", "sub_path": "/Config/src/com/test/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count": 33, "lang": "en", "doc_t... | https://github.com/Karthik131289/Modules | 210 | FILENAME: Main.java | 0.267408 | package com.test;
import com.config.ConfigUtill;
import com.config.IConfiguration;
import com.config.ISection;
import java.io.IOException;
public class Main {
public static void main(String[] args) {
try {
String path = Main.class.getResource("designer.cfg").toString().replace( "file:/" , ""... |
477c7e64-f5f9-43bf-8684-290632a3f22f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-11-20T03:30:24", "repo_name": "Jesse-longname/bdar-housing-hack", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1021, "line_count": 31, "lang": "en", "doc_type": "... | https://github.com/Jesse-longname/bdar-housing-hack | 278 | FILENAME: README.md | 0.235108 | # BDAR
This project was created for the Housing Hack hosted by BDAR and the City of Barrie, partnered with Hackworks.
# Project Contents
There are two parts to this repo. The powerpoint presentation and the code for the Progressive Web Application (PWA).
## Powerpoint presentation
The powerpoint presentation is lo... |
35fe1cd7-498f-4313-b9ac-db6946971283 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-22 02:55:38", "repo_name": "Hurdmmmer/spring-boot-demo", "sub_path": "/spring-redis/src/test/java/com/springboot/redis/service/UserServiceTest.java", "file_name": "UserServiceTest.java", "file_ext": "java", "f... | https://github.com/Hurdmmmer/spring-boot-demo | 216 | FILENAME: UserServiceTest.java | 0.23092 | package com.springboot.redis.service;
import com.springboot.redis.entity.User;
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.junit4.SpringRunner;... |
c90eb6a7-fbb1-470b-be60-7fd827daf5a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-04 14:14:01", "repo_name": "lanemets/transfer-service", "sub_path": "/src/main/java/mt/app/service/account/AccountServiceImpl.java", "file_name": "AccountServiceImpl.java", "file_ext": "java", "file_size_in_by... | https://github.com/lanemets/transfer-service | 194 | FILENAME: AccountServiceImpl.java | 0.292595 | package mt.app.service.account;
import mt.app.dao.AccountDao;
import mt.app.exceptions.IllegalAccountNumberException;
import mt.domain.Account;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.inject.Inject;
class AccountServiceImpl implements AccountService {
private static final Logger logge... |
6f373e61-dcd0-44bc-821e-bf36e635e2dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-03 14:22:23", "repo_name": "MohammedBaderAldeen/Minesweeper-Game", "sub_path": "/src/main/MainGame.java", "file_name": "MainGame.java", "file_ext": "java", "file_size_in_byte": 1048, "line_count": 38, "lang": ... | https://github.com/MohammedBaderAldeen/Minesweeper-Game | 182 | FILENAME: MainGame.java | 0.258326 | package main;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
import settings.Settings;
import java.io.IOException;
import java.util.Objects;
public class MainGame extends Application {
@Override
... |
5eb62513-d8f8-4e21-a9dd-3f50be8f01ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-08T15:36:38", "repo_name": "Newsletter-Magnet/Newsletter-Magnet-Badge", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1117, "line_count": 14, "lang": "en", "doc... | https://github.com/Newsletter-Magnet/Newsletter-Magnet-Badge | 240 | FILENAME: README.md | 0.239349 | # Newsletter Magnet Badge
This repo contains the source files of the Newsletter Magnet Badge. You can use the Newsletter Magnet Badge to invite your audience to subscribe to your newsletter using the image as a link. You can obtain a code snippet by login into your[ Newsletter Magnet Publisher Portal ](http://publishe... |
e257d7e6-b0c9-4d90-b5d4-1d47f5ff706a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-28 11:49:40", "repo_name": "hubert15nowak/Chat", "sub_path": "/src/network/server/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1019, "line_count": 44, "lang": "en", "doc_t... | https://github.com/hubert15nowak/Chat | 181 | FILENAME: Client.java | 0.245085 | package network.server;
import network.Message.Message;
import network.Message.MessageReceiver;
import network.SocketInput;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.net.Socket;
import java.util.function.Predicate;
public class Client {
private ObjectOutputStream out;
private... |
7d5e39ad-54bd-4701-af62-d7c1fc136329 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-17 09:10:49", "repo_name": "ZanderHamster/ScheduleBSTU", "sub_path": "/app/src/main/java/ru/lekveishvili/david/schedulebstu/network/models/AuthRequest.java", "file_name": "AuthRequest.java", "file_ext": "java"... | https://github.com/ZanderHamster/ScheduleBSTU | 208 | FILENAME: AuthRequest.java | 0.23793 | package ru.lekveishvili.david.schedulebstu.network.models;
import com.google.gson.annotations.SerializedName;
public class AuthRequest {
@SerializedName("name")
public String name;
@SerializedName("pass")
public String pass;
public AuthRequest() {
}
public String getName() {
retu... |
e652bfd7-9bcb-408d-9dd0-7219bb276a96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-23 05:56:50", "repo_name": "dengzii/SuperAdapter", "sub_path": "/adapter/src/main/java/com/dengzii/adapter/DefaultViewHolder.java", "file_name": "DefaultViewHolder.java", "file_ext": "java", "file_size_in_byte... | https://github.com/dengzii/SuperAdapter | 241 | FILENAME: DefaultViewHolder.java | 0.262842 | package com.dengzii.adapter;
import android.graphics.Color;
import android.view.Gravity;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
/**
* author : dengzi
* e-mail : master@dengzii.com
* time : 20-6-15
* desc : none
*/... |
ac8325c6-6c92-4f10-a43e-c424c3804388 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-21 08:03:22", "repo_name": "liuyu7177/zuoriweilai", "sub_path": "/src/main/java/com/liuyu7177/java/concurrency/Preloader.java", "file_name": "Preloader.java", "file_ext": "java", "file_size_in_byte": 1028, "li... | https://github.com/liuyu7177/zuoriweilai | 233 | FILENAME: Preloader.java | 0.267408 | package com.liuyu7177.java.concurrency;
import com.liuyu7177.zuoriweilai.model.entitys.UserInfo;
import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;
/**
* Created by liuyu7177 On 2019/6/11
*/
public class Preloader {
private final FutureTask<UserInfo> future = new FutureTask<UserInfo>... |
e60964ef-74b1-452a-b9d2-e2b18ed46cca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-18 05:39:19", "repo_name": "yinxueyuan122/cloudFramework", "sub_path": "/cloud-common-api/src/main/java/com/cn/cloud/api/userInfo/controller/UserInfoController.java", "file_name": "UserInfoController.java", "f... | https://github.com/yinxueyuan122/cloudFramework | 213 | FILENAME: UserInfoController.java | 0.262842 | package com.cn.cloud.api.userInfo.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestContro... |
84a460a1-e098-4d47-9884-6f942af3eef8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 11:39:11", "repo_name": "ashwingarad/SpringBootApplication", "sub_path": "/SpringBootApplication-LoginService/src/main/java/com/dao/impl/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java... | https://github.com/ashwingarad/SpringBootApplication | 172 | FILENAME: UserDaoImpl.java | 0.276691 | package com.dao.impl;
import com.RepositoryManager.EntityDaoImpl;
import com.dao.UserDao;
import com.dao.model.UserMaster;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import j... |
6bab10d5-0ba7-456e-9ace-6f2af3d497bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-06 01:48:16", "repo_name": "dvdfu/fiery-flight", "sub_path": "/test/core/src/com/dvdfu/gijam/objects/PowerUp.java", "file_name": "PowerUp.java", "file_ext": "java", "file_size_in_byte": 1147, "line_count": 62,... | https://github.com/dvdfu/fiery-flight | 363 | FILENAME: PowerUp.java | 0.288569 | package com.dvdfu.gijam.objects;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.math.MathUtils;
import com.dvdfu.gijam.handlers.Consts;
import com.dvdfu.gijam.handlers.GameStage;
import com.dvdfu.gijam.visuals.Sprites;
public class PowerUp extends GameObject {
private boolean dead;
private int ... |
61738fe3-d730-47af-a30b-b4ca1a4241a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-28 12:00:22", "repo_name": "NodziGames/dr-khantro-vershal", "sub_path": "/src/bot/discord/Parser.java", "file_name": "Parser.java", "file_ext": "java", "file_size_in_byte": 1147, "line_count": 48, "lang": "en"... | https://github.com/NodziGames/dr-khantro-vershal | 229 | FILENAME: Parser.java | 0.290176 | package bot.discord;
import bot.discord.commands.*;
import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static bot.discord.CommandsList.*;
public class Parser {
public static void parse(String msg, MessageReceivedEv... |
6e459218-8d37-4796-a9b5-48f43737076f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-06 03:04:17", "repo_name": "yanchunlan/OpenGlES_Demo", "sub_path": "/es2_0/src/main/java/com/opengles/book/es2_0/obj/BaseGlSVActivity.java", "file_name": "BaseGlSVActivity.java", "file_ext": "java", "file_size... | https://github.com/yanchunlan/OpenGlES_Demo | 224 | FILENAME: BaseGlSVActivity.java | 0.245085 | package com.opengles.book.es2_0.obj;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
/**
* author: ycl
* date: 2018/12/7 17:53
* desc:
*/
public abstract class BaseGlSVActivity extends AppCompatActivity {
private GLSurfaceView mGLSurfaceView;
... |
d3150486-2f13-405e-9c44-036b8ef51f92 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 13:51:47", "repo_name": "Arm0in/busticket-spring-boot", "sub_path": "/src/main/java/ir/maktab/busticketspringboot/service/impl/TicketServiceImpl.java", "file_name": "TicketServiceImpl.java", "file_ext": "ja... | https://github.com/Arm0in/busticket-spring-boot | 232 | FILENAME: TicketServiceImpl.java | 0.284576 | package ir.maktab.busticketspringboot.service.impl;
import ir.maktab.busticketspringboot.domain.Ticket;
import ir.maktab.busticketspringboot.domain.User;
import ir.maktab.busticketspringboot.repository.TicketRepository;
import ir.maktab.busticketspringboot.service.TicketService;
import org.springframework.beans.factor... |
c5d38aef-2085-4895-9c72-1fbcdc7b6c2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-20T11:15:38", "repo_name": "RoelN/Color-Variable-Emoji", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1237, "line_count": 16, "lang": "en", "doc_type": "text",... | https://github.com/RoelN/Color-Variable-Emoji | 317 | FILENAME: README.md | 0.249447 | # Color Variable Emoji
This is an experimental, one-character variable color font. It contains only one character, the poo emoji 💩. It has one axis, "crap", which goes from 100 to 900.
You can see [Mr. Poo in action here](https://pixelambacht.nl/demo/mrpoo/)! If he's all black and/or doesn't animate, your browser do... |
dc0d6c7b-15e5-485d-9cf9-70566cec5dd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-31 22:56:15", "repo_name": "Batlasaleh/Room-Occupancy-Application-for-Human-via-Grid-eye-Sensor", "sub_path": "/Android code/Room_Occupancy/app/src/main/java/com/example/room_occupancy/Main2Activity.java", "fi... | https://github.com/Batlasaleh/Room-Occupancy-Application-for-Human-via-Grid-eye-Sensor | 189 | FILENAME: Main2Activity.java | 0.220007 | package com.example.room_occupancy;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.view.Window;
import android.view.WindowManager;
public class Main2Activity extends AppCompatActivity {
private static int SPLASH_... |
b71fc850-7cb7-46e7-9bcf-7d1840bb8a4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-14 07:43:14", "repo_name": "bugzmanov/PSCafepos.fork", "sub_path": "/org/pscafepos/service/offline/ping/PingTimerTask.java", "file_name": "PingTimerTask.java", "file_ext": "java", "file_size_in_byte": 1231, "l... | https://github.com/bugzmanov/PSCafepos.fork | 246 | FILENAME: PingTimerTask.java | 0.282196 | package org.pscafepos.service.offline.ping;
import org.pscafepos.backends.database.jdbc.JdbcConnector;
import org.pscafepos.backends.database.jdbc.JdbcUtils;
import org.pscafepos.backends.database.jdbc.exception.JdbcConnectorException;
import java.sql.Connection;
import java.util.TimerTask;
/**
* @author bagmanov
... |
c6f3c357-1b72-433d-95cf-77cb9c4a03f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-17 19:30:04", "repo_name": "SShkut/FileTypeAnalyzer", "sub_path": "/analyzer/PatternRepository.java", "file_name": "PatternRepository.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 37, "la... | https://github.com/SShkut/FileTypeAnalyzer | 188 | FILENAME: PatternRepository.java | 0.279828 | package analyzer;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class PatternRepository {
private final String filePath;
public PatternRepository... |
54058cea-05e4-445f-a9be-973cf7f02d65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-09 12:54:28", "repo_name": "ackasaber/jpa-spilca", "sub_path": "/jpa13boot/src/main/java/example/jpa/springboot/services/ProductService.java", "file_name": "ProductService.java", "file_ext": "java", "file_size... | https://github.com/ackasaber/jpa-spilca | 189 | FILENAME: ProductService.java | 0.281406 | package example.jpa.springboot.services;
import example.jpa.springboot.entitites.Product;
import example.jpa.springboot.repositories.ProductRepository;
import java.util.List;
import javax.transaction.Transactional;
import org.springframework.stereotype.Service;
/**
* Product service class.
*
* Spring will inject ... |
0d1f1376-c0f1-47a6-9ec6-7e35c39a2979 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-14 12:36:58", "repo_name": "bacha277/razing-_-potatoes", "sub_path": "/src/com/TG/entities/creatures/Creature.java", "file_name": "Creature.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 4... | https://github.com/bacha277/razing-_-potatoes | 216 | FILENAME: Creature.java | 0.259826 | /*
* 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.TG.entities.creatures;
import com.TG.entities.Entity;
import java.awt.Color;
import java.awt.Graphics;
/**
*
* @author ... |
76046bf4-392b-4779-b214-050968c1fdb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-20 20:22:23", "repo_name": "AZHARDEEN/cloudsystems", "sub_path": "/cloudsystems/ViewPrj/src/main/java/br/com/mcampos/util/system/tree/SimpleTreeNode.java", "file_name": "SimpleTreeNode.java", "file_ext": "java... | https://github.com/AZHARDEEN/cloudsystems | 220 | FILENAME: SimpleTreeNode.java | 0.279828 | package br.com.mcampos.util.system.tree;
import br.com.mcampos.dto.ApplicationException;
import br.com.mcampos.dto.core.SimpleTableDTO;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public abstract class SimpleTreeNode implements Serializable
{
protected List children... |
e88a9062-9662-4e7b-9be6-9f666c1d9570 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-22 04:02:32", "repo_name": "HenryLX/chapter7-3", "sub_path": "/chapter7-3/src/com/ylx/EmptyEl/ELObjects.java", "file_name": "ELObjects.java", "file_ext": "java", "file_size_in_byte": 1035, "line_count": 33, "l... | https://github.com/HenryLX/chapter7-3 | 176 | FILENAME: ELObjects.java | 0.278257 | package com.ylx.EmptyEl;
import java.io.IOException;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... |
20fabf04-b848-4d1d-97a1-6e4b7833d631 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 10:13:09", "repo_name": "hieuvp98/projectI", "sub_path": "/ProjectDemo5/app/src/main/java/com/example/dell/projectdemo5/Intro.java", "file_name": "Intro.java", "file_ext": "java", "file_size_in_byte": 1060,... | https://github.com/hieuvp98/projectI | 175 | FILENAME: Intro.java | 0.228156 | package com.example.dell.projectdemo5;
import android.content.Intent;
import android.os.Parcelable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import java.util.ArrayList;
public class Intro extends AppCompatActivity {
Ima... |
6bf9bc34-1615-499b-b27c-0bb15bf03b38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-05-17T18:01:37", "repo_name": "radhikakhetan/prp", "sub_path": "/node_modules/connect-mayfly/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1146, "line_count": 47, "lang": ... | https://github.com/radhikakhetan/prp | 322 | FILENAME: CHANGELOG.md | 0.294215 | ### v0.4.4
- Avoid double session saving by creating a new middleware and loading it after session middleware.
- Forcing explicit session save.
### v0.4.2
- Avoid double session saving.
### v0.4.1
- Logging mayfly session revisionNo to CAL.
- making `nsid` secure in deployed env.
### v0.4.0
- shared session st... |
9797768a-7240-446a-9ffe-585c2751ba9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-26 20:19:46", "repo_name": "giacomopellizzari/AccomodationSystem", "sub_path": "/src/accomodationsystem/Lease.java", "file_name": "Lease.java", "file_ext": "java", "file_size_in_byte": 1050, "line_count": 44, ... | https://github.com/giacomopellizzari/AccomodationSystem | 209 | FILENAME: Lease.java | 0.287768 | package accomodationsystem;
public class Lease {
/* ATTRIBUTES */
private int duration;
private int leaseNumber;
private Student student;
/* CONSTRUCTOR */
public Lease(Student student, int duration, int leaseNumber) {
this.student = student;
this.duration = durati... |
efdb51ea-8f89-45b5-ad14-9bd2f08de2f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-12 05:21:28", "repo_name": "DouglasPFS/Senac_Tads", "sub_path": "/ProjetoIntegrador/Conexao.java", "file_name": "Conexao.java", "file_ext": "java", "file_size_in_byte": 1120, "line_count": 45, "lang": "en", "d... | https://github.com/DouglasPFS/Senac_Tads | 199 | FILENAME: Conexao.java | 0.23231 | package Agendamento.dao;
import java.sql.*;
import javax.swing.JOptionPane;
/**
*
* @author João Pedro
*/
public class Conexao {
static private Connection conexao;
static public Statement statement;
static public ResultSet resultset;
static public PreparedStatement prep;
publi... |
a9c156d0-60af-4120-98a1-e15c37a59287 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-02 13:20:24", "repo_name": "BirdsQuest/PartialWebview", "sub_path": "/app/src/main/java/com/birdsquest/partialwebview/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1033, "line_... | https://github.com/BirdsQuest/PartialWebview | 233 | FILENAME: Main.java | 0.26588 | package com.birdsquest.partialwebview;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
public class Main extends AppCompatActivity{
PartialWebView article;
@Override
protected void onCreate(Bundle savedInstanceState){
super.onCreate(sa... |
2ba7e135-679a-4206-b6b0-0b6001cc6972 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-27T03:09:33", "repo_name": "arun6445/innablr_interview_app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1061, "line_count": 33, "lang": "en", "doc_type": "te... | https://github.com/arun6445/innablr_interview_app | 263 | FILENAME: README.md | 0.268941 | # innablr_interview_app
This repo exposes the 2 endpoints:
1. root endpoint (/) - this returns the hello world application.
2. status endpoint (/status) - this returns the data in JSON format
# pre-requisites
* Travis
* docker-engine
* Node js
* Make
This project creates the docker images of the Node JS application... |
aea0b692-3f53-44e8-9fdb-73a9df8856c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-04 23:48:10", "repo_name": "SlapGaming/SlapGames", "sub_path": "/src/nl/stoux/SlapGames/Games/Base/Arena/BaseArenaSettings.java", "file_name": "BaseArenaSettings.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/SlapGaming/SlapGames | 258 | FILENAME: BaseArenaSettings.java | 0.274351 | package nl.stoux.SlapGames.Games.Base.Arena;
import lombok.Getter;
import nl.stoux.SlapGames.Settings.BaseSettings;
import nl.stoux.SlapGames.Settings.Setting;
import nl.stoux.SlapGames.Settings.SettingGroup;
import nl.stoux.SlapGames.Storage.YamlFile;
/**
* Created by Stoux on 21/02/2015.
*/
public abstract class ... |
9714c221-853e-4e04-9abc-eb5fae33d3cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-15 18:17:43", "repo_name": "joanluk/apirest-async", "sub_path": "/src/main/java/org/emaginalabs/api/BookController.java", "file_name": "BookController.java", "file_ext": "java", "file_size_in_byte": 1019, "lin... | https://github.com/joanluk/apirest-async | 178 | FILENAME: BookController.java | 0.259826 | package org.emaginalabs.api;
import org.emaginalabs.model.Book;
import org.emaginalabs.service.BookService;
import org.springframework.core.task.TaskExecutor;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Reques... |
8eaf1326-5145-4346-bebf-aa064d13d1c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-19T17:45:10", "repo_name": "cusat-clubs/Past-events", "sub_path": "/SESSION 15/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1034, "line_count": 19, "lang": "en", "doc_type":... | https://github.com/cusat-clubs/Past-events | 259 | FILENAME: readme.md | 0.292595 |
## MY JOURNEY THROUGH DATA ANALYTICS
CUSAT Clubs is delighted to announce that MS ANILA VISWAMBHARAN will be amidst us to untangle our cluster of dilemmas about Data Analytics.
She is the manager, data analytics, Bank-fund staff federal credit union. She has worked relentlessly for 17 years with various analytics pla... |
28cae5c5-7b8b-49cf-9c5f-8bc218d8a3d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-10T18:33:50", "repo_name": "0x5929/Sec", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1147, "line_count": 28, "lang": "en", "doc_type": "text", "blob_id": "888... | https://github.com/0x5929/Sec | 285 | FILENAME: README.md | 0.225417 | # Sec Repo
## Git Repo for all things security related, including:
1. Enumeration
2. Exploitation (working progress)
3. Privilege Escalation
4. Post-Exploitation (coming soon)
_note:_ \*this repo is for personal pentesting research, educational purposes. Unless stated otherwise, I do not own any of the soft... |
6f5b667c-ef1a-4c97-9e55-4a555f79a27c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-30 19:18:10", "repo_name": "Nikunj-Enterprises/EasyAssist", "sub_path": "/server/usermgmnt/src/main/java/com/easyapper/usermgmnt/service/UserMgmntService.java", "file_name": "UserMgmntService.java", "file_ext"... | https://github.com/Nikunj-Enterprises/EasyAssist | 206 | FILENAME: UserMgmntService.java | 0.268941 | package com.easyapper.usermgmnt.service;
import com.easyapper.usermgmnt.dao.UserDao;
import com.easyapper.usermgmnt.model.User;
import org.bson.types.ObjectId;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class U... |
3d02a8ac-1a8c-409b-9541-989af4b9c4ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-25T16:51:47", "repo_name": "Crypto420/BaaS-recipes", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1017, "line_count": 14, "lang": "en", "doc_type": "text", "bl... | https://github.com/Crypto420/BaaS-recipes | 206 | FILENAME: README.md | 0.229535 | # BaaS-recipes
The BPaaS recipe is a configuration part of the runtime of a workspace. Every stack is based on a BPaaS recipe and contains meta information that defines how the workspace runtime should be created. When creating custom workspace runtime it’s often best to create a custom stack with a custom recipe.
W... |
c93c7004-7645-460f-aa2e-e6ec03686578 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-26 04:27:59", "repo_name": "ankitgarg2016/POMDemo", "sub_path": "/MorningBatchMaven/POM/src/test/java/POM_Pages/HomePage.java", "file_name": "HomePage.java", "file_ext": "java", "file_size_in_byte": 1014, "lin... | https://github.com/ankitgarg2016/POMDemo | 227 | FILENAME: HomePage.java | 0.294215 | package POM_Pages;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class HomePage extends BasePage{
//WebDriver driver;
public HomePage(WebDriver driver) {
//this.driver = driver;
super(dri... |
4fcbe24b-3f0d-4575-bda9-afeed3525fc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-10T16:07:22", "repo_name": "DantePuglisi/Home24-project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1147, "line_count": 29, "lang": "en", "doc_type": "text"... | https://github.com/DantePuglisi/Home24-project | 290 | FILENAME: README.md | 0.212069 | # Home24-project by Dante Puglisi
## How to run project
Clone the repository in your computer locally and run using XCode.
This project was made using XCode 9.2 and Swift 4.
## Important info
### Architecture
The architecture used is MVC because it's easy to set up and for a small app like this one it's the best opt... |
e46e71b6-9e9a-40c2-836c-3ebbd1a1c511 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-13 21:38:27", "repo_name": "davidtrom/PuzzleSolutions", "sub_path": "/src/main/java/WordsSeparateLines.java", "file_name": "WordsSeparateLines.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count"... | https://github.com/davidtrom/PuzzleSolutions | 212 | FILENAME: WordsSeparateLines.java | 0.203075 | // Text Wrap Problem
//
//Write a program that takes an input string and prints it as multiple lines of text such that no line of text is greater than 13 characters and words are kept whole.
public class WordsSeparateLines {
public String returnLines (String line){
StringBuilder result = new StringBuilde... |
c80cdc7c-9cf8-4fe8-b700-a122eb1e516a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-13 08:38:12", "repo_name": "PovarIsSFEDU/KidsTaxi", "sub_path": "/src/main/java/com/plukash/kt/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 1034, "line_count": 59, "lang": "... | https://github.com/PovarIsSFEDU/KidsTaxi | 236 | FILENAME: Order.java | 0.26971 | package com.plukash.kt;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "orders")
public class Order {
@Id
private int id;
@Column(name = "time")
private String Date_time;
@Column(name = "place")
... |
c1d25541-ce95-4042-9e67-b017f1b8e664 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-09 09:35:48", "repo_name": "pradeepy2kg/pradeepy2kg-adsfasdf", "sub_path": "/src/main/java/lk/rgd/common/core/dao/BaseDAO.java", "file_name": "BaseDAO.java", "file_ext": "java", "file_size_in_byte": 1114, "lin... | https://github.com/pradeepy2kg/pradeepy2kg-adsfasdf | 225 | FILENAME: BaseDAO.java | 0.273574 | package lk.rgd.common.core.dao;
import lk.rgd.common.RGDRuntimeException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
/**
* @author asankha
*/
@Repository
public class... |
682c890b-d80d-42a8-9c15-9db9ac2704ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-30 13:54:51", "repo_name": "ChmHsm/khettafWS", "sub_path": "/KhettafRest2/src/main/java/khettaf/TrajetController.java", "file_name": "TrajetController.java", "file_ext": "java", "file_size_in_byte": 1147, "lin... | https://github.com/ChmHsm/khettafWS | 261 | FILENAME: TrajetController.java | 0.294215 | package khettaf;
import khettaf.entities.KhettafRepo;
import khettaf.entities.TrajetRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestM... |
59f033e5-14ce-446b-9825-4e8a1d001c5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-04 15:49:50", "repo_name": "niktrop/remote-access", "sub_path": "/src/ru/niktrop/remote_access/handlers/CommandExecutor.java", "file_name": "CommandExecutor.java", "file_ext": "java", "file_size_in_byte": 976,... | https://github.com/niktrop/remote-access | 197 | FILENAME: CommandExecutor.java | 0.250913 | package ru.niktrop.remote_access.handlers;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.jboss.netty.channel.MessageEvent;
import org.jboss.netty.channel.SimpleChannelUpstreamHandler;
import ru.niktrop.remote_access.commands.SerializableCommand;
import ru.niktrop.remote_access.controller.CommandMana... |
4795c23c-0088-47c6-a6c9-a52646121c06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-19 00:00:59", "repo_name": "hichemcesar24/Youtube-Channel", "sub_path": "/Channel/app/src/main/java/com/hichemromdhane/youtubechannel/Model/CommentsDetails/ItemComment.java", "file_name": "ItemComment.java", "... | https://github.com/hichemcesar24/Youtube-Channel | 242 | FILENAME: ItemComment.java | 0.218669 | package com.hichemromdhane.youtubechannel.Model.CommentsDetails;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ItemComment {
@SerializedName("kind")
@Expose
private String kind;
@SerializedName("etag")
@Expose
private String etag;
... |
056b3c6d-5116-438a-ba18-f09a4cfa478d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-12 08:18:43", "repo_name": "sksamuel/scrimage", "sub_path": "/scrimage-core/src/main/java/com/sksamuel/scrimage/canvas/drawables/DrawableImage.java", "file_name": "DrawableImage.java", "file_ext": "java", "fil... | https://github.com/sksamuel/scrimage | 232 | FILENAME: DrawableImage.java | 0.293404 | package com.sksamuel.scrimage.canvas.drawables;
import com.sksamuel.scrimage.ImmutableImage;
import com.sksamuel.scrimage.canvas.Drawable;
import com.sksamuel.scrimage.canvas.GraphicsContext;
import com.sksamuel.scrimage.graphics.RichGraphics2D;
public class DrawableImage implements Drawable {
private final Immu... |
0404bd1b-c0ef-4915-b32e-b64e5a662e7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-07 19:08:03", "repo_name": "merliya/ws_infrastructure_notification", "sub_path": "/NotificationLogResponseRepositoryImpl.java", "file_name": "NotificationLogResponseRepositoryImpl.java", "file_ext": "java", "f... | https://github.com/merliya/ws_infrastructure_notification | 183 | FILENAME: NotificationLogResponseRepositoryImpl.java | 0.292595 | package com.jbhunt.infrastructure.notification.repository;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.Query;
import org.springframework.stereotype.Repository;
import com.jbhunt.infrastruc... |
410c997c-4318-4c03-9d5c-a920612e1c1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-28 22:26:48", "repo_name": "tomekchudzik/currencyfair", "sub_path": "/src/main/java/currencyfair/tradeprocessor/web/TradeFrontendAplicationController.java", "file_name": "TradeFrontendAplicationController.java... | https://github.com/tomekchudzik/currencyfair | 219 | FILENAME: TradeFrontendAplicationController.java | 0.289372 | package currencyfair.tradeprocessor.web;
import java.util.Timer;
import java.util.TimerTask;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.simp.SimpMessagingTemplate;
import org.springframework.web.bind.annotation.RestContro... |
2c813bde-a79a-4e55-af9b-74ac11abd6f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-02 09:45:08", "repo_name": "davinaqin/Java-", "sub_path": "/file/FileTest.java", "file_name": "FileTest.java", "file_ext": "java", "file_size_in_byte": 1048, "line_count": 35, "lang": "en", "doc_type": "code",... | https://github.com/davinaqin/Java- | 243 | FILENAME: FileTest.java | 0.283781 | package edu.swun.file;
import java.io.File;
import java.io.IOException;
public class FileTest {
public static void main(String[] args) {
// File file1 = new File("D:\\IOTest\\score.txt");
// File file1 = new File("D:\\IOTest","score.txt");
File file = new File("D:\\IOTest");
File fil... |
91b29d2e-308e-471f-8e82-90f9b51e7da7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-23 21:00:34", "repo_name": "JULIELab/julielab-neo4j-server-plugins", "sub_path": "/julielab-neo4j-plugins-concepts/src/main/java/de/julielab/neo4j/plugins/auxiliaries/semedico/TermVariantComparator.java", "fil... | https://github.com/JULIELab/julielab-neo4j-server-plugins | 242 | FILENAME: TermVariantComparator.java | 0.252384 | package de.julielab.neo4j.plugins.auxiliaries.semedico;
import org.apache.commons.lang3.StringUtils;
import java.util.Comparator;
import java.util.Locale;
/**
* This comparator aims to judge whether two term writing variants are the same
* or not. For this purpose, some minor normalizations are applied to the
* c... |
0736a5e5-d47b-4a3f-8261-94f0d8f1df44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-25T13:06:38", "repo_name": "git-ahi/delani-studio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1150, "line_count": 44, "lang": "en", "doc_type": "text", "blo... | https://github.com/git-ahi/delani-studio | 275 | FILENAME: README.md | 0.246533 | # DELANI STUDIO
#### Delani Studio is a website to showcase Delani's services and a way for clients to give feedback through the contact form, July 2021
#### By **Kelvin Gitahi**
## Description
Delani Studio specializes in tailor made design and software to suit users needs. Our approach unifies design, development... |
7ef79576-f340-4921-b03d-47bd09b9e860 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-29 12:49:47", "repo_name": "artbite008/running_coin", "sub_path": "/backend/src/test/java/com/running/coins/common/util/ThisLocalizedWeekTest.java", "file_name": "ThisLocalizedWeekTest.java", "file_ext": "java... | https://github.com/artbite008/running_coin | 226 | FILENAME: ThisLocalizedWeekTest.java | 0.268941 | package com.running.coins.common.util;
import org.apache.tomcat.jni.Local;
import org.junit.Test;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import static org.jun... |
46fea412-98f1-4c30-83b7-59e267e11f54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-23 15:35:04", "repo_name": "cmendesce/k8s-rainbow", "sub_path": "/src/test/java/org/sa/rainbow/k8s/models/K8sModelInstanceTest.java", "file_name": "K8sModelInstanceTest.java", "file_ext": "java", "file_size_in... | https://github.com/cmendesce/k8s-rainbow | 201 | FILENAME: K8sModelInstanceTest.java | 0.252384 | package org.sa.rainbow.k8s.models;
import org.junit.Before;
import org.junit.Test;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import static org.assertj.core.api.Assertions.assertThat;
public class K8sModelInstanceTest {
private FileInputStream inputStream;
... |
27cd54a1-e912-4597-8ceb-c8db585ebc06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-26 01:10:42", "repo_name": "xuwenjin/xwj-rpc", "sub_path": "/xwj-rpc-spring-consumer/src/main/java/com/xwj/consumer/ConsumerTest.java", "file_name": "ConsumerTest.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/xuwenjin/xwj-rpc | 217 | FILENAME: ConsumerTest.java | 0.247987 | package com.xwj.consumer;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import com.xwj.consumer.config.SpringConfig;
import com.xwj.consumer.importer.RpcProxyClient;
import com.xwj.consumer.service.EchoServiceApi;
import com.xw... |
b25f7663-8cbc-4219-93b3-5917f2142e08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-08 12:01:58", "repo_name": "yang0123456789/dismall", "sub_path": "/mall_product/src/test/java/com/yang/mall_product/MallProductApplicationTests.java", "file_name": "MallProductApplicationTests.java", "file_ext... | https://github.com/yang0123456789/dismall | 294 | FILENAME: MallProductApplicationTests.java | 0.247987 | package com.yang.mall_product;
import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
@SpringBootTest
class Mal... |
c6335f8f-fa80-4f68-9250-b3bf719bdf76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-12 21:47:18", "repo_name": "varmax2511/GraphOfTrust", "sub_path": "/src/main/java/edu/buffalo/cse/wot/neo4j/model/UserNode.java", "file_name": "UserNode.java", "file_ext": "java", "file_size_in_byte": 1054, "l... | https://github.com/varmax2511/GraphOfTrust | 268 | FILENAME: UserNode.java | 0.261331 | package edu.buffalo.cse.wot.neo4j.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.Validate;
/**
*
* @author varunjai
*
*/
public class UserNode implements GraphNode {
private final Map<String, Object> properties = new H... |
7693cb39-8f81-4671-ae7d-005d7f68ed6d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-24 13:26:43", "repo_name": "sunxuia/spring-security-demo", "sub_path": "/c0-api/src/main/java/net.sunxu.study.c0/UserDetailsServiceImpl.java", "file_name": "UserDetailsServiceImpl.java", "file_ext": "java", "f... | https://github.com/sunxuia/spring-security-demo | 201 | FILENAME: UserDetailsServiceImpl.java | 0.239349 | package net.sunxu.study.c0;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.security.crypto.bcrypt.BCrypt;
import org.spr... |
48dca920-9ff3-41ad-ac42-f3e78c687437 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-08 14:02:32", "repo_name": "uatilman/GU-third-quarter-project", "sub_path": "/src/main/java/ru/tilman/gb/ee/servlet/TestServlet.java", "file_name": "TestServlet.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/uatilman/GU-third-quarter-project | 189 | FILENAME: TestServlet.java | 0.264358 | package ru.tilman.gb.ee.servlet;
import ru.tilman.gb.ee.dao.ProductDAO;
import ru.tilman.gb.ee.entity.Product;
import javax.inject.Inject;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
i... |
60eab881-9eed-4dfa-a683-c4dcc7ad14db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-28 17:09:35", "repo_name": "88nab/AdvancedProgramming", "sub_path": "/distributed/code/SimpleServer/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1059, "line_count": 33, "l... | https://github.com/88nab/AdvancedProgramming | 189 | FILENAME: Server.java | 0.277473 | import java.net.Socket;
import java.net.ServerSocket;
import java.io.IOException;
import java.io.OutputStreamWriter;
public class Server {
public static void main(String[] args) {
ServerSocket listener = null;
Socket client = null;
try {
listener = new ServerSocket(8765);
... |
ad81a596-2270-4fdb-a7da-bc16dc950240 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-26 07:06:23", "repo_name": "chanhengseang3/springboot", "sub_path": "/src/main/java/com/construction/basic/keyvalue/domain/KeyValue.java", "file_name": "KeyValue.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/chanhengseang3/springboot | 234 | FILENAME: KeyValue.java | 0.261331 | package com.construction.basic.keyvalue.domain;
import com.construction.persistence.utils.JsonObjectConverter;
import com.construction.persistence.domain.AuditingEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.ResultCheckStyle;
import org.hiber... |
fc03535d-a146-41da-b247-5e3767f85d54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18 09:49:38", "repo_name": "tristankhiem/admin-tv", "sub_path": "/src/main/java/tranvivan/phanlop/quanlysinhvien/service/StudentService.java", "file_name": "StudentService.java", "file_ext": "java", "file_size... | https://github.com/tristankhiem/admin-tv | 197 | FILENAME: StudentService.java | 0.243642 | package tranvivan.phanlop.quanlysinhvien.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tranvivan.phanlop.quanlysinhvien.model.Student;
import tranvivan.phanlop.quanlysinhvien.repository.StudentRepository;
import java.util.List;
@Service
... |
4c4dfc88-b174-48da-8943-ead17f0cf4ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-30 03:42:06", "repo_name": "wdpimenta/VendaJoias", "sub_path": "/src/main/java/br/ifirst/karine/relatorios/JPRDataSource.java", "file_name": "JPRDataSource.java", "file_ext": "java", "file_size_in_byte": 1147,... | https://github.com/wdpimenta/VendaJoias | 247 | FILENAME: JPRDataSource.java | 0.286968 | /*
* 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 br.ifirst.karine.relatorios;
import br.ifirst.karine.utils.ReflectionUtil;
import java.util.Iterator;
import java.util.List;
i... |
dbc6d1ed-9783-4aca-9fec-ebad5e055141 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-17 17:41:32", "repo_name": "yaoyifei1216/AndroidProgramming", "sub_path": "/Hook/app/src/main/java/com/example/hookdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_b... | https://github.com/yaoyifei1216/AndroidProgramming | 169 | FILENAME: MainActivity.java | 0.217338 | package com.example.hookdemo;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
TextView mTextView;
@Override
protected void onCreate(Bund... |
c9476636-f055-4264-a8c1-7e6cdd5bdaa7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-30 19:24:14", "repo_name": "BraisleCoanel/ListsAndStrings", "sub_path": "/src/las/view/PopupDisplay.java", "file_name": "PopupDisplay.java", "file_ext": "java", "file_size_in_byte": 1048, "line_count": 49, "la... | https://github.com/BraisleCoanel/ListsAndStrings | 255 | FILENAME: PopupDisplay.java | 0.288569 | package las.view;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
/**
* Simple GI class using JOptionPane
* @author bmar8200
*@version 1.0 03.10.2017
*/
public class PopupDisplay
{
private ImageIcon icon;
private String windowTitle;
// public String collectResponse(String)
// {
//
// }
public... |
aa346558-c28a-4908-ba25-28c4fe17181b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-10 04:36:45", "repo_name": "liuxiao8114/algs4-programming", "sub_path": "/week11/NFA.java", "file_name": "NFA.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count": 43, "lang": "en", "doc_type": "... | https://github.com/liuxiao8114/algs4-programming | 288 | FILENAME: NFA.java | 0.283781 | public class NFA {
private char[] re; // match transitions
private Digraph G; // epsilon transition digraph
private int M; // number of states
public NFA(String regexp) {
M = regexp.length();
re = regexp.toCharArray();
G = buildEpsilonTransitionDigraph();
}
public boolean recognizes(String txt... |
e3cc0356-e235-4652-a16a-e9aac3bf756a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-21 16:56:34", "repo_name": "drstachura/Tech-Elevator", "sub_path": "/java-key-module-1-capstone-team-4/Capstone/java/src/main/java/com/techelevator/Products.java", "file_name": "Products.java", "file_ext": "ja... | https://github.com/drstachura/Tech-Elevator | 247 | FILENAME: Products.java | 0.240775 | package com.techelevator;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
import java.util.Stack;
public class Products {
// attribute variables
private String type;
private String name;
private String returnMsg;
// Ctor
public Products(String type, String name) {
... |
65ba29a0-22bc-436d-991b-f5ed84ad1daa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-17 01:57:59", "repo_name": "andrewlinington/DiscordBot", "sub_path": "/src/test/java/Commands/SH/utils/PolicyTest.java", "file_name": "PolicyTest.java", "file_ext": "java", "file_size_in_byte": 1014, "line_cou... | https://github.com/andrewlinington/DiscordBot | 225 | FILENAME: PolicyTest.java | 0.295027 | package Commands.SH.utils;
import Commands.SH.utils.enums.RoleType;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import java.awt.image.BufferedImage;
import static org.junit.Assert.assertEquals;
import static or... |
18f27475-7c67-420b-92d0-b63ff3174018 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-12 06:09:29", "repo_name": "yjj1314520789/yjj", "sub_path": "/jt-manage/src/main/java/com/jt/controller/FileController.java", "file_name": "FileController.java", "file_ext": "java", "file_size_in_byte": 1218, ... | https://github.com/yjj1314520789/yjj | 259 | FILENAME: FileController.java | 0.275909 | package com.jt.controller;
import java.io.File;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import com.jt.ser... |
c23c547b-8469-43bf-871d-b1f99c167755 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-27 13:05:31", "repo_name": "kastnerorz/analyst", "sub_path": "/src/main/java/cn/kastner/analyst/util/crawler/Finder.java", "file_name": "Finder.java", "file_ext": "java", "file_size_in_byte": 1098, "line_count... | https://github.com/kastnerorz/analyst | 224 | FILENAME: Finder.java | 0.292595 | package cn.kastner.analyst.util.crawler;
import org.springframework.stereotype.Service;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@Service
public class Finder {
public String getString(String doc, String regex, int group) {
Pattern pattern = Pattern.compile(regex);
Matcher ... |
cf83d63b-49f2-4df2-9b30-faa28108ef2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-08T03:23:14", "repo_name": "gusmccoy/app-my-tunes", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 33, "lang": "en", "doc_type": "text", "blob... | https://github.com/gusmccoy/app-my-tunes | 229 | FILENAME: README.md | 0.249447 | # my-tunes
A WPF application that allows a user to organize and play songs. Audio files can be added to and removed
from the app and organized into playlists. The last.fm web API is used to show extra information about each song. Music and
playlist data is stored in an XML file.
Gus McCoy and Spencer Hill
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.