id stringlengths 36 36 | meta stringlengths 429 697 | url stringlengths 27 109 | tokens int64 137 584 | domain_prefix stringlengths 16 106 | score float64 0.16 0.3 | code_content stringlengths 960 1.25k |
|---|---|---|---|---|---|---|
04bd3d3e-77df-4627-a63a-3c7269fff36d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-25 09:18:48", "repo_name": "aisnia/practice", "sub_path": "/java/jdk_practice/src/main/java/queue/MQClient.java", "file_name": "MQClient.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 34, ... | https://github.com/aisnia/practice | 198 | FILENAME: MQClient.java | 0.23092 | package queue;
import java.io.*;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
/**
* @author xiaoqiang
* @date 2020/9/1-21:40
*/
public class MQClient {
public void produce(String message) throws IOException {
Socket socket = new Socket(InetAddress.getLocalH... |
c0d77431-361e-4959-ab24-26cc514fd91c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-03 16:35:22", "repo_name": "michaelliu624/CMS", "sub_path": "/src/main/java/com.springmvc.cms/service/impl/TeacherPermissionImpl.java", "file_name": "TeacherPermissionImpl.java", "file_ext": "java", "file_size... | https://github.com/michaelliu624/CMS | 198 | FILENAME: TeacherPermissionImpl.java | 0.245085 | package com.springmvc.cms.service.impl;
import com.springmvc.cms.mapper.SelectTeacherPermissionMapper;
import com.springmvc.cms.mapper.StudentLoginMapper;
import com.springmvc.cms.model.TeacherPermission;
import com.springmvc.cms.service.SelectTeacherService;
import org.springframework.stereotype.Repository;
import or... |
ae68a16b-1398-4703-b1e6-ddd7f5b00695 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-09 14:28:47", "repo_name": "oleaka/domeneparser", "sub_path": "/src/main/java/no/domeneparser/CrawlResultSummary.java", "file_name": "CrawlResultSummary.java", "file_ext": "java", "file_size_in_byte": 977, "li... | https://github.com/oleaka/domeneparser | 244 | FILENAME: CrawlResultSummary.java | 0.292595 | package no.domeneparser;
public class CrawlResultSummary {
public final int numberOfUrls;
public final long unknownWords;
public final long nynorskWords;
public final long bokmaalWords;
public final long englishWords;
public CrawlResultSummary(int numberOfUrls, long unknownWords, long nynorskWords, long bokmaa... |
8fa64e56-0062-456e-a101-3d845a3bfe54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-03 13:46:20", "repo_name": "Omender123/ImTrade", "sub_path": "/app/src/main/java/com/trade/imtrade/Model/request/ForgetPasswordBody.java", "file_name": "ForgetPasswordBody.java", "file_ext": "java", "file_size... | https://github.com/Omender123/ImTrade | 212 | FILENAME: ForgetPasswordBody.java | 0.193147 | package com.trade.imtrade.Model.request;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class ForgetPasswordBody {
@SerializedName("email")
@Expose
private String email;
@SerializedName("otp")
@Expose
private String otp;
@SerializedName... |
3064b833-ecc5-4487-84ff-a47555775c2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 09:07:24", "repo_name": "a514760469/UnderstandJVM", "sub_path": "/src/main/java/com/concurrent/synchronizer/Preloader.java", "file_name": "Preloader.java", "file_ext": "java", "file_size_in_byte": 1096, "li... | https://github.com/a514760469/UnderstandJVM | 226 | FILENAME: Preloader.java | 0.256832 | package com.concurrent.synchronizer;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
/**
* @author zhanglifeng
* @since 2020-06-15 17:37
*/
public class Preloader {
private final FutureTask<ProductInfo> future = new FutureTask<>(new... |
e0f65f8b-5910-4bce-a5c7-06aba73c3b2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28 17:42:30", "repo_name": "oxovu/SpringMVC", "sub_path": "/src/main/java/ru/Technopolis/TodoUserPrincipal.java", "file_name": "TodoUserPrincipal.java", "file_ext": "java", "file_size_in_byte": 1012, "line_cou... | https://github.com/oxovu/SpringMVC | 205 | FILENAME: TodoUserPrincipal.java | 0.226784 | package ru.Technopolis;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import ru.Technopolis.model.entities.TodoUser;
import java.util.Collection;
public class TodoUserPrincipal implements UserDetails {
private TodoUser user;
publ... |
91633c02-9226-4ab6-a3fd-908f2c3fdf83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-31 07:06:48", "repo_name": "sebasbad/guice-async-extension", "sub_path": "/src/main/java/de/skuzzle/inject/async/internal/runnables/LatchLockableRunnable.java", "file_name": "LatchLockableRunnable.java", "file... | https://github.com/sebasbad/guice-async-extension | 227 | FILENAME: LatchLockableRunnable.java | 0.27513 | package de.skuzzle.inject.async.internal.runnables;
import static com.google.common.base.Preconditions.checkState;
import java.util.concurrent.CountDownLatch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
class LatchLockableRunnable implements LockableRunnable {
private static final Logger LOG = Log... |
7ed08347-750f-45c2-9ac2-7b26d5b0745c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-24 03:23:48", "repo_name": "xddpool/mmj-cloud", "sub_path": "/mmj-cloud-oauth/src/main/java/com/mmj/oauth/supper/CustomOauthExceptionSerializer.java", "file_name": "CustomOauthExceptionSerializer.java", "file_... | https://github.com/xddpool/mmj-cloud | 241 | FILENAME: CustomOauthExceptionSerializer.java | 0.255344 | package com.mmj.oauth.supper;
import java.io.IOException;
import java.util.Map;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
public class CustomOauthExceptionSerializer extends StdSeria... |
6a48ad58-400f-4692-b2ef-501506d7909f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-10 22:22:05", "repo_name": "pgaitan1/workspace", "sub_path": "/5thClass/src/functionGenerator/JunitTest.java", "file_name": "JunitTest.java", "file_ext": "java", "file_size_in_byte": 1052, "line_count": 47, "l... | https://github.com/pgaitan1/workspace | 260 | FILENAME: JunitTest.java | 0.283781 | package functionGenerator;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class JunitTest {
String firstname = "Paul";
String lastname = "McConnel";
String phonen... |
33741791-70c2-4f18-9a52-f06bca247bae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-25 14:01:34", "repo_name": "tomasda/PLAE", "sub_path": "/PortaFirmasFacadeCORE/src/es/apt/ae/facade/entities/DocumentoIndicePk.java", "file_name": "DocumentoIndicePk.java", "file_ext": "java", "file_size_in_by... | https://github.com/tomasda/PLAE | 275 | FILENAME: DocumentoIndicePk.java | 0.27048 | package es.apt.ae.facade.entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class DocumentoIndicePk implements Serializable {
private static final long serialVersionUID = 7608279801899841257L;
@Column(name = "ADMINISTRATIVE_FI... |
2324b55b-722f-4f4b-bd35-0ecad95a89ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-13T04:42:00", "repo_name": "miskusi/LIRI-BotMaster", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 38, "lang": "en", "doc_type": "text", "blo... | https://github.com/miskusi/LIRI-BotMaster | 260 | FILENAME: README.md | 0.286968 | # LIRI Bot
LIRI is a Language Interpretation and Recognition Interface. It will take in commands through the node app and gives you back data.
Commands you can enter:
* `my-tweets`
* `spotify-this-song`
* `movie-this`
* `do-what-it-says`
To Run the LIRI-Bot:
1: node liri.js my-tweets. This will show your last 20 twe... |
392c7d4a-c4ec-48f7-b4f6-7f26a8d20454 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-24 05:11:32", "repo_name": "carpanese/gourmetGame", "sub_path": "/src/main/java/br/com/carpanese/objective/model/Node.java", "file_name": "Node.java", "file_ext": "java", "file_size_in_byte": 1208, "line_count... | https://github.com/carpanese/gourmetGame | 279 | FILENAME: Node.java | 0.259826 | package br.com.carpanese.objective.model;
/**
* Classe de nos para arvore
* @author tiago.carpanese
*
*/
public class Node {
private String description;
private Node left;
private Node right;
public Node (String description) {
this.description = description;
right = null;
le... |
1b8e6eb7-e124-4cb4-b151-69c7ea35e6ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-02-09T12:38:51", "repo_name": "lucascastejon/go-angular", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 993, "line_count": 45, "lang": "en", "doc_type": "text", "b... | https://github.com/lucascastejon/go-angular | 265 | FILENAME: README.md | 0.245085 |
# Go - Angular
This is a test application to communicate Angular and Go with Sign-up
### The Go application is in the main.go file
### The Angular application is in the /assets folder
### Run
Just run `go run main.go` and it will start a server at :1357 so enter `localhost:1357` and you'll see the angular applicat... |
dfa36f5a-457c-418e-8394-0563f9ca2552 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-15 02:26:51", "repo_name": "jpassgo/reactive-java", "sub_path": "/src/main/java/com/pascoe/reactivelearnings/filter/RedirectFilter.java", "file_name": "RedirectFilter.java", "file_ext": "java", "file_size_in_b... | https://github.com/jpassgo/reactive-java | 199 | FILENAME: RedirectFilter.java | 0.183594 | package com.pascoe.reactivelearnings.filter;
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
import org.springframework.cloud.gateway.filter.GlobalFilter;
import org.springframework.stereotype.Service;
import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web... |
03b13758-370a-41c2-9eda-45ee390de82c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 23:32:18", "repo_name": "al3xbr0/configuration-update-automation", "sub_path": "/src/main/java/automation/delegate/docs/GenerateConfluenceTableDelegate.java", "file_name": "GenerateConfluenceTableDelegate.j... | https://github.com/al3xbr0/configuration-update-automation | 201 | FILENAME: GenerateConfluenceTableDelegate.java | 0.247987 | package automation.delegate.docs;
import automation.domain.ConfluencePage;
import automation.domain.ProcessVariables;
import automation.service.ConfluenceIntegrationService;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import org.springframework.beans.f... |
4ae585b3-023c-4a71-9093-951d090bc0f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-22 10:03:22", "repo_name": "deanzd/micro", "sub_path": "/momp-model/src/main/java/com/eking/momp/model/po/ModelRelationPO.java", "file_name": "ModelRelationPO.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/deanzd/micro | 232 | FILENAME: ModelRelationPO.java | 0.228156 | package com.eking.momp.model.po;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eking.momp.mybatis.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.experimental.Accessors;
/**
* <p>
*
* </p>
*
* @author Dean
* @since 2019-11-21
*/
@Data
@EqualsA... |
035cbd01-742c-44e9-83dc-78b620e5c21b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 20:28:10", "repo_name": "bcgov/gwa-ui", "sub_path": "/src/main/java/ca/bc/gov/gwa/servlet/developerkey/DeveloperApiServlet.java", "file_name": "DeveloperApiServlet.java", "file_ext": "java", "file_size_in_b... | https://github.com/bcgov/gwa-ui | 195 | FILENAME: DeveloperApiServlet.java | 0.208179 | package ca.bc.gov.gwa.servlet.developerkey;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ca.bc.gov.gwa.v1.ApiService;
impor... |
16a206de-ac37-4677-a5d1-3d7fe58fa5fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-09-12T23:03:23", "repo_name": "mrVanDalo/module.krops", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 38, "lang": "en", "doc_type": "text", "bl... | https://github.com/mrVanDalo/module.krops | 267 | FILENAME: README.md | 0.240775 | # module-krops
A repository to make some jobs using krops nicer.
## keys
```nix
krops.keys."foobar".path = /run/keys/foobar;
```
Will create a service `key.foobar.service` which is not started
until the key-file `/run/keys/foobar` is present.
You can reference the serivcename by `config.krops.keys."foobar".serviceN... |
e005b394-ade2-41d5-a866-d624e06b5384 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-10 20:37:17", "repo_name": "Ghostwritertje/etf", "sub_path": "/src/main/java/be/ghostwritertje/WicketSession.java", "file_name": "WicketSession.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count... | https://github.com/Ghostwritertje/etf | 222 | FILENAME: WicketSession.java | 0.212069 | package be.ghostwritertje;
import org.apache.wicket.Session;
import org.apache.wicket.protocol.http.WebSession;
import org.apache.wicket.request.Request;
import org.apache.wicket.request.cycle.RequestCycle;
/**
* Created by jorandeboever
* on 19/03/16.
*/
public class WicketSession extends WebSession {
privat... |
b519fde5-38bd-47fa-a2ad-57cbac1abcd0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-30 07:42:16", "repo_name": "yingwei0831/RecyclerView", "sub_path": "/app/src/main/java/com/yw/testrecyclerview/retrofitutils/model/fetch/LineDetailFetch.java", "file_name": "LineDetailFetch.java", "file_ext": ... | https://github.com/yingwei0831/RecyclerView | 288 | FILENAME: LineDetailFetch.java | 0.259826 | package com.yw.testrecyclerview.retrofitutils.model.fetch;
import com.yw.testrecyclerview.retrofitutils.model.BaseFetch;
/**
* Created by jiahe008_lvlanlan on 2017/2/24.
*/
public class LineDetailFetch {
/**
* head : {"code":"Publics_show"}
* field : {"id":"589","memberid":"73"}
*/
/**
... |
e1f69724-d467-49e4-86d3-21675a405e74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-10 01:28:39", "repo_name": "phronesys/EDDyA", "sub_path": "/Tareas/Tarea5/entropia.java", "file_name": "entropia.java", "file_ext": "java", "file_size_in_byte": 1209, "line_count": 41, "lang": "en", "doc_type"... | https://github.com/phronesys/EDDyA | 253 | FILENAME: entropia.java | 0.276691 | import java.util.*;
import java.lang.*;
public class entropia {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String line = scan.nextLine();
while(!line.equals("****END_OF_INPUT****"))
{
int nWords = 0;
... |
798005cc-3317-4399-af2d-36753755f4f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-28 07:01:39", "repo_name": "irenkamalova/happyBDayBot", "sub_path": "/src/main/java/com/kamalova/bot/Question.java", "file_name": "Question.java", "file_ext": "java", "file_size_in_byte": 969, "line_count": 41... | https://github.com/irenkamalova/happyBDayBot | 189 | FILENAME: Question.java | 0.258326 | package com.kamalova.bot;
import java.util.List;
public class Question {
private final int number;
private final String question;
private final List<String> answers;
private final String correctAnswer;
public Question(int number, String question, List<String> answers, String correctAnswer) {
... |
c800209b-0e26-4549-89ae-57fcf5e0c475 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-25T10:03:37", "repo_name": "rg-28/ant_hardware", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1149, "line_count": 19, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/rg-28/ant_hardware | 246 | FILENAME: README.md | 0.273574 | # ant_hardware
Trying to create an autonomous bot using Raspberry Pi and Arduino Mega with other required hardware.
Integrated various hardware modules with ROS (like motors, encoders, camera etc.)
Code for the following cases:
* **ros_encoders_embed** - Embedded C code for integrating motor encoders with Arduino Me... |
c88ebb2c-e86b-4139-9ae1-882b6a303dbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-13 16:12:01", "repo_name": "srikanthisreal/jttapi", "sub_path": "/src/main/java/com/stech/jttapi/AgreementController.java", "file_name": "AgreementController.java", "file_ext": "java", "file_size_in_byte": 108... | https://github.com/srikanthisreal/jttapi | 233 | FILENAME: AgreementController.java | 0.245085 | package com.stech.jttapi;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org... |
e2ee1102-65bb-4a0f-8447-33e84d6514c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-03 06:55:14", "repo_name": "konstiak/bean-validation-demo", "sub_path": "/src/test/java/com/example/validation/demo/ValidationControllerTest.java", "file_name": "ValidationControllerTest.java", "file_ext": "ja... | https://github.com/konstiak/bean-validation-demo | 219 | FILENAME: ValidationControllerTest.java | 0.259826 | package com.example.validation.demo;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframew... |
278dc9d6-0ab3-4a08-ba61-2c57f833696c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-10 09:14:00", "repo_name": "gurvinder13/MarketSTask", "sub_path": "/app/src/main/java/com/example/marketstask/ui/ui/home/HomeDataSourceFactory.java", "file_name": "HomeDataSourceFactory.java", "file_ext": "jav... | https://github.com/gurvinder13/MarketSTask | 199 | FILENAME: HomeDataSourceFactory.java | 0.26588 | package com.example.marketstask.ui.ui.home;
import androidx.lifecycle.MutableLiveData;
import androidx.paging.DataSource;
import com.example.marketstask.data.DataManager;
import com.example.marketstask.data.remote.models.PublicRepository;
import io.reactivex.disposables.CompositeDisposable;
public class HomeDataSo... |
40370f87-ff55-4495-bbfa-aee45785ab4d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-29 13:04:02", "repo_name": "chengxuyuan-sjw/Item1-sjw", "sub_path": "/src/com/sheng/Service/back/Impl/IDeptServiceBackImpl.java", "file_name": "IDeptServiceBackImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/chengxuyuan-sjw/Item1-sjw | 257 | FILENAME: IDeptServiceBackImpl.java | 0.29584 | package com.sheng.Service.back.Impl;
import com.sheng.Dao.IDeptDao;
import com.sheng.Dao.IEmpDao;
import com.sheng.Service.back.IDeptServiceBack;
import com.sheng.vo.Dept;
import com.sheng.vo.Emp;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.HashMap;
import java.u... |
5324d2cd-ce04-48d5-96c7-e5df38617d59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-22 09:31:19", "repo_name": "vimleshg/UserExperior-Demo-Project-Android", "sub_path": "/UeWallet/app/src/androidTest/java/com/userexperior/uewallet/MyViewAction.java", "file_name": "MyViewAction.java", "file_ex... | https://github.com/vimleshg/UserExperior-Demo-Project-Android | 208 | FILENAME: MyViewAction.java | 0.242206 | package com.userexperior.uewallet;
import android.support.test.espresso.UiController;
import android.support.test.espresso.ViewAction;
import android.view.View;
import org.hamcrest.Matcher;
import java.util.ArrayList;
/**
* Created by userexperior on 03-08-2017.
*/
public class MyViewAction {
public static ... |
48feb93a-ae49-4a90-8936-c5d31a06d2b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-02 10:32:30", "repo_name": "xiaopengxpgithub/mysqlreadwrite", "sub_path": "/src/main/java/com/atguigu/mysqlrw/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_... | https://github.com/xiaopengxpgithub/mysqlreadwrite | 193 | FILENAME: UserServiceImpl.java | 0.246533 | package com.atguigu.mysqlrw.service.impl;
import com.atguigu.mysqlrw.mapper.UserMapper;
import com.atguigu.mysqlrw.pojo.User;
import com.atguigu.mysqlrw.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
10783135-1a90-4617-a197-a16985d1fd75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-13 07:45:10", "repo_name": "DinnieJ/NovelOnline", "sub_path": "/app/src/main/java/com/example/novelonlineapp/model/hakore/Chapter.java", "file_name": "Chapter.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/DinnieJ/NovelOnline | 212 | FILENAME: Chapter.java | 0.191933 | package com.example.novelonlineapp.model.hakore;
import java.util.ArrayList;
public class Chapter {
private ArrayList<String> content;
private String nextChapterUrl;
private String prevChapterUrl;
public Chapter() {
}
public Chapter(ArrayList<String> content, String nextChapterUrl, String p... |
21480937-8c7f-47e3-808f-05f11c03b202 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-31 02:25:55", "repo_name": "jiangyukun/commodity-manage", "sub_path": "/src/main/java/com/ieebook/wxshop/test/SpringContainerBeans.java", "file_name": "SpringContainerBeans.java", "file_ext": "java", "file_siz... | https://github.com/jiangyukun/commodity-manage | 210 | FILENAME: SpringContainerBeans.java | 0.253861 | package com.ieebook.wxshop.test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware... |
87e994a2-36aa-4ce6-ad26-e70623a6f094 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-08 14:38:25", "repo_name": "UncleSniper/uake", "sub_path": "/src/org/unclesniper/uake/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count": 56, "lang": "en"... | https://github.com/UncleSniper/uake | 259 | FILENAME: Location.java | 0.273574 | package org.unclesniper.uake;
public final class Location {
public static final Location UNKNOWN = new Location(null, 0, 0);
private final String file;
private final int line;
private final int column;
public Location(String file, int line, int column) {
this.file = file;
this.line = line;
this.column ... |
19c55f65-bdd1-48cc-bebb-a2d8aa5245c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-08-22T01:18:55", "repo_name": "bassguitarbill/titan", "sub_path": "/README.MD", "file_name": "README.MD", "file_ext": "md", "file_size_in_byte": 1069, "line_count": 27, "lang": "en", "doc_type": "text", "blob... | https://github.com/bassguitarbill/titan | 265 | FILENAME: README.MD | 0.216012 | TITAN
=====
Theme: You Are the Monster
--------------------------
This is the theme I hoped would get chosen. Oh gosh.
Oh gosh.
This game will be a top-down, I guess what you'd call the very edge case of the beat-'em-up genre.
You play as a *titan*, a mythical, humongous humanoid creature, with a club. You're unlea... |
d15ec342-e6da-40e8-886a-49ff4e12fa13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-09T09:20:16", "repo_name": "todor-enikov/InventoryManager-ASP.NET-MVC-Project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1149, "line_count": 27, "lang": "e... | https://github.com/todor-enikov/InventoryManager-ASP.NET-MVC-Project | 242 | FILENAME: README.md | 0.294215 | # InventoryManager-ASP.NET-MVC-Project
The inventory management store application allows Store managers to manage (create, read, update and delete) clothes for their stores.
### Project desctiption:
#### ASP.NET MVC Inventory manager application.
This is application made on ASP .NET MVC.
It's purpose is to create clot... |
a4e423c7-cc6b-4b6b-ad04-902f3ab2764f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-23 06:13:12", "repo_name": "rosmaini2014845352/itt786-Asgment2", "sub_path": "/hadapan.java", "file_name": "hadapan.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 36, "lang": "en", "doc_ty... | https://github.com/rosmaini2014845352/itt786-Asgment2 | 219 | FILENAME: hadapan.java | 0.2227 | /*
* 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 webscrapping;
import java.io.IOException;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Elem... |
3d41e39d-dbd9-4ae5-9b31-04c94806e571 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-15 08:29:13", "repo_name": "yjb951129/yjbprojectname", "sub_path": "/src/main/java/com/xm4399/dao/MysqlDao.java", "file_name": "MysqlDao.java", "file_ext": "java", "file_size_in_byte": 1127, "line_count": 44, ... | https://github.com/yjb951129/yjbprojectname | 240 | FILENAME: MysqlDao.java | 0.294215 | package com.xm4399.dao;
import com.xm4399.run.RunArgs;
import com.xm4399.util.JdbcUtil;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.support.rowset.SqlRowSet;
... |
ae6b985c-b755-4b5c-b1f5-212607b630c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-02 08:47:39", "repo_name": "VladManolache/jHttpServer", "sub_path": "/src/main/java/com/vmanolache/httpserver/request/LimitedBodyReader.java", "file_name": "LimitedBodyReader.java", "file_ext": "java", "file_s... | https://github.com/VladManolache/jHttpServer | 236 | FILENAME: LimitedBodyReader.java | 0.273574 | package com.vmanolache.httpserver.request;
import java.io.BufferedReader;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
/**
* Used to read the body of a request when we know the body length in advance.
*/
class ... |
d683dae9-4ff4-4a7a-85d2-3884e38bfc39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-13 21:32:18", "repo_name": "Bizon15100/Tests-Begginer", "sub_path": "/src/test/java/MyAwsomeClassTest.java", "file_name": "MyAwsomeClassTest.java", "file_ext": "java", "file_size_in_byte": 978, "line_count": 3... | https://github.com/Bizon15100/Tests-Begginer | 225 | FILENAME: MyAwsomeClassTest.java | 0.292595 | import org.junit.Assert;
import org.junit.Test;
import org.powermock.api.mockito.PowerMockito;
import static org.junit.Assert.*;
public class MyAwsomeClassTest {
@Test
public void shouldprintHappyText() {
//given
InternalClassMock mock = new InternalClassMock();
InternalClass mock2 = ... |
aab441f5-bd5c-4f73-ae02-c62cc191fd1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-12 20:20:13", "repo_name": "tgmrks/Android-course", "sub_path": "/Aula18SoftblueSMS/app/src/main/java/com/example/ismael/aula18softbluesms/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "jav... | https://github.com/tgmrks/Android-course | 191 | FILENAME: MainActivity.java | 0.203075 | package com.example.ismael.aula18softbluesms;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.telephony.SmsManager;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
public class MainActivity extends AppCompatAct... |
2d9d03ba-08c6-4c9c-8dd3-308fc734a613 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-20T23:14:49", "repo_name": "jvmdeveloperid/JVM-Meetup-14", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1030, "line_count": 30, "lang": "en", "doc_type": "text... | https://github.com/jvmdeveloperid/JVM-Meetup-14 | 362 | FILENAME: README.md | 0.249447 | # JVM-Meetup-14
Summarize form JVM Meetup #14 @ BBM Indonesia Office
JVM Meetup #14 : Git Workflow
Tuesday, 23 October 2018
From 6 PM - 9.30 PM
@ SCTV Tower 8th Floor
SCTV Tower Senayan City
Jl Asia Afrika Jakarta Selatan
Speaker :
1. Deny Prasetyo (Senior Engineer of GoPay) -> [Implementasi Trunk based Git Work flo... |
82dc9d7e-342b-4580-8c03-195fbac89051 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-27 11:25:33", "repo_name": "ItsKDM/AstroPic", "sub_path": "/src/main/java/com/example/kdm/astropic/Data.java", "file_name": "Data.java", "file_ext": "java", "file_size_in_byte": 1125, "line_count": 43, "lang":... | https://github.com/ItsKDM/AstroPic | 192 | FILENAME: Data.java | 0.2227 | package com.example.kdm.astropic;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.TextView;
public class Data extends AppCompatActivit... |
438994fd-866e-4dc1-8885-f65c245c050a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 06:58:41", "repo_name": "amindraa05/CovidTracker", "sub_path": "/app/src/main/java/com/example/covidtracker/preference/UserPreference.java", "file_name": "UserPreference.java", "file_ext": "java", "file_siz... | https://github.com/amindraa05/CovidTracker | 211 | FILENAME: UserPreference.java | 0.242206 | package com.example.covidtracker.preference;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
public class UserPreference {
private final SharedPreferences sharedPreferences;
private final SharedPreferences.Editor editor;
private static fin... |
501968f4-acb9-4cc5-8a29-9494a0892b95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-18 15:31:26", "repo_name": "NaiLii/crm", "sub_path": "/crm-ui/src/main/java/net/gddata/other/crm/Util/PropertyUtil.java", "file_name": "PropertyUtil.java", "file_ext": "java", "file_size_in_byte": 986, "line_c... | https://github.com/NaiLii/crm | 182 | FILENAME: PropertyUtil.java | 0.217338 | package net.gddata.other.crm.Util;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.configuration.Configuration;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.apache.commons.lang.StringUtils;
import java.io.InputStream;
/**
* Created by knix on 16/2/29.
*/
@Slf4j
public cla... |
d0d143fb-379b-4069-b2a7-1496257b8fb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-02T05:35:12", "repo_name": "MatthewKaes/BetterString", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 14, "lang": "en", "doc_type": "text", "... | https://github.com/MatthewKaes/BetterString | 226 | FILENAME: README.md | 0.26588 | Better String
============
After reading [this](https://groups.google.com/a/chromium.org/forum/#!msg/chromium-dev/EUqoIz2iFU4/kPZ5ZK0K3gEJ) post in the Chromium-dev group I thought it was about time to take a crack at creating a better C++ string library for average use. This is the result.
The better string library ... |
23460e03-ee99-404a-a80f-de9ab4179dbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-27 21:09:10", "repo_name": "xmicore/hack-calculator", "sub_path": "/src/main/java/de/pmrd/hackcalculator/i18n/SimpleI18NProvider.java", "file_name": "SimpleI18NProvider.java", "file_ext": "java", "file_size_in... | https://github.com/xmicore/hack-calculator | 255 | FILENAME: SimpleI18NProvider.java | 0.268941 | package de.pmrd.hackcalculator.i18n;
import com.vaadin.flow.i18n.I18NProvider;
import java.text.MessageFormat;
import java.util.List;
import java.util.Locale;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.... |
4fd3b565-06a6-4857-91cc-a226ec0fa01c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-08 16:32:32", "repo_name": "Gopi3614/Dino-Game", "sub_path": "/DinoGame/app/src/main/java/com/example/dinogame/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 966... | https://github.com/Gopi3614/Dino-Game | 169 | FILENAME: MainActivity.java | 0.20947 | package com.example.dinogame;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCrea... |
c7c72e83-1103-490f-84a9-d26ebc85aefc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-24T13:20:13", "repo_name": "Palmabit-IT/htmlToPdfMake", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1102, "line_count": 46, "lang": "en", "doc_type": "text", ... | https://github.com/Palmabit-IT/htmlToPdfMake | 292 | FILENAME: README.md | 0.27048 | # HtmlToPdfMake
Convert html to PdfMake schema
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
### Installing
```bash
npm i -S @palmabit/htmlto... |
1a0665b4-2ade-4d82-a29c-472d6876a522 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-06-19 04:07:59", "repo_name": "csaki/FakkuDroidV3", "sub_path": "/app/src/main/java/com/devsaki/fakkudroid/MessageSupportActivity.java", "file_name": "MessageSupportActivity.java", "file_ext": "java", "file_size_... | https://github.com/csaki/FakkuDroidV3 | 226 | FILENAME: MessageSupportActivity.java | 0.240775 | package com.devsaki.fakkudroid;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.preference.PreferenceManager;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import com.devsaki.fakkudroi... |
06a7a76b-04b5-4044-ab63-90ae32eb8670 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-08 15:33:45", "repo_name": "LEEFFEE/NewAttribute", "sub_path": "/Android(6.0)/src/main/java/cn/huafei/androidm/databind/DataBindActivity.java", "file_name": "DataBindActivity.java", "file_ext": "java", "file_s... | https://github.com/LEEFFEE/NewAttribute | 209 | FILENAME: DataBindActivity.java | 0.226784 | package cn.huafei.androidm.databind;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;
import cn.huafei.androidm.R;
import cn.huafei.androidm.bean.User;
import cn.huafei.androidm.databinding.Act... |
31817ee0-0fe4-435b-8e80-be22d9d32120 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 21:59:01", "repo_name": "ManfredTremmel/gwtp-training", "sub_path": "/tecb2bwebgwt/src/main/java/de/baywa/tecb2bwebgwt/client/ui/page/privacy/PrivacyViewImpl.java", "file_name": "PrivacyViewImpl.java", "fil... | https://github.com/ManfredTremmel/gwtp-training | 267 | FILENAME: PrivacyViewImpl.java | 0.283781 | package de.baywa.tecb2bwebgwt.client.ui.page.privacy;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Widget;
import com.gwtplatform.mvp.client.ViewImpl;
import javax.inject.Inject;
/**
* V... |
1e1e35b7-fc1a-42a0-80a9-2b1dff489bbe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-03 07:45:39", "repo_name": "avoldsund/fpsoknad-mottak", "sub_path": "/src/main/java/no/nav/foreldrepenger/mottak/config/ClusterAwareSpringProfileResolver.java", "file_name": "ClusterAwareSpringProfileResolver.... | https://github.com/avoldsund/fpsoknad-mottak | 248 | FILENAME: ClusterAwareSpringProfileResolver.java | 0.224055 | package no.nav.foreldrepenger.mottak.config;
import static java.lang.System.getenv;
import static no.nav.foreldrepenger.mottak.util.EnvUtil.DEFAULT;
import static no.nav.foreldrepenger.mottak.util.EnvUtil.DEV;
import static no.nav.foreldrepenger.mottak.util.EnvUtil.LOCAL;
import java.util.Optional;
import org.slf4j.... |
5cb3f761-bfea-47ad-950f-83ebc749a6e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-14 20:59:52", "repo_name": "Luismoteando/apaw-ep-luismiguel-ortiz", "sub_path": "/src/main/java/es/upm/miw/apaw_ep_themes/api_controllers/OrderDishResource.java", "file_name": "OrderDishResource.java", "file_e... | https://github.com/Luismoteando/apaw-ep-luismiguel-ortiz | 220 | FILENAME: OrderDishResource.java | 0.271252 | package es.upm.miw.apaw_ep_themes.api_controllers;
import es.upm.miw.apaw_ep_themes.business_controllers.OrderDishBusinessController;
import es.upm.miw.apaw_ep_themes.dtos.OrderDishDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestController
@Re... |
0dba345c-a53d-4d8e-8c56-4cedb4b80077 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-14 03:06:07", "repo_name": "YuanChenM/xcdv1.5", "sub_path": "/Services/msk-entity/src/main/java/com/msk/core/entity/SlBsCitySeqno.java", "file_name": "SlBsCitySeqno.java", "file_ext": "java", "file_size_in_byt... | https://github.com/YuanChenM/xcdv1.5 | 346 | FILENAME: SlBsCitySeqno.java | 0.271252 | /*
* 2014/09/23 自动生成 新規作成
*
* (c) 江苏润和.
*/
package com.msk.core.entity;
/**
* <p>表sl_bs_city_seqno对应的SlBsCitySeqno。</p>
*
* @author 自动生成
* @version 1.00
*/
public class SlBsCitySeqno extends BaseEntity{
/**
*
*/
private static final long serialVersionUID = 1L;
/** 地区编码 */
private Str... |
83ca9063-d99e-4711-a855-16caab00e908 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 02:03:15", "repo_name": "GTsung/test", "sub_path": "/src/main/java/com/gradle/demo/base/io/cpiped/CSender.java", "file_name": "CSender.java", "file_ext": "java", "file_size_in_byte": 1088, "line_count": 49,... | https://github.com/GTsung/test | 249 | FILENAME: CSender.java | 0.252384 | package com.gradle.demo.base.io.cpiped;
import java.io.IOException;
import java.io.PipedWriter;
/**
* @author guxc
* @date 2020/6/5
*/
public class CSender extends Thread {
private PipedWriter pipedWriter = new PipedWriter();
public PipedWriter getPipedWriter() {
return pipedWriter;
}
@O... |
bd41e4df-7c38-45a4-a85e-0a4ea2ea8069 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-16T01:13:55", "repo_name": "Kattjakt/soundmist", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1094, "line_count": 15, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/Kattjakt/soundmist | 280 | FILENAME: README.md | 0.200558 | <img align='right' src="http://i.imgur.com/7nR7HrI.png">
# Soundmist
A Soundcloud desktop client for Windows, Linux and Mac OS X. Built with Electron and AngularJS.
### Prerequisites
The first step is to register an SC app [here](http://soundcloud.com/you/apps). The Client ID and Client Secret will be automatically g... |
cc5c21ae-39fd-4122-87a3-cafb7d3c3c83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-03 15:32:56", "repo_name": "damiannolan/simulated-annealing-playfair-cipher-breaker", "sub_path": "/PlayfairCipherBreaker/src/main/java/ie/gmit/sw/ai/documents/DocumentService.java", "file_name": "DocumentServ... | https://github.com/damiannolan/simulated-annealing-playfair-cipher-breaker | 260 | FILENAME: DocumentService.java | 0.284576 | package ie.gmit.sw.ai.documents;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.stream.Collectors;
public class DocumentService {
private String basePath;
public DocumentService(String basePath) {
this.basePath = ... |
ff740fc4-80ca-472a-a82f-a4b60b83191c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-06 12:59:33", "repo_name": "daimaren/PhoneGuard-master", "sub_path": "/app/src/main/java/cn/ixuehu/phoneguard/receiver/BootCompleteReceiver.java", "file_name": "BootCompleteReceiver.java", "file_ext": "java", ... | https://github.com/daimaren/PhoneGuard-master | 269 | FILENAME: BootCompleteReceiver.java | 0.253861 | package cn.ixuehu.phoneguard.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.telephony.SmsManager;
import android.telephony.TelephonyManager;
import cn.ixuehu.phoneguard.utils.MyConstants;
/**
... |
21c98e1f-7e07-4f37-b4b5-0be9fcb0e5b7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-27 15:17:10", "repo_name": "domako86/AutomatasFinitos", "sub_path": "/AutomatasFinitos/src/Parse.java", "file_name": "Parse.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": 39, "lang": "en",... | https://github.com/domako86/AutomatasFinitos | 214 | FILENAME: Parse.java | 0.252384 | /*
* 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.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import ... |
d274a03d-e693-4c35-9adb-ae684cbd1a91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-03T05:42:27", "repo_name": "balduran-cc/hugo", "sub_path": "/content/post/yahoo-oauth2-flow.md", "file_name": "yahoo-oauth2-flow.md", "file_ext": "md", "file_size_in_byte": 1274, "line_count": 46, "lang": ... | https://github.com/balduran-cc/hugo | 319 | FILENAME: yahoo-oauth2-flow.md | 0.236516 | +++
author = "Balduran Chang"
date = 2015-06-08T23:09:52Z
description = ""
draft = true
slug = "yahoo-oauth2-flow"
title = "Yahoo oauth2 flow"
+++
#yahoo oauth2
##work flow
https://developer.yahoo.com/oauth2/guide/flows_authcode/
server side要拉user資料,一定是通過explicit grant flow,如果是client side app才會是走implicit grant flow... |
eb70325e-60ef-43f3-a4a8-482648d3b962 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-22 00:16:41", "repo_name": "SkyloveQiu/CSE1105Project", "sub_path": "/server/src/main/java/nl/tudelft/oopp/group43/project/payload/BikeReservationResponse.java", "file_name": "BikeReservationResponse.java", "f... | https://github.com/SkyloveQiu/CSE1105Project | 230 | FILENAME: BikeReservationResponse.java | 0.23793 | package nl.tudelft.oopp.group43.project.payload;
import nl.tudelft.oopp.group43.project.models.BikeReservation;
public class BikeReservationResponse {
BikeReservation bikeReservation;
String message;
int status;
/**
* init the bike reservation.
* @param bikeReservation the bike reservation.... |
6879dd46-e4bf-4475-a2b5-3db27db37e9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-31 13:46:51", "repo_name": "aliahmed-58/project_atlas", "sub_path": "/src/main/java/com/honda/atlas/security/service/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_i... | https://github.com/aliahmed-58/project_atlas | 216 | FILENAME: UserServiceImpl.java | 0.26588 | package com.honda.atlas.security.service;
import com.honda.atlas.models.Users;
import com.honda.atlas.repo.RolesRepo;
import com.honda.atlas.repo.UsersRepo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.ste... |
8e21ea17-e23a-4e90-b154-d64468fd5f67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-10 15:03:41", "repo_name": "oysteinmyrmo/CollapsibleToolbarNestedScrollViewTest", "sub_path": "/app/src/main/java/com/oysteinmyrmo/test/collapsibletoolbarnestedscrollviewtest/YellowFragment.java", "file_name":... | https://github.com/oysteinmyrmo/CollapsibleToolbarNestedScrollViewTest | 197 | FILENAME: YellowFragment.java | 0.247987 | package com.oysteinmyrmo.test.collapsibletoolbarnestedscrollviewtest;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.AppBarLayout;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.R... |
6b9a1f20-cbaf-45f5-af78-82b52776a554 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-08 00:46:53", "repo_name": "yingw/wcm-demo", "sub_path": "/src/main/java/cn/wilmar/wcmdemo/DemoUserDetailsService.java", "file_name": "DemoUserDetailsService.java", "file_ext": "java", "file_size_in_byte": 104... | https://github.com/yingw/wcm-demo | 180 | FILENAME: DemoUserDetailsService.java | 0.212069 | package cn.wilmar.wcmdemo;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Component;
import java.util.ArrayL... |
d0b2d2b6-41d5-47b9-9e91-aced85aebb88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-21 09:19:18", "repo_name": "sofmeireles/ProjetoSD", "sub_path": "/Meta2/SD meta2/src/hey/action/PassaURLAction.java", "file_name": "PassaURLAction.java", "file_ext": "java", "file_size_in_byte": 1210, "line_co... | https://github.com/sofmeireles/ProjetoSD | 256 | FILENAME: PassaURLAction.java | 0.268941 | package hey.action;
import com.opensymphony.xwork2.ActionSupport;
import hey.model.HeyBean;
import org.apache.struts2.interceptor.SessionAware;
import java.rmi.RemoteException;
import java.util.Map;
public class PassaURLAction extends ActionSupport implements SessionAware {
private Map<String, Object... |
59f86b07-5ae9-4045-ac43-f774f30de486 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-10T11:33:30", "repo_name": "Yvonne-Ouma/kitchen-anita", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1006, "line_count": 22, "lang": "en", "doc_type": "text", ... | https://github.com/Yvonne-Ouma/kitchen-anita | 237 | FILENAME: README.md | 0.203075 | # Title
Anita's Kitchen
## Author
Yvonne Ouma
## Description
This application entails information on Anita's kitchen.It is a sample layout of what the hotel offers.
## Prerequisites
* web browser
* git
## Setup/Installation Requirements
* Go to Goggle Chrome or Google Chromium
* In the search button,search github
* log... |
6796eaac-a8ed-4d48-9c73-ca2a07865c64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-19 20:19:13", "repo_name": "CE-KMITL-OOAD-2015/Move-Alarm_ORCA", "sub_path": "/MoveAlarmAnd/Volleyball nuedit/MyApplication5/app/src/main/java/com/example/rxusagi/myapplication/model/Instruction.java", "file_n... | https://github.com/CE-KMITL-OOAD-2015/Move-Alarm_ORCA | 236 | FILENAME: Instruction.java | 0.253861 | package com.example.rxusagi.myapplication.model;
import android.util.Log;
/**
* Created by RXUsagi on 15/10/2015.
*/
public class Instruction {
private int key;
private String img;
private String instruction;
private String instruction2;
private String instruction_name;
private String style;... |
ae4850c5-b42c-45f5-9178-47a163507021 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-25T11:38:41", "repo_name": "PankajPathak18/LSA-PRACTICALS", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1106, "line_count": 42, "lang": "en", "doc_type": "tex... | https://github.com/PankajPathak18/LSA-PRACTICALS | 177 | FILENAME: README.md | 0.259826 | # LSA_PRACTICALS
##INDEX
________________________________________________________________________________________________________________________________________________________________________________
Practical_1 Install DHCP Server
Practical_2 Initial sett... |
f8481772-77a6-46be-8bd4-c85d117f06b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-01T23:18:53", "repo_name": "soundasleep/jevon.org", "sub_path": "/wiki/From_HTML_4_to_XHTML_1.md", "file_name": "From_HTML_4_to_XHTML_1.md", "file_ext": "md", "file_size_in_byte": 1207, "line_count": 35, "... | https://github.com/soundasleep/jevon.org | 385 | FILENAME: From_HTML_4_to_XHTML_1.md | 0.23092 | ---
layout: page
title: From HTML 4 to XHTML 1
author: jevon
date: 2005-12-09 08:14:42 +13:00
tags:
- Article
- HTML
redirect_from:
- "/wiki/From HTML 4 to XHTML 1"
---
[Articles](Articles.md)
Recently I made a [Journals](Journals.md) style that had to be valid to [XHTML](xhtml.md) (strict) instead of just [... |
5e5c5f5c-6630-477f-be8f-0ed72da363dd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-05T13:58:24", "repo_name": "safeteeglasses/mainJava", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1126, "line_count": 24, "lang": "en", "doc_type": "text", "b... | https://github.com/safeteeglasses/mainJava | 244 | FILENAME: README.md | 0.246533 | ## Module 1: Intro to Programming
Module 1 will cover an introduction to programming in the respective language of the cohort class, Java or C#. Included in the material will be
Data Types, Expressions and Statements, Object Oriented Programming Principles, Exception Handling, File I/O, and Testing using TDD.
[Modul... |
0d9f997b-53a5-45b0-ae65-83f151c456b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-31 09:41:28", "repo_name": "selutin99/autodealer", "sub_path": "/modules/global/src/com/galua/autodealer/entity/PhysicalPerson.java", "file_name": "PhysicalPerson.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/selutin99/autodealer | 256 | FILENAME: PhysicalPerson.java | 0.236516 | package com.galua.autodealer.entity;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import com.haulmont.cuba.core.entity.StandardEntity;
import com.haulmont.chile.core.annotations.NamePattern;
@NamePattern("%s %s %s|firstName,lastName,phone")
@Table(name = "AUTODEALE... |
4cdc71b3-3a6f-4cfa-b8a3-f779d1c1c146 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-25 05:22:18", "repo_name": "tharik007/kafka-policy-cluster", "sub_path": "/src/main/java/com/tc/poc/policy/event/engine/Producer.java", "file_name": "Producer.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/tharik007/kafka-policy-cluster | 209 | FILENAME: Producer.java | 0.258326 | package com.tc.poc.policy.event.engine;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.stereotype.Service;
import com.tc.poc.policy.event.model.Policy;
@Service
pub... |
a420a478-818c-4c77-a094-195a03d19753 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-07 08:38:54", "repo_name": "yyf1994/HappyFish", "sub_path": "/app/src/main/java/com/yyf/happyfish/receiver/NetWorkBroadcastReceiver.java", "file_name": "NetWorkBroadcastReceiver.java", "file_ext": "java", "fil... | https://github.com/yyf1994/HappyFish | 232 | FILENAME: NetWorkBroadcastReceiver.java | 0.259826 | package com.yyf.happyfish.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.util.Log;
import com.yyf.happyfish.wechat.view.fragment.WeChatFragment;
/**
* Created by... |
aff695eb-55c3-4306-8529-905aacb04d72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-06 00:29:52", "repo_name": "jeag2002/ScalableTaskSystem", "sub_path": "/SymbioRestServer/src/es/restserver/service/consumer/KafkaConsumer.java", "file_name": "KafkaConsumer.java", "file_ext": "java", "file_siz... | https://github.com/jeag2002/ScalableTaskSystem | 201 | FILENAME: KafkaConsumer.java | 0.259826 | package es.restserver.service.consumer;
import java.util.concurrent.CountDownLatch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.kafka.annotation.KafkaListen... |
dab80146-d0a8-4949-a6c9-c600768ed17e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-30 07:18:52", "repo_name": "mobile-app-programming-knu/Server", "sub_path": "/src/test/java/com/example/bookreservationserver/book/service/BookAddServiceTest.java", "file_name": "BookAddServiceTest.java", "fil... | https://github.com/mobile-app-programming-knu/Server | 229 | FILENAME: BookAddServiceTest.java | 0.274351 | package com.example.bookreservationserver.book.service;
import com.example.bookreservationserver.book.domain.repository.BookRepository;
import com.example.bookreservationserver.book.dto.BookRequestDto;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.E... |
c31686fd-9654-4479-ac8a-037331acc352 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-16 14:20:30", "repo_name": "rodrigocbass/quub-chat", "sub_path": "/src/main/java/br/com/quub/jms/consumer/JmsConsumer.java", "file_name": "JmsConsumer.java", "file_ext": "java", "file_size_in_byte": 1208, "lin... | https://github.com/rodrigocbass/quub-chat | 264 | FILENAME: JmsConsumer.java | 0.26588 | package br.com.quub.jms.consumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.jms.core.JmsTemplate;
import org.springframework.stereotype.Component;
import br.com.quub.model.Chat;
import br.com.quub.model.User;
import... |
c45b5f3b-ee86-43d1-91ba-1ee018fa5305 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-11T07:28:34", "repo_name": "shunwatai/SDN_school_project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1208, "line_count": 21, "lang": "en", "doc_type": "text... | https://github.com/shunwatai/SDN_school_project | 299 | FILENAME: README.md | 0.253861 | # What is this?
- This is just a school project that about "SDN security". However, it is not really about the security in SDN. I was actually working on "detecting the traditional malicious traffics in SDN".
- Also:
- the code are messy and unreadable.
- do not expect has good performance
- many bugs
... |
fe0e61d9-ebdd-48fb-872c-2f0e7ac34e58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-30 12:12:42", "repo_name": "RonnyatVDAB/Cultuurhuis-2015-09", "sub_path": "/src/main/java/be/vdab/servlets/IndexServlet.java", "file_name": "IndexServlet.java", "file_ext": "java", "file_size_in_byte": 1019, "... | https://github.com/RonnyatVDAB/Cultuurhuis-2015-09 | 181 | FILENAME: IndexServlet.java | 0.271252 | package be.vdab.servlets;
import be.vdab.entities.Genre;
import be.vdab.services.GenreService;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;... |
8fcf51ef-7e44-456f-9a54-06e65258619d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-09 05:58:44", "repo_name": "roysouvikk/wordwrap", "sub_path": "/src/test/java/com/test/wrapper/TestStringWrapper.java", "file_name": "TestStringWrapper.java", "file_ext": "java", "file_size_in_byte": 1127, "li... | https://github.com/roysouvikk/wordwrap | 235 | FILENAME: TestStringWrapper.java | 0.29584 | package com.test.wrapper;
import com.test.wrapper.StringWrapper;
import org.junit.Test;
import static org.junit.Assert.*;
public class TestStringWrapper {
@Test
public void TestWrapperForValidLongStr(){
StringWrapper st = new StringWrapper();
st.maxLength = 23;
String out = st.wrapASt... |
906fac39-20b5-4eab-a62f-6234208cf2c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-15 15:16:29", "repo_name": "muzamirus/CarRepairs", "sub_path": "/app1/app/src/main/java/com/example/app1/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1150, "li... | https://github.com/muzamirus/CarRepairs | 205 | FILENAME: MainActivity.java | 0.23231 | package com.example.app1;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
Button btn... |
f49884f8-2a2b-4bd0-895a-f54494d46b56 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-11 18:24:03", "repo_name": "yarivg/WaitForIt", "sub_path": "/app/src/main/java/company/wfi/com/waitforit/ItemInPlaylist.java", "file_name": "ItemInPlaylist.java", "file_ext": "java", "file_size_in_byte": 992, ... | https://github.com/yarivg/WaitForIt | 218 | FILENAME: ItemInPlaylist.java | 0.233706 | package company.wfi.com.waitforit;
public class ItemInPlaylist {
private String id;
private String url;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getId() {
return id;
}
public void setId... |
4faf26c9-5f57-495f-9fd5-ba142f2d812a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-05T17:24:31", "repo_name": "zhdand/RainReminder-WeatherForecast", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1089, "line_count": 41, "lang": "en", "doc_type"... | https://github.com/zhdand/RainReminder-WeatherForecast | 272 | FILENAME: README.md | 0.291787 | # Rain Reminder - Weather Forecast
This application is intended to help people to cope with rainy weather.
By sending automatic notifications about harsh weather conditions and things you might need to deal with them.
Like an umbrella, windbreaker or rain boots.
### Features list:
- current weather display
- weathe... |
6126e1b8-2684-4832-8e29-d187b3f0f06a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-30 19:20:48", "repo_name": "nicolaivalsted/TAYS", "sub_path": "/filters/src/main/java/dk/yousee/randy/filters/monitoring/ServletResponseWithStatus.java", "file_name": "ServletResponseWithStatus.java", "file_ex... | https://github.com/nicolaivalsted/TAYS | 231 | FILENAME: ServletResponseWithStatus.java | 0.236516 | package dk.yousee.randy.filters.monitoring;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
/**
* Stop-gap temporary solution until we can switch to Servlet spec 3.0, where
* the http status code is readily available.
* @author jablo
... |
934a77ce-a1a9-4481-a986-8fd9b814717e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-08 16:46:19", "repo_name": "losthere/rest", "sub_path": "/src/main/java/com/optum/hedis/domain/Numerator.java", "file_name": "Numerator.java", "file_ext": "java", "file_size_in_byte": 1210, "line_count": 58, "... | https://github.com/losthere/rest | 269 | FILENAME: Numerator.java | 0.26588 | package com.optum.hedis.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import com.fasterxml.jac... |
586da67f-03b6-4f76-8e67-3c04c5a8e2e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-20T10:47:46", "repo_name": "AdemolaAdedoyin/20questions", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 993, "line_count": 51, "lang": "en", "doc_type": "text",... | https://github.com/AdemolaAdedoyin/20questions | 254 | FILENAME: README.md | 0.252384 | # 20questions
# Built With
The system was built using vuejs, while consuming my authentication Api using nodejs
# Getting Started
## Prerequisites
Your system must have npm and node installed, and this can be done on the terminal with
```
- npm install npm@latest -g
```
## Project setup
```
Clone the repo https... |
2c1679ba-a668-47d9-a919-d91ae079d6be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-09 12:52:56", "repo_name": "fisherevans/SudoCraftSuite", "sub_path": "/src/com/fisherevans/scs/cache/config/VoteConfig.java", "file_name": "VoteConfig.java", "file_ext": "java", "file_size_in_byte": 1032, "lin... | https://github.com/fisherevans/SudoCraftSuite | 238 | FILENAME: VoteConfig.java | 0.285372 | package com.fisherevans.scs.cache.config;
import com.fisherevans.scs.cache.CacheObject;
import org.bukkit.configuration.ConfigurationSection;
/**
* Created by h13730 on 11/4/2015.
*/
public class VoteConfig implements CacheObject {
private static final String YML_TIMEOUT = "timeout";
private static final String... |
401ea2be-32ef-49c4-8a10-08d3a6a04ad0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-16 13:38:42", "repo_name": "Ridwanhasanah/doaharian", "sub_path": "/app/src/main/java/com/indonesia/ridwan/kumpulandoa/About.java", "file_name": "About.java", "file_ext": "java", "file_size_in_byte": 1065, "li... | https://github.com/Ridwanhasanah/doaharian | 205 | FILENAME: About.java | 0.191933 | package com.indonesia.ridwan.kumpulandoa;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import a... |
0ea74dae-5f9f-447a-8024-c6a0914168d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-03 17:25:15", "repo_name": "VladRybkin/PatternsHomeTask1", "sub_path": "/src/ua/training/model/entity/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 51, "l... | https://github.com/VladRybkin/PatternsHomeTask1 | 214 | FILENAME: Order.java | 0.26971 | package ua.training.model.entity;
import ua.training.model.entity.dishes.Dish;
import java.util.List;
public class Order {
private int orderId;
private Observer client;
private List<Dish> dishes;
public Order(Observer client, List<Dish> dishes) {
this.client = client;
this.d... |
b4253795-15b8-43c8-afcf-6551d2c6621f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-20 20:02:56", "repo_name": "osmanio2/Library-Management-System-Spring", "sub_path": "/src/main/java/com/library/management/system/validator/UserFormValidator.java", "file_name": "UserFormValidator.java", "file... | https://github.com/osmanio2/Library-Management-System-Spring | 198 | FILENAME: UserFormValidator.java | 0.282988 | package com.library.management.system.validator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.validation.ValidationU... |
2754fdb6-6f76-492b-80f5-9e410a91d4af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-11 11:34:55", "repo_name": "Elfaruqi/19104081_adil-elfaruqi_PBO", "sub_path": "/Java-OOP/src/com/adil/pertemuan2/tugas/NO_2/Menu.java", "file_name": "Menu.java", "file_ext": "java", "file_size_in_byte": 1127, ... | https://github.com/Elfaruqi/19104081_adil-elfaruqi_PBO | 302 | FILENAME: Menu.java | 0.290176 | package com.adil.pertemuan2.tugas.NO_2;
public class Menu {
public static void main(String[] args) {
Binatang supperClass = new Binatang ();
System.out.println ( "SupperClass" );
supperClass.Makan ( "Harimau" );
supperClass.tidur ( "Harimau" );
System.out.println ();
... |
e12bdd85-18af-491a-8c90-91c4b8628db0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-05 18:44:55", "repo_name": "JC-127/Mercado_Assignment4", "sub_path": "/app/src/main/java/edu/temple/mercado_assignment4/DisplayActivity.java", "file_name": "DisplayActivity.java", "file_ext": "java", "file_siz... | https://github.com/JC-127/Mercado_Assignment4 | 175 | FILENAME: DisplayActivity.java | 0.205615 | package edu.temple.mercado_assignment4;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
public class DisplayActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundl... |
e660c6f8-b100-46cd-937b-9c4cabcb2a84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-25 15:58:48", "repo_name": "alibttb/CRS", "sub_path": "/src/me/bttb/crs/beans/symptom/SymptomService.java", "file_name": "SymptomService.java", "file_ext": "java", "file_size_in_byte": 1053, "line_count": 59, ... | https://github.com/alibttb/CRS | 247 | FILENAME: SymptomService.java | 0.293404 | package me.bttb.crs.beans.symptom;
import java.util.List;
import javax.persistence.PersistenceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import me.bttb.crs.model.Symptom;
@Service
@Sco... |
7410f44c-ea69-40ae-9d14-d7115120331c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-08 18:00:54", "repo_name": "mmanski/ZSTD", "sub_path": "/src/main/java/edu/uam/zstd1/input/adapter/ContentTypeDetector.java", "file_name": "ContentTypeDetector.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/mmanski/ZSTD | 263 | FILENAME: ContentTypeDetector.java | 0.284576 | package edu.uam.zstd1.input.adapter;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.tika.config.TikaConfig;
import org.apache.tika.exception.TikaException;
import org.apache.tika.io.TikaInputStream;
import org.apache.tika.metadata.Me... |
3090cd5a-0707-45fa-b1bf-87a18bc47a00 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-19 09:07:19", "repo_name": "Karthiksr1990/role-based-access-control", "sub_path": "/src/main/java/com/rbac/service/impl/RoleServiceImpl.java", "file_name": "RoleServiceImpl.java", "file_ext": "java", "file_siz... | https://github.com/Karthiksr1990/role-based-access-control | 200 | FILENAME: RoleServiceImpl.java | 0.256832 | package com.rbac.service.impl;
import com.rbac.dao.RoleManager;
import com.rbac.model.Person;
import com.rbac.model.Role;
import com.rbac.service.RolesService;
import com.rbac.service.UserService;
import lombok.AllArgsConstructor;
import java.util.Set;
@AllArgsConstructor
public class RoleServiceImpl implements Role... |
7262c23b-0070-4f26-88ae-73dc66af2431 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-14 19:30:05", "repo_name": "topefremov/quote-service", "sub_path": "/src/main/java/com/github/phillipkruger/quoteservice/QuoteUpdaterTimer.java", "file_name": "QuoteUpdaterTimer.java", "file_ext": "java", "fil... | https://github.com/topefremov/quote-service | 218 | FILENAME: QuoteUpdaterTimer.java | 0.275909 | package com.github.phillipkruger.quoteservice;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.ejb.Singleton;
import javax.ejb.Startup;
import javax.ejb.Timeout;
import javax.ejb.Timer;
import javax.ejb.TimerConfig;
import javax.ejb.TimerService;
import javax.inject.Inject;
import... |
dda28285-e55a-4038-9796-b3119cb8ba5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-08 11:48:37", "repo_name": "MitsinVadzim/phoneshop-servlet-api", "sub_path": "/src/main/java/com/es/phoneshop/web/ProductListPageServlet.java", "file_name": "ProductListPageServlet.java", "file_ext": "java", "... | https://github.com/MitsinVadzim/phoneshop-servlet-api | 180 | FILENAME: ProductListPageServlet.java | 0.288569 | package com.es.phoneshop.web;
import com.es.phoneshop.service.ProductService;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class ProductListPageServlet exte... |
61570232-35c1-41a1-bffa-4c349eae40b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-27 13:52:04", "repo_name": "zhuangYuFeiHelloGit/IRead", "sub_path": "/app/src/main/java/main/nini/com/iread/my_util/Constant.java", "file_name": "Constant.java", "file_ext": "java", "file_size_in_byte": 1143, ... | https://github.com/zhuangYuFeiHelloGit/IRead | 342 | FILENAME: Constant.java | 0.242206 | package main.nini.com.iread.my_util;
/**
* Created by zyf on 2017/2/12.
*/
public class Constant {
//搜索的url
public static String SEARCH_BY_NAME =
"http://api01pbmp.zhuishushenqi.com/book/auto-complete?query=";
//模糊搜索的url
public static String SEARCH_ON_FUZZY =
"http://api01pb... |
6db5eeb4-5988-4a03-86c7-29ce20d468b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-07 06:53:34", "repo_name": "farmbytes/crud-springboot-dynamodb", "sub_path": "/src/main/java/com/example/crudspringbootdynamodb/config/DynamoDBConfig.java", "file_name": "DynamoDBConfig.java", "file_ext": "jav... | https://github.com/farmbytes/crud-springboot-dynamodb | 249 | FILENAME: DynamoDBConfig.java | 0.250913 | package com.example.crudspringbootdynamodb.config;
import org.socialsignin.spring.data.dynamodb.repository.config.EnableDynamoDBRepositories;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
impor... |
464b3c97-1a2b-43bc-98a9-cec4ed535708 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-04 18:21:43", "repo_name": "rinighosh07/Rmg", "sub_path": "/RmgYantraApplication/src/test/java/com/comcast/EndToEnd/Create_Project_And_Allocate_User.java", "file_name": "Create_Project_And_Allocate_User.java",... | https://github.com/rinighosh07/Rmg | 391 | FILENAME: Create_Project_And_Allocate_User.java | 0.287768 | package com.comcast.EndToEnd;
import static io.restassured.RestAssured.*;
import java.util.HashMap;
import org.testng.annotations.Test;
import io.restassured.http.ContentType;
public class Create_Project_And_Allocate_User {
@Test
public void createProjAndAllocateUser() {
baseURI = "http://localhost";
port = ... |
54629644-edfe-4107-8bb3-7202dcd08c17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-22T19:29:58", "repo_name": "LukvonStrom/Amethyst", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1212, "line_count": 22, "lang": "en", "doc_type": "text", "blob... | https://github.com/LukvonStrom/Amethyst | 394 | FILENAME: README.md | 0.20947 | # Amethyst [](https://travis-ci.com/LukvonStrom/Amethyst) [](https://nodesecurity.io/orgs/lukas/projects/e46837c8-2... |
3add3d38-1b9f-41ed-abfa-80710e99ed0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-21 16:22:36", "repo_name": "Sadnan-Kawshik-015/Food-Safari", "sub_path": "/app/src/main/java/com/example/foodsafari/Payment_Choice.java", "file_name": "Payment_Choice.java", "file_ext": "java", "file_size_in_b... | https://github.com/Sadnan-Kawshik-015/Food-Safari | 180 | FILENAME: Payment_Choice.java | 0.224055 | package com.example.logintest;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class Payment_Choice extends AppCompatActivity {
TextView tv;
B... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.