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 |
|---|---|---|---|---|---|---|
c6a91477-83c1-400b-a464-bcbad51df7cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-18 08:29:23", "repo_name": "VarshiniRaghu/MagazineNews", "sub_path": "/app/src/main/java/com/sliide/news/network/ApiModule.java", "file_name": "ApiModule.java", "file_ext": "java", "file_size_in_byte": 1182, "... | https://github.com/VarshiniRaghu/MagazineNews | 222 | FILENAME: ApiModule.java | 0.282988 | package com.sliide.news.network;
import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
import dagger.Module;
import dagger.Provides;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
@Mod... |
73c90fed-3fe2-45ea-b6c9-e0f601160a71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-15 03:44:26", "repo_name": "tchouatchawilly/encrypt-decrypt-service", "sub_path": "/src/main/java/com/handson/encryptdecrypt/service/gcp/GcpEncryptionServiceImpl.java", "file_name": "GcpEncryptionServiceImpl.j... | https://github.com/tchouatchawilly/encrypt-decrypt-service | 240 | FILENAME: GcpEncryptionServiceImpl.java | 0.276691 | package com.handson.encryptdecrypt.service.gcp;
import com.google.cloud.kms.v1.CryptoKeyName;
import com.google.cloud.kms.v1.EncryptResponse;
import com.google.cloud.kms.v1.KeyManagementServiceClient;
import com.google.protobuf.ByteString;
import com.handson.encryptdecrypt.service.EncryptionService;
import lombok.Requ... |
cc14680c-ae64-42a7-bc1f-32e78fd8ed97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-21 11:06:43", "repo_name": "santibayo/java_authserver", "sub_path": "/src/main/java/es/boalis/security/auth/identity/IdentityFactory.java", "file_name": "IdentityFactory.java", "file_ext": "java", "file_size_i... | https://github.com/santibayo/java_authserver | 184 | FILENAME: IdentityFactory.java | 0.256832 | package es.boalis.security.auth.identity;
import es.boalis.security.auth.NotFound;
import java.util.HashMap;
import java.util.Map;
public class IdentityFactory {
private Map<String,IdentityContract> services;
public void setServices(Map<String, IdentityContract> services) {
this.services = services;... |
5777d9fa-39f5-4972-9f6b-25832b899c67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-06 11:27:01", "repo_name": "Curwer-zz/SpotsMap", "sub_path": "/app/src/main/java/net/eray/ParkourPlayground/ad/AdFragment.java", "file_name": "AdFragment.java", "file_ext": "java", "file_size_in_byte": 1159, "... | https://github.com/Curwer-zz/SpotsMap | 231 | FILENAME: AdFragment.java | 0.255344 | package net.eray.ParkourPlayground.ad;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import net.eray.ParkourPlayground... |
b39ddd11-8283-4f7d-9faa-f6db28a3a25f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-11 19:17:17", "repo_name": "BBK-PiJ-2015-56/Generics", "sub_path": "/GenericList/src/GenericLinkedList.java", "file_name": "GenericLinkedList.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count":... | https://github.com/BBK-PiJ-2015-56/Generics | 220 | FILENAME: GenericLinkedList.java | 0.23793 | /**
* Created by pdomok01 on 11/01/2016.
*/
public class GenericLinkedList {
Object obj
<T>;
public void insert(Person person) {
if (personListStart == null) {
personListStart = person;
System.out.println(person.getName() + " has joined the queue in position 1.");
... |
ac16ba8d-b166-44c7-a3c9-48b38e911e9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-12 21:47:18", "repo_name": "varmax2511/GraphOfTrust", "sub_path": "/src/main/java/edu/buffalo/cse/wot/neo4j/Pair.java", "file_name": "Pair.java", "file_ext": "java", "file_size_in_byte": 1077, "line_count": 67... | https://github.com/varmax2511/GraphOfTrust | 296 | FILENAME: Pair.java | 0.285372 | package edu.buffalo.cse.wot.neo4j;
/**
*
* @author varunjai
*
* @param <K>
* @param <V>
*/
public class Pair<K, V> {
private final K key;
private final V value;
/**
*
* @param key
* @param value
*/
public Pair(K key, V value) {
this.key = key;
this.value = val... |
04d00e29-b185-4ee2-8e3f-e54fbae4f369 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-28 14:02:17", "repo_name": "CELAR/celar-server", "sub_path": "/slipstream-client/src/test/java/gr/ntua/cslab/celar/slipstreamClient/CassandraApp.java", "file_name": "CassandraApp.java", "file_ext": "java", "fi... | https://github.com/CELAR/celar-server | 298 | FILENAME: CassandraApp.java | 0.291787 | package gr.ntua.cslab.celar.slipstreamClient;
import java.util.HashMap;
import com.sixsq.slipstream.exceptions.ValidationException;
import com.sixsq.slipstream.persistence.Authz;
import com.sixsq.slipstream.persistence.DeploymentModule;
import com.sixsq.slipstream.persistence.ImageModule;
import com.sixsq.slipstream.... |
650bbbc6-8cca-45fb-9f06-4577b7365dd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-19 11:59:39", "repo_name": "jpsarapuu/stock-sim", "sub_path": "/src/main/java/com/example/stocksim/controllers/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/jpsarapuu/stock-sim | 173 | FILENAME: UserController.java | 0.213377 | package com.example.stocksim.controllers;
import com.example.stocksim.services.UserService;
import lombok.AllArgsConstructor;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
impor... |
ba20fd58-68cc-4bdb-8e49-4f2253b324cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-07 09:18:35", "repo_name": "nareshr38/JavaHomeTask", "sub_path": "/src/main/java/com/ranguht/code/javabasics/Sessions/CollectionLinkedList11Sep2019.java", "file_name": "CollectionLinkedList11Sep2019.java", "fi... | https://github.com/nareshr38/JavaHomeTask | 259 | FILENAME: CollectionLinkedList11Sep2019.java | 0.289372 | package com.ranguht.code.javabasics.Sessions;
import java.util.Iterator;
import java.util.LinkedList;
public class CollectionLinkedList11Sep2019 {
public static void main(String[] args) {
LinkedList<String> ll=new LinkedList<String>();
ll.add("Rangu");
ll.add("Naresh");
ll.add("QA");... |
1b89b6f9-15af-4243-91f1-f0e559dc4770 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-28 08:47:45", "repo_name": "larrychen8276/xuecms", "sub_path": "/src/main/java/com/xuecms/modules/system/domain/DictDetail.java", "file_name": "DictDetail.java", "file_ext": "java", "file_size_in_byte": 1099, ... | https://github.com/larrychen8276/xuecms | 235 | FILENAME: DictDetail.java | 0.245085 | package com.xuecms.modules.system.domain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Ta... |
4d8f67fa-f1fd-4af1-a405-5504af58d1ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-10 04:25:17", "repo_name": "jovetove/springBoot-template", "sub_path": "/src/main/java/com/example/demo/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_by... | https://github.com/jovetove/springBoot-template | 189 | FILENAME: UserController.java | 0.203075 | package com.example.demo.controller;
import com.example.demo.entity.User;
import com.example.demo.service.impl.UserServiceImpl;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web... |
686457b3-1d8b-4e63-8ccb-2ecc2cc66a48 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-05 02:11:55", "repo_name": "binbin0617/Test", "sub_path": "/mylibrary/src/main/java/com/bin/mylibrary/faceReg/MatchModel.java", "file_name": "MatchModel.java", "file_ext": "java", "file_size_in_byte": 1098, "l... | https://github.com/binbin0617/Test | 235 | FILENAME: MatchModel.java | 0.282196 | package com.bin.mylibrary.faceReg;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* 构建人脸比较json参数
*/
public class MatchModel {
public static String getJson(String hp, String data) {
JSONObject obj1 = getMatchObj(hp);
JSONObject obj2 = getMatchObj(data);... |
67d7f625-8947-4bec-819a-ac77a81fecee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-30T19:47:30", "repo_name": "Andrelo9/java-bootcamp-2016", "sub_path": "/Topics/Implementations/src/main/java/com/globant/topicthree/UserOperationsController.java", "file_name": "UserOperationsController.java",... | https://github.com/Andrelo9/java-bootcamp-2016 | 246 | FILENAME: UserOperationsController.java | 0.274351 | package com.globant.topicthree;
import java.util.HashMap;
import java.util.Map;
import org.apache.log4j.Logger;
/**
* API implementation of UserService for virtual Shopping Cart (CRUD).
*
* @author andres.vaninetti
*
*/
public class UserOperationsController implements UserService {
private static final Logge... |
3e0ae599-36fc-4003-83ee-80bfe2b0e117 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-11 06:05:50", "repo_name": "jiacheshi/ceshione", "sub_path": "/WindSystem/src/main/java/com/yk/ctrl/entity/BindDevice.java", "file_name": "BindDevice.java", "file_ext": "java", "file_size_in_byte": 1157, "line... | https://github.com/jiacheshi/ceshione | 248 | FILENAME: BindDevice.java | 0.199308 | package com.yk.ctrl.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Ps on 2019/12/16.
*/
public class BindDevice {
@Expose
@SerializedName("nickname")
private String nickname;
... |
e52966b3-d07b-4d2f-bcdc-72be59710dc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-01T12:28:18", "repo_name": "11philip22/docker-mpd", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1191, "line_count": 42, "lang": "en", "doc_type": "text", "blo... | https://github.com/11philip22/docker-mpd | 371 | FILENAME: README.md | 0.206894 | # mpd-docker
https://hub.docker.com/r/philipwold/mpd
## An mpd docker container for streaming over http
Two outputs over http with a bitrate of 320 or 1411
Http stream will be on port 8000
You can connect on port 6600
### Example
docker create \
--name mpd \
-p 6600:6600 \
-p 8000:8000 \
-v mpdpl... |
fcc674e2-4118-4ba9-9694-2ba7acdef69a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-10 16:43:39", "repo_name": "xiegaoyang/MyFramework", "sub_path": "/src/main/java/com/xgy/myframework/MyServer.java", "file_name": "MyServer.java", "file_ext": "java", "file_size_in_byte": 1030, "line_count": 6... | https://github.com/xiegaoyang/MyFramework | 228 | FILENAME: MyServer.java | 0.226784 | package com.xgy.myframework;
import com.xgy.myframework.log.MyLog;
import java.net.ServerSocket;
/**
* Created by gowild.cn on 2017/6/10.
*/
public class MyServer {
private final String ip = "localhost";
private final int port = 12345;
private boolean isRunning = false;
private ServerSocket serv... |
3d3df771-33da-44f9-bb84-171db6a784f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-16 14:15:38", "repo_name": "oinkcraft/OneInTheChamber", "sub_path": "/src/main/java/com/oitc/dendrobyte/creation/ArenaCreationObject.java", "file_name": "ArenaCreationObject.java", "file_ext": "java", "file_si... | https://github.com/oinkcraft/OneInTheChamber | 224 | FILENAME: ArenaCreationObject.java | 0.224055 | package com.oitc.dendrobyte.creation;
import org.bukkit.Location;
import java.util.ArrayList;
/**
* Created by mobki, aka Dendrobyte, on 8/25/2019
* Written for project OneInTheChamber
* Please do not use or edit this code unless permission has been given (or if it's on GitHub...)
* Contact me on Twitter, @Mobki... |
baa67bca-9607-4cad-ba70-91b816a9733c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-17 11:08:31", "repo_name": "SimbaSAMA/star-mq", "sub_path": "/src/main/java/com/morning/star/star_mq/rk/consumer/MQReceiveCallback.java", "file_name": "MQReceiveCallback.java", "file_ext": "java", "file_size_i... | https://github.com/SimbaSAMA/star-mq | 260 | FILENAME: MQReceiveCallback.java | 0.291787 | package com.morning.star.star_mq.rk.consumer;
import java.util.ArrayList;
import java.util.List;
import com.alibaba.rocketmq.client.consumer.listener.ConsumeConcurrentlyContext;
import com.alibaba.rocketmq.client.consumer.listener.ConsumeConcurrentlyStatus;
import com.alibaba.rocketmq.client.consumer.listener.Message... |
040122e1-5756-4d3b-a9e0-0d6b11af6dba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-14T20:32:35", "repo_name": "PreemptRaspberry/Realtime-Evaluation", "sub_path": "/GPIO-Latency/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1008, "line_count": 26, "lang": "e... | https://github.com/PreemptRaspberry/Realtime-Evaluation | 269 | FILENAME: readme.md | 0.235108 | # configure the sourcecode accordingly
- configure the baudrate in main.c
# compile and flash for Atmega32
- find out your jtag device id:
- dmesg -> copy the serial number
- export `JTAG_DEVICE=YOUR_SERIAL`
- `make all.upload`
# compile and flash for Atmega328P (Arduino Uno)
- find out the port on which the Arduino ... |
e2ba8733-ece8-482b-b311-98f358e67d51 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-09-30 12:20:40", "repo_name": "endymuhardin/belajar-ws", "sub_path": "/aplikasi-manajemen-peserta-rest-client/src/main/java/aplikasi/peserta/rest/client/DaftarPesertaDemo.java", "file_name": "DaftarPesertaDemo.ja... | https://github.com/endymuhardin/belajar-ws | 258 | FILENAME: DaftarPesertaDemo.java | 0.281406 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package aplikasi.peserta.rest.client;
import aplikasi.peserta.domain.Peserta;
import aplikasi.peserta.rest.client.service.springmvc.ManajemenPesertaRestClientService;
import aplikasi.peserta.service.ManajemenPesertaServ... |
38cf1a75-1ed8-4bfc-961d-69db13c2466b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-24 20:10:38", "repo_name": "ru1lezz/CriminalIntent", "sub_path": "/app/src/main/java/serzhan/com/criminalintent/RegularCrimeHolderBinder.java", "file_name": "RegularCrimeHolderBinder.java", "file_ext": "java",... | https://github.com/ru1lezz/CriminalIntent | 220 | FILENAME: RegularCrimeHolderBinder.java | 0.290981 | package serzhan.com.criminalintent;
import android.content.Intent;
import android.view.View;
public class RegularCrimeHolderBinder extends CrimeHolderBinder implements View.OnClickListener{
private final Crime mCrime;
public RegularCrimeHolderBinder(Crime crime, int viewType) {
super(viewType);
... |
95ed755a-d19a-49ce-9694-e4bf5d62310c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-05-14 12:32:02", "repo_name": "spenk/MobSpawn", "sub_path": "/MobSpawn/src/MobSpawn.java", "file_name": "MobSpawn.java", "file_ext": "java", "file_size_in_byte": 1014, "line_count": 28, "lang": "en", "doc_type": ... | https://github.com/spenk/MobSpawn | 232 | FILENAME: MobSpawn.java | 0.26588 | import java.util.logging.Logger;
public class MobSpawn extends Plugin
{
String name = "MobSpawn";
String version = "1.0";
String author = " spenk";
static Logger log = Logger.getLogger("Minecraft");
public void initialize(){
MobSpawnListener listener = new MobSpawnListener();
listener... |
b4f4378d-91d8-420b-bebe-21b9e7ee3864 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-13 00:42:04", "repo_name": "jimmyjam100/CS3733Public", "sub_path": "/ScheduleProject/src/main/java/edu/wpi/cs/yidun/model/Timeslot.java", "file_name": "Timeslot.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/jimmyjam100/CS3733Public | 274 | FILENAME: Timeslot.java | 0.272025 | package edu.wpi.cs.yidun.model;
import java.time.LocalTime;
import java.util.ArrayList;
public class Timeslot {
String user = "";
String password = "";
boolean open;
LocalTime time;
int id = -1;
public Timeslot(boolean open, LocalTime time) {
this.open = open;
this.time = time;
}
public boolean cance... |
0576f98e-0301-4c2a-a1fa-2bc1d52f8ef7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-27 06:59:19", "repo_name": "mcraken/platform", "sub_path": "/security/src/main/java/org/cradle/security/shiro/AccountAuthenticationInfo.java", "file_name": "AccountAuthenticationInfo.java", "file_ext": "java",... | https://github.com/mcraken/platform | 249 | FILENAME: AccountAuthenticationInfo.java | 0.281406 | /**
*
*/
package org.cradle.security.shiro;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.subject.SimplePrincipalCollection;
import org.cradle.repository.models.account.Account;
/**
* @author Sherief Shawky
* @email mc... |
96d44da0-4803-458a-ac29-b0f8e7e588c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-19 11:33:42", "repo_name": "zhangxl98/spring-family", "sub_path": "/Chapter03/jpa-complex-demo/src/main/java/com/spring/jpacomplexdemo/model/BaseEntity.java", "file_name": "BaseEntity.java", "file_ext": "java"... | https://github.com/zhangxl98/spring-family | 299 | FILENAME: BaseEntity.java | 0.26588 | package com.spring.jpacomplexdemo.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.p... |
b14561f5-bf72-4ca9-9ec6-1eaafa6b8221 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-11 04:13:00", "repo_name": "sandrabinoy/Preparation", "sub_path": "/src/practice/AddTwoNumbers.java", "file_name": "AddTwoNumbers.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 56, "lang":... | https://github.com/sandrabinoy/Preparation | 251 | FILENAME: AddTwoNumbers.java | 0.264358 | package practice;
public class AddTwoNumbers {
public ListNode addTwoNumbers(ListNode l1, ListNode l2) {
ListNode result = new ListNode();
StringBuffer num1 = new StringBuffer();
StringBuffer num2 = new StringBuffer();
while(l1.next != null || l2.next != null) {
num1.... |
4254b58d-71b6-4d42-b680-224f55a6dcc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-01 13:37:24", "repo_name": "vaadin/security", "sub_path": "/vaadin-security/src/main/java/com/vaadin/security/shiro/LoginHtmlServlet.java", "file_name": "LoginHtmlServlet.java", "file_ext": "java", "file_size_... | https://github.com/vaadin/security | 186 | FILENAME: LoginHtmlServlet.java | 0.225417 | package com.vaadin.security.shiro;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet... |
5aff95e9-c9ce-41f6-83e8-74d135e9d132 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-27 15:40:55", "repo_name": "zhangmengjie46/zhangmengjie", "sub_path": "/src/main/java/com/briup/apps/poll/web/controller/OptionsController.java", "file_name": "OptionsController.java", "file_ext": "java", "fil... | https://github.com/zhangmengjie46/zhangmengjie | 184 | FILENAME: OptionsController.java | 0.256832 | package com.briup.apps.poll.web.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestControll... |
684df645-32db-426f-a433-172f7f116089 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-17 08:48:50", "repo_name": "cckmit/mall", "sub_path": "/mall-operation/mall-operation-service/src/main/java/com/suyan/mall/operation/service/impl/AddressServiceImpl.java", "file_name": "AddressServiceImpl.java... | https://github.com/cckmit/mall | 294 | FILENAME: AddressServiceImpl.java | 0.253861 | /*
* Copyright (c) 2020.
* 项目名称:素焉商城
* 创建人:素焉
* 开源地址: https://github.com/lixaviers/mall
*/
package com.suyan.mall.operation.service.impl;
import com.suyan.mall.operation.biz.AddressBiz;
import com.suyan.mall.operation.convertor.AddressConvertor;
import com.suyan.mall.operation.req.c.AddressListDTO;
import com.suy... |
3b2b9419-6e71-4538-8f83-cf6341d2584c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 01:35:35", "repo_name": "handsight/mall", "sub_path": "/mall-security/src/main/java/com/mall/cloud/config/CustomAccessDeniedHandler.java", "file_name": "CustomAccessDeniedHandler.java", "file_ext": "java", ... | https://github.com/handsight/mall | 199 | FILENAME: CustomAccessDeniedHandler.java | 0.190724 | package com.mall.cloud.config;
import com.alibaba.fastjson.JSONObject;
import com.mall.cloud.common.Result;
import com.mall.cloud.common.StatusCode;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.security.web.access.AccessDeniedH... |
54181528-9909-40e3-87c1-3529423bb385 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-06-21 13:27:09", "repo_name": "gitdb2/mbls", "sub_path": "/src/com/datamyne/mobile/dashboard/AboutActivity.java", "file_name": "AboutActivity.java", "file_ext": "java", "file_size_in_byte": 1225, "line_count": 42... | https://github.com/gitdb2/mbls | 214 | FILENAME: AboutActivity.java | 0.218669 | package com.datamyne.mobile.dashboard;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import com.datamyne.mobile.profile.utils.HoneycombCompatibility;
import com.datamyne.mobile.xml.R;
/*
* Activity para mostrar el Ab... |
3a21672d-0e2c-4ddb-8b18-7aaa290698de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-23 23:43:57", "repo_name": "Priscilla201/Exercicio", "sub_path": "/web/src/main/java/br/unipe/web/java/boot/HelloDatabaseServlet.java", "file_name": "HelloDatabaseServlet.java", "file_ext": "java", "file_size_... | https://github.com/Priscilla201/Exercicio | 179 | FILENAME: HelloDatabaseServlet.java | 0.23092 | package br.unipe.web.java.boot;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRe... |
0b101ded-60ac-442e-ab6f-ab45a1c0f2ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 01:03:08", "repo_name": "imwalrus/finalProject", "sub_path": "/finalProject/src/main/java/co/finalproject/farm/common/PageController.java", "file_name": "PageController.java", "file_ext": "java", "file_size... | https://github.com/imwalrus/finalProject | 221 | FILENAME: PageController.java | 0.212069 | package co.finalproject.farm.common;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import co.finalproject.farm.app.... |
035311a9-062f-46bf-b51b-1f1e74a6d67f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-10 06:15:51", "repo_name": "mlizhenbin/component", "sub_path": "/core/src/main/java/com/lzbruby/core/direct/ConfigLoader.java", "file_name": "ConfigLoader.java", "file_ext": "java", "file_size_in_byte": 1255, ... | https://github.com/mlizhenbin/component | 245 | FILENAME: ConfigLoader.java | 0.233706 | package com.lzbruby.core.direct;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Service;
/**
* 功能描述: 获取... |
ea265fe6-ed2c-487f-9b7d-40ae52817b1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-20 16:36:08", "repo_name": "jonahseguin/drink", "sub_path": "/src/main/java/com/jonahseguin/drink/provider/spigot/PlayerSenderProvider.java", "file_name": "PlayerSenderProvider.java", "file_ext": "java", "file... | https://github.com/jonahseguin/drink | 248 | FILENAME: PlayerSenderProvider.java | 0.262842 | package com.jonahseguin.drink.provider.spigot;
import com.jonahseguin.drink.argument.CommandArg;
import com.jonahseguin.drink.exception.CommandExitMessage;
import com.jonahseguin.drink.parametric.DrinkProvider;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import javax.annotation.Nonnull;
... |
2f0a71cb-afec-4ce5-b013-0032c2197607 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-28T20:10:42", "repo_name": "shaun2029/DeKockBlock", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1096, "line_count": 40, "lang": "en", "doc_type": "text", "blo... | https://github.com/shaun2029/DeKockBlock | 303 | FILENAME: README.md | 0.217338 | # OpenELEC
Raspberry Pi router implimenting a firewall, port forwarding, advert blocking,vpn and hotspot.
Based on OpenELEC.tv with HotPi additions including VPN WiFi Hotspot.
# OpenELEC - Open Embedded Linux Router
The base system has been designed and built from the ground up to be as
efficient as possible – con... |
0ea166be-4e3d-45a9-a933-5c81f61c9cda | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-23 08:34:09", "repo_name": "IsAlone/ssm", "sub_path": "/src/main/java/com/zking/ssm/frontDesk/service/impl/TreeNodeServiceImpl.java", "file_name": "TreeNodeServiceImpl.java", "file_ext": "java", "file_size_in_... | https://github.com/IsAlone/ssm | 215 | FILENAME: TreeNodeServiceImpl.java | 0.287768 | package com.zking.ssm.frontDesk.service.impl;
import com.zking.ssm.frontDesk.mapper.TreeNodeMapper;
import com.zking.ssm.frontDesk.model.TreeNode;
import com.zking.ssm.frontDesk.service.ITreeNodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
impo... |
26b76540-c992-47c7-b721-ca3507f82af6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-02 18:21:00", "repo_name": "susimsek/spring-boot-hibernate-hazelcast-cache-example", "sub_path": "/src/main/java/io/susimsek/hazelcastcache/service/dto/CarDto.java", "file_name": "CarDto.java", "file_ext": "ja... | https://github.com/susimsek/spring-boot-hibernate-hazelcast-cache-example | 250 | FILENAME: CarDto.java | 0.242206 | package io.susimsek.hazelcastcache.service.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.FieldDefaults;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Objects;
@FieldDefaults(level = AccessLevel.PRIVATE)
@Data
@NoArgsC... |
2820d4b2-e6af-428c-a732-b920a666da34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-26 20:38:53", "repo_name": "Ankit77/QuickBloxChat", "sub_path": "/QBapplibrary/src/main/java/com/indianic/qbchat/utils/KeyboardUtils.java", "file_name": "KeyboardUtils.java", "file_ext": "java", "file_size_in_... | https://github.com/Ankit77/QuickBloxChat | 221 | FILENAME: KeyboardUtils.java | 0.262842 | package com.indianic.qbchat.utils;
import android.app.Activity;
import android.content.Context;
import android.view.inputmethod.InputMethodManager;
import android.widget.EditText;
import com.indianic.qbchat.QbApp;
public class KeyboardUtils {
public static void showKeyboard(EditText editText) {
InputMeth... |
117a6121-f651-4fd8-9a3a-a48d1e152f41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-10 09:37:09", "repo_name": "jarryji/futu", "sub_path": "/TradeUtils/src/client/model/order/ChangeOrderResult.java", "file_name": "ChangeOrderResult.java", "file_ext": "java", "file_size_in_byte": 1342, "line_c... | https://github.com/jarryji/futu | 348 | FILENAME: ChangeOrderResult.java | 0.290981 | package client.model.order;
import client.model.base.BaseAccountResult;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* 修改订单返回信息
* @author jarry
* @version 1.0
* @since 2016/9/30
*
* 注:OrderID、LocalID只用设一个非0有效值(因PlaceOrder只能返回LocalID), OrderID参数... |
538226c4-9bdb-440a-bba1-bee904cc116d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-11 15:11:41", "repo_name": "fengg5241/aircon", "sub_path": "/bizproject/src/main/java/com/panasonic/b2bacns/bizportal/stats/vo/EnergyConsumptionResponseVO.java", "file_name": "EnergyConsumptionResponseVO.java"... | https://github.com/fengg5241/aircon | 285 | FILENAME: EnergyConsumptionResponseVO.java | 0.291787 | /**
*
*/
package com.panasonic.b2bacns.bizportal.stats.vo;
import java.util.List;
/**
* @author akansha
*
*/
public class EnergyConsumptionResponseVO {
private List<String> dates;
private List<Double> total_consumption;
private List<Double> average_consumption;
/**
* @return the... |
076fcd01-ea70-4740-b7ec-80540f2966bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-02T08:33:18", "repo_name": "FlipWebApps/azure-playground", "sub_path": "/azure-functions/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1155, "line_count": 36, "lang": "en", "... | https://github.com/FlipWebApps/azure-playground | 256 | FILENAME: README.md | 0.229535 | # azure-functions
A repository for testing Azure Functions Service
## Setup
Setup a python environment as discussed in the main README.md and then from this folder run:
```bash
cd azure-functions
pip install -r requirements.txt
```
## Running
Deploy through VS Code, DevOps or otherwise and see the Azure portal fo... |
85d3d852-3420-46e4-9816-bce6f016b5df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-02-04T08:12:02", "repo_name": "kranzky/base_whatever", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1188, "line_count": 47, "lang": "en", "doc_type": "text", "blo... | https://github.com/kranzky/base_whatever | 287 | FILENAME: README.md | 0.295027 | Secret
======
Create and remember an unguessable secret.
Read this blog post for more information, then visit
secret.kranzky.com to get started!
Overview
--------
Your password is hard to remember but easy to guess. That's the wrong way
around. You should do this instead:
1. Choose a really, really big random numb... |
632549c7-5134-4e88-af0c-fb10de0c6ac1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-07T02:50:13", "repo_name": "fengjw6/nodejs-websocket", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1091, "line_count": 36, "lang": "en", "doc_type": "text", "... | https://github.com/fengjw6/nodejs-websocket | 280 | FILENAME: README.md | 0.26588 | # Nodejs web socket server with jwt token validation
## Overview
This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.
### Runni... |
2fcbffde-b330-47e1-b329-e60285c312ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-10-14T14:06:42", "repo_name": "RobertTalbert/calpoly", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 994, "line_count": 13, "lang": "en", "doc_type": "text", "blob... | https://github.com/RobertTalbert/calpoly | 229 | FILENAME: README.md | 0.247987 | (Re:)Designing Class for Flipped Learning Experiences
=======
This repository contains files and information for Robert Talbert's talk, "(Re:)Designing Class for Flipped Learning Experiences " given on October 17, 2014 to faculty at California Polytechnic University in San Luis Obispo, CA.
The talk can be viewed by ... |
a39c07f0-2e94-433a-a191-5792eff430e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-28 03:25:06", "repo_name": "ChenXiaoW/RabbitMQ-Demo", "sub_path": "/direct-provider/src/main/java/com/chenw/directprovider/Sender/InfoMsgSender.java", "file_name": "InfoMsgSender.java", "file_ext": "java", "fi... | https://github.com/ChenXiaoW/RabbitMQ-Demo | 270 | FILENAME: InfoMsgSender.java | 0.261331 | package com.chenw.directprovider.Sender;
import com.alibaba.fastjson.JSON;
import com.chenw.directprovider.model.LogMsg;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.amqp.rabbit.support.CorrelationData;
import org.spring... |
091bd470-3aed-4f58-b03d-6155ae082718 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-31 03:22:39", "repo_name": "JinYongHyeon/kosta", "sub_path": "/web-workspace1/webstudy22-member/src/org/kosta/controller/UpdateMemberController.java", "file_name": "UpdateMemberController.java", "file_ext": "j... | https://github.com/JinYongHyeon/kosta | 229 | FILENAME: UpdateMemberController.java | 0.282988 | package org.kosta.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.kosta.model.MemberDAO;
import org.kosta.model.MemberVO;
public class UpdateMemberController implements Controller {
@Override
public String e... |
1385718b-b558-4656-b316-a17c4bc96609 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-09 08:39:08", "repo_name": "DurgeshAlex/MicroServices", "sub_path": "/SpringFeign/customer/src/main/java/kumar/durgesh/customer/dto/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_... | https://github.com/DurgeshAlex/MicroServices | 284 | FILENAME: Customer.java | 0.29584 | package kumar.durgesh.customer.dto;
import java.util.List;
public class Customer {
private String name;
private long mobileNo;
private List<Order> orders;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public long getMobileNo() {
return mobileNo;
}
publ... |
908594a2-ab09-455e-b741-6872414a924f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-09 10:02:45", "repo_name": "1412kaito/MDP-Semester-5", "sub_path": "/TugasPraktikum03/app/src/main/java/edu/stts/tugaspraktikum03/Movies.java", "file_name": "Movies.java", "file_ext": "java", "file_size_in_byt... | https://github.com/1412kaito/MDP-Semester-5 | 257 | FILENAME: Movies.java | 0.23793 | package edu.stts.tugaspraktikum03;
import android.os.Parcel;
import android.os.Parcelable;
public class Movies implements Parcelable {
String nama; String tempat;
String[] jam;
String sinopsis;
public Movies(String nama, String tempat, String[] jam, String sinopsis){
this.nama = nama;
... |
9cebcf50-a191-448c-acf4-8aecf8156c77 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-22 17:57:27", "repo_name": "NicolasMoreno/birra-app-back", "sub_path": "/src/main/java/com/birraapp/birraappbackend/user/model/dto/CreateUserDTO.java", "file_name": "CreateUserDTO.java", "file_ext": "java", "f... | https://github.com/NicolasMoreno/birra-app-back | 210 | FILENAME: CreateUserDTO.java | 0.193147 | package com.birraapp.birraappbackend.user.model.dto;
import com.birraapp.birraappbackend.user.model.UserModel;
public class CreateUserDTO {
private String username;
private String name;
private String lastName;
private String mail;
private String password;
public CreateUserDTO(String usernam... |
f946a3b0-b224-4d84-b452-9b21aab0f79c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-09 16:48:37", "repo_name": "kalvan2019/noahpay", "sub_path": "/job/src/main/java/com/noahpay/pay/job/trade/ClearAsyncTransHandleJob.java", "file_name": "ClearAsyncTransHandleJob.java", "file_ext": "java", "fil... | https://github.com/kalvan2019/noahpay | 288 | FILENAME: ClearAsyncTransHandleJob.java | 0.246533 | package com.noahpay.pay.job.trade;
import com.noahpay.pay.commons.db.trade.mapper.AsyncTransHandleMapper;
import com.kalvan.job.annotation.ElasticJobConf;
import lombok.extern.slf4j.Slf4j;
import org.apache.shardingsphere.elasticjob.api.ShardingContext;
import org.apache.shardingsphere.elasticjob.simple.job.SimpleJob;... |
59c74e7f-762e-4c1c-85e8-a809e35fb7dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-02T23:31:12", "repo_name": "Triippz/cryptobot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1188, "line_count": 31, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/Triippz/cryptobot | 321 | FILENAME: README.md | 0.277473 | #Discord CryptoBot
#### Description
This simple bot was designed to display cryptocurrency related information within
the Discord Application, via user commands. As of now, it supports a handful of useful commands.
All commands must be preceeded by a '$' symbol to activate the bot.
- $ping: Used to test to make sur... |
d9d9af79-dbb2-4260-baf6-cb36b3bbc5c9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-09T07:03:46", "repo_name": "NBGlasser/Train-Scheduler", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1092, "line_count": 17, "lang": "en", "doc_type": "text", ... | https://github.com/NBGlasser/Train-Scheduler | 235 | FILENAME: README.md | 0.255344 | # Train-Scheduler

## What I was supposed to be doing:
I was supposed to replicate the train scheduler shown in class
## Tools Used:
HTML
CSS/Bootstrap
Javascript/JQuery/Moment.js
Firebase
## How I did it:
After building out my HTML Document, I configured firebase and set empty variables to be used lat... |
70712c26-af64-4113-8e4a-641467ef6cbd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-30 19:48:37", "repo_name": "czbalazs/EpsonGlassStockManagement", "sub_path": "/src/sql/DbLoader.java", "file_name": "DbLoader.java", "file_ext": "java", "file_size_in_byte": 986, "line_count": 43, "lang": "en"... | https://github.com/czbalazs/EpsonGlassStockManagement | 197 | FILENAME: DbLoader.java | 0.284576 | package sql;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import model.Model;
/**
* Created by Balázs on 2014.09.16..
*/
public abstract class DbLoader {
protected Context ctx;
p... |
dc872981-68f5-4321-9f11-ca30fb48afac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-30T16:06:42", "repo_name": "JonathanFager/pacemaker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1225, "line_count": 39, "lang": "en", "doc_type": "text", "b... | https://github.com/JonathanFager/pacemaker | 345 | FILENAME: README.md | 0.255344 | <p align="center">
<img src="https://raw.githubusercontent.com/JonathanFager/pacemaker/master/images/pacemakerlogo@4x.png" align="middle" />
</p>
# Pacemaker
Pacemaker project aims to create an easy to use, reliable and awesome linefollower robot to use for runners during training.
This readme will serve as a p... |
53e56ea2-737d-403c-85fc-1fd77398631c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-05 06:30:19", "repo_name": "yezijiang/scmcps", "sub_path": "/tf56-scmCps-api/src/main/java/com/tf56/cps/api/enm/FileTypeEnum.java", "file_name": "FileTypeEnum.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/yezijiang/scmcps | 253 | FILENAME: FileTypeEnum.java | 0.242206 | package com.tf56.cps.api.enm;
import lombok.Getter;
import java.util.HashMap;
import java.util.Map;
/**
* @author : matthew
* @description :
* @date : 2021/3/1 4:35 下午
**/
@Getter
public enum FileTypeEnum {
法人身份证正面("juridicalIdCardPicFront", "法人身份证正面"),
法人身份证反面("juridicalIdCardPicBack", "法人身份证反面"),
营... |
fb2c8d8b-06cf-4414-ac61-2f32a5175ceb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-05 07:56:07", "repo_name": "DavidQF555/GachaBot", "sub_path": "/src/main/java/io/github/davidqf555/gachabot/commands/HelpCommand.java", "file_name": "HelpCommand.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/DavidQF555/GachaBot | 204 | FILENAME: HelpCommand.java | 0.236516 | package io.github.davidqf555.gachabot.commands;
import net.dv8tion.jda.api.entities.Message;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class HelpCommand extends CommandAbstract {
@Override
public void onCommand(Message m, String content) {
StringBuilder ... |
0b7d9e24-2d53-4879-a3ad-6cb5f4196777 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 10:26:48", "repo_name": "green-fox-academy/zuzanastasova", "sub_path": "/week-08/day1/todoconnectingwithmysql/src/main/java/com/greenfoxacademy/todowithmysql/services/AssigneeServiceImpl.java", "file_name":... | https://github.com/green-fox-academy/zuzanastasova | 219 | FILENAME: AssigneeServiceImpl.java | 0.26971 | package com.greenfoxacademy.todowithmysql.services;
import com.greenfoxacademy.todowithmysql.models.Assignee;
import com.greenfoxacademy.todowithmysql.models.Todo;
import com.greenfoxacademy.todowithmysql.repositories.AssigneeRepository;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
impor... |
c6c12f06-5f29-4968-89ca-87482c9de035 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-27 07:25:22", "repo_name": "pintimes/lifeix-services-aggregation", "sub_path": "/src/main/java/com/lifeix/football/service/aggregation/module/sender/module/sms/dao/ShortMessageTaskLockDao.java", "file_name": "... | https://github.com/pintimes/lifeix-services-aggregation | 215 | FILENAME: ShortMessageTaskLockDao.java | 0.277473 | package com.lifeix.football.service.aggregation.module.sender.module.sms.dao;
import java.util.concurrent.TimeUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.BoundValueOperations;
import org.springframework.data.redis.core.StringRedisTemplate;
import org... |
b6b9b10f-bb30-4dc9-9d28-b6741bb836d3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03 05:23:32", "repo_name": "Tomahawkd/TLS-Tester", "sub_path": "/TLS-Tester/src/main/java/io/tomahawkd/tlstester/tlsattacker/DrownTester.java", "file_name": "DrownTester.java", "file_ext": "java", "file_size_i... | https://github.com/Tomahawkd/TLS-Tester | 251 | FILENAME: DrownTester.java | 0.264358 | package io.tomahawkd.tlstester.tlsattacker;
import de.rub.nds.tlsattacker.attacks.config.GeneralDrownCommandConfig;
import de.rub.nds.tlsattacker.attacks.config.delegate.GeneralAttackDelegate;
import de.rub.nds.tlsattacker.attacks.impl.drown.GeneralDrownAttacker;
import de.rub.nds.tlsattacker.core.config.Config;
impor... |
41651362-f579-42e7-85d6-a42f8f598acd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-05 23:07:58", "repo_name": "Khalil-Khaled/BooklabWeb", "sub_path": "/src/main/java/tn/esprit/spring/controller/ItemController.java", "file_name": "ItemController.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Khalil-Khaled/BooklabWeb | 204 | FILENAME: ItemController.java | 0.288569 | package tn.esprit.spring.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.spri... |
64980b0c-e4e7-4709-8c46-2b1a576c8afa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-21 12:47:46", "repo_name": "cash2one/fmps", "sub_path": "/trunk/fmps-web/src/main/java/cn/com/fubon/reportform/policy/service/impl/PolicyReportServiceImpl.java", "file_name": "PolicyReportServiceImpl.java", "f... | https://github.com/cash2one/fmps | 230 | FILENAME: PolicyReportServiceImpl.java | 0.273574 | /**
*
*/
package cn.com.fubon.reportform.policy.service.impl;
import java.util.List;
import org.apache.log4j.Logger;
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
import org.jeecgframework.core.common.model.json.DataGridReturn;
import org.jeecgframework.core.common.service.impl.CommonServiceIm... |
b3d8b958-8255-48d3-817b-7a1b20f50ff9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-29 05:37:08", "repo_name": "prasannaanubhav/Java-Web-Services-Part-1", "sub_path": "/PassengerService-Jax-RS/src/main/java/com/passenger/service/PassengerServiceImpl.java", "file_name": "PassengerServiceImpl.j... | https://github.com/prasannaanubhav/Java-Web-Services-Part-1 | 257 | FILENAME: PassengerServiceImpl.java | 0.273574 | package com.passenger.service;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MultivaluedMap;
import org.springframework.stereotype.Service;
import com.passenger.model.Passenger;
@Service
public class PassengerServiceImpl imple... |
11bff548-6dad-4332-a191-88e9e98082c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-04-03T16:29:35", "repo_name": "Ekultek/ruby_practice_theOdinProject", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1253, "line_count": 32, "lang": "en", "doc_type... | https://github.com/Ekultek/ruby_practice_theOdinProject | 314 | FILENAME: README.md | 0.29584 | theOdinProject
==============
http://www.theodinproject.com/ assignments
<ul>
<li> binary_search_trees: binary trees, depth-first search, breadth-first search </li>
<li>chess: two-player chess game in ruby </li>
<li>connect_four: two-player connect_four game in ruby </li>
<li>event_manager: Working with file inputs/o... |
2b190532-1a84-4490-9556-a3349ea5d736 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-02T13:43:36", "repo_name": "shariful-alam/timeclock", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 39, "lang": "en", "doc_type": "text", "bl... | https://github.com/shariful-alam/timeclock | 238 | FILENAME: README.md | 0.268941 | # TimeClock
The project description was more clear compared to the other one. And the other project would take more time to complete. That is why I chose this project.
## Prerequisite
- Ruby 2.7.0
- Rails 6.1.1
- Bootstrap 4
- jQuery
## Installation
Follow these easy steps to run the project locally:
### Clone the re... |
e8e98bf2-7c90-49c9-ac8a-bc65a92142c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-31T16:15:02", "repo_name": "indieweb/indieweb-chat-archive", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1232, "line_count": 23, "lang": "en", "doc_type": "te... | https://github.com/indieweb/indieweb-chat-archive | 374 | FILENAME: README.md | 0.23793 | # IndieWeb Chat Archive
This repo contains the full archive of IndieWeb chat log data files visible at https://chat.indieweb.org
Chat logs are added to this repo every 15 minutes.
## File Format
Each channel's files can be read using [QuartzDB](https://github.com/aaronpk/QuartzDB). The files follow a simple format:... |
632094df-7221-4ddc-9c42-3939da7b49e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-15 17:51:19", "repo_name": "Corky94/CM2301-Group-1-Software-Project", "sub_path": "/Server/src/Connection/Send.java", "file_name": "Send.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 47, ... | https://github.com/Corky94/CM2301-Group-1-Software-Project | 217 | FILENAME: Send.java | 0.272025 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Connection;
import Message.NodeList;
import java.io.*;
import java.util.Stack;
import java.util.logging.*;
import javax.net.ssl.SSLSocket;
/**
*
* @author Marc
*/
public class Send {
private NodeList n ... |
c1eae54b-3fe6-478f-afa7-2c816db67d30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-04T03:34:20", "repo_name": "FizzyGalacticus/steg-go", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1078, "line_count": 16, "lang": "en", "doc_type": "text", "b... | https://github.com/FizzyGalacticus/steg-go | 245 | FILENAME: README.md | 0.276691 | # steg-go
This project is an (yet another) attempt at recreating an old Digital Forensics project of hiding files in image, and possibly more. [Original Python script here](https://github.com/FizzyGalacticus/Steganography/blob/master/Stegonography.py).
## What is steganography?
You can always [read the wiki](https:/... |
e44f75e4-0d80-44ed-9969-81b5286346d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-10 12:30:53", "repo_name": "smitienko96/oop-playgraound", "sub_path": "/src/main/java/com/smitie/parkinglot/ParkingTicket.java", "file_name": "ParkingTicket.java", "file_ext": "java", "file_size_in_byte": 1181... | https://github.com/smitienko96/oop-playgraound | 239 | FILENAME: ParkingTicket.java | 0.268941 | package com.smitie.parkinglot;
import java.time.LocalDateTime;
import java.util.List;
public final class ParkingTicket {
private final Vehicle vehicle;
private final LocalDateTime releaseDate;
private final List<String> parkingSpotsLabels;
private final String floorName;
public ParkingTicket(Veh... |
d18f9941-417b-4a40-b0a9-213182087e05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-15 07:52:54", "repo_name": "qingziguanjun/nettystudy", "sub_path": "/src/main/java/zhanbao/EchoClientHandler.java", "file_name": "EchoClientHandler.java", "file_ext": "java", "file_size_in_byte": 1018, "line_c... | https://github.com/qingziguanjun/nettystudy | 226 | FILENAME: EchoClientHandler.java | 0.256832 | package zhanbao;
import java.io.PushbackInputStream;
import java.util.logging.Logger;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
public class EchoClientHandler extends SimpleChannelInboundHandler<Object> {
private static fina... |
8ca5ceaf-0bfd-477e-8779-bdeb050d573f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-16 13:14:03", "repo_name": "405990230/infos", "sub_path": "/boss-infos/src/main/java/com/bmw/boss/infos/exportExcle/bmw/GetFileList.java", "file_name": "GetFileList.java", "file_ext": "java", "file_size_in_byt... | https://github.com/405990230/infos | 249 | FILENAME: GetFileList.java | 0.274351 | package com.bmw.boss.infos.exportExcle.bmw;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
/**
* Created by qxr4383 on 2018/3/13.
*/
public class GetFileList {
public static List<File> getFileList(String strPath) {
List<File> filelist = new ArrayList<>();
File dir = new ... |
d0001ea2-1ffd-4aee-84bb-fd0aaa78018e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 04:28:48", "repo_name": "wuwutai/java-test", "sub_path": "/src/main/java/com/jing/ThreadTest.java", "file_name": "ThreadTest.java", "file_ext": "java", "file_size_in_byte": 1202, "line_count": 50, "lang": "... | https://github.com/wuwutai/java-test | 253 | FILENAME: ThreadTest.java | 0.273574 | package com.jing;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* @author JING
* @version 2.0
* @Package com.jing
* @Description: (这里用一句话描述这个类的作用)
* @date 四月 23 2018,9:42
*/
public class ThreadTest {
public static ExecutorService executorService;
static {
... |
2c7c83e5-8971-4269-8479-7575f32e6e67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-12 08:49:25", "repo_name": "AlexZhukovich/TemperatureConverterTDD", "sub_path": "/app/src/androidTest/java/com/alexzh/temperatureconverter/ViewVisibilityIdlingResource.java", "file_name": "ViewVisibilityIdling... | https://github.com/AlexZhukovich/TemperatureConverterTDD | 205 | FILENAME: ViewVisibilityIdlingResource.java | 0.288569 | package com.alexzh.temperatureconverter;
import android.support.test.espresso.IdlingResource;
import android.view.View;
public class ViewVisibilityIdlingResource implements IdlingResource {
private final View mView;
private final int mExpectedVisibility;
private boolean mIdle;
private ResourceCallbac... |
d04b7e2a-b60f-4e60-98a1-9eff3ed91b6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-24 09:56:57", "repo_name": "thmundal/Netbeans", "sub_path": "/CanvasTest/src/canvastest/Cell.java", "file_name": "Cell.java", "file_ext": "java", "file_size_in_byte": 968, "line_count": 41, "lang": "en", "doc_... | https://github.com/thmundal/Netbeans | 206 | FILENAME: Cell.java | 0.288569 | /*
* 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 canvastest;
import java.awt.Color;
import java.awt.Graphics;
/**
*
*/
public class Cell {
private Transfo... |
15e2dbe7-5371-49bd-b1a7-b7ebd152ad6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-18 14:42:19", "repo_name": "ZagorskayaMarina/AT_ISSoft_final_task", "sub_path": "/src/test/java/tests/BaseTest.java", "file_name": "BaseTest.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 3... | https://github.com/ZagorskayaMarina/AT_ISSoft_final_task | 189 | FILENAME: BaseTest.java | 0.261331 | package tests;
import driver.Config;
import driver.DriverSingleton;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.TestInstance;
import org.junit.jupiter.api.extension.ExtendWith;
import org.openqa.selenium.WebDriver;
import test_extensions.Watcher;
import u... |
d4b0e574-3b4a-4da7-a81e-1006350ff600 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-01 00:58:20", "repo_name": "Subtelny/JMessenger", "sub_path": "/src/main/java/pl/janda/jmessenger/infrastructure/persistence/repository/EventStoreMessageRepository.java", "file_name": "EventStoreMessageReposit... | https://github.com/Subtelny/JMessenger | 201 | FILENAME: EventStoreMessageRepository.java | 0.252384 | package pl.janda.jmessenger.infrastructure.persistence.repository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import pl.janda.jmessenger.domain.model.room.*;
import pl.janda.jmessenger.infrastructure.event.EventStream;
import pl.janda.jmessenger.infrastructure.event.EventSt... |
4d786f9a-7666-4684-9099-a955dc7b768b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-01 14:41:07", "repo_name": "lalid00/Restautacja", "sub_path": "/src/main/java/pl/restaurant/core/model/Chef.java", "file_name": "Chef.java", "file_ext": "java", "file_size_in_byte": 1106, "line_count": 49, "la... | https://github.com/lalid00/Restautacja | 204 | FILENAME: Chef.java | 0.267408 | package pl.restaurant.core.model;
import java.util.ArrayList;
public class Chef extends Person{
private final ArrayList<Order> orders;
public Chef(PersonalData personalData, ContactData contactData) {
super(personalData, contactData);
this.orders = new ArrayList<>();
}
public ArrayLi... |
65c6a68c-8ce3-472e-a2cc-306fcc7d66fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-01 16:28:37", "repo_name": "olaholstad/shopcase", "sub_path": "/src/main/java/MockStoreMain.java", "file_name": "MockStoreMain.java", "file_ext": "java", "file_size_in_byte": 995, "line_count": 28, "lang": "en... | https://github.com/olaholstad/shopcase | 174 | FILENAME: MockStoreMain.java | 0.267408 | import routes.*;
import spark.Spark;
import storage.CustomerStorage;
import storage.CustomerStorageImpl;
import storage.OrderStorageImpl;
import util.Configuration;
import util.ConfigurationImpl;
public class MockStoreMain {
public static void main(String[] args) {
Configuration configuration = Configurat... |
631c959f-ae8d-44fb-8455-80e42cf169f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-23 17:25:09", "repo_name": "EmreSivri/Spring-Boot", "sub_path": "/spring-boot-one-to-many-relations/src/main/java/com/training/springbootonetomanyrelations/service/BookServiceImpl.java", "file_name": "BookServ... | https://github.com/EmreSivri/Spring-Boot | 204 | FILENAME: BookServiceImpl.java | 0.268941 | package com.training.springbootonetomanyrelations.service;
import com.training.springbootonetomanyrelations.model.Book;
import com.training.springbootonetomanyrelations.repository.BookRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.... |
0ec49c82-b632-47a4-bac5-4fc50c9d83ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-10 13:55:53", "repo_name": "luckybooy/JavaStudy", "sub_path": "/src/main/java/prop/PropLoad.java", "file_name": "PropLoad.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count": 37, "lang": "zh", "... | https://github.com/luckybooy/JavaStudy | 232 | FILENAME: PropLoad.java | 0.26588 | package prop;
import java.io.*;
import java.util.Properties;
/**
* @author xiaoran
* @program JavaStudy
* @package prop
* @description 加载流中的属性值
* @date 2020-05-01 23:22:11
*/
public class PropLoad {
public static void main(String[] args) {
Properties prop = new Properties();
InputStream fins... |
b920205e-552f-4d89-bfb2-514fa646e2d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-13 07:31:01", "repo_name": "neotran85/Android-AppyProduct-App", "sub_path": "/app/src/main/java/com/appyhome/appyproduct/mvvm/ui/appyproduct/product/list/sort/SortViewModel.java", "file_name": "SortViewModel.j... | https://github.com/neotran85/Android-AppyProduct-App | 204 | FILENAME: SortViewModel.java | 0.277473 | package com.appyhome.appyproduct.mvvm.ui.appyproduct.product.list.sort;
import com.appyhome.appyproduct.mvvm.data.DataManager;
import com.appyhome.appyproduct.mvvm.ui.base.BaseViewModel;
import com.appyhome.appyproduct.mvvm.utils.rx.SchedulerProvider;
public class SortViewModel extends BaseViewModel<SortNavigator> {
... |
37a5f519-6500-4076-8125-09f6492bed55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-13T18:23:19", "repo_name": "Tahirbhalli/Responsive-Design", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 986, "line_count": 42, "lang": "en", "doc_type": "text... | https://github.com/Tahirbhalli/Responsive-Design | 279 | FILENAME: README.md | 0.245085 | # Building Responsive Design

The page is a mock up of [this](https://thenextweb.com/) page.
## Built With
- Html
- CSS
## Live Demo
[Live Demo Link](https://rawcdn.githack.com/Tahirbhalli/Responsive-Design/95843327ca3ac0994fba6bf7dfa492dc0ba4e421/index.html)
## Authors
👤 **Au... |
3dc7c0d2-7927-491e-a5fd-1e8452973f81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-02 15:42:30", "repo_name": "Nathat23/MoreMachines", "sub_path": "/src/main/java/uk/antiperson/moremachines/machines/FuelBlock.java", "file_name": "FuelBlock.java", "file_ext": "java", "file_size_in_byte": 1058... | https://github.com/Nathat23/MoreMachines | 238 | FILENAME: FuelBlock.java | 0.253861 | package uk.antiperson.moremachines.machines;
import org.bukkit.Material;
import org.bukkit.block.BlockFace;
import org.bukkit.block.Furnace;
import org.bukkit.inventory.ItemStack;
public class FuelBlock extends MachineBlock {
public FuelBlock(Machine machine) {
super(machine, BlockFace.EAST);
}
... |
2e20c0e4-e7d3-4074-a37a-77f534ca77c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-30 07:40:48", "repo_name": "roechi/ISys_duplicate_filter", "sub_path": "/src/main/java/isys/duplicatefilter/config/WebConfiguration.java", "file_name": "WebConfiguration.java", "file_ext": "java", "file_size_i... | https://github.com/roechi/ISys_duplicate_filter | 159 | FILENAME: WebConfiguration.java | 0.239349 | package isys.duplicatefilter.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.StringHttpMessageConverter;
import org.springframework.web.servlet.confi... |
f0958399-c7c8-4927-bcfe-6b2efa31c659 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-19 12:51:44", "repo_name": "gcq9527/gulimall", "sub_path": "/gulimall-search/src/main/java/com/atguigu/gulimall/search/controller/SearchController.java", "file_name": "SearchController.java", "file_ext": "java... | https://github.com/gcq9527/gulimall | 234 | FILENAME: SearchController.java | 0.233706 | package com.atguigu.gulimall.search.controller;
import com.atguigu.gulimall.search.service.MallSearchService;
import com.atguigu.gulimall.search.vo.SearchParam;
import com.atguigu.gulimall.search.vo.SearchResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Contr... |
b364bd6c-42dc-4bbb-a055-d90a0d620d3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-29T12:57:58", "repo_name": "m6fish/hackMDNote", "sub_path": "/mock.md", "file_name": "mock.md", "file_ext": "md", "file_size_in_byte": 1350, "line_count": 51, "lang": "zh", "doc_type": "text", "blob_id": "... | https://github.com/m6fish/hackMDNote | 483 | FILENAME: mock.md | 0.293404 | mock.js系列 學習筆記
===
###### tags: `技術`
## 資源
[github-axios-mock-adapter](https://github.com/ctimmerm/axios-mock-adapter)
[Summer-Vue.js: axios 與 axios-mock-adapter](https://cythilya.github.io/2017/11/02/vue-axios/)
## 其他的mock
[github-Mock](https://github.com/nuysoft/Mock)
[mockjs 官網文件](http://mockjs.com/examples.htm... |
90b06b71-1cbc-42b6-8f63-aa852ff5a836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-09 11:58:47", "repo_name": "aftabthedeveloper/dolphin-platform", "sub_path": "/platform/dolphin-platform-server/src/main/java/com/canoo/dp/impl/server/servlet/ServletOutputStreamCopier.java", "file_name": "Ser... | https://github.com/aftabthedeveloper/dolphin-platform | 186 | FILENAME: ServletOutputStreamCopier.java | 0.240775 | package com.canoo.dp.impl.server.servlet;
import com.canoo.dp.impl.platform.core.Assert;
import javax.servlet.ServletOutputStream;
import javax.servlet.WriteListener;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public class ServletOutputStreamCopier extends ServletO... |
bb2a60d5-c13c-4a80-aeaa-bbad08088317 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 06:44:11", "repo_name": "paperMountainn/InfoSys1D", "sub_path": "/notigoapplication50001/services/homework/MockHomeworkRepository.java", "file_name": "MockHomeworkRepository.java", "file_ext": "java", "file... | https://github.com/paperMountainn/InfoSys1D | 221 | FILENAME: MockHomeworkRepository.java | 0.29584 | package com.example.notigoapplication50001.services.homework;
import com.example.notigoapplication50001.services.user.User;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
public class MockHomeworkRepository implements HomeworkRepository{
private final HashMap<User, List<Homework>> ... |
246cd5de-8c27-4cc0-a63f-6714728548bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-16 20:26:21", "repo_name": "joonasviljakainen/ohtu-2019", "sub_path": "/viikko3/tehtavat1-3/src/main/java/ohtu/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": ... | https://github.com/joonasviljakainen/ohtu-2019 | 203 | FILENAME: Main.java | 0.288569 | package ohtu;
import com.google.gson.Gson;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import org.apache.http.client.fluent.Request;
public class Main {
public static void main(String[] args) throws IOException {
String url = "https://nhlstatisticsforohtu.herokua... |
a29363c5-a4f3-4427-a7be-b14845cffaec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-30 04:30:11", "repo_name": "ninh-huynh/ao-remote-client", "sub_path": "/app/src/main/java/com/ninhhk/aoremote/model/RemoteButton.java", "file_name": "RemoteButton.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ninh-huynh/ao-remote-client | 241 | FILENAME: RemoteButton.java | 0.253861 | package com.ninhhk.aoremote.model;
public class RemoteButton {
private long id;
private String name;
private String code;
private long remote;
// for retrieve data from Button table
public RemoteButton(long id, String name, String code, long remote) {
this.id = id;
this.name =... |
3343a71f-e773-4793-9a81-7570db625580 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-02-16T09:22:55", "repo_name": "ngsankha/es6-test", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 974, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/ngsankha/es6-test | 237 | FILENAME: README.md | 0.258326 | # ES6 Test
This is a small test suite that is meant to be run on websites as a bookmarklet to check their compatibility with the ECMAScript 6 Draft.
The idea behind this is to prevent errors due to conflicting implementation between browsers and their incomplete polyfills by the websites. This can prevent bugs like [... |
11f0ef04-4fb0-4092-95cd-2e19430c4df7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-05 15:44:04", "repo_name": "coadtan/Questio", "sub_path": "/app/src/main/java/com/questio/projects/questio/QuestioApplication.java", "file_name": "QuestioApplication.java", "file_ext": "java", "file_size_in_by... | https://github.com/coadtan/Questio | 234 | FILENAME: QuestioApplication.java | 0.271252 | package com.questio.projects.questio;
import android.app.Application;
import android.content.res.Configuration;
import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
import com.google.android.gms.common.api.GoogleApiClient;
public class QuestioApplication extends Application {
private static final... |
804a4dbd-ef29-4688-a7ed-cc4555034a67 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-06 04:16:06", "repo_name": "hawtio/hawtio", "sub_path": "/platforms/springboot/src/test/java/io/hawt/springboot/SpringHawtioContextListenerTest.java", "file_name": "SpringHawtioContextListenerTest.java", "file... | https://github.com/hawtio/hawtio | 189 | FILENAME: SpringHawtioContextListenerTest.java | 0.261331 | package io.hawt.springboot;
import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import org.junit.Test;
import org.mockito.Mockito;
import io.hawt.system.ConfigManager;
public class SpringHawtioContextListenerTest {
@Test
public void testContextInitialized() {
final Config... |
a6f5e812-5016-4e50-867b-4a8d34ac467a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-28 10:09:07", "repo_name": "WheatVIVO/datasources", "sub_path": "/datasources/src/main/java/org/wheatinitiative/vivo/datasource/DataSourceUpdateFrequency.java", "file_name": "DataSourceUpdateFrequency.java", "... | https://github.com/WheatVIVO/datasources | 226 | FILENAME: DataSourceUpdateFrequency.java | 0.26971 | package org.wheatinitiative.vivo.datasource;
public enum DataSourceUpdateFrequency {
DAILY("http://vivo.wheatinitiative.org/ontology/adminapp/updateFrequencyDaily", "daily"),
WEEKLY("http://vivo.wheatinitiative.org/ontology/adminapp/updateFrequencyWeekly", "weekly"),
MONTHLY("http://vivo.wheatinitiative... |
2ee18d33-6908-4d13-8c32-4aa9cdf64099 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-27 15:10:55", "repo_name": "LUVROHIT/LearnGIT", "sub_path": "/newProject/src/newPackage/PractiseWindowHandle.java", "file_name": "PractiseWindowHandle.java", "file_ext": "java", "file_size_in_byte": 969, "line... | https://github.com/LUVROHIT/LearnGIT | 208 | FILENAME: PractiseWindowHandle.java | 0.289372 | package newPackage;
import java.util.Iterator;
import java.util.Set;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class PractiseWindowHandle {
public static void main(String[] args)
{
System.setProperty("webdriver.chrome.driver","E:... |
46419225-1b97-42c0-9df4-5b169b20fcea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 10:23:05", "repo_name": "rflorian2017/testapi", "sub_path": "/src/main/java/com/rosu/sda/NetworkUtils.java", "file_name": "NetworkUtils.java", "file_ext": "java", "file_size_in_byte": 1020, "line_count": 30... | https://github.com/rflorian2017/testapi | 177 | FILENAME: NetworkUtils.java | 0.249447 | package com.rosu.sda;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
public class NetworkUtils {
public static final String STUDENT_URL = "https://online-school-catalog-ad.h... |
b450ed87-9c8f-4b9f-8e6a-80ad22978de1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-01-13T22:02:09", "repo_name": "gmp26/site", "sub_path": "/sources/resources/template/index.md", "file_name": "index.md", "file_ext": "md", "file_size_in_byte": 976, "line_count": 22, "lang": "en", "doc_type":... | https://github.com/gmp26/site | 234 | FILENAME: index.md | 0.264358 | ````
alias: The part alias name that appears in a tab in a multipart resource. e.g. 'Problem', 'Solution'
weight: The weight determines the order of this part in a multipart tab bar. Heavier parts come later.
id: (optional = can omit if same as filename and url)
title: (optional) but may be identified by resource type
... |
abe58e4a-907e-4d7a-8f34-30b1f835c6d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-11 08:14:51", "repo_name": "purwaren/springboot-sample", "sub_path": "/src/main/java/com/pusilkom/demo/config/ThymeleafConfig.java", "file_name": "ThymeleafConfig.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/purwaren/springboot-sample | 186 | FILENAME: ThymeleafConfig.java | 0.205615 | package com.pusilkom.demo.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.thymeleaf.templateres... |
2cfce410-adaa-451f-8c0b-d058c72fca52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-07 01:37:18", "repo_name": "i1red/oop-5th-sem", "sub_path": "/Problems/Problem1/Client/src/main/java/com/red/app/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 995, "line_co... | https://github.com/i1red/oop-5th-sem | 173 | FILENAME: Client.java | 0.245085 | package com.red.app;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
public class Client implements AutoCloseable {
private final Socket socket;
private final DataOutputStream writer;
private final Buffer... |
20660368-c4b9-4282-bd44-afb38a1d4848 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-25 09:57:36", "repo_name": "zerasul/PrestashopDolibarESB", "sub_path": "/src/main/java/es/ual/itsi/dolibar/DolibarClass.java", "file_name": "DolibarClass.java", "file_ext": "java", "file_size_in_byte": 987, "l... | https://github.com/zerasul/PrestashopDolibarESB | 245 | FILENAME: DolibarClass.java | 0.273574 | package es.ual.itsi.dolibar;
import org.mule.api.annotations.param.Payload;
import es.ual.itsi.dolibar.common.Authentication;
import es.ual.itsi.prestashopsoap.Response;
public abstract class DolibarClass {
private String dolibarKey;
private String dolibarLogin;
private String dolibarPassword;
public DolibarC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.