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 |
|---|---|---|---|---|---|---|
3e7096f1-f811-4117-a692-e936c78edc63 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-06 20:43:26", "repo_name": "tlundin/FieldApp", "sub_path": "/app/src/main/java/com/teraim/fieldapp/ui/DrawerMenuHeader.java", "file_name": "DrawerMenuHeader.java", "file_ext": "java", "file_size_in_byte": 1127... | https://github.com/tlundin/FieldApp | 255 | FILENAME: DrawerMenuHeader.java | 0.295027 | package com.teraim.fieldapp.ui;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;
import com.teraim.fieldapp.R;
import com.teraim.fieldapp.ui.DrawerMenuAdapter.RowType;
public class DrawerMenuHeader implements DrawerMenuItem {
private final String name;
private final ... |
ee30d308-dced-43db-9a87-340ecb76ff11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-29 12:02:10", "repo_name": "su19890510/Swing", "sub_path": "/drag/application/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1211, "line_count": 42, "lang": "en", "doc_type": "c... | https://github.com/su19890510/Swing | 224 | FILENAME: Main.java | 0.27513 | package application;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;
import javafx.util.Callback;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.TreeCell;
import javafx.scene.control.TreeView;
import java... |
0964937c-d551-4aae-9317-b1428cf0abae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-20 05:37:24", "repo_name": "arazzak15/AutomationScriptForAmazon", "sub_path": "/src/test/java/com/piit/session/Amazon/Testng_Maven_Amazon.java", "file_name": "Testng_Maven_Amazon.java", "file_ext": "java", "fi... | https://github.com/arazzak15/AutomationScriptForAmazon | 239 | FILENAME: Testng_Maven_Amazon.java | 0.271252 | package com.piit.session.Amazon;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeClass;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterClass;
public class Testng_Maven_Amazon {
public WebDriver driver;
@Test
public... |
3a77874b-e43c-4461-ac1e-22ce34db545b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-07 09:28:30", "repo_name": "hp849215170/CustomerData", "sub_path": "/app/src/main/java/m/hp/customerdata/http/ConnectMyServer.java", "file_name": "ConnectMyServer.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/hp849215170/CustomerData | 195 | FILENAME: ConnectMyServer.java | 0.247987 | package m.hp.customerdata.http;
import java.io.IOException;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;
public class ConnectMyServer {
public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
... |
93bc9d34-878b-43c3-9dd0-9fe2c97ae9e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-25 05:51:44", "repo_name": "Uppershott/ServiciodeSaludBioBio-master", "sub_path": "/app/src/main/java/cl/ubiobio/serviciodesaludbio_bio/MainMayorActivity.java", "file_name": "MainMayorActivity.java", "file_ext... | https://github.com/Uppershott/ServiciodeSaludBioBio-master | 221 | FILENAME: MainMayorActivity.java | 0.23092 | package cl.ubiobio.serviciodesaludbio_bio;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MainMayorActivity extends AppCompatActivity implements Vie... |
86dd4fa2-c8d5-405a-ba41-944a3788e924 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 14:12:00", "repo_name": "l1228911525/TuringCollege", "sub_path": "/mybatis/src/main/java/com/tuling/mybatis/pojo/Admin.java", "file_name": "Admin.java", "file_ext": "java", "file_size_in_byte": 975, "line_c... | https://github.com/l1228911525/TuringCollege | 230 | FILENAME: Admin.java | 0.220007 | package com.tuling.mybatis.pojo;
public class Admin {
private Integer eid;
private String ename;
private String epassword;
public Admin() {
}
public Admin(Integer eid, String ename, String epassword) {
this.eid = eid;
this.ename = ename;
this.epassword = epassword;
... |
5e82eabd-970b-421d-a90e-c82fd35a160f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-13T02:56:47", "repo_name": "MelodicCrypter/Gatsby-WordPress-Headless-Sample", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1034, "line_count": 46, "lang": "en"... | https://github.com/MelodicCrypter/Gatsby-WordPress-Headless-Sample | 284 | FILENAME: README.md | 0.246533 | <!-- AUTO-GENERATED-CONTENT:START (STARTER) -->
<p align="center">
<a href="https://www.gatsbyjs.org">
<img alt="Gatsby" src="https://www.gatsbyjs.org/monogram.svg" width="60" />
</a>
</p>
<h1 align="center">
WordPress, Gatsby, and Netlify (sample)
</h1>
This is just a sample implementation of a headless bl... |
13aa045e-9b85-44a1-b9fd-626da58a06fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-04 12:52:39", "repo_name": "ostap-lozinskyi/Cafe", "sub_path": "/src/main/java/ua/controller/ControllerUtils.java", "file_name": "ControllerUtils.java", "file_ext": "java", "file_size_in_byte": 1084, "line_cou... | https://github.com/ostap-lozinskyi/Cafe | 193 | FILENAME: ControllerUtils.java | 0.282196 | package ua.controller;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
public class ControllerUtils {
public static String buildParams(boolean hasContent, Pageable pageable, String getSearch) {
StringBuilder buffer = new StringBuilder();
buffer.append... |
ba142b6b-1e65-48b5-9f4e-fe21ea75c2ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-09T14:05:13", "repo_name": "daybrayk/The-Misadventures-of-Mr.Block", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 980, "line_count": 15, "lang": "en", "doc_typ... | https://github.com/daybrayk/The-Misadventures-of-Mr.Block | 228 | FILENAME: README.md | 0.205615 | # The Misadventures of Mr.Block
This project originated as a course assignment for a mobile development class I took in school, and is now a personal project that I work on in my spare time. The game is an endless runner that features a grappling hook mechanic for movement, the name of the game is last as long as possi... |
2b53ded9-82a3-4d96-bba7-736dd4a7b6dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-16 02:07:00", "repo_name": "zhangggit/CounterfeitJingDong", "sub_path": "/app/src/main/java/com/example/zhanggang/counterfeitjingdong/view/customview/MyGrideView.java", "file_name": "MyGrideView.java", "file_e... | https://github.com/zhangggit/CounterfeitJingDong | 259 | FILENAME: MyGrideView.java | 0.281406 | package com.example.zhanggang.counterfeitjingdong.view.customview;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.GridView;
/**
* 类作用:
* 时 间:2017/9/12 - 23:03.
* 创建人:张刚
*/
public class MyGrideView extends GridView {
public MyGrideView(Context context) {
super... |
eba53c84-12ab-4d0a-b105-d0f289848547 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-12 06:28:46", "repo_name": "Jinni6012/RetrofitRXJavaDemo", "sub_path": "/app/src/main/java/com/example/administrator/retrofitrxjavademo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java",... | https://github.com/Jinni6012/RetrofitRXJavaDemo | 192 | FILENAME: MainActivity.java | 0.191933 | package com.example.administrator.retrofitrxjavademo;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import com.example.administrator.retrofitrxjavademo.ui.Mov... |
9d638a40-3882-4a18-b23a-6f98651cac4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-18T07:59:21", "repo_name": "pikariop/oblique-strategies-zsh", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 997, "line_count": 27, "lang": "en", "doc_type": "te... | https://github.com/pikariop/oblique-strategies-zsh | 271 | FILENAME: README.md | 0.212069 | # oblique-strategies-zsh
Brian Eno and Peter Schmidt's [oblique strategies](http://en.wikipedia.org/wiki/Oblique_Strategies) as a very simple oh-my-zsh module. Modelled afer [ceejbot/oblique-strategies](https://github.com/ceejbot/oblique-strategies).
## Usage
Download the plugin into the custom plugin directory
```... |
87448d24-7e8f-4878-affa-cc4f71331a8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-23T23:36:26", "repo_name": "ChadCoviel/WallpaperCentral", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1055, "line_count": 19, "lang": "en", "doc_type": "text"... | https://github.com/ChadCoviel/WallpaperCentral | 222 | FILENAME: README.md | 0.188324 | # Wallpaper Central
This program allows you to manage a workspace of photos for editing. Right now the only editing option available is to
crop a photo.
## How to run
Copy the repository to a location of your choice. Make sure that you have the latest Java JDK installed and then run
MainApp.java file located at /sr... |
4244a10e-5a84-4f5b-86ce-c7ac483b43f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-05 10:58:31", "repo_name": "HTiSolutions/poolref", "sub_path": "/src/main/java/com/htisolutions/poolref/viewModels/CreateSubLeagueViewModel.java", "file_name": "CreateSubLeagueViewModel.java", "file_ext": "jav... | https://github.com/HTiSolutions/poolref | 244 | FILENAME: CreateSubLeagueViewModel.java | 0.242206 | package com.htisolutions.poolref.viewModels;
import com.htisolutions.poolref.entities.User;
import java.util.List;
import java.util.ArrayList;
public class CreateSubLeagueViewModel {
private Iterable<User> users;
private Iterable<User> players;
private Iterable<String> leagues;
private String playe... |
7b7e8136-e64d-499f-b601-56f691400a27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-18 23:40:15", "repo_name": "berkuyanikk/work5", "sub_path": "/eCommerce/dataAccess/concretes/HibernateUserDao.java", "file_name": "HibernateUserDao.java", "file_ext": "java", "file_size_in_byte": 1079, "line_c... | https://github.com/berkuyanikk/work5 | 227 | FILENAME: HibernateUserDao.java | 0.221351 | package eCommerce.dataAccess.concretes;
import eCommerce.dataAccess.abstracts.UserDao;
import eCommerce.entities.concretes.User;
import java.util.ArrayList;
import java.util.List;
public class HibernateUserDao implements UserDao {
List<User> users= new ArrayList<User>();
@Override
public void add(User u... |
87a5099b-420d-4826-b37b-da37d7ac206e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-24 09:31:09", "repo_name": "jiedog/bigdata", "sub_path": "/hadoop-train/src/main/java/com/bigdata/hadoop/mapreduce/mapper/LogETLMapper.java", "file_name": "LogETLMapper.java", "file_ext": "java", "file_size_in... | https://github.com/jiedog/bigdata | 255 | FILENAME: LogETLMapper.java | 0.252384 | package com.bigdata.hadoop.mapreduce.mapper;
import com.bigdata.hadoop.utils.LogUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
import org.slf4j.Logger;
im... |
54917013-ca41-4cec-b169-5b907b38d2a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-01-08 06:21:23", "repo_name": "KiiPlatform/KiiToolkit-Android", "sub_path": "/KiiLoginTool/src/main/java/com/kii/tool/login/KiiLoginProgressDialogFragment.java", "file_name": "KiiLoginProgressDialogFragment.java"... | https://github.com/KiiPlatform/KiiToolkit-Android | 191 | FILENAME: KiiLoginProgressDialogFragment.java | 0.264358 | package com.kii.tool.login;
import android.app.Dialog;
import android.app.DialogFragment;
import android.app.ProgressDialog;
import android.os.Bundle;
public class KiiLoginProgressDialogFragment extends DialogFragment {
private static final String ARGS_TEXT = "text";
public static KiiLoginProgressDialogFragm... |
00c5793d-6e09-4a6d-adb3-e9df7fda8c46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 02:38:21", "repo_name": "songdi676/data-pipeline", "sub_path": "/src/main/java/nl/paas/tool/data/pipeline/config/DataSourceIdRunner.java", "file_name": "DataSourceIdRunner.java", "file_ext": "java", "file_s... | https://github.com/songdi676/data-pipeline | 227 | FILENAME: DataSourceIdRunner.java | 0.225417 | package nl.paas.tool.data.pipeline.config;
import java.util.HashMap;
import java.util.Map;
import javax.sql.DataSource;
import com.baomidou.dynamic.datasource.DynamicRoutingDataSource;
import org.apache.ibatis.mapping.DatabaseIdProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.spri... |
a21e02c2-8581-4e8e-9a44-d95b7102ff3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-03 11:32:11", "repo_name": "MertTutsak/Gesture", "sub_path": "/app/src/main/java/com/mert/gestureapp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1067, "line_c... | https://github.com/MertTutsak/Gesture | 189 | FILENAME: MainActivity.java | 0.246533 | package com.mert.gestureapp;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.FrameLayout;
public class MainActivity extends AppCompatActivity {
//... |
40850235-5b17-4748-8f18-8eea738f922f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-20 07:54:17", "repo_name": "ronnie-dalsgaard/MigrainMonitor", "sub_path": "/app/src/main/java/dalsgaard/ronnie/migrainmonitor/OccurenceDetailActivity.java", "file_name": "OccurenceDetailActivity.java", "file_e... | https://github.com/ronnie-dalsgaard/MigrainMonitor | 193 | FILENAME: OccurenceDetailActivity.java | 0.224055 | package dalsgaard.ronnie.migrainmonitor;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
public class OccurenceDetail... |
15047434-7933-409f-bc8c-401ea2a2307d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-03 11:53:53", "repo_name": "ghanshujee4/JBOSS", "sub_path": "/src/com/tresfocus/ekart/spring/bean/AuthenticationSuccessHandlerImpl.java", "file_name": "AuthenticationSuccessHandlerImpl.java", "file_ext": "java... | https://github.com/ghanshujee4/JBOSS | 200 | FILENAME: AuthenticationSuccessHandlerImpl.java | 0.26588 | package com.tresfocus.ekart.spring.bean;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authenticati... |
39f5151b-5b20-436f-8784-e35d1f380bef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-01T03:52:50", "repo_name": "mdeane84/Software-Engineering-Portfolio", "sub_path": "/Twitch Bot/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1016, "line_count": 16, "lang": "... | https://github.com/mdeane84/Software-Engineering-Portfolio | 216 | FILENAME: README.md | 0.188324 | # Twitch.tv ChatBot
This is a chatbot that processes chat messages. It includes a chat logger and commands that
return a pre-written message or execute a function with parameters specified in the message.
## Description of Files
* **Run.py:** The main logic for the bot. Run this file to use the bot.
* **Settin... |
f253ff54-4d68-484a-a9b0-35157981b7f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-13 13:12:54", "repo_name": "JoeryH/JEA6", "sub_path": "/weblog/src/controller/command/GetWeblog.java", "file_name": "GetWeblog.java", "file_ext": "java", "file_size_in_byte": 1024, "line_count": 36, "lang": "e... | https://github.com/JoeryH/JEA6 | 184 | FILENAME: GetWeblog.java | 0.281406 | package controller.command;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import service.WebLogService;
public class GetWeblog extends Command {
private static final WebLogService webLogService =... |
849e8a67-e5a6-4fb9-b486-7bb59515a12c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-06 09:39:19", "repo_name": "binhdv37/nong-nghiep-v2", "sub_path": "/application/src/main/java/org/thingsboard/server/dft/common/validator/reportSchedule/ReportScheduleValidator.java", "file_name": "ReportSched... | https://github.com/binhdv37/nong-nghiep-v2 | 206 | FILENAME: ReportScheduleValidator.java | 0.288569 | package org.thingsboard.server.dft.common.validator.reportSchedule;
import org.springframework.stereotype.Component;
import org.thingsboard.server.dft.repositories.ReportScheduleRepository;
import java.util.UUID;
@Component
public class ReportScheduleValidator {
public static final String TYPE_ADD = "ADD_ENTITY";
... |
01b28f0d-c11e-4dc6-8e9f-d4388c631843 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 13:35:56", "repo_name": "DrewMParsons/GardenJournal", "sub_path": "/app/src/main/java/com/lumpyslounge/gardenjournal/Util/Validation.java", "file_name": "Validation.java", "file_ext": "java", "file_size_in_... | https://github.com/DrewMParsons/GardenJournal | 199 | FILENAME: Validation.java | 0.249447 | package com.lumpyslounge.gardenjournal.Util;
import android.util.Patterns;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.annotation.Nullable;
public class Validation
{
public static boolean isInputValid(@Nullable String textField) {
return textField != null && !textFie... |
b3f5516c-6894-46ab-86aa-61b4aa19c131 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-05 00:47:44", "repo_name": "xiaoyao0303/ParkingAPP_version2", "sub_path": "/app/src/main/java/com/example/parkingapp_version2/Activity/accout_manager/EvaSubmit.java", "file_name": "EvaSubmit.java", "file_ext":... | https://github.com/xiaoyao0303/ParkingAPP_version2 | 193 | FILENAME: EvaSubmit.java | 0.216012 | package com.example.parkingapp_version2.Activity.accout_manager;
/**
* Created by Dongqing Yao on 2018/4/2.
* “我”界面的子界面——“我的评价”的子界面——“提交成功”
**/
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import c... |
750dfde8-88de-4a7b-bb06-51c2fdffce07 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-19 09:24:59", "repo_name": "wuyibin49/201801", "sub_path": "/biaoqingbaoBaseOnSpringBoot/src/main/java/com/wuyibin/controller/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "fi... | https://github.com/wuyibin49/201801 | 211 | FILENAME: LoginController.java | 0.218669 | package com.wuyibin.controller;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import com.wuyibin.vo.UserVo;
@Controller
@RequestMapping("/login")
public class Log... |
9d41baf0-9865-476c-a03e-352746480781 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-10 08:15:48", "repo_name": "gcdd1993/demos", "sub_path": "/demo-java-multithread/src/main/java/chapter3/pipeInputOutput/Run.java", "file_name": "Run.java", "file_ext": "java", "file_size_in_byte": 1136, "line_... | https://github.com/gcdd1993/demos | 222 | FILENAME: Run.java | 0.284576 | package chapter3.pipeInputOutput;
import java.io.IOException;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
/**
* Created by IntelliJ IDEA.
* User: gaochen
* Date: 2018/8/16
*/
public class Run {
public static void main(String[] args) {
try {
WriteData writeData = new ... |
171b1fc6-fa7a-4c93-95b5-58255940cf08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-28 13:44:26", "repo_name": "ronnnnnn/bookshare", "sub_path": "/src/main/java/com/ron/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_size_in_byte": 1107, "line_... | https://github.com/ronnnnnn/bookshare | 220 | FILENAME: IndexController.java | 0.236516 | package com.ron.controller;
import com.ron.domain.SysResource;
import com.ron.domain.SysUser;
import com.ron.service.SysResourceService;
import com.ron.service.SysUserservice;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMa... |
5f095361-f3ff-4ace-81b2-7065afe25dc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-19 06:32:19", "repo_name": "green-fox-academy/phamed11", "sub_path": "/week-07/day-4/FoxTamagochi/src/main/java/com/greenfoxacademy/foxtamagochi/Modells/Fox.java", "file_name": "Fox.java", "file_ext": "java", ... | https://github.com/green-fox-academy/phamed11 | 309 | FILENAME: Fox.java | 0.279828 | package com.greenfoxacademy.foxtamagochi.Modells;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Fox {
private String name;
private String food;
private String drink;
public List<String> getListOfTricks() {
return listOfTricks;
}
List<String> listOfTricks;
... |
e8c035b7-bc2b-4b23-969d-7bc485821cf2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-18 01:21:23", "repo_name": "superMsp10/Projectory", "sub_path": "/Projectory/src/level/tiles/Tile.java", "file_name": "Tile.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 41, "lang": "en", ... | https://github.com/superMsp10/Projectory | 259 | FILENAME: Tile.java | 0.247987 | package level.tiles;
import game.graphics.Display;
import game.graphics.skins.Sprite;
public abstract class Tile {
public Sprite sprite;
public boolean solid;
public double resistence;
public boolean sliding = false;
public int tileNum;
//Tiles
public static Tile NULLTILE = new NullTile(Sprite.NULLSPRITE, 40... |
180d5e36-129c-439b-838b-636c49892d88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 15:27:32", "repo_name": "muchbeer/FirebaseWithPaging", "sub_path": "/app/src/main/java/muchbeer/raum/firebasewithpaging/repository/RemoteQueryDataSource.java", "file_name": "RemoteQueryDataSource.java", "fi... | https://github.com/muchbeer/FirebaseWithPaging | 233 | FILENAME: RemoteQueryDataSource.java | 0.26971 | package muchbeer.raum.firebasewithpaging.repository;
import androidx.annotation.NonNull;
import androidx.paging.ItemKeyedDataSource;
import muchbeer.raum.firebasewithpaging.model.Entity;
public class RemoteQueryDataSource extends ItemKeyedDataSource<Integer, Entity> {
private RemoteRepository fetchFromRemoteQue... |
877ab5d2-2e91-45bd-bbe5-bc6a3088733d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-14 16:14:15", "repo_name": "Sunchao1996/springcloud-demo", "sub_path": "/demo013-e-book/e-book-order/e-book-order-core/src/main/java/com/sc/book/order/facade/OrderFacadeImpl.java", "file_name": "OrderFacadeImp... | https://github.com/Sunchao1996/springcloud-demo | 211 | FILENAME: OrderFacadeImpl.java | 0.226784 | package com.sc.book.order.facade;
import com.netflix.discovery.converters.Auto;
import com.sc.book.order.domain.Order;
import com.sc.book.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.we... |
41b93ee1-2625-41de-9333-57469b04b646 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-30 01:35:47", "repo_name": "humbertonm/openweathermap-client", "sub_path": "/src/main/java/org/openweathermap/client/response/Clouds.java", "file_name": "Clouds.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/humbertonm/openweathermap-client | 241 | FILENAME: Clouds.java | 0.221351 |
package org.openweathermap.client.response;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* Created by beto on 26/11/15.
*/
@JsonIncl... |
facad3fa-59d4-4896-9696-8ea03b8fe401 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-07T05:51:22", "repo_name": "RangaHax/Simple-Palpatine", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 13, "lang": "en", "doc_type": "text", ... | https://github.com/RangaHax/Simple-Palpatine | 257 | FILENAME: README.md | 0.225417 | # Simple-Palpatine
A simple lua script to go with the [Secret Palpatine](https://steamcommunity.com/sharedfiles/filedetails/?id=597522954) [Tabletop Simulator](https://store.steampowered.com/app/286160/Tabletop_Simulator/) game.
Tells players the information they need to know before the game starts because who trusts ... |
e3aef57e-5a44-45be-bfc7-7591ff8fc05a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-15 07:27:03", "repo_name": "apollo2099/AppServer", "sub_path": "/src/com/taozhu/modules/app/moneyProduct/service/MoneyProductService.java", "file_name": "MoneyProductService.java", "file_ext": "java", "file_si... | https://github.com/apollo2099/AppServer | 258 | FILENAME: MoneyProductService.java | 0.290981 | package com.taozhu.modules.app.moneyProduct.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.taozhu.common.base.dao.BaseDAO;
import com.taozhu.common.mybatis.util.... |
ea55f37b-915c-4379-a105-fd22a61dd56b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-03 21:46:27", "repo_name": "bmarques0/arguilebar", "sub_path": "/Aplicativo/ArguileBar/app/src/main/java/com/example/brunofelipe/arguilebar/Activity/MainActivity.java", "file_name": "MainActivity.java", "file_... | https://github.com/bmarques0/arguilebar | 202 | FILENAME: MainActivity.java | 0.2227 | package com.example.brunofelipe.arguilebar.Activity;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.View;
import android.widget.Button;
import com.example.brunofelipe.argui... |
c8861b6f-110e-48bb-ad85-8434630b2c3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-03 02:24:43", "repo_name": "lgfcruz/code_challenge", "sub_path": "/src/main/java/com/vague/code_challenge/service/MessageLocaleServiceImpl.java", "file_name": "MessageLocaleServiceImpl.java", "file_ext": "java... | https://github.com/lgfcruz/code_challenge | 177 | FILENAME: MessageLocaleServiceImpl.java | 0.259826 | package com.vague.code_challenge.service;
import java.util.Locale;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereotype.Component;
@Component
public class Mes... |
d54f9bf8-db70-4b58-8571-7137e5a3241e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-02 17:12:20", "repo_name": "AntoniaPuertas/HolaMudo", "sub_path": "/app/src/main/java/com/example/holamudo/activitys/WebviewActivity.java", "file_name": "WebviewActivity.java", "file_ext": "java", "file_size_i... | https://github.com/AntoniaPuertas/HolaMudo | 212 | FILENAME: WebviewActivity.java | 0.213377 | package com.example.holamudo.activitys;
import android.os.Build;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Button;
import android.widge... |
d9837433-bd4c-43ab-af6a-ccbf34b4c035 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-05 17:17:29", "repo_name": "ivocosta82/RestMocker", "sub_path": "/src/main/java/com/example/ivocosta/restmocker/model/elements/MethodDefinition.java", "file_name": "MethodDefinition.java", "file_ext": "java", ... | https://github.com/ivocosta82/RestMocker | 261 | FILENAME: MethodDefinition.java | 0.239349 | package com.example.ivocosta.restmocker.model.elements;
import com.example.ivocosta.restmocker.model.Method;
import com.example.ivocosta.restmocker.model.StatusCode;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Ivo Costa on 09/02/2017.
*/
public class MethodDefinition {
private String descr... |
e583c29b-c0d1-4d62-905e-8a759d950081 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-05T17:08:24", "repo_name": "gubanotorious/webhook-proxy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1099, "line_count": 19, "lang": "en", "doc_type": "text"... | https://github.com/gubanotorious/webhook-proxy | 224 | FILENAME: README.md | 0.172172 | # webhook-proxy
Webhook proxy to route and debug webhook calls to a local dev environment
## Overview
In developing solutions that rely on third-party webhooks, often those third-parties will require a SSL webhook address with a valid SSL certificate, even when using a sandbox / test environment. This is a quick prox... |
f550a593-c638-484d-8988-2fc2a3933c3a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-21 08:07:34", "repo_name": "urviksorathia-brevitaz/Projects", "sub_path": "/studentdataapi/src/main/java/com/mysimplehacks/studentdataapi/entity/Student.java", "file_name": "Student.java", "file_ext": "java", ... | https://github.com/urviksorathia-brevitaz/Projects | 235 | FILENAME: Student.java | 0.258326 | package com.mysimplehacks.studentdataapi.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity
public class Student {
@Id
private long rollNo;
private String firstName;
private float percentage;
public Student() {
}
public Student(long rollNo, String firstName, f... |
1ab92c10-ae2f-4dcd-8adb-304e7dbf4bec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-31 06:37:40", "repo_name": "QinRoc/Learning_Android", "sub_path": "/Course_Day_09_SQL_Helper/src/main/java/com/cskaoyan/week2/sqldbhelperappdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext"... | https://github.com/QinRoc/Learning_Android | 241 | FILENAME: MainActivity.java | 0.27048 | package com.cskaoyan.week2.sqldbhelperappdemo;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(... |
fe98a758-2492-4322-b867-b55644bcd935 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-09 13:58:13", "repo_name": "Show-vars/EldestHub", "sub_path": "/src/net/onbee/eldesthub/network/ServerFactory.java", "file_name": "ServerFactory.java", "file_ext": "java", "file_size_in_byte": 1038, "line_coun... | https://github.com/Show-vars/EldestHub | 242 | FILENAME: ServerFactory.java | 0.279042 | package net.onbee.eldesthub.network;
import java.net.InetSocketAddress;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
import org.jboss.netty.handler.execution.... |
33da3e76-4d35-4f46-98c5-8c0d32e0a5c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-19 03:25:12", "repo_name": "Prodev2017/Software_Java_Design", "sub_path": "/L06a-Strategy_Pattern/HDD.java", "file_name": "HDD.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count": 57, "lang": "e... | https://github.com/Prodev2017/Software_Java_Design | 296 | FILENAME: HDD.java | 0.295027 | package strategy;
public class HDD extends ElectronicParts {
public String type;
public Data dataType;
public Cach cacheType;
public int speed;
public int location;
public HDD(String type, int speed, int location, Data dataType, Cach cacheType){
this.type = type;
this.dataType = dataType;
this... |
1721c457-a6fd-4cab-b796-b641d6b52149 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-08 19:45:58", "repo_name": "quickeee/Coding-Bootcamp", "sub_path": "/Coding Bootcamp/13_10_2016_Java/Library/Library.java", "file_name": "Library.java", "file_ext": "java", "file_size_in_byte": 1011, "line_cou... | https://github.com/quickeee/Coding-Bootcamp | 236 | FILENAME: Library.java | 0.290176 | import java.util.*;
public class Library {
Book [] books = new Book[20];
Library(Book [] books) {
this.books = books;
}
public void printAvailableBooks () {
int i;
for (i = 0;i < 20;i++) {
if (books[i].isAvailable()) {
System.out.println(books[i].to... |
91a06a90-b4d8-4ba5-91cc-dad432aefa01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 12:44:59", "repo_name": "Ares328/SoaGameApi", "sub_path": "/src/main/java/com/soasimpleapi/gameapi/model/GameService.java", "file_name": "GameService.java", "file_ext": "java", "file_size_in_byte": 1075, "l... | https://github.com/Ares328/SoaGameApi | 197 | FILENAME: GameService.java | 0.26588 | package com.soasimpleapi.gameapi.model;
import com.soasimpleapi.gameapi.db.GameRepository;
import org.hibernate.service.spi.ServiceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.i18n.LocaleContextHolder;
import org.springframework.stereotype.Service;
impor... |
c8f16f1a-d6fa-408f-98b1-58882700822d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-17 16:46:02", "repo_name": "lucasjardi/Chamados", "sub_path": "/src/hibernatetest/PersistObjects.java", "file_name": "PersistObjects.java", "file_ext": "java", "file_size_in_byte": 999, "line_count": 41, "lang... | https://github.com/lucasjardi/Chamados | 211 | FILENAME: PersistObjects.java | 0.27513 | package hibernatetest;
import facade.Facade;
import model.Locals;
import model.Permissions;
import model.Users;
public class PersistObjects {
public static void main(String[] args) {
//criacao de alguns objetos
Permissions p1 = new Permissions();
p1.setNome... |
e2c5e675-5619-429c-8e57-caf08bc9ab1c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-11 08:02:38", "repo_name": "float1251/twtd", "sub_path": "/core/src/jp/float1251/twtd/ui/WaveLabel.java", "file_name": "WaveLabel.java", "file_ext": "java", "file_size_in_byte": 1101, "line_count": 39, "lang":... | https://github.com/float1251/twtd | 225 | FILENAME: WaveLabel.java | 0.246533 | package jp.float1251.twtd.ui;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
/**
* Created by t-iwatani on 2015/08/27.
*/
public class WaveLabel extends CustomTextLabel {
public WaveLabel(String text) {
super(text);
}
public void show(final Runnable onComplete) {
setVisible(tr... |
0c7812d7-9848-469f-a414-b3db425a440c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-04 05:12:33", "repo_name": "sumanbhujel/finalandroid", "sub_path": "/app/src/main/java/com/stw300cem/finalandroid/models/Scrap.java", "file_name": "Scrap.java", "file_ext": "java", "file_size_in_byte": 1153, "... | https://github.com/sumanbhujel/finalandroid | 224 | FILENAME: Scrap.java | 0.200558 | package com.stw300cem.finalandroid.models;
public class Scrap {
private String _id;
private String image;
private String productType;
private String description;
private String location;
private String userId;
public Scrap(String image, String productType, String description, String locat... |
3d0f5fac-c887-4722-83b0-4b472108d4b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-19 15:37:04", "repo_name": "jojoldu/blog-code", "sub_path": "/first-class-collection/src/main/java/com/jojoldu/blogcode/firstclasscollection/sample1/LottoService.java", "file_name": "LottoService.java", "file_... | https://github.com/jojoldu/blog-code | 234 | FILENAME: LottoService.java | 0.252384 | package com.jojoldu.blogcode.firstclasscollection.sample1;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class LottoService {
private static final int LOTTO_NUMBERS_SIZE = 6;
public void createLottoNumber() {
List<Long> lottoNumbers = create... |
7fcd8e20-a893-4ba1-b9af-36e946091ac1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-27 06:13:25", "repo_name": "O-Abdelaaziz/stockmanagementsystem", "sub_path": "/backend/stockmanagementsystemserver/src/main/java/com/stockmanagementsystem/server/models/MouvementDeStock.java", "file_name": "Mo... | https://github.com/O-Abdelaaziz/stockmanagementsystem | 253 | FILENAME: MouvementDeStock.java | 0.272799 | package com.stockmanagementsystem.server.models;
import com.stockmanagementsystem.server.enums.MvtStockEnum;
import com.stockmanagementsystem.server.models.common.AbstractEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.math.BigDeci... |
f3d1aa67-c8c6-4314-b93c-6e5be129d4d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-09 20:38:29", "repo_name": "silviasalete/project-okr", "sub_path": "/src/com/okr/model/bean/Objective.java", "file_name": "Objective.java", "file_ext": "java", "file_size_in_byte": 1212, "line_count": 68, "lan... | https://github.com/silviasalete/project-okr | 294 | FILENAME: Objective.java | 0.282988 | package com.okr.model.bean;
import java.util.ArrayList;
import java.util.List;
public class Objective {
int id;
String description;
User user;
List<KeyResult> listKeyResult = new ArrayList<>();
public Objective(String description, User user) {
super();
this.id = (int) (Math.random() * 100);
this.d... |
608ce479-3832-4248-bc7e-0ffb400903d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-29 17:36:20", "repo_name": "dmitrybilyk/interviews", "sub_path": "/src/main/java/com/learn/patterns/freemanAndFreeman/headfirst/composite/custom/CompositeIterator.java", "file_name": "CompositeIterator.java", ... | https://github.com/dmitrybilyk/interviews | 216 | FILENAME: CompositeIterator.java | 0.283781 | package com.learn.patterns.freemanAndFreeman.headfirst.composite.custom;
import java.util.Iterator;
import java.util.Stack;
public class CompositeIterator implements Iterator {
Stack stack = new Stack();
public CompositeIterator(Iterator iterator) {
stack.push(iterator);
}
public Object next() {
if (... |
9141d952-1a4d-44f4-841e-771b2bb72782 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-23 19:17:24", "repo_name": "oleja00/reserve_android", "sub_path": "/app/src/main/java/com/maxkudla/reserve/presenter/main/map/MapSearchPresenter.java", "file_name": "MapSearchPresenter.java", "file_ext": "java... | https://github.com/oleja00/reserve_android | 224 | FILENAME: MapSearchPresenter.java | 0.286169 | package com.maxkudla.reserve.presenter.main.map;
import com.maxkudla.reserve.domain.main.SendSearchParamInteractor;
import com.maxkudla.reserve.models.options.Location;
import com.maxkudla.reserve.presenter.base.BasePresenter;
import com.maxkudla.reserve.presenter.main.MainRouter;
import javax.inject.Inject;
/**
* ... |
3f6108cf-a110-4575-adf2-74644e874d98 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-05 05:05:41", "repo_name": "botukarajesh/food-delivery", "sub_path": "/src/main/java/com/food/delivery/controller/BrowseCatalogueController.java", "file_name": "BrowseCatalogueController.java", "file_ext": "ja... | https://github.com/botukarajesh/food-delivery | 194 | FILENAME: BrowseCatalogueController.java | 0.285372 | package com.food.delivery.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.... |
347b2d5f-9977-4ced-85be-1fed0a392496 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-04 13:48:18", "repo_name": "32xlevelPrivate/restaurant", "sub_path": "/src/main/java/com/ma3stro/restaurant/model/Restaurant.java", "file_name": "Restaurant.java", "file_ext": "java", "file_size_in_byte": 1128... | https://github.com/32xlevelPrivate/restaurant | 253 | FILENAME: Restaurant.java | 0.282196 | package com.ma3stro.restaurant.model;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Cache;
import javax.persistence.*;
import java.util.List;
@Entity
@Table(name = "restaurants")
//@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class Restaurant exte... |
c1a996c5-3870-41ff-a244-b623e328e85f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-26 01:10:33", "repo_name": "leoGCoelho/Scientific-Calculator", "sub_path": "/src/calculadora/Excessao.java", "file_name": "Excessao.java", "file_ext": "java", "file_size_in_byte": 1212, "line_count": 54, "lang... | https://github.com/leoGCoelho/Scientific-Calculator | 248 | FILENAME: Excessao.java | 0.273574 | /*
* 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 calculadora;
/**
*
* @author Meu computador
*/
public class Excessao {
boolean flag;
public Exce... |
17011112-cbb9-4f23-a0ac-dc8221169fad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-09 04:36:18", "repo_name": "bankchart/superdog", "sub_path": "/PutToFile.java", "file_name": "PutToFile.java", "file_ext": "java", "file_size_in_byte": 1046, "line_count": 53, "lang": "en", "doc_type": "code",... | https://github.com/bankchart/superdog | 240 | FILENAME: PutToFile.java | 0.293404 | import java.io.File;
import java.io.FileWriter;
import java.io.BufferedWriter;
import java.io.IOException;
public class PutToFile {
private File file;
private FileWriter fileWriter;
private BufferedWriter buf;
private String fileName;
public PutToFile(){}
public PutToFile(String fileName){
this.fileName = fi... |
30c05bbf-c868-4fbd-883e-65d00fd171f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 12:58:40", "repo_name": "swastik52/push-to-mongo", "sub_path": "/src/main/java/com/asiczen/push/mongo/rabbit/consumer/MessageConsumer.java", "file_name": "MessageConsumer.java", "file_ext": "java", "file_si... | https://github.com/swastik52/push-to-mongo | 254 | FILENAME: MessageConsumer.java | 0.283781 | package com.asiczen.push.mongo.rabbit.consumer;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.asiczen.push.mongo.model.ConvertedMessage;
import com.asiczen.push.mongo.service.... |
5014ee68-f2f4-49c7-98ab-78300cf63507 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-15 22:31:29", "repo_name": "tanvi789/cucumber-implementation", "sub_path": "/src/test/java/Justeat.java", "file_name": "Justeat.java", "file_ext": "java", "file_size_in_byte": 1152, "line_count": 44, "lang": "... | https://github.com/tanvi789/cucumber-implementation | 262 | FILENAME: Justeat.java | 0.264358 | import cucumber.api.java.After;
import cucumber.api.java.Before;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import static org.junit.Assert.a... |
2ea9cfd3-1b87-475f-b918-72458081a00e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-07 16:18:43", "repo_name": "bbooooon/SeniorProject", "sub_path": "/app/src/main/java/com/example/seniorpj100per/Signin_SignUp/Signup_SigninActivity.java", "file_name": "Signup_SigninActivity.java", "file_ext":... | https://github.com/bbooooon/SeniorProject | 216 | FILENAME: Signup_SigninActivity.java | 0.229535 | package com.example.seniorpj100per.Signin_SignUp;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.example.seniorpj100per.R;
public class Signup_SigninActivity extends AppCompatActivity {
... |
78558b5e-7516-4ebd-93a7-aab6d6f0f8f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-05 03:33:52", "repo_name": "gea-07/laughterproject", "sub_path": "/androidjokelibrary/src/main/java/com/arleneg/android/androidjokelibrary/JokeActivity.java", "file_name": "JokeActivity.java", "file_ext": "jav... | https://github.com/gea-07/laughterproject | 185 | FILENAME: JokeActivity.java | 0.210766 | package com.arleneg.android.androidjokelibrary;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.vi... |
2c3ae929-e0db-4259-8be5-ed409bdcbe6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-31 19:19:50", "repo_name": "KPMP/orion-data", "sub_path": "/src/main/java/org/kpmp/users/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 1046, "line_count": 40, "la... | https://github.com/KPMP/orion-data | 195 | FILENAME: UserService.java | 0.279042 | package org.kpmp.users;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.kpmp.packages.Package;
import org.kpmp.packages.PackageRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Servic... |
811f5423-62b6-4ff5-ac7b-bbd423eabc68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-09 03:08:29", "repo_name": "walkeZ/WalkeBase", "sub_path": "/app/src/main/java/com/hui/huiheight/views/touch/TouchEventActivity.java", "file_name": "TouchEventActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/walkeZ/WalkeBase | 214 | FILENAME: TouchEventActivity.java | 0.240775 | package com.hui.huiheight.views.touch;
import android.os.Bundle;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
import com.hui.huiheight.R;
import walke.base.tool.ToastUtil;
public class TouchEventActivity extends AppCompatActivi... |
f0743aec-18f6-416e-aeb1-9ee22be24396 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-07 21:56:18", "repo_name": "miagerbino/star-tech-backend", "sub_path": "/src/main/java/com/startech/restapi/Controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_i... | https://github.com/miagerbino/star-tech-backend | 189 | FILENAME: UserController.java | 0.252384 | package com.startech.restapi.Controller;
import com.startech.restapi.Persistence.Account;
import com.startech.restapi.Service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import java.util.List;
... |
6c6680b4-03e6-4f29-b308-e953730913a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-20 22:23:06", "repo_name": "jakubbrzostek/SpaceAgencyDataHub", "sub_path": "/src/main/java/j/brzostek/spaceagency/api/MissionController.java", "file_name": "MissionController.java", "file_ext": "java", "file_s... | https://github.com/jakubbrzostek/SpaceAgencyDataHub | 227 | FILENAME: MissionController.java | 0.262842 | package j.brzostek.spaceagency.api;
import j.brzostek.spaceagency.DAO.entity.Mission;
import j.brzostek.spaceagency.service.MissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.Optional;
@RestController
@RequestMapping("/api... |
77b167fb-159d-4648-9b27-5d97614eff70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-23 00:29:13", "repo_name": "chifoidriss/Virtual-Market", "sub_path": "/src/com/vmarket/servlet/Error.java", "file_name": "Error.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count": 35, "lang": "... | https://github.com/chifoidriss/Virtual-Market | 194 | FILENAME: Error.java | 0.26588 | package com.vmarket.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
@WebSer... |
770ec989-7c3c-4707-a54a-d9df2761f04d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-17 16:42:11", "repo_name": "karangb/HypemRecommender", "sub_path": "/dal/src/main/java/com/hypemrecommender/dal/SoundcloudTrackDao.java", "file_name": "SoundcloudTrackDao.java", "file_ext": "java", "file_size_... | https://github.com/karangb/HypemRecommender | 286 | FILENAME: SoundcloudTrackDao.java | 0.273574 | package com.hypemrecommender.dal;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import com.mongodb.DBObject;
import org.bson.types.ObjectId;
/**
* Created with IntelliJ IDEA.
* User: @karangb
* Date: 13/12/2013
* Time: 14:09
*/
public class SoundcloudTrackDao implements TrackDao {
priva... |
2cc68c66-5d3b-4c76-ad93-cac64be9be18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-04-01T01:32:34", "repo_name": "robyurkowski/zilch-authorisation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 982, "line_count": 33, "lang": "en", "doc_type": "t... | https://github.com/robyurkowski/zilch-authorisation | 233 | FILENAME: README.md | 0.242206 | # Zilch-Authorisation
Zilch-Authorisation is a zero-dependency authorisation interface.
The idea is that Zilch stands in for any authentication or authorisation calls
that your application makes and fulfills them by passing them to a registered
adapter that implements its interface with common libraries.
Once you ar... |
e41a6044-a032-4f0b-a8be-c0e5ed024de2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-02 11:37:56", "repo_name": "GarethAbrahams/Student_recruitment", "sub_path": "/src/main/java/com/garethabrahams/model/bridge/ApplicantRole.java", "file_name": "ApplicantRole.java", "file_ext": "java", "file_si... | https://github.com/GarethAbrahams/Student_recruitment | 215 | FILENAME: ApplicantRole.java | 0.259826 | package com.garethabrahams.model.bridge;
public class ApplicantRole {
private String applicantID, roleID;
public ApplicantRole() {
}
public String getApplicantID() {
return applicantID;
}
public String getRoleID() {
return roleID;
}
public ApplicantRole (Builder bui... |
8e53d377-fa95-46c7-8e81-fa8e2af2a48f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-27 10:55:19", "repo_name": "Farishanif/MyApplicationProject-Android", "sub_path": "/app/src/main/java/id/ac/farz/mfarishanifw_uas/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file... | https://github.com/Farishanif/MyApplicationProject-Android | 200 | FILENAME: MainActivity.java | 0.203075 | package id.ac.farz.mfarishanifw_uas;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
SharedPreferences sharedPreferences;
@Overr... |
76848aae-0a27-4594-b48f-100cd8d81593 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-16 15:15:24", "repo_name": "umairmunir-95/CheckMaid-Android", "sub_path": "/app/src/main/java/com/mindclarity/checkmaid/utils/MaterialTimePicker.java", "file_name": "MaterialTimePicker.java", "file_ext": "java... | https://github.com/umairmunir-95/CheckMaid-Android | 196 | FILENAME: MaterialTimePicker.java | 0.294215 | package com.mindclarity.checkmaid.utils;
import android.app.TimePickerDialog;
import android.content.Context;
import android.widget.EditText;
import com.mindclarity.checkmaid.R;
import java.util.Calendar;
public class MaterialTimePicker {
public static void showTimePicker(final Context context,final EditText e... |
7eae1cb9-1fe5-4ca5-b559-3fd09a2a4277 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-10T15:26:36", "repo_name": "joey-gm/SyntaxTextEditor", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1049, "line_count": 25, "lang": "en", "doc_type": "text", "... | https://github.com/joey-gm/SyntaxTextEditor | 227 | FILENAME: README.md | 0.259826 | ## Syntax Text Editor
Swift syntax highlighting model based on TextKit/NSTextStorage.
Compatible with macOS and iOS (Cocoa, UIKit and SwiftUI).

**Syntax Model:**
- Lexer (protocol) converts coding language keywords/regex into Syn... |
d94d9b62-1807-4fc9-80f7-f32c4c61c2bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-05 12:15:56", "repo_name": "zhangfeng6/sdglgroundconnection", "sub_path": "/src/main/java/com/dyhc/sdglgroundconnection/service/impl/DisattrServiceImpl.java", "file_name": "DisattrServiceImpl.java", "file_ext"... | https://github.com/zhangfeng6/sdglgroundconnection | 270 | FILENAME: DisattrServiceImpl.java | 0.273574 | package com.dyhc.sdglgroundconnection.service.impl;
import com.dyhc.sdglgroundconnection.mapper.DisattrMapper;
import com.dyhc.sdglgroundconnection.pojo.Disattr;
import com.dyhc.sdglgroundconnection.service.DisattrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereo... |
de9b5fea-1514-491e-bc19-c691420a32a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-20 15:20:46", "repo_name": "eloygonz/BotMentor", "sub_path": "/BMWS/src/java/integracion/ConexionBD.java", "file_name": "ConexionBD.java", "file_ext": "java", "file_size_in_byte": 1128, "line_count": 39, "lang... | https://github.com/eloygonz/BotMentor | 242 | FILENAME: ConexionBD.java | 0.280616 | /*
* 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 integracion;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging... |
e6282c28-4a46-4c32-b822-da6d0dddad38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 04:49:04", "repo_name": "kungfuwushu/backend", "sub_path": "/src/main/java/fr/kungfunantes/backend/resource/TestResource.java", "file_name": "TestResource.java", "file_ext": "java", "file_size_in_byte": 121... | https://github.com/kungfuwushu/backend | 226 | FILENAME: TestResource.java | 0.267408 | package fr.kungfunantes.backend.resource;
import com.google.common.base.Preconditions;
import fr.kungfunantes.backend.model.test.Test;
import fr.kungfunantes.backend.repository.TestRepository;
import fr.kungfunantes.backend.utils.RestPreconditions;
import org.springframework.beans.factory.annotation.Autowired;
import ... |
3e9109ff-6ea2-432c-bced-53a65d05437b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-11-28T01:38:13", "repo_name": "smohamedjavid/react-native-paypal-wrapper", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1237, "line_count": 39, "lang": "en", "doc... | https://github.com/smohamedjavid/react-native-paypal-wrapper | 292 | FILENAME: README.md | 0.203075 |
# react-native-paypal-wrapper
React Native PayPal wrapper for iOS and Android
**Note: No longer maintained, happy to accept PR or takeover**
## Getting started
`$ yarn add react-native-paypal-wrapper`
### Installation
`$ react-native link react-native-paypal-wrapper`
Extra steps for iOS 🙄 [see here](https://gi... |
8684991c-884e-40f5-93d4-083ab0cdc2c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-20 16:07:44", "repo_name": "yanweiqi/mmm", "sub_path": "/mex-bidder-test/src/main/java/com/mex/bidder/util/MexUtil.java", "file_name": "MexUtil.java", "file_ext": "java", "file_size_in_byte": 1088, "line_count... | https://github.com/yanweiqi/mmm | 241 | FILENAME: MexUtil.java | 0.247987 | package com.mex.bidder.util;
import com.google.openrtb.OpenRtb;
import com.mex.bidder.protocol.Ad;
import io.vertx.core.json.JsonObject;
import io.vertx.redis.RedisOptions;
import java.util.UUID;
/**
* User: donghai
* Date: 2016/11/19
*/
public class MexUtil {
public static String toHexString(byte[] bytes) {... |
4689a5ff-a195-4550-8f14-a3e89db60734 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-24 10:36:24", "repo_name": "kkontus/CloudCamera", "sub_path": "/app/src/main/java/com/kkontus/cloudcamera/receivers/CameraReceiver.java", "file_name": "CameraReceiver.java", "file_ext": "java", "file_size_in_b... | https://github.com/kkontus/CloudCamera | 202 | FILENAME: CameraReceiver.java | 0.242206 | package com.kkontus.cloudcamera.receivers;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;
import com.kkontus.cloudcamera.helpers.SharedPreferencesHelper;
import com.kkontus.cloudcamera.interfaces.OnDataPass;
public class CameraRec... |
5d29f128-67aa-4ada-b02d-43a83593e88c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-14 12:30:36", "repo_name": "nikita-volkov/djdbc", "sub_path": "/src/main/java/djdbc/ExtendedConnectionPool.java", "file_name": "ExtendedConnectionPool.java", "file_ext": "java", "file_size_in_byte": 1117, "lin... | https://github.com/nikita-volkov/djdbc | 235 | FILENAME: ExtendedConnectionPool.java | 0.268941 | package djdbc;
import org.apache.commons.pool2.impl.GenericObjectPool;
import java.io.*;
import java.sql.SQLException;
/**
* An adapted wrapper over the API of "commons-pool2".
* Abstracts over the peculiarities of dealing with it.
*/
final class ExtendedConnectionPool implements Closeable {
private final Gene... |
a268b95d-3688-4537-b610-d6eae60629d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-17 09:26:11", "repo_name": "leotsai/jframe", "sub_path": "/00.jframe-core-weixin/src/main/java/org/jframe/core/weixin/messaging/MpNewsMessage.java", "file_name": "MpNewsMessage.java", "file_ext": "java", "file... | https://github.com/leotsai/jframe | 258 | FILENAME: MpNewsMessage.java | 0.249447 | package org.jframe.core.weixin.messaging;
import org.jframe.core.helpers.JsonHelper;
import org.jframe.core.weixin.messaging.core.MessageBase;
/**
* Created by Leo on 2017/10/31.
*/
public class MpNewsMessage extends MessageBase {
private String mediaId ;
public MpNewsMessage(String openId, String mediaId... |
d1f9873f-574a-4fed-8e5a-07cc3e07ff66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-13 17:43:01", "repo_name": "jenkinsci/custom-war-packager", "sub_path": "/custom-war-packager-lib/src/main/java/io/jenkins/tools/warpackager/lib/config/WarInfo.java", "file_name": "WarInfo.java", "file_ext": "... | https://github.com/jenkinsci/custom-war-packager | 211 | FILENAME: WarInfo.java | 0.225417 | package io.jenkins.tools.warpackager.lib.config;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.List;
/**
* A war definition can contain only dependency info or also libraries
*/
@SuppressFBWarnings(value = "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", justification = "JSON Deserializati... |
f8e5a670-f26e-480d-a471-84149b286e2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-12 07:25:52", "repo_name": "Jxyxl259/elastic_job_demo", "sub_path": "/src/main/java/com/jiang/demo/elasticjob/config/MyElasticJobListener.java", "file_name": "MyElasticJobListener.java", "file_ext": "java", "f... | https://github.com/Jxyxl259/elastic_job_demo | 282 | FILENAME: MyElasticJobListener.java | 0.262842 | package com.jiang.demo.elasticjob.config;
import com.dangdang.ddframe.job.executor.ShardingContexts;
import com.dangdang.ddframe.job.lite.api.listener.ElasticJobListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Date;
/**
* class_name: MyElasticJobListener
* package: com.yto.spri... |
7e76cac6-3436-4c5d-8da6-1880511a5278 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-07 13:15:26", "repo_name": "githubqiaodong/pinyougou-parent", "sub_path": "/pinyougou-manager-web/src/main/java/com/pinyougou/manager/controller/TypeTemplateController.java", "file_name": "TypeTemplateControll... | https://github.com/githubqiaodong/pinyougou-parent | 246 | FILENAME: TypeTemplateController.java | 0.239349 | package com.pinyougou.manager.controller;
import com.alibaba.dubbo.config.annotation.Reference;
import com.pinyougou.pojo.TbTypeTemplate;
import com.pinyougou.sellergoods.service.TypeTemplateService;
import entity.PageResult;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bi... |
f34638f5-cf90-4a2d-aa8c-65881bbe85aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-01 23:37:05", "repo_name": "Jack273/Game", "sub_path": "/Gamev5/src/game/Player.java", "file_name": "Player.java", "file_ext": "java", "file_size_in_byte": 1134, "line_count": 53, "lang": "en", "doc_type": "co... | https://github.com/Jack273/Game | 219 | FILENAME: Player.java | 0.246533 | /*
* 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 game;
import java.io.Serializable;
import java.util.ArrayList;
//Contains all character values
public class Player... |
fdeb3036-1e3c-4e7e-960f-ed241d56c56a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-11 20:20:03", "repo_name": "ZmeiGorinich/predreliz", "sub_path": "/app/src/main/java/com/romarinichgmail/predreliz/OrderSingleActivity.java", "file_name": "OrderSingleActivity.java", "file_ext": "java", "file_... | https://github.com/ZmeiGorinich/predreliz | 214 | FILENAME: OrderSingleActivity.java | 0.228156 | package com.romarinichgmail.predreliz;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.directions.route.Route;
import com.directions.route.RouteException;
import com.directions.route.RoutingListener;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps... |
c8ec9816-70a0-4386-8783-84d3e1baa77c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-30 12:01:42", "repo_name": "sashabrava/TestShopServer", "sub_path": "/src/main/java/org/sashabrava/shopserver/controllers/ItemRestController.java", "file_name": "ItemRestController.java", "file_ext": "java", "... | https://github.com/sashabrava/TestShopServer | 195 | FILENAME: ItemRestController.java | 0.261331 | package org.sashabrava.shopserver.controllers;
import org.sashabrava.shopserver.exceptions.ItemNotFoundException;
import org.sashabrava.shopserver.models.Item;
import org.sashabrava.shopserver.models.ItemRepository;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestController
@RequestMapp... |
cacbb101-be98-4d4e-a9da-2bf44d0e878b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-29 08:31:29", "repo_name": "wangdexiao/black-hole", "sub_path": "/black-hole-app/src/main/java/com/free/badmood/blackhole/config/redisconfig/Receiver.java", "file_name": "Receiver.java", "file_ext": "java", "f... | https://github.com/wangdexiao/black-hole | 212 | FILENAME: Receiver.java | 0.206894 | package com.free.badmood.blackhole.config.redisconfig;
import com.free.badmood.blackhole.web.entity.Msg;
import com.free.badmood.blackhole.web.service.IMsgService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.connection.Message;
... |
880049cd-98bb-424d-8422-3979f1ce037d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-11 01:30:17", "repo_name": "cloudhubs/tms-testbed", "sub_path": "/tms-qms/src/main/java/edu/baylor/ecs/qms/controller/CategoryInfoController.java", "file_name": "CategoryInfoController.java", "file_ext": "java... | https://github.com/cloudhubs/tms-testbed | 231 | FILENAME: CategoryInfoController.java | 0.274351 | package edu.baylor.ecs.qms.controller;
import edu.baylor.ecs.qms.model.Category;
import edu.baylor.ecs.qms.model.dto.CategoryInfoDto;
import edu.baylor.ecs.qms.repository.CategoryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.a... |
efed00af-63a1-49a9-93e7-cdfa5804a7bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-14T12:39:31", "repo_name": "chenshuai2144/ts-antd-parcel", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1411, "line_count": 47, "lang": "zh", "doc_type": "text... | https://github.com/chenshuai2144/ts-antd-parcel | 380 | FILENAME: README.md | 0.280616 | # Typescript + React + Parcel =❤️
此存储库具有在 Typescript 中构建 react 应用程序的基本设置。
项目修改自 [ts-react-parcel](https://github.com/emaren84/ts-react-parcel)
## 内置设置
* React + ReactDOM(ver.16)
* Typescript(带有 TSLint 设置)
* prettier + tslint 配置
* Parcel bundle
## 如何使用项目
```
git clone https://git.yundcs.com/dcs/ts-react-parcel.gi... |
7ce8334b-a09f-4f0b-bcef-4aa6d1d12ba7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-02 07:09:53", "repo_name": "pvg1605/crudDynamoDb", "sub_path": "/src/main/java/com/app/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1099, "line_count": 46, "lang": "en",... | https://github.com/pvg1605/crudDynamoDb | 248 | FILENAME: User.java | 0.258326 | package com.app.model;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProp... |
2d577ad7-52b2-4ac0-a295-065a05083b71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-04 15:04:13", "repo_name": "nehagb99/CapturingButtonPresses", "sub_path": "/app/src/main/java/com/bagalkotneha/capturingbuttonpresses/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "... | https://github.com/nehagb99/CapturingButtonPresses | 191 | FILENAME: MainActivity.java | 0.249447 | package com.bagalkotneha.capturingbuttonpresses;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
Button submitButton;
... |
c17dcdff-5365-4aea-9ba6-f995231c8998 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-12 07:34:05", "repo_name": "yangguoqing0616/bootintegration", "sub_path": "/src/test/java/com/studyboot/RedisTest.java", "file_name": "RedisTest.java", "file_ext": "java", "file_size_in_byte": 1022, "line_coun... | https://github.com/yangguoqing0616/bootintegration | 205 | FILENAME: RedisTest.java | 0.235108 | package com.studyboot;
import com.studyboot.bean.Student;
import com.studyboot.common.redisUtils.RedisUtils;
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.tes... |
336c1c1c-5368-4021-b7ff-f7a1ccd7e76a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-21 14:18:57", "repo_name": "tomdev2008/bd", "sub_path": "/bd-core/src/main/java/com/changhong/bd/core/utils/ResourceUtils.java", "file_name": "ResourceUtils.java", "file_ext": "java", "file_size_in_byte": 1054... | https://github.com/tomdev2008/bd | 245 | FILENAME: ResourceUtils.java | 0.256832 | package com.changhong.bd.core.utils;
import java.io.FileNotFoundException;
import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.core.i... |
f842b622-cbc7-4483-93cf-85a4c149618d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-02 00:00:55", "repo_name": "wolfgangmeyers/genomalysis", "sub_path": "/PythonScripts/src/main/java/org/genomalysis/plugin/script/python/PythonScriptPluginInstanceFactory.java", "file_name": "PythonScriptPlugin... | https://github.com/wolfgangmeyers/genomalysis | 249 | FILENAME: PythonScriptPluginInstanceFactory.java | 0.286968 | package org.genomalysis.plugin.script.python;
import org.genomalysis.plugin.PluginInstance;
import org.genomalysis.plugin.PluginInstanceFactory;
import org.python.core.PyClass;
import org.python.core.PyObject;
import org.python.core.PyString;
public class PythonScriptPluginInstanceFactory<T> implements
Plugin... |
371b8434-9235-46d9-88f6-ba66809fd21a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-26 01:07:01", "repo_name": "hanxuesong123/jwxt-ggg", "sub_path": "/jwxt-common/src/main/java/com/jwxt/utils/JSONUtils.java", "file_name": "JSONUtils.java", "file_ext": "java", "file_size_in_byte": 1146, "line_... | https://github.com/hanxuesong123/jwxt-ggg | 253 | FILENAME: JSONUtils.java | 0.286968 | package com.jwxt.utils;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.commons.lang.NullArgumentException;
import java.util.List;
public class JSONUtils {
public static<T> List<T> ObjectToList(Object o,Class<T> clazz){
i... |
818300e1-9425-4ddf-96d8-4ee3812ae993 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-17 03:29:53", "repo_name": "liamf90/SnapBattle", "sub_path": "/src/main/java/com/liamfarrell/android/snapbattle/model/aws_lambda_function_deserialization/aws_lambda_functions/response/AddCommentResponse.java",... | https://github.com/liamf90/SnapBattle | 268 | FILENAME: AddCommentResponse.java | 0.258326 | package com.liamfarrell.android.snapbattle.model.aws_lambda_function_deserialization.aws_lambda_functions.response;
import com.liamfarrell.android.snapbattle.model.Comment;
import java.util.Date;
import java.util.List;
public class AddCommentResponse
{
private List<Comment> sql_result;
private String error;
... |
a1b71f70-f69a-41ef-bb45-607016831a91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-14 09:37:30", "repo_name": "lazy-ape/ComponentFramework", "sub_path": "/core/src/main/java/com/utlife/core/utils/ToastUtils.java", "file_name": "ToastUtils.java", "file_ext": "java", "file_size_in_byte": 1100,... | https://github.com/lazy-ape/ComponentFramework | 220 | FILENAME: ToastUtils.java | 0.225417 | package com.utlife.core.utils;
import android.content.Context;
import android.os.Build;
import android.support.compat.BuildConfig;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.NotificationManagerCompat;
import android.util.Log;
import android.widget.Toast;
import java.util.logging.L... |
eaab8cec-8985-44b2-8e7d-f8131e3f4850 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 07:43:50", "repo_name": "yangsehnfa/export_parent", "sub_path": "/export_web_manager/src/main/java/com/itheima/web/shiro/CustomerCredentialsMatcher.java", "file_name": "CustomerCredentialsMatcher.java", "fi... | https://github.com/yangsehnfa/export_parent | 272 | FILENAME: CustomerCredentialsMatcher.java | 0.264358 | package com.itheima.web.shiro;
import com.itheima.common.utils.Encrypt;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.authc.credential.SimpleCredentialsMatcher;
public class CustomerCred... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.