id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
ffa2d537-3cc9-4069-9321-9e229e94120e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-08 10:44:37", "repo_name": "lixingcong/Grains-SVM-android", "sub_path": "/grains-svm/src/main/java/li/grains/ParseSharePref.java", "file_name": "ParseSharePref.java", "file_ext": "java", "file_size_in_byte": 9...
package li.grains; import android.content.Context; import android.content.SharedPreferences; /** * Created by li on 16-12-3. */ public class ParseSharePref { private Context context; private SharedPreferences sp = null; private SharedPreferences.Editor editor = null; public ParseSharePref(String sharePrefNam...
b24370f4-f8f7-447a-9cab-a6c5cde5ecb7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-27 17:10:13", "repo_name": "cytoscape/cyREST", "sub_path": "/src/main/java/org/cytoscape/rest/internal/commands/handlers/AbstractMessageHandler.java", "file_name": "AbstractMessageHandler.java", "file_ext": "j...
package org.cytoscape.rest.internal.commands.handlers; import java.util.ArrayList; import java.util.List; import org.cytoscape.rest.internal.commands.handlers.Message.Type; public abstract class AbstractMessageHandler implements MessageHandler { final List<Message> messages; public AbstractMessageHandler() { m...
5b2623f8-3b6e-4154-aa36-a2534096ae89
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-16 02:26:14", "repo_name": "elambda/socketTest", "sub_path": "/socketTest/src/main/java/jh/tools/office/WordConvertPDF.java", "file_name": "WordConvertPDF.java", "file_ext": "java", "file_size_in_byte": 954, "...
package jh.tools.office; import org.apache.poi.xwpf.converter.pdf.PdfConverter; import org.apache.poi.xwpf.converter.pdf.PdfOptions; import org.apache.poi.xwpf.usermodel.XWPFDocument; import java.io.*; public class WordConvertPDF { public static void main(String[] args) { WordConvertPDF cwoWord = new Wor...
1ca401f4-7d37-43dd-b05f-679a9921877f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-31T10:04:42", "repo_name": "amatelic/zendeskchat", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 954, "line_count": 68, "lang": "en", "doc_type": "text", "blob_...
# zendeskchat basis zendesk integration ## Install ```bash npm install zendeskChat npx cap sync ``` ## API <docgen-index> * [`echo(...)`](#echo) * [`initialize()`](#initialize) * [`open()`](#open) * [`setVisitorInfo()`](#setvisitorinfo) </docgen-index> <docgen-api> <!--Update the source file JSDoc comments and ...
5dadda61-33c7-427e-a6e4-b34615285e20
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-20 05:59:22", "repo_name": "DivyaGarg33112/Iris", "sub_path": "/SpringMVCDemo/src/main/java/com/springs/validators/NameValidator.java", "file_name": "NameValidator.java", "file_ext": "java", "file_size_in_byte...
package com.springs.validators; import org.springframework.stereotype.Component; import org.springframework.validation.Errors; import org.springframework.validation.ValidationUtils; import org.springframework.validation.Validator; import com.springs.models.Employee; @Component public class NameValidator im...
9edda959-b0f8-4d20-b9f1-68400482622e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-26T16:08:17", "repo_name": "chrisbroski/rest-examples", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 954, "line_count": 48, "lang": "en", "doc_type": "text", "...
# rest-examples Code examples for talk REST: What it is, what it isn't and how to use it. ## Hello World with Node.js and HTTP Node file: `01-hello-world.js` This is the simplest example of an HTTP server I could find. To connect to it from the terminal: telnet 127.0.0.1 4901 To send a basic request: GET ...
8bcc4460-f622-41f8-a582-f5cfd6856c7e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-22 18:51:32", "repo_name": "sainisahil1/formula1-dashboard", "sub_path": "/src/main/java/io/sahil/f1dashboard/DataProcessors/ConstructorsProcessor.java", "file_name": "ConstructorsProcessor.java", "file_ext": ...
package io.sahil.f1dashboard.DataProcessors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.batch.item.ItemProcessor; import io.sahil.f1dashboard.Model.Constructors; import io.sahil.f1dashboard.data.ConstructorsInput; public class ConstructorsProcessor implements ItemProcessor<Co...
6a9fbeb6-1355-4e50-8127-54b3599b8c97
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-09 23:50:37", "repo_name": "2272094523/musicServer", "sub_path": "/src/main/java/com/ahao/java/music/service/impl/ListSongServiceImpl.java", "file_name": "ListSongServiceImpl.java", "file_ext": "java", "file_s...
package com.ahao.java.music.service.impl; import com.ahao.java.music.dao.ListSongMapper; import com.ahao.java.music.pojo.Song; import com.ahao.java.music.service.IListSongService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Ser...
23a25cae-d86c-4f14-8843-1a8db805a053
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-19 13:12:40", "repo_name": "ekostadinov5/consultations-ddd", "sub_path": "/student-management/src/main/java/mk/ukim/finki/emt/consultations/studentmanagement/domain/model/StudentProfessor.java", "file_name": "...
package mk.ukim.finki.emt.consultations.studentmanagement.domain.model; import lombok.Getter; import mk.ukim.finki.emt.consultations.sharedkernel.domain.base.AbstractEntity; import mk.ukim.finki.emt.consultations.sharedkernel.domain.base.DomainObjectId; import mk.ukim.finki.emt.consultations.sharedkernel.domain.identi...
c081bdac-0004-494e-b1e1-d4fcf6d2bf9d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 11:09:24", "repo_name": "ERICCYS/CZ3003-RubberDuck-SolveChallenge", "sub_path": "/RubberDuckWebService/src/main/java/com/rubberduck/RubberDuckWebService/service/StudentServiceImpl.java", "file_name": "Stude...
package com.rubberduck.RubberDuckWebService.service; import com.rubberduck.RubberDuckWebService.model.Student; import com.rubberduck.RubberDuckWebService.repo.StudentRepo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service pub...
90d312a4-031d-49d4-8fc2-e13f0ce632e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-09 10:57:06", "repo_name": "lizsbrook/springBootTest", "sub_path": "/src/main/java/com/yuning/gao/domain/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 958, "line_count": 58, "l...
package com.yuning.gao.domain; import javax.persistence.Table; import javax.persistence.Transient; /** * Created with IntelliJ IDEA. * User: yf-wenhao * Date: 18/2/28 * Time: 下午8:12 */ @Table(name = "lite_sys_role") public class Role extends MetaEntity { public Role(){ super(0); } public Ro...
bf71d593-1b77-4296-80ba-59b6abb2e432
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-28 01:56:48", "repo_name": "fizzyman/FRC-Krawler-3.1.0-NoFirebase", "sub_path": "/app/src/main/java/com/team2052/frckrawler/fragments/dialog/BaseProgressDialog.java", "file_name": "BaseProgressDialog.java", "f...
package com.team2052.frckrawler.fragments.dialog; import android.app.Dialog; import android.app.ProgressDialog; import android.os.Bundle; import android.support.v4.app.DialogFragment; import com.team2052.frckrawler.database.DBManager; /** * @author Adam * @since 3/9/2015. */ public class BaseProgressDialog extend...
9c0bab99-2e1e-4313-b5f9-ce40eb0742ba
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-21 06:22:41", "repo_name": "hkust-smartcar/prepaid3211_android", "sub_path": "/app/src/main/java/dcheungaa/prepaid3211/Card/Memories/MemoryLong.java", "file_name": "MemoryLong.java", "file_ext": "java", "file_...
package dcheungaa.prepaid3211.Card.Memories; import java.nio.ByteBuffer; /** * Created by Daniel on 14/2/2018. */ public class MemoryLong extends Memory { public final boolean unsigned; private Long number; public MemoryLong(int page, int index, int byteLength, boolean unsigned) { super(page,...
c1ba5536-9f63-4390-8ede-9f495f495cf5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-15 08:30:10", "repo_name": "qianbw/spring-boot-learn", "sub_path": "/src/main/java/com/example/controller/Controller1.java", "file_name": "Controller1.java", "file_ext": "java", "file_size_in_byte": 960, "line...
package com.example.controller; import com.example.beanwrapper.Company; import com.example.paradigm.ParadigmTest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.se...
55959308-0ce6-4ce9-a04b-7b8fdbb3320a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-22 13:18:21", "repo_name": "jabels1121/Spring", "sub_path": "/springdemoaop/src/main/java/com/jaybe/aopdemo/demo/AroundDemoApp.java", "file_name": "AroundDemoApp.java", "file_ext": "java", "file_size_in_byte":...
package com.jaybe.aopdemo.demo; import com.jaybe.aopdemo.config.AppConfig; import com.jaybe.aopdemo.service.FortuneService; import org.springframework.context.annotation.AnnotationConfigApplicationContext; public class AroundDemoApp { public static void main(String[] args) { // read spring config from A...
bcd74556-3dee-4607-afbb-77bdfd4b2602
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-08 17:07:05", "repo_name": "gstraymond/hearthstone-card-search", "sub_path": "/src/fr/gstraymond/tools/DescriptionFormatter.java", "file_name": "DescriptionFormatter.java", "file_ext": "java", "file_size_in_by...
package fr.gstraymond.tools; import java.util.List; import android.text.Html; import android.text.Spanned; import fr.gstraymond.search.model.response.Card; public class DescriptionFormatter { public Spanned formatWithCapabilities(Card card) { String description = card.getDescription(); List<String> capabilitie...
79ee383a-3c16-4dbe-92d4-cbf66bdb9102
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-21 20:39:04", "repo_name": "RobinHellgren/Game-project", "sub_path": "/src/game/ApproachScene.java", "file_name": "ApproachScene.java", "file_ext": "java", "file_size_in_byte": 954, "line_count": 38, "lang": "...
package game; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import javax.swing.JButton; import tools.TextFileReader; //A subclass of scene for a specific scene public class ApproachScene extends Scene{ public ApproachScene(Player player) { super(player); /...
eaa7e863-71fd-456e-881c-85cc10f2eba8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-11T09:18:53", "repo_name": "calsaviour/flask-intro", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 954, "line_count": 37, "lang": "en", "doc_type": "text", "blo...
Steps to create heroku db Setup env var 0. heroku config:set APP_SETTINGS=config.ProductionConfig --remote heroku This will create the initial db 1. heroku addons:create heroku-postgresql:hobby-dev Attach the db to app Created postgresql-shaped-74192 as DATABASE_URL 2. heroku pg:promote postgresql-shaped-74192 run ...
10c865ce-f1f6-4ecb-a4ba-0b28bdebc641
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-01 04:00:19", "repo_name": "576204520/WanAndroid", "sub_path": "/module_main/src/main/java/com/xing/main/adapter/models/ModelsAdapter.java", "file_name": "ModelsAdapter.java", "file_ext": "java", "file_size_in...
package com.xing.main.adapter.models; import android.support.annotation.Nullable; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.chad.library.adapter.base.BaseQuickAdapter; import com.chad.library.adapter.base.BaseViewHolder; import com.xing.main.R; import com.xing.main.bean.xboot.Model;...
7f7c5c90-26ee-4f52-a256-fda4e7acadf5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-12 20:50:52", "repo_name": "arrmixer/BakingApp", "sub_path": "/app/src/main/java/com/ae/andriod/bakingapp/util/RecipeResponse.java", "file_name": "RecipeResponse.java", "file_ext": "java", "file_size_in_byte":...
package com.ae.andriod.bakingapp.util; import com.ae.andriod.bakingapp.model.Ingredient; import com.ae.andriod.bakingapp.model.Step; import com.google.gson.annotations.SerializedName; import java.util.List; public class RecipeResponse { @SerializedName("id") private int id; @SerializedName("name") ...
5e518333-3071-49a4-ae73-131bd23f4afc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2009-12-14 01:41:33", "repo_name": "mystal/spoofs", "sub_path": "/cs5204/fs/rpc/CMOperationRequest.java", "file_name": "CMOperationRequest.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 57, "lang":...
package cs5204.fs.rpc; import cs5204.fs.common.FileOperation; import java.io.Serializable; /** * Represents a Client-Master Request from client to master. */ public class CMOperationRequest implements Payload { private FileOperation m_operation; private String m_filename; private int m_id; pub...
1acf5072-9856-4a9a-bbd4-ff8f429534a4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-25 05:46:07", "repo_name": "zs2900/artistManager", "sub_path": "/artistmanager-common/src/main/java/com/lunzn/artistmanager/controller/resp/QueryDataDicResp.java", "file_name": "QueryDataDicResp.java", "file_e...
/* * 文 件 名: QueryProfessionResp.java * 版 权: Huawei Technologies Co., Ltd. Copyright YYYY-YYYY, All rights reserved * 描 述: <描述> * 修 改 人: ZhongYi * 修改时间: 2018年10月22日 * 跟踪单号: <跟踪单号> * 修改单号: <修改单号> * 修改内容: <修改内容> */ package com.lunzn.artistmanager.controller.resp; import java.util.List;...
50d6cdd6-c08e-43c3-a06f-1ecd9cf82538
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-16 09:44:13", "repo_name": "xgtxxxx/easywork", "sub_path": "/src/main/java/xgt/easy/sys/dao/impl/UserDaoImpl.java", "file_name": "UserDaoImpl.java", "file_ext": "java", "file_size_in_byte": 954, "line_count": ...
/** * */ package xgt.easy.sys.dao.impl; import java.util.List; import java.util.Map; import org.hibernate.Query; import org.springframework.stereotype.Repository; import xgt.easy.common.dao.BaseDao; import xgt.easy.sys.dao.UserDao; import xgt.easy.sys.model.ActiveMenu; import xgt.easy.sys.model.User; /** * @aut...
0b553d77-9d2b-455b-a2ef-ec88a71c49ac
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-22 10:54:55", "repo_name": "burhangok/DunyaMutfagiListView", "sub_path": "/Food.java", "file_name": "Food.java", "file_ext": "java", "file_size_in_byte": 955, "line_count": 49, "lang": "en", "doc_type": "code"...
package ismek.com.customlistview; import java.io.Serializable; public class Food implements Serializable { private String foodName; private String countryName; private int background; public int getBackground() { return background; } public void setBackground(int backg...
3d42836e-f001-42a7-badc-df23e8388ec8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-06 15:46:39", "repo_name": "skaliberda/mentoring_module_8_test_data_reading_from_different_sources", "sub_path": "/src/main/java/com/epam/mentoring/configuration/CredentialsConfiguration.java", "file_name": "C...
package com.epam.mentoring.configuration; import com.epam.mentoring.core.Utils; public class CredentialsConfiguration { private String login; private String password; private String userName; // you can get random row from this array public CredentialsConfiguration(String[][] credentialsData) { int index = ...
0968e6aa-1f6e-4c6f-9196-38728e02a778
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-29 17:14:03", "repo_name": "magdasobrino/SobrinoAlmanzar-COP3330-Assignment2.java", "sub_path": "/src/main/java/ex34/employee.java", "file_name": "employee.java", "file_ext": "java", "file_size_in_byte": 958, ...
package ex34; import java.util.ArrayList; public class employee { private ArrayList<String> list = new ArrayList<>(); public void create() { this.list.add("Michael Scott"); this.list.add("Dwight Schrute"); this.list.add("Jim Halpert"); this.list.add("Pam Beesly"); this...
6f44e722-8de7-442e-b08f-3b0674e677a3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-09 05:10:32", "repo_name": "1016280226/2-spring-boot-2.x-integration", "sub_path": "/spring-boot-amqp/src/main/java/org/springboot/example/amqp/body/resquest/CreateQueueRequestBody.java", "file_name": "CreateQ...
package org.springboot.example.amqp.body.resquest; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.validation.constraints.NotBlank; import java.util.Map; @Data @NoArgsConstructo...
ba003e8b-318a-4f6d-ada3-df1207550f29
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-12 07:58:36", "repo_name": "criscastemendo/Increment", "sub_path": "/app/src/main/java/com/criscastemendo/increment/Increment/IncrementRouter.java", "file_name": "IncrementRouter.java", "file_ext": "java", "fi...
package com.criscastemendo.increment.Increment; import android.content.Intent; import android.content.Context; import com.criscastemendo.increment.Mediator.AppMediator; public class IncrementRouter implements IncrementContract.Router { public static String TAG = IncrementRouter.class.getSimpleName(); privat...
338debe2-fc70-4aa2-9741-96e444b7776a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-20 18:07:51", "repo_name": "sdj38/CS-313", "sub_path": "/DiscussionBoard/DiscussionBoard/src/main/java/com/mycompany/discussionboard/Board.java", "file_name": "Board.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 com.mycompany.discussionboard; import java.util.Date; /** * * @author Stephen */ public class Board { String name; ...
7837fccb-19fb-44b5-9380-bfb6760a89c2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-18 22:14:09", "repo_name": "MalczewskiKarol/Karol-Malczewski-kodilla-java", "sub_path": "/kodilla-good-patterns/src/main/java/com/kodilla/good/patterns/challenges/FlightStream/Flights.java", "file_name": "Flig...
package com.kodilla.good.patterns.challenges.FlightStream; public final class Flights { private String flyFrom; private String flyTo; public Flights(String flyFrom, String flyTo) { this.flyFrom = flyFrom; this.flyTo = flyTo; } public String getFlyFrom() { return flyFrom; ...
688b92c3-7430-4b51-948c-b48c2f15338d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-14 12:25:32", "repo_name": "newrelic/nrjmx", "sub_path": "/src/main/java/org/newrelic/nrjmx/v2/StandardIOTransportServer.java", "file_name": "StandardIOTransportServer.java", "file_ext": "java", "file_size_in_...
/* * Copyright 2021 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ package org.newrelic.nrjmx.v2; import org.apache.thrift.transport.TIOStreamTransport; import org.apache.thrift.transport.TServerTransport; import org.apache.thrift.transport.TTransport; import org.apache.thrift...
1a6b6a51-647e-44e5-acb7-7809e4c5f47a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28T02:02:48", "repo_name": "mlq1542906484/dispatch", "sub_path": "/src/main/java/com/jiadun/dispatch/validator/VerifyField.java", "file_name": "VerifyField.java", "file_ext": "java", "file_size_in_byte": 1022,...
package com.jiadun.dispatch.validator; import com.fit.utils.se.StringUtil; import lombok.Getter; /** * @describe: 验证的字段对象 * @author: hcl * @date: 2019/4/11 18:01 */ @Getter public class VerifyField { /** * @describe: 字段英文名 * @author: hcl * @date: 2019/4/11 17:53 */ private String fie...
fb303dae-7efa-4ac6-bae5-beff67b14273
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-07 09:09:45", "repo_name": "yangwx1402/young-examples", "sub_path": "/log-coll-example/src/main/java/com/young/java/examples/bean/LogStorageBean.java", "file_name": "LogStorageBean.java", "file_ext": "java", "...
package com.young.java.examples.bean; import com.google.common.collect.Lists; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAsAttribute; import java.util.List; /** * Created by young.yang on 2016/11/12. */ @XStreamAlias("storage") public class LogStora...
351c87a5-c843-47c4-9454-1a53ca3c9c7c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-06 05:19:23", "repo_name": "mallikarjunvtalent/PaymentTermService", "sub_path": "/PaymentTermService/src/main/java/com/service/exception/DetailsErrorResponse.java", "file_name": "DetailsErrorResponse.java", "f...
package com.service.exception; import java.util.Date; public class DetailsErrorResponse { private int status; private String message; private Date timeStamp; private String details; public DetailsErrorResponse() { } public DetailsErrorResponse(int status, String message, Date timeStamp, String details) {...
4328e829-8cf7-4148-b889-2b0df1e9f47b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-02-20T21:18:54", "repo_name": "ekesken/unjs", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 955, "line_count": 35, "lang": "en", "doc_type": "text", "blob_id": "f6...
UNIX IN A BROWSER ================= we're dreaming to create a virtual file system whenever you open a unjs based site in your browser. unix history will repeat in a browser via this project. js instead of c this time. we have to reimplement POSIX file descriptors logic first. then a shell (jssh) will follow. then t...
a9c594c4-8e60-475b-945f-208bcaaccffc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-09T09:50:13", "repo_name": "ipedis/DynamicLogger", "sub_path": "/Readme.md", "file_name": "Readme.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 21, "lang": "en", "doc_type": "text", "blob_...
An AbstractLogger class that will take care of creating the logger and writing inside A ChannelInterface class that defines the context each channel will have a Logger class that will extend AbstractLogger and implements ChannelInterface An Events class that will contain all events [I was inspired by FOSUser] A Glob...
12cf8341-6bfb-4f13-ba45-ca986df7f6a0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-26 10:08:48", "repo_name": "developTiger/sy-oa", "sub_path": "/lemon-ay/src/main/java/com/sunesoft/lemon/ay/equipment/domain/hibernate/EquipmentRepositoryImpl.java", "file_name": "EquipmentRepositoryImpl.java"...
package com.sunesoft.lemon.ay.equipment.domain.hibernate; import com.sunesoft.lemon.ay.equipment.domain.Equipment; import com.sunesoft.lemon.ay.equipment.domain.EquipmentRepository; import com.sunesoft.lemon.fr.ddd.infrastructure.repo.hibernate.GenericHibernateRepository; import org.hibernate.Criteria; import org.hibe...
0ebd4453-bb0b-4238-857c-45de8845fbcc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-24 22:07:45", "repo_name": "Baxi19/compi_semana5", "sub_path": "/src/ast/DeclarationAST.java", "file_name": "DeclarationAST.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 39, "lang": "en", ...
package ast; import org.antlr.v4.runtime.Token; import java.util.ArrayList; //Class DeclarationAST public class DeclarationAST extends AST { public SingleDeclarationAST singleDeclaration; public ArrayList<Token> pyCommas; public ArrayList<SingleDeclarationAST> singleDeclarations; //Constructor p...
828ba753-b933-4d16-b25a-ca950152585c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-18 13:48:28", "repo_name": "15256500312/mutilThread", "sub_path": "/concurrentTools/src/main/java/com/huawei/countDownLatch/JoinTest.java", "file_name": "JoinTest.java", "file_ext": "java", "file_size_in_byte"...
package com.huawei.countDownLatch; /** * 此处使用join完成多线程之间的调度 */ public class JoinTest { public static void main(String[] args ) throws InterruptedException { Thread thread1=new Thread(()->{ System.out.println("sheet页1加载完成"); },"thread1"); Thread thread2=new Thread(()->{ ...
54b6c644-af4f-4b80-a361-f8ee6be478b0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 08:02:22", "repo_name": "2692996364/TongPao", "sub_path": "/app/src/main/java/com/example/tongpao/ui/adapter/recommend/PersonalViewAdapter.java", "file_name": "PersonalViewAdapter.java", "file_ext": "java",...
package com.example.tongpao.ui.adapter.recommend; import android.content.Context; import android.widget.TextView; import com.example.tongpao.R; import com.example.tongpao.base.BaseAdapter; import com.example.tongpao.model.recommenddata.PersonalBean; import com.example.tongpao.utils.TxtUtils; import java.util.List; ...
e2abf237-466f-4650-843b-b113fdf2f461
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-07 02:39:10", "repo_name": "liangyihuai/AlgorithmCore", "sub_path": "/src/main/java/com/huai/algorithm/AttachmentPoint.java", "file_name": "AttachmentPoint.java", "file_ext": "java", "file_size_in_byte": 953, ...
package com.huai.algorithm; import org.apache.commons.math3.ml.clustering.Clusterable; /** * Created by liangyh on 2/21/17. */ public class AttachmentPoint<T> implements Clusterable { T attachment = null; double longitude = 0.0D; double latitude = 0.0D; public AttachmentPoint(double longitude, d...
36d4694a-8174-4c78-b696-686d2504fd94
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-12 11:52:41", "repo_name": "ArryLuo/Bear360Safety", "sub_path": "/src/com/bear/safety/ui/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 32...
package com.bear.safety.ui; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import com.bear.safety.R; import com.bear.safety.listener.BearAnimationListener; import com.bear.safety.ui.base.BaseActivit...
0165b559-1cbf-47f5-8d6a-dc09dbc6c12a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-15 09:01:45", "repo_name": "snowcuphea/Java_advanced", "sub_path": "/jdbc/basic/InsertTest.java", "file_name": "InsertTest.java", "file_ext": "java", "file_size_in_byte": 989, "line_count": 43, "lang": "en", "...
package jdbc.basic; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; public class InsertTest { public static void main(String[] args) { String url = "jdbc:oracle:thin:@70.12.115.53:1521:xe"; String user = "min"; String password = "pw"; String...
e0f81956-d156-4675-8d77-1e8853e204af
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-26 07:13:11", "repo_name": "kimgarvey333/yaguhaja", "sub_path": "/src/yaguhaja/function/data_search.java", "file_name": "data_search.java", "file_ext": "java", "file_size_in_byte": 954, "line_count": 29, "lang...
package yaguhaja.function; import java.io.IOException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.serv...
22999b5f-6772-415d-b167-0e1623c735e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-23 08:18:56", "repo_name": "nextyu/spring-cloud-simple-demo", "sub_path": "/user-service/src/main/java/com/nextyu/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "f...
package com.nextyu.service.impl; import com.nextyu.dao.UserMapper; import com.nextyu.entity.User; import com.nextyu.service.UserService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * created on 2017-05-26 11:01 * * @autho...
e690a6a0-4587-4226-9e2a-53f86df1efb0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-22 07:13:09", "repo_name": "Guojunwen/leetcode", "sub_path": "/src/main/java/com/guo/leetcode/controller/IndexController.java", "file_name": "IndexController.java", "file_ext": "java", "file_size_in_byte": 101...
package com.guo.leetcode.controller; import com.guo.leetcode.bean.vo.PracticeVo; import com.guo.leetcode.bean.RestResult; import com.guo.leetcode.util.AnnotationUtil; import com.guo.leetcode.util.ClassUtil; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping;...
683fdf60-93d5-483a-ac2a-bc8565267b4f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 19:24:16", "repo_name": "kkaba/Platform_Game", "sub_path": "/Platform/src/platform/game/Door.java", "file_name": "Door.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 59, "lang": "en", "d...
package platform.game; import platform.circuit.Signal; import platform.util.Box; import platform.util.Input; import platform.util.Output; public class Door extends Block implements Signal { private Signal signal; /** * Creates a new Door * * @param box * Door's box * @param name * ...
0e660cc7-3db1-4ce2-9850-0087bf6dd2da
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-02 09:54:33", "repo_name": "smi21/lastRepository", "sub_path": "/demo/springs/springs/Springjdbc/src/com/mccoy/jdbc/controller/Registercontroller.java", "file_name": "Registercontroller.java", "file_ext": "jav...
package com.mccoy.jdbc.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.M...
3065c1cd-5b5e-4782-9fc3-324f8c8f2e81
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-15 18:15:45", "repo_name": "Mky135/JFXSolitaire", "sub_path": "/src/java/solitaire/controlers/MainController.java", "file_name": "MainController.java", "file_ext": "java", "file_size_in_byte": 953, "line_count...
package solitaire.controlers; import com.sun.tools.javac.jvm.Items; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Button; import javafx.scene.image.Image; import javafx.scene.image.ImageView; import javafx.scene.layout.AnchorPane; import solitaire.Main; import solitaire.util.Ga...
6ae94582-21ce-4f51-a6a8-b5ab998f06dc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-04-01T04:30:25", "repo_name": "teepluss/laravel-faker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 41, "lang": "en", "doc_type": "text", "blo...
faker-laravel-bundle ===================== A Laravel 3.x Bundle for the Faker Faker is a PHP library that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is...
6b2c758e-19b1-4502-bb07-b8b84402d81c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-26 14:47:40", "repo_name": "sak77/MyWeatherApp_Attemp3", "sub_path": "/app/src/main/java/com/saket/myweatherapp_attemp3/viewmodel/CityViewModelFactory.java", "file_name": "CityViewModelFactory.java", "file_ext...
package com.saket.myweatherapp_attemp3.viewmodel; import androidx.annotation.NonNull; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelStoreOwner; import com.saket.myweatherapp_attemp3.repositiory.CityWeatherRepository; /** * Created by sshriwas on...
b61f429c-e280-432f-a7f3-ac0694f49f5f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-05 10:59:42", "repo_name": "kumar-QA/LearningSelenium", "sub_path": "/src/SikuliConcepts/FlashobjectofYT.java", "file_name": "FlashobjectofYT.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": ...
package SikuliConcepts; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.sikuli.script.FindFailed; import org.sikuli.script.Pattern; import org.sikuli.script.Screen; public class FlashobjectofYT { public static void main(String[] args) throws FindFailed { System.s...
e0a0f1e5-a895-4d80-ae97-0634aa787c80
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-16 07:59:30", "repo_name": "hhl6833/red5-demo", "sub_path": "/red5-server/src/com/hn6833/CustomFilenameGenerator.java", "file_name": "CustomFilenameGenerator.java", "file_ext": "java", "file_size_in_byte": 953...
package com.hn6833; import org.red5.server.api.scope.IScope; import org.red5.server.api.stream.IStreamFilenameGenerator; public class CustomFilenameGenerator implements IStreamFilenameGenerator { public String path = "streams/"; public boolean resolvesAbsolutePath; public String generateFilename(IScope ...
6ae674f4-277c-4e1a-b88d-9107c61e89db
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-25 20:10:12", "repo_name": "pratikpugalia/Unique-Identification-System", "sub_path": "/src/test/java/com/poc/learn/repository/PersonRepositoryTest.java", "file_name": "PersonRepositoryTest.java", "file_ext": "...
package com.poc.learn.repository; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import com.poc.learn.model.Person; class PersonRepositoryTest { private PersonRepository personRepository; @BeforeE...
7cf72d39-07d9-4ed9-a817-ff82b2f46cd3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-03 17:57:25", "repo_name": "srinivasv/couchbase-backup", "sub_path": "/src/main/java/com/talena/agents/couchbase/core/AbstractPartition.java", "file_name": "AbstractPartition.java", "file_ext": "java", "file_s...
package com.talena.agents.couchbase.core; public abstract class AbstractPartition { public enum Type { // The partition was successfully opened but hasn't been closed yet. All of // the partition's data may not be streamed if the connection is lost. Open, // The partition was successfully opened an...
354e9e4b-4312-4dfe-9eac-bff4a324c8e1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-28 21:23:41", "repo_name": "hareenedara/SpringKafkaSample1", "sub_path": "/src/main/java/com/samples/service/SenderService.java", "file_name": "SenderService.java", "file_ext": "java", "file_size_in_byte": 953...
package com.samples.service; import org.apache.kafka.clients.producer.ProducerRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.kafka.core.KafkaTemplate; import org.springframework.stereotype.Component; /** * Cre...
fca3c0d8-800f-432b-b9d9-13f4a11c0894
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-19T11:24:21", "repo_name": "easycodewithme/Profile-card", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 954, "line_count": 59, "lang": "en", "doc_type": "text",...
# Profile-card This for the profile setup in html <!DOCTYPE html> <html> <head> <style> div{ height:194px; width:96px; } p { width:533px; position: relative; left: 96px; bottom: 210px; height: 194px; } footer{ text-align:center; position:relative; bottom:226px; padding:20px; } header,footer...
1c00f392-9be2-471f-b42e-eb9cd96326cb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-14T21:06:54", "repo_name": "kmc0156/CurlingLeagueManager", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 27, "lang": "en", "doc_type": "text"...
# Curling League Manager ## Description: League Management Software. Every Member belongs to a Team. Every Team belongs to a League. Muliple Leagues are managed within the program. Leagues with Teams and Members may be imported/exported via CSV. Save and Load database for easy Management. ## Requir...
0abe7da0-3219-45e3-b7f4-89f74fdb1285
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-17 18:48:48", "repo_name": "AndyGabler/StatefulUdp", "sub_path": "/src/com/gabler/udpmanager/ByteToUdpRequestTransformer.java", "file_name": "ByteToUdpRequestTransformer.java", "file_ext": "java", "file_size_i...
package com.gabler.udpmanager; import com.gabler.udpmanager.model.UdpRequest; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.util.function.Function; /** * Transform a byte array into a {@link UdpRequest}. * * @author Andy Gabler */ public class Byte...
beeb8f15-f7f2-4909-8c52-2e8930060750
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-03T01:42:08", "repo_name": "sobeit/simple_voice_package", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 954, "line_count": 43, "lang": "en", "doc_type": "text",...
## Simple Voice Package This ROS package plays wave format file data when get some "/state" topic messages. ## Installation PyAudio and PyYaml are required for this package. Before using this package, you have to install these two python modules. Use pip for installing. ``` $ pip install pyaudio $ pip install pyyaml...
e0e3d236-9509-499d-9f84-69a18e0fdf6b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-14 00:07:24", "repo_name": "Jabelpeeps/BattleArena", "sub_path": "/src/java/mc/alk/arena/objects/spawns/BlockSpawn.java", "file_name": "BlockSpawn.java", "file_ext": "java", "file_size_in_byte": 953, "line_cou...
package mc.alk.arena.objects.spawns; import org.bukkit.Material; import org.bukkit.block.Block; import lombok.Getter; import lombok.Setter; public class BlockSpawn extends SpawnInstance { @Getter @Setter Material material; @Getter @Setter Material despawnMaterial = Material.AIR; public BlockSpawn( Block b...
27c39adf-e3e1-4173-9218-e9443a626e8c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-31 16:56:45", "repo_name": "gergokovics/mylightshare", "sub_path": "/src/main/java/com/mylightshare/main/com/mylightshare/main/entity/Authority.java", "file_name": "Authority.java", "file_ext": "java", "file_s...
package com.mylightshare.main.com.mylightshare.main.entity; import javax.persistence.*; import java.io.Serializable; class CompositeKey implements Serializable { private String username; private String authority; } @Entity @Table(name="authorities") @IdClass(CompositeKey.class) public class Authority { ...
64f70025-f3a3-4d76-ae75-0b09b11f384b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 16:46:10", "repo_name": "amrutprabhu/async-api-workout", "sub_path": "/async-kafka-producer/src/main/java/com/amrut/prabhu/producer/service/CommandLinePublisher.java", "file_name": "CommandLinePublisher.jav...
package com.amrut.prabhu.producer.service; import com.amrut.prabhu.producer.model.TransactionEventPayload; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import java.util.Random; import java.util.UUID; ...
dd79373a-c5cf-4b14-9c7a-f37e74e01130
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 02:37:49", "repo_name": "liepeiming/xposed_chatbot", "sub_path": "/alimama/src/main/java/com/taobao/weex/font/FontAdapter.java", "file_name": "FontAdapter.java", "file_ext": "java", "file_size_in_byte": 953...
package com.taobao.weex.font; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; public class FontAdapter { private List<FontListener> mFontListener = new CopyOnWriteArrayList(); public void addFontListener(FontListener fontListener) { this.mFontListener.add(fontListener); }...
8b2237a4-cfa8-4b08-a476-6b2dc97add45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-02 14:35:41", "repo_name": "Slavikmew/Keira", "sub_path": "/app/src/main/java/com/gattaca/bitalinoecgchart/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 953, "l...
package com.gattaca.bitalinoecgchart; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.view.View; import com.gattaca.bitalinoecgchart.navigation.NaviagableActivity; public class MainActivity extends Navia...
297b9b22-2375-4ba6-85b0-3d65899fca63
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 15:11:32", "repo_name": "fobird/ProjectLocal01", "sub_path": "/day14_request/src/cn/itcast/web/servlet/SuccessServlet.java", "file_name": "SuccessServlet.java", "file_ext": "java", "file_size_in_byte": 985,...
package cn.itcast.web.servlet; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * @author superLin * @date 2021-04-15 ...
49fd37ed-90f2-4023-bf0e-dc84913a0923
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-16 02:15:43", "repo_name": "mash4peace/Chapterfour_lap4Cont", "sub_path": "/src/com/company/RecyClingBest.java", "file_name": "RecyClingBest.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 3...
package com.company; import java.util.ArrayList; import java.util.Scanner; /** * Created by Mohamed Sheikhali on 2/15/2017. */ public class RecyClingBest { static Scanner sc = new Scanner(System.in); static int total_number_house = 8; static ArrayList <Integer> myLists = new ArrayList<Integer>(total_num...
51b6b081-29f1-4720-ac1f-3313684c3a1b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 13:08:42", "repo_name": "Karan-Bathani/Musical-Structure-App", "sub_path": "/app/src/main/java/com/example/musicalstructureapp/SongActivity.java", "file_name": "SongActivity.java", "file_ext": "java", "file...
package com.example.musicalstructureapp; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.ImageView; import android.widget.TextView; public class SongActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { su...
56ea4a02-f3f7-4c11-a51a-9c10245b645d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 14:33:12", "repo_name": "JasperZeng/First_pro", "sub_path": "/bank/src/com/zty/dodao/Account.java", "file_name": "Account.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 58, "lang": "en",...
package com.zty.dodao; /** * Account entity. @author MyEclipse Persistence Tools */ public class Account implements java.io.Serializable { // Fields private Integer accountid; private Integer password; private Double money; // Constructors /** default constructor */ public Account() { } /** minimal co...
5fe8553f-61a6-41d6-a41f-1516fc5b4667
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-18 02:03:14", "repo_name": "Natanaelvich/Jogo-zelda-copia", "sub_path": "/src/com/natanaelvich/entites/Atirar.java", "file_name": "Atirar.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 40, ...
package com.natanaelvich.entites; import com.natanaelvich.main.Game; import com.natanaelvich.wolrd.Camera; import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage; public class Atirar extends Entity { private final double dir_x; private final double dir_y; private final doubl...
3cfd5c5f-96ba-4231-8ad7-9f0a318d65e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-25 13:14:26", "repo_name": "kucukkaa/HumanResourcesMS_backEnd", "sub_path": "/src/main/java/kodlamaio/hrms/business/concretes/UserCheckManager.java", "file_name": "UserCheckManager.java", "file_ext": "java", "...
package kodlamaio.hrms.business.concretes; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import kodlamaio.hrms.dataAccess.abstracts.UserDao; import kodlamaio.hrms.business.abstracts.UserCheckService; import kodlamaio.hrms.core.utilities.results.ErrorResu...
b6cc4949-e83e-4b5e-805f-d70e892cc668
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-13 09:09:14", "repo_name": "aliyafathma/multiscreen", "sub_path": "/app/src/main/java/com/bankmandiri/helloandroid2/adapter/TodoViewHolder.java", "file_name": "TodoViewHolder.java", "file_ext": "java", "file_s...
package com.bankmandiri.helloandroid2.adapter; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.View; import com.bankmandiri.helloandroid2.R; import com.bankmandiri.helloandroid2.databinding.ItemTodoBinding; import com.bankmandiri.helloandroid2.model.Todo; ...
243e1a9c-285f-4b86-ac60-06400a3c4069
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-17 05:25:57", "repo_name": "lookskystar/empLogPro", "sub_path": "/src/com/emplog/bean/ReceiveLog.java", "file_name": "ReceiveLog.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 55, "lang": "...
package com.emplog.bean; /** * ReceiveLog entity. * * @author MyEclipse Persistence Tools */ public class ReceiveLog implements java.io.Serializable { // Fields private Integer receiveLogId; private LogMessage logMessage; private Emp emp; // Constructors /** default constructor */ p...
cbe2110f-5d74-4955-b504-517bc02c9a1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-03T00:44:47", "repo_name": "terial/cc_wifib", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 955, "line_count": 16, "lang": "en", "doc_type": "text", "blob_id": ...
# EZ-WifiBroadcast Affordable Digital HD Video Transmission made easy! The goal of this project is to make the usage of Befinitiv's Wifibroadcast (https://befinitiv.wordpress.com/wifi...ve-video-data/) easy for people who would be otherwise drawn away because it can become quite time consuming and frustrating setting ...
ea8b17be-a216-4ed2-ad3b-fb6f6dc22b96
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-07 19:06:11", "repo_name": "manojkhanwalkar/EPI", "sub_path": "/main/src/ks/Word.java", "file_name": "Word.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 57, "lang": "en", "doc_type": "code...
package ks; import java.util.HashMap; import java.util.Map; import java.util.Objects; public class Word { Map<Person,Integer> persons = new HashMap<>(); String word; public void add(Person person) { Integer freq = persons.get(person); if (freq==null) { persons...
619921dc-b0ca-4526-b710-9cecee3e79ba
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-10 15:11:49", "repo_name": "fxusers/LaggClear", "sub_path": "/minebuilders/clearlag/commands/HaltCmd.java", "file_name": "HaltCmd.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 35, "lang": ...
package me.minebuilders.clearlag.commands; import me.minebuilders.clearlag.Util; import me.minebuilders.clearlag.modules.CommandModule; import me.minebuilders.clearlag.tasks.HaltTask; public class HaltCmd extends CommandModule { private HaltTask halttask = null; public HaltCmd() { super.forcePl...
cebc6574-ee93-4978-87b5-a1795910215d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-16 20:33:56", "repo_name": "MrFurlan/PokeAPIApp", "sub_path": "/app/src/main/java/br/com/opet/tds/pokeapiapp/Activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt...
package br.com.opet.tds.pokeapiapp.Activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.Toast; import br.com.opet.tds.pokeapiapp.R; public class MainActivity extends Activity { private TextV...
769279b1-164c-4b18-9c50-622c1a701d45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-14 07:24:51", "repo_name": "alisangari/practice", "sub_path": "/src/moji/AnagramSample.java", "file_name": "AnagramSample.java", "file_ext": "java", "file_size_in_byte": 954, "line_count": 31, "lang": "en", "d...
package moji; import java.util.ArrayList; import utility.file.FileGridImport; import utility.sort.SortChar; import utility.string.Strings; public class AnagramSample { public static void main(String[] args) { System.out.println("$$$$$$$$$$$$$$$$$$"); ArrayList<ArrayList<String>> fileContent3 = FileGr...
82838295-9779-4bae-912c-f75545eda4cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-31 15:47:17", "repo_name": "retroq/AntMiner", "sub_path": "/src/antminer/rulediscover/SimpleDomainAttribute.java", "file_name": "SimpleDomainAttribute.java", "file_ext": "java", "file_size_in_byte": 952, "line...
package antminer.rulediscover; /** * Date: 08.04.14 * * @author sipachev_ai */ public class SimpleDomainAttribute implements DomainAttribute{ private String name; public SimpleDomainAttribute() { } public SimpleDomainAttribute(String name) { this.name = name; } public void setNam...
26afa878-23d2-491d-ab88-8aa62c229db7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-27T17:09:24", "repo_name": "Deea95/OCA_Java_Programmer_I", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 953, "line_count": 38, "lang": "en", "doc_type": "text"...
# OCA_Java_Programmer_I_Capitolele: Chapter 1 Java Building Blocks - Understanding the Java Class Structure : Fields and Methods Comments Classes vs. Files - Writing a main() Method - Understanding Package Declarations and Imports : Wildcards Redundant Imports Naming Conflicts - Creating a New Package - Code Fo...
fbb7f168-de60-424e-8860-0f32267d51d6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-08 19:55:25", "repo_name": "BensonZhan/CookBook", "sub_path": "/src/main/java/controller/RegisterController.java", "file_name": "RegisterController.java", "file_ext": "java", "file_size_in_byte": 953, "line_co...
package controller; import javafx.event.ActionEvent; import javafx.event.EventHandler; import model.RegisterModel; import view.RegisterView; /** * The controller to send and retrieve the register data. * * @author Guozhi Zhan */ public class RegisterController implements EventHandler<ActionEvent> { ...
7f286d4e-728a-48c9-8777-dc9f7e937171
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-20 18:25:44", "repo_name": "YukiXueli/image-cache-and-sync", "sub_path": "/library/src/main/java/com/climate/mirage/cache/SimpleKeyMaker.java", "file_name": "SimpleKeyMaker.java", "file_ext": "java", "file_siz...
package com.climate.mirage.cache; import com.climate.mirage.processors.BitmapProcessor; import com.climate.mirage.requests.MirageRequest; import java.util.List; public class SimpleKeyMaker implements KeyMaker { @Override public String getSourceKey(MirageRequest request) { StringBuilder b = new StringBuilder(); ...
a209317e-5954-4112-bb84-8a3cd10826eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-08 01:27:23", "repo_name": "codepressed/2048Game", "sub_path": "/app/src/main/java/com/codebinars/a2048game/engine/sprites/Grid.java", "file_name": "Grid.java", "file_ext": "java", "file_size_in_byte": 952, "l...
package com.codebinars.a2048game.engine.sprites; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import com.codebinars.a2048game.R; public class Grid implements Sprite{ private Bitmap grid; private int screenWidth, s...
71a4565a-418f-4df5-ae1c-477abcea4ad3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-06 20:58:45", "repo_name": "carlos1013/Synesthesie", "sub_path": "/BibliotecaVazia.java", "file_name": "BibliotecaVazia.java", "file_ext": "java", "file_size_in_byte": 953, "line_count": 33, "lang": "en", "doc...
package com.example.cadu.synesthesie; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; public class BibliotecaVazia extends AppCompatActivity { @Override protected void onCreate(Bundle ...
8685504b-bcea-4cc1-a276-3dc69e4b933b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-15 14:27:11", "repo_name": "markeastman/my-jwt-demo", "sub_path": "/src/test/java/uk/me/eastmans/jwt/util/TestJWT.java", "file_name": "TestJWT.java", "file_ext": "java", "file_size_in_byte": 952, "line_count":...
package uk.me.eastmans.jwt.util; import org.eclipse.microprofile.rest.client.RestClientBuilder; import java.net.URI; public class TestJWT { public static void main(String[] args) throws Exception { URI apiURI = new URI("http://my-jwt-demo-my-jwt-demo-bootable-jar-project.apps-crc.testing/" ); Rest...
caa24172-1ddc-4e90-b236-650093b966f1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-27 14:58:27", "repo_name": "mans82/sbu-gram", "sub_path": "/models/src/com/mans/sbugram/models/requests/SignUpRequest.java", "file_name": "SignUpRequest.java", "file_ext": "java", "file_size_in_byte": 952, "li...
package com.mans.sbugram.models.requests; import com.mans.sbugram.models.User; import org.json.JSONObject; import java.util.Objects; public class SignUpRequest extends Request{ public final User user; public SignUpRequest(User user) { this.user = user; } @Override public JSONObject toJ...
56722128-c29b-4d50-8506-b0ffe1cd85c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-02 12:22:00", "repo_name": "gundermann/flexplan", "sub_path": "/felxplan_android/src/com/flexplan/WeekAdapter.java", "file_name": "WeekAdapter.java", "file_ext": "java", "file_size_in_byte": 953, "line_count":...
package com.flexplan; import com.flexplan.common.util.DateHelper; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; public class WeekAdapter extends FragmentPagerAdapter { private int currentYear; public WeekAdap...
13966756-d7d2-4882-9a47-e8ff2b9ac176
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-31 02:53:29", "repo_name": "DasomJang/ejo", "sub_path": "/Fashion-PRJ/src/main/java/ejo/member/controller/MemberController.java", "file_name": "MemberController.java", "file_ext": "java", "file_size_in_byte": ...
package ejo.member.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; imp...
f07dbc06-83e2-465f-9d51-f5d96a804935
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-08 07:58:12", "repo_name": "aybaylyn/demoBoot", "sub_path": "/src/main/java/com/may/boot/controller/MongoTestController.java", "file_name": "MongoTestController.java", "file_ext": "java", "file_size_in_byte": ...
package com.may.boot.controller; import com.may.boot.entity.MongoUser; import com.may.boot.repository.MongoUserRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** *...
830e31f9-aea7-46a6-83bb-2bb29cd7a90c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-05-05T06:36:48", "repo_name": "sogaiu/tree-sitter-clojure", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 35, "lang": "en", "doc_type": "text", ...
# tree-sitter-clojure A tree-sitter grammar for Clojure and ClojureScript ## What the Repository Provides This repository provides some files used to create various artifacts (e.g. dynamic libraries) used for handling Clojure and ClojureScript source code via tree-sitter. Please see the [what and why document](doc/...
29905df0-b925-4371-b0d6-bc182598f2ea
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-23 17:01:38", "repo_name": "pglelievre/facetmodeller", "sub_path": "/FacetModeller/src/facetmodeller/commands/ChangeNodeMarkerCommand.java", "file_name": "ChangeNodeMarkerCommand.java", "file_ext": "java", "fi...
package facetmodeller.commands; import facetmodeller.plc.Node; /** Command to change a node's group membership. * @author Peter */ public final class ChangeNodeMarkerCommand extends Command { private final Node node; // the node changed private final boolean oldMarker; // the old boundary marker value ...
cd174e5a-79d3-4501-840a-f21c9b79a91d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-03-28T12:48:17", "repo_name": "timurgaleev/terraform", "sub_path": "/aws/examples/timestream/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 38, "lang": "en", "...
# Work with TIMESTREAM via terraform A terraform module for making TIMESTREAM. ## Usage ---------------------- Import the module and retrieve with ```terraform get``` or ```terraform get --update```. Adding a module resource to your template, e.g. `main.tf`: ``` # # MAINTAINER Vitaliy Natarov "vitaliy.natarov@yahoo...
c2b248cd-6faa-423e-a075-261a7343d45e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-11 09:27:44", "repo_name": "xudejuan/EParty-master", "sub_path": "/app/src/main/java/com/example/liu/eparty/activity/task/PreviewPhotoActivity.java", "file_name": "PreviewPhotoActivity.java", "file_ext": "java...
package com.example.liu.eparty.activity.task; import android.graphics.Bitmap; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.example.liu.eparty.R; import butterknife.BindView; import uk.co.senab.photoview.PhotoView; public class PreviewPhotoActivity extends AppCompatActivity {...
cda3aa5e-fcda-4e0c-92fb-587b2d5e1845
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 09:34:20", "repo_name": "hongzihan/newtest", "sub_path": "/src/main/java/com/st/newtest/stGame/Entity/DropItem.java", "file_name": "DropItem.java", "file_ext": "java", "file_size_in_byte": 951, "line_count"...
package com.st.newtest.stGame.Entity; import com.baomidou.mybatisplus.annotation.TableField; import lombok.Data; import java.io.Serializable; @Data public class DropItem implements Serializable { private Long id; private String keyname; private String itemname; private Integer count; private ...
fcb15ebc-f485-49ac-a5a6-d8b9af97d787
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-07 11:43:16", "repo_name": "zychao203/ebways-cat", "sub_path": "/src/main/java/com/ebways/cat/TestCat.java", "file_name": "TestCat.java", "file_ext": "java", "file_size_in_byte": 952, "line_count": 40, "lang":...
package com.ebways.cat; /** * Created by kevin on 2017/3/7. */ import com.dianping.cat.Cat; import com.dianping.cat.message.Event; import com.dianping.cat.message.Transaction; public class TestCat { public static void main(String args[]) { TestCat cat = new TestCat(); cat.testCat(); } ...
d9ff1fc5-ad12-4b6f-a718-cbe588e6421c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-17 20:03:53", "repo_name": "tychkov-maxim/oop-task", "sub_path": "/src/main/java/com/epam/tm/oop/entity/TaxiStation.java", "file_name": "TaxiStation.java", "file_ext": "java", "file_size_in_byte": 952, "line_c...
package com.epam.tm.oop.entity; import org.joda.money.CurrencyUnit; import org.joda.money.Money; import java.util.ArrayList; import java.util.List; public class TaxiStation { private List<Vehicle> cars; private String name; public TaxiStation(String name) { this.name = name; cars = new A...
e5de8130-bfe7-4642-aff4-800cc7c0656f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-09-05T14:05:52", "repo_name": "docker/docs", "sub_path": "/content/language/python/_index.md", "file_name": "_index.md", "file_ext": "md", "file_size_in_byte": 760, "line_count": 19, "lang": "en", "doc_type":...
--- description: Containerize Python apps using Docker keywords: Docker, getting started, Python, language title: What will you learn in this module? toc_min: 1 toc_max: 2 --- The Python getting started guide teaches you how to containerize a Python application using Docker. In this guide, you'll learn how to: * Crea...
9ee6bd8b-4527-46a1-b1c2-139213bf3e94
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-17 01:42:36", "repo_name": "OwenMcNaughton/CivilizationGenerator", "sub_path": "/src/Continent.java", "file_name": "Continent.java", "file_ext": "java", "file_size_in_byte": 951, "line_count": 39, "lang": "en"...
import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingUtilities; public class Continent extends JFrame { private final int FRAME_WIDTH = 700; private final int FRAME_HEIGHT = 500; private final JLabel statusbar; public Continent() { ...
1fe7575b-c4c7-4fa9-956c-e008b5f89f16
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-06 08:37:45", "repo_name": "Gebes/FloppyBird", "sub_path": "/core/src/eu/gebes/floppy_bird/game/utils/world/Entity.java", "file_name": "Entity.java", "file_ext": "java", "file_size_in_byte": 952, "line_count":...
package eu.gebes.floppy_bird.game.utils.world; import com.badlogic.gdx.math.Rectangle; import eu.gebes.floppy_bird.game.FloppyBird; import eu.gebes.floppy_bird.game.utils.state.renderer.Renderer; import lombok.*; @RequiredArgsConstructor public abstract class Entity implements Drawable, Updateable { @Getter @Se...
45e6ef2b-71cc-451e-a80c-7e872182d9c1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-18T02:04:15", "repo_name": "AngelYahir/Advanced-CSS-exercise", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 952, "line_count": 21, "lang": "en", "doc_type": "t...
# CSS animated transitions exercise **An exercise to test your knowledge in CSS** ## Instructions 1. We will build 3 boxes as shown in the following image, they can be of any size, they will all have shadows and the left edge of a color to identify them and add the following animations: ![enter image description her...