id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
7abbeadf-b0f5-455f-96f1-9f9534d7d230
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-21 00:51:47", "repo_name": "mandiriwhatthehackorg/AppTeam4", "sub_path": "/app/src/main/java/id/co/mandiri/onepushservices/model/transaction/TransactionDetails.java", "file_name": "TransactionDetails.java", "f...
package id.co.mandiri.onepushservices.model.transaction; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class TransactionDetails { @SerializedName("source") @Expose private String source; @SerializedName("type") @Expose private String type;...
5473a5f9-7e1c-4a74-9345-ac75e0dd8bbd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-06 17:56:07", "repo_name": "Franklincz/DogAPP", "sub_path": "/app/src/main/java/com/example/dogapp/RVAdapter.java", "file_name": "RVAdapter.java", "file_ext": "java", "file_size_in_byte": 1196, "line_count": 4...
package com.example.dogapp; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.appcompat.widget.ListPopupWindow; import androidx.recyclerview.widget.ListAdapter; import androidx.recyclerview.widget.RecyclerView; import java...
0db0ce38-efdd-4b41-aaf6-b18024fae932
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-09 22:17:44", "repo_name": "libby121/JDBC1", "sub_path": "/JDBCProjectPoke/src/main/java/beans/Pokemon.java", "file_name": "Pokemon.java", "file_ext": "java", "file_size_in_byte": 1197, "line_count": 63, "lang...
package beans; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; @Component @Scope("prototype") public class Pokemon { private int id; //@Autowired private Type type; private String name...
70bf0b42-cbb2-4ac1-94a6-841adf5b3601
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 05:02:50", "repo_name": "hhoy/FreeBook", "sub_path": "/app/src/main/java/com/ouyang/freebook/modle/interceptor/SetCookieInterceptor.java", "file_name": "SetCookieInterceptor.java", "file_ext": "java", "file...
package com.ouyang.freebook.modle.interceptor; import android.util.Log; import com.ouyang.freebook.modle.Cookie; import java.io.IOException; import okhttp3.Headers; import okhttp3.Interceptor; import okhttp3.Response; public class SetCookieInterceptor implements Interceptor { @Override public Response inte...
92c68ae6-cbb0-40c6-8e0a-45882180757a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-03 10:19:48", "repo_name": "marcelheim/springchess-server", "sub_path": "/src/main/java/m/heim/server/domain/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1198, "line_count": 5...
package m.heim.server.domain; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * User {@link Entity} Modell in der Java Per...
5b0a8da0-976a-48e0-bb8e-df9ac6da7e68
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-31 22:15:37", "repo_name": "sidorchukandrew/upcafe-api", "sub_path": "/src/main/java/upcafe/error/CustomErrorResponse.java", "file_name": "CustomErrorResponse.java", "file_ext": "java", "file_size_in_byte": 11...
package upcafe.error; import java.time.LocalDateTime; import com.fasterxml.jackson.annotation.JsonFormat; public class CustomErrorResponse { @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "MM-dd-yyyy hh:mm:ss") private LocalDateTime timestamp; private int status; private String error; p...
883d13a1-ea34-40ec-957d-9da2fdfb18a7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-01 19:37:05", "repo_name": "mback2k/ts3admin", "sub_path": "/src/de/uxnr/ts3/admin/ui/action/DisconnectAction.java", "file_name": "DisconnectAction.java", "file_ext": "java", "file_size_in_byte": 1196, "line_c...
package de.uxnr.ts3.admin.ui.action; import org.eclipse.jface.action.Action; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.widgets.TabItem; import de.uxnr.ts3.admin.ui.composite.ConnectionComposite; import de.uxnr.ts3.admin.ui.resource.IconDescri...
300f89c2-fe71-45ff-950e-6a328f8eb89d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-11-23T11:46:31", "repo_name": "Gigacore/iOrange-2", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1197, "line_count": 34, "lang": "en", "doc_type": "text", "blob_i...
iOrange 2.0 ========= iOrange 2.0 is a free, simple and light-weight web template for your website and is valid HTML5 & CSS3 (W3C Compliant) document. This template is built on HTML5 Boiler Plate framework and is fully responsive with mobile-first attitude and weighs just under 60KB. ##Don't like Orange? I ha...
281e15f7-ba59-4bf6-a131-183c3d07ef51
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-06 20:45:46", "repo_name": "mabdolla/Twitter-Project", "sub_path": "/login-microservice/src/main/java/no/oslomet/loginmicroservice/model/TwitterUser.java", "file_name": "TwitterUser.java", "file_ext": "java", ...
package no.oslomet.loginmicroservice.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import no.oslomet.common.api.User; @JsonIgnoreProperties(ignoreUnknown = true) public class TwitterUser implements User { @JsonProperty private Strin...
fdd6411e-02c9-46db-b471-ad6aa7b5a964
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-21T16:49:01", "repo_name": "haim-rubin/lucy-in-the-sky", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1196, "line_count": 34, "lang": "en", "doc_type": "text",...
Gudlines/Description 1. Backend - Run backend: from in 'backend' folder run npm start - APIs * Because we needed to retrieve data from 3rd party so I splitted the API into 2 different APIs * 3rdParty - Proxy to the images data * local - deal with local data like user's favorites ...
0e6a66eb-2902-433a-91c0-bc7495aecf05
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-22 03:35:16", "repo_name": "sayid0924/jzr", "sub_path": "/app/src/main/java/com/jzr/bedside/ui/apadter/DoctorAdviceApadter.java", "file_name": "DoctorAdviceApadter.java", "file_ext": "java", "file_size_in_byte...
package com.jzr.bedside.ui.apadter; import android.content.Context; import android.graphics.Color; import android.widget.TextView; import com.jzr.bedside.R; import com.jzr.bedside.bean.BedInfoBean; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import java...
18478618-38b2-447a-812f-3cc7bc2c5d74
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 13:57:37", "repo_name": "chelsea710/teach", "sub_path": "/xc-service-manage-cms/src/main/java/com/xuecheng/manage_cms/service/TemplateService.java", "file_name": "TemplateService.java", "file_ext": "java", ...
package com.xuecheng.manage_cms.service; import com.xuecheng.framework.domain.cms.CmsTemplate; import com.xuecheng.framework.model.response.CommonCode; import com.xuecheng.framework.model.response.QueryResponseResult; import com.xuecheng.framework.model.response.QueryResult; import com.xuecheng.manage_cms.dao.CmsTempl...
a23ba66f-154c-46c0-ab9b-3d1bd4e27073
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-06 08:05:19", "repo_name": "davidsowerby/krail-tutorial", "sub_path": "/src/main/java/com/example/tutorial/pages/ContactDetailView.java", "file_name": "ContactDetailView.java", "file_ext": "java", "file_size_i...
package com.example.tutorial.pages; import com.google.inject.Inject; import com.vaadin.ui.FormLayout; import com.vaadin.ui.Label; import uk.q3c.krail.core.i18n.Translate; import uk.q3c.krail.core.view.Grid3x3ViewBase; import uk.q3c.krail.core.view.component.AfterViewChangeBusMessage; import uk.q3c.krail.core.view.comp...
8a66d7f4-adc8-4990-879f-c27ecbe72613
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-15T16:59:10", "repo_name": "nzukie-b/snarl", "sub_path": "/A4/inbox/traveller-integration-report.md", "file_name": "traveller-integration-report.md", "file_ext": "md", "file_size_in_byte": 1194, "line_coun...
Memorandum - DATE: February 4th, 2021 TO: Manager FROM: Brandon Nzukie, Blake Hatch SUBJECT: "Traveller Server Specification Implementation" 1. The other team implemented our specification almost fully truthfully, with the exception of some minor differences in what the functions take in. However, I think given t...
e985188b-3d01-4fda-8054-c5c16271a344
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-05 04:07:55", "repo_name": "albertoruvel/shakepoint-rest-api", "sub_path": "/src/main/java/com/shakepoint/web/api/data/entity/PromoCodeRedeem.java", "file_name": "PromoCodeRedeem.java", "file_ext": "java", "fi...
package com.shakepoint.web.api.data.entity; import javax.persistence.*; import java.util.UUID; @Entity(name = "PromoRedeem") @Table(name = "promocode_user") public class PromoCodeRedeem { @Id private String id; @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "promocode_id") private PromoC...
33830c96-463e-42ab-aaeb-286c31095255
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-04 12:10:38", "repo_name": "along101/contract-center", "sub_path": "/contract-backend/src/main/java/com/along101/contract/entity/BaseEntity.java", "file_name": "BaseEntity.java", "file_ext": "java", "file_size...
package com.along101.contract.entity; import lombok.Data; import org.springframework.data.annotation.CreatedBy; import org.springframework.data.annotation.LastModifiedBy; import org.springframework.data.jpa.domain.support.AuditingEntityListener; import javax.persistence.*; import java.io.Serializable; import java.uti...
5088c4f9-4ec7-4ac8-9c3b-4974f7a46b4e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-13 01:03:38", "repo_name": "gobiiproject/GOBii-System", "sub_path": "/gobiiproject/gobii-model/src/main/java/org/gobiiproject/gobiimodel/headerlesscontainer/LoaderInstructionFilesDTO.java", "file_name": "Loade...
package org.gobiiproject.gobiimodel.headerlesscontainer; import org.gobiiproject.gobiimodel.tobemovedtoapimodel.Header; import org.gobiiproject.gobiimodel.dto.instructions.loader.GobiiLoaderInstruction; import org.gobiiproject.gobiimodel.types.GobiiProcessType; import java.util.ArrayList; import java.util.List; /** ...
59455ced-1028-4ec5-a3b6-984b403b71d8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-27 02:24:54", "repo_name": "peterso05168/hku", "sub_path": "/hku-admin/src/main/java/com/accentrix/hku/web/common/RefCdBean.java", "file_name": "RefCdBean.java", "file_ext": "java", "file_size_in_byte": 1219, ...
package com.accentrix.hku.web.common; import java.io.Serializable; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.s...
8a461315-0329-404e-8637-813d9b8a3c02
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-10 10:55:49", "repo_name": "ChristinaBartholomaeussen/Eksamen2021Projekt", "sub_path": "/src/main/java/com/example/eksamen2021/restcontroller/ParishRestController.java", "file_name": "ParishRestController.java...
package com.example.eksamen2021.restcontroller; import com.example.eksamen2021.model.Parish; import com.example.eksamen2021.service.ParishService; import lombok.AllArgsConstructor; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @Al...
dbf34966-484a-4082-a1bd-00dff6641b8b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-23 06:50:43", "repo_name": "Smkai/RecyclerViewDemo", "sub_path": "/app/src/main/java/ck/itheima/com/recyclerview/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1...
package ck.itheima.com.recyclerview; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.OrientationHelper; import android.support.v7.widget.RecyclerView; import java.util.ArrayList; import java.util.List; p...
4ed07c35-5e57-47f5-a183-ba27fa676c34
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-05 02:47:49", "repo_name": "matiaslugo/GatoEncerradoMobile", "sub_path": "/app/src/main/java/mati/gatoencerradoapp/LaberintoAdapter.java", "file_name": "LaberintoAdapter.java", "file_ext": "java", "file_size_i...
package mati.gatoencerradoapp; import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import java.util.ArrayList; impo...
10f7f3a1-6d9f-47d4-892d-6cee2c975a69
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-06-20 23:41:21", "repo_name": "Esquenta-Porquinho/back-end", "sub_path": "/src/main/java/com/college/hotlittlepigs/user/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1195, "line_c...
package com.college.hotlittlepigs.user; import com.college.hotlittlepigs.log.Log; import com.college.hotlittlepigs.user.enums.Role; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty.Access; import lombok.AllArg...
29774c3d-f5b1-40ad-812d-2d783a7cb765
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 14:05:03", "repo_name": "sid046/QMB", "sub_path": "/app/src/main/java/com/animation/qmb/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1195, "line_count": 44,...
package com.animation.qmb; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.os.Handler; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInst...
1795f693-8e2c-4280-b1e1-e9b8b08f563f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-21 10:52:33", "repo_name": "Somsubhra1/IP-Finder-Android", "sub_path": "/app/src/main/java/com/somsubhra/ipfinder/Openweb.java", "file_name": "Openweb.java", "file_ext": "java", "file_size_in_byte": 1195, "lin...
package com.somsubhra.ipfinder; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.webkit.WebView; import android.webkit.WebViewClient; public class Openweb extends AppCompatActivity { private WebView webView; @Override protected void onCr...
8f948d8b-d67a-4acf-b46d-5e9520b3e65b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-27 07:40:34", "repo_name": "zhangliangLeon/AndroidLearning", "sub_path": "/app/src/main/java/com/example/myapplication/FragmentLearning_new/FragmentMainActivity.java", "file_name": "FragmentMainActivity.java",...
package com.example.myapplication.FragmentLearning_new; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.FragmentManager; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import com.example.myapplication.R; public clas...
770f536f-1b0f-4a5e-b5a8-658fcef80d9b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-16 14:17:40", "repo_name": "spqa/swing1", "sub_path": "/src/Swing7/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 1198, "line_count": 58, "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 /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the ...
51b4a73f-32a4-40c5-949b-87dcd355bc15
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-05 12:18:29", "repo_name": "ailbertriksen/pdf-library", "sub_path": "/src/main/java/nl/mad/toucanpdf/api/BaseTable.java", "file_name": "BaseTable.java", "file_ext": "java", "file_size_in_byte": 1195, "line_cou...
package nl.mad.toucanpdf.api; import java.util.LinkedList; import java.util.List; import nl.mad.toucanpdf.model.Cell; import nl.mad.toucanpdf.model.PlaceableDocumentPart; import nl.mad.toucanpdf.model.Table; public class BaseTable extends AbstractTable implements Table { private List<Cell> content = new LinkedLi...
a75c3934-dd82-422a-8834-9c4956e39baa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-06-02T13:14:40", "repo_name": "erizocosmico/new_landing", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1194, "line_count": 26, "lang": "en", "doc_type": "text", "...
# landing [![Build Status](http://drone.srcd.host/api/badges/src-d/landing/status.svg)](http://drone.srcd.host/src-d/landing) Serves API and landing page Install and build === You should already have [hugo installed](https://gohugo.io/overview/installing/) in your machine;<br /> You need also [npm installed](https://...
eb7ec831-cc36-4f07-8863-09957b0cd2bb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-07 05:33:33", "repo_name": "Smilesc/CSCI490-Lab_02", "sub_path": "/IntentDemo1/app/src/main/java/com/example/intentdemo1/Main2Activity.java", "file_name": "Main2Activity.java", "file_ext": "java", "file_size_i...
package com.example.intentdemo1; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; public class Main2Activity extends AppCompatActivity { private int choice = -1; @Override protected void on...
51c4703a-519f-4aca-9ab4-d0ad82019864
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 12:33:57", "repo_name": "ZhangPeng123456aabb/Itheima_JavaWeb", "sub_path": "/ZhangPeng/src/main/java/com/baizhi/spring/jdkproxy/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte":...
package com.baizhi.spring.jdkproxy; import com.baizhi.spring.service.UserService; import com.baizhi.spring.service.impl.UserServiceImpl; import org.apache.log4j.helpers.Loader; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; //jdk动态代理 public class Test { ...
1c84eeb7-9edc-4b89-b6b8-2a23fbe27c0f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-21 12:55:37", "repo_name": "lany192/BlurDialog", "sub_path": "/app/src/main/java/com/github/lany192/blurdialog/sample/SampleBottomDialogFragment.java", "file_name": "SampleBottomDialogFragment.java", "file_ext...
package com.github.lany192.blurdialog.sample; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import com.github.lany192.blurdialog.BlurBottomDialogFragment; public class SampleBottomDialogFragment extends BlurBottomDia...
a03aa8a9-98a0-4853-846d-13d8fb842ab5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 01:08:25", "repo_name": "13548899356/p2p_L", "sub_path": "/src/main/java/com/zking/ssm/util/ThreeIdentity.java", "file_name": "ThreeIdentity.java", "file_ext": "java", "file_size_in_byte": 1205, "line_count...
package com.zking.ssm.util; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import java.io.IOException; import java.util.Iterator; import java.util.Map; public class ThreeIdentity { public static Object get(String appCode, String url, Map<String, String> params) throws IOException {...
0353e8c6-afcc-4a99-84c2-55b3e15516da
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 17:32:50", "repo_name": "quangIT210199/CuoiKiLTM", "sub_path": "/GiaiDeLTM/src/Q701/Cau4_Server.java", "file_name": "Cau4_Server.java", "file_ext": "java", "file_size_in_byte": 1195, "line_count": 42, "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 tcp; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.ServerSocket; import...
d0649752-154b-423f-ac09-8c2039fa3e02
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-09 08:24:57", "repo_name": "javabypatel/guice-grizzly-jersey-openapi-swagger-example", "sub_path": "/src/main/java/com/javabypatel/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 1...
package com.javabypatel; import com.google.inject.Guice; import com.google.inject.Injector; import com.javabypatel.config.JerseyConfig; import org.glassfish.grizzly.http.server.HttpServer; import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; import java.io.IOException; import java.net.URI; publi...
363cd8ed-b1f7-4b83-9205-ce0cb05305b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-17T07:27:19", "repo_name": "brainhublab/agrobot-firmware", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1218, "line_count": 34, "lang": "en", "doc_type": "text...
<div align="center"> <a> <img align="center" src="./docs/pics/logo.png"> </a> </div> <div align="center"> <h1>AGROBOT FIRMWARE</h1></div> <div align="left"> <p>This repository contains a development snapshot of the firmware for AGROBOT project. The Firmware is Arduino IDE and Platformio compatible. The har...
0874091c-908d-4330-9c69-14903ee70efb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-30 15:00:57", "repo_name": "Cheung12/nettyShengsiyuan", "sub_path": "/src/main/java/com/nettydemo/Demo4_readandwrite/MyHeartBeatsHandler.java", "file_name": "MyHeartBeatsHandler.java", "file_ext": "java", "fil...
package com.nettydemo.Demo4_readandwrite; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.handler.timeout.IdleStateEvent; import io.netty.handler.timeout.IdleStateHandler; /** * @ClassName MyHeartBeatsHandler * @Description * @Author zhangzhang ...
0fb12710-f894-49be-8b4f-a38852b89cb5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-17 09:04:58", "repo_name": "jlsalmon/spring-validation", "sub_path": "/src/main/java/com/example/demo/config/web/WebConfiguration.java", "file_name": "WebConfiguration.java", "file_ext": "java", "file_size_in_...
package com.example.demo.config.web; import com.example.demo.config.validation.CompositeValidator; import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.web.ErrorAttributes; import org.springframework.context.annotation.Bean;...
fdc2dbde-672a-4486-b708-840242d03b53
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-02 14:29:29", "repo_name": "pingvi28/java-2", "sub_path": "/Decorator/src/ProductObjectOutSt.java", "file_name": "ProductObjectOutSt.java", "file_ext": "java", "file_size_in_byte": 1194, "line_count": 48, "lan...
import java.io.IOException; import java.io.ObjectOutputStream; import java.io.OutputStream; import java.util.Objects; public class ProductObjectOutSt extends OutputStream { private ObjectOutputStream out; public ProductObjectOutSt(OutputStream out) throws IOException { this.out = new ObjectOutputStre...
08245d29-fa64-4ee3-bf28-2ec5c53ab18f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 10:17:04", "repo_name": "sashikab85/monitoring-system", "sub_path": "/src/main/java/com/matific/model/LoginResponse.java", "file_name": "LoginResponse.java", "file_ext": "java", "file_size_in_byte": 1194, "...
package com.matific.model; /** * The type Login response. */ public class LoginResponse { private String message; private String jwt; /** * Instantiates a new Login response. * * @param jwt the jwt * @param message the message */ public LoginResponse(String jwt, String ...
ba497861-d8c7-4462-8abb-a1e7026cea14
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-05-31 05:54:39", "repo_name": "ciusy/my-stock-jcf", "sub_path": "/ my-stock-jcf/leohis/src/leo/entity/EugenicsModule.java", "file_name": "EugenicsModule.java", "file_ext": "java", "file_size_in_byte": 1193, "line...
package leo.entity; /** * EugenicsModule entity. @author MyEclipse Persistence Tools */ public class EugenicsModule implements java.io.Serializable { // Fields private Long moduleId; private String remarks; private String title; private String content; // Constructors /** default constructor */ public E...
933bc0ef-c6ff-4b85-b5cb-759d1abb136c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-31 08:19:31", "repo_name": "liuershi/cloud2020", "sub_path": "/cloud-provider-hystrix-payment8001/src/main/java/cn/infocore/springcloud/controller/PaymentController.java", "file_name": "PaymentController.java"...
package cn.infocore.springcloud.controller; import cn.infocore.springcloud.service.PaymentService; import cn.infocore.springcloud.service.serviceImpl.PaymentServiceImpl; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.we...
032de950-aa17-45dc-bcaf-01bfb1b8bad1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-10T00:37:38", "repo_name": "windy1/TunaChat", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1194, "line_count": 27, "lang": "en", "doc_type": "text", "blob_id":...
TunaChat ======== Programming assignment #1 for Prof. Christian Skalka. Included are both client and (partial) server implementations of the UVMPM protocol. I've included both in my submission because there is some overlap in files they use, but only the client should be considered "complete". After the provided ser...
5f39ab14-98fc-48ac-8d52-bdf4d4d4042d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-22 17:12:37", "repo_name": "kevinliao123/workout-partner", "sub_path": "/app/src/main/java/com/fruitguy/workoutpartner/chat/ChatMessageViewHolder.java", "file_name": "ChatMessageViewHolder.java", "file_ext": "...
package com.fruitguy.workoutpartner.chat; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.fruitguy.workoutpartner.R; import com.fruitguy.workoutpartner.util.ImageUtils; import butterkn...
ba89f9e9-ad37-4f8b-aae6-72d392ec5096
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-27 03:47:33", "repo_name": "winelx/Mark", "sub_path": "/3DMark/app/src/main/java/com/example/administrator/a3dmark/child_pakage/User_agreement.java", "file_name": "User_agreement.java", "file_ext": "java", "fi...
package com.example.administrator.a3dmark.child_pakage; import android.app.Activity; import android.os.Bundle; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; import com.example.administrator.a3dmark.R; import butterknife.BindView; import butterknife.ButterKnife; impo...
24dcf45b-e574-4a77-a06b-74ac0ba159c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-04 00:20:37", "repo_name": "litterGuy/control", "sub_path": "/src/main/java/com/xinshang/control/utils/DateUtils.java", "file_name": "DateUtils.java", "file_ext": "java", "file_size_in_byte": 1256, "line_count...
package com.xinshang.control.utils; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class DateUtils { /** * 获取每天的开始时间 00:00:00:00 * * @param date * @return */ public static Date getStartTime(Date date) { Calendar dateStart = Calendar...
0ac34df8-11da-4b9e-b5a2-f0c6569e5fe8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-29 18:51:45", "repo_name": "ALLISWELL-REPO/Welcome", "sub_path": "/SreenuTech-RTP35-Material-Details/SreenuTech-RTP35-Material-Details/EXAMPLES/REST/JSONPOCS/src/main/java/com/sreenutech/beans/Account.java", "...
package com.sreenutech.beans; import com.fasterxml.jackson.annotation.JsonIgnoreType; //@JsonIgnoreType public class Account { private int cardNumber; private int cvvNumber; private String typeOfBank; private String nameOnCard; public int getCardNumber() { return cardNumber; } public void setCardNumber(in...
cef52125-e89f-4ed1-b671-2a6ba1c56acb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-01 10:31:16", "repo_name": "wangxu-96/algorithm_leisure", "sub_path": "/src/main/java/com/at/wangxu/Blog/DeadLockDemo.java", "file_name": "DeadLockDemo.java", "file_ext": "java", "file_size_in_byte": 1194, "li...
package com.at.wangxu.Blog; public class DeadLockDemo { private static String resource_a="A"; private static String resource_b="B"; public static void main(String[] args){ deadLock(); } private static void deadLock() { Thread thread1=new Thread(()->{ synchronized (resou...
3be1e659-81c0-45f6-b878-3bfd14a1a3a6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-24 01:21:22", "repo_name": "wellbeing2014/hopper", "sub_path": "/hopper/src/main/java/org/zxp/funk/hopper/utils/WebUtil.java", "file_name": "WebUtil.java", "file_ext": "java", "file_size_in_byte": 1237, "line_...
package org.zxp.funk.hopper.utils; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.google.common.base.Strings; /** * @ClassName: WebUtil * @Description: request帮助类,在controller中装配,可以使...
99859634-c21a-4a4e-9b95-7425b93027d7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-02 02:41:05", "repo_name": "jinxindong1990/learn-netty", "sub_path": "/learn-server/src/main/java/com/java/learn/test1/TestHttpServerHandler.java", "file_name": "TestHttpServerHandler.java", "file_ext": "java"...
package com.java.learn.test1; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import io.netty.handler.codec.http.*; import io.netty.util.CharsetUtil; /** * @author Karl Jin * @create 2019-05-31 21:18...
3e2be1dc-ac4d-4074-b0ce-25791b0a4b34
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-26 14:35:34", "repo_name": "Allan-Contaret/Restory", "sub_path": "/app/src/main/java/com/example/allancontaret/restory/FavoritesActivity.java", "file_name": "FavoritesActivity.java", "file_ext": "java", "file_...
package com.example.allancontaret.restory; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.ArrayAdapter; import android.widget.ListView; import java.util.ArrayList; import java.util.List; import java.util.Map; public class Fav...
acac1f8b-8303-4267-b64c-9fae72003134
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 18:41:12", "repo_name": "Ferdows-dev/UserRegistrationFireBase", "sub_path": "/app/src/main/java/com/learning/userregistration/ProductAdapter.java", "file_name": "ProductAdapter.java", "file_ext": "java", "f...
package com.learning.userregistration; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ListView; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.an...
a9e89d2f-5286-4b82-9982-64a04456e3c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-23T17:03:39", "repo_name": "mattjuffs/WebApi", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1194, "line_count": 22, "lang": "en", "doc_type": "text", "blob_id"...
# WebApi .NET WebApi Demo demonstrating a simple .NET Core API to take data from a CSV, validate it and insert it into a SQL Database. ## /Data/ This is the Data Access Layer, using a .NET Core Library with Entity Framework. The database I used for testing is hosted in Azure. ## /SQL/ This contains the SQL scripts us...
f8bfe0e4-fbbd-46f9-9f30-fa08abb0cbf7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-13T12:45:31", "repo_name": "onap/integration", "sub_path": "/test/mocks/datafilecollector-testharness/ftpes-sftp-server/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1194, "l...
# Deployment of certificates: (in case of update) This folder is prepared with a set of keys matching DfC for test purposes. Copy from datafile-app-server/config/keys to the ./tls/ the following files: - dfc.crt - ftp.crt - ftp.key # Docker preparations Source: <https://docs.docker.com/install/linux/linux-postinst...
d5c0df2f-7fa1-4fc0-ab4b-64c4c5742e44
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 08:48:28", "repo_name": "xinlingjushi/learnRecords", "sub_path": "/src/main/java/com/example/demo/com/WebC.java", "file_name": "WebC.java", "file_ext": "java", "file_size_in_byte": 1234, "line_count": 43, "...
package com.example.demo.com; import jdk.internal.instrumentation.TypeMapping; import org.springframework.stereotype.Controller; import javax.servlet.http.HttpServletRequest; import java.io.DataInputStream; import java.io.IOException; import java.io.InputStream; @Controller public class WebC { public String bo...
2bd682ed-b3f1-41f8-b110-24b6e33ab4db
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-19 19:23:16", "repo_name": "gtuugii/TrailerRental", "sub_path": "/TrailerRentalServer/src/main/java/mum/edu/swe/trailerrentalserver/controller/AuthenticationController.java", "file_name": "AuthenticationContro...
package mum.edu.swe.trailerrentalserver.controller; import mum.edu.swe.trailerrentalserver.domain.Login; import mum.edu.swe.trailerrentalserver.service.AuthenticationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @RestC...
f9bdd9a0-5d2e-45ea-8bf5-0ab4721da7b2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-22 07:32:11", "repo_name": "sunhpjc/elasticsearch", "sub_path": "/src/main/java/com/sunhp/elasticsearch/guava/controller/CourseController.java", "file_name": "CourseController.java", "file_ext": "java", "file_...
package com.sunhp.elasticsearch.guava.controller; import com.sunhp.elasticsearch.guava.entity.Course; import com.sunhp.elasticsearch.guava.service.CourseService; import com.sunhp.elasticsearch.guava.utils.GuavaCacheUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annot...
e43cfc38-2ab8-49d4-a570-aa60e54ca0e4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-07T00:39:03", "repo_name": "mbejda/pro-service-bootstrap-theme", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1196, "line_count": 66, "lang": "en", "doc_type":...
![Pro Service Bootstrap Theme](_meta/logo.svg) # :computer: Getting Started Built with Bootstrap `4.3.1`. **Theme depends on the following tools** - Node.js > `v10.x.x` - NPM > `v6.x.x` - Webpack > `4.x.x` **Theme depends on the following plugins** - animate.css `v3.7.2` - hover.css `v2.3.2` - countup.js `v2.0...
4efceee4-faf0-4872-ab8a-fe09731d4990
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 04:41:03", "repo_name": "parkjg20/DeliveryTalk", "sub_path": "/app/src/main/java/com/dataflow/deliverytalk/Models/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 1194, "li...
package com.dataflow.deliverytalk.Models; import android.os.Parcel; import android.os.Parcelable; public class Person implements Parcelable { String name; String time; public Person(){} public Person(String name, String time) { this.name = name; this.time = time; } protect...
6eaca49b-3916-4687-991e-b84e7fa8d4c1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-17 12:32:49", "repo_name": "AnetaK/hotel-management-system", "sub_path": "/src/main/java/pl/excercise/model/Address.java", "file_name": "Address.java", "file_ext": "java", "file_size_in_byte": 1194, "line_coun...
package pl.excercise.model; import javax.persistence.Embeddable; @Embeddable public class Address { private String street; private String zipCode; private String city; public String getStreet() { return street; } public String getZipCode() { return zipCode; } public ...
1e3e7d52-2750-4430-a0d2-596022fa98a2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-19T13:57:33", "repo_name": "Victoria-FZ-eng/Reading-Notes", "sub_path": "/code401/class-32.md", "file_name": "class-32.md", "file_ext": "md", "file_size_in_byte": 1193, "line_count": 27, "lang": "en", "doc...
# Serverless and Amplify * To build scalable full stack applications, powered by AWS. * Amplify supports popular web frameworks including JavaScript, React, Angular, Vue, Next.js, and mobile platforms including Android, iOS, React Native, Ionic, Flutter. Get to market faster with AWS Amplify. * benifits: 1. Conf...
a570447a-93d5-4bcb-bd6e-da8d42bdd834
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-21 22:42:34", "repo_name": "madail/Restaurant_IS-1", "sub_path": "/src/main/java/restaurant/entity/personal/Invoice.java", "file_name": "Invoice.java", "file_ext": "java", "file_size_in_byte": 1194, "line_coun...
package restaurant.entity.personal; import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.io.UnsupportedEncodingException; import java.util.Date; public class Invoice { private Date invoiceDate; //private Waiter waiter; private Double total; private String...
8270ab4b-4bd6-4332-97ad-91da9f2a308b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-23 18:38:31", "repo_name": "TheJotob/ELUChat", "sub_path": "/eluchatserver/src/main/java/de/motius/eluchatserver/BluetoothScanCallback.java", "file_name": "BluetoothScanCallback.java", "file_ext": "java", "fil...
package de.motius.eluchatserver; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.le.ScanCallback; import android.bluetooth.le.ScanResult; import android.content.Context; import android.util.Log; import java.util.List; public class BluetoothScanCallback extends ScanCallback { private stat...
c54d61f4-7c96-40a3-b392-07af613ed532
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-07 06:50:49", "repo_name": "liuqinfu/springcloud", "sub_path": "/springcloud-lcn/springcloud-lcn-stock/src/main/java/com/study/springcloudlcnstock/controller/StockController.java", "file_name": "StockControlle...
package com.study.springcloudlcnstock.controller; import com.study.springcloudlcnstock.entity.Stock; import com.study.springcloudlcnstock.service.StockService; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.an...
b421eb8d-bffd-4d82-8be8-34ef2f8b64ab
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-01 00:49:22", "repo_name": "albertoruvel/pull-up", "sub_path": "/src/main/java/com/pullup/app/resource/EnterpriseResource.java", "file_name": "EnterpriseResource.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 com.pullup.app.resource; import com.pullup.app.delegate.EnterpriseDelegate; import com.pullup.app.dto.request.CreateEnterprise...
8a29fcf2-59ac-46a2-a439-bf22f82d4f0a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-27 03:42:39", "repo_name": "mszok/android-easycomm", "sub_path": "/src/main/java/android/firefly/coltfashion/cc/netcomm/socketcomm/example/event/SessionEventCollection.java", "file_name": "SessionEventCollecti...
package android.firefly.coltfashion.cc.netcomm.socketcomm.example.event; import android.firefly.coltfashion.cc.netcomm.socketcomm.tcp.IPacketEvent; public class SessionEventCollection { // private HashMap<Long, IPacketEvent> mSessionEventMap = new HashMap<Long, // IPacketEvent>(); static private Session...
56c7d310-9dd8-4711-b945-8a2084e5d110
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-08 09:51:24", "repo_name": "thevlad/spring-boot-rss-aggregator", "sub_path": "/src/main/java/org/thevlad/rss/subscr/Subscription.java", "file_name": "Subscription.java", "file_ext": "java", "file_size_in_byte"...
package org.thevlad.rss.subscr; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import org.thevlad.rss.feed.Feed; @Document(collection = "subscriptions") public class Subscription { @Id private...
d942ba52-b160-46a6-8cb1-8e470212e3a8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-27T10:00:35", "repo_name": "prplz/MemoryFix", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1193, "line_count": 19, "lang": "en", "doc_type": "text", "blob_id":...
MemoryFix is a mod for Forge 1.8.9 that aims to fix known memory issues. Which issues does it fix? ------ - **Optifine cape leak**: This is the main memory leak, anyone who has played minigames for a few hours would have experienced it. More information: https://github.com/sp614x/optifine/issues/526. - **Oversized res...
2e0c7c0f-df7c-4cf1-9b28-77ab4b02c017
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-10 13:25:13", "repo_name": "zhilonglee/config-repo", "sub_path": "/microservice-zhilong-consumer-movie-fegin-customizing/src/main/java/com/ncs/zhilongcloud/controller/MovieController.java", "file_name": "Movie...
package com.ncs.zhilongcloud.controller; import java.math.BigDecimal; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RestController; i...
bf1993e2-38dc-4405-800a-b2ddeb1e4e17
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-12 06:25:36", "repo_name": "neuralnet-designer/Page101-Counter", "sub_path": "/CafeCounter_/app/src/main/java/com/turesw/oms/cafecounter/dto/QnAInfo.java", "file_name": "QnAInfo.java", "file_ext": "java", "fil...
package com.turesw.oms.cafecounter.dto; public class QnAInfo { String qnaTitle; String qnaContent; String qnaStart; String qnaEnd; int state; public QnAInfo() { } public QnAInfo(String _qnaTitle, String _qnaContent, String _qnaStart, String _qnaEnd, int _state) { this.q...
0a26a2b7-bf77-41c6-9314-40ae65f19485
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-25 09:01:27", "repo_name": "AidenPage/backend", "sub_path": "/src/main/java/com/computerstore/backend/services/components/Impl/StorageDeviceServiceImpl.java", "file_name": "StorageDeviceServiceImpl.java", "fil...
package com.computerstore.backend.services.components.Impl; import com.computerstore.backend.domain.components.StorageDevice; import com.computerstore.backend.repositories.components.StorageDeviceRepository; import com.computerstore.backend.services.components.StorageDeviceService; import org.springframework.beans.fac...
f8c23dd1-70d6-4cad-a329-156d923f9418
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-03-10 22:30:28", "repo_name": "Lowerland/yamba", "sub_path": "/src/com/example/yamba/StatusData.java", "file_name": "StatusData.java", "file_ext": "java", "file_size_in_byte": 1193, "line_count": 42, "lang": "en"...
package com.example.yamba; import winterwell.jtwitter.Twitter.Status; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.provider.BaseColumns; public class StatusData { static final String TAG = "StatusData"; public static final String DB_NAME = "tim...
4d06f43f-2ee5-4a1f-a6f0-27d1b893f9c0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-02 14:04:32", "repo_name": "Simerron/bot_discord", "sub_path": "/commands/SayCommand.java", "file_name": "SayCommand.java", "file_ext": "java", "file_size_in_byte": 1194, "line_count": 43, "lang": "en", "doc_t...
package Test.bot.commands; import Test.bot.Command; import Test.bot.MainBot; import Test.bot.utils.SendMessage; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; /** * Created by Simerron on 25/01/2017. */ public class SayCommand implements Command { private final String HELP = ".say [...
989e70ea-dad0-4522-b9d5-11d00aec8fd5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-09-10 22:57:22", "repo_name": "Nerogar/NoiseEngine", "sub_path": "/src/main/java/de/nerogar/noise/file/FileResourceDescriptor.java", "file_name": "FileResourceDescriptor.java", "file_ext": "java", "file_size_in_b...
package de.nerogar.noise.file; import de.nerogar.noise.Noise; import de.nerogar.noise.util.Logger; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; public class FileResourceDescriptor implements ResourceDescriptor { private String filename; pri...
b7800b37-0c36-4285-81f5-ee36ea22f574
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-30 12:29:47", "repo_name": "gtu001/gtu-test-code", "sub_path": "/GtuSpringBoot/src/main/java/com/gtu/example/common/SecurityConfig.java", "file_name": "SecurityConfig.java", "file_ext": "java", "file_size_in_b...
package com.gtu.example.common; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebS...
148542d2-743f-4580-bd9e-71f0c03cc768
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-17 11:35:49", "repo_name": "celine23/Humeur", "sub_path": "/SQLite.java", "file_name": "SQLite.java", "file_ext": "java", "file_size_in_byte": 1194, "line_count": 39, "lang": "en", "doc_type": "code", "blob_id...
package com.lin.celine.moodtracker.controller; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; /** * Created by celine on 30/03/2018. */ public class SQLite extends SQLiteOpenHelper { private static final String mood_k...
d77e00f6-aba5-457b-aa90-e30d86eca1c5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-12 10:17:27", "repo_name": "HaiFengZhiNeng/BankApp", "sub_path": "/app/src/main/java/com/example/bankapp/moneyService/MoneyServicePresenter.java", "file_name": "MoneyServicePresenter.java", "file_ext": "java",...
package com.example.bankapp.moneyService; import android.os.Bundle; import com.example.bankapp.base.presenter.BasePresenter; /** * Created by dell on 2017/12/11. */ public class MoneyServicePresenter extends BasePresenter<IMoneyServiceView> { private boolean isIntroduce = true; private boolean isIntroduc...
93a32a4e-dcb7-4d95-900d-96f3616410e5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 01:46:18", "repo_name": "hzr958/myProjects", "sub_path": "/scmv6/web-v8pub/src/main/java/com/smate/web/v8pub/service/fileimport/FileImportServiceImpl.java", "file_name": "FileImportServiceImpl.java", "file_...
package com.smate.web.v8pub.service.fileimport; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.multipart.MultipartFile; import com.smate.web.v8pub.service.fileimport.extract.FileExtractService; import com.smat...
559ceb33-7f7c-4fa0-98d7-d02aa894b31a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-27T09:07:26", "repo_name": "foramjimuliak/mean-stack-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1193, "line_count": 26, "lang": "en", "doc_type": "text...
# Modern Web Application using MEAN stack This is a user search application for the MEAN stack ([MongoDB](https://www.mongodb.org/), [Express](http://expressjs.com/), [AngularJS](https://angularjs.org/) and [Node.js](https://nodejs.org)) #### Features - MVC project structure - User list and user search - Authenticati...
2b7c7698-ba67-4c94-a541-852f93fa437e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-15 19:57:10", "repo_name": "priyanshagarwal18/Miriad", "sub_path": "/app/src/main/java/com/priyanshagarwal/miriad/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1193, "line_coun...
package com.priyanshagarwal.miriad; import java.io.Serializable; import java.util.List; public class User implements Serializable { private String firstName,lastName; public void setBest(List<String> best) { this.best = best; } private List<String> best; private String username,password;...
c2f029e8-c6ab-45da-9e37-d2c17744268d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-22 19:33:54", "repo_name": "antonialoytorrens/pa-amb-oli", "sub_path": "/packages/Pamboliada_webapp_1.1-Android4.0+/app/src/main/java/com/pamboliada_webapp/MainActivity.java", "file_name": "MainActivity.java",...
package com.pamboliada_webapp; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.view.View; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.Button; public class MainActivity extends Activity { ...
b2f309e8-0135-4206-85d1-80d0ad8edb81
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 19:52:33", "repo_name": "LubaEremenko/oop-reboot-homework1", "sub_path": "/src/com/company/TestDriver.java", "file_name": "TestDriver.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count": 47, ...
package com.company; public class TestDriver { public static void run(){ testApple(); testBag(); testBoard(); testBook(); testPencil(); } private static void testApple(){ Apple a = new Apple("Granny Smith"); System.out.println("Apple variety is " + a...
e3b0e6e6-c0c9-48d3-8bd3-8b28059428be
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-22 04:01:45", "repo_name": "snapthecode/boot1", "sub_path": "/src/main/java/dev40/querydsl/QuerydslApplication.java", "file_name": "QuerydslApplication.java", "file_ext": "java", "file_size_in_byte": 1192, "li...
package dev40.querydsl; import lombok.extern.slf4j.Slf4j; import org.h2.tools.Server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import java.io.File; import java.sql.SQ...
4d7934a4-35c3-4286-bc5b-ceeb6b55beb5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-10 06:35:18", "repo_name": "liangzhouci/S-Java", "sub_path": "/Net/TCP/Chat.java", "file_name": "Chat.java", "file_ext": "java", "file_size_in_byte": 1251, "line_count": 46, "lang": "en", "doc_type": "code", "...
package Net.TCP; import java.io.*; import java.net.ServerSocket; import java.net.Socket; /** * 单人收发消息 * @author: CTH **/ public class Chat { public static void main(String[] args) { try { //创建服务端 ServerSocket server = new ServerSocket(9999); //阻塞等待接收 ...
eede2af7-20fc-49be-8e10-139bb47ba46e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-01 11:41:00", "repo_name": "SharanyaMenon/prms", "sub_path": "/src/java/sg/edu/nus/iss/phoenix/scheduleprogram/restful/ProgramSlots.java", "file_name": "ProgramSlots.java", "file_ext": "java", "file_size_in_by...
/* * 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 sg.edu.nus.iss.phoenix.scheduleprogram.restful; import java.util.ArrayList; import java.util.Objects; import sg.edu.n...
088b8587-9de7-47c9-a012-9d4e040d2392
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-05 02:55:14", "repo_name": "TatsukiIshijima/PassGenerator_2", "sub_path": "/SampleApplication1/app/src/main/java/com/example/ti/sampleapplication1/tools/CategoryListItem.java", "file_name": "CategoryListItem.j...
package com.example.ti.sampleapplication1.tools; import com.example.ti.sampleapplication1.R; import java.util.ArrayList; import java.util.List; /** * Created by TI on 2016/01/17. */ public class CategoryListItem { private int mImageId; private String mTitle; public int getmImageId() { return m...
9879f6a0-d1da-4a07-854b-510ba5c0102b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-27 23:07:12", "repo_name": "jvanz/redditapp", "sub_path": "/app/src/main/java/com/vanzstuff/readdit/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 1191, "line_count": 42, "lan...
package com.vanzstuff.readdit; public class Utils { private static final String URL_IMAGE = "^.+[jpg|jpeg|png|gif]$"; /** * Check if String s is not null or empty * @param s * @return true if string s is not null or empty. Otherwise, false */ public static final boolean stringNotNullO...
3c259e0d-77cd-4d01-bb05-eb391265f13d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-01 15:28:22", "repo_name": "hanks7/InventoryHou", "sub_path": "/app/src/main/java/com/easyway/mismclient/base/BaseConstants.java", "file_name": "BaseConstants.java", "file_ext": "java", "file_size_in_byte": 13...
package com.easyway.mismclient.base; import com.easyway.mismclient.model.IPPortBean; import com.easyway.mismclient.utils.Ugson; import com.easyway.mismclient.utils.Ulog; import com.easyway.mismclient.utils.Usp; /** * Created by admin on 2018/4/8. */ public class BaseConstants { /** * 是否测试 1-测试 0-上线 并不是在这里...
a6e580cd-2eab-4e55-a327-d86a123df49e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-23 08:14:41", "repo_name": "ilee9999/enhanced-match-ticker-api", "sub_path": "/enhanced-match-ticker-api-common/src/main/java/com/hkesports/matchticker/vo/getprivacypolicy/GetprivacypolicyVo.java", "file_name"...
package com.hkesports.matchticker.vo.getprivacypolicy; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.hkesports.matchticker.vo.BasicVo; /** * @author manboyu * */ public class GetprivacypolicyVo extends BasicVo { private static final lo...
6684ff23-840e-4f4b-905f-54310b25357f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-12-01T18:23:47", "repo_name": "dreck410/ARMSimulator", "sub_path": "/docs/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1193, "line_count": 35, "lang": "en", "doc_type": "text",...
GDBStub ======= The finished product of a project at Bob Jones University. A complete userguide is located in sim2Report Division of labor: during the GDB stub phase An implemention of a gbd server for CpS 310 at BJU Requirements · Initial connect/handshake [C-level] -- Benjamin (FINISHED) · Impl...
286a93cb-6894-4627-8ec8-c8c3456525bd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-06-15T12:59:47", "repo_name": "pytorch/elastic", "sub_path": "/.github/ISSUE_TEMPLATE/bug-report.md", "file_name": "bug-report.md", "file_ext": "md", "file_size_in_byte": 1195, "line_count": 57, "lang": "en",...
--- name: "\U0001F41B Bug Report" about: Submit a bug report to help us improve PyTorch Elastic --- ## 🐛 Bug <!-- A clear and concise description of what the bug is. --> Component (check all that applies): * [ ] `state api` * [ ] `train_step api` * [ ] `train_loop` * [ ] `rendezvous` * [ ] `checkpoint` * [ ]...
6d8b077b-dc80-4057-b079-b6ee9a7b47a8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-03 16:29:39", "repo_name": "techtickaran/semantic3-API", "sub_path": "/app/src/main/java/com/app/semantics3api/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count":...
package com.app.semantics3api; public class Item { private int eventId; private int id; private int profileId; private String name; private double cost; private String store; private String encodedImage; private boolean purchased; public Item() { } public Item(String na...
b37855c1-0bad-497d-bd65-67c2806372c7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-15 16:05:29", "repo_name": "SeifMostafa/SoftwareEngineeringProject", "sub_path": "/app/src/main/java/Users/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1192, "line_count": 67,...
package Users; import com.parse.ParseClassName; import com.parse.ParseObject; import com.parse.SignUpCallback; import java.util.ArrayList; import Notifications.Notification; import Posts.Post; @ParseClassName("User") public class User extends ParseObject { String username; String Email; String password; public ...
28201473-022f-4926-abf6-41b12902d887
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-22 13:52:44", "repo_name": "minwan1/Spring-social-facebook", "sub_path": "/src/main/java/com/javacents/socialsignin/socialutils/PostSocialSignInAdapter.java", "file_name": "PostSocialSignInAdapter.java", "file...
package com.javacents.socialsignin.socialutils; import javax.inject.Inject; import javax.servlet.http.HttpServletRequest; import org.springframework.social.connect.Connection; import org.springframework.social.connect.UserProfile; import org.springframework.social.connect.web.SignInAdapter; import org.springframewor...
4dcce9a8-17b0-4ba7-9b16-446b1731ed69
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 15:32:39", "repo_name": "znhaha8/coffee-house-system", "sub_path": "/coffee-house-common/src/main/java/com/wyz/coffee/http/bean/dto/Response.java", "file_name": "Response.java", "file_ext": "java", "file_si...
package com.wyz.coffee.http.bean.dto; import com.wyz.coffee.http.exception.ResponseException; public class Response<T> { private String code; private String msg; private T data; public Response<T> check() { if (!"100".equals(this.code)) { throw new ResponseException(this); ...
ff4a0636-4487-4c39-a1ed-33fca06c9903
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-22T16:19:58", "repo_name": "kevinportella/dashgo.", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1198, "line_count": 54, "lang": "en", "doc_type": "text", "blo...
# dashgo. <h1 align="center"> <img src='./dashgo_dashboard.jpg'> </h1> <h1 align="center"> <img src='./dashgo_users.jpg'> </h1> <h1 align="center"> <img src='./dashgo_create_user.jpg'> </h1> ## About: In this project, an administrative panel interface was created, containing authentication flow, dashb...
9aac81c1-3474-497f-8121-abaec9c8371a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 08:32:46", "repo_name": "zfeng111/spring-boot-samples", "sub_path": "/spring-boot-task-quartz/src/main/java/cn/iflyapi/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1200, "l...
package cn.iflyapi; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Author: qfwang * Date: 2017-12-15 下午1:44 */ public class Test { public static void main(String args[]){ Pattern pattern =Pattern.compile("<img src=\"(.+?)\""); ...
8813f118-52f1-4243-afc7-83857cf05e89
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-26T03:36:39", "repo_name": "Vindexus/testlists", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1191, "line_count": 41, "lang": "en", "doc_type": "text", "blob_i...
# Testlists This is a tool to generate HTML checklists for testing your code from markdown files created in your project. Each `testlist.md` file you create in your project will have its own HTML page created. You can check off the items there. They are saved with localStorage in your browser. ## Installation `npm in...
7a7347eb-fa05-4357-a792-54ca8d36a415
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 07:48:58", "repo_name": "lukehuang/cloud-gateway", "sub_path": "/gateway-netty/src/main/java/org/cloud/gateway/message/Header.java", "file_name": "Header.java", "file_ext": "java", "file_size_in_byte": 1193...
package org.cloud.gateway.message; public class Header implements Cloneable { private final HeaderName name; private final String value; public Header(HeaderName name, String value) { if (name == null) throw new NullPointerException("Header name cannot be null!"); this.name = name; ...
37b89d38-acc9-4bb5-b4f4-a40c34c59b7c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-04 06:01:17", "repo_name": "S3xyGod/Assignment_Final_MOB201_PH12682", "sub_path": "/app/src/main/java/com/s3xygod/assignmentfinalmob201_ph12682/AddActivity.java", "file_name": "AddActivity.java", "file_ext": "...
package com.s3xygod.assignmentfinalmob201_ph12682; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.widget.Button; import android.widget.ListView; import com.s3xygod.database.AdapterKhoaCoSan; import com.s3xygod.database.KhoaHoc; import com.s3xy...
e1a2baee-9eca-4a2a-b8fa-c19f9ae6b171
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 13:14:39", "repo_name": "seerdaryilmazz/OOB", "sub_path": "/agreement-service/src/main/java/ekol/agreement/domain/enumaration/InsuranceType.java", "file_name": "InsuranceType.java", "file_ext": "java", "fil...
package ekol.agreement.domain.enumaration; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.JsonNode; import lombok.Getter; @JsonFormat(shape = JsonFormat.Shape.OBJECT) @Getter public enum InsuranceType { INDUSTRIAL_FIR...