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 |
|---|---|---|---|---|---|---|
391ef1fd-4190-4124-8b47-5c2f80ff201b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-02-16 01:13:56", "repo_name": "robxu9/RpgEssentials", "sub_path": "/me/duckdoom5/RpgEssentials/NPC/NpcHashmaps.java", "file_name": "NpcHashmaps.java", "file_ext": "java", "file_size_in_byte": 1009, "line_count": ... | https://github.com/robxu9/RpgEssentials | 234 | FILENAME: NpcHashmaps.java | 0.279042 | package me.duckdoom5.RpgEssentials.NPC;
import java.util.HashMap;
import java.util.LinkedHashMap;
import me.duckdoom5.RpgEssentials.RpgEssentials;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player;
import com.topcat.npclib.entity.NPC;
public class ... |
10ee116f-a2fb-4fac-814f-554a769b2d2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-27 07:31:39", "repo_name": "vanithavelayutham/servlet", "sub_path": "/webapp/src/main/java/Insert.java", "file_name": "Insert.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": 32, "lang": "en... | https://github.com/vanithavelayutham/servlet | 181 | FILENAME: Insert.java | 0.261331 | import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
... |
cd084d9a-4063-4377-b9e9-3100fd8e4a5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-20 06:59:21", "repo_name": "fanindramate/CykulStationDemoApp", "sub_path": "/src/com/MobiComm/cykulstationdemoApp/SplashScreen.java", "file_name": "SplashScreen.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/fanindramate/CykulStationDemoApp | 205 | FILENAME: SplashScreen.java | 0.255344 | package com.MobiComm.cykulstationdemoApp;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.widget.ImageView;
/**
* Created by CYKUL03 on 26-05-2017.
*/
public class SplashScreen extends Activ... |
f5941cfb-da6d-48c9-a425-361df7665bac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-17 09:52:13", "repo_name": "Fousq/Java_Core", "sub_path": "/src/main/java/kz/zhanbolat/chief/service/filter/impl/VegetableIngredientFilter.java", "file_name": "VegetableIngredientFilter.java", "file_ext": "jav... | https://github.com/Fousq/Java_Core | 199 | FILENAME: VegetableIngredientFilter.java | 0.275909 | package kz.zhanbolat.chief.service.filter.impl;
import kz.zhanbolat.chief.entity.ingredient.Ingredient;
import kz.zhanbolat.chief.entity.ingredient.organic.OrganicIngredient;
import kz.zhanbolat.chief.entity.ingredient.organic.OrganicType;
import kz.zhanbolat.chief.service.filter.IngredientFilter;
import java.util.Ar... |
cd10ad54-6b4f-4d9d-8b22-ab7210e66c06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-26 03:49:06", "repo_name": "thewangzl/tomcat_learn", "sub_path": "/src/org/apache/catalina/users/MemoryUserDatabaseFactory.java", "file_name": "MemoryUserDatabaseFactory.java", "file_ext": "java", "file_size_i... | https://github.com/thewangzl/tomcat_learn | 233 | FILENAME: MemoryUserDatabaseFactory.java | 0.294215 | package org.apache.catalina.users;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.Name;
import javax.naming.RefAddr;
import javax.naming.Reference;
import javax.naming.spi.ObjectFactory;
public class MemoryUserDatabaseFactory implements ObjectFactory {
@Override
public Object getObje... |
9b1274c3-220d-42c9-87b0-faa688cf215b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-16 14:56:30", "repo_name": "linxin26/forest", "sub_path": "/forest-container/forest-container-api/src/main/java/co/solinx/forest/container/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_i... | https://github.com/linxin26/forest | 211 | FILENAME: Main.java | 0.256832 | package co.solinx.forest.container;
import co.solinx.forest.common.extension.ExtensionLoader;
import java.util.Iterator;
import java.util.ServiceLoader;
/**
* Created by LX on 2015/2/28.
*/
public class Main {
public static void main(String[] args) throws IllegalAccessException, InstantiationException {
... |
37bc072b-e878-4cd1-aba6-37ac18f1acc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-22 04:48:16", "repo_name": "MirzayevFarid/Slay-The-Spire", "sub_path": "/src/sample/mainMenu/MainMenu.java", "file_name": "MainMenu.java", "file_ext": "java", "file_size_in_byte": 1072, "line_count": 45, "lang... | https://github.com/MirzayevFarid/Slay-The-Spire | 218 | FILENAME: MainMenu.java | 0.267408 | package sample.mainMenu;
import javafx.fxml.FXML;
import javafx.scene.input.MouseEvent;
import javafx.scene.text.Text;
import javafx.stage.Stage;
import sample.Methods;
import sample.play.Play;
import java.io.IOException;
public class MainMenu {
@FXML
private Text txtPlay;
@FXML
private Text txtCom... |
ccd61186-c17c-41fc-84af-20eab2b130f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-29 08:15:04", "repo_name": "malme32/teamplay", "sub_path": "/src/com/event/dao/AbstractDao.java", "file_name": "AbstractDao.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 42, "lang": "en",... | https://github.com/malme32/teamplay | 183 | FILENAME: AbstractDao.java | 0.268941 | package com.event.dao;
import java.util.List;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import com.event.model.Event;
impor... |
85aa8690-17ff-41d6-a53d-80371560bd88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-06 05:15:35", "repo_name": "zhuowr2006/CatCartoon", "sub_path": "/app/src/main/java/com/homa/catcartoon/ui/info/bean/OtherBean.java", "file_name": "OtherBean.java", "file_ext": "java", "file_size_in_byte": 103... | https://github.com/zhuowr2006/CatCartoon | 244 | FILENAME: OtherBean.java | 0.220007 | package com.homa.catcartoon.ui.info.bean;
/* * Created by Homa on 2017/11/6.
*/
public class OtherBean {
private String title;
private String tip;
private String img;
private String url;
public OtherBean(String title, String tip, String img, String url) {
this.title = title;
this... |
cd85ee97-3514-4f2a-833d-e03d82e72fa8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-26 08:59:07", "repo_name": "ahuh/subzero", "sub_path": "/subzero-core/src/main/java/org/subzero/core/bean/VideoFileToProcess.java", "file_name": "VideoFileToProcess.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ahuh/subzero | 230 | FILENAME: VideoFileToProcess.java | 0.228156 | package org.subzero.core.bean;
/**
* Video file to process in SubZero launcher
* @author Julien
*
*/
public class VideoFileToProcess {
private String videoFileName;
private String workingFolderPath;
/**
* Constructor
*
* @param videoFileName
* @param workingFolderPath
*/
public VideoFileToProcess... |
b881bf6d-c6db-4bac-97c5-ae459a3d1945 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-18 08:47:43", "repo_name": "SunMingLianger/sell", "sub_path": "/src/main/java/com/sml/util/CookieUtil.java", "file_name": "CookieUtil.java", "file_ext": "java", "file_size_in_byte": 1174, "line_count": 53, "la... | https://github.com/SunMingLianger/sell | 257 | FILENAME: CookieUtil.java | 0.233706 | package com.sml.util;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* cookie工具类
* Created by 神迷的亮
* 2018-05-03 09:22
*/
public class CookieUtil
{
/**
* 设置cookie
*
* @param response
* @param name
* @pa... |
1e1599b0-8f41-4bb9-a7bf-e06e9016953e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-17T15:33:09", "repo_name": "timothy-breitenfeldt/mtg-audio", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1015, "line_count": 30, "lang": "en", "doc_type": "te... | https://github.com/timothy-breitenfeldt/mtg-audio | 193 | FILENAME: readme.md | 0.226784 | ### Description
This project is an accessible audio based Magic the Gathering application, providing a comprehensive search engine, and at the moment single player battlefield for playing with other people. This application is driven by screen reader output, and requires that the user is using a screen reader for opti... |
fa52e27e-bbdd-4ac4-a7bd-ed7a99225ccd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-01-01T21:45:30", "repo_name": "spitimage/jwt-central-client", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1054, "line_count": 54, "lang": "en", "doc_type": "text... | https://github.com/spitimage/jwt-central-client | 265 | FILENAME: readme.md | 0.264358 | # jwt-central-client
[](https://travis-ci.org/spitimage/jwt-central-client)
Express middleware for the [jwt-central][jwtc] authentication service.
# Initialization
```js
// Initialize the jwt-central-client with the host params for... |
177b4bd1-35b5-4f34-8095-0e63a7984eb1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-04 09:48:06", "repo_name": "DennisPC-bit/ArlaEksamen", "sub_path": "/src/DPMAINTEST.java", "file_name": "DPMAINTEST.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 32, "lang": "en", "doc_ty... | https://github.com/DennisPC-bit/ArlaEksamen | 218 | FILENAME: DPMAINTEST.java | 0.292595 | import GUI.Controller.StageBuilder;
import javafx.application.Application;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
public class DPMAINTEST extends Application {
... |
a5c4c202-2238-495e-8aac-fe9f2a07f62b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-12 15:06:12", "repo_name": "Andrei023/atm-spring", "sub_path": "/service/src/main/java/com/example/data/Entry.java", "file_name": "Entry.java", "file_ext": "java", "file_size_in_byte": 1148, "line_count": 50, ... | https://github.com/Andrei023/atm-spring | 243 | FILENAME: Entry.java | 0.293404 | package com.example.data;
import com.example.model.account.EuroAccount;
import com.example.model.entity.client.Client;
import com.example.model.account.Account;
import com.example.model.account.RonAccount;
//Bank Cache
public class Entry {
private Client client;
private EuroAccount contEuro;
private RonAc... |
7240e433-5c23-40d3-9ee2-f657156f30b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-10 04:49:34", "repo_name": "mbalakrishnan79/Syntel", "sub_path": "/SparkWithPostgreSQL/src/main/java/com/bala/rdbms/SparkWithPostgreSQL/ReadFromPostgreSQL.java", "file_name": "ReadFromPostgreSQL.java", "file_e... | https://github.com/mbalakrishnan79/Syntel | 236 | FILENAME: ReadFromPostgreSQL.java | 0.280616 | package com.bala.rdbms.SparkWithPostgreSQL;
import java.util.Properties;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.sql.Dataset;
import org.apache.spark.sql.Row;
import org.apache.spark.sql.SQLContext;
import org.apache.spark.sql.SparkSession;
public... |
2d62023d-0eb1-4012-9e1f-b9d2f967c60e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 05:07:56", "repo_name": "LuisMtz-uaemex/Proyectoemail", "sub_path": "/src/edd/PilaDinamica.java", "file_name": "PilaDinamica.java", "file_ext": "java", "file_size_in_byte": 1113, "line_count": 59, "lang": "... | https://github.com/LuisMtz-uaemex/Proyectoemail | 266 | FILENAME: PilaDinamica.java | 0.291787 | /*
* 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 edd;
/**
*
* @author Mauro
*/
public class PilaDinamica
{
private Nodo tope = null;
/**
* @re... |
9ead4b64-ed55-4c02-ac25-4bdf5eb054b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-17T03:05:45", "repo_name": "scottbromander/pluralsight-angular-intro", "sub_path": "/docs/chapter_2.md", "file_name": "chapter_2.md", "file_ext": "md", "file_size_in_byte": 1068, "line_count": 42, "lang": ... | https://github.com/scottbromander/pluralsight-angular-intro | 240 | FILENAME: chapter_2.md | 0.250913 | # Chapter 2 Notes
## Introduction Notes
### Angular is:
- A JavaScript Framework for building client side applications using HTML, CSS, and TypeScript
- Expressive HTML
- Power Data-Binding
- Modular by Design - Apps become a set of building blocks
- Built in Back End Integration
### Why a New Angular?
- Built... |
89d92d0f-2c64-46ff-9907-3382c73ca8ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-14 20:21:26", "repo_name": "amanrathie/mbt", "sub_path": "/src/main/java/br/gov/cgu/mbt/infraestrutura/referenciavel/AutocompleteComTipoOption.java", "file_name": "AutocompleteComTipoOption.java", "file_ext": ... | https://github.com/amanrathie/mbt | 247 | FILENAME: AutocompleteComTipoOption.java | 0.236516 | package br.gov.cgu.mbt.infraestrutura.referenciavel;
import br.gov.cgu.componentes.pojo.AutocompleteOption;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
public class AutocompleteComTipoOption extends AutocompleteOption {
private String tipo;
... |
f55104a3-1772-4674-b73f-c7ea3cc199fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-14 08:59:36", "repo_name": "hanframework/han", "sub_path": "/han-core/src/main/java/org/hanframework/env/ModuleInfo.java", "file_name": "ModuleInfo.java", "file_ext": "java", "file_size_in_byte": 1049, "line_c... | https://github.com/hanframework/han | 268 | FILENAME: ModuleInfo.java | 0.246533 | package org.hanframework.env;
import java.util.Objects;
/**
* @author liuxin
* @version Id: ModuleInfo.java, v 0.1 2019-05-13 22:15
*/
public class ModuleInfo {
/**
* 模块名
*/
private String moduleName;
/**
* 模块版本
*/
private String version;
public ModuleInfo(String moduleName, String version)... |
e580bbc1-dbd6-4a51-9ee6-5c14d0b0fa83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2010-03-03T08:06:25", "repo_name": "ZeroStride/LighthouseIntegrationTest", "sub_path": "/README.markdown", "file_name": "README.markdown", "file_ext": "markdown", "file_size_in_byte": 1005, "line_count": 17, "lang... | https://github.com/ZeroStride/LighthouseIntegrationTest | 225 | FILENAME: README.markdown | 0.221351 | # Lighthouse Integration Test Repository
This repository is for testing our bugfix workflow integration with Lighthouse. It contains bugs which will be automatically re-initialized by the commits in the 'repush'.
### Repush
The 'repush' script first resets the local repository to the first commit, then force-pushes th... |
67120411-900d-42ee-b8f3-94c61e862602 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-13 17:53:01", "repo_name": "andreaderi/Shop", "sub_path": "/src/Shop/actionListeners/FirstPageListener.java", "file_name": "FirstPageListener.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count":... | https://github.com/andreaderi/Shop | 183 | FILENAME: FirstPageListener.java | 0.259826 | package Shop.actionListeners;
import Shop.view.LoginFrame;
import Shop.view.FirstPageFrame;
import Shop.view.IscrizioneFrame;
import Shop.view.CatalogoFrame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class FirstPageListener implements ActionListener {
private FirstPage... |
7fd365cb-49ed-4a81-afe4-8f18ec95387a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-10 11:25:01", "repo_name": "Thoronir42/i-spy-with-my-eye--teh-internetzz", "sub_path": "/src/cz/zcu/kiv/nlp/ir/crawling/HtmlDownloaderFactory.java", "file_name": "HtmlDownloaderFactory.java", "file_ext": "java... | https://github.com/Thoronir42/i-spy-with-my-eye--teh-internetzz | 193 | FILENAME: HtmlDownloaderFactory.java | 0.229535 | package cz.zcu.kiv.nlp.ir.crawling;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class HtmlDownloaderFactory {
public IHtmlDownloader create(String type) {
switch (type.toLowerCase()) {
default:
System.err.println("Invalid html do... |
c92a926a-d199-4d4f-a8d0-f07ec7c22156 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-07 13:49:35", "repo_name": "osmanyaycioglu/t20210705", "sub_path": "/springtraining/src/main/java/com/training/micro/person/PersonFacade.java", "file_name": "PersonFacade.java", "file_ext": "java", "file_size_... | https://github.com/osmanyaycioglu/t20210705 | 214 | FILENAME: PersonFacade.java | 0.264358 | package com.training.micro.person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@Service
public class PersonFacade {
@Au... |
db8b457e-5402-4994-bfb5-026fadbf448b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-13T05:06:26", "repo_name": "zhanghe06/docker_project", "sub_path": "/elasticsearch/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1109, "line_count": 38, "lang": "en", "doc_ty... | https://github.com/zhanghe06/docker_project | 334 | FILENAME: README.md | 0.292595 | ## elasticsearch
https://github.com/elastic/elasticsearch
https://github.com/elastic/elasticsearch-docker/tree/5.4
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker
The default password for the elastic user is changeme
username = elastic
password = changeme
```
$ sudo docker pull d... |
9e99d886-13f3-4adf-9de8-e05b8ee91622 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 13:03:43", "repo_name": "gigo123/instrument2", "sub_path": "/src/main/java/ua/com/gigasoft/instrument2c/secondModel/ExDocTempStore.java", "file_name": "ExDocTempStore.java", "file_ext": "java", "file_size_i... | https://github.com/gigo123/instrument2 | 265 | FILENAME: ExDocTempStore.java | 0.280616 | package ua.com.gigasoft.instrument2c.secondModel;
import ua.com.gigasoft.instrument2c.mainModel.DocumentRow;
public class ExDocTempStore {
private String errorString;
private DocumentRow docRow;
private long outStorageId;
public long getOutStorageId() {
return outStorageId;
}
public void setOutStorageId(l... |
c861f2e8-9494-45fa-864f-e7746c13c454 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-13 16:40:29", "repo_name": "kevinhou01/couchbase-onlinebank-demo", "sub_path": "/couchbase-onlinebanking-demo/src/main/java/com/kevintest/sample/service/AccountService.java", "file_name": "AccountService.java"... | https://github.com/kevinhou01/couchbase-onlinebank-demo | 209 | FILENAME: AccountService.java | 0.286968 | package com.kevintest.sample.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import com.couchbase.client.protocol.views.Query;
import com.kevintest.sample.domain.Acc... |
85e2d3b9-0fbf-47ae-af0f-3154cf5e549a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-13 05:06:31", "repo_name": "cs160-berkeley/prog-02-represent-themsanand", "sub_path": "/App/wear/src/main/java/com/example/cs169_au/represent/VoteViewRump.java", "file_name": "VoteViewRump.java", "file_ext": "... | https://github.com/cs160-berkeley/prog-02-represent-themsanand | 218 | FILENAME: VoteViewRump.java | 0.245085 | package com.example.cs169_au.represent;
import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;
import android.util.Log;
import android.widget.TextView;
import com.google.android.gms.wearable.MessageApi;
import com.google.android.gms.wearable.MessageEvent;
public class VoteViewRump exte... |
00cd8c67-2156-42d7-85d8-344b832c61a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-27T15:02:35", "repo_name": "mkbaldwin/notes-public", "sub_path": "/conferences/2020-DevNexus/2020-02-20_DevNexus_S01_ReactiveRevolution.md", "file_name": "2020-02-20_DevNexus_S01_ReactiveRevolution.md", "f... | https://github.com/mkbaldwin/notes-public | 271 | FILENAME: 2020-02-20_DevNexus_S01_ReactiveRevolution.md | 0.23231 | # Session 1: Reactive Revolution
Josh Long, Pivotal/VMWare - @starbuxman
* Bootiful Podcast
* Write software that is aware of the fact that things may be asynchronous
* Threads are expensive in Java (rely on real OS threads)
* Reactive programming helps with these things
* Asynchronous IO has been in the... |
c04ce599-fb0d-4974-bd5e-6ab35bc74f2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 06:00:14", "repo_name": "ichoukou/thirdapp", "sub_path": "/thirdpp-common/src/main/java/com/zendaimoney/thirdpp/common/enums/ThirdType.java", "file_name": "ThirdType.java", "file_ext": "java", "file_size_in... | https://github.com/ichoukou/thirdapp | 386 | FILENAME: ThirdType.java | 0.277473 | package com.zendaimoney.thirdpp.common.enums;
public enum ThirdType {
/** 通联 支付*/
ALLINPAY("0", "通联支付"),
/** 富友支付 */
FUIOUPAY("2", "富友支付"),
/** 上海银联支付 */
SHUNIONPAY("4", "上海银联支付"),
/** 用友支付 */
YONGYOUUNIONPAY("6", "用友支付"),
/** 上海银联支付-实名验证 */
SHUNIONPAY_ACCOUNT_AUTH("8", "上海银联支付-实名认证"),
/** 证大爱特*/
... |
8284346f-df20-4d03-8d35-93bb13ab1f73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-18 18:35:33", "repo_name": "martynasvaicekauskas/webAppExample", "sub_path": "/src/servlets/CreateCatServlet.java", "file_name": "CreateCatServlet.java", "file_ext": "java", "file_size_in_byte": 1056, "line_co... | https://github.com/martynasvaicekauskas/webAppExample | 210 | FILENAME: CreateCatServlet.java | 0.287768 | package servlets;
import Dto.Cat;
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 java.io.IOException;
/**
* Created by MartynasV on 2017-04-1... |
5736226d-1df5-41f5-96b1-cf778da38a90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-01 20:36:49", "repo_name": "MdShobon/FirstProject_QA_Automation", "sub_path": "/src/Firefoxxxx.java", "file_name": "Firefoxxxx.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 42, "lang": "e... | https://github.com/MdShobon/FirstProject_QA_Automation | 263 | FILENAME: Firefoxxxx.java | 0.26588 | import java.sql.Driver;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
public class Firefoxxxx {
public static void main(String[] args) throws Interr... |
b0e56821-459b-4424-8915-9198c4ae4fd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-24 23:22:00", "repo_name": "cgoulding/core-amqp-parent", "sub_path": "/core-amqp-context/src/main/java/com/monadiccloud/core/amqp/template/OpinionatedRabbitTemplate.java", "file_name": "OpinionatedRabbitTempla... | https://github.com/cgoulding/core-amqp-parent | 183 | FILENAME: OpinionatedRabbitTemplate.java | 0.229535 | package com.monadiccloud.core.amqp.template;
import com.monadiccloud.core.amqp.context.AmqpContext;
import com.monadiccloud.core.amqp.context.MessageDescription;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
public class OpinionatedRabbitTemplate {
private AmqpContext rabbitContext;
private Rabb... |
414c52f3-cd44-4096-a5ea-c763580851a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-17 13:52:52", "repo_name": "DataPathAnalytics/KR_Developing-a-New-Audit-Methodology-for-Electronic-Public-Tenders-OCDS", "sub_path": "/exporter/src/main/java/com/datapath/ocds/kyrgyzstan/exporter/receivers/Leg... | https://github.com/DataPathAnalytics/KR_Developing-a-New-Audit-Methodology-for-Electronic-Public-Tenders-OCDS | 250 | FILENAME: LegalFormsReceiver.java | 0.284576 | package com.datapath.ocds.kyrgyzstan.exporter.receivers;
import com.datapath.ocds.kyrgyzstan.exporter.catalogues.LegalForm;
import com.datapath.ocds.kyrgyzstan.exporter.dao.services.CatalogDAOService;
import com.neovisionaries.i18n.CountryCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
9c9a2632-5010-4de1-bb07-dcc94a838c59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-17 21:17:31", "repo_name": "DW2733/TakeHomeAssignment11-DadriaunnaW", "sub_path": "/app/src/main/java/com/example/dadriaunna01/menulesson/SecondActivity.java", "file_name": "SecondActivity.java", "file_ext": "... | https://github.com/DW2733/TakeHomeAssignment11-DadriaunnaW | 181 | FILENAME: SecondActivity.java | 0.246533 | package com.example.dadriaunna01.menulesson;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;
import android.widget.TextView;
public class SecondActivity extends AppCompatActivity {
private ImageView studentPhoto;
priv... |
6f8035e9-fd09-428e-927d-140377ecb825 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-29 18:06:45", "repo_name": "pbattin/SingBetter", "sub_path": "/src/main/java/model/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 40, "lang": "en", "doc_type... | https://github.com/pbattin/SingBetter | 203 | FILENAME: Main.java | 0.249447 | package model;
import javax.sound.sampled.UnsupportedAudioFileException;
import java.io.File;
import java.io.IOException;
/**
* Created by prestonbattin on 2/21/17. 😇😇😇😇😇😇😇😇😇
*/
public class Main {
public static void main(String[] args) throws IOException, UnsupportedAudioFileException {
fina... |
863fdda3-1c19-423f-9aaa-561a95a94fe9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-29 20:39:08", "repo_name": "anttien/design-patterns", "sub_path": "/DP15_adapter/src/adapter/ModernRecorder.java", "file_name": "ModernRecorder.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count... | https://github.com/anttien/design-patterns | 225 | FILENAME: ModernRecorder.java | 0.259826 | package adapter;
/**
* Represents a modern recorder. The guitarist can plug his guitar and
* headphones straight to the device. It doesn't actually save the recording
* anywhere; it can be only listened.
*
* @author Antti Nieminen
*/
public class ModernRecorder implements GuitarRecorder {
private Unbalanced... |
ff526841-8509-483f-95dd-2e2e44bbd4b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 14:57:22", "repo_name": "babu12f/realtimefileuploaderback", "sub_path": "/src/main/java/com/nrbswift/spring4web/mq/MessageReceiver.java", "file_name": "MessageReceiver.java", "file_ext": "java", "file_size_... | https://github.com/babu12f/realtimefileuploaderback | 216 | FILENAME: MessageReceiver.java | 0.249447 | package com.nrbswift.spring4web.mq;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.jms.support.converter.MessageConverter;
import org.springframework.stereotype.Component;
import javax.jms.JMSException;
import javax.jms.Messag... |
7241d53d-64a2-452a-a795-25d99d291e04 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-02 12:48:33", "repo_name": "diwt/medical", "sub_path": "/src/main/java/com/kaishengit/dao/BaseDao.java", "file_name": "BaseDao.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 44, "lang": "e... | https://github.com/diwt/medical | 205 | FILENAME: BaseDao.java | 0.289372 | package com.kaishengit.dao;
import com.kaishengit.pojo.Patient;
import org.hibernate.Criteria;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Projections;
import javax.inject.Inject;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import ja... |
0f4bc9dc-8037-419b-81f9-2d5794f61762 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 01:01:59", "repo_name": "nikita160/webchat2019", "sub_path": "/src/main/java/service/VFSImpl.java", "file_name": "VFSImpl.java", "file_ext": "java", "file_size_in_byte": 1064, "line_count": 52, "lang": "en"... | https://github.com/nikita160/webchat2019 | 219 | FILENAME: VFSImpl.java | 0.264358 | package service;
import org.apache.commons.io.IOUtils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Iterator;
public class VFSImpl implements VFS {
private String root;
public VFSImpl (String root){
this.root = root;
... |
d9e5505f-c1e9-48ff-a906-f53e77217056 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-02 06:30:03", "repo_name": "mmichal93/musiclibrary", "sub_path": "/src/main/java/pl/mmichal93/musiclibrary/model/Musician.java", "file_name": "Musician.java", "file_ext": "java", "file_size_in_byte": 1013, "li... | https://github.com/mmichal93/musiclibrary | 204 | FILENAME: Musician.java | 0.226784 | package pl.mmichal93.musiclibrary.model;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import java.time.LocalDate;
@Entity
@DiscriminatorV... |
3a847a58-155f-48dc-bad0-0c35382feae1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-13 05:24:57", "repo_name": "xingcmy/GraduationClient", "sub_path": "/app/src/main/java/com/cn/graduationclient/xingcmyAdapter/friendUItl.java", "file_name": "friendUItl.java", "file_ext": "java", "file_size_in... | https://github.com/xingcmy/GraduationClient | 222 | FILENAME: friendUItl.java | 0.289372 | package com.cn.graduationclient.xingcmyAdapter;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.cn.graduationclient.db.FriendDbHelper;
import java.util.ArrayList;
import java.util.List;
public class friendUItl {
public static FriendDbHelp... |
0ded2543-0715-43fb-a8a8-69f2b71d2dc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-03 16:37:06", "repo_name": "heithem-limame/JEE", "sub_path": "/gestionPharmacie/src/main/java/sessionBeans/UtilisateurFacade.java", "file_name": "UtilisateurFacade.java", "file_ext": "java", "file_size_in_byte... | https://github.com/heithem-limame/JEE | 233 | FILENAME: UtilisateurFacade.java | 0.285372 | /*
* 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 sessionBeans;
import entityBeans.Utilisateur;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax... |
a089824d-e7ba-4c56-8339-3ed7de30af8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 10:32:03", "repo_name": "homertruong66/research", "sub_path": "/link-stats-processor/src/main/java/com/hoang/lsp/task/LoaderExceptionHandlerTask.java", "file_name": "LoaderExceptionHandlerTask.java", "file_... | https://github.com/homertruong66/research | 204 | FILENAME: LoaderExceptionHandlerTask.java | 0.279042 | package com.hoang.lsp.task;
import com.hoang.lsp.core.MyApplicationContext;
import com.hoang.lsp.model.IncrementEvent;
import com.hoang.lsp.service.LoaderExceptionHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.List;
public class LoaderExceptionHandlerTask implements Runnable {
... |
909683f7-e2ab-419c-b03b-ab8ba3002358 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-14 08:02:13", "repo_name": "wowSens/java-china", "sub_path": "/src/main/java/com/javachina/config/TemplateConfig.java", "file_name": "TemplateConfig.java", "file_ext": "java", "file_size_in_byte": 1149, "line_... | https://github.com/wowSens/java-china | 241 | FILENAME: TemplateConfig.java | 0.280616 | package com.javachina.config;
import com.blade.annotation.Order;
import com.blade.config.BaseConfig;
import com.blade.config.Configuration;
import com.blade.ioc.annotation.Component;
import com.blade.mvc.view.ViewSettings;
import com.blade.mvc.view.template.JetbrickTemplateEngine;
import com.javachina.Constant;
import... |
478ed258-1e3e-4ac7-b635-381bed2d25d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-31 03:20:14", "repo_name": "gatanasi/lacueva-control", "sub_path": "/lacueva-control/src/main/java/com/lacueva/control/security/AuthorityDaoImpl.java", "file_name": "AuthorityDaoImpl.java", "file_ext": "java",... | https://github.com/gatanasi/lacueva-control | 215 | FILENAME: AuthorityDaoImpl.java | 0.293404 | package com.lacueva.control.security;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.TypedQuery;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;
import com.lacueva.control.dao.impl.GenericDaoImpl;
@Repository("auth... |
4f9e6476-0830-40c0-8c99-15935cf6197b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-04 20:26:39", "repo_name": "quasquilia/dumporly", "sub_path": "/src/main/java/com/guarascio/dumporly/Authenticator.java", "file_name": "Authenticator.java", "file_ext": "java", "file_size_in_byte": 996, "line_... | https://github.com/quasquilia/dumporly | 177 | FILENAME: Authenticator.java | 0.214691 | package com.guarascio.dumporly;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.WebDriverWait;
public class Authenticator {
private final WebDriver driver;
public Authenticator(WebDriver driver) {
this.d... |
cc69ca55-89b6-41b3-8b91-273fffe881bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-17 13:44:35", "repo_name": "AKrupaa/home-page-spring-boot", "sub_path": "/src/main/java/krupinski/arkadiusz/home/services/CustomUserRoleServiceImpl.java", "file_name": "CustomUserRoleServiceImpl.java", "file_e... | https://github.com/AKrupaa/home-page-spring-boot | 224 | FILENAME: CustomUserRoleServiceImpl.java | 0.26971 | package krupinski.arkadiusz.home.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import krupinski.arkadiusz.home.models.CustomUserRole;
import krupinski.arkadiusz.home.repositories.CustomUserRoleRepository;
import javax.transaction.Transactional... |
45fa71b7-95ba-456d-a97a-e82eeaa8e1e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-28 11:33:00", "repo_name": "lintsGitHub/Spring-LearningPractice", "sub_path": "/Annotation-DI-SupplementaryContent/src/main/java/priv/lint/beans/Student.java", "file_name": "Student.java", "file_ext": "java", ... | https://github.com/lintsGitHub/Spring-LearningPractice | 216 | FILENAME: Student.java | 0.262842 | package priv.lint.beans;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
@Component
public class Student {
@Value("... |
2d4e4b56-b8f4-4c29-aedd-23bf7ca748a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-22 13:00:35", "repo_name": "muralianamala/bw6", "sub_path": "/Code/SharedModules/JWTToken/src/JWTTokenGenerate.java", "file_name": "JWTTokenGenerate.java", "file_ext": "java", "file_size_in_byte": 1080, "line_... | https://github.com/muralianamala/bw6 | 229 | FILENAME: JWTTokenGenerate.java | 0.286968 | import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import com.auth0.jwt.JWT;
import com.auth0.jwt.JWTCreator;
import com.auth0.jwt.algorithms.Algorithm;
public class JWTTokenGenerate {
public... |
ffb87e75-ad04-471b-a27a-58f04ffa6095 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-23 18:12:31", "repo_name": "aloxc/jsonice", "sub_path": "/src/main/java/com/github/aloxc/jsonice/annotation/checkparam/support/StringPatternVerify.java", "file_name": "StringPatternVerify.java", "file_ext": "j... | https://github.com/aloxc/jsonice | 235 | FILENAME: StringPatternVerify.java | 0.285372 | package com.github.aloxc.jsonice.annotation.checkparam.support;
import com.github.aloxc.jsonice.annotation.checkparam.StringPattern;
import com.github.aloxc.jsonice.io.JsonRequest;
import com.github.aloxc.jsonice.io.VerifyResult;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
im... |
cfa84b3d-1a5f-43cf-b4d6-741fd647b939 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-10 12:55:15", "repo_name": "Aaaaashin/ashin-mall", "sub_path": "/ashin-goods-service/src/main/java/com/ashin/controller/BrandController.java", "file_name": "BrandController.java", "file_ext": "java", "file_siz... | https://github.com/Aaaaashin/ashin-mall | 241 | FILENAME: BrandController.java | 0.26971 | package com.ashin.controller;
import com.ashin.entity.PageResult;
import com.ashin.entity.QueryPageBean;
import com.ashin.entity.Result;
import com.ashin.pojo.Brand;
import com.ashin.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetM... |
106ad95b-7a98-4e77-9e2d-3be19f2c674b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-13 20:29:51", "repo_name": "RomarioGorilyi/CarRegistrationWebService", "sub_path": "/src/main/java/training/registration/service/impl/CarRegistrationServiceImpl.java", "file_name": "CarRegistrationServiceImpl.... | https://github.com/RomarioGorilyi/CarRegistrationWebService | 178 | FILENAME: CarRegistrationServiceImpl.java | 0.292595 | package training.registration.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import training.registration.chain.RegistrationChain;
import training.registration.domain.Car;
import training.registration.exception.CarRegistrationException;
impor... |
50f67b5d-0843-41c7-9e2c-593b3044d916 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-07 11:16:02", "repo_name": "jayanthbonagiri/Team-H-Effective_Java_Tranning", "sub_path": "/testapp19.finance11/src/in/conceptarchitect/finance/BankTransaction.java", "file_name": "BankTransaction.java", "file_... | https://github.com/jayanthbonagiri/Team-H-Effective_Java_Tranning | 254 | FILENAME: BankTransaction.java | 0.279828 | package in.conceptarchitect.finance;
import java.sql.Date;
public class BankTransaction {
String Description;
int accountnumber;
double amount;
Date date;
public BankTransaction() {
super();
}
public BankTransaction(String description, int accountnumber, double amount, Date date) {
super();
this.Desc... |
fdad9f97-3e50-4dfe-8bff-fa92ad1c7b02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-21 09:31:18", "repo_name": "arajhub/java8-examples", "sub_path": "/src/SupplierAndConsumer.java", "file_name": "SupplierAndConsumer.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count": 44, "lang... | https://github.com/arajhub/java8-examples | 223 | FILENAME: SupplierAndConsumer.java | 0.293404 | import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.function.Consumer;
import java.util.function.Supplier;
public class SupplierAndConsumer {
public static void main(String[] args) {
List<String> aa = new ArrayList<String>();
aa.add("aaditya");
aa.add... |
a035a674-d66c-4653-a0f9-c25419640a41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-13 09:19:57", "repo_name": "alexclin0188/httplite", "sub_path": "/httplite/src/main/java/alexclin/httplite/internal/ResponseBodyImpl.java", "file_name": "ResponseBodyImpl.java", "file_ext": "java", "file_size_... | https://github.com/alexclin0188/httplite | 210 | FILENAME: ResponseBodyImpl.java | 0.229535 | package alexclin.httplite.internal;
import java.io.IOException;
import java.io.InputStream;
import alexclin.httplite.MediaType;
import alexclin.httplite.ResponseBody;
/**
* ResponseBodyImpl
*
* @author alexclin 16/3/12 14:42
*/
public class ResponseBodyImpl implements ResponseBody {
private InputStream inpu... |
1dd77dbd-b6a8-44a2-a6ea-3d59e574f619 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-30 08:45:10", "repo_name": "gueryacine/ProjetDAD", "sub_path": "/Serveurs J2EE/Traitements/wordTraitementProject/src/main/java/com/dao/model/EntityManagerController.java", "file_name": "EntityManagerController... | https://github.com/gueryacine/ProjetDAD | 218 | FILENAME: EntityManagerController.java | 0.26588 | /*
* 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.dao.model;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence... |
6a223a47-ecb4-4478-bcb1-7573ee61c2ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-12 14:58:59", "repo_name": "GanyaoziTech/danmu-collector", "sub_path": "/src/main/java/tech/ganyaozi/danmu/colloctor/BiliBiliChannelInitializer.java", "file_name": "BiliBiliChannelInitializer.java", "file_ext"... | https://github.com/GanyaoziTech/danmu-collector | 234 | FILENAME: BiliBiliChannelInitializer.java | 0.252384 | package tech.ganyaozi.danmu.colloctor;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.socket.SocketChannel;
import io.netty.handler.timeout.IdleStateHandler;
import tech.ganyaozi.danmu.colloctor.handler.*;
import java.util.concurrent.TimeUnit;
/**
* @author Derek
*/
public class BiliBiliChanne... |
4ea09201-2d08-4df1-93b3-b82d6bf7efb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-09T20:40:22", "repo_name": "NathanielWroblewski/skyhero", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1037, "line_count": 34, "lang": "en", "doc_type": "text"... | https://github.com/NathanielWroblewski/skyhero | 262 | FILENAME: README.md | 0.253861 | SkyHero
===

Watch a video here:
[](https://youtu.be/HUTJNY7UE8o)
Play [here](https://ww... |
786c68ae-2f51-41cd-94c1-6a64215485cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-09 22:00:27", "repo_name": "LFSDeveloper/VoiceNoteTranslations", "sub_path": "/Sourcer Code/VoiceProcesing/app/src/main/java/com/mac/voiceprocesing/adaptors/LanguageSpinnerAdaptor.java", "file_name": "Language... | https://github.com/LFSDeveloper/VoiceNoteTranslations | 233 | FILENAME: LanguageSpinnerAdaptor.java | 0.26588 | package com.mac.voiceprocesing.adaptors;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.mac.voiceprocesing.R;
import com.mac.voiceprocesing.models.Language;
import java.util.ArrayList;
/**
* Created by florin on 2/6/2015.
*/
p... |
530ac436-9b0d-4a89-a514-13d9a9b0ee68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-19 09:53:46", "repo_name": "JonathanOgAnders/ZIZ1_", "sub_path": "/src/com/company/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1149, "line_count": 54, "lang": "en", "doc_type... | https://github.com/JonathanOgAnders/ZIZ1_ | 295 | FILENAME: Main.java | 0.292595 | package com.company;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
Deck deck = new Deck();
ArrayList<Animals> hand1 = new ArrayList<>();
ArrayList<Animals> hand2 = new ArrayList<>();
for (int i = 0; i < 5; i++)
{
han... |
b6b407ab-f228-4b28-a387-e54045d94089 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-25 19:46:39", "repo_name": "magalierambla/App2Java2", "sub_path": "/src/main/java/com/api/crowdlending/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1016, "line_count": 5... | https://github.com/magalierambla/App2Java2 | 201 | FILENAME: User.java | 0.194368 | package com.api.crowdlending.model;
import com.api.crowdlending.enumapp.SexeUser;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;
import javax.persistence.*;
import java.io.Serializable;
import java.util.D... |
5adfc4ef-5424-4b46-881f-58408ae6ea15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-24 16:38:27", "repo_name": "sakilaJayasooriya/FixedMe", "sub_path": "/app/src/main/java/com/example/pavithra/fixedme2/AddVehicles.java", "file_name": "AddVehicles.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/sakilaJayasooriya/FixedMe | 206 | FILENAME: AddVehicles.java | 0.261331 | package com.example.pavithra.fixedme2;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class AddVehicles extends AppCompatActivity {
public static String userId;
@Override
protected v... |
3cd145ff-8a63-4fd4-b96b-f4240be61bbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-12 05:04:21", "repo_name": "aaronchenac2/MeteorsWithBossCrapSC", "sub_path": "/Dummytar.java", "file_name": "Dummytar.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 71, "lang": "en", "doc_... | https://github.com/aaronchenac2/MeteorsWithBossCrapSC | 236 | FILENAME: Dummytar.java | 0.282196 | package pckg;
import java.awt.Image;
import java.net.URL;
import javax.swing.ImageIcon;
public class Dummytar
{
private double x;
private double y;
private int lives = 5;
private Image image;
public Dummytar( URL file, int x, int y )
{
initCraft( file, x... |
fe60d288-539b-4c0e-a435-0edbe78b52aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-08-29T21:32:58", "repo_name": "yimsea/toil-scripts", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1017, "line_count": 22, "lang": "en", "doc_type": "text", "blob_... | https://github.com/yimsea/toil-scripts | 249 | FILENAME: README.md | 0.206894 | ## University of California, Santa Cruz Genomics Institute
### Repository of Toil-based Genomic Pipelines
To install these pipelines, type: `pip install toil-scripts`
Entrypoints are supplied to pipelines that work with the current stable release of Toil:
- Fastq to BAM alignment: `toil-bwa`
- CGL RNA-seq Pipeli... |
44b5fde2-e881-45a4-a61e-62fe7066f16f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-02 16:33:37", "repo_name": "recicleaf/data-service", "sub_path": "/src/main/java/fh/fa/data/repository/converters/StringListToJsonConverter.java", "file_name": "StringListToJsonConverter.java", "file_ext": "ja... | https://github.com/recicleaf/data-service | 182 | FILENAME: StringListToJsonConverter.java | 0.235108 | package fh.fa.data.repository.converters;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import javax.persistence.AttributeConverter;
import java.io.IOException;
import java.util.List;
public class StringListToJsonConverter implements AttributeConverter... |
f213a07c-090c-4f63-b4f2-7b5c96816e2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-06 06:22:18", "repo_name": "SoftpaseFar/Android_SmartButiler", "sub_path": "/app/src/main/java/com/goo1e/smartbutiler/ui/QrCodeActivity.java", "file_name": "QrCodeActivity.java", "file_ext": "java", "file_size... | https://github.com/SoftpaseFar/Android_SmartButiler | 238 | FILENAME: QrCodeActivity.java | 0.255344 | package com.goo1e.smartbutiler.ui;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.widget.ImageView;
import com.goo1e.smartbutiler.R;
import com.xys.libzxing.zxing.encoding.EncodingUtils;
/**
* 我的二维码
* Created by SoftpaseFar on 2017/4/13.
... |
3bd72069-7501-4791-9bb4-ef85c26136ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-07T10:08:27", "repo_name": "nuxeo-sandbox/nuxeo-pullrequest", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1039, "line_count": 18, "lang": "en", "doc_type": "t... | https://github.com/nuxeo-sandbox/nuxeo-pullrequest | 250 | FILENAME: README.md | 0.217338 | # nuxeo-pullrequest
Nuxeo Pull Request WIP
This is some text
NXBT-1060: test PR to be merged from GitHub
NXBT-1060: test PR to be merged from NinjaReview
NXBT-1060: test PR created from GitHub API
NXBT-1060: test PR with squashed commits
NXBT-1060: test PR with squashed commits
test rebase and push for Jenkins
add a... |
eb051cf1-9e52-471f-a693-acd00cd2ae96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-24 13:54:40", "repo_name": "gtxcontentconnector/contentconnector", "sub_path": "/contentconnector-core/src/main/java/com/gentics/cr/template/VelocityTemplateWrapper.java", "file_name": "VelocityTemplateWrapper... | https://github.com/gtxcontentconnector/contentconnector | 275 | FILENAME: VelocityTemplateWrapper.java | 0.289372 | /*
*
*/
package com.gentics.cr.template;
import java.io.Serializable;
import org.apache.velocity.Template;
/**
* The Class VelocityTemplateWrapper.
*/
public class VelocityTemplateWrapper implements Serializable {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = -68706122590... |
641f310f-0698-47d5-a49b-5e0159fd87b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-24 21:43:10", "repo_name": "KyleMelton32/autonomy", "sub_path": "/Autonomy/app/src/main/java/nasa_rmc/autonomy/data/Itinerary.java", "file_name": "Itinerary.java", "file_ext": "java", "file_size_in_byte": 982,... | https://github.com/KyleMelton32/autonomy | 218 | FILENAME: Itinerary.java | 0.276691 | package nasa_rmc.autonomy.data;
import java.util.ArrayList;
import nasa_rmc.autonomy.data.Coordinates;
/**
* Created by atomlinson on 3/31/17.
*/
public class Itinerary {
private ArrayList<Coordinates> path;
private ArrayList<Coordinates> getPath() { return path; }
public enum ItineraryPurpose {
... |
e9fcb02b-fd05-473a-bb27-2cabf30d892b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-01 16:36:52", "repo_name": "SarthakQss/publicapi", "sub_path": "/demo/src/main/java/com/test/demo/controller/MyController.java", "file_name": "MyController.java", "file_ext": "java", "file_size_in_byte": 1111,... | https://github.com/SarthakQss/publicapi | 210 | FILENAME: MyController.java | 0.23793 | package com.test.demo.controller;
import java.io.IOException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org... |
384d97d0-4444-4bb7-a55d-7b58a9cb3d9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-22 09:30:00", "repo_name": "wangtingbang/tongzhuangzhuang", "sub_path": "/src/main/java/me/tongzhuangzhuang/business/service/impl/CustCustomerBaseServiceImpl.java", "file_name": "CustCustomerBaseServiceImpl.ja... | https://github.com/wangtingbang/tongzhuangzhuang | 258 | FILENAME: CustCustomerBaseServiceImpl.java | 0.285372 | package me.tongzhuangzhuang.business.service.impl;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import me.tongzhuangzhuang.business.biz.CustCustomerBaseBusiness;
import me.... |
cfc9667a-5420-42b1-aa7f-171b6bb16729 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-11-05T21:19:45", "repo_name": "lorenz/geoip-updater", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 983, "line_count": 27, "lang": "en", "doc_type": "text", "blob_... | https://github.com/lorenz/geoip-updater | 238 | FILENAME: README.md | 0.242206 | # GeoIP Updater
*GeoIP Updater Microservice*
## Building
To build this project, you need my custom Docker build extension dockpipe, which you can get here [here](https://github.com/lorenz/dockpipe).
Then you can just type
```
$ dockpipe geoip-updater:dev .
```
to get an image built.
## Environment variables
| Name | ... |
fbc280a0-b96d-4f1a-9551-a48121be981a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-16 09:13:34", "repo_name": "luosv/Java-NIO-Netty", "sub_path": "/NIO-Netty/src/nio/UseFileLocks.java", "file_name": "UseFileLocks.java", "file_ext": "java", "file_size_in_byte": 1043, "line_count": 43, "lang":... | https://github.com/luosv/Java-NIO-Netty | 243 | FILENAME: UseFileLocks.java | 0.295027 | package nio;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
/**
* 文件锁定
* <p>
* Created by luosv on 2017/9/15 0015.
*/
public class UseFileLocks {
private static final int start = 10;
private static final int end = 20;
public static void main... |
8f5a30eb-5bf9-4302-b894-c567958a511b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-15 20:31:12", "repo_name": "jasonkellydk/KEA_3_SEMESTER_EXAM_6_THREADS", "sub_path": "/src/dk/kea/examples/ThreadSynchronizationExample.java", "file_name": "ThreadSynchronizationExample.java", "file_ext": "jav... | https://github.com/jasonkellydk/KEA_3_SEMESTER_EXAM_6_THREADS | 227 | FILENAME: ThreadSynchronizationExample.java | 0.27513 | package dk.kea.examples;
import dk.kea.ExampleInterface;
import dk.kea.examples.Thread.PrintCount;
import dk.kea.examples.Thread.SynchronizeThread;
public class ThreadSynchronizationExample implements ExampleInterface
{
@Override
public String getDescription()
{
return "This example will show how ... |
7db60507-8671-4d4c-9e1e-ce4f43d16afc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-01-26T07:58:22", "repo_name": "Missybur/missy_t2-css-design.html", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1118, "line_count": 33, "lang": "en", "doc_type": ... | https://github.com/Missybur/missy_t2-css-design.html | 298 | FILENAME: README.md | 0.221351 | # missy_t2-css-design.html
Class or ID?
<!DOCTYPE html>
<head>
<title>Missy's Blog</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="your-stylesheet-link-here.css">
</head>
<main>
<h1>Class ID say what?</h1>
<h2>When to use Class vs ID</h2>
<h4>1-25-15</h4>
<section>
<p>
... |
18934a6a-e848-4907-b326-ff5bb17d470a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-17 20:56:34", "repo_name": "danieldelira/gjpp", "sub_path": "/src/main/java/com/itseekers/webservices/restcontroller/FranquiciaRestController.java", "file_name": "FranquiciaRestController.java", "file_ext": "j... | https://github.com/danieldelira/gjpp | 218 | FILENAME: FranquiciaRestController.java | 0.23092 | /*
* 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.itseekers.webservices.restcontroller;
import com.itseekers.webservices.service.FranquiciaService;
import com.itsee... |
76e81bc3-39ef-45b1-9b92-a74a9fcfc812 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-17 10:29:36", "repo_name": "spatack/zookeeper-distributed-lock", "sub_path": "/src/main/java/com/example/demo/service/AbstractZookeeperLock.java", "file_name": "AbstractZookeeperLock.java", "file_ext": "java",... | https://github.com/spatack/zookeeper-distributed-lock | 254 | FILENAME: AbstractZookeeperLock.java | 0.23092 | package com.example.demo.service;
import org.I0Itec.zkclient.ZkClient;
import org.apache.curator.framework.recipes.locks.InterProcessMutex;
/**
* zk分布式锁抽象类
*/
public abstract class AbstractZookeeperLock implements Lock {
private static final String HOST = "localhost:2182";
protected ZkClient client = new Z... |
a3cc7e9e-5175-4469-b84d-e6b70e89b0a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-03-05T22:21:53", "repo_name": "nkeim/PennFluidsCRG", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1061, "line_count": 19, "lang": "en", "doc_type": "text", "blob_... | https://github.com/nkeim/PennFluidsCRG | 227 | FILENAME: README.md | 0.249447 | PennFluidsCRG
=============
**Important:** Check out the "Wiki" tab above!
These are some example IPython Notebooks for us to share as we learn. GitHub is like Dropbox, but better
for passing around code and managing shared projects, because we get a high level of control over
whether our edits affect the rest of the... |
beed84ed-f842-4955-a652-8de6a26c8f7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-26 23:48:10", "repo_name": "kevinlin47/Projects", "sub_path": "/AndroidApp/Java/CowActivity.java", "file_name": "CowActivity.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 40, "lang": "en"... | https://github.com/kevinlin47/Projects | 174 | FILENAME: CowActivity.java | 0.253861 | package nivek.learnnumbersmore;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.RelativeLayout;
import android.view.View.OnClickListener;
import android.view.View;
import android.media.MediaPlayer;
public class CowActivity extends AppCompatActivity {
Me... |
2a364ddf-a824-4ed7-94d2-660a7b496b9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-04 08:14:31", "repo_name": "Catfeeds/myWorkspace", "sub_path": "/hljlivelibrary/src/main/java/com/hunliji/hljlivelibrary/models/LiveIntroItem.java", "file_name": "LiveIntroItem.java", "file_ext": "java", "file... | https://github.com/Catfeeds/myWorkspace | 238 | FILENAME: LiveIntroItem.java | 0.246533 | package com.hunliji.hljlivelibrary.models;
import com.hunliji.hljcommonlibrary.models.Work;
import com.hunliji.hljcommonlibrary.models.product.ShopProduct;
/**
* Created by luohanlin on 2017/12/4.
*/
public class LiveIntroItem {
private boolean isIntroducing;
private Work work;
private ShopProduct prod... |
df1fea36-25af-4e36-8a5a-d36e17ef423b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-08 11:39:02", "repo_name": "adrianrogalski/java-advanced-problems", "sub_path": "/src/main/java/homework/classesandinterfaces/p1/UserValidator.java", "file_name": "UserValidator.java", "file_ext": "java", "fil... | https://github.com/adrianrogalski/java-advanced-problems | 184 | FILENAME: UserValidator.java | 0.285372 | package homework.classesandinterfaces.p1;
import java.util.Locale;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class UserValidator {
public String validateEmails(String inputEmail){
class Email {
private String address;
private Email(String address) {
... |
6a20f66c-73c1-4061-8646-99a553d78bc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-09 06:47:46", "repo_name": "PandaQAQ/PandaMvp", "sub_path": "/sdk_core/src/main/java/com/pandaq/appcore/utils/system/ContactUtils.java", "file_name": "ContactUtils.java", "file_ext": "java", "file_size_in_byte... | https://github.com/PandaQAQ/PandaMvp | 251 | FILENAME: ContactUtils.java | 0.218669 | package com.pandaq.appcore.utils.system;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import androidx.annotation.NonNull;
/**
* Created by huxinyu on 2018/5/30.
* Email : panda.h@foxmail.com
* <p>
* Description :联系人公共方法,如打电话,发短信
*/
public class ContactUtils {
priv... |
4d136ecb-abff-4462-9548-0c44aba20447 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-04 15:31:13", "repo_name": "alexylon/EduJava", "sub_path": "/exercises/src/me/alexandroff/misc/animals/Animal.java", "file_name": "Animal.java", "file_ext": "java", "file_size_in_byte": 1022, "line_count": 59,... | https://github.com/alexylon/EduJava | 239 | FILENAME: Animal.java | 0.289372 | package me.alexandroff.misc.animals;
public class Animal {
private String name;
private int age;
String str = "Variable from Animal";
Animal(String name, int age) {
this.name = name;
this.age = age;
}
public String getName() {
return name;
}
public void setNam... |
7243ab5a-9061-4160-9461-b60335f5da76 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-06 05:53:12", "repo_name": "jakarta1024/keycloak-login-spi", "sub_path": "/src/main/java/cn/porsche/keycloak/spi/authenticator/password/PasswordAuthenticatorFactory.java", "file_name": "PasswordAuthenticatorFa... | https://github.com/jakarta1024/keycloak-login-spi | 244 | FILENAME: PasswordAuthenticatorFactory.java | 0.23793 | package cn.porsche.keycloak.spi.authenticator.password;
import cn.porsche.keycloak.spi.authenticator.BaseAuthenticatorFactory;
import cn.porsche.keycloak.spi.util.LoginType;
import com.google.common.collect.Lists;
import java.util.List;
import org.keycloak.provider.ProviderConfigProperty;
public class PasswordAuthent... |
c04557ac-cd5e-4596-83f6-3a2b06b4e742 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-14T06:56:24", "repo_name": "thomasX/nfc-util", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 57, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/thomasX/nfc-util | 229 | FILENAME: README.md | 0.27048 | nfc-util
========
A small and simple java nfc writer/reader for the mifare ultralight C Tags written in Java 1.6
desktop usage:
==============
1.) Reading a Tag:
------------------
NFCReader reader = new NFCReader();
Properties tagContent=reader.read();
String tagID=tagContent.get(NFCReader.PROPERTY_TYPE_TAG... |
2dabbf4b-7d8d-4ebc-ab55-a3bbea7a008b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-27 19:06:25", "repo_name": "davidhowick/AddressesTracker", "sub_path": "/AddressesTracker/src/main/java/com/accela/java/model/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/davidhowick/AddressesTracker | 247 | FILENAME: Address.java | 0.239349 | package com.accela.java.model;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Entity
@Table(name="address")
@IdClass(AddressID.class)
public class Address implements Serializable {
@Id
private Long id;
@NotNull
@Column(name = "street")
priv... |
a68f8f2d-2ef9-4dbc-9346-537173c8e65f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-24 14:04:12", "repo_name": "cahitb/airline-project", "sub_path": "/src/main/java/com/finartz/airline/controllers/AirlineCompanyController.java", "file_name": "AirlineCompanyController.java", "file_ext": "java"... | https://github.com/cahitb/airline-project | 188 | FILENAME: AirlineCompanyController.java | 0.253861 | package com.finartz.airline.controllers;
import com.finartz.airline.entities.Company;
import com.finartz.airline.models.CompanyRequest;
import com.finartz.airline.services.AirlineCompanyService;
import lombok.AllArgsConstructor;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;... |
816a69ee-83d9-4fea-b857-1beb7f4bcf2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-02 07:55:46", "repo_name": "wenka/JavaHighDevelopment", "sub_path": "/design-patterns/structure/src/main/java/c_filter/People.java", "file_name": "People.java", "file_ext": "java", "file_size_in_byte": 1035, "... | https://github.com/wenka/JavaHighDevelopment | 247 | FILENAME: People.java | 0.26588 | package c_filter;
/**
* Created with IDEA
* author:wenka wkwenka@gmail.com
* Date:2019/01/10 下午 03:25
* Description:
*/
public class People {
public enum Gender {
male, female
}
private String name;
private int age;
private Gender gender;
public People(String name, int age, G... |
e21dc03c-f87e-4780-b38d-f523946860ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 19:28:19", "repo_name": "1nilsh/Verteilte-Anwendungssysteme-WS19-20", "sub_path": "/customer/src/main/java/bz/nils/dev/va19/customer/connector/OrderRestConnectorRequester.java", "file_name": "OrderRestConne... | https://github.com/1nilsh/Verteilte-Anwendungssysteme-WS19-20 | 201 | FILENAME: OrderRestConnectorRequester.java | 0.246533 | package bz.nils.dev.va19.customer.connector;
import bz.nils.dev.va19.customer.component.structure.CartItem;
import feign.Feign;
import feign.gson.GsonDecoder;
import feign.gson.GsonEncoder;
import feign.okhttp.OkHttpClient;
import org.springframework.stereotype.Service;
@Service
public class OrderRestConnectorRequest... |
cd3cf409-283b-4816-9d1f-f5708afa9873 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-31T13:39:09", "repo_name": "esalim/PerBAC", "sub_path": "/hardware/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1056, "line_count": 20, "lang": "en", "doc_type": "text", "bl... | https://github.com/esalim/PerBAC | 236 | FILENAME: README.md | 0.282196 | ## File Description
We find in this folder the different code programs within the Arduino and Raspberry boards.
### Arduino board:
The source code present in arduino cards allows the ultrasonic sensors to detect by means of audible impulsons the presence of an obstable. This
data is then sent to the Arduinos boards ... |
efbc486d-d1d7-4a25-ba8b-201d764843c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-08-31T14:28:22", "repo_name": "sharikul/BlogPad", "sub_path": "/docs/posting/a_static_post.md", "file_name": "a_static_post.md", "file_ext": "md", "file_size_in_byte": 968, "line_count": 27, "lang": "en", "do... | https://github.com/sharikul/BlogPad | 233 | FILENAME: a_static_post.md | 0.252384 | # Static Posts
A BlogPad static post is a file that stores a post's content. **That's it**. Static posts should have the extension **.bpp** and be stored in the directory specified as the static posts directory.
This is the format of a static post:
```
-- BEGIN METADATA
Title: Post title
Date: Year-Month-Date Hour:... |
d483055a-c89d-4211-ab57-7ce5f08594c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-16 09:08:50", "repo_name": "headstar/iam", "sub_path": "/iam-web/src/main/java/com/headstartech/iam/web/hateoas/assemblers/RoleResourceAssembler.java", "file_name": "RoleResourceAssembler.java", "file_ext": "j... | https://github.com/headstar/iam | 206 | FILENAME: RoleResourceAssembler.java | 0.240775 | package com.headstartech.iam.web.hateoas.assemblers;
import com.headstartech.iam.common.dto.Role;
import com.headstartech.iam.web.controllers.RoleRestController;
import com.headstartech.iam.common.resources.RoleResource;
import org.springframework.hateoas.mvc.ResourceAssemblerSupport;
import org.springframework.stereo... |
84c3cbd3-f86e-4575-83cd-1cf79d1c3220 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-18T10:55:01", "repo_name": "ojos/stock_crawler", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 51, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/ojos/stock_crawler | 266 | FILENAME: README.md | 0.274351 | # Python Qiita Stock Crawler
This is the crawler that you want to synchronize the Qiita stock and
Slack channel running on Python.
This system is suitable for GoogleAppEngine.
If you want to create crawler for your teams Slack,
customize this codes according to the following procedure.
## development setup
clone fr... |
25a7fe30-fec9-4728-9036-5dd29e44b8f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-17 15:52:33", "repo_name": "ruxi-savina/Telecommunication-Services", "sub_path": "/web/src/main/java/intrusii/web/converter/SubscriptionConverter.java", "file_name": "SubscriptionConverter.java", "file_ext": "... | https://github.com/ruxi-savina/Telecommunication-Services | 173 | FILENAME: SubscriptionConverter.java | 0.26588 | package intrusii.web.converter;
import intrusii.core.model.Subscription;
import intrusii.web.dto.SubscriptionDto;
import org.springframework.stereotype.Component;
@Component
public class SubscriptionConverter extends BaseConverter<Subscription, SubscriptionDto> {
@Override
public Subscription convertDtoToMode... |
6728a56a-b500-4d1e-b436-c7992da5abf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-19 12:56:24", "repo_name": "NTRsolutions/FunwithStatus", "sub_path": "/app/src/main/java/com/epsilon/FunwithStatus/jsonpojo/mainhome/HomeData.java", "file_name": "HomeData.java", "file_ext": "java", "file_size... | https://github.com/NTRsolutions/FunwithStatus | 254 | FILENAME: HomeData.java | 0.253861 | package com.epsilon.FunwithStatus.jsonpojo.mainhome;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
public class HomeData {
@SerializedName("current_page")
@Expose
public int currentPage;
@SerializedName... |
5030d9b5-0788-4617-82a4-b48861651f7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-04 02:38:51", "repo_name": "LJGuardiola-zz/Final-Seminario", "sub_path": "/src/main/java/gui/util/AlertFactory.java", "file_name": "AlertFactory.java", "file_ext": "java", "file_size_in_byte": 1017, "line_coun... | https://github.com/LJGuardiola-zz/Final-Seminario | 204 | FILENAME: AlertFactory.java | 0.272025 | package gui.util;
import com.jfoenix.controls.JFXAlert;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXDialogLayout;
import io.datafx.controller.context.ApplicationContext;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.... |
6b8eed56-e3ba-4a1b-9657-398feb8c6aed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-11 07:43:59", "repo_name": "z-zxq-123456/myproject", "sub_path": "/personalMybatics/database_pool/src/main/java/com/qxz/test/pool/MyConnection.java", "file_name": "MyConnection.java", "file_ext": "java", "file... | https://github.com/z-zxq-123456/myproject | 237 | FILENAME: MyConnection.java | 0.247987 | package com.qxz.test.pool;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* @description
* @author: zhouxqh
* @create: 2020-03-10 22:34
**/
public class MyConnection {
private Connection connection;
private boolean isBusy;
public M... |
4a5b5c94-1f3a-4eca-9fc8-ffc13d4cca4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-01T08:36:46", "repo_name": "SveinJH/TheWineBase", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1097, "line_count": 29, "lang": "en", "doc_type": "text", "blob_... | https://github.com/SveinJH/TheWineBase | 279 | FILENAME: README.md | 0.206894 | # The Wine Base
This is a hobby project I am currently working on.
It will use the public API from Norways "Vinmonopolet" to fetch and display useful information about its products and stores.
User authentication and management will be provided by Firebase's Authentication REST API.
## Check it out
Even though the pro... |
d1f0c30f-5240-413c-a45b-fa751bc51ec6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-11 09:17:38", "repo_name": "songjianzaina/androidLib", "sub_path": "/base/code/com/insworks/lib_base/utils/ToastUtil.java", "file_name": "ToastUtil.java", "file_ext": "java", "file_size_in_byte": 1081, "line_c... | https://github.com/songjianzaina/androidLib | 241 | FILENAME: ToastUtil.java | 0.277473 | package com.insworks.lib_base.utils;
import android.content.Context;
import android.widget.Toast;
/**
* Created by songjian on 2017/1/6.
*/
public class ToastUtil {
private static Context mContext;
private static final String TAG = "ToastUtil";
private static Toast toast;
private ToastUtil() {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.