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 |
|---|---|---|---|---|---|---|
11bb06f9-6f53-4e9a-9c65-ce40fd8a7217 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-29 08:20:12", "repo_name": "fanqi1909/csreview", "sub_path": "/leet-code/src/main/java/org/jace/cs/review/lc/multithread/p1115/Tester.java", "file_name": "Tester.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/fanqi1909/csreview | 202 | FILENAME: Tester.java | 0.288569 | package org.jace.cs.review.lc.multithread.p1115;
public class Tester {
private static void testSolution(Solution solution) throws InterruptedException {
ContentPrinter fp = new ContentPrinter("foo");
ContentPrinter bp = new ContentPrinter("bar");
Thread fooThread = new Thread(() -> {
... |
7d1ac71a-c2fe-47b2-8381-194ef5efe3da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-01 12:56:55", "repo_name": "azmedien/kolibri-android", "sub_path": "/prototype/src/main/java/ch/yanova/kolibri/prototype/ProrotypeSplashActivity.java", "file_name": "ProrotypeSplashActivity.java", "file_ext": ... | https://github.com/azmedien/kolibri-android | 240 | FILENAME: ProrotypeSplashActivity.java | 0.284576 | package ch.yanova.kolibri.prototype;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import ch.yanova.kolibri.Kolibri;
import ch.yanova.kolibri.KolibriSplashActivity;
import ch.yanova.kolibri.RuntimeConfig;
/**
* Created by lekov on 2.10.17.
*/
public final cla... |
f6036957-2230-4f56-add5-2bfdabcbb15f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-10 05:24:40", "repo_name": "sonalsharma96/Toolbar", "sub_path": "/app/src/main/java/com/example/sureshkumar/toolbar/Homepage.java", "file_name": "Homepage.java", "file_ext": "java", "file_size_in_byte": 1203, ... | https://github.com/sonalsharma96/Toolbar | 223 | FILENAME: Homepage.java | 0.240775 | package com.example.sureshkumar.toolbar;
import android.content.Intent;
import android.os.Bundle;
import android.provider.MediaStore;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Ed... |
871f1967-1a09-4bd0-8483-1e477a1f0086 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-26 08:44:30", "repo_name": "qq378488249/VkaGetOrder", "sub_path": "/app/src/main/java/cc/chenghong/vkagetorder/activity/ProgressActivity.java", "file_name": "ProgressActivity.java", "file_ext": "java", "file_s... | https://github.com/qq378488249/VkaGetOrder | 246 | FILENAME: ProgressActivity.java | 0.213377 | package cc.chenghong.vkagetorder.activity;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import cc.chenghong.vkagetorder.R;
import cc.chenghong.vkagetorder.dialog.ProgressDialog;
/**
* 进度条Activity
* hcl 2016-6-24
*/
public class ProgressActivity extends FragmentActivity {
ProgressD... |
9d3e6423-799f-44f4-9822-20b446d7aae5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-11 17:01:57", "repo_name": "davidtrom/Maven.Spring-BeansLearnerLab", "sub_path": "/demo/src/main/java/Entities/People.java", "file_name": "People.java", "file_ext": "java", "file_size_in_byte": 1118, "line_cou... | https://github.com/davidtrom/Maven.Spring-BeansLearnerLab | 239 | FILENAME: People.java | 0.286968 | package Entities;
import java.util.List;
public abstract class People <PersonType extends Person> implements Iterable<PersonType> {
List<PersonType> personList;
public People () {}
public void add (PersonType person){
this.personList.add(person);
}
public void remove (PersonType person)... |
f60f0d8a-86d0-4e3c-b3be-d9c993df4ad7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-10 08:51:08", "repo_name": "17891691876/SeleniumDemo", "sub_path": "/src/main/java/Page/LoginPage.java", "file_name": "LoginPage.java", "file_ext": "java", "file_size_in_byte": 1194, "line_count": 44, "lang": ... | https://github.com/17891691876/SeleniumDemo | 241 | FILENAME: LoginPage.java | 0.276691 | package Page;
import Base.BasePageAction;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
public class LoginPage extends BasePageAction {
public LoginPage(WebDriver driver){
super(driver);
}
//页面相关数据
public static final String url ="https://ad.hupu.com/#/";
// 元素定位... |
0e6e5d4a-7b84-438a-8d54-8493471452a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 22:56:46", "repo_name": "SergeyChere/two-servers-and-queue", "sub_path": "/server-handler/src/MonoThreadClientHandler.java", "file_name": "MonoThreadClientHandler.java", "file_ext": "java", "file_size_in_by... | https://github.com/SergeyChere/two-servers-and-queue | 199 | FILENAME: MonoThreadClientHandler.java | 0.243642 | import java.io.DataInputStream;
import java.io.IOException;
import java.net.Socket;
public class MonoThreadClientHandler implements Runnable {
private static Socket clientDialog;
private Storage storage = Storage.getInstance();
public MonoThreadClientHandler(Socket client) {
MonoThreadClientHandl... |
d66aa4d7-79a7-46bc-9b1e-5440101c9513 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-21 17:56:30", "repo_name": "SJX516/DuchenProject", "sub_path": "/template/src/main/java/com/duchen/template/component/request/error/ErrorBase.java", "file_name": "ErrorBase.java", "file_ext": "java", "file_siz... | https://github.com/SJX516/DuchenProject | 219 | FILENAME: ErrorBase.java | 0.23793 | package com.duchen.template.component.request.error;
import com.android.volley.VolleyError;
import com.google.gson.JsonElement;
public class ErrorBase extends VolleyError {
private int mSequence = -1;
private String mUrl = "";
private int mErrorCode;
private JsonElement results;
public ErrorBase... |
90d916e2-391b-453c-91f6-c8406cff39eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 15:42:26", "repo_name": "alvieira/springpostgresql", "sub_path": "/src/main/java/com/example/springpostgresql/SpringpostgresqlApplication.java", "file_name": "SpringpostgresqlApplication.java", "file_ext": ... | https://github.com/alvieira/springpostgresql | 201 | FILENAME: SpringpostgresqlApplication.java | 0.261331 | package com.example.springpostgresql;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.example.springpostgresql.domain.App... |
57aa4b49-2320-4d2d-a654-17659b964048 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-04 16:53:05", "repo_name": "Kuangcp/java-wheel", "sub_path": "/spring/src/main/java/com/github/kuangcp/spring/beans/factory/annotation/InjectionMetadata.java", "file_name": "InjectionMetadata.java", "file_ext"... | https://github.com/Kuangcp/java-wheel | 253 | FILENAME: InjectionMetadata.java | 0.286968 | package com.github.kuangcp.spring.beans.factory.annotation;
import java.util.Collection;
import java.util.List;
/**
* @author https://github.com/kuangcp on 2019-12-18 08:03
*/
public class InjectionMetadata {
private final Class<?> targetClass;
/**
* 需要被注入的成员属性的Bean
*/
private Collection<InjectionElem... |
c70812d4-9d21-48d0-9db8-cf2ceafd86b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-07 03:33:28", "repo_name": "mangxiao2018/Netty-Learning", "sub_path": "/NettyCodeSamples/src/main/java/com/netty/mangxiao/netty/codec/ClientHandler.java", "file_name": "ClientHandler.java", "file_ext": "java",... | https://github.com/mangxiao2018/Netty-Learning | 256 | FILENAME: ClientHandler.java | 0.220007 | package com.netty.mangxiao.netty.codec;
import com.netty.mangxiao.nio.ChannelInboundHandlerAdapter;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.util.CharsetUtil;
/**
* @description:handler of protobuf client of google example
* @author:mangxiao2018@126.com
* @date... |
f7685fa9-72f1-4ec7-b9e1-9c5c54143215 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-08 13:46:35", "repo_name": "SouvikDasgupta/Anno", "sub_path": "/app/src/main/java/com/aahho/anno/model/NotificationResponseData.java", "file_name": "NotificationResponseData.java", "file_ext": "java", "file_si... | https://github.com/SouvikDasgupta/Anno | 220 | FILENAME: NotificationResponseData.java | 0.212069 | package com.aahho.anno.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
/**
* Created by souvikdas on 30/10/17.
*/
public class NotificationResponseData {
@SerializedName("canonical_ids")
@Expose
private int canonicalIds;
... |
0fa174f4-6c0d-466b-a50b-e549443c4b90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-04 21:40:04", "repo_name": "lyoumi/PracticeProjectRepo", "sub_path": "/Training/RPG/classes/abilities/buffs/buffs/ArchersBuff.java", "file_name": "ArchersBuff.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/lyoumi/PracticeProjectRepo | 254 | FILENAME: ArchersBuff.java | 0.278257 | package RPG.classes.abilities.buffs.buffs;
import RPG.classes.Characters.Human;
import RPG.classes.abilities.Magic;
import RPG.classes.abilities.MagicClasses;
import RPG.classes.abilities.buffs.BuffMagic;
/**
* Created by pikachu on 18.07.17.
*/
public class ArchersBuff implements BuffMagic {
private Human hum... |
5508ddfd-7db9-4054-812e-a4901e8146bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-28T20:45:00", "repo_name": "cloudera/hue", "sub_path": "/tools/kubernetes/helm/website/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1099, "line_count": 32, "lang": "en", "do... | https://github.com/cloudera/hue | 304 | FILENAME: README.md | 0.218669 | # Hue Website Chart
This is an Helm chart to easily manage the Hue websites, gethue, docs, cdn, forum.
## Install
cd tools/kubernetes/helm/website
View the configuration [values.yaml](values.yaml), edit if needed and run:
helm install website website --namespace gethue
[values.yaml](values.yaml) contains ... |
64b207ff-f5e3-46ed-b4ae-6849fca934f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-26 00:57:14", "repo_name": "zhanght86/plm-hmcf", "sub_path": "/trunk/src/plm-hmcf/src/main/java/com/sinitek/sirm/web/plm/legaldocument/LegalDocumentAppendAttachmentAction.java", "file_name": "LegalDocumentAppe... | https://github.com/zhanght86/plm-hmcf | 240 | FILENAME: LegalDocumentAppendAttachmentAction.java | 0.264358 | package com.sinitek.sirm.web.plm.legaldocument;
import com.sinitek.sirm.busin.plm.service.PLMServiceFactory;
import com.sinitek.sirm.common.web.SirmAction;
import com.sinitek.spirit.webcontrol.table.ITableAware;
import org.apache.commons.lang.StringUtils;
import javax.servlet.http.HttpServletRequest;
import java.util... |
5a1b5811-d0b5-4309-a6d8-fb27558bbab4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-18 09:24:22", "repo_name": "adultyoung/store", "sub_path": "/back/src/main/java/by/ffefi/store/domain/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 51, "lan... | https://github.com/adultyoung/store | 223 | FILENAME: Item.java | 0.240775 | package by.ffefi.store.domain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.ColumnDefault;
import javax.persistence.*;
import java.util.Set;
@EqualsAndHashCode(of = {"id"})
@Data
@Entity
public class Item {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
pri... |
03b020fb-4747-465b-9cbb-b1bab8b29cda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-04-12T13:56:00", "repo_name": "sokooltools/MsiFileReport", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 983, "line_count": 22, "lang": "en", "doc_type": "text", "... | https://github.com/sokooltools/MsiFileReport | 204 | FILENAME: README.md | 0.246533 | # MsiFileReport
This is a Microsoft Window's mini-application that when launched creates an html file consisting of
data related to all of the MSI files currently installed on the local computer.
For example:

While the file is being generated (which can often take a minute or more), a w... |
adc02d64-3117-45da-9d1d-4238bd0d7a08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-19 15:56:30", "repo_name": "sudheendras/moviebooking", "sub_path": "/moviebooking-booking/src/main/java/com/example/demo/MovieEntity.java", "file_name": "MovieEntity.java", "file_ext": "java", "file_size_in_by... | https://github.com/sudheendras/moviebooking | 290 | FILENAME: MovieEntity.java | 0.288569 | package com.example.demo;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="movie")
public class MovieEntity {
@Id
@Column(name="sno")
private int sno;
@Column(name="moviename")
private String moviename;
@Column(... |
cf83d965-ee7e-4839-bb34-c3607434f8d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-21 19:52:50", "repo_name": "Usevalad/HyperFax", "sub_path": "/app/src/main/java/com/vsevolod/swipe/addphoto/model/query/AuthModel.java", "file_name": "AuthModel.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Usevalad/HyperFax | 253 | FILENAME: AuthModel.java | 0.252384 | package com.vsevolod.swipe.addphoto.model.query;
import android.util.Log;
import com.google.gson.annotations.SerializedName;
import com.vsevolod.swipe.addphoto.config.MyApplication;
import java.util.HashMap;
/**
* Created by vsevolod on 07.04.17.
*/
public class AuthModel {
@SerializedName("version")
fin... |
b6415ab1-9d5a-4d74-b0b4-cf14bf0a56dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-22 12:46:21", "repo_name": "lishuai13/Java-8", "sub_path": "/src/main/java/entity/Album.java", "file_name": "Album.java", "file_ext": "java", "file_size_in_byte": 1233, "line_count": 62, "lang": "en", "doc_typ... | https://github.com/lishuai13/Java-8 | 263 | FILENAME: Album.java | 0.246533 | package entity;
import java.util.List;
public class Album {
private String name;
private String tracks;
private List<String> musicians;
private int TrackList;
public Album() {
}
public Album(String name, String tracks, int trackList) {
this.name = name;
this.tracks = trac... |
9db62a14-91f5-4e97-b61f-95c21e295969 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-27 16:03:17", "repo_name": "sganeshbel/uni", "sub_path": "/Orders/src/main/java/com/company/app/Entity/OrdersEntity.java", "file_name": "OrdersEntity.java", "file_ext": "java", "file_size_in_byte": 1050, "line... | https://github.com/sganeshbel/uni | 233 | FILENAME: OrdersEntity.java | 0.290176 | package com.company.app.Entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name="orders")
public class OrdersEntity implements Serializable{
@Id
@Column(name="email")
privat... |
248815b7-fdf2-4bec-ac08-0c92c067afbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-06 03:01:57", "repo_name": "mmgame/cwa2_1099util", "sub_path": "/src/com/cwa/util/priorityqueue/QueueCell.java", "file_name": "QueueCell.java", "file_ext": "java", "file_size_in_byte": 1120, "line_count": 62, ... | https://github.com/mmgame/cwa2_1099util | 289 | FILENAME: QueueCell.java | 0.29584 | package com.cwa.util.priorityqueue;
public class QueueCell {
private long time;
private String key;
private Object obj;
public long getTime() {
return time;
}
public void setTime(long time) {
this.time = time;
}
public String getKey() {
return key;
}
public void setKey(String key... |
612e2c8d-697a-4a09-bf83-7ada022f67eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-20 19:13:20", "repo_name": "Siril-O/RecruitmentSystem", "sub_path": "/src/main/java/ua/recruitment/system/web/controller/position/dto/GetPositionApplicationsRequest.java", "file_name": "GetPositionApplications... | https://github.com/Siril-O/RecruitmentSystem | 214 | FILENAME: GetPositionApplicationsRequest.java | 0.235108 | package ua.recruitment.system.web.controller.position.dto;
import ua.recruitment.system.domain.PositionApplicationStatus;
import java.util.List;
/**
* Created by Kyrylo_Kovalchuk on 11/9/2016.
*/
public class GetPositionApplicationsRequest {
private List<String> positionCodes;
private List<String> applica... |
36902933-8a83-470f-966b-4f504a1dbcc1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-02T23:47:31", "repo_name": "virlie/secondHomeWork", "sub_path": "/README.MD", "file_name": "README.MD", "file_ext": "md", "file_size_in_byte": 1010, "line_count": 20, "lang": "en", "doc_type": "text", "blo... | https://github.com/virlie/secondHomeWork | 239 | FILENAME: README.MD | 0.282196 | **Ping Pong Converter**
Intro to Programming Independent Project for Epicodus - 24th June 2018
By Virlie Joy Paglinawan
**Description**
A webpage (using HTML, CSS, Bootstrap, JavaScript, and jQuery) that asks users to input a number that is then counted up to starting at 1 and that count is converted into a list, trans... |
17e62692-f330-494c-b1d0-1f62b202415e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-08 15:14:10", "repo_name": "MengChao-joker/Ordinary-Day", "sub_path": "/doExercise/src/May/java_5_19/ThreadPoolDemo10.java", "file_name": "ThreadPoolDemo10.java", "file_ext": "java", "file_size_in_byte": 1228,... | https://github.com/MengChao-joker/Ordinary-Day | 222 | FILENAME: ThreadPoolDemo10.java | 0.287768 | package May.java_5_19;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.PriorityBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
public class ThreadPoolDemo10 {
public static void main(String[] args) {
ThreadPoolExecutor threadPool... |
1bf1c9de-9779-4698-be2b-27b46c7e4ed7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-01 21:12:14", "repo_name": "evgean/jandrejevs", "sub_path": "/chapter_002/src/main/java/tracker/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 49, "lang": "en... | https://github.com/evgean/jandrejevs | 199 | FILENAME: Item.java | 0.23092 | package tracker;
public class Item {
private String id;
private String name;
private String description;
private long created;
private String[] comments;
private int commentPosition = 0;
public Item(String name, String description, long created) {
this.name = name;
this.des... |
b737f890-3b23-48b9-a620-9ec6f0960cd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-24 04:31:32", "repo_name": "Agencer4382/Selenium", "sub_path": "/src/com/Class03/AbsoluteXpath.java", "file_name": "AbsoluteXpath.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 35, "lang":... | https://github.com/Agencer4382/Selenium | 231 | FILENAME: AbsoluteXpath.java | 0.294215 | package com.Class03;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class AbsoluteXpath {
WebDriver driver;
public static void main(String[] args) {
AbsoluteXpath obj=new AbsoluteXpath();
obj.in... |
cb61017d-4095-41a5-99c5-0416c7e7e0aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-22 08:51:55", "repo_name": "zamonitorom/Letsgo", "sub_path": "/letsgo/src/main/java/com/letsgoapp/Models/SocketMessage.java", "file_name": "SocketMessage.java", "file_ext": "java", "file_size_in_byte": 1203, "... | https://github.com/zamonitorom/Letsgo | 268 | FILENAME: SocketMessage.java | 0.214691 | package com.letsgoapp.Models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class SocketMessage {
@SerializedName("is_my")
@Expose
private Boolean isMy;
@SerializedName("avatar")
@Expose
private String avatar;
@SerializedName("author_... |
d1f9c151-0546-4c6f-9f9a-f92538f6f3bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-14 01:19:43", "repo_name": "fePremazzi/br.com.lp2.vendedor.app", "sub_path": "/src/br/com/lp2/vendedor/app/estados/EstadoConsoleBemVindo.java", "file_name": "EstadoConsoleBemVindo.java", "file_ext": "java", "f... | https://github.com/fePremazzi/br.com.lp2.vendedor.app | 218 | FILENAME: EstadoConsoleBemVindo.java | 0.286169 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package br.com.lp2.vendedor.app.estados;
import java.util.Scanner;
import br.com.lp2.vendedor.app.App;
public class EstadoConsoleBe... |
079ba75b-315b-4804-bf11-f6c59923dbe4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 10:33:43", "repo_name": "blog-demos/simple-java-demos", "sub_path": "/src/test/java/pers/hai/simple/Log4jTest.java", "file_name": "Log4jTest.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count... | https://github.com/blog-demos/simple-java-demos | 310 | FILENAME: Log4jTest.java | 0.267408 | package pers.hai.simple;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.apache.log4j.net.SyslogAppender;
import org.junit.Test;
import pers.hai.simple.log4j.CustomLogLevel;
/**
* @Author: Q-WHai
* @Date: Created in 10:34 2019/05/06
*/
public class Log4jTest {
private final Logger lo... |
1cccba72-04f2-4e10-9e0e-b5ede141bba1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-05 06:53:31", "repo_name": "harpreetkaurGitHub/SpringDemo", "sub_path": "/src/com/Spring/AnnotationsXMLConfigScan/TennisCoach.java", "file_name": "TennisCoach.java", "file_ext": "java", "file_size_in_byte": 99... | https://github.com/harpreetkaurGitHub/SpringDemo | 190 | FILENAME: TennisCoach.java | 0.246533 | package com.Spring.AnnotationsXMLConfigScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
@Component("tennisCoach")
@Scope("prototype")
public class TennisCoach implements Coach {
// ... |
2220361b-7e2b-4e72-b30d-5d382629b2b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-23 17:34:25", "repo_name": "whakey/discordBot", "sub_path": "/src/main/java/com/discord/bot/Emote.java", "file_name": "Emote.java", "file_ext": "java", "file_size_in_byte": 1230, "line_count": 73, "lang": "en"... | https://github.com/whakey/discordBot | 270 | FILENAME: Emote.java | 0.220007 |
package com.discord.bot;
public class Emote
{
private String code;
private String id;
private String imagetype;
private boolean downloaded;
private boolean largeDownloaded;
public Emote(String code, String id, String imagetype, boolean downloaded)
{
this.code = code;
this... |
4ebdc150-182d-4a83-88d0-5fad7fd7d989 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-05 15:30:56", "repo_name": "RevenantEverest/Acirhia", "sub_path": "/users-api/src/main/java/com/example/usersapi/models/Character.java", "file_name": "Character.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/RevenantEverest/Acirhia | 279 | FILENAME: Character.java | 0.286169 | package com.example.usersapi.models;
import lombok.*;
import javax.persistence.*;
@Data
@AllArgsConstructor @NoArgsConstructor @Getter @Setter
@Entity @Table(name = "CHARACTERS")
public class Character {
public Character(Long userId, String characterName, int classId, int health, int attack, int defense, int exp... |
448b45fb-5ceb-41eb-8b1a-176ec77325c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-08 23:37:22", "repo_name": "kchamp45/resume-builder", "sub_path": "/src/main/java/Job.java", "file_name": "Job.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 51, "lang": "en", "doc_type": "... | https://github.com/kchamp45/resume-builder | 195 | FILENAME: Job.java | 0.229535 | import java.util.ArrayList;
public class Job {
private final String jobName;
private final String company;
private final String date;
private final String description;
private static ArrayList<Job> jobArray = new ArrayList<>();
public Job(String jobName, String company, String date, String des... |
a9fc228c-5031-4d89-85ca-2da8a151ad0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-03 02:59:21", "repo_name": "xin-Dream/Android_workspace", "sub_path": "/InfoManage2/app/src/main/java/com/dream/infomanage/UserInfoActivity.java", "file_name": "UserInfoActivity.java", "file_ext": "java", "fil... | https://github.com/xin-Dream/Android_workspace | 182 | FILENAME: UserInfoActivity.java | 0.189521 | package com.dream.infomanage;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class UserInfoActivity extends AppCompatActivity {
private TextView tv_back;
private TextView tv_main_title... |
4e7e1307-724b-4da4-85e7-8c877452e415 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-09 04:36:39", "repo_name": "fateezgo/Fateezgo", "sub_path": "/app/src/main/java/tw/com/fateezgo/ModifyMemberActivity.java", "file_name": "ModifyMemberActivity.java", "file_ext": "java", "file_size_in_byte": 98... | https://github.com/fateezgo/Fateezgo | 213 | FILENAME: ModifyMemberActivity.java | 0.204342 | package tw.com.fateezgo;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
public class ModifyMemberActivity extends BasicActivity {
private EditText edtname;
private EditText edtphone;
private EditText edtpw;
private ... |
94d9a9d5-825f-49c8-abc5-d2c175530d8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-15T17:32:24", "repo_name": "xavierloos/RideTheDuck", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1050, "line_count": 49, "lang": "en", "doc_type": "text", "bl... | https://github.com/xavierloos/RideTheDuck | 277 | FILENAME: README.md | 0.282988 | ## 🦆 Ride The Ducks 🦆
### Your all in one traveller app.
=================================
### Product Description
An all-in-one traveller app that provides useful information for the destination.
### Product Features
* Currency Converter
* Local News
* Weather
* GoogleMap/Destination-Restaurant reviews (TripAdv... |
3b4324c2-775d-499f-a6df-15082632f377 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-26 14:38:41", "repo_name": "jmoisespg/androidwebapiclient", "sub_path": "/webapiclient/src/main/java/net/system/http/BadRequest.java", "file_name": "BadRequest.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/jmoisespg/androidwebapiclient | 218 | FILENAME: BadRequest.java | 0.229535 | package net.system.http;
import com.google.gson.annotations.SerializedName;
import java.util.Map;
/***
* Generic badrequest of a failed http request.
*/
public class BadRequest {
@SerializedName("Message")
private String message;
@SerializedName("ModelState")
private Map<String, String[]> modelStat... |
7ae6280d-8022-4b95-bba2-ad2b5f9f9759 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-06-30T03:26:05", "repo_name": "Denisov21/brackets-html-skeleton", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1117, "line_count": 30, "lang": "en", "doc_type": "... | https://github.com/Denisov21/brackets-html-skeleton | 283 | FILENAME: README.md | 0.229535 | # HTML Skeleton #
A [Brackets](http://brackets.io) extension that allows you to add various HTML elements straight into your document, freeing you from typing it yourself.
# Installation #
Method 1: Open the Brackets Extension Manager and search for "skeleton"
Method 2: Download directly from GitHub using either th... |
43a96510-bd95-4b8d-b4df-8b12cb3f95aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-01 01:08:42", "repo_name": "hoiama/test_softplan", "sub_path": "/Sienge/src/main/java/br/com/softplan/sienge/controller/ChargeController.java", "file_name": "ChargeController.java", "file_ext": "java", "file_s... | https://github.com/hoiama/test_softplan | 193 | FILENAME: ChargeController.java | 0.293404 | package br.com.softplan.sienge.controller;
import br.com.softplan.sienge.entity.ChargeEntity;
import br.com.softplan.sienge.service.ServiceCost;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springfr... |
5c457ac1-cad9-41d9-9f89-ddd9fbb0a332 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-26 12:50:34", "repo_name": "r25ta/ir-radar-torre-controle", "sub_path": "/src/main/java/br/com/pamcary/infolog/radarveiculosviagem/dao/mapper/ReferenciaMapper.java", "file_name": "ReferenciaMapper.java", "file... | https://github.com/r25ta/ir-radar-torre-controle | 273 | FILENAME: ReferenciaMapper.java | 0.26588 | package br.com.pamcary.infolog.radarveiculosviagem.dao.mapper;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;
import br.com.pamcary.infolog.radarveiculosviagem.dao.model.ReferenciaModel;
public class ReferenciaMapper implements RowMapper<ReferenciaModel> {
... |
f48f9343-39b5-4000-b726-7dedf04f88e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 20:35:54", "repo_name": "only-us-app/UDONG_SERVER", "sub_path": "/src/main/java/solux/woodong/web/service/WebClientService.java", "file_name": "WebClientService.java", "file_ext": "java", "file_size_in_byte... | https://github.com/only-us-app/UDONG_SERVER | 215 | FILENAME: WebClientService.java | 0.245085 | package solux.woodong.web.service;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebClient;
import reactor.core.publisher.Mono;
import... |
8eda254b-17be-4d69-8807-e0f80cfa711b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-08-27 12:00:14", "repo_name": "ibeauvais/TestSpringDataJpaJerseyJquery", "sub_path": "/src/main/java/com/perso/projectTest1/web/controller/EtablissementController.java", "file_name": "EtablissementController.java... | https://github.com/ibeauvais/TestSpringDataJpaJerseyJquery | 239 | FILENAME: EtablissementController.java | 0.262842 | package com.perso.projectTest1.web.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import com.perso.... |
925be2b5-f0d9-41d9-8ea8-0aeea526559f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-08T20:44:04", "repo_name": "SatarShirzai/Udacity_Projects", "sub_path": "/React-would-you-rather/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1057, "line_count": 30, "lang":... | https://github.com/SatarShirzai/Udacity_Projects | 271 | FILENAME: README.md | 0.292595 | # Udacity Would You Rathre
The 'Would you rather' is a ReactJS app that allows users to login, ask and answer different poll questions. It will also show a leaderboard based on the number of questions each user has asked and answered.
## Prerequisites
To run this application, you will need the following:
* latest... |
88379ce5-b020-4839-853c-7e69045a439f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-15T18:23:07", "repo_name": "HomeDing/homeding.github.io", "sub_path": "/examples/rfbridge.md", "file_name": "rfbridge.md", "file_ext": "md", "file_size_in_byte": 1227, "line_count": 42, "lang": "en", "doc_... | https://github.com/HomeDing/homeding.github.io | 281 | FILENAME: rfbridge.md | 0.245085 | ---
title: RF Bridge Example
tags: ["Example", "WIP"]
layout: "page.njk"
description: --
excerpt: >
This example has a local RFCodes Element to send and receive RF Signals using 433 MHz
transmitters and receivers with the <a href="https://github.com/mathertel/rfcodes">RFCodes
library</a>. Some more Elemen... |
6073a8c7-1abf-4cf6-8549-e2e009501ad8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-27 10:20:13", "repo_name": "tng016/BankStatementReader", "sub_path": "/src/tests/Transactions/DBSCreditTransactionExtractorTest.java", "file_name": "DBSCreditTransactionExtractorTest.java", "file_ext": "java",... | https://github.com/tng016/BankStatementReader | 229 | FILENAME: DBSCreditTransactionExtractorTest.java | 0.268941 | package Transactions;
import PDFBox.ReadPDF;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import static org.junit.Assert.*;
/**
* Created by tzeyangng on 24/5/17.
*/
public class DBSCreditTransactionExtractorTest {
@Test
public void extract() throws Exception {
File f = ... |
18adc201-f39e-4f9f-a193-3a0cdfaf90a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-10T23:08:40", "repo_name": "Nudin/wikidata-imports", "sub_path": "/openhub/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1006, "line_count": 30, "lang": "en", "doc_type": "te... | https://github.com/Nudin/wikidata-imports | 217 | FILENAME: README.md | 0.189521 | Query Open Hub for data for Wikidata
====================================
access.py
Read all items with an Open Hub identifier and search Open Hub for information.
Currently the following informations get imported:
- Code repository
- license
- main programing language
match.py
Search for i... |
458b9678-bb66-40d1-ba46-10ef41c6afba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-02 09:31:49", "repo_name": "GPC-debug/UdShare", "sub_path": "/app/src/main/java/com/ud/share/ui/proxy/ProxyAdapter.java", "file_name": "ProxyAdapter.java", "file_ext": "java", "file_size_in_byte": 1077, "line_... | https://github.com/GPC-debug/UdShare | 235 | FILENAME: ProxyAdapter.java | 0.262842 | package com.ud.share.ui.proxy;
import android.widget.ImageView;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ud.share.R;
import com.ud.share.compoents.SegmentView;
import com.ud.share.data.ProxyListBean;
import com.ud.share.databinding.GlideUti... |
6b9ba4c3-0673-41d7-8fc0-a2457105e42d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-26 09:54:55", "repo_name": "nycrera91/data-structures-and-algorithms", "sub_path": "/src/com/nycrera/stack/StackByArray.java", "file_name": "StackByArray.java", "file_ext": "java", "file_size_in_byte": 978, "l... | https://github.com/nycrera91/data-structures-and-algorithms | 243 | FILENAME: StackByArray.java | 0.256832 | package com.nycrera.stack;
/**
* Created by Alperen Asa
* Date: 26.05.2020
* Time: 11:29
* Project Name: data-structures-and-algorithms
*/
public class StackByArray {
private int[] arr;
private int topOfStack; //keeps track of the cell which is last occupied in Array, this will help in insertion/deletio... |
d2c5e4bc-3473-4bbb-a945-7a94dbe08e2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-14T01:22:49", "repo_name": "thestar-faiz/microexpression", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1228, "line_count": 19, "lang": "en", "doc_type": "text... | https://github.com/thestar-faiz/microexpression | 284 | FILENAME: README.md | 0.261331 | # microexpression
Detecting Micro-Expression Emotion in Real Time
Live at https://affectiva-web.surge.sh/
To see the app in action, just open the above link in web browser from your mobile phone. Have fun!
Based on https://github.com/Affectiva/js-sdk-sample-apps and https://jsfiddle.net/affectiva/opyh5e8d/show/
Ide... |
8b4b86ea-4f88-4e63-b3ba-53594ac48db9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-13 11:32:10", "repo_name": "EasyArch-ls/Concurrent", "sub_path": "/src/main/java/Test/myReentrantLock/MyTest2.java", "file_name": "MyTest2.java", "file_ext": "java", "file_size_in_byte": 1230, "line_count": 39... | https://github.com/EasyArch-ls/Concurrent | 251 | FILENAME: MyTest2.java | 0.264358 | package Test.myReentrantLock;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.ReentrantLock;
/***
* @Author: lisheng
* @Date: 2020/6/10
* @Time: 下午5:13
* @Description:公平锁与非平锁
***/
public class MyTest2 {
public static void main(String[] args) throws InterruptedException {
Reent... |
97479bcc-19cd-4c72-8983-729b799e8a2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-06 17:46:17", "repo_name": "Yuushaa/Final", "sub_path": "/proyecto1.1/src/ver1_1/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 1115, "line_count": 40, "lang": "en", "do... | https://github.com/Yuushaa/Final | 216 | FILENAME: Conexion.java | 0.242206 | package ver1_1;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author Victor
*/
public class Conexion
{
static String nombre="listafin";
static String user="root";
static String pass="pincelin111";
static String url="jdbc:mysql://localh... |
6aed7d72-cd71-42f9-97a2-29af3cce4042 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-24 04:26:28", "repo_name": "agrandea/Dead_Meme", "sub_path": "/Main Clicker Concept/TestUpper.java", "file_name": "TestUpper.java", "file_ext": "java", "file_size_in_byte": 1061, "line_count": 39, "lang": "en"... | https://github.com/agrandea/Dead_Meme | 233 | FILENAME: TestUpper.java | 0.262842 | import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
//test to see how HarabmeResearchers or any other passive click can add buttons
//to a seperate JFrame
public class TestUpper extends JFrame
{
private final long serialVersionUID = 1L;
protected JFrame MainJF;
protected JPanel MainJP;
public... |
5ef4b589-2375-4efe-b1b5-73b33fc22bba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-02 15:18:37", "repo_name": "Hotown/mail-backup", "sub_path": "/src/main/java/com/neuqer/mail/model/MobileGroup.java", "file_name": "MobileGroup.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count... | https://github.com/Hotown/mail-backup | 239 | FILENAME: MobileGroup.java | 0.212069 | package com.neuqer.mail.model;
import javax.persistence.Column;
import javax.persistence.Table;
/**
* Created by Hotown on 17/5/22.
*/
@Table(name = "mobile_group")
public class MobileGroup implements BaseModel {
@Column(name = "mobile_id")
private Long mobileId;
@Column(name = "group_id")
private... |
5328baaa-a620-4b97-a2f2-ec5a3ebe30ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-02 08:20:03", "repo_name": "pinireznik/antitude", "sub_path": "/agents/skynet/MitosisTest/src/FunctionalAgent.java", "file_name": "FunctionalAgent.java", "file_ext": "java", "file_size_in_byte": 1203, "line_co... | https://github.com/pinireznik/antitude | 274 | FILENAME: FunctionalAgent.java | 0.278257 | import java.util.StringTokenizer;
public class FunctionalAgent implements Comparable<FunctionalAgent> {
private String id;
private String ip;
private String role;
public FunctionalAgent(String id, String port, String role) {
this.id = id;
int index = port.indexOf(':');
this.ip = port.substring(0, index);
... |
6e230c33-9daa-430b-b7a2-14df78afd92f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-12 23:06:15", "repo_name": "guadaran/mateu-mdd", "sub_path": "/mdd-vaadin/src/test/java/io/mateu/mdd/tester/model/wizards/Wizard1Page1.java", "file_name": "Wizard1Page1.java", "file_ext": "java", "file_size_in... | https://github.com/guadaran/mateu-mdd | 235 | FILENAME: Wizard1Page1.java | 0.264358 | package io.mateu.mdd.tester.model.wizards;
import com.google.common.base.Strings;
import io.mateu.mdd.core.annotations.Action;
import io.mateu.mdd.core.annotations.Output;
import io.mateu.mdd.core.interfaces.WizardPage;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.validation.constr... |
7e749707-9957-4ca3-ad41-93fee8912a5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-26 14:44:26", "repo_name": "ClaudioShk/UnderSound", "sub_path": "/app/src/main/java/com/example/shioka/navigationdrawer/Splash/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "fil... | https://github.com/ClaudioShk/UnderSound | 191 | FILENAME: SplashActivity.java | 0.228156 | package com.example.shioka.navigationdrawer.Splash;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import com.example.shioka.navigationdrawer.Activities.L... |
1e282bf5-42b2-4de3-aa6e-e33cf7699a72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-07 14:41:33", "repo_name": "MarceloFourquet/ThreadBasics", "sub_path": "/src/main/java/com/me/jms/Producer.java", "file_name": "Producer.java", "file_ext": "java", "file_size_in_byte": 1119, "line_count": 43, ... | https://github.com/MarceloFourquet/ThreadBasics | 213 | FILENAME: Producer.java | 0.271252 |
package com.me.jms;
import javax.jms.*;
import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory;
public class Producer{
private Connection connection;
private Session session;
private MessageProducer messageProducer;
public void create (String destinat... |
ccc151e2-0164-4876-97e4-38e91a8d2b05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-26 09:20:45", "repo_name": "matheomiquel/RPG-GAME", "sub_path": "/main.java", "file_name": "main.java", "file_ext": "java", "file_size_in_byte": 1094, "line_count": 52, "lang": "en", "doc_type": "code", "blob_... | https://github.com/matheomiquel/RPG-GAME | 281 | FILENAME: main.java | 0.295027 | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class main{
private String name;
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
... |
40807972-d023-4cb7-8a8f-b5e611e16a52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-14 19:06:37", "repo_name": "idrisssakhi/android-app", "sub_path": "/app/src/main/java/com/example/said/villefuteeips2017/HomeActivity.java", "file_name": "HomeActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/idrisssakhi/android-app | 214 | FILENAME: HomeActivity.java | 0.228156 | package com.example.said.villefuteeips2017;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
public class HomeActivity extends AppComp... |
a5d2776d-493b-4e27-82b3-96cddc8d441d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-29 15:40:13", "repo_name": "MohammedReda90/section2", "sub_path": "/address.java", "file_name": "address.java", "file_ext": "java", "file_size_in_byte": 986, "line_count": 51, "lang": "en", "doc_type": "code",... | https://github.com/MohammedReda90/section2 | 209 | FILENAME: address.java | 0.20947 | /*
* 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 student_inf;
/**
*
* @author hp
*/
public class address {
int StreetNO;
String city;
String count... |
d6ebd812-aa33-4451-9311-58bdbf5bf3b7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-07 08:18:32", "repo_name": "honj51/tn_abt", "sub_path": "/vla-base/src/main/java/com/tuniu/vla/base/tsp/TspErrorCodeException.java", "file_name": "TspErrorCodeException.java", "file_ext": "java", "file_size_in... | https://github.com/honj51/tn_abt | 269 | FILENAME: TspErrorCodeException.java | 0.285372 | package com.tuniu.vla.base.tsp;
/**
* TSP接口返回false异常
*
* @copyright(C) 2006-2012 Tuniu All rights reserved
* @author xiehui
*/
class TspErrorCodeException extends RuntimeException {
private static final long serialVersionUID = -7026557876228668588L;
private String errorCode;
public TspErrorCodeExc... |
dff1a448-7992-4d9f-b193-954d385d02ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-21 09:07:58", "repo_name": "hugoYe/JavaLearn", "sub_path": "/app/src/main/java/com/system/business/operation/form/OperationQueryForm.java", "file_name": "OperationQueryForm.java", "file_ext": "java", "file_siz... | https://github.com/hugoYe/JavaLearn | 208 | FILENAME: OperationQueryForm.java | 0.214691 | package com.system.business.operation.form;
import com.system.common.form.PageForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
@ApiModel
public class OperationQueryForm extends PageForm {
@ApiModelProperty(value = "用户id列表")
private List<Int... |
9c7915c1-ffd5-4c4e-bb8f-f86b811d8cbf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-10 11:53:58", "repo_name": "gentics/mesh", "sub_path": "/rest-model/src/main/java/com/gentics/mesh/core/rest/common/Permission.java", "file_name": "Permission.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/gentics/mesh | 264 | FILENAME: Permission.java | 0.286169 | package com.gentics.mesh.core.rest.common;
/**
* REST model for permissions.
*/
public enum Permission {
CREATE("create"),
READ("read"),
UPDATE("update"),
DELETE("delete"),
READ_PUBLISHED("readpublished"),
PUBLISH("publish");
private String name;
/**
* Create a new permission
*
* @param name
... |
56bb7bd5-ae25-46e0-a314-bc38955fdeeb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-06 20:15:37", "repo_name": "meeta0311/Assessment", "sub_path": "/src/main/java/com/example/demo/entity/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count": 57, "la... | https://github.com/meeta0311/Assessment | 238 | FILENAME: User.java | 0.252384 | package com.example.demo.entity;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
/**
* Created by Meeta on 05/10/19.
*/
@Entity
public class User implements Serializable{
private static final long serialVersionUID = 0x62A6DA99AABDA8A8L;
@Column
@GeneratedValue(strategy = Ge... |
10735624-1af6-47e7-baee-71a31989eb9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-29 03:00:17", "repo_name": "Linklmm/thinkInJava", "sub_path": "/src/main/java/com/test/MyInvocationHandler.java", "file_name": "MyInvocationHandler.java", "file_ext": "java", "file_size_in_byte": 1222, "line_c... | https://github.com/Linklmm/thinkInJava | 262 | FILENAME: MyInvocationHandler.java | 0.291787 | package com.test;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/**
* 版权声明:Copyright(c) 2019
*
* @program: thinkInJava
* @Author myFlowerYourGrass
* @Date 2019-08-05 08:58
* @Version 1.0
* @Description jdk动态代理
*/
public class MyInvocationHandler i... |
471e5d0b-930c-42b4-a3be-6d4904de20e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-15 13:17:26", "repo_name": "chrishaining/Stereo", "sub_path": "/src/main/java/stereo/Stereo.java", "file_name": "Stereo.java", "file_ext": "java", "file_size_in_byte": 1229, "line_count": 52, "lang": "en", "do... | https://github.com/chrishaining/Stereo | 274 | FILENAME: Stereo.java | 0.282196 | package stereo;
import components.CassetteDeck;
import components.Component;
import components.Radio;
public class Stereo {
private String name;
private CassetteDeck cassetteDeck;
private Radio radio;
// private String model;
// private String make;
public Stereo(String name, CassetteDeck cass... |
f4ff1307-10cd-42d5-84ac-bcff388d385f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-09 03:27:14", "repo_name": "hweiyu/mybatis-component", "sub_path": "/src/main/java/hwy/handle/factory/DaoFactory.java", "file_name": "DaoFactory.java", "file_ext": "java", "file_size_in_byte": 975, "line_count... | https://github.com/hweiyu/mybatis-component | 197 | FILENAME: DaoFactory.java | 0.23092 | package hwy.handle.factory;
import hwy.constant.TemplateCons;
import hwy.handle.AbstractFactory;
import hwy.model.Bean;
import hwy.model.DaoBean;
import hwy.model.param.ConfigParam;
import hwy.util.StringUtil;
/**
* dao工厂
*/
public class DaoFactory extends AbstractFactory {
private ConfigParam config;
pub... |
0e509f1b-9dfb-47e2-9488-1130b82c8644 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-30 09:29:54", "repo_name": "daggeto/Canals", "sub_path": "/src/main/java/com/daggeto/canals/domain/GraphNode.java", "file_name": "GraphNode.java", "file_ext": "java", "file_size_in_byte": 1002, "line_count": 5... | https://github.com/daggeto/Canals | 235 | FILENAME: GraphNode.java | 0.276691 | package com.daggeto.canals.domain;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Graph Node entity
*/
public class GraphNode {
/**
* Unique name of node
*/
private String name;
/**
* Adjacent nodes mapped with distances
*/
private Map<GraphNode, Integer> adjacentNodes;
public ... |
fa1fc2d6-a07b-4e53-aa46-9fa24ecf4ff2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 01:46:18", "repo_name": "hzr958/myProjects", "sub_path": "/scmv6/web-file/src/main/java/com/smate/web/file/dao/ShareStatisticsQueryDao.java", "file_name": "ShareStatisticsQueryDao.java", "file_ext": "java",... | https://github.com/hzr958/myProjects | 318 | FILENAME: ShareStatisticsQueryDao.java | 0.290981 | package com.smate.web.file.dao;
import org.springframework.stereotype.Repository;
import com.smate.core.base.utils.data.SnsHibernateDao;
import com.smate.web.file.model.ShareStatisticsQuery;
/**
* 共享统计模块Dao
*
* @author zk
*
*/
@Repository
public class ShareStatisticsQueryDao extends SnsHibernateDao<ShareStati... |
a5cfa9b5-27ab-40a8-95f1-14c1e4d4bda7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-10 07:54:37", "repo_name": "tigerguixh/DailyDemo", "sub_path": "/app/src/main/java/tiger/com/lp/dailydemo/designpatterns/command/day1/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in... | https://github.com/tigerguixh/DailyDemo | 216 | FILENAME: Client.java | 0.291787 | package tiger.com.lp.dailydemo.designpatterns.command.day1;
/**
* @author gxh
* @email xunhu.gui@ds365.com
* @date 2018/3/14 0014
* @description
*/
public class Client {
public static void main(String[] args) {
Tv tv = new Tv();
CommandOn commandOn = new CommandOn();
commandOn.setTv(... |
67cd061d-9443-41e3-b6b6-770a8badd7ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 10:01:08", "repo_name": "1574582016/web-project-finance", "sub_path": "/web-project-web/src/main/java/com/sky/scheduler/StockCodeScheduler.java", "file_name": "StockCodeScheduler.java", "file_ext": "java", ... | https://github.com/1574582016/web-project-finance | 250 | FILENAME: StockCodeScheduler.java | 0.273574 | package com.sky.scheduler;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.sky.model.StockMarketClass;
import com.sky.service.StockCodeService;
import com.sky.service.StockMarketClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotatio... |
b1809130-3abb-4ae6-9e08-fc335eba9477 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-16 19:09:54", "repo_name": "s19971014y/mytaotao", "sub_path": "/taotao-common/src/main/java/com/taotao/utils/JedisGetUtils.java", "file_name": "JedisGetUtils.java", "file_ext": "java", "file_size_in_byte": 126... | https://github.com/s19971014y/mytaotao | 402 | FILENAME: JedisGetUtils.java | 0.249447 | package com.taotao.utils;
import redis.clients.jedis.*;
import java.util.HashSet;
import java.util.Set;
public class JedisGetUtils {
static{
//单机版
JedisPoolConfig config = new JedisPoolConfig();
config.setMaxWaitMillis(100000);
config.setMaxTotal(50);
jedisPool = new Jedis... |
71bb4ee3-8b35-4f78-abea-a0b5ff93bff3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-08 14:02:16", "repo_name": "GavynZhang/MVPZhihuDaily", "sub_path": "/app/src/main/java/com/gavynzhang/mvpzhihudaily/utils/convertArticle/LatestToArticleIndices.java", "file_name": "LatestToArticleIndices.java"... | https://github.com/GavynZhang/MVPZhihuDaily | 236 | FILENAME: LatestToArticleIndices.java | 0.29584 | package com.gavynzhang.mvpzhihudaily.utils.convertArticle;
import com.gavynzhang.mvpzhihudaily.model.entities.ArticleIndex;
import com.gavynzhang.mvpzhihudaily.model.entities.latest.Latest;
import java.util.ArrayList;
import java.util.List;
/**
* Created by GavynZhang on 2016/11/25 1:42.
*/
public class LatestToA... |
29e40ded-2046-444d-a5db-7f954f9c21f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-01 12:55:11", "repo_name": "Ville-VeikkoN/gymdiary", "sub_path": "/app/src/main/java/fi/tuni/gymdiary/mygymdiary/exercise/ConfirmDeleteDialog.java", "file_name": "ConfirmDeleteDialog.java", "file_ext": "java",... | https://github.com/Ville-VeikkoN/gymdiary | 183 | FILENAME: ConfirmDeleteDialog.java | 0.23092 | package fi.tuni.gymdiary.mygymdiary.exercise;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
public class ConfirmDeleteDialog extends DialogFragment {
@Override
public Dialog onCreate... |
04d51652-8dbc-4622-88c0-4cae0ec0ab6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-13 06:39:14", "repo_name": "AnkitZemoso/SolidPrinciples", "sub_path": "/src/ankit/soliddemo/withsolid/WithSolid.java", "file_name": "WithSolid.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count"... | https://github.com/AnkitZemoso/SolidPrinciples | 195 | FILENAME: WithSolid.java | 0.29584 | package ankit.soliddemo.withsolid;
public class WithSolid {
public static void main(String[] args) {
System.out.println("This follows Single responsibility Principle.");
PrinterService printerService=new PrinterService();
printerService.printPassbook();
System.out.println("... |
c8764ca5-507e-4085-afa2-00f788fe6585 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-14 22:48:26", "repo_name": "ravil1234/TechWork", "sub_path": "/app/src/main/java/com/example/techwork/CategoryAdapter.java", "file_name": "CategoryAdapter.java", "file_ext": "java", "file_size_in_byte": 1070, ... | https://github.com/ravil1234/TechWork | 199 | FILENAME: CategoryAdapter.java | 0.261331 | package com.example.techwork;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
@SuppressWarnings("ALL")
public class CategoryAd... |
bb334d73-8cb2-40e1-8016-262baa9cc094 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-28 15:52:25", "repo_name": "thuyltm3/firstcucumber_v2", "sub_path": "/src/test/java/firstcucumber/pageobjects/POM_LoginPage.java", "file_name": "POM_LoginPage.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/thuyltm3/firstcucumber_v2 | 245 | FILENAME: POM_LoginPage.java | 0.282988 | package firstcucumber.pageobjects;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class POM_LoginPage {
/*
* Với kiểu Page Object, Sẽ chứa 2 phần:
* - Các định nghĩa locator
* - Các method để tương tác với các locator này
* */
... |
b424405e-9019-44a2-b43a-84ff0507b143 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 03:12:21", "repo_name": "Marlysonn/MoraisLibrary", "sub_path": "/src/main/java/TesteBanco/UpdateDB.java", "file_name": "UpdateDB.java", "file_ext": "java", "file_size_in_byte": 1228, "line_count": 45, "lang... | https://github.com/Marlysonn/MoraisLibrary | 215 | FILENAME: UpdateDB.java | 0.276691 | package TesteBanco;
import conexoes.ConexaoSQLite;
import java.sql.PreparedStatement;
import java.sql.SQLException;
public class UpdateDB {
public static void main(String[] args) {
ConexaoSQLite conexaoSQLite = new ConexaoSQLite();
conexaoSQLite.conectar();
... |
70072d99-bfc7-4083-be12-ece50cca8b36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-27 20:42:06", "repo_name": "AlbertoMApps/finalProject", "sub_path": "/app/src/main/java/com/example/tae_user0/finalprojectapp1/dbModel/Favourites.java", "file_name": "Favourites.java", "file_ext": "java", "fil... | https://github.com/AlbertoMApps/finalProject | 245 | FILENAME: Favourites.java | 0.220007 | package com.example.tae_user0.finalprojectapp1.dbModel;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
/**
* Created by TAE_user0 on 21/01/2016.
*/
@DatabaseTable
public class Favourites {
public static final String ID = "id";
public static final String RE... |
4cce1dda-4566-4734-a3c1-7a2c264a29fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-17T02:20:09", "repo_name": "KyleHutchinson/demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 27, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/KyleHutchinson/demo | 211 | FILENAME: README.md | 0.264358 | # demo
A demo project from Kids Can Code
'''
Curious, Creative, Tenacious(requires hopefulness)
**********Gameplay ideas:
Jump on enemy head to create jump boost using power up code
Randomize jump sound
Add fake platforms that don't allow you to land on them.
Add a cactus that will kill the player if he collides with ... |
ce44ca0c-aa0e-4663-942a-6422c5fc878f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-06 17:10:43", "repo_name": "szalaimihaly/worshipsearcher", "sub_path": "/app/src/main/java/szalaimihaly/hu/worshipsearcher/WorshipListActivity.java", "file_name": "WorshipListActivity.java", "file_ext": "java"... | https://github.com/szalaimihaly/worshipsearcher | 200 | FILENAME: WorshipListActivity.java | 0.233706 | package szalaimihaly.hu.worshipsearcher;
/**
* Created by Mihaly on 2015.04.24..
*/
import android.app.ListActivity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import java.util.ArrayList;
public class WorshipListActivity extends ListActivity {
/** Called when th... |
4b9689cd-6c06-4f91-aa42-c97e5a75202c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-08T18:07:36", "repo_name": "Sanchit-Trivedi/Unix-Shell", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1095, "line_count": 19, "lang": "en", "doc_type": "text",... | https://github.com/Sanchit-Trivedi/Unix-Shell | 240 | FILENAME: README.md | 0.281406 | # Unix-Shell
A basic Shell written in C that can handle I/O redirection and pipes.<br>
<br>
### The shell can handle the commands like this example <br/>
`/bin/ls | /bin/sort | /bin/uniq | /usr/bin/wc -l 2>&1 1>output.txt`
### The following functionalities are supported : - <br>
Syntax | Meaning
---------... |
2e3aace4-fabf-400e-b6e0-dc49023ad21a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-02 10:19:18", "repo_name": "psinfo07/OCCS", "sub_path": "/src/main/java/com/cusat/hackathon/servlets/Logout.java", "file_name": "Logout.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 37, "l... | https://github.com/psinfo07/OCCS | 156 | FILENAME: Logout.java | 0.246533 | package com.cusat.hackathon.servlets;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
... |
4f6a87cc-aaef-4623-882a-1fc0709dcda2 | {"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/dialog/DialogNoEncryptedWallet.java", "file_name": "DialogNoEncryptedWallet.java", "file_ext": "java", "f... | https://github.com/MeiyouSunny/Metron | 206 | FILENAME: DialogNoEncryptedWallet.java | 0.214691 | package com.metron.xiaoming.ui.dialog;
import android.view.View;
import com.metron.xiaoming.R;
import com.metron.xiaoming.base.BaseDialogHolder;
import com.metron.xiaoming.databinding.DialogNoEncryptedWalletBinding;
/**
* 未设置加密钱包
*/
public class DialogNoEncryptedWallet extends BaseDialogHolder<DialogNoEncryptedWal... |
7c775b4e-64db-4514-a540-81a58b7bbe20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-23 06:51:43", "repo_name": "BGCX262/zsey-svn-to-git", "sub_path": "/trunk/ducrm/src/cn/com/kington/bean/basic/CategorySO.java", "file_name": "CategorySO.java", "file_ext": "java", "file_size_in_byte": 1137, "l... | https://github.com/BGCX262/zsey-svn-to-git | 279 | FILENAME: CategorySO.java | 0.267408 | package cn.com.kington.bean.basic;
import cn.com.kington.common.SOSupport;
import cn.com.kington.common.PublicType.Sort;
/**
* 分类种类
*
* @author 杜永生
*
*/
public class CategorySO extends SOSupport {
private static final long serialVersionUID = 3351166509064178967L;
private String code;// 编号
priv... |
50208443-4411-4af8-a596-f5bb7128b419 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-05 01:56:58", "repo_name": "getonecode/mvcx", "sub_path": "/core/src/main/java/guda/mvcx/core/ext/freemarker/EnumToMapDirective.java", "file_name": "EnumToMapDirective.java", "file_ext": "java", "file_size_in_... | https://github.com/getonecode/mvcx | 259 | FILENAME: EnumToMapDirective.java | 0.287768 | package guda.mvcx.core.ext.freemarker;
import freemarker.core.Environment;
import freemarker.template.TemplateDirectiveBody;
import freemarker.template.TemplateDirectiveModel;
import freemarker.template.TemplateException;
import freemarker.template.TemplateModel;
import guda.mvcx.core.util.EnumUtil;
import java.io.IO... |
74c47e21-07ed-41a8-a66b-5a4d940ade95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-05-20 11:10:18", "repo_name": "nelsonjchen/RedMenu", "sub_path": "/src/com/mindflakes/TeamRED/server/MealMenuFeedRouter.java", "file_name": "MealMenuFeedRouter.java", "file_ext": "java", "file_size_in_byte": 1041... | https://github.com/nelsonjchen/RedMenu | 215 | FILENAME: MealMenuFeedRouter.java | 0.284576 | package com.mindflakes.TeamRED.server;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.goog... |
eae398b4-bf98-41c6-8fd4-398608e8c7a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-24 15:40:37", "repo_name": "smehta344/All-Notes", "sub_path": "/MailController.java", "file_name": "MailController.java", "file_ext": "java", "file_size_in_byte": 1205, "line_count": 36, "lang": "en", "doc_typ... | https://github.com/smehta344/All-Notes | 212 | FILENAME: MailController.java | 0.243642 | package com.altimetrik.bcp.controller;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotatio... |
36eee2a4-2bb6-4472-8108-ee111413d4a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-29 19:10:37", "repo_name": "pmroz1995/product-api", "sub_path": "/PiotrMrózZadanieRekrutacyjne/sellions/src/main/java/com/example/sellions/controller/ParameterController.java", "file_name": "ParameterControlle... | https://github.com/pmroz1995/product-api | 170 | FILENAME: ParameterController.java | 0.290176 | package com.example.sellions.controller;
import com.example.sellions.Exceptions.SupportingRuntimeError;
import com.example.sellions.dao.entity.Parameter;
import com.example.sellions.service.ParameterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annota... |
2eac741b-d31b-4da6-82a1-17e333ef3d1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-25T13:57:12", "repo_name": "GSLabDev/gslabdev.github.io", "sub_path": "/_posts/project/2018-04-12-mulesoftdockerconnector.markdown", "file_name": "2018-04-12-mulesoftdockerconnector.markdown", "file_ext": ... | https://github.com/GSLabDev/gslabdev.github.io | 249 | FILENAME: 2018-04-12-mulesoftdockerconnector.markdown | 0.252384 | ---
layout: project
title: "Mulesoft Docker connector"
date: 2018-04-12 16:54:46
author: Nagnath Sawant, Niranjan Joshi
categories:
- project
img: dockerconnector.png
thumb: thumb02.jpg
carousel:
- dockerconnector.png
client: https://github.com/GSLabDev/docker-connector
website: https://www.mulesoft.com/exchange/or... |
e206e286-a2a4-4416-9ea2-322e844a6882 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-02T07:39:18", "repo_name": "athlum/warden", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1118, "line_count": 16, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/athlum/warden | 270 | FILENAME: README.md | 0.247987 | # Warden [](https://travis-ci.org/athlum/warden)
<!--
create time: 2016-01-18 22:54:02
Author: Athlum
-->
Warden is a service discovery tool for [docker](https://www.docker.com/) + [mesos](http://mesos.apache.org/).
Warden uses [zookeeper](http://zookeeper.apa... |
b5ffee50-4880-44d4-999f-9065414a5ecf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-07 10:54:02", "repo_name": "dlsyaim/EQIMSERVER", "sub_path": "/src/main/java/com/gisinfo/sand/queryGeographyInfo/geographyData/bean/Rock.java", "file_name": "Rock.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/dlsyaim/EQIMSERVER | 274 | FILENAME: Rock.java | 0.23092 | package com.gisinfo.sand.queryGeographyInfo.geographyData.bean;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.annotations.Mapper;
import javax.persistence.Id;
//查询岩体相关数据实体类
@Mapper
@TableName("ROCK")
public class Rock {
//主键
... |
e603b478-1337-4585-bb13-381246fa7da1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-20T08:58:02", "repo_name": "willysteinbach/roiimageapi", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1043, "line_count": 25, "lang": "en", "doc_type": "text",... | https://github.com/willysteinbach/roiimageapi | 233 | FILENAME: README.md | 0.253861 | # roiimageapi
## Description
This standalone API can process all availabe .tif images for a given polygon with its coordinates as .geojson in background. Those images are then availabe by a simply download link.
## Usage
### Setup Database
Create a Prostgres DB and a user with superuser privileges or at least the pri... |
da61ab62-d0b6-4886-829f-2629fabf6d31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-12 03:07:26", "repo_name": "haejun0317/partyplanner", "sub_path": "/PartyPlanner/src/test/java/kr/co/partyplanner/EventDAOTest.java", "file_name": "EventDAOTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/haejun0317/partyplanner | 257 | FILENAME: EventDAOTest.java | 0.280616 | package kr.co.partyplanner;
import java.util.List;
import javax.inject.Inject;
import org.apache.log4j.Logger;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
imp... |
908ca8c9-41f8-499b-b19a-d4e2e21c077a | {"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/FinancialInfo/controller/LevelofUseController.java", "file_name": "LevelofUseController.java", "file_ext": "java... | https://github.com/sut62/team08 | 189 | FILENAME: LevelofUseController.java | 0.249447 | package com.example.server.FinancialInfo.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Collection;
import java.util.stream.Collectors;
import com.exa... |
ff644eaf-4572-44b6-8689-97f40ecf2071 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-14 01:02:06", "repo_name": "jxczz1/JavaMicroservices", "sub_path": "/services-bookings/src/main/java/co/com/poli/bookings/entities/Booking.java", "file_name": "Booking.java", "file_ext": "java", "file_size_in_... | https://github.com/jxczz1/JavaMicroservices | 268 | FILENAME: Booking.java | 0.290176 | package co.com.poli.bookings.entities;
import co.com.poli.bookings.model.Movie;
import co.com.poli.bookings.model.ShowTime;
import co.com.poli.bookings.model.User;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
import ja... |
f8547b9c-684a-4c88-a715-bafa8f3156d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-13 13:24:39", "repo_name": "SRMichas/Aplicacion-Burritos", "sub_path": "/app/src/main/java/com/sorezel/burritos/ConfiguracionActivity.java", "file_name": "ConfiguracionActivity.java", "file_ext": "java", "file... | https://github.com/SRMichas/Aplicacion-Burritos | 164 | FILENAME: ConfiguracionActivity.java | 0.198064 | package com.sorezel.burritos;
import android.os.Bundle;
import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.preference.PreferenceFragmentCompat;
public class ConfiguracionActivity extends AppCompatActivity {
@Overri... |
01b0774a-a522-406d-990c-b967f0a3d874 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-25T15:06:50", "repo_name": "Monali-Khandelwal/Spring-Boot-Practice", "sub_path": "/src/Readme.md", "file_name": "Readme.md", "file_ext": "md", "file_size_in_byte": 1023, "line_count": 16, "lang": "en", "do... | https://github.com/Monali-Khandelwal/Spring-Boot-Practice | 214 | FILENAME: Readme.md | 0.26588 | # Spring Boot Course and Topic
### Set up a Spring Boot application
* Using a Spring initializr create a Spring boot project - Course management system. This has two model classes topic and course. Each course belong to a topic
### Spring MVC
* By using the Spring MVC tier create the REST api end points and map it t... |
1ca0f514-7b71-4e36-acde-e1d50d321f2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-20 04:34:29", "repo_name": "moraleAK/spring-boot-intergration", "sub_path": "/src/main/java/com/canno/spring/boot/integration/entity/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_by... | https://github.com/moraleAK/spring-boot-intergration | 243 | FILENAME: Order.java | 0.228156 | package com.canno.spring.boot.integration.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* @author Canno
* @since 2018/6/28 14:27
*/
@Entity
@Table(name = "t_order")
public class Order extends BaseEntity {
@Column(name = "order_no")
private Str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.