id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
18c19acc-5837-468b-9e15-b4fc2f16bdb3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-14 04:55:50", "repo_name": "mguzmane686/espe-sigec-tesis", "sub_path": "/sigecEJB/src/main/java/org/espe/sigec/model/sessionBeans/PerfilFacade.java", "file_name": "PerfilFacade.java", "file_ext": "java", "file...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.espe.sigec.model.sessionBeans; import java.util.Collection; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.espe.sigec.model.enti...
65af0666-d637-4e7a-8e48-dee1f9440bda
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-12T13:36:59", "repo_name": "ymittal/info-retrieval-final-project", "sub_path": "/retrieval/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 30, "lang": "en", ...
This folder contains: 1. Queries for evaluating our systems 2. Configuration files for searching in Galago 3. Raw results from Solr 4. Results from both systems ready for pooling Experiment 1 (Galago) Using `Galago`, we analysed the following: 1. Retrieval performance using different query operators: - BM25 -...
6d685744-afb0-4b87-9f09-f07e42ac870a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-31 09:57:19", "repo_name": "Mersens/Ehome", "sub_path": "/app/src/main/java/com/zzu/ehome/activity/PrivateDoctorFragment.java", "file_name": "PrivateDoctorFragment.java", "file_ext": "java", "file_size_in_byte...
package com.zzu.ehome.activity; 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 com.zzu.ehome.R; import com.zzu.ehome.fragment.BaseFragment; /** * Created...
c83ded6b-466d-414c-85b5-77a1c7b49007
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-25 00:55:59", "repo_name": "marktani/HelloKitty", "sub_path": "/app/src/main/java/com/example/hellokitty/model/CatApi.java", "file_name": "CatApi.java", "file_ext": "java", "file_size_in_byte": 986, "line_coun...
package com.example.hellokitty.model; import com.example.hellokitty.CatApiService; import okhttp3.OkHttpClient; import okhttp3.logging.HttpLoggingInterceptor; import retrofit2.Call; import retrofit2.Retrofit; import retrofit2.converter.simplexml.SimpleXmlConverterFactory; public class CatApi { private CatApiServ...
8725985c-3d05-4204-8374-5912010454e2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-26T00:36:34", "repo_name": "fernando-mc/redmondpython.com", "sub_path": "/content/contributing.md", "file_name": "contributing.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 33, "lang": "en...
--- layout: page title: Contributing to Redmondpython.com --- This is a quick guide on how you can contribute to [Redmondpython.com](http://github.com/fernando-mc/redmondpython.com) - For help with git commands and repository management, here is a [quick guide](https://www.codeschool.com/courses/try-git) - You can a...
2241ad95-33e6-4fdf-8d34-0d57e011fb7b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-19T11:47:08", "repo_name": "bmurr/appengine-devserver-patches", "sub_path": "/file_watcher_patch/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 987, "line_count": 19, "lang": ...
Uses watchdog (https://github.com/gorakhargosh/watchdog) to watch for file system events. The default mtime_file_watcher was very resource intensive, causing my Macbook's fan to spin like a jet engine even when it should be idle. Watchdog uses the native MacOS FSEvents to detect file changes, which is more efficient. ...
55e72f51-c11a-4d26-8f16-778b9a74f8aa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-28 08:31:25", "repo_name": "silaguler/javaprojects", "sub_path": "/Project/src/Rocket.java", "file_name": "Rocket.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 44, "lang": "en", "doc_type"...
import java.util.Random; public class Rocket implements SpaceShip { protected int cost; protected double weight; protected double max_item_weight; protected double item_weight_carried; protected double chance_crash; protected double chance_explode; protected double ranGenerator(double pro...
91d8ea95-7aa5-45d0-8b35-428e30c85eb0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-04 02:12:31", "repo_name": "SM-Leee/Spring-IOC-Container", "sub_path": "/src/main/java/com/douzone/springcontainer/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 992, "line_coun...
package com.douzone.springcontainer; import java.util.List; public class User { private Long no; private Friend friend; private String name = "이성민"; private List<String> friends; public List<String> getFriends() { return friends; } public void setFriends(List<String> friends) { this.friends...
e0005268-8dae-4480-87e4-eeefb74996c3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-28 09:24:24", "repo_name": "fmleing/manyThread", "sub_path": "/src/main/CyclicBarrierDemo.java", "file_name": "CyclicBarrierDemo.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 37, "lang": ...
import java.util.concurrent.BrokenBarrierException; import java.util.concurrent.CyclicBarrier; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class CyclicBarrierDemo { static CyclicBarrier cyclicBarrier = new CyclicBarrier(6, CyclicBarrierDemo::printDown); public s...
a2f1d589-2a3b-42ad-8505-d9d5a0a942a1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-07 13:49:54", "repo_name": "sadisha123/student-management", "sub_path": "/src/view/AppInitializer.java", "file_name": "AppInitializer.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 32, "lan...
package view; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.paint.Color; import javafx.stage.Stage; import javafx.stage.StageStyle; import java.io.IOException; public class AppInitializer extends Application { pub...
0c823e70-6eea-437b-a6ca-027c2b99d464
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 07:23:03", "repo_name": "TThanida/EmployeeMangementDemo", "sub_path": "/src/main/java/com/example/employeemanagement/controller/ExceptionHandlerAdvice.java", "file_name": "ExceptionHandlerAdvice.java", "fil...
package com.example.employeemanagement.controller; import com.example.employeemanagement.controller.view.ExceptionErrorResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframewo...
a5d2776d-493b-4e27-82b3-96cddc8d441d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-29 15:40:13", "repo_name": "MohammedReda90/section2", "sub_path": "/address.java", "file_name": "address.java", "file_ext": "java", "file_size_in_byte": 986, "line_count": 51, "lang": "en", "doc_type": "code",...
/* * 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 student_inf; /** * * @author hp */ public class address { int StreetNO; String city; String count...
5c7c1e94-9825-4f9b-8189-d5e03e5b52d4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-27 13:14:02", "repo_name": "anonisystem/option", "sub_path": "/src/main/java/cl/option/app/service/impl/EmailServiceImpl.java", "file_name": "EmailServiceImpl.java", "file_ext": "java", "file_size_in_byte": 98...
package cl.option.app.service.impl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.web.client.RestTemplateBuilder; import org.springframework.stereotype.Service; import cl.option.app.service.EmailService; import cl.op...
30cb02d9-6216-4ded-a733-29cc1ebab2b0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-10 21:06:22", "repo_name": "svilen-tech/Java-Exercise", "sub_path": "/Java-Advanced/BakeryExamPrep/src/bakery/repositories/DrinkRepositoryImpl.java", "file_name": "DrinkRepositoryImpl.java", "file_ext": "java"...
package bakery.repositories; import bakery.entities.drinks.interfaces.Drink; import bakery.repositories.interfaces.DrinkRepository; import java.util.ArrayList; import java.util.Collection; public class DrinkRepositoryImpl<T> implements DrinkRepository<Drink> { Collection<Drink> drinkCollection; p...
0a0d5f1f-5166-4005-9a19-59c392d68ec3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-19T16:27:18", "repo_name": "edwardstock/httb", "sub_path": "/RELEASE.md", "file_name": "RELEASE.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 30, "lang": "en", "doc_type": "text", "blob_id...
# Release notes ## 1.0.1 - Added support for request mocking - Temporary, tests will work on mock request instead of server. In future, custom web server will be integrated - Added support for MSVC - Added support to build shared library and DLL ## 1.0.0 - Stable release - Refactored code and used c++17 standar...
24389aa6-7223-4430-b7dc-9a376b5acbca
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-11 16:56:27", "repo_name": "Mohamad-Altahan/antlrTest", "sub_path": "/src/Java/AST/JavaStmt/Call_Json_Var.java", "file_name": "Call_Json_Var.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 4...
package Java.AST.JavaStmt; import Java.AST.Node; import Java.AST.Visitor.ASTVisitor; import java.util.ArrayList; import java.util.List; public class Call_Json_Var extends Node { public List<String> key = new ArrayList<String>(); private String jsonName ; public String getJsonName() { return js...
0252ac6d-2b70-4f0d-b0c9-56353e41150a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-13 01:40:08", "repo_name": "teepidge/mooc.fi", "sub_path": "/Part 5/Part05_15 Item.java", "file_name": "Part05_15 Item.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 45, "lang": "en", "doc_...
/* * 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. */ /** * * @author Taylor Pigeon */ public class Item { private String identifier; private String name; public Item(Strin...
cb30a48e-50b8-4f51-89d8-779cc8d18ae1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-04 14:24:14", "repo_name": "lejolly/kvm-builder", "sub_path": "/src/main/java/kvm/InstallKVM.java", "file_name": "InstallKVM.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 32, "lang": "en",...
package kvm; import utils.FileUtils; import java.io.BufferedWriter; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; // step 1 public class InstallKVM { private static final String KVM_INSTALL_SCRIPT = "KVM-install.sh"; protected static void createInstallScript(String root...
2ed84d91-1ef3-4c20-a5ce-d4d6dc010ac9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-31T23:30:30", "repo_name": "rstruempf/FragmentTest", "sub_path": "/app/src/main/java/com/ronstruempf/fragmenttest/DetailActivity.java", "file_name": "DetailActivity.java", "file_ext": "java", "file_size_in_byt...
package com.ronstruempf.fragmenttest; import android.app.Activity; import android.os.Bundle; /** * Activity for displaying detail in single pane view * * Created by Ron on 1/31/2016. */ public class DetailActivity extends Activity { public static final String EXTRA_URL = "url"; @Override protected v...
66680d61-311c-4312-a7c0-164fa8332597
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-10 08:37:46", "repo_name": "q-exchange/framework", "sub_path": "/core/src/main/java/cn/ztuo/bitrade/constant/ActivityRewardType.java", "file_name": "ActivityRewardType.java", "file_ext": "java", "file_size_in_...
package cn.ztuo.bitrade.constant; import com.fasterxml.jackson.annotation.JsonValue; import cn.ztuo.bitrade.core.BaseEnum; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.Setter; /** * @author GuoShuai * @date 2018年03月08日 */ @AllArgsConstructor @Getter public enum ActivityRewardType implement...
6efa2159-4492-4f48-9af2-d5f3e2325335
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-01 18:57:32", "repo_name": "Akhilkathuria2321/PhoneStop", "sub_path": "/app/src/main/java/com/alpgeeks/phonestop/library/SmsReader.java", "file_name": "SmsReader.java", "file_ext": "java", "file_size_in_byte":...
package com.alpgeeks.phonestop.library; import android.app.Activity; import android.database.Cursor; import android.net.Uri; /** * Created by Akki on 10/26/2015. */ public class SmsReader { public static final String INBOX = "content://sms/inbox"; public static boolean smsReceived(Activity activity) { ...
b8f0ebaa-d17e-4a65-a44e-4e9319dfc370
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 15:33:03", "repo_name": "silentcharacter/jooby-app", "sub_path": "/src/main/java/com/mycompany/domain/shop/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 985, "line_c...
package com.mycompany.domain.shop; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.mycompany.annotation.Deployment; import com.mycompany.domain.Entity; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.stream.Collectors; @JsonIgnoreProperties(ign...
120cf5c0-bfaa-4a60-9a5f-37e7e8925b0b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-24 18:12:06", "repo_name": "nraynaud/trainoo", "sub_path": "/sport-j2ee/src/main/java/com/nraynaud/sport/web/result/RedirectBack.java", "file_name": "RedirectBack.java", "file_ext": "java", "file_size_in_byte"...
package com.nraynaud.sport.web.result; import com.nraynaud.sport.web.ActionDetail; import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.Result; import com.opensymphony.xwork2.inject.Inject; import org.apache.struts2.dispatcher.mapper.ActionMapper; import java.util.Map; /** * Redirect (wit...
68927ad9-9592-4201-b94e-5e6875098bb7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-26 10:08:48", "repo_name": "developTiger/sy-oa", "sub_path": "/lemon-deanery/src/main/java/com/sunesoft/lemon/deanery/car/domain/ItemProject.java", "file_name": "ItemProject.java", "file_ext": "java", "file_si...
package com.sunesoft.lemon.deanery.car.domain; import com.sunesoft.lemon.fr.ddd.BaseEntity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; /** * Created by swb on 2016/12/16. */ @Entity @Table(name = "syy_oa_itemsproject") public class ItemProject extends BaseEnti...
ac1a6be6-5ae8-489b-ae93-14d6d1c23626
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-06 09:55:44", "repo_name": "punitjain1989/Logical-Clocks", "sub_path": "/LogicalClock/src/com/cpsc471/logicalclock/process/Process.java", "file_name": "Process.java", "file_ext": "java", "file_size_in_byte": 9...
package com.cpsc471.logicalclock.process; /** * This class is a <i>representation</i> of Process/Node in distributed system. * * @author Puneet * */ public class Process { private String processName; private String processId; private static int activeProcess; public Process(String processNa...
f95fd57d-76c0-4c6d-a3f7-5612c001c995
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-15 23:04:49", "repo_name": "GaaehHacked-git/1vs1", "sub_path": "/src/main/java/de/gaaehhacked/gamestate/states/IngameState.java", "file_name": "IngameState.java", "file_ext": "java", "file_size_in_byte": 985, ...
package de.gaaehhacked.gamestate.states; import de.gaaehhacked.Main; import de.gaaehhacked.countdowns.countdowns.LobbyCountDown; import de.gaaehhacked.gamestate.GameState; import de.gaaehhacked.gamestate.GameStateManager; import de.gaaehhacked.listener.PlayerConnect; import org.bukkit.Bukkit; import org.bukkit.Locatio...
a0cf2166-871a-403f-a487-40e745c6ff70
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-22 05:12:25", "repo_name": "benhalfon/home-assignment-back", "sub_path": "/src/main/java/com/sony/assignment/config/converters/user/CreateUserBoundaryToEntityConverter.java", "file_name": "CreateUserBoundaryTo...
package com.sony.assignment.config.converters.user; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.convert.converter.Converter; import org.springframework.stereotype.Component; import com.sony.assignment.boundaries.CreateUserBoundary; import com.sony.assignment.config.s...
f9506422-c468-4ec8-970f-3a29cb836a8b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-04 00:39:05", "repo_name": "lm2343635/Blog", "sub_path": "/src/main/java/org/fczm/blog/component/ConfigComponent.java", "file_name": "ConfigComponent.java", "file_ext": "java", "file_size_in_byte": 985, "line_...
package org.fczm.blog.component; import org.fczm.blog.component.config.Page; import org.fczm.common.util.JsonTool; import org.springframework.stereotype.Component; @Component public class ConfigComponent { // Default file upload folder. public String UploadFolder = "/files"; // Picture format. publi...
d431110e-cb77-4cf3-ba2f-6069d8283e96
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-18T04:14:27", "repo_name": "aklajnert/changelogd", "sub_path": "/changelogd/templates/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 985, "line_count": 28, "lang": "en", "doc_...
# Introduction Working with changelogs in this project requires the [changelogd](https://github.com/aklajnert/changelogd) installed. To install it, run the following command (requires Python 3.4 or newer): ```shell pip install --upgrade changelogd ``` # Creating a new changelogd entry To create a new entry, use `...
375d6a88-d073-4b49-8f32-5816cf25775c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-07 05:17:48", "repo_name": "jdx100424/jiangdaxianJob", "sub_path": "/jiangdaxianJob-service/src/main/java/com/jiangdaxian/helloword/job/HellowordJob.java", "file_name": "HellowordJob.java", "file_ext": "java",...
package com.jiangdaxian.helloword.job; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import com.dangdang.ddframe.job.api.ShardingContext; import com.dangdang.ddframe.job.api.simple.SimpleJob; import com.jiangdaxian.helloword.service.HellowordSe...
8306ddce-e4c7-45c7-9d67-a24acc51eed2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-27 13:48:34", "repo_name": "zpdcqu/z-spring", "sub_path": "/src/main/java/com/zpd/tiny/spring/aop/proxy/AopProxy.java", "file_name": "AopProxy.java", "file_ext": "java", "file_size_in_byte": 1021, "line_count"...
package com.zpd.tiny.spring.aop.proxy; import com.zpd.tiny.spring.aop.advidor.Advisor; import com.zpd.tiny.spring.aop.advidor.PointCutAdvisor; import java.util.ArrayList; import java.util.List; /** * 提供代理接口 */ public interface AopProxy { Object getProxy(); Object getProxy(ClassLoader classLoader); /**...
13b50329-34fa-491a-bbe7-d72541144cf3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-30 10:53:41", "repo_name": "swapper9/sibintek-task-nifi", "sub_path": "/src/main/java/com/job/applicants/aptitude/test/InputCache.java", "file_name": "InputCache.java", "file_ext": "java", "file_size_in_byte":...
package com.job.applicants.aptitude.test; import java.io.*; import java.nio.file.Path; import java.nio.file.Paths; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; public class InputCache { private static Path path = Paths.get(System.getProperty("user.dir"), "input_data.dat"); ...
e9f8308b-4df4-499d-82d7-d36c42c2392f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-25 14:51:40", "repo_name": "raojin/SMG", "sub_path": "/Dsoa/src/dsoap/tools/mail/MailSender.java", "file_name": "MailSender.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 28, "lang": "en", ...
package dsoap.tools.mail; import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; public class MailSender { static ThreadPoolTaskExecutor taskExecutor; static { taskExecutor = new ThreadPoolTaskExecutor(); taskExecutor.setMaxPoolSize(2); taskExecutor.setCorePoolSize(1)...
d33b2b62-08c9-4ffe-b33f-507b3145ec7b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-21 13:31:36", "repo_name": "tianjinrui/barrageDemo", "sub_path": "/app/src/main/java/com/example/a65175/myapplication/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt...
package com.example.a65175.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import java.util.ArrayList; public class MainActivity extends AppCompatActivity { BarrageView barrageview; ArrayList<Barrage> date; @Override ...
3ef9ae7e-e14c-41e3-a00e-8a905cc98b17
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 10:01:06", "repo_name": "zhangnengxian/GYPROJECT", "sub_path": "/GYproject-biz-base/src/main/java/cc/dfsoft/project/biz/base/constructmanage/entity/GraphicProgress.java", "file_name": "GraphicProgress.java"...
package cc.dfsoft.project.biz.base.constructmanage.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * 形象进度 * @author fuliwei * */ @Entity @Table(name = "GRAPHIC_PROGRESS") public class GraphicProgress { private String gpId;...
858e42a0-ab44-435d-a49a-d78b2fac708e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-25T20:14:10", "repo_name": "arnoldpatrickm/ASimpleGame", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 21, "lang": "en", "doc_type": "text", ...
# ASimpleGame Objective: create a game that presents a word and starts a timer. Using event listeners, the game then checks for the correct key to be input, however if the wrong key is input the text shrinks up to 3 times. On the third failure the time stops and GameOver appears. If all letters are input correctly the ...
74047e51-630e-410d-a595-dc180099659c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-18 23:05:07", "repo_name": "AustinShalit/OutlineViewerV2", "sub_path": "/src/test/java/edu/wpi/first/outlineviewer/TableEntryTest.java", "file_name": "TableEntryTest.java", "file_ext": "java", "file_size_in_by...
package edu.wpi.first.outlineviewer; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static org.junit.Assert.assertEquals; @RunWith(Parameterized.class) public class TableEntryTest { private String key; ...
56239ebb-8f39-4315-9493-a49d0f9c8a32
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-01 14:11:01", "repo_name": "Myst3ryX/FinanceManager", "sub_path": "/app/src/main/java/com/myst3ry/financemanager/ui/activity/about/AboutPresenter.java", "file_name": "AboutPresenter.java", "file_ext": "java", ...
package com.myst3ry.financemanager.ui.activity.about; import android.content.Intent; import android.net.Uri; import android.os.Build; import com.myst3ry.financemanager.BuildConfig; import com.myst3ry.financemanager.ui.activity.BasePresenter; public final class AboutPresenter extends BasePresenter<AboutView> { p...
70712c26-af64-4113-8e4a-641467ef6cbd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-30 19:48:37", "repo_name": "czbalazs/EpsonGlassStockManagement", "sub_path": "/src/sql/DbLoader.java", "file_name": "DbLoader.java", "file_ext": "java", "file_size_in_byte": 986, "line_count": 43, "lang": "en"...
package sql; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import model.Model; /** * Created by Balázs on 2014.09.16.. */ public abstract class DbLoader { protected Context ctx; p...
e365697d-868f-4114-ab0e-57d785767f58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-31 03:56:59", "repo_name": "whitestarrain/PersonInformationMange", "sub_path": "/src/utils/JdbcUtils.java", "file_name": "JdbcUtils.java", "file_ext": "java", "file_size_in_byte": 1022, "line_count": 38, "lang...
package utils; import com.alibaba.druid.pool.DruidDataSourceFactory; import org.springframework.jdbc.datasource.embedded.DataSourceFactory; import javax.sql.DataSource; import javax.xml.crypto.Data; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * @author liyu ...
5ceca25b-7661-475d-a0b5-277f5da63ae4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-08 15:31:03", "repo_name": "meikaiss/framework", "sub_path": "/app/src/main/java/com/android/framework/demo/activity/daemon/DaemonResult.java", "file_name": "DaemonResult.java", "file_ext": "java", "file_size_...
package com.android.framework.demo.activity.daemon; /** * 后台上传的结果信息 * Created by meikai on 2018/06/01. */ public class DaemonResult { public @DaemonSource.SOURCE_TYPE int type; /** * 上传成功后的 图片或视频 的 服务器路径 */ public String netUrl; public String videoCoverNetUrl; public int videoC...
3373b291-39b1-4fb2-b08d-6bdc7063b2ba
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-15 20:59:19", "repo_name": "doubotis/DialogDesignerSC2", "sub_path": "/src/com/doubotis/sc2dd/data/SSize.java", "file_name": "SSize.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 47, "lang"...
/* * 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.doubotis.sc2dd.data; import java.util.HashMap; /** * * @author Christophe */ public class SSize implements IProperty {...
484b2906-31b4-47b8-8f09-64d8eeebe13e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-04 10:32:18", "repo_name": "sjmw/MyApplication", "sub_path": "/app/src/main/java/com/example/myapplication/buttonActivity.java", "file_name": "buttonActivity.java", "file_ext": "java", "file_size_in_byte": 102...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; public class buttonActivity extends Activity { private Button bt3; @Override pro...
49abab0e-b4b4-42a7-88bc-b02da86bbeec
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-03 18:51:38", "repo_name": "bristleback/bristleback-samples", "sub_path": "/tutorial-chat/src/main/java/pl/bristleback/sample/chat/action/client/ChatClientAction.java", "file_name": "ChatClientAction.java", "f...
package pl.bristleback.sample.chat.action.client; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import pl.bristleback.sample.chat.user.ActiveUsers; import pl.bristleback.sample.chat.user.ChatUser; import pl.bristleback.sample.chat.vo.ChatText; import pl...
596c5740-d931-4865-9235-d7ec0111079e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-05 15:20:59", "repo_name": "xkamil/fishapp4", "sub_path": "/src/main/java/com/example/fishapp/UserRequestInterceptor.java", "file_name": "UserRequestInterceptor.java", "file_ext": "java", "file_size_in_byte": ...
package com.example.fishapp; import com.example.fishapp.app.user.repository.UserRepository; import org.springframework.stereotype.Component; import org.springframework.web.servlet.handler.HandlerInterceptorAdapter; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import jav...
b9c464ce-4e4f-44e8-a4ba-a01c8a68a24c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-05 23:10:57", "repo_name": "Metavenger/Sorteador", "sub_path": "/CriandoEJB1-war/src/java/web/PaginaDaSorteBean.java", "file_name": "PaginaDaSorteBean.java", "file_ext": "java", "file_size_in_byte": 985, "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 web; /** * * @author Luiz Armando */ import javax.ejb.EJB; import javax.enterprise.context.RequestScoped; import javax.inje...
ecc52f6a-2bdb-4436-8b87-229d9f245be9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-06 17:11:07", "repo_name": "maurofama99/Progetto-Ingegneria-del-Software-2021", "sub_path": "/src/main/java/it/polimi/ingsw/observerPattern/Observable.java", "file_name": "Observable.java", "file_ext": "java",...
package it.polimi.ingsw.observerPattern; import it.polimi.ingsw.network.Message; import java.io.IOException; import java.util.ArrayList; /** * This observable class is used by the model to notify controller and virtual view */ public abstract class Observable { /** * List of observers */ privat...
85ec7cbe-1e4c-415d-972f-789ca44e2a63
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-28 12:32:56", "repo_name": "289991233/BaseNetWork", "sub_path": "/network/src/main/java/basenetword/jack/com/network/http/models/TBaseModel.java", "file_name": "TBaseModel.java", "file_ext": "java", "file_size...
package basenetword.jack.com.network.http.models; import basenetword.jack.com.network.utils.Loger; import io.reactivex.disposables.CompositeDisposable; import io.reactivex.disposables.Disposable; /** * 描 述: * 创 建 人:SDX * 创建日期:2017/6/19 16:10 * 修订历史: * 修 改 人: */ public abstract class TBaseModel implements B...
17241091-187b-46a4-a7bd-381f2ca973ac
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-23 14:34:11", "repo_name": "ishtiaqahmad/dotwebstack-framework", "sub_path": "/core/src/main/java/org/dotwebstack/framework/param/ParameterUtils.java", "file_name": "ParameterUtils.java", "file_ext": "java", "...
package org.dotwebstack.framework.param; import java.util.Collection; import lombok.NonNull; import org.dotwebstack.framework.config.ConfigurationException; import org.eclipse.rdf4j.model.IRI; import org.eclipse.rdf4j.model.ValueFactory; import org.eclipse.rdf4j.model.impl.SimpleValueFactory; public final class Param...
d9096a15-4959-412c-ac20-b3aff0b27b80
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 14:05:06", "repo_name": "wangzhihaoaini/javaweb_news", "sub_path": "/src/com/zr/news/framework/JdbcDao.java", "file_name": "JdbcDao.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 34, "la...
package com.zr.news.framework; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Connection; public class JdbcDao { private static String driveClassName="com.mysql.jdbc.Driver"; private static String url="jdbc:mysql://localhost:3306/newsdb"; private static String user="root"...
12e9ee38-350e-4ae6-b62d-2092868c775c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-11 13:57:13", "repo_name": "chinazzl/JavaBase", "sub_path": "/wwj_concurrentLearn/src/com/wwj_concurrent/leve2/chapter2/design/activeobjcetpattern/Servant.java", "file_name": "Servant.java", "file_ext": "java"...
package com.wwj_concurrent.leve2.chapter2.design.activeobjcetpattern; /********************************** * @author zhang zhao lin * @date 2021年07月22日 22:48 * @Description **********************************/ public class Servant implements ActiveObject{ @Override public Result makeString(int count, char f...
adcadce0-1acc-4b35-ae0d-0a751db15c39
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-19 09:40:33", "repo_name": "TechnoElf/JDungeons", "sub_path": "/src/com/jhjava/jdungeons/engine/components/GameObjectManager.java", "file_name": "GameObjectManager.java", "file_ext": "java", "file_size_in_byte...
package com.jhjava.jdungeons.engine.components; import com.jhjava.jdungeons.engine.GameContainer; import com.jhjava.jdungeons.engine.render.Renderer; import java.util.ArrayList; public class GameObjectManager { private ArrayList<GameObject> objects = new ArrayList<>(); public void updateObjects(GameContainer gc, ...
a0bedf60-f6fe-47de-ae2a-d94d3fae5363
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-29 14:20:02", "repo_name": "rahulagrahari/DigiBahi", "sub_path": "/src/main/java/com/wonkmonk/digikhata/userauth/models/CustomUserDetail.java", "file_name": "CustomUserDetail.java", "file_ext": "java", "file_s...
package com.wonkmonk.digikhata.userauth.models; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.ArrayList; import java.util.Collection; import java.u...
510e54c6-3812-4fdc-a0b7-6067a50aa445
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-26T18:11:21", "repo_name": "atersakyan/Data-Science-Projects", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 17, "lang": "en", "doc_type": "t...
# Repository of Personal Projects - Project blogs can be found on my [Medium](https://medium.com/@atersakyan) - [My LinkedIn Profile](https://www.linkedin.com/in/atersakyan/) ## [AirBnb Price Predictions](https://github.com/atersakyan/Projects/tree/master/MetisProject2) **Examined predictors of AirBnb prices in NYC.*...
7a40d2ec-e325-47b6-8c48-e33f1043056a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 19:18:25", "repo_name": "resident-bluejay/Routes", "sub_path": "/app/src/main/java/edu/andrews/kundani/routes/PagerAdapter.java", "file_name": "PagerAdapter.java", "file_ext": "java", "file_size_in_byte": 9...
package edu.andrews.kundani.routes; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; /** * Created by resident_bluejay on 11/16/17. */ public class PagerAdapter extends FragmentStatePagerAdapter { int mNumOfTabs; ...
1c4ad7b7-4702-465d-8175-94a1d24c1501
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-06 06:53:26", "repo_name": "Hamedamz/AP_3", "sub_path": "/src/viewers/oldViewers/BasicViewer.java", "file_name": "BasicViewer.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 40, "lang": "en"...
package viewers.oldViewers; import controllers.Exceptions.InvalidInputException; import java.util.Scanner; public class BasicViewer { protected Scanner scanner = new Scanner(System.in); public void printErrorMessage(String error) { System.err.println(error); } public void printInformation(S...
9af77bf3-e2fe-463a-87b9-c171547780b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-27 14:39:16", "repo_name": "cketti/MateLightAndroid", "sub_path": "/matelight/src/main/java/de/cketti/matelight/AboutFragment.java", "file_name": "AboutFragment.java", "file_ext": "java", "file_size_in_byte": ...
package de.cketti.matelight; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.os.Bundle; import android.text.Html; import android.text.method.LinkMovementMethod; import android.view.View; import android.widget.TextView; public class AboutFragment extends Di...
d958ee5b-dbb4-472a-8b73-b00bf0e97c8d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-17 07:58:06", "repo_name": "wso2/wso2-axis2-transports", "sub_path": "/modules/msmq/src/main/java/org/apache/axis2/transport/msmq/ctype/ContentTypeInfo.java", "file_name": "ContentTypeInfo.java", "file_ext": "...
package org.apache.axis2.transport.msmq.ctype; /** * Class encapsulating the content type information for a given message. */ public class ContentTypeInfo { private final String propertyName; private final String contentType; public ContentTypeInfo(String propertyName, String contentType) { ...
9b0f4309-62c5-4457-99ea-023ed86c9219
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-18 09:02:50", "repo_name": "fidsusj/JavaProgramming", "sub_path": "/src/de/dhbwka/java/exercise/ui/TextfileViewer.java", "file_name": "TextfileViewer.java", "file_ext": "java", "file_size_in_byte": 985, "line_...
package de.dhbwka.java.exercise.ui; import java.io.File; import javax.swing.JFileChooser; import javax.swing.filechooser.FileFilter; public class TextfileViewer { public TextfileViewer() { JFileChooser filechooser = new JFileChooser(); filechooser.setCurrentDirectory(new File("../../eclipse-workspace/")); f...
2324b55b-722f-4f4b-bd35-0ecad95a89ef
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-13T04:42:00", "repo_name": "miskusi/LIRI-BotMaster", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 38, "lang": "en", "doc_type": "text", "blo...
# LIRI Bot LIRI is a Language Interpretation and Recognition Interface. It will take in commands through the node app and gives you back data. Commands you can enter: * `my-tweets` * `spotify-this-song` * `movie-this` * `do-what-it-says` To Run the LIRI-Bot: 1: node liri.js my-tweets. This will show your last 20 twe...
22973f3d-2e65-4df6-8ba5-28dc1819f3fd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-19 04:41:38", "repo_name": "paradite/CS2106SimpleKernel", "sub_path": "/src/zhuliang/nus/cs2106/KernelResource.java", "file_name": "KernelResource.java", "file_ext": "java", "file_size_in_byte": 984, "line_cou...
package zhuliang.nus.cs2106; import java.util.LinkedList; /** * Class for resources * Created by paradite on 2/9/14. */ public class KernelResource { public String RID; // Number of free units public int max_unit; public int status; public LinkedList<KernelProcess> blocked_list; public Linke...
e7166333-6691-4dca-af93-02712fe06bb2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 07:47:46", "repo_name": "pmarkotan/startmedsol-prototype", "sub_path": "/src/main/java/hu/paninform/startmedsol/service/mapper/PphMedicineQualifiedNameMapper.java", "file_name": "PphMedicineQualifiedNameMap...
package hu.paninform.startmedsol.service.mapper; import hu.paninform.startmedsol.domain.*; import hu.paninform.startmedsol.service.dto.PphMedicineQualifiedNameDTO; import org.mapstruct.*; /** * Mapper for the entity {@link PphMedicineQualifiedName} and its DTO {@link PphMedicineQualifiedNameDTO}. */ @Mapper(compo...
017e5736-eef0-4e62-a43d-8b33ff95628d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-09 00:40:50", "repo_name": "chenjiali5211/TimeMagic", "sub_path": "/src/main/java/wl/action/UserAjaxAction.java", "file_name": "UserAjaxAction.java", "file_ext": "java", "file_size_in_byte": 997, "line_count":...
package wl.action; import javax.annotation.Resource; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import com.opensymphony.xwork2.ActionSupport; import wl.entity.User; import wl.service.UserService; @Controller @Scope("prototype") public class ...
09771092-837f-44e4-86b4-e99c838a12eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 19:39:00", "repo_name": "jooccoo/JavaHazik_AgocsJozsef", "sub_path": "/JavaHazik_AgocsJozsef/HF2/src/tizennegyedik_feladat/Szotar.java", "file_name": "Szotar.java", "file_ext": "java", "file_size_in_byte": ...
/* * 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 tizennegyedik_feladat; import java.util.Objects; /** * * @author Jocó */ public class Szotar { private String angol; ...
03b020fb-4747-465b-9cbb-b1bab8b29cda
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-04-12T13:56:00", "repo_name": "sokooltools/MsiFileReport", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 983, "line_count": 22, "lang": "en", "doc_type": "text", "...
# MsiFileReport This is a Microsoft Window's mini-application that when launched creates an html file consisting of data related to all of the MSI files currently installed on the local computer. For example: ![Image1](Images/image1.png) While the file is being generated (which can often take a minute or more), a w...
9eb32b3c-7708-4eae-a60e-80c64b7b2d1f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-21 10:20:52", "repo_name": "rishabh05/ED", "sub_path": "/platform/src/main/java/com/eworkplaceapps/platform/cyclicnotification/CyclicNotificationLinkingDataService.java", "file_name": "CyclicNotificationLinkin...
//=============================================================================== // © 2015 eWorkplace Apps. ALL rights reserved. // Main Author: Parikshit Patel // Original DATE: 4/29/2015 //=============================================================================== package com.eworkplaceapps.platform.cyclicnoti...
56ab3c04-e3d7-4186-80c9-0c8662c74cd4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 03:45:01", "repo_name": "FPhoenixCorneaE/Ignorance", "sub_path": "/LIgnorance/src/main/java/com/livelearn/ignorance/ui/fragment/book/BookRecommendFragment.java", "file_name": "BookRecommendFragment.java", "...
package com.livelearn.ignorance.ui.fragment.book; import android.os.Bundle; import android.view.LayoutInflater; import android.view.ViewGroup; import com.livelearn.ignorance.R; import com.livelearn.ignorance.base.BaseFragment; import com.livelearn.ignorance.presenter.book.BookRecommendPresenter; import com.livelearn....
fef98589-0532-42f6-88bf-ebc576cf54b3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-23 06:41:45", "repo_name": "dianaimao/DesignPattern", "sub_path": "/netty/src/main/java/oio/OIO.java", "file_name": "OIO.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 32, "lang": "en", "do...
package oio; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.ServerSocket; import java.net.Socket; public class OIO { public static void main(String[] args) throws IOException { final int portNumber=12456; Ser...
d3cdc84f-bc36-4c40-904f-98ffab8a6b4c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 12:28:17", "repo_name": "debbirgon/TFG", "sub_path": "/app/src/main/java/com/example/windows/gymapp/ui/ViewImageActivity.java", "file_name": "ViewImageActivity.java", "file_ext": "java", "file_size_in_byte"...
package com.example.windows.gymapp.ui; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.support.v7.widget.AppCompatImageView; import android.view.View; import com.example.windows.gymapp.R; import com.example.windows.gymapp.util.Constants; import com.squareup.picasso.Picasso; ...
2952b2b1-6731-4215-8e15-9f7d34767d35
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-31 15:19:33", "repo_name": "samuel2/gestion-stock", "sub_path": "/src/main/java/com/cami/persistence/model/Categorie.java", "file_name": "Categorie.java", "file_ext": "java", "file_size_in_byte": 984, "line_co...
/* * 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.cami.persistence.model; import java.util.List; import javax.persistence.Entity; import javax.persistence.OneToMany; import...
b22461ae-57ad-4ef9-8f46-dffaf2d8aecd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-06 19:03:01", "repo_name": "barii/webcache", "sub_path": "/src/webcache/WebParser.java", "file_name": "WebParser.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 35, "lang": "en", "doc_type":...
package webcache; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolExecutor; public class WebParser { private final Cache cache; private final String root; public WebParser(Cache cache, String root) { this.root = root; ...
cf174332-b4b6-46b5-81ff-135608171612
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 04:02:28", "repo_name": "singularity-bit/univ", "sub_path": "/PJ/AWSMApp/src/app/services/prototype/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 42...
package app.services.prototype; public abstract class Product { public int id; public int categoryId; public String categoryName; public String name; public int amount; public int price; public Boolean paid; public String date; public String image; public Product( ...
2e3aace4-fabf-400e-b6e0-dc49023ad21a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-02 10:19:18", "repo_name": "psinfo07/OCCS", "sub_path": "/src/main/java/com/cusat/hackathon/servlets/Logout.java", "file_name": "Logout.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 37, "l...
package com.cusat.hackathon.servlets; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; ...
446d1ccf-5268-485c-8db0-ce87f098ec8d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 23:25:29", "repo_name": "ye7ia10/BookStore_SQL", "sub_path": "/src/model/SalesReportInput.java", "file_name": "SalesReportInput.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 53, "lang":...
package model; import java.util.HashMap; import java.util.Map; import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource; public class SalesReportInput { private String type; private JRBeanCollectionDataSource bookDataSource; public SalesReportInput(String type) { this.type = type; } public vo...
664b47d0-c5b3-4032-b81d-14d4f0f76e08
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-24 03:10:33", "repo_name": "g1rjeevan/Programming-eclipse", "sub_path": "/hibernate_demo/src/com/om/hib/dto/PersonDTO.java", "file_name": "PersonDTO.java", "file_ext": "java", "file_size_in_byte": 984, "line_c...
package com.om.hib.dto; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "person_table") public class PersonDTO implements Serializable { // pk @Id @Column(name = "p_id") private int ...
59145795-8a66-41c5-9e4f-c528573fc940
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-22 06:30:03", "repo_name": "ducanhkl/hecsdldpt", "sub_path": "/src/main/java/com/btl/hecsdlpt/imageSearch/storage/StorageEngine.java", "file_name": "StorageEngine.java", "file_ext": "java", "file_size_in_byte"...
package com.btl.hecsdlpt.imageSearch.storage; import javassist.bytecode.stackmap.BasicBlock; import org.openimaj.io.Cache; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; public class StorageEngine { public static String path ...
233e8eb9-0451-40b4-93fb-11b1b9d99eea
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-20 02:03:22", "repo_name": "lucasromagnoli/cashcontrol-api", "sub_path": "/src/main/java/br/com/lucasromagnoli/cashcontrol/dominio/entidade/Origem.java", "file_name": "Origem.java", "file_ext": "java", "file_s...
package br.com.lucasromagnoli.cashcontrol.dominio.entidade; import br.com.lucasromagnoli.cashcontrol.dominio.persistencia.common.TransferObject; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence....
68a7997b-17f0-43f3-8a25-2ae32b59883a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-29 18:57:50", "repo_name": "bajoe9/java-cursuri", "sub_path": "/java7/src/main/java/CodeLinesCounter.java", "file_name": "CodeLinesCounter.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 33,...
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; public class CodeLinesCounter { public static void main(String[] args) throws IOException { String file = "src/main/java/Code.java"; BufferedReader reader = ...
54f82fdb-1289-434a-b344-06fea03d3c75
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-24 09:28:45", "repo_name": "Moonllit/vk-client", "sub_path": "/app/src/main/java/com/support/android/vkclient/domain/dto/Photo.java", "file_name": "Photo.java", "file_ext": "java", "file_size_in_byte": 984, "l...
package com.support.android.vkclient.domain.dto; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class Photo { @SerializedName("id") @Expose private int id; @SerializedName("sizes") @Expose private List<PhotoSize> s...
fdbb1a74-0e80-4c0e-be9a-ee49eb1eda6e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-10 08:39:40", "repo_name": "kfcoding/kfcoding-springboot", "sub_path": "/kfcoding-core/src/main/java/com/cuiyun/kfcoding/core/exception/KfCodingExceptionEnum.java", "file_name": "KfCodingExceptionEnum.java", "...
package com.cuiyun.kfcoding.core.exception; /** * @program: kfcoding * @description: KfCoding异常枚举 * @author: maple * @create: 2018-05-05 21:05 **/ public enum KfCodingExceptionEnum implements ServiceExceptionEnum { /** * 其他 */ WRITE_ERROR(500,"渲染界面错误"), /** * 文件上传 */ FILE_READ...
f2f8a0e1-48cf-4c93-8447-aa9c18e4f240
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-11-19T04:07:37", "repo_name": "adbloomandrew/teachparttime", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 26, "lang": "en", "doc_type": "text",...
# Teachpartime.com This is the server for the site # How to run 1. You need to create a `.env` file inside the root folder of the project. You can do this by hand, or you can install `sudo npm install -g @0x4447/cucumber` and run inside the root folder this command: `cucumber`. The `.env` will be automatically creat...
0415c86d-a07c-4662-bf5f-bfb48893b0a2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-05 17:39:01", "repo_name": "Knicksaas/minecraft-server-plugins", "sub_path": "/MLGrush/src/ch/nte/mc/bungee/mlgrush/commands/CMD_logout.java", "file_name": "CMD_logout.java", "file_ext": "java", "file_size_in_...
package ch.nte.mc.bungee.mlgrush.commands; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import ch.nte.mc.bungee.mlgrush.events.PlayerJoinEvent; import ch.nte.mc.bungee.mlgrush.main.Messages; import ch.nte.mc.bungee.mlgrush.ma...
5c4f35c0-4a0b-4509-9129-70c668026e57
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-13 22:44:47", "repo_name": "RyanLlewellin/iGottaGoGo", "sub_path": "/client/iGottaGoGo/app/src/main/java/com/underthejava/igottagogo/RegisterBathroomRequest.java", "file_name": "RegisterBathroomRequest.java", ...
package com.underthejava.igottagogo; import com.android.volley.toolbox.StringRequest; import java.util.Map; import com.android.volley.*; import java.io.StringReader; import java.util.HashMap; /** * Created by vincentdelacruz on 2017-03-29. */ public class RegisterBathroomRequest extends StringRequest{ private stat...
a47d6e9e-e111-48cb-a6b1-41018f323c67
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-19T18:50:02", "repo_name": "kferbs/Samazon", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 983, "line_count": 36, "lang": "en", "doc_type": "text", "blob_id": "...
# Non-Profit Website Web application to showcase a non-profit organization. ## Preview ![Website Preview](https://res.cloudinary.com/kristynf/image/upload/v1587311315/Screen_Shot_2020-04-18_at_6.50.25_PM_chq4vd.png) ======= ## Getting Started Run in IDE and open a web browser to your default localhost port (gen...
c1b86b1c-4ebd-42a4-b143-10ed9e902d74
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-30 01:01:27", "repo_name": "krystiancorderoh/academy", "sub_path": "/Spring Boot/SBoot-app/src/main/java/com/softtek/academy/jpa/domain/model/CouponEntity.java", "file_name": "CouponEntity.java", "file_ext": "...
package com.softtek.academy.jpa.domain.model; import java.util.Date; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.softtek.academy.jpa.util.serializer.JsonDateTimeDeserializer; import com.softtek.academy.jpa.util.serializer...
19e5a216-09ca-4df9-9833-3da93dfc8abf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-20T16:20:35", "repo_name": "dhatrikapuriya/blog-CRUD-RESTAPI", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 985, "line_count": 43, "lang": "en", "doc_type": "t...
# blog-CRUD-RESTAPI A REST API developed using Django Rest Framework for CRUD operations on a blog application. ## Resource points 1. GET list of users ``` http://127.0.0.1:8000/users/ ``` 2. GET information of users by user id. ``` http://127.0.0.1:8000/users/<id> ``` 3. GET all posts ``` htt...
4cce1dda-4566-4734-a3c1-7a2c264a29fb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-17T02:20:09", "repo_name": "KyleHutchinson/demo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 27, "lang": "en", "doc_type": "text", "blob_i...
# demo A demo project from Kids Can Code ''' Curious, Creative, Tenacious(requires hopefulness) **********Gameplay ideas: Jump on enemy head to create jump boost using power up code Randomize jump sound Add fake platforms that don't allow you to land on them. Add a cactus that will kill the player if he collides with ...
ed1ff216-043d-4685-b8de-7241a195729b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-28 09:06:17", "repo_name": "guantong/ABCNewsFeeds", "sub_path": "/app/src/main/java/com/guantong/newsfeeds/NewsDetailActivity.java", "file_name": "NewsDetailActivity.java", "file_ext": "java", "file_size_in_by...
package com.guantong.newsfeeds; import android.app.Activity; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; public class NewsDetailActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { ...
44a8415b-036c-4e51-85dc-3ed4a89fe96e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-30 10:29:27", "repo_name": "PrateekKumar1/training", "sub_path": "/src/com/training/RetailMgmt/src/main/java/com/training/services/CustImpl.java", "file_name": "CustImpl.java", "file_ext": "java", "file_size_i...
/** * */ package com.training.services; import com.training.repo.CustomerRepo; /** * @author PRATEEK KR * */ public class CustImpl implements CustmServ { /* * (non-Javadoc) * * @see com.training.services.CustmServ#addCustmr(int, java.lang.String, * java.lang.String, java.lang.String) */ public in...
2b076881-8115-42ed-bc6b-d32d249d95a6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-12 19:15:16", "repo_name": "dianaartiom/learn-android", "sub_path": "/AutocompleteTextView/app/src/main/java/com/example/diana/autocompletetextview/MainActivity.java", "file_name": "MainActivity.java", "file_e...
package com.example.diana.autocompletetextview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Adapter; import android.widget.ArrayAdapter; import android.widget.AutoCompleteTextView; public class MainActivity extends AppCompatActivity { private AutoCompleteTextV...
cdade608-a795-451f-b459-b26a45673d2b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-16T08:31:22", "repo_name": "tryusweb/oBot", "sub_path": "/Readme.md", "file_name": "Readme.md", "file_ext": "md", "file_size_in_byte": 1001, "line_count": 32, "lang": "en", "doc_type": "text", "blob_id": "...
Version: 7.8.7 Link Download: https://js.obot.it/obot.user.js Compatibility ogame version: 6.x,7.x Home: https://obot.it Facebook: https://www.facebook.com/oBot.it Youtute: https://www.youtube.com/channel/UC-JNcNJzWKs_JznrZQITqRw User manual: https://obot.it/manual Forum: https://obot-forum.tryus.it/ Support se...
2296acf1-4ce1-4681-9b7f-696ee5d53e9c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-26 05:23:53", "repo_name": "matthew7j/Blackjack", "sub_path": "/src/com/matthew7j/Shoe.java", "file_name": "Shoe.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 44, "lang": "en", "doc_type":...
package com.matthew7j; import java.util.ArrayList; import java.util.Collections; import java.util.Random; public class Shoe { int numDecks; boolean yellow; ArrayList<Card> cards = new ArrayList<Card>(); public Shoe(int numDecks) { this.numDecks = numDecks; initialize(); } pri...
197e7a8e-b807-4105-8617-adb7e241d3c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-03 21:09:11", "repo_name": "cbochs/AndroidExamples", "sub_path": "/21_DialogActivityCommunicationExample/app/src/main/java/com/calvin/a21_dialogactivitycommunicationexample/MainActivity.java", "file_name": "Ma...
package com.calvin.a21_dialogactivitycommunicationexample; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import java.util.List; public class MainActivity extends AppCompatActivity implements MyDialogFragment.ToppingSelectionListen...
ba874b57-02be-438b-ac48-bdab00a953a1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-19 01:30:34", "repo_name": "goudan513/CompView", "sub_path": "/MyComp/src/com/itheima09/mycomp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": ...
package com.itheima09.mycomp; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.widget.CompoundButton; import android.widget.CompoundButton.OnCheckedChangeListener; import android.widget.Toast; public class MainActivity extends Activity { @Override protected void onCre...
af8d0907-bfcd-4367-876a-4c8ebb9a3952
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-05 18:22:02", "repo_name": "JHSena/AcademiaManager_Game", "sub_path": "/src/org/academiadecodigo/splicegirls/MusicPlayer.java", "file_name": "MusicPlayer.java", "file_ext": "java", "file_size_in_byte": 982, "l...
package org.academiadecodigo.splicegirls; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Clip; import java.io.File; public class MusicPlayer { void playMusic(String musicLocation) { try { File musicPath = new File("/User...
a2e4f976-0fdd-4461-9292-fb7c5c3dc34a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 08:52:42", "repo_name": "KleinDevDE/TwitchBot", "sub_path": "/server/src/main/java/de/kleindev/twitchbot/configuration/TwitchBotConfiguration.java", "file_name": "TwitchBotConfiguration.java", "file_ext": "...
package de.kleindev.twitchbot.configuration; import com.google.inject.Binder; import com.google.inject.Module; import java.io.File; public class TwitchBotConfiguration extends Config implements Module { private File file; @Override public File getFile() { return file; } @ConfigPath(path...
46cf82b4-66c4-4c13-ad93-a685c34fe934
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-08 00:58:39", "repo_name": "Kanderlendin/JavaCampHomework", "sub_path": "/JavaCamp_D5H1/src/JavaCamp_D5H1/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 27, "...
package JavaCamp_D5H1; import JavaCamp_D5H1.entities.concretes.User; import JavaCamp_D5H1.business.abstracts.UserService; import JavaCamp_D5H1.business.concretes.UserManager; import JavaCamp_D5H1.core.adapters.GMailLoginManagerAdapter; import JavaCamp_D5H1.business.concretes.CheckManager; import JavaCamp_D5H1.d...
51c02e15-7e29-4850-9445-0da2d1de4c30
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-09 08:09:29", "repo_name": "wycliff/MQTTChatApp", "sub_path": "/app/src/main/java/com/example/wycliffenyakemwa/mqttchatapp/model/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_by...
package com.example.wycliffenyakemwa.mqttchatapp.model; public class Message { private String _payload; private String _topic; private int _qos; private boolean _belongsToCurrentUser; public Message(String payload, String topic, int qos , boolean belongsToCurrentUser) { this._payload = p...
4854be53-30de-491a-b5ee-92c10a4d169b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-24 11:38:10", "repo_name": "SmithAdoph/im", "sub_path": "/wxgs/src/com/lejoying/wxgs/activity/LoadingActivity.java", "file_name": "LoadingActivity.java", "file_ext": "java", "file_size_in_byte": 983, "line_cou...
package com.lejoying.wxgs.activity; import java.util.Timer; import java.util.TimerTask; import com.lejoying.wxgs.R; import com.lejoying.wxgs.SysApplication; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import android.app.Activity; import android.content.Intent; public cla...
9ffd850e-d7a8-400b-88cb-c196b2187cd4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-29 16:37:54", "repo_name": "Slavvok/selenium_maven_allure", "sub_path": "/src/test/java/com/selenium/test/tests/TabletsTest.java", "file_name": "TabletsTest.java", "file_ext": "java", "file_size_in_byte": 983,...
package com.selenium.test.tests; import com.selenium.test.MainTest; import io.qameta.allure.junit4.DisplayName; import org.junit.Test; import static org.junit.Assert.assertTrue; public class TabletsTest extends MainTest { @Test @DisplayName("Market tablets test") public void test(){ yandexPage.ge...