id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
bbede934-7bac-4424-bac1-bc923577524b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-27 09:47:05", "repo_name": "loustrong/javastudy", "sub_path": "/src/main/java/com/wistron/wcd/SonClass.java", "file_name": "SonClass.java", "file_ext": "java", "file_size_in_byte": 869, "line_count": 50, "lang...
package com.wistron.wcd; class FatherClass { private String id; private String name; FatherClass() { this.name = "Zhang San"; this.id = "101"; } FatherClass(String id, String name) { this.name = name; this.id = id; } } final class SunClass extends FatherClass...
1f4329e1-c3c4-4e0a-b243-be1d9e8b56d7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-07 21:35:41", "repo_name": "CsanySoft/BloodyHell", "sub_path": "/core/src/hu/csanysoft/bloodyhell/Actors/HpKek.java", "file_name": "HpKek.java", "file_ext": "java", "file_size_in_byte": 869, "line_count": 27, ...
package hu.csanysoft.bloodyhell.Actors; import hu.csanysoft.bloodyhell.Global.Assets; import hu.csanysoft.bloodyhell.MyBaseClasses.Scene2D.OneSpriteStaticActor; public class HpKek extends OneSpriteStaticActor { private final Ember ember; private final float y; public HpKek(Ember ember, float y) { ...
73ac87c2-01a4-4168-a043-7a6c003cd412
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-27 06:53:24", "repo_name": "bitkylin/ClusterDeviceControlPlatform", "sub_path": "/SerialRawData/src/main/java/cc/bitky/clusterdeviceplatform/serialrawdata/utils/EigestUtil.java", "file_name": "EigestUtil.java"...
package cc.bitky.clusterdeviceplatform.serialrawdata.utils; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * 消息摘要算法工具类,此加密不可逆 */ public class EigestUtil { private static MessageDigest messageDigest; static { try { messageDigest = MessageDigest.ge...
542242b5-84bd-4614-a601-f11a823be650
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-06T14:01:15", "repo_name": "dkozel/wiki", "sub_path": "/Equipment/USRP-N210.md", "file_name": "USRP-N210.md", "file_ext": "md", "file_size_in_byte": 868, "line_count": 24, "lang": "en", "doc_type": "text",...
## Networking I use the following script to automatically add the USRP subnet when I connect to the local network. This allows me access to both the wider LAN and to the USRPs simultaneously on a single network interface. `/etc/network/if-up.d/add-usrp-subnet.sh` ``` #!/bin/bash if [[ `nmcli con...
bf968909-0230-4d41-a42a-7066f59ccbee
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-15 06:53:53", "repo_name": "1054694244/ShenzcBlog", "sub_path": "/blog-common/src/main/java/com/shenzc/CommonUtils/FormatDateUtils.java", "file_name": "FormatDateUtils.java", "file_ext": "java", "file_size_in_...
package com.shenzc.CommonUtils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /** * @author shenzc * @create 2019-03-14-9:38 */ //日期格式转换器 public class FormatDateUtils { //转换成日期+时间 public static String formatDateTime(Date dataTime){ SimpleDateFormat sdf...
f7fe2ca2-52cb-4d42-8689-51d35e119aa1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-02-15T13:55:38", "repo_name": "ammoammo/Testim.io-Automation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 869, "line_count": 31, "lang": "en", "doc_type": "text...
#Testim.io-Automation This is an assignment I got in my Software Engineer degree. It's a desktop app, written in C#. This app will automate and run tests created with [Testim.io](https://www.testim.io/). ## How to: 1. Create account in [Testim.io](https://www.testim.io/). 2. Create tests in [Testim.io](https://www....
8c6cd83e-af1c-42a1-a8f8-d5ef3423ad93
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-07-15T21:37:40", "repo_name": "tangmi/sosman", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 868, "line_count": 25, "lang": "en", "doc_type": "text", "blob_id": "a...
# stacks on stacks manager stack-based todo manager for a mostly automatic task prioritization strategy todo behavior: * make it so new tasks are added one below the current task * new prioritization policy (see below) todo tech: * allow for manual dragging tasks around * share model between server and client * sync...
5450b2b9-59fd-4001-a97e-086e2f67d40f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-15 04:09:09", "repo_name": "limityi/iuap-mdm", "sub_path": "/src/main/java/com/yonyou/iuap/project/job/LinesJob.java", "file_name": "LinesJob.java", "file_ext": "java", "file_size_in_byte": 878, "line_count": ...
package com.yonyou.iuap.project.job; import com.yonyou.iuap.project.service.LinesService; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.springframework.web.context.ContextLoader; import org.springframework.web.context.WebApplicationContext; ...
244c2065-1d55-4092-b2be-0888676dc5cf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-19 15:17:42", "repo_name": "sachin-koparde/Java", "sub_path": "/src/code/java/multithreading/waitandnotify/Notifier.java", "file_name": "Notifier.java", "file_ext": "java", "file_size_in_byte": 869, "line_coun...
package code.java.multithreading.waitandnotify; public class Notifier implements Runnable{ private Message message; public Notifier(Message message) { this.message = message; } @Override public void run() { String threadName = Thread.currentThread().getName(); System.out...
7fa8de94-da2b-46d0-b134-748ae323e3d4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-03 10:21:30", "repo_name": "Ondrej-vojtisek/bbmri", "sub_path": "/src/main/java/cz/bbmri/entities/SampleReservation.java", "file_name": "SampleReservation.java", "file_ext": "java", "file_size_in_byte": 869, "...
package cz.bbmri.entities; import org.hibernate.annotations.Type; import javax.persistence.Entity; import javax.persistence.ManyToOne; import javax.persistence.Table; import java.util.Date; /** * Request not asociated with project - it is "only" reservation of samples before uploading project * * @author Ondrej V...
57df9c70-d1d5-4f38-8859-0455512aaefc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-24 19:14:21", "repo_name": "DavidTurkGT/InheritanceProject", "sub_path": "/src/Notification.java", "file_name": "Notification.java", "file_ext": "java", "file_size_in_byte": 869, "line_count": 41, "lang": "en"...
import java.time.LocalDateTime; /** * Created by David Turk on 7/19/17. */ public abstract class Notification { private LocalDateTime createdAt; private String subject; private String body; protected String status; public Notification (String subject, String body){ this.subject = subject...
ae463aa2-7d79-410a-9a1f-77a36566b293
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-23 05:31:33", "repo_name": "jiayou5430/demo", "sub_path": "/src/main/java/com/example/demo/controller/client/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 881, "line_count"...
package com.example.demo.controller.client; import com.example.demo.controller.connection.Connection; import com.example.demo.controller.protocol.Protocol; /** * 对外提供接口 */ public class Client { Connection connection; public Client(String host,int port) { this.connection = new Connection(host,port)...
50582cea-5ddd-484d-8d82-acaf0e95e10c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-13 07:13:50", "repo_name": "Xifax/mother-father", "sub_path": "/app.gomorrah/src/main/java/com/gomorrah/motherfather/Info/Battery.java", "file_name": "Battery.java", "file_ext": "java", "file_size_in_byte": 86...
package com.gomorrah.motherfather.Info; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.BatteryManager; /** * Get battery info. */ public class Battery { protected Context context; public Battery(Context context) { this.context = contex...
9151216c-70a6-4d51-ab0f-39391029099a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-04T05:53:59", "repo_name": "ShellyNguyen98/weather-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 870, "line_count": 20, "lang": "en", "doc_type": "text", ...
THEN I am presented with a color that indicates whether the conditions are favorable, moderate, or severe WHEN I view future weather conditions for that city THEN I am presented with a 5-day forecast that displays the date, an icon representation of weather conditions, the temperature, and the humidity WHEN I click on ...
efe8845f-d88e-4853-88c1-50c63970f012
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-26 21:46:19", "repo_name": "tduperron/spring-kafka-22", "sub_path": "/spring22/src/main/java/com/example/spring22/KafkaConsumer.java", "file_name": "KafkaConsumer.java", "file_ext": "java", "file_size_in_byte"...
package com.example.spring22; import static com.example.spring22.KafkaTopic.TOPIC_21; import static org.slf4j.LoggerFactory.getLogger; import org.slf4j.Logger; import org.springframework.cloud.stream.annotation.EnableBinding; import org.springframework.cloud.stream.annotation.StreamListener; import org.springframewor...
5cf2af76-91b8-4713-aed5-90763c4102a4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-17 06:43:05", "repo_name": "draem0507/commontemplate", "sub_path": "/commontemplate/src/main/java/org/commontemplate/standard/reload/TextSourceComparator.java", "file_name": "TextSourceComparator.java", "file_...
package org.commontemplate.standard.reload; import java.io.IOException; import java.io.Reader; import java.io.Serializable; import org.commontemplate.config.SourceComparator; import org.commontemplate.core.Source; import org.commontemplate.core.Template; /** * 模板源全文比较器 * * @author liangfei0201@163.co...
94305423-14be-44cd-8d0f-e857f6ef044a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-20 13:23:42", "repo_name": "morgande51/trivia-app", "sub_path": "/trivia-service/src/main/java/com/nge/triviaapp/contestant/ContestantEndpoint.java", "file_name": "ContestantEndpoint.java", "file_ext": "java",...
package com.nge.triviaapp.contestant; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import lombok.extern.java.Log; ...
21927420-588a-49dd-92b1-eb61c4192c57
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-28 11:31:18", "repo_name": "aq1aq2/NCKH-Wifi", "sub_path": "/AndroidProject/WifiQualityManager/app/src/main/java/ctu/nckh/wifiquaman/activity/GetWifiInfo.java", "file_name": "GetWifiInfo.java", "file_ext": "ja...
package ctu.nckh.wifiquaman.activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.wifi.ScanResult; import android.net.wifi.WifiManager; import java.util.List; public class GetWifiInfo { WifiManager wifi; String wifis[]; WifiS...
22a726e4-7775-4891-b0b3-de15263bdd0c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-04T00:11:33", "repo_name": "AdamJacobson/GreenRain", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 868, "line_count": 16, "lang": "en", "doc_type": "text", "blo...
# [Green Rain](https://adamjacobson.github.io/GreenRain/) JavaScript project to make "Green Rain" computer code made famous by The Matrix. This is my first JavaScript project. Future improvements: * ~~Characters should fade from white to green then black instead of changing instantly~~ * ~~Each column should scroll a...
bba88386-ebb4-4d72-8fc4-75742d82ec14
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-06 13:34:22", "repo_name": "enchanted-crow/Bibliotaph", "sub_path": "/com.example.bibliotaph/models/Article.java", "file_name": "Article.java", "file_ext": "java", "file_size_in_byte": 867, "line_count": 39, "...
package com.example.bibliotaph.models; public class Article { private String fileName; private String textBody; private String dateAdded; public Article() {} public Article(String fileName, String textBody, String dateAdded) { this.fileName = fileName; this.textBody = t...
fb0382eb-d692-418e-aa2a-f677c7cd2ab1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-20 08:09:41", "repo_name": "LizGbus8/yooblog-java", "sub_path": "/src/main/java/com/rc/yooblog/common/dto/ArticleDto.java", "file_name": "ArticleDto.java", "file_ext": "java", "file_size_in_byte": 948, "line_c...
package com.rc.yooblog.common.dto; import lombok.Data; import java.time.LocalDateTime; /** * 作者:flandre on 2019/4/4 17:22 * 描述: */ @Data public class ArticleDto { /** * 编号 */ private Integer aId; /** * 标题 */ private String title; /** * 标签 */ private Integer ...
a7c58639-6d2d-46fe-b431-6b8f7d84f4d2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-08 18:52:52", "repo_name": "dasilva-gabriel/spigot-projects", "sub_path": "/2014-pvp-warcraft/2017-WarFightAPI/eu/pvpwarcraft/warfightapi/managers/Configuration.java", "file_name": "Configuration.java", "file_...
package eu.pvpwarcraft.warfightapi.managers; import java.io.File; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import eu.pvpwarcraft.warfightapi.WarFightAPI; public class Configuration { private static File sqlFile; private static FileConfigurat...
64e9a78e-ecce-41a1-a111-ae90e109b4cd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-15 23:40:43", "repo_name": "Deepika-Titin/cucumberproj", "sub_path": "/src/test/java/org/pojo/LoginAZPojo.java", "file_name": "LoginAZPojo.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 38,...
package org.pojo; import org.base.BaseClass; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; import org.openqa.selenium.support.PageFactory; public class LoginAZPojo extends BaseClass { public LoginAZPojo() { PageFactory.initElements(driver, this); } public WebElement getSearch(...
cd4acfc6-d963-46b6-939a-5cc615d5bc02
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-05 08:33:36", "repo_name": "Whiffet/whiffet", "sub_path": "/hadoop-whiffet/hadoop-whiffet-internal-api/src/main/java/hadoop/whiffet/internal/api/util/JSONUtil.java", "file_name": "JSONUtil.java", "file_ext": "...
package hadoop.whiffet.internal.api.util; import javax.servlet.http.HttpServletRequest; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; import com.alibaba.fastjson.JSON; public class JSONUtil { public static String toJSO...
8ca1b89f-9c2f-496d-8c49-77c9251dcae4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-16 14:13:52", "repo_name": "Grandez/SDP_Java", "sub_path": "/SDPWebCore/src/main/java/com/jgg/sdp/web/core/LANG.java", "file_name": "LANG.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 44, ...
/* * */ package com.jgg.sdp.web.core; import java.util.List; import org.springframework.http.HttpHeaders; import com.jgg.sdp.core.ctes.SYS; public class LANG { public static String[] getLanguage(HttpHeaders headers) { String[] l = new String[2]; List<String> lang = headers.get("accept-language"...
e0c68b63-b3c0-4ccd-93be-d68198a5ad67
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-11 12:53:33", "repo_name": "zerr07/Wms-Parser", "sub_path": "/src/main/java/Dreamlove/internationalization/html_description.java", "file_name": "html_description.java", "file_ext": "java", "file_size_in_byte":...
package Dreamlove.internationalization; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.util.ArrayList; import java.util.List; @XmlRootElement(name = "value") public class html_description { @XmlElement(name = "value") private List<value> value = new A...
c3c9bd75-37db-40ec-ae20-2608501b837b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-10-18 07:17:41", "repo_name": "Thomsen/test", "sub_path": "/kt/jvm/src/test/java/jvm/genertic/TestGeneric.java", "file_name": "TestGeneric.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 39, "l...
package jvm.genertic; import generic.GenericExtend; import org.junit.Assert; import org.junit.Test; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class TestGeneric { @Test public void testNormal() { Object obj = new Object(); String str = new String...
e8a6610c-ffb7-4171-a630-d524b8c41dca
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 21:54:56", "repo_name": "nirajsonawane/aws-sqs-spring-boot-poc", "sub_path": "/src/main/java/com/ns/awssqspoc/Publisher.java", "file_name": "Publisher.java", "file_ext": "java", "file_size_in_byte": 868, "l...
package com.ns.awssqspoc; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.aws.messaging.core.QueueMessagingTemplate; import org.springframework.scheduling.annotation.Scheduled; i...
f45f1373-6c08-401f-9766-93dac3eeb69b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-05-08T19:06:16", "repo_name": "harenconstruction/applicant", "sub_path": "/documentation/backup-files.md", "file_name": "backup-files.md", "file_ext": "md", "file_size_in_byte": 868, "line_count": 26, "lang":...
# Backing up the Files # The actual application code, which you would update using git, is stored under: /home/applicant/applicant Resumes are referenced under: /home/applicant/media/resumes/ Both of these directories should be backed up before updating production. If working on development, you l...
a1dd3313-571a-4ee1-8a1b-32f31e6c6318
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-05 01:02:45", "repo_name": "paulwdavis/NRGRobot2017", "sub_path": "/NRGRobot2017/src/org/usfirst/frc/team948/robot/commands/ManualDrive.java", "file_name": "ManualDrive.java", "file_ext": "java", "file_size_in...
package org.usfirst.frc.team948.robot.commands; import org.usfirst.frc.team948.robot.OI; import org.usfirst.frc.team948.robot.Robot; import org.usfirst.frc.team948.utilities.MathUtil; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; public class ManualDrive ex...
7c9bb380-5a72-4c1e-93d5-75b8961d0175
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-06 21:22:44", "repo_name": "emadabel/movies-collector", "sub_path": "/app/src/main/java/com/example/android/moviesdatabase/PreviewActivity.java", "file_name": "PreviewActivity.java", "file_ext": "java", "file_...
package com.example.android.moviesdatabase; import android.os.Bundle; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import java.util.ArrayList; /** * Created by Emad on 06/02/2018. */ public class PreviewActivity extends AppCompatActivity { ArrayList<String> image...
33e0b8e8-fc5b-4132-8e82-97a54ced38c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-26 07:34:49", "repo_name": "dechinopsis/btv4-brms", "sub_path": "/src/test/java/com/dlya/btbrms/flow/converter/BtScriptConverterTest.java", "file_name": "BtScriptConverterTest.java", "file_ext": "java", "file_...
package com.dlya.btbrms.flow.converter; import com.adelean.inject.resources.junit.jupiter.GivenTextResource; import com.adelean.inject.resources.junit.jupiter.TestWithResources; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; @Tes...
1511f7ca-4086-4f55-b1e6-39735a0870be
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-30T14:08:51", "repo_name": "rubysec/rubysec.github.io", "sub_path": "/advisories/_posts/2015-04-29-OSVDB-124991.md", "file_name": "2015-04-29-OSVDB-124991.md", "file_ext": "md", "file_size_in_byte": 868, "...
--- layout: advisory title: 'OSVDB-124991 (ruby-saml): Ruby-Saml Gem is vulnerable to XPath Injection' comments: false categories: - ruby-saml advisory: gem: ruby-saml osvdb: 124991 url: https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.0.0 title: Ruby-Saml Gem is vulnerable to XPath Injection date: ...
e27b5b87-055b-49dd-a23c-7965edee1a1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-06-05T04:48:34", "repo_name": "RHoKAustralia/accessible-aust", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 869, "line_count": 37, "lang": "en", "doc_type": "text...
# accessible-aust rhok project ## Setup instructions Clone the repo and run ```rake db:setup``` to create the database and load the data from Data.csv into the database. ## Executing the application: Run ```rails server``` to start the server. ## Endpoints: ### GET /venues ```GET /venues``` to see all venues in JSO...
c496bd49-3f18-4356-8cec-0e64abec4d1c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-16 09:08:39", "repo_name": "GYiyouth/foolkey", "sub_path": "/src/main/java/foolkey/controller/teacher/SwitchToTeacherController.java", "file_name": "SwitchToTeacherController.java", "file_ext": "java", "file_s...
package foolkey.controller.teacher; import foolkey.controller.AbstractController; import foolkey.handler.teacher.SwitchToTeacherHandler; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; impor...
a6d8fc1d-27ce-4245-9b07-cfe759ec886e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-02 15:15:23", "repo_name": "molin0827/MtyLuceneServer", "sub_path": "/src/main/java/com/taodian/mty/LuceneApp.java", "file_name": "LuceneApp.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 3...
package com.taodian.mty; import org.mortbay.jetty.Server; import org.mortbay.jetty.servlet.ServletHandler; import com.taodian.mty.servlet.CreateIndexServlet; import com.taodian.mty.servlet.IndexServlet; import com.taodian.mty.servlet.SearchIndexServlet; /** * Hello world! * */ public class LuceneApp { public ...
46a8303c-512d-448f-9afa-c25b479e5dc2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-04 22:34:18", "repo_name": "CMPUT301F17T19/Echoes", "sub_path": "/Echoes/app/src/androidTest/java/com/example/cmput301f17t19/echoes/ReceivedRequestTest.java", "file_name": "ReceivedRequestTest.java", "file_ext...
/* * Copyright (c) Team cmput301f17t19, CMPUT301, University of Alberta - All Rights Reserved. You may use, distribute, or modify this code under terms and conditions of the Code of Students Behaviour at University of Alberta */ package com.example.cmput301f17t19.echoes; import android.test.ActivityInstrumentationT...
955cdab7-e93d-4b4e-a532-4507fa5fd88f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-03 21:35:22", "repo_name": "harishmurari07/Trac", "sub_path": "/app/src/main/java/com/example/trac/viewmodel/ContactsDataViewModel.java", "file_name": "ContactsDataViewModel.java", "file_ext": "java", "file_si...
package com.example.trac.viewmodel; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import com.example.trac.data.ContactsData; import com.example.trac.repository.ContactsRepository; import java.util.List; public class ContactsDataViewModel extends ...
49a7a976-bc8b-4c37-8357-b199dd426d81
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-03 15:06:56", "repo_name": "NikolaVasic10/ABCD", "sub_path": "/Introduction/src/Test5.java", "file_name": "Test5.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 23, "lang": "en", "doc_type":...
import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class Test5 { public static void main(String[] args) throws InterruptedException { System.setProperty("webdriver.chrome.driver", "C:\\Users\\Jonny\\Desktop\\Selenium course\\Drivers...
62c5fbe7-aa44-44fd-ae05-5824f55f8715
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-08T10:15:04", "repo_name": "JXDAI/OPEN-Project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 869, "line_count": 14, "lang": "en", "doc_type": "text", "blob_id...
# OPEN-Project This contains the data and code for OPEN-Project. OPEN! is a french german research project aiming to understand the phenomena of open source hardware design. My goal is to analyse all kinds of data produced in the OSH projects in order to find interesting patterns. First, there is interview data clus...
7b25a028-612e-4284-be38-ba7ad3cbc012
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-26 05:31:01", "repo_name": "CQUPTBeeAndroid/Android-Study", "sub_path": "/First_Term/Liuyang/Work4/app/src/main/java/com/soully/work4/Gson/Astro.java", "file_name": "Astro.java", "file_ext": "java", "file_size...
package com.soully.work4.Gson; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Astro { @SerializedName("mr") @Expose private String mr; @SerializedName("ms") @Expose private String ms; @SerializedName("sr") @Expose private...
193ea607-f8cc-4cce-a715-4e0da36e87a5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-06 01:14:36", "repo_name": "xyxTest/jaso", "sub_path": "/src/main/java/com/yaj/common/base/pojo/BaseParameters.java", "file_name": "BaseParameters.java", "file_ext": "java", "file_size_in_byte": 867, "line_cou...
package com.yaj.common.base.pojo; import com.yaj.core.util.BeanUtil; public abstract class BaseParameters<T> { private PageVo page; public T subParam; private String orderBy = null; protected Object[] entities = null; public abstract String operational(String currentColumn); public abstract Class<?>[] entity...
09c2ead1-95fa-44a4-bc09-d97fb694c847
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-10 08:51:24", "repo_name": "jack2706/first-project", "sub_path": "/SpringBootTest/src/main/java/com/kps/springBoot/service/impl/StudentServiceImpl.java", "file_name": "StudentServiceImpl.java", "file_ext": "ja...
package com.kps.springBoot.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.kps.springBoot.dao.StudentDao; import com.kps.springBoot.s...
e6bc87be-b980-4ee2-93a1-fbefcf492ee1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-14 20:58:23", "repo_name": "kelvinrk/Global-Elites", "sub_path": "/elites-multithreading/src/main/java/com/charles/elites/semaphores/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte":...
package com.charles.elites.semaphores; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; /** * {@link java.util.concurrent.Semaphore}s * are mainly used to limit the number of simultaneous threads that * can access a resources, but you can als...
4e3d7f35-5f7e-4bfb-bb01-9e813b463ea7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-15 16:53:36", "repo_name": "nmontielh/ClaroGuatemalaCertificadoRegalo", "sub_path": "/CertificadoRegalo/certificados-regalo-v2.0/persistence/src/test/java/com/claro/gdl/test/ConfTesting.java", "file_name": "Co...
package com.claro.gdl.test; import java.util.GregorianCalendar; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.testng.AbstractTestNGSpringConte...
2bfdb147-471d-4a2b-ab05-b2bd8f7946b2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-04 14:06:05", "repo_name": "erdemakyildiz/SFCrudApp", "sub_path": "/src/main/java/service/PersonService.java", "file_name": "PersonService.java", "file_ext": "java", "file_size_in_byte": 870, "line_count": 45,...
/* * 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 service; import domain.Person; import facade.PersonFacade; import java.util.List; import javax.ejb.EJB; import javax.ejb.Stat...
28cf13b9-f338-444e-aa0f-5e4d6f4932d2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-04 17:07:19", "repo_name": "RomanMozhaev/job4j", "sub_path": "/chapter_008/src/main/java/ru/job4j/deadlock/DeadTwo.java", "file_name": "DeadTwo.java", "file_ext": "java", "file_size_in_byte": 868, "line_count"...
package ru.job4j.deadlock; public class DeadTwo implements Runnable { final Thread t; private final Object s; private final Object f; public DeadTwo(Object f, Object s) { this.t = new Thread(this, "DeadOne"); this.s = s; this.f = f; } ...
86642e81-356c-4acf-b04f-900cdef4267f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-08 12:43:30", "repo_name": "NAYANSEN90/http-benchmark", "sub_path": "/vertx/src/main/java/com/example/vertx/VertxApplication.java", "file_name": "VertxApplication.java", "file_ext": "java", "file_size_in_byte"...
package com.example.vertx; import io.vertx.core.Vertx; import io.vertx.core.VertxOptions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplicat...
c7ae769a-fd85-434b-b07c-bd23a2ed2712
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 12:30:13", "repo_name": "anjna1985/DataDrivenFrameworkScreenShotExtentReport", "sub_path": "/src/test/java/com/hrm/qa/utilities/ReadExcel.java", "file_name": "ReadExcel.java", "file_ext": "java", "file_size...
package com.hrm.qa.utilities; import java.io.File; import java.io.FileInputStream; import org.apache.poi.hssf.usermodel.HSSFCell; import org.apache.poi.hssf.usermodel.HSSFRow; import org.apache.poi.hssf.usermodel.HSSFSheet; import org.apache.poi.hssf.usermodel.HSSFWorkbook; public class ReadExcel { public static Obj...
e16a3e63-8942-42f0-8e5b-e973bbac4705
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-17 08:49:06", "repo_name": "pravinkalubarme/UIFramework", "sub_path": "/src/test/java/com/uiFramework/Demo.java", "file_name": "Demo.java", "file_ext": "java", "file_size_in_byte": 867, "line_count": 40, "lang...
package com.uiFramework; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import com.uiFramework.Inn.Marsh.helper.browserConfiguration.ChromeBrowser; public class Demo { public static v...
8857ceca-fc33-4971-96e9-b816f2b15e82
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-01 20:35:02", "repo_name": "albydnc/TCFbattleship", "sub_path": "/src/battleship/Ship.java", "file_name": "Ship.java", "file_ext": "java", "file_size_in_byte": 871, "line_count": 37, "lang": "en", "doc_type": ...
package battleship; import javafx.scene.Parent; public class Ship extends Parent { public int Length; public boolean vertical = true; public boolean control = true; private int health; public Ship(int Length, boolean vertical, boolean control) { this.Length = Length; ...
9b5dfca9-a5e0-45b7-965c-bb7eabf2065e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-05 00:45:22", "repo_name": "Neumann789/springboot-learn", "sub_path": "/javoszie/src/main/java/com/javosize/recipes/RecipeParam.java", "file_name": "RecipeParam.java", "file_ext": "java", "file_size_in_byte": ...
package com.javosize.recipes; import java.io.Serializable; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class RecipeParam implements Serializable { private static final long serialVersionUID = 3762571087854456934L; ...
1748a0f3-e478-4843-b137-e9e5050b91d4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-14 10:29:26", "repo_name": "helos3/PSUTrainingServer", "sub_path": "/src/main/java/Application/model/dao/TrainingProgramDAOImpl.java", "file_name": "TrainingProgramDAOImpl.java", "file_ext": "java", "file_size...
package Application.model.dao; import Application.model.entities.Subdivision; import Application.model.entities.TrainingProgram; import org.springframework.stereotype.Repository; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import java.util.List; /** * Created by R...
6f8a674a-d83f-458a-94b7-a2caf8af1be5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-12-30 22:02:28", "repo_name": "phoswald/rspt", "sub_path": "/src/main/java/phoswald/rspt/SymbolNonTerm.java", "file_name": "SymbolNonTerm.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 46, "la...
package phoswald.rspt; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * A Non-Terminal Symbol (NTS) is defined by a set of rules. */ public class SymbolNonTerm extends Symbol { /** * The type or class name the NTS evaluates to. */ private String type; /*...
65efb6e9-4178-46d6-8bd3-0e7b2ac1c56a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-06 17:31:24", "repo_name": "danielrpg/DesignPatternJava", "sub_path": "/src/singleton/Marciano.java", "file_name": "Marciano.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 40, "lang": "en",...
package singleton; /** * Created by dany on 04/03/2017. */ public final class Marciano { private static final Marciano marciano = new Marciano(); private static int cant; private Marciano(){ cant = 10; } public static Marciano getMarciano(){ return marciano; } public st...
9768e2bf-20a6-4daa-873e-fcefff05a3cc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-07 22:46:07", "repo_name": "kullmanp/bnd", "sub_path": "/aQute.libg/src/aQute/lib/json/FileHandler.java", "file_name": "FileHandler.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 41, "lang"...
package aQute.lib.json; import java.io.*; import java.lang.reflect.*; import java.util.*; import aQute.lib.base64.*; public class FileHandler extends Handler { @Override void encode(Encoder app, Object object, Map<Object,Type> visited) throws IOException, Exception { File f = (File) object; if (!f.isFile()) ...
6a96b55e-1934-4f94-9438-a9ddbda1186a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 05:07:55", "repo_name": "randomsixsixsix/yalivideo", "sub_path": "/app/src/main/java/com/video/yali/widget/dialog/LoadingDialog.java", "file_name": "LoadingDialog.java", "file_ext": "java", "file_size_in_by...
package com.video.yali.widget.dialog; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.text.TextUtils; import android.widget.ImageView; import android.widget.TextView; import com.video.yali.R; /** * 手机相册/相机选择的弹窗 * * @author zh * 2019-03-23 */ public class Load...
3d34c633-38be-45b6-821a-2682ebda78eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-17 15:14:02", "repo_name": "tomasvald/Ticketmart", "sub_path": "/src/main/java/com/ticketmart/entities/Status.java", "file_name": "Status.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 47, ...
package com.ticketmart.entities; import javax.persistence.*; @Entity @Table(name = "status") public class Status { public static final Long AVAILABLE = 1l; public static final Long RESERVED = 2l; public static final Long SOLD = 3l; private Long idStatus; private String status; private String descripti...
670cdc58-378f-4a1d-88d5-a20825374d91
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-18T05:06:55", "repo_name": "nicksantamaria/drush-php_filter_audit", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 868, "line_count": 28, "lang": "en", "doc_type...
# Drush PHP Filter Audit Quick and dirty drush plugin to check a drupal implementation for code processed by PHP filter format. ## Usage 1. [Download](https://github.com/nicksantamaria/drush-php_filter_audit/archive/master.zip) this to plugin to `${HOME}/.drush` 1. Run `drush cc drush` 1. From your sites docroot, ru...
29fcb2a7-3227-4cf6-bd44-69c46b56d945
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 01:17:22", "repo_name": "taller-2-slk-2019/AndroidApp", "sub_path": "/app/src/main/java/com/taller2/hypechatapp/ui/model/MessageImageViewHolder.java", "file_name": "MessageImageViewHolder.java", "file_ext":...
package com.taller2.hypechatapp.ui.model; import android.view.View; import android.widget.ImageView; import com.taller2.hypechatapp.R; import com.taller2.hypechatapp.components.PicassoLoader; import com.taller2.hypechatapp.model.Message; import androidx.annotation.NonNull; public class MessageImageViewHolder extend...
9bf829e7-69f9-445e-9896-30ad6223a1d4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-08-18T09:57:38", "repo_name": "prannayk/thedeeplearning", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 867, "line_count": 12, "lang": "en", "doc_type": "text", "b...
# The Deep Learning repo After going through hundreds of papers, under graduates finally decide what they think is the best approach to the problem they are working on. But all said and done, one of the most challenging tasks is to get good code (which works, ofc) to be available for a lot of the previous work that is ...
190da5b7-d9b6-44cc-9357-fa45fbd38782
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-01-28 20:46:38", "repo_name": "SoFabian/asse-task3", "sub_path": "/securityclient_mitm/src/at/ac/tuwien/inso/esse/advancedsecsys/client/mitm/NumbersToReplace.java", "file_name": "NumbersToReplace.java", "file_ext...
package at.ac.tuwien.inso.esse.advancedsecsys.client.mitm; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.HashMap; import java.util.Map; public class NumbersToReplace { private static final String SEPARATOR = ";"; private Map<String, Stri...
77d33f2d-4f5b-4ac9-93e1-44520faff0f9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-15 06:31:43", "repo_name": "xiaoxipangren/iot", "sub_path": "/iot-data/iot-data-jpa/src/main/java/com/nationalchip/iot/data/model/NamedEntity.java", "file_name": "NamedEntity.java", "file_ext": "java", "file_s...
package com.nationalchip.iot.data.model; import com.nationalchip.iot.data.annotation.Comment; import javax.persistence.Column; import javax.persistence.MappedSuperclass; @MappedSuperclass public abstract class NamedEntity extends BaseEntity implements INamedEntity { public NamedEntity(){ } public Name...
6f70ac91-88fb-4968-8e6f-c85835ba8e67
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-29 02:09:59", "repo_name": "ghorkov32/-test-spring-boot-level-1", "sub_path": "/src/main/java/coop/tecso/examen/mappers/MovementMapper.java", "file_name": "MovementMapper.java", "file_ext": "java", "file_size_...
package coop.tecso.examen.mappers; import coop.tecso.examen.dto.MovementDTO; import coop.tecso.examen.model.Movement; import org.joda.time.DateTime; public class MovementMapper { public static Movement toEntity(MovementDTO dto){ Movement movement = new Movement(); movement.setDescription(dto.getD...
ea77f38b-bdf0-468a-a66d-416f90e0efa5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-12 17:04:06", "repo_name": "lber19535/AndroidDemo", "sub_path": "/app/src/main/java/com/example/bill/designpattern/mvvm/ui/AppListView.java", "file_name": "AppListView.java", "file_ext": "java", "file_size_in_...
package com.example.bill.designpattern.mvvm.ui; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.example.bill.R; import com.example.bill.databinding.AppListViewBinding; import com.exam...
ad6f613d-674f-4bf8-a3f5-3a3d52b7e6fc
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-30 10:29:27", "repo_name": "PrateekKumar1/training", "sub_path": "/src/com/training/RetailMgmt/src/main/java/com/training/model/Retailer.java", "file_name": "Retailer.java", "file_ext": "java", "file_size_in_b...
/** * */ package com.training.model; /** * @author PRATEEK KR * */ public class Retailer { private String retailername; private String retaileradd; /** * @param retailername * @param retaileradd */ Retailer(String retailername, String retaileradd) { this.retailername = retailername; this.retailer...
91424573-74d0-4e08-980e-c7f19c5aa0c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-14 03:17:27", "repo_name": "anywhere/alipay-sdk-java-all", "sub_path": "/src/main/java/com/alipay/api/domain/AlipayOpenSpOperationResultQueryModel.java", "file_name": "AlipayOpenSpOperationResultQueryModel.jav...
package com.alipay.api.domain; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; /** * 查询服务商代运营操作结果 * * @author auto create * @since 1.0, 2020-10-21 10:22:03 */ public class AlipayOpenSpOperationResultQueryModel extends AlipayObject { private static final long se...
6397d638-b447-4c1c-841f-27dcfd327951
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-16 08:59:45", "repo_name": "2507182834/bjdg", "sub_path": "/src/main/java/com/dagu/service/impl/UtilServiceImpl.java", "file_name": "UtilServiceImpl.java", "file_ext": "java", "file_size_in_byte": 867, "line_c...
package com.dagu.service.impl; import com.dagu.dao.VerificationDao; import com.dagu.pojo.Verification; import com.dagu.service.UtilService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; @Service public class UtilServiceImpl implem...
5e94f6fc-a4c7-4aee-8f4a-7476218acb89
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-26T10:07:21", "repo_name": "RadekMolenda/RadekMolenda.github.io", "sub_path": "/_drafts/playing_swarm_simulator_using_a_bot.markdown", "file_name": "playing_swarm_simulator_using_a_bot.markdown", "file_ext...
# Playing Swarm Simulator using a BOT Hey! Check out this page [https://swarmsim.github.io/#/](https://swarmsim.github.io/#/) I love it, Let's write a BOT to play this amazing `game` for us. Here is what we are going to use: * [Phantomjs](http://phantomjs.org/download.html) * [Elixir](http://elixir-lang.org/install.h...
850b26f5-9054-4426-b060-dc05e9dbdf89
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-10 11:56:44", "repo_name": "mestet/SimpleSpringMvc", "sub_path": "/src/main/java/org/example/app/services/AuthService.java", "file_name": "AuthService.java", "file_ext": "java", "file_size_in_byte": 867, "line...
package org.example.app.services; import org.apache.log4j.Logger; import org.example.app.repository.UserRepository; import org.example.web.dto.User; import org.example.web.dto.UserLoginForm; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @Service public ...
43d76490-446d-4f09-948e-7d1582dee554
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-28 10:02:05", "repo_name": "reachyu/spring-microservice", "sub_path": "/microservice-provider/src/main/java/com/reachyu/springcloud/service/impl/OrderServiceImpl.java", "file_name": "OrderServiceImpl.java", "f...
package com.reachyu.springcloud.service.impl; import com.reachyu.springcloud.dao.OrderDao; import com.reachyu.springcloud.service.OrderService; import com.reachyu.springcloud.vo.Order; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; ...
9a813e7c-8ccc-4998-9a7a-dd66d01f1860
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-09 14:30:59", "repo_name": "flysands/BinderExample", "sub_path": "/app/src/main/java/com/flysands/binderexample/MyMessage.java", "file_name": "MyMessage.java", "file_ext": "java", "file_size_in_byte": 867, "li...
// This file is intentionally left blank as placeholder for parcel declaration. package com.flysands.binderexample; import android.os.Parcel; import android.os.Parcelable; public class MyMessage implements Parcelable { public MyMessage() { } public String text; protected MyMessage(Parcel in) { ...
f673e395-a0f8-4952-8568-35aa90b68b30
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-18T08:07:01", "repo_name": "Yiho-Concrete/Yiho-Concrete.github.io", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 866, "line_count": 25, "lang": "en", "doc_type...
# Introduction The webpage of Yiho Industrial Co Ltd. Yiho provides the customer with the best quality concrete and excellent service. ## Development Log ### 2020/05/03 - Bootstrap grid system is introduced in the development. See the [link](https://www.w3schools.com/bootstrap/bootstrap_grid_system.asp). - To ...
5e37b1af-c3b5-496e-beff-b5ab03f766f2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-09 04:56:12", "repo_name": "programacionjje/curso-jasper-report", "sub_path": "/src/Conexion/SQL.java", "file_name": "SQL.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 36, "lang": "en", "d...
/* * 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 Conexion; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; public class SQL { ...
385b5faa-c103-4002-a4c6-100e74dc4a45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-03 00:44:41", "repo_name": "Imane-Ragi/ecommerce-master", "sub_path": "/ecommerce-master/eCommerceProject/src/main/java/com/emsi/ecommerce/service/RoleServiceImpl.java", "file_name": "RoleServiceImpl.java", "f...
package com.emsi.ecommerce.service; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.emsi.ecommerce.dao.RoleRepository; import com.emsi.ecommerce.domaine.Rol...
d0c7605d-2e0a-48b4-a15a-0652e6b974c9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-08 16:08:24", "repo_name": "Tmarlow98/Alpha", "sub_path": "/MoviePlayer.java", "file_name": "MoviePlayer.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 38, "lang": "en", "doc_type": "code",...
public class MoviePlayer extends Product implements MultimediaControl { private Screen screen; private MonitorType monitorType; public MoviePlayer(String name, Screen screen, MonitorType monitorType) { super(name); this.screen = screen; this.monitorType = monitorType; ...
1e1693ea-76fd-4813-a1f8-fdf36317bd80
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-14T11:57:48", "repo_name": "NicolasGrimault/GitHub-Insights", "sub_path": "/Backend/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 867, "line_count": 50, "lang": "en", "doc_ty...
# GitHub-Insights Backend The main goal of this project is to request the github api to retrieve some stats This project is realised with ``Node js`` https://nodejs.org/en/ The data are retrieved using github graphgl api: https://developer.github.com/v4/ ## Dependencies this project is using apollo-fetch a...
ac5865d6-43e0-4938-bde9-40a0703d9e65
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-12 14:55:55", "repo_name": "freshbin/dataStructAndAlgo", "sub_path": "/src/main/java/com/freshbin/other/thread/printEvenAndOddNum/AlternateNum.java", "file_name": "AlternateNum.java", "file_ext": "java", "file...
package com.freshbin.other.thread.printEvenAndOddNum; /** * 交替打印奇偶数 * * @author freshbin * @date 2020/5/12 9:41 */ public class AlternateNum { private volatile int startNum = 0; public int getStartNum() { return this.startNum; } public void setStartNum(int startNum) { this.startN...
bf4b5bed-b5b5-48db-aa1e-af5c9dd8d6d9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-05 09:41:59", "repo_name": "a410692241/promoter", "sub_path": "/linayi.service/src/main/java/com/linayi/service/redis/impl/GetRedisUserServiceImpl.java", "file_name": "GetRedisUserServiceImpl.java", "file_ext"...
package com.linayi.service.redis.impl; import com.linayi.config.RedisConstant; import com.linayi.service.redis.GetRedisUserService; import com.linayi.util.RedisUtil; import org.springframework.stereotype.Service; import javax.annotation.Resource; @Service public class GetRedisUserServiceImpl implements GetRedisUserS...
8b30ee5b-6826-40d2-bdf3-e3b793158459
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-09-24T20:08:57", "repo_name": "laisvarejao/franksi", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 957, "line_count": 43, "lang": "en", "doc_type": "text", "blob_i...
# Franksi A command-line tool Sinatra app generator. Yes, there are similar gems out there, but *I did it my way*. ## Installation Install it yourself as: $ gem install franksi ## Usage Just run the executable to create a Sinatra project: $ franksi new your-project ## Template The default template ha...
9aa6998a-205d-4f21-9302-ff95f7796f1b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-31T17:00:57", "repo_name": "CavalcanteR/digitalconvert", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 875, "line_count": 35, "lang": "en", "doc_type": "text", ...
Digital Convert with Gurusoft ================== Digital Convert with Gurusoft is an software convert files (PDF, Word and more) ## Licensing Apache License, Version 2.0 see [LICENSE.md](LICENSE.md) ## You need to build / Você vai precisar para rodar sua aplicação You only need to have Node.js/npm. ## How to build...
929acc47-b095-49b3-aeb5-24c19e467433
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-13 02:06:58", "repo_name": "Valerus5685/dharbor", "sub_path": "/src/main/java/com/dharbor/apirest/ClassStudentRest.java", "file_name": "ClassStudentRest.java", "file_ext": "java", "file_size_in_byte": 867, "li...
package com.dharbor.apirest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotat...
f3976bf8-9d01-471f-9f27-fc7ba4d1b325
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-21 01:08:32", "repo_name": "NahidaKn/Assignment2", "sub_path": "/Assignment2/src/main/java/org/part2/Question9.java", "file_name": "Question9.java", "file_ext": "java", "file_size_in_byte": 873, "line_count": ...
package org.part2; import java.util.Scanner; public class Question9 { public static void main(String args[]) { Scanner s = new Scanner(System.in); //Create an object for Scanner class. String actualValue="random"; System.out.println("Enter Char array length: "); char c[] = actual...
799dc0e9-535b-4527-8343-0ca333038712
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-18 04:23:09", "repo_name": "gitdlf/StudentMangerSystem", "sub_path": "/Student_Manger_System/src/cn/lfsenior/service/imp/TeacherService.java", "file_name": "TeacherService.java", "file_ext": "java", "file_size...
package cn.lfsenior.service.imp; import cn.lfsenior.dao.ITeacherDao; import cn.lfsenior.dao.imp.TeacherDao; import cn.lfsenior.entity.Teacher; import cn.lfsenior.service.ITeacherSrvice; public class TeacherService implements ITeacherSrvice { private ITeacherDao teacherDao=new TeacherDao(); @Override pu...
7c164397-9b9f-471e-8b5d-6fbc59eb4389
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-09 08:01:26", "repo_name": "slight-rain/javathinking", "sub_path": "/javathinking18/src/nio/FileLocking.java", "file_name": "FileLocking.java", "file_ext": "java", "file_size_in_byte": 881, "line_count": 26, "...
package nio; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.channels.FileLock; import java.util.concurrent.TimeUnit; public class FileLocking { public static void main(String[] args) throws IOException, Interrupted...
db5c43ea-d9b3-499e-a2bc-bad4861eaa21
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-30 19:45:32", "repo_name": "questionNow/surveyNow", "sub_path": "/src/survey/model/vo/GenderChart.java", "file_name": "GenderChart.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 60, "lang":...
package survey.model.vo; import java.io.Serializable; public class GenderChart implements Serializable{ /** * */ private static final long serialVersionUID = 3569842249935345988L; private String gender; private int stats; public GenderChart() { super(); } public GenderChart(...
85b3afb2-4f8a-4687-bac0-b171cb75e426
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-28 04:38:04", "repo_name": "maghi711/spring-data-01", "sub_path": "/src/main/java/com/maghi711/boot/data/SpringDataBootApplication.java", "file_name": "SpringDataBootApplication.java", "file_ext": "java", "fil...
package com.maghi711.boot.data; import com.maghi711.boot.data.entities.Book; import com.maghi711.boot.data.repo.BookRepository; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ApplicationContext; import java.mat...
5bb7d8f9-b8d6-444e-8974-17345839b489
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-25 12:51:04", "repo_name": "sivakumarkomma/elasticsearchAPI", "sub_path": "/src/main/java/com/elasticsearch/DeleteIndex.java", "file_name": "DeleteIndex.java", "file_ext": "java", "file_size_in_byte": 867, "li...
package com.elasticsearch; import static com.elasticsearch.util.ApplicationConstants.INDEX_NAME; import java.io.IOException; import org.elasticsearch.ElasticsearchStatusException; import org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest; import org.elasticsearch.action.admin.indices.delete.DeleteIndexR...
134bfcb7-e648-4221-b57d-29e6577e7374
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-27 12:28:04", "repo_name": "Kostersson/Kostajabot", "sub_path": "/src/kostajabot/core/stringhandlers/MessageHandler.java", "file_name": "MessageHandler.java", "file_ext": "java", "file_size_in_byte": 868, "lin...
package kostajabot.core.stringhandlers; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * @author Kostersson */ public class MessageHandler { public MessageHandler() { } public void handleMessage(String str) { String username = null; String channel = null; ...
a295180d-1777-4f8a-8619-51b572d4b4a2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 14:01:26", "repo_name": "coolelaZL/demo", "sub_path": "/src/test/java/cn/tedu/cloudnote/test/TestUserDao.java", "file_name": "TestUserDao.java", "file_ext": "java", "file_size_in_byte": 867, "line_count": 3...
package cn.tedu.cloudnote.test; import org.junit.Before; import org.junit.Test; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import cn.tedu.cloudnote.dao.UserDao; import cn.tedu.cloudnote.entity.User; public class TestUserDao { Use...
d528d96f-4f3c-43ed-8518-93f12e63ff8c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-09 13:44:21", "repo_name": "jezicKarlo/temperature-provider", "sub_path": "/src/main/java/hr/fer/rassus/lti/TemperatureMicroserviceApplication.java", "file_name": "TemperatureMicroserviceApplication.java", "fi...
package hr.fer.rassus.lti; import hr.fer.rassus.lti.entitiy.Temperature; import hr.fer.rassus.lti.repository.TemperatureRepository; import hr.fer.rassus.lti.util.TemperatureLoader; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import java.util....
e21eedb0-84f5-4696-ac8d-de5c54ed6cf3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-15T19:27:05", "repo_name": "luiz5navarro1/luiz5navarro1", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 890, "line_count": 15, "lang": "en", "doc_type": "text",...
- 👋 Hi, I’m @luiz5navarro1. - 👀 I'm interested in programming languages such as C, C++ (my original background), SQL and Python. I'm also interested in Salesforce CRM, and because of that I'm writing code in Apex (similar to Java), SOQL and SOSL (similar to SQL), Javascript, HTML and CSS. - 🌱 I'm currently improving...
ad358ac7-6a2e-45c4-95b4-a97832da2f3b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-13T04:46:30", "repo_name": "antonio1998abril/SocialNetwork-Go-Face-Mongo-Javascript", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 867, "line_count": 16, "lang...
# SocialNetwork # TOOLS: Application developed with Node,express,handlebars layout, ajax to create query (CRUD) and Socket io, Socket io is used to create chats per publication and personal message, in Database i used MongoDB, mongoose to create all models. # WHAT DO THIS PAGE? you can create post, topics, edit an...
6845d69d-5a01-4803-9006-615c60b7553e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-22 08:12:45", "repo_name": "annot8/annot8", "sub_path": "/annot8-common/annot8-common-components/src/main/java/io/annot8/common/components/capabilities/SimpleGroupCapability.java", "file_name": "SimpleGroupCap...
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */ package io.annot8.common.components.capabilities; import io.annot8.api.capabilities.GroupCapability; import jakarta.json.bind.annotation.JsonbCreator; import jakarta.json.bind.annotation.JsonbProperty; import java.util.Objects; public class SimpleGroupCapability i...
05614554-2a00-4862-93bf-ba3c2a8e52e9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-06 06:42:23", "repo_name": "BenjaminQS/test", "sub_path": "/src/com/testenum/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 51, "lang": "en", "doc_type": "cod...
package com.testenum; public class Test { public enum Color { RED("red", "01"), GREEN("green", "02"), YELLO("yello", "03"); private String name; private String code; private Color(String name, String code){ this.name = name; this.code = code; } public static String getName(...
ed41e5e2-966d-4d52-a643-f81a2c353b0b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-07 06:06:07", "repo_name": "Telu-News/telnews", "sub_path": "/app/src/main/java/com/psi/telnews/LoginActivity.java", "file_name": "LoginActivity.java", "file_ext": "java", "file_size_in_byte": 868, "line_count...
package com.psi.telnews; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.Html; import android.view.View; import android.widget.TextView; /** * Created by Yurizaldo on 2/17/2016. */ public class LoginActivity extends AppCompatActivity { ...
c0fcbac2-b353-4f9f-8e64-6bffaf93c4db
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-14 02:37:52", "repo_name": "habibrhmn/origind", "sub_path": "/blood/app/src/main/java/com/bloodapp/blood/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 869, "lin...
package com.bloodapp.blood; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.View; public class MainActivity extends AppCompatActivity { @Override protected void onCreat...
1cfc06f9-ac43-4867-b6bd-8e4d927e28ad
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-03 09:50:50", "repo_name": "shdrao/Day4", "sub_path": "/src/com/capgemini/day4/test/TelevisionTest.java", "file_name": "TelevisionTest.java", "file_ext": "java", "file_size_in_byte": 868, "line_count": 48, "la...
package com.capgemini.day4.test; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import com.capgemini.day4.Television; class TelevisionTest { Television television; @BeforeEach voi...
0ae2e190-f57c-4bcb-b7d8-e828b131ce73
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-01-05T18:24:16", "repo_name": "florapdx/tiny-example-apps", "sub_path": "/plain-js/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 868, "line_count": 20, "lang": "en", "doc_type":...
# Plain JS example Minimal app rendering a couple of views with ticker data from ccxt. Base server implementation: * Express * Redis pubsub clients * [uWebSockets](https://github.com/uNetworking/uWebSockets) * [fast-json-stringify](https://github.com/fastify/fast-json-stringify) for fast JSON stringification of data...
829c0b28-a548-49bb-bccc-ceeee27af425
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-01 01:42:45", "repo_name": "maplesnow3/FinalAssessment", "sub_path": "/app/src/main/java/comp5216/finalAssessment/CommentListActivity.java", "file_name": "CommentListActivity.java", "file_ext": "java", "file_s...
package comp5216.finalAssessment; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.ListView; import java.util.ArrayList; import java.util.List; public class CommentListActivity extends AppCompatActivity { public static List<Comment> Comments; private ListVie...