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 |
|---|---|---|---|---|---|---|
b6f3adad-3920-48dc-a83b-caba8b5b7f24 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-29 05:58:13", "repo_name": "lbhope/project", "sub_path": "/customUI/src/com/example/customui/RadioButtonActivity.java", "file_name": "RadioButtonActivity.java", "file_ext": "java", "file_size_in_byte": 1013, "... | https://github.com/lbhope/project | 200 | FILENAME: RadioButtonActivity.java | 0.246533 | package com.example.customui;
import android.os.Bundle;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import com.example.customui.view.MyRadioButton;
public class RadioButtonActivity extends BaseActivity {
private MyRadioButton myRadioButton;
@Override
protec... |
fe3ef047-eeb0-48dc-bdac-3934ce136ca3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-08 04:36:57", "repo_name": "sunil-sunny/Explore-Canada-Tourism-Rest-APIs", "sub_path": "/ExploreCanada/src/main/java/com/ExploreCanada/packages/entities/BookingQueryDetails.java", "file_name": "BookingQueryDet... | https://github.com/sunil-sunny/Explore-Canada-Tourism-Rest-APIs | 221 | FILENAME: BookingQueryDetails.java | 0.258326 | package com.ExploreCanada.packages.entities;
import java.sql.Date;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
public class BookingQueryDetails {
private String fromDetails;
private String toDetails;
@Temporal(TemporalType.DATE)
private Date journeyDate;
public BookingQueryDetail... |
e445ecaa-273c-4124-84eb-8b062302995b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-20 18:18:30", "repo_name": "doshmajhan/LookUp", "sub_path": "/src/JsonReader.java", "file_name": "JsonReader.java", "file_ext": "java", "file_size_in_byte": 1232, "line_count": 51, "lang": "en", "doc_type": "c... | https://github.com/doshmajhan/LookUp | 248 | FILENAME: JsonReader.java | 0.286968 | import org.apache.commons.lang3.ObjectUtils;
import org.codehaus.jackson.JsonParser;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.Charset;
/**
* Created by MC on 4/23/2015.
*/
public class JsonReader {
... |
3fc77b20-c734-4295-b756-c4731a1d0af2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-26 17:32:00", "repo_name": "ariekal/covid-tracker", "sub_path": "/covid-tracker/covid-tracker/src/main/java/arie/kal/covidtracker/controllers/MainController.java", "file_name": "MainController.java", "file_ext... | https://github.com/ariekal/covid-tracker | 201 | FILENAME: MainController.java | 0.29584 | package arie.kal.covidtracker.controllers;
import arie.kal.covidtracker.models.LocationData;
import arie.kal.covidtracker.services.CovidDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.sp... |
fea003c2-4908-4f41-8ae1-e5487b46df0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-27T06:32:09", "repo_name": "ganesh-nag/Jigsaw-Modularity", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 19, "lang": "en", "doc_type": "text... | https://github.com/ganesh-nag/Jigsaw-Modularity | 188 | FILENAME: README.md | 0.271252 | # Jigsaw-Modularity
Explains Jigsaw Modular design
@author Ganesh Nagalingam
The code is developed using Java SE 11.
Three modules have been designed and developed to explain Jigsaw modularity.
To learn and understand, the code can be imported into your local machine and can be tested.
It consists of module-info.ja... |
7d2c8fa5-d9cf-44d4-becd-29a0eeeb2dd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-27 12:16:19", "repo_name": "RainMtime/DemoRepo", "sub_path": "/app/src/main/java/rainmtime/com/demorepo/movies/data/Director.java", "file_name": "Director.java", "file_ext": "java", "file_size_in_byte": 1053, ... | https://github.com/RainMtime/DemoRepo | 259 | FILENAME: Director.java | 0.189521 | package rainmtime.com.demorepo.movies.data;
/**
* Created by chunyu on 2018/2/11 下午3:39.
* Email: 746431278@qq.com
*/
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Director {
@SerializedName("alt")
@Expose
private String alt;
@Serialize... |
a5c17c1a-73ae-4dba-8c0a-13530714f8f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-08 12:54:07", "repo_name": "ShubhamKarki/practice", "sub_path": "/Department.java", "file_name": "Department.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 52, "lang": "en", "doc_type": "c... | https://github.com/ShubhamKarki/practice | 215 | FILENAME: Department.java | 0.278257 | package com.company;
import java.util.ArrayList;
import java.util.List;
public class Department {
private String name;
private College college;
private List<Student> students ;
Department(String name, College college) {
this.name = name;
this.college = college;
this.student... |
0b3112ae-1983-451f-bb69-533a39d1999c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-22 12:36:52", "repo_name": "alexbirkett/DialogFragmentIssue", "sub_path": "/app/src/main/java/no/agens/dialogfragmentissue/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/alexbirkett/DialogFragmentIssue | 180 | FILENAME: MainActivity.java | 0.2227 | package no.agens.dialogfragmentissue;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
32c5a6f2-6373-4153-b30d-045970a48380 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-16T08:18:47", "repo_name": "guowee/blog", "sub_path": "/source/_posts/windows下MongoDB的安装与配置.md", "file_name": "windows下MongoDB的安装与配置.md", "file_ext": "md", "file_size_in_byte": 1504, "line_count": 40, "lan... | https://github.com/guowee/blog | 407 | FILENAME: windows下MongoDB的安装与配置.md | 0.294215 | ---
title: windows 下MongoDB的安装与配置
date: 2018-03-07 19:14:57
tags:
---
# 一、 先登录Mongodb官网https://www.mongodb.com/download-center#community下载安装包
# 二、 安装MongoDB
自定义安装路径修改如下: D:\MongoDB
# 三、创建数据库文件的存放位置
在MongoDB下创建data,因为启动mongodb服务之前需要必须创建数据库文件的存放文件夹,否则命令不会自动创建,而且不能启动成功。
# 四、启动MongoDB服务
1. 打开cmd命令行,进入D:\MongoDB\bin 目录... |
3baee382-b31f-4850-a5e5-17971ec75549 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-10 08:53:17", "repo_name": "aniketkulkarni2013/springboot_assignment", "sub_path": "/src/main/java/com/clairvoyantsoft/demo/security/SecurityUtils.java", "file_name": "SecurityUtils.java", "file_ext": "java", ... | https://github.com/aniketkulkarni2013/springboot_assignment | 142 | FILENAME: SecurityUtils.java | 0.236516 | package com.clairvoyantsoft.demo.security;
import org.springframework.security.core.context.SecurityContext;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.Optional;
public class SecurityUtils {
public s... |
aa0c8ea5-22f5-41f3-9cf9-f8cbf6ec18b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-02T22:31:35", "repo_name": "cgiroux86/TeamInterview", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1001, "line_count": 21, "lang": "en", "doc_type": "text", "b... | https://github.com/cgiroux86/TeamInterview | 235 | FILENAME: README.md | 0.283781 | # TeamInterview
**Docker Commands**
1. create a docker image by running:
**docker build -t ti:latest .**
a) create container by running:**docker run --name ti-container --env-file=.env -p 5000:5000 teaminterview-dev**
b) run db migrations by running in container: **docker exec ti-container python3 manage.py db mi... |
f9230470-dfb3-478b-8fc7-be7421810394 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-10 16:40:26", "repo_name": "ZaynabZ/music-shop", "sub_path": "/src/com/project/musicstore/controller/RegisterController.java", "file_name": "RegisterController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/ZaynabZ/music-shop | 173 | FILENAME: RegisterController.java | 0.255344 | package com.project.musicstore.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import com.project.musicstore.entity.BillingAddress;
import com.pr... |
704b2cf4-5682-420e-b3ef-0f3babe54c4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-09T12:53:43", "repo_name": "MarianaCavadas/Quench_v2", "sub_path": "/src/main/java/org/academiadecodigo/charliesangels/services/PollServiceImpl.java", "file_name": "PollServiceImpl.java", "file_ext": "java", "... | https://github.com/MarianaCavadas/Quench_v2 | 231 | FILENAME: PollServiceImpl.java | 0.291787 | package org.academiadecodigo.charliesangels.services;
import org.academiadecodigo.charliesangels.models.Poll;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
@Service
public class PollServiceImpl implements PollService {
private Map<Integer, Po... |
d9693aaf-3685-481d-8724-543013333c9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-04-28 21:15:37", "repo_name": "carolineleung/mcshoppinglist", "sub_path": "/ShoppingList/src/com/mcshoppinglist/app/util/ViewUpdateUtil.java", "file_name": "ViewUpdateUtil.java", "file_ext": "java", "file_size_in... | https://github.com/carolineleung/mcshoppinglist | 195 | FILENAME: ViewUpdateUtil.java | 0.242206 | package com.mcshoppinglist.app.util;
import android.graphics.Color;
import android.graphics.Typeface;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.style.StyleSpan;
import android.widget.TextView;
public class ViewUpdateUtil {
/**
* Bold/unbold the TextView based on t... |
638df006-021f-4ea5-baaa-b3b74aabea0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-13 09:42:48", "repo_name": "aojie0123/MessageBoard", "sub_path": "/src/com/imooc/web/filter/UserFilter.java", "file_name": "UserFilter.java", "file_ext": "java", "file_size_in_byte": 1034, "line_count": 32, "l... | https://github.com/aojie0123/MessageBoard | 194 | FILENAME: UserFilter.java | 0.259826 | package com.imooc.web.filter;
import com.imooc.domain.User;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@WebFilter(filterName = "UserFilter", urlPatterns = {"/AddEditMessage... |
c02c90ed-dd19-46cd-ab47-1ab4e26a2c2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-18T13:18:10", "repo_name": "crististr/MyLittleLutrisScripts", "sub_path": "/Quake - The Offering/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 966, "line_count": 20, "lang": ... | https://github.com/crististr/MyLittleLutrisScripts | 253 | FILENAME: README.md | 0.284576 | # Quake - Offering - GOG - Epsilon
### Description:
This script will facilitate you install of this game on Linux OS:
"Quake - Offering" provided by GOG using Darkplaces engine:
http://icculus.org/twilight/darkplace
and Epsilon enhancement pack:
https://www.soulstudios.co.nz/epsilon/
https://www.moddb.com/mods/quake... |
052482f7-c943-482d-800c-65f24e7d3ec0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 19:49:20", "repo_name": "agiorgiani/meu-primeiro-projeto-spring-boot", "sub_path": "/src/main/java/com/andre/api/MeuPrimeiroProjetoApplication.java", "file_name": "MeuPrimeiroProjetoApplication.java", "file... | https://github.com/agiorgiani/meu-primeiro-projeto-spring-boot | 245 | FILENAME: MeuPrimeiroProjetoApplication.java | 0.264358 | package com.andre.api;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import com.an... |
261b939f-8a40-46a5-a5d5-8194964ab69a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-24 12:42:38", "repo_name": "alexnar/WeatherPortlet", "sub_path": "/modules/WeatherPortlet/src/main/java/edu/weather/portlet/dto/WeatherForecast.java", "file_name": "WeatherForecast.java", "file_ext": "java", "... | https://github.com/alexnar/WeatherPortlet | 194 | FILENAME: WeatherForecast.java | 0.23231 | package edu.weather.portlet.dto;
import edu.weather.api.dto.Weather;
import java.util.List;
public class WeatherForecast {
private String resourceName;
private String cityName;
private List<Weather> weatherList;
public WeatherForecast(String resourceName, String cityName, List<Weather> weatherList) ... |
19ef64fc-d0d7-4e80-a4bf-a7e17083bd97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-12 10:55:36", "repo_name": "asufshafee/NewsLive", "sub_path": "/app/src/main/java/com/iteyes/newslive/NewsDetailActivity.java", "file_name": "NewsDetailActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/asufshafee/NewsLive | 192 | FILENAME: NewsDetailActivity.java | 0.218669 | package com.iteyes.newslive;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;
import android.widget.TextView;
import com.squareup.picasso.Picasso;
public class NewsDetailActivity extends AppCompatActivity {
ImageView iv1;
TextView tvTitle;
TextV... |
ab90138f-5e70-4a69-b30b-7e67ab469658 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-16 08:54:56", "repo_name": "mikola1122/myreelty-android", "sub_path": "/app/src/main/java/com/helio/myreelty/network/models/RegistrationResponseModel.java", "file_name": "RegistrationResponseModel.java", "file... | https://github.com/mikola1122/myreelty-android | 229 | FILENAME: RegistrationResponseModel.java | 0.201813 | package com.helio.myreelty.network.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Fedir on 25.02.2016.
*/
public class RegistrationResponseModel {
@SerializedName("name")
@Expose
public String name;
@SerializedName("id")
@... |
9b3c2265-1794-47cc-8aa0-41e49c0a6110 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-10 08:22:10", "repo_name": "mujicajuancarlos/solar-system", "sub_path": "/code/src/main/java/ar/com/mercadolibre/solarsystem/entity/Weather.java", "file_name": "Weather.java", "file_ext": "java", "file_size_in... | https://github.com/mujicajuancarlos/solar-system | 223 | FILENAME: Weather.java | 0.220007 | package ar.com.mercadolibre.solarsystem.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "WEATHER")
public class Weather {
@Id
@Column(name = "DAY", nullable = false, unique = true)
private int day... |
b55fc001-215e-4f88-a18a-b80b1c7b98fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-11 11:12:49", "repo_name": "Takeda-Axiz/B_group_Project_Axiz", "sub_path": "/ComicECSite/src/jp/co/axiz/entity/Tax.java", "file_name": "Tax.java", "file_ext": "java", "file_size_in_byte": 1030, "line_count": 5... | https://github.com/Takeda-Axiz/B_group_Project_Axiz | 275 | FILENAME: Tax.java | 0.293404 | package jp.co.axiz.entity;
import java.sql.Date;
public class Tax {
/*--- Field ---*/
private Integer taxId; // 変数名概要
private Double tax; // 変数名概要
private Date introductionDate; // 変数名概要
/*--- Field End ---*/
/*--- Constructor ---*/
// 処理概要
public Tax() {
}
public Tax(Inte... |
b54d75d0-92df-4e82-a0bc-4b11d82cef65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-25T07:37:02", "repo_name": "sbalaji1996/bench-blog-railsdecal", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1047, "line_count": 40, "lang": "en", "doc_type": ... | https://github.com/sbalaji1996/bench-blog-railsdecal | 279 | FILENAME: README.md | 0.252384 | # bench-blog-railsdecal
Title: Bench Blog RailsDeCal
Team Members: Abhishek Mangla, Amrith Mylvara, Aneesh Khera, Srinand Balaji
Demo Link: [Insert Heroku Link Here]
Idea: An application where up and coming bloggers can make a name for themselves in the world of sports.
Models and Description:
User: has name, e... |
5bbfc31b-705d-4493-9342-68bd7cef30e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-29 04:54:40", "repo_name": "llllllxy/bluewind-boot", "sub_path": "/src/main/java/com/bluewind/boot/common/utils/web/ResponseUtil.java", "file_name": "ResponseUtil.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/llllllxy/bluewind-boot | 229 | FILENAME: ResponseUtil.java | 0.218669 | package com.bluewind.boot.common.utils.web;
import com.bluewind.boot.common.utils.JsonTool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
/**
* @author liuxingyu01
* @date 2021-01-30-11:21
**/
public class Re... |
057e4479-4d4f-49fb-8cac-f5a21f9537c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-02 20:14:59", "repo_name": "caiopereirasilva77/Epark", "sub_path": "/Epark/src/br/senai/sc/util/ConnectionUtil.java", "file_name": "ConnectionUtil.java", "file_ext": "java", "file_size_in_byte": 989, "line_cou... | https://github.com/caiopereirasilva77/Epark | 189 | FILENAME: ConnectionUtil.java | 0.216012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.senai.sc.util;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author Caio Pereira
*/
public class ConnectionUtil {
private static java.sql.Connection con;
public s... |
70a7b5da-3d20-44f6-8cb9-0ef10b39234d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-11 20:32:33", "repo_name": "static55/UdacityMoviesStage1", "sub_path": "/app/src/main/java/com/stewartrap/movies/MovieDetailActivity.java", "file_name": "MovieDetailActivity.java", "file_ext": "java", "file_si... | https://github.com/static55/UdacityMoviesStage1 | 164 | FILENAME: MovieDetailActivity.java | 0.210766 | package com.stewartrap.movies;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import com.stewartrap.movies.bus.BusProvider;
public class MovieDetailActivity extends AppCompatActivity {
public... |
b2a92e0c-a0b4-44cd-a50a-6c4c00140375 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-01 14:16:26", "repo_name": "ihmcrobotics/ihmc-open-robotics-software", "sub_path": "/robotiq-hand-drivers/src/main/java/us/ihmc/robotiq/communication/registers/FingerCurrentRegister.java", "file_name": "Finger... | https://github.com/ihmcrobotics/ihmc-open-robotics-software | 218 | FILENAME: FingerCurrentRegister.java | 0.267408 | package us.ihmc.robotiq.communication.registers;
import us.ihmc.robotiq.communication.Finger;
import us.ihmc.robotiq.communication.InvalidFingerException;
public class FingerCurrentRegister extends RobotiqInputRegister
{
private final int index;
private byte current;
public FingerCurrentRegister(Finger f... |
36236182-524e-4618-b1fa-95814d61e6c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-15 13:02:33", "repo_name": "javabyd7/shop-servlets-ap", "sub_path": "/src/main/java/pl/sda/shop/web/LoginServlet.java", "file_name": "LoginServlet.java", "file_ext": "java", "file_size_in_byte": 1022, "line_co... | https://github.com/javabyd7/shop-servlets-ap | 173 | FILENAME: LoginServlet.java | 0.252384 | package pl.sda.shop.web;
import pl.sda.shop.model.User;
import pl.sda.shop.model.UserRole;
import pl.sda.shop.security.UserService;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.... |
03e6f3bd-1df4-4d25-a702-b8cfee472018 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-22 12:44:51", "repo_name": "yswai/astyanax_framesize_test", "sub_path": "/src/main/java/com/swyep/cassandra/astyanax/demo/messaging/ActiveMqConnector.java", "file_name": "ActiveMqConnector.java", "file_ext": "... | https://github.com/yswai/astyanax_framesize_test | 178 | FILENAME: ActiveMqConnector.java | 0.220007 | package com.swyep.cassandra.astyanax.demo.messaging;
import org.apache.activemq.ActiveMQConnectionFactory;
import javax.jms.Connection;
import javax.jms.JMSException;
import javax.jms.Session;
public class ActiveMqConnector {
private final ActiveMQConnectionFactory connectionFactory;
public ActiveMqConnect... |
652f9f3d-7145-40d3-8763-88fa49b13bb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-14 17:48:23", "repo_name": "jswilson501/Composition-Challenge", "sub_path": "/Composition challenge/src/com/company/Television.java", "file_name": "Television.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/jswilson501/Composition-Challenge | 211 | FILENAME: Television.java | 0.228156 | package com.company;
public class Television {
private String make;
private String model;
private int size;
private Resolution nativeResolution;
private int channel;
public Television(String make, String model, int size, Resolution nativeResolution, int channel) {
this.make = make;
... |
807ed178-2f97-40bd-b91d-9dc14dbd7fe5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 18:30:33", "repo_name": "sandlex/progressbot", "sub_path": "/src/main/java/com/sandlex/progressbot/bot/commands/CancelledCommand.java", "file_name": "CancelledCommand.java", "file_ext": "java", "file_size_i... | https://github.com/sandlex/progressbot | 174 | FILENAME: CancelledCommand.java | 0.264358 | package com.sandlex.progressbot.bot.commands;
import com.sandlex.progressbot.bot.BotResponse;
import com.sandlex.progressbot.bot.CallbackOptionsBuilder;
import com.sandlex.progressbot.bot.model.Status;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import org.telegram.telegramb... |
bc5d069c-9943-4f4d-a2f7-906f461fdd99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-24 08:02:49", "repo_name": "sdl2256/JavaWeb", "sub_path": "/Spring4Demo/src/main/java/com/sundl/spring/tx/BookShopServiceImpl.java", "file_name": "BookShopServiceImpl.java", "file_ext": "java", "file_size_in_b... | https://github.com/sdl2256/JavaWeb | 228 | FILENAME: BookShopServiceImpl.java | 0.292595 | package com.sundl.spring.tx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transa... |
555a4c75-4f46-44ca-bb93-8cb819526229 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-14 03:06:07", "repo_name": "YuanChenM/xcdv1.5", "sub_path": "/Services/msk-product/src/main/java/com/msk/product/bean/ProductClasses.java", "file_name": "ProductClasses.java", "file_ext": "java", "file_size_in... | https://github.com/YuanChenM/xcdv1.5 | 238 | FILENAME: ProductClasses.java | 0.250913 | package com.msk.product.bean;
import com.msk.core.entity.PdClasses;
import org.springframework.util.CollectionUtils;
import java.util.List;
/**
*
* @author gyh
*
*/
public class ProductClasses extends PdClasses {
/** serialVersionUID */
private static final long serialVersionUID = 1L;
private int siz... |
1ca12de0-0d15-4cb8-8cc7-35353f64b8ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-05-26 14:59:10", "repo_name": "baileyje/junkbin", "sub_path": "/baileyje/src/main/java/org/jboss/modules/cl/DefaultResourceSpec.java", "file_name": "DefaultResourceSpec.java", "file_ext": "java", "file_size_in_by... | https://github.com/baileyje/junkbin | 204 | FILENAME: DefaultResourceSpec.java | 0.229535 | package org.jboss.modules.cl;
import org.jboss.modules.spi.Module;
import org.jboss.modules.spi.ResourceLoader;
import org.jboss.modules.spi.ResourceSpec;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
/**
* @author <a href="mailto:jbailey@redhat.com">John Bailey</a>
*/
public class D... |
c91cbe44-1de9-44e4-90aa-44705cc9d533 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-27 11:46:56", "repo_name": "bigdemage/UtilsArrange", "sub_path": "/utils-common/src/main/java/com/lyn/utils/dayuren/SearchFile.java", "file_name": "SearchFile.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/bigdemage/UtilsArrange | 241 | FILENAME: SearchFile.java | 0.274351 | package com.lyn.utils.dayuren;
import java.io.File;
/**
* 查询文件
*/
public class SearchFile {
public static void main(String[] args) throws Exception {
searchFile("F:\\十方俱灭\\大鱼人");
}
public static void replaceFileName(File f,String newName){
String c=f.getParent();
File mm=new Fi... |
569a746c-e2c0-4787-abf5-0be89424fc9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-31 04:06:10", "repo_name": "twan65/springboot-doma2-web", "sub_path": "/src/main/java/com/sample/common/entity/SearchEntity.java", "file_name": "SearchEntity.java", "file_ext": "java", "file_size_in_byte": 112... | https://github.com/twan65/springboot-doma2-web | 242 | FILENAME: SearchEntity.java | 0.226784 | package com.sample.common.entity;
import lombok.Builder;
import java.util.List;
//@Entity
public class SearchEntity {
// タイトル
private String title;
// 概要
private String overview;
// 掲載開始日FROM
private String displayStartDateFrom;
// 掲載開始日TO
private String displayStartDateTo;
/... |
f4caa042-7d76-47fd-ad24-698b61ad86e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 15:39:29", "repo_name": "AlexeyKarandin/skillbox-learning", "sub_path": "/05_ArraysAndCollections/homework_5.3/EmailList/src/main/java/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in... | https://github.com/AlexeyKarandin/skillbox-learning | 190 | FILENAME: Main.java | 0.258326 | import java.util.Scanner;
import java.util.regex.Pattern;
public class Main {
public static final String WRONG_EMAIL_ANSWER = "Неверный формат email";
public static void main(String[] args) {
EmailList emailList = new EmailList();
Scanner scanner = new Scanner(System.in);
final String ... |
4cd1eb31-8c75-428a-8381-4e66eb1c090a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-24 20:11:40", "repo_name": "FilipKesteli/PrvaAplikacija", "sub_path": "/app/src/main/java/com/filipkesteli/prvaaplikacija/ResultActivity.java", "file_name": "ResultActivity.java", "file_ext": "java", "file_siz... | https://github.com/FilipKesteli/PrvaAplikacija | 194 | FILENAME: ResultActivity.java | 0.286968 | package com.filipkesteli.prvaaplikacija;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
public class ResultActivity extends AppCompatActivity {
private EditText etResult;
@Override
protected void onCreate(Bundle s... |
39466e6a-10b3-451b-b06c-d9a16d5bff34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-27 06:26:15", "repo_name": "ETropynina/2505", "sub_path": "/app/src/main/java/com/example/elina/a2505/Main4Activity.java", "file_name": "Main4Activity.java", "file_ext": "java", "file_size_in_byte": 1026, "lin... | https://github.com/ETropynina/2505 | 192 | FILENAME: Main4Activity.java | 0.286968 | package com.example.elina.a2505;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class Main4Activity extends AppCompatActivity {
TextView quoteText;
@Overri... |
d87a27ea-2b20-4ef0-aa3a-ede6f10f21a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-01-27 14:59:25", "repo_name": "mrcljx/ggj2013", "sub_path": "/src/org/ggj2013/StartActivity.java", "file_name": "StartActivity.java", "file_ext": "java", "file_size_in_byte": 978, "line_count": 34, "lang": "en", ... | https://github.com/mrcljx/ggj2013 | 194 | FILENAME: StartActivity.java | 0.23231 | package org.ggj2013;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.view.Window;
import android.view.WindowManager;
public class StartActivity extends Activity {
... |
0c027bef-d17d-4bc6-ae90-265121b14fb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-10 12:45:59", "repo_name": "coderfocus/Spring-family", "sub_path": "/servlet-in-springboot-demo/src/main/java/com/coderfocus/servletinspringbootdemo/servlet/MyServletRequestLinstener.java", "file_name": "MySer... | https://github.com/coderfocus/Spring-family | 174 | FILENAME: MyServletRequestLinstener.java | 0.246533 | package com.coderfocus.servletinspringbootdemo.servlet;
import org.springframework.beans.factory.annotation.Autowired;
import javax.servlet.ServletContext;
import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.... |
a5c78bd1-ed83-435e-91f2-62104642f483 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-17T09:13:25", "repo_name": "webduinoio/samples", "sub_path": "/content/oled/bower_components/webduino/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1042, "line_count": 57, "l... | https://github.com/webduinoio/samples | 260 | FILENAME: README.md | 0.239349 | # webduino
Web components for Webduino
## Installation
```Shell
$ bower install webduino
```
Build webduino-js dist files:
```Shell
$ cd bower_components/webduino-js
$ npm install && npm run build
```
## Usage
Insert webduino web-components and polyfill:
```
<script src='bower_components/webcomponentsjs/webcomp... |
2e2ac4e2-36bc-4c15-9aed-40d6cd30e345 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-22 05:35:12", "repo_name": "zhounan-n/mq-demo", "sub_path": "/src/main/java/com/example/rabbitmqdemo/topic/TopicSender.java", "file_name": "TopicSender.java", "file_ext": "java", "file_size_in_byte": 1047, "li... | https://github.com/zhounan-n/mq-demo | 227 | FILENAME: TopicSender.java | 0.226784 | package com.example.rabbitmqdemo.topic;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* Created by zhoun on 2019-05-14
*/
@Compon... |
636039dc-7134-4999-a89c-422377a1349d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-11 10:13:08", "repo_name": "eclecticTraveler/Technology-Exploration", "sub_path": "/Java/DataStructures/App Development 2015/src/com/alberto/arellano/ThreadsSandbox/CloningThreadDemo.java", "file_name": "Cloni... | https://github.com/eclecticTraveler/Technology-Exploration | 219 | FILENAME: CloningThreadDemo.java | 0.245085 | package com.alberto.arellano.ThreadsSandbox;
import java.util.Objects;
/**
* Created by rome on 11/4/2015.
*/
public class CloningThreadDemo{
// Threads were never designed to be cloned. Doing some reading sparked off one of the comments I found this summed it up quite well :
// "But we either have to disallow... |
db5d7177-0a5c-46a1-99e6-9f4c52dd9c4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-22 11:03:17", "repo_name": "tyaloo/cache-proxy", "sub_path": "/cache-proxy-memcacheclient/src/main/java/com/ctriposs/cache/foroldlogic/Entities/MInstance.java", "file_name": "MInstance.java", "file_ext": "java... | https://github.com/tyaloo/cache-proxy | 245 | FILENAME: MInstance.java | 0.262842 | package com.ctriposs.cache.foroldlogic.Entities;
import com.ctriposs.cache.memcached.MemcachedClient;
public class MInstance
{
private String privateIpAddress;
public final String getIpAddress()
{
return privateIpAddress;
}
public final void setIpAddress(String value)
{
privateIpAddress = value;
}
priva... |
479cc99c-7543-4cb7-92c5-51d8132c232e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-04 08:58:55", "repo_name": "abhishekmit1982/ticketingservice", "sub_path": "/src/main/java/com/walmart/ticketing/seats/Position.java", "file_name": "Position.java", "file_ext": "java", "file_size_in_byte": 102... | https://github.com/abhishekmit1982/ticketingservice | 228 | FILENAME: Position.java | 0.29584 | package com.walmart.ticketing.seats;
import java.util.Objects;
public class Position {
private Integer seatNumber;
private Integer rowNumber;
public Position(){}
public Position(Integer rowNumber, Integer seatNumber)
{
this.seatNumber = seatNumber;
this.rowNumber = rowNumber;
}
public Integer getSea... |
548a78f0-bada-4c52-99fd-4a865ca92e26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-09 14:40:40", "repo_name": "OleksandrAfanasiev/hotel-booking", "sub_path": "/src/main/java/ua/com/booking/hotel/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "fil... | https://github.com/OleksandrAfanasiev/hotel-booking | 178 | FILENAME: UserServiceImpl.java | 0.286169 | package ua.com.booking.hotel.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ua.com.booking.hotel.entity.User;
import ua.com.booking.hotel.repository.UserRepository;
import ua.com.booking.hotel.service.UserService;
import javax.persist... |
23057c9b-2bfd-48c0-9485-6633971ce112 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-28 14:58:10", "repo_name": "Sloydeath/Onboarding", "sub_path": "/src/main/java/com/leverx/onboarding/streams/model/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 978, "line_... | https://github.com/Sloydeath/Onboarding | 218 | FILENAME: Person.java | 0.242206 | package com.leverx.onboarding.streams.model;
import lombok.Getter;
import lombok.Setter;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
@Setter
@Getter
public class Person {
private Long personId;
private String name;
private List<Skill> skills;
public Person(Long person... |
4d0f2a20-bbaf-434a-82d7-70a58b27753d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-11 16:24:59", "repo_name": "pascalisnala/CleArtProject", "sub_path": "/app/src/main/java/com/example/pascalisnala/cleart/models/Attraction.java", "file_name": "Attraction.java", "file_ext": "java", "file_size_... | https://github.com/pascalisnala/CleArtProject | 216 | FILENAME: Attraction.java | 0.201813 | package com.example.pascalisnala.cleart.models;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Attraction {
@SerializedName("attrid")
private int attrid;
@SerializedName("attrname")
private String attrname;
@SerializedName("location")
private String ... |
0ff8b3e6-2ae1-434d-aa34-fb4ceb053784 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 14:29:06", "repo_name": "israjHaliri/java-springboot-hazelcast", "sub_path": "/src/main/java/com/haliri/israj/javaspringboothazelcast/service/HazelcastSerivce.java", "file_name": "HazelcastSerivce.java", "f... | https://github.com/israjHaliri/java-springboot-hazelcast | 232 | FILENAME: HazelcastSerivce.java | 0.262842 | package com.haliri.israj.javaspringboothazelcast.service;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Map;
@Service
public class HazelcastSerivce {
priv... |
f4635b2e-9048-456c-aa65-c8c03333cc97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-27 07:51:04", "repo_name": "abhijind/spring-microservices", "sub_path": "/user-service/src/main/java/com/abhijind/userservice/controller/UserController.java", "file_name": "UserController.java", "file_ext": "j... | https://github.com/abhijind/spring-microservices | 194 | FILENAME: UserController.java | 0.233706 | package com.abhijind.userservice.controller;
import com.abhijind.userservice.entity.User;
import com.abhijind.userservice.service.UserService;
import com.abhijind.userservice.valueobjects.ResponseTemplateVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.ResponseEntity;
import org.springframework.we... |
5c0a6df7-edf0-4591-b66d-9979462793a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-01 11:54:45", "repo_name": "narudocap/planner-seed", "sub_path": "/src/planner/Port.java", "file_name": "Port.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 49, "lang": "en", "doc_type": "c... | https://github.com/narudocap/planner-seed | 284 | FILENAME: Port.java | 0.29584 | package planner;
/**
* Port - each port has an id, ports' ids must be unique inside the components
* they belong to
*/
public abstract class Port extends AppElement {
protected String cId; // id of the component it is in
protected String vmId; // id of the VM the component is in
/**
* @param pId
* @param cI... |
3064f4bf-48dd-407e-9f86-59f0682afaf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-10 03:55:34", "repo_name": "heewon8179/JAVA", "sub_path": "/TeamPrj01/src/controller/MainController.java", "file_name": "MainController.java", "file_ext": "java", "file_size_in_byte": 1035, "line_count": 43, "... | https://github.com/heewon8179/JAVA | 212 | FILENAME: MainController.java | 0.279042 | package controller;
import java.util.Scanner;
import dto.*;
import service.Service;
public class MainController {
public static void main(String[] args) {
Service service = new Service();
Scanner scan = new Scanner(System.in);
int menu=0;
while(true){
service.titl... |
b49038fd-b81e-4f0f-b8a1-4595d14261a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-08 12:18:56", "repo_name": "ceeconro/ms-tenpo-test", "sub_path": "/src/main/java/org/tenpo/test/mstenpotest/security/user/UserMapper.java", "file_name": "UserMapper.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ceeconro/ms-tenpo-test | 179 | FILENAME: UserMapper.java | 0.236516 | package org.tenpo.test.mstenpotest.security.user;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Component;
... |
e8f50364-b08c-453f-a1aa-f6b4d79274db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-27 00:28:01", "repo_name": "arkaic/MazeSolve", "sub_path": "/src/assignment6/dlist/DNode.java", "file_name": "DNode.java", "file_ext": "java", "file_size_in_byte": 1051, "line_count": 70, "lang": "en", "doc_ty... | https://github.com/arkaic/MazeSolve | 257 | FILENAME: DNode.java | 0.246533 |
package assignment6.dlist;
/**
*
* @author henry
*/
public class DNode<E>
{
private DNode<E> next;
private DNode<E> previous;
private E element;
public DNode()
{
this(null, null, null);
}
public DNode(E element)
{
this(element, null, null);
}
public DNo... |
66680d61-311c-4312-a7c0-164fa8332597 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-10 08:37:46", "repo_name": "q-exchange/framework", "sub_path": "/core/src/main/java/cn/ztuo/bitrade/constant/ActivityRewardType.java", "file_name": "ActivityRewardType.java", "file_ext": "java", "file_size_in_... | https://github.com/q-exchange/framework | 241 | FILENAME: ActivityRewardType.java | 0.26971 | package cn.ztuo.bitrade.constant;
import com.fasterxml.jackson.annotation.JsonValue;
import cn.ztuo.bitrade.core.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
/**
* @author GuoShuai
* @date 2018年03月08日
*/
@AllArgsConstructor
@Getter
public enum ActivityRewardType implement... |
113b5a71-7bc9-4963-881c-0f6fb1117606 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-20 08:10:19", "repo_name": "gaofeifan/linkemore", "sub_path": "/order-service/order-server/src/main/java/cn/linkmore/order/controller/staff/response/ResPreList.java", "file_name": "ResPreList.java", "file_ext"... | https://github.com/gaofeifan/linkemore | 229 | FILENAME: ResPreList.java | 0.23092 | package cn.linkmore.order.controller.staff.response;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel("车场列表")
public class ResPreList implements Serializable {
/**
*
... |
9e35bcd7-782a-4920-b654-16f597c3fa5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-11 23:15:34", "repo_name": "Contrapuntist/NewsApp", "sub_path": "/app/src/main/java/com/example/android/newsapp/Article.java", "file_name": "Article.java", "file_ext": "java", "file_size_in_byte": 988, "line_c... | https://github.com/Contrapuntist/NewsApp | 192 | FILENAME: Article.java | 0.182426 | package com.example.android.newsapp;
public class Article {
private String title;
private String author;
private String section;
private String pubDate;
private String url;
private String image;
public Article(String articleTitle, String articleAuthor,
String articleSec... |
757c0fca-415c-4477-aa01-b79318ceba40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-02 10:59:26", "repo_name": "lf-kailashraj/batch7crud", "sub_path": "/batch7crud-roll6/src/main/java/com/lftechnology/batch7crud/db/DbConnector.java", "file_name": "DbConnector.java", "file_ext": "java", "file_... | https://github.com/lf-kailashraj/batch7crud | 193 | FILENAME: DbConnector.java | 0.243642 | package com.lftechnology.batch7crud.db;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import com.lftechnology... |
162225f1-0dfc-4ee2-b6aa-b8d903c25587 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-04T06:26:13", "repo_name": "chbrooks/CS514threadExamples", "sub_path": "/src/BankDepositExample3.java", "file_name": "BankDepositExample3.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 31,... | https://github.com/chbrooks/CS514threadExamples | 213 | FILENAME: BankDepositExample3.java | 0.285372 | public class BankDepositExample3 implements Runnable {
BankAccount3 account;
public BankDepositExample3(BankAccount3 b) {
account = b;
}
public void run() {
int nb;
try {
for (int i = 0; i < 100; i++) {
System.out.println("Transferring from checking ... |
4c920f17-df2a-4d72-9d9a-adc9af28e5eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-27 17:35:11", "repo_name": "iamdeowanshi/paymentApp", "sub_path": "/user/app/src/main/java/com/tecsol/batua/user/data/model/User/PaymentMode.java", "file_name": "PaymentMode.java", "file_ext": "java", "file_si... | https://github.com/iamdeowanshi/paymentApp | 287 | FILENAME: PaymentMode.java | 0.23231 | package com.tecsol.batua.user.data.model.User;
import com.google.gson.annotations.SerializedName;
import org.parceler.Parcel;
/**
* @author Arnold Laishram.
*/
@Parcel
public class PaymentMode {
@SerializedName("id")
private Integer id;
@SerializedName("paymentMode")
private String paymentMode;
... |
670cf310-9a4a-465c-8749-cef5fcb8a9ec | {"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/Dog.java", "file_name": "Dog.java", "file_ext": "java", "file_size_in_byte": 1179, "line_count": 65, "lang": "zh"... | https://github.com/wlBoy/center | 381 | FILENAME: Dog.java | 0.279828 | package com.seecen.exam.day0808;
/**
* 狗实体类
*
* @scjs170602
* @author 【万磊】
* @2017年8月8日
*/
public class Dog extends Pet {
private String type;// 类型
public Dog() {
super();
}
public Dog(String name, int healthy, int lover) {
super(name, healthy, lover);
}
public String getType() {
return type;
}
... |
79426748-00a3-4f74-9e9e-79f073f399db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-05-04T18:50:53", "repo_name": "wesleysmyth/nycitibike", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1099, "line_count": 21, "lang": "en", "doc_type": "text", "bl... | https://github.com/wesleysmyth/nycitibike | 247 | FILENAME: README.md | 0.293404 | # nycitibike
A data visualization of Citibike usage around New York City.
This tool provides a visualization of the average, maximum, and minimum number of Citibikes available over a 24 hour period for each half hour of the day. You can sort the chart by NYC, Brooklyn or Manhattan, any zip code, or a specific station... |
8f089072-97ab-4736-96c9-db7ec1560eec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 22:46:41", "repo_name": "codecentric/reedelk-module-rabbitmq", "sub_path": "/src/main/java/de/codecentric/reedelk/rabbitmq/internal/commons/Messages.java", "file_name": "Messages.java", "file_ext": "java", ... | https://github.com/codecentric/reedelk-module-rabbitmq | 229 | FILENAME: Messages.java | 0.259826 | package de.codecentric.reedelk.rabbitmq.internal.commons;
import de.codecentric.reedelk.runtime.api.commons.FormattedMessage;
public class Messages {
private Messages() {
}
public enum RabbitMQProducer implements FormattedMessage {
CREATE_CHANNEL_ERROR("The channel could not be created, cause=[... |
a75d92e7-cec1-44eb-943c-0284151c642d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-16 12:34:43", "repo_name": "CodeKul/hibernate-all-deepak", "sub_path": "/src/main/java/com/codekul/firsthibernate/domain/Tiger.java", "file_name": "Tiger.java", "file_ext": "java", "file_size_in_byte": 1215, "... | https://github.com/CodeKul/hibernate-all-deepak | 278 | FILENAME: Tiger.java | 0.279828 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.codekul.firsthibernate.domain;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
impo... |
588a237d-b9af-46b0-b664-260b7fde733c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-11 01:24:36", "repo_name": "huanxiangling/cmfz", "sub_path": "/src/main/java/com/baizhi/listener/BannerListener.java", "file_name": "BannerListener.java", "file_ext": "java", "file_size_in_byte": 1036, "line_c... | https://github.com/huanxiangling/cmfz | 221 | FILENAME: BannerListener.java | 0.261331 | package com.baizhi.listener;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.baizhi.dao.BannerDao;
import com.baizhi.entity.Banner;
import com.baizhi.util.ApplicationContextUtils;
import org.springframework.context.annotation.Configuration;
import jav... |
72ce31c7-af75-4522-8912-301680974fb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-13 19:28:07", "repo_name": "vladimirus/redditsearcher", "sub_path": "/src/test/java/com/redditsearcher/web/controller/HomeControllerTest.java", "file_name": "HomeControllerTest.java", "file_ext": "java", "file... | https://github.com/vladimirus/redditsearcher | 222 | FILENAME: HomeControllerTest.java | 0.29584 | package com.redditsearcher.web.controller;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.verify;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.ui.Model... |
ad5165ef-9954-4baa-99e6-9ac895ed7440 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-26 12:24:33", "repo_name": "AlexNastin/H2Test", "sub_path": "/src/by/st/h2_test/dao/connection_pool/H2_PropertyManager.java", "file_name": "H2_PropertyManager.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/AlexNastin/H2Test | 197 | FILENAME: H2_PropertyManager.java | 0.293404 | package by.st.h2_test.dao.connection_pool;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
public final class H2_PropertyManager {
private final String PATH = "db.properties";
private final String PR... |
d6fabc1a-d66e-4404-a020-d4c25bdc50a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 17:29:26", "repo_name": "Jeonghoon-Lee/android_practice", "sub_path": "/Day4Project3/app/src/main/java/ca/jeonghoon/day4project3/Test2Activity.java", "file_name": "Test2Activity.java", "file_ext": "java", "... | https://github.com/Jeonghoon-Lee/android_practice | 206 | FILENAME: Test2Activity.java | 0.272799 | package ca.jeonghoon.day4project3;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class Test2Activity extends AppCompatActivity implements View.OnClickListener {
@Override
protected void onCreate(Bundle savedInstanceS... |
05011761-33dd-46dd-a532-3a3f9f5a9065 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-04-01T09:56:57", "repo_name": "jclgoodwin/iplayer-podcast", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1065, "line_count": 23, "lang": "en", "doc_type": "text",... | https://github.com/jclgoodwin/iplayer-podcast | 295 | FILENAME: README.md | 0.235108 | This Haskell script turns a [get_iplayer][gi] download history file into a podcast feed.
There are other tools that do the same or similar things, such as [Martin O'Hanlon's get_iplayer_genrss][martin],
but this one is mine and it's what I use.
These days, the BBC Sounds app exists and supports downloads,
but I'm sti... |
3235e829-8661-4005-962b-254dc49ca95c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-15T22:36:55", "repo_name": "nguyenj0215/FriendFinder", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1214, "line_count": 20, "lang": "en", "doc_type": "text", "... | https://github.com/nguyenj0215/FriendFinder | 268 | FILENAME: README.md | 0.290176 | # FriendFinder - Psych!
The Friend Finder is a Psych themed application in which a user can answer survey questions to find the friend that the algorithm determines is most compatible. Upon determination of the most fit friend, a box containing the friends photo and name will be presented to the user. The user can als... |
402635ac-0479-4f03-91e1-7965025f53a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-01 03:24:35", "repo_name": "Helen403/HelenTime", "sub_path": "/app/src/main/java/HConstants/HConstants.java", "file_name": "HConstants.java", "file_ext": "java", "file_size_in_byte": 1252, "line_count": 60, "l... | https://github.com/Helen403/HelenTime | 340 | FILENAME: HConstants.java | 0.250913 | package HConstants;
/**
* Created by SNOY on 2017/5/13.
*/
public interface HConstants {
String url = "http://192.168.1.131:8080/timeLang/";
String url_man = "http://192.168.1.188:8080/timeLang/";
/**
* Eventbus 常量
*/
interface EVENT {
int HOMEREFRESH = 0;
int LOGINACTIVIT... |
ce7f2eb7-fd4b-47a9-a4aa-ae92d8d4aa6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-26T19:56:20", "repo_name": "martingaido/quasar-todo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1025, "line_count": 45, "lang": "en", "doc_type": "text", "b... | https://github.com/martingaido/quasar-todo | 268 | FILENAME: README.md | 0.259826 | # Quasar App (todo)
To-Do APP made with Quasar (uses localStorage to store the data)
## Install the dependencies
```bash
npm install
```
### Start the app in development mode (hot-code reloading, error reporting, etc.) (web app)
```bash
quasar dev
```
### Start the app in development mode (hot-code reloading, error... |
c29c916c-c74d-4b4e-8e1d-07d2f9429962 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-13 16:46:04", "repo_name": "MicroEJ/ExampleJava-MWT", "sub_path": "/immutable-stylesheet/src/main/java/com/microej/example/mwt/immutablestylesheet/fontprovider/ResourceFontProvider.java", "file_name": "Resourc... | https://github.com/MicroEJ/ExampleJava-MWT | 258 | FILENAME: ResourceFontProvider.java | 0.287768 | /*
* Copyright 2020-2022 MicroEJ Corp. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be found with this software.
*/
package com.microej.example.mwt.immutablestylesheet.fontprovider;
import ej.annotation.Nullable;
import ej.microui.display.Font;
/**
* Provides a specif... |
0a493157-9d2a-4343-ae2e-215842b3ed66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-01 12:47:36", "repo_name": "416135161/LarkMusic", "sub_path": "/app/src/main/java/internet/com/larkmusic/network/HttpUtil.java", "file_name": "HttpUtil.java", "file_ext": "java", "file_size_in_byte": 1058, "li... | https://github.com/416135161/LarkMusic | 211 | FILENAME: HttpUtil.java | 0.245085 | package internet.com.larkmusic.network;
import org.greenrobot.eventbus.EventBus;
import internet.com.larkmusic.action.ActionStopLoading;
import internet.com.larkmusic.bean.Song;
import okhttp3.Interceptor;
import okhttp3.OkHttpClient;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
impor... |
0c4ccb85-59cd-45d4-a1df-def6e55a22a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-14 09:10:24", "repo_name": "luoshiF18/treehole-master", "sub_path": "/th-framework-model/src/main/java/com/treehole/framework/domain/member/result/AuthCode.java", "file_name": "AuthCode.java", "file_ext": "jav... | https://github.com/luoshiF18/treehole-master | 281 | FILENAME: AuthCode.java | 0.261331 | package com.treehole.framework.domain.member.result;
import com.treehole.framework.model.response.ResultCode;
import lombok.ToString;
/**
* @Author: Qbl
* Created by 19:25 on 2019/11/12.
* Version: 1.0
*/
@ToString
public enum AuthCode implements ResultCode {
UNKNOWN_ERROR(false,-1,"未知错误"),
AUTH_LOGIN_AP... |
95a1793b-048e-40ec-af8b-a9673864504a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-12 07:50:59", "repo_name": "GarbledWang/JonahUtils", "sub_path": "/src/main/java/com/garbled/util/fragment/BaseFragment.java", "file_name": "BaseFragment.java", "file_ext": "java", "file_size_in_byte": 1136, "... | https://github.com/GarbledWang/JonahUtils | 218 | FILENAME: BaseFragment.java | 0.277473 | package com.garbled.util.fragment;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.garbled.util.activity.BaseActivity;
... |
b71b5450-3a5a-4bcc-adaa-744b5470e9db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-17 13:15:31", "repo_name": "Basse98/RestClient", "sub_path": "/src/main/java/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1084, "line_count": 33, "lang": "en", "doc_type": "co... | https://github.com/Basse98/RestClient | 243 | FILENAME: Main.java | 0.285372 | import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.JsonNode;
import com.mashape.unirest.http.Unirest;
import com.mashape.unirest.http.exceptions.UnirestException;
import org.json.JSONObject;
import java.util.HashMap;
import java.util.Map;
public class Main {
public static void main(Str... |
a6e5f369-3344-47b4-8738-bb398b52fdfe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-05 06:04:01", "repo_name": "Henry-liulei/day18-work", "sub_path": "/src/cn/mdl/Servlet/endServlet.java", "file_name": "endServlet.java", "file_ext": "java", "file_size_in_byte": 1215, "line_count": 36, "lang":... | https://github.com/Henry-liulei/day18-work | 196 | FILENAME: endServlet.java | 0.264358 | package cn.mdl.Servlet;
import cn.mdl.Pojo.User;
import cn.mdl.Service.ServiceImpl.UserServiceImpl;
import cn.mdl.Service.UserService;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.se... |
9c8b827a-6548-4667-a31b-eb96f2bb1a8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-12 14:39:38", "repo_name": "DreamXy/basicsTest", "sub_path": "/yiqi-common/src/main/java/com/yiqi/common/utils/CodeMsg.java", "file_name": "CodeMsg.java", "file_ext": "java", "file_size_in_byte": 1082, "line_c... | https://github.com/DreamXy/basicsTest | 277 | FILENAME: CodeMsg.java | 0.258326 | package com.yiqi.common.utils;
import java.io.Serializable;
/**
* @author chan
* @Description: 返回消息统一定义文件
* @email chan150@163.com
* @date 2018/12/2815:39
*/
public class CodeMsg implements Serializable {
private static final long serialVersionUID = 1L;
private int code;
private String msg;
// ... |
6d2a512c-6553-4b74-8870-6a2f41f3591c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-07 20:41:19", "repo_name": "Pustik41/HomeACP14", "sub_path": "/HomeACP14/src/main/java/homework/week4/data_base/models/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1000, "... | https://github.com/Pustik41/HomeACP14 | 213 | FILENAME: Person.java | 0.23231 | package homework.week4.data_base.models;
/**
* Created by Котято on 06.10.2016.
*/
public abstract class Person {
private String firstName;
private String lastName;
private String mail;
public Person(String firstName, String lastName, String mail) {
this.firstName = firstName;
this.... |
afc6fff8-c6ba-4c26-9d16-8cb5f20e8ec4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-06-04T17:28:21", "repo_name": "Liador/asylamba-game", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1131, "line_count": 46, "lang": "en", "doc_type": "text",... | https://github.com/Liador/asylamba-game | 281 | FILENAME: CHANGELOG.md | 0.286968 | ## [2.1.0] - 2017-06-01
### Added
- Container class for services and parameters
- Application core class
- Tests PSR-4 autoload
- Tests shortcut command
- Services and parameters configuration files
- Module main class with specific configuration file
- Unit of work pattern
- Entity Manager
- Routing component
- Templa... |
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":... | https://github.com/VernonG07/SpringBootDemo | 191 | FILENAME: DemoApplication.java | 0.279042 | 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... |
5f55b9dd-5dcc-41b5-9ddf-b72ceb5af13e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2010-03-22 02:23:42", "repo_name": "Jared314/android-bluetooth-reconnect", "sub_path": "/src/com/bluecasedevelopment/bluetoothreconnect/MediaPlaybackReceiver.java", "file_name": "MediaPlaybackReceiver.java", "file_ext... | https://github.com/Jared314/android-bluetooth-reconnect | 209 | FILENAME: MediaPlaybackReceiver.java | 0.23231 | package com.bluecasedevelopment.bluetoothreconnect;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
public class MediaPlaybackReceiv... |
8b5dc80a-664a-4670-9624-c4cdb00d4937 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-07 12:55:22", "repo_name": "treasureanimal/shop", "sub_path": "/gmall-pms/src/main/java/com/study/gmall/service/impl/CommentReplayServiceImpl.java", "file_name": "CommentReplayServiceImpl.java", "file_ext": "j... | https://github.com/treasureanimal/shop | 193 | FILENAME: CommentReplayServiceImpl.java | 0.259826 | package com.study.gmall.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.study.core.bean.PageVo;
import com.study.core.bean.Query;
import com.study.core.b... |
47aad893-49c3-4ec7-8aff-5fc987ba0e81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-01 14:18:11", "repo_name": "May-24th/booktrading", "sub_path": "/src/test/java/com/lh/booktrading/mybatis/mapper/CategoryMapperTest.java", "file_name": "CategoryMapperTest.java", "file_ext": "java", "file_size... | https://github.com/May-24th/booktrading | 225 | FILENAME: CategoryMapperTest.java | 0.279828 | package com.lh.booktrading.mybatis.mapper;
import com.lh.booktrading.BooktradingApplicationTests;
import com.lh.booktrading.mybatis.pojo.Category;
import org.junit.Assert;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import static org.junit.jupiter.api.Assertions.*... |
52b9d8a7-1b20-4e8c-93e4-7ef0fb35ee86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-21 05:05:44", "repo_name": "anushavinno2276/onlineshop", "sub_path": "/test/org/online/shopping/BaseTest.java", "file_name": "BaseTest.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 43, "l... | https://github.com/anushavinno2276/onlineshop | 205 | FILENAME: BaseTest.java | 0.279042 | package org.online.shopping;
import java.sql.SQLException;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.online.shopping.pagination.PaginationFilter;
import org.online.shopping.repository.DatabaseFactory;
public abstract class BaseTest {
private TestDatabaseUtil testData... |
1062bb34-50a3-4ac7-ac87-cb5fba2638aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 18:48:49", "repo_name": "samuelmoorec/MockPrep", "sub_path": "/src/main/java/com/codeup/mockprep/Controllers/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_size_in_byt... | https://github.com/samuelmoorec/MockPrep | 207 | FILENAME: IndexController.java | 0.247987 | package com.codeup.mockprep.Controllers;
import com.codeup.mockprep.Models.User;
import com.codeup.mockprep.Repo.UserRepo;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
@Controller
pu... |
315985e4-4d41-4882-a242-c9b6bc1d4eea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 14:48:50", "repo_name": "RGnotB/OralMessageFlow", "sub_path": "/src/byzantine/InfoForGraphics.java", "file_name": "InfoForGraphics.java", "file_ext": "java", "file_size_in_byte": 1215, "line_count": 46, "la... | https://github.com/RGnotB/OralMessageFlow | 271 | FILENAME: InfoForGraphics.java | 0.287768 | import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.*;
import com.fasterxml.jackson.databind.SerializationFeature;
import java.io.File;
import java.util.ArrayList;
public class InfoForGraphics implements Serializable{
private int value;
private int... |
b3d66b11-a8c8-46d4-b0f6-66d6333e48d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-28 14:57:13", "repo_name": "Xevenut/BetterBungeecordMotd", "sub_path": "/src/de/Kurfat/Java/Minecraft/BB/Motd/Config/PictureMode.java", "file_name": "PictureMode.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Xevenut/BetterBungeecordMotd | 271 | FILENAME: PictureMode.java | 0.268941 | package de.Kurfat.Java.Minecraft.BB.Motd.Config;
import com.google.gson.annotations.Expose;
import de.Kurfat.Java.Minecraft.BB.Motd.BetterBungeecordMotd;
public class PictureMode {
@Expose
private Mode mode = Mode.AVATAR;
@Expose
private String customAddress = "https://<ip>/<path>.png";
public ... |
b01851fe-b443-405d-a750-f6bcabb31bdf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-24T08:53:21", "repo_name": "izraren/docker-flask", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 987, "line_count": 44, "lang": "en", "doc_type": "text", "blob_... | https://github.com/izraren/docker-flask | 277 | FILENAME: README.md | 0.284576 | # Pull code
git clone https://github.com/izraren/docker-flask
cd flask-docker
# Create docker registry
docker run -d -p 5000:5000 --restart always --name registry registry:2
# Build Docker Image
docker build -t flask-demo:latest .
# Push Image to docker registry
docker tag flask-demo:latest localhost:5000/flas... |
3ca606fb-c241-4d36-827d-bcfe4f9be46b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-10 15:05:27", "repo_name": "het3096/Het_Patel_ICE1", "sub_path": "/src/javaapplication3/CardTrick.java", "file_name": "CardTrick.java", "file_ext": "java", "file_size_in_byte": 1133, "line_count": 48, "lang": ... | https://github.com/het3096/Het_Patel_ICE1 | 256 | FILENAME: CardTrick.java | 0.287768 |
package javaapplication3;
import java.util.Scanner;
/**
*
* modifier Het
*/
public class CardTrick {
public static void main(String[] args)
{
int value;
Card[] magicHand = new Card[7];
for (int i = 0; i< magicHand.length; i++) {
... |
2a6a7de6-24c0-45c7-ba33-61f717d383fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-18 09:19:57", "repo_name": "17828127004/Mjl", "sub_path": "/app/src/main/java/view/LoadingDialog.java", "file_name": "LoadingDialog.java", "file_ext": "java", "file_size_in_byte": 1231, "line_count": 40, "lang... | https://github.com/17828127004/Mjl | 254 | FILENAME: LoadingDialog.java | 0.284576 | package view;
import android.app.Dialog;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.AnimationDrawable;
import android.graphics.drawable.ColorDrawable;
import android.view.animation.Animation;
import android.view.animation.ScaleA... |
536116c6-6cfd-465d-933a-a4d7a9f4b921 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-23 06:43:59", "repo_name": "pawbial/java_ktw9_Servlety", "sub_path": "/LoginApp/src/main/java/pl/sdacademy/MainServlet.java", "file_name": "MainServlet.java", "file_ext": "java", "file_size_in_byte": 1051, "li... | https://github.com/pawbial/java_ktw9_Servlety | 178 | FILENAME: MainServlet.java | 0.243642 | package pl.sdacademy;
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 javax.servlet.http.HttpSession;
import java.io.IOException;
import java.uti... |
59186e71-1293-4772-b974-e2a992d0343a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-28 17:04:50", "repo_name": "isrh/Coding-Dojo-Java", "sub_path": "/spring/Spring data II/StudentList/src/main/java/com/ignaciorivera/studentlist/controllers/HomeApi.java", "file_name": "HomeApi.java", "file_ext... | https://github.com/isrh/Coding-Dojo-Java | 207 | FILENAME: HomeApi.java | 0.290981 | package com.ignaciorivera.studentlist.controllers;
import java.util.List;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestControl... |
744ed287-a6de-4518-a473-b0a4ab47629e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-30 00:21:29", "repo_name": "Devan-Kerman/PoliticsAndJava", "sub_path": "/src/main/java/ai/play/devtech/core/api/tradeprice/LowestBuy.java", "file_name": "LowestBuy.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Devan-Kerman/PoliticsAndJava | 250 | FILENAME: LowestBuy.java | 0.272799 | package ai.play.devtech.core.api.tradeprice;
import java.util.Date;
import ai.play.devtech.APIObject;
import ai.play.devtech.core.objects.manipulation.DataName;
import ai.play.devtech.core.util.s.Strings;
/**
* The best price to buy at
*
* @author devan
*/
public class LowestBuy extends APIObject {
private stat... |
ea0bfeca-0482-40ed-b3b6-2f978eb0ba2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-29 20:36:39", "repo_name": "dimitriderose/DonPon", "sub_path": "/src/main/java/com/donpon/model/Credentials/CredentialsImpl.java", "file_name": "CredentialsImpl.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/dimitriderose/DonPon | 234 | FILENAME: CredentialsImpl.java | 0.261331 | package com.donpon.model.Credentials;
import org.springframework.data.neo4j.annotation.Fetch;
import org.springframework.data.neo4j.annotation.GraphId;
import org.springframework.data.neo4j.annotation.NodeEntity;
import org.springframework.data.neo4j.annotation.RelatedTo;
import com.donpon.model.Person.Person;
@Node... |
e356d35c-ebde-4aeb-abb8-07497ff0fb7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03 21:38:09", "repo_name": "dilbaay23/MusicFestivalApp-JavaSE", "sub_path": "/src/be/btep/teamcappucino/model/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 1112, "line_... | https://github.com/dilbaay23/MusicFestivalApp-JavaSE | 232 | FILENAME: Customer.java | 0.216012 | package be.btep.teamcappucino.model;
import java.time.LocalDate;
public class Customer extends Person {
private Long id;
private String password;
private boolean isManager;
public Customer() {
super();
}
public Customer(String name, String surname, Gender gender, LocalDate dob, Stri... |
618c230f-0701-40d1-a7a5-dcffcdc0d25e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-26 08:28:28", "repo_name": "gitzzp/ECode", "sub_path": "/baselib/src/main/java/com/gitzzp/ecode/baselib/view/CustomViewDialog.java", "file_name": "CustomViewDialog.java", "file_ext": "java", "file_size_in_byte... | https://github.com/gitzzp/ECode | 223 | FILENAME: CustomViewDialog.java | 0.247987 | package com.gitzzp.ecode.baselib.view;
import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.gitzzp.ecode.baselib.R;
/**
* 创建人:gitzzp
* 创建日期:17/3/1 11:46
* 类描述:
*/
public class CustomViewDialog extends Dialog {
private CustomViewDialo... |
d0d62c05-d81e-42b2-a1ae-37d522a45782 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-23 11:52:01", "repo_name": "mikeygithub/netty", "sub_path": "/src/main/java/com/mikey/grpc/GrpcClient.java", "file_name": "GrpcClient.java", "file_ext": "java", "file_size_in_byte": 1303, "line_count": 45, "la... | https://github.com/mikeygithub/netty | 296 | FILENAME: GrpcClient.java | 0.256832 | package com.mikey.grpc;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import io.grpc.stub.ClientCalls;
import java.util.logging.Logger;
/**
* @ProjectName netty
* @Author 麦奇
* @Email biaogejiushibiao@outlook.com
* @Date 10/2/19 11:02 AM
* @Version 1.0
* @Description:
**/
public class G... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.