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 |
|---|---|---|---|---|---|---|
1387929d-287a-4ba3-a21a-09f9c8f32bb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-15 21:24:31", "repo_name": "wuzzy00/Gti310_Laboratoire03", "sub_path": "/GTi310_Lab03/gti310/tp3/parser/MazeLine.java", "file_name": "MazeLine.java", "file_ext": "java", "file_size_in_byte": 963, "line_count":... | https://github.com/wuzzy00/Gti310_Laboratoire03 | 207 | FILENAME: MazeLine.java | 0.250913 | package gti310.tp3.parser;
import java.util.LinkedList;
/**
*
* Class contenant les lignes(details) du fichier
*
* @author Innocent Windsor Junior
*/
public class MazeLine {
/** Variables de class */
private String source;
private String destination;
private int weight;
/** Méthode s... |
16a76461-8430-44a6-8983-e2efd6c364ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-19 13:30:31", "repo_name": "oszust002/java2015", "sub_path": "/ftp/server/src/main/java/pl/edu/agh/java2015/ftp/server/gui/action/ConnectAction.java", "file_name": "ConnectAction.java", "file_ext": "java", "fi... | https://github.com/oszust002/java2015 | 191 | FILENAME: ConnectAction.java | 0.264358 | package pl.edu.agh.java2015.ftp.server.gui.action;
import pl.edu.agh.java2015.ftp.server.session.SessionsManager;
import javax.swing.*;
import java.awt.event.ActionEvent;
/**
* Created by Kamil on 03.02.2016.
*/
public class ConnectAction extends AbstractAction{
SessionsManager manager;
public ConnectAct... |
ba481daf-4c06-47ac-b6e4-56653cd7a5fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-11 00:59:57", "repo_name": "xymyf1314/MVCjavaweb", "sub_path": "/dao/src/main/java/com/neuedu/util/MyBatisUtil.java", "file_name": "MyBatisUtil.java", "file_ext": "java", "file_size_in_byte": 966, "line_count"... | https://github.com/xymyf1314/MVCjavaweb | 205 | FILENAME: MyBatisUtil.java | 0.23092 | package com.neuedu.util;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import java.io.IOException;
import java.io.InputStream;
/**
* @program: mvntest09
* @descriptio... |
18ed8b82-8e68-4823-91c3-ea374c3d8ec4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 10:47:56", "repo_name": "wolvesleader/interview", "sub_path": "/base_java/src/main/java/com/quincy/java/algorithm/leetcode/LeetCode28.java", "file_name": "LeetCode28.java", "file_ext": "java", "file_size_in... | https://github.com/wolvesleader/interview | 267 | FILENAME: LeetCode28.java | 0.293404 | package com.quincy.java.algorithm.leetcode;
/**
* Copyright (C), 2015-2020, 大众易书天津科技有限公司
* FileName: LeetCode28
*
* @author: quincy
* Date: 2020/7/22 下午6:12
* History:
* 给定一个 haystack 字符串和一个 needle 字符串,
* 在 haystack 字符串中找出 needle 字符串出现的第一个位置 (从0开始)。如果不存在,则返回 -1
*/
public class LeetCode28 {
public static... |
f97f29d2-2899-40f0-99ad-83583d18bda9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-29 12:51:07", "repo_name": "ymin96/Kakao_Chatbot", "sub_path": "/src/main/java/com/ymin/chatbot/service/ItemService.java", "file_name": "ItemService.java", "file_ext": "java", "file_size_in_byte": 961, "line_c... | https://github.com/ymin96/Kakao_Chatbot | 180 | FILENAME: ItemService.java | 0.262842 | package com.ymin.chatbot.service;
import com.ymin.chatbot.dto.Item;
import com.ymin.chatbot.mapper.ItemMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Tran... |
605a12c6-40c3-4b69-830e-1dc87558e2f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 03:42:40", "repo_name": "zlk-bobule/Yummy", "sub_path": "/src/main/java/com/nju/vo/UserAddressVO.java", "file_name": "UserAddressVO.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 56, "l... | https://github.com/zlk-bobule/Yummy | 255 | FILENAME: UserAddressVO.java | 0.250913 | package com.nju.vo;
import com.nju.enums.Gender;
import lombok.Data;
@Data
public class UserAddressVO {
Long id;
/**
* 用户编号
*/
Long userId;
/**
* 联系人姓名
*/
String contactName;
/**
* 性别
*/
Gender gender;
/**
* 联系人电话
*/
String phone;
/**
... |
c53a68be-ebb9-4d5c-b886-39eefab8b6ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-14 14:42:55", "repo_name": "bulkowy/tetris", "sub_path": "/src/com/tetrisbybulek/Model/Block/SpritedBlock.java", "file_name": "SpritedBlock.java", "file_ext": "java", "file_size_in_byte": 974, "line_count": 40... | https://github.com/bulkowy/tetris | 205 | FILENAME: SpritedBlock.java | 0.291787 | package com.tetrisbybulek.Model.Block;
import com.tetrisbybulek.Model.Piece.Pieces;
public class SpritedBlock extends Block {
/**
* Class defining SpritedBlock object that has defined
* type so it can print with given colors on Frame
*/
Pieces pieces;
public SpritedBlock(boolean empty, Pi... |
9e4d7076-dc90-4f65-99a0-cdc04cfd147c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-15 12:50:36", "repo_name": "yanjie0305/MyTabLayout", "sub_path": "/app/src/main/java/com/example/administrator/mytablayout/ItemFragment.java", "file_name": "ItemFragment.java", "file_ext": "java", "file_size_i... | https://github.com/yanjie0305/MyTabLayout | 181 | FILENAME: ItemFragment.java | 0.23092 | package com.example.administrator.mytablayout;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
/**
* Created by ${郭艳杰} on 2017/1/1... |
a2c416d1-68e7-4fc1-ad1a-1f47ea6a489f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-13 11:48:35", "repo_name": "oterrien/pullrequest-approval", "sub_path": "/src/main/java/com/ote/github/api/JsonUtils.java", "file_name": "JsonUtils.java", "file_ext": "java", "file_size_in_byte": 961, "line_co... | https://github.com/oterrien/pullrequest-approval | 181 | FILENAME: JsonUtils.java | 0.249447 | package com.ote.github.api;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import javax.validation.constraints.NotNull;
import java.io.IOException;
public final class JsonUtils {
// O... |
0365f50f-605a-411b-b2af-431776f1dde1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-04T09:38:16", "repo_name": "rajatdem/rtes", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 972, "line_count": 25, "lang": "en", "doc_type": "text", "blob_id": "c... | https://github.com/rajatdem/rtes | 234 | FILENAME: README.md | 0.288569 |
# Real Time Embedded Systems (18-648) Project
Hacking the Linux Kernel for the Android Nexus 7 device
## /apps
* calc.c: Userspace program to use syscall
* energymon.c: Userspace application to print task wise energy usage on console
* easyperiodic.c: Real time thread used for reservation.
* reserve.c: Userspace app... |
a0ff0e9c-3c9b-45d7-b2b5-20bfe5e309fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-09 05:26:01", "repo_name": "amsa-code/detection", "sub_path": "/src/main/java/au/gov/amsa/detection/behaviour/MessageTemplateBehaviour.java", "file_name": "MessageTemplateBehaviour.java", "file_ext": "java", "... | https://github.com/amsa-code/detection | 198 | FILENAME: MessageTemplateBehaviour.java | 0.256832 | package au.gov.amsa.detection.behaviour;
import au.gov.amsa.detection.model.DetectionRule;
import au.gov.amsa.detection.model.MessageTemplate;
import au.gov.amsa.detection.model.MessageTemplate.Behaviour;
import au.gov.amsa.detection.model.MessageTemplate.Events.Create;
import xuml.tools.model.compiler.runtime.Arbitra... |
fbc94c13-e2b6-4e76-a3cb-c20d23495ed9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-20T02:10:35", "repo_name": "nehori/java-simple-launcher-androidtv", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 27, "lang": "en", "doc_type... | https://github.com/nehori/java-simple-launcher-androidtv | 200 | FILENAME: README.md | 0.199308 | Sample source code of Simple Home launcher on AndroidTV.
=============
## Introduction
Home launcher on AndroidTV displays application's banners with category of LEANBACK_LAUNCHER.
## ScreenShot

## License
Copy... |
dc8c577a-7d0d-46f1-9faf-699f06399d98 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-23T07:02:43", "repo_name": "varunajmera0/vuejs-shopping", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 38, "lang": "en", "doc_type": "text",... | https://github.com/varunajmera0/vuejs-shopping | 234 | FILENAME: README.md | 0.247987 | # Vue-shoppingcart
> A Vue.js project
> It's just an experiment.
> <a href="https://vue-shopping.firebaseapp.com/">Shopping Cart</a>
> Some Code In Vuetify (like slider/login/sign up)
> <a href="vuetifyjs.com/vuetify/quick-start">Vuetify</a>
> Create Database In Firebase Database and add given detail in main.js fi... |
23c970dc-fd91-4290-8cec-00f7e56bdfdf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-14 07:51:56", "repo_name": "Bilyana-Vatev-80/Java-OOP", "sub_path": "/SOLID/src/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 970, "line_count": 25, "lang": "en", "doc_type": "... | https://github.com/Bilyana-Vatev-80/Java-OOP | 250 | FILENAME: Main.java | 0.289372 | import Interfaces.Appender;
import Interfaces.Layout;
import Interfaces.Logger;
import controllers.ConsoleAppender;
import controllers.XmlLayout;
import logger.MessageLogger;
public class Main {
public static
void main (String[] args) {
/* Layout simpleLayout = new SimpleLayout ();
Appender... |
5c73e08f-a4c2-488d-8b92-f7aee8ad6564 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-06T21:19:26", "repo_name": "jan25/sandbox-2020", "sub_path": "/bazel/example/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 46, "lang": "en", "doc_type": "t... | https://github.com/jan25/sandbox-2020 | 206 | FILENAME: README.md | 0.256832 | ## Practising Prometheus style metric collection concepts while setting up sample project for bazel
WIP to setup bazel for all three components in one workspace.
`/server` has a simple HTTP server serving one endpoint. Start the server using:
```
cd server
go run main.go
```
Hit server endpoint using:
```
curl loc... |
c112c2e8-7e44-4698-a8f2-f3e306513790 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-25 09:54:52", "repo_name": "AndrewChudiyevych/Architecture", "sub_path": "/src/test/java/kniga/project/bookshop/status/AuthorStub.java", "file_name": "AuthorStub.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/AndrewChudiyevych/Architecture | 184 | FILENAME: AuthorStub.java | 0.23793 | package kniga.project.bookshop.status;
import kniga.project.bookshop.dto.AuthorRequest;
import kniga.project.bookshop.entity.Author;
import java.util.HashSet;
public final class AuthorStub {
public static final Long ID = 1L;
public static final String NAME = "name";
public static final String SURNAME = ... |
a898956c-42ff-4e42-89a4-58c548a16064 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 22:22:35", "repo_name": "Honeybee-Cloud/WiFiSurvey", "sub_path": "/app/src/main/java/com/example/wifisurvey/ElasticSearchExporter.java", "file_name": "ElasticSearchExporter.java", "file_ext": "java", "file_... | https://github.com/Honeybee-Cloud/WiFiSurvey | 180 | FILENAME: ElasticSearchExporter.java | 0.233706 | package com.example.wifisurvey;
import com.loopj.android.http.AsyncHttpClient;
public class ElasticSearchExporter {
private AsyncHttpClient httpClient = null;
public static class ESExporterOptions {
protected String domain;
protected int port;
protected String username;
publ... |
0a807a2b-6e08-4e20-af9d-ec5a2607c7b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-06 01:28:02", "repo_name": "JPBaro/webapp-Rest-microservice-Based", "sub_path": "/DisplayControl/src/main/java/com/jpb/displaycontrol/exception/ItemNotFoundException.java", "file_name": "ItemNotFoundException.... | https://github.com/JPBaro/webapp-Rest-microservice-Based | 189 | FILENAME: ItemNotFoundException.java | 0.252384 | package com.jpb.displaycontrol.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus (value= HttpStatus.NOT_FOUND)
public class ItemNotFoundException extends RuntimeException{
/**
* @ResponseStatus (value= HttpStatus.NOT_FOUND)
* p... |
4befcf92-9e25-4b39-af2e-0c57d312e559 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-25 06:49:19", "repo_name": "Exorth98/heroyn-java-libraries", "sub_path": "/Plugins/QuakeDatabaseSign/src/fr/exorth/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 968, "line_coun... | https://github.com/Exorth98/heroyn-java-libraries | 223 | FILENAME: Main.java | 0.272025 | package fr.exorth;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin {
static Main instance;
public SqlConnection sql;
public static Main getInstance(){
return instance;
}
@Override
public void onEnable() {
sql = new SqlConnection("... |
7d1635db-1100-4d39-8c3f-016323881b7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-07 23:59:15", "repo_name": "rirodlar/clientWSArquitecturaUfro", "sub_path": "/ClientWSReservaMedicasUFRO/src/java/mb/LoginManagedBean.java", "file_name": "LoginManagedBean.java", "file_ext": "java", "file_size... | https://github.com/rirodlar/clientWSArquitecturaUfro | 210 | FILENAME: LoginManagedBean.java | 0.181263 | /*
* 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 mb;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
/**
*
* @author rrodriguez
*/... |
a700c7df-e355-4f8e-a1b6-359f122edf3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-14 14:25:44", "repo_name": "Alecktos/alecktos-stockfetcher", "sub_path": "/src/main/java/com/alecktos/stockfetcher/StockfetcherDependencyModule.java", "file_name": "StockfetcherDependencyModule.java", "file_ex... | https://github.com/Alecktos/alecktos-stockfetcher | 217 | FILENAME: StockfetcherDependencyModule.java | 0.259826 | package com.alecktos.stockfetcher;
import com.alecktos.misc.logger.EmailNotifier;
import com.alecktos.misc.logger.Logger;
import com.google.inject.AbstractModule;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.google.inject.name.Names;
abstract public class StockfetcherDependencyModule... |
20441cc6-6a02-4aaa-8176-eda6c02a7ce7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-06 22:44:12", "repo_name": "gustavoktausend/redismock", "sub_path": "/src/main/java/com/teste/redismock/redismock/service/NavegationService.java", "file_name": "NavegationService.java", "file_ext": "java", "fi... | https://github.com/gustavoktausend/redismock | 213 | FILENAME: NavegationService.java | 0.225417 | package com.teste.redismock.redismock.service;
import com.teste.redismock.redismock.model.Navegation;
import com.teste.redismock.redismock.repository.NavegationRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class NavegationServ... |
d4272da7-acf1-43a8-84d5-d12de0ec9c0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-30 12:31:50", "repo_name": "venuatthota/multithreading", "sub_path": "/src/courses/lecture1/HardwareUtility.java", "file_name": "HardwareUtility.java", "file_ext": "java", "file_size_in_byte": 968, "line_count... | https://github.com/venuatthota/multithreading | 218 | FILENAME: HardwareUtility.java | 0.284576 | package courses.lecture1;
import com.sun.jna.Native;
import com.sun.jna.platform.win32.Kernel32;
import com.sun.jna.platform.win32.WinBase.SYSTEMTIME;
import com.sun.jna.platform.win32.WinBase.SYSTEM_INFO;
public class HardwareUtility {
public static long getCPUCores(){
return Runtime.getRuntime().availableProcesso... |
6145a056-bc16-4230-8eb5-dea230975cac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-19 03:43:12", "repo_name": "FeastTime/feast-demo", "sub_path": "/feast-ad/src/main/java/com/feast/demo/hibernate/TimedEntity.java", "file_name": "TimedEntity.java", "file_ext": "java", "file_size_in_byte": 989... | https://github.com/FeastTime/feast-demo | 236 | FILENAME: TimedEntity.java | 0.258326 | package com.feast.demo.hibernate;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.Index;
import javax.persistence.Column;
import javax.persistence.EntityListeners;
import javax.persistence.MappedSuperclass;
import java.sql.Timestamp;
/*... |
346a056b-8579-462b-91d4-1c35ba4d6dd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-17T07:23:38", "repo_name": "amarjeetsingh1999/Memory-Game", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 31, "lang": "en", "doc_type": "text... | https://github.com/amarjeetsingh1999/Memory-Game | 246 | FILENAME: README.md | 0.278257 | # Memory-Game
## Instructions:
* Click on cards
* Keep viewing the front side of cards and memorize them and simultaneously try matching them
* Try to complete this in minimum number of moves possible
- 3 stars for completing the game is not more than 12 moves
- 2 stars for completing the game is moves not greater... |
cd1af7c1-12fe-4af5-8222-6c3b8350e3d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-01 12:43:05", "repo_name": "Rezapratama10118055/AplikasiKerjaPraktek", "sub_path": "/app/src/main/java/com/dinas/dinaskesehatanbelitung/Api/ApiCovid.java", "file_name": "ApiCovid.java", "file_ext": "java", "fi... | https://github.com/Rezapratama10118055/AplikasiKerjaPraktek | 177 | FILENAME: ApiCovid.java | 0.239349 | package com.dinas.dinaskesehatanbelitung.Api;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiCovid {
public static Retrofit getApiCovid(){
HttpLoggingInterceptor httpLoggingInterce... |
cb05afdf-0cd5-4e60-9d55-877a1ec7b62b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-27 18:20:54", "repo_name": "szmerd/MyApplication", "sub_path": "/app/src/main/java/com/example/konradszmidt/myapplication/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in... | https://github.com/szmerd/MyApplication | 186 | FILENAME: MainActivity.java | 0.225417 | package com.example.konradszmidt.myapplication;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
public class MainActivity extends AppCompatActivity {
@Override
... |
dd664bb5-822f-4952-82e1-50881db5a198 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-02 09:24:53", "repo_name": "kongq1983/concurrent", "sub_path": "/thread/src/main/java/com/kq/concurrent/threadlocal/ThreadLocalLeakDemo.java", "file_name": "ThreadLocalLeakDemo.java", "file_ext": "java", "file... | https://github.com/kongq1983/concurrent | 256 | FILENAME: ThreadLocalLeakDemo.java | 0.249447 | package com.kq.concurrent.threadlocal;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicLong;
/**
* ThreadLocalLeakDemo
*
* @author kq
* @date 2021/8/23 23:43
* @since 1.0.0
*/
public class ThreadLocalLeakDemo {
static AtomicLong atomicLong = new AtomicLong();
public stat... |
9157379f-121b-4f8b-b304-ce2c95023d54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-05 16:34:42", "repo_name": "clovergaze/dilithium-exchange-manager", "sub_path": "/src/main/java/org/infokin/repository/api/AbstractBaseRepository.java", "file_name": "AbstractBaseRepository.java", "file_ext": ... | https://github.com/clovergaze/dilithium-exchange-manager | 194 | FILENAME: AbstractBaseRepository.java | 0.240775 | package org.infokin.repository.api;
import org.hibernate.Session;
import org.infokin.model.core.BaseEntity;
import org.infokin.util.HibernateUtility;
/**
* Generic implementation of basic repository operations.
*/
public abstract class AbstractBaseRepository<T extends BaseEntity> implements BaseRepository<T> {
... |
03b2d240-adee-44a7-a3ad-e1cb30c7d4e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-15 06:27:31", "repo_name": "majiajia1989/JiaYe", "sub_path": "/src/main/java/com/e1858/wuye/pojo/CommissionTypeCommand.java", "file_name": "CommissionTypeCommand.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/majiajia1989/JiaYe | 224 | FILENAME: CommissionTypeCommand.java | 0.249447 | package com.e1858.wuye.pojo;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;
import com.e1858.wuye.common.CommonConstant;
public class CommissionTypeCommand
{
private long id;
@NotBlank(message=CommonConstant.ValidMessage.NotBlank)
@NotEmpty(message=Common... |
8ada68d0-9a6d-473e-ac4e-6844585503cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-09 06:29:14", "repo_name": "zcscvxx/board", "sub_path": "/project/src/test/java/com/ish/board/TestOfBDao.java", "file_name": "TestOfBDao.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 38, "... | https://github.com/zcscvxx/board | 213 | FILENAME: TestOfBDao.java | 0.286169 | package com.ish.board;
import static org.junit.Assert.*;
import javax.inject.Inject;
import org.apache.ibatis.session.SqlSession;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
imp... |
57520960-2b52-4126-8762-5b4d1ef379e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-18 05:00:39", "repo_name": "z8g/common", "sub_path": "/concurrent/src/main/java/net/zhaoxuyang/concurrent/demo/ThreadDemoVolatile.java", "file_name": "ThreadDemoVolatile.java", "file_ext": "java", "file_size_i... | https://github.com/z8g/common | 193 | FILENAME: ThreadDemoVolatile.java | 0.247987 | package net.zhaoxuyang.concurrent.demo;
/**
* 线程示例程序 - 可见性
* @author zhaoxuyang
*/
public class ThreadDemoVolatile {
public static void main(String[] args) {
class StoppableThread extends Thread {
private volatile boolean shutdown;
@Override
public void run() {
... |
ebc9b4b8-20b5-4efb-8034-e6a62bb3c690 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-21 08:10:56", "repo_name": "dragonfly95/jpademo-gradle", "sub_path": "/src/main/java/com/example/jpademo/dto/SongDto.java", "file_name": "SongDto.java", "file_ext": "java", "file_size_in_byte": 974, "line_coun... | https://github.com/dragonfly95/jpademo-gradle | 201 | FILENAME: SongDto.java | 0.220007 | package com.example.jpademo.dto;
import com.example.jpademo.domain.Person;
import com.example.jpademo.domain.Song;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SongDto {
private Long id;
private String title;... |
80cad055-56ae-4187-9f62-2972cce796e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-01 18:40:37", "repo_name": "nhatanhmc/DemoThymeleaf", "sub_path": "/src/main/java/com/example/ThymeleafDemo/controller/GlobalController.java", "file_name": "GlobalController.java", "file_ext": "java", "file_si... | https://github.com/nhatanhmc/DemoThymeleaf | 163 | FILENAME: GlobalController.java | 0.225417 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.example.ThymeleafDemo.controller;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bin... |
7314b301-720e-4d9d-b118-92e0ef522fb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-03 19:20:25", "repo_name": "jpeyraud/UltimatePixel_Android", "sub_path": "/app/src/main/java/com/altarrys/ultimatepixel/game/DFVictoryScore.java", "file_name": "DFVictoryScore.java", "file_ext": "java", "file_... | https://github.com/jpeyraud/UltimatePixel_Android | 200 | FILENAME: DFVictoryScore.java | 0.264358 | package com.altarrys.ultimatepixel.game;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import com.altarrys.ultimatepixel.R;
public class DFVictoryScore extends DialogFragment implements android.content.... |
cb747c30-699b-4571-a18d-12b0b6607e97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 11:58:36", "repo_name": "ProductivePathway/LiquibaseLambda", "sub_path": "/src/main/java/com/productivepathway/liquibase/Response.java", "file_name": "Response.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ProductivePathway/LiquibaseLambda | 205 | FILENAME: Response.java | 0.240775 | package com.productivepathway.liquibase;
import java.util.ArrayList;
import java.util.List;
public class Response {
private List<String> errors;
private boolean success;
public List<String> getErrors() {
return errors;
}
public void setErrors(List<String> errors) {
this.errors = ... |
3e73cf7a-2e01-4918-b94f-9f92e213e940 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-20 09:15:25", "repo_name": "corri108/CapnetFlag", "sub_path": "/core/src/com/capnet/game/InputHandle.java", "file_name": "InputHandle.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 50, "lan... | https://github.com/corri108/CapnetFlag | 215 | FILENAME: InputHandle.java | 0.275909 | package com.capnet.game;
import com.badlogic.gdx.Gdx;
import com.capnet.share.Entities.InputSnapshot;
import com.capnet.share.networking.PacketManager;
import java.net.Socket;
/**
* Created by michaelpollind on 4/30/16.
*/
public class InputHandle {
private int key;
private PacketManager manager;
pri... |
19d6bb29-deb6-4cee-854b-c120b982883d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 18:28:31", "repo_name": "harkaran3009/CovidAssessment", "sub_path": "/app/src/main/java/com/example/covidassessment/VaccineRegisterResult.java", "file_name": "VaccineRegisterResult.java", "file_ext": "java"... | https://github.com/harkaran3009/CovidAssessment | 201 | FILENAME: VaccineRegisterResult.java | 0.236516 | package com.example.covidassessment;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
public class VaccineRegisterResult extends AppCompatActivity {
String name,date,time,centre;
TextView t1,t2,t3;
String[] suit;
... |
e55f1cfc-3b79-4914-809c-7f7acd6d255e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-23 08:07:42", "repo_name": "gzhongj/healthydiets", "sub_path": "/src/main/java/com/gzj/healthydiets/entity/Resp.java", "file_name": "Resp.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 50, ... | https://github.com/gzhongj/healthydiets | 217 | FILENAME: Resp.java | 0.2227 | package com.gzj.healthydiets.entity;
public class Resp<E> {
private String errcode;
private String message;
private E body;
public Resp() {
}
public Resp(String errcode, String message, E body) {
this.errcode = errcode;
this.message = message;
this.body = body;
}
... |
85e4cfc1-584b-4758-a2a4-2c4ea63e0918 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-12T15:10:50", "repo_name": "kwhitley/football", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 966, "line_count": 25, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/kwhitley/football | 258 | FILENAME: README.md | 0.243642 | # Auto Gallery
This build uses a fuse-box build process, rather than webpack. This includes the following feature support, minus the time overhead or babel dependencies (fuse-box uses a TypeScript transpiler under the hood).
- [x] React/JSX support
- [x] Hot reloading
- [x] CSS/LESS/SASS
- [x] Images
- [x] Autoreload... |
230da91f-2533-4c3a-ab14-c1c20d64d8a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-05 10:14:25", "repo_name": "TonyLeeIT/tonyle.github.io", "sub_path": "/src/main/java/com/project/entity/BusTemp.java", "file_name": "BusTemp.java", "file_ext": "java", "file_size_in_byte": 968, "line_count": 4... | https://github.com/TonyLeeIT/tonyle.github.io | 216 | FILENAME: BusTemp.java | 0.249447 | package com.project.entity;
import java.sql.Date;
public class BusTemp extends Bus{
private java.sql.Date nextWarrantyDate;
private Boolean checkOutOfDate;
private int revenue;
public BusTemp(Date nextWarrantyDate, Boolean checkOutOfDate, int revenue) {
this.nextWarrantyDate = nextWarrantyDa... |
c4e3003c-862b-4c55-bb07-58efe9089def | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-05 14:25:44", "repo_name": "Junglexyz/wemall", "sub_path": "/wemall-wx-api/src/main/java/com/jungle/wemall/wx/controller/WxAdController.java", "file_name": "WxAdController.java", "file_ext": "java", "file_size... | https://github.com/Junglexyz/wemall | 220 | FILENAME: WxAdController.java | 0.200558 | package com.jungle.wemall.wx.controller;
import com.jungle.wemall.common.util.ResponseUtil;
import com.jungle.wemall.db.pojo.WemallAd;
import com.jungle.wemall.db.service.WemallAdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import or... |
733a12e0-4205-410b-a076-f4e9805d1a9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-20 10:19:25", "repo_name": "storm56/XingYeDa", "sub_path": "/EHome/app/src/main/java/com/xingyeda/ehome/bean/SeekHistoryBase.java", "file_name": "SeekHistoryBase.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/storm56/XingYeDa | 238 | FILENAME: SeekHistoryBase.java | 0.242206 | package com.xingyeda.ehome.bean;
import org.litepal.crud.DataSupport;
public class SeekHistoryBase extends DataSupport{
private int mId;
private String name;
private String mUserId;
private String mTime;
public SeekHistoryBase(String name, String time) {
this.name = name;
this.m... |
5cdce374-e7c0-4d95-9b6f-f4cc34599684 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-03 14:19:18", "repo_name": "bkozyrev/TheVyshka", "sub_path": "/app/src/main/java/com/dtd/thevyshka/Adapters/ScienceListAdapter.java", "file_name": "ScienceListAdapter.java", "file_ext": "java", "file_size_in_b... | https://github.com/bkozyrev/TheVyshka | 179 | FILENAME: ScienceListAdapter.java | 0.246533 | package com.dtd.thevyshka.Adapters;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.dtd.thevyshka.Adapters.ViewHolders.ScienceViewHolder;
import com.dtd.thevyshka.R;
public class ScienceListAdapter extends ... |
02bee7cb-108c-4352-ab0d-981ba3d8b9a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-10 06:13:10", "repo_name": "chmutian/netty", "sub_path": "/src/main/java/com/netty/tcp/NettyTcpClient.java", "file_name": "NettyTcpClient.java", "file_ext": "java", "file_size_in_byte": 987, "line_count": 36, ... | https://github.com/chmutian/netty | 232 | FILENAME: NettyTcpClient.java | 0.268941 | package com.netty.tcp;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
public class NettyTcpClient {... |
e506c73f-06ac-4e12-9925-36275e8296d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-26 12:33:25", "repo_name": "CeivenLean/makedeal", "sub_path": "/src/cn/shop/servlet/ImageCodeServlet.java", "file_name": "ImageCodeServlet.java", "file_ext": "java", "file_size_in_byte": 965, "line_count": 44,... | https://github.com/CeivenLean/makedeal | 194 | FILENAME: ImageCodeServlet.java | 0.258326 | package cn.shop.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import cn.shop.util.RandomValidateCode;
@WebServl... |
bf61b0de-59f7-428a-a500-53ff0f1e3831 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-24 11:18:09", "repo_name": "sudhirt/api-portal", "sub_path": "/src/main/java/com/sudhirt/apiutils/portal/exception/Error.java", "file_name": "Error.java", "file_ext": "java", "file_size_in_byte": 965, "line_co... | https://github.com/sudhirt/api-portal | 194 | FILENAME: Error.java | 0.235108 | package com.sudhirt.apiutils.portal.exception;
import lombok.Getter;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
@Getter
public class Error implement... |
64be1744-54d5-4c5f-bf37-03c0a69b94a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-30 06:01:17", "repo_name": "AminLiu/queencastle", "sub_path": "/queencastle-all/queencastle-dao/src/main/java/com/queencastle/dao/utils/SysDateSerializer.java", "file_name": "SysDateSerializer.java", "file_ext... | https://github.com/AminLiu/queencastle | 195 | FILENAME: SysDateSerializer.java | 0.220007 | package com.queencastle.dao.utils;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databi... |
bd6a9b77-efb9-464b-b063-9fa16705327c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-19T07:26:36", "repo_name": "dipakp-logicrays/module-newsletter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 969, "line_count": 33, "lang": "en", "doc_type": ... | https://github.com/dipakp-logicrays/module-newsletter | 224 | FILENAME: README.md | 0.258326 | Magento 2 Newsletter module overview
=========================================
Magento 2x Newsletter adding new field Guest First Name, Guest Last Name and Privacy agreement checkbox to frontend newsletter form.
Module is tested on Magento 2.4.2-p1 version
How install module
==================
1. Firs... |
8855f96c-5c27-4ae2-adc5-8a6efca68cfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-11 13:12:16", "repo_name": "pantherproject/designpattern", "sub_path": "/src/main/java/com/panther/aspect/ProxyFactory.java", "file_name": "ProxyFactory.java", "file_ext": "java", "file_size_in_byte": 973, "li... | https://github.com/pantherproject/designpattern | 195 | FILENAME: ProxyFactory.java | 0.255344 | package com.panther.aspect;
import com.panther.aspect.impl.PersonServiceBean;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/**
* 动态代理
* Created by panther on 16-9-28.
*/
public class ProxyFactory implements InvocationHandler {
private Object targ... |
226568fe-3a7e-4e78-97ac-fbdd148b1eb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-03-27T00:18:39", "repo_name": "ApesofWrath/Sasquatch-T-shirt-Shooter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 970, "line_count": 13, "lang": "en", "doc_type... | https://github.com/ApesofWrath/Sasquatch-T-shirt-Shooter | 255 | FILENAME: README.md | 0.228156 | This is the code for team 668's T-shirt shooter. It is based on the Team221 Sasquatch robot controller.
[Home](http://www.team221.com/robotopen)
[Driver Station](http://www.team221.com/robotopen/ds.html)
[Current Snapshot of Library](https://github.com/221robotics/RobotOpen-Sasquatch-Library/archive/master.z... |
1dfbda3a-3b08-4276-bc57-680a351284d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-31 12:52:12", "repo_name": "geeker-lait/user-center", "sub_path": "/lmt-mbsp-user-controller/src/main/java/com/lmt/mbsp/user/controller/PermissionController.java", "file_name": "PermissionController.java", "fi... | https://github.com/geeker-lait/user-center | 210 | FILENAME: PermissionController.java | 0.191933 | package com.lmt.mbsp.user.controller;
import com.lmt.framework.support.service.CrudService;
import com.lmt.framework.support.web.controller.CrudController;
import com.lmt.mbsp.user.dto.PermissionQuery;
import com.lmt.mbsp.user.entity.permission.Permission;
import com.lmt.mbsp.user.service.PermissionService;
import com... |
f23a36f9-61c1-4721-a1e5-4cbed34a9188 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 16:27:55", "repo_name": "Karthick986/Women-Security", "sub_path": "/app/src/main/java/com/example/womensecurity/HospWeb.java", "file_name": "HospWeb.java", "file_ext": "java", "file_size_in_byte": 973, "lin... | https://github.com/Karthick986/Women-Security | 183 | FILENAME: HospWeb.java | 0.175538 | package com.example.womensecurity;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class HospWeb extends AppCompatActivity {
WebView hospWebView;
@Override
protected v... |
23b88f49-c8b6-4898-9c60-23b674cc573e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-20 02:10:51", "repo_name": "dujijun007/chronic-disease-project", "sub_path": "/kafka-eagle-web/src/main/java/org/smartloli/kafka/eagle/web/controller/VisualizerController.java", "file_name": "VisualizerControl... | https://github.com/dujijun007/chronic-disease-project | 170 | FILENAME: VisualizerController.java | 0.213377 | package org.smartloli.kafka.eagle.web.controller;
import org.smartloli.kafka.eagle.web.exception.entity.NormalException;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframew... |
64274695-3975-41e4-9e3d-ddbd52ae1b90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-09 11:59:53", "repo_name": "lucasmunioz0/cursos", "sub_path": "/1-Java/Udemy/JavaEE/JavaEE/Leccion303/src/main/java/ClienteEntidadPersona.java", "file_name": "ClienteEntidadPersona.java", "file_ext": "java", "... | https://github.com/lucasmunioz0/cursos | 193 | FILENAME: ClienteEntidadPersona.java | 0.239349 |
import com.udemy.javaee.clase303.domain.Persona;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public ... |
23200123-caa6-41c4-a67d-dd7dfcad6884 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-03T00:10:31", "repo_name": "sul-dlss-deprecated/archive-utils", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 963, "line_count": 46, "lang": "en", "doc_type": "... | https://github.com/sul-dlss-deprecated/archive-utils | 248 | FILENAME: README.md | 0.245085 | archive-utils
=============
[](http://badge.fury.io/rb/archive-utils)
Ruby utilities for archival data (BagIt, Fixity, Tarfile).
**Note** As of Q1 2018, this repository is in the process of being replaced by https://github.com/sul-dlss/preservation_robots (no... |
86ba9553-65a9-41ca-8893-be92d3641d49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-25 15:31:16", "repo_name": "P79N6A/icse_20_user_study", "sub_path": "/methods/Method_46882.java", "file_name": "Method_46882.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 22, "lang": "en",... | https://github.com/P79N6A/icse_20_user_study | 199 | FILENAME: Method_46882.java | 0.264358 | @Override void addElements(ArrayList<CompressedObjectParcelable> elements){
TarArchiveInputStream tarInputStream=null;
try {
tarInputStream=new TarArchiveInputStream(new FileInputStream(filePath));
TarArchiveEntry entry;
while ((entry=tarInputStream.getNextTarEntry()) != null) {
String name=entry.... |
d472a016-2d9f-4ed6-bc7a-5365b44b1dc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-31 13:01:07", "repo_name": "klakegg/formats", "sub_path": "/formats-mobi/src/main/java/net/klakegg/formats/mobi/code/Compression.java", "file_name": "Compression.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/klakegg/formats | 191 | FILENAME: Compression.java | 0.252384 | package net.klakegg.formats.mobi.code;
import net.klakegg.formats.common.compression.CompressionAlgorithm;
import net.klakegg.formats.common.compression.NoCompression;
import net.klakegg.formats.mobi.compression.PalmDocCompression;
public enum Compression implements CompressionAlgorithm {
NONE(1, new NoCompressio... |
6770609b-6310-40eb-ad6b-1828dd4a8766 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-16T08:53:10", "repo_name": "joe4u/Hello-World", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1034, "line_count": 53, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/joe4u/Hello-World | 281 | FILENAME: README.md | 0.26588 | # Hello-World
I'm a freshman
Here is an example of AppleScript:
tell application "Foo"
beep
end tell
This is a normal paragraph:
This is a code block.
<table>
<tr>
<td>Foo</td>
</tr>
</table>
*emphasis*
©
这是一个一级标题
=============
这是一个二级标题
-------------
# 这是一级标题
## 这是二级... |
060499c6-5889-40ca-a5fa-e918b55eb936 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-18 05:41:47", "repo_name": "crashtheparty/EnchantmentSolution", "sub_path": "/src/org/ctp/enchantmentsolution/api/ApiEnchantmentWrapper.java", "file_name": "ApiEnchantmentWrapper.java", "file_ext": "java", "fi... | https://github.com/crashtheparty/EnchantmentSolution | 226 | FILENAME: ApiEnchantmentWrapper.java | 0.245085 | package org.ctp.enchantmentsolution.api;
import org.bukkit.plugin.java.JavaPlugin;
import org.ctp.enchantmentsolution.enchantments.CustomEnchantmentWrapper;
public class ApiEnchantmentWrapper extends CustomEnchantmentWrapper {
private final JavaPlugin plugin;
/**
* Constructor for the ApiEnchantmentWrapper
* ... |
53c42f37-4f9b-43d7-a65c-64138fbaab20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-19T15:37:21", "repo_name": "bogdan-zaharia-hs/elm-intro", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 965, "line_count": 31, "lang": "en", "doc_type": "text",... | https://github.com/bogdan-zaharia-hs/elm-intro | 278 | FILENAME: README.md | 0.240775 | # Elm intro examples
## Usage
### Installing elm
```sh
$ npm i -g elm
```
That will install the following tools:
- elm-repl
- elm-make - for compiling elm files
- elm-reactor - a dev server
- elm-package - for managing packages
For more details, as well as editor/IDE integrations, see [the `install` section of the g... |
2b23a3dc-c158-4f7b-86b8-915e6653bb8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-16 19:29:03", "repo_name": "GabrielLewis/BattleShip", "sub_path": "/Player.java", "file_name": "Player.java", "file_ext": "java", "file_size_in_byte": 960, "line_count": 49, "lang": "en", "doc_type": "code", "... | https://github.com/GabrielLewis/BattleShip | 219 | FILENAME: Player.java | 0.26588 | import java.util.Scanner;
/**
* Player
*/
public class Player
{
private boolean myTurn;
private Board board;
private String name;
public Player (String name, int boardSize)
{
this.name = name;
board = new Board(boardSize);
myTurn = false;
}
/**
*
*/
... |
7f277f9a-0ffe-4cb8-9327-67a26346106d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-24T03:29:50", "repo_name": "AliciaBurn/05-Workday-Planner", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 964, "line_count": 40, "lang": "en", "doc_type": "text... | https://github.com/AliciaBurn/05-Workday-Planner | 210 | FILENAME: README.md | 0.252384 | # 05-homework
Read Me
Project: Work Day Planner
Author: Alicia Burn
Date: 12/19/2019
https://aliciaburn.github.io/05-homework/
******************************
* TABLE OF CONTENTS *
******************************
1. Description
2. Features
3. Known Issues
******************************
* DESCRIPTION ... |
b2d6aa45-d9b9-4df2-b61c-54ceb1d1c6b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-12 11:28:58", "repo_name": "vcedgar/swhacks17", "sub_path": "/Coordinates.java", "file_name": "Coordinates.java", "file_ext": "java", "file_size_in_byte": 961, "line_count": 33, "lang": "en", "doc_type": "code... | https://github.com/vcedgar/swhacks17 | 238 | FILENAME: Coordinates.java | 0.285372 | import java.net.*;
import java.util.*;
import java.io.*;
public class Coordinates {
public static void main(String []args) {
}
public static String getMetars(int minLat, int minLong, int maxLat, int maxLong) {
String url = "https://aviationweather.gov/adds/dataserver_current/httpparam?dataSource=metars&requestT... |
5a451ac4-621c-476d-8aab-716df5fab329 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-08 07:46:31", "repo_name": "Piloting/2019-08-otus-spring-suntsov", "sub_path": "/lesson1/src/main/java/ru/otus/spring/service/PersonServiceImpl.java", "file_name": "PersonServiceImpl.java", "file_ext": "java",... | https://github.com/Piloting/2019-08-otus-spring-suntsov | 175 | FILENAME: PersonServiceImpl.java | 0.273574 | package ru.otus.spring.service;
import org.springframework.stereotype.Service;
import ru.otus.spring.common.LocalizationService;
import ru.otus.spring.domain.Person;
@Service
public class PersonServiceImpl implements PersonService {
private final ChannelService channel;
private final LocalizationService loca... |
983fd306-ae0a-42f0-bb56-6a7706db02b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-23 16:45:14", "repo_name": "jenszer/Expeditioners-PioneerTrail", "sub_path": "/PioneerTrail/src/pioneertrail/view/ErrorView.java", "file_name": "ErrorView.java", "file_ext": "java", "file_size_in_byte": 967, "... | https://github.com/jenszer/Expeditioners-PioneerTrail | 177 | FILENAME: ErrorView.java | 0.23231 | /*
* 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 pioneertrail.view;
import java.io.PrintWriter;
import pioneertrail.PioneerTrail;
/**
*
* @author Jacob Enszer
... |
38e1b8b7-5ac7-4511-95da-835758f248f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-09 04:56:40", "repo_name": "mrshin163/RestBoard", "sub_path": "/src/com/rest/board/repository/BoardDAOMybatis.java", "file_name": "BoardDAOMybatis.java", "file_ext": "java", "file_size_in_byte": 965, "line_cou... | https://github.com/mrshin163/RestBoard | 194 | FILENAME: BoardDAOMybatis.java | 0.268941 | package com.rest.board.repository;
import java.util.List;
import javax.swing.GroupLayout.SequentialGroup;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.rest.board.domain.Board;
@Repository
pu... |
d0ca6fbc-f9b6-44be-9298-0c6b47635244 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-08 15:14:58", "repo_name": "Fy45/ID1212_Homework", "sub_path": "/TESTRMIClient/src/start/RMIClient.java", "file_name": "RMIClient.java", "file_ext": "java", "file_size_in_byte": 965, "line_count": 41, "lang": ... | https://github.com/Fy45/ID1212_Homework | 211 | FILENAME: RMIClient.java | 0.279828 | /*
* 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 start;
import java.rmi.Naming;
import common.RMIinter;
import controller.Opration;
import controller.Registerlogin;
/**
*
* ... |
73ae8127-600d-4f3d-9b36-550868eabdc3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-20 03:01:41", "repo_name": "hi-jianger/ThihkingInJava21", "sub_path": "/src/com/package2119/Runnable2.java", "file_name": "Runnable2.java", "file_ext": "java", "file_size_in_byte": 969, "line_count": 38, "lang... | https://github.com/hi-jianger/ThihkingInJava21 | 201 | FILENAME: Runnable2.java | 0.256832 | package com.package2119;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
* @author jianger
* @Date 2018/2/26 下午8:59
**/
public class Runnable2 implements Runnable {
private Runnable1 waitNotify;
public Runnable2(Runnable1 waitNo... |
18617aa3-a378-45aa-85b4-c258885935ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-15T22:28:20", "repo_name": "smandable/de-obfuscate", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 964, "line_count": 22, "lang": "en", "doc_type": "text", "blo... | https://github.com/smandable/de-obfuscate | 272 | FILENAME: README.md | 0.271252 | # de-obfuscate
Fixes obfuscated filenames by renaming them to the name of the directory they are contained in.
When one obtains a file via NNTP, or BitTorrent, or whatever, they are often "obfuscated".
What this means is that, when it's done downloading, you'll have a directory named (for example):
ShowTitle.S01E0... |
08bc42e6-53b6-42bf-af9c-b7daa4da0888 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-02 02:19:34", "repo_name": "vonrepiks/Java-Web-May-2018", "sub_path": "/Java Web Development Basics/Exams/JavaEEBlock/src/main/java/repositories/ProductRepository.java", "file_name": "ProductRepository.java", ... | https://github.com/vonrepiks/Java-Web-May-2018 | 193 | FILENAME: ProductRepository.java | 0.271252 | package repositories;
import models.Product;
import models.ProductType;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class ProductRepository {
private List<Product> products;
public ProductRepository() {
this.products = new ArrayList<>();
this.seed... |
4a292384-dd48-4077-ae03-e4064716f76d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-31 03:50:20", "repo_name": "pvilhelm/deltastream_old", "sub_path": "/src/deltastream/pkg/Part.java", "file_name": "Part.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 35, "lang": "en", "doc... | https://github.com/pvilhelm/deltastream_old | 222 | FILENAME: Part.java | 0.252384 | /*
* 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 deltastream.pkg;
/**
* A part of data sampled from the input stream at the source.
*
* Each of this parts are ... |
72a8160c-f6c6-44bb-ad86-27a6500e11d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-01 14:12:54", "repo_name": "GiansCode/PiggyBanks", "sub_path": "/src/main/java/gg/plugins/piggybanks/api/BagRedeemEvent.java", "file_name": "BagRedeemEvent.java", "file_ext": "java", "file_size_in_byte": 961, ... | https://github.com/GiansCode/PiggyBanks | 193 | FILENAME: BagRedeemEvent.java | 0.23092 | package gg.plugins.piggybanks.api;
import org.bukkit.OfflinePlayer;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class BagRedeemEvent extends Event implements Cancellable {
private static final HandlerList handlers = new HandlerList();
privat... |
db9595b4-a85f-4e7b-a93f-6a9a4b7f1eb6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-12 06:31:14", "repo_name": "yairramirez/Horario", "sub_path": "/app/src/main/java/mx/ipn/escom/horario/Registro_AluActivity.java", "file_name": "Registro_AluActivity.java", "file_ext": "java", "file_size_in_by... | https://github.com/yairramirez/Horario | 187 | FILENAME: Registro_AluActivity.java | 0.194368 | package mx.ipn.escom.horario;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
public class Registro_AluActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanc... |
2f377a5a-f2b4-40a1-9e63-da8c01321eda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-03-24T02:26:34", "repo_name": "dansakamoto/emoticam-server", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 965, "line_count": 15, "lang": "en", "doc_type": "text",... | https://github.com/dansakamoto/emoticam-server | 216 | FILENAME: README.md | 0.204342 | # emoticam-server
[Emoticam](//www.emoticam.net) is a program that ran (consensually) in the background on a bunch of personal computers, from 2013-2018.
Anytime a user typed something to imply they were emoting in real life, it took a photo of their face and uploaded it to the project page (and formerly to Twitter).
... |
05fe2b83-0b98-4106-8687-1eb41313fc8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-01 00:38:12", "repo_name": "futabooo/ListViewPractice", "sub_path": "/app/src/main/java/com/futabooo/listviewpractice/views/adapters/NormalAdapter.java", "file_name": "NormalAdapter.java", "file_ext": "java", ... | https://github.com/futabooo/ListViewPractice | 196 | FILENAME: NormalAdapter.java | 0.243642 | package com.futabooo.listviewpractice.views.adapters;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.futabooo.listviewpractice.R;
import com.futabooo.listviewpractic... |
a63ea173-6785-4b5e-81cc-9c5f28f4a886 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-02 22:56:50", "repo_name": "AkaZecik/java_multiclient_chat", "sub_path": "/src/user/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 961, "line_count": 50, "lang": "en", "doc_type... | https://github.com/AkaZecik/java_multiclient_chat | 197 | FILENAME: User.java | 0.229535 | package user;
import java.io.Serializable;
import java.util.Objects;
public class User implements Serializable {
private volatile int id;
private volatile String username;
public User() {
this.username = null;
}
public User(Integer id, String username) {
this.id = id;
thi... |
8fe6b6dd-0ebb-4061-9e14-a5d6742b52ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-20 07:00:24", "repo_name": "sudeepkrishnan87/spring-cloud", "sub_path": "/library/library/src/main/java/com/mytechexp/library/controller/LibraryController.java", "file_name": "LibraryController.java", "file_ex... | https://github.com/sudeepkrishnan87/spring-cloud | 187 | FILENAME: LibraryController.java | 0.253861 | package com.mytechexp.library.controller;
import com.mytechexp.library.entity.Library;
import com.mytechexp.library.service.LibraryService;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Optional;
@R... |
45aba1f5-135c-4663-a96d-eb02af2cea2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-04 09:11:01", "repo_name": "supriyachittimalla/supriya", "sub_path": "/Supriya/src/find_elements/date_picker_active_dates.java", "file_name": "date_picker_active_dates.java", "file_ext": "java", "file_size_in_... | https://github.com/supriyachittimalla/supriya | 200 | FILENAME: date_picker_active_dates.java | 0.253861 | package find_elements;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class date_picker_active_dates {
public static void main(String[] args) throws Exception
{
... |
a4d62741-1099-4f2d-a4c9-4c0dc4fbe29e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-30 13:12:48", "repo_name": "eikhyeonchoi/bitcamp-java-2018-12", "sub_path": "/java-project-server/src04/main/java/com/eomcs/lms/ServerTest.java", "file_name": "ServerTest.java", "file_ext": "java", "file_size_... | https://github.com/eikhyeonchoi/bitcamp-java-2018-12 | 221 | FILENAME: ServerTest.java | 0.239349 | package com.eomcs.lms;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
import com.eomcs.lms.domain.Member;
public class ServerTest {
public static void main(String[] args) {
try (Socket socket = new Socket("localhost", 8888);
ObjectOutputStream out = new Obj... |
0a469404-b875-4555-af76-4d5c8c295cc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-26 18:10:50", "repo_name": "martesz/workLogger", "sub_path": "/src/main/java/database/UserDao.java", "file_name": "UserDao.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 47, "lang": "en", "... | https://github.com/martesz/workLogger | 211 | FILENAME: UserDao.java | 0.26588 | package database;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.TypedQuery;
import entities.User;
@Stateless
public class UserDao {
@PersistenceContext(unitName = "workLoggerPu")
EntityManager em;
... |
f61b6ea6-cea2-4d89-ad14-c5af7caafa54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-18 06:27:00", "repo_name": "jcweb/BeautyMeter", "sub_path": "/src/main/java/cn/yaman/http/YamanHttpCallback.java", "file_name": "YamanHttpCallback.java", "file_ext": "java", "file_size_in_byte": 962, "line_cou... | https://github.com/jcweb/BeautyMeter | 204 | FILENAME: YamanHttpCallback.java | 0.2227 | package cn.yaman.http;
import androidx.annotation.Nullable;
import cn.lamb.activity.BaseActivity;
import cn.lamb.http.HttpCallback;
/**
* @author timpkins
*/
public class YamanHttpCallback implements HttpCallback {
private BaseActivity activity;
public YamanHttpCallback() {
}
public YamanHttpCallb... |
a57e6bf7-04ae-4a86-a8ac-e1d3647040d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-09 10:58:45", "repo_name": "sdsd08013/oper_interpreter", "sub_path": "/non_terminal_expression/NonTerminalExpression.java", "file_name": "NonTerminalExpression.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/sdsd08013/oper_interpreter | 162 | FILENAME: NonTerminalExpression.java | 0.250913 | package non_terminal_expression;
import java.util.List;
import java.util.ArrayList;
import abstract_expression.*;
import terminal_expression.*;
import context.*;
public class NonTerminalExpression extends AbstractExpression{
private int resultValue;
private String Plus = "+";
private List<AbstractExpressi... |
df9c739f-e719-441f-83db-318527e6e041 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-30 00:17:25", "repo_name": "AsturaPhoenix/alchemy", "sub_path": "/Substrate/src/main/java/io/baku/alchemy/substrate/predicates/ParsePredicate.java", "file_name": "ParsePredicate.java", "file_ext": "java", "fil... | https://github.com/AsturaPhoenix/alchemy | 189 | FILENAME: ParsePredicate.java | 0.291787 | package io.baku.alchemy.substrate.predicates;
import java.util.function.Predicate;
import edu.umd.cs.findbugs.annotations.NonNull;
import io.baku.alchemy.substrate.Scanner;
import io.baku.alchemy.substrate.symbols.Symbol;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
@Getter
p... |
8fca2f6f-55b6-4c8f-86ea-f86a10b127c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-01 16:11:28", "repo_name": "BarryLiu/Resources", "sub_path": "/Work35_Safety/src/com/example/safe/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 963, "line_count... | https://github.com/BarryLiu/Resources | 190 | FILENAME: MainActivity.java | 0.23092 | package com.example.safe;
import com.example.work35_md5.R;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;
public class MainActivity extends Activity {
private EditText tvInput;
... |
239962a3-93d3-412d-ac9c-97117f19342b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-19 05:05:42", "repo_name": "jfizz/shirtsio-java", "sub_path": "/src/main/java/com/shirtsio/model/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 962, "line_count": 50, "lang": ... | https://github.com/jfizz/shirtsio-java | 194 | FILENAME: Order.java | 0.224055 | package com.shirtsio.model;
import org.codehaus.jackson.annotate.JsonProperty;
import java.math.BigDecimal;
import java.util.Date;
public class Order {
private BigDecimal price;
@JsonProperty("order_id")
private Long orderId;
private String[] warnings;
@JsonProperty("delivery_date")
private... |
7578d44e-bec7-4d58-afc4-eca0105ff1d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-09T08:38:06", "repo_name": "marquelzikri/rest-hapi-admin-bro", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 964, "line_count": 50, "lang": "en", "doc_type": "t... | https://github.com/marquelzikri/rest-hapi-admin-bro | 280 | FILENAME: README.md | 0.239349 | # rest-hapi-demo
A template to auto generate RESTful API and admin dashboard using [rest-hapi](https://github.com/JKHeadley/rest-hapi) and [adminBro](https://adminbro.com/) Hapi plugin.
## Requirements
You need [Node.js version >= 12](https://nodejs.org/en/) installed and you'll need [MongoDB](https://docs.mongodb.com... |
df07fbbd-47a8-42fc-be6e-856a564eadc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-15 02:05:05", "repo_name": "xuhuangyun/MyCoffee", "sub_path": "/bean/coffe/ImageBean.java", "file_name": "ImageBean.java", "file_ext": "java", "file_size_in_byte": 962, "line_count": 55, "lang": "en", "doc_typ... | https://github.com/xuhuangyun/MyCoffee | 212 | FILENAME: ImageBean.java | 0.199308 | package com.fancoff.coffeemaker.bean.coffe;
import java.io.Serializable;
/**
* Created by apple on 2018/2/1.
*/
/**
*/
public class ImageBean implements Serializable {
String url;
PositionBean position;
public ImageBean(String url) {
this.url = url;
}
public String getUrl() {
... |
41439852-2998-488b-88fb-f3ee6efbd12e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-11 13:39:04", "repo_name": "KZ-CTRL/dz1.5", "sub_path": "/src/com/company/Downloander.java", "file_name": "Downloander.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 36, "lang": "en", "doc_... | https://github.com/KZ-CTRL/dz1.5 | 211 | FILENAME: Downloander.java | 0.291787 | package com.company;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Semaphore;
public class Downloander extends Thread {
private int speed = 100;
private int size = 500;
private Semaphore semaphore;
private CountDownLatch cdlUp;
public Downloander(String name, Semaphore s... |
d4ed90dd-9e9a-41f2-90be-383bf826bf8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-16 17:39:39", "repo_name": "Valuya/comptoir", "sub_path": "/comptoir-ws/src/main/java/be/valuya/comptoir/ws/rest/validation/StockChangeChecker.java", "file_name": "StockChangeChecker.java", "file_ext": "java",... | https://github.com/Valuya/comptoir | 202 | FILENAME: StockChangeChecker.java | 0.264358 | package be.valuya.comptoir.ws.rest.validation;
import be.valuya.comptoir.model.commercial.Sale;
import be.valuya.comptoir.model.stock.ItemStock;
import be.valuya.comptoir.model.stock.StockChangeType;
import javax.enterprise.context.ApplicationScoped;
import javax.ws.rs.BadRequestException;
import java.util.Arrays;
im... |
45918de8-2c48-4a66-94b4-1ddba630acdc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-30 06:01:17", "repo_name": "AminLiu/queencastle", "sub_path": "/queencastle-all/queencastle-service/src/test/java/com/queencastle/service/test/shop/CustomerTester.java", "file_name": "CustomerTester.java", "fi... | https://github.com/AminLiu/queencastle | 241 | FILENAME: CustomerTester.java | 0.282988 | package com.queencastle.service.test.shop;
import org.junit.Test;
import com.queencastle.dao.model.shop.Customer;
import com.queencastle.dao.mybatis.IdTypeHandler;
import com.queencastle.service.test.BaseTest;
public class CustomerTester extends BaseTest {
@Test
// @Ignore
public void getByIdTest() {
String id... |
27d59ba8-541a-4466-ba94-42a9c9cae359 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-30 09:16:41", "repo_name": "hossein-baghshahi/farazpardazan", "sub_path": "/card-management-system-/src/main/java/com/farazpardazan/cardmanagementsystem/web/dto/card/CardDto.java", "file_name": "CardDto.java",... | https://github.com/hossein-baghshahi/farazpardazan | 213 | FILENAME: CardDto.java | 0.213377 | package com.farazpardazan.cardmanagementsystem.web.dto.card;
import com.farazpardazan.cardmanagementsystem.validator.card.CardNumber;
import javax.validation.constraints.NotBlank;
/**
* @author Hossein Baghshahi
*/
public class CardDto {
@NotBlank(message = "{card.name.empty")
private String name;
@N... |
1c9a6144-9db8-4a01-9350-bb127184d6b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-12 12:43:10", "repo_name": "TB5z035/COVID-19News", "sub_path": "/app/src/main/java/com/java/zhangjiayou/ui/explore/utils/WXRegister.java", "file_name": "WXRegister.java", "file_ext": "java", "file_size_in_byte... | https://github.com/TB5z035/COVID-19News | 246 | FILENAME: WXRegister.java | 0.286169 | package com.java.zhangjiayou.ui.explore.utils;
import android.content.Context;
import com.tencent.mm.opensdk.openapi.IWXAPI;
import com.tencent.mm.opensdk.openapi.WXAPIFactory;
public class WXRegister{
// APP_ID 替换为你的应用从官方网站申请到的合法appID
private static final String APP_ID = "wx88888888";
// IWX... |
571a8405-7435-4519-ba2b-dc485d53ee62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-03 01:03:18", "repo_name": "pauIomartins/cleanarch", "sub_path": "/web/src/main/java/com/paulorobertomartins/cleanarch/infra/web/controller/presenter/InputStockResponsePresenter.java", "file_name": "InputStock... | https://github.com/pauIomartins/cleanarch | 180 | FILENAME: InputStockResponsePresenter.java | 0.246533 | package com.paulorobertomartins.cleanarch.infra.web.controller.presenter;
import com.paulorobertomartins.cleanarch.core.usecases.responsemodel.InputStockResponse;
import com.paulorobertomartins.cleanarch.infra.web.controller.jsonresponse.CreateMovementJsonResponse;
import lombok.Getter;
import java.util.function.Cons... |
cde330dc-83bd-469f-b1ad-7efdac2dce90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-04 19:38:52", "repo_name": "abdelrahmanfarrag/FootGoals", "sub_path": "/app/src/main/java/com/app/mana/a4321football/ui/screens/mainscreen/screenContents/favorite/teamdetails/DetailPresenter.java", "file_name"... | https://github.com/abdelrahmanfarrag/FootGoals | 215 | FILENAME: DetailPresenter.java | 0.291787 | package com.app.mana.a4321football.ui.screens.mainscreen.screenContents.favorite.teamdetails;
import android.content.Context;
import com.app.mana.a4321football.data.model.Matches;
import com.app.mana.a4321football.data.network.RetrofitServices;
import com.app.mana.a4321football.ui.base.BasePresenter;
import com.pnikos... |
b01e9c88-3b1c-43ad-ad36-5dd50d9b47a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-31 02:00:28", "repo_name": "EomKun/Mogasup", "sub_path": "/mogasupServer/src/main/java/com/ssafy/mogasup/service/NoticeServiceImpl.java", "file_name": "NoticeServiceImpl.java", "file_ext": "java", "file_size_i... | https://github.com/EomKun/Mogasup | 239 | FILENAME: NoticeServiceImpl.java | 0.276691 | package com.ssafy.mogasup.service;
import java.util.HashMap;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ssafy.mogasup.dao.NoticeDao;
import com.ssafy.mogasup.dto.Notice;
@Service
public class NoticeServiceImpl imple... |
d48ab329-35f0-431f-a88c-7910c2936d1c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-17 13:38:56", "repo_name": "DanusiaZabcia/Selenium", "sub_path": "/com.secretofglory/src/test/java/testowka/Selenium1.java", "file_name": "Selenium1.java", "file_ext": "java", "file_size_in_byte": 962, "line_c... | https://github.com/DanusiaZabcia/Selenium | 218 | FILENAME: Selenium1.java | 0.281406 | package testowka;
import static junit.framework.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
public class Selenium1 {
@Before
public vo... |
cb3f886e-d02d-4118-b385-eff7e3587808 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-09T18:39:35", "repo_name": "noahms456/Arduino-Bytebeat-Eurorack", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 962, "line_count": 15, "lang": "en", "doc_type":... | https://github.com/noahms456/Arduino-Bytebeat-Eurorack | 244 | FILENAME: README.md | 0.203075 | # Arduino-Bytebeat-Eurorack
this is based on stimmer's code from the arduino forums, based on Viznut's work
see viznut's blog http://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html
and http://www.youtube.com/watch?v=GtQdIYUtAHg&feature=related
So all this does is take the original code... |
9bfb6b9e-284f-4c25-9409-2805387f1767 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-20 15:28:11", "repo_name": "CedricMoser/TheGame", "sub_path": "/src/window/KeyCallBack.java", "file_name": "KeyCallBack.java", "file_ext": "java", "file_size_in_byte": 961, "line_count": 40, "lang": "en", "doc... | https://github.com/CedricMoser/TheGame | 192 | FILENAME: KeyCallBack.java | 0.26588 | package window;
import gui.KeyPressedEvent;
import gui.KeyReleasedEvent;
import org.lwjgl.glfw.GLFWKeyCallbackI;
import static org.lwjgl.glfw.GLFW.GLFW_PRESS;
import static org.lwjgl.glfw.GLFW.GLFW_RELEASE;
public class KeyCallBack implements GLFWKeyCallbackI {
private Window mWindow;
public KeyCallBack(Wi... |
683c7e37-204c-4050-a92d-c7bcbf476c10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-27T22:51:01", "repo_name": "K0bus/BetterHalloween", "sub_path": "/src/fr/k0bus/betterhalloween/event/ZombieKill.java", "file_name": "ZombieKill.java", "file_ext": "java", "file_size_in_byte": 963, "line_count"... | https://github.com/K0bus/BetterHalloween | 226 | FILENAME: ZombieKill.java | 0.23231 | package fr.k0bus.betterhalloween.event;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDeathEvent;
import org.bukkit.inventory.ItemStack;
import fr.k0bus.betterhalloween.Main;
import fr.k0bus.betterhalloween.items.KeyItem;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.