id stringlengths 36 36 | meta stringlengths 429 697 | code_content large_stringlengths 612 1.26k |
|---|---|---|
1e7c8c40-9fb3-4150-a55f-88e010854872 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-17 17:52:53", "repo_name": "andreas-saltsberg/NutikorvAlphaRelease", "sub_path": "/app/src/main/java/com/nutikorv/andreas/nutikorvalpha/Adapters/GridViewScrollable.java", "file_name": "GridViewScrollable.java"... | package com.nutikorv.andreas.nutikorvalpha.Adapters;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.ViewGroup;
import android.widget.GridView;
/**
* Created by ANDREAS on 27.08.2016.
*/
public class GridViewScrollable extends GridView {
pu... |
91295dbe-7c98-4328-a4b2-146c6163d9db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-10 19:31:25", "repo_name": "simplyti/simple-server", "sub_path": "/acceptance/src/test/java/com/simplyti/service/steps/IdentityToken.java", "file_name": "IdentityToken.java", "file_ext": "java", "file_size_in_... | package com.simplyti.service.steps;
import com.jsoniter.annotation.JsonCreator;
import com.jsoniter.annotation.JsonProperty;
import lombok.Getter;
import lombok.experimental.Accessors;
@Getter
@Accessors(fluent=true)
public class IdentityToken {
@JsonProperty("access_token")
private final String accessToken;
@J... |
b096582b-9c92-41ed-8500-1c0f43b25eec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-15 13:03:32", "repo_name": "cRoptin/TP-VV", "sub_path": "/VV-TP7/processors/TestWriter.java", "file_name": "TestWriter.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 39, "lang": "en", "doc... | package org.apache.commons.math4.processors;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class TestWriter {
private static PrintWriter fileWriter;
public static void writeLog() {
fileWriter.close();
}
public static void count(String string, int count) {
... |
df8d4ee4-912a-4fe8-842a-bc441ca591b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-29T11:31:24", "repo_name": "shashwatkathuria/FlappyBird-GameDevelopment", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 34, "lang": "en", "d... | # FlappyBird-GameDevelopment   
----------------------------
ABOUT THE PROJECT
----------------------------
This is ... |
092fce6c-6cef-4015-88e7-623386eb7abd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-08 16:36:23", "repo_name": "Susshki/learn", "sub_path": "/Springboot/webProjFilterFields13/src/main/java/com/sushma/springboot/webProjFilterFields13/FilterController.java", "file_name": "FilterController.java"... | package com.sushma.springboot.webProjFilterFields13;
import org.springframework.http.converter.json.MappingJacksonValue;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.fasterxml.jackson.databind.ser.FilterProvider;
import com.faster... |
040122e1-5756-4d3b-a9e0-0d6b11af6dba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-14T20:32:35", "repo_name": "PreemptRaspberry/Realtime-Evaluation", "sub_path": "/GPIO-Latency/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 26, "lang": "e... | # configure the sourcecode accordingly
- configure the baudrate in main.c
# compile and flash for Atmega32
- find out your jtag device id:
- dmesg -> copy the serial number
- export `JTAG_DEVICE=YOUR_SERIAL`
- `make all.upload`
# compile and flash for Atmega328P (Arduino Uno)
- find out the port on which the Arduino ... |
17778992-f827-4d0b-9514-699e8c598cc2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-12 19:44:58", "repo_name": "omgpotatoes/DEANQA", "sub_path": "/src/cs2731/TrainingFileData.java", "file_name": "TrainingFileData.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 35, "lang": ... | package cs2731;
/**
* Representation of all information needed from a file to train on the data
* @author Eric Heim
*
*/
public class TrainingFileData {
/** The name of the file */
public String filename;
/** The sentences in the document */
public String document;
/** The questions for the above document */
... |
c34ed1c1-3ccd-4613-8bd6-5bb2a22751a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-12 08:37:31", "repo_name": "salmanit/MyDemoTest", "sub_path": "/app/src/main/java/com/sage/mydemotest/adapter/AdapterRVanima.java", "file_name": "AdapterRVanima.java", "file_ext": "java", "file_size_in_byte": ... | package com.sage.mydemotest.adapter;
import android.view.View;
import android.widget.TextView;
import com.sage.mydemotest.R;
/**
* Created by Sage on 2016/4/1.
*/
public class AdapterRVanima extends AdapterVHbase {
@Override
public int getLayoutID() {
return R.layout.item_rv_anima;
}
@Over... |
30e73120-65a8-4834-a216-13db75c1d9db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-21 03:52:58", "repo_name": "wlBoy/center", "sub_path": "/scjs170602/src/com/seecen/exam/day0808/Pet.java", "file_name": "Pet.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count": 66, "lang": "en"... | package com.seecen.exam.day0808;
/**
* 宠物实体类
*
* @scjs170602
* @author 【万磊】
* @2017年8月8日
*/
public abstract class Pet {
private String name;// 名字
private int healthy = 60;// 健康值
private int lover = 20;// 亲密值
public Pet() {
super();
}
public Pet(String name, int healthy, int lover) {
super();
this.... |
4789fae0-af13-4993-bc93-fe2aef84856b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-20 09:37:20", "repo_name": "NickMeeus/Bierhuis", "sub_path": "/src/main/java/be/vdab/services/BestelbonServiceImpl.java", "file_name": "BestelbonServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1009... | package be.vdab.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import be.vdab.entities.Bestelbon;
import be.vdab.repositories.BestelbonRepository;
@Service
public class BestelbonServiceImpl implements Bestelbo... |
84b2ae1c-13b5-4ef5-97f8-667ad9c993db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-14 23:47:16", "repo_name": "Marco-Jojojo/billing-inquiry", "sub_path": "/src/main/java/com/pei/billinginquiry/insuredbilling/controller/InsuredBillingController.java", "file_name": "InsuredBillingController.ja... | package com.pei.billinginquiry.insuredbilling.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Req... |
9c389bca-ab0b-4e14-8800-6772aa0acbf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17 00:12:26", "repo_name": "n0misain/6-1_source_from_JADX", "sub_path": "/sources/com/twitter/sdk/android/tweetui/ResetTweetCallback.java", "file_name": "ResetTweetCallback.java", "file_ext": "java", "file_siz... | package com.twitter.sdk.android.tweetui;
import com.twitter.sdk.android.core.Callback;
import com.twitter.sdk.android.core.Result;
import com.twitter.sdk.android.core.TwitterException;
import com.twitter.sdk.android.core.models.Tweet;
class ResetTweetCallback extends Callback<Tweet> {
BaseTweetView baseTweetView;... |
02339111-d112-456d-baa2-ecabf3e5fe43 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-08-06T17:22:48", "repo_name": "brudgers/VectorScriptTools", "sub_path": "/RenderworksScripts/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 15, "lang": "en", ... | <p>RenderworksScripts was written for Vectorworks 2008. It was written based upon the Vectorscript referece: </p>
<p>http://developer.vectorworks.net/index.php?title=VS:Function_Reference_Appendix </p>
<p>Some of the commands require Renderworks. Others manipulate the standard drawing modes.</p>
<p>Originally, there... |
facad3fa-59d4-4896-9696-8ea03b8fe401 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-07T05:51:22", "repo_name": "RangaHax/Simple-Palpatine", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 13, "lang": "en", "doc_type": "text", ... | # Simple-Palpatine
A simple lua script to go with the [Secret Palpatine](https://steamcommunity.com/sharedfiles/filedetails/?id=597522954) [Tabletop Simulator](https://store.steampowered.com/app/286160/Tabletop_Simulator/) game.
Tells players the information they need to know before the game starts because who trusts ... |
7319ee82-1d3b-42dd-826f-f3387bdf3c12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-20 11:13:45", "repo_name": "Cathrine-c/Spring-Framework", "sub_path": "/Spring-Blog/src/main/java/org/example/config/ExceptionAdvice.java", "file_name": "ExceptionAdvice.java", "file_ext": "java", "file_size_i... | package org.example.config;
import lombok.extern.slf4j.Slf4j;
import org.example.exception.AppException;
import org.example.model.Response;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annota... |
7d8679a4-b18a-4e00-83ea-d138da81bb48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 15:32:57", "repo_name": "senakaradenizz/map-service", "sub_path": "/map-service/src/main/java/com/example/mapservice/controller/CountryController.java", "file_name": "CountryController.java", "file_ext": "j... | /*
* 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.mapservice.controller;
import com.example.mapservice.model.CountryEntity;
import com.example.mapservice.service.Co... |
baf0253d-42ff-4f8a-98b0-aac854aaaf00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 10:52:24", "repo_name": "NguyenKhacLam/fabulous", "sub_path": "/app/src/main/java/com/project/fabulous/api/ApiBuilder.java", "file_name": "ApiBuilder.java", "file_ext": "java", "file_size_in_byte": 1008, "l... | package com.project.fabulous.api;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class ApiBuilder {
private static Api api;
pub... |
00f3dc39-09cf-4837-aec9-b0c0ecc78de4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-12-12T14:47:56", "repo_name": "plone/guillotina", "sub_path": "/docs/source/training/extending/configuration.md", "file_name": "configuration.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 30... | # Configuration
All application extension configuration is defined with Guillotina's `configure`
module and the `app_settings` object.
Defining content types, behaviors, services, etc all require the use of the
`configure` module. Guillotina reads all the registered configuration in code
for each install application ... |
2f64e359-6766-4f04-abbd-0399340cf1f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-12 13:22:50", "repo_name": "liangtao3838/sysmgr", "sub_path": "/src/main/java/com/sys/mgr/service/Impl/SysServiceGuiServiceImpl.java", "file_name": "SysServiceGuiServiceImpl.java", "file_ext": "java", "file_si... | package com.sys.mgr.service.Impl;
import com.sys.mgr.dao.SysServiceGuiDao;
import com.sys.mgr.model.NodeInfoVo;
import com.sys.mgr.service.SysCallRelaGuiService;
import com.sys.mgr.service.SysServiceGuiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service... |
ae28e6fa-be68-4124-bff8-cf26a751801b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-08 19:05:49", "repo_name": "jasons157/cowboywiki", "sub_path": "/src/main/java/personal/jasonevans/cowboywiki/entity/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1007, "line_c... | package personal.jasonevans.cowboywiki.entity;
import javax.persistence.*;
/**
* A POJO class that maps to the "role"
* table in the cowboy_project schema.
*
* Every NEW role type is set to autoincrement that id,
* so all numbers map to a role type.
*/
@Entity
@Table(name = "role")
public class Role {
@Id
... |
43219f55-9882-4c2e-8b83-dd35f8df0ecd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-03 08:58:36", "repo_name": "Nimesh175/Royal-institute-hibernate", "sub_path": "/src/lk/ijse/royal/main/AppInitlizer.java", "file_name": "AppInitlizer.java", "file_ext": "java", "file_size_in_byte": 1007, "line... | package lk.ijse.royal.main;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import java.io.IOException;
public clas... |
95c6a6aa-d348-480c-8110-68082481c696 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-09 01:23:14", "repo_name": "P2PRobotics/PumaRobo18", "sub_path": "/P2PTeamCode/src/main/java/org/firstinspires/ftc/teamcode/EncoderTest.java", "file_name": "EncoderTest.java", "file_ext": "java", "file_size_in... | package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import org.firstinspires.ftc.robotcore.external.Telemetry;
... |
5957c11e-e176-49c8-b0c0-fdd527ca273c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-05T06:55:41", "repo_name": "rahafoundation/dev-blog", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1007, "line_count": 27, "lang": "en", "doc_type": "text", "b... | # dev-blog
# This codebase is no longer maintained.
Blog of the Raha software development team. Rendered using Github Pages' Jekyll
integration.
## Adding articles
1. Create a file in `_posts/` with the following title format:
`yyyy-mm-dd-title.md`
1. Add the [Jekyll front matter](https://jekyllrb.com/docs/fr... |
d8b82ece-8ad5-45c7-8bb0-5a96e4bb50f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 13:16:52", "repo_name": "IvascuVlad/Java", "sub_path": "/Lab8/Album.java", "file_name": "Album.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 36, "lang": "en", "doc_type": "code", "blob... | import com.github.javafaker.Faker;
import java.util.Random;
public class Album {
Database database;
String name;
Artist artist;
int release_year;
Faker faker = new Faker();
Random random = new Random();
public Album(Database database, Artist artist) {
this.database = database;
... |
4e1e5cbd-21e8-4755-bc4e-0723ba7394b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-02T03:59:08", "repo_name": "matheuscas/realworld-starter-kit", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 23, "lang": "en", "doc_type": "... | # 
> ### [Sanic](https://github.com/channelcat/sanic) codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.
### [Demo](https://github.com/gothinkster/realworld) ... |
9f09cd33-af2d-4127-b478-448378dc6f4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-21 09:13:04", "repo_name": "happyxiaoha/plalform-gateway", "sub_path": "/gateway-web/src/main/java/cn/dceast/platform/gateway/auth/util/ReadFileReplace.java", "file_name": "ReadFileReplace.java", "file_ext": "... | package cn.dceast.platform.gateway.auth.util;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public class ReadFileReplace {
public static void main(String[] args) {
try {
// re... |
6c34ffd5-3bea-455d-85fb-edfb788780b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-18 19:13:07", "repo_name": "SteamDiver/YourMovies", "sub_path": "/YourMoviesApi/src/main/java/edu/vsu/YourMoviesApi/domain/dto/GenreDTO.java", "file_name": "GenreDTO.java", "file_ext": "java", "file_size_in_by... | package edu.vsu.YourMoviesApi.domain.dto;
public class GenreDTO {
// private String username;
private String name;
private int id;
// public GenreDTO(String username, String name) {
// this.username = username;
// this.name = name;
// }
public GenreDTO(String name, int id) {
... |
535c08bf-dae0-4fe9-85aa-a62fd8709e5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-26 02:37:25", "repo_name": "yiranyyu/2019SummerBlogBackend_Deprecated", "sub_path": "/src/main/java/buaasoft/blog/utils/Responses.java", "file_name": "Responses.java", "file_ext": "java", "file_size_in_byte": ... | package buaasoft.blog.utils;
import com.alibaba.fastjson.JSONObject;
/**
* @author Yirany
* @version 1.0
* @since 8/25/2019
**/
public class Responses {
public static String userNotFoundResponse(String username) {
JSONObject response = new JSONObject();
response.put(Constants.STATUS, false);
... |
15bec491-6475-45e2-a526-2178b662c525 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-17 00:14:48", "repo_name": "DanielSer1996/MWSI-Projekt", "sub_path": "/src/main/java/i5b5/mwsi/services/dto/LicenseCategoryData.java", "file_name": "LicenseCategoryData.java", "file_ext": "java", "file_size_in... | package i5b5.mwsi.services.dto;
import i5b5.mwsi.entities.DrivingLicense;
import i5b5.mwsi.entities.LicenseCategory;
import java.util.ArrayList;
import java.util.List;
public class LicenseCategoryData
{
private long categoryId;
private String categoryType;
private String description;
public LicenseC... |
528a1ba7-401a-4137-b6a0-342dda7cab6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-04 20:59:21", "repo_name": "mahbubmunna/diu_transport", "sub_path": "/app/src/main/java/com/moonssoft/diubus/BusData.java", "file_name": "BusData.java", "file_ext": "java", "file_size_in_byte": 1007, "line_cou... | package com.moonssoft.diubus;
/**
* Created by MoonS on 25-01-17.
*/
public class BusData {
private String BusName;
private String BusTime;
private int mImageResource;
public BusData(String mBusName, String mBusTime, int mImageResource) {
this.BusName = BusName;
this.BusTime = Bus... |
e285fac6-810e-4257-a344-c8c317e2c31a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-19 15:12:02", "repo_name": "ranjanasisodia/Spring-boot-application", "sub_path": "/src/main/java/com/bhaiti/kela/controllers/AuthorController.java", "file_name": "AuthorController.java", "file_ext": "java", "f... | package com.bhaiti.kela.controllers;
import java.util.List;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframe... |
89d78226-d8ca-4f72-a9d9-20d4406167e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-24T09:28:46", "repo_name": "AliceMenzie/gatsby-portfolio", "sub_path": "/src/projects/ca-react.md", "file_name": "ca-react.md", "file_ext": "md", "file_size_in_byte": 1007, "line_count": 42, "lang": "en", ... | ---
title: Libro
stack: Ruby, Ruby on Rails, jS, React & Bootstrap
deployment: Heroku & Netlify
snippet: lorem ipsum dolor sit amet
slug: ca-react-application
thumb: ../images/ca-react.png
---
### The Challenge
Libro is a fullstack application aimed at book lovers and enthusiasts.
It is primarily for those who wish to... |
3294fea2-5509-452e-9460-00987a1229a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-26 21:38:53", "repo_name": "wangsihao/SoftwareDevelopment", "sub_path": "/GroupProject/SDPCryptogram/app/src/main/java/edu/gatech/seclass/sdpcryptogram/Cryptogram.java", "file_name": "Cryptogram.java", "file_e... | package edu.gatech.seclass.sdpcryptogram;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
public class Cryptogram {
protected String encodedPhrase;
protected String solutionPhrase;
protected int cryptogramID = -1;
public Cryptogram () { }
public Cryptogram ... |
816d9f85-cd0f-47ad-aabf-07a039c5a9ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 12:24:46", "repo_name": "avshabavsha/rabbitmqplainjava", "sub_path": "/src/main/java/com/rabbitmq/tutorial/RabbitHelper.java", "file_name": "RabbitHelper.java", "file_ext": "java", "file_size_in_byte": 1007... | package com.rabbitmq.tutorial;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import java.io.IOException;
import java.net.URISyntaxException;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import jav... |
798d7357-8105-4086-a228-3106a8e959f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 12:46:53", "repo_name": "abhi1505/Hostel-Information", "sub_path": "/src/main/java/com/first/controller/service/Hostel_feedbackservice/Hostel_feedbackserviceimp.java", "file_name": "Hostel_feedbackserviceim... | package com.first.controller.service.Hostel_feedbackservice;
import com.first.controller.dao.Hostel_feedback.Hostel_feedbackdao;
import com.first.controller.domain.Hostel_feedback;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.t... |
da3c82bc-174a-4aed-940e-198ca7ec0720 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 04:27:50", "repo_name": "Mihail74/SpringLearning", "sub_path": "/SpringDataIntro/spring-data-intro/src/test/java/com/rusoft/JpaTest.java", "file_name": "JpaTest.java", "file_ext": "java", "file_size_in_byte... | package com.rusoft;
import com.rusoft.jpa.config.DataConfig;
import com.rusoft.jpa.employee.CrudEmployeeRepository;
import com.rusoft.jpa.employee.Employee;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotati... |
ab650d53-a288-4b42-bdbc-b9ed9c881811 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-01 13:24:21", "repo_name": "Greeengooo/Algorithms", "sub_path": "/MyLinkedList.java", "file_name": "MyLinkedList.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 46, "lang": "en", "doc_type"... | import org.w3c.dom.Node;
import java.util.Iterator;
import java.util.LinkedList;
public class MyLinkedList<T> {
Node head = null, tail = null;
private class Node {
T item;
Node next;
private Node(T element) {
this.item = element;
}
}
public... |
29a4c52d-66ea-4fdd-9b1e-cda947b75d9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-25 22:55:26", "repo_name": "pigrick/springboot-gameguide", "sub_path": "/spring-boot-ggfrontend/src/main/java/com/pigrick/springbootggfrontend/config/SoapConfig.java", "file_name": "SoapConfig.java", "file_ext... | package com.pigrick.springbootggfrontend.config;
import com.pigrick.springbootggfrontend.soupclient.GameClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.oxm.jaxb... |
c682d5bb-b052-45ae-a879-f6c118ba34fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-08 15:00:40", "repo_name": "VernonG07/SpringBootDemo", "sub_path": "/src/main/java/com/griffin/spring/oracle/DemoApplication.java", "file_name": "DemoApplication.java", "file_ext": "java", "file_size_in_byte":... | package com.griffin.spring.oracle;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplic... |
24a5fedb-a869-4300-8985-562e247d6f70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-05T22:11:08", "repo_name": "Belchy/Belchy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 22, "lang": "en", "doc_type": "text", "blob_id": "... | ### Hi there, we are Belchy.
We are a team of U.S. engineers and analysts specialized in blockchain technology and business analytics with wide experience on crypto market.
## Services we provide:
- ⛏ Free Smart Contract security checks.
- 🛠 Full Smart Contract security audits.
### Connect with us:
[<img align="l... |
5aa62c82-1a9d-41ee-a197-7e44ede4b231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-21 01:21:14", "repo_name": "elliotchance/Sentinel", "sub_path": "/test/org/sentinel/servers/http/configuration/StaticTest.java", "file_name": "StaticTest.java", "file_ext": "java", "file_size_in_byte": 1007, "... | package org.sentinel.servers.http.configuration;
import static org.junit.Assert.*;
import org.junit.Test;
import org.sentinel.configuration.ConfigurationException;
public class StaticTest
{
@Test
public void testPath()
{
String string = "abc";
Static instance = new Static();
insta... |
7c6d495a-8b0b-4e23-a0f5-e9d1a38ee3d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-26 14:05:37", "repo_name": "Todays/Today_Android", "sub_path": "/app/src/main/java/com/today/android/adapter/CategoryViewHolder.java", "file_name": "CategoryViewHolder.java", "file_ext": "java", "file_size_in_... | package com.today.android.adapter;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.today.android.Listner.RecycleViewClickListner;
import com.today.android.R;
/**
* Created by sushil on 1/10/16.
*/
public class Cate... |
30afc474-371b-4cab-8030-ef1ee8401ab4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-29 10:50:45", "repo_name": "rodrojgut/DP2-1920-G2-15", "sub_path": "/src/main/java/org/springframework/samples/petclinic/service/BookingService.java", "file_name": "BookingService.java", "file_ext": "java", "f... |
package org.springframework.samples.petclinic.service;
import java.util.Optional;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.samples.petclinic.model.Booking;
import org.springframework.samples.petclinic.repository.BookingReposito... |
b3abb74d-7a2f-4694-b5fd-0ef1782be08a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-26 11:42:34", "repo_name": "lakshmiswetha98/javaproject", "sub_path": "/mavenweb-jdbc/src/main/java/com/cts/training/mavenweb/services/StudentServiceImpl.java", "file_name": "StudentServiceImpl.java", "file_ex... | package com.cts.training.mavenweb.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import com.cts.training.mavenweb.dao.IStudentDao;
import com.cts.training.mavenweb... |
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_... | 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... |
f8c884dd-20e1-4c6a-bc5a-ece083519102 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-06 14:15:52", "repo_name": "ShrihariMohan/Codings", "sub_path": "/JavaCodings/src/JDBCSample.java", "file_name": "JDBCSample.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 32, "lang": "en"... | import java.sql.* ;
import static java.lang.Class.forName;
interface test {
static void testMethods() {
System.out.println("HELlo");
}
}
public class JDBCSample {
public static void main(String[] args) throws Exception {
String url = "jdbc:mysql://localhost:3306/Registration";
... |
a4cbafa3-e587-4e0d-a02a-17f725bf3a90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-25 15:10:25", "repo_name": "lwb2016/NewMtxLib", "sub_path": "/chromeweb/src/main/java/com/oacg/chromeweb/x5web/X5WebFragment.java", "file_name": "X5WebFragment.java", "file_ext": "java", "file_size_in_byte": 1... | package com.oacg.chromeweb.x5web;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.ViewGroup;
import com.oacg.chromeweb.BaseWebClient;
import com.tencent.smtt.sdk.WebView;
import top.libbase.ui.fragment.BaseFragment;
/**
* x5web的frament
* Created ... |
c6f3c357-1b72-433d-95cf-77cb9c4a03f9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-17 19:30:04", "repo_name": "SShkut/FileTypeAnalyzer", "sub_path": "/analyzer/PatternRepository.java", "file_name": "PatternRepository.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 37, "la... | package analyzer;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class PatternRepository {
private final String filePath;
public PatternRepository... |
13a24d3d-dfdc-4243-bef3-d3bcbc2e6815 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-18 08:48:46", "repo_name": "wolf666666wolf/wolf_study", "sub_path": "/src/main/java/com/study/javase/reflaction/cglib/BookFacadeCglib.java", "file_name": "BookFacadeCglib.java", "file_ext": "java", "file_size_... | /*
* BookFacadeCglib.java
* Copyright 2002-2012 BULL SAS, Inc. All Rights Reserved.
* This software is the proprietary information of BULL SAS, Inc.
* Use is subject to license terms.
*/
package com.study.javase.reflaction.cglib;
import java.lang.reflect.Method;
import net.sf.cglib.proxy.Enhancer;
import net.sf.... |
8807fb6e-aaff-440d-9349-28d17ae28a08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-06 10:57:58", "repo_name": "Amilosz/Microservice-portfolio", "sub_path": "/ProjectAPI/src/main/java/com/github/ProjectAPI/resources/GithubSingleProjectResource.java", "file_name": "GithubSingleProjectResource.... | package com.github.ProjectAPI.resources;
import com.github.ProjectAPI.models.GithubProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bin... |
d8a46c5c-a886-433f-a1b5-7fa6b28864de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 23:59:43", "repo_name": "ETdvlpr/Traffic-system", "sub_path": "/ITS/netbeans project/src/com/GUI/theme.java", "file_name": "theme.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 37, "lan... | /*
* 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.GUI;
import com.Pages.MainWindow;
import java.awt.Font;
/**
*
* @author dave
*/
public class theme {
public stati... |
6a651581-f4c3-4930-a21e-52ea81903ddd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-14 10:51:14", "repo_name": "TiveCS/ArdGuild", "sub_path": "/ArdGuild/src/team/creativecode/ardguild/manager/events/GuildCreateEvent.java", "file_name": "GuildCreateEvent.java", "file_ext": "java", "file_size_i... | package team.creativecode.ardguild.manager.events;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import team.creativecode.ardguild.manager.Guild;
public class GuildCreateEvent extends Event implements Cancellable {
... |
ca446c85-cf8b-469a-8d42-c3194bd7155c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-13 16:08:30", "repo_name": "FlipE/EntityUnknown", "sub_path": "/src/co/uk/cbaker/eu/game/ai/soldier/DeadState.java", "file_name": "DeadState.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": ... | package co.uk.cbaker.eu.game.ai.soldier;
import co.uk.cbaker.eu.game.entity.EntityManager;
import co.uk.cbaker.eu.game.state.State;
import co.uk.cbaker.eu.game.state.StateMachine;
/**
* Singleton AIState implementation
*
* @author Chris B
*/
public class DeadState implements State {
/** The AIState instance */... |
7deec444-2627-4efb-b3ff-f61197b4df68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-12 11:31:14", "repo_name": "ItJava/RobotSSM", "sub_path": "/src/main/java/com/iot/handler/publisher/Publisher.java", "file_name": "Publisher.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": ... | package com.iot.handler.publisher;
import com.iot.handler.subscriber.Subcriber;
import com.ssm.promotion.core.service.impl.MqttUserServiceImpl;
import org.springframework.core.ResolvableType;
import java.lang.reflect.ParameterizedType;
public abstract class Publisher<Msg> {
@SuppressWarnings("WeakerAccess")
... |
efab4bd6-4a0a-46d0-b53e-b12cbde36c8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 17:34:39", "repo_name": "KamilAdd-Byte/multi-threading", "sub_path": "/src/main/java/com/multithreading/queuethread/countdownfatch/HuntRunnable.java", "file_name": "HuntRunnable.java", "file_ext": "java", "... | package com.multithreading.queuethread.countdownfatch;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.CountDownLatch;
@Slf4j
public class HuntRunnable implements Runnable{
private CountDownLatch countDownLatch;
public HuntRunnable(CountDownLatch countDownLatch) {
this.countDownLatch ... |
47f657d2-175c-4d33-8878-26ba75ef2060 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 09:18:16", "repo_name": "Pawel-Iskra/LocalWeatherStationAPI", "sub_path": "/src/main/java/com/local_weather_API/external_APIs/darksky/DarkSkyApiFetcher.java", "file_name": "DarkSkyApiFetcher.java", "file_ex... | package com.local_weather_API.external_APIs.darksky;
import com.local_weather_API.external_APIs.darksky.model.Currently;
import com.local_weather_API.external_APIs.darksky.model.WeatherFromDarkSkyApi;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
impo... |
b6a11204-e28c-44ae-a294-262420862694 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-17 18:58:34", "repo_name": "ottoszika/sokoban", "sub_path": "/core/src/main/java/com/ottoszika/sokoban/screens/PlayScreen.java", "file_name": "PlayScreen.java", "file_ext": "java", "file_size_in_byte": 1007, "... | package com.ottoszika.sokoban.screens;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.ottoszika.sokoban.Sokoban;
import com.ottoszika.sokoban.engine.GameEngine;
public class PlayScreen extends AbstractScreen {
/**
* Game reference.
*/
private Sokoban game;
/**
... |
97216529-d17d-4d38-9563-174dae9b4b11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-19 15:04:52", "repo_name": "rishipollai/SpringBootApiAssignments", "sub_path": "/hotelsystemWithSecurity/src/main/java/com/hotelmanagement/hotelsystem/UserOne.java", "file_name": "UserOne.java", "file_ext": "j... | package com.hotelmanagement.hotelsystem;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
... |
48b373a1-5316-43d3-a74a-e6059e15962c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-23 22:10:26", "repo_name": "bgreeneaka/ds-systems", "sub_path": "/src/java/session/comment/CommentFacade.java", "file_name": "CommentFacade.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 4... | /**
* Brian Greene - 11042141 Eoghan Griffin - 10091157 Bartosz Kaminiecki -
* 11060204
*/
package session.comment;
import entity.Comment;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import session.AbstractFacade;
/**
*
... |
78bc7d18-3081-4c94-b096-da8d8acb8235 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-14 13:48:41", "repo_name": "greycode123/springDemo", "sub_path": "/src/main/java/com/smart/common/cache/memcached/SpyMemcachedCacheManager.java", "file_name": "SpyMemcachedCacheManager.java", "file_ext": "java... | package com.smart.common.cache.memcached;
import com.smart.common.cache.Cache;
import com.smart.common.cache.CacheManager;
import org.apache.log4j.Logger;
import java.util.Collection;
import java.util.Collections;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
public class ... |
db1592bf-871f-409a-92da-aaefe4e23dab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-14 16:11:41", "repo_name": "bakitybacon/PokemonShowdownAPI", "sub_path": "/connect/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 63, "lang": "en", "doc_type... | package connect;
import java.util.ArrayList;
public class User
{
private String name = "";
private int avatar = 0;
private boolean isGuest = false;
private ArrayList<String> pms = new ArrayList<String>();
public User()
{
}
public User(String name)
{
this.name = name;
}
public User(String name, in... |
54390b9d-f230-49fd-a2da-09782ed1963f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-26 07:22:40", "repo_name": "wangxingchenyu/hadoop", "sub_path": "/src/main/java/com/zhileiedu/hadoop/invertindex/llMapper1.java", "file_name": "llMapper1.java", "file_ext": "java", "file_size_in_byte": 1020, "... | package com.zhileiedu.hadoop.invertindex;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.lib.input.FileSplit;
import java.io.IOException;
/**
* @Author: wzl
* @Date: 2... |
53187f37-7cc0-441b-9bb2-9696288e563f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-02T13:01:36", "repo_name": "audriusrudalevicius/katacoda-scenarios", "sub_path": "/basics1/step3c.md", "file_name": "step3c.md", "file_ext": "md", "file_size_in_byte": 1006, "line_count": 31, "lang": "en",... | # Inspect deployed application
Get deployment, replicaSet, pod of our deployed app1
`kubectl get deploy,replicaSet,pod -l app=app1`{{execute}}
You should see 3 kinds of resources being created from one yaml file that describes only deployment kind. Moust important for us is deployment as it basically manages all of t... |
1e899ba6-e245-4288-9e5b-dbe1dc702267 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-23 16:53:10", "repo_name": "origamigt/modulo_catastro", "sub_path": "/sgm-core/src/main/java/com/origami/sgm/samdoc/composite/SamdocUpload.java", "file_name": "SamdocUpload.java", "file_ext": "java", "file_siz... | /*
* 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.origami.sgm.samdoc.composite;
import javax.annotation.PostConstruct;
import javax.el.MethodExpression;
import javax.faces.... |
a405262a-c1d0-435d-883b-8c792932dae3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-12T02:41:04", "repo_name": "lizgw/womenInTechNTX", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1005, "line_count": 15, "lang": "en", "doc_type": "text", "blob... | # womenInTechNTX
This repository is a website/information hub for young women in North Texas who are interested in the technology industry.
**At the moment, this website is a work in progress! Content will be coming soon.**
## Goals of this Project
- **To act as a central resource** for young women who are seeking o... |
fb024056-9d95-4eb3-b379-8dccafaa50c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-28 16:48:20", "repo_name": "DesireFactions/desirehcf", "sub_path": "/src/main/java/com/desiremc/hcf/validators/PlayerKitOffCooldownValidator.java", "file_name": "PlayerKitOffCooldownValidator.java", "file_ext"... | package com.desiremc.hcf.validators;
import com.desiremc.core.api.newcommands.Validator;
import com.desiremc.core.session.Session;
import com.desiremc.core.utils.DateUtils;
import com.desiremc.hcf.DesireHCF;
import com.desiremc.hcf.session.FSession;
import com.desiremc.hcf.session.FSessionHandler;
import com.desiremc.... |
f9cb59b9-d6b4-45c3-b9e6-139027286c90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-05-05T13:23:51", "repo_name": "roboconf/roboconf-maven-archetype", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1007, "line_count": 22, "lang": "en", "doc_type": ... | # Roboconf Maven Archetype
[](http://www.apache.org/licenses/LICENSE-2.0)
[](https://gitter.im/roboconf/roboconf)
[}.
* Specifically, the revealed member identity and, if supported by the scheme, a proof that the opening was done
* c... |
b0a0359d-23f6-4696-83e8-623ea3cee677 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 13:48:03", "repo_name": "Madhu0/FifaPlayerStats", "sub_path": "/app/repository/UserRepository.java", "file_name": "UserRepository.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 37, "lan... | package repository;
import io.ebean.Ebean;
import io.ebean.EbeanServer;
import io.ebean.Expr;
import models.User;
import play.db.ebean.EbeanConfig;
import play.db.ebean.EbeanDynamicEvolutions;
import javax.inject.Inject;
import javax.inject.Named;
@Named
public class UserRepository {
private final EbeanServer e... |
6c918156-4203-4db0-a072-2dc58bf9830b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-14 09:10:34", "repo_name": "rkgarg22/OLU_Android", "sub_path": "/app/src/main/java/com/tucan/olu/MisActivity.java", "file_name": "MisActivity.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count":... | package com.tucan.olu;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class MisActivity extends GenricActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... |
6ff1e4bf-9749-4460-86df-0be36354b80e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-05 23:15:52", "repo_name": "stevehav/iowa-caucus-app", "sub_path": "/sources/com/google/firebase/firestore/core/DatabaseInfo.java", "file_name": "DatabaseInfo.java", "file_ext": "java", "file_size_in_byte": 10... | package com.google.firebase.firestore.core;
import com.google.firebase.firestore.model.DatabaseId;
/* compiled from: com.google.firebase:firebase-firestore@@20.2.0 */
public final class DatabaseInfo {
private final DatabaseId databaseId;
private final String host;
private final String persistenceKey;
... |
fe580561-2445-4038-9860-c24fb99507af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-14 22:37:58", "repo_name": "jandrewtorres/BioWars309", "sub_path": "/src/client/lobby/LobbyController.java", "file_name": "LobbyController.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 44... | package client.lobby;
import client.Client;
import client.model.ClientModel;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import server.model.Player;
public class LobbyController {
ClientModel model;
Client clientApp;
@... |
cf6a73ec-3b85-4890-bf0b-e1470c193f8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-08 10:55:42", "repo_name": "conseweb/Launcher", "sub_path": "/Main/src/main/java/com/bitants/launcherdev/launcher/appslist/search/StringUtil.java", "file_name": "StringUtil.java", "file_ext": "java", "file_siz... | package com.bitants.launcherdev.launcher.appslist.search;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class StringUtil {
/**
*
* @description 去除号码中的空格 如: 138 1234 5678 → 13812345678
*/
public static String replaceBlank(String str) {
String dest = "";
if (str != null) {
Patte... |
94951241-45cb-4dee-9349-cddfda1aa593 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 21:11:25", "repo_name": "lyazzat3110/TestNG_VerizonProject_2020", "sub_path": "/src/main/java/com/qa/verizon/page/SmartPhonesPage.java", "file_name": "SmartPhonesPage.java", "file_ext": "java", "file_size_i... | package com.qa.verizon.page;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import com.qa.verizon.base.BasePage;
import com.qa.verizon.util.ElementUtil;
import com.qa.verizon.util.JavascriptUtil;
public class ... |
7a51031b-112c-4738-b7a2-034141b200b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-09 00:14:02", "repo_name": "zuku0404/FileManager", "sub_path": "/src/main/java/consumer/FileConsumerImpl.java", "file_name": "FileConsumerImpl.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count"... | package consumer;
import services.IFileService;
import java.io.File;
import java.util.List;
import java.util.Optional;
public class FileConsumerImpl implements IFileConsumer {
private IFileService iFileService;
public FileConsumerImpl(IFileService iFileService) {
this.iFileService = iFileService;
... |
af8e0ff0-675d-4ca2-9e50-240cddfe1da6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-19 10:26:46", "repo_name": "thanhbuigithub/QUANLYTHUVIEN", "sub_path": "/src/main/java/model/dto/SachTacGia.java", "file_name": "SachTacGia.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 4... | package model.dto;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "sach_tac_gia", schema = "quanlythuvien", catalog = "")
@IdClass(SachTacGiaPK.class)
public class SachTacGia {
private int sachId;
private int tacGiaId;
@Override
public boolean equals(Object o) {
i... |
0f5e063f-11d6-492a-9a41-dbcc24022857 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-30 12:36:31", "repo_name": "ctpconsulting/cdise", "sub_path": "/archiver/archiver-main/src/main/java/com/ctp/javaone/archiver/command/ChangeDirectory.java", "file_name": "ChangeDirectory.java", "file_ext": "ja... | package com.ctp.javaone.archiver.command;
import java.io.File;
import javax.enterprise.event.Event;
import javax.inject.Inject;
import org.apache.commons.io.FileUtils;
@ShellCommand("cd")
public class ChangeDirectory implements Command {
@Inject
private File currentDirectory;
@Inject
priva... |
4a8af541-5859-4449-8ae9-8c9d85d4942c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-16 22:55:29", "repo_name": "kreezxil/Ex-Nihilo-3", "sub_path": "/src/main/java/exnihilo2/registries/EN2Registries.java", "file_name": "EN2Registries.java", "file_ext": "java", "file_size_in_byte": 1006, "line_... | package exnihilo2.registries;
import exnihilo2.registries.composting.CompostRegistry;
import exnihilo2.registries.hammering.HammerRegistry;
import exnihilo2.registries.sifting.SieveRegistry;
import net.minecraftforge.common.config.Configuration;
public class EN2Registries {
public static final String CATEGORY_DEFAUL... |
f478dfbb-6b28-4d46-a1ee-63dd5aa52a99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-12 17:50:17", "repo_name": "dneeraj9999/MovieBookingApp", "sub_path": "/app/src/main/java/com/example/drenu/testdrawer/ConnectToParse.java", "file_name": "ConnectToParse.java", "file_ext": "java", "file_size_i... | package com.example.drenu.testdrawer;
import android.app.Application;
import com.parse.Parse;
import com.parse.ParseACL;
import com.parse.ParseUser;
/**
* Created by drenu on 9/9/2018.
*/
public class ConnectToParse extends Application {
@Override
public void onCreate() {
super.onCreate();
... |
a67ba24a-0b46-4ed7-a1f6-87023b6734f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-29 08:05:11", "repo_name": "yj970/ARouterDemo", "sub_path": "/app/src/main/java/com/yj/arouterdemo/activity/TestFragmentActivity.java", "file_name": "TestFragmentActivity.java", "file_ext": "java", "file_size_... | package com.yj.arouterdemo.activity;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import com.alibaba.android.arouter.launcher.... |
abb516b7-2404-46a8-87bb-b817a3b58652 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-19 20:20:50", "repo_name": "firsachi/softtouch", "sub_path": "/softtouch/src/main/java/ua/kiev/softtouch/validations/CpmpanyValidator.java", "file_name": "CpmpanyValidator.java", "file_ext": "java", "file_size... | package ua.kiev.softtouch.validations;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;
import org.springframework.validation.Validator;
import ua.kiev.so... |
454ad0a1-47cd-4c30-ad35-745b14ebde40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-26 15:28:00", "repo_name": "wchen38/Android-Apps", "sub_path": "/StudyTimer/app/src/main/java/com/example/study/studytimer/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | package com.example.study.studytimer;
import android.content.Intent;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompa... |
df620a6e-e51e-4190-8466-6ddb205e5b19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-31 06:55:21", "repo_name": "dengjiaping/hn-apos", "sub_path": "/apos/ti-moible-framework/src/main/java/me/andpay/timobileframework/mvc/action/ActionTypeListener.java", "file_name": "ActionTypeListener.java", "... | package me.andpay.timobileframework.mvc.action;
import com.google.inject.TypeLiteral;
import com.google.inject.spi.InjectionListener;
import com.google.inject.spi.TypeEncounter;
import com.google.inject.spi.TypeListener;
/**
* 用来监听action的存在
*
* @author tinyliu
*
*/
public class ActionTypeListener implements Ty... |
50c8dece-bf50-4ece-ac14-8887b3cc17ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-19 21:12:26", "repo_name": "bblazeka/distributed-big-data-processing", "sub_path": "/lab2/MRDataProcessing/src/main/java/rovkp/lab2/mrdataprocessing/ProcessingMapper.java", "file_name": "ProcessingMapper.java"... | /*
* 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 rovkp.lab2.mrdataprocessing;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapreduce.Mapper;
/**
*
* @author brun... |
5961a575-4229-47ca-9ecf-313f515fb5db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-03 09:35:27", "repo_name": "vemmio/vemmio-tunnel-pool", "sub_path": "/src/main/java/com/vemmio/interview/TunnelPoolImpl.java", "file_name": "TunnelPoolImpl.java", "file_ext": "java", "file_size_in_byte": 1006,... | package com.vemmio.interview;
import org.slf4j.Logger;
import java.util.Collection;
import java.util.Collections;
import java.util.concurrent.Future;
import java.util.concurrent.ScheduledExecutorService;
import static org.slf4j.LoggerFactory.getLogger;
public class TunnelPoolImpl implements TunnelPool {
private... |
c4f3e894-1a7f-4d97-8400-45581b10fc7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-07 11:43:34", "repo_name": "softwareengineerhub/graphics_concurrency_images_io", "sub_path": "/StreamsAdvancedExample_/StreamsAdvancedExample_/src/streamsadvancedexample_/Person.java", "file_name": "Person.jav... | package streamsadvancedexample_;
import java.io.*;
public class Person implements Serializable {
private String name;
private int age;
private boolean sex;
public Person() {
}
public void setName(String name){
this.name = name;
}
public String getName(){
return this.... |
8b014558-a75e-4638-bbb5-58625fee507e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-03 06:12:36", "repo_name": "luochunji/SerializableDemo", "sub_path": "/src/main/java/com/demo/protobuf/ProtobufSerializable.java", "file_name": "ProtobufSerializable.java", "file_ext": "java", "file_size_in_by... | package com.demo.protobuf;
import com.baidu.bjf.remoting.protobuf.Codec;
import com.baidu.bjf.remoting.protobuf.ProtobufProxy;
import com.demo.AbstractSerializableByte;
import java.io.IOException;
/**
* description :
*
* @author : chunji.luo
* @date : 2019/1/31
*/
public class ProtobufSerializable extends Abstr... |
e7585fa5-2fb7-4acd-9097-34dd0194e84e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-18 21:00:12", "repo_name": "adolfo17832/proyectoSSyR", "sub_path": "/src/proyectoSSyR/servicio/ConectarServicio.java", "file_name": "ConectarServicio.java", "file_ext": "java", "file_size_in_byte": 1006, "line... | /*
* 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 proyectoSSyR.servicio;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author mario
*/
public c... |
f4d2616b-fd38-4d24-91e2-405dbf97c2aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-27 04:54:04", "repo_name": "luxious1993/login_management_service_demo", "sub_path": "/src/main/java/com/luxious/lmsd/violation/login/CurrentEmployeeValidator.java", "file_name": "CurrentEmployeeValidator.java"... | package com.luxious.lmsd.violation.login;
import com.luxious.lmsd.dao.EmployeeDao;
import com.luxious.lmsd.model.datastore.Employee;
import com.luxious.lmsd.model.service.LoginValidationResult;
import com.luxious.lmsd.model.service.LoginViolationType;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
58c4fb93-602f-4933-9746-308cb9d80145 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-14T11:36:58", "repo_name": "anurgsrivastava/react-native-couchbase-lite", "sub_path": "/android/src/main/java/com/reactlibrary/JsonQuery.java", "file_name": "JsonQuery.java", "file_ext": "java", "file_size_in_... | package com.reactlibrary;
//import com.couchbase.lite.AbstractQuery;
import com.couchbase.lite.CouchbaseLiteException;
import com.couchbase.lite.Database;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
class JsonQuery { //extends AbstractQuery {
private Map<String, Object> jsonSchema;
... |
b2cae5e3-08e1-44b9-aa22-83c7542e4f46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-11 10:09:03", "repo_name": "SherlockShellingford/Spl-net", "sub_path": "/src/main/java/bgu/spl/net/srv/ReadOrWriteHandlerList.java", "file_name": "ReadOrWriteHandlerList.java", "file_ext": "java", "file_size_i... | package bgu.spl.net.srv;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
public class ReadOrWriteHandlerList<T> {
List<Pair<Integer,NonBlockingConnectionHandler<T>>> lst;
ReadWriteLock readWriteLock ... |
55e4efc7-b061-4a49-8805-e0908c727fc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-21 14:47:30", "repo_name": "Niyijie/java-project", "sub_path": "/qq/client/QQClient.java", "file_name": "QQClient.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 49, "lang": "en", "doc_type... | package client;
import common.MessageFactory;
import common.Util;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.util.Scanner;
public class QQClient extends Thread{
private Socket clientSock = null;
private QQClientUI ui = null;
public QQClient(Socket sock... |
3187158e-ef80-48ca-9f6f-d30f98513bd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-28 12:33:24", "repo_name": "vinodkrishnabhat/PlivoSMS", "sub_path": "/src/test/java/com/vkb/plivosms/dao/mock/MockAccountDao.java", "file_name": "MockAccountDao.java", "file_ext": "java", "file_size_in_byte": ... | package com.vkb.plivosms.dao.mock;
import com.vkb.plivosms.dao.IAccountDao;
import com.vkb.plivosms.exception.PlivoException;
import com.vkb.plivosms.objects.AccountEntity;
import java.util.LinkedList;
import java.util.List;
public class MockAccountDao implements IAccountDao{
private static List<AccountEntity> d... |
138892ff-9aaf-44d3-ace4-cc51a8f4d276 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-30 11:02:22", "repo_name": "1044264288/clothing", "sub_path": "/src/main/java/com/pyjh/clothing/service/impl/CategoryServiceImpl.java", "file_name": "CategoryServiceImpl.java", "file_ext": "java", "file_size_i... | package com.pyjh.clothing.service.impl;
import com.pyjh.clothing.dao.CategoryDao;
import com.pyjh.clothing.entity.PageData;
import com.pyjh.clothing.service.CategoryService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import javax.xml.crypto.Data;
import java.util.List;
/**
* Cr... |
fe7f86f6-9bfd-4059-9743-9e5fe09c7025 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-23T21:26:19", "repo_name": "sso66/webpack-node.js", "sub_path": "/src/os_util_dns/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 31, "lang": "en", "doc_typ... | ## os/util/dns: Using Additional Node.js Modules
Using Additional Node.js Modules
- Using the `os` Module
- Using the `util` Module
- Formatting Strings
- Checking Object Types
- Synchronous Writing to Output Streams
- Converting JavaScript Objects to Strings
- Inheriting Functionality from Other Objects... |
59f86b07-5ae9-4045-ac43-f774f30de486 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-10T11:33:30", "repo_name": "Yvonne-Ouma/kitchen-anita", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1006, "line_count": 22, "lang": "en", "doc_type": "text", ... | # Title
Anita's Kitchen
## Author
Yvonne Ouma
## Description
This application entails information on Anita's kitchen.It is a sample layout of what the hotel offers.
## Prerequisites
* web browser
* git
## Setup/Installation Requirements
* Go to Goggle Chrome or Google Chromium
* In the search button,search github
* log... |
f1e5bc6b-1a43-471d-897b-8f88782a3067 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-21 19:04:10", "repo_name": "jscti/gogolalert", "sub_path": "/main/java/com/cti/gogolalert/BootReceiver.java", "file_name": "BootReceiver.java", "file_ext": "java", "file_size_in_byte": 1007, "line_count": 30, ... | package com.cti.gogolalert;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.util.Log;
/**
* Created by CTI on 12/06/2016.
*/
public class BootReceiver extends BroadcastReceiver {
@Overri... |
6b3ed7d2-fe51-4c92-88f1-d7c7fd521cdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-18 20:24:34", "repo_name": "gabreel05/MarketAPI", "sub_path": "/src/main/java/br/com/gabriel/config/security/AuthenticationService.java", "file_name": "AuthenticationService.java", "file_ext": "java", "file_si... | package br.com.gabriel.config.security;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdeta... |
f1caf7d9-38f8-45d6-8428-01e336ccf19f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-27 16:09:27", "repo_name": "nevihta/Filmi", "sub_path": "/app/src/main/java/com/rvir/filmi/filmi/filmi/FilmiPageAdapter.java", "file_name": "FilmiPageAdapter.java", "file_ext": "java", "file_size_in_byte": 100... | package com.rvir.filmi.filmi.filmi;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
public class FilmiPageAdapter extends FragmentStatePagerAdapter {
int mNumOfTabs;
public FilmiPageAdapter(FragmentManage... |
261b251e-90cb-4167-96e7-89687902ad84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 09:52:23", "repo_name": "sunshine332/test", "sub_path": "/src/math/Dmeo01.java", "file_name": "Dmeo01.java", "file_ext": "java", "file_size_in_byte": 1029, "line_count": 34, "lang": "en", "doc_type": "code"... | package math;
import util.JDBCUtils;
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
public class Dmeo01 {
public static void main(String[] args) {
Connection conn = null;
Statement stmt = null;
try {
/*Class.forName("com.mysql.jdbc.Drive... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.