id stringlengths 36 36 | meta stringlengths 429 697 | code_content large_stringlengths 612 1.26k |
|---|---|---|
bbbae9a3-b317-42f5-97f6-ee025062b362 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-23 07:34:14", "repo_name": "pan1394/SqlParser", "sub_path": "/test-data/src/main/java/com/linkstec/data/DataSetGenerator.java", "file_name": "DataSetGenerator.java", "file_ext": "java", "file_size_in_byte": 71... | package com.linkstec.data;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
@SpringBootApplication
public class DataSetGenerator {
public static void main(String[] args) {
Applic... |
fdb90734-0056-4480-9e90-0a008e243322 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-14 04:53:49", "repo_name": "chemphern/hrm", "sub_path": "/hrmymz/src/com/ymz/hrm/base/shiro/UserNamePasswordKapchaToken.java", "file_name": "UserNamePasswordKapchaToken.java", "file_ext": "java", "file_size_in... | package com.ymz.hrm.base.shiro;
import org.apache.shiro.authc.UsernamePasswordToken;
public class UserNamePasswordKapchaToken extends UsernamePasswordToken{
private static final long serialVersionUID = 1L;
/**加上自己的验证码**/
private String kaptcha;
/**提供getter setter方法**/
public String getKaptcha() {... |
7fe4aed2-6613-4f32-b96f-282824592982 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-27 17:28:02", "repo_name": "Yazpants/Project-BattleTrail", "sub_path": "/ProjectBattletrail/src/BattleTrail_2098/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 715, "line_count"... | package BattleTrail_2098;
/**
* Handles player class related data
* Created by victor on 2017-02-27.
*/
public class Role {
String roleName;
String roleDescription;
/**
*
* @param roleName name of player class
* @param roleDescription description of class properties
*/
Role(Stri... |
6647755b-5cf9-4ee3-8e01-a11d4de5997e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-01T18:21:47", "repo_name": "ArcQ/phaser-react-starter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 715, "line_count": 18, "lang": "en", "doc_type": "text", "... | #phaser-react-starter
This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app). For more information on how to build the ui, please visit their readme.
The concept of this project revovles around using React for your ui and phaser for your game layer. Redux will be ... |
6bb4ae46-3517-42bb-bec6-1ae03ff91c2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-17 21:54:29", "repo_name": "kobyrne12/testcenter_Msc_1", "sub_path": "/testcenter_Msc_1/src/main/java/ie/cit/cloud/testcenter/model/summary/EnvironmentSummaryList.java", "file_name": "EnvironmentSummaryList.ja... | /**
*
*/
package ie.cit.cloud.testcenter.model.summary;
import java.util.Set;
/**
* @author byrnek1
*
*/
public class EnvironmentSummaryList {
private Set<EnvironmentSummary> environments;
/**
* @return List of Projects for a Company
*/
public Environment... |
537d4f9e-40ac-4da5-9c15-86d3ae5050d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-28 19:56:21", "repo_name": "Serjkea/JAVA_MISC", "sub_path": "/SpringProject/src/main/repository/UserStorage.java", "file_name": "UserStorage.java", "file_ext": "java", "file_size_in_byte": 715, "line_count": 3... | package main.repository;
import main.domain.User;
import org.springframework.stereotype.Repository;
import java.util.ArrayList;
import java.util.List;
@Repository(value ="userStorage")
public class UserStorage implements Storage {
private List<User> storage = new ArrayList<User>();
@Override
public voi... |
0241e04c-dd1b-4371-940f-e46ad02a3278 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-09 00:52:16", "repo_name": "FY6/mobilesafe", "sub_path": "/Mobilesafe/src/com/wfy/mobilesafe/utils/SharedPreferencesUtils.java", "file_name": "SharedPreferencesUtils.java", "file_ext": "java", "file_size_in_by... | package com.wfy.mobilesafe.utils;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by wfy on 2016/7/24.
*/
public class SharedPreferencesUtils {
public static final String SP_NAME = "config";
public static void saveBoolean(Context context, String key, boolean value) {... |
aedb315a-4d40-46ac-aadb-ba395709406f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 20:09:41", "repo_name": "ValerianFourel/holidayPlanner", "sub_path": "/Hotel.java", "file_name": "Hotel.java", "file_ext": "java", "file_size_in_byte": 724, "line_count": 52, "lang": "en", "doc_type": "code... |
public class Hotel {
private String name;
private Room[] Rooms;
public Hotel(String name,Room[] Rooms){
this.name = name;
//deepCopy(this.Rooms,Rooms);
this.Rooms = new Room[Rooms.length];
for(int i=0;i<Rooms.length;i++){
this.Rooms[i]=new Room(Rooms[i]);
}
}
public int re... |
67e9ccb8-ba81-47f2-a0f4-abf757fa77f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-30 14:09:46", "repo_name": "SETANDGET/FastEC", "sub_path": "/example/src/main/java/com/mgzxc/fastec/ExampleActivity.java", "file_name": "ExampleActivity.java", "file_ext": "java", "file_size_in_byte": 715, "li... | package com.mgzxc.fastec;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.ActionBar;
import com.mgzxc.latte_core.activities.ProxyActivity;
import com.mgzxc.latte_core.delegates.LatteDelegate;
import com.mgzxc.latte_ec.sign.SignUpDelegate;
public class ExampleActiv... |
7ad608bb-8e5f-426a-ae60-78d2eb8519b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-13 21:01:27", "repo_name": "inexplicable/bluewhale", "sub_path": "/src/main/java/org/ebaysf/bluewhale/event/DocumentLengthAnticipatedEvent.java", "file_name": "DocumentLengthAnticipatedEvent.java", "file_ext":... | package org.ebaysf.bluewhale.event;
import org.ebaysf.bluewhale.storage.BinJournal;
import java.util.EventObject;
/**
* Created by huzhou on 3/3/14.
*/
public class DocumentLengthAnticipatedEvent extends EventObject {
private final int _documentLengthAnticipated;
public DocumentLengthAnticipatedEvent(fin... |
f9aeb1e6-eeda-4b42-97df-955d294cffca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-08T04:50:00", "repo_name": "Pbmeatre/Pbmeatre", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 744, "line_count": 13, "lang": "en", "doc_type": "text", "blob_id"... | - 👋 Hi, I’m @Pbmeatre
- 👀 I’m interested in Good health, freedom of choice and understanding healthy and health giving food and fodder growing. also understanding the true reason for climat issues and how to resolve them in our own back yard first..
.
- 🌱 I’m currently learning How to be more helpful to those with h... |
fc7db535-421a-43f8-9b06-a77f1247b7e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-03T04:02:17", "repo_name": "jonathanreyes/rSlash", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 715, "line_count": 16, "lang": "en", "doc_type": "text", "blob_... | # rSlash #
Opera/Chrome omnibox extension to quick-nav to a particular subreddit, using "r" as the keyword <br />
## To Use: <br /> ##
Type "r \<sub\>" into the omnibox and hit enter to navigate to reddit.com/r/\<sub\> <br />
## To-Do's: <br /> ##
* Implement suggestions
* Based on list of all subreddits
* Filt... |
eb7f3c24-b4e9-4664-b71d-161b0e0e6234 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-14 19:14:23", "repo_name": "tomaszwnorowski/consul-workshop", "sub_path": "/weather-station/src/main/java/weather/WeatherStationController.java", "file_name": "WeatherStationController.java", "file_ext": "java... | package weather;
import org.springframework.cloud.consul.serviceregistry.ConsulRegistration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class WeatherStationController {
private final ConsulRegistration consul;
... |
322b02a3-dcfa-4f24-8deb-6d3923d00879 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-13 15:22:12", "repo_name": "442060445/menu", "sub_path": "/src/main/java/com/longxingyang/converter/UserInfo2UserInfoDTOConverter.java", "file_name": "UserInfo2UserInfoDTOConverter.java", "file_ext": "java", "... | package com.longxingyang.converter;
import com.longxingyang.dataobject.UserInfo;
import com.longxingyang.dto.UserInfoDTO;
import org.springframework.beans.BeanUtils;
import java.util.List;
import java.util.stream.Collectors;
/**
* Created by a4420 on 18/01/23.
*/
public class UserInfo2UserInfoDTOConverter {
p... |
cea59c1a-b40c-4392-9b3f-a27dd48f9787 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-10 04:47:28", "repo_name": "naicson88/springboot-mongodb", "sub_path": "/src/main/java/com/alanaicson/mongodb/service/PostService.java", "file_name": "PostService.java", "file_ext": "java", "file_size_in_byte"... | package com.alanaicson.mongodb.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.alanaicson.mongodb.domain.Post;
import com.alanaicson.mongodb.repository.PostRepository;
import com.alanai... |
3a229f2e-7f85-4e7c-a37b-f87dbc4fe5ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-23 06:22:29", "repo_name": "chrkyrong/WeTao", "sub_path": "/src/main/java/com/weitao/controller/SessionController.java", "file_name": "SessionController.java", "file_ext": "java", "file_size_in_byte": 719, "li... | package com.weitao.controller;
import com.weitao.bean.User;
import com.weitao.utils.Result;
import com.weitao.utils.ResultUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.h... |
f673f054-18b8-4937-af45-1cc26622468f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-17 06:18:36", "repo_name": "JordanLongstaff/Artemis-Messenger", "sub_path": "/src/com/walkertribe/ian/world/Artemis.java", "file_name": "Artemis.java", "file_ext": "java", "file_size_in_byte": 714, "line_count... | package com.walkertribe.ian.world;
/**
* Contains miscellaneous constants about the game world.
* @author rjwut
*/
public final class Artemis {
/**
* The default port on which the Artemis server listens for connections.
*/
public static final String DEFAULT_PORT = "2010";
/**
* The maximum warp fact... |
e1f97af0-844c-41e0-9fda-aee163eb28e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-22 17:08:39", "repo_name": "DarkholmeTenk/darkcraft", "sub_path": "/src/main/java/io/darkcraft/mod/common/skills/MagicSkillIcon.java", "file_name": "MagicSkillIcon.java", "file_ext": "java", "file_size_in_byte... | package io.darkcraft.mod.common.skills;
import io.darkcraft.darkcore.mod.datastore.UVStore;
import net.minecraft.util.ResourceLocation;
import skillapi.api.implement.ISkillIcon;
public class MagicSkillIcon implements ISkillIcon
{
private UVStore uv;
private int index;
private int num;
private ResourceLocation rl;... |
d64191a8-3c6e-497d-88e7-b7db509a368c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-02 21:11:35", "repo_name": "marianaangelova/java-course", "sub_path": "/Homework-OOP/HW-OOP/src/humans/Professor.java", "file_name": "Professor.java", "file_ext": "java", "file_size_in_byte": 715, "line_count"... | package humans;
public class Professor extends Lecturer implements CheckingHWSecond{
String title;
public Professor(){
super();
this.title = "";
}
public Professor(String name, String surname,int years,int workingExperience,String subject,String title) {
super(name,surname,years,workingExperience,subject... |
b47673aa-2fc1-4666-a5cb-d8db001bb827 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-25 18:32:36", "repo_name": "mosmith7/textadventure", "sub_path": "/src/main/java/smithies/textadventure/command/state/GoDirection.java", "file_name": "GoDirection.java", "file_ext": "java", "file_size_in_byte"... | package smithies.textadventure.command.state;
import smithies.textadventure.character.Player;
import smithies.textadventure.command.Adverb;
import smithies.textadventure.map.DungeonMap;
public class GoDirection implements GameCommandState {
private Player player;
private Adverb direction;
private Dungeon... |
fa15fe6d-f1c5-4c4f-8930-11ded4224b83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-14 06:12:11", "repo_name": "xuedakun/pattern", "sub_path": "/src/main/java/cn/com/thread/LockEvenGenerator.java", "file_name": "LockEvenGenerator.java", "file_ext": "java", "file_size_in_byte": 715, "line_coun... | package cn.com.thread;
import cn.com.thread.lock.EvenChecker;
import cn.com.thread.lock.IntGenerator;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class LockEvenGenerator extends IntGenerator {
private int currentEvenValue = 0;
private Lock lock = new Reentr... |
d1a077b2-c4a3-42cd-bddc-47a79cb2ebab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-01 07:24:21", "repo_name": "jiazhong520/rich-mail-api", "sub_path": "/src/main/java/com/rich/mail/api/response/BannerInfo.java", "file_name": "BannerInfo.java", "file_ext": "java", "file_size_in_byte": 737, "l... | package com.rich.mail.api.response;
import com.rich.mail.api.domain.ActivityChartEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
@ApiModel("轮播图")
@Data
public class BannerInfo implements Serializable {
@ApiModelProp... |
cb4d98c8-69b6-421f-a2ef-717cd80f98f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-18 21:46:43", "repo_name": "java-prolog-connectivity/jpc", "sub_path": "/src/main/java/org/jpc/internal/concurrent/ObservedThreadFactory.java", "file_name": "ObservedThreadFactory.java", "file_ext": "java", "f... | package org.jpc.internal.concurrent;
import java.util.Collection;
import java.util.concurrent.ThreadFactory;
import org.jpc.internal.collections.CollectionsUtil;
public class ObservedThreadFactory implements ThreadFactory {
private Collection<ThreadFactoryObserver> observers;
public ObservedThreadFactory() {
... |
81500835-ab96-438a-a7e4-181a2407b0de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-22 21:35:29", "repo_name": "potOfMyCode/hometask", "sub_path": "/vegetables/src/model/makeSalad/MakeToCu.java", "file_name": "MakeToCu.java", "file_ext": "java", "file_size_in_byte": 715, "line_count": 27, "la... | package model.makeSalad;
import model.Salads;
import model.entity.Vegetable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class MakeToCu implements MakeSalad{
private List<Vegetable> contentOfToCu = new ArrayList<>();
@Override
public Map<Salads, List<Vegetable>> makeSa... |
4f6c1273-f7d9-4b71-a978-90616efdf31e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-23T13:56:02", "repo_name": "theomjones/theomjones.com", "sub_path": "/src/projects/portfolio.md", "file_name": "portfolio.md", "file_ext": "md", "file_size_in_byte": 715, "line_count": 15, "lang": "en", "d... | ---
title: Portfolio
type: project
description: Portfolio built with React & GatsbyJS, alongside some AWS Lambda functions.
url: https://theomjones.com
skills: ['React', 'NodeJS']
order: 2
date: "2018-04-27T10:59:33.534Z"
---
Recently I rebuilt my portfolio with React and static site generator GatsbyJS.
I initially bu... |
7dbc1b62-376e-4869-bee0-5457f753f186 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-20 09:06:03", "repo_name": "pshussain/crawler", "sub_path": "/src/main/java/com/fabdy/bean/flipkart/product/ProductInfoList.java", "file_name": "ProductInfoList.java", "file_ext": "java", "file_size_in_byte": ... | package com.fabdy.bean.flipkart.product;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown=true)
public class ProductInfoList {
@JsonProperty("nextUrl")
String nextUrl;
@JsonProperty("validT... |
5aac16b2-7eb3-41c2-be72-706487e4d8bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 04:24:28", "repo_name": "mahera02/dsa_questions", "sub_path": "/src/main/java/org/mradhika/projects/leetcode/easy/RemoveAdjacentString.java", "file_name": "RemoveAdjacentString.java", "file_ext": "java", "f... | package org.mradhika.projects.leetcode.easy;
import java.util.Stack;
public class RemoveAdjacentString {
public String removeDuplicates(String S) {
Stack<Character> stack = new Stack<Character>();
char[] ch = S.toCharArray();
for(int i = 0;i<ch.length;i++){
... |
fd1bb6b4-9c3e-46a8-847d-ace6af0f86a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 17:12:32", "repo_name": "Nikki2248/Registration", "sub_path": "/app/src/main/java/com/example/rocket/myapplication1/UserListActivity.java", "file_name": "UserListActivity.java", "file_ext": "java", "file_si... | package com.example.rocket.myapplication1;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.TextView;
import android.content.Intent;
public class UserListActivity extends AppCompatActivity {
TextView textView,t2;
@Override
protec... |
c44f123e-a191-4291-ae43-d2af3181160f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-16 19:31:22", "repo_name": "daviddbal/attendance-data-model", "sub_path": "/src/main/java/net/balsoftware/attendance/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 715, "line_co... | package net.balsoftware.attendance;
import java.io.BufferedReader;
import java.io.IOException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.stream.Collectors;
public class Main {
public static void main(String[] arg... |
a344842d-2403-41b7-afd8-e6e42939342c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-29 19:05:28", "repo_name": "alisio92/Genesis", "sub_path": "/src/com/alisio/genesis/console/Console.java", "file_name": "Console.java", "file_ext": "java", "file_size_in_byte": 715, "line_count": 38, "lang": "... | package com.alisio.genesis.console;
import java.awt.Color;
import java.awt.Font;
public class Console {
public int x, y;
public Font font;
public Color color;
public int size;
public String message;
public Boolean visible = false;
public Console() {
this.x = 0;
this.y = 0;
this.size = 16;
this.font =... |
b973a2d3-7a74-42a9-831d-5c3fc1874040 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-20 12:30:15", "repo_name": "solangepaz/JavaSE8", "sub_path": "/14-NIO.2/practices/practice1/LambdaFiles14-01Prac/src/com/example/lambda/P01BufferedReader.java", "file_name": "P01BufferedReader.java", "file_ext... | import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.nio.file.Path;
/**
*
* @author oracle
*/
public class P01BufferedReader {
public static void main(String[] args) {
// System.out.println(Path.of(".").toAbsolutePath());
try{
Buffered... |
aec167f6-4cd5-4378-a678-84e8cee2b9b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-05T08:53:32", "repo_name": "yuanzy1994/devops", "sub_path": "/notes/ansible.md", "file_name": "ansible.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 60, "lang": "zh", "doc_type": "text", ... | ---
#这是一些不常用但是逼格较高的模块,或许会有使用需求。
synchronize 复制海量小文件场景使用,以及打包解包用途。
lineinfile 修改文件内容使用 regexp=^ENV_KEY=
get_url
vault 加密模块
wait_for 任务的暂停
sync poll 异步
---
#提高效率的一些逻辑
register 注册变量
debug
changed_when
when 与register结合使用功能强大
gather_facts
environment
changed_when chan... |
8e5f9b4f-5aae-4c79-94b3-656b68645232 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-15 22:53:31", "repo_name": "Prophet32j/partners-in-reading", "sub_path": "/src/main/java/com/rm/pir/model/Family.java", "file_name": "Family.java", "file_ext": "java", "file_size_in_byte": 714, "line_count": 3... | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.rm.pir.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.enterprise.context.SessionScoped;
import javax.inj... |
1aec628e-da98-4ca9-83b4-da5ab8a186e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 22:57:31", "repo_name": "niha1996/BloomIdea", "sub_path": "/eclipse-workspace/BloomIdea/src/com/dao/ContactDao.java", "file_name": "ContactDao.java", "file_ext": "java", "file_size_in_byte": 715, "line_coun... | package com.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import com.bean.Contact;
import com.util.CreateUtil;
public class ContactDao {
public static void insertContact(Contact c)
{
try
{
Connection conn=CreateUtil.createConnection();
String sql="insert into contact(name,phone,subje... |
052e0497-285e-49fa-99e2-36b0ed48025a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-22 21:49:52", "repo_name": "culmat/oracle-jdk", "sub_path": "/src/main/java/com/bintray/origin/publish/RepackagingPublisher.java", "file_name": "RepackagingPublisher.java", "file_ext": "java", "file_size_in_by... | package com.bintray.origin.publish;
import java.io.File;
import java.io.FileInputStream;
import com.bintray.origin.JDKDescriptor;
import com.bintray.origin.repack.Repack;
public interface RepackagingPublisher extends Publisher {
@Override
default void publish(JDKDescriptor desc) {
try {
download(desc);
Rep... |
7726821d-56a8-4148-84df-5c4af06f725f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-16 21:26:06", "repo_name": "MBHock/sql-from-json-schema", "sub_path": "/src/main/java/org.mhb.parser/PropertyName.java", "file_name": "PropertyName.java", "file_ext": "java", "file_size_in_byte": 715, "line_co... | package org.mhb.parser;
public enum PropertyName {
SEARCH_DIRECTORY("searching-directory"),
INCLUDE_PATTERN("include-file-pattern"),
EXCLUDE_PATTERN("exclude-file-pattern"),
PROPERTY_FILENAME("application.properties"),
LOGGING_PROPERTY_FILENAME("logging.properties"),
DB_PASSWORD("database-passw... |
a0451ac0-a56f-481f-b66f-ed4f7cb660da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-01 03:00:11", "repo_name": "SeminarSystemGUGU/BackEnd", "sub_path": "/gugubird/src/main/java/com/example/gugubird/Dao/TeacherDao.java", "file_name": "TeacherDao.java", "file_ext": "java", "file_size_in_byte": ... | package com.example.gugubird.Dao;
import com.example.gugubird.Entity.UserEntity;
import com.example.gugubird.Mapper.TeacherMapper;
import com.example.gugubird.Model.NewTeacherDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class T... |
8d8a1cc5-94da-4587-9fe9-a86d69a4e60a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-30 19:21:11", "repo_name": "Malehaly/monstruous-belly", "sub_path": "/core/src/br/com/pyrodevir/monstruousbelly/Beat.java", "file_name": "Beat.java", "file_ext": "java", "file_size_in_byte": 715, "line_count":... | package br.com.pyrodevir.monstruousbelly;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Music;
import com.badlogic.gdx.audio.Sound;
public class Beat {
private Music backSound;
private Sound death;
public Beat(){
backSound = Gdx.audio.newMusic(Gdx.files.internal("sound/backsound.mp3... |
91fd298a-b6ad-4e4d-a8b3-e5111e3222d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-28 23:03:08", "repo_name": "alexkos2002/paymentsSpringWebApp", "sub_path": "/src/main/java/org/kosiuk/webApp/service/TransactionService.java", "file_name": "TransactionService.java", "file_ext": "java", "file_... | package org.kosiuk.webApp.service;
import org.kosiuk.webApp.entity.Transaction;
import org.kosiuk.webApp.repository.TransactionRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TransactionService {
private final Transac... |
fbdeeaba-01b3-4aed-9935-ac5762a7b4a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-12 15:20:05", "repo_name": "BasessGit/writespring", "sub_path": "/src/main/java/com/lzj/spring/core/supprot/AbsolutePathResource.java", "file_name": "AbsolutePathResource.java", "file_ext": "java", "file_size_... | package com.lzj.spring.core.supprot;
import com.lzj.spring.core.Resource;
import java.io.*;
public class AbsolutePathResource implements Resource {
private String path;
private File file;
private ClassLoader loader;
public AbsolutePathResource(String config) {
this.path = config;
}
... |
2e1a85b6-b545-479e-9259-43ddbba92f8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-06 13:08:50", "repo_name": "ameenkhan07/chathubber", "sub_path": "/src/chathubber/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 715, "line_count": 37, "lang": "en", "doc_ty... | /*
Responsible for reflecting the incoming data to all the clients attached to the socket at 1500
*/
package chathubber;
import java.net.*;
public class Server extends Thread {
int i=0;
public void run()
{
try
{
//SOCKET DOESNT NEET TO BE CLOSED AS THE PROCESS ITSELF IS TERMINATED
ServerSocket serverSock... |
79fb44c4-4718-4f6c-b3e1-eb23c02d5fe2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-26 19:33:03", "repo_name": "ucsd-ext-android-rja/android-1-week-3-snap", "sub_path": "/app/src/main/java/com/ucsdextandroid1/snapapp/stories/Story.java", "file_name": "Story.java", "file_ext": "java", "file_si... | package com.ucsdextandroid1.snapapp.stories;
/**
* Created by rjaylward on 2019-04-20
*/
public class Story {
private String title;
private String subtitle;
private String imageUrl;
private String storyLink;
public Story(String title, String subtitle, String imageUrl, String storyLink) {
... |
18472727-5408-4d68-961f-8f50b91ad368 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-01T08:20:09", "repo_name": "saphal/pip-package", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 720, "line_count": 34, "lang": "en", "doc_type": "text", "blob_id... | <h1> Python Package Inheritance Class Example </h1>
This is minimal pip package created for udacity nano degree program
<h2>Website Link</h2>
url: https://github.com/saphal/pip-package
url :https://pypi.org/project/inheritance-py-sa/
url : https://medium.com/@franticarsenal/how-to-build-a-simple-python-p... |
56c01eaa-14d0-4eb3-94ac-5f433890d1ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-19 02:05:58", "repo_name": "Software-Engineering-Course-Design-Team/Course-Registration", "sub_path": "/src/com/model/javabean/Stufee.java", "file_name": "Stufee.java", "file_ext": "java", "file_size_in_byte":... |
package com.model.javabean;
public class Stufee {
private String status;
private int fee;
private int term;
private long SID;
public Stufee() {
super();
}
public Stufee(String status, int fee, int term, long sID) {
super();
this.status = status;
this.fee = fee;
this.term = term;
SID = sID;
}
pu... |
1a5d8bca-cfbd-45c9-9ef8-abd5a29ebe66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-10 16:18:16", "repo_name": "Freedy001/gulimall", "sub_path": "/product/src/main/java/com/freedy/mall/product/vo/SkuItemVo.java", "file_name": "SkuItemVo.java", "file_ext": "java", "file_size_in_byte": 785, "li... | package com.freedy.mall.product.vo;
import com.freedy.common.to.SeckillSkuRedisTo;
import com.freedy.mall.product.entity.SkuImagesEntity;
import com.freedy.mall.product.entity.SkuInfoEntity;
import com.freedy.mall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;
import java.util.List;
/*... |
7a5f1a6e-bf9d-4cca-bee2-70209e00bba5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-22T09:55:36", "repo_name": "zdubzdab/transport", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 744, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id... | Usefull links:
https://github.com/facebookincubator/create-react-app
https://zdubzdab.github.io/transport/
https://hello.irail.be/api/1-0/ - бельгійська апішка з транспортом
https://github.com/iRail/stations
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md... |
cd603b29-f7e6-4993-91e2-bf4c779fcb06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-30 11:43:49", "repo_name": "cglCoder/nacos-parent", "sub_path": "/nacos-consumer/src/main/java/com/aopioc/nacos/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_... | package com.aopioc.nacos.controller;
import com.aopioc.nacos.pojo.User;
import com.aopioc.nacos.service.IndexFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.s... |
beca5aaa-3e28-48e7-a725-2d9d09c0ce50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-09T17:29:45", "repo_name": "StuartFletcher90/ReactBurgerApp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 716, "line_count": 11, "lang": "en", "doc_type": "te... | # ReactBurgerApp
My react burger app is a full stack project I've been working on during my time at CodeNation on the second cohort.
It compromised of React, node, axios, react router, firebase & firestore.
I'm really happy with this project, This was done following a udemy tutorial with an assigned end goal of havi... |
205e53b4-8bf3-4895-b15e-7fe3573e98c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-21 00:55:43", "repo_name": "cloudyday/CILsearch", "sub_path": "/src/de/cil2012/cilsearch/client/handler/ExtendedSearchHandler.java", "file_name": "ExtendedSearchHandler.java", "file_ext": "java", "file_size_in... | package de.cil2012.cilsearch.client.handler;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import de.cil2012.cilsearch.client.ExtendedSearchWidget;
import de.cil2012.cilsearch.client.MailPreviewWidget;
import de.cil2012.cilsearch.shared.model.MailSearchRequest;
public class... |
82100d9f-343c-4f27-b0e8-f103d975a379 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-24 02:07:46", "repo_name": "LppinGView/JAVA-000", "sub_path": "/Week_07/homework/src/main/java/com/mysql/demo/proxy/StaticProxy.java", "file_name": "StaticProxy.java", "file_ext": "java", "file_size_in_byte": ... | package com.mysql.demo.proxy;
/**
* 静态代理 代理类必须实现被代理对象的接口 或者继承被代理对象
*/
public class StaticProxy implements IUserDao {
private IUserDao userDao;
public StaticProxy (IUserDao userDao){
this.userDao = userDao;
}
@Override
public void save() {
System.out.println("开启事务");
use... |
b24ff9ce-5613-420e-a111-fd82ecbaac3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-14 15:44:01", "repo_name": "mambarek/javaee-project", "sub_path": "/employee-app/webapp/src/main/java/com/it2go/employee/ui/jsf/SelectItemWrapper.java", "file_name": "SelectItemWrapper.java", "file_ext": "java... | package com.it2go.employee.ui.jsf;
import lombok.Data;
import sun.reflect.Reflection;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@Data
public class SelectItemWrapper<T> {
private T value;
private String localizedLabel;
public SelectItemWrapper(T value) {
... |
59b3d763-d363-4e0e-b965-1254f1d0b781 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-13 13:32:40", "repo_name": "studio-AHOPE/project_ahope1", "sub_path": "/app/src/main/java/studio/ahope/project_ahope1/Task/WeatherTask.java", "file_name": "WeatherTask.java", "file_ext": "java", "file_size_in_... | package studio.ahope.project_ahope1.Task;
import android.os.AsyncTask;
import org.json.JSONException;
import java.io.IOException;
import studio.ahope.project_ahope1.Manager.WeatherManager;
/**
* Last update : 2016-10-30
*/
/* while working */
public class WeatherTask extends AsyncTask<Double, Void, WeatherManager>... |
058ca381-1bb2-4876-b01c-ab9d1f7bac75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-01 18:19:21", "repo_name": "denisusanto94/spring-boot-oauth2-master", "sub_path": "/src/main/java/com/api/oauth2/example/model/UsersMapper.java", "file_name": "UsersMapper.java", "file_ext": "java", "file_size... | package com.api.oauth2.example.model;
import org.springframework.jdbc.core.RowMapper;
import java.sql.ResultSet;
import java.sql.SQLException;
public class UsersMapper implements RowMapper<UsersResult> {
@Override
public UsersResult mapRow(ResultSet rs, int rowNum) throws SQLException {
Users users =... |
d0d26a3e-b686-4d12-8e32-a629ec387006 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-15 17:50:10", "repo_name": "Struti/thesis_CD", "sub_path": "/program/modules/service/src/main/java/com/me/thesis/holiday/service/security/AuthenticatedUserService.java", "file_name": "AuthenticatedUserService.... | package com.me.thesis.holiday.service.security;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Service;
@Service
public class Authentic... |
fa2bf9d0-f4a0-4505-a44d-f86d0c108219 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-29 08:11:56", "repo_name": "bukoudai/Java8Demo", "sub_path": "/src/main/java/com/zhangxx/java8/Test1.java", "file_name": "Test1.java", "file_ext": "java", "file_size_in_byte": 836, "line_count": 33, "lang": "z... | package com.zhangxx.java8;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class Test1 {
/**
* 关于函数式接口:
* 1如果一个接口只有一个抽象方法,那么该接口就是函数接口
* 2如果声明 FunctionInterface 注解
* 3对满足函数式接口定义 编译器依旧会看作函数式接口
*/
public static void main(String[] args) {
Li... |
0d2c2e71-920f-4a74-be1d-15268e613b37 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-20 21:04:47", "repo_name": "Supernovaliu/Flora", "sub_path": "/JavaSenior/day04/src/com/flora/java/StringDemo3.java", "file_name": "StringDemo3.java", "file_ext": "java", "file_size_in_byte": 714, "line_count"... | package com.flora.java;
public class StringDemo3 {
public String getMaxSameString(String str1,String str2){
if(str1!=null&&str1.length()!=0) {
String maxStr = (str1.length() >= str2.length()) ? str1 : str2;
String minStr = (str1.length() < str2.length()) ? str1 : str2;
... |
20e6044e-d855-412c-9fff-b1a7293212a3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-31 17:18:51", "repo_name": "ghaxOS-GOrtiz/F16_CIIC4010_Lab3", "sub_path": "/F16_CIIC4010_Lab3/src/Lab3Exercises.java", "file_name": "Lab3Exercises.java", "file_ext": "java", "file_size_in_byte": 714, "line_cou... | import javax.swing.JFrame;
public class Lab3Exercises {
public static void main(String[] args) {
// Changed title from "Hello, world!" to "Gabriel C. Ortiz Lopez"
JFrame myFrame = new JFrame("Gabriel C. Ortiz");
myFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
// Changes were made. Setting up for a ... |
7b57c827-7dac-4cae-b076-89b62cbc872d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-20 00:26:38", "repo_name": "leminhtris4896/ChuyenDe2", "sub_path": "/Codes/FoodLocation/app/src/main/java/com/example/trile/foodlocation/UserAboutusActivity.java", "file_name": "UserAboutusActivity.java", "fil... | package com.example.trile.foodlocation;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
public class UserAboutusActivity extends AppCompatActivity {
private TextView about_us_close;
@Override
protected void onCreate(Bun... |
d9572273-045a-4791-a436-6d3f5c206cd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-31 06:23:28", "repo_name": "emreakoglu/JAVA_APP", "sub_path": "/DesingPatterns_DI/src/singletonPattern/SingletonClass.java", "file_name": "SingletonClass.java", "file_ext": "java", "file_size_in_byte": 714, "l... | package singletonPattern;
public class SingletonClass {
// Tek bir sefer oluşturulmasını sağlar
private static SingletonClass instance = null;
private SingletonClass() {
System.out.println("Sınıf tek seferligine olusturuldu");
}
//synchronized anahtar kelimemiz ile metodun aynı anda çalışmasını enge... |
724601ca-972e-4375-b7bd-775ee24fe4d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-25 04:17:40", "repo_name": "LakshminarayananG/FullStackDev", "sub_path": "/spring-demo/src/main/java/com/practice/spel/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 714... | package com.practice.spel;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component("customerBean")
//Customer customerBean = new Customer();
public class Customer {
private Item item;
@Value("#{itemBean.name}")
// String itemName=new Item().name
// ... |
bdf85da9-56d5-40ec-bcc6-bb546e995c84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-20 22:34:02", "repo_name": "theodosismak/Self-Organized-Networks", "sub_path": "/src/inputPanel.java", "file_name": "inputPanel.java", "file_ext": "java", "file_size_in_byte": 713, "line_count": 36, "lang": "e... | package beans;
import java.awt.GridLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
public class inputPanel extends JPanel{
//private static final long serialVersionUID = 106315850400227275L;
JLabel Label;
JLabel Error;
JTextField Field;
public inputPanel(Str... |
e430bd39-bef5-4f2b-8ed4-b56e359a5a10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-07T21:36:55", "repo_name": "santiagopemo/holberton-system_engineering-devops", "sub_path": "/0x13-firewall/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 718, "line_count": 15... | # 0x13. Firewall
## Resources :books:
### Read or watch:
* [What is a firewall]()
## Tasks
### Mandatory :page_with_curl:
- [x] **[0. Firewall ABC](./0-firewall_ABC)** - Pick one answer for every question
- [x] **[1. Block all incoming traffic but](./1-block_all_incoming_traffic_but)** - Let’s install the ufw firewal... |
9844b60e-77ba-43eb-9203-84aa5d7417f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-07 05:47:06", "repo_name": "alexwei12/codebase", "sub_path": "/leetcode/src/main/java/com/aw/leetcode/n0094.java", "file_name": "n0094.java", "file_ext": "java", "file_size_in_byte": 714, "line_count": 30, "la... | package com.aw.leetcode;
import com.aw.common.TreeNode;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
/**
* @author weihongyi5
*/
public class n0094 {
public List<Integer> inorderTraversal(TreeNode root) {
List<Integer> r = new ArrayList<>();
Stack<TreeNode> stack = ... |
e471803d-4f46-44ad-aea3-e36973c9bbca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-20 15:25:16", "repo_name": "PeiQiu/Fitness-Tracker", "sub_path": "/src/main/java/com/jawbone/upplatformsdk/datamodel/SleepsData/SleepsResponseBodyData.java", "file_name": "SleepsResponseBodyData.java", "file_e... | package com.jawbone.upplatformsdk.datamodel.SleepsData;
import com.jawbone.upplatformsdk.datamodel.Links;
import java.util.List;
public class SleepsResponseBodyData {
private List<SleepsItem> items;
private Links links;
private int size;
public SleepsResponseBodyData() {
}
public List<Sleep... |
d801fb81-142e-4809-84c3-3c24537fc46e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-10T23:17:35", "repo_name": "matthewbwall/realeyesmwall", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 714, "line_count": 32, "lang": "en", "doc_type": "text", ... | # realeyesmwall
To install PowerShell on Ubuntu 16.04 simply:
Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Register the Microsoft Ubuntu repository
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sourc... |
380b8711-63c1-4b79-a344-b18693e28457 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-07 07:30:47", "repo_name": "solarknight/simple_spring_boot", "sub_path": "/server/src/main/java/com/thanos/springboot/vo/UserCreateReqVo.java", "file_name": "UserCreateReqVo.java", "file_ext": "java", "file_si... | package com.thanos.springboot.vo;
import com.thanos.springboot.bo.User;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
/**
* @author solarknight created on 17/3/20 下午9:52
* @version 1.0
*/
@Data
public class UserCreateReqVo {
@NotNull
@Size(min = 2... |
1d89229c-fa4b-430d-8999-42f4fd8d4cf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-05T00:23:12", "repo_name": "pallaviborde/jobs4u_with_jsp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 719, "line_count": 20, "lang": "en", "doc_type": "text"... | # Jobs4U
Jobs4U aims at facilitating the process of landing a job for ITU students and Alumni’s by providing
them a platform where they can find relevant jobs from recruiters. This platform gives the recruiter, an
ability to search for talents that could be a perfect fit for their vacant positions and also post open... |
4d8c07f3-5bac-4dce-84d3-2b20e5c4d436 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-04 09:07:00", "repo_name": "Imanity-Software/Imanity-ProtocolSupport", "sub_path": "/src/main/java/protocolsupport/protocol/transformer/middlepacket/clientbound/play/MiddleEntityRelMoveLook.java", "file_name":... | package protocolsupport.protocol.transformer.middlepacket.clientbound.play;
import protocolsupport.protocol.PacketDataSerializer;
import java.io.IOException;
public abstract class MiddleEntityRelMoveLook<T> extends MiddleEntity<T> {
protected int relX;
protected int relY;
protected int relZ;
protected int yaw;
... |
7e8574ca-8b8d-4180-b473-bf09ed3d4004 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-02-05T19:44:08", "repo_name": "asaramet/haw_ucc", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 714, "line_count": 21, "lang": "en", "doc_type": "text", "blob_id":... | # Webapp: HAW UCC on bwUniCluster under HAW project
-------------------------------------
The "Hochschulen fuer Angewandte Wissenschaften" project is designed to view and configure computational resources on HPC clusters at various providers.
The website is designed to process and display the HAW users usage of total... |
7e9f6702-4618-42dc-8509-021db5a42583 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-27 19:36:22", "repo_name": "DayronYaret/Spotifly", "sub_path": "/app/src/main/java/es/ulpgc/dayron/spotifly/forgotPassword/ForgotPasswordModel.java", "file_name": "ForgotPasswordModel.java", "file_ext": "java"... | package es.ulpgc.dayron.spotifly.forgotPassword;
import android.util.Log;
import java.lang.ref.WeakReference;
import es.ulpgc.dayron.spotifly.app.RepositoryContract;
public class ForgotPasswordModel implements ForgotPasswordContract.Model {
public static String TAG = ForgotPasswordModel.class.getSimpleName();
p... |
3c71722e-d104-4aba-a177-c03dc196a875 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-22 06:47:20", "repo_name": "themuzic/finalProject", "sub_path": "/src/main/java/com/kh/develoffice/document/model/vo/Approval.java", "file_name": "Approval.java", "file_ext": "java", "file_size_in_byte": 780, ... | package com.kh.develoffice.document.model.vo;
import java.sql.Date;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Approval {
private int apPk;
pri... |
cfd7dc84-7f02-4a9a-b45b-c61e59ac0fad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-10 22:15:33", "repo_name": "Shimura-Aniki/SemaforoEx1", "sub_path": "/src/view/Principal.java", "file_name": "Principal.java", "file_ext": "java", "file_size_in_byte": 714, "line_count": 32, "lang": "en", "doc... | package view;
import java.util.concurrent.Semaphore;
import controller.ThreadsTransacoes;
import controller.ThreadsTransacoes2;
import controller.ThreadsTransacoes3;
public class Principal {
public static void main(String[] args) {
int permissoes = 1;
Semaphore semaforo = new Semaphore(permissoes);
for(in... |
a97cd9ba-cce7-415d-9dec-986c2d54a073 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-11T01:09:11", "repo_name": "rrajra/abrahams.dev", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 714, "line_count": 18, "lang": "en", "doc_type": "text", "blob_i... | # abrahams.dev

## Details
I have created my [website](https://abrahams.dev) with performance and accessibility in mind. By using tools such as Google Lighthouse and WAVE, I am constantly striving and working to make my site as powerful as it ca... |
289a9353-3349-4d3a-a241-bb7af1a64e90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-23 23:55:47", "repo_name": "isacalmeida/frontend-server", "sub_path": "/frontend-server-application/src/main/java/br/edu/unoesc/frontendserver/application/FrontendServerApplication.java", "file_name": "Fronten... | package br.edu.unoesc.frontendserver.application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import br.edu.unoesc.sistemautils.arquitetura.application.ApplicationStarter;
import br.edu.unoesc.sistemautils.arquitetura.constants.BasePack... |
d201c0d2-014e-4e0d-89a1-d201a6c42264 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-25 00:38:06", "repo_name": "DGhambari/WeatherTopV2.0", "sub_path": "/app/models/Reading.java", "file_name": "Reading.java", "file_ext": "java", "file_size_in_byte": 713, "line_count": 34, "lang": "en", "doc_ty... | package models;
import javax.persistence.Entity;
import play.db.jpa.Model;
import java.util.Date;
import java.time.Instant;
@Entity
public class Reading extends Model {
public String name;
public int code;
public double temperature;
public double windSpeed;
public int windDirection;
public int pressure... |
7055a7d5-b8cd-47b4-9c9a-31441faffcb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-09 18:54:40", "repo_name": "mahmutBerat/gofDesignPatterns", "sub_path": "/command/src/main/java/com/command/LightCommand/LightOffCommand.java", "file_name": "LightOffCommand.java", "file_ext": "java", "file_si... | package com.command.LightCommand;
import com.command.Command;
import com.receiver.Light;
/**
* Concrete Command
* Created by Mahmut on 1/7/2018.
*/
public class LightOffCommand implements Command {
private Light light;
private final boolean isUndoable = true;
public LightOffCommand(Light light) {
... |
fc2779df-db4c-4104-bca4-a6e56556daf1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-13 14:28:27", "repo_name": "bsideproject/knit-server", "sub_path": "/src/main/java/com/project/knit/domain/entity/UserToken.java", "file_name": "UserToken.java", "file_ext": "java", "file_size_in_byte": 714, "... | package com.project.knit.domain.entity;
import lombok.AccessLevel;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.*;
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Getter
@Table(name = "user_token")
@Entity
public class UserToken extends TimeEntity {
@... |
71e6ef1b-0867-47a2-8edb-ca750f6405de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-20 01:52:42", "repo_name": "lilyFeng520/hibernate", "sub_path": "/src/main/java/cn/ybzy/hibernatedemo2/model/Teacher.java", "file_name": "Teacher.java", "file_ext": "java", "file_size_in_byte": 715, "line_coun... | package cn.ybzy.hibernatedemo2.model;
import java.util.HashSet;
import java.util.Set;
public class Teacher {
private int id;
private String tname;
private Set<Course> courses = new HashSet<>();
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String... |
fb721af3-951a-48a9-bc69-95f2674b68a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-27T16:08:43", "repo_name": "timothypearson/timothypearson", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 741, "line_count": 13, "lang": "en", "doc_type": "text... | - 👋 Hi, My name is Tim!
- 👀 I’m interested in learning software development, data science, and building out my tooling and coding knowledge, skills, and experience.
- I consider myself a data / risk / business analyst with a passion for finding meaning from data.
- 🌱 I’m currently learning GitHub and python code.
-... |
f466957a-a297-4405-942c-65973baba0da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-19 14:13:06", "repo_name": "cuba-platform/cuba", "sub_path": "/modules/web/src/com/haulmont/cuba/web/sys/linkhandling/ExternalLinkContext.java", "file_name": "ExternalLinkContext.java", "file_ext": "java", "fi... | package com.haulmont.cuba.web.sys.linkhandling;
import com.google.common.collect.ImmutableMap;
import com.haulmont.cuba.web.App;
import java.util.Map;
public class ExternalLinkContext {
protected Map<String, String> requestParams;
protected String action;
protected App app;
public ExternalLinkContex... |
8661a369-bb49-4965-ba72-c8804a37dbee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-14 12:25:57", "repo_name": "vlukashov/redux-flow-gridpaint", "sub_path": "/src/main/java/com/vlukashov/gridpaint/AppState.java", "file_name": "AppState.java", "file_ext": "java", "file_size_in_byte": 714, "lin... | package com.vlukashov.gridpaint;
public class AppState {
public AppState() {
}
public AppState(int width, int height, int[] cells) {
this.width = width;
this.height = height;
this.cells = cells;
}
public int getWidth() {
return width;
}
public void setWidt... |
7b7d508a-93a5-4232-99a1-f1cf0aed6ab4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-17 18:38:32", "repo_name": "autoschool/splinter", "sub_path": "/src/main/java/ru/yandex/autoschool/splinter/context/AuthContext.java", "file_name": "AuthContext.java", "file_ext": "java", "file_size_in_byte": ... | package ru.yandex.autoschool.splinter.context;
import ru.yandex.autoschool.splinter.models.User;
import javax.ws.rs.core.SecurityContext;
import java.security.Principal;
/**
* Created by pacahon on 28.11.14.
*/
public class AuthContext implements SecurityContext {
private User user;
public AuthContext(f... |
60f2c476-c052-45a0-b629-5062e42f4734 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-27 10:45:59", "repo_name": "daviddavo/20pc", "sub_path": "/pr05b/src/pr05b/mensajes/PreparadoClienteServidorMensaje.java", "file_name": "PreparadoClienteServidorMensaje.java", "file_ext": "java", "file_size_in... | package pr05b.mensajes;
import java.net.InetAddress;
public class PreparadoClienteServidorMensaje extends Mensaje {
private static final long serialVersionUID = 7114752838516448684L;
private InetAddress _addr;
private int _port;
private String _filename;
public PreparadoClienteServidorMensaje(String destino, ... |
0e47c083-d976-4bd7-89f5-1528ba2618e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-17T23:13:49", "repo_name": "linhkikuchi/jenkins-master-docker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 713, "line_count": 18, "lang": "en", "doc_type": "... | # Dockerfile for jenkins-master
a general dockerfile to build jenkins master, with LDAP, basic mailer, and plugins set up.
### to build the docker image
```
mkdir -p /var/docker
cd /var/docker && git clone https://github.com/linhkikuchi/jenkins-master-docker.git
cd jenkins-master-docker && docker build -t jenkins-mast... |
adb29161-10af-48e3-8943-548a98938025 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-03 22:53:00", "repo_name": "moutainhigh/core", "sub_path": "/vip/src/main/java/bom/gupaoedu/vip/concurrency/threaduse/demo/CallableDemo.java", "file_name": "CallableDemo.java", "file_ext": "java", "file_size_i... | package bom.gupaoedu.vip.concurrency.threaduse.demo;
import java.util.concurrent.*;
/**
* 带有返回值的线程使用
* create-date: 2020/5/16-20:32
*/
public class CallableDemo implements Callable<String> {
@Override
public String call() throws Exception {
System.out.println("come in");
Thread.sleep(5000)... |
4303bf51-b0db-4b2c-8f06-ba317f175aae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-29 16:32:58", "repo_name": "trems/bankX-test-task", "sub_path": "/src/main/java/ru/bank_x/registration_service/domain/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 714, "line_c... | package ru.bank_x.registration_service.domain;
import lombok.*;
import java.util.Date;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
private String login;
private String email;
private FIO fio;
private Date registeredAt;
private boolean verified;
private boolean ... |
e86cd1ed-827d-4508-93c4-8c84f5c91de6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-11 20:30:03", "repo_name": "bparrishMines/penguin", "sub_path": "/packages/reference/android/src/main/java/github/penguin/reference/async/Completable.java", "file_name": "Completable.java", "file_ext": "java",... | package github.penguin.reference.async;
public class Completable<T> {
T result;
Throwable error;
OnCompleteListener<T> listener;
boolean isCompletedWithResult = false;
boolean isCompletedWithError = false;
public void setOnCompleteListener(final OnCompleteListener<T> listener) {
this.listener = listen... |
c86e8084-8187-4e8c-b73c-195e4b5d50dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-07 12:26:01", "repo_name": "596785154/ImageLoaderDemo", "sub_path": "/picassodemo/src/main/java/com/nana/picassodemo/CropSquareTransformation.java", "file_name": "CropSquareTransformation.java", "file_ext": "j... | package com.nana.picassodemo;
import android.graphics.Bitmap;
import com.squareup.picasso.Transformation;
/**
* picasso的Transformation方法,对图片进行截取
* Created by HTC on 2017/2/4.
*/
public class CropSquareTransformation implements Transformation{
//截取原图的1/2宽度和高度作为bitmap的宽度和高度
@Override
public Bitmap trans... |
abc6e2d7-05f4-4b8a-aa20-29b0ad1ff230 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-12 09:59:51", "repo_name": "kinshuk4/algorithms-java", "sub_path": "/src/main/java/com/vaani/dsa/algo/ds/list/linked/LinkedListCheckCycle.java", "file_name": "LinkedListCheckCycle.java", "file_ext": "java", "f... | package com.vaani.dsa.algo.ds.list.linked;
import com.vaani.dsa.ds.core.list.sll.generic.ListNode;
public class LinkedListCheckCycle {
public boolean hasCycle(ListNode head) {
ListNode slowNode = head;
ListNode fastNode = head;
if (head != null && head.next != null) {
fastNode... |
2ea75041-d393-4c9d-875d-94892c582ab7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-08 10:18:50", "repo_name": "shivakrishnaah/Products", "sub_path": "/src/main/java/com/test/functions/StoreProductDetails.java", "file_name": "StoreProductDetails.java", "file_ext": "java", "file_size_in_byte":... | package com.test.functions;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import com.test.beans.Product;
import com.test.dao.ElasticDataAccessor;
public class StoreProductDetails implements RequestHandler<Product, Product> {
private final ElasticDa... |
7e3a0410-db2d-4d52-91fd-960952c93885 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-01 08:02:57", "repo_name": "bleach87/bitEdu", "sub_path": "/java2/src/java02/test09/command/ListCommand.java", "file_name": "ListCommand.java", "file_ext": "java", "file_size_in_byte": 726, "line_count": 28, "... | package java02.test09.command;
import java.util.Map;
import java02.test09.Score;
import java02.test09.ScoreDao;
import java02.test09.annotation.Command;
import java02.test09.annotation.Component;
@Component("list")
public class ListCommand {
ScoreDao scoreDao;
public void setScoreDao(ScoreDao scoreDao) {
//... |
21b2d9a8-0661-461e-9491-7890a778de23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-13 18:07:57", "repo_name": "SoapMyxa/FirstAndroidApp", "sub_path": "/app/src/main/java/com/example/test/mvp/domain/RandomWordPrint.java", "file_name": "RandomWordPrint.java", "file_ext": "java", "file_size_in_... | package com.example.test.mvp.domain;
public class RandomWordPrint {
private String randomWord;
private String randomWordDefinition;
public RandomWordPrint(String randomWord, String randomWordPronounce) {
this.randomWord = randomWord;
this.randomWordDefinition = randomWordPronounce;
}
... |
c09b9bab-1b11-4753-a9c8-54c7f7faebec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-27 02:14:43", "repo_name": "Leader0721/LeaderMVPRxDemo", "sub_path": "/pub/src/main/java/com/example/pub/net/core/retrofit/netError/ServerException.java", "file_name": "ServerException.java", "file_ext": "java... | package com.example.pub.net.core.retrofit.netError;
/**
* 服务器返回的错误异常
*/
public class ServerException extends RuntimeException {
public String code;
public String message;
public ServerException(String code, String message) {
super(message);
this.code = code;
this.message = mess... |
eae02314-ce82-4df0-9c87-d72280298854 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-29 01:24:33", "repo_name": "Markintoch/MexicanBitcoinPriceTicker", "sub_path": "/app/src/main/java/com/example/imt99/mexicanbitcoinpriceticker/WidgetService.java", "file_name": "WidgetService.java", "file_ext"... | package com.example.imt99.mexicanbitcoinpriceticker;
import android.app.IntentService;
import android.content.Intent;
import android.support.annotation.Nullable;
import java.util.Timer;
import java.util.TimerTask;
/**
* Created by Markintoch on 14/07/2017.
*/
public class WidgetService extends IntentService {
... |
c6a7a1cb-a233-427f-91e6-9b5fc6912537 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-06 08:53:08", "repo_name": "kwz219/SmartDrawer", "sub_path": "/SmartDrawer/src/View/StateLabel.java", "file_name": "StateLabel.java", "file_ext": "java", "file_size_in_byte": 714, "line_count": 28, "lang": "en... | package View;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.JLabel;
public class StateLabel extends JLabel{
public static StateLabel st=new StateLabel();
private StateLabel() {
this.setPreferredSize(new Dimension(150,15));
... |
a209fe38-5486-44c4-bd2e-f9da8b6b6ba4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-25T23:46:50", "repo_name": "GregCampbellPresents/GECNewsScraper", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 714, "line_count": 28, "lang": "en", "doc_type":... | # GECNewsScraper
This program obtains article headlines and links directly from news.google.com and populates a local NoSQL MongoDB database.
This project was done over the course of about 2 weeks.
Heroku Link:
https://dashboard.heroku.com/apps/gec-newsscraper
YouTube Demo Video:
https://www.youtube.com/watch?v=L8M0... |
c3c3cc48-62b0-41fb-9dc5-f585154aebaf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-24 08:58:32", "repo_name": "jim698/1stProject", "sub_path": "/src/com/tj/project/service/NWriteService.java", "file_name": "NWriteService.java", "file_ext": "java", "file_size_in_byte": 734, "line_count": 28, ... | package com.tj.project.service;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.tj.project.dao.NoticeDao;
public class NWriteService implements Service {
@Override
public void execute(HttpServletRequest request, HttpServletResponse response) {
String aid =... |
b7ede53a-6df8-44f6-bee5-af7802e37631 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-26 13:03:56", "repo_name": "jved63651/General1", "sub_path": "/BlueJ2/ReadWriteFileHandling.java", "file_name": "ReadWriteFileHandling.java", "file_ext": "java", "file_size_in_byte": 715, "line_count": 26, "la... | import java.util.Scanner;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
public class ReadWriteFileHandling
{
public static void main(String[] args) throws IOException
{
FileWriter fr = new FileWriter("U:\\Desktop_2k\\test.txt", true);
BufferedWrit... |
5619a552-bbb7-4c0b-8162-fb039eb2571a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 12:24:29", "repo_name": "jzz-12-6/learn", "sub_path": "/src/main/java/com/jzz/learn/designpatterns/behavioral/nullobject/NullPatternDemo.java", "file_name": "NullPatternDemo.java", "file_ext": "java", "file... | package com.jzz.learn.designpatterns.behavioral.nullobject;
import lombok.extern.slf4j.Slf4j;
/**
* @author jzz
* @date 2019/5/20
*/
@Slf4j
public class NullPatternDemo {
public static void main(String[] args) {
AbstractCustomer customer1 = CustomerFactory.getCustomer("Rob");
AbstractCustomer ... |
29856127-334c-4638-8cf7-9833c881799d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 11:41:53", "repo_name": "Jedreck/ShopStock", "sub_path": "/app/src/main/java/com/example/jedreck/shopstock/Store/StoreApp.java", "file_name": "StoreApp.java", "file_ext": "java", "file_size_in_byte": 714, "... | package com.example.jedreck.shopstock.Store;
/**
* Created by zjx on 2018/4/20.
*/
public class StoreApp
{
private String id;
private String name;
private String price;
private String stock;
public String getId()
{
return id;
}
public void setId(String id)
{
this.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.