id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
f590a7c9-e746-4dcf-9a45-0ab8ff17bb01
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 14:11:15", "repo_name": "baatheo/TournamentManager", "sub_path": "/src/main/java/tm/domain/entity/Tournament.java", "file_name": "Tournament.java", "file_ext": "java", "file_size_in_byte": 1223, "line_count...
package tm.domain.entity; import javax.persistence.*; import java.util.HashSet; import java.util.Objects; import java.util.Set; @Entity @Table(name="tournament") public class Tournament { @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "tournament_id") private long to...
73634de7-06fe-4f6f-b107-08607fbb07c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-15 19:43:53", "repo_name": "Arrrmy21/psanalyzer", "sub_path": "/src/main/java/com/onyshchenko/psanalyzer/security/JwtUserDetailService.java", "file_name": "JwtUserDetailService.java", "file_ext": "java", "file...
package com.onyshchenko.psanalyzer.security; import com.onyshchenko.psanalyzer.security.jwt.JwtUserFactory; import com.onyshchenko.psanalyzer.services.UserService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security...
eca4ea86-8426-4d43-903b-e3906f15e173
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-04T21:11:41", "repo_name": "sandervandevelde/Wise.4012E.Modbus", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 28, "lang": "en", "doc_type":...
# Introduction This is a C# library for accessing the [Advantech Wise 4012E](http://www.advantech.com/products/4260f153-57cd-4102-81ea-7a0f36d9b216/wise-4012e/mod_4e936d58-a559-4c1a-9022-e96698c2930b?_ga=1.82474646.1033186900.1491183171) This library gives access to eg. the two Knobs (read), the two Switches (read) a...
32ea3168-308b-41ab-9786-f4d62a273a58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-24 21:43:21", "repo_name": "sugrrk/SeleniumMaven", "sub_path": "/src/test/java/TestNGSelenium/ParametersExample.java", "file_name": "ParametersExample.java", "file_ext": "java", "file_size_in_byte": 1223, "lin...
package TestNGSelenium; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotation...
77590999-9870-41c9-a599-cfae026f8be5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-21 06:12:32", "repo_name": "EswarVarma91/BP_Check_Point", "sub_path": "/app/src/main/java/ohd/apps/bpcheckpoint/ResultActivityMain.java", "file_name": "ResultActivityMain.java", "file_ext": "java", "file_size_...
package ohd.apps.bpcheckpoint; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import java.util.Random; public class ResultActivityMain extends AppCompatActivity { ImageView ig; @Override pro...
71f725fd-cb66-4c24-821e-ff8dcfe29f58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-19T21:00:52", "repo_name": "kellybirr/c-auth", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1223, "line_count": 14, "lang": "en", "doc_type": "text", "blob_id"...
# C-Auth This is my proposed "C-Auth" API Authentication Framework C-Auth is heavily based on the core principals of *OAuth v2* for the authentication and authorization of API call between services and micro-services in homogeneous or heterogeneous systems. The fundamental difference is that C-Auth issues and valid...
3995dfb0-e17b-4a2d-84a4-454a65a836de
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-03T22:37:02", "repo_name": "ausesims/PSO2Wiki", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 18, "lang": "en", "doc_type": "text", "blob_id...
# PSO2Wiki PSO2 Wiki for the US is a project for the production of a wiki site for the Phantasy Star Online 2 game More information will be released as the project unfolds. Please be advised of the following.... # Website The website will be constructed using ASP.NET, or Wikipedia Wiki software. This is currently bei...
e1a1529e-6044-4029-9934-51797f33fc0e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 08:59:55", "repo_name": "lucifax301/chelizi", "sub_path": "/chelizi/school/src/main/java/com/lili/school/manager/impl/EnrollMaterialAddressManagerImpl.java", "file_name": "EnrollMaterialAddressManagerImpl.j...
package com.lili.school.manager.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import com.lili.common.util.redis.RedisUtil; import com.lili.common.util.redis.RedisKeys.REDISKEY; import com.lili.school.dto.EnrollMaterialAddress; import com.lili.school.dto.EnrollMaterialAdd...
7fc946e8-385b-4510-8c49-d6e7a1847814
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-10 03:36:15", "repo_name": "hd-je/web", "sub_path": "/src/main/java/com/web/domain/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1222, "line_count": 56, "lang": "en", "doc_type...
package com.web.domain; import com.web.domain.enums.SocialType; import lombok.Builder; import lombok.Getter; import lombok.NoArgsConstructor; import javax.persistence.*; import java.io.Serializable; import java.time.LocalDateTime; import java.util.prefs.Preferences; @Getter @NoArgsConstructor @Entity @Table public ...
ffd00403-0f88-4295-bfc4-5216735cda28
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-22 02:52:12", "repo_name": "tangshengbo/myproject-design", "sub_path": "/src/main/java/com/tangshengbo/design/proxy/cglib/CGLibProxy.java", "file_name": "CGLibProxy.java", "file_ext": "java", "file_size_in_byt...
package com.tangshengbo.design.proxy.cglib; import net.sf.cglib.proxy.Enhancer; import net.sf.cglib.proxy.MethodInterceptor; import net.sf.cglib.proxy.MethodProxy; import java.io.Serializable; import java.lang.reflect.Method; /** * Created by TangShengBo on 2017/12/26. */ public class CGLibProxy { private sta...
6966b966-59ad-4238-9b32-8f07173a3480
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-18 12:04:09", "repo_name": "WhiteDG/BihuDaily", "sub_path": "/app/src/main/java/com/white/bihudaily/bean/StartImg.java", "file_name": "StartImg.java", "file_ext": "java", "file_size_in_byte": 1222, "line_count...
package com.white.bihudaily.bean; import android.os.Parcel; import android.os.Parcelable; /** * Author White * Date 2016/8/13 * Time 12:59 */ public class StartImg implements Parcelable { private String img; private String text; public String getImg() { return img; } public void set...
0fd111e5-8423-43f5-bc40-2c1ec8b2efea
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-30 13:07:13", "repo_name": "santanukumardas/IPL-2019", "sub_path": "/app/src/main/java/com/santanu/customarrayadapter/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt...
package com.santanu.customarrayadapter; import android.content.Intent; import android.media.Image; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import org.w3c.dom.Text; public class MainActivity e...
2af27e55-db9d-44d3-b195-1b516e4ad916
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 14:05:00", "repo_name": "alienguy255/cec-bridge", "sub_path": "/src/main/java/org/scottsoft/cecserver/cecbridge/CECCommandExecutionHelper.java", "file_name": "CECCommandExecutionHelper.java", "file_ext": "j...
package org.scottsoft.cecserver.cecbridge; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import java.io.IOException; import java.text.MessageFormat; import java.util.List; /** * Created by slaplante on 5/17/17. */ @Component public class CECCommandExecuti...
382d617d-fd17-4db0-81f8-777223463649
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-15 19:38:20", "repo_name": "TheoBaptista/Alura", "sub_path": "/projeto-jdbc/src/TestaInsercaoComParametro.java", "file_name": "TestaInsercaoComParametro.java", "file_ext": "java", "file_size_in_byte": 1222, "l...
import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class TestaInsercaoComParametro { public static void main(String[] args) throws SQLException { CriaConexao conexao = new CriaConexao(); try(Connection connecti...
ed096739-73b1-47c4-9f15-b0ad2be9716e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-18T20:36:44", "repo_name": "WilliamRodriguez42/MachEngine", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 17, "lang": "en", "doc_type": "tex...
# MachEngine Simple 3D Engine based on OpenGL Automates the usage of basic OpenGL structures such as shaders, attributes, textures, buffers, etc. Mach Engine runs in a OpenGL 4.4 and uses GLSL 440 core for the graphics language. The engine runs in a Qt5 widget and can be fully compiled into an executable using the inc...
fbe17eb5-49fe-4383-bceb-ceb187d56fe9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-05-02T00:40:21", "repo_name": "msan622/spring-2014-template", "sub_path": "/project-prototype/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 25, "lang": "en",...
Project Prototype ============================== For this assignment, you must: - **Produce one static visualization prototype.** You will receive detailed feedback from your classmates on this prototype, so choose wisely. - **Develop a `shiny` interface prototype for your desired interaction.** The controls do not ...
9fb3f524-e240-4a49-81d9-2b010c8c4c87
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-14 16:33:33", "repo_name": "AlexGT/SimpleSeleniumTest", "sub_path": "/src/simpleseleniumtest/SimpleSeleniumTest.java", "file_name": "SimpleSeleniumTest.java", "file_ext": "java", "file_size_in_byte": 1222, "li...
/* * 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 simpleseleniumtest; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver;...
d1367c6e-adb4-476a-a5fc-70e977415dbb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-07 17:45:51", "repo_name": "mike2flee/takeHomeService", "sub_path": "/src/main/java/com/gm/takeHomeService/model/ClientInstancePojo.java", "file_name": "ClientInstancePojo.java", "file_ext": "java", "file_size...
package com.gm.takeHomeService.model; import com.opencsv.bean.CsvBindByPosition; import lombok.*; import javax.persistence.*; @Data @NoArgsConstructor @AllArgsConstructor @Entity @Table(name = "clients") @ToString public class ClientInstancePojo { @Id @GeneratedValue(strategy = GenerationType.AUTO) priv...
d5f37aa6-9895-4dce-8a30-b40f468fbaee
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-16 12:52:08", "repo_name": "phcla/crmhoutai", "sub_path": "/src/main/java/com/sm/qy28/controller/DeptController.java", "file_name": "DeptController.java", "file_ext": "java", "file_size_in_byte": 1221, "line_c...
package com.sm.qy28.controller; import com.sm.qy28.common.http.AxiosResult; import com.sm.qy28.controller.base.BaseController; import com.sm.qy28.domain.entity.Category; import com.sm.qy28.domain.entity.Dept; import com.sm.qy28.serivce.CategoryService; import com.sm.qy28.serivce.DeptService; import org.springframewor...
778e2d81-6b7d-4495-8e49-7bc74ba481c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-04 10:20:16", "repo_name": "wlk/MoneySavingTips", "sub_path": "/app/src/main/java/com/varwise/moneysavingtips/util/TipAdapter.java", "file_name": "TipAdapter.java", "file_ext": "java", "file_size_in_byte": 122...
package com.varwise.moneysavingtips.util; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import com.varwise.moneysavingtips.R; import com.varwise.moneysavingtips.Tip; publ...
e03e1740-d1cc-4ab4-9cce-ccccdc60a848
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-25 16:00:05", "repo_name": "TrebitschTheReal/CarSalon", "sub_path": "/src/carSalon/controller/UploadServlet.java", "file_name": "UploadServlet.java", "file_ext": "java", "file_size_in_byte": 1220, "line_count"...
package carSalon.controller; import carSalon.model.Car; import carSalon.service.CarService; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; i...
70b01dca-9149-4bac-a46f-255c8fe57053
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-17 07:59:52", "repo_name": "jsoncc/weshop-houtai", "sub_path": "/src/main/java/cn/jsoncc/service/sys/impl/MenuServiceImpl.java", "file_name": "MenuServiceImpl.java", "file_ext": "java", "file_size_in_byte": 12...
package cn.jsoncc.service.sys.impl; import cn.jsoncc.bean.Menu; import cn.jsoncc.bean.TreeMenu; import cn.jsoncc.dao.sys.MenuDao; import cn.jsoncc.service.sys.MenuService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Iterator; import ja...
fe3c564b-378e-4fc4-a3df-ea8869d7adc7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-12 12:28:38", "repo_name": "fgyLian/myblog", "sub_path": "/src/main/java/com/fgy/myblog/service/impl/UserInfoServiceImpl.java", "file_name": "UserInfoServiceImpl.java", "file_ext": "java", "file_size_in_byte":...
package com.fgy.myblog.service.impl; import com.fgy.myblog.bean.UserInfo; import com.fgy.myblog.dao.UserInfoMapper; import com.fgy.myblog.service.UserInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public clas...
090207d5-b743-4099-99a2-009255bb72e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 09:56:14", "repo_name": "nathajagdish/All-in-one", "sub_path": "/app/src/main/java/com/example/playstore/Local_Nepal.java", "file_name": "Local_Nepal.java", "file_ext": "java", "file_size_in_byte": 1221, "l...
package com.example.playstore; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; public class Local_Nepal extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedIn...
d64c2fe7-fc80-4a25-a5a4-3da2b53f9e86
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-30 10:34:49", "repo_name": "XJLXR/AndroidDemo", "sub_path": "/myRefresh/src/main/java/com/demo/android/myswiperef/MainActitity.java", "file_name": "MainActitity.java", "file_ext": "java", "file_size_in_byte": ...
package com.demo.android.myswiperef; import android.content.Intent; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; /** * Created by XiongRun on 2017/5/9. */ public class MainActitity exte...
90eecebd-4d4c-4495-b492-1882d3a09e2e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 12:38:34", "repo_name": "gerritjvv/pseidon", "sub_path": "/pseidon-plugin/src/main/java/pseidon/util/Util.java", "file_name": "Util.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 46, "l...
package pseidon.util; import pseidon.plugin.Plugin; import us.bpsm.edn.Named; import java.util.*; import java.util.stream.Stream; /** * Simple utility functions */ public class Util { public static final <T> Collection<T> reverse(Collection<T> coll){ List<T> list = new ArrayList<>(coll); Colle...
33006654-d4fb-475c-9629-dbf5cf30869c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-05 02:37:18", "repo_name": "mengshijian/okdeer-mall", "sub_path": "/okdeer-mall-activity/src/main/java/com/okdeer/mall/activity/discount/job/ActivityDiscountJob.java", "file_name": "ActivityDiscountJob.java", ...
package com.okdeer.mall.activity.discount.job; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.dangdang.ddframe.job.api.JobExecutionMultipleShardingContext; import com.dangdang.ddframe.job...
4dcfaa08-7c45-45fa-ac74-6c1a9003b737
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-15 11:21:46", "repo_name": "rmatag/TrafficDrones", "sub_path": "/src/main/java/com/rmatag/traffic/components/Dispatcher.java", "file_name": "Dispatcher.java", "file_ext": "java", "file_size_in_byte": 1221, "li...
package com.rmatag.traffic.components; import com.rmatag.traffic.TrafficDronesApp; import com.rmatag.traffic.dto.DroneMessage; import com.rmatag.traffic.dto.DroneMessageType; import java.util.List; public class Dispatcher implements Runnable { public static final String SIMULATION_TIMEOUT = "08:10:00"; priv...
8b32d58e-958c-484a-a6a8-d497afeeb285
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-15 12:50:06", "repo_name": "dilipduraiswamy/HouseHoldIncomeCalculator", "sub_path": "/HouseHoldIncomeCalculator/src/com/one/jan/one/dto/Items.java", "file_name": "Items.java", "file_ext": "java", "file_size_in...
/** * */ package com.one.jan.one.dto; /** * @author dilip.duraiswamy * */ public class Items { private String itemName; private float itemCost; private int quantity; /** * @return the quantity */ public int getQuantity() { return quantity; } /** * @param quantity * ...
f4b5c87d-228a-4e07-b660-5e857809c61d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-01 02:41:37", "repo_name": "MichaelTran502/Helsinki-MOOC-Java-Programming-II", "sub_path": "/part08-Part08_07.Abbreviations/src/main/java/Abbreviations.java", "file_name": "Abbreviations.java", "file_ext": "ja...
import java.util.HashMap; /* * 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 michael */ public class Abbreviations { private HashMap<String, String> hashma...
19ce354f-d15d-41f1-8489-33da44004c70
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-30 22:16:44", "repo_name": "Pratzn/rest-api-archetype", "sub_path": "/src/main/java/th/or/set/AbstractController.java", "file_name": "AbstractController.java", "file_ext": "java", "file_size_in_byte": 1221, "l...
package th.or.set; import java.net.InetAddress; import java.net.UnknownHostException; import org.springframework.validation.BindingResult; import org.springframework.web.context.request.RequestContextHolder; public abstract class AbstractController<T> extends AbstractComponent<T> implements Root{ public AbstractCo...
08f1279b-2857-4854-a1e5-4fe172ba0c63
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-12 19:01:58", "repo_name": "dartandrevinsky/event-sourcing-examples", "sub_path": "/java-spring/accounts-command-side-web/src/main/java/net/chrisrichardson/eventstore/javaexamples/banking/web/commandside/accou...
package net.chrisrichardson.eventstore.javaexamples.banking.web.commandside.accounts; import net.chrisrichardson.eventstore.javaexamples.banking.backend.commandside.accounts.AccountService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; import...
63b7d417-1672-4e1e-a727-521079787fec
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 13:52:37", "repo_name": "wasim5390/KidsLauncher", "sub_path": "/app/src/main/java/com/uiu/kids/event/notification/LinkNotificationEvent.java", "file_name": "LinkNotificationEvent.java", "file_ext": "java", ...
package com.uiu.kids.event.notification; import com.uiu.kids.model.LinksEntity; import com.uiu.kids.model.LocalNotificationModel; import com.uiu.kids.model.NotificationSender; import com.uiu.kids.ui.home.apps.AppsEntity; public class LinkNotificationEvent { LinksEntity linksEntity; LocalNotificationModel loca...
29d6f252-6fa8-43f7-a66e-43b1e977f05e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-13 14:44:41", "repo_name": "ncremaschini/maze-solver", "sub_path": "/src/main/java/it/niccrema/model/Maze.java", "file_name": "Maze.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 56, "lang...
package it.niccrema.model; import java.util.Map; import java.util.Objects; import java.util.Set; import java.util.function.Function; import java.util.stream.Collectors; public class Maze { private Set<Room> rooms; private Map<Integer, Room> mazeMap; public Set<Room> getRooms() { return this....
d9735f86-2dce-4263-ae17-7151e2f9dea5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-18 21:54:03", "repo_name": "srevilla999/car-pooling", "sub_path": "/src/main/java/dev/carpooling/rest/CarPoolingControllerAdvice.java", "file_name": "CarPoolingControllerAdvice.java", "file_ext": "java", "file...
package dev.carpooling.rest; import dev.carpooling.service.JourneyNotFoundException; import lombok.Builder; import lombok.Value; import org.springframework.http.ResponseEntity; import org.springframework.web.HttpMediaTypeNotSupportedException; import org.springframework.web.bind.annotation.ExceptionHandler; import org...
46a27b75-2ec5-44b8-b7b0-f041a7ea55d3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-16 07:29:42", "repo_name": "Dean-Hu-Nan/deanframework", "sub_path": "/src/main/java/com/dean4j/framework/uitl/PropsUtil.java", "file_name": "PropsUtil.java", "file_ext": "java", "file_size_in_byte": 1295, "lin...
package com.dean4j.framework.uitl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * 提供加载配置文件公共类 * * @author hunan * @since 1.0.0 */ public final class PropsUtil { private...
a024531e-8305-4c2b-9ed3-25c303cfe7c5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 16:07:09", "repo_name": "colddew/micro-service", "sub_path": "/micro-service-server2/src/main/java/edu/ustc/server/config/CassandraConfig.java", "file_name": "CassandraConfig.java", "file_ext": "java", "fil...
package edu.ustc.server.config; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation...
07b3855d-55db-4db6-9693-d8d1f8dd9429
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-09 10:22:45", "repo_name": "qndc/Crowdfunding", "sub_path": "/Atcrowdfunding-potal-impl/src/main/java/com/atguigu/atcrowdfunding/potal/service/impl/MemberServiceImpl.java", "file_name": "MemberServiceImpl.java...
package com.atguigu.atcrowdfunding.potal.service.impl; import com.atguigu.atcrowdfunding.bean.Member; import com.atguigu.atcrowdfunding.potal.dao.MemberMapper; import com.atguigu.atcrowdfunding.potal.service.MemberService; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; imp...
8fd6fd41-9a1b-438e-97cd-bcc5ddc6e9d6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-01 21:36:13", "repo_name": "mohammadsj2/AP_5", "sub_path": "/src/Network/Message.java", "file_name": "Message.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 68, "lang": "en", "doc_type": "...
package Network; import Network.Client.Client; public class Message { String text; Client client; // Message replied; String repliedText; Client repliedClient; public Message(Client client, String text, Message replied) { this.text = text; this.client = client; if ...
24bfc19a-e888-4a09-85de-d1c647dcaaa4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-23 07:04:17", "repo_name": "anyjava/jpa-book", "sub_path": "/src/main/java/jpabook/start/Board.java", "file_name": "Board.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 66, "lang": "en", "...
package jpabook.start; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; /** * Created by anyjava on 2016. 3. 18.. */ @Entity public class Board { @Id @Column(name = "BOARD_ID") private String id; private String title; private String content; ...
3fafa119-552d-453f-ac7b-6186eaa3ef58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-16 09:08:04", "repo_name": "jdolf/javagame", "sub_path": "/src/placeholder/game/screen/overlay/contextmenu/entry/ContextMenuEntry.java", "file_name": "ContextMenuEntry.java", "file_ext": "java", "file_size_in_...
/* * 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 placeholder.game.screen.overlay.contextmenu.entry; import placeholder.game.util.Dimension; import javafx.scene.paint.C...
9f9fe534-4cc9-4be3-b647-6778292a2e2a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 06:18:22", "repo_name": "tornaia/jimglabel", "sub_path": "/src/main/java/com/github/tornaia/jimglabel/gui/domain/Annotation.java", "file_name": "Annotation.java", "file_ext": "java", "file_size_in_byte": 12...
package com.github.tornaia.jimglabel.gui.domain; import java.util.List; public class Annotation { private String name; private long size; private int width; private int height; private List<DetectedObject> objects; public Annotation() { } public Annotation(String name, long size, in...
38159f64-a184-44b2-869a-319577424ecd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-08 00:48:16", "repo_name": "huahua495/GeziJoke", "sub_path": "/app/src/main/java/com/example/gezijoke/ui/ShareDialog.java", "file_name": "ShareDialog.java", "file_ext": "java", "file_size_in_byte": 1221, "line...
package com.example.gezijoke.ui; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.view.ViewGroup; import android.view.Window; import android.widget.FrameLayout; import androidx.annotation.NonNull; import androidx.ap...
6f93a203-4908-4a04-a766-aba777a15ce6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-31 09:10:54", "repo_name": "NicholasExxonite/2D_Guilds_Of_Lancaster", "sub_path": "/src/hashpizza/game/engine/GameSprite.java", "file_name": "GameSprite.java", "file_ext": "java", "file_size_in_byte": 1221, "l...
package hashpizza.game.engine; import org.jsfml.graphics.ConstTexture; import org.jsfml.graphics.Sprite; /** * Class to represent a textured object to render to the screen. * Uses the JSFML library to handle drawing internally */ public class GameSprite extends Sprite implements GameObject { /** * The sc...
c636e4e6-bfbc-4bad-abe6-19d6b2512904
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-13 21:49:18", "repo_name": "Jobicycle/SQLite_Demo", "sub_path": "/app/src/main/java/com/justin/sqlite_demo/model/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1219, "line...
package com.justin.sqlite_demo.model; public class Student { // Labels Table and Columns names public static final String TABLE = "Student"; public static final String KEY_ID = "id"; public static final String KEY_NAME = "name"; public static final String KEY_EMAIL = "email"; public static fin...
ef3fd914-c81f-42de-8308-3451ec329665
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-23 04:42:29", "repo_name": "aphiratnimanussonkul/ProjectSA", "sub_path": "/Server/src/main/java/sut/sa/g20/entity/MemberHotelEntity.java", "file_name": "MemberHotelEntity.java", "file_ext": "java", "file_size_...
package sut.sa.g20.entity; import javax.persistence.*; import lombok.*; @Entity @Data @Table (name = "TableMemberHotel") public class MemberHotelEntity { @Id @SequenceGenerator(name="memberHotel_seq",sequenceName="memberHotel_seq") @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="me...
f23197f6-ea42-496b-8056-07fabe530b7f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-20T19:23:07", "repo_name": "layersony/personal-blog", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1219, "line_count": 65, "lang": "en", "doc_type": "text", "b...
# Maingi Blog #### Created on 20th June 2021 #### By Samuel Maingi Mutunga ## Description This is a personal blogging website where you can create and share your opinions and other users can read and comment on them. Additionally, There is a feature that displays random quotes to inspire my users. This is a WebApp ...
e81e2194-d62a-4c1e-908d-ab87068a75b9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-01-26T11:15:38", "repo_name": "runonautomation/devops-talk", "sub_path": "/cfgmgmt-talk-plan/ansible.md", "file_name": "ansible.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 51, "lang": "en"...
## Ansible https://www.ansible.com/how-ansible-works https://sysadmincasts.com/episodes/43-19-minutes-with-ansible-part-1-4 https://github.com/ansible/ansible-examples/tree/master/language_features ## Practice - Prepare a centos VM host or use a test docker host https://github.com/runonautomation/dincd - Run the ...
7f10f3fc-cfe3-4eab-bcc4-0cc322ba62ff
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-02 06:28:47", "repo_name": "ice459pp/volley", "sub_path": "/src/main/java/com/shareba/volley/action/PostAction.java", "file_name": "PostAction.java", "file_ext": "java", "file_size_in_byte": 1220, "line_count"...
package com.shareba.volley.action; import java.io.File; import java.util.HashMap; public class PostAction<T> { public static String UPLOAD_NAME = "upload_file"; private Class<T> cls; private HashMap<String, String> params; private HashMap<String, String> header; private String url; public Pos...
e4f7775c-89c1-43f7-85f2-1eb4cbcd5977
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-23 01:00:14", "repo_name": "Petruzzi/final_project", "sub_path": "/src/main/java/com/iktpreobuka/final_project/entities/ParentEntity.java", "file_name": "ParentEntity.java", "file_ext": "java", "file_size_in_b...
package com.iktpreobuka.final_project.entities; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.JoinColumn; import javax.persistence.JoinTable; import javax.persistence.Many...
082b93c1-5c39-470a-b36a-15961a245b26
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-25 11:15:31", "repo_name": "davidxiaozhi/smart", "sub_path": "/smart-new-core/src/main/java/com/si/jupiter/smart/commons/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 1220,...
package com.si.jupiter.smart.commons; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * Author: lizhipeng * Date: 2017/01/22 10:13 */ public class Config { private static Properties prop; static { init(); } private static void init() { Inpu...
282f0d36-6896-47b1-9f3f-ef485d6d9455
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-15 13:54:01", "repo_name": "HDT-Tibi/explosiveButter", "sub_path": "/back-end/src/main/java/backend/restAPI/configuration/CORSFilter.java", "file_name": "CORSFilter.java", "file_ext": "java", "file_size_in_byt...
package backend.restAPI.configuration; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import or...
750a1f5b-f2df-4caf-9fb7-86fbf18d2a5a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-14 01:31:33", "repo_name": "meyoseph/eshop-sa", "sub_path": "/product-service/src/main/java/sa/product/service/productservice/service/ProductServiceImp.java", "file_name": "ProductServiceImp.java", "file_ext":...
package sa.product.service.productservice.service; import com.eshopaccountservice.eshopaccountservice.entity.Product; import lombok.AllArgsConstructor; import org.springframework.stereotype.Service; import com.eshopaccountservice.eshopaccountservice.repository.ProductRepository; import java.util.List; import java.uti...
e6f7dfef-c61a-4de4-bcfe-eacaf68f5fd3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-19 07:36:42", "repo_name": "dolynhan15/Java-spring-boot", "sub_path": "/Project-new-spring/boost-server-master/boost-server-api/src/main/java/com/qooco/boost/models/dto/attribute/AttributeShortDTO.java", "file...
package com.qooco.boost.models.dto.attribute; import com.fasterxml.jackson.annotation.JsonInclude; import com.qooco.boost.data.oracle.entities.UserAttribute; import lombok.*; import lombok.experimental.FieldNameConstants; import java.util.Objects; @Setter @Getter @Builder @NoArgsConstructor @AllArgsConstructor @Json...
1d2c9801-57be-4921-8cbb-120e2a583377
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-31T15:47:57", "repo_name": "yauritux/nodejs-devbox", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 26, "lang": "en", "doc_type": "text", "bl...
# What is **nodejs-devbox** ? A small Linux operating system ( **alpine** ) equipped with [NodeJS](https://nodejs.org/) and some goodies such as [Mocha](https://mochajs.org/) as testing framework, [JSLint](http://www.jslint.com/) and [ESLint](http://eslint.org/) as JavaScript (ECMA) code quality checker, and [TSLint](h...
bb4e8c61-6071-458d-8eaf-1d82d3a02b94
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-12 03:17:19", "repo_name": "zhouyou12138/ToastandNotification2", "sub_path": "/app/src/main/java/com/example/joker/toastandnotification/MainActivityToast.java", "file_name": "MainActivityToast.java", "file_ext...
package com.example.joker.toastandnotification; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; import butterknife.BindView; import butterknife.ButterKnife; impor...
9dc5b043-89db-4c36-82a3-3f4ae7aacecd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-04 13:28:20", "repo_name": "NordicSemiconductor/Android-BLE-Library", "sub_path": "/ble/src/main/java/no/nordicsemi/android/ble/LegacyBleManager.java", "file_name": "LegacyBleManager.java", "file_ext": "java",...
package no.nordicsemi.android.ble; import android.content.Context; import android.os.Handler; import androidx.annotation.NonNull; /** * When migrating from BLE Manager 2.1.1 to 2.2.0, the BleManager is no longer a template class. * Callbacks need to be passed in other way, e.g. using LiveData, RxJava or with a cal...
913f4145-0159-46df-88d2-d2c3e961c0b4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-17 20:02:17", "repo_name": "EmmanuelAbajo/stock-api", "sub_path": "/src/main/java/com/solution/stockapi/dto/StockDTO.java", "file_name": "StockDTO.java", "file_ext": "java", "file_size_in_byte": 1220, "line_co...
package com.solution.stockapi.dto; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.solution.stockapi.entity.Stock; @JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public class StockDTO { private Inte...
e93074ea-f015-4b44-b10b-a3e85cafccb4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-18 10:51:02", "repo_name": "EwoutLanduyt/TimeEwout", "sub_path": "/EwoutTime/src/main/java/SourceTime/FinnishWatch.java", "file_name": "FinnishWatch.java", "file_ext": "java", "file_size_in_byte": 1221, "line_...
package SourceTime; /* * 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. */ import java.text.SimpleDateFormat; import java.util.Date; import java.util.TimeZone; /** * * @...
7d3dd35f-1506-450e-ae97-a9a4280348c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-24 07:17:02", "repo_name": "zy117/wcz", "sub_path": "/src/main/java/com/myway/crawler/mvc/AliOssConfig.java", "file_name": "AliOssConfig.java", "file_ext": "java", "file_size_in_byte": 1227, "line_count": 36, ...
package com.myway.crawler.mvc; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.env.Environment; import com.myway.usf.common.oss.OssConfig; /** * ...
04ef755e-8dc8-4ce4-bd3d-b11de6742e0d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-24 09:39:58", "repo_name": "zxhr2793/busbook", "sub_path": "/src/com/ucas/busbook/widget/DeviceInfo.java", "file_name": "DeviceInfo.java", "file_ext": "java", "file_size_in_byte": 1259, "line_count": 39, "lang...
package com.ucas.busbook.widget; import com.ucas.busbook.R; import android.app.Activity; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.text.TextUtils; public class DeviceInfo { @SuppressWarnings("deprecation") public static void...
9c602e96-1106-4e5a-bdb3-abb7328b83fd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-13 10:53:47", "repo_name": "rbreje/PatientsManager", "sub_path": "/PatientsManager/src/com/breje/pm/model/Patient.java", "file_name": "Patient.java", "file_ext": "java", "file_size_in_byte": 1220, "line_count"...
package com.breje.pm.model; import java.util.StringJoiner; import com.breje.pm.exception.PatientsManagerException; public class Patient implements Entity { private String patientId; private String name; private String SSN; private String address; private int consNum; public Patient(String name, String SSN, St...
d1c5ab3a-0079-403b-9150-c3cb45cce091
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-08T21:22:10", "repo_name": "EnriqueMoran/hsk-vocabulary-flashcards", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 57, "lang": "en", "doc_ty...
# hsk-vocabulary-flashcards Online chinese HSK vocabulary flashcards This is a customizable website to help people learn and review chinese characters. Placing the mouse over any character will show info about it: its pinyin, meaning, usage example and notes. ![alt tag](/readme_images/example_gif_1.gif) ## Data str...
ba7fd2a7-b3f9-41b6-a707-81d335a9a8e7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-14 07:38:58", "repo_name": "pankajnegi1893/webview_android", "sub_path": "/app/src/main/java/com/pankaj/webviewapp/Utility.java", "file_name": "Utility.java", "file_ext": "java", "file_size_in_byte": 1220, "li...
package com.pankaj.webviewapp; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.net.ConnectivityManager; import android.net.NetworkInfo; public class Utility { public static boolean isOnline(Context context) { ...
39cf5108-3930-4539-a2ae-8cc9acc03f53
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-26 10:55:45", "repo_name": "xpttxsok123/coffee-life", "sub_path": "/cl-log-center/src/main/java/com/coffee/life/log/center/controller/LogController.java", "file_name": "LogController.java", "file_ext": "java",...
package com.coffee.life.log.center.controller; import com.coffee.life.framework.domain.log.Log; import com.coffee.life.framework.model.response.Page; import com.coffee.life.log.center.service.LogService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMa...
ca586187-25ec-4096-a18d-5d41ecfd54a6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 21:40:28", "repo_name": "ojan2021/mapversity", "sub_path": "/app/src/main/java/com/example/mapversitydemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1220,...
package com.example.mapversitydemo; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.WindowManager; public class MainActivity extends AppCompatActivity { pu...
91a89dfe-1c83-4ace-ad0a-6cbd01bc0b31
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-05 21:02:58", "repo_name": "MariyaR/StudentProject", "sub_path": "/Student-system/src/main/java/edu/javacourse/student/StudentSystem.java", "file_name": "StudentSystem.java", "file_ext": "java", "file_size_in_...
package edu.javacourse.student; import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream; import javax.xml.bind.JAXBContext; import javax.xml.bind.UnmarshalException; import javax.xml.bind.Unmarshaller; import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stre...
acc0bfc0-ea72-4d43-8373-3a8d6c7d9473
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-17T08:06:58", "repo_name": "ebh/mockdynamodb", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 33, "lang": "en", "doc_type": "text", "blob_id"...
# github.com/ebh/mockdynamodb In-memory implementation of DynamoDB, ideal for unit testing ![Continuous Integration](https://github.com/ebh/mockdynamodb/workflows/Continuous%20Integration/badge.svg) [![Go Reference](https://pkg.go.dev/badge/github.com/ebh/mockdynamodb.svg)](https://pkg.go.dev/github.com/ebh/mockdynam...
7793c825-42a4-4445-a48c-6faac057f533
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-17 14:48:45", "repo_name": "maxtkachenkoua/jason-upwork-test", "sub_path": "/src/main/java/com/upwork/tkachenko/module/account/model/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_i...
package com.upwork.tkachenko.module.account.model; import java.math.BigDecimal; public class Account { private String accountId; private String customerName; private String currency; private BigDecimal amount; public Account() { // intentionally left empty } public Account(String accountId, String cust...
2ae39af6-8f7f-4e36-8b69-f2203dc94aeb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-15T09:07:59", "repo_name": "jayson-temporas/nativescript-temp-sms", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 58, "lang": "en", "doc_typ...
# nativescript-temp-sms Warning: I don't have time to maintain and upgrade this plugin. If you want to implement it in IOS, just fork this repo and create your own plugin. Thanks. Sending sms without user interaction. var smsManager = android.telephony.SmsManager.getDefault(); smsManager.sendTextMessage("0123232332...
4ad9295b-139f-4717-978b-62f481633960
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-01 09:36:01", "repo_name": "Immountain/gsis.kwdi.re.kr", "sub_path": "/src/main/java/infomind/com/cmm/bean/InfoLoginPageCacheManager.java", "file_name": "InfoLoginPageCacheManager.java", "file_ext": "java", "f...
package infomind.com.cmm.bean; import infomind.com.cmm.InfoConstants; import infomind.com.cms.info.site.service.InfoSiteMenuService; import infomind.com.cms.info.site.vo.InfoSiteMenuVO; import org.springframework.beans.factory.InitializingBean; import org.springframework.stereotype.Service; import javax.annotation.Re...
30db4872-f0ba-4546-af7a-c807256b9411
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-26 15:43:45", "repo_name": "this-software/this.pos", "sub_path": "/ThisPOS/src/main/java/dis/software/pos/Application.java", "file_name": "Application.java", "file_ext": "java", "file_size_in_byte": 1222, "lin...
package dis.software.pos; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * Clase para inicializar el contexto de la configuración de Spring * @author Milton Cavazos */ public class Applicat...
2c198e4f-8f83-4939-ad2e-8726be13f214
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-30 04:33:01", "repo_name": "jaypatelgit85/Capstone_Project", "sub_path": "/app/src/main/java/patel/mohawk/capstoneproject/AdminHome.java", "file_name": "AdminHome.java", "file_ext": "java", "file_size_in_byte"...
package patel.mohawk.capstoneproject; // I Jay Kumar Patel,000744834 have done this assignment by my own and haven't copied it from anywhere. import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class AdminHome extends AppCompatActi...
95ee9dfb-bc42-47e0-8460-ade7331893a5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-23 15:02:26", "repo_name": "YehorHolyk/patternProj", "sub_path": "/src/main/java/ua/nure/patternProj/dao/mysql/entity/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 1219, "lin...
package ua.nure.patternProj.dao.mysql.entity; import lombok.AccessLevel; import lombok.Getter; import lombok.NoArgsConstructor; import java.util.Date; @NoArgsConstructor(access = AccessLevel.PRIVATE) @Getter public class Order { private int id; private Date orderingDate; private double sum; private ...
6bcca2ef-cc5d-496d-8355-fe6a860fb265
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-24T06:22:33", "repo_name": "yvasilyev92/WeatherViewer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1219, "line_count": 15, "lang": "en", "doc_type": "text", ...
# WeatherViewer Android App uses to OpenWeatherMap.org API to show user the Weather in the city of their choice. This is the WeatherView App from the Android 6 for Programmers book 3rd Edition by Deitel Developer Series. (C) Copyright 1992-2014 by Deitel & Associates, Inc. and Pearson Education, Inc. All Rights Reserve...
ba2ef22c-2f4a-4d75-929c-7c82aa14ba26
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-30 19:30:29", "repo_name": "SharmilaSherin/ICTAssignmentAmazon", "sub_path": "/src/test/java/Execution.java", "file_name": "Execution.java", "file_ext": "java", "file_size_in_byte": 1221, "line_count": 45, "la...
import com.aventstack.extentreports.Status; import org.openqa.selenium.By; import org.openqa.selenium.ElementNotInteractableException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.testng.annotations.Test; import java.io.IOException; import java.net.InetAddress; public cla...
1bcb640b-3951-4a58-a5fb-0380fe5932d6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-10 00:58:37", "repo_name": "jdcalderin/facturapp", "sub_path": "/app/src/main/java/com/bytecodr/invoicing/model/Cliente.java", "file_name": "Cliente.java", "file_ext": "java", "file_size_in_byte": 1219, "line_...
package com.bytecodr.invoicing.model; import com.activeandroid.Model; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import java.util.List; /** * Created by josedaniel on 25/12/16. */ @Table(name = "Clientes") public class Cliente extends Model { @Column(name = "Nit", ...
f3f68c1a-f8dd-4028-940e-3e1c3df9ab3b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-11 00:41:06", "repo_name": "ibrahimyazar/Summer2019OnlineSelenium", "sub_path": "/src/test/java/test/day4_FindElements/ReadAttributeTest.java", "file_name": "ReadAttributeTest.java", "file_ext": "java", "file_...
package test.day4_FindElements; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import utils.BrowserFactory; import utils.BrowserUtils; public class ReadAttributeTest { public static void main(String[] args) { WebDriver driver = BrowserFactory....
00d5ab87-3fe6-4c44-9f1a-144ff53c45ee
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-31 18:07:01", "repo_name": "guanqing123/demo-wx", "sub_path": "/demo-wx/src/main/java/com/demo/core/weixin/wxobj/ConditionMenu.java", "file_name": "ConditionMenu.java", "file_ext": "java", "file_size_in_byte":...
package com.demo.core.weixin.wxobj; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 个性化菜单配置 * * @author hst on 2016/12/13 */ @Getter @Setter public class ConditionMenu ...
fe5cb0ef-45c7-4a37-bbc6-5e160797fb69
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-02 14:35:28", "repo_name": "fjnu-zs/intent", "sub_path": "/app/src/main/java/com/example/myapplication/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1218, "line...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.webkit.WebView; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; publ...
2b3cd1f0-952f-41e5-be71-46a460e4cf24
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-06 10:02:42", "repo_name": "mremac/mental-snapp-android", "sub_path": "/MentalSnapp/app/src/main/java/com/mentalsnapp/com/mentalsnapp/activities/PrivacyPolicyActivity.java", "file_name": "PrivacyPolicyActivity...
package com.mentalsnapp.com.mentalsnapp.activities; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import com.mentalsnapp.com.mentalsnapp.R; /** * Created by gchandra on 9/1/17. */ public class PrivacyPolicyActivity extends BaseActivity { private Toolbar mToo...
ae010ad2-8422-420a-ab3b-74ae7857d879
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 09:33:31", "repo_name": "JecyG/dreamweb", "sub_path": "/src/main/java/cc/landingzone/dreamweb/common/CommonConstants.java", "file_name": "CommonConstants.java", "file_ext": "java", "file_size_in_byte": 1231...
package cc.landingzone.dreamweb.common; import java.io.InputStream; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class CommonConstants { private static final Logger logger = LoggerFactory.getLogger(CommonConstants.class); public static final String Aliyun_Acc...
8c8f3708-9632-4cc7-98b5-29fddc3bfc01
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-12T15:29:40", "repo_name": "Traumjager/client", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1219, "line_count": 47, "lang": "en", "doc_type": "text", "blob_id...
# I Saloon ## Developers - Hatem Husnieh - Ahmad Ammoura - Ahmad Abu Osbeh - Mohammed Al-Ramahi --- ## Description : - A website/application that allows users to discover barbers within their areas in a professional way, this app will ease the contacting process and introducing services for the clients. As it will...
e4b502d2-d0bc-4d8a-9dae-7b48c9aa52d5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-01 15:26:53", "repo_name": "andianderson522/fatcatsolutions_utils", "sub_path": "/src/main/java/org/fatcatsolutions/utils/strings/StringUtils.java", "file_name": "StringUtils.java", "file_ext": "java", "file_s...
package org.fatcatsolutions.utils.strings; public final class StringUtils { public static final String EMPTY_STRING = ""; public static final CharSequence EMPTY_CHARSEQUENCE = EMPTY_STRING; private StringUtils() { // hide utility class } /** * @param toTest * {@link CharSequence} to default if...
2311acc8-befd-4071-9ef5-bd279c8f773a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-11 10:59:06", "repo_name": "Tukenbayevv/projectsdutechnopark", "sub_path": "/app/src/main/java/nurik/projectsdutechnopark/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in...
package nurik.projectsdutechnopark; import android.support.annotation.NonNull; import android.support.design.widget.BottomNavigationView; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.TypedValue; import android.view.Men...
026b6de1-3fa3-4028-aeae-2f09ca6c8ffc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-25 02:14:07", "repo_name": "BaiYegithub/AndroidMyTemplate", "sub_path": "/Template/framework/src/main/java/app/vp/cn/framework/LiveData1Activity.java", "file_name": "LiveData1Activity.java", "file_ext": "java"...
package app.vp.cn.framework; import android.arch.lifecycle.MutableLiveData; import android.arch.lifecycle.Observer; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.widget.Button; import android.widget.TextView; import butterknife.Bi...
6eed90e4-bc84-4efe-ae8c-fa8129978304
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-14 06:27:45", "repo_name": "Ccalary/Cai_android", "sub_path": "/app/src/main/java/com/bc/caibiao/utils/ProgressDialogUtils.java", "file_name": "ProgressDialogUtils.java", "file_ext": "java", "file_size_in_byte...
package com.bc.caibiao.utils; import android.app.ProgressDialog; import android.content.Context; import android.text.TextUtils; /** * @author wangkai * @create 16/9/8 上午10:48 * @Description : */ public class ProgressDialogUtils { private String defaultMsg = "数据加载中..."; private ProgressDialog mDialog; ...
da254860-ca0f-4479-a014-b99dd493fc58
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-09-21 06:56:47", "repo_name": "hsolia/rankrepo", "sub_path": "/src/com/vidyo/jsf/csv/CsvTextRenderer.java", "file_name": "CsvTextRenderer.java", "file_ext": "java", "file_size_in_byte": 1220, "line_count": 40, "l...
package com.vidyo.jsf.csv; import java.io.IOException; import javax.faces.component.UIComponent; import javax.faces.component.UIOutput; import javax.faces.context.FacesContext; import javax.faces.context.ResponseWriter; import javax.faces.render.Renderer; public class CsvTextRenderer extends Renderer { /** ...
60db16bf-0576-4d6a-a3d9-822fe61add34
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-20 16:00:58", "repo_name": "NiFengGe123/JAVA-01", "sub_path": "/Week_02/src/main/java/com/nio/HttpClientTest.java", "file_name": "HttpClientTest.java", "file_ext": "java", "file_size_in_byte": 1243, "line_coun...
package com.nio; import org.apache.http.HttpEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; import java....
5ef0c266-b178-449e-b91a-28bf0e41f573
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-19T02:39:51", "repo_name": "exe1023/dialogue_metrics_docker", "sub_path": "/usr/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 35, "lang": "en", "doc_type"...
# USR Dockerized Server ## Build Docker Image ``` sh build_docker.sh ``` ## Run Docker Container 1. Please refer to [Google Drive](https://drive.google.com/drive/folders/1sxaSIpAh6XOcmWd6dm__96DCamN-lCFX?usp=sharing) to download the pretrained models. Updated: You can also download data using seperate links [ctx](htt...
0760d093-e654-428a-ae5f-6a05bcbd24f7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 16:01:27", "repo_name": "mr-hec24/Group-Creator", "sub_path": "/Group Creator/src/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1220, "line_count": 66, "lang": "en", "...
import java.util.ArrayList; public class Student { private String firstName; private String lastName; private ArrayList<String> previousPartners; private boolean alreadyInGroup = false; public Student(String f, String l, ArrayList<String> p) { firstName = f; lastName = l; previous...
8cec6a1b-4b09-4c69-aae1-4e1bce96d18c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-18 02:23:07", "repo_name": "zconggithub/starApps", "sub_path": "/src/main/java/com/starapp/service/impl/TInvoiceDataServiceImpl.java", "file_name": "TInvoiceDataServiceImpl.java", "file_ext": "java", "file_siz...
package com.starapp.service.impl; import com.starapp.common.BackMessage; import com.starapp.common.EnumCodeMsg; import com.starapp.common.Excel2007Reader; import com.starapp.dao.TInvoiceDataMapper; import com.starapp.entity.TInvoiceData; import com.starapp.service.TInvoiceDataService; import org.apache.poi.openxml4j.e...
b4af8999-e9df-42c7-b776-cad603c3c98e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-11 16:31:23", "repo_name": "Anass-ABEA/SimpleSwingApplication", "sub_path": "/src/com/projet/interfaces/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in_byte": 1219, "line_count": 47, ...
package com.projet.interfaces; import com.projet.intermediary.AuthenticationForm; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class Login extends MyJDialog { private JPanel panel1; private JTextField textLogin; private JPasswordField textPassword;...
ab5bee73-d162-495e-8388-1bf21f9c41ac
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-31T14:17:19", "repo_name": "aas312/consumer-quorum", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1218, "line_count": 43, "lang": "en", "doc_type": "text", "bl...
## Trying out quorum and solidity Trying out quorum and solidity. I want to use modifiers to check if a user can execute a function. Role.sol contains mapping of role to a function. this is very basic. right now i just want to assign one uint8 number to one string function User.sol contains mapping of user to th...
d6ce2fbb-adef-4d1c-b41c-9d53afc80837
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-25T16:42:44", "repo_name": "taipeicameraclub/jasontsai0408.github.io", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1219, "line_count": 19, "lang": "en", "doc_...
<h2>jasontsai0408.github.io</h2> <h4>Some Points of my website:</h4> <h5>Most part of my website are from bootstrap : https://getbootstrap.com/</h5> <h5>A. About Me (Home Page)</h5> <h5>&nbsp;&nbsp;Fontfamily: From Google Font</h5> <h5>&nbsp;&nbsp;Bootstrap: Navs</h5> <h5>&nbsp;&nbsp;Bootstrap: Carousels</h5> <h5>&nbsp...
a4d7261c-1df2-440c-8433-64d263a1df96
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-13 07:45:51", "repo_name": "sapozhnikov-v/sapozhnikov", "sub_path": "/sensorchecker/db/rest/src/main/java/ru/sapozhnikov/sensorschecker/db/rest/sensor/controller/SensorValueController.java", "file_name": "Sens...
package ru.sapozhnikov.sensorschecker.db.rest.sensor.controller; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import ru.sapozhnikov.sensorschecker.core.sensor.SensorVa...
22852993-c02e-46b7-8912-37ab482b4f8e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-28T11:59:18", "repo_name": "Skeen/vnc_monitor", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1219, "line_count": 48, "lang": "en", "doc_type": "text", "blob_id...
VNC Monitor ----------- # Preparing the host-machine ## Ensuring a VIRTUAL device is present. Note this section concerns the [xorg.conf](https://xkcd.com/963/) file. Check whether a `VIRTUAL` framebuffer device is already found, using: xrandr -q The expected output if a virtual device is present is: VIRT...
c805a03f-5134-49ff-a80d-377d34c9ee63
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-03 08:06:50", "repo_name": "keesun/spring-social-me2day", "sub_path": "/src/main/java/org/springframework/social/me2day/auth/Me2DayAuthRequestInterceptor.java", "file_name": "Me2DayAuthRequestInterceptor.java"...
package org.springframework.social.me2day.auth; import org.springframework.http.HttpMethod; import org.springframework.http.HttpRequest; import org.springframework.http.client.*; import org.springframework.social.support.URIBuilder; import java.io.IOException; import java.net.URI; /** * @author: Keesun Baik */ pub...
5bb2f9cb-3258-4b5c-8eed-c09b259930cc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-31 01:47:33", "repo_name": "zhu-jacky/LearningAndroid", "sub_path": "/Intents/app/src/main/java/com/zhujingjie/intents/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_by...
package com.zhujingjie.intents; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; public class MainActivity extends AppCompatActivity { int requestCode = 1; @Override protected void onCreate(Bundle ...
10cca8bb-2471-47ca-9132-bc6c8cb10aa2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-10 06:09:27", "repo_name": "masrypakpahan/AplikasiOnlineTesting", "sub_path": "/app/src/main/java/com/pji/cbt/aplikasionlinetesting/ui/dialog/StartTestDialog.java", "file_name": "StartTestDialog.java", "file_e...
package com.pji.cbt.aplikasionlinetesting.ui.dialog; import android.app.Dialog; import android.support.v4.app.FragmentManager; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import com.pji.cbt.aplikasionlinetesting.ui.activities.MainActivity; import butterknife.OnClick; import cbt.pji.c...