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 |
|---|---|---|---|---|---|---|
8567a819-d8f3-434d-91a0-57142a1c50c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-27 20:52:13", "repo_name": "MindaugasNavickas/PickTrackerFYP_Server", "sub_path": "/src/main/java/com/picker/server/controller/GetItemController.java", "file_name": "GetItemController.java", "file_ext": "java"... | https://github.com/MindaugasNavickas/PickTrackerFYP_Server | 228 | FILENAME: GetItemController.java | 0.280616 | package com.picker.server.controller;
import java.sql.SQLException;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annot... |
123ba57c-b9e2-477f-a370-8d795688654e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-18 11:08:04", "repo_name": "AuBGa/aubga", "sub_path": "/aubga-jwt/src/main/java/com/aubga/jwt/controller/TokenInterceptor.java", "file_name": "TokenInterceptor.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/AuBGa/aubga | 192 | FILENAME: TokenInterceptor.java | 0.201813 | package com.aubga.jwt.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import com.aubga.jwt.util.TokenUtil;
/**
* 自定义token拦截器
*/
@Component
public cla... |
29fab482-3883-4a0d-b7cc-1c527facb448 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-22 11:19:59", "repo_name": "Junaid17/Android_Session7_Assignment_7.1", "sub_path": "/app/src/main/java/com/example/jmush/android_session7_assignment_71/MainActivity.java", "file_name": "MainActivity.java", "fi... | https://github.com/Junaid17/Android_Session7_Assignment_7.1 | 180 | FILENAME: MainActivity.java | 0.217338 | package com.example.jmush.android_session7_assignment_71;
import android.app.SearchManager;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extend... |
d1e601eb-07e9-4ba3-a5c2-e398ea42fcf3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-01 08:24:13", "repo_name": "ivanNzhukov/CbrXmlParser", "sub_path": "/src/main/java/ru/cbr/xml/parser/converters/RecordConverter.java", "file_name": "RecordConverter.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ivanNzhukov/CbrXmlParser | 214 | FILENAME: RecordConverter.java | 0.279828 | package ru.cbr.xml.parser.converters;
import org.simpleframework.xml.convert.Converter;
import org.simpleframework.xml.stream.InputNode;
import org.simpleframework.xml.stream.OutputNode;
import ru.cbr.xml.parser.courses.Record;
import static ru.cbr.xml.parser.courses.Record.*;
public class RecordConverter implements... |
7073d8e9-6222-4b8e-a96a-c6ad8ccd0a20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-09 09:16:42", "repo_name": "zhanhai/ubankers.android", "sub_path": "/app/src/main/java/com/ubankers/app/base/api/Consumer.java", "file_name": "Consumer.java", "file_ext": "java", "file_size_in_byte": 1096, "li... | https://github.com/zhanhai/ubankers.android | 219 | FILENAME: Consumer.java | 0.264358 | package com.ubankers.app.base.api;
import retrofit.HttpException;
import rx.Subscriber;
/**
*
*/
public abstract class Consumer<D> extends Subscriber<Response<D>> {
@Override
public void onCompleted() {
}
@Override
public void onError(Throwable e) {
int statusCode = -1;
if (e i... |
54d1ab1b-7c54-4000-8def-c3694696deec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-26 14:52:42", "repo_name": "Jassy1994/Akasha", "sub_path": "/src/main/java/com/example/Service/CommentService.java", "file_name": "CommentService.java", "file_ext": "java", "file_size_in_byte": 1142, "line_cou... | https://github.com/Jassy1994/Akasha | 242 | FILENAME: CommentService.java | 0.293404 | package com.example.Service;
import com.example.DAO.CommentDAO;
import com.example.Model.Comment;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by Jassy on 20... |
c384a53c-8bda-4bd8-96c3-1140009c2e36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-06 05:57:55", "repo_name": "zhoupengkobe/-JDBC", "sub_path": "/src/com/kobe/jdbc/Demo2.java", "file_name": "Demo2.java", "file_ext": "java", "file_size_in_byte": 1188, "line_count": 57, "lang": "en", "doc_type... | https://github.com/zhoupengkobe/-JDBC | 326 | FILENAME: Demo2.java | 0.279042 | package com.kobe.jdbc;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;
/**
* 测试执行SQL语句以及SQL注入问题
* @author ko
*
*/
public class Demo2 {
public static void main(String[] args) {
Connection conn = null;
Statement stmt = null;
try {
//加载驱... |
12213274-d50a-4e15-a044-246c58940987 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-10-19T08:35:54", "repo_name": "dux/tic-tac-toe", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1090, "line_count": 71, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/dux/tic-tac-toe | 302 | FILENAME: README.md | 0.273574 | # Tic tac toe demo
## Server side
Sinatra
OR mapper -> DataMaper, cleaner to get it working in Sinatra then AR
## Client side
### JS
http://mithril.js.org/
Frontend with Mithril. It does very well
* two-way data binding
* routing
* controler-view rendering
Simple and extremly efective.
### Pre-processors
No... |
51b6a89c-5674-4c64-9cd2-8228bd9c5756 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-13T12:34:30", "repo_name": "rastislavs/submariner-website", "sub_path": "/src/content/architecture/route-agent/_index.en.md", "file_name": "_index.en.md", "file_ext": "md", "file_size_in_byte": 1107, "line... | https://github.com/rastislavs/submariner-website | 231 | FILENAME: _index.en.md | 0.208179 | +++
title = "Route Agent"
weight = 3
+++
The Route Agent component runs on every worker node in each participating cluster. It is
responsible for setting up VxLAN tunnels and routing the cross cluster traffic
from the node to the cluster’s active Gateway Engine which subsequently sends the
traffic to the destination ... |
bbb3f46d-2712-40d5-9664-417247baa426 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-03 09:21:11", "repo_name": "ToastShaman/training-material", "sub_path": "/java8-training-material/src/test/java/com/github/toastshaman/java8/ExerciseWithLambdas.java", "file_name": "ExerciseWithLambdas.java", ... | https://github.com/ToastShaman/training-material | 257 | FILENAME: ExerciseWithLambdas.java | 0.249447 | package com.github.toastshaman.java8;
import java.util.Arrays;
import java.util.List;
import static com.github.toastshaman.java8.SampleData.*;
import static com.github.toastshaman.java8.SampleData.ringoStarr;
public class ExerciseWithLambdas implements Exercise1 {
public List<Album> albums = Arrays.asList(aLove... |
7b290019-d9d3-4572-9597-086e67893999 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-20 16:00:23", "repo_name": "codelirium/qms", "sub_path": "/src/main/java/io/codelirium/unifiedpost/qms/repository/QuoteRepository.java", "file_name": "QuoteRepository.java", "file_ext": "java", "file_size_in_b... | https://github.com/codelirium/qms | 258 | FILENAME: QuoteRepository.java | 0.281406 | package io.codelirium.unifiedpost.qms.repository;
import io.codelirium.unifiedpost.qms.domain.entity.QuoteEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import javax.transaction.Transactional;... |
bb0d2a52-c172-4ac1-bf3f-ac2d0537fb67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 08:09:28", "repo_name": "luxinfeng/JavaRPC", "sub_path": "/src/main/java/framework/core/remoting/dto/RpcResponse.java", "file_name": "RpcResponse.java", "file_ext": "java", "file_size_in_byte": 1154, "line_... | https://github.com/luxinfeng/JavaRPC | 242 | FILENAME: RpcResponse.java | 0.285372 | package framework.core.remoting.dto;
import framework.common.enums.RpcResponseCodeEnum;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
@Setter
@Getter
public class RpcResponse<T> implements Serializable {
// 整体模仿HTTP报文
private static final long serialVersionUID = 715745410605631233L... |
2b6a0ef6-a486-4dcc-a020-75e562ac8d1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-02T18:52:13", "repo_name": "vafliik/github_stats", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1090, "line_count": 38, "lang": "en", "doc_type": "text", "blob... | https://github.com/vafliik/github_stats | 268 | FILENAME: README.md | 0.191933 | # GitHub PR stats
Simple Pull Request statistics
It is not done yet. And so far it does not work much :)
# # main.py
Simple python script - can be run simply by `python3 main.py`
The path to repo is hardcoded, needs to be modified in the script
The query to fetch the PRs can be modified, see [API reference](https://... |
d2a5c02c-729e-4c2b-aad0-f42fd22db767 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-25 13:52:39", "repo_name": "nico3111/Interface-Messenger", "sub_path": "/src/com/company/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1142, "line_count": 40, "lang": "en", "do... | https://github.com/nico3111/Interface-Messenger | 258 | FILENAME: Main.java | 0.277473 | package com.company;
public class Main {
public static void main(String[] args) {
Slack slack = new Slack(10000);
slack.sendMessage("Hallo Slack");
slack.sendMessage("Good morning");
WhatsApp whatsdepp = new WhatsApp(10);
whatsdepp.sendMessage("Hello Whatsapp");
... |
886f8396-1258-4325-9c10-a9150ca0d65e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 22:52:00", "repo_name": "krzysiektom/electronicservice", "sub_path": "/src/main/java/pl/tomala/electronicservice/device/parameter/ParameterController.java", "file_name": "ParameterController.java", "file_ex... | https://github.com/krzysiektom/electronicservice | 200 | FILENAME: ParameterController.java | 0.256832 | package pl.tomala.electronicservice.device.parameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.w... |
3ec4f450-080e-45c7-8d78-9962f09882b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-13 14:49:34", "repo_name": "luobosi-marvel/java-basis-study", "sub_path": "/juc-example/src/main/java/com.luobosi.study.juc/lock/ReentrantLockDemo.java", "file_name": "ReentrantLockDemo.java", "file_ext": "jav... | https://github.com/luobosi-marvel/java-basis-study | 242 | FILENAME: ReentrantLockDemo.java | 0.291787 | /*
* Copyright (C) 2009-2016 Hangzhou 2Dfire Technology Co., Ltd. All rights reserved
*/
package com.luobosi.study.juc.lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* ReentrantLock
*
* @author luobosi@2dfire.com
* @since 2017-12-26
*/
public class ReentrantLockDemo {
public static void main(S... |
9587299a-4e78-44ce-b16e-9e6124a13397 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-29 23:47:34", "repo_name": "kerolosFawzy/PopMovie", "sub_path": "/app/src/main/java/com/massive/popmovie/views/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 114... | https://github.com/kerolosFawzy/PopMovie | 205 | FILENAME: MainActivity.java | 0.249447 | package com.massive.popmovie.views;
import android.app.FragmentManager;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.massive.popmovie.R;
import com.massive.popmovie.views.fragments.GridFragment;
public class MainActivity extends AppCompatActivity {
android.app.Fragment Gr... |
0420e5a2-ef8d-49d4-b702-09131e5bc416 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-30 10:56:53", "repo_name": "Firago/jarvis-smart-home-mvp", "sub_path": "/app/src/main/java/com/dfirago/jarvissmarthome/hub/list/model/HubModel.java", "file_name": "HubModel.java", "file_ext": "java", "file_siz... | https://github.com/Firago/jarvis-smart-home-mvp | 276 | FILENAME: HubModel.java | 0.246533 | package com.dfirago.jarvissmarthome.hub.list.model;
/**
* Created by dmfi on 29/05/2017.
*/
public class HubModel {
private String ssid;
private Integer signalLevel;
public HubModel() {
}
public HubModel(String ssid, Integer signalLevel) {
this.ssid = ssid;
this.signalLevel = ... |
738db62d-fcd9-4038-86b0-0dfa3a884967 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-13 16:34:45", "repo_name": "reactome-pwp/diagram", "sub_path": "/src/main/java/org/reactome/web/diagram/events/InteractorHoveredEvent.java", "file_name": "InteractorHoveredEvent.java", "file_ext": "java", "fil... | https://github.com/reactome-pwp/diagram | 241 | FILENAME: InteractorHoveredEvent.java | 0.273574 | package org.reactome.web.diagram.events;
import com.google.gwt.event.shared.GwtEvent;
import org.reactome.web.diagram.data.interactors.model.DiagramInteractor;
import org.reactome.web.diagram.handlers.InteractorHoveredHandler;
/**
* @author Antonio Fabregat <fabregat@ebi.ac.uk>
*/
public class InteractorHoveredEven... |
3fc2ab30-72a1-4bfb-9652-a63b52f825e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-13T16:55:24", "repo_name": "er5bus/questionnaire-front", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1047, "line_count": 48, "lang": "en", "doc_type": "text",... | https://github.com/er5bus/questionnaire-front | 236 | FILENAME: README.md | 0.271252 | # Interactive Questions
Simplify your complex processes with easy-to-use interactive decision trees to collect and deliver the right information.
## Project Requirements:
In order to get the project running you need to install:
* docker
#### Install Docker:
Docker is an open platform for developing, shipping, and... |
37e2afbb-eebc-460f-968d-fc857488c698 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-20 20:02:17", "repo_name": "mitesh-pv/trip_management_system", "sub_path": "/src/com/login/UsersClass.java", "file_name": "UsersClass.java", "file_ext": "java", "file_size_in_byte": 1092, "line_count": 74, "la... | https://github.com/mitesh-pv/trip_management_system | 283 | FILENAME: UsersClass.java | 0.247987 | package com.login;
public class UsersClass {
String users;
String passwd;
String fName;
String lName;
String gender;
public UsersClass(String users, String passwd, String fName, String lName, String gender) {
super();
this.users = users;
this.passwd = passwd;
this.fName = fName;
this.lName = lName;... |
12d65337-4ca4-4fb8-9d47-01481dec95ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-09 06:39:20", "repo_name": "roughdragon/roughdragon.github.io", "sub_path": "/MinigameTokens/src/main/java/io/github/roughdragon/MinigameTokens/Listeners/PlayerKilled.java", "file_name": "PlayerKilled.java", "... | https://github.com/roughdragon/roughdragon.github.io | 244 | FILENAME: PlayerKilled.java | 0.284576 | package io.github.roughdragon.MinigameTokens.Listeners;
import io.github.roughdragon.MinigameTokens.MinigameTokens;
import io.github.roughdragon.MinigameTokens.TokenManager;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.even... |
cfe5e6f2-1c99-4992-b888-f12f5a4fb070 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-12 06:22:28", "repo_name": "un-knower/elasticSearch-learn", "sub_path": "/search-service/src/main/java/com/chinaredstar/common/ValidateUtil.java", "file_name": "ValidateUtil.java", "file_ext": "java", "file_si... | https://github.com/un-knower/elasticSearch-learn | 221 | FILENAME: ValidateUtil.java | 0.23793 | package com.chinaredstar.common;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import java.util.Set;
/**
* Created by chinaredstar on 2017/5/24.
*... |
07b892bb-da4b-4ef3-9695-783b05b7cacb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-11 11:59:02", "repo_name": "tjwnstlr3459/oneday1104", "sub_path": "/src/networkServer/ChattingServer.java", "file_name": "ChattingServer.java", "file_ext": "java", "file_size_in_byte": 1176, "line_count": 81, ... | https://github.com/tjwnstlr3459/oneday1104 | 264 | FILENAME: ChattingServer.java | 0.27513 | package networkServer;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.text.SimpleDateFormat;
import java.util.Date;
public class ChattingServ... |
4ecfd34d-ebfe-41ea-8683-18bd95ea9a04 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-25 09:00:29", "repo_name": "karouani/MenuStandardApplication", "sub_path": "/src/com/dolibarrmaroc/com/models/Services.java", "file_name": "Services.java", "file_ext": "java", "file_size_in_byte": 1065, "line_... | https://github.com/karouani/MenuStandardApplication | 275 | FILENAME: Services.java | 0.259826 | package com.dolibarrmaroc.com.models;
import java.io.Serializable;
import java.util.List;
public class Services implements Serializable{
private int id;
private String service;
private int nmb_cmp;
private List<LabelService> labels;
public Services() {
}
public Services(String service, int nmb_cmp, List<L... |
0dae230c-4dab-4e65-8be0-907524e5b657 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-20 11:58:37", "repo_name": "flashoverm/GeofencingLib_Examples", "sub_path": "/AreaCounterAdminApp/app/src/main/java/de/geofencing/area/areacounteradmin/Geofence/SectionsPagerAdapter.java", "file_name": "Sectio... | https://github.com/flashoverm/GeofencingLib_Examples | 227 | FILENAME: SectionsPagerAdapter.java | 0.256832 | package de.geofencing.area.areacounteradmin.Geofence;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
public class SectionsPagerAdapter extends FragmentPagerAdapter {
private static GeofenceFragment geofenceFragement;
... |
96003266-3961-46f8-9254-823907e19f4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-19 06:17:34", "repo_name": "KellyKou/LearningJava", "sub_path": "/src/main/java/com/pkg1/WriteDatatoTxtCsv.java", "file_name": "WriteDatatoTxtCsv.java", "file_ext": "java", "file_size_in_byte": 1142, "line_cou... | https://github.com/KellyKou/LearningJava | 234 | FILENAME: WriteDatatoTxtCsv.java | 0.258326 | package com.pkg1;
import java.io.*;
import java.util.Properties;
public class WriteDatatoTxtCsv {
public static void main(String[] args) throws IOException {
File f = new File(System.getProperty("user.dir")+"\\src\\main\\java\\com\\properties\\TestData\\TestDataNew.csv");
//Step1:Creat an object ... |
33358509-99dd-4a57-9734-f156a2596a3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-17 13:18:15", "repo_name": "Yasinaaa/AndroidLab", "sub_path": "/Homework_Teaching_master/Teaching-master/1 course/AndroidChat/app/src/main/java/com/example/ravil/androidchat/ChatActivity.java", "file_name": "C... | https://github.com/Yasinaaa/AndroidLab | 193 | FILENAME: ChatActivity.java | 0.240775 | package com.example.ravil.androidchat;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import java.util.ArrayList;
import java.util.List;
/**
* ... |
55127246-a271-401f-9f9d-b9287306f231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-09T10:38:14", "repo_name": "RafaelSantosBraz/IHC", "sub_path": "/FaltmetroGPS/app/src/main/java/com/u/faltmetrogps/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/RafaelSantosBraz/IHC | 171 | FILENAME: MainActivity.java | 0.187133 | package com.u.faltmetrogps;
import androidx.appcompat.app.AppCompatActivity;
import androidx.lifecycle.AndroidViewModel;
import android.content.Intent;
import android.os.Bundle;
import android.widget.EditText;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
public class Main... |
a8bd3c38-2fab-44dd-9a90-192656141a82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-21 07:39:18", "repo_name": "SangeetaGN/EventLogging", "sub_path": "/src/main/java/com/disha/eventlog/userpropertiesupdate/model/D.java", "file_name": "D.java", "file_ext": "java", "file_size_in_byte": 1074, "l... | https://github.com/SangeetaGN/EventLogging | 210 | FILENAME: D.java | 0.224055 | package com.disha.quickride.userpropertiesupdate.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
@JsonIgnoreProperties(ignoreUnknown = true)
@Getter
@Setter
public class D {
private String type;
private ProfileData profileData;
... |
88051f9c-0f6a-42b4-a33e-3d8c6c2f9ff8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-08 05:59:09", "repo_name": "mindmie/AndroidDemo", "sub_path": "/app/src/main/java/com/example/mindmie/androiddemo/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1073, "line_coun... | https://github.com/mindmie/AndroidDemo | 240 | FILENAME: User.java | 0.249447 | package com.example.mindmie.androiddemo;
import com.google.firebase.database.IgnoreExtraProperties;
/**
* Created by Mindmie on 8/12/2560.
*/
@IgnoreExtraProperties
public class User {
public String userEmail;
public String userPwad;
public String userBirthday;
public String usergender;
public ... |
bcaedd0d-4472-4d88-9e66-6b8db6204323 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-19 04:44:15", "repo_name": "ldybob/ac3korea", "sub_path": "/app/src/main/java/com/ldybob/ac3korea/Repo.java", "file_name": "Repo.java", "file_ext": "java", "file_size_in_byte": 1140, "line_count": 52, "lang": ... | https://github.com/ldybob/ac3korea | 252 | FILENAME: Repo.java | 0.261331 | package com.ldybob.ac3korea;
import android.content.Context;
import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.DefaultHttpClient;
public class Repo {
private static Repo sInstance = null;
private HttpClient httpclient;
private String mBlackList;
private Util mUtil;
priv... |
80c16123-2758-4a17-a18c-284a1c6f2923 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-13 17:29:52", "repo_name": "YetAnotherTeam/jatumba-android", "sub_path": "/app/src/main/java/com/jat/jatumba/presentation/main/bandMembers/BandMembersFragment.java", "file_name": "BandMembersFragment.java", "f... | https://github.com/YetAnotherTeam/jatumba-android | 216 | FILENAME: BandMembersFragment.java | 0.268941 | package com.jat.jatumba.presentation.main.bandMembers;
import android.support.annotation.NonNull;
import android.util.Log;
import com.jat.jatumba.R;
import com.jat.jatumba.presentation.common.BasePresenter;
import com.jat.jatumba.presentation.main.DrawerActivity;
import com.jat.jatumba.presentation.main.common.BaseMa... |
ee7c5a31-5a93-46b3-879b-eb7007664344 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 06:44:13", "repo_name": "Miotlink/MAndroidClient", "sub_path": "/app/src/main/java/com/homepaas/sls/ui/merchantservice/CommentListAdapter.java", "file_name": "CommentListAdapter.java", "file_ext": "java", "... | https://github.com/Miotlink/MAndroidClient | 225 | FILENAME: CommentListAdapter.java | 0.274351 | package com.homepaas.sls.ui.merchantservice;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.homepaas.sls.R;
import java.util.List;
/**
* Created by Administrator on 2016/4/19.
*/... |
5848eb79-4ccd-4af4-9e2a-d2c0e55dc830 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-23 09:19:38", "repo_name": "Soffietto/Khayrullin_InternetShop", "sub_path": "/src/main/java/ru/kpfu/itis/azat_khayrullin/servlets/ThankYou.java", "file_name": "ThankYou.java", "file_ext": "java", "file_size_in... | https://github.com/Soffietto/Khayrullin_InternetShop | 209 | FILENAME: ThankYou.java | 0.278257 | package ru.kpfu.itis.azat_khayrullin.servlets;
import ru.kpfu.itis.azat_khayrullin.models.Product;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impo... |
96033a3a-b4b6-4247-898d-32ea2aa40f12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 21:19:17", "repo_name": "Arvindo9/MartitesAllen", "sub_path": "/app/src/main/java/com/maritesallen/almanac2020/data/model/db/flag/Flag.java", "file_name": "Flag.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Arvindo9/MartitesAllen | 228 | FILENAME: Flag.java | 0.208179 | package com.maritesallen.almanac2020.data.model.db.flag;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import org.jetbrains.annotations.NotNull;
... |
9a61ce2a-164c-4f97-83eb-eb6055ad5798 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-22 09:33:53", "repo_name": "sweet2121/springcloud-demo", "sub_path": "/service-user/src/main/java/com/wrd/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_... | https://github.com/sweet2121/springcloud-demo | 251 | FILENAME: UserController.java | 0.235108 | package com.wrd.controller;
import com.wrd.User;
import com.wrd.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/user/")
public class UserCo... |
a4c9b484-64ae-46ce-89ba-416554bf120e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-24T20:09:06", "repo_name": "maaslalani/Codev", "sub_path": "/tutorials/git/posts/using-version-control.md", "file_name": "using-version-control.md", "file_ext": "md", "file_size_in_byte": 1124, "line_count... | https://github.com/maaslalani/Codev | 257 | FILENAME: using-version-control.md | 0.259826 | Here are some of the most common commands, roughly in the order you will encounter them:
```
git init
```
This will create a hidden `.git` folder inside your current folder — this is the "repository" (or repo) where git stores all of its internal tracking data. Any changes you make to any files within the original fo... |
e4e48690-57c8-49d6-bdd2-87417f196c52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-21 11:34:36", "repo_name": "PolygonGamesStudio/superessendam", "sub_path": "/src/main/java/resource/SaxEmptyHandler.java", "file_name": "SaxEmptyHandler.java", "file_ext": "java", "file_size_in_byte": 1142, "l... | https://github.com/PolygonGamesStudio/superessendam | 231 | FILENAME: SaxEmptyHandler.java | 0.282196 | package resource;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.DefaultHandler;
public class SaxEmptyHandler extends DefaultHandler {
private static String CLASSNAME = "class";
private boolean inElement = false;
private String element = null;
private Object object = null;
public Obje... |
8cbeda5a-12b1-4345-86df-141b46c0f7bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-26 17:51:57", "repo_name": "jeffgbutler/mybatis-generator2", "sub_path": "/mybatis-generator2-parent/mybatis-generator2-core/src/main/java/org/mybatis/generator2/log/log4j2/Log4j2Log.java", "file_name": "Log4j... | https://github.com/jeffgbutler/mybatis-generator2 | 270 | FILENAME: Log4j2Log.java | 0.273574 | package org.mybatis.generator2.log.log4j2;
import org.apache.logging.log4j.Logger;
import org.mybatis.generator2.log.Log;
import java.util.function.Supplier;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
public class Log4j2Log implements Log {
private Logger log;
p... |
99c7cb2d-0dea-4a0e-9f65-173603df0d9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-21 15:08:19", "repo_name": "jonosterman/cube", "sub_path": "/cube-client-core/src/main/java/ch/admin/vbs/cube/core/usb/UsbDeviceEntryList.java", "file_name": "UsbDeviceEntryList.java", "file_ext": "java", "fil... | https://github.com/jonosterman/cube | 237 | FILENAME: UsbDeviceEntryList.java | 0.279042 | /**
* Copyright (C) 2011 / cube-team <https://cube.forge.osor.eu>
*
* Licensed under the Apache License, Version 2.0 (the "License").
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... |
6da55829-79e0-4728-8181-5883ff8bd303 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-18T20:44:32", "repo_name": "DQueiser/DQTravelSpots", "sub_path": "/DesignDocuments/Screens.md", "file_name": "Screens.md", "file_ext": "md", "file_size_in_byte": 1144, "line_count": 31, "lang": "en", "doc_... | https://github.com/DQueiser/DQTravelSpots | 259 | FILENAME: Screens.md | 0.264358 | # Screen Design
### 1: Login page
This will be the first page displayed. Users can enter their email-address username and password, or can click a button to sign up as a new user.
### 2: New User page
If the new user option is chosen from the login page, this page will be displayed. New users can enter their first ... |
da3aa413-9fef-4323-beea-67bc97e4d5d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-28 11:40:53", "repo_name": "mzl1989325/mvc", "sub_path": "/src/main/java/form/ActionListener.java", "file_name": "ActionListener.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": 37, "lang": ... | https://github.com/mzl1989325/mvc | 238 | FILENAME: ActionListener.java | 0.289372 | package form;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import java.net.URL;
import java.util.Map;
/**
* @Author:muzonglin
* @Description:
* @Date:2017/6/27
*/
public class ActionListener implements ServletContextListen... |
1f1e30bc-43fd-4ff6-a797-f8fab8ea629c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-12 13:03:16", "repo_name": "Charlesjean/SQLiteDemoProject", "sub_path": "/app/src/main/java/com/djchen/com/sqlitedemoproject/TestFragment.java", "file_name": "TestFragment.java", "file_ext": "java", "file_size... | https://github.com/Charlesjean/SQLiteDemoProject | 206 | FILENAME: TestFragment.java | 0.247987 | package com.djchen.com.sqlitedemoproject;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
/**
* Created by Administrator on 2014/8/11.
*/
public class Tes... |
dfe6702d-cbc4-482b-8766-639e21a430b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-16T02:40:57", "repo_name": "ECOtterstrom/workout_tracker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1110, "line_count": 35, "lang": "en", "doc_type": "text... | https://github.com/ECOtterstrom/workout_tracker | 251 | FILENAME: README.md | 0.282196 | # Week 17 Bootcamp Assignment - Workout Tracker

## Description
This project enables the user to track their workouts and view their progress in graphs over time. The user can enter any type of Cardio or Resistance type of exercise they like. They... |
22b3d044-5740-44c2-b0d2-c17652799fee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-04 10:01:54", "repo_name": "bestrookie/hotel-admin", "sub_path": "/src/com/hotel/util/DBsql.java", "file_name": "DBsql.java", "file_ext": "java", "file_size_in_byte": 1112, "line_count": 36, "lang": "en", "doc... | https://github.com/bestrookie/hotel-admin | 204 | FILENAME: DBsql.java | 0.243642 | package com.hotel.util;
import com.alibaba.druid.pool.DruidDataSource;
import java.sql.Connection;
import java.sql.SQLException;
public class DBsql {
private static DruidDataSource dataSource = null;
static {
try {
dataSource = new DruidDataSource();
LoadDbConfig config = new... |
74ec763e-2169-4f64-9081-91f807ec25a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-08-16T18:49:38", "repo_name": "gonsie/fishmarks", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1169, "line_count": 37, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/gonsie/fishmarks | 289 | FILENAME: README.md | 0.233706 | ### Fishmarks is a set of fish functions which allow you to save and jump to commonly used directories.
## Compatability
Fishmarks is based on the awsome project [huyng/bashmarks](http://www.huyng.com/projects/bashmarks/).
Fishmarks work with [gonsie/bashmarks](http://github.com/gonsie/bashmarks). There is a slight... |
0c80006e-a40a-4d5f-aeb7-f5d9cfc073d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-30 00:01:11", "repo_name": "andyzhaozhao/front-common", "sub_path": "/driver.door.common/src/main/java/com/iandtop/common/driver/vo/TCPResultVO.java", "file_name": "TCPResultVO.java", "file_ext": "java", "file... | https://github.com/andyzhaozhao/front-common | 261 | FILENAME: TCPResultVO.java | 0.249447 | package com.iandtop.common.driver.vo;
import java.util.ArrayList;
import java.util.List;
public class TCPResultVO {
private int currentLength ;
private List<DeviceToServerMessageVO> vos = new ArrayList<DeviceToServerMessageVO>();
private List<AuthCardVO> authCardVOs = new ArrayList<AuthCardVO>();
pub... |
836ccadb-cd10-40de-bfca-c6da7a95a9b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-22 19:45:50", "repo_name": "goblimey/addressbook", "sub_path": "/src/main/java/com/goblimey/addressbook/ContactInMemoryImpl.java", "file_name": "ContactInMemoryImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/goblimey/addressbook | 267 | FILENAME: ContactInMemoryImpl.java | 0.23793 | package com.goblimey.addressbook;
import java.util.Date;
/**
* Created by simon on 22/02/18.
*/
public class ContactInMemoryImpl implements Contact {
String name;
Gender gender;
Date dob;
public ContactInMemoryImpl() {
super();
}
public ContactInMemoryImpl(String name, Gender gend... |
848894dd-4bf3-4113-8a6d-d782ce057b4a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-10 07:12:15", "repo_name": "sunnwind/ohs-general", "sub_path": "/src/main/java/ohs/tree/trie/array/DATrie.java", "file_name": "DATrie.java", "file_ext": "java", "file_size_in_byte": 1091, "line_count": 48, "la... | https://github.com/sunnwind/ohs-general | 298 | FILENAME: DATrie.java | 0.276691 | package ohs.tree.trie.array;
import java.util.List;
import ohs.io.FileUtils;
import ohs.types.number.IntegerArray;
import scala.Char;
public class DATrie {
public static void main(String[] args) throws Exception {
System.out.println("process begins.");
List<String> names = FileUtils.readLinesFr... |
41618d7c-2c6b-4b08-95cd-01c129084546 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-13T06:02:17", "repo_name": "dhavalocked/redis-dump", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1169, "line_count": 40, "lang": "en", "doc_type": "text", "bl... | https://github.com/dhavalocked/redis-dump | 283 | FILENAME: README.md | 0.27048 | # redis-dump
- This will help you migrate your data from source to destination redis. Source will always be a single node. Destination can be cluster URL, standalone or twemproxy server.
# usage example:
> ./main copy source:port destination:port --queryString="*" --scanLimit=1000 --dumpThreads=100 --restoreThreads=1... |
edffb4db-0812-4004-b2ff-9348b910a503 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-18 07:41:33", "repo_name": "GasJacek/TaskListSpring", "sub_path": "/src/main/java/com/task/model/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 1082, "line_count": 42, "lang": "... | https://github.com/GasJacek/TaskListSpring | 205 | FILENAME: Task.java | 0.281406 | package com.task.model;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
@Entity
@Getter
@Setter
@NoArgsCon... |
d7f94130-51f9-4472-a8c9-7f0ae0b6f0ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-02 06:48:57", "repo_name": "pmoor/swiss-vault", "sub_path": "/src/main/java/ws/moor/swissvault/auth/UserId.java", "file_name": "UserId.java", "file_ext": "java", "file_size_in_byte": 531, "line_count": 45, "la... | https://github.com/pmoor/swiss-vault | 262 | FILENAME: UserId.java | 0.253861 | /*
* Copyright 2012 Patrick Moor <patrick@moor.ws>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
a5766032-1866-45ce-be10-b96141fb9be2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 13:33:47", "repo_name": "MeiyouSunny/Metron", "sub_path": "/app/src/main/java/com/metron/xiaoming/ui/home/TabProfitAdapter.java", "file_name": "TabProfitAdapter.java", "file_ext": "java", "file_size_in_byte... | https://github.com/MeiyouSunny/Metron | 221 | FILENAME: TabProfitAdapter.java | 0.262842 | package com.metron.xiaoming.ui.home;
import android.content.Context;
import com.alaer.lib.util.UserDataUtil;
import com.metron.xiaoming.util.CoinConst;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
public class TabProfitAdapte... |
a52dbdf3-a2e9-4257-a1bc-edaec8ffd806 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-02T17:22:23", "repo_name": "Scott3-0/NWAPW-Project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1142, "line_count": 13, "lang": "en", "doc_type": "text", "bl... | https://github.com/Scott3-0/NWAPW-Project | 267 | FILENAME: README.md | 0.240775 | # NWAPW-Project
Hello! Welcome to our app--Plant Identifier. The purpose of this app is to allow everyone to know more about the world around them. *The updated version of the app is in "Bronte's Branch", not the master branch!!!* In order to use this app (at this point), open Android Studio. Then open an existing pro... |
3510197e-1a6a-40f3-a8e0-e2efba8facf0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-03 05:37:26", "repo_name": "zikri24/pokedex", "sub_path": "/app/src/main/java/com/example/zikri/pokedex/model/Sprites.java", "file_name": "Sprites.java", "file_ext": "java", "file_size_in_byte": 1085, "line_co... | https://github.com/zikri24/pokedex | 246 | FILENAME: Sprites.java | 0.201813 | package com.example.zikri.pokedex.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Zikri on 21/09/2016.
*/
public class Sprites {
@SerializedName("back_default")
@Expose
private String backDefault;
@SerializedName("front_default"... |
dd396172-b6b9-43d4-aa81-46e0de207e32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-09 09:15:01", "repo_name": "lakith/type4", "sub_path": "/src/main/java/com/spring/starter/DTO/IdentificationFormDTO.java", "file_name": "IdentificationFormDTO.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/lakith/type4 | 205 | FILENAME: IdentificationFormDTO.java | 0.228156 | package com.spring.starter.DTO;
import org.springframework.web.multipart.MultipartFile;
import java.io.Serializable;
public class IdentificationFormDTO implements Serializable {
private String identification;
private MultipartFile file;
private int customerServiceRequestId;
public IdentificationForm... |
71aab543-0e03-4cef-87cb-020c579de330 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-05 14:53:36", "repo_name": "ankostyuk/demo-creditnet-comments", "sub_path": "/api/src/main/java/ru/nullpointer/nkbcomment/domain/UserInfo.java", "file_name": "UserInfo.java", "file_ext": "java", "file_size_in_... | https://github.com/ankostyuk/demo-creditnet-comments | 222 | FILENAME: UserInfo.java | 0.20947 | package ru.nullpointer.nkbcomment.domain;
import java.util.List;
import java.util.Set;
import javax.xml.bind.annotation.XmlRootElement;
import org.apache.commons.lang.builder.ToStringBuilder;
import ru.nullpointer.nkbcomment.security.domain.Permission;
/**
* @author Alexander Yastrebov
* @author ankostyuk
*/
@XmlR... |
2041d63f-8fbe-4c6a-9d1f-630bb8608694 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-19 01:57:50", "repo_name": "sathish-netha/ZeroBank_Automation_with_BDD_Cucumber", "sub_path": "/src/test/java/com/zerobank/step_definitions/LoginStepDefinitions.java", "file_name": "LoginStepDefinitions.java",... | https://github.com/sathish-netha/ZeroBank_Automation_with_BDD_Cucumber | 243 | FILENAME: LoginStepDefinitions.java | 0.293404 | package com.zerobank.step_definitions;
import com.zerobank.pages.LoginPage;
import com.zerobank.utilities.ConfigurationReader;
import com.zerobank.utilities.Driver;
import io.cucumber.java.en.Given;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import org.junit.Assert;
public class LoginStepDefini... |
3a05042b-e367-4fcf-ab79-30c3ed981e7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-02 13:48:57", "repo_name": "Dimix88/AttendanceSystem", "sub_path": "/src/main/java/com/dimitri/controller/AdminController.java", "file_name": "AdminController.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/Dimix88/AttendanceSystem | 226 | FILENAME: AdminController.java | 0.277473 | package com.dimitri.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.*;
import com.dimitri.service.AdminService;
import com.dimitri.domain.Admin;
import java.util.List;
import java.u... |
b653aa2a-91d4-4fc0-b5a3-d4cf55cfb22a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-13 04:37:52", "repo_name": "gandhiamar2/NewsReaderMobileApp", "sub_path": "/Inclass04/app/src/main/java/com/example/gandh/inclass04/third.java", "file_name": "third.java", "file_ext": "java", "file_size_in_byt... | https://github.com/gandhiamar2/NewsReaderMobileApp | 215 | FILENAME: third.java | 0.281406 | package com.example.gandh.inclass04;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
/**
* Created by gandh on 2/6/2017.
*/
public class third {
public static ArrayList<newsarticle> parsingjson(String s) throws JSONException {
ArrayLis... |
e8dd81c3-7e86-42fd-b29e-db730fe2447d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-27 03:39:23", "repo_name": "justice-code/star-map", "sub_path": "/core/src/main/java/org/eddy/future/StarFuture.java", "file_name": "StarFuture.java", "file_ext": "java", "file_size_in_byte": 1088, "line_count... | https://github.com/justice-code/star-map | 203 | FILENAME: StarFuture.java | 0.258326 | package org.eddy.future;
import org.eddy.protocol.Data;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class StarFuture {
private final Lock lock = new ReentrantLock();
private... |
651b20f0-bcc8-4954-b7d4-a3a8277f4b34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-10T09:41:05", "repo_name": "crhg/laravel-config-validator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1166, "line_count": 51, "lang": "en", "doc_type": "tex... | https://github.com/crhg/laravel-config-validator | 243 | FILENAME: README.md | 0.275909 | # DESCRIPTION
Validate the configuration of the Laravel application.
# INSTALL
```console
composer require crhg/laravel-config-validator
```
# USAGE
## PREPARE RULES
Implement the `Crhg\ConfigValidator\Interfaces\ConfigValidationRuleProvider` interface in the service provider class.
Define `getConfigValidationRu... |
024dc3e6-a1ab-4436-a384-d53df453a1bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-31 05:09:12", "repo_name": "zyd16888/NewClock", "sub_path": "/app/src/main/java/com/example/dong/newclock/LinerRecyclerAdapter.java", "file_name": "LinerRecyclerAdapter.java", "file_ext": "java", "file_size_in... | https://github.com/zyd16888/NewClock | 226 | FILENAME: LinerRecyclerAdapter.java | 0.278257 | package com.example.dong.newclock;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import java.util.List;
/**
* Created by dong on 2017/10/11.
*/
public class LinerRecyclerAdapter extends RecyclerView.Adapter<LinerRe... |
7ca07e31-2f79-4fad-894d-fba8965fdbe4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-25 08:45:00", "repo_name": "jjtgit/xedierzmn", "sub_path": "/app/src/main/java/com/example/xedierzmn/fragment/BaseFragment.java", "file_name": "BaseFragment.java", "file_ext": "java", "file_size_in_byte": 1143... | https://github.com/jjtgit/xedierzmn | 209 | FILENAME: BaseFragment.java | 0.26971 | package com.example.xedierzmn.fragment;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
... |
a62532dc-7fe0-4595-abc4-dde6ad57e18f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-18 21:40:55", "repo_name": "webster91/hestia", "sub_path": "/app/src/main/java/com/valeev/hestia/security/UserPrincipal.java", "file_name": "UserPrincipal.java", "file_ext": "java", "file_size_in_byte": 1165, ... | https://github.com/webster91/hestia | 231 | FILENAME: UserPrincipal.java | 0.233706 | package com.valeev.hestia.security;
import com.valeev.hestia.model.User;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Collection;
@Data
public class UserPrincipal implements UserDetails {
private ... |
d6faef48-5750-454b-a81a-55bd06967bd8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-22 03:00:19", "repo_name": "liuxiaolong661/demo1", "sub_path": "/src/main/java/com/springboot/demo1/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_by... | https://github.com/liuxiaolong661/demo1 | 215 | FILENAME: UserServiceImpl.java | 0.258326 | package com.springboot.demo1.service.impl;
import com.springboot.demo1.dao.UserDao;
import com.springboot.demo1.mode.UserDomain;
import com.springboot.demo1.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataIntegrityViolationException;
import org.spr... |
5b95d979-745c-49ae-b1cf-e7e489e0bc1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-04 10:17:01", "repo_name": "java404/recode", "sub_path": "/smartmon-injector/src/main/java/smartmon/injector/config/SmartMonBatchConfig.java", "file_name": "SmartMonBatchConfig.java", "file_ext": "java", "file... | https://github.com/java404/recode | 230 | FILENAME: SmartMonBatchConfig.java | 0.26588 | package smartmon.injector.config;
import java.io.File;
import javax.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframewor... |
d69ed851-918d-474f-8aa3-09b45701d2dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-09-01T13:18:09", "repo_name": "pavelsof/racepoint-client", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1169, "line_count": 39, "lang": "en", "doc_type": "text", ... | https://github.com/pavelsof/racepoint-client | 273 | FILENAME: README.md | 0.256832 | Racepoint
================
Racepoint is a web application to be used by urban race organisers for:
* Logging of arrival and departure times of teams at control points.
* Registration of teams.
* Providing real-time information about team's progress through the race.
The web application was (and is being) developed f... |
eee95f18-6a0c-43a4-8215-68ea2ffa57a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-20 09:56:35", "repo_name": "paliwalprateek1/susi_android", "sub_path": "/app/src/main/java/org/fossasia/susi/ai/SnackbarBehavior.java", "file_name": "SnackbarBehavior.java", "file_ext": "java", "file_size_in_b... | https://github.com/paliwalprateek1/susi_android | 206 | FILENAME: SnackbarBehavior.java | 0.280616 | package org.fossasia.susi.ai;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.Snackbar;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.LinearLay... |
3c6479d0-ada9-4c60-94eb-3cc30285baed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-22 08:22:46", "repo_name": "nastashonok/SofttecoCodeSample", "sub_path": "/app/src/main/java/com/softteco/codesample/fragments/FragmentAbstract.java", "file_name": "FragmentAbstract.java", "file_ext": "java", ... | https://github.com/nastashonok/SofttecoCodeSample | 199 | FILENAME: FragmentAbstract.java | 0.228156 | package com.softteco.codesample.fragments;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public abstract class FragmentAbstract extends Fragment {
protected static fina... |
972b0b2e-d96a-4b42-84ff-c7aa58218e70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-12 10:15:53", "repo_name": "raktimraihan/university-projects-undergrad", "sub_path": "/raktim_raihan-needy-serve/app/src/main/java/com/needyserve/android/needyserve/Loading.java", "file_name": "Loading.java", ... | https://github.com/raktimraihan/university-projects-undergrad | 206 | FILENAME: Loading.java | 0.225417 | package com.needyserve.android.needyserve;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.needyserve.android.needyserve.com.needyserve.android.instances.LandingNavigationDrawer;
public class Loading extends AppCompatActivity {
private String ... |
14649ae1-6808-41ed-8db9-53de8b5595aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-02-10T15:15:09", "repo_name": "pkyurkchiev/mean-stack", "sub_path": "/documentations/technology-stack.md", "file_name": "technology-stack.md", "file_ext": "md", "file_size_in_byte": 1143, "line_count": 25, "l... | https://github.com/pkyurkchiev/mean-stack | 238 | FILENAME: technology-stack.md | 0.26971 | ### Node.js
Node.js, is a development platform built on top of Google's V8 JavaScript virtual machine. Node.js is intended to run on a dedicated HTTP server and to employ a single thread with one process at a time. Node.js applications are events-based and run asynchronously.
[Download link](https://nodejs.org/en/down... |
c2cc6519-6b2a-4a46-b266-002d4762d42d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-05 12:39:19", "repo_name": "jaypratapsingh/Display_Toast", "sub_path": "/src/android/com/jp/plugin/display_toast/Display_Toast.java", "file_name": "Display_Toast.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/jaypratapsingh/Display_Toast | 213 | FILENAME: Display_Toast.java | 0.284576 | package com.jp.plugin.display_toast;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaPlugin;
import org.json.JSONArray;
import org.json.JSONObject;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import java.io.File;
public class Display_Toast extends Cord... |
b61a9cf7-093d-45fe-8c85-336e95d436d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-16T21:04:56", "repo_name": "4gus71n/KotlinSample", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1168, "line_count": 40, "lang": "en", "doc_type": "text", "blob... | https://github.com/4gus71n/KotlinSample | 354 | FILENAME: README.md | 0.185947 | # KotlinSample
Just an small project to test a MVP architecture with Kotlin + RxJava2 + Retrofit2.
# Sources
//How instatiate fragments with Kotlin
https://medium.com/@azjkjensen/using-the-newinstance-pattern-in-kotlin-e40c1b4ba1ef
https://www.raywenderlich.com/169885/android-fragments-tutorial-introduction-2
//Co... |
d6ed651e-e422-46ed-9b57-35c7561e7791 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-27 13:45:30", "repo_name": "RDAXING/flink_pro", "sub_path": "/src/main/java/com/rdx/demo/PropertiesConstants.java", "file_name": "PropertiesConstants.java", "file_ext": "java", "file_size_in_byte": 1183, "line... | https://github.com/RDAXING/flink_pro | 247 | FILENAME: PropertiesConstants.java | 0.26971 | package com.rdx.demo;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.text.MessageFormat;
import java.util.Properties;
/**
* 项目:flink_pro
* 包名:com.rdx.demo
* 作者:rdx
* 日期:2021/7/21 16:43
*
*/
public class PropertiesConstants {
public static String PROPERTIES_FILE_NAME = "/applicati... |
b6b3c50e-ec35-4e13-8b8c-a0bd6aa05547 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-02 07:28:16", "repo_name": "ssj256x/todo-ms-api", "sub_path": "/src/main/java/com/todoapp/todo/entity/TodoEntity.java", "file_name": "TodoEntity.java", "file_ext": "java", "file_size_in_byte": 1166, "line_coun... | https://github.com/ssj256x/todo-ms-api | 243 | FILENAME: TodoEntity.java | 0.271252 | package com.todoapp.todo.entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.LastModifiedDate;
import javax.persistence.*;
import java.sql.Timestamp;
@Getter
@Setter
@ToString
@Table(name = "todo", uniqueConstraints = @UniqueConstraint(columnNames = ... |
f52f75df-dea6-46c4-9603-0432b79d0902 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-29 14:56:57", "repo_name": "joannamichalik/DietApp", "sub_path": "/src/main/java/pl/atm/dietapp/dietapp/controller/AdminUserController.java", "file_name": "AdminUserController.java", "file_ext": "java", "file_... | https://github.com/joannamichalik/DietApp | 195 | FILENAME: AdminUserController.java | 0.273574 | package pl.atm.dietapp.dietapp.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import pl.atm.dietapp.dietapp.dto.UserDto;
import pl.atm.dietapp.dietapp.servic... |
3d078cb2-82b2-40f1-81f7-2c84e8bc9b8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-27 10:49:17", "repo_name": "alanismirko/2nd-Semester-Project-Clean4U", "sub_path": "/src/modelLayer/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 44... | https://github.com/alanismirko/2nd-Semester-Project-Clean4U | 252 | FILENAME: Customer.java | 0.26971 | package modelLayer;
public class Customer extends Person{
private String taxNum;
private String companyName;
public Customer(int id, String taxNum, String companyName, String firstName,
String lastName, String phoneNumber, String email, String note) {
super(id, firstName,lastName,phoneNumber, email, note);
... |
d9c7a5e1-e2c9-4127-b2b9-86644ca4357b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-27 20:21:13", "repo_name": "DURACHMAN1337/HaulmontUnsuccesful", "sub_path": "/src/main/java/ru/dentech/HaulmontProject/Services/Impl/CreditOfferServiceImpl.java", "file_name": "CreditOfferServiceImpl.java", "f... | https://github.com/DURACHMAN1337/HaulmontUnsuccesful | 260 | FILENAME: CreditOfferServiceImpl.java | 0.294215 | package ru.dentech.HaulmontProject.Services.Impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.dentech.HaulmontProject.Entities.CreditOffer;
import ru.dentech.HaulmontProject.Repo.CreditOfferRepo;
import ru.dentech.HaulmontProject.Services.Cred... |
eb9748c0-4885-4aca-afca-addcf037fd36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-22 02:49:05", "repo_name": "liao93213/codeTools", "sub_path": "/src/main/java/liao/utils/SpringTool.java", "file_name": "SpringTool.java", "file_ext": "java", "file_size_in_byte": 997, "line_count": 34, "lang"... | https://github.com/liao93213/codeTools | 168 | FILENAME: SpringTool.java | 0.278257 | package liao.utils;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@Component
... |
467ad164-4cef-4684-bbbc-8ced72332697 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-09 05:18:27", "repo_name": "duduOliver/Spotify", "sub_path": "/zipfsong/ZipfSong/src/SongBST.java", "file_name": "SongBST.java", "file_ext": "java", "file_size_in_byte": 1070, "line_count": 52, "lang": "en", "... | https://github.com/duduOliver/Spotify | 282 | FILENAME: SongBST.java | 0.282988 |
public class SongBST {
private SongNode root;
private List maxList;
public SongBST(long times, String name) {
root = new SongNode(1, times, name);
maxList = new List();
}
public SongNode getRoot() {
return root;
}
public List getMaxList() {
return maxList;
}
public void insertNode(SongNode newN... |
9a29a8e4-e205-49d3-ac46-4ea63ad10b2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-12 12:03:48", "repo_name": "User-Experience-Design-SE3050-2021/se3050---uee-2021s2_reg_we_01", "sub_path": "/bank_application/PeoplesBank/app/src/main/java/com/alpha/peoplesbank/RegistrationOtp.java", "file_na... | https://github.com/User-Experience-Design-SE3050-2021/se3050---uee-2021s2_reg_we_01 | 203 | FILENAME: RegistrationOtp.java | 0.233706 | package com.alpha.peoplesbank;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.alpha.peoplesbank.ui.login.LoginActivity;
public class RegistrationOtp extends AppCompatActivity {
public Bu... |
2ec8053c-0739-4f32-9a39-bfef44b1ff9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-05T03:56:36", "repo_name": "taoroalin/logseq-notes", "sub_path": "/pages/TTL New Strategy.md", "file_name": "TTL New Strategy.md", "file_ext": "md", "file_size_in_byte": 1144, "line_count": 21, "lang": "en... | https://github.com/taoroalin/logseq-notes | 268 | FILENAME: TTL New Strategy.md | 0.262842 | ---
title: TTL New Strategy
---
## Why do i need a new strategy? [[TTL Mistake]]
## Basic idea: make lists of "colors", "places to put colors", "pseudo-selectors", ect, and combine them using [[LESS]] loops and functions.
## Lets call these things, such as "places to put colors", [[TTL Aspects]]
## We could make ... |
c7ae7976-d81d-4bd4-908c-fea2f0af82bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-26 12:23:20", "repo_name": "jpory/jforgame", "sub_path": "/jforgame-net/src/main/java/com/kingston/jforgame/socket/message/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/jpory/jforgame | 219 | FILENAME: Message.java | 0.239349 | package com.kingston.jforgame.socket.message;
import com.kingston.jforgame.socket.annotation.MessageMeta;
import com.kingston.jforgame.socket.actor.MailBox;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public abstract class Message {
/**
* messageMet... |
fdef53ba-f9a1-48be-aafc-ee542e2c2d61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-30 19:32:12", "repo_name": "RadoslavEvgeniev/FluffyDuffyMunchkinCatsMVC", "sub_path": "/src/main/entities/Cat.java", "file_name": "Cat.java", "file_ext": "java", "file_size_in_byte": 1167, "line_count": 61, "l... | https://github.com/RadoslavEvgeniev/FluffyDuffyMunchkinCatsMVC | 278 | FILENAME: Cat.java | 0.249447 | package entities;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Entity
@Table(name = "cats")
public class Cat {
private String id;
private String catName;
private String catBreed;
private String catColor;
public Cat() {
}
@Id
@GeneratedValue(gen... |
8f936e7f-d279-4b3f-b39b-bd267b0754fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-15 19:48:24", "repo_name": "netnook/repeg", "sub_path": "/src/test/java/net/netnook/repeg/examples/template/model/Text.java", "file_name": "Text.java", "file_ext": "java", "file_size_in_byte": 1141, "line_coun... | https://github.com/netnook/repeg | 349 | FILENAME: Text.java | 0.273574 | package net.netnook.repeg.examples.template.model;
import java.io.PrintWriter;
public class Text extends Node {
private String string;
public Text(String string) {
this.string = string;
}
@Override
public void render(Context ctxt, PrintWriter out) {
if (string != null) {
out.print(string);
}
}
@Ov... |
69a8f488-1a2b-4fb0-8516-bcab25dbe3d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-08 13:42:26", "repo_name": "TienDungPham/smartfitapi", "sub_path": "/src/main/java/com/smartfit/smartfitapi/controller/MealController.java", "file_name": "MealController.java", "file_ext": "java", "file_size_i... | https://github.com/TienDungPham/smartfitapi | 196 | FILENAME: MealController.java | 0.259826 | package com.smartfit.smartfitapi.controller;
import com.smartfit.smartfitapi.model.transfer.MealDTO;
import com.smartfit.smartfitapi.service.MealService;
import com.smartfit.smartfitapi.utils.ServiceResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
impor... |
09d6299c-210f-4227-a462-f7955592ab9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-29 09:05:47", "repo_name": "sahaanish26/httpserver", "sub_path": "/src/main/java/com/example/httpserver/http/HeadHttpResponse.java", "file_name": "HeadHttpResponse.java", "file_ext": "java", "file_size_in_byte... | https://github.com/sahaanish26/httpserver | 215 | FILENAME: HeadHttpResponse.java | 0.264358 | package com.example.httpserver.http;
//import com.example.httpserver.;
import java.io.*;
/**
* HttpResponse extension that only writes headers.
*/
public class HeadHttpResponse extends FileHttpResponse {
/**
* File to be sent to the user.
*/
// private File inputFile;
public HeadHttpRespons... |
8e415a71-dc2a-4adc-95f1-5b42ca5de8eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-12 23:31:27", "repo_name": "kefencho/SpringBoot_TestDoubles", "sub_path": "/src/main/java/org/vectoritcgroup/test/model/Result.java", "file_name": "Result.java", "file_ext": "java", "file_size_in_byte": 1092, ... | https://github.com/kefencho/SpringBoot_TestDoubles | 259 | FILENAME: Result.java | 0.252384 | package org.vectoritcgroup.test.model;
import java.io.Serializable;
/**
* Result domain object.
*
* @author Vector ITC Group
*/
public class Result implements Serializable {
private static final long serialVersionUID = 415821454982304871L;
private String code;
private String message;
... |
41ee71c3-21e1-46f4-9514-1fb9b4427e1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-01-05T04:40:14", "repo_name": "dream-lmc/resteasy", "sub_path": "/examples/fatjar-swagger/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1144, "line_count": 45, "lang": "en", "do... | https://github.com/dream-lmc/resteasy | 272 | FILENAME: README.md | 0.247987 | Getting started with RESTEasy
=============================
A step-by-step introduction to the RESTEasy framework.
System Requirements:
--------------------
- OpenJDK for Java 1.8
- Git
- Maven 3.3.9 or higher
Building the example project:
-----------------------------
To download and unpack Swagger UI:... |
8671ac8f-c64e-44ed-9524-32fe180aacd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-11 20:51:13", "repo_name": "tedldunn451/java-day-2", "sub_path": "/src/com/cooksys/Plane.java", "file_name": "Plane.java", "file_ext": "java", "file_size_in_byte": 1167, "line_count": 67, "lang": "en", "doc_ty... | https://github.com/tedldunn451/java-day-2 | 301 | FILENAME: Plane.java | 0.255344 | package com.cooksys;
public class Plane extends Vehicle {
private String name;
public Plane(Person driver, String engine) {
super();
this.setDriver(driver);
this.setEngine(engine);
}
@Override
public void honk(String sound) {
System.out.println(sound);
}
@Override
public void move(Person Driver, ... |
87dba6cb-3372-47f4-93e5-bf299d6771a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 02:27:57", "repo_name": "wang-shun/transaction", "sub_path": "/background/info-bg/src/main/java/com/sinochem/crude/trade/values/DBValueSetAutoConfiguration.java", "file_name": "DBValueSetAutoConfiguration.j... | https://github.com/wang-shun/transaction | 242 | FILENAME: DBValueSetAutoConfiguration.java | 0.274351 | package com.sinochem.crude.trade.values;
import com.sinochem.crude.trade.common.utils.ValueSetUtils;
import com.sinochem.crude.trade.common.values.ValueSetManager;
import com.sinochem.crude.trade.values.impl.DBValueSetManager;
import javax.sql.DataSource;
import org.springframework.context.annotation.Bean;
import org.... |
5a36d600-b7fd-43d0-afb8-ab728289478e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-01T21:20:08", "repo_name": "matheusAle/iconns-xd-plugin", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1166, "line_count": 33, "lang": "en", "doc_type": "text"... | https://github.com/matheusAle/iconns-xd-plugin | 288 | FILENAME: README.md | 0.23092 | # iconns-xd-plugin
Simple Adobe XD Plugin for insert icons in our Artwork.
**This plugin stai in pre-beta version**. Increments is are comes.
# Issues
- The complex icons may end up not getting what you expected.
- The color of the placed icon may be lost in the middle of the process.
- **All icons is placed in n... |
ec64113d-415b-49d8-a5b5-1dd96a526695 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-11 02:59:26", "repo_name": "firashamila33/Esprit4All_JAVA", "sub_path": "/src/technique/DataSource.java", "file_name": "DataSource.java", "file_ext": "java", "file_size_in_byte": 1144, "line_count": 50, "lang"... | https://github.com/firashamila33/Esprit4All_JAVA | 252 | FILENAME: DataSource.java | 0.264358 |
/*
* 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 technique;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author YACINE... |
57553eec-7ec6-4f66-bc96-338e58dc72ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-17T08:16:50", "repo_name": "SkoogJacob/skoogjacob.github.io", "sub_path": "/_posts/2019-11-11-welcome-to-jekyll.markdown", "file_name": "2019-11-11-welcome-to-jekyll.markdown", "file_ext": "markdown", "fil... | https://github.com/SkoogJacob/skoogjacob.github.io | 312 | FILENAME: 2019-11-11-welcome-to-jekyll.markdown | 0.23092 | ---
layout: post
title: "Welcome to a Blog Thing!"
date: 2019-11-11 01:35:06 -0600
categories: jekyll
content-type: "post"
summary: "My first blog on this jekyll site"
---
Here's the first blog post for the site. This website is built using jekyll as a static site generator engine. Jekyll blog post files must be na... |
96cba61b-cd53-423a-9d04-3ee53503930a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-06 10:03:10", "repo_name": "oracle-japan/oci-jaxrs-client", "sub_path": "/src/test/java/com/oracle/jp/se/mw/jaxrs/client/JaxRsClientFilterTestLooseSSL.java", "file_name": "JaxRsClientFilterTestLooseSSL.java", ... | https://github.com/oracle-japan/oci-jaxrs-client | 211 | FILENAME: JaxRsClientFilterTestLooseSSL.java | 0.272799 | package com.oracle.jp.se.mw.jaxrs.client;
import java.io.FileInputStream;
import java.util.Properties;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.Invocation.Builder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Response;
/**
* It's not a JUnit test
* */
public class JaxRsClientFi... |
a5b1a815-b357-441f-8b19-686ddf6f0ef1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-27 03:44:36", "repo_name": "weiyang-jiang/java_advance", "sub_path": "/web_02/web2/src/main/java/com/example/web2/ServletCookie2.java", "file_name": "ServletCookie2.java", "file_ext": "java", "file_size_in_byt... | https://github.com/weiyang-jiang/java_advance | 203 | FILENAME: ServletCookie2.java | 0.253861 | package com.example.web2;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.annotation.*;
import java.io.IOException;
import java.util.Arrays;
/*
* @Author: Weiyang Jiang
* @Date: 2021-09-20 10:25:12
*/
@WebServlet("/cookieDemo2")
public class ServletCookie2 extends HttpServlet {
@Over... |
b437ed7d-1c97-4be3-9f22-c691d445ada0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-29T15:57:40", "repo_name": "ernestaskardzys/eventmonitor", "sub_path": "/src/main/java/info/ernestas/eventmonitor/service/VersionServiceImpl.java", "file_name": "VersionServiceImpl.java", "file_ext": "java", "... | https://github.com/ernestaskardzys/eventmonitor | 211 | FILENAME: VersionServiceImpl.java | 0.256832 | package info.ernestas.eventmonitor.service;
import info.ernestas.eventmonitor.dao.VersionDao;
import info.ernestas.eventmonitor.dao.entity.Version;
import info.ernestas.eventmonitor.model.dto.VersionDto;
import info.ernestas.eventmonitor.service.mapper.VersionVersionDtoMapper;
import org.springframework.beans.factory.... |
f23b9014-bc8a-44b0-af94-6ab13e5c7b38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-02-11T03:44:40", "repo_name": "andalike/angularstarter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1098, "line_count": 36, "lang": "en", "doc_type": "text", "b... | https://github.com/andalike/angularstarter | 306 | FILENAME: README.md | 0.262842 | # Angularstarter
This automated project was generated by boo.
## Run This
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.