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 |
|---|---|---|---|---|---|---|
7407d332-9fa6-4b11-8a8a-bb87dffb710f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-26 13:59:09", "repo_name": "ViRb3/game2d-dungeon", "sub_path": "/src/main/java/Block.java", "file_name": "Block.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": 40, "lang": "en", "doc_type": ... | https://github.com/ViRb3/game2d-dungeon | 215 | FILENAME: Block.java | 0.242206 | import game2D.Animation;
import java.awt.event.KeyEvent;
import java.util.List;
class Block extends GameObject {
public Block(GameState gameState, AnimationState animationState) {
super(gameState, animationState);
this.trigger = false;
}
public static Block create(GameState gameState) {
... |
54dcb117-1ee2-4677-870c-808686d95bc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-05-14T19:33:16", "repo_name": "jonluca/Never-Ending-Netflix", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1060, "line_count": 32, "lang": "en", "doc_type": "text... | https://github.com/jonluca/Never-Ending-Netflix | 276 | FILENAME: README.md | 0.201813 | # Never Ending Netflix
[NEN](https://chrome.google.com/webstore/detail/hdadmgabliibighlbejhlglfjgplfmhb) is a chrome extension that improves the Netflix experience for power users. It's features include:
* Automatically skip intros
* Automatically play the next episode
* Skip the popups that ask if you're "Still here... |
7e144c68-3b34-4b24-aaa7-3934ddaf7eed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-28T22:08:20", "repo_name": "AdamColton/buttress", "sub_path": "/config/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1135, "line_count": 35, "lang": "en", "doc_type": "text",... | https://github.com/AdamColton/buttress | 338 | FILENAME: readme.md | 0.258326 | ## Gothic Config
A different approach to configs. One of the goals of gothic is to compile
everything into a single binary. That would include all configs so that a single
binary can run as any environment. Rather than keeping the configs in files,
the thinking is that the configs can be set in code.
### Recipes
###... |
21a826fd-1a67-4541-be7f-cb382b8b4a06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-23 07:15:43", "repo_name": "xioak/full-demo", "sub_path": "/news-manager-mvc/dao/src/main/java/com/xioa/service/impl/PrilServiceImpl.java", "file_name": "PrilServiceImpl.java", "file_ext": "java", "file_size_i... | https://github.com/xioak/full-demo | 268 | FILENAME: PrilServiceImpl.java | 0.286968 | package com.xioa.service.impl;
import com.xioa.dao.PrilMapper;
import com.xioa.model.Pril;
import com.xioa.service.IPrilService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class PrilServiceImpl implements IPrilService{
@Autowired
... |
d8ff8a67-e6b3-4f1e-a509-30f2937c505b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-06 14:58:49", "repo_name": "yikezhan/ywqDemo", "sub_path": "/demo/src/test/java/com/yuwuquan/demo/common/leetcode/LIS.java", "file_name": "LIS.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count"... | https://github.com/yikezhan/ywqDemo | 229 | FILENAME: LIS.java | 0.294215 | package com.yuwuquan.demo.common.leetcode;
import java.util.Stack;
//最长递增子序列
public class LIS {
public static void main(String[] args) {
int[] a = {10,9,2,5,3,4};
System.out.println(new LIS().lengthOfLIS(a));
}
public int lengthOfLIS(int[] nums) {
Stack<Integer> stack = new Stack<>... |
14ba5afb-024a-465c-9ead-cab2f5238d2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-30 19:24:58", "repo_name": "ssatish880/RanazunjarDholTasha", "sub_path": "/app/src/main/java/com/developers/shreeganesha/ranazunjardholtasha/Home_Ranazunjar.java", "file_name": "Home_Ranazunjar.java", "file_ex... | https://github.com/ssatish880/RanazunjarDholTasha | 204 | FILENAME: Home_Ranazunjar.java | 0.218669 | package com.developers.shreeganesha.ranazunjardholtasha;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
/**
* A simple {@link Fragment} s... |
9f34d3e7-f89e-4f6b-a736-489872e0f068 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-21 19:23:33", "repo_name": "Sagar5885/SeleniumJava", "sub_path": "/src/demos/DataReader.java", "file_name": "DataReader.java", "file_ext": "java", "file_size_in_byte": 989, "line_count": 37, "lang": "en", "doc... | https://github.com/Sagar5885/SeleniumJava | 199 | FILENAME: DataReader.java | 0.271252 | package demos;
import java.util.List;
import static utilities.CSVReader.get;
import static utilities.ExcelReader.get1;
public class DataReader {
public static void main(String args[]){
//readCsv();
readExcel();
}
public static void readCsv(){
String filename = "/Users/sdodia/Desk... |
1f09ab10-2e3e-463e-a18d-e4c85b55d188 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-28 13:11:29", "repo_name": "developma/mybatis-spring-paging", "sub_path": "/src/main/java/com/example/paging/config/MyBatisConfig.java", "file_name": "MyBatisConfig.java", "file_ext": "java", "file_size_in_byt... | https://github.com/developma/mybatis-spring-paging | 167 | FILENAME: MyBatisConfig.java | 0.228156 | package com.example.paging.config;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuild... |
585b82a3-4c63-4cc8-bf4b-6b90971370ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-07 22:10:31", "repo_name": "onlyonce/openbanking-tpp-server", "sub_path": "/src/main/java/uk/org/openbanking/v3_1_2/parser/DateUtils.java", "file_name": "DateUtils.java", "file_ext": "java", "file_size_in_byte... | https://github.com/onlyonce/openbanking-tpp-server | 224 | FILENAME: DateUtils.java | 0.281406 | /*
* This Source Code Form is subject to the terms of the Mozilla
* Public License, v. 2.0. If a copy of the MPL was not distributed
* with this file, You can obtain one at
*
* https://mozilla.org/MPL/2.0/.
*/
package uk.org.openbanking.v3_1_2.parser;
import java.text.SimpleDateFormat;
import java.time.LocalDate... |
0d0564e8-594a-40d3-a148-0bef514ff913 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-09 18:23:30", "repo_name": "KimoneSE/Movies", "sub_path": "/src/com/movie/dao/impl/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count": 43, "lang": "... | https://github.com/KimoneSE/Movies | 200 | FILENAME: UserDaoImpl.java | 0.279828 | package com.movie.dao.impl;
import javax.transaction.Transactional;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.movie.dao.UserDao;
... |
e0fd584e-7b62-45d9-bc79-b38bf24b6b72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-28 20:35:46", "repo_name": "niemczyk13/ChatClientV3.3", "sub_path": "/src/main/java/com/niemiec/games/battleship/controllers/ConfirmationOfLeaveGameWindowController.java", "file_name": "ConfirmationOfLeaveGame... | https://github.com/niemczyk13/ChatClientV3.3 | 253 | FILENAME: ConfirmationOfLeaveGameWindowController.java | 0.282988 | package com.niemiec.games.battleship.controllers;
import com.niemiec.chat.dispatchers.general.DispatcherOfOutgoingRequest;
import com.niemiec.games.battleship.command.order.game.GiveUp;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
public class ConfirmationOfLeaveGameWindowController {
private int typeO... |
4dcd1595-2e6e-4da8-b75f-1361a49b95aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-17 14:01:24", "repo_name": "raisercostin/raisercostin-commons", "sub_path": "/src/main/java/org/raisercostin/utils/ResourceUtils.java", "file_name": "ResourceUtils.java", "file_ext": "java", "file_size_in_byte... | https://github.com/raisercostin/raisercostin-commons | 197 | FILENAME: ResourceUtils.java | 0.235108 | package org.raisercostin.utils;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.io.IOUtils;
import org.springframework.core.io.Resource;
public class ResourceUtils {
public static String readAsString(Resource resource, String encoding, boolean replaceWithStandardEndOf... |
c3ce45e5-416b-426d-8725-3ed234b7cbd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-05 15:14:47", "repo_name": "thomas6666/springmvcfirst", "sub_path": "/src/main/java/com/wangwang/springmvcfirst/demo/DBTestConnection.java", "file_name": "DBTestConnection.java", "file_ext": "java", "file_size... | https://github.com/thomas6666/springmvcfirst | 327 | FILENAME: DBTestConnection.java | 0.289372 | package com.wangwang.springmvcfirst.demo;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
public class DBTestConnection {
public static void main(String[] args) throws Exception {
String url = "jdbc:oracle:thin:@127.0.0.1:1521:ORCL";
String user =... |
2e7afd5e-29e3-497b-8117-01a558045681 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-28 02:22:18", "repo_name": "chrisparrella23/Login-with-SQLite", "sub_path": "/Login-with-SQLite/src/authentication/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size_in_... | https://github.com/chrisparrella23/Login-with-SQLite | 233 | FILENAME: LoginController.java | 0.292595 | package authentication;
import java.io.IOException;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.PasswordField;
import javafx.scene.control.TextField;
public class LoginController {
public LoginController() {
}
static String[] use... |
296575ff-43e5-454a-bc1c-694258d755d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-23 09:23:38", "repo_name": "neoteric-eu/neo-starters", "sub_path": "/neo-starter/src/main/java/eu/neoteric/starter/jackson/JsonParser.java", "file_name": "JsonParser.java", "file_ext": "java", "file_size_in_by... | https://github.com/neoteric-eu/neo-starters | 223 | FILENAME: JsonParser.java | 0.250913 | package eu.neoteric.starter.jackson;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
public class JsonParser {
private static final Logger LOG = LoggerFactory.getLo... |
afb40b48-e7bc-4a48-8400-263f4fae5eb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-26T08:39:13", "repo_name": "toannguyen17/Blog-HTTQ-backend", "sub_path": "/src/main/java/com/httq/dto/BaseResponse.java", "file_name": "BaseResponse.java", "file_ext": "java", "file_size_in_byte": 973, "line_c... | https://github.com/toannguyen17/Blog-HTTQ-backend | 239 | FILENAME: BaseResponse.java | 0.275909 | package com.httq.dto;
import java.util.Date;
public class BaseResponse<T> {
private Integer status;
private String msg;
private T data;
private Long timestamp;
public BaseResponse() {
defaultData();
}
public BaseResponse(T data) {
this.data = data;
defaultData();
}
public BaseResponse(T data, S... |
0fc8b25b-c20e-41b3-8a89-8774ad3b830b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-31T11:23:10", "repo_name": "pk4tech/Java-UI-with-advance-Coding", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1010, "line_count": 30, "lang": "en", "doc_type"... | https://github.com/pk4tech/Java-UI-with-advance-Coding | 276 | FILENAME: README.md | 0.27513 | # Java-UI-with-advance-Coding for Windows
This is the advance java application for windows
In this section we are using
Jpanels
Jtext
JField
IOExceptions and much more coding with NetBeans
By Me Pradip
Comment Here to get this video in real type
==================================================
Official ht... |
0ad20458-ad45-4dff-ac12-800fb25c4af0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-09T20:21:10", "repo_name": "davidtkeshela/TaskForCandidate", "sub_path": "/src/main/java/PageObjects/CheckOutPages/ShippingTermsPage.java", "file_name": "ShippingTermsPage.java", "file_ext": "java", "file_size... | https://github.com/davidtkeshela/TaskForCandidate | 216 | FILENAME: ShippingTermsPage.java | 0.264358 | package PageObjects.CheckOutPages;
import Common.Helper;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.PageFactory;
public class ShippingTermsPage {
WebDriver driver;
public ShippingTermsPage(WebDriver driver) {
... |
818408b1-8ea0-47a0-96e6-b3d1fedd3ccf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-15T03:36:15", "repo_name": "jethrochan/reactdjango", "sub_path": "/reactDRFGithub/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1054, "line_count": 28, "lang": "en", "doc_typ... | https://github.com/jethrochan/reactdjango | 282 | FILENAME: README.md | 0.268941 | #Django Rest Framework Browsable API<br />
#This is a project that integrates React on top of the Django Rest Framework.<br />
#It provides full CRUD operations.<br />
#React Code is under the /assets directory<br />
#Usage and Setup<br />
#OS: Unix<br />
#DJANGO SPECIFIC<br />
#install python3 in your environment<b... |
793b2710-8cd5-417d-a1a6-a7f76548e0f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-24 14:17:44", "repo_name": "m4292007/openssp", "sub_path": "/data-sim-client/src/main/java/com/atg/openssp/dspSimUi/view/videoAd/VideoAdMaintenanceView.java", "file_name": "VideoAdMaintenanceView.java", "file_... | https://github.com/m4292007/openssp | 232 | FILENAME: VideoAdMaintenanceView.java | 0.279042 | package com.atg.openssp.dspSimUi.view.videoAd;
import com.atg.openssp.dspSimUi.videoAd.VideoAdServerHandler;
import com.atg.openssp.dspSimUi.model.ad.video.VideoAdModel;
import javax.swing.*;
import java.awt.*;
/**
* @author Brian Sorensen
*/
public class VideoAdMaintenanceView {
private final VideoAdModel mod... |
8dbdaf66-ab15-4582-826e-0bb9cc289c6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-16 01:44:10", "repo_name": "PawelPrusalowicz/KlubTenisowy", "sub_path": "/src/app/CustomIntegerStringConverter.java", "file_name": "CustomIntegerStringConverter.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/PawelPrusalowicz/KlubTenisowy | 191 | FILENAME: CustomIntegerStringConverter.java | 0.274351 | package app;
import javafx.scene.control.Alert;
import javafx.util.converter.IntegerStringConverter;
public class CustomIntegerStringConverter extends IntegerStringConverter {
private final IntegerStringConverter converter = new IntegerStringConverter();
@Override
public String toString(Integer object) {... |
416b3718-d0e2-413a-ac76-62f46b3bc211 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-03T12:38:37", "repo_name": "PublicInMotionGmbH/ui-kit", "sub_path": "/packages/countdown/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 32, "lang": "en", "... | https://github.com/PublicInMotionGmbH/ui-kit | 263 | FILENAME: README.md | 0.29584 | # Talixo Countdown
UI Component which represents Countdown
## How to install
Package is available as `@talixo/countdown` in NPM registry, so you can use it in your project
using `npm install @talixo/countdown --save` or `yarn add @talixo/countdown`.
## Requirements
Your package should additionally have some extra ... |
531b94ba-579b-4446-ab64-ba62a8cf7f21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-03-09T00:54:06", "repo_name": "code-rush/MovieTrailerWebsite", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 980, "line_count": 21, "lang": "en", "doc_type": "text... | https://github.com/code-rush/MovieTrailerWebsite | 202 | FILENAME: README.md | 0.217338 | # MovieTrailerWebsite
MovieTrailerWebsite is a simple webpage to store user's favorite movies, details about the movies and its trailer.
## Two ways to run the website
1) First, Clone this repository to your computer. Open my_movies.html file which will take you to my website. The page contains my favorite movie ca... |
dedab967-0e8c-42ff-83b8-51a457c782c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 12:49:36", "repo_name": "fangwenfei/fwfTestCloud", "sub_path": "/cfmoto/cfmoto-modules/cfmoto-upms-service/src/main/java/com/github/pig/admin/model/entity/FwfTest.java", "file_name": "FwfTest.java", "file_e... | https://github.com/fangwenfei/fwfTestCloud | 258 | FILENAME: FwfTest.java | 0.221351 | package com.github.pig.admin.model.entity;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
* <p>
*
* </p>
*
* @author FangWenFei
* @since 2018-12-18
*/
@TableName("fwf_test")
public class FwfTest extends Model<FwfTest>... |
ef969fe3-bd5b-4bc1-a1e9-db16fb5f7069 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-07 15:08:35", "repo_name": "kara4k/MediaGrub", "sub_path": "/app/src/main/java/com/kara4k/mediagrub/view/adapters/recycler/BaseAdapter.java", "file_name": "BaseAdapter.java", "file_ext": "java", "file_size_in_... | https://github.com/kara4k/MediaGrub | 258 | FILENAME: BaseAdapter.java | 0.288569 | package com.kara4k.mediagrub.view.adapters.recycler;
import android.support.v7.widget.RecyclerView;
import java.util.List;
public abstract class BaseAdapter<T extends SelectableItem, H extends BaseHolder<T>> extends RecyclerView.Adapter<H> {
private List<T> mList;
@Override
public void onBindViewHolde... |
6c1ed281-38ce-44ac-914e-91f24c52b843 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-02 13:36:05", "repo_name": "nclar015/azzida-native-android", "sub_path": "/app/src/main/java/com/azzida/model/ImageList.java", "file_name": "ImageList.java", "file_ext": "java", "file_size_in_byte": 988, "line... | https://github.com/nclar015/azzida-native-android | 211 | FILENAME: ImageList.java | 0.194368 | package com.azzida.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ImageList {
@SerializedName("Id")
@Expose
private Integer id;
@SerializedName("JobId")
@Expose
private Integer jobId;
@SerializedName("UserId")
@Expose
... |
5a1fbf75-f242-4c0e-9933-632b3edd8499 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-14 13:21:47", "repo_name": "TareqK/software-construction-project-report", "sub_path": "/example/src/main/java/me/kisoft/chat/entity/ChatMessage.java", "file_name": "ChatMessage.java", "file_ext": "java", "file... | https://github.com/TareqK/software-construction-project-report | 230 | FILENAME: ChatMessage.java | 0.210766 | /*
* 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 me.kisoft.chat.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonPropert... |
7a5dfcc5-bd85-480d-82ae-3832a593baef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-04 09:35:48", "repo_name": "DommyShen/paipai", "sub_path": "/src/main/java/com/sbkj/paipai/api/response/deal/GetDealRefundDetailInfoResponse.java", "file_name": "GetDealRefundDetailInfoResponse.java", "file_ex... | https://github.com/DommyShen/paipai | 302 | FILENAME: GetDealRefundDetailInfoResponse.java | 0.281406 | package com.sbkj.paipai.api.response.deal;
import java.util.List;
import com.sbkj.paipai.api.PaipaiResponse;
import com.sbkj.paipai.api.domain.deal.RefundDetailDealItem;
/**
* 本接口主要用于买卖家根据拍拍网销售订单号查询订单的退款详细信息
* @author DOmmy
* create:2014-08-08
*/
public class GetDealRefundDetailInfoResponse extends P... |
9dc8b8b7-f1bb-4fca-a8a1-1cdc2042c91a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-17 13:05:04", "repo_name": "eniacce/hql-builder", "sub_path": "/hql-builder/hql-builder-common/src/test/java/org/tools/hqlbuilder/common/test/ManyToOne.java", "file_name": "ManyToOne.java", "file_ext": "java",... | https://github.com/eniacce/hql-builder | 243 | FILENAME: ManyToOne.java | 0.281406 | package org.tools.hqlbuilder.common.test;
import java.util.Set;
import javax.persistence.Entity;
import org.tools.hqlbuilder.common.EntityERHAdapter;
@Entity
public class ManyToOne extends EntityERHAdapter {
private static final long serialVersionUID = -3720856012355844474L;
public static final String ONE_... |
7a5981f6-7212-4ad4-b7be-c421c6d64a56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-06-23T14:42:49", "repo_name": "wvanderp/youtube-rss", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1046, "line_count": 41, "lang": "en", "doc_type": "text", "blob... | https://github.com/wvanderp/youtube-rss | 274 | FILENAME: README.md | 0.194368 | # YouTube-rss
YouTube-rss is a php script based on [YouTube-dl](https://rg3.github.io/youtube-dl/) that generates an rss feed based on YouTube channels or users.
It uses the much loved [YouTube-dl](https://rg3.github.io/youtube-dl/) for downloading and feed generation.
The songs are downloaded on the fly and converted... |
ffad7fd2-1a37-4ab6-b999-69f6b018829a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-28 15:01:48", "repo_name": "FRizkiaA/Cari-Darah", "sub_path": "/app/src/main/java/com/indonative/cari_darah/Result.java", "file_name": "Result.java", "file_ext": "java", "file_size_in_byte": 1137, "line_count"... | https://github.com/FRizkiaA/Cari-Darah | 271 | FILENAME: Result.java | 0.280616 | package com.indonative.cari_darah;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
/**
* Created by Rizkia on 17/10/2015.
*/
public class Result extends AppCompatActivity
{
@Override
protected void onCreate(Bundle save... |
97d8e2d3-ffad-4148-ac23-7f239b0f4e15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-22 09:53:19", "repo_name": "neteinstein/MemoPhone", "sub_path": "/MemoPhone/src/org/neteinstein/memophone/interceptors/CallInterceptor.java", "file_name": "CallInterceptor.java", "file_ext": "java", "file_size... | https://github.com/neteinstein/MemoPhone | 246 | FILENAME: CallInterceptor.java | 0.26588 | package org.neteinstein.memophone.interceptors;
import org.neteinstein.memophone.MemoPhone;
import org.neteinstein.util.SharedPreferencesManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.PhoneNumberUtils;
public class CallInterc... |
8b812e74-36da-4798-9168-39f8d1f3beda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-17 00:47:41", "repo_name": "martynamaron/Practice_projects", "sub_path": "/src/main/java/utils/UserInput.java", "file_name": "UserInput.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count": 33, "... | https://github.com/martynamaron/Practice_projects | 172 | FILENAME: UserInput.java | 0.276691 | package utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class UserInput {
public static int readInteger(String instruction) {
int input = 0;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
System.out.prin... |
3132d9a3-9bd2-43b3-bf6d-d836316c6268 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 14:52:46", "repo_name": "Yeyangshu/Flink", "sub_path": "/src/main/java/com/yeyangshu/streaming/transformation/MapTest.java", "file_name": "MapTest.java", "file_ext": "java", "file_size_in_byte": 1187, "line... | https://github.com/Yeyangshu/Flink | 253 | FILENAME: MapTest.java | 0.29584 | package com.yeyangshu.streaming.transformation;
import org.apache.flink.api.common.functions.MapFunction;
import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;
/**
* Map练习
*
* @author zhumingxing
* @date 2021/3/11 16:09
**... |
0cfee178-c739-4a6c-a6e5-f360764b3c06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-15 21:28:58", "repo_name": "rogerchap/Login-Semarnat-Ej", "sub_path": "/app/src/main/java/com/monsh/pasoparametros/SegundaActivity.java", "file_name": "SegundaActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/rogerchap/Login-Semarnat-Ej | 203 | FILENAME: SegundaActivity.java | 0.210766 | package com.monsh.pasoparametros;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class SegundaActivity extends AppCompatActivity {
TextView tv_name;
TextView tv_mail;
TextView tv_passw;
@Override
prot... |
352c31c3-3075-4bab-aba8-3f7fd70b65d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-28 15:18:08", "repo_name": "guangrunshe/CodingHelper", "sub_path": "/src/main/java/cn/xunyard/idea/coding/doc/process/describer/impl/AbstractBasicClass.java", "file_name": "AbstractBasicClass.java", "file_ext"... | https://github.com/guangrunshe/CodingHelper | 232 | FILENAME: AbstractBasicClass.java | 0.236516 | package cn.xunyard.idea.coding.doc.process.describer.impl;
import com.thoughtworks.qdox.model.JavaType;
/**
* @author <a herf="mailto:wuqi@terminus.io">xunyard</a>
* @date 2019-12-28
*/
public abstract class AbstractBasicClass {
private final String packageName;
private final String className;
private... |
f0064bc4-a977-4a84-a115-4cb7200c348d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-30 21:54:51", "repo_name": "halimahitsna/KTPSapi", "sub_path": "/app/src/main/java/id/sapi/ktp/aplikasiktpsapi/api/UtilsApi.java", "file_name": "UtilsApi.java", "file_ext": "java", "file_size_in_byte": 1137, "... | https://github.com/halimahitsna/KTPSapi | 209 | FILENAME: UtilsApi.java | 0.26588 | package id.sapi.ktp.aplikasiktpsapi.api;
import android.content.Context;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class UtilsApi {
public static final String BASE_URL = "http://ktpsapi.com/android/... |
540e4753-37a8-4865-88c1-8c4bc90eef5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-06 08:55:54", "repo_name": "huntdog1541/AssembleSimulate", "sub_path": "/src/VM.java", "file_name": "VM.java", "file_ext": "java", "file_size_in_byte": 1088, "line_count": 46, "lang": "en", "doc_type": "code",... | https://github.com/huntdog1541/AssembleSimulate | 247 | FILENAME: VM.java | 0.264358 | import java.util.ArrayList;
/**
* Created by David on 3/19/2015.
*/
public class VM {
private Register eax = new Register("EAX", 44);
private Register ebx = new Register("EBX");
private Register ecx = new Register("ECX");
private Register edx = new Register("EDX");
private ArrayList<Register> al... |
d3ba5fed-0fee-4c92-8614-c808422b450f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-18 22:43:52", "repo_name": "emil10001/AndroidCallSmsInfo", "sub_path": "/testSmsApp/src/main/java/com/feigdev/testsms/app/CallScraper.java", "file_name": "CallScraper.java", "file_ext": "java", "file_size_in_b... | https://github.com/emil10001/AndroidCallSmsInfo | 256 | FILENAME: CallScraper.java | 0.295027 | package com.feigdev.testsms.app;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.util.Log;
/**
* Created by ejf3 on 6/18/15.
*/
public class CallScraper extends AsyncTask<Context, Void, Void> {
public static void readCalls(Cont... |
bd9aa242-3869-4341-a59e-010fa994000c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-17T06:30:37", "repo_name": "AndresLong01/Burger", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 35, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/AndresLong01/Burger | 251 | FILENAME: README.md | 0.278257 | # Eat the Burger!
[](https://github.com/AndresLong01)
# Description
It's a website using an SQL database and an express server to post a list of burgers to be devoured and devour them by clicking on them.
Table of Contents ... |
09c8422a-ee1c-4175-9580-45c4644ac720 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-21 09:32:49", "repo_name": "dnilay/socjen-phase-2-may-2021", "sub_path": "/my-product-service/src/main/java/org/example/demo/model/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_i... | https://github.com/dnilay/socjen-phase-2-may-2021 | 215 | FILENAME: Customer.java | 0.235108 | package org.example.demo.model;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class Customer {
private String customerId;
private String customerName;
@Autowired
private Address address;
public Customer(String customerId, String ... |
d982c936-7652-47bd-a158-24d13a5ea5d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-07 16:50:00", "repo_name": "shuaisong/GoodCountry", "sub_path": "/app/src/main/java/com/reeching/goodcountry/util/Imgloader.java", "file_name": "Imgloader.java", "file_ext": "java", "file_size_in_byte": 1140, ... | https://github.com/shuaisong/GoodCountry | 250 | FILENAME: Imgloader.java | 0.247987 | package com.reeching.goodcountry.util;
import android.content.Context;
import android.widget.ImageView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.request.RequestOptions;
import com.reeching.goodcountry.Constant;
import com.reeching.goodcountry.R;
import com.youth.banner.loader.ImageLoader;
/**
* Cr... |
e147597e-7821-4a00-8e62-5440137be1be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 04:27:50", "repo_name": "Mihail74/SpringLearning", "sub_path": "/JpaIntro/jpa-intro/src/main/java/demo4/demo.java", "file_name": "demo.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 38, ... | https://github.com/Mihail74/SpringLearning | 199 | FILENAME: demo.java | 0.273574 | package demo4;
import org.h2.tools.Server;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
public class demo {
public static void main(String[] args) throws Exception {
Server.createWebServer().start();
EntityManagerFa... |
4154955d-6dd9-4a3f-a945-d2f5b1165c33 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-21T16:12:41", "repo_name": "InsaniTea/Virtual-House-Tour", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1150, "line_count": 38, "lang": "en", "doc_type": "text... | https://github.com/InsaniTea/Virtual-House-Tour | 315 | FILENAME: README.md | 0.286968 | # Virtual-House-Tour
OpenGL project where, using C++, we created a virtual house
Two stories house with lighting, textures, .mdl's, stairs, collisions and a particle fountain.
Academic Project made for one of our classes.
Total of 3 elements:
• Pedro Coelho - ME - Made the xml/xsd structure and imported it to the ... |
47672d5e-5bac-41fe-8396-7ec52399f6bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-07-04T14:20:45", "repo_name": "thijsterlouw/erlang-openshift-libs", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1115, "line_count": 27, "lang": "en", "doc_type":... | https://github.com/thijsterlouw/erlang-openshift-libs | 261 | FILENAME: README.md | 0.243642 | erlang-openshift-libs
=====================
Erlang Openshift libraries. WORK IN PROGRESS!!
Features
========
* Custom distribution protocol which ensures that our public listen port (for Erlang distribution) is registered in EPMD
instead of the private listen port. This is required because each gear has a priva... |
fcf9e388-7db5-4d93-811a-149e4895dc09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-20T08:44:15", "repo_name": "jpreecedev/basket-graphql-scratch", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1197, "line_count": 18, "lang": "en", "doc_type": ... | https://github.com/jpreecedev/basket-graphql-scratch | 277 | FILENAME: README.md | 0.190724 | # GraphQL with .NET back end PoC
A test project for understanding how to use GraphQL with a .NET back end. This repo is purely for learning purposes and should not be used as the foundation for any applications going forward.
For simplicity, the front end and back end are split into two separate projects that run on ... |
58b72a6b-02de-45c3-b0ce-b709fd9ac4d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-16 02:17:32", "repo_name": "alexz0000/Utils", "sub_path": "/src/classloader/CustomClassLoader.java", "file_name": "CustomClassLoader.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 36, "lan... | https://github.com/alexz0000/Utils | 188 | FILENAME: CustomClassLoader.java | 0.255344 | package classloader;
public class CustomClassLoader extends ClassLoader {
public CustomClassLoader(ClassLoader parent) {
super(parent);
}
public static void main(String[] args) {
PrintClassLoader printer = new PrintClassLoader();
ClassLoader c = printer.getClass().getClassLoader()... |
270a6db8-583b-41bd-9b3e-c59d94e9302b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-16 09:15:51", "repo_name": "HLong0902/vtman-be", "sub_path": "/src/main/java/com/viettel/vtman/cms/service/impl/UserAuthorizationServiceImpl.java", "file_name": "UserAuthorizationServiceImpl.java", "file_ext":... | https://github.com/HLong0902/vtman-be | 197 | FILENAME: UserAuthorizationServiceImpl.java | 0.240775 | package com.viettel.vtman.cms.service.impl;
import com.viettel.vtman.cms.dao.UserAuthorizationDAO;
import com.viettel.vtman.cms.dto.ObjectResultPage;
import com.viettel.vtman.cms.dto.UserAuthorizationDTO;
import com.viettel.vtman.cms.service.UserAuthorizationService;
import org.springframework.beans.factory.annotation... |
1d8e4356-3ac0-4f0d-a0ab-03187d60142a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-07T10:53:16", "repo_name": "mayowaadediran/react-weather-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1138, "line_count": 49, "lang": "en", "doc_type": "... | https://github.com/mayowaadediran/react-weather-app | 262 | FILENAME: README.md | 0.206894 | # Weather App
A weather conditions and forecast application built with react.
## About/Motivation
Trying to grasp react involves building actual project, hence this project was built to learn basic and advanced react concepts. These include the use of external data APIs, react lifecycles, react UI libraries, locatio... |
51b4a73f-32a4-40c5-949b-87dcd355bc15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-05 12:18:29", "repo_name": "ailbertriksen/pdf-library", "sub_path": "/src/main/java/nl/mad/toucanpdf/api/BaseTable.java", "file_name": "BaseTable.java", "file_ext": "java", "file_size_in_byte": 1195, "line_cou... | https://github.com/ailbertriksen/pdf-library | 269 | FILENAME: BaseTable.java | 0.294215 | package nl.mad.toucanpdf.api;
import java.util.LinkedList;
import java.util.List;
import nl.mad.toucanpdf.model.Cell;
import nl.mad.toucanpdf.model.PlaceableDocumentPart;
import nl.mad.toucanpdf.model.Table;
public class BaseTable extends AbstractTable implements Table {
private List<Cell> content = new LinkedLi... |
281169a1-4bbf-4dd5-8a9b-d180da0eef78 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 10:47:56", "repo_name": "wolvesleader/interview", "sub_path": "/base_java/src/main/java/com/quincy/java/base/hashmap/HashMapDriver.java", "file_name": "HashMapDriver.java", "file_ext": "java", "file_size_in... | https://github.com/wolvesleader/interview | 242 | FILENAME: HashMapDriver.java | 0.286968 | package com.quincy.java.base.hashmap;
import java.util.HashMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CountDownLatch;
/**
* Created by quincy on 18/5/27.
* 读写锁操作,线程不安全的操作演示
*/
public class HashMapDriver {
public static void main(String[] args) {
HashMap<String ,Obj... |
1f51b567-8f75-437d-9acf-64ad04cf1876 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-11 05:30:33", "repo_name": "rizqyfitrianto1/InfoWisataJogja", "sub_path": "/app/src/main/java/com/example/infowisatajogja/LoginActivity.java", "file_name": "LoginActivity.java", "file_ext": "java", "file_size_... | https://github.com/rizqyfitrianto1/InfoWisataJogja | 182 | FILENAME: LoginActivity.java | 0.187133 | package com.example.infowisatajogja;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class LoginActivity extends AppCompatActivity {
TextView to_signup;
But... |
ec52043a-e75e-4afd-99f3-6e8f49388f2e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-09 13:00:51", "repo_name": "MasayaOkuda/Facebook_login", "sub_path": "/src/dao/CreateUserDAO.java", "file_name": "CreateUserDAO.java", "file_ext": "java", "file_size_in_byte": 1113, "line_count": 46, "lang": "... | https://github.com/MasayaOkuda/Facebook_login | 216 | FILENAME: CreateUserDAO.java | 0.282196 | package dao;
import java.sql.*;
public class CreateUserDAO {
Connection con;
public void createUser(String login_id, String inPassword) throws SQLException {
try {
Class.forName("com.mysql.cj.jdbc.Driver");
String url = "jdbc:mysql://localhost:3306/facebook3";
S... |
f723a377-3d78-41b5-9ac5-b93bbfc3dc63 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-16 09:53:58", "repo_name": "artcodelcy/webSocketDemo", "sub_path": "/src/main/java/com/websocket/push/push.java", "file_name": "push.java", "file_ext": "java", "file_size_in_byte": 1027, "line_count": 37, "lan... | https://github.com/artcodelcy/webSocketDemo | 231 | FILENAME: push.java | 0.23092 | package com.websocket.push;
import com.alibaba.fastjson.JSON;
import com.websocket.model.Message;
import com.websocket.webSocket.WebSocketServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
/**
* 后端定时任务推送消息
* @author Li... |
e5621a91-9391-45ad-9ce2-3b02ed7b2fd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-06 11:17:42", "repo_name": "AndreyGermanov/myplaces_android_client", "sub_path": "/app/src/main/java/ru/itport/andrey/myplaces/models/Place.java", "file_name": "Place.java", "file_ext": "java", "file_size_in_b... | https://github.com/AndreyGermanov/myplaces_android_client | 219 | FILENAME: Place.java | 0.239349 | package ru.itport.andrey.myplaces.models;
import android.database.Cursor;
import android.util.Log;
/**
* Created by andrey on 2/5/18.
*/
public class Place extends DBModel {
String name;
String id;
double lat;
double lng;
String description;
String tableName;
public void parseRow(Curs... |
ff5ab7e6-5d2c-41d5-b95a-1760cdd5be13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-31 07:24:06", "repo_name": "YangQingQ666/sannuo", "sub_path": "/src/main/java/com/xr/util/HibernateUtil.java", "file_name": "HibernateUtil.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 41... | https://github.com/YangQingQ666/sannuo | 213 | FILENAME: HibernateUtil.java | 0.253861 | package com.xr.util;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class HibernateUtil {
@Autowi... |
b62cf56d-30cc-4427-9ecc-3ef274664a9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-19 10:16:06", "repo_name": "a7956232/Survey", "sub_path": "/src/main/java/com/yxj/interceptor/RightFilterInterceptor.java", "file_name": "RightFilterInterceptor.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/a7956232/Survey | 247 | FILENAME: RightFilterInterceptor.java | 0.249447 | package com.yxj.interceptor;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.ActionProxy;
import com.opensymphony.xwork2.interceptor.Interceptor;
import com.yxj.action.BaseAction;
import com.yxj.aware.UserAware;
import com.yxj.entity.User;
import com.yxj.entity.security.Right;
import co... |
f27fd7e7-8ccf-439a-9b60-a279cda825a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-09-06 03:06:08", "repo_name": "LoyolaChicagoCode/restlet-book-examples", "sub_path": "/src/main/java/org/restlet/example/book/restlet/ch4/HelloWorldResource.java", "file_name": "HelloWorldResource.java", "file_ex... | https://github.com/LoyolaChicagoCode/restlet-book-examples | 207 | FILENAME: HelloWorldResource.java | 0.27048 | package org.restlet.example.book.restlet.ch4;
import org.restlet.Context;
import org.restlet.data.MediaType;
import org.restlet.data.Request;
import org.restlet.data.Response;
import org.restlet.resource.Representation;
import org.restlet.resource.Resource;
import org.restlet.resource.ResourceException;
import ... |
f4d37db0-da9c-4a49-9358-50724c7d049c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-04 15:08:45", "repo_name": "nagendra1010/Cucumber", "sub_path": "/src/test/java/ReusableFunctions/ConfigFileReader.java", "file_name": "ConfigFileReader.java", "file_ext": "java", "file_size_in_byte": 987, "li... | https://github.com/nagendra1010/Cucumber | 191 | FILENAME: ConfigFileReader.java | 0.289372 | package ReusableFunctions;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
public class ConfigFileReader {
Properties properties;
final String testProperties_filePath = "configuration//global.properties";
pub... |
a8e74289-d83d-4278-aa26-e9ef7172dfdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-31 07:48:41", "repo_name": "MCC2689920998/designMode", "sub_path": "/src/main/java/structural/proxy/jdk/MyInvocationHandler.java", "file_name": "MyInvocationHandler.java", "file_ext": "java", "file_size_in_byt... | https://github.com/MCC2689920998/designMode | 258 | FILENAME: MyInvocationHandler.java | 0.27048 | package structural.proxy.jdk;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
/**
* @Author MCC
* @Create 2019/7/28 10:59
* JDK 自带的动态代理
* java.lang.reflect.Proxy:生成动态代理类和对象;
* java.lang.reflect.InvocationHandler(处理器接口):可以通过invoke方法实现
* 对真实角色的代理访问。
* 每次通过 Proxy 生成的代理类对象都要指定对应的处理器对象。... |
e6ebef5b-7fb6-4263-865b-57ab849accfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-25 14:46:25", "repo_name": "EfanRu/Spring-Boot-JUnit", "sub_path": "/src/main/java/com/example/spring_junit/model/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1138, "line_coun... | https://github.com/EfanRu/Spring-Boot-JUnit | 241 | FILENAME: Role.java | 0.256832 | package com.example.spring_junit.model;
import org.springframework.security.core.GrantedAuthority;
import javax.persistence.*;
import java.util.Collection;
import java.util.Objects;
@Entity
@Table(name = "roles")
public class Role implements GrantedAuthority {
@Id
@Column(name = "role_id", unique = true)
... |
63b56734-e1d3-4f92-87fe-8c39e58859b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-30 21:09:57", "repo_name": "broadmindco/timely", "sub_path": "/src/main/java/io/nomondays/timely/auth/config/CustomUserDetailsService.java", "file_name": "CustomUserDetailsService.java", "file_ext": "java", "f... | https://github.com/broadmindco/timely | 162 | FILENAME: CustomUserDetailsService.java | 0.217338 | package io.nomondays.timely.auth.config;
import io.nomondays.timely.auth.domain.CustomUserDetails;
import io.nomondays.timely.auth.exception.LoginFailedException;
import io.nomondays.timely.user.service.UserService;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.c... |
a1ccd021-9094-40b6-a282-4cfa922fa1dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-13 02:31:06", "repo_name": "savannaholson/EntJavaIndividualProject", "sub_path": "/BookTracker/src/entity/UserRole.java", "file_name": "UserRole.java", "file_ext": "java", "file_size_in_byte": 1196, "line_coun... | https://github.com/savannaholson/EntJavaIndividualProject | 260 | FILENAME: UserRole.java | 0.225417 | package entity;
/**
* Created by savannaholson on 3/10/16.
*/
public class UserRole {
private String username;
private String roleName;
/**
* constructor to set all values
*
* @param username the username
* @param roleName the rolename
*/
public UserRole(String username, St... |
0f5e063f-11d6-492a-9a41-dbcc24022857 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-30 12:36:31", "repo_name": "ctpconsulting/cdise", "sub_path": "/archiver/archiver-main/src/main/java/com/ctp/javaone/archiver/command/ChangeDirectory.java", "file_name": "ChangeDirectory.java", "file_ext": "ja... | https://github.com/ctpconsulting/cdise | 210 | FILENAME: ChangeDirectory.java | 0.267408 | package com.ctp.javaone.archiver.command;
import java.io.File;
import javax.enterprise.event.Event;
import javax.inject.Inject;
import org.apache.commons.io.FileUtils;
@ShellCommand("cd")
public class ChangeDirectory implements Command {
@Inject
private File currentDirectory;
@Inject
priva... |
65940a18-60eb-4c39-a924-74154f88932f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-12-01T13:14:10", "repo_name": "ff6347/duration-and-processing", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1092, "line_count": 31, "lang": "en", "doc_type": "te... | https://github.com/ff6347/duration-and-processing | 291 | FILENAME: README.md | 0.286169 | duration-and-processing
=======================

I had to fiddle with duration after seeing somebody fork it on ny github feed. See a quick [screenrecord on vimeo](http://vimeo.com/80712056)
1. get the [Duration.app](http://duration.cc) - [Code](https://github.com/YCAMInterlab/Duratio... |
ed490145-9e79-40d1-9e49-0e0eedaa66b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-07 15:40:10", "repo_name": "gcivanov/Projects", "sub_path": "/android/eclipse/Cinema/src/com/example/cinema/model/Movies.java", "file_name": "Movies.java", "file_ext": "java", "file_size_in_byte": 1115, "line_... | https://github.com/gcivanov/Projects | 300 | FILENAME: Movies.java | 0.286968 | package com.example.cinema.model;
import java.io.Serializable;
public class Movies implements Serializable {
private static final long serialVersionUID = 8797872986654688666L;
private long id;
private String name;
private int year;
private AllProjections allProjections; /////
public Movies(){
}
... |
53ce23f9-abe8-4550-8eba-ecfb7f00f55c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-21 00:46:56", "repo_name": "RJDove/designPattren", "sub_path": "/src/com/rj/design/study/interpreter/eg2/Context.java", "file_name": "Context.java", "file_ext": "java", "file_size_in_byte": 1229, "line_count":... | https://github.com/RJDove/designPattren | 293 | FILENAME: Context.java | 0.258326 | package com.rj.design.study.interpreter.eg2;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
/**
* 上下文
* @author renjin
* @date 2020/1/10
*/
public class Context {
/**
* 上次被处理的元素
*/
private Element preEle;
/**
* Dom解析xml的Document对象
*/
pri... |
a5b34fce-bf21-4bc3-91f4-b005921f8d7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-07 23:34:27", "repo_name": "wiredcats/EventBasedWiredCats", "sub_path": "/src/Util2415/BlockingQueue.java", "file_name": "BlockingQueue.java", "file_ext": "java", "file_size_in_byte": 991, "line_count": 50, "l... | https://github.com/wiredcats/EventBasedWiredCats | 183 | FILENAME: BlockingQueue.java | 0.246533 | package Util2415;
import java.util.Vector;
/**
* Queue used to organize events in systems
*
* @author Robotics
*/
public class BlockingQueue {
private Vector queue; //events are held here
public BlockingQueue(int limit) {
queue = new Vector(limit);
}
public synchronized... |
bda748de-1693-4305-84b4-c883c5170e35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-27 19:23:18", "repo_name": "AlexisRossat/Polytech-2017-5A-alternance-ROSSAT", "sub_path": "/app/src/main/java/com/example/epulapp/projetandroid/MyBroadcastReceiver.java", "file_name": "MyBroadcastReceiver.java... | https://github.com/AlexisRossat/Polytech-2017-5A-alternance-ROSSAT | 207 | FILENAME: MyBroadcastReceiver.java | 0.240775 | package com.example.epulapp.projetandroid;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.TaskStackBuilder;
import android.support.v4.app.NotificationCompat;... |
2d396c55-6cea-4009-8edb-74f2391c3f61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-02 14:12:07", "repo_name": "ISOTOPE-Studio/Evolution", "sub_path": "/src/cc/isotopestudio/evolution/sql/SqlManager.java", "file_name": "SqlManager.java", "file_ext": "java", "file_size_in_byte": 1105, "line_co... | https://github.com/ISOTOPE-Studio/Evolution | 222 | FILENAME: SqlManager.java | 0.283781 | package cc.isotopestudio.evolution.sql;
/*
* Created by Mars Tan on 3/2/2017.
* Copyright ISOTOPE Studio
*/
import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;
import static cc.isotopestudio.evolution.Evolution.plugin;
public abstract class SqlManager {
public static Connecti... |
b77b945a-24b2-46a3-af1c-48e651732d36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17T15:31:54", "repo_name": "antoninastefanowska/SocialSynchro", "sub_path": "/app/src/main/java/com/antonina/socialsynchro/services/twitter/rest/requests/TwitterRequest.java", "file_name": "TwitterRequest.java... | https://github.com/antoninastefanowska/SocialSynchro | 201 | FILENAME: TwitterRequest.java | 0.242206 | package com.antonina.socialsynchro.services.twitter.rest.requests;
import com.antonina.socialsynchro.common.rest.BaseRequest;
import com.antonina.socialsynchro.services.twitter.rest.authorization.TwitterAuthorizationStrategy;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
@SuppressWarnings(... |
2e89206a-e416-46b3-b394-f572cc6c2687 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T22:44:05", "repo_name": "cloudflare/cloudflare-docs", "sub_path": "/content/support/Third-Party Software/Content Management System (CMS)/Can I use WordPress caching plugins like Super Cache or W3 Total ... | https://github.com/cloudflare/cloudflare-docs | 272 | FILENAME: Can I use WordPress caching plugins like Super Cache or W3 Total Cache (W3TC) with Cloudflare.md | 0.210766 | ---
pcx_content_type: troubleshooting
source: https://support.cloudflare.com/hc/en-us/articles/200169756-Can-I-use-WordPress-caching-plugins-like-Super-Cache-or-W3-Total-Cache-W3TC-with-Cloudflare-
title: Can I use WordPress caching plugins like Super Cache or W3 Total Cache (W3TC) with Cloudflare
---
# Can I use Word... |
40788cd8-6225-4091-8d76-f6e833a16231 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-16 01:56:51", "repo_name": "yosmellopez/planificacion", "sub_path": "/src/com/planning/util/RestModelAndView.java", "file_name": "RestModelAndView.java", "file_ext": "java", "file_size_in_byte": 1070, "line_co... | https://github.com/yosmellopez/planificacion | 205 | FILENAME: RestModelAndView.java | 0.286169 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.planning.util;
import java.util.Map;
import org.springframework.http.HttpStatus;
import org.springframework.ui.ModelMap;
i... |
cae849f7-7cc8-4f61-a244-4d6905cb0e01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-18 05:49:47", "repo_name": "ravaneswaran/techsocialist", "sub_path": "/source-code/java/os-stripper/os-stripper-api/src/main/java/com/techsocialist/os/stripper/service/api/IOperatingSystemStripperService.java"... | https://github.com/ravaneswaran/techsocialist | 234 | FILENAME: IOperatingSystemStripperService.java | 0.261331 | package com.techsocialist.os.stripper.service.api;
import com.techsocialist.os.stripper.model.api.IEnvironmentVariable;
import com.techsocialist.os.stripper.model.api.IProcess;
import com.techsocialist.os.stripper.model.api.ISystemProperty;
import java.io.IOException;
import java.util.List;
public interface IOperati... |
fbb7dcad-7613-44e4-949b-035ddee8187d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 09:32:54", "repo_name": "dhirajn72/datastructureAndAlgorithms", "sub_path": "/core/src/main/java/interview/SetWithDups.java", "file_name": "SetWithDups.java", "file_ext": "java", "file_size_in_byte": 1064, ... | https://github.com/dhirajn72/datastructureAndAlgorithms | 259 | FILENAME: SetWithDups.java | 0.290981 | package interview;
import java.util.HashSet;
import java.util.Set;
/**
* @author Dhiraj
* @date 14/01/19
*/
public class SetWithDups {
public static void main(String[] args) {
Set<Emp> emps= new HashSet<>();
emps.add(new Emp(1,"dk"));
emps.add(new Emp(1,"dk"));
System.out.printl... |
4335da82-87b5-404c-9985-0ac4dfc8a681 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-30T16:30:54", "repo_name": "duongnn/voldemort-monitor", "sub_path": "/predicatedetectionlib/src/main/java/predicatedetectionlib/common/clientgraph/ClientGraphNode.java", "file_name": "ClientGraphNode.java", "f... | https://github.com/duongnn/voldemort-monitor | 251 | FILENAME: ClientGraphNode.java | 0.275909 | package predicatedetectionlib.common.clientgraph;
import java.util.HashMap;
/**
* Created by duongnn on 11/21/17.
* The class describing a node in the line graph
* This class will be used by clientGraph program
*/
public class ClientGraphNode {
String name;
ClientGraphNodeType type;
// A mapping of a... |
87428180-8025-411a-bfe8-a4ac3a1e6a25 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-26 06:20:23", "repo_name": "dzbUser/home-word1", "sub_path": "/src/main/java/com/aiwan/server/base/executor/scene/SceneExecutorService.java", "file_name": "SceneExecutorService.java", "file_ext": "java", "file... | https://github.com/dzbUser/home-word1 | 225 | FILENAME: SceneExecutorService.java | 0.274351 | package com.aiwan.server.base.executor.scene;
import com.aiwan.server.base.executor.ICommand;
import com.aiwan.server.base.executor.scene.impl.AbstractSceneDelayCommand;
import com.aiwan.server.base.executor.scene.impl.AbstractSceneRateCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
25a647a9-b1f3-44b5-82f8-bcae73688f2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-12 11:39:15", "repo_name": "MarcoM5/mongo-crud", "sub_path": "/src/main/java/com/bm/mongocrud/dataaccessobject/MovieDao.java", "file_name": "MovieDao.java", "file_ext": "java", "file_size_in_byte": 1191, "line... | https://github.com/MarcoM5/mongo-crud | 241 | FILENAME: MovieDao.java | 0.279828 | package com.bm.mongocrud.dataaccessobject;
import com.bm.mongocrud.model.Movie;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Optional;
@Slf4j
@Component
@Requi... |
a18a1bd1-8dd3-45fc-a068-b47383708a41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 02:37:49", "repo_name": "liepeiming/xposed_chatbot", "sub_path": "/alimama/src/main/java/com/taobao/pexode/entity/IncrementalStaging.java", "file_name": "IncrementalStaging.java", "file_ext": "java", "file_... | https://github.com/liepeiming/xposed_chatbot | 228 | FILENAME: IncrementalStaging.java | 0.282196 | package com.taobao.pexode.entity;
import android.graphics.Bitmap;
public class IncrementalStaging {
private final Bitmap mInterBitmap;
private long mNativeConfigOut;
private final NativeDestructor mNativeDestructor;
public interface NativeDestructor {
void destruct(long j);
}
public ... |
f21ffa90-53ae-4cea-a8a7-864cac1bb0c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-24T07:55:08", "repo_name": "Misterinecompany/DryIoc.Transactions", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1198, "line_count": 36, "lang": "en", "doc_type... | https://github.com/Misterinecompany/DryIoc.Transactions | 231 | FILENAME: readme.md | 0.213377 | # DryIoc Transactions (port from Castle.Transactions https://github.com/castleproject/Castle.Transactions)
A project for transaction management on .NET Standard.
## Quick Start
NuGet package is currently not exist.
### Castle Transactions
The original project that manages transactions.
#### Main Features
* Regu... |
85ec7cbe-1e4c-415d-972f-789ca44e2a63 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-28 12:32:56", "repo_name": "289991233/BaseNetWork", "sub_path": "/network/src/main/java/basenetword/jack/com/network/http/models/TBaseModel.java", "file_name": "TBaseModel.java", "file_ext": "java", "file_size... | https://github.com/289991233/BaseNetWork | 245 | FILENAME: TBaseModel.java | 0.264358 | package basenetword.jack.com.network.http.models;
import basenetword.jack.com.network.utils.Loger;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.disposables.Disposable;
/**
* 描 述:
* 创 建 人:SDX
* 创建日期:2017/6/19 16:10
* 修订历史:
* 修 改 人:
*/
public abstract class TBaseModel implements B... |
425646c8-50dd-4b2e-84ab-c598bef80602 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-16 15:09:07", "repo_name": "yuanchangyue/j2ee-final-work", "sub_path": "/src/main/java/com/changyue/j2eefinal/validator/ValidatorResult.java", "file_name": "ValidatorResult.java", "file_ext": "java", "file_siz... | https://github.com/yuanchangyue/j2ee-final-work | 280 | FILENAME: ValidatorResult.java | 0.252384 | package com.changyue.j2eefinal.validator;
import org.apache.commons.lang3.StringUtils;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
/**
* @program: j2eework-9
* @description:
* @author: 袁阊越
* @create: 2019-12-12 21:53
*/
public class ValidatorResult {
/**
* 是否有错
*/
... |
dabcf4d3-e8ab-4b1c-ac10-c2282ed3a056 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-27 06:07:59", "repo_name": "solomonshihundu/SimpleRestBackend", "sub_path": "/src/main/java/com/ss/rest/api/simplebackend/SimpleBackendApplication.java", "file_name": "SimpleBackendApplication.java", "file_ext... | https://github.com/solomonshihundu/SimpleRestBackend | 200 | FILENAME: SimpleBackendApplication.java | 0.255344 | package com.ss.rest.api.simplebackend;
import com.ss.rest.api.simplebackend.model.ERole;
import com.ss.rest.api.simplebackend.model.Role;
import com.ss.rest.api.simplebackend.repository.RoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
... |
c1cd5581-e758-4845-b318-77ad297a55ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-04 17:09:48", "repo_name": "rylo/BubbleSort-Strategy-Pattern", "sub_path": "/src/BubbleSort.java", "file_name": "BubbleSort.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 37, "lang": "en",... | https://github.com/rylo/BubbleSort-Strategy-Pattern | 217 | FILENAME: BubbleSort.java | 0.275909 | import java.util.ArrayList;
public class BubbleSort {
private SortStrategy strategy;
void setSortStrategy(SortStrategy strategy) {
this.strategy = strategy;
}
public void sort(ArrayList collectionToSort){
Object first, second;
boolean swapHappened = true;
while(swapHa... |
278739cd-30d7-46a4-b3a1-13ccb6dae009 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-13 15:14:34", "repo_name": "accasio/partA", "sub_path": "/src/main/java/Course.java", "file_name": "Course.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 50, "lang": "en", "doc_type": "cod... | https://github.com/accasio/partA | 226 | FILENAME: Course.java | 0.273574 | /**
* Created by accas on 03/10/2017.
*/
import org.joda.time.*;
public class Course {
private String courseName;
private Module[] modules;
private DateTime startDate;
private DateTime endDate;
public Course(String courseName, Module[] modules, DateTime startDate, DateTime endDate) {
... |
73e9acda-40e2-4a91-a676-ae1a8154b141 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-21 23:21:20", "repo_name": "Robots-R-Us/CL2020", "sub_path": "/src/main/java/frc/robot/commands/Drive.java", "file_name": "Drive.java", "file_ext": "java", "file_size_in_byte": 976, "line_count": 43, "lang": "... | https://github.com/Robots-R-Us/CL2020 | 212 | FILENAME: Drive.java | 0.246533 | package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.Constants;
import frc.robot.RobotContainer;
import frc.robot.subsystems.Drivebase;
import util.GameData;
public class Drive extends CommandBase {
private Drivebase driveBase;
private boolean isFinished = false;
... |
0e7c026b-05a9-46da-9b12-65f90fbf0c41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-02 15:23:12", "repo_name": "therealshabi/Eventos", "sub_path": "/app/src/main/java/app/com/thetechnocafe/eventos/HomeStreamActivity.java", "file_name": "HomeStreamActivity.java", "file_ext": "java", "file_size... | https://github.com/therealshabi/Eventos | 203 | FILENAME: HomeStreamActivity.java | 0.216012 | package app.com.thetechnocafe.eventos;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import app.com.thetechnocafe.eventos.Utils.SharedPreferencesUtils;
public class HomeStreamActivity extends AppCompat... |
1371df7b-68bc-4c7d-b970-5fd3ed179150 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-30T19:10:18", "repo_name": "SarahJoline/google-books", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1234, "line_count": 53, "lang": "en", "doc_type": "text", "... | https://github.com/SarahJoline/google-books | 277 | FILENAME: README.md | 0.239349 | # google-books

### What the app does:
This app used the Google Books API so users can look for books. They can then save the book to MongoDB to create a reading list. They can later check the books off their list with the delete button. Clicking on the book will bring... |
0cbe278a-6898-4372-b061-2038b16b1444 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-13 10:16:51", "repo_name": "wood23636/mp3gain-analyst", "sub_path": "/src/main/java/be/sonck/mp3gain/impl/process/analysis/ErrorStreamListener.java", "file_name": "ErrorStreamListener.java", "file_ext": "java"... | https://github.com/wood23636/mp3gain-analyst | 233 | FILENAME: ErrorStreamListener.java | 0.282988 | package be.sonck.mp3gain.impl.process.analysis;
import java.io.File;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import be.sonck.mp3gain.api.model.ProgressIndicator;
import be.sonck.mp3gain.api.service.Mp3GainAnalysisListener;
import be.sonck.mp3gain.impl.factory.ProgressIndicatorFactory;
imp... |
6f98592d-f992-4db6-819a-58f333a812e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-04 03:36:18", "repo_name": "iBlueBRs/InLogin", "sub_path": "/src/com/br/login/login.java", "file_name": "login.java", "file_ext": "java", "file_size_in_byte": 1089, "line_count": 34, "lang": "en", "doc_type": ... | https://github.com/iBlueBRs/InLogin | 202 | FILENAME: login.java | 0.195594 | package com.br.login;
import com.br.Main;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class login implements CommandExecutor {
@Override
public boolean onCommand(CommandSender Sender, Command cmd... |
091138ec-2833-4364-9e74-7ceec8e8afc3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-30T11:38:28", "repo_name": "denis1stomin/multithreaded-file-archiver", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1136, "line_count": 35, "lang": "en", "doc_... | https://github.com/denis1stomin/multithreaded-file-archiver | 303 | FILENAME: README.md | 0.284576 | # Multithreaded file archiver
Simple multithreaded file archiver implemented using dotnet core framework.
Most commands below are for Linux system but it is just because I have Ubuntu on my home machine. The commands can be easily tuned for Windows or even used as-is on Windows.
## Requirements
- Input files can be ... |
7f4019f2-9cae-4a95-bb33-65d5bd9c0692 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-21 03:29:36", "repo_name": "hcsp/thread-local-bug", "sub_path": "/src/main/java/com/github/hcsp/service/UserContextInterceptor.java", "file_name": "UserContextInterceptor.java", "file_ext": "java", "file_size_... | https://github.com/hcsp/thread-local-bug | 183 | FILENAME: UserContextInterceptor.java | 0.276691 | package com.github.hcsp.service;
import com.github.hcsp.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Component;
import or... |
770fdfcc-bf98-43c0-ae4d-232851417063 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-20 01:44:03", "repo_name": "fangzi123/weixin", "sub_path": "/src/main/java/com/micro/rent/common/support/ShiroHelper.java", "file_name": "ShiroHelper.java", "file_ext": "java", "file_size_in_byte": 1103, "line... | https://github.com/fangzi123/weixin | 307 | FILENAME: ShiroHelper.java | 0.277473 | package com.micro.rent.common.support;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;
import com.micro.rent.biz.shiro.ShiroDbRealm.ShiroUser;
/**
* @Description shiro框架帮助类
* @author
* @date 2013-3-21
* @version 1.0
*/
public class ShiroHelper {
/**
* @Description 获取当前登录用... |
8909220e-83f3-405d-b10a-3b0da93de3ed | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-26 12:45:45", "repo_name": "Team1425/zbdx", "sub_path": "/src/com/zb/servlet/WjDownexcelServlet.java", "file_name": "WjDownexcelServlet.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 32, "... | https://github.com/Team1425/zbdx | 217 | FILENAME: WjDownexcelServlet.java | 0.235108 | package com.zb.servlet;
import com.zb.utils.WjExcelPOI;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
impor... |
200a427c-6ccc-4e15-b492-35d33e4a9eee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-21 16:52:13", "repo_name": "saksam/Campus_Recruitment", "sub_path": "/app/src/main/java/com/wix/traitsoft/tpo_mnnit/Graph_Draw.java", "file_name": "Graph_Draw.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/saksam/Campus_Recruitment | 269 | FILENAME: Graph_Draw.java | 0.295027 | package com.wix.traitsoft.tpo_mnnit;
/**
* Created by saksham_ on 12-Oct-17.
*/
public class Graph_Draw {
private int cse;
private int ece;
private int mech;
private int civil;
private int ee;
private int bio;
private int it;
private int chem;
Graph_Draw(int cs... |
6195a984-68f2-4805-b488-28d6288a59b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-14 09:55:44", "repo_name": "ProFewGames/CustomStaff", "sub_path": "/src/main/java/xyz/ufactions/customstaff/file/LanguageFile.java", "file_name": "LanguageFile.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/ProFewGames/CustomStaff | 232 | FILENAME: LanguageFile.java | 0.233706 | package xyz.ufactions.customstaff.file;
import org.bukkit.plugin.java.JavaPlugin;
public class LanguageFile extends FileHandler {
public enum Language {
ENGLISH("language_en.yml"),
SPANISH("language_es.yml");
private final String resourcePath;
Language(String resourcePath) {
... |
10049b68-0497-4690-8a8d-9fb3c92ff481 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-16 00:27:19", "repo_name": "tryup2021/yypp1", "sub_path": "/src/main/java/com/phome/yypp/service/impl/NumsServiceImpl.java", "file_name": "NumsServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1024, ... | https://github.com/tryup2021/yypp1 | 231 | FILENAME: NumsServiceImpl.java | 0.278257 | package com.phome.yypp.service.impl;
import com.phome.yypp.dao.NumsMapper;
import com.phome.yypp.pojo.Nums;
import com.phome.yypp.service.NumsService;
import org.apache.logging.log4j.message.ReusableMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
i... |
1c0d6a20-021d-46aa-aa95-c809b7a8ce3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 20:32:02", "repo_name": "basme/staged_jpa_demo", "sub_path": "/src/test/java/com/netcracker/training/hibernate/demo/scenario/Stage3Stomach.java", "file_name": "Stage3Stomach.java", "file_ext": "java", "file... | https://github.com/basme/staged_jpa_demo | 219 | FILENAME: Stage3Stomach.java | 0.286968 | package com.netcracker.training.hibernate.demo.scenario;
import com.netcracker.training.hibernate.demo.config.HibernateConfig;
import com.netcracker.training.hibernate.demo.model.Stomach;
import com.netcracker.training.hibernate.demo.service.repo.StomachRepo;
import org.junit.Test;
import org.junit.runner.RunWith;
imp... |
ef023d65-e18f-4547-a919-bd230225301c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-09 19:05:06", "repo_name": "SyedAzharAsghar/Jaxbook", "sub_path": "/app/src/main/java/com/jaxbook/Timeline/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1137, "... | https://github.com/SyedAzharAsghar/Jaxbook | 211 | FILENAME: MainActivity.java | 0.256832 | package com.jaxbook.Timeline;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends AppCompatActivity {
private WebView webView;
private WebSettings web... |
d7f1a23c-d9c2-41b9-8ea1-25caea9dd9d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-27 12:45:29", "repo_name": "tsasfalvi/module7", "sub_path": "/src/main/java/st/service/SubscriptionFacade.java", "file_name": "SubscriptionFacade.java", "file_ext": "java", "file_size_in_byte": 965, "line_coun... | https://github.com/tsasfalvi/module7 | 162 | FILENAME: SubscriptionFacade.java | 0.278257 | package st.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import st.dto.User;
import st.entity.BookEntity;
import st.entity.UserEntity;
import st.exception.SuspendedException;
import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.