id stringlengths 36 36 | meta stringlengths 429 697 | code_content large_stringlengths 612 1.26k |
|---|---|---|
65eb63a0-f183-42b7-a778-d831f26fb775 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-28 17:57:36", "repo_name": "mckonieczny/ZPI", "sub_path": "/src/main/java/database/repository/LanguageRepository.java", "file_name": "LanguageRepository.java", "file_ext": "java", "file_size_in_byte": 1139, "l... | package database.repository;
import database.document.LanguageDocument;
import database.mongo.MongoRepository;
import org.bson.Document;
import java.util.ArrayList;
import java.util.List;
import static com.mongodb.client.model.Filters.eq;
import static database.document.LanguageDocument.M_LANGUAGE;
/**
* Created b... |
ad288733-4a75-42c6-92f1-b502183bf6f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-17 07:34:49", "repo_name": "WoXinfeiyang/OrientationTest", "sub_path": "/app/src/main/java/com/fxj/orientationtest/OrientationEventListenerActivity.java", "file_name": "OrientationEventListenerActivity.java", ... | package com.fxj.orientationtest;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.OrientationEventListener;
public class OrientationEventListenerActivity extends Activity {
private String TAG=OrientationEventListenerActivity.class.getSimpleName();
private Or... |
5d18e86e-f176-42b7-b194-458cf5c83d16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-19 11:00:49", "repo_name": "radeckid/Pixel_Warriors_JavaFX", "sub_path": "/src/pixel_warriors/ExitPrompt.java", "file_name": "ExitPrompt.java", "file_ext": "java", "file_size_in_byte": 1145, "line_count": 39, ... | package pixel_warriors;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonType;
import javafx.stage.Stage;
import java.util.Optional;
public class ExitPrompt {
public void makePrompt(Stage stage) {
Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
alert.setTitle("Juz uci... |
93fe5d52-90d5-4475-9515-c3e3005a3766 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-01 03:45:28", "repo_name": "pomiyo/FinalTrash", "sub_path": "/app/src/main/java/com/example/taquio/trasearch/BusinessProfile/BusinessSellFragment.java", "file_name": "BusinessSellFragment.java", "file_ext": "j... | package com.example.taquio.trasearch.BusinessProfile;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
... |
7da1cb7a-6023-46a2-becc-e488d977d0f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-03 22:35:55", "repo_name": "rafalkalita/spring-dojo", "sub_path": "/loffice/src/main/java/com/rafalkalita/rmwlex/HomeController.java", "file_name": "HomeController.java", "file_ext": "java", "file_size_in_byte... | package com.rafalkalita.rmwlex;
import java.util.Locale;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.Request... |
589bd11b-c912-4755-b70a-2fd754c23897 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 01:51:06", "repo_name": "Moonphy/oldProject", "sub_path": "/crm/crm-web/crm-web-biz/src/main/java/com/qipeipu/crm/dtos/user/UserWxDTO.java", "file_name": "UserWxDTO.java", "file_ext": "java", "file_size_in_... | package com.qipeipu.crm.dtos.user;
import java.beans.ConstructorProperties;
import lombok.Data;
import lombok.experimental.Builder;
@Builder
@Data
public class UserWxDTO {
/**
* 用户ID
*/
private Integer userId;
/**
* 用户名
*/
private String userName;
/**
* 是否为管理员
*/
private Boolean isAdmin;
/**
* ... |
42731375-09f3-4da9-800d-f995a8e29ffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-23T18:22:04", "repo_name": "airtightdesign/atd-request.js", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1138, "line_count": 47, "lang": "en", "doc_type": "tex... | # atd-request.js
## Simple XHR wrapper with Promises
### Makes `GET`, `POST`, `UPDATE` and `DELETE` http requests and returns a `Promise`.
### Installation
`npm install --save atd-request`
### Usage
```
import Request from 'atd-request.js';
Request.get(url, headers).then(response => {
//process response;
});... |
595c6888-c55a-4223-bb3e-226036039f9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-30 09:08:51", "repo_name": "nbeliaev/2019-12-otus-java-beliaev", "sub_path": "/L30-message-system/src/main/java/ru/otus/socketrpocessor/SocketClient.java", "file_name": "SocketClient.java", "file_ext": "java",... | package ru.otus.socketrpocessor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.otus.messagesystem.Message;
import java.io.BufferedOutputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;
public class SocketClient {
private static final Logger logger = LoggerFactory.getLogger(... |
fa18063c-15b1-4299-81d5-0543f339829d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-20 15:57:24", "repo_name": "RaulDr/learningProject", "sub_path": "/leaningProject/src/main/java/com/learningProject/config/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 113... | package com.learningProject.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import com.learningProject.controller.GraphQLControl... |
3f836134-0241-4e5c-86c8-bfeefd2e013b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-23 16:13:37", "repo_name": "xrodrigo1982x/microservices-follow", "sub_path": "/src/main/java/com/tweet/follow/model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1143, "line_co... | package com.tweet.follow.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.neo4j.graphdb.Direction;
import org.springframework.data.annotation.Transient;
import org.springframework.data.neo4j.a... |
3848661d-382a-4d9c-aa69-1a18bad48966 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-02 00:05:38", "repo_name": "hliu89/ITMD555_HongqiaoLiu", "sub_path": "/app/src/main/java/com/xk/CarRenting/frontend/adapter/LoginPagerAdapter.java", "file_name": "LoginPagerAdapter.java", "file_ext": "java", "... | package com.xk.CarRenting.frontend.adapter;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.xk.CarRenting.app.Constant;
import com.xk.CarRenting.frontend.fragment.LoginFragment;
import jav... |
77ed5ef2-db32-4129-9af2-3d4babf2885d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-06 17:57:19", "repo_name": "cnlkl/ConfigurableFrameLayout", "sub_path": "/app/src/main/java/cn/lkllkllkl/configurableframelayoutsample/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", ... | package cn.lkllkllkl.configurableframelayoutsample;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import cn.lkllkllkl.configurableframelayout.DraggableImageView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
02301545-6286-45fb-a06e-14c2fac10184 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-04-18T22:32:53", "repo_name": "ITMCdev/vscode-extensions", "sub_path": "/node/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1139, "line_count": 32, "lang": "en", "doc_type... | # Change Log
All notable changes to the `node-extension-pack` extension pack will be documented in this file.
## 0.1.0 - 2021-04-20
- Removed `steoates.autoimport` (to be moved to `node-typescript-extension-pack`), `eg2.vscode-npm-script`, `vscode-proto3`.
- Added `ms-vscode.node-debug2`, `chris-noring.node-snippets... |
e53d7c93-de9a-4d19-a81f-1ae0ce521166 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-07 21:56:40", "repo_name": "RoboEagles4828/Aetos", "sub_path": "/src/org/usfirst/frc/team4828/modules/Conveyor.java", "file_name": "Conveyor.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": ... | package org.usfirst.frc.team4828.modules;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.hal.CanTalonSRX;
public class Conveyor {
Talon conveyorMotor;
Talon liftMotor;
private static final double rollSpeed = 0.5;
private static final double flipUpSpeed = 0.8;
private static final double flipD... |
51fa3913-5776-46f2-a99d-d3753d353b11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-22 11:51:22", "repo_name": "pan2636172514/babasport", "sub_path": "/babasport-service-product/src/test/java/cn/itcast/test/TestProduct.java", "file_name": "TestProduct.java", "file_ext": "java", "file_size_in_... | package cn.itcast.test;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import ... |
bfe46291-603d-4cfc-91cc-003d78fb7010 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-17 15:12:55", "repo_name": "abdasik25/OneMusic", "sub_path": "/src/by/epam/onemusic/entity/Playlist.java", "file_name": "Playlist.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 56, "lang":... | /**
* Created by Alexander Lomat on 13.05.19
* version 0.0.1
*/
package by.epam.onemusic.entity;
import java.util.List;
import java.util.Objects;
public class Playlist extends Entity {
private String name;
private List<Song> playlist; //???
public Playlist(){
}
public String getName() {
... |
2be4f4d4-04b9-4355-a6b8-101c6732e97b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-16 21:48:32", "repo_name": "riyagarg2019/Optimize", "sub_path": "/app/src/main/java/com/data/directions/Route.java", "file_name": "Route.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 58, ... | package com.data.directions;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Route {
@SerializedName("copyrights")
@Expose
private String copyrights;
@SerializedName("legs")
@Expose
private List<Leg> legs = null... |
a1db67cc-d792-47d0-9113-57bd88af508f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-10 14:08:13", "repo_name": "ejosiah/Identity-and-security", "sub_path": "/identity-and-security-core/src/main/java/com/jebhomenye/identityandsecurity/infrastructure/spring/UserDetailAdaptor.java", "file_name":... | package com.jebhomenye.identityandsecurity.infrastructure.spring;
import javax.inject.Inject;
import javax.inject.Named;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetail... |
08afc1f1-8b05-4a06-b47f-a387c9978c85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-09 00:18:01", "repo_name": "Livingwind/CS455-DistributedSystems-A3", "sub_path": "/src/cs455/hadoop/airline/utils/CarrierWritable.java", "file_name": "CarrierWritable.java", "file_ext": "java", "file_size_in_b... | package cs455.hadoop.airline.utils;
import com.sun.corba.se.spi.ior.Writeable;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableUtils;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
public class CarrierWritable implements Writable {
public String desc = nu... |
535f9e83-c5f8-4c2f-b3f7-d2a952109197 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-13 08:57:54", "repo_name": "dlrudal1996/workspace", "sub_path": "/SpringBoot/src/main/java/SpringBoot/service/member/MemberInfoService.java", "file_name": "MemberInfoService.java", "file_ext": "java", "file_si... | package SpringBoot.service.member;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;
import SpringBoot.command.MemberCommand;
import SpringBoot.domain.MemberDTO;
import Sp... |
4405b144-7f82-49d5-831e-2a6328f07eac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-24 13:44:55", "repo_name": "bugratuncerr/Assignments", "sub_path": "/2nd Semester/Java3/src/TextPost.java", "file_name": "TextPost.java", "file_ext": "java", "file_size_in_byte": 1140, "line_count": 50, "lang"... |
/**
* @author Rookie
*
*/
public class TextPost extends Post {
private String filePath;
private double longitude;
private double latitude;
private String tagged;
/**
* @param textContent Whenever a new text post is created,constructor set the text Content of the Post.
* @param longitude Whenever a ne... |
239862aa-569a-40d7-9cf3-0b123e99eb0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-06 12:12:50", "repo_name": "huhsay/movie_android", "sub_path": "/app/src/main/java/com/bethejustice/myapplication4/NetworkState.java", "file_name": "NetworkState.java", "file_ext": "java", "file_size_in_byte":... | package com.bethejustice.myapplication4;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.widget.Toast;
public class NetworkState {
public static final int TYPE_WIFI =1;
public static final int TYPE_MOBILE =2;
public static final int T... |
c16721fc-9fa3-4204-a0e7-fe97cf029be1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-14 20:20:44", "repo_name": "Mintiss/AND1Exam", "sub_path": "/app/src/main/java/AND1/TheRasmussen/ui/lecture_seven/LectureSevenViewModel.java", "file_name": "LectureSevenViewModel.java", "file_ext": "java", "fi... | package AND1.TheRasmussen.ui.lecture_seven;
import android.app.Application;
import android.content.SharedPreferences;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import java.util.List;
public class Le... |
75674fb4-7f75-4bf1-b18b-56e5ba34c569 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 02:34:17", "repo_name": "flytotop/shop_web02", "sub_path": "/shop_manger/shop_manger_dto/src/main/java/com/shop/dto/First_Levels.java", "file_name": "First_Levels.java", "file_ext": "java", "file_size_in_by... | package com.shop.dto;
import java.io.Serializable;
import java.util.List;
public class First_Levels implements Serializable {
private Integer first_levels_id;
private String first_level_name;
private List<Second_Levels> second_levels;
public First_Levels(){}
public First_Levels(Integer first_level... |
927dcb23-59c8-4305-95bf-2c3129ea1014 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-30 12:31:07", "repo_name": "gram7gram/DivineDefense", "sub_path": "/core/src/ua/gram/view/screen/CreditsScreen.java", "file_name": "CreditsScreen.java", "file_ext": "java", "file_size_in_byte": 1139, "line_cou... | package ua.gram.view.screen;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputAdapter;
import com.badlogic.gdx.InputMultiplexer;
import ua.gram.DDGame;
import ua.gram.controller.listener.CameraControlsListener;
import ua.gram.controller.stage.CreditsStage;
import ua.gram.utils.Log;
import ua.gram.view.Abstra... |
b5b28c5b-9784-4c9d-86c4-fdebd62dfd89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-15 14:50:22", "repo_name": "hems42/SpringBootJPAHrmsProject", "sub_path": "/src/main/java/cap_software/hrms/entities/JopPosition.java", "file_name": "JopPosition.java", "file_ext": "java", "file_size_in_byte":... | package cap_software.hrms.entities;
import cap_software.hrms.entities.utils.DateParameters;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.List;
@Da... |
b40b4dcc-8d5b-444c-a79f-cc1aef3b1b3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-07 16:52:20", "repo_name": "tdashton/thermoAndroidPi", "sub_path": "/app/src/main/java/com/ashtonandassociates/thermopi/util/AppStateManager.java", "file_name": "AppStateManager.java", "file_ext": "java", "fil... | package com.ashtonandassociates.thermopi.util;
import java.util.Date;
public class AppStateManager {
private static AppStateManager instance = null;
private AppStateManager() {}
public static AppStateManager getInstance() {
if(AppStateManager.instance == null) {
AppStateManager.instance = new AppStateManag... |
40b8254e-3f58-4ea6-ba30-1ff8e59a2541 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-06 07:45:24", "repo_name": "doraoe/gitTest", "sub_path": "/demogit/src/main/java/com/example/demogit/ThreadDemo/SemaphoneDemo.java", "file_name": "SemaphoneDemo.java", "file_ext": "java", "file_size_in_byte": ... | package com.example.demogit.ThreadDemo;
import java.util.concurrent.Semaphore;
import java.util.concurrent.TimeUnit;
/**
* 信号量
* 多线程抢多个共享资源互斥调用
* 并发线程数控制
*/
public class SemaphoneDemo {
public static void main(String[] args) {
Semaphore semaphore = new Semaphore(3);
for (int i = 0; i < 10; i++... |
43f46eb7-ab5d-4745-898d-29be462db9ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-06 04:58:42", "repo_name": "shike-me/CustomRunDe", "sub_path": "/RunDe-Android/RunDe-Android/video-module/src/main/java/com/bokecc/video/widget/RadioView.java", "file_name": "RadioView.java", "file_ext": "java... | package com.bokecc.video.widget;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import com.bokecc.video.R;
public class RadioView extend... |
35cd9a8b-2f00-4cf1-b553-f20c5fb1d49b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-31 23:38:36", "repo_name": "thaalesalves/ibm-movietitles", "sub_path": "/src/main/java/es/thalesalv/ibmtest/controller/MovieController.java", "file_name": "MovieController.java", "file_ext": "java", "file_size... | package es.thalesalv.ibmtest.controller;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.... |
33945a8e-2891-4a02-bf9e-ee6177e61c7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-16 12:17:01", "repo_name": "zhangxuhui1992/Java", "sub_path": "/src/new2023/juc/ReentantLockCondationTest.java", "file_name": "ReentantLockCondationTest.java", "file_ext": "java", "file_size_in_byte": 1149, "l... | package new2023.juc;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/**
* @Author zhangxuhui
* @Date 2023/4/7
* @email zxh_1633@163.com
*/
public class ReentantLockCondationTest {
static ReentrantLock lock = new ReentrantLock();
static Condition room = lock.n... |
1404df3f-e927-4c4c-9fda-21bf7e658454 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-27 06:49:11", "repo_name": "JeffRisberg/Example03", "sub_path": "/src/main/java/com/company/common/ContentType.java", "file_name": "ContentType.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count... | package com.company.common;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import java.util.HashMap;
import java.util.Map;
@Getter
@Setter
public class ContentType {
protected String name;
protected String protobufClassName;
protected boolean creatable;
pro... |
daab7bbd-1656-4284-a06a-0216dba2fc3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 13:40:55", "repo_name": "Vamdawn/binflare", "sub_path": "/src/main/java/chen/binflare/controller/UsersController.java", "file_name": "UsersController.java", "file_ext": "java", "file_size_in_byte": 1139, "l... | package chen.binflare.controller;
import chen.binflare.common.dto.ResponseDTO;
import chen.binflare.dto.users.CreateTokenReqDTO;
import chen.binflare.dto.users.CreateTokenRespDTO;
import chen.binflare.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.valida... |
2ca1ad37-0623-4b73-9f86-4ee0de4e36c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 02:39:15", "repo_name": "AlbertoSierraLopez/Estructuras_de_Datos_Avanzadas", "sub_path": "/exams/enero_2016/usecase/URJCInvest.java", "file_name": "URJCInvest.java", "file_ext": "java", "file_size_in_byte":... | package exams.enero_2016.usecase;
import material.Position;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class URJCInvest {
private Map<String, OrganizationChart> map;
public URJCInvest() {
map = new HashMap<>();
}
public Organiza... |
5cb640d2-391f-48fa-a4e7-002c4fb1269c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 07:04:19", "repo_name": "cqyisbug/WxJava", "sub_path": "/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/message/builder/TemplateCardVoteMessage.java", "file_name": "TemplateCardVoteMessage.java", "f... | package me.chanjar.weixin.cp.bean.message.builder;
import com.google.gson.annotations.SerializedName;
import lombok.Getter;
import lombok.Setter;
/**
* The type Template card vote message.
*/
@Getter
@Setter
public class TemplateCardVoteMessage extends AbstractTemplateCardMessage {
private static final long seri... |
038c8ca1-521b-4c73-9092-4af159d9f677 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-10 08:52:05", "repo_name": "Sasinda98/CPMS_Project", "sub_path": "/app/src/main/java/com/construction/app/cpms/inventoryManagement/testParcel.java", "file_name": "testParcel.java", "file_ext": "java", "file_si... | package com.construction.app.cpms.inventoryManagement;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import com.construction.app.cpms.R;
import com.construction.app.cpms.inventoryManagement.bea... |
5afbf438-bc32-4cca-9615-8369d76e35c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-27 02:11:21", "repo_name": "Celine-lzl/practising", "sub_path": "/Main (2).java", "file_name": "Main (2).java", "file_ext": "java", "file_size_in_byte": 1138, "line_count": 44, "lang": "en", "doc_type": "code"... | package jzof;
// Day1
public class Main {
public String replaceSpace(StringBuffer str) {
StringBuffer sb = new StringBuffer();
for(int i = 0; i < str.toString().length(); i++){
if(str.charAt(i) != ' '){
sb.append(str.charAt(i));
}else{
sb.appen... |
76738c0a-d3e9-4487-95fe-28c07d7af664 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-15 09:09:31", "repo_name": "sandeeprana011/MapChallenge", "sub_path": "/app/src/main/java/com/rana/mapchallenge/database/Favorite.java", "file_name": "Favorite.java", "file_ext": "java", "file_size_in_byte": 1... | package com.rana.mapchallenge.database;
import com.orm.SugarRecord;
/**
* Created by sandeeprana on 15/10/16.
* License is only applicable to individuals and non-profits
* and that any for-profit company must
* purchase a different license, and create
* a second commercial license of your
* choosing for compani... |
5034c795-be87-49a5-9a59-a8d66d8ed429 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-02 15:19:00", "repo_name": "ICE1997/Chat", "sub_path": "/app/src/main/java/com/chzu/ice/chat/activity/splash/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 1... | package com.chzu.ice.chat.activity.splash;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import com.chzu.ice.chat.R;
import com.chzu.ice.chat.activity.friendsRelations.FriendsActivity;
import com.chzu.ice.chat.activity.login.LoginActivity;
public class Spl... |
96286f6b-e8b5-4ac7-984d-e1777158996c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-20 16:19:52", "repo_name": "jannoholm/pt-ar-game-3", "sub_path": "/ProxyServer2/server/server-api/src/main/java/com/playtech/ptargame3/api/AbstractMessage.java", "file_name": "AbstractMessage.java", "file_ext"... | package com.playtech.ptargame3.api;
import com.playtech.ptargame3.common.message.Message;
import com.playtech.ptargame3.common.message.MessageHeader;
import java.nio.ByteBuffer;
public abstract class AbstractMessage implements Message {
private final MessageHeader header;
public AbstractMessage(MessageHead... |
ae078e9a-9268-4ac3-86a2-d564ee4024db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-14 19:54:37", "repo_name": "eciuca/advertisements", "sub_path": "/src/main/java/com/emanuelciuca/trainings/projects/advertisements/dto/AdvertisementDto.java", "file_name": "AdvertisementDto.java", "file_ext": ... | package com.emanuelciuca.trainings.projects.advertisements.dto;
import java.util.Objects;
import java.util.Set;
public class AdvertisementDto {
public Long id;
public String title;
public Set<AdvertisementChannelDto> channels;
private AdvertisementDto() {
}
public static AdvertisementDto ad... |
45682816-d65e-4f45-aec7-12fa9648390c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-21 03:12:36", "repo_name": "noSleepOwl/MyGitWork", "sub_path": "/src/main/java/com/cn/sleep/Ui/JavaFx.java", "file_name": "JavaFx.java", "file_ext": "java", "file_size_in_byte": 1138, "line_count": 45, "lang":... | package com.cn.sleep.Ui;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.fxml.JavaFXBuilderFactory;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.net.URL;
public class JavaFx extends Application {
public static void main(Strin... |
685ec7c4-e85a-4351-a240-79b504c7e54e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 16:40:28", "repo_name": "mehadihn/BRACUCSE470Project", "sub_path": "/app/src/test/java/com/dineout/MenuItemTest.java", "file_name": "MenuItemTest.java", "file_ext": "java", "file_size_in_byte": 1138, "line_... | package com.dineout;
import com.dineout.code.Model.order.MenuItem;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MenuItemTest {
MenuItem menuItem;
@Before
public void setup() throws Exception{
menuItem = new MenuItem("Beef Steak", "Bee... |
f5dd8d3a-bdb3-4452-8b0f-6986428e8ec4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-05 15:40:32", "repo_name": "CristianFGR/challenge-mobdev", "sub_path": "/src/main/java/com/mobdev/challengemobdev/service/dto/CharacterResponseDTO.java", "file_name": "CharacterResponseDTO.java", "file_ext": "... | package com.mobdev.challengemobdev.service.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;
import java.io.Serializable;
/**
* Objeto donde se mapea la respuesta del servicio... |
2accb6ef-2416-4d34-b088-ecf16f5d1be0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-08 13:51:41", "repo_name": "evbox/station-simulator", "sub_path": "/simulator-core/src/main/java/com/evbox/everon/ocpp/simulator/station/component/variable/attribute/AttributePath.java", "file_name": "Attribut... | package com.evbox.everon.ocpp.simulator.station.component.variable.attribute;
import com.evbox.everon.ocpp.v201.message.centralserver.Attribute;
import com.evbox.everon.ocpp.v201.message.centralserver.Component;
import com.evbox.everon.ocpp.v201.message.centralserver.Variable;
import lombok.AllArgsConstructor;
import ... |
e012800f-4eb5-4782-a6b2-d73343b10911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-21T18:07:22", "repo_name": "MyPureCloud/platform-client-sdk-ruby", "sub_path": "/build/docs/MessageInfo.md", "file_name": "MessageInfo.md", "file_ext": "md", "file_size_in_byte": 1140, "line_count": 25, "l... | ---
title: MessageInfo
---
:::error
**The Ruby SDK is deprecated as of 9/16/2020**
The Genesys Cloud Ruby SDK (v96.0.0) will be frozen at its current version level. Any new enhancements to our API or bug fixes will not be backported. If you do need to take advantage of new features or bug fixes outside the Genesys Cl... |
41579d1f-fe02-41a0-bdb9-5b2ce8bd5a70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-15 14:48:42", "repo_name": "sthgreat/java_learn", "sub_path": "/base/jdbc_account/jdbcUtils.java", "file_name": "jdbcUtils.java", "file_ext": "java", "file_size_in_byte": 1274, "line_count": 51, "lang": "en", ... | package Jdbc_connection;
import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;
import org.junit.Test;
import com.mchange.v2.c3p0.ComboPooledDataSource;
public class jdbcUtils {
private static ComboPooledDataSource dataSource = new ComboPooledDataSource();
private static Connect... |
29c911ee-5a88-4889-857e-3ac5b8e8e6a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-31 10:31:50", "repo_name": "LateralView/android-base-project", "sub_path": "/app/src/main/java/co/lateralview/myapp/infraestructure/manager/SocialManager.java", "file_name": "SocialManager.java", "file_ext": "... | package co.lateralview.myapp.infraestructure.manager;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.net.Uri;
import android.support.v4.app.ShareCompat;
import co.lateralview.myapp.infraestructure.manager.implementation.FileManagerImpl;
public class SocialM... |
07033932-6c52-4e06-95d3-1c7b148db81e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-06 03:48:30", "repo_name": "17610713916/myRepository", "sub_path": "/src/main/java/com/mozat/jsonTojava/FileUtils.java", "file_name": "FileUtils.java", "file_ext": "java", "file_size_in_byte": 1138, "line_coun... | package com.mozat.jsonTojava;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class FileUtils {
public static List<String> ReadFile(String Path){
BufferedReader reader = ... |
73a4890b-791a-4eda-9ca9-0649ea1242a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-18 03:21:15", "repo_name": "piziyang12138/wukongwenda", "sub_path": "/src/main/java/com/neusoft/controller/SearchController.java", "file_name": "SearchController.java", "file_ext": "java", "file_size_in_byte":... | package com.neusoft.controller;
import com.alibaba.fastjson.JSON;
import com.neusoft.bean.UserInfo;
import com.neusoft.service.IArticleService;
import com.neusoft.util.ArticlesWarp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframewo... |
092c03f9-7ac7-4ab9-b66d-ecd9a611c377 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03 13:08:46", "repo_name": "ravinakapila55/CraigApp", "sub_path": "/app/src/main/java/com/helper/Helper2Go/google_place_search/GeoLocation.java", "file_name": "GeoLocation.java", "file_ext": "java", "file_size... | package com.helper.Helper2Go.google_place_search;
import android.content.Context;
import android.location.Address;
import android.location.Geocoder;
import android.widget.Toast;
import com.helper.Helper2Go.R;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
public class GeoLocation
{
... |
d71ac8b0-20b3-42e5-9c7b-1eabe9f2d538 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-13 16:28:40", "repo_name": "AnJaeSeongS2/sonan-framework", "sub_path": "/sonan-web/src/main/java/org/sonan/framework/web/PathVariableModel.java", "file_name": "PathVariableModel.java", "file_ext": "java", "fil... | package org.sonan.framework.web;
import java.lang.reflect.Method;
/**
* PathVariable 에 대한 정의
*
* Created by Jaeseong on 2021/04/07
* Git Hub : https://github.com/AnJaeSeongS2
*/
public class PathVariableModel {
private Integer parameterIndex;
private Method method;
private String variableName;
pr... |
9d38a75d-da25-4523-873c-4e4ccdea16d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-18 07:14:03", "repo_name": "WDH861642192/DiDitest", "sub_path": "/app/src/main/java/com/example/wangdonghai/Layout/CheckableLinearLayout.java", "file_name": "CheckableLinearLayout.java", "file_ext": "java", "f... | package com.example.wangdonghai.Layout;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.Checkable;
import com.example.wangdonghai.didiactivity.R;
/**
* Created by wangdonghai on 16/10/16.
*/
public class C... |
84975fc9-0a4d-4a19-924a-883d1678fc74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 06:30:36", "repo_name": "ksyzz/springboot-dubbo-shiro", "sub_path": "/client/src/main/java/com/example/demo/manager/BaseManager.java", "file_name": "BaseManager.java", "file_ext": "java", "file_size_in_byte... | package com.example.demo.manager;
import com.example.common.domain.model.BaseModel;
import com.example.demo.repository.BaseRepository;
import org.springframework.stereotype.Component;
import java.util.Optional;
/**
* @author fengqian
* @since <pre>2018/12/19</pre>
*/
@Component
public abstract class BaseManager<T... |
43cb85f8-2448-4a10-b9a3-3336910fdd04 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-06 22:44:27", "repo_name": "lyuben-todorov/primavera", "sub_path": "/src/main/java/com/lyuben/primavera/service/ProductServiceImpl.java", "file_name": "ProductServiceImpl.java", "file_ext": "java", "file_size_... | package com.lyuben.primavera.service;
import com.lyuben.primavera.domain.product.Product;
import com.lyuben.primavera.repository.ProductRepository;
import com.lyuben.primavera.service.base.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
imp... |
eece482a-5dcb-4a1d-b178-2a6e33193ff4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-17T23:57:59", "repo_name": "crossdock/crossdock", "sub_path": "/docs/publish-test-client.md", "file_name": "publish-test-client.md", "file_ext": "md", "file_size_in_byte": 1142, "line_count": 40, "lang": "... | [← Run Crossdock](run-crossdock.md)
# Publish the Test Client
Now that we have a Test Client working locally, we need to publish it
so that it's available for other repos to run.
We suggest pushing the Test Client to the [Docker Hub](https://hub.docker.com/)
every time your build succeeds. If you're using Travis, th... |
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... | 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) {
... |
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... | /**
* 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) {
... |
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... | 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... |
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... | 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(... |
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... | 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)
... |
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": "... | # 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... |
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, ... | 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... |
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"... | 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... |
2548a695-c3e3-4ce8-b6f3-4c16fb391731 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-08 11:56:01", "repo_name": "DeglaTesting/OC_ODM", "sub_path": "/src/main/java/com/nihr/model/NameStructureView.java", "file_name": "NameStructureView.java", "file_ext": "java", "file_size_in_byte": 1138, "line... | /*
* 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.nihr.model;
import com.nihr.controller.Printer;
import java.io.Serializable;
import java.util.ArrayList;
import ... |
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... | # 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 ... |
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 ... | ---
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... |
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, "... | 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... |
f34c9ff7-9373-4199-99a7-04f490378c8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-18T12:45:07", "repo_name": "BillMux/log-parser-ruby", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 46, "lang": "en", "doc_type": "text", "b... | # Parse information from a .log file
Using this repo, you can view full details of a browsing log, and return them as:
- A list of pages ordered from most to least views
- A list of pages ordered from most to least unique views
## Getting started
1. Clone repo
2. Install dependencies: `bundle install`
## Using t... |
61254aab-e5cc-490a-b5c8-58003e3ad3b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-16 20:55:37", "repo_name": "tyran53red/personal-assistant", "sub_path": "/src/com/personalassistant/model/LessonImpl.java", "file_name": "LessonImpl.java", "file_ext": "java", "file_size_in_byte": 1137, "line_... | package com.personalassistant.model;
public class LessonImpl implements Lesson {
private String name = null;
private LessonType type = null;
private int corp = -1;
private int auditory = -1;
private String middle = null;
public LessonImpl() {
}
public LessonImpl(String name, LessonType type, int corp, i... |
d1445bd2-74eb-4ac3-830a-3b93a9b4806e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-24T10:11:54", "repo_name": "GrimLink/magento2-icon-packs", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 38, "lang": "en", "doc_type": "text... | # Magento2 icon packs
Replace the default Magento2 Blank or Luma icons
with any other popular icon frameworks.

## How to use
Copy your icon pack of choice to your theme in the `web/fonts`.
And change/add the following variables to load your new icons instead.
```less
@... |
6403a183-2835-42ed-82b0-f6884e87d914 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-30 02:39:23", "repo_name": "huangxinqi/JobskyApp", "sub_path": "/program/web/jobsky/src/edu/csu/service/AdminService.java", "file_name": "AdminService.java", "file_ext": "java", "file_size_in_byte": 1137, "lin... | package edu.csu.service;
import edu.csu.bean.AdminBean;
import edu.csu.dao.AdminDAO;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.util.ArrayList;
/**
* Created by huangxinqi on 2016/1/17.
*/
public class AdminService {... |
90d3426f-59ac-4f64-ac82-4ab646f5adc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-28T09:41:19", "repo_name": "antonboutkam/data-types", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 18, "lang": "en", "doc_type": "text", "b... | # Data types
A growing set of general purpose data types and corresponding collections. This project is not
intended as a one size fits all standards based library. It is meant to promote interoperability between
some of the projects that i work on. Many types come with useful utilities for
casting and validation an... |
9b72baea-82cd-4f8c-ac12-ba672df7cd6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-19 06:23:51", "repo_name": "superisis1/FinalProject", "sub_path": "/app/src/main/java/kr/insungjung/finalproject/NoticeDetailActivity.java", "file_name": "NoticeDetailActivity.java", "file_ext": "java", "file_... | package kr.insungjung.finalproject;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.widget.TextView;
import kr.insungjung.finalproject.databinding.ActivityNoticeDetailBinding;
import kr.insungjung.finalproject.datas.Notice;
public class NoticeDetailActivity extends BaseActivity {... |
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", "... | # 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 ... |
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... | 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 =... |
ccfe95ed-0740-47c7-bec0-355fa85633b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-06 23:41:39", "repo_name": "livroaws/2ed", "sub_path": "/LivroAWS-src/src/cap17/HelloSMTP.java", "file_name": "HelloSMTP.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 41, "lang": "en", "d... | package cap17;
import org.apache.commons.mail.DefaultAuthenticator;
import org.apache.commons.mail.Email;
import org.apache.commons.mail.EmailException;
import org.apache.commons.mail.SimpleEmail;
public class HelloSMTP {
public static void main(String[] args) {
String to = "rlecheta@livetouch.com.br";
String fr... |
7a94081c-d5b4-4b28-889a-9bc4cb929b36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-03 10:15:10", "repo_name": "lirfu/EvolvingActivationFunctions", "sub_path": "/src/hr/fer/zemris/utils/PythonBridge.java", "file_name": "PythonBridge.java", "file_ext": "java", "file_size_in_byte": 1137, "line_... | package hr.fer.zemris.utils;
import java.io.*;
public class PythonBridge {
private String script_path;
public PythonBridge(String script_path) {
this.script_path = script_path;
}
public Session openSession() throws IOException {
return new Session(script_path);
}
public stat... |
ba011d93-fbde-44ef-9337-bc0cd441b52c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-09 01:52:32", "repo_name": "sarafinmahtab/SaloonApp", "sub_path": "/app/src/main/java/com/tiham_dipta/saloonapp/models/Booking.java", "file_name": "Booking.java", "file_ext": "java", "file_size_in_byte": 1137,... | package com.tiham_dipta.saloonapp.models;
import java.io.Serializable;
public class Booking implements Serializable {
private String bookingId;
private String scheduleId;
private String saloonId;
private String userKey;
public Booking(String bookingId, String scheduleId, String saloonId, String ... |
3f6c9793-b7a8-4c22-88a6-08230ae519ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-21T19:46:26", "repo_name": "stetsmando/arangodb", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1140, "line_count": 39, "lang": "en", "doc_type": "text", "blob_... | # Let's have a look at ArangoDB
## Hey There 👋
This repo contains all the slides and code related to my talk **Let's Have a Look At ArangoDB**.
## Slides
The slides for this talk are powered by [Reveal.js](https://www.npmjs.com/package/reveal) and [reveal-md](https://www.npmjs.com/package/reveal-md).
To run the s... |
769b44d3-2159-4f3a-8b42-e0734348110e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-19 17:00:14", "repo_name": "raffaelecurci/cr-resulthandler", "sub_path": "/src/test/java/cr/ResultHandlerTest.java", "file_name": "ResultHandlerTest.java", "file_ext": "java", "file_size_in_byte": 1137, "line_... | package cr;
import java.util.regex.Pattern;
import org.junit.Test;
import cr.service.VeracodeAdapter;
//@RunWith(SpringRunner.class)
//@SpringBootTest
public class ResultHandlerTest {
// @Test
public void login() {
// FlawList fl=wrh.getDetailedResult(new Long("3150830"));
// System.out.println(fl.toString()... |
eb7b7e1f-b1b0-4d96-bf3f-3f994512994d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-05 09:43:15", "repo_name": "itcloudy/micro", "sub_path": "/micro-apps/micro-message/src/main/java/com/hechihan/micro/apps/message/listener/Receiver.java", "file_name": "Receiver.java", "file_ext": "java", "fil... | package com.hechihan.micro.apps.message.listener;
import com.aliyuncs.exceptions.ClientException;
import com.hechihan.micro.apps.message.biz.EmailBiz;
import com.hechihan.micro.apps.message.biz.SmsBiz;
import com.hechihan.micro.common.amqp.MicroMessage;
import org.springframework.amqp.rabbit.annotation.RabbitHandler;
... |
a8d02727-76ed-493b-896a-747e812a3834 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-20 22:26:45", "repo_name": "Superonie/gesticonf", "sub_path": "/JPA/src/main/java/fr/dr02/gesticonf/jpa/DeviceEntityPK.java", "file_name": "DeviceEntityPK.java", "file_ext": "java", "file_size_in_byte": 1137, ... | package fr.dr02.gesticonf.jpa;
import java.io.Serializable;
/**
* Created by damien on 09/02/14.
*/
public class DeviceEntityPK implements Serializable {
private String idDevice;
private int refConference;
public String getIdDevice() {
return idDevice;
}
public void setIdDevice(String... |
3e1ddaa0-122b-49b6-9c5e-88b6277251fa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-25 20:54:52", "repo_name": "arjunvekariyagithub/NYTimes-Android-Demo", "sub_path": "/NYTimes/mfp/src/main/java/com/mfp/test/data/network/QueryBuilder.java", "file_name": "QueryBuilder.java", "file_ext": "java"... | package com.mfp.test.data.network;
public class QueryBuilder {
public static final String[] PARAM_RESPONSE_FIELDS = {"_id", "web_url", "snippet", "headline", "multimedia"};
static final String[] MATERIAL_TYPES = {"News", "Review"};
public static final String PARAM_SORT = "newest";
static String sFi... |
8347e1ad-f513-45ba-9f71-f7984364b7a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-03 05:57:30", "repo_name": "AlexKukushkin/JMS-Point-to-Point-Chat", "sub_path": "/src/main/java/ru/innopolis/jms/Sender.java", "file_name": "Sender.java", "file_ext": "java", "file_size_in_byte": 1137, "line_c... | package ru.innopolis.jms;
import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory;
import javax.jms.*;
public class Sender {
private ConnectionFactory factory = null;
private Connection connection = null;
private Session session = null;
private Destination... |
98441410-a05d-4232-ae9e-c3882d21fdb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-23 12:21:15", "repo_name": "hejunling/boss-dts", "sub_path": "/ancun-boss/src/main/java/com/ancun/boss/pojo/userInfo/UserInfoListOutput.java", "file_name": "UserInfoListOutput.java", "file_ext": "java", "file_... | package com.ancun.boss.pojo.userInfo;
import com.ancun.boss.persistence.model.SystemUserInfo;
import com.ancun.boss.pojo.BossPagePojo;
import com.ancun.core.domain.request.PageModel;
import com.ancun.core.page.Page;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorTy... |
b08125b7-dc1f-4cf4-8250-2f15b963cbbc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-06 21:53:28", "repo_name": "JarneVanAerde/TrafficAnalyser", "sub_path": "/simulator/src/main/java/be/kdg/simulator/services/impl/messengers/CommandLineMessenger.java", "file_name": "CommandLineMessenger.java",... | package be.kdg.simulator.services.impl.messengers;
import be.kdg.simulator.models.CameraMessage;
import be.kdg.simulator.services.api.Messenger;
import be.kdg.simulator.services.exceptions.ServiceException;
import be.kdg.simulator.services.impl.utils.MessageWriter;
import org.springframework.beans.factory.annotation.A... |
9dcf9990-ad03-40d1-a412-89b3bb2d7ecd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 15:30:00", "repo_name": "Taequn/cs102", "sub_path": "/L11_starter/Human.java", "file_name": "Human.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 39, "lang": "en", "doc_type": "code", "... | import java.util.ArrayList;
public class Human implements Player{
private ArrayList<Integer> history;
public void initPlayer(int startingSticks){
history = new ArrayList<Integer>();
}
public int takeTurn(int remainingSticks){
int maxChoiceThisTurn = Math.min(remainingSticks, Mat... |
1796f04c-57ff-435d-a5f4-0aaa131c938b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-26 10:44:17", "repo_name": "DianaBobkova/Polib", "sub_path": "/src/polibii/Encryption.java", "file_name": "Encryption.java", "file_ext": "java", "file_size_in_byte": 1137, "line_count": 51, "lang": "en", "doc_... | package polibii;
public class Encryption {
private String text = "";
private String encText = "";
public Encryption(String text) {
this.text = text;
findInArr(this.text);
}
public String getEncText() {
return this.encText;
}
public void findInArr(String text) {
... |
f28d124a-cb0d-44bd-b8de-3f1a4481321f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 01:40:24", "repo_name": "hellcy/GramDispatch", "sub_path": "/app/src/main/java/au/com/gramline/gramdispatch/pojo/JobOrderListTest.java", "file_name": "JobOrderListTest.java", "file_ext": "java", "file_size_... | package au.com.gramline.gramdispatch.pojo;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.util.List;
public class JobOrderListTest {
@SerializedName("results")
public List<JobOrder> data = new ArrayList<>();
public class JobOrder {
@SerializedName("SEQ... |
a69a5116-b903-4228-856f-9b772ceeb436 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-26 01:08:50", "repo_name": "vinohsueh/i9-defence-parent", "sub_path": "/i9-defence-parent/i9-defence-api/src/main/java/i9/defence/platform/api/listener/MySessionListener.java", "file_name": "MySessionListener.... | package i9.defence.platform.api.listener;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.SessionListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
/**
* 创建时间:2018年4... |
b09a82a7-479e-478e-9893-2a3e7ef81a1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-17T10:32:07", "repo_name": "ArtyCake/Fit-Your-Fat", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 28, "lang": "en", "doc_type": "text", "blo... | # Fit Your Fat
[Play Market](https://play.google.com/store/apps/details?id=com.artycake.fityourfat) | [Demo video](https://youtu.be/A8gNM5Ku5Ew)
A simple and convenient timer for your workouts.
### Main features
- A timer for interval training, running in the background
- Notifications about changing exercises with s... |
d91f7225-c64c-4e30-8692-92b20cc16f45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-05-18 01:28:39", "repo_name": "RosianeSantos/PrimerioTrabalho", "sub_path": "/src/br/edu/ifnmg/Teste/DataAcess/BancoDados.java", "file_name": "BancoDados.java", "file_ext": "java", "file_size_in_byte": 1138, "lin... | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package br.edu.ifnmg.Teste.DataAcess;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @a... |
fba91c08-4309-4171-b140-3ce5c7500395 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-15 12:30:06", "repo_name": "KIRTISHD/E-PreCAT-System", "sub_path": "/Backend/E-PreCAT-1/src/main/java/project/mainpackage/sample/UserResponseController.java", "file_name": "UserResponseController.java", "file_... | package project.mainpackage.sample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind... |
c477eba0-fdac-4804-a22c-fec1737fb3f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-24 09:43:08", "repo_name": "altamira/data-model", "sub_path": "/src/main/java/br/com/altamira/data/model/shipping/planning/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1136, "... | package br.com.altamira.data.model.shipping.planning;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
/**
*
* @author
*/
@Entity(name = "br.com.altamira.data.model.shipping.plann... |
cb1d409d-2707-4666-b2a5-97b294fae4d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-16 01:51:35", "repo_name": "MrLexJR/AppWeb-JavaSB-ReactJs-Kruger", "sub_path": "/jr_proyect_k/src/main/java/com/jr/kruger/jr_proyect_k/services/PersonaService.java", "file_name": "PersonaService.java", "file_e... | package com.jr.kruger.jr_proyect_k.services;
import java.util.ArrayList;
import java.util.Optional;
import com.jr.kruger.jr_proyect_k.modules.PersonaModel;
import com.jr.kruger.jr_proyect_k.repositories.PersonaRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stere... |
6580f2b8-ba7f-4e80-8ea2-de41b8441968 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-18 09:13:16", "repo_name": "Troxbanv/Remnant_File_Analyzer", "sub_path": "/src/main/java/FileCommands.java", "file_name": "FileCommands.java", "file_ext": "java", "file_size_in_byte": 1135, "line_count": 44, "... | import java.io.*;
import java.util.HashMap;
import java.util.Map;
public class FileCommands {
private final String filePath;
private Map<String, String> items;
public FileCommands(String filePath) {
this.filePath = filePath;
items = new HashMap<>();
loadMap();
}
public bo... |
e19cd850-92b4-4340-aeda-a5c4b09f0b2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-20 19:11:04", "repo_name": "fdrury/WhatWear", "sub_path": "/app/src/main/java/com/example/administrator/whatwear/IntroActivity.java", "file_name": "IntroActivity.java", "file_ext": "java", "file_size_in_byte":... | package com.example.administrator.whatwear;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import com.example.administrator.whatwear.MenuActivity;
import com.example.administrator.whatwear.R;
public class IntroActivity extends AppC... |
970dd91c-24f3-48cd-9fec-c3e0a6615e11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-22 21:55:34", "repo_name": "carlostojal/KeySafe", "sub_path": "/app/src/main/java/com/fca/keysafe/EnableAutofill.java", "file_name": "EnableAutofill.java", "file_ext": "java", "file_size_in_byte": 1136, "line_... | package com.fca.keysafe;
import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.view.View;
import android.widget.Button;
public class EnableAutofill ext... |
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",... | ## 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
###... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.