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 |
|---|---|---|---|---|---|---|
510e54c6-3812-4fdc-a0b7-6067a50aa445 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-26T18:11:21", "repo_name": "atersakyan/Data-Science-Projects", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 17, "lang": "en", "doc_type": "t... | https://github.com/atersakyan/Data-Science-Projects | 227 | FILENAME: README.md | 0.284576 | # Repository of Personal Projects
- Project blogs can be found on my [Medium](https://medium.com/@atersakyan)
- [My LinkedIn Profile](https://www.linkedin.com/in/atersakyan/)
## [AirBnb Price Predictions](https://github.com/atersakyan/Projects/tree/master/MetisProject2)
**Examined predictors of AirBnb prices in NYC.*... |
adcadce0-1acc-4b35-ae0d-0a751db15c39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-19 09:40:33", "repo_name": "TechnoElf/JDungeons", "sub_path": "/src/com/jhjava/jdungeons/engine/components/GameObjectManager.java", "file_name": "GameObjectManager.java", "file_ext": "java", "file_size_in_byte... | https://github.com/TechnoElf/JDungeons | 239 | FILENAME: GameObjectManager.java | 0.282196 | package com.jhjava.jdungeons.engine.components;
import com.jhjava.jdungeons.engine.GameContainer;
import com.jhjava.jdungeons.engine.render.Renderer;
import java.util.ArrayList;
public class GameObjectManager {
private ArrayList<GameObject> objects = new ArrayList<>();
public void updateObjects(GameContainer gc, ... |
c1c6329f-5a93-4832-aa54-ed69245e5838 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-24 10:55:44", "repo_name": "xuedie12369/ordermealsys", "sub_path": "/src/main/java/zsc/ordermealsys/pojo/StorePicWithBLOBs.java", "file_name": "StorePicWithBLOBs.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/xuedie12369/ordermealsys | 203 | FILENAME: StorePicWithBLOBs.java | 0.253861 | package zsc.ordermealsys.pojo;
import java.util.Date;
public class StorePicWithBLOBs extends StorePic {
private String environmentPic;
private String licensePic;
public StorePicWithBLOBs(Integer id, String sellerName, Date createTime, Date updateTime, String environmentPic, String licensePic) {... |
dc336e5f-fa09-405e-bbf6-c66528c39938 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-02T00:22:52", "repo_name": "patondev/empirica-guide", "sub_path": "/WSL/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 971, "line_count": 33, "lang": "en", "doc_type": "text",... | https://github.com/patondev/empirica-guide | 238 | FILENAME: README.md | 0.261331 | # Installation
* Please refer to this guide to install WSL2. https://docs.microsoft.com/en-us/windows/wsl/install-win10. Don't forget to turn on `Virtual Machine Platform` and `Windows Subsystem for Linux`.

* After WSL installation is done, go to App Store, search for Ubu... |
19288151-ee1f-4388-9c6f-412d7d797c89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-28 16:32:18", "repo_name": "imrana559/travel-planner", "sub_path": "/app/src/main/java/ba/unsa/pmf/planerputovanja/PutovanjeActivity.java", "file_name": "PutovanjeActivity.java", "file_ext": "java", "file_size... | https://github.com/imrana559/travel-planner | 216 | FILENAME: PutovanjeActivity.java | 0.262842 | package ba.unsa.pmf.planerputovanja;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import java.util.UUID;
public class PutovanjeActivity e... |
33eb9418-67d9-4bfd-9daf-05ec824517ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-10 02:09:59", "repo_name": "zhp8341/flink-streaming-platform-web", "sub_path": "/flink-streaming-web/src/main/java/com/flink/streaming/web/controller/api/ApiController.java", "file_name": "ApiController.java",... | https://github.com/zhp8341/flink-streaming-platform-web | 216 | FILENAME: ApiController.java | 0.184768 | package com.flink.streaming.web.controller.api;
import com.flink.streaming.web.ao.JobServerAO;
import com.flink.streaming.web.common.RestResult;
import com.flink.streaming.web.controller.web.BaseController;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.spri... |
24098a9a-f04e-46d6-b9a2-fad2ee95643b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-08 03:57:06", "repo_name": "nuttt/Pong", "sub_path": "/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 47, "lang": "en", "doc_type": "code", "blob_id": "892e24... | https://github.com/nuttt/Pong | 249 | FILENAME: Item.java | 0.29584 | import java.awt.Image;
public abstract class Item {
private double x,y;
private double radius;
public final static double DEFAULT_ITEM_REDIUS = 20;
public final static double ITEM_BOUND_X = 150;
public final static double ITEM_BOUND_Y = 50;
Image icon;
public Item() {
x = (Math.random()*(Game.GUI_WIDTH-2*ITE... |
861506a8-c958-459f-8f8a-e85600e0ec9d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-27 08:46:02", "repo_name": "sajadrajabi90213072/Golestan-Final", "sub_path": "/spring-boot-sample-data-jpa-h2-master/src/main/java/de/michlb/sample/service/PreServiceImpl.java", "file_name": "PreServiceImpl.ja... | https://github.com/sajadrajabi90213072/Golestan-Final | 226 | FILENAME: PreServiceImpl.java | 0.253861 | package de.michlb.sample.service;
import de.michlb.sample.domain.Course;
import de.michlb.sample.domain.Pre;
import de.michlb.sample.repositories.PreRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
/**
*... |
5425ddd1-e086-423b-863b-26b29155872a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-03 14:44:28", "repo_name": "alsiExp/sandbox", "sub_path": "/spring/jdbc/annotations_h2/src/main/java/ru/alsi/spring/annotations_h2/sql/SelectTopicByName.java", "file_name": "SelectTopicByName.java", "file_ext"... | https://github.com/alsiExp/sandbox | 198 | FILENAME: SelectTopicByName.java | 0.274351 | package ru.alsi.spring.annotations_h2.sql;
import org.springframework.jdbc.core.SqlParameter;
import org.springframework.jdbc.object.MappingSqlQuery;
import ru.alsi.spring.annotations_h2.Topic;
import javax.sql.DataSource;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Types;
public class ... |
b3e83fbc-1584-42f5-81f4-748d910c23b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-16 03:13:18", "repo_name": "zhuchenGitHub/SOAWork", "sub_path": "/SOAWork/src/Assignment2/Department.java", "file_name": "Department.java", "file_ext": "java", "file_size_in_byte": 1008, "line_count": 46, "lan... | https://github.com/zhuchenGitHub/SOAWork | 209 | FILENAME: Department.java | 0.278257 | package Assignment2;
enum DepartmentType {
A("党组织"), B("学生会"), C("行政部门"), D("物业部门"), E("直属部门"), F("院系");
private String typeName;
private DepartmentType(String typeName) {
this.typeName = typeName;
}
public String getTypeName() {
return typeName;
}
}
public class Department {
private int departmentId;
p... |
1c4ad7b7-4702-465d-8175-94a1d24c1501 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-06 06:53:26", "repo_name": "Hamedamz/AP_3", "sub_path": "/src/viewers/oldViewers/BasicViewer.java", "file_name": "BasicViewer.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 40, "lang": "en"... | https://github.com/Hamedamz/AP_3 | 191 | FILENAME: BasicViewer.java | 0.267408 | package viewers.oldViewers;
import controllers.Exceptions.InvalidInputException;
import java.util.Scanner;
public class BasicViewer {
protected Scanner scanner = new Scanner(System.in);
public void printErrorMessage(String error) {
System.err.println(error);
}
public void printInformation(S... |
98d69b0b-0b55-4fa2-8ca3-7dccfeff67e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-03 22:51:09", "repo_name": "vanackerb/Vaadin", "sub_path": "/IntegrationExercises/IE2/src/main/java/be/groept/ui/MyUi.java", "file_name": "MyUi.java", "file_ext": "java", "file_size_in_byte": 975, "line_count"... | https://github.com/vanackerb/Vaadin | 215 | FILENAME: MyUi.java | 0.255344 | package be.groept.ui;
import javax.servlet.annotation.WebServlet;
import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.navigator.Navigator;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.Panel;
import com... |
ba62318e-eb22-4cc0-8aaa-23847c69e2f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-02 23:35:17", "repo_name": "lixiawss/BusPlat", "sub_path": "/zy-cache/cache-example/src/test/java/com/RedisTests.java", "file_name": "RedisTests.java", "file_ext": "java", "file_size_in_byte": 964, "line_count... | https://github.com/lixiawss/BusPlat | 188 | FILENAME: RedisTests.java | 0.23092 | package com;
import com.didispace.Application;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.t... |
1256e576-0c88-4092-925a-2dc6f0b4a277 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-29 06:55:42", "repo_name": "millionseleshi/AndroidBasics", "sub_path": "/IntentPassData/app/src/main/java/com/example/intentpassdata/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "f... | https://github.com/millionseleshi/AndroidBasics | 170 | FILENAME: MainActivity.java | 0.239349 | package com.example.intentpassdata;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
EditText nameEditText;
@... |
801904eb-c8d3-43aa-9db1-7745ac7af1de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-22 17:08:39", "repo_name": "DarkholmeTenk/darkcraft", "sub_path": "/src/main/java/io/darkcraft/mod/common/command/MagicChalkCommand.java", "file_name": "MagicChalkCommand.java", "file_ext": "java", "file_size_... | https://github.com/DarkholmeTenk/darkcraft | 227 | FILENAME: MagicChalkCommand.java | 0.290176 | package io.darkcraft.mod.common.command;
import java.util.List;
import io.darkcraft.darkcore.mod.abstracts.AbstractCommandNew;
import io.darkcraft.darkcore.mod.helpers.WorldHelper;
import io.darkcraft.mod.common.magic.items.MagicChalk;
import io.darkcraft.mod.common.registries.ItemBlockRegistry;
import net.minecraft.... |
1a72abac-ebdf-4db1-93c9-e0aa2e712f65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-28T07:26:36", "repo_name": "ReneNyffenegger/Arch-Linux-UEFI-Installation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 977, "line_count": 51, "lang": "en", "d... | https://github.com/ReneNyffenegger/Arch-Linux-UEFI-Installation | 302 | FILENAME: README.md | 0.224055 | # Arch-Linux-UEFI-Installation
Scripts for an installation of Arch Linux with UEFI firmware.
# Preparation
## 1. Clone this repository to USB stick
cd /media/rene/1C51-C5A2
git clone https://github.com/ReneNyffenegger/Arch-Linux-UEFI-Installation
cd
umount /dev/sdb1
## 2. Start Arch Linux live CD
I... |
8859e113-51ac-40e5-b505-1ea997c1a4a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-09 15:53:09", "repo_name": "bartekJava/workspace", "sub_path": "/SimpleServletProject/src/org/koushik/javabrains/XmlServlet.java", "file_name": "XmlServlet.java", "file_ext": "java", "file_size_in_byte": 967, ... | https://github.com/bartekJava/workspace | 181 | FILENAME: XmlServlet.java | 0.272799 | package org.koushik.javabrains;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
public class XmlSer... |
9b74047a-c1fa-443c-b8ef-2db326df81db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 07:24:05", "repo_name": "liveqmock/charging-1", "sub_path": "/holley-charging-calc/src/main/java/com/holley/charging/main/CalcServer.java", "file_name": "CalcServer.java", "file_ext": "java", "file_size_in_... | https://github.com/liveqmock/charging-1 | 200 | FILENAME: CalcServer.java | 0.27513 | package com.holley.charging.main;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class CalcServer {
private final static Logger logger ... |
7a40d2ec-e325-47b6-8c48-e33f1043056a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 19:18:25", "repo_name": "resident-bluejay/Routes", "sub_path": "/app/src/main/java/edu/andrews/kundani/routes/PagerAdapter.java", "file_name": "PagerAdapter.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/resident-bluejay/Routes | 212 | FILENAME: PagerAdapter.java | 0.23092 | package edu.andrews.kundani.routes;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
/**
* Created by resident_bluejay on 11/16/17.
*/
public class PagerAdapter extends FragmentStatePagerAdapter {
int mNumOfTabs;
... |
4b7084e7-3da7-47e3-94b4-b0f5d1d1dc8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-11 00:42:17", "repo_name": "SlimSider/app-dev", "sub_path": "/src/main/java/hu/elte/easybet/service/MatchService.java", "file_name": "MatchService.java", "file_ext": "java", "file_size_in_byte": 965, "line_cou... | https://github.com/SlimSider/app-dev | 184 | FILENAME: MatchService.java | 0.247987 | package hu.elte.easybet.service;
import hu.elte.easybet.model.Match;
import hu.elte.easybet.repository.MatchRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Optional;
@Service
public class MatchService {
@Autowired
pr... |
f15f85e3-7507-45ac-a98f-fad34b258c71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-03 20:32:30", "repo_name": "javiera2020/Requerimientos", "sub_path": "/Requerimientos/src/java/Conexion/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 992, "line_count":... | https://github.com/javiera2020/Requerimientos | 190 | FILENAME: Conexion.java | 0.20947 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Conexion;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
/**
*
* @autho... |
c8a303ff-473e-41fd-9719-bcb25f1e85a4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 11:00:23", "repo_name": "Wojciech98/INIS4_PR2-master", "sub_path": "/src/com/company/Human.java", "file_name": "Human.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 63, "lang": "en", "do... | https://github.com/Wojciech98/INIS4_PR2-master | 225 | FILENAME: Human.java | 0.249447 | package com.company;
public class Human extends Animal {
String firstName;
String lastName;
Phone phone;
Animal pet;
Car car;
boolean gender;
private Double salry = 1000.0;
public Human(String species) {
super(species);
}
public Double getSalry() {
return sa... |
5c4f35c0-4a0b-4509-9129-70c668026e57 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 22:44:47", "repo_name": "RyanLlewellin/iGottaGoGo", "sub_path": "/client/iGottaGoGo/app/src/main/java/com/underthejava/igottagogo/RegisterBathroomRequest.java", "file_name": "RegisterBathroomRequest.java", ... | https://github.com/RyanLlewellin/iGottaGoGo | 210 | FILENAME: RegisterBathroomRequest.java | 0.247987 | package com.underthejava.igottagogo;
import com.android.volley.toolbox.StringRequest;
import java.util.Map;
import com.android.volley.*;
import java.io.StringReader;
import java.util.HashMap;
/**
* Created by vincentdelacruz on 2017-03-29.
*/
public class RegisterBathroomRequest extends StringRequest{
private stat... |
015c9a20-f62d-4058-8e29-332034dffe73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-24 06:44:58", "repo_name": "rachit-openxcell/BlurDemo", "sub_path": "/app/src/main/java/com/example/rachit/aemjdemo/Model/StaticDatum.java", "file_name": "StaticDatum.java", "file_ext": "java", "file_size_in_b... | https://github.com/rachit-openxcell/BlurDemo | 207 | FILENAME: StaticDatum.java | 0.195594 | package com.example.rachit.aemjdemo.Model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class StaticDatum {
@SerializedName("contentId")
@Expose
private Integer contentId;
@SerializedName("title")
@Expose
private String title;
@Seria... |
0fdf0c3a-dab2-4c3e-848f-d1cf3742cd41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-26 08:07:13", "repo_name": "ektachaudhari/AngularjsExample", "sub_path": "/src/main/java/com/auskeny/resources/read/CustomerReadResource.java", "file_name": "CustomerReadResource.java", "file_ext": "java", "fi... | https://github.com/ektachaudhari/AngularjsExample | 206 | FILENAME: CustomerReadResource.java | 0.288569 | package com.auskeny.resources.read;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.auskeny.hibernate.bdo.CustomerBDO;
@Path("/read/customer... |
12e9ee38-350e-4ae6-b62d-2092868c775c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-11 13:57:13", "repo_name": "chinazzl/JavaBase", "sub_path": "/wwj_concurrentLearn/src/com/wwj_concurrent/leve2/chapter2/design/activeobjcetpattern/Servant.java", "file_name": "Servant.java", "file_ext": "java"... | https://github.com/chinazzl/JavaBase | 217 | FILENAME: Servant.java | 0.256832 | package com.wwj_concurrent.leve2.chapter2.design.activeobjcetpattern;
/**********************************
* @author zhang zhao lin
* @date 2021年07月22日 22:48
* @Description
**********************************/
public class Servant implements ActiveObject{
@Override
public Result makeString(int count, char f... |
6e81acc6-d009-4842-8acf-37da0f460782 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-26 20:40:41", "repo_name": "miguel-gomes/EasyPDM", "sub_path": "/EasyPDM/src/main/java/fr/upem/easypdm/entity/Team.java", "file_name": "Team.java", "file_ext": "java", "file_size_in_byte": 990, "line_count": 4... | https://github.com/miguel-gomes/EasyPDM | 200 | FILENAME: Team.java | 0.205615 | /*
* 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 fr.upem.easypdm.entity;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToO... |
e25d62ed-b891-4911-be85-1c417575a1b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-28 13:06:37", "repo_name": "adminpp/sjdemo", "sub_path": "/src/main/java/com/itqf/enums/ResultEnum.java", "file_name": "ResultEnum.java", "file_ext": "java", "file_size_in_byte": 1161, "line_count": 44, "lang"... | https://github.com/adminpp/sjdemo | 265 | FILENAME: ResultEnum.java | 0.26971 | package com.itqf.enums;
public enum ResultEnum {
PRODUCT_NOT_EXISTS(6,"商品不存在"),
PRODUCT_STOCK_ERROR(7,"商品库存不足"),
PARAM_ERROR(8,"参数不正确"),
CART_ERROR(9,"购物车为空"),
OPENID_NULL(10,"微信号为空"),
ORDER_NOT_EXISTS(11,"订单不存在"),
ORDER_DETAIL_NOT_EXISTS(12,"订单详情不存在"),
ORDER_OWNER_ERROR(13,"不是订单所有者"),... |
77343f2e-1ca6-441f-8a8e-7da947ea3909 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-12 07:05:58", "repo_name": "SunhyuckKim/miniswing-pilot", "sub_path": "/src/main/java/miniswing/pilot/web/OrdersApiController.java", "file_name": "OrdersApiController.java", "file_ext": "java", "file_size_in_b... | https://github.com/SunhyuckKim/miniswing-pilot | 210 | FILENAME: OrdersApiController.java | 0.242206 | package miniswing.pilot.web;
import lombok.RequiredArgsConstructor;
import miniswing.pilot.service.OrdersService;
import miniswing.pilot.web.dto.OrdersResponseDto;
import miniswing.pilot.web.dto.OrdersSaveRequestDto;
import miniswing.pilot.web.dto.OrdersUpdateRequestDto;
import org.springframework.web.bind.annotation.... |
1040e13c-b81d-4a90-a814-2b44aecaa6be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-04T19:19:08", "repo_name": "Ahmed-10/NodeJs-weather-journal", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 37, "lang": "en", "doc_type": "te... | https://github.com/Ahmed-10/NodeJs-weather-journal | 225 | FILENAME: README.md | 0.229535 | # NodeJs-weather-journal
This project is an asynchronous web app that uses open weather map Web API and user data to dynamically update the UI with the temperature in the city associated with the ZIP code provided by the user.
## Getting Started
These instructions will get you a copy of the project up and running on... |
e4147707-d794-49b4-b936-7b585315cea3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-08 06:53:02", "repo_name": "pthaike/FilmPlat", "sub_path": "/FilmPlatServer/src/scu/edu/cn/action/ManagerInfoAction.java", "file_name": "ManagerInfoAction.java", "file_ext": "java", "file_size_in_byte": 991, "... | https://github.com/pthaike/FilmPlat | 238 | FILENAME: ManagerInfoAction.java | 0.268941 | package scu.edu.cn.action;
import java.util.Map;
import org.apache.struts2.ServletActionContext;
import scu.nine.modle.ManagerInfoDAO;
public class ManagerInfoAction {
private String loginName;
private String password;
private String error;
public String getError() {
return error;
}
public void setError(... |
4662b705-325f-46c4-9d34-45bc807645b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-11 17:03:47", "repo_name": "RestQ/restq", "sub_path": "/cluster/src/main/java/org/restq/cluster/impl/DefaultPartitionStrategy.java", "file_name": "DefaultPartitionStrategy.java", "file_ext": "java", "file_size... | https://github.com/RestQ/restq | 222 | FILENAME: DefaultPartitionStrategy.java | 0.283781 | /**
*
*/
package org.restq.cluster.impl;
import java.io.Serializable;
import org.restq.cluster.Cluster;
import org.restq.cluster.Partition;
import org.restq.cluster.PartitionStrategy;
import org.restq.core.Identifiable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.... |
a0bedf60-f6fe-47de-ae2a-d94d3fae5363 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-29 14:20:02", "repo_name": "rahulagrahari/DigiBahi", "sub_path": "/src/main/java/com/wonkmonk/digikhata/userauth/models/CustomUserDetail.java", "file_name": "CustomUserDetail.java", "file_ext": "java", "file_s... | https://github.com/rahulagrahari/DigiBahi | 177 | FILENAME: CustomUserDetail.java | 0.233706 | package com.wonkmonk.digikhata.userauth.models;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import java.util.ArrayList;
import java.util.Collection;
import java.u... |
e081e783-7e4c-4a44-b635-8859e8eb5229 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-20T18:42:51", "repo_name": "matt-bendel/4900_capstone_web", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 990, "line_count": 36, "lang": "en", "doc_type": "text... | https://github.com/matt-bendel/4900_capstone_web | 234 | FILENAME: README.md | 0.27048 | # Setting Up the App
In order to get started, clone the repository then run the following
command:
###`npm install`
This will install all required packages - with appropriate versions -
as specified in package-lock.json
Next, in order to run the app locally, run the following command:
### `npm start`
Runs the ap... |
4543276d-63ac-40ea-a389-17a4e2450e86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-24 14:08:23", "repo_name": "Babator/android-demo-app", "sub_path": "/app/src/main/java/babator/com/sdkdemo/CustomViewHolder.java", "file_name": "CustomViewHolder.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Babator/android-demo-app | 194 | FILENAME: CustomViewHolder.java | 0.261331 | package babator.com.sdkdemo;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
/**
* A View holder class for the RecyclerView holding the players list
*/
public class CustomViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{
final Te... |
26d90007-24dc-463a-8615-4701402d69d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 15:33:03", "repo_name": "silentcharacter/jooby-app", "sub_path": "/src/main/java/com/mycompany/service/ReviewService.java", "file_name": "ReviewService.java", "file_ext": "java", "file_size_in_byte": 975, "... | https://github.com/silentcharacter/jooby-app | 225 | FILENAME: ReviewService.java | 0.288569 | package com.mycompany.service;
import com.mycompany.domain.shop.Review;
import org.apache.commons.lang3.StringUtils;
import org.bson.types.Binary;
import org.bson.types.ObjectId;
import java.util.List;
public class ReviewService extends AbstractService<Review>
{
public ReviewService()
{
super(Review.class);
}
... |
84c82fec-fd2e-4046-b854-67b80cdd5b28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-17 09:57:11", "repo_name": "coca-cola33/CloudFilm", "sub_path": "/app/src/main/java/me/jessyan/mvparms/demo/app/view/searchbar/SearchBar.java", "file_name": "SearchBar.java", "file_ext": "java", "file_size_in_... | https://github.com/coca-cola33/CloudFilm | 209 | FILENAME: SearchBar.java | 0.239349 | package me.jessyan.mvparms.demo.app.view.searchbar;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
import me.jessyan.mvparms.demo.R;
/**
* Created by phenix on 2017/7/12.
*/
public class SearchBar extends RelativeLayo... |
970875ec-bf4f-4ac9-be34-3438ddc47af5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-04T12:28:55", "repo_name": "alexbatashev/rmilab", "sub_path": "/src/com/example/server/GameServiceImpl.java", "file_name": "GameServiceImpl.java", "file_ext": "java", "file_size_in_byte": 979, "line_count": 40... | https://github.com/alexbatashev/rmilab | 196 | FILENAME: GameServiceImpl.java | 0.26588 | package com.example.server;
import com.example.client.GameClientCallback;
import com.example.lib.Message;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import java.util.HashMap;
public class GameServiceImpl extends UnicastRemoteObject implements GameService {
private static final ... |
d3e826c8-8d82-4208-bddf-e8242bbda1c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-12 23:21:16", "repo_name": "ktorsh/JDSHackathon2020", "sub_path": "/src/GUIController.java", "file_name": "GUIController.java", "file_ext": "java", "file_size_in_byte": 988, "line_count": 49, "lang": "en", "do... | https://github.com/ktorsh/JDSHackathon2020 | 235 | FILENAME: GUIController.java | 0.247987 | import java.io.IOException;
import java.util.ArrayList;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.TextField;
import web.Scrape;
public class GUIController {
private Scrape scraper;
private Arra... |
b9c3f828-9103-4c97-95be-f76bccc0334b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-28 14:06:29", "repo_name": "liyork/concurrenttest", "sub_path": "/src/main/java/com/wolf/concurrenttest/mtadp/balking/DocumentTest.java", "file_name": "DocumentTest.java", "file_ext": "java", "file_size_in_byt... | https://github.com/liyork/concurrenttest | 197 | FILENAME: DocumentTest.java | 0.247987 | package com.wolf.concurrenttest.mtadp.balking;
import java.util.Scanner;
/**
* Description:
*
* @author 李超
* @date 2019/02/04
*/
public class DocumentTest {
public static void main(String[] args) {
new Thread(new DocumentEditTask(), "DocumentEditThread").start();
}
static class DocumentEdi... |
166d3285-f280-4358-9a82-45f481e18e49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-01 08:59:46", "repo_name": "amit4alljava/SeleniumWeekEnd_DecBatch", "sub_path": "/Day-7/AccessingElements02.java", "file_name": "AccessingElements02.java", "file_ext": "java", "file_size_in_byte": 988, "line_c... | https://github.com/amit4alljava/SeleniumWeekEnd_DecBatch | 219 | FILENAME: AccessingElements02.java | 0.29584 | package com.srivastava.basics;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.Assert;
import org.testng.annotations.Test;
public class AccessingElements02 {
@Test
... |
e0cadab7-e38c-4e16-9ba3-e514aa666ecc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-12 19:36:57", "repo_name": "nitink133/Instagram-Profile-Downloader", "sub_path": "/app/src/main/java/com/storyPost/PhotoVideoDownloader/data/localpojo/IntroScreens.java", "file_name": "IntroScreens.java", "fil... | https://github.com/nitink133/Instagram-Profile-Downloader | 198 | FILENAME: IntroScreens.java | 0.23092 | package com.storyPost.PhotoVideoDownloader.data.localpojo;
import java.util.ArrayList;
import com.storyPost.PhotoVideoDownloader.R;
public class IntroScreens {
static ArrayList<IntroScreenList> introScreenLists = new ArrayList<>();
static IntroScreenList screenList;
public static ArrayList<IntroScreenLi... |
8d004834-f0a9-4c10-a391-a36830858eaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 23:55:07", "repo_name": "habib671/quizAppNative", "sub_path": "/app/src/main/java/com/example/quizappnative/quizActivities/QuizScoreActivity.java", "file_name": "QuizScoreActivity.java", "file_ext": "java",... | https://github.com/habib671/quizAppNative | 164 | FILENAME: QuizScoreActivity.java | 0.23092 | package com.example.quizappnative.quizActivities;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.example.quizappnative.MainActivity;
import com.example.quizappnative.R;
public class Qu... |
66499fde-362b-494a-b8b9-2ed2427e115d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-05T20:49:11", "repo_name": "brandon-fryslie/esp-bloom", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 966, "line_count": 38, "lang": "en", "doc_type": "text", "... | https://github.com/brandon-fryslie/esp-bloom | 263 | FILENAME: README.md | 0.172172 | # esp-bloom
ESPPixelStick + ESP8266 Bias Lighting
Inspired by ScreenBloom but I don't want to have to use Hue/ZigBee lights.
This will use addressable LEDs for higher resolution.
## connecting to esp8266
### serial
Once the device is flashed, it can be connected to via serial with this command:
```shell
screen /... |
896a2c1d-f8bf-4c6f-8987-d90481bdf892 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-30T23:03:05", "repo_name": "robertoeb/CodeNation-React-Challenge", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 34, "lang": "en", "doc_type"... | https://github.com/robertoeb/CodeNation-React-Challenge | 255 | FILENAME: README.md | 0.293404 | # Using React to list and filter recipes
In this challenge, you will create an interface for listing and filtering recipes.
## Topics
With this challeng, I learn:
- React
- ES6
- Javascript
- Unitary tests
## Requirements
You will need the NodeJS (LTS or Current) installed on your machine.
### Tasks
- [x] Render d... |
826ad2c8-437d-4175-8f82-cf7a6d2cf465 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-17 19:01:18", "repo_name": "umeshmishra099/pim-importer", "sub_path": "/src/test/java/com/pim/importer/pimimpoter/publisher/RabbitMQPublisherTest.java", "file_name": "RabbitMQPublisherTest.java", "file_ext": "... | https://github.com/umeshmishra099/pim-importer | 209 | FILENAME: RabbitMQPublisherTest.java | 0.271252 | package com.pim.importer.pimimpoter.publisher;
import com.pim.importer.pimimpoter.config.ApplicationConfigReader;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.amqp.core.AmqpTempla... |
3069cdac-bbb1-4b2b-867f-222c602faf58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 23:39:41", "repo_name": "sosnovvski/inpost-test-automation", "sub_path": "/src/test/java/steps/AbbSteps.java", "file_name": "AbbSteps.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 39, "... | https://github.com/sosnovvski/inpost-test-automation | 248 | FILENAME: AbbSteps.java | 0.271252 | package steps;
import cucumber.api.java.en.And;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import pages.AbbPageObject;
import static org.testng.Assert.assertTrue;
public class AbbSteps extends TestRunnerTestNG {
private AbbPageObject abbPageObject = new Ab... |
261ced17-6ed9-446c-b0af-1bf51d0987c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-02 14:40:10", "repo_name": "a7v266/pfpay-server", "sub_path": "/src/main/java/ru/pfpay/service/persistence/OrganizationPersistenceImpl.java", "file_name": "OrganizationPersistenceImpl.java", "file_ext": "java"... | https://github.com/a7v266/pfpay-server | 182 | FILENAME: OrganizationPersistenceImpl.java | 0.284576 | package ru.pfpay.service.persistence;
import org.springframework.stereotype.Repository;
import ru.pfpay.domain.Organization;
import ru.pfpay.service.search.Filter;
import ru.pfpay.service.search.Search;
import java.util.function.Consumer;
@Repository
public class OrganizationPersistenceImpl extends BasePersistenceI... |
26d77eeb-5897-4cab-8adc-fb652f5943d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 00:48:00", "repo_name": "NikolaMag99/Student-Services", "sub_path": "/src/main/java/studsluzba/client/fxmlcontrollers/AddIspitController.java", "file_name": "AddIspitController.java", "file_ext": "java", "f... | https://github.com/NikolaMag99/Student-Services | 225 | FILENAME: AddIspitController.java | 0.246533 | package studsluzba.client.fxmlcontrollers;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.control.TextField;
import javafx.stage.Stage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import studslu... |
4ebba1e2-65e4-47e2-a5b3-5e954c5f5d27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-01 08:31:34", "repo_name": "LWHTarena/lwh-example", "sub_path": "/lwh-springcloud-knife4j/service-order/src/main/java/com/lwhtarena/sc/model/Order.java", "file_name": "Order.java", "file_ext": "java", "file_si... | https://github.com/LWHTarena/lwh-example | 253 | FILENAME: Order.java | 0.264358 | package com.lwhtarena.sc.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.text.DecimalFormat;
import java.util.Random;
/**
* @author liwh
* @Title: Order
* @Package com.lwhtarena.sc.model
* @Description:
* @Version 1.0.0
* @date 2020/5/17 23:10
*/
@Api... |
5f6524b8-c6d2-46df-bb23-b2ac08658cbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-13 21:38:15", "repo_name": "paulhemmings/mem-app", "sub_path": "/src/main/java/com/razor/memories/partials/FriendListPartial.java", "file_name": "FriendListPartial.java", "file_ext": "java", "file_size_in_byte... | https://github.com/paulhemmings/mem-app | 240 | FILENAME: FriendListPartial.java | 0.29584 | package com.razor.memories.partials;
import java.util.List;
import com.restfb.Connection;
import com.restfb.types.User;
public class FriendListPartial {
public String build(Connection<User> myFriends){
StringBuilder builder = new StringBuilder();
builder.append("<div class=\"friendSelectionContainer\"... |
e1faba3b-7dc0-416c-bca2-6c0232873207 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-26 01:57:48", "repo_name": "qinliu777/PhoneWeishi", "sub_path": "/app/src/main/java/com/ecjtu/liuqin/weishi_my/mode/bean/PhoneInfo.java", "file_name": "PhoneInfo.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/qinliu777/PhoneWeishi | 211 | FILENAME: PhoneInfo.java | 0.183594 | package com.ecjtu.liuqin.weishi_my.mode.bean;
import java.io.Serializable;
/**
* Created by liuqin on 2016/7/19.
* 获取手机通讯录的bean类
*/
public class PhoneInfo implements Serializable{
private String phoneName;
private String phoneNumber;
public PhoneInfo(){
}
public PhoneInfo(String phoneNumber... |
af903d99-a830-4b27-9717-6c4582728b40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 06:42:34", "repo_name": "busliksuslik/SPTVR19PhonesShop", "sub_path": "/src/java/facades/TagFacade.java", "file_name": "TagFacade.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 43, "lang... | https://github.com/busliksuslik/SPTVR19PhonesShop | 203 | FILENAME: TagFacade.java | 0.282196 | /*
* 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 facades;
import entites.Tag;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.Pers... |
32310aec-f6aa-4370-a84b-97a2bdd3a614 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 23:44:58", "repo_name": "ginamerla/dietapp", "sub_path": "/src/main/java/com/tortu/api/rest/mappers/ShoppingIngredientResourceMapper.java", "file_name": "ShoppingIngredientResourceMapper.java", "file_ext": ... | https://github.com/ginamerla/dietapp | 179 | FILENAME: ShoppingIngredientResourceMapper.java | 0.245085 | package com.tortu.api.rest.mappers;
import com.tortu.api.dto.ShoppingIngredientDTO;
import com.tortu.api.rest.resources.ShoppingIngredientResource;
import org.springframework.stereotype.Component;
/**
* Implementacion del convertidor que mapea las propiedades de la lista de ingredientes con el recurso de la capa RES... |
7b5d0d72-ba3a-46be-88a7-345c7de667e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-06 00:43:50", "repo_name": "int-a/Android-Tutorial", "sub_path": "/FragmentLayouts/app/src/main/java/netgenes/fragmentlayouts/DetailsActivity.java", "file_name": "DetailsActivity.java", "file_ext": "java", "fi... | https://github.com/int-a/Android-Tutorial | 180 | FILENAME: DetailsActivity.java | 0.23793 | package netgenes.fragmentlayouts;
import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;
/**
* Created by Anthony on 12/29/2015.
*/
public class DetailsActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate... |
c167543e-4ee7-47fb-8a83-596b767b08a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-28 14:25:40", "repo_name": "pkrysztofiak/mesurements-drawer", "sub_path": "/src/main/java/pl/pkrysztofiak/mesurementsdrawer/view/measurements/polygon/PolygonMeasurementView.java", "file_name": "PolygonMeasurem... | https://github.com/pkrysztofiak/mesurements-drawer | 211 | FILENAME: PolygonMeasurementView.java | 0.275909 | package pl.pkrysztofiak.mesurementsdrawer.view.measurements.polygon;
import javafx.collections.ObservableList;
import javafx.scene.Group;
import javafx.scene.Node;
import pl.pkrysztofiak.mesurementsdrawer.view.measurements.MeasurementView;
public class PolygonMeasurementView extends MeasurementView {
private final ... |
99c04df7-032d-4cb6-b8ae-f751cf3f7eab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-27 01:40:34", "repo_name": "geetima/inmemorydatabase", "sub_path": "/src/com/grai/dbcommands/BeginCommand.java", "file_name": "BeginCommand.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 32... | https://github.com/geetima/inmemorydatabase | 207 | FILENAME: BeginCommand.java | 0.291787 | package com.grai.dbcommands;
import java.util.HashMap;
import java.util.Stack;
import com.grai.data.CommandData;
import com.grai.data.Data;
/**
* Begin signifies a new transaction. If user has input the first BEGIN
* statement, all storage is refreshed. If user inputs nested BEGIN statements,
* all GET... |
7a85a60b-aed7-49da-bd65-fd2d91afdd78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-01-09 09:01:05", "repo_name": "ghouman/ghouman", "sub_path": "/weigaoSys/src/main/java/org/mybatis/weigao/web/actions/CatalogActionBean.java", "file_name": "CatalogActionBean.java", "file_ext": "java", "file_size... | https://github.com/ghouman/ghouman | 214 | FILENAME: CatalogActionBean.java | 0.213377 | package org.mybatis.weigao.web.actions;
import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.ForwardResolution;
import net.sourceforge.stripes.action.SessionScope;
import net.sourceforge.stripes.integration.spring.SpringBean;
import java.util.List;
@SessionScope
public class Ca... |
be49ac9b-3280-4cdc-b53b-4157934dcda7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 11:46:35", "repo_name": "vippulpanditgit/myrewardengine", "sub_path": "/src/main/java/com/myreward/parser/util/MyRewardParserUtil.java", "file_name": "MyRewardParserUtil.java", "file_ext": "java", "file_siz... | https://github.com/vippulpanditgit/myrewardengine | 200 | FILENAME: MyRewardParserUtil.java | 0.252384 | package com.myreward.parser.util;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import org.antlr.v4.runtime.CharStreams;
import org.antlr.v4.runtime.CommonTokenStream;
import com.myreward.engine.event.processor.MetaOpCodeProcess... |
fc27ecc7-55b9-42c1-aa4b-3bcc7100dbdc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-10 14:38:21", "repo_name": "saraqp/EDAMAM", "sub_path": "/app/src/main/java/quesado/prado/sara/edamam/fragments/FragmentIngredientes.java", "file_name": "FragmentIngredientes.java", "file_ext": "java", "file_s... | https://github.com/saraqp/EDAMAM | 185 | FILENAME: FragmentIngredientes.java | 0.200558 | package quesado.prado.sara.edamam.fragments;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import quesado.prado.sara.edamam.R;
public class FragmentIngredientes extends Fra... |
84f34a4c-369a-40ee-994e-a4ad9f4bd118 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-11 20:45:36", "repo_name": "Ilhuicamina-G/sistemainspector", "sub_path": "/app/src/main/java/artbot/com/sistemainspector/InicioActivity.java", "file_name": "InicioActivity.java", "file_ext": "java", "file_size... | https://github.com/Ilhuicamina-G/sistemainspector | 165 | FILENAME: InicioActivity.java | 0.199308 | package artbot.com.sistemainspector;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class InicioActivity extends AppCompatActivity {
@Override
... |
ed1ff216-043d-4685-b8de-7241a195729b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-28 09:06:17", "repo_name": "guantong/ABCNewsFeeds", "sub_path": "/app/src/main/java/com/guantong/newsfeeds/NewsDetailActivity.java", "file_name": "NewsDetailActivity.java", "file_ext": "java", "file_size_in_by... | https://github.com/guantong/ABCNewsFeeds | 176 | FILENAME: NewsDetailActivity.java | 0.214691 | package com.guantong.newsfeeds;
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class NewsDetailActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
7a7347eb-fa05-4357-a792-54ca8d36a415 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 07:48:58", "repo_name": "lukehuang/cloud-gateway", "sub_path": "/gateway-netty/src/main/java/org/cloud/gateway/message/Header.java", "file_name": "Header.java", "file_ext": "java", "file_size_in_byte": 1193... | https://github.com/lukehuang/cloud-gateway | 264 | FILENAME: Header.java | 0.279828 | package org.cloud.gateway.message;
public class Header implements Cloneable {
private final HeaderName name;
private final String value;
public Header(HeaderName name, String value)
{
if (name == null) throw new NullPointerException("Header name cannot be null!");
this.name = name;
... |
4d7290cf-4531-40b4-a5ce-dbff8c5875dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-03 15:35:28", "repo_name": "Hafsahabib76/give2share-MobileApp", "sub_path": "/app/src/main/java/com/se17/give2shareapplication/Model/UserLoginResponse.java", "file_name": "UserLoginResponse.java", "file_ext": ... | https://github.com/Hafsahabib76/give2share-MobileApp | 201 | FILENAME: UserLoginResponse.java | 0.203075 |
package com.se17.give2shareapplication.Model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class UserLoginResponse{
@SerializedName("user")
@Expose
private UserLogin user;
@SerializedName("access_token")
@Expose
private String accessTok... |
7ed93a04-fb24-4008-8594-e0ee1796c149 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-31 03:50:01", "repo_name": "amitp499/Classroom-Traing", "sub_path": "/src/com/pSerial/AccountInfor.java", "file_name": "AccountInfor.java", "file_ext": "java", "file_size_in_byte": 1111, "line_count": 50, "lan... | https://github.com/amitp499/Classroom-Traing | 245 | FILENAME: AccountInfor.java | 0.250913 | package com.pSerial;
import java.io.Serializable;
public class AccountInfor implements Serializable {
String accountName;
String acctNo;
String actBalance;
public AccountInfor(String accountName, String acctNo, String actBalance) {
this.accountName = accountName;
this.acctNo = acctNo... |
8f4b00bc-54be-4c26-8f2a-5e6eeaf04b88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-09 02:51:17", "repo_name": "pengzp/lovepet", "sub_path": "/src/main/java/com/pet/lovepet/base/ResponseResult.java", "file_name": "ResponseResult.java", "file_ext": "java", "file_size_in_byte": 1091, "line_coun... | https://github.com/pengzp/lovepet | 191 | FILENAME: ResponseResult.java | 0.239349 | package com.pet.lovepet.base;
import lombok.Data;
import java.io.Serializable;
@Data
public class ResponseResult implements Serializable {
private String code;
private String message;
private StatusMessage statusMessage;
public ResponseResult() {
this.statusMessage = StatusMessage.SUCCESS;
... |
767f28ce-b13c-44d7-a386-406cd03bb632 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-11 02:44:15", "repo_name": "LucasKrmpotic/java-remote-filesystem", "sub_path": "/rfs-client/src/remoteobjects/RequestSignUp.java", "file_name": "RequestSignUp.java", "file_ext": "java", "file_size_in_byte": 97... | https://github.com/LucasKrmpotic/java-remote-filesystem | 193 | FILENAME: RequestSignUp.java | 0.268941 | package remoteobjects;
import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class RequestSignUp extends RFSCommand{
String username;
String password;
public RequestSignUp(String username, String password) {
this.username = username;
this.p... |
8813f118-52f1-4243-afc7-83857cf05e89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-26T03:36:39", "repo_name": "Vindexus/testlists", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1191, "line_count": 41, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/Vindexus/testlists | 299 | FILENAME: readme.md | 0.259826 | # Testlists
This is a tool to generate HTML checklists for testing your code from markdown files created in your project.
Each `testlist.md` file you create in your project will have its own HTML page created. You can check off the items there. They are saved with localStorage in your browser.
## Installation
`npm in... |
9879f6a0-d1da-4a07-854b-510ba5c0102b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-27 23:07:12", "repo_name": "jvanz/redditapp", "sub_path": "/app/src/main/java/com/vanzstuff/readdit/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": 42, "lan... | https://github.com/jvanz/redditapp | 287 | FILENAME: Utils.java | 0.293404 | package com.vanzstuff.readdit;
public class Utils {
private static final String URL_IMAGE = "^.+[jpg|jpeg|png|gif]$";
/**
* Check if String s is not null or empty
* @param s
* @return true if string s is not null or empty. Otherwise, false
*/
public static final boolean stringNotNullO... |
c3e5f64d-b35e-4589-9166-698b0b59a2ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-22 13:13:05", "repo_name": "EfrosEugeniu-md/rzia", "sub_path": "/src/main/java/ru/list/sorfe/rzia/service/impl/TransServiceImpl.java", "file_name": "TransServiceImpl.java", "file_ext": "java", "file_size_in_by... | https://github.com/EfrosEugeniu-md/rzia | 182 | FILENAME: TransServiceImpl.java | 0.286968 | package ru.list.sorfe.rzia.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.list.sorfe.rzia.beans.station.TransformationCurrent;
import ru.list.sorfe.rzia.repository.TransRepository;
import ru.list.sorfe.rzia.service.TransService;
im... |
b602e47b-2800-4a3a-8f58-aa96e6a5dfa3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-18 19:20:13", "repo_name": "AnomalyUK/wplinkfix", "sub_path": "/src/party/anomalyuk/wplinkfix/Dump.java", "file_name": "Dump.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 35, "lang": "en",... | https://github.com/AnomalyUK/wplinkfix | 203 | FILENAME: Dump.java | 0.229535 | package party.anomalyuk.wplinkfix;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.sql.DataSource;
import com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource;
public class Dump {
public... |
aa1a4530-31f4-4015-8be3-2d7e2484f125 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-28 08:25:22", "repo_name": "liqisheng202123/test", "sub_path": "/dubbo-consumer/src/main/java/com/dubbo/dubboconsumer/service/GetAuthorService.java", "file_name": "GetAuthorService.java", "file_ext": "java", "... | https://github.com/liqisheng202123/test | 223 | FILENAME: GetAuthorService.java | 0.23231 | package com.dubbo.dubboconsumer.service;
import com.dubbo.dubbodemo.entity.Author;
import com.dubbo.dubbodemo.service.AuthorService;
import jdk.nashorn.internal.ir.annotations.Reference;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class GetAuthorService {
@Referen... |
4db6ece3-7033-4e65-9102-6033b3ab16e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-05 08:47:07", "repo_name": "xuliangliang1992/demo", "sub_path": "/app/src/main/java/com/byrj/pet/fun/login/code/VerificationCodeActivity.java", "file_name": "VerificationCodeActivity.java", "file_ext": "java",... | https://github.com/xuliangliang1992/demo | 204 | FILENAME: VerificationCodeActivity.java | 0.203075 | package com.byrj.pet.fun.login.code;
import android.os.Bundle;
import android.support.annotation.Nullable;
import com.byrj.pet.base.BaseActivity;
import com.byrj.pet.injection.Injection;
import com.byrj.pet.pet.R;
import com.xll.mvplib.utils.ActivityUtils;
/**
* 验证码登录
*
* @author xll
* @date 2018/12/5
*/
public... |
8fd6f333-b0e3-4953-85ff-051e32161ea2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-26T08:49:10", "repo_name": "ToreAa/ServiceRobot2", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 966, "line_count": 16, "lang": "en", "doc_type": "text", "blob_... | https://github.com/ToreAa/ServiceRobot2 | 210 | FILENAME: README.md | 0.253861 | WRITE-UP OF PROJECT
The source-files consists of seven packages, split between the official ROS packages in one folder and my own two packages in another folder. These two folders are pick_objects and using_markers.
pick_objects sends goal poses to the robot.
using_markers publishes visual markers in rviz.
In additi... |
088b8587-9de7-47c9-a012-9d4e040d2392 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-05 02:55:14", "repo_name": "TatsukiIshijima/PassGenerator_2", "sub_path": "/SampleApplication1/app/src/main/java/com/example/ti/sampleapplication1/tools/CategoryListItem.java", "file_name": "CategoryListItem.j... | https://github.com/TatsukiIshijima/PassGenerator_2 | 295 | FILENAME: CategoryListItem.java | 0.285372 | package com.example.ti.sampleapplication1.tools;
import com.example.ti.sampleapplication1.R;
import java.util.ArrayList;
import java.util.List;
/**
* Created by TI on 2016/01/17.
*/
public class CategoryListItem {
private int mImageId;
private String mTitle;
public int getmImageId() {
return m... |
c63fd0e6-16c3-47d2-b8e7-9dc2c229e5a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 14:39:58", "repo_name": "bustertm/Bakalarka1", "sub_path": "/src/main/java/com/bp_sevd/model/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_in_byte": 1107, "line_count": 66, "l... | https://github.com/bustertm/Bakalarka1 | 263 | FILENAME: Location.java | 0.275909 | package com.bp_sevd.model;
import javax.persistence.*;
import java.util.Set;
/**
* Created by Martin on 07.04.2017.
*/
@Entity
@Table(name="location")
public class Location {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "id")
private int id;
@Column(name="nazov")
... |
eb1ecbc0-6ade-4181-9a64-5b3d0f42c2e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-30 14:12:43", "repo_name": "khsergvl/gateway_java", "sub_path": "/src/main/java/com/accenture/pay/gateway/entity/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 1085, "line... | https://github.com/khsergvl/gateway_java | 232 | FILENAME: Account.java | 0.279828 | package com.accenture.pay.gateway.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Objects;
@Entity
public class Account {
public Account() {}
public Account(Integer id, Double balance) {
this.id = id;
this.balance = balan... |
77f5d0e4-9c96-43fb-81f8-8b2eb77228cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-08 10:06:46", "repo_name": "ashank/ZmeTest", "sub_path": "/app/src/main/java/com/funhotel/hmvp/test/classtest/MyUI.java", "file_name": "MyUI.java", "file_ext": "java", "file_size_in_byte": 356, "line_count": 4... | https://github.com/ashank/ZmeTest | 267 | FILENAME: MyUI.java | 0.258326 | /*
* Copyright (C) 2018 ZME
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
9c69d1ce-af0b-4766-b674-6107193ae9d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-11 06:01:34", "repo_name": "iamzhubao/phoenix", "sub_path": "/src/main/java/com/shengekeji/phoenix/util/HttpUtil.java", "file_name": "HttpUtil.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count"... | https://github.com/iamzhubao/phoenix | 248 | FILENAME: HttpUtil.java | 0.258326 | package com.shengekeji.phoenix.util;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
public class HttpUtil {
public static String sendGet(String url, String param) throws Exception {
String result = "";
BufferedReader in = null;
try {
St... |
f3b6e443-a2f7-492b-89f9-bf3e4f31b417 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-06T21:52:15", "repo_name": "pxai/pxai.github.io", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1109, "line_count": 52, "lang": "en", "doc_type": "text", "blob_... | https://github.com/pxai/pxai.github.io | 288 | FILENAME: README.md | 0.26971 | # pello.io website
Based on Jekyll
```
bundle exec jekyll serve
```
# useful commandss
```
$ jekyll build
```
=> The current folder will be generated into ./_site
```
$ jekyll build --safe
```
Option for GitHub generation, does not generate any plugin or dynamic content
```
$ jekyll build --destination <destination... |
e4750740-af23-4f2f-910e-3174a1d5227c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-28 06:40:38", "repo_name": "hejiajie2008/mycloud", "sub_path": "/commons/src/test/java/com/cloud/commons/test/DesignTest.java", "file_name": "DesignTest.java", "file_ext": "java", "file_size_in_byte": 1102, "l... | https://github.com/hejiajie2008/mycloud | 228 | FILENAME: DesignTest.java | 0.285372 | package com.cloud.commons.test;
import org.junit.jupiter.api.Test;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
public class DesignTest {
class TestOne extends Observable{
@Override
protected void setChanged() {
super.setChanged();
}
}
@Test
... |
5f5f91f7-85bb-45fc-9e6d-9b8cf9b30f2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-27 10:10:20", "repo_name": "ExplorerGroup/RelativesCircle", "sub_path": "/RelativesCircleClient/app/src/main/java/com/android/relativescircle/ui/login/LoginActivity.java", "file_name": "LoginActivity.java", "f... | https://github.com/ExplorerGroup/RelativesCircle | 158 | FILENAME: LoginActivity.java | 0.220007 | package com.android.relativescircle.ui.login;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import com.android.relativescircle.R;
import com.android.relativescircle.base.BaseActivity;
import com.android.relativescircle.utils.MemberListManager;
import butterknife.ButterKnife;
... |
eede2af7-20fc-49be-8e10-139bb47ba46e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-01 11:41:00", "repo_name": "SharanyaMenon/prms", "sub_path": "/src/java/sg/edu/nus/iss/phoenix/scheduleprogram/restful/ProgramSlots.java", "file_name": "ProgramSlots.java", "file_ext": "java", "file_size_in_by... | https://github.com/SharanyaMenon/prms | 257 | FILENAME: ProgramSlots.java | 0.255344 | /*
* 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 sg.edu.nus.iss.phoenix.scheduleprogram.restful;
import java.util.ArrayList;
import java.util.Objects;
import sg.edu.n... |
f20c1cd0-f65d-4c2f-b623-b5af51222498 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-17 19:18:58", "repo_name": "JoseSpx/Drinkeros-Back-end", "sub_path": "/src/main/java/com/josespx/drinkeros/service/ProviderServiceImpl.java", "file_name": "ProviderServiceImpl.java", "file_ext": "java", "file_... | https://github.com/JoseSpx/Drinkeros-Back-end | 234 | FILENAME: ProviderServiceImpl.java | 0.272025 | package com.josespx.drinkeros.service;
import com.josespx.drinkeros.dao.ProviderDao;
import com.josespx.drinkeros.model.Provider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.u... |
f9d607cd-15d6-4047-95b4-cbe56ac40e10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 04:09:56", "repo_name": "gopiklr5/projecttest01", "sub_path": "/src/seleniumPack/SecondTest.java", "file_name": "SecondTest.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 43, "lang": "en... | https://github.com/gopiklr5/projecttest01 | 225 | FILENAME: SecondTest.java | 0.264358 | package seleniumPack;
import java.util.NoSuchElementException;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class SecondTest {
public static void main(String[] args) throws InterruptedException {
System.setProperty(Data.K... |
465e581a-3d36-4faa-8fa8-8365c469d27f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-18 19:35:52", "repo_name": "sayub/discovertoronto", "sub_path": "/app/src/main/java/toronto/amazinglocations/com/discovertoronto/misc/LocationEnabledChecker.java", "file_name": "LocationEnabledChecker.java", "... | https://github.com/sayub/discovertoronto | 214 | FILENAME: LocationEnabledChecker.java | 0.282988 | /*
* @author Saad Muhammad Ayub
* Copyright 2016, Saad Muhammad Ayub, All rights reserved.
*/
package toronto.amazinglocations.com.discovertoronto.misc;
import android.app.Activity;
import android.content.Context;
import android.location.LocationManager;
public class LocationEnabledChecker {
public static boole... |
31033af4-6080-4df1-87e8-ea7dc79cf485 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-21 13:56:50", "repo_name": "sergigrau/DAWDAMM03UF456-Java-exercicis", "sub_path": "/UF6. POO. Introducció a la persistència en BD/src/14 - ORM Relacions/ServeiAparcament.java", "file_name": "ServeiAparcament.... | https://github.com/sergigrau/DAWDAMM03UF456-Java-exercicis | 248 | FILENAME: ServeiAparcament.java | 0.262842 | import java.util.Date;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.TypedQuery;
/**
*
* @author sergi
*/
public class ServeiAparcament {
protected EntityManager em;
public ServeiAparcament(EntityManager em) {
this.em = em;
}
public Aparcament cre... |
765fe58e-eb5d-4ff8-9232-4026275137ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-02 16:24:14", "repo_name": "axeljovanny/UukuApp", "sub_path": "/UukuApp/src/main/java/developers/jar/uuku/about/AboutActivity.java", "file_name": "AboutActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/axeljovanny/UukuApp | 192 | FILENAME: AboutActivity.java | 0.200558 | package developers.jar.uuku.about;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.ButterKnife;
pu... |
4d7934a4-35c3-4286-bc5b-ceeb6b55beb5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-10 06:35:18", "repo_name": "liangzhouci/S-Java", "sub_path": "/Net/TCP/Chat.java", "file_name": "Chat.java", "file_ext": "java", "file_size_in_byte": 1251, "line_count": 46, "lang": "en", "doc_type": "code", "... | https://github.com/liangzhouci/S-Java | 224 | FILENAME: Chat.java | 0.267408 | package Net.TCP;
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
/**
* 单人收发消息
* @author: CTH
**/
public class Chat {
public static void main(String[] args) {
try {
//创建服务端
ServerSocket server = new ServerSocket(9999);
//阻塞等待接收
... |
ccf0b0a1-aa10-4fdd-ad02-3569572bdd2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-19 04:40:39", "repo_name": "shailkumarimishra/spring-framework", "sub_path": "/boot/src/main/java/com/sirt/boot/hibernate/inheritancemapping/OldStudent.java", "file_name": "OldStudent.java", "file_ext": "java"... | https://github.com/shailkumarimishra/spring-framework | 218 | FILENAME: OldStudent.java | 0.271252 | package com.sirt.boot.hibernate.inheritancemapping;
import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Entity
@Table(... |
a6e580cd-2eab-4e55-a327-d86a123df49e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-23 08:14:41", "repo_name": "ilee9999/enhanced-match-ticker-api", "sub_path": "/enhanced-match-ticker-api-common/src/main/java/com/hkesports/matchticker/vo/getprivacypolicy/GetprivacypolicyVo.java", "file_name"... | https://github.com/ilee9999/enhanced-match-ticker-api | 280 | FILENAME: GetprivacypolicyVo.java | 0.272799 | package com.hkesports.matchticker.vo.getprivacypolicy;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hkesports.matchticker.vo.BasicVo;
/**
* @author manboyu
*
*/
public class GetprivacypolicyVo extends BasicVo {
private static final lo... |
e3b0e6e6-c0c9-48d3-8bd3-8b28059428be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-22 04:01:45", "repo_name": "snapthecode/boot1", "sub_path": "/src/main/java/dev40/querydsl/QuerydslApplication.java", "file_name": "QuerydslApplication.java", "file_ext": "java", "file_size_in_byte": 1192, "li... | https://github.com/snapthecode/boot1 | 248 | FILENAME: QuerydslApplication.java | 0.262842 | package dev40.querydsl;
import lombok.extern.slf4j.Slf4j;
import org.h2.tools.Server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import java.io.File;
import java.sql.SQ... |
61249637-4ad4-4541-8b93-7248ffd2fd0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-19 14:56:54", "repo_name": "biridian/PlayPoll2", "sub_path": "/PlayPoll/src/main/java/com/sds/playpoll/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 987, ... | https://github.com/biridian/PlayPoll2 | 168 | FILENAME: UserService.java | 0.264358 | package com.sds.playpoll.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.s... |
49b5421a-bbec-4122-ad00-96e82a2da516 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-02-01T19:48:27", "repo_name": "ravendesignsystem/rds", "sub_path": "/src/docs/dev/blocks/main/imagetile/index.md", "file_name": "index.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 31, "lang... | https://github.com/ravendesignsystem/rds | 222 | FILENAME: index.md | 0.224055 | ---
layout: docs
subsite: dev
menu: dev
title: Image Tiles
section: Blocks
subsection: Main Blocks
---
The image tile block allows you to feature content using images as the primary focal point. The left hand portion of the block is the featured content and uses a large image with title and excerpt, while the right ha... |
3db819aa-c127-4536-ade4-f12ca7a5e6e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-20 16:23:17", "repo_name": "youdliang/lor", "sub_path": "/src/main/java/com/ecsolutions/Validators/DocumentValidate.java", "file_name": "DocumentValidate.java", "file_ext": "java", "file_size_in_byte": 1135, "... | https://github.com/youdliang/lor | 222 | FILENAME: DocumentValidate.java | 0.276691 | package com.ecsolutions.Validators;
import com.ecsolutions.entity.document_entity;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
/**
* Created by tim on 2017/7/4.
*/
@Component
public class DocumentValidate implement... |
d00bbe02-bbe5-4199-a94f-570293c8c7f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-22 15:16:26", "repo_name": "iamEtornam/GroundUp", "sub_path": "/app/src/main/java/io/github/regnex/groundup/ViewHolder/CategoryViewHolder.java", "file_name": "CategoryViewHolder.java", "file_ext": "java", "fil... | https://github.com/iamEtornam/GroundUp | 190 | FILENAME: CategoryViewHolder.java | 0.267408 | package io.github.regnex.groundup.ViewHolder;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import io.github.regnex.groundup.Interface.ItemClickListener;
import io.github.regnex.groundup.R;
/**
* Created by H... |
b2f309e8-0135-4206-85d1-80d0ad8edb81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 19:52:33", "repo_name": "LubaEremenko/oop-reboot-homework1", "sub_path": "/src/com/company/TestDriver.java", "file_name": "TestDriver.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count": 47, ... | https://github.com/LubaEremenko/oop-reboot-homework1 | 272 | FILENAME: TestDriver.java | 0.27513 | package com.company;
public class TestDriver {
public static void run(){
testApple();
testBag();
testBoard();
testBook();
testPencil();
}
private static void testApple(){
Apple a = new Apple("Granny Smith");
System.out.println("Apple variety is " + a... |
13b52505-431c-4ae0-a13c-d391d00dd129 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-22 09:06:19", "repo_name": "YuichiHamamoto/SE319-Project", "sub_path": "/Backend/TrackYourFridge/src/main/java/com/t09/TrackYourFridge/repo/FridgeRepo.java", "file_name": "FridgeRepo.java", "file_ext": "java",... | https://github.com/YuichiHamamoto/SE319-Project | 215 | FILENAME: FridgeRepo.java | 0.253861 | package com.t09.TrackYourFridge.repo;
import com.t09.TrackYourFridge.models.FoodItem;
import com.t09.TrackYourFridge.models.Fridge;
import com.t09.TrackYourFridge.models.User;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.ArrayList;
import java.util.List;
public interface FridgeRepo ... |
4d9c05ed-55a1-4ad6-a740-5974b6851c39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-11T22:51:02", "repo_name": "efrei-paris-sud/2020-C-Just-do-it", "sub_path": "/lab/4/Ex1/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 985, "line_count": 37, "lang": "en", "do... | https://github.com/efrei-paris-sud/2020-C-Just-do-it | 343 | FILENAME: README.md | 0.285372 |
# Exercise 1
In this exercice, we need to upload the Blink LED source code. build the circut and see if it works.
## Schematic

## Code
```Arduino
const int led = 21;
... |
858e42a0-ab44-435d-a49a-d78b2fac708e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-25T20:14:10", "repo_name": "arnoldpatrickm/ASimpleGame", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 21, "lang": "en", "doc_type": "text", ... | https://github.com/arnoldpatrickm/ASimpleGame | 218 | FILENAME: README.md | 0.279828 | # ASimpleGame
Objective:
create a game that presents a word and starts a timer. Using event listeners, the game then checks for the correct key to be input, however if the wrong key is input the text shrinks up to 3 times. On the third failure the time stops and GameOver appears. If all letters are input correctly the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.