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 |
|---|---|---|---|---|---|---|
822ccbfc-9e80-4332-b815-5457dfb3d97a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-23 22:06:05", "repo_name": "tchintalapudi/tej-soundcloud-challenge", "sub_path": "/src/main/java/com/followermaze/utils/PropertyUtils.java", "file_name": "PropertyUtils.java", "file_ext": "java", "file_size_in... | https://github.com/tchintalapudi/tej-soundcloud-challenge | 186 | FILENAME: PropertyUtils.java | 0.256832 | package com.followermaze.utils;
import com.followermaze.Application;
import org.apache.log4j.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Property file reader.
*/
public class PropertyUtils {
private static final String CONFIG_FILENAME = "config.properties"... |
2cafb986-f098-4f34-b740-5d8db5dd2642 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-01 00:55:18", "repo_name": "maytic/pokemon-db", "sub_path": "/src/main/java/com/maytic/pokemondb/Exceptions/ExceptionResponse.java", "file_name": "ExceptionResponse.java", "file_ext": "java", "file_size_in_byt... | https://github.com/maytic/pokemon-db | 196 | FILENAME: ExceptionResponse.java | 0.225417 | package com.maytic.pokemondb.Exceptions;
import java.util.Date;
/**
* basic Exception response containing a time stamp for the time of exception
* a message from the exception and the details of the exception
*/
public class ExceptionResponse {
private Date timeStamp;
private String message;
private S... |
5b675d40-9f16-4a14-8ff1-88205464aa12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-28 01:54:32", "repo_name": "xuminghao-upup/learn", "sub_path": "/core/src/main/java/com/pty/grape2/core/enums/ServiceEnum.java", "file_name": "ServiceEnum.java", "file_ext": "java", "file_size_in_byte": 1235, ... | https://github.com/xuminghao-upup/learn | 298 | FILENAME: ServiceEnum.java | 0.290176 | package com.pty.grape2.core.enums;
import java.util.ArrayList;
import java.util.List;
public enum ServiceEnum {
/**
* 不可用
*/
DISABLE(0),
/**
* 可用
*/
AVAILABLE(1),
/**
* 未安装
*/
NOT_INSTALLED(10),
/**
* 已安装
*/
INSTALLED(11),
/**
* 已停止... |
4ffab91b-402c-49f6-bad1-52d3c334b828 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-13 08:05:17", "repo_name": "Aiome/step-spring", "sub_path": "/step-spring-smart-framework-example/src/main/java/top/aiome/aspect/ControllerAspect.java", "file_name": "ControllerAspect.java", "file_ext": "java"... | https://github.com/Aiome/step-spring | 253 | FILENAME: ControllerAspect.java | 0.277473 | package top.aiome.aspect;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.lang.reflect.Method;
import top.aiome.step.spring.smart.framework.annotation.Aspect;
import top.aiome.step.spring.smart.framework.annotation.Controller;
import top.aiome.step.spring.smart.framework.proxy.AspectProxy;
/**
... |
cd14095c-d251-4082-b58a-762def921bea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-08-04T09:28:39", "repo_name": "lrrp/stormpath-spring-boot-war-example", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1082, "line_count": 67, "lang": "en", "doc_ty... | https://github.com/lrrp/stormpath-spring-boot-war-example | 301 | FILENAME: README.md | 0.259826 | # WAR files with Spring Boot
This is the code developed in the tutorial on deploying Spring Boot apps as a WAR.
It modifies an existing simple REST app https://github.com/stormpath/stormpath-spring-boot-jpa-example
### Requirements
- Maven
- JDK 7
- Tomcat 7
### Running
To build and start the server simply type
... |
746bdd7c-a46c-41f5-8148-29c411e62200 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-07 05:20:28", "repo_name": "fandeus/CommonLibrary", "sub_path": "/app/src/main/java/com/common/libraries/ActivityCommonTest.java", "file_name": "ActivityCommonTest.java", "file_ext": "java", "file_size_in_byte... | https://github.com/fandeus/CommonLibrary | 214 | FILENAME: ActivityCommonTest.java | 0.262842 | package com.common.libraries;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
public class ActivityCommonTest extends ActivityBase {
private RelativeLayout mSearchHint;
private LinearLayout mSearchBox;
private TextView mC... |
6a316cf4-e697-4cff-bf13-c7e7b6f57527 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-16 13:05:24", "repo_name": "danisandika/FutsalMateII", "sub_path": "/src/java/controller/TbRatingFacade.java", "file_name": "TbRatingFacade.java", "file_ext": "java", "file_size_in_byte": 968, "line_count": 41... | https://github.com/danisandika/FutsalMateII | 211 | FILENAME: TbRatingFacade.java | 0.288569 | /*
* 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 controller;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistenc... |
bb3a040b-47f2-416e-a8f1-1b54b5abcf4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-18 06:18:41", "repo_name": "minhdat1602/2021_mobile_group17_backend", "sub_path": "/src/main/java/com/nlu/entity/CartItemEntity.java", "file_name": "CartItemEntity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/minhdat1602/2021_mobile_group17_backend | 221 | FILENAME: CartItemEntity.java | 0.252384 | package com.nlu.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.fasterxml.jackson.annotation.JsonManagedReference;
@... |
65202bb8-5917-44e6-a15f-19f868a84300 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-22 02:38:42", "repo_name": "webtutsplus/social-network-backend", "sub_path": "/src/main/java/com/simplecoding/social/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_i... | https://github.com/webtutsplus/social-network-backend | 209 | FILENAME: UserService.java | 0.264358 | package com.simplecoding.social.service;
import com.simplecoding.social.auth.models.UserDto;
import com.simplecoding.social.model.User;
import com.simplecoding.social.repo.UserRepository;
import org.modelmapper.ModelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stere... |
4f24583d-7985-488f-b225-6b88f7cede89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-23 00:30:21", "repo_name": "ChanaLieba/mco152-spring-2014", "sub_path": "/src/stein/weathermap/WeatherFrameThread.java", "file_name": "WeatherFrameThread.java", "file_ext": "java", "file_size_in_byte": 992, "l... | https://github.com/ChanaLieba/mco152-spring-2014 | 219 | FILENAME: WeatherFrameThread.java | 0.282196 | package stein.weathermap;
import java.io.IOException;
import javax.swing.JPanel;
import javax.swing.JTextArea;
public class WeatherFrameThread extends Thread {
private String city;
private WeatherMain wm;
private JTextArea conditionsLabel;
private TheChart chart;
public void run() {
try {
... |
895a64d8-bccb-422c-9d73-9f96372f601e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 08:18:43", "repo_name": "Jigzy08/luma-acceptance-test", "sub_path": "/src/test/java/com/lamtech/luma/pageObject/HomePagePO.java", "file_name": "HomePagePO.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/Jigzy08/luma-acceptance-test | 217 | FILENAME: HomePagePO.java | 0.287768 | package com.lamtech.luma.pageObject;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class HomePagePO {
//Element Locator
@FindBy(linkText = "Create an Account")
//Declare WebEle... |
1ad3b012-29c7-4c84-9aa1-8d27b5a2bf5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-05T08:18:06", "repo_name": "perfectwebtech/blog", "sub_path": "/content/posts/2018/11/properties-defined-outside-nodejs-modules-shared-between-requires.md", "file_name": "properties-defined-outside-nodejs-... | https://github.com/perfectwebtech/blog | 321 | FILENAME: properties-defined-outside-nodejs-modules-shared-between-requires.md | 0.255344 | ---
title: Properties Defined Outside NodeJS Modules Shared Between Requires
published: 2018-11-10T20:43:00+12:00
tags: [ "dev",]
---
If you use Node.js modules in any capacity, you may or may not benefit from the knowledge that properties defined outside the module are shared between every `require()` you call.
Thi... |
eaec5445-ef82-4777-a0e0-9f5876b65da6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-24 15:57:45", "repo_name": "AlexSuvorov2k/Paiste", "sub_path": "/app/src/main/java/ru/alexsuvorov/paistewiki/model/SupportAnatomy.java", "file_name": "SupportAnatomy.java", "file_ext": "java", "file_size_in_by... | https://github.com/AlexSuvorov2k/Paiste | 248 | FILENAME: SupportAnatomy.java | 0.252384 | package ru.alexsuvorov.paistewiki.model;
import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;
import android.support.annotation.NonNull;
import lombok.Getter;
import lombok.Setter;
@... |
63b7d417-1672-4e1e-a727-521079787fec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 13:52:37", "repo_name": "wasim5390/KidsLauncher", "sub_path": "/app/src/main/java/com/uiu/kids/event/notification/LinkNotificationEvent.java", "file_name": "LinkNotificationEvent.java", "file_ext": "java", ... | https://github.com/wasim5390/KidsLauncher | 242 | FILENAME: LinkNotificationEvent.java | 0.261331 | package com.uiu.kids.event.notification;
import com.uiu.kids.model.LinksEntity;
import com.uiu.kids.model.LocalNotificationModel;
import com.uiu.kids.model.NotificationSender;
import com.uiu.kids.ui.home.apps.AppsEntity;
public class LinkNotificationEvent {
LinksEntity linksEntity;
LocalNotificationModel loca... |
af1c7d0d-a06b-494f-a333-bf309a100dba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-28 02:17:02", "repo_name": "LeMikaelF/spring-mvc-fruitshop", "sub_path": "/src/main/java/com/mikaelfrancoeur/controllers/CategoryController.java", "file_name": "CategoryController.java", "file_ext": "java", "f... | https://github.com/LeMikaelF/spring-mvc-fruitshop | 197 | FILENAME: CategoryController.java | 0.220007 | package com.mikaelfrancoeur.controllers;
import com.mikaelfrancoeur.api.v1.dto.CategoryDTO;
import com.mikaelfrancoeur.api.v1.dto.CategoryListDTO;
import com.mikaelfrancoeur.services.CategoryService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;... |
27b6cd17-6aaa-4e45-bde3-ac51d4dc8071 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-22 05:50:49", "repo_name": "xuxin511/BoduoAndroid", "sub_path": "/app/src/main/java/com/liansu/boduowms/ui/widget/TextUtils.java", "file_name": "TextUtils.java", "file_ext": "java", "file_size_in_byte": 1201, ... | https://github.com/xuxin511/BoduoAndroid | 290 | FILENAME: TextUtils.java | 0.290981 | package com.liansu.boduowms.ui.widget;
import android.graphics.Color;
import android.text.SpannableString;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.style.ForegroundColorSpan;
/**
* @ Des:
* @ Created by yangyiqing on 2020/7/19.
*/
public class TextUtils {
/*... |
c20cb19b-0b7f-4262-81a9-b4e3f5a917c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-25 03:38:32", "repo_name": "jackcptdev/ProtobufDSL", "sub_path": "/src/main/java/protobufdsl/parse/ProtobufDslParseUtils.java", "file_name": "ProtobufDslParseUtils.java", "file_ext": "java", "file_size_in_byte... | https://github.com/jackcptdev/ProtobufDSL | 249 | FILENAME: ProtobufDslParseUtils.java | 0.295027 | package protobufdsl.parse;
import org.antlr.runtime.ANTLRStringStream;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.RecognitionException;
import org.antlr.runtime.tree.BufferedTreeNodeStream;
import org.antlr.runtime.tree.CommonTree;
import org.antlr.runtime.tree.TreeNodeStream;
import protobu... |
4b79de56-a52a-4345-b2f8-862d29615a48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-17 03:48:27", "repo_name": "yangtech555/javaLearn", "sub_path": "/src/main/java/com/yhb/designPattern/bridge/BridgeMain.java", "file_name": "BridgeMain.java", "file_ext": "java", "file_size_in_byte": 1014, "li... | https://github.com/yangtech555/javaLearn | 216 | FILENAME: BridgeMain.java | 0.279042 | package com.yhb.designPattern.bridge;
/**
* Created by yanghongbo on 2018/8/20.
*/
public class BridgeMain {
public static void main(String[] args) {
//参数
Object param = new Object();
Receiver wxTemplateMessageForActivity = new WeixinTemplateMessage(new ActivityMessage(), null);
... |
8610c2e7-0368-4cfe-88be-c4d14ae5c57e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-02 03:54:46", "repo_name": "zw23534572/dz-common-project", "sub_path": "/dz-common-mq/src/main/java/com/dazong/common/mq/job/ReTryNotifyJob.java", "file_name": "ReTryNotifyJob.java", "file_ext": "java", "file_... | https://github.com/zw23534572/dz-common-project | 256 | FILENAME: ReTryNotifyJob.java | 0.23793 | package com.dazong.common.mq.job;
import com.dazong.common.mq.dao.mapper.MQMessageMapper;
import com.dazong.common.mq.domian.DZConsumerMessage;
import com.dazong.common.mq.domian.DZMessage;
import com.dazong.common.mq.manager.MQNotifyManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springfr... |
06538a97-365b-4514-8bdd-8c0e196760ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-20 04:07:15", "repo_name": "netollie/JwtSecurity", "sub_path": "/src/main/java/com/netollie/demo/util/JwtUtil.java", "file_name": "JwtUtil.java", "file_ext": "java", "file_size_in_byte": 1223, "line_count": 35... | https://github.com/netollie/JwtSecurity | 255 | FILENAME: JwtUtil.java | 0.290981 | package com.netollie.demo.util;
import com.auth0.jwt.JWT;
import com.auth0.jwt.JWTVerifier;
import com.auth0.jwt.algorithms.Algorithm;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.netollie.demo.config.properties.JwtProperties;
import org.springframework.stereotype.Component;
import javax.annotation.Resource... |
caaab376-eb9d-4e9c-81ba-00fe20b70132 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-22 10:29:01", "repo_name": "git-sir/girl", "sub_path": "/src/main/java/com/imooc/listener/MyListener.java", "file_name": "MyListener.java", "file_ext": "java", "file_size_in_byte": 1234, "line_count": 30, "lan... | https://github.com/git-sir/girl | 241 | FILENAME: MyListener.java | 0.264358 | package com.imooc.listener;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
/**
* Created by ucs_xiaokailin on 2017/5/16.
*/
@WebListener
public class MyListener implements ServletContextListener... |
86469e40-1cfc-4d9d-b509-a14085ffefbc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-18 12:25:54", "repo_name": "yokiyang/Bookstore_ssh", "sub_path": "/src/main/java/com/tz/bms/book/service/impl/BookServiceImpl.java", "file_name": "BookServiceImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/yokiyang/Bookstore_ssh | 278 | FILENAME: BookServiceImpl.java | 0.26971 | package com.tz.bms.book.service.impl;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.T... |
03ffe16d-63c3-4ad3-a2f5-6078bf6cc4c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-30 13:20:28", "repo_name": "Mash-Up-MapC/MapC-android", "sub_path": "/app/src/main/java/kr/mashup/mapc/ui/main/booking/BookingAdapter.java", "file_name": "BookingAdapter.java", "file_ext": "java", "file_size_i... | https://github.com/Mash-Up-MapC/MapC-android | 205 | FILENAME: BookingAdapter.java | 0.276691 | package kr.mashup.mapc.ui.main.booking;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import java.util.ArrayList;
import kr.mashup.mapc.R;
import kr.mashup.mapc.data.Booking;
public class BookingAdapter ex... |
0065a31a-3175-42c6-b367-f3099ddd0ed9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-20T18:04:58", "repo_name": "maingockien01/learning-database", "sub_path": "/PostgreSQL/app.md", "file_name": "app.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 27, "lang": "en", "doc_type"... | https://github.com/maingockien01/learning-database | 288 | FILENAME: app.md | 0.261331 | # Overview
This is my small assignment of how to use PostgreSQL and Go Lang
The app will be simple and console-interaction.
The app will have the function of getting movies based on genre and actor. It will show all result for strict matching and top 5 (genres or actors) for fuzzy searching.
# Functions
- Receive com... |
dc4fd1c6-7e2c-4463-80e8-23f0f1fa3aa1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-04T06:45:27", "repo_name": "dirigiblelabs/curriculum-2017", "sub_path": "/KalinaGeorgieva/ScriptingServices.md", "file_name": "ScriptingServices.md", "file_ext": "md", "file_size_in_byte": 1046, "line_coun... | https://github.com/dirigiblelabs/curriculum-2017 | 239 | FILENAME: ScriptingServices.md | 0.240775 | # **Create a Scripting Services.**
Follow these steps in order to create a scripting service for your Eclipse Dirigible application.
**Requirements**
* [Have at least one Project and Data Structure created.](https://github.com/dirigiblelabs/curriculum/tree/master/KalinaGeorgieva/DataStructures.md)
### Procedure
1. R... |
21d8af14-84b6-4864-9a10-20c09a91c9b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-07 07:00:26", "repo_name": "xub1997/springboot", "sub_path": "/autowired/customized_starter/src/main/java/com/xub/springboot/study/customized_stater/import_selecter/CustomizedImportSelector.java", "file_name":... | https://github.com/xub1997/springboot | 251 | FILENAME: CustomizedImportSelector.java | 0.252384 | package com.xub.springboot.study.customized_stater.import_selecter;
import com.xub.springboot.study.customized_stater.EnabledCustomerStarter;
import com.xub.springboot.study.customized_stater.service.CustomizedServiceByImportSelector;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Impo... |
e713478a-ee73-47cb-b950-119d9e1eb274 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-08 00:43:29", "repo_name": "MYoung86/AutomationProject", "sub_path": "/src/July3/ByClassName.java", "file_name": "ByClassName.java", "file_ext": "java", "file_size_in_byte": 993, "line_count": 35, "lang": "en"... | https://github.com/MYoung86/AutomationProject | 201 | FILENAME: ByClassName.java | 0.204342 | package July3;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.concurrent.TimeUnit;
public class ByClassName {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "C:\\Users\\Matt\... |
d5eed5e0-d2e3-4d78-8efe-97f3efc76de0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-24 10:15:48", "repo_name": "zhunhuang/java-demos", "sub_path": "/springbootsecurityjwt1/src/main/java/com/nolan/learn/springsecurityjwt1/api/WxCode2SessionAPI.java", "file_name": "WxCode2SessionAPI.java", "fil... | https://github.com/zhunhuang/java-demos | 258 | FILENAME: WxCode2SessionAPI.java | 0.240775 | package com.nolan.learn.springsecurityjwt1.api;
import com.nolan.learn.springsecurityjwt1.util.HttpUtil;
import com.nolan.learn.springsecurityjwt1.util.JacksonUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* description:
*
* @author zhun.huang 2019-03-31
*/
public class WxCode2SessionAPI {
... |
3f88eeb2-0af3-4cb2-a7c7-d5d81f73b449 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-03 11:20:42", "repo_name": "bookgvi/LearningJava", "sub_path": "/src/StreamIO.java", "file_name": "StreamIO.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 37, "lang": "en", "doc_type": "co... | https://github.com/bookgvi/LearningJava | 288 | FILENAME: StreamIO.java | 0.287768 | import StreamIO.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class StreamIO {
public static void main(String[] args) throws IOException {
// File file = new File();
// file.wri... |
629af297-3d4f-42a5-adb5-4b511f5c3bec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-07-14T00:04:51", "repo_name": "roman-kulish/ingress-farmbot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1075, "line_count": 26, "lang": "en", "doc_type": "text... | https://github.com/roman-kulish/ingress-farmbot | 215 | FILENAME: README.md | 0.243642 | Ingress Farm Bot
================
Current status: Abandoned
-------------------------
Agreement
---------
This projects is for educational purpose only.
You agree that you are solely responsible for any breach of your obligations under the Ingress Terms of Service (http://www.ingress.com/terms) or any applicable la... |
c2856074-42b6-4edf-a023-eae7954534b9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-11-26 07:48:52", "repo_name": "darkluster/kraken", "sub_path": "/siem/kraken-logdb/src/main/java/org/krakenapps/logdb/impl/LogScriptRegistryImpl.java", "file_name": "LogScriptRegistryImpl.java", "file_ext": "java... | https://github.com/darkluster/kraken | 249 | FILENAME: LogScriptRegistryImpl.java | 0.281406 | package org.krakenapps.logdb.impl;
import java.util.Collection;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.apache.felix.ipojo.annotations.Component;
import org.apache.felix.ipojo.annotations.Provides;
import org.apache.felix.ipojo.annotations.Validate;... |
c64dc4dc-c215-42d2-bcc9-accf39846b40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-15 15:19:39", "repo_name": "monkeyDugi/monkey-music", "sub_path": "/src/main/java/com/dugi/monkey/domain/music/dailychart/DailyChart.java", "file_name": "DailyChart.java", "file_ext": "java", "file_size_in_byt... | https://github.com/monkeyDugi/monkey-music | 266 | FILENAME: DailyChart.java | 0.229535 | package com.dugi.monkey.domain.music.dailychart;
import com.dugi.monkey.domain.music.BaseTimeEntity;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Generat... |
b208b9f0-1256-4b57-a628-1657c1e237fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-29 11:10:53", "repo_name": "anthonyporciuncula/ThomaShare", "sub_path": "/app/src/main/java/com/android/hood/thomashare/Navigation.java", "file_name": "Navigation.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/anthonyporciuncula/ThomaShare | 223 | FILENAME: Navigation.java | 0.203075 | package com.android.hood.thomashare;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
public class Navigation extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(sa... |
ea1bf058-bfa1-4c25-a063-9c87b5f56713 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-19 17:02:07", "repo_name": "Gustavo-Akira/ms-authentication", "sub_path": "/src/main/java/br/com/gustavoakira/ms/authentication/adapters/inbound/consumer/AuthenticationConsumer.java", "file_name": "Authenticat... | https://github.com/Gustavo-Akira/ms-authentication | 177 | FILENAME: AuthenticationConsumer.java | 0.213377 | package br.com.gustavoakira.ms.authentication.adapters.inbound.consumer;
import br.com.gustavoakira.ms.authentication.application.domain.Credentials;
import br.com.gustavoakira.ms.authentication.application.port.CredentialsServicePort;
import br.com.gustavoakira.ms.core.events.AuthenticationRegistrationMessage;
import... |
3abb8de3-2e5c-4157-a429-3f90f864c73a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-28 12:20:58", "repo_name": "921668753/wztx-shipper-android", "sub_path": "/ZWBH-Android/app/src/main/java/com/ruitukeji/zwbh/main/cargoinformation/selectvehicle/SelectVehiclePresenter.java", "file_name": "Sele... | https://github.com/921668753/wztx-shipper-android | 231 | FILENAME: SelectVehiclePresenter.java | 0.27048 | package com.ruitukeji.zwbh.main.cargoinformation.selectvehicle;
import com.kymjs.rxvolley.client.HttpParams;
import com.ruitukeji.zwbh.retrofit.RequestClient;
import com.ruitukeji.zwbh.utils.httputil.HttpUtilParams;
import com.ruitukeji.zwbh.utils.httputil.ResponseListener;
/**
* Created by Administrator on 2017/2/2... |
466c4d42-26e4-45ee-a880-8fcad9d795ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-28 03:03:53", "repo_name": "BnSalahFahmi/ng-library-store", "sub_path": "/ng-library-store-server/src/main/java/com/cqrs/event_sourcing/controllers/queries/BookQueryController.java", "file_name": "BookQueryCon... | https://github.com/BnSalahFahmi/ng-library-store | 237 | FILENAME: BookQueryController.java | 0.273574 | package com.cqrs.event_sourcing.controllers.queries;
import com.cqrs.event_sourcing.dto.BookDTO;
import com.cqrs.event_sourcing.entities.Book;
import com.cqrs.event_sourcing.entities.Library;
import com.cqrs.event_sourcing.services.queries.BookQueryService;
import com.cqrs.event_sourcing.services.queries.LibraryQueryS... |
692da43b-c89b-4b30-8ddd-0c719d316960 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-24 14:48:25", "repo_name": "AlinaPopescu1/BasicNavigationTests", "sub_path": "/src/test/java/com/cbt/utilities/BrowserFactory.java", "file_name": "BrowserFactory.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/AlinaPopescu1/BasicNavigationTests | 231 | FILENAME: BrowserFactory.java | 0.26588 | package com.cbt.utilities;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.safari.SafariDriver;
public class BrowserFactory {
public static WebDriver ... |
1d812a7c-1407-40a9-b402-08a42091c3e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-25 20:31:26", "repo_name": "njegovan/copy-and-sync", "sub_path": "/src/main/java/dev/njegovan/copyandsync/consumer/Consumer.java", "file_name": "Consumer.java", "file_ext": "java", "file_size_in_byte": 1112, "... | https://github.com/njegovan/copy-and-sync | 203 | FILENAME: Consumer.java | 0.253861 | package dev.njegovan.copyandsync.consumer;
import dev.njegovan.copyandsync.wrapper.ByteArrayWrapper;
import dev.njegovan.copyandsync.utils.LoggingUtils;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.util.concurrent.BlockingQueue;
public class Consumer {
private final BlockingQueue<... |
c58e8c7a-f420-429f-9ff4-a97f0dc0e27e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 10:30:26", "repo_name": "Ridhsk13/My_Projects", "sub_path": "/Elen Jwells/Jwellery/app/src/main/java/com/ridhs/jwellery/Register.java", "file_name": "Register.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Ridhsk13/My_Projects | 254 | FILENAME: Register.java | 0.23231 | package com.ridhs.jwellery;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.support.annotation.RequiresApi;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
public class Register extends AppComp... |
db89bd32-84df-4710-937b-a5d6e35ad0ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-02 02:37:50", "repo_name": "rodrigaun/JSONJava", "sub_path": "/src/center/rodrigo/connection/Connect.java", "file_name": "Connect.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 41, "lang": ... | https://github.com/rodrigaun/JSONJava | 201 | FILENAME: Connect.java | 0.242206 | package center.rodrigo.connection;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class Connect {
private URL url;
private HttpURLConnection conn;
private BufferedReader rd;
private String line;
private String result... |
7ee47b19-6ee3-4307-bacb-f4e9cbf4dfe5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-12 02:34:33", "repo_name": "DoYouLoveThisJob/CustomerSys", "sub_path": "/src/main/java/com/lesso/util/quartz/QuartzInterruptableJob.java", "file_name": "QuartzInterruptableJob.java", "file_ext": "java", "file_... | https://github.com/DoYouLoveThisJob/CustomerSys | 245 | FILENAME: QuartzInterruptableJob.java | 0.280616 | package com.lesso.util.quartz;
import com.lesso.entity.ScheduleJob;
import org.apache.log4j.Logger;
import org.quartz.InterruptableJob;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.UnableToInterruptJobException;
/**
* Created by Administrator on 2016/5/24.
*/
pub... |
afce9218-114d-4fc9-a119-5aa1f8dca10d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-25T15:56:29", "repo_name": "mateo951/portfolio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1090, "line_count": 35, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/mateo951/portfolio | 288 | FILENAME: README.md | 0.216012 | Portfolio
The project's goal is to clone a design from a portfolio with html and css. Applying new tools such us Flexbox, Figma, and as well as using best practices for html and css. This project is the start of a micronaut future portfolio!

Built With
- HTML, CSS, JS
-... |
d936b09f-e602-4cc6-846d-b292d6de3024 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-20T14:28:08", "repo_name": "dotmat/nodeJSPollyTwiML", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1228, "line_count": 45, "lang": "en", "doc_type": "text", "b... | https://github.com/dotmat/nodeJSPollyTwiML | 384 | FILENAME: README.md | 0.253861 | # Node AWS Polly Text to Speech API and Generator
## Blog post
http://www.mathewjenkinson.com/generating-speech-using-aws-polly/
## Brief
Node AWS Polly text to speech is an API engine where you can send the desired voice and text in and get a MP3 file out.
AWS Polly voices are:
| Language | Female | Male |
| --- | ... |
c5b9cc98-6e73-410f-9a68-1a4d1ca7a16c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 23:57:53", "repo_name": "PeterHausenAoi/CardsGame", "sub_path": "/src/main/java/com/github/PeterHausenAoi/CardsGame/models/entities/CardValue.java", "file_name": "CardValue.java", "file_ext": "java", "file_... | https://github.com/PeterHausenAoi/CardsGame | 256 | FILENAME: CardValue.java | 0.264358 | package com.github.PeterHausenAoi.CardsGame.models.entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "card_values")
public class CardValue extends BaseEntity {
@Column(name = "name")
private String name;
@Column(name = "value"... |
992f4fa5-69fb-4451-bcb4-77d9c5ffb9f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-02 09:18:09", "repo_name": "YoungForWP/ObserverPattern", "sub_path": "/src/com/wp/product/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 1180, "line_count": 56, "lang": "e... | https://github.com/YoungForWP/ObserverPattern | 232 | FILENAME: Product.java | 0.293404 | package com.wp.product;
import com.wp.customer.Customer;
import java.util.ArrayList;
public class Product implements Commodity {
private String color;
private Integer amount;
private ArrayList<Customer> customers;
public Product() {
customers = new ArrayList<>();
}
@Override
pu... |
99fbe4e1-953e-47b9-8bc8-a3576eb51085 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-15 08:51:44", "repo_name": "lassemaatta/temporaljooq", "sub_path": "/src/main/java/fi/lassemaatta/temporaljooq/config/properties/DataSourceProperties.java", "file_name": "DataSourceProperties.java", "file_ext"... | https://github.com/lassemaatta/temporaljooq | 219 | FILENAME: DataSourceProperties.java | 0.236516 | package fi.lassemaatta.temporaljooq.config.properties;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Component
@PropertySource("classpath:configuration/db.properties")
public class DataSourcePr... |
de5de070-75ca-4f0d-ab95-0d96e7c67fd7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-28T09:39:23", "repo_name": "gisunglee/recipe_app_flutter_ui_go", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1291, "line_count": 28, "lang": "en", "doc_type":... | https://github.com/gisunglee/recipe_app_flutter_ui_go | 440 | FILENAME: README.md | 0.23793 | # recipe_app_flutter_ui_go
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
- [Cookbook: Useful Flutter ... |
468f3d3b-10c3-4c82-a099-355e1c3ad69d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-17 10:32:07", "repo_name": "xeon2007/accompany-server", "sub_path": "/src/main/java/me/quhu/haohushi/accompany/domain/coupon/SysCpuponCity.java", "file_name": "SysCpuponCity.java", "file_ext": "java", "file_si... | https://github.com/xeon2007/accompany-server | 251 | FILENAME: SysCpuponCity.java | 0.262842 | package me.quhu.haohushi.accompany.domain.coupon;
import me.quhu.haohushi.accompany.util.CommUtil;
import me.quhu.haohushi.accompany.util.enums.OrderType;
/**
* Created by wei on 2016/9/29.
*/
public class SysCpuponCity extends SysCoupon {
private String areaName;//限制城市
public String getAreaName(){
... |
f76f0af4-4fdb-4d36-9fd1-111f368a465e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-02 16:32:52", "repo_name": "MurilloTavares/ProjetoPadroes", "sub_path": "/src/main/java/br/edu/ifpb/projetopadroes/entity/CPF.java", "file_name": "CPF.java", "file_ext": "java", "file_size_in_byte": 1025, "lin... | https://github.com/MurilloTavares/ProjetoPadroes | 231 | FILENAME: CPF.java | 0.286968 | package br.edu.ifpb.projetopadroes.entity;
import java.io.Serializable;
import java.text.ParseException;
import javax.persistence.Embeddable;
import javax.swing.text.MaskFormatter;
@Embeddable
public class CPF implements Serializable{
private String numericCpf;
public CPF() {
}
public CPF(Strin... |
5c2fe876-0495-4740-add4-32b7bcfebb99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-18 12:12:54", "repo_name": "manikanthkumar/CRS-Auth-Service", "sub_path": "/src/main/java/com/pramati/crs/authservice/resource/UserProfileResource.java", "file_name": "UserProfileResource.java", "file_ext": "j... | https://github.com/manikanthkumar/CRS-Auth-Service | 183 | FILENAME: UserProfileResource.java | 0.23092 | package com.pramati.crs.authservice.resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframewor... |
c054cbf9-3744-4cef-8cee-cb598a75f831 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 20:35:54", "repo_name": "only-us-app/UDONG_SERVER", "sub_path": "/src/main/java/solux/woodong/web/dto/receipt/ReceiptSaveRequestDto.java", "file_name": "ReceiptSaveRequestDto.java", "file_ext": "java", "fil... | https://github.com/only-us-app/UDONG_SERVER | 245 | FILENAME: ReceiptSaveRequestDto.java | 0.26588 | package solux.woodong.web.dto.receipt;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import solux.woodong.web.domain.club.Club;
import solux.woodong.web.domain.receipt.Receipt;
import solux.woodong.web.domain.user.User;
@Getter
@NoArgsConstructor
public class ReceiptSaveRequestDto {
... |
4aa5f48f-1613-41f3-9145-4f1e8509282a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-03T08:22:51", "repo_name": "codeinchq/compatibility-middleware", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1014, "line_count": 25, "lang": "en", "doc_type":... | https://github.com/codeinchq/compatibility-middleware | 256 | FILENAME: README.md | 0.249447 | # Compatibility PSR-15 middleware
This library provides a collection of [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware to provide compatibility with older PHP scripts.
## The collection includes
* [`PhpGpcVarsMiddleware`](src/PhpGpcVarsMiddleware.php) Extract PSR-7 request data to PHP GPC variables `$_G... |
bb10cc8c-fdb8-4e87-8b43-0a86a6cab775 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-01 00:51:54", "repo_name": "andrew-waite/Acercraft-Plugins", "sub_path": "/acerstaffchat/src/com/acercraft/AcerStaffChat/StaffChatListener.java", "file_name": "StaffChatListener.java", "file_ext": "java", "fil... | https://github.com/andrew-waite/Acercraft-Plugins | 240 | FILENAME: StaffChatListener.java | 0.287768 | package com.acercraft.AcerStaffChat;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.event.player.PlayerQuitEvent;
public class StaffChatListener implements Listene... |
de8b0e01-a4f8-4c46-869b-58199add3312 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-25 08:08:16", "repo_name": "serhatertuerk/RequestHelper", "sub_path": "/src/main/java/io/serhatertuerk/RequestHelper/ParameterStringBuilder.java", "file_name": "ParameterStringBuilder.java", "file_ext": "java"... | https://github.com/serhatertuerk/RequestHelper | 225 | FILENAME: ParameterStringBuilder.java | 0.275909 | package io.serhatertuerk.RequestHelper;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.Map;
public class ParameterStringBuilder {
/**
* @see <a href="https://www.baeldung.com/java-http-request">java-http-request</a>
* @param parameters The parameters to send t... |
4c844254-68de-49d1-9d0b-a552c1d639bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-19 08:51:02", "repo_name": "bruceLio/RootAppTool", "sub_path": "/app/src/main/java/com/xiaolong/rootapptool/utils/Shell.java", "file_name": "Shell.java", "file_ext": "java", "file_size_in_byte": 989, "line_cou... | https://github.com/bruceLio/RootAppTool | 183 | FILENAME: Shell.java | 0.23092 | package com.xiaolong.rootapptool.utils;
import java.io.DataOutputStream;
import java.io.OutputStream;
public class Shell {
private static Shell shell;
private Process process;
public static Shell getInstance() {
if (shell == null) shell = new Shell();
return shell;
}
private Shel... |
15e30f0d-9591-455b-86bd-d49f5d54f09b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-30 02:16:41", "repo_name": "AustinLee2/ReminderApp", "sub_path": "/app/src/main/java/com/austinhlee/android/app1/SecondActivity.java", "file_name": "SecondActivity.java", "file_ext": "java", "file_size_in_byte... | https://github.com/AustinLee2/ReminderApp | 172 | FILENAME: SecondActivity.java | 0.235108 | package com.austinhlee.android.app1;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class SecondActivity extends AppCompatActivity {... |
e54f0556-8e75-4881-a609-f60605db7d72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-26 14:15:34", "repo_name": "Android-Runners/Screen_Sharing", "sub_path": "/app/src/main/java/com/savelyevlad/screensharing/help/HelpFragment.java", "file_name": "HelpFragment.java", "file_ext": "java", "file_s... | https://github.com/Android-Runners/Screen_Sharing | 236 | FILENAME: HelpFragment.java | 0.286169 | package com.savelyevlad.screensharing.help;
import android.annotation.SuppressLint;
import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.savely... |
62699c5f-9590-45f2-b396-ad8417af8a11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-07 08:32:26", "repo_name": "rantibi/trygit", "sub_path": "/CompletableExam.java", "file_name": "CompletableExam.java", "file_ext": "java", "file_size_in_byte": 1156, "line_count": 39, "lang": "en", "doc_type":... | https://github.com/rantibi/trygit | 232 | FILENAME: CompletableExam.java | 0.289372 | import java.util.Timer;
import java.util.concurrent.*;
import java.util.function.Function;
/**
* Created by ran on 02/06/2015.
*/
public class CompletableExam {
public static void main(String[] args) {
ExecutorService executor1 = Executors.newFixedThreadPool(2);
ExecutorService executor2 = Execu... |
4e6275c9-9c36-4f35-a858-2c5d6cb18447 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-04 05:04:07", "repo_name": "YufanMoNEU/cs5200f18_ZilanZ", "sub_path": "/Assignment-3/cs5200_fall2018_zhang_zilan_jdbc/src/main/java/edu/northeastern/cs5200/models/User.java", "file_name": "User.java", "file_ex... | https://github.com/YufanMoNEU/cs5200f18_ZilanZ | 256 | FILENAME: User.java | 0.23092 | package edu.northeastern.cs5200.models;
import java.util.Date;
public class User extends Person {
private Boolean approvedUser;
private Boolean userAgreement;
public User(int id, String firstName, String lastName) {
super(id, firstName, lastName);
this.userAgreement = false;
}
p... |
9fa100e2-3459-4092-8bd5-63f0e35d6913 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-19 12:41:01", "repo_name": "tomasperezmolina/lfg", "sub_path": "/src/main/java/persistence/entity/GamePlatformForPostEntityPK.java", "file_name": "GamePlatformForPostEntityPK.java", "file_ext": "java", "file_s... | https://github.com/tomasperezmolina/lfg | 268 | FILENAME: GamePlatformForPostEntityPK.java | 0.294215 | package persistence.entity;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Objects;
/**
* @author Tomas Perez Molina
*/
public class GamePlatformForPostEntityPK implements Serializable {
private int postId;
private int gamePlatformId;
@Column... |
b8d52f9b-5825-451f-aeb9-ef283f322c14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-20 02:08:47", "repo_name": "emailtohl/web-building", "sub_path": "/src/main/java/com/github/emailtohl/building/message/observer/ChatEventInterestedParty.java", "file_name": "ChatEventInterestedParty.java", "fi... | https://github.com/emailtohl/web-building | 206 | FILENAME: ChatEventInterestedParty.java | 0.245085 | package com.github.emailtohl.building.message.observer;
import static com.github.emailtohl.building.config.RootContextConfiguration.PROFILE_PRODUCTION;
import static com.github.emailtohl.building.config.RootContextConfiguration.PROFILE_QA;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.lo... |
6fd938d0-29ee-4139-b93e-7fcfef2ca81e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-30 14:37:22", "repo_name": "Augustus175/SSH_Demo", "sub_path": "/src/cn/itcast/test/TestApp.java", "file_name": "TestApp.java", "file_ext": "java", "file_size_in_byte": 1224, "line_count": 39, "lang": "en", "d... | https://github.com/Augustus175/SSH_Demo | 247 | FILENAME: TestApp.java | 0.259826 | package cn.itcast.test;
import cn.itcast.dao.impl.UserDaoImpl;
import cn.itcast.domain.User;
import cn.itcast.service.UserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.util.ArrayList;
import java.util.List;
/**
... |
64f01c2a-9784-48d2-8128-beb61b1d9411 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-10 12:57:07", "repo_name": "tspetrov/blog_page_backend", "sub_path": "/src/main/java/com/example/blog_page_backend/controllers/HelloWorldController.java", "file_name": "HelloWorldController.java", "file_ext": ... | https://github.com/tspetrov/blog_page_backend | 177 | FILENAME: HelloWorldController.java | 0.246533 | package com.example.blog_page_backend.controllers;
import com.example.blog_page_backend.DTOs.HelloWorldDTO;
import com.example.blog_page_backend.model.CheckValidCredentials;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframew... |
6636372b-45d1-4905-8b89-52f99c904982 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-09 10:31:04", "repo_name": "hartl3y94/heartcheck", "sub_path": "/src/main/java/org/yun/heartcheck/model/Task.java", "file_name": "Task.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 34, "l... | https://github.com/hartl3y94/heartcheck | 234 | FILENAME: Task.java | 0.252384 | package org.yun.heartcheck.model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
@Entity
@DynamicUpdate
@Data
@ApiModel("task mod... |
7eaac7fc-1bf3-47fb-8f98-98ca04c9ccfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-15 12:05:10", "repo_name": "Achal-Aggarwal/twu-biblioteca-achal", "sub_path": "/src/com/twu/biblioteca/CheckoutBookController.java", "file_name": "CheckoutBookController.java", "file_ext": "java", "file_size_i... | https://github.com/Achal-Aggarwal/twu-biblioteca-achal | 201 | FILENAME: CheckoutBookController.java | 0.27513 | package com.twu.biblioteca;
public class CheckoutBookController extends Controller {
private CheckoutBookView view;
LoginController loginController;
public CheckoutBookController(LibraryManager libraryManager, InputOutputManger inputOutputManger) {
super(libraryManager);
view = new Checkout... |
f4a49c0c-4521-4417-a49a-b967212e00a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-16 17:14:04", "repo_name": "FHannes/Multi-Agent-Systems", "sub_path": "/src/main/java/be/kuleuven/cs/mas/message/AgentMessage.java", "file_name": "AgentMessage.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/FHannes/Multi-Agent-Systems | 241 | FILENAME: AgentMessage.java | 0.284576 | package be.kuleuven.cs.mas.message;
import com.github.rinde.rinsim.core.model.comm.MessageContents;
import java.util.LinkedList;
import java.util.List;
public class AgentMessage implements MessageContents {
public static final String FIELD_SEP = ";";
public static final String NAME_VALUE_SEP = "=";
AgentMessag... |
cddba64f-7b9f-48ee-8844-f61fb7157ef8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 13:59:25", "repo_name": "sajithgowda/Flight-Advisor", "sub_path": "/src/main/java/org/siriusxi/htec/fa/domain/model/RolePK.java", "file_name": "RolePK.java", "file_ext": "java", "file_size_in_byte": 1070, "... | https://github.com/sajithgowda/Flight-Advisor | 228 | FILENAME: RolePK.java | 0.286968 | package org.siriusxi.htec.fa.domain.model;
import lombok.*;
import org.hibernate.Hibernate;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
@Embeddable
@Getter
@Setter
@ToString
@NoArgsConstructor
@RequiredAr... |
4f4f2172-13dd-4bb0-a650-e42673b8802c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-20 13:55:35", "repo_name": "kvigor83/OnlineTraining", "sub_path": "/src/main/java/by/ihi/onlinetraining/web/listener/ApplicationExitListener.java", "file_name": "ApplicationExitListener.java", "file_ext": "jav... | https://github.com/kvigor83/OnlineTraining | 225 | FILENAME: ApplicationExitListener.java | 0.295027 | package by.ihi.onlinetraining.web.listener;
import by.ihi.onlinetraining.db.ConnectionPool;
import by.ihi.onlinetraining.db.DbConnectionException;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
... |
7a208088-224f-4e9e-8412-6845f75af107 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-04T07:59:00", "repo_name": "runfengxin/springboot-activemq", "sub_path": "/src/main/java/com/example/demo/producer/Producer.java", "file_name": "Producer.java", "file_ext": "java", "file_size_in_byte": 1026, "... | https://github.com/runfengxin/springboot-activemq | 180 | FILENAME: Producer.java | 0.235108 | package com.example.demo.producer;
import org.apache.activemq.command.ActiveMQQueue;
import org.apache.activemq.command.ActiveMQTopic;
import org.springframework.jms.core.JmsMessagingTemplate;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import javax.annotati... |
d65e17a5-b4d1-42dd-946f-ab9b23bd7ae8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-03 14:23:44", "repo_name": "jeepchenup/awesome-cws", "sub_path": "/awsome-cws-web/src/test/java/info/chen/awsome/cws/web/configuration/HibernateConfigurationTest.java", "file_name": "HibernateConfigurationTest... | https://github.com/jeepchenup/awesome-cws | 208 | FILENAME: HibernateConfigurationTest.java | 0.282196 | package info.chen.awsome.cws.web.configuration;
import static org.junit.Assert.assertNotNull;
import javax.sql.DataSource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate4.HibernateTransactionMana... |
e27d40f2-0aa4-4da3-b856-5d3d0415fc23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-09 09:05:13", "repo_name": "sundewei/sadoop", "sub_path": "/src_backup/com/sap/hadoop/index/PathNameInputSplit.java", "file_name": "PathNameInputSplit.java", "file_ext": "java", "file_size_in_byte": 1082, "lin... | https://github.com/sundewei/sadoop | 251 | FILENAME: PathNameInputSplit.java | 0.246533 | package com.sap.hadoop.index;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.mapreduce.InputSplit;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
/**
* Created by IntelliJ IDEA.
* User: Frank
* Date: 2011/1/16
* Time: ¤W¤È 10:52:... |
84d51fd9-bc27-4430-9f3d-50767b8d291c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-04T18:50:19", "repo_name": "0x203/BreezeTestGen", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 32, "lang": "en", "doc_type": "text", "blob_... | https://github.com/0x203/BreezeTestGen | 258 | FILENAME: README.md | 0.279828 | # BreezeTestGen
[](https://travis-ci.org/0x203/BreezeTestGen)
Generator of Verification Tests for Breeze Netlists.
This project is written in [Scala](http://www.scala-lang.org/) Version 2.11.8.
Usage
----
### First Installation
You'll ne... |
6dcc0074-09b1-4d0a-9c9e-910fa55d08b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-02 09:42:07", "repo_name": "jurson86/springcloud-tcc", "sub_path": "/tcc-manage/src/main/java/com/tuandai/architecture/component/RestTemplateHelper.java", "file_name": "RestTemplateHelper.java", "file_ext": "j... | https://github.com/jurson86/springcloud-tcc | 224 | FILENAME: RestTemplateHelper.java | 0.285372 | package com.tuandai.architecture.component;
import org.apache.http.impl.client.HttpClientBuilder;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.spring... |
ce5fd186-c14e-418e-89b4-046c07a67eb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-13 06:49:51", "repo_name": "joshterrell805-historic/EClass", "sub_path": "/prototype/EClassPrototype/src/application/AudioVideoController.java", "file_name": "AudioVideoController.java", "file_ext": "java", "f... | https://github.com/joshterrell805-historic/EClass | 225 | FILENAME: AudioVideoController.java | 0.288569 | package application;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Parent;
import javafx.scen... |
d170d826-7525-4918-b74f-13a9a0fc83f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-28 01:54:28", "repo_name": "lumiayx/activeMQ", "sub_path": "/src/main/java/com/yx/activeMQ/queues/MQProvider.java", "file_name": "MQProvider.java", "file_ext": "java", "file_size_in_byte": 999, "line_count": 3... | https://github.com/lumiayx/activeMQ | 213 | FILENAME: MQProvider.java | 0.252384 | package com.yx.activeMQ.queues;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MessageProducer;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.apache.activemq.ActiveMQConnectionFactory;
public class MQ... |
d1c7fce5-6771-442a-84d2-1cf8b106118f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-04 07:03:06", "repo_name": "SongLinYang12138/YangBase", "sub_path": "/app/src/main/java/com/bondex/ysl/bondex/base/login/LoginViewModel.java", "file_name": "LoginViewModel.java", "file_ext": "java", "file_size... | https://github.com/SongLinYang12138/YangBase | 199 | FILENAME: LoginViewModel.java | 0.206894 | package com.bondex.ysl.bondex.base.login;
import android.app.Application;
import android.content.Context;
import android.support.annotation.NonNull;
import android.util.Log;
import android.view.View;
import com.bondex.ysl.bondex.base.main.MainActivity;
import me.goldze.mvvmhabit.base.BaseViewModel;
import me.goldze... |
434ff203-daa7-421b-a03c-a78485ad941b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-10 08:28:41", "repo_name": "KennyZhu/wx", "sub_path": "/src/main/java/com/kennyzhu/wx/core/enums/WeiXinPublicMsgTypeEnum.java", "file_name": "WeiXinPublicMsgTypeEnum.java", "file_ext": "java", "file_size_in_by... | https://github.com/KennyZhu/wx | 268 | FILENAME: WeiXinPublicMsgTypeEnum.java | 0.250913 | package com.kennyzhu.wx.core.enums;
import org.apache.commons.lang3.StringUtils;
/**
* Desc:微信公众平台消息类型
* <p/>Date: 2014/11/26
* <br/>Time: 16:33
* <br/>User: ylzhu
*/
public enum WeiXinPublicMsgTypeEnum {
/**
* 文本消息
*/
TEXT("text"),
/**
* 图片消息
*/
IMAGE("image"),
/**
*... |
f8a8b7bf-597b-4513-a563-1b0a33669acb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-09 14:18:53", "repo_name": "sheetalp15/actitime", "sub_path": "/Selenium_training/src/sikuli/LoginTest.java", "file_name": "LoginTest.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count": 26, "la... | https://github.com/sheetalp15/actitime | 236 | FILENAME: LoginTest.java | 0.252384 | package sikuli;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.sikuli.script.FindFailed;
import org.sikuli.script.Pattern;
import org.sikuli.script.Screen;
import org.sikuli.script.SikuliException;
public class LoginTest {
public static void main(String[] args) thro... |
364d0f02-4645-4de8-93f5-325ded6b19fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-18 10:06:34", "repo_name": "NightFarmer/CommonUtil", "sub_path": "/sample/src/main/java/com/nightfarmer/commonutil/sample/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in... | https://github.com/NightFarmer/CommonUtil | 225 | FILENAME: MainActivity.java | 0.249447 | package com.nightfarmer.commonutil.sample;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
import com.nightfarmer.commonutil.ClipboardUtil;
public class MainActivity extends AppCompatActivity {
TextView... |
c8a12150-eeef-4bb8-a90d-ff66bf7c3385 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-10 17:34:13", "repo_name": "gaeun917-zz/BabySitterApp", "sub_path": "/app/src/main/java/com/example/gaeunlee/babysitter/add_child_categories/AddMealTimeActivity.java", "file_name": "AddMealTimeActivity.java", ... | https://github.com/gaeun917-zz/BabySitterApp | 221 | FILENAME: AddMealTimeActivity.java | 0.226784 | package com.example.gaeunlee.babysitter.add_child_categories;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.example.gaeunlee.babysitter.R;
public class AddMealTimeActivity extends AppCompatActivity {
... |
f7f77183-2e12-40f9-9536-398ceb0ae1ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-27 19:15:56", "repo_name": "javastartpl/android-podstawy-lekcje", "sub_path": "/app/src/main/java/pl/javastart/ap/webclient/NewCategoryFragment.java", "file_name": "NewCategoryFragment.java", "file_ext": "java... | https://github.com/javastartpl/android-podstawy-lekcje | 199 | FILENAME: NewCategoryFragment.java | 0.236516 | package pl.javastart.ap.webclient;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.DialogInterface;
import android.os.Bundle;
import android.widget.EditText;
public class NewCategoryFragment extends DialogFragment {
... |
a7454b83-e176-42a1-ac1d-4c6ae674ef0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-24 10:35:16", "repo_name": "TomaszKwolek/HibernateJPAGroup2", "sub_path": "/spring-data-model/src/main/java/pl/spring/demo/to/LibraryTo.java", "file_name": "LibraryTo.java", "file_ext": "java", "file_size_in_b... | https://github.com/TomaszKwolek/HibernateJPAGroup2 | 265 | FILENAME: LibraryTo.java | 0.276691 | package pl.spring.demo.to;
import java.util.List;
public class LibraryTo {
private Long id;
private String name;
private List<BookTo> books;
private Long version;
public LibraryTo() {
}
public LibraryTo(Long id, String name, List<BookTo> books, Long version) {
super();
this.id=id;
this.name... |
652de0e3-88cc-4ef3-b3e6-90836f599068 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-20 02:08:05", "repo_name": "dmstocking/put-it-on-the-list", "sub_path": "/app/src/main/java/com/github/dmstocking/putitonthelist/grocery_list/items/add/CategoryDocument.java", "file_name": "CategoryDocument.ja... | https://github.com/dmstocking/put-it-on-the-list | 241 | FILENAME: CategoryDocument.java | 0.236516 | package com.github.dmstocking.putitonthelist.grocery_list.items.add;
import com.github.dmstocking.putitonthelist.Color;
import com.github.dmstocking.putitonthelist.Icon;
import com.google.firebase.firestore.Exclude;
public class CategoryDocument {
@Exclude
private String id;
private String category;
... |
032feac3-cfbb-4584-a5d5-e9f5b03a3426 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-01 21:16:29", "repo_name": "splitio/java-client", "sub_path": "/client/src/main/java/io/split/engine/sse/dtos/OccupancyNotification.java", "file_name": "OccupancyNotification.java", "file_ext": "java", "file_s... | https://github.com/splitio/java-client | 220 | FILENAME: OccupancyNotification.java | 0.264358 | package io.split.engine.sse.dtos;
import io.split.engine.sse.PushStatusTracker;
import io.split.engine.sse.NotificationProcessor;
public class OccupancyNotification extends IncomingNotification implements StatusNotification {
private final OccupancyMetrics metrics;
public OccupancyNotification(GenericNotific... |
6e24a35d-719d-49cd-ab4c-dd985e43820d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-24 08:41:51", "repo_name": "x3408/libsystem", "sub_path": "/src/main/java/com/xc/libsystem/Interceptor/LoginInterceptor.java", "file_name": "LoginInterceptor.java", "file_ext": "java", "file_size_in_byte": 118... | https://github.com/x3408/libsystem | 199 | FILENAME: LoginInterceptor.java | 0.235108 | package com.xc.libsystem.Interceptor;
import com.xc.libsystem.Util.LoginResult;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerInterceptor;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@C... |
0fd111e5-8423-43f5-bc40-2c1ec8b2efea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-30 13:07:13", "repo_name": "santanukumardas/IPL-2019", "sub_path": "/app/src/main/java/com/santanu/customarrayadapter/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/santanukumardas/IPL-2019 | 199 | FILENAME: MainActivity.java | 0.196826 | package com.santanu.customarrayadapter;
import android.content.Intent;
import android.media.Image;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import org.w3c.dom.Text;
public class MainActivity e... |
a729b2f6-e839-4f8d-92d5-c2952842d552 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-06 20:45:05", "repo_name": "johnarleyburns/ranchan", "sub_path": "/app/src/main/java/com/chanapps/ranchan/app/views/SquareNetworkImageView.java", "file_name": "SquareNetworkImageView.java", "file_ext": "java",... | https://github.com/johnarleyburns/ranchan | 223 | FILENAME: SquareNetworkImageView.java | 0.256832 | package com.chanapps.ranchan.app.views;
import android.content.Context;
import android.util.AttributeSet;
import com.android.volley.toolbox.NetworkImageView;
/**
* Created by johnarleyburns on 27/06/14.
*/
public class SquareNetworkImageView extends NetworkImageView {
public SquareNetworkImageView(final Co... |
c516e496-7afe-4698-984f-499af0af9ef9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-27T09:07:45", "repo_name": "4bhishekKasam/My-Google-Map-", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 994, "line_count": 25, "lang": "en", "doc_type": "text"... | https://github.com/4bhishekKasam/My-Google-Map- | 257 | FILENAME: README.md | 0.242206 | <p align="center">
<img src="https://github.com/4bhishekKasam/My-Google-Map-/blob/master/map.PNG" width="850"/>
</p>
<br/>
<p align="center">
Step 1: Get an API Key from the Google Cloud Platform Console
Step 2: Add the API key to your application
https://www.google.com/maps/embed/v1/MODE?key=YOUR_API_KEY¶... |
1dec980b-9e3d-4571-b901-f193ff2a2ef1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-10 03:36:09", "repo_name": "mdrahil/medicBuddy", "sub_path": "/app/src/main/java/com/cricbuzz/medicbuddy/base/BaseFragment.java", "file_name": "BaseFragment.java", "file_ext": "java", "file_size_in_byte": 1187... | https://github.com/mdrahil/medicBuddy | 217 | FILENAME: BaseFragment.java | 0.249447 | package com.cricbuzz.medicbuddy.base;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.widget.TextView;
import com.cricbuzz.medicbuddy.utils.Utils;
import java.lang.reflect.Field;
/**
* A simple {@link Fragment} subclass.
*/
public abst... |
99dd6faf-01b4-41ba-84a0-2360b829b02a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-29 18:44:57", "repo_name": "kuldeepshandilya/algo-ds", "sub_path": "/src/main/java/com/practice/algods/tree/TreeNode.java", "file_name": "TreeNode.java", "file_ext": "java", "file_size_in_byte": 1035, "line_co... | https://github.com/kuldeepshandilya/algo-ds | 248 | FILENAME: TreeNode.java | 0.259826 | package com.practice.algods.tree;
public class TreeNode<Comparable> {
private Comparable data;
private TreeNode leftChild, rightChild;
public TreeNode(Comparable data){
this.data = data;
}
public TreeNode(Comparable data, TreeNode leftChild, TreeNode rightChild) {
this.data = data;
this.leftChi... |
add48e61-8934-4bf5-b6d9-1d16650cca78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-10T13:58:40", "repo_name": "houwenhua/authoritycontrolshiro", "sub_path": "/src/main/java/com/hwh/vo/MenusVo.java", "file_name": "MenusVo.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": 74,... | https://github.com/houwenhua/authoritycontrolshiro | 304 | FILENAME: MenusVo.java | 0.214691 | package com.hwh.vo;
import java.util.List;
/**
* 功能描述:
*
* @Author houwenhua
* @Date 2018/10/3 13:05
*/
public class MenusVo {
private Integer id;
private String text;
private String url;
private String icon;
private List<MenusVo> menus;
public MenusVo() {
}
public MenusVo(... |
8ede50f2-f51e-486c-9431-3f7fb786e9c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-11 04:43:05", "repo_name": "Indian-Dev/Material-Smart-Rating", "sub_path": "/app/src/main/java/com/vimalcvs/myrateapp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Indian-Dev/Material-Smart-Rating | 185 | FILENAME: MainActivity.java | 0.214691 | package com.vimalcvs.myrateapp;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import com.vimalcvs.materialrating.util.RateDialogManager;
/**
* Created by... |
564fe34b-0a90-4f29-aa8a-875895ced4d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-28 18:16:34", "repo_name": "gitskarios/Gitskarios", "sub_path": "/app/src/main/java/com/alorma/github/ui/activity/repo/RepoReadmeActivity.java", "file_name": "RepoReadmeActivity.java", "file_ext": "java", "fil... | https://github.com/gitskarios/Gitskarios | 245 | FILENAME: RepoReadmeActivity.java | 0.274351 | package com.alorma.github.ui.activity.repo;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import com.alorma.github.R;
import com.alorma.github.sdk.bean.info.RepoInfo;
import com.alorma.github.ui.activity.base.RepositoryThemeA... |
78a85473-9dee-4a87-9db2-2c1d0a8c6b7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-26 16:24:01", "repo_name": "ssverud/UdpReciever", "sub_path": "/src/sample/UdpSender.java", "file_name": "UdpSender.java", "file_ext": "java", "file_size_in_byte": 1155, "line_count": 49, "lang": "en", "doc_ty... | https://github.com/ssverud/UdpReciever | 225 | FILENAME: UdpSender.java | 0.26588 | package sample;
import java.io.*;
import java.net.*;
import java.net.InetAddress;
public class UdpSender {
private DatagramSocket socket;
private Drone drone;
// constructor
public UdpSender(Drone drone) {
this.drone = drone;
}
// method to send an UDP
public void sendUdp(Messag... |
4ab09ff7-d950-4bee-99ae-e56883ea171a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2006-07-05 02:23:17", "repo_name": "syrus-ru/amficom", "sub_path": "/hw/r6/src/com/syrus/AMFICOM/kis/Transceiver.java", "file_name": "Transceiver.java", "file_ext": "java", "file_size_in_byte": 1180, "line_count": 42,... | https://github.com/syrus-ru/amficom | 230 | FILENAME: Transceiver.java | 0.249447 | package com.syrus.AMFICOM.kis;
public class Transceiver {
private static String measurement_id;
private static String measurement_type_id;
private static String local_address;
private static String[] par_names;
private static byte[][] par_values;
static {
System.loadLibrary("r6transceiver");
}
p... |
f1f2a963-d9a5-447e-9d46-be6f9fd70fbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-03 08:38:33", "repo_name": "moushumiseal/SmartWall-API", "sub_path": "/SmartWall/src/java/edu/sg/nus/iss/smartwall/util/SmartWallFilter.java", "file_name": "SmartWallFilter.java", "file_ext": "java", "file_siz... | https://github.com/moushumiseal/SmartWall-API | 228 | FILENAME: SmartWallFilter.java | 0.240775 | package edu.sg.nus.iss.smartwall.util;
import java.io.IOException;
import javax.ws.rs.NotAuthorizedException;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerRequestFilter;
import javax.ws.rs.container.PreMatching;
import javax.ws.rs.ext.Provider;
/**
*
* @author Moushumi... |
c3de013d-1188-4d7e-a3f7-544f048e33b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-24 10:15:48", "repo_name": "zhunhuang/java-demos", "sub_path": "/H2DatabaseInSpring/src/main/java/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": 30, "lang": ... | https://github.com/zhunhuang/java-demos | 192 | FILENAME: Main.java | 0.210766 | import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.datasource.SimpleDriverDataSource;
import java.sql.*;
/**
* @author: zhun.huang
* @create: 2018-03-30 下午4:36
* @email: nolan.zhun@gmail.com
* @description:
*/
public class Main {
public static void mai... |
f9be8489-36a9-46d3-bfa2-70ebd3a4db6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-20 20:22:23", "repo_name": "AZHARDEEN/cloudsystems", "sub_path": "/cloudsystems/ViewPrj/src/main/java/br/com/mcampos/controller/anoto/util/AnotoBook.java", "file_name": "AnotoBook.java", "file_ext": "java", "f... | https://github.com/AZHARDEEN/cloudsystems | 229 | FILENAME: AnotoBook.java | 0.286968 | package br.com.mcampos.controller.anoto.util;
import com.anoto.api.Page;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class AnotoBook implements Serializable
{
Iterator book;
List<Page> pages;
public AnotoBook()
... |
edbaeeb5-3602-453e-9ce0-eb471f8f7cb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-21T11:44:53", "repo_name": "hnakamur/my-mock-configs-for-building-rpm-on-ubuntu", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1223, "line_count": 54, "lang": ... | https://github.com/hnakamur/my-mock-configs-for-building-rpm-on-ubuntu | 376 | FILENAME: README.md | 0.250913 | my-mock-configs-for-building-rpm-on-ubuntu
==========================================
## How to setup mock
Install mock and place my config files for chroot environments.
```
sudo apt install mock
```
Copy `*.cfg` files in this repository to /etc/mock/.
```
sudo *.cfg /etc/mock/
```
Install CentOS7 and epel gpg k... |
50be646a-0e6e-4b33-b0b2-a1680b40ce9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-13T15:23:47", "repo_name": "ampize/docs", "sub_path": "/content/docs/tutorials/plug/query.md", "file_name": "query.md", "file_ext": "md", "file_size_in_byte": 1093, "line_count": 26, "lang": "en", "doc_typ... | https://github.com/ampize/docs | 287 | FILENAME: query.md | 0.246533 | ---
$title@: Query params
$order: 2
---
Now, you can set your parameters specific to your API. (For this example, we will use params specific to The Guardian API):
a. Basic Authorization
- This is an optional addition
b. Query Params - Here, you can set the parameters specific to your API. (For this example, we will ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.