id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
51156675-f74d-4f7a-8126-6c6076391a6b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-08T00:49:53", "repo_name": "MK8J/PV_analysis", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 700, "line_count": 24, "lang": "en", "doc_type": "text", "blob_id":...
# PV_analysis This is just a place for some common analysis that needs to be done in photovoltaics. Nothing special. Currently this is quite limited, with an outline of what can be done being provided below. ## Current voltage analysis 1. Simple curve fitting, using the circuit equivalent model, of lig...
babc87ad-1507-4bd8-a59e-c4046eee9dd0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-16 13:00:00", "repo_name": "btredback/springmvcTemplate", "sub_path": "/src/com/demo/common/bean/StatTable.java", "file_name": "StatTable.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 40, ...
package com.demo.common.bean; public class StatTable { private int tableId; private String tableName; private String tableCnName; public int getTableId() { return this.tableId; } public void setTableId(int tableId) { this.tableId = tableId; } ...
0e5782d0-2b52-4626-ae19-82fe0b6c895c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 17:57:08", "repo_name": "Fibabanka-Java-Bootcamp/restaurant-simulator-kmert17", "sub_path": "/src/org/kodluyoruz/Musteri.java", "file_name": "Musteri.java", "file_ext": "java", "file_size_in_byte": 700, "li...
package org.kodluyoruz; import java.util.Arrays; import java.util.Random; public class Musteri implements Runnable{ private int id; private Masa[] masalar; public Musteri(int id, Masa[] masalar) { this.id = id; this.masalar = masalar; } @Override public void run() { ...
3a75236b-09d5-489b-8ef7-d51b89ffd0f2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-12T07:28:19", "repo_name": "yosswi414/HariboteOS_USB", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 699, "line_count": 29, "lang": "en", "doc_type": "text", "b...
# HariboteOS_USB HariboteOS that can boot from USB or something. # How to build ``` $ make ``` # How to boot on VirtualBox ``` $ make run ``` (You need to set up virtual machine for the first time. This part will be automated in future.) ## How to boot on real machine Burn the output file `usbboot.img` to the target...
4185b122-c284-4ef5-b522-55d30ce9acae
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-27 08:02:24", "repo_name": "springRacoon/JavaJuc", "sub_path": "/src/main/java/juc/unsafe/SetTest.java", "file_name": "SetTest.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 30, "lang": "en...
package juc.unsafe; import java.util.Set; import java.util.UUID; import java.util.concurrent.CopyOnWriteArraySet; /** * @program: Juc * @description: * @author: Saxon * @create: 2021-01-15 14:52 */ public class SetTest { public static void main(String[] args) { // HashSet<String> set = new HashSet<>...
5294e3e0-3675-4d07-ad88-b14ebd5d3d7d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-26 12:42:43", "repo_name": "lin848497337/mysql-client", "sub_path": "/gui/src/main/java/org/client/gui/editor/parser/NumberKeyStyleDef.java", "file_name": "NumberKeyStyleDef.java", "file_ext": "java", "file_si...
package org.client.gui.editor.parser; import java.awt.*; public class NumberKeyStyleDef implements KeySpecialStyleDef{ private Color color; private boolean bold; private boolean italic; public NumberKeyStyleDef(Color color, boolean bold, boolean italic) { this.color = color; this.bol...
9f34b511-d85c-4d9b-8dfa-9d4e9ecc715c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-01 16:05:48", "repo_name": "wtcctw/wed-es-parent", "sub_path": "/wed-es-index/src/main/java/com/cip/wed/index/WedEsIndexImpl.java", "file_name": "WedEsIndexImpl.java", "file_ext": "java", "file_size_in_byte": ...
package com.cip.wed.index; import com.cip.wed.WedEsClientBulk; import com.cip.wed.WedEsClientRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.annotation.Resource; import java.util.List; /** * Created by huachao on 2/29/16. */ public class WedEsIndexImpl implements WedEsIndex{ pri...
eace8463-f6f5-4401-9e7e-4a37b316edb4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-18T00:44:22", "repo_name": "welpdx/ClearUCLibWeb", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 700, "line_count": 16, "lang": "en", "doc_type": "text", "blob_...
# ClearUCLibWeb Are ya tired of the [UofC Library website](https://library.ucalgary.ca/) having banners that covers the whole screen? Are ya doing research and can't see what you are searching because of this covid-19 notice? Are ya tired of seeing the library help desk pop up (even though they are nice people) the po...
014930cb-4b59-490f-9099-e5a3eacb5d33
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-19 17:43:59", "repo_name": "AyushiUrkude22/MKPITS_Ayushi_Urkude_Java_Nov_2020", "sub_path": "/Core_Java_Practice/src/com/mkpits/java/filehandling/FileOutputStream.java", "file_name": "FileOutputStream.java", "...
package src.com.mkpits.java.filehandling; //Java FileOutputStream Example 1: write byte. import java.io.OutputStream; class FileOutputStream extends OutputStream { public FileOutputStream(String s) { } public static void main(String[] args) { try { FileOutputStream...
44211c31-efdd-4618-a62e-fb8134781421
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 12:53:04", "repo_name": "Nigarshaikh12/DemoAss", "sub_path": "/jdbc/src/CollableDemo.java", "file_name": "CollableDemo.java", "file_ext": "java", "file_size_in_byte": 700, "line_count": 36, "lang": "en", "d...
import java.sql.CallableStatement; import java.sql.Connection; import java.sql.SQLException; import java.sql.Types; public class CollableDemo { public static void main(String[] args) { Connection con = null; try { con = JdbcFactory.getConnection(); CallableStatement stmt = con.prepareCall("{ca...
1dff050f-3aef-4774-8d9a-bf3d39e33883
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-17 17:14:38", "repo_name": "ChristopherStolz/KafCo", "sub_path": "/src/main/java/edu/nyit/CSCI455/MeterProject/Data/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": ...
package edu.nyit.CSCI455.MeterProject.Data; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; public class UserService { @Autowired UserRepository userRepository; @Autowired BCryptPasswordEncoder bCryptPasswordEncoder; public...
b5757ab4-ea5f-4aa7-acc5-1659e90d31b9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-27 07:16:15", "repo_name": "kinsme/CloudCar", "sub_path": "/CloudCar/src/main/Test/RedisTest.java", "file_name": "RedisTest.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 34, "lang": "en", ...
import com.cloudcar.util.JedisUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; import redis.clients.jedis.Jedis; /** * Created by Administrator on 2016/6/17. */ public class RedisTest { private Jedis jedis; @Before public void setUp(){ jedis= JedisUtil.getJedis(); ...
7c4f116c-3d2f-4edc-9a20-396b810cbd37
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-22T16:03:57", "repo_name": "paigemiller/streamStats", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 700, "line_count": 16, "lang": "en", "doc_type": "text", "bl...
# streamStats You will find the analysis folder currently contains two .Rmd files (condAnalysis.Rmd & watLevAnalysis.Rmd). When compiled, they produce pdfs. All figures produced by the .Rmd's will be saved in condFigures and watLevelFigures. I have not posted any of the data that Emily sent me, both because they...
fb195b48-aac2-4f5b-b20c-c9a0cadb7c57
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-03 03:44:30", "repo_name": "greg-bucko/weather-service", "sub_path": "/src/main/java/com/gregbucko/api/service/weather/resources/apis/health/ReadinessResourceApi.java", "file_name": "ReadinessResourceApi.java"...
package com.gregbucko.api.service.weather.resources.apis.health; import com.gregbucko.api.service.weather.engines.weather.WeatherEngine; public class ReadinessResourceApi { private final WeatherEngine weatherEngine; public ReadinessResourceApi(final WeatherEngine weatherEngine) { this.weatherEngine =...
1f83e2cb-cf96-49f7-be37-fc88c8de2902
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-26T03:54:35", "repo_name": "willstrudel/Day-Planner", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 699, "line_count": 20, "lang": "en", "doc_type": "text", "bl...
# Day Planner! - Initial commit included HTML, CSS, JS files. Create a simple calendar application that allows a user to save events for each hour of the day by modifying starter code. This app will run in the browser and feature dynamically updated HTML and CSS powered by jQuery. - Imported bootstrap link and scrip...
e8ef5200-ec65-405a-be35-84848d40d502
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-20 21:17:00", "repo_name": "225038/kurs_pip", "sub_path": "/src/main/java/domain/RoomPass.java", "file_name": "RoomPass.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 32, "lang": "en", "doc...
package domain; import lombok.Getter; import lombok.Setter; import javax.persistence.*; @Entity @Table(name = "ROOM_PASS", schema = "s225038", catalog = "studs") //@ToString(exclude={"id","statusEntities"})//?? //@EqualsAndHashCode(exclude={"weaponEntities"})//?? //@NoArgsConstructor @Getter @Setter public class Roo...
563d2996-6623-442b-8932-b90c7423fbcd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2009-03-15 02:14:35", "repo_name": "avh4/avh4-util", "sub_path": "/src/main/java/net/avh4/util/TestUtils.java", "file_name": "TestUtils.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 30, "lang": "e...
package net.avh4.util; import java.io.File; import java.net.URISyntaxException; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Aaron VonderHaar < gruen0aermel@gmail.com > */ public class TestUtils { /** * Gets a File from the package of the calling class. */ publ...
04c7c5bc-fb79-4d08-bc98-4668cda7139c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-02 08:10:16", "repo_name": "duongvanson/ICTUniversityTNU", "sub_path": "/HocJavaCore/src/lamde/de4/NhanSu.java", "file_name": "NhanSu.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 29, "lan...
package lamde.de4; public class NhanSu { public String hoTen, gioiTinh, queQuan; public int tuoi; public NhanSu(String hoTen, String gioiTinh, String queQuan, int tuoi) { super(); this.hoTen = hoTen; this.gioiTinh = gioiTinh; this.queQuan = queQuan; this.tuoi = tuoi; } public NhanSu() { } public voi...
14fe42f1-b49a-4947-8af2-cfe0f4967219
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-11 20:35:00", "repo_name": "darioTecchia/COMP_5_SCG", "sub_path": "/src/test/ParserTester.java", "file_name": "ParserTester.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 30, "lang": "en", ...
package test; import dist.*; import java_cup.runtime.ComplexSymbolFactory; import lexical.ArrayStringTable; import lexical.StringTable; import syntax.Program; public class ParserTester { static Lexer lexer; static Parser parser; public static void main(String[] args) throws Exception { StringTable string...
3fdeb612-bbc4-4e5d-a83c-60f006488d88
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-19 18:54:59", "repo_name": "morosanag/OCPP-Project", "sub_path": "/OCPP_Interface_SOAP/src/java/com/offnet/ocpp/soap/JaxWsHandlerResolver.java", "file_name": "JaxWsHandlerResolver.java", "file_ext": "java", "f...
package com.offnet.ocpp.soap; import java.util.ArrayList; import java.util.List; import javax.xml.ws.handler.Handler; import javax.xml.ws.handler.HandlerResolver; import javax.xml.ws.handler.PortInfo; public class JaxWsHandlerResolver implements HandlerResolver { private String chargeBoxIdentity; ...
c7f167f3-5608-4fda-aa8c-6c290c6c70ef
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-18 23:15:18", "repo_name": "sergio-ads/orange-talents-05-template-proposta", "sub_path": "/src/main/java/br/com/zupacademy/proposta/model/dto/BiometriaDto.java", "file_name": "BiometriaDto.java", "file_ext": "...
package br.com.zupacademy.proposta.model.dto; import java.time.LocalDateTime; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat.Shape; import br.com.zupacademy.proposta.model.Biometria; public class BiometriaDto { private byte[] fingerprint; @JsonFormat(pattern...
8a0330b3-68c1-4faf-9d8f-11dde2503006
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-05-30 03:12:03", "repo_name": "King-Pan/java-architect", "sub_path": "/code/thread/src/main/java/club/javalearn/thread/wait/YieldDemo.java", "file_name": "YieldDemo.java", "file_ext": "java", "file_size_in_byte":...
package club.javalearn.thread.wait; /** * @author king-pan * @date 2019/3/6 * @Description ${DESCRIPTION} */ public class YieldDemo { public static void main(String[] args) { Runnable yieldTask = new Runnable() { @Override public void run() { for (int i = 0; i <...
75f9ae1c-4c32-4a53-9485-7323d95ae23d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-21 07:29:10", "repo_name": "flybird-c/project", "sub_path": "/src/Demo/D16Demo/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 32, "lang": "en", "doc_typ...
package Demo.D16Demo; import java.io.*; /** * @author EDZ */ public class Student { private String name; private String age; public Student(String name, String age) { this.name = name; this.age = age; } public Student() { } public static void main(String[] args) { ...
9f41b710-d6ba-4c73-9b49-7b11d927a198
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-26 09:05:33", "repo_name": "Jordanraitt/Java_airport", "sub_path": "/src/main/java/Airport.java", "file_name": "Airport.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 37, "lang": "en", "doc...
import java.util.ArrayList; public class Airport { private ArrayList<Plane> hangar; private String portCode; public Airport(String portCode) { hangar = new ArrayList<>(); } public ArrayList<Plane> getHangar() { return hangar; } public int hangarCount(){ return th...
012a00ea-9386-41eb-b4ba-f35d73abc162
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-16 20:41:36", "repo_name": "mavomo/conception-api-java", "sub_path": "/src/main/java/fr/soat/training/api/superhero/services/domain/MatchingHistoricEvent.java", "file_name": "MatchingHistoricEvent.java", "file...
package fr.soat.training.api.superhero.services.domain; import fr.soat.training.api.superhero.domain.HistoricEvent; import fr.soat.training.api.superhero.domain.Mission; import java.time.LocalDateTime; public class MatchingHistoricEvent { private Mission mission; private String description; private Local...
b0b348c8-a826-4457-9d9e-cd55da3d6017
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-10 00:10:57", "repo_name": "udany/galaxy-fighter", "sub_path": "/src/GalaxyFighter/objects/background/GalaxyBackground.java", "file_name": "GalaxyBackground.java", "file_ext": "java", "file_size_in_byte": 699,...
package GalaxyFighter.objects.background; import engine.graphics.Sprite; import engine.main.GameObject; import java.awt.*; public class GalaxyBackground extends GameObject { protected static Sprite bck = new Sprite(1280,1175, "/images/Background.png"); double scrollSpeed = 50; @Override public void...
e109d909-ecf7-44e4-b6a5-5153fd81b705
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-27T16:34:31", "repo_name": "Alhadis/Snippets", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 699, "line_count": 19, "lang": "en", "doc_type": "text", "blob_id":...
# Snippets Museum of (mostly) useless crap I've hacked together over the years. **This repository is online for archival reasons only.** * If you came here looking for polyfills, they've been given a [dedicated repository][1]. Copies of them are only kept here to fight bit-rot for those following old links from Sta...
72da5979-69ff-47be-8a82-f52b8ad59aac
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-07 13:41:54", "repo_name": "olenalo/HW", "sub_path": "/HW_19_IO/src/BackToSchool/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 27, "lang": "en", "doc_type"...
package BackToSchool; import java.util.regex.Pattern; public class Utils { private Utils(){ throw new UnsupportedOperationException("This is util class"); } public static void validate(int arg, int from, int to){ double doubleArg = arg; validate(doubleArg, from, to); } pu...
1484aa97-c1a1-46c3-9929-a95e2f7d25a6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-09 19:33:37", "repo_name": "ryangardner/excursion-decompiling", "sub_path": "/divestory-Fernflower/com/google/android/gms/common/internal/zzx.java", "file_name": "zzx.java", "file_ext": "java", "file_size_in_b...
package com.google.android.gms.common.internal; import android.os.Parcel; import android.os.Parcelable.Creator; import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable; import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter; @Deprecated public final class zzx extends Abstrac...
32ab1e5a-08d4-4a7a-941d-fb220b62efb2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-26 01:09:42", "repo_name": "ademgokce/SeleniumMethods2020", "sub_path": "/src/main/java/Methods/Sel_002_WebDriverFF.java", "file_name": "Sel_002_WebDriverFF.java", "file_ext": "java", "file_size_in_byte": 699,...
package Methods; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Sel_002_WebDriverFF { public static void main(String[] args) { // Set Property System.setProperty("webdriver.gecko.driver", "/Users/agokce/Documents/Drivers/geckodriver"); WebDriver d...
5f515d05-7951-4c56-a1eb-d53b292f006a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-06 15:02:51", "repo_name": "edd1225/JAVA-000", "sub_path": "/Week_13/kafka/kafka-practice/src/main/java/com/qj/week13/kafka/kafkapractice/KafkaPracticeApplication.java", "file_name": "KafkaPracticeApplication....
package com.qj.week13.kafka.kafkapractice; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.ConfigurableApplicationContext; import java.util.concurrent.TimeUnit; @SpringBootApplication public class KafkaPractice...
966cb5a3-3d8b-4f55-9881-77e9aef13df7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-07 11:55:17", "repo_name": "annaBanana1994/SB_assessment", "sub_path": "/src/main/java/com/starlingbank/assessment/AssessmentApplication.java", "file_name": "AssessmentApplication.java", "file_ext": "java", "f...
package com.starlingbank.assessment; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.web.client.RestTemplate; ...
0e71d139-1f67-4ccb-9285-9cddbaebf83e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-22 21:32:40", "repo_name": "redgarr/TowerDefence", "sub_path": "/src/input/InputMouseMovementListener.java", "file_name": "InputMouseMovementListener.java", "file_ext": "java", "file_size_in_byte": 700, "line_...
package input; import java.awt.event.MouseEvent; import java.awt.event.MouseMotionListener; import engine.Game; import engine.GameController; import tiles.Tile; public class InputMouseMovementListener implements MouseMotionListener { private Game game; private GameController controller; public I...
ce622f11-2769-4d29-a2b8-e3e2cb7343fa
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-12 15:11:45", "repo_name": "grzexxx/phonebook", "sub_path": "/src/main/java/pl/gjahn/phonebook/database/Contacts.java", "file_name": "Contacts.java", "file_ext": "java", "file_size_in_byte": 699, "line_count":...
package pl.gjahn.phonebook.database; import lombok.Data; import pl.gjahn.phonebook.model.ContactForm; import java.util.ArrayList; import java.util.List; @Data public class Contacts { static List<ContactForm> contacts = new ArrayList<>(); public static boolean nameCheck(ContactForm contactForm) { ...
5514b95c-e39e-4904-a2cd-b7d7d531a87c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-23 20:45:09", "repo_name": "Siwoo-Kim/prospring-chapter5", "sub_path": "/src/main/java/com/prospring/aop/common/MyDependentBean.java", "file_name": "MyDependentBean.java", "file_ext": "java", "file_size_in_byt...
package com.prospring.aop.common; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Component; /** * @author SiWoo Kim, * @version 1.0.0 * @email sm123tt@gmail.com * @github : https://github.com/Siwoo...
cce96399-4287-4d82-82ed-ca013f39d691
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-22T10:22:58", "repo_name": "tinyauth/elasticsearch-tinyauth-plugin", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 699, "line_count": 26, "lang": "en", "doc_typ...
# Tinyauth for Elasticsearch This is an Elasticsearch plugin for offers authentication and authorization backed by Tinyauth. To build a dev environment use `docker-compose`: ``` docker-compose build docker-compose up ``` If you have a java development environment you can build a jar with: ``` gradle assemble ``` ...
8f4530c6-646e-4580-8c39-a22e31550130
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-05 09:45:02", "repo_name": "wangmingzeng/glasses-service", "sub_path": "/src/main/java/cn/com/zach/demo/glasses/mode/ReturnPage.java", "file_name": "ReturnPage.java", "file_ext": "java", "file_size_in_byte": 7...
package cn.com.zach.demo.glasses.mode; public class ReturnPage { // 开始页 private Integer page = 1; // 每页数据量 private Integer pageSize = 10; // 总共多少条数据 private long total = 0; public Integer getPage() { return page; } public void setPage(Integer page) { this.page = page; } public Integer getPageSize(...
8a695c60-6228-4e6b-a247-07d9165614a0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-30 16:03:10", "repo_name": "Praveen035/TestProject", "sub_path": "/Demo/src/com/abc/demo/SubmitEnable.java", "file_name": "SubmitEnable.java", "file_ext": "java", "file_size_in_byte": 700, "line_count": 23, "l...
package com.abc.demo; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class SubmitEnable { public static void main(String[] args) throws InterruptedException { String url="https://accoun...
e52c4468-aa3b-40f9-a0b4-5b34bfcfd551
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 17:00:42", "repo_name": "breno29silva/SO", "sub_path": "/Trabalho 02/Resolucão/Questão 3/DateClient.java", "file_name": "DateClient.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 32, "la...
package main; import java.net.*; import java.io.*; public class DateClient { public static void main(String[] args) throws IOException, InterruptedException { InputStream in = null; BufferedReader bin = null; Socket sock = null; String equacao = "+:2:4"; try { sock = new Socket("127.0.0.1", 6013); ...
574e5c41-1e4b-4fb2-9fc3-4557d27e7157
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-19 14:11:59", "repo_name": "noudisan/myapp", "sub_path": "/src/com/example/application/TestApp.java", "file_name": "TestApp.java", "file_ext": "java", "file_size_in_byte": 795, "line_count": 32, "lang": "en", ...
package com.example.application; import android.app.Application; import com.baidu.mapapi.SDKInitializer; import com.example.handler.CrashHandler; /** * Created by zhoutaotao on 6/17/15. */ public class TestApp extends Application { private static TestApp sInstance; @Override public void onCreate() { ...
e1e9f07d-bd6f-4c78-9281-61dc3820effd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-26 02:00:21", "repo_name": "artiumdominus/CreepyCrawler", "sub_path": "/src/main/java/dev/artiumdominus/creepycrawler/util/BodySearcher.java", "file_name": "BodySearcher.java", "file_ext": "java", "file_size_i...
package dev.artiumdominus.creepycrawler.util; import java.util.regex.*; public class BodySearcher { private static final String regex = ">([^<>]+)<"; private static final Pattern pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE); public static boolean find(String html, String keyword) { if (ht...
9a22a273-4f97-4d48-b543-bcd98fdbeaab
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-28 02:32:11", "repo_name": "jeonka1001/database_webProject", "sub_path": "/web_project/src/main/java/com/example/jeonka/vo/ReviewVO.java", "file_name": "ReviewVO.java", "file_ext": "java", "file_size_in_byte":...
package com.example.jeonka.vo; public class ReviewVO { private String mId; private int sCode; private double rStar; public ReviewVO() { } public ReviewVO(String mId, int sCode, double rStar) { this.mId = mId; this.sCode = sCode; this.rStar = rStar; } public St...
402e3676-ef50-4f14-a1da-06bd5f85e30b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-17 19:22:42", "repo_name": "artemmoskalev/mmo_server", "sub_path": "/src/main/java/blood/steel/server/model/fight/messaging/FightMessageList.java", "file_name": "FightMessageList.java", "file_ext": "java", "fi...
package blood.steel.server.model.fight.messaging; import java.util.*; import javax.xml.bind.annotation.XmlRootElement; import blood.steel.server.model.messaging.GameMessage; @XmlRootElement(name="gameMessage") public class FightMessageList extends GameMessage { private int pageNumber; private List<FightMessage> ...
5e644cbe-d0a6-4687-b3de-b804eb59f69c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-07 22:34:38", "repo_name": "cristianospsp/ants-in-my-pants-java", "sub_path": "/src/main/java/model/Left.java", "file_name": "Left.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 27, "lang":...
package model; /** * Created by Cristiano on 07/06/16. */ public class Left extends Moviment { @Override public void go(Board board, Ant ant) { Position novaPosicao = new Position(ant.getPosition().getLine(), ant.getPosition().getColum() - 1); board.getFields()[ant.getPosition().getLine()][ant.getPosition().g...
3c006a5a-30c3-4775-8a68-3edc24f4b354
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-22 10:37:07", "repo_name": "ZaynJiang/guard-dwarf", "sub_path": "/dwarf-register/src/main/java/cn/guard/dwarf/register/RegistryHelper.java", "file_name": "RegistryHelper.java", "file_ext": "java", "file_size_i...
package cn.guard.dwarf.register; import cn.guard.dwarf.common.conf.ClientConf; import java.util.List; import java.util.Map; public class RegistryHelper { private static String registCenterUrl = null; public RegistryHelper() { } public static void init(String url) { registCenterUrl = url; ...
69d08538-ba35-4fb3-9e8f-8e9df4c09bb9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-29 10:18:25", "repo_name": "enmuser/java-concurrent-in-action", "sub_path": "/src/main/java/org/example/chapter8/OtherService.java", "file_name": "OtherService.java", "file_ext": "java", "file_size_in_byte": 7...
package org.example.chapter8; /** * projectName: javaconcurrent * fileName: OtherService.java * packageName: org.example.chapter8 * date: 2020年01月21日 19:38:17 * create by enmuser * copyright(c) 1993-2020 enmuser.com */ public class OtherService { private final Object lock = new Object(); private DeadL...
1f7c983f-588e-4e89-863a-b601a1ef4263
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-22 18:25:20", "repo_name": "virgiliuguraliuc/algoritmpractice", "sub_path": "/src/main/java/org/fasttrackit/SortingRecords/SortingRecords.java", "file_name": "SortingRecords.java", "file_ext": "java", "file_si...
package org.fasttrackit.SortingRecords; import java.util.Arrays; import java.util.Comparator; import java.util.List; public class SortingRecords { public static void main(String[] args) { Record record1 = new Record(); record1.setFirstName( "Ana"); record1.setLastName( "Pop"); Re...
cfcebef0-011c-44d3-bfa0-511131ed4bf5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-25 01:34:40", "repo_name": "philipwallenius/VectorShapes", "sub_path": "/src/main/java/com/vectorshapes/model/shape/Ellipse.java", "file_name": "Ellipse.java", "file_ext": "java", "file_size_in_byte": 698, "li...
package com.vectorshapes.model.shape; /** * * Ellipse class that makes Ellipses cloneable * * Created by philipwallenius on 10/11/15. */ public class Ellipse extends javafx.scene.shape.Ellipse { public Ellipse(double centerX, double centerY, double radiusX, double radiusY) { super(centerX, centerY, r...
0304f3df-ab41-4be6-a16d-b2be68e719ca
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-10 07:14:16", "repo_name": "GaborPeto/android-exercise", "sub_path": "/api/src/main/java/com/gaborpeto/androidexercise/api/client/ApiClientFactory.java", "file_name": "ApiClientFactory.java", "file_ext": "java...
package com.gaborpeto.androidexercise.api.client; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import retrofit2.Retrofit; import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory; import retrofit2.converter.gson.GsonConverterFactory; public class ApiClientFactory { public ApiClient create(...
288e956c-8fcd-457c-86c0-6a8fe7b04f01
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-04 12:48:11", "repo_name": "yujin122/NCS", "sub_path": "/workspace(jsp)/16_ShoppingMall1/src/com/shop/action/MemberCartListAction.java", "file_name": "MemberCartListAction.java", "file_ext": "java", "file_size...
package com.shop.action; import java.io.IOException; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.shop.model.CartDAO; import com.shop.model.CartDTO; public class MemberCartListAction implements Action { @Override public ActionForwa...
ebf862ac-1512-42bf-b6bc-52a350ffd262
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-02 23:16:50", "repo_name": "hpbcrowe/CS246", "sub_path": "/teach03/src/week03/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 27, "lang": "en", "doc_type": "co...
package week03; import com.google.gson.Gson; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { // Create an instance of the Player class, // and populate it's values. Player p = new Player ("Toto", 1, 0, 0, ); //Create ...
d8078ed9-aece-4e44-a4bf-e77ed22ec059
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-15 23:36:52", "repo_name": "RlonRyan/ModularCommands", "sub_path": "/src/main/modcmd/converters/exceptions/ConverterMissingExeption.java", "file_name": "ConverterMissingExeption.java", "file_ext": "java", "fil...
/* * 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 modcmd.converters.exceptions; /** * * @author RlonRyan */ public final class ConverterMissingExeption extends ConverterExce...
c30bd2a5-8ef7-4cd3-a7d6-929a7ce78113
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-14 10:28:40", "repo_name": "nachowolf/GreetInConsole", "sub_path": "/src/main/java/greet/commands/CommandGreet.java", "file_name": "CommandGreet.java", "file_ext": "java", "file_size_in_byte": 698, "line_count...
package greet.commands; import greet.CommandExtractor; import greet.enums.Language; import greet.greeter.GreetCounter; public class CommandGreet implements Command { private GreetCounter counter; public CommandGreet(GreetCounter counter) { this.counter = counter; } @Override public Str...
59e1aeb9-f543-48cf-a1e3-04fa14fb43db
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-19T08:52:27", "repo_name": "texm/up-app-kaios", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 698, "line_count": 23, "lang": "en", "doc_type": "text", "blob_id"...
# Upbank KaiOS app This is a read-only KaiOS app for [Up Bank](https://up.com.au), using the v1 API. You can browse your transactions, available spending balance, and balance in savers. ## Get started Install the dependencies via `npm install` You will need to create the file `src/config.js` with your [personal acc...
4273021c-eb63-4969-87e6-60200c53f097
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-28 11:59:28", "repo_name": "jeevanmysore/tripacaddie", "sub_path": "/src/main/java/com/tripcaddie/backend/trip/model/RatingDiscussion.java", "file_name": "RatingDiscussion.java", "file_ext": "java", "file_size...
package com.tripcaddie.backend.trip.model; import javax.persistence.Column; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name="rating_discussion") public class RatingDiscussion { @EmbeddedId private RatingDiscussionPK ratingDiscussionPK; @Co...
a4b2da15-6c09-4c09-be44-767073c9e91f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 01:06:03", "repo_name": "vedant-sanil/trustable-voting-system", "sub_path": "/message/GetChainReply.java", "file_name": "GetChainReply.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 32, ...
/** * * File Name - GetChainReply.java * Created By - 14736 Spring 2020 TAs * Brief - * * The response format for a GetBlockChain API call */ package message; import java.util.List; public class GetChainReply { private int chain_id; private int chain_length; private...
676f4b62-51c7-4f73-8c0d-999ad758f7c4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-10-15T11:44:25", "repo_name": "grahamgilbert/munki_conditions", "sub_path": "/on_corp/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 697, "line_count": 20, "lang": "en", "doc_typ...
# on_corp.py This condition expects there to be a URL with a plist that returns the following if the Mac is on the corporate network: ``` xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <...
ef593f6d-04ce-4943-abd7-d926d8a7e34e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-04-17 01:09:16", "repo_name": "redsn0w422/HackIllinois2014", "sub_path": "/RandomThing/src/com/thing/randomthing/AndroidPhoneDevice.java", "file_name": "AndroidPhoneDevice.java", "file_ext": "java", "file_size_in...
package com.thing.randomthing; public class AndroidPhoneDevice { private String id; private String activity; private double latitude; private double longitude; private int points; public AndroidPhoneDevice(String id, String activity, double latitude, double longitude, int points){ this.id = id; thi...
b38f36b1-fa56-4512-ab9a-22b9fc2a8aff
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 02:29:28", "repo_name": "budyfriend/Song", "sub_path": "/app/src/main/java/com/budyfriend_code/song/model/dataLogin.java", "file_name": "dataLogin.java", "file_ext": "java", "file_size_in_byte": 698, "line_...
package com.budyfriend_code.song.model; public class dataLogin { private String key; private String username; private String password; private String level; public dataLogin() { } public dataLogin(String username, String password, String level) { this.username = username; ...
59de703d-c744-4011-9603-aa4ab8186a98
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-26 10:26:52", "repo_name": "thisissoon/FM-android", "sub_path": "/app/src/main/java/com/soon/fm/backend/event/PerformAddTrack.java", "file_name": "PerformAddTrack.java", "file_ext": "java", "file_size_in_byte"...
package com.soon.fm.backend.event; import com.soon.fm.Constants; import com.soon.fm.async.BaseAsync; import com.soon.fm.async.CallbackInterface; import com.soon.fm.backend.model.Uri; import com.soon.fm.spotify.api.model.Item; public class PerformAddTrack extends BaseAsync<Item> { private final String token; ...
164617f7-020c-46e5-a327-64a3ac0211e6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-27 20:05:47", "repo_name": "klapatnyuk/sberbank", "sub_path": "/sberbank-web/src/main/java/ru/klapatnyuk/sberbank/web/notification/Warning.java", "file_name": "Warning.java", "file_ext": "java", "file_size_in_...
package ru.klapatnyuk.sberbank.web.notification; import com.vaadin.server.Page; import com.vaadin.shared.Position; import com.vaadin.ui.Notification; /** * @author klapatnyuk */ public class Warning extends Notification { private static final long serialVersionUID = 1472999010909744908L; public Warning(St...
a9db2702-153c-4a62-9c5c-4862571cc722
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-20 23:44:21", "repo_name": "realityforge/gwt-datatypes", "sub_path": "/src/main/java/org/realityforge/gwt/datatypes/client/collections/JsoReadOnlyIntegerList.java", "file_name": "JsoReadOnlyIntegerList.java", ...
package org.realityforge.gwt.datatypes.client.collections; import com.google.gwt.core.client.JsArrayInteger; import java.util.AbstractList; import java.util.List; /** * An adapter converting the JsArrayInteger to support a List interface. */ public final class JsoReadOnlyIntegerList extends AbstractList<Integer> ...
db1a6d25-13b1-406b-8455-5f4deaf53ab1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 18:25:05", "repo_name": "Braayy/bPets", "sub_path": "/src/main/java/braayy/pets/command/PetCommand.java", "file_name": "PetCommand.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 27, "lan...
package braayy.pets.command; import braayy.pets.inventory.SimpleInventory; import braayy.pets.inventory.pet.PetInventory; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; public class PetCommand implements CommandEx...
d1fa944a-5f62-47c2-b281-fa2deb1470e5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-05 15:45:59", "repo_name": "jagadeesh-hooli/TweetSentiUI", "sub_path": "/src/main/java/com/service/tweetTopicService.java", "file_name": "tweetTopicService.java", "file_ext": "java", "file_size_in_byte": 698, ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.service; import com.database.TweetManager; import java.util.*; /** * * @author jagadeesh */ public class tweetTopicSer...
5a1e8e93-e5bf-4010-a45c-f2ddb70439af
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-19 06:27:05", "repo_name": "Konstantin-Chebanov/spring-app", "sub_path": "/src/main/java/ru/chebanov/springLesson9/TestJava9.java", "file_name": "TestJava9.java", "file_ext": "java", "file_size_in_byte": 697, ...
package ru.chebanov.springLesson9; import org.springframework.context.support.ClassPathXmlApplicationContext; public class TestJava9 { public static void main(String[] args) { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( "applicationContext9.xml" );...
e3662925-40fe-4049-b4c3-0c11cbc39d2b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-26 03:31:10", "repo_name": "tuzongxun/servletproject", "sub_path": "/src/main/java/servletTest/model/UserModel.java", "file_name": "UserModel.java", "file_ext": "java", "file_size_in_byte": 1018, "line_count":...
package servletTest.model; /** * 通常用到的类根据功能大致可分为两种:一种是功能类,以方法和逻辑为主,用来处理业务逻辑;一种是实体类,以存放数据为主; * 这里是一个简单用户实体类:一般标准的实体类,应该包含至少基本属性、get/set方法、重写的toString方法、构造方法(不写默认就有) * 涉及到外部交互的,通常都还要实现序列化,即implements Serializable, * 并生成一个serialVersionUID,这里的外部如浏览器、数据库、其他系统 * * @author tzx * */ public class UserModel { private...
3628053f-a87f-46d2-b5cc-0d8466f619ad
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-15 13:16:05", "repo_name": "wangxilianggit/message-service", "sub_path": "/message-facade/src/main/java/com/panshi/hujin2/message/facade/bo/MsgTemplateCountryInputBO.java", "file_name": "MsgTemplateCountryInpu...
package com.panshi.hujin2.message.facade.bo; import lombok.Data; import java.io.Serializable; /** * create by shenjiankang on 2018/6/30 15:22 */ @Data public class MsgTemplateCountryInputBO implements Serializable { private static final long serialVersionUID = -4185738620285292824L; /** * 短信模板编号(首次...
4c3eacae-7513-4ae8-93f5-9fa6cbf24ac6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-07 14:52:52", "repo_name": "tranviettrinh/LapTrinhOPPJava", "sub_path": "/src/bongda164/CLB164.java", "file_name": "CLB164.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 38, "lang": "en", "...
/* * 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 bongda164; /** * * @author trinhtv.B17AT191 */ public class CLB164 { private String id, name; private int giave; ...
5f48f701-1f81-4047-a88e-faed5dce6e2e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-17 10:29:47", "repo_name": "vintyk/ProjectJava", "sub_path": "/service/src/main/java/by/ecp/services/JobServiceImpl.java", "file_name": "JobServiceImpl.java", "file_ext": "java", "file_size_in_byte": 698, "lin...
package by.ecp.services; import by.ecp.db.JobDao; import by.ecp.entity.Job; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * Created by SystemUser on 28.06.2017....
f5af4ea5-c915-4340-8575-d4ffb0d78151
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 18:11:47", "repo_name": "nsirbu/whowantstobeamillionaire", "sub_path": "/src/main/java/edu/java/millionaire/help/HelpOption.java", "file_name": "HelpOption.java", "file_ext": "java", "file_size_in_byte": 69...
package edu.java.millionaire.help; import edu.java.millionaire.question.AnswerHelp; import edu.java.millionaire.question.Question; import java.util.List; import java.util.Random; /** * @author nsirbu * @since 30.04.2021 */ public abstract class HelpOption { protected boolean isUsed; protected Random randomiz...
0960d23f-99f9-4a94-83e1-0b76a30ae07d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-03 10:09:49", "repo_name": "KiiraGit/Anmol", "sub_path": "/ValAPed/src/step3/dto/filaPedido.java", "file_name": "filaPedido.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 51, "lang": "en", ...
package step3.dto; import step3.manager.filaPedidoManager; public class filaPedido { private String ean; private int uds; public filaPedido(String ean, int uds) { this.ean = ean; this.uds = uds; filaPedidoManager.addFila(this); } public String getEan() { return ean; } pub...
84cc438b-3b13-4500-81ef-a3e25be765eb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-13 15:30:50", "repo_name": "asgheralishaik/problemsolving", "sub_path": "/src/main/java/com/leetcode/crackthecodes/solutions/medium/ListNode.java", "file_name": "ListNode.java", "file_ext": "java", "file_size_...
package com.leetcode.crackthecodes.solutions.medium; import java.util.Objects; public class ListNode { int val; @Override public String toString() { return "ListNode{" + "val=" + val + ", next=" + next + '}'; } ListNode next; ListNode(int x) { val = x; } @Override public...
fa57ea4c-c7bf-4076-9a81-480d746cbc4d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-29T13:31:55", "repo_name": "neilmpatterson/gratefuldev", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 698, "line_count": 16, "lang": "en", "doc_type": "text", ...
gratefuldev =========== Rails application that will showcase developing a single page javascript application using Backbone, Marionette and Underscore using coffeescript and eco templates. We will build it using the Grateful Dead live recording data collected over thirty years from 1965 through 1995. The applicatio...
4e246645-01b4-4bd2-949b-83786157c50c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-23 08:49:48", "repo_name": "Masa2019-G1/-41_20_01_20_Android_Http_Intro", "sub_path": "/app/src/main/java/com/telran/a20_01_20_cw/dto/ErrorDto.java", "file_name": "ErrorDto.java", "file_ext": "java", "file_siz...
package com.telran.a20_01_20_cw.dto; public class ErrorDto { int code; String message; public ErrorDto() { } public ErrorDto(int code, String message) { this.code = code; this.message = message; } public int getCode() { return code; } public void setCode(...
a7351628-5e1c-458d-ba9b-c0fbdff4bbea
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-30 08:48:09", "repo_name": "think2018/easy", "sub_path": "/toolkit/src/main/java/com/cheng/jsp/Tab.java", "file_name": "Tab.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 45, "lang": "en", ...
package com.cheng.jsp; /** * @author chengyunfei * @version 1.0 * @date : 2017-07-14 17:57:02 * @Description ch ... */ public class Tab { private String active; private String url; private String tabName; public String getActive() { return active; } public void setActive(String active) { this.active =...
ba753576-b4d3-4fc9-afe2-a369c359ddda
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-09 04:14:48", "repo_name": "YoonSung/MSA_SimpleShoppingMall_Yoonsung", "sub_path": "/Authentication/src/main/java/dto/TokenBody.java", "file_name": "TokenBody.java", "file_ext": "java", "file_size_in_byte": 69...
package dto; import domain.Authority; import java.util.List; /** * Created by yoon on 15. 9. 1.. */ public class TokenBody { private Long id; private List<Authority> authorityList; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public...
18fe07b5-5f58-483e-b0c0-49926709a6d9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-07 01:56:27", "repo_name": "JunyiSun/java-html-parser", "sub_path": "/test/AuthorNameMatcherTest.java", "file_name": "AuthorNameMatcherTest.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 30...
package test; import static org.junit.Assert.*; import org.junit.Test; import exceptions.NoMatchException; import a3.AuthorNameMatcher; //test AuthorNameMatcher class public class AuthorNameMatcherTest { //test extractAuthorsName method @Test public void testAuthorNameMatcher() { String rawHTMLString = "...
bafd8d72-155c-469a-ac2d-9a9a083b59c8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18T00:15:01", "repo_name": "2014211497/simple-car-lease", "sub_path": "/src/main/java/com/yclin/simplecarlease/param/user/UserLoginParam.java", "file_name": "UserLoginParam.java", "file_ext": "java", "file_siz...
package com.yclin.simplecarlease.param.user; import com.yclin.simplecarlease.param.BaseParam; import com.yclin.simplecarlease.ropo.CheckResult; import lombok.Data; import lombok.EqualsAndHashCode; /** * @author LinYuchang */ @EqualsAndHashCode(callSuper = true) @Data public class UserLoginParam extends BaseParam { ...
f4697a9d-7f24-4e0a-a9e0-00f42ea96a47
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-13 09:21:05", "repo_name": "hwpjiayou/x2project", "sub_path": "/src/com/renren/mobile/x2/network/talk/binder/LocalBinder.java", "file_name": "LocalBinder.java", "file_ext": "java", "file_size_in_byte": 699, "l...
package com.renren.mobile.x2.network.talk.binder; public class LocalBinder { private LocalBinder(){} PollBinder mBinder = null; private static final byte[] LOCK = new byte[0]; private static LocalBinder sInstance = new LocalBinder(); public static LocalBinder getInstance(){ return sInstance; } p...
1e11ffbf-d6cc-43d2-903b-da6d2ca90661
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-12 19:43:45", "repo_name": "CarlosHenckes/test_compasso", "sub_path": "/src/main/java/com/cadcli/test_compasso/service/CityService.java", "file_name": "CityService.java", "file_ext": "java", "file_size_in_byte...
package com.cadcli.test_compasso.service; import com.cadcli.test_compasso.entity.City; import com.cadcli.test_compasso.repository.CityRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class CityService { ...
346c8f2f-b58d-4dcc-b505-679933769aed
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-22 23:54:57", "repo_name": "Gravebird/Mastermind", "sub_path": "/codeword/TooFewDigitsInCodewordException.java", "file_name": "TooFewDigitsInCodewordException.java", "file_ext": "java", "file_size_in_byte": 69...
package codeword; /** * Thrown when there are not enough digits in a codeword (less than 6) * * @author Bryan Rainbow * */ public class TooFewDigitsInCodewordException extends InvalidCodewordException { /** * The amount of digits found in the codeword that caused the error. */ private final in...
7140d8f1-3f3c-4df2-9eae-add48d5bc45c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-29T21:26:17", "repo_name": "camgunz/goindydemo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 699, "line_count": 19, "lang": "en", "doc_type": "text", "blob_id...
# Go Indy Demo This is a demonstration website I built using Symfony 2 and Bootstrap 3. It is fully responsive, tested using Chromium's built-in device emulation. I spent most of the development time figuring out how to set up Symfony and Bootstrap (~10% of the time) and finding/editing images (~50%-60% of the time)...
3940b636-e590-450b-8ba7-ca797f7b4615
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-04 13:42:01", "repo_name": "tiandaye/tian-netty", "sub_path": "/src/main/java/com/tianwangchong/protocol/request/MessageRequestPacket.java", "file_name": "MessageRequestPacket.java", "file_ext": "java", "file_...
package com.tianwangchong.protocol.request; import com.tianwangchong.protocol.Packet; import lombok.Data; import lombok.NoArgsConstructor; import static com.tianwangchong.protocol.command.Command.MESSAGE_REQUEST; /** * 客户端发送至服务端的消息 * <p> * Copyright (c) 2022, Bongmi * All rights reserved * Author: tianwangchong...
349ea0e3-a887-4d02-9e3a-5a6bc16e8da6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-29T01:57:57", "repo_name": "wonderbowl12/Twilio-Weather", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 703, "line_count": 23, "lang": "en", "doc_type": "text",...
# Twilio-Weather Simple program that uses a weather API, creates a message, and sends it to you through text. Requires you to have a twilio account (free trial works) and a working phone number with texting enabled. The program also works without needing twilio, however, you would need to comment line 45 and change ...
4e425207-8758-40dc-90a3-4cd24dea704e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-24 19:09:03", "repo_name": "Akaenki/LeetCode", "sub_path": "/817/LinkedListComponents.java", "file_name": "LinkedListComponents.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 29, "lang": "e...
import java.util.*; public class LinkedListComponents { public class ListNode { int val; ListNode next; ListNode(int x) { val = x; } } public int numComponents(ListNode head, int[] G) { int N = 0; ListNode top = head; while(top != null){ N++; top = top.n...
6cecb94c-cc21-448c-8979-28c05ff59035
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-04 04:07:41", "repo_name": "sjtuwyf/java-basic-code", "sub_path": "/shuangyuan/09_IOAndProperties/src/com/itheima/demo06/trycatch/Demo03JDK9.java", "file_name": "Demo03JDK9.java", "file_ext": "java", "file_siz...
package com.itheima.demo06.trycatch; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; public class Demo03JDK9 { public static void main(String[] args) throws FileNotFoundException { FileInputStream fis = new FileInputStream(...
5d7db6f1-773e-4c29-b4f5-3504adf4e452
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-07 16:11:56", "repo_name": "zhouyueyuedsf/workspace", "sub_path": "/BirthdayTree/src/com/example/birthdaytree/thread/ServiceThreadForClient.java", "file_name": "ServiceThreadForClient.java", "file_ext": "java"...
package com.example.birthdaytree.thread; import java.util.List; import android.content.Context; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; public class ServiceThreadForClient extends Thread{ Context context; ...
052388ed-a701-4deb-8eac-e07c2bda4632
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-02 07:38:22", "repo_name": "yelaaaaaaaaa/mycarIm", "sub_path": "/OneIMKit/src/main/java/com/yryc/imkit/constant/Align.java", "file_name": "Align.java", "file_ext": "java", "file_size_in_byte": 710, "line_count...
package com.yryc.imkit.constant; /** * @author : Mai_Xiao_Peng * @email : Mai_Xiao_Peng@163.com * @time : 2018/11/30 16:25 * @describe :图片对齐方式 */ public enum Align { LEFT(2, "left", ""), RIGHT(4, "right", ""), TOP(1, "top", ""), BOTTOM(5, "bottom", ""), CENTER(3, "center", ""); private ...
51b6c922-8ac9-46b2-976f-5d01ed01a85c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-16 15:00:24", "repo_name": "Plaitano/springmvc", "sub_path": "/src/main/java/com/trial/model/Material.java", "file_name": "Material.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 43, "lang"...
package com.trial.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @JsonIgnoreProperties(ignoreUnknown = true) public class Material { protected String name; @JsonProperty("ID") protected Integer id; private Integer companyID; public...
ac00b1aa-0da5-4572-85f8-61b25305621a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-15 14:12:18", "repo_name": "TestingDavid/testspring", "sub_path": "/src/main/java/firsttest/services/PersonService.java", "file_name": "PersonService.java", "file_ext": "java", "file_size_in_byte": 698, "line_...
package firsttest.services; import firsttest.main.Person; import firsttest.repositories.PersonRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public class PersonService { @Autowired private PersonReposi...
a813742c-4bfb-44cc-b196-25a5df6b4630
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-17 09:12:55", "repo_name": "Bzdeco/avalanche", "sub_path": "/src/main/java/org/avalanche/weather/provider/MountainForecastWeatherProvider.java", "file_name": "MountainForecastWeatherProvider.java", "file_ext":...
package org.avalanche.weather.provider; import org.avalanche.weather.coordinates.Coords; import org.avalanche.weather.entities.Weather; public class MountainForecastWeatherProvider implements WeatherProvider { private final Peak peak; public MountainForecastWeatherProvider(MountainForecastPageParser parser,...
3605e8b8-f28f-4b62-a067-2762512c19ec
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-17 15:26:39", "repo_name": "nestorrente/jitl-sql-processor", "sub_path": "/src/test/java/com/nestorrente/jitl/processor/sql/yugioh/FailRepositoryTest.java", "file_name": "FailRepositoryTest.java", "file_ext": ...
package com.nestorrente.jitl.processor.sql.yugioh; import org.junit.BeforeClass; import org.junit.Test; import java.sql.SQLException; public class FailRepositoryTest extends YugiohDatabaseTest { private static FailRepository REPOSITORY; @BeforeClass public static void setUpRepository() throws ClassNotFoundExcep...
cf104c68-6c98-4add-9cee-1833b978536f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 17:02:19", "repo_name": "CicciiSacket/Java", "sub_path": "/12.6.1/src/com/company/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 698, "line_count": 28, "lang": "en", "doc_typ...
package com.company; import java.util.ArrayList; import java.util.Collections; public class Main { public static void main(String[] args) { String nome = null; double peso; int età; Animale Aron = new Animale("Aron",7.4,03); Animale fuffi = new Animale("Fuffi",10,1); ...
f1a24d98-020a-4b7f-a17f-c395342a05b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-24 21:28:14", "repo_name": "williambrach/test-automatization-idea-plugin", "sub_path": "/src/main/java/highlighter/HighlightedLine.java", "file_name": "HighlightedLine.java", "file_ext": "java", "file_size_in_...
package highlighter; import com.intellij.openapi.editor.Document; public class HighlightedLine { /** * Document where highlight is */ private Document document; /** * Line number of highlight */ private Integer line_num; HighlightedLine(Document doc, Integer line_num){ ...
dfc9ed4a-2953-4d9c-aba8-0d11e1a1fdb5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-21 16:19:31", "repo_name": "sarita2505/serialization", "sub_path": "/src/main/java/com/java/inheritance/serialize_class/SerializeStaff.java", "file_name": "SerializeStaff.java", "file_ext": "java", "file_size_...
package com.java.inheritance.serialize_class; import com.java.inheritance.model.Staff; import java.io.*; public class SerializeStaff { public static void main(String[] args) { Staff staff=new Staff("harish",1); try { FileOutputStream outputStream=new FileOutputStream("stf.ser"); ...
f9ce3436-5ef6-433c-bb4f-b21568361b50
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-01 20:47:43", "repo_name": "vishnupriyaP/LetUsB-", "sub_path": "/NewsMedia.java", "file_name": "NewsMedia.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 45, "lang": "en", "doc_type": "code"...
import java.util.List; public enum NewsMedia { NEWSPAPER, ONLINE, TV; public static List<NewsMedia> VALUES_LIST; /** * <P> * This method will convert the enumeration to a prettier version. * </P> */ @Override public String toString() { switch (this) { case NEWSPAPER: re...
5af4360b-0ca1-4c24-bc41-d17362652a2a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-04-15T16:10:01", "repo_name": "albertosouza/sails-context", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 698, "line_count": 34, "lang": "en", "doc_type": "text", ...
# sails-context > Sails.js context loader. > This module preload data like current record, list count ... etc for use in others policies, controllers and views as req.context ## Want to help? see: https://gist.github.com/albertosouza/81bfb2bea761b7b6f5fe ### How it will work? ... a sails acl proposal ... Link: http...
b447f270-5386-4636-89bd-2572149a1151
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-03 06:03:26", "repo_name": "illinoistechesi/fish", "sub_path": "/NormalRoutine.java", "file_name": "NormalRoutine.java", "file_ext": "java", "file_size_in_byte": 697, "line_count": 24, "lang": "en", "doc_type"...
package fish; import java.util.*; public class NormalRoutine extends Routine { private double limit; public NormalRoutine(double limit){ this.limit = limit; } public Location getNextLocation(Person person, City city){ Location nextLoc = person.getLocation(); if(pe...
93993932-8e4b-4f8d-8922-2f2a944576b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17T15:31:54", "repo_name": "antoninastefanowska/SocialSynchro", "sub_path": "/app/src/main/java/com/antonina/socialsynchro/services/facebook/rest/responses/FacebookResponse.java", "file_name": "FacebookRespons...
package com.antonina.socialsynchro.services.facebook.rest.responses; import com.antonina.socialsynchro.common.rest.ErrorResponse; import com.antonina.socialsynchro.common.rest.IResponse; import com.google.gson.annotations.SerializedName; public abstract class FacebookResponse implements IResponse { private String...
c42c32b2-dfa2-4a2b-aae9-44f39a28b205
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-31 08:42:59", "repo_name": "tmwalo/fixme", "sub_path": "/market/src/main/java/com/gmail/vuyotm/fixme/market/Stock.java", "file_name": "Stock.java", "file_ext": "java", "file_size_in_byte": 699, "line_count": 3...
package com.gmail.vuyotm.fixme.market; public class Stock { private final String tickerSymbol; private float price; private int qty; public Stock(String tickerSymbol, float price, int qty) { this.tickerSymbol = tickerSymbol; this.price = price; ...