id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
82d87807-67d7-4e75-ad19-3f83e54ab699
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-17 10:43:27", "repo_name": "ze12augusto/PadroesDeProjeto", "sub_path": "/src/padroesdeprojeto/singleton/ExemploSingleton.java", "file_name": "ExemploSingleton.java", "file_ext": "java", "file_size_in_byte": 61...
package padroesdeprojeto.singleton; import padroesdeprojeto.ExemplosPadroes; /** * * @author a12027227 */ public class ExemploSingleton extends ExemplosPadroes{ @Override public void executeExemplo() { SingleTon singleTon = SingleTon.getInstance(); System.out.println...
116d412f-a43c-411e-8f26-09db32801102
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-20T03:57:44", "repo_name": "JDittles/Feed-The-Ditty", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 615, "line_count": 26, "lang": "en", "doc_type": "text", "bl...
# Feed The Ditty ## SETUP Python 2.7 is required. So is Requests. To install navigate to the project root and install with pipenv: ```pipenv install requests``` Ain't nothing else you need. ```JUST RUN THE GD APP AM I RIGHT``` ## DESCRIPTION This guy is going to be a Python app for searching for recipes using Edam...
017f9309-dd7b-46cc-b271-ad42cd7fe025
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-01 16:41:09", "repo_name": "WolfPlaysDE/BanWarnSystem", "sub_path": "/src/de/wolfplays/banwarnsystem/listener/ListenerPlayerJoinEvent.java", "file_name": "ListenerPlayerJoinEvent.java", "file_ext": "java", "fi...
package de.wolfplays.banwarnsystem.listener; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; import de.wolfplays.banwarnsystem.mysql.MySQLBanManager; /** * Created by WolfPlaysDE On 30.03.2015 at 06:32:58 */ pu...
0a6ce780-284d-4928-b60c-2bd0a4f73216
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-13 16:29:18", "repo_name": "FTLturtle/Maven.LearnerLab", "sub_path": "/src/test/java/io/zipcoder/learnerLab/utilities/FileScannerGeneratorTest.java", "file_name": "FileScannerGeneratorTest.java", "file_ext": "...
package io.zipcoder.learnerLab.utilities; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.util.Scanner; public class FileScannerGeneratorTest { @Test public void getScannerOfFileTest1() { File file = new File("*&450975(&^%0&%9^%0*&5(*"); Scanner sc = FileScan...
7a7ad1e1-d045-4ebc-9dc4-7912114963e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-29 06:14:45", "repo_name": "avasyukhin/AVasyukhin_SecondarySort", "sub_path": "/src/main/java/ssort/mapreduce/NaturalKeyGroupingComparator.java", "file_name": "NaturalKeyGroupingComparator.java", "file_ext": "...
package ssort.mapreduce; import org.apache.hadoop.io.WritableComparable; import org.apache.hadoop.io.WritableComparator; /** * Created by Aphex on 29.07.2016. */ public class NaturalKeyGroupingComparator extends WritableComparator{ protected NaturalKeyGroupingComparator(){ super(CompositeKey.class,true)...
ec47d848-1f06-4092-8f19-c4e5c2368570
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-28 11:43:39", "repo_name": "kkmangla123/krishan-kant-mangla", "sub_path": "/Threads/src/sapient/FileDemo.java", "file_name": "FileDemo.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 26, "la...
package sapient; import java.io.File; public class FileDemo { static void p(String s){ System.out.println(s); } public static void main(String[] args){ File f1=new File("D:/sapient"); p("File Name:"+f1.getName()); p("Path:"+f1.getPath()); p("Abs Path:"+f1.getAbsolutePath()); p("Parent:"+f1.getParent())...
d21be14a-d8e1-4362-864e-bd129e285ef6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-30 03:56:15", "repo_name": "fangweiwei/rps-game", "sub_path": "/src/main/java/org/jackfang/game/rps/player/RobotPlayer.java", "file_name": "RobotPlayer.java", "file_ext": "java", "file_size_in_byte": 614, "lin...
package org.jackfang.game.rps.player; import java.util.concurrent.ThreadLocalRandom; import org.jackfang.game.rps.container.OptionsContainer; public class RobotPlayer implements Player { private OptionsContainer container; private String name; public RobotPlayer(OptionsContainer container, String name) { thi...
fddae557-fea8-44ff-aeb1-09ff03f60928
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-05 09:12:43", "repo_name": "vinnnnnnu/Map2Memories", "sub_path": "/app/src/main/java/com/vinodapps/likethat/map2memories/ImgData.java", "file_name": "ImgData.java", "file_ext": "java", "file_size_in_byte": 623...
package com.vinodapps.likethat.map2memories; import com.google.android.gms.maps.model.LatLng; import java.util.HashSet; public class ImgData { public ImgData(int id, LatLng marker, HashSet<String> imgPath) { this.id = id; this.marker = marker; this.imgPath = imgPath; } public in...
479317f2-ebc4-4630-bad2-e2f81f50f207
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-10 20:02:20", "repo_name": "Melozzola/android-multi-view-list-demo", "sub_path": "/ListUtilsDemo/src/main/java/riz/silvano/listutilsdemo/model/ThreeValues.java", "file_name": "ThreeValues.java", "file_ext": "j...
package riz.silvano.listutilsdemo.model; /** * Three values row model * * Created by mele on 08/09/2013. */ public class ThreeValues { private String value1; private Integer value2; private Boolean value3; public ThreeValues(String value1, Integer value2, Boolean value3) { this.value1...
7b5e5088-4fab-4061-abea-65f8d7b6c9fe
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-29 13:53:06", "repo_name": "borysenkoartem/UnivercityProgram", "sub_path": "/src/ua/nure/borisenko/practice3/Util.java", "file_name": "Util.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 27...
package ua.nure.borisenko.practice3; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; public class Util { private static final String ENCODING = "CP1251"; private static final String PATH = "src/ua/nure/borisenko/practice3/"; public static void main(String[] args) { System.ou...
2ab55d0c-2aee-4cf7-a483-4274b7713d3f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-05 23:12:51", "repo_name": "Drosabat/TendenciesExercici1", "sub_path": "/app/src/main/java/tendencias1/tendenciesexercici1/RecoverActivity.java", "file_name": "RecoverActivity.java", "file_ext": "java", "file_...
package tendencias1.tendenciesexercici1; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; /** * Created by karlo on 05/03/2018. */ public class RecoverActivity extends AppCompatActivity { @Override protected void onCreate(B...
bf5d5920-fb98-47a4-85a4-195af8424d28
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 17:57:23", "repo_name": "hotire/spring-core", "sub_path": "/service/src/main/java/com/github/hotire/springcore/bean/scope/CustomScopeConfig.java", "file_name": "CustomScopeConfig.java", "file_ext": "java", ...
package com.github.hotire.springcore.bean.scope; import org.springframework.beans.factory.config.CustomScopeConfigurer; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class CustomScopeConfig { @Bean public CustomScopeConf...
2ca6a2bb-1c25-48b0-b79e-f2dcf85c58d2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-16 09:11:35", "repo_name": "vickyleu/Kotlication", "sub_path": "/library/src/com/esapos/lib/Utils/FindView.java", "file_name": "FindView.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 28, "...
package com.esapos.lib.Utils; import android.app.Activity; import android.view.View; /** * Created by Administrator on 2016/7/24. */ public class FindView { public static <T extends View> T findView(Activity act, Class<T> cls, int id) { T t = null; try { t = (T) act.findViewById(id);...
578cd82d-883e-4775-9596-db2bcf4658c3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-04 08:28:14", "repo_name": "tanhw/icap", "sub_path": "/common/src/main/java/com/toolbox/log/LogUtil.java", "file_name": "LogUtil.java", "file_ext": "java", "file_size_in_byte": 615, "line_count": 28, "lang": "...
package com.toolbox.log; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; public class LogUtil { public static String getTrace(Throwable t) { StringWriter stringWriter = new StringWriter(); PrintWriter writer = new PrintWriter(stringWriter); t.printStackTrace(wri...
8daf363a-dd72-4c22-83be-fa9b19e0764b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-06 07:22:43", "repo_name": "raoul-imolczek/springboot-activiti-empty", "sub_path": "/src/main/java/com/imoclzek/school/banking/activiti/task/ExampleTask.java", "file_name": "ExampleTask.java", "file_ext": "jav...
package com.imoclzek.school.banking.activiti.task; import org.activiti.engine.delegate.DelegateExecution; import org.activiti.engine.delegate.JavaDelegate; import org.apache.log4j.Logger; public class ExampleTask implements JavaDelegate { private Logger LOG = Logger.getLogger(ExampleTask.class); @Override publi...
076909a5-78e5-41c2-bfa0-521308b2b840
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-20 16:43:10", "repo_name": "svtmolchanova/week7", "sub_path": "/src/main/java/by/itacademy/molchanova/week/seventh/builder/DestroyerBuilder.java", "file_name": "DestroyerBuilder.java", "file_ext": "java", "fil...
package by.itacademy.molchanova.week.seventh.builder; import by.itacademy.molchanova.week.seventh.entity.Destroyer; public class DestroyerBuilder extends Builder { private Destroyer destroyer; public DestroyerBuilder() { this.destroyer = new Destroyer(); } public DestroyerBuilder withFirePo...
b364d94c-3c80-43e0-96c6-a9deb5373da3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-24 03:05:58", "repo_name": "milanxiaotiejiang/WeiYue", "sub_path": "/app/src/main/java/com/will/weiyue/dagger/UserModule.java", "file_name": "UserModule.java", "file_ext": "java", "file_size_in_byte": 800, "li...
package com.will.weiyue.dagger; import android.content.Context; import javax.inject.Inject; import dagger.Module; import dagger.Provides; /** * Created by android on 2018/1/17. */ @Module public class UserModule { //在Module中传递上下文对象 private Context mContext; public UserModule(Context context) { ...
dbe2a31f-a0b1-47a1-ad7f-5e7c80ceea98
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03 03:38:16", "repo_name": "warriorWorld/DemoDemo", "sub_path": "/app/src/main/java/com/insightsurfface/demodemo/business/state/HammerState.java", "file_name": "HammerState.java", "file_ext": "java", "file_siz...
package com.insightsurfface.demodemo.business.state; import android.content.Context; import com.insightsurfface.demodemo.widget.toast.EasyToast; public class HammerState implements WeaponState { private Context mContext; private EasyToast mToast; public HammerState(Context context) { this.mConte...
6295c2e8-8300-4c57-9ad1-2f49ca503e88
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-23 13:35:11", "repo_name": "ststefany/data-structures", "sub_path": "/src/hashtable/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 39, "lang": "en", "doc_type...
package hashtable; import com.sun.istack.internal.NotNull; class Item<K, V> { @NotNull private final K key; private final V value; private int hash; public Item(K key, V value, int hash) { this.key = key; this.value = value; this.hash = hash; } public K getKey() ...
84744b2c-549e-45f5-b0b7-7d0726066730
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-10 03:11:19", "repo_name": "shendoma03/softdev-Web", "sub_path": "/SoftDevCore/src/com/softdev/core/cmd/GetLatestPendingSprinklerRequestCmd.java", "file_name": "GetLatestPendingSprinklerRequestCmd.java", "file...
package com.softdev.core.cmd; import com.softdev.core.bean.SprinklerRequest; import com.softdev.core.dao.SprinklerRequestDAO; import com.softdev.core.exception.SoftDevException; public class GetLatestPendingSprinklerRequestCmd extends BaseCmd { /* input parameters */ /* output param */ SprinklerRequest request; ...
35ae3307-b033-41a2-8bfc-bee47c7245be
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-15 19:05:01", "repo_name": "mfpfakhri/PRASIKU", "sub_path": "/app/src/main/java/com/example/android/prasikuv11/AdoptionFormReceivedActivity.java", "file_name": "AdoptionFormReceivedActivity.java", "file_ext": ...
package com.example.android.prasikuv11; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; public class AdoptionFormReceivedActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
7692d2a0-23c2-4bad-9000-c844310ff502
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-23 15:22:45", "repo_name": "dhandapani2020/Selenium", "sub_path": "/src/org/hexa/SampleUsingIE.java", "file_name": "SampleUsingIE.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 20, "lang": ...
package org.hexa; import org.openqa.selenium.WebDriver; import org.openqa.selenium.ie.InternetExplorerDriver; public class SampleUsingIE { public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.ie.driver", "D:\\Eclipse Revision\\Selenium_Day1\\Driver\\IEDriverServer.exe...
c64e7b0b-ae4b-4042-b7fb-766f3bf22452
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-08 16:32:40", "repo_name": "AnIllusions/BookManagement", "sub_path": "/src/com/ambow/model/yingshe.java", "file_name": "yingshe.java", "file_ext": "java", "file_size_in_byte": 664, "line_count": 23, "lang": "z...
package com.ambow.model; import org.hibernate.cfg.AnnotationConfiguration; import org.hibernate.cfg.Configuration; import org.hibernate.tool.hbm2ddl.SchemaExport; import org.junit.Test; @SuppressWarnings("deprecation") public class yingshe { @Test public void test(){ Configuration configuration = new AnnotationC...
5aa22b23-73ab-484e-b56f-230c15cf3327
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-10 09:58:57", "repo_name": "RobertStoyanov0210/Project_V2_F90782", "sub_path": "/classes/Cashier.java", "file_name": "Cashier.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 33, "lang": "en"...
package classes; public class Cashier { private int ID; private static int counter = 1000; private String name; private Shop workplace; public Cashier(String name, Shop workokace) { this.ID = counter; counter++; this.name = name; this.workplace = workokace; } public Shop ...
a1ef0631-b70a-4b41-a1ed-ec8544252f2b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-26T19:42:33", "repo_name": "ttimpe/homebridge-laundrify", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 614, "line_count": 24, "lang": "en", "doc_type": "text",...
# homebridge-laundrify ## Update This plugin is now deprecated and will no longer be supported. Please migrate to homebridge-laundrify-official. Simple homebridge ContactSensor plugin for laundrify adapters. ## Configuration Simply put this in the accessories array of your config.json: { "access...
94132c92-ea9c-4126-975e-698a8a7a7c0b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-05 21:44:34", "repo_name": "sbcd90/spring-cloud-netflix-eureka-ribbon", "sub_path": "/spring-cloud-hystrix/hystrix-aggregate/src/main/java/org/springframework/test/commands/collapsed/PersonRequestCommand.java"...
package org.springframework.test.commands.collapsed; import com.netflix.hystrix.HystrixCommand; import com.netflix.hystrix.HystrixCommandGroupKey; import java.util.List; public class PersonRequestCommand extends HystrixCommand<List<Person>> { private final List<Integer> ids; private final PersonServic...
5e84529c-4a72-4f2a-9ea4-3e18a456563a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-14 13:34:03", "repo_name": "Legyver/fenxlib", "sub_path": "/fenxlib.api/src/main/java/com/legyver/fenxlib/api/locator/AbstractNamedContext.java", "file_name": "AbstractNamedContext.java", "file_ext": "java", "...
package com.legyver.fenxlib.api.locator; /** * Base class for context information about the region in which to register a component */ public class AbstractNamedContext { private String name; /** * Construct a context wrapping the name of the component * @param name the name of the component */ public Abs...
163d9fba-27b4-42b7-9e6b-545d10093e7f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-01 09:19:23", "repo_name": "wxh646121331/test", "sub_path": "/src/main/java/com/wxh/datastructure/entity/Hero.java", "file_name": "Hero.java", "file_ext": "java", "file_size_in_byte": 618, "line_count": 32, "l...
package com.wxh.datastructure.entity; import lombok.Getter; /** * @description: * @author: wuxinhong * @date: 2020/1/8 * @time: 下午6:59 */ @Getter public class Hero { private int no; private String name; private String nickName; public Hero(int no, String name, String nickName){ this.no =...
6b9972ed-0436-45b1-af1c-d2e4fc45d839
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-02 07:47:16", "repo_name": "MrXRain/CameraFrameWork", "sub_path": "/camera/src/main/java/com/core/camera/option/Hdr.java", "file_name": "Hdr.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 4...
package com.core.camera.option; /** * @author rain * @date 2019/3/20 */ public enum Hdr implements Control { /** * OFF mode */ OFF(0), /** * ON mode */ ON(1); private int value; public static final Hdr DEFAULT = OFF; Hdr(int value) { this.value = value; ...
2bb32081-ecf9-4b11-b682-d7da26893ce7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-29 21:01:26", "repo_name": "gibiansky/scriptrts", "sub_path": "/src/com/scriptrts/core/ui/Action.java", "file_name": "Action.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": 35, "lang": "en",...
package com.scriptrts.core.ui; /** * Action that can be run on a hotkey press */ public class Action { /** * The name of this action. Used for display on the UI. */ private String name; /** * Create a new action * @param name human-readable name for the action */ public Actio...
3360cc91-7df7-474e-949e-37a1cad4b21d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-30 01:18:55", "repo_name": "Bryanv6/workStuff", "sub_path": "/weekOne/assignment/src/main/java/Multithreading/IntThread.java", "file_name": "IntThread.java", "file_ext": "java", "file_size_in_byte": 614, "line...
package Multithreading; /** * Created by bryanvillegas on 4/4/18. */ public class IntThread extends Thread { static volatile int i = 0; public void run(){ for(int i = 0; i < 1000; i++){ incr(); } } public static void main(String[] args){ Thread t1 = new IntTh...
3eb53fcb-e7d2-4f1d-9cfa-1ed996f60d10
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-06 06:45:30", "repo_name": "antibits/pkast", "sub_path": "/ParkAssist/Bbs/src/main/java/com/pkast/bbs/module/BbsSpanItemSegment.java", "file_name": "BbsSpanItemSegment.java", "file_ext": "java", "file_size_in_...
package com.pkast.bbs.module; import java.util.List; public class BbsSpanItemSegment extends BbsItemSegment { private final String name="span"; private BbsItemAttr attrs; private List<BbsItemSegment> children; public String getName() { return name; } public BbsItemAttr getAttrs() {...
7ae90228-f4ce-4621-b392-e03c3424f142
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-16 07:23:09", "repo_name": "aanthonyawad1/accov_1064n_2019", "sub_path": "/src/main/java/si/isae/edu/lb/accov_1064n_2019/client/ClientCommands.java", "file_name": "ClientCommands.java", "file_ext": "java", "fi...
/* * 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 si.isae.edu.lb.accov_1064n_2019.client; /** * * @author Aanthony */ public enum ClientCommands { _UNKNOWN("error"), ...
92ad7c63-ae15-433a-9c28-c0e557739bbe
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-06 01:30:32", "repo_name": "sandeepsetty/SpringFramework", "sub_path": "/Springprograms/SpringLifeCycle/src/com/sandeep/spring/MainApp.java", "file_name": "MainApp.java", "file_ext": "java", "file_size_in_byte...
package com.sandeep.spring; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class MainApp { public static void main(String[] args) { AbstractApplicationContext context = new ClassPathXmlApplicationContext("Bea...
16ea344c-4ca1-45d2-9fb0-c3790f369558
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-22 23:34:40", "repo_name": "garima2221/musicNyouth", "sub_path": "/src/main/java/com/org/musicAndYouthAttend/serviceImpl/RolesService.java", "file_name": "RolesService.java", "file_ext": "java", "file_size_in_...
/** * */ package com.org.musicAndYouthAttend.serviceImpl; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.org.musicAndYouthAttend.form.Roles; import com.org.musicAndYouthAttend.service.RolesRepository; /** * @author Music and Youth Organiza...
720f77bc-293f-4dc7-84c9-282f1f32bbab
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-14T00:19:02", "repo_name": "jonbro/mglueTemplate", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 613, "line_count": 11, "lang": "en", "doc_type": "text", "blob_...
A minimal template for making an mglue game. Clone this repo, then run `npm install` to get setup. The game is in `client_src/glueGame.ts` - currently this has a bunch of junk in it. You can rename this to whatever you want, just change the filename, and the matching line in `webpack.config.js` This project includes...
e1ee918f-8eba-4f02-81aa-44b7ec610e65
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-11-06 03:32:46", "repo_name": "road-framework/ROADFactory", "sub_path": "/src/au/edu/swin/ict/serendip/client/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 614, "line_count": ...
package au.edu.swin.ict.serendip.client; import au.edu.swin.ict.serendip.message.Message; /** * @deprecated * * @author Malinda * */ public class Client { private String id = null; private String roleId = null; public String getId() { return id; } public void setId(String id) { this.id ...
bf5b3790-c676-4b49-b6c7-20717e5b12b6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-03 02:17:06", "repo_name": "blakehooks/Pokemon", "sub_path": "/Pokemon/src/items/ItemList.java", "file_name": "ItemList.java", "file_ext": "java", "file_size_in_byte": 615, "line_count": 34, "lang": "en", "doc...
package items; import java.util.ArrayList; public class ItemList { private ArrayList<Item> items; public ItemList() { items = new ArrayList<Item>(); } public boolean contains(Item i) { for (int j = 0; j < items.size(); j++) { if (items.get(j).getName().equals(i.getName())) { return tru...
6ad7f3ed-ad99-40f7-be99-8838c7d85c36
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-26 15:29:12", "repo_name": "dmitriygithub2/NTFS", "sub_path": "/src/ntfs/TreeFile.java", "file_name": "TreeFile.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 24, "lang": "en", "doc_type": ...
import javax.swing.tree.DefaultMutableTreeNode; public class TreeFile extends DefaultMutableTreeNode { private String name; private boolean folder; public TreeFile(String name, boolean isFolder) { super(name); this.name = name; this.folder = isFolder; } publi...
3c4b801e-01d5-4c5b-9f06-562460c451d5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-14T11:49:09", "repo_name": "unikcc/constituency-nnce-lstm", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 613, "line_count": 17, "lang": "en", "doc_type": "text...
## Main code for the NLPCC submission. ### Requirements + Python >= 3.7.0 + Run ```pip -r requirements.txt``` to install the other requirements. ### Data: + The original data is at ./data/dataset and it contains three json files: train.json, test.json, valid.json. + These jsons are extracted from our annota...
6acbd753-6b6a-4433-8e4c-e8babf041d10
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 15:35:03", "repo_name": "WoLaoLi/design", "sub_path": "/src/main/java/com/cn/xx/design/FlyweightPattern/Flyweight.java", "file_name": "Flyweight.java", "file_ext": "java", "file_size_in_byte": 732, "line_co...
package com.cn.xx.design.FlyweightPattern; /** * @Author: ldl * @Date: 2019/10/15 15:18 * @Version 1.0 * @Des: 所有享元类的超类或接口,通过这个接口。Flyweight可以接受并作用于外部状态 */ public abstract class Flyweight { //内部状态 private String intrinsic; //外部状态 private final String extrinsic; //要求享元角色必须接受外部状态 public Fly...
b3b41db3-ebaf-4370-838b-080739c5f1e3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-14 09:44:51", "repo_name": "WithYouZP/apiparent", "sub_path": "/api-common/src/main/java/com/zp/api/common/dialect/db/MysqlDialect.java", "file_name": "MysqlDialect.java", "file_ext": "java", "file_size_in_byt...
package com.zp.api.common.dialect.db; import com.zp.api.common.dialect.Dialect; /** * @program: apiparent * @description: mysql方言解析器 * @author: zp * @create: 2019-04-19 23:20 **/ public class MysqlDialect implements Dialect { @Override public String getLimitString(String sql, int firstResult, int maxResu...
e0dafe5a-ae99-457b-8c56-53dadeefc73f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-13 22:53:19", "repo_name": "istvanpercsi/DackelCMDB", "sub_path": "/projects/DackelCMDB-JavaBackend/DackelCMDBSpring_ALT/dackelcmdb-persistence/src/main/java/de/percsi/products/dackelcmdb/persistence/EntityDat...
package de.percsi.products.dackelcmdb.persistence; import lombok.*; import javax.persistence.*; @Entity(name = Tables.ENTITY_DATA) @Table(name = Tables.ENTITY_DATA) @AllArgsConstructor @NoArgsConstructor @Getter @Setter @Builder public class EntityDataModelDB { @Id @Column(name = "id") Long id; @OneToO...
4159455f-b8bd-4bf7-88a0-e0c1ea2ecc8a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-07 05:00:02", "repo_name": "coffuture/ICamp", "sub_path": "/src/main/java/com/yjn/icamp/service/TeacherService.java", "file_name": "TeacherService.java", "file_ext": "java", "file_size_in_byte": 618, "line_cou...
package com.yjn.icamp.service; import com.yjn.icamp.entity.Teacher; import com.yjn.icamp.reposirity.TeacherRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * @Author: yjn * @Date: 2018/10/6 下午3:44 */ @Service public class TeacherService {...
445d57ef-e342-432f-b2b2-edcaee2aed92
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-14 00:50:58", "repo_name": "bufferingspirit/TripApplication", "sub_path": "/app/src/main/java/com/example/admin/tripapplication/view/triplistactivity/TripListActivityPresenter.java", "file_name": "TripListActi...
package com.example.admin.tripapplication.view.triplistactivity; import android.content.Context; public class TripListActivityPresenter implements TripListActivityContract.Presenter { TripListActivityContract.View view; private static final String TAG = "TripListActivityPresenter"; private Context context...
95cbed9b-b086-461c-813d-815a970aa5d4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-04 13:23:18", "repo_name": "br33f/SpecMed", "sub_path": "/BE/src/test/java/com/i4m1s1/specmed/core/helper/CommonHelperTest.java", "file_name": "CommonHelperTest.java", "file_ext": "java", "file_size_in_byte": ...
package com.i4m1s1.specmed.core.helper; import org.junit.Test; import static org.junit.Assert.*; /** * @author Tobiasz Fortaszewski <t.fortaszewski@gmail.com> */ public class CommonHelperTest { @Test public void shouldReturnFalseWhenNull() throws Exception { //given Object thisIsNull = nul...
9f5980ad-afb9-4896-92b3-ccd48c821814
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-01 12:54:40", "repo_name": "bkdpchaturvedi/PRMS_Android", "sub_path": "/app/src/main/java/sg/edu/nus/iss/phoenix/restful/Error.java", "file_name": "Error.java", "file_ext": "java", "file_size_in_byte": 614, "l...
package sg.edu.nus.iss.phoenix.restful; import java.io.Serializable; public class Error implements Serializable { private String description; private String error; public String getError() { return error; } public void setError(String error) { this.error = error; } publ...
21744b32-d401-45f9-82be-67d2de9387a4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 12:59:10", "repo_name": "dolittle-entropy/office-lunch", "sub_path": "/src/main/java/io/dolittle/lunch/web/dto/LunchStatDTO.java", "file_name": "LunchStatDTO.java", "file_ext": "java", "file_size_in_byte": ...
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package io.dolittle.lunch.web.dto; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.Date; @Data @EqualsAndHashCode public class LunchStatDTO impl...
439559b7-f37a-4493-a895-a7170adc0e75
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-29 07:05:16", "repo_name": "shanehan/opt-log", "sub_path": "/src/main/java/kim/hanjie/common/opt/LoggerOptLogRecorder.java", "file_name": "LoggerOptLogRecorder.java", "file_ext": "java", "file_size_in_byte": 6...
package kim.hanjie.common.opt; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author han * @date 2021/3/10 */ public class LoggerOptLogRecorder implements IOptLogRecorder { private Logger logger = LoggerFactory.getLogger("opt-log"); /** * 是否支持记录这种操作 * * @param record 记录 ...
d7566966-55a1-4a6e-bafc-5ef30c503551
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-28 12:40:21", "repo_name": "onien/Kiriku", "sub_path": "/src/main/java/me/m69/core/essentials/HatCommand.java", "file_name": "HatCommand.java", "file_ext": "java", "file_size_in_byte": 615, "line_count": 19, "...
package me.m69.core.essentials; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class HatCommand implements CommandExecutor { public boolean onCommand(CommandSender sender, Command cmd, String cm...
6a12b74c-1c0e-4ca2-9087-06db6cea65fa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-27 19:05:15", "repo_name": "cbrt4/GameNews", "sub_path": "/app/src/main/java/com/alex/gamenews/repositories/BitmapRepository.java", "file_name": "BitmapRepository.java", "file_ext": "java", "file_size_in_byte"...
package com.alex.gamenews.repositories; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import com.alex.gamenews.interfaces.Repository; import java.net.HttpURLConnection; import java.net.URL; public class BitmapRepository implements Repository<Bitmap> { @Override public Bitmap getData...
4768c984-3475-4a4e-8f96-81586710529c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-11 16:47:11", "repo_name": "deltavi/lab", "sub_path": "/java-dsl-experiments/src/main/java/com/vincenzodevivo/experiments/dsl/GroupExpression.java", "file_name": "GroupExpression.java", "file_ext": "java", "fi...
package com.vincenzodevivo.experiments.dsl; import java.util.List; /** * Created by Vincenzo De Vivo on 21/01/2017. */ public class GroupExpression extends Expression { private List<Expression> expressions; public GroupExpression(List<Expression> expressions) { this.expressions = expressions; }...
30b273ce-eebb-499f-8aa9-4d586a2be51e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-30 03:31:25", "repo_name": "linkfunlee/PanalRF", "sub_path": "/nim_demo/demo/src/com/netease/nim/demo/lesRf/fragment/MyRFFragment.java", "file_name": "MyRFFragment.java", "file_ext": "java", "file_size_in_byte...
package com.netease.nim.demo.lesRf.fragment; import android.app.Fragment; import android.content.Intent; import com.netease.nim.demo.lesRf.RFappHomeActivity; import com.netease.nim.demo.main.activity.MainActivity; public class MyRFFragment extends android.support.v4.app.Fragment { @Override public void sta...
928bdd20-76ae-41e4-ba9c-c7afc58c170b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 00:33:37", "repo_name": "thiagolm200/tcc-api", "sub_path": "/src/main/java/com/unip/tcc/resource/HistoryDetail.java", "file_name": "HistoryDetail.java", "file_ext": "java", "file_size_in_byte": 614, "line_c...
package com.unip.tcc.resource; import java.text.SimpleDateFormat; import java.util.Date; public class HistoryDetail { private String date; private String quantity; public HistoryDetail(Date date, String quantity) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MM"); this.date = simpleDa...
70de5a65-98a6-49cb-8fda-0c9b23c28ce4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-15 07:42:58", "repo_name": "efostach/JavaDesignPatterns", "sub_path": "/src/main/java/com/efostach/behavioral/chain/LoginProcess.java", "file_name": "LoginProcess.java", "file_ext": "java", "file_size_in_byte"...
package com.efostach.behavioral.chain; public abstract class LoginProcess { private int priority; private LoginProcess nextLoginProcess; public LoginProcess(int priority) { this.priority = priority; } public void setNextLoginStep(LoginProcess nextProcess) { this.nextLoginProcess ...
37f185ad-dd20-4e81-ab0d-3f61dbdece5b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-26 14:55:21", "repo_name": "sourcepit/b2eclipse", "sub_path": "/core/org.sourcepit.b2eclipse/src/org/sourcepit/b2eclipse/input/node/WSNameValidator.java", "file_name": "WSNameValidator.java", "file_ext": "java...
package org.sourcepit.b2eclipse.input.node; import java.util.ArrayList; import java.util.List; public class WSNameValidator { private List<String> wsNames; public WSNameValidator() { wsNames = new ArrayList<String>(); } public String validate(String name) { while (wsNames.contains(nam...
9c82efee-2850-4d74-a91a-07669b111d1b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-09 03:07:24", "repo_name": "wyliedu/SpringBootBlog", "sub_path": "/src/main/java/com/waylau/spring/boot/blog/service/AuthorityServiceImpl.java", "file_name": "AuthorityServiceImpl.java", "file_ext": "java", "f...
package com.waylau.spring.boot.blog.service; import com.waylau.spring.boot.blog.domain.Authority; import com.waylau.spring.boot.blog.repository.AuthorityRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * Crete by Marlon * Create Date: {DAT...
3073c9a4-82fe-4650-ad24-dc9c2f5799d6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-28 07:58:44", "repo_name": "hujchen/hcute-security", "sub_path": "/hcute-security-core/src/main/java/hoo/hcute/security/core/validate/code/image/ImageCode.java", "file_name": "ImageCode.java", "file_ext": "jav...
package hoo.hcute.security.core.validate.code.image; import hoo.hcute.security.core.validate.code.ValidateCode; import lombok.Data; import java.awt.image.BufferedImage; import java.io.Serializable; @Data public class ImageCode extends ValidateCode implements Serializable { private static final long serialVersio...
8723324b-c476-4502-a3e6-bfd551cde93a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-06-26T17:43:10", "repo_name": "bitmakerlabs/wdi-cohort7-lecture-code", "sub_path": "/w2d3-html-css/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 612, "line_count": 23, "lang": "...
# HTML & CSS Today we'll be going over the basics of HTML and CSS, how to create simple, well-structured and semantic documents for the web. We'll also discuss using layouts in Sinatra, which will come in handy next week when we start using Rails. ## AGENDA 1. HTML Then and Now 2. The most basic HTML document 3. Sem...
bbd76792-9b74-4701-a47c-c33b6642d45d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-16 04:31:20", "repo_name": "sasbury/genetik", "sub_path": "/src/com/sasbury/genetik/insertion/ParentInsertion.java", "file_name": "ParentInsertion.java", "file_ext": "java", "file_size_in_byte": 614, "line_cou...
package com.sasbury.genetik.insertion; import com.sasbury.genetik.*; import com.sasbury.genetik.population.*; /** * Looks at parent one in ind and if it is a valid index into population, the program at that index is replaced. */ public class ParentInsertion extends AbstractInsertionScheme { public voi...
30e32216-a0c7-4e73-b1f3-fa5438c5f159
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-10 01:37:11", "repo_name": "salahaz/DJ2", "sub_path": "/src/dj2/core/Style.java", "file_name": "Style.java", "file_ext": "java", "file_size_in_byte": 612, "line_count": 30, "lang": "en", "doc_type": "code", "b...
package dj2.core; /** * Contains the majority of music styles * @author Salah Eddine Azekour * */ public enum Style { ROCK("ROCK"), POP("POP"), REGGAE("REGGAE"), HOUSE("HOUSE"), DANCE("DANCE"), RHYTHM_AND_BLUES("R&B"), INDIE("Indie"), SOUL("Soul"), ELECTRONIC("Electronic"), ALTERNATIVE("Alternative"); ...
d35ef8cb-df79-487b-9b08-9ab93465ce8e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-11 00:46:49", "repo_name": "wj1996/taotao", "sub_path": "/taotao-content/taotao-content-service/src/test/java/com/wj/taotao/test/Demo02.java", "file_name": "Demo02.java", "file_ext": "java", "file_size_in_byte...
package com.wj.taotao.test; import com.wj.taotao.content.jedis.JedisClient; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class Demo02 { @Test public void test1(){ //初始化spring容器 A...
b8572796-e457-43c0-8513-742e7cecae5c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-30 05:47:27", "repo_name": "xucg1993/wex", "sub_path": "/wex-weixin/src/main/java/com/xuc/wex/controller/coach/BaseCoachController.java", "file_name": "BaseCoachController.java", "file_ext": "java", "file_size...
package com.xuc.wex.controller.coach; import com.xuc.wex.controller.BaseAdminController; import com.xuc.wex.service.interfaces.coach.CoachService; import com.xuc.wex.service.interfaces.user.UserService; import com.xuc.wex.service.interfaces.usercoach.UserCoachService; import org.springframework.beans.factory.annotatio...
57e18842-d232-4a8e-a585-ee241446e210
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-05-25 21:53:37", "repo_name": "wai2k/RenalPatientView", "sub_path": "/src/java/com/worthsoln/patientview/TestResultWithUnitShortname.java", "file_name": "TestResultWithUnitShortname.java", "file_ext": "java", "fi...
package com.worthsoln.patientview; import java.util.Calendar; public class TestResultWithUnitShortname extends TestResult { private String shortname; public TestResultWithUnitShortname() { } public TestResultWithUnitShortname(String nhsno, String unitcode, Calendar datestamp, String testcode, Strin...
70c8bd35-243f-4136-a40a-ed24c3cbc1c5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-11T13:57:57", "repo_name": "jvranish/hyperapp_experiment", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 614, "line_count": 17, "lang": "en", "doc_type": "text"...
## Running it: My favorite simple webserver (which is what I would recommend for checking out this example) is the built-in python simple webserver (Though any webserver will do). ### For python 3: python -m http.server ### For python 2: python -m SimpleHTTPServer ### Just using the browser Alternativel...
e88f610f-7508-4399-957b-c0d7bea077cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-04T05:26:05", "repo_name": "xiaoerwu/xiaoerwu.github.io", "sub_path": "/_posts/Tech/2016-03-13-Eclpise_common_commands.md", "file_name": "2016-03-13-Eclpise_common_commands.md", "file_ext": "md", "file_siz...
--- published: true layout: post title: Eclipse调试代码常用快捷键 category: Tech tags: - cpp - c - Eclipse time: 2016.03.05 20:42:45 excerpt: NULL --- ## 调试(Debug) ###### 查找函数的所有引用 >方法一: >右击->Reference->Workspace > >方法二: >快捷键:Shift + Ctrl + G ###### 单步执行(遇到函数,进入函数单步执行) >快捷键:F5 ###### 单步执行(遇到函数,跳过该函数) >快捷键:F6 ###### ...
c32af8db-52f4-4bd3-9340-4fc38537a04d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-29 00:58:47", "repo_name": "arthurgregorio/mini-budget", "sub_path": "/src/main/java/br/eti/arthurgregorio/minibudget/model/validation/movement/MovementValidatorWrapper.java", "file_name": "MovementValidatorWr...
package br.eti.arthurgregorio.minibudget.model.validation.movement; import br.eti.arthurgregorio.minibudget.model.entities.Movement; import org.springframework.stereotype.Component; import java.util.Set; @Component public class MovementValidatorWrapper { private final Set<MovementSavingValidator> savingValidato...
88e0f28d-317e-48fc-a9a0-e5e58be6a85c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-29T13:59:31", "repo_name": "NinaHahne/imageboard-sloths", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 613, "line_count": 27, "lang": "en", "doc_type": "text",...
# Imageboard - Gallery of Sloths Instagram-like gallery built with Vue.js ## Features * Allows users to upload images along with a title and a description * other users can leave comments on each image ## Technologies HTML5, CSS3, JavaScript, Vue.js, Node.js/Express, PostgreSQL, AWS ## Preview ### GALLERY / OVERVIE...
e0cc3da1-1c77-4a34-97b8-700d1c58682a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-08 06:33:05", "repo_name": "eggbrid/SHProject", "sub_path": "/app/src/main/java/com/shpro/xus/shproject/bean/user/UserBag.java", "file_name": "UserBag.java", "file_ext": "java", "file_size_in_byte": 627, "line...
package com.shpro.xus.shproject.bean.user; import com.shpro.xus.shproject.bean.Bag; import com.shpro.xus.shproject.bean.SHBean; import java.util.List; import cn.bmob.v3.BmobObject; /** * Created by xus on 2016/11/18. */ public class UserBag extends BmobObject { private String userid;//用户属性关联建 private Lis...
b0e832f3-831f-414c-9e61-4d688e7f2384
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-19 12:44:53", "repo_name": "goddan1337/FlappyDoggy", "sub_path": "/desktop/src/com/flappydoggy/game/desktop/DesktopLauncher.java", "file_name": "DesktopLauncher.java", "file_ext": "java", "file_size_in_byte": ...
package com.flappydoggy.game.desktop; import com.badlogic.gdx.Files.FileType; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import com.flappydoggy.game.FlappyDoggy; public class DesktopLauncher { public static void main (String[] arg) {...
f7dd7206-fbbe-44a1-9a0c-bae0dc1d3526
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-17 02:50:09", "repo_name": "mxl201700/cg", "sub_path": "/changgou-gateway/changgou-gateway-web/src/main/java/cn/itcast/filter/URLFilter.java", "file_name": "URLFilter.java", "file_ext": "java", "file_size_in_b...
package cn.itcast.filter; /** * Package: cn.itcast.filter * Author: Mxl * Date: Created in 2019/9/3 10:04 **/ public class URLFilter { /** * 要放行的路径 */ private static final String nointerceterurl="/api/user/login,/api/user/add"; /** * 用来判断 如果 当前的请求 在 放行的请求中存在,(不需要拦截 :true,否则需要拦截:false) ...
e0031ecb-ff6c-485a-be05-06431adfda59
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-17 16:21:38", "repo_name": "anxgreat/spring-solid", "sub_path": "/src/solidtutorial/supports/impl/CalculationMessage.java", "file_name": "CalculationMessage.java", "file_ext": "java", "file_size_in_byte": 613,...
package solidtutorial.supports.impl; public class CalculationMessage extends AnimalData { public String getMessage() { String message = "<br><br><br><div style='text-align:center;'>" + "<h2>Domba "+spesies+" Bobot = "+bobot+"</h3>" + "<h3>Total Pakan Konsentrat = " +konsentratWeight+"</h3>" + "<h3>T...
58fe477f-3fca-40ab-99c6-3b4a69256ac8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-04T13:37:35", "repo_name": "l-4-l/buildsystem-ubuntu1604", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 613, "line_count": 18, "lang": "en", "doc_type": "text"...
# buildsystem-ubuntu1604 Based on: * https://github.com/4lex4/scantailor-libs-build * https://github.com/westonsteimel/docker-boost/blob/master/1.66.0/alpine/3.8/Dockerfile * https://dl.bintray.com/boostorg/release/1.66.0/source/ * https://waqarrashid33.blogspot.com/2017/12/installing-boost-166-in-ubuntu-1604.html To...
fce46561-341b-43fb-bcb8-9b8494cc2944
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-03 15:32:45", "repo_name": "Nansy-S/ConcertTickets", "sub_path": "/src/main/java/com/prokopovich/sitairis/concerttickets/entity/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte"...
package com.prokopovich.sitairis.concerttickets.entity; import lombok.*; import javax.persistence.*; @Data @Entity @Table(name = "покупатель_билета") @AllArgsConstructor @NoArgsConstructor @Getter @Setter public class Client { @Id @Column(name = "id_пользователя") private int clientId; @ManyToOne ...
737a6338-0066-422f-b9e8-7ed5087668c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-29T08:03:03", "repo_name": "Technoraul/zabbix", "sub_path": "/whois_script/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 616, "line_count": 18, "lang": "en", "doc_type": "tex...
## The script is based on the whois utility and used to monitor the domain expiration date. ### 1. Create script file in right dir. sudo vim /usr/lib/zabbix/externalscripts/whois.sh ### 2. Make it executable. sudo chmod +x /usr/lib/zabbix/externalscripts/whois.sh ### 3. Create new template on zabbix. ### 4. Create...
ec2bcba8-3f71-4643-801e-482c46a8a44d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-22 03:14:17", "repo_name": "tecnicas-g7/template-tp-grupal", "sub_path": "/server/src/test/java/StickTests.java", "file_name": "StickTests.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 31,...
import game.Controller; import game.Player; import org.junit.Test; import server.GamePaths; import server.driver.Driver; import server.driver.GameDriver; /** * Created by fran on 09/06/16. */ @SuppressWarnings("CPD-START") public class StickTests { private GameDriver driver; public void initGame(String ja...
c23f1395-6bbe-4602-938d-81fbcfee7d23
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-22 04:02:36", "repo_name": "hanhmh1203/automation_testing", "sub_path": "/src/test/java/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 23, "la...
import io.appium.java_client.MobileElement; import io.appium.java_client.android.AndroidDriver; import org.openqa.selenium.support.ui.WebDriverWait; public abstract class BaseActivity implements AppActivity{ AndroidDriver<MobileElement> mDriver; boolean isRunning =false; public static Boolean isNali = tr...
93c44c89-0d3e-41a8-8920-9596f00641f8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-12 12:20:02", "repo_name": "geocento/EOBroker", "sub_path": "/src/com/geocento/webapps/eobroker/common/shared/entities/formelements/DoubleFormElement.java", "file_name": "DoubleFormElement.java", "file_ext": "...
package com.geocento.webapps.eobroker.common.shared.entities.formelements; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; /** * Created by thomas on 23/06/2016. */ @Entity @DiscriminatorValue("DOUBLE") public class DoubleFormElement extends FormElement { Double min; Double ma...
8f9e7266-152d-4ba8-81a9-9c99727411e0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-05 00:28:20", "repo_name": "gowcar/common-lib", "sub_path": "/src/main/java/com/jiaxintec/common/exception/HttpException.java", "file_name": "HttpException.java", "file_ext": "java", "file_size_in_byte": 620, ...
package com.jiaxintec.common.exception; import lombok.Data; /** * Class Name: HttpException * Author: Jacky Zhang * Create Time: 2019/6/17 下午5:14 * Description: */ @Data public class HttpException extends RuntimeException { private int status; private int code; public HttpException(int status,...
1f721751-9570-46b5-a22b-edccea958a3d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-19T07:27:41", "repo_name": "cx265/mye", "sub_path": "/hibernate4_2/src/cap/bean/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 44, "lang": "en", "doc_type":...
package cap.bean; import java.util.HashSet; import java.util.Set; public class Order { private Integer id; private String date; private Set<Product> products = new HashSet<Product>(); public Order() { } public Order(String date) { this.date = date; } public Integer getId() { return id; } public voi...
4fdfe625-3121-4b11-9ec3-b188605746b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 06:08:12", "repo_name": "InverseOfControl/pic", "sub_path": "/src/main/java/com/yuminsoft/cps/pic/_admin/filetag/FiletagService.java", "file_name": "FiletagService.java", "file_ext": "java", "file_size_in_b...
/** * Copyright (c) 2017, gaojf@yuminsoft.com All Rights Reserved. <br/> * Date:2017年3月14日下午4:03:36 * */ package com.yuminsoft.cps.pic._admin.filetag; import java.util.List; import com.yuminsoft.cps.pic.common.model.Filetag; /** * ClassName:FiletagService <br/> * Date: 2017年3月14日 下午4:03:36 <br/> * * @author ...
962636e0-7908-4bf5-b009-1e15124ca322
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-05 14:04:48", "repo_name": "reactive-microservices/reactive-profile", "sub_path": "/src/main/java/com/max/reactive/profile/ProfileMain.java", "file_name": "ProfileMain.java", "file_ext": "java", "file_size_in_...
package com.max.reactive.profile; import io.vertx.core.Vertx; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.invoke.MethodHandles; final class ProfileMain { private static Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); private ProfileMain() { ...
d0701cb5-4194-4420-9531-6abe96469114
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-18 12:32:38", "repo_name": "buguge/api-idempotent", "sub_path": "/mideng/src/main/java/com/sboot/controller/TockenUtil.java", "file_name": "TockenUtil.java", "file_ext": "java", "file_size_in_byte": 614, "line...
package com.sboot.controller; import java.util.Map; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; public class TockenUtil { static Map<String, String> ticketMap = new ConcurrentHashMap<String, String>(); static String getToken() { String s = UUID.randomUUID().toStrin...
561c2f23-c7a5-46c0-8b3a-3b33c6df5a1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-07T03:17:41", "repo_name": "kaetojn/CSC309A4", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 613, "line_count": 12, "lang": "en", "doc_type": "text", "blob_id":...
# CSC309A4 After you have cloned our repository, npm install to download all the dependencies that are listed inside the package.json file. It is convinient to debug and see the logs of the website with a application. It monitors the application and watches any changes and restarts the server automatically when the c...
f7796e33-5912-4ebc-9f9e-a87d332c57b0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-02T11:33:20", "repo_name": "Ouay/MVP", "sub_path": "/STT/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 615, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id": "47...
# Purposes This module performs any Speach-To-Text processes. From recording/streaming the microphone to requesting api to convert the input. ## Recording There are multiple solutions to get the audio, but lots of them doesn't work on the Raspberry Pi. At the end, it appears that 2 solutions may be used: - Record...
91073e84-da84-4c16-b6c0-e7572aae03eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-13 18:21:56", "repo_name": "ncdevschool/etalon2017", "sub_path": "/frontend/src/main/java/com/netcracker/etalon/converters/FacultyViewModelToFacultyEntityConverter.java", "file_name": "FacultyViewModelToFacult...
package com.netcracker.etalon.converters; import com.netcracker.etalon.beans.FacultyViewModel; import com.netcracker.etalon.entities.FacultyEntity; import org.springframework.core.convert.converter.Converter; /** * Created by Anton Petkun on 19.11.2017. */ public class FacultyViewModelToFacultyEntityConverter imple...
9baec57d-64f2-4e61-a44e-e970e30889b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-26 13:32:06", "repo_name": "nikhitasnair/test", "sub_path": "/src/com/howtodoinjava/test/ElementFactory.java", "file_name": "ElementFactory.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 28...
package com.howtodoinjava.test; import org.openqa.selenium.By; public class ElementFactory { public By userNameElement = By.name("txtUserId"); public By passwordElement = By.name("txtPassword"); public By loginElement = By.id("btnSignIn"); //elements for method factory ...
85d8703f-c91e-447a-9d8a-99c5ece4647c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-26 07:11:09", "repo_name": "bishion/backend", "sub_path": "/src/main/java/com/bizi/backend/utils/SecurityUtil.java", "file_name": "SecurityUtil.java", "file_ext": "java", "file_size_in_byte": 624, "line_count"...
package com.bizi.backend.utils; import lombok.extern.slf4j.Slf4j; import org.apache.commons.codec.binary.Base64; import java.security.MessageDigest; /** * Created by guo on 16-10-5. */ @Slf4j public class SecurityUtil { public static String md5Enc(String message){ try { MessageDigest messageD...
908afbbc-330d-4f22-ac7e-be5c7ea7491f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 11:41:34", "repo_name": "nobeldhar/But-first..", "sub_path": "/app/src/main/java/com/nobel/dhar/butfirst/ui/main/MainViewModel.java", "file_name": "MainViewModel.java", "file_ext": "java", "file_size_in_byt...
package com.nobel.dhar.butfirst.ui.main; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.nobel.dhar.butfirst.models.Item; import com.nobel.dhar.butfirst.repositories.MainRepository; import java.util.ArrayList; public class MainViewModel extends ViewModel { private Main...
ca68c04c-f210-42c3-b428-3adce630e018
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-01 06:50:14", "repo_name": "priyankagiri14/Ricaapp", "sub_path": "/app/src/main/java/com/ubits/payflow/payflow_network/Kits/MySimListn.java", "file_name": "MySimListn.java", "file_ext": "java", "file_size_in_b...
package com.ubits.payflow.payflow_network.Kits; import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import com.ubits.payflow.payflow_network.R; public class MySimListn extends AppCompatActivity { @Override protected void onCreate(Bundle saved...
8cd946ea-f73c-4db3-b84c-1ed47abce0e0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-10 09:42:25", "repo_name": "curroblanco/spring-formation", "sub_path": "/blog-microservice/src/main/java/es/urjc/code/entity/Comment.java", "file_name": "Comment.java", "file_ext": "java", "file_size_in_byte":...
package es.urjc.code.entity; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.time.LocalDate; @Entity @Data public class Comment implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) p...
674b68d3-4590-4bbf-bfbb-f3da19af6406
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-27 22:58:28", "repo_name": "Pieterjaninfo/IntelligentLearner", "sub_path": "/src/test/DocumentReading.java", "file_name": "DocumentReading.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 22,...
package test; import main.*; /** * Created by Pieter Jan on 29-12-2016. */ public class DocumentReading { public static void main(String[] args) { String path = "resources/corpus/train/M/"; main.DocumentProcessing dc = new main.DocumentProcessing(); long begin = System.currentTimeMilli...
94652276-8a11-481c-8efb-a450df0bf93c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-17 14:49:14", "repo_name": "zhouzhouyou/ContractServer", "sub_path": "/src/main/java/yuri/contract/server/service/BaseService.java", "file_name": "BaseService.java", "file_ext": "java", "file_size_in_byte": 61...
package yuri.contract.server.service; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import yuri.contract.server.mapper.ContractLogMapper; @Slf4j @Component public abstract class BaseService { private final Contract...
7a678278-eb79-4c6c-851c-652eb6bda1a6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 05:42:35", "repo_name": "15221572751/spring_boot", "sub_path": "/src/main/java/com/mcf/springboot/controller/McfController.java", "file_name": "McfController.java", "file_ext": "java", "file_size_in_byte": ...
package com.mcf.springboot.controller; import com.mcf.springboot.pojo.Person; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Date; /** * Created by admin on 2017/2/12. */ @RestController public class McfController { ...
89da7470-316b-4c61-bbbd-13a68ee940d6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-26 17:24:46", "repo_name": "MikeJeffress/Project4", "sub_path": "/app/src/main/java/com/example/michaeljeffress/project4/Data/Game.java", "file_name": "Game.java", "file_ext": "java", "file_size_in_byte": 612,...
package com.example.michaeljeffress.project4.Data; import java.util.ArrayList; /** * Created by michaeljeffress on 8/22/16. */ public class Game { private ArrayList<PlayerData> shooters; public Game() { shooters = new ArrayList<>(); } public void addPlayerToArrayList(PlayerData playerDat...
70dd3911-2c5c-4cd1-bdd3-b6836ca8694b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-04 09:35:52", "repo_name": "JMMMM/javaDemo", "sub_path": "/src/main/java/jvm/ConcurrentHashMapDemo.java", "file_name": "ConcurrentHashMapDemo.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": ...
package jvm; import java.util.*; import java.util.concurrent.ConcurrentHashMap; public class ConcurrentHashMapDemo { public static void main(String[] args) { Map<String,String> map = new ConcurrentHashMap<String, String>(); // Map<String,String> map = new HashMap<String, String>(); // map.pu...
aac2eafd-9b5f-44ac-b745-9d1c006149a1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-21 10:48:46", "repo_name": "userliyazhou/mycode-admin", "sub_path": "/code-create/src/main/java/com/code/common/utils/ConnectUtils.java", "file_name": "ConnectUtils.java", "file_ext": "java", "file_size_in_byt...
package com.code.common.utils; import com.code.common.dto.MysqlConnectDTO; import java.sql.Connection; import java.sql.DriverManager; public class ConnectUtils { public static Connection getMysqlConnection(MysqlConnectDTO mysqlConnectDTO) throws Exception { String url =mysqlConnectDTO.getUrl(); ...
ed9abefd-af7b-4631-a3a7-afcc349862b3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-08-11T13:14:23", "repo_name": "AutoSponge/wc-presentation", "sub_path": "/presentation/slides/037-template-model.md", "file_name": "037-template-model.md", "file_ext": "md", "file_size_in_byte": 612, "line_co...
##Other Models Templates have their own models. Template instances also have models. ```javascript showModel: function ( e, detail, sender ) { var dialog = this.$.dialog; var model = sender.templateInstance.model.file; var code = dialog.querySelector( 'code' ); code.innerHTML = JSON.stringify( model,...
0185097c-cd90-43a3-8115-7722d663155c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-26 18:13:55", "repo_name": "SulyokCsaba/NewsApp", "sub_path": "/app/src/main/java/com/example/android/newsapp/NewsLoader.java", "file_name": "NewsLoader.java", "file_ext": "java", "file_size_in_byte": 612, "li...
package com.example.android.newsapp; import android.content.AsyncTaskLoader; import android.content.Context; import java.util.List; class NewsLoader extends AsyncTaskLoader<List<News>> { private final String urlString; NewsLoader(Context context, String urlString) { super(context); this.url...
1d9c70a5-b0b3-4e45-9388-ba03e8c0d064
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-21 16:14:28", "repo_name": "LuciRepo/ClassInheritance3", "sub_path": "/src/main/java/ClassInheritance3/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 613, "line_count": 16, "lan...
package ClassInheritance3; public class Main { public static void main(String []args){ Product firstProduct=new Product("Zahar",23); Product secondProduct=new Product("Alune",21); SkinCareProduct firstSkinCareProduct=new SkinCareProduct("Ruj",27,"Red"); SkinCareProduct secondSkinCareProduct=new Ski...