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 |
|---|---|---|---|---|---|---|
d5a770cb-5316-41de-afb3-35ca8a5718a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-26 18:54:54", "repo_name": "MhmDSmdi/My-Time-Line", "sub_path": "/app/src/main/java/com/blucode/mhmd/timeline/data/model/ImageMessage.java", "file_name": "ImageMessage.java", "file_ext": "java", "file_size_in_... | https://github.com/MhmDSmdi/My-Time-Line | 237 | FILENAME: ImageMessage.java | 0.247987 | package com.blucode.mhmd.timeline.data.model;
import android.net.Uri;
import java.util.Date;
import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;
import io.objectbox.relation.ToOne;
@Entity
public class ImageMessage extends BasicMessage {
@Id
public long id;
private ToOne<UriAddres... |
b2392e55-1bb1-4f0f-a305-6f3dce7db869 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-08-29T03:11:06", "repo_name": "shendepu/fedora-dockfiles", "sub_path": "/mariadb/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1213, "line_count": 67, "lang": "en", "doc_type": ... | https://github.com/shendepu/fedora-dockfiles | 325 | FILENAME: README.md | 0.293404 | # Fedora Dockerfile for mariadb
## Create docker image for mariadb with root password configured
Based on https://github.com/fedora-cloud/Fedora-Dockerfiles/tree/master/mariadb
Change root password of mysql in **mysql.conf** file
MYSQL_ROOT_PASSWORD=Root_Passowrd
Perform the build
sudo docker build -t <yournam... |
8e5e1e84-a4df-4af4-9479-092934dc4670 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-29 23:35:02", "repo_name": "petrolingus/phonebook-database-task", "sub_path": "/src/main/java/me/petrolingus/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1111, "line_count": 3... | https://github.com/petrolingus/phonebook-database-task | 197 | FILENAME: Main.java | 0.240775 | package me.petrolingus;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
public class Main extends Application {
public stati... |
28c31ea1-ae33-43d4-9eeb-d5f55f384f06 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-15 05:48:42", "repo_name": "jchenga/spring-redis-chat-service", "sub_path": "/src/main/java/com/study/SpringBootWebSocketChatServer/redis/RedisPublisher.java", "file_name": "RedisPublisher.java", "file_ext": "... | https://github.com/jchenga/spring-redis-chat-service | 223 | FILENAME: RedisPublisher.java | 0.246533 | package com.study.SpringBootWebSocketChatServer.redis;
import com.study.SpringBootWebSocketChatServer.model.ChatMessage;
import com.study.SpringBootWebSocketChatServer.model.ChatMessagePayload;
import com.study.SpringBootWebSocketChatServer.repository.ChatMessageRepository;
import org.springframework.beans.factory.ann... |
03c2502a-a41c-4b2d-a93d-406ec75f3fc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-11-15T11:46:05", "repo_name": "bfv/pc2017", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1124, "line_count": 36, "lang": "en", "doc_type": "text", "blob_id": "29c... | https://github.com/bfv/pc2017 | 252 | FILENAME: README.md | 0.23092 | # PUG Challenge CDC to the Max!
These are the sources accompanying my presentation on the EMEA PUG Challenge 2017 in Prague.
High over the archtecture is:
```
MongoDB ◄===== NodeJS ◄===== Dispatcher =====► OE db ◄===== (any client, 4GL, SQL)
▲
║
║
search... |
03469fc9-439d-4614-822e-e3bd620fa15f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-28T02:02:48", "repo_name": "mlq1542906484/dispatch", "sub_path": "/src/main/java/com/jiadun/dispatch/validator/annotation/validator/FieldIsBooleanValidator.java", "file_name": "FieldIsBooleanValidator.java", "... | https://github.com/mlq1542906484/dispatch | 250 | FILENAME: FieldIsBooleanValidator.java | 0.259826 | package com.jiadun.dispatch.validator.annotation.validator;
import com.fit.utils.se.EmptyUtils;
import com.jiadun.dispatch.validator.annotation.FieldIsBoolean;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
/**
* @description: 布尔验证器
* @author: caiping
* @date: cre... |
bf17b957-39e3-463d-925b-cf493f38fb8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-06 14:33:25", "repo_name": "gjorgjij/student-system-spring-boot-app", "sub_path": "/src/main/java/com/example/studentsystem/servicesImpl/StudentServiceImpl.java", "file_name": "StudentServiceImpl.java", "file_... | https://github.com/gjorgjij/student-system-spring-boot-app | 228 | FILENAME: StudentServiceImpl.java | 0.291787 | package com.example.studentsystem.servicesImpl;
import com.example.studentsystem.dao.Dao;
import com.example.studentsystem.dto.StudentDto;
import com.example.studentsystem.repositories.StudentRepository;
import com.example.studentsystem.services.StudentService;
import org.springframework.beans.factory.annotation.Autow... |
409fb800-a248-46f0-b10b-0f2fe5a20cef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-22 21:25:58", "repo_name": "tkrutowski/Twitter", "sub_path": "/src/main/java/org/sda/twitter/filters/AuthenticationFilter.java", "file_name": "AuthenticationFilter.java", "file_ext": "java", "file_size_in_byte... | https://github.com/tkrutowski/Twitter | 197 | FILENAME: AuthenticationFilter.java | 0.229535 | package org.sda.twitter.filters;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
@WebFilter(filterName = "AuthenticationFilter", servletNam... |
386d47cf-c56b-446c-a388-76e021cc538d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-28 10:41:18", "repo_name": "punit-patil/RchiveAutomation", "sub_path": "/src/test/java/co/rchive/test/spec/share/ShareScreenplayForFirstTimeTest.java", "file_name": "ShareScreenplayForFirstTimeTest.java", "fil... | https://github.com/punit-patil/RchiveAutomation | 225 | FILENAME: ShareScreenplayForFirstTimeTest.java | 0.264358 | package co.rchive.test.spec.share;
import java.util.Properties;
import org.testng.annotations.Test;
import co.rchive.spec.userpages.ShareSpecDefinition;
import co.rchive.test.testbase.TestBase;
public class ShareScreenplayForFirstTimeTest extends TestBase {
// TestBase tb=new TestBase();
Properties prop = getprop... |
2872baec-b43d-4286-9938-3071bdd35bf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-05 06:34:19", "repo_name": "czq080/vshop", "sub_path": "/wechat-official-message/src/main/java/com/vigoss/wechat/official/event/model/OfficialMenuViewEventMessage.java", "file_name": "OfficialMenuViewEventMess... | https://github.com/czq080/vshop | 256 | FILENAME: OfficialMenuViewEventMessage.java | 0.246533 | package com.vigoss.wechat.official.event.model;
import com.vigoss.wechat.core.MessageConstant;
import com.vigoss.wechat.core.event.model.EventMessage;
import com.vigoss.wechat.core.event.type.EventMessageType;
import javax.xml.bind.annotation.XmlElement;
/**
* @author chenzhiqiang
* @date 2018/7/8
*/
public class... |
1bae6d86-3432-4cb2-bf5d-9ecac91eed5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-29T12:33:52", "repo_name": "sakshamdongre/MyApplicationtest", "sub_path": "/app/src/main/java/com/sample/sampleapplication/api/APIClient.java", "file_name": "APIClient.java", "file_ext": "java", "file_size_in_... | https://github.com/sakshamdongre/MyApplicationtest | 185 | FILENAME: APIClient.java | 0.255344 | package com.sample.sampleapplication.api;
import java.util.concurrent.TimeUnit;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class APIClient {
private static final String BASE_URL = "http://192.168.43.95:5000/api/";
private static APIInt... |
e973a218-2675-41d9-b06a-70bf9cc85817 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-05 15:59:42", "repo_name": "YevheniiVerkhovych/ConnectionPoolAndButchExecutorJDBC", "sub_path": "/src/main/java/DbWriteInfo.java", "file_name": "DbWriteInfo.java", "file_ext": "java", "file_size_in_byte": 1129... | https://github.com/YevheniiVerkhovych/ConnectionPoolAndButchExecutorJDBC | 203 | FILENAME: DbWriteInfo.java | 0.277473 | import java.io.FileInputStream;
import java.io.IOException;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
public class DbWriteInfo implements Runnable {
private int id;
List<String> list = new ArrayList<>();
public DbWriteInfo(int id){
this.id = id;
... |
30af5665-42cb-470a-8982-0899bd188079 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 14:21:54", "repo_name": "dineshbabu/springBootUnitTests", "sub_path": "/src/test/java/com/example/SanTest/repository/AccountRepositoryUnitTest.java", "file_name": "AccountRepositoryUnitTest.java", "file_ext... | https://github.com/dineshbabu/springBootUnitTests | 172 | FILENAME: AccountRepositoryUnitTest.java | 0.291787 | package com.example.SanTest.repository;
import com.example.SanTest.dto.Account;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest;
import org.springframework.boot.test.autoconfigu... |
1f69fa10-7831-421c-92bf-d2bcd541310d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-19 07:00:49", "repo_name": "xinshangyu/demo2", "sub_path": "/app/src/main/java/com/example/administrator/demo/adapter/Personal_SQ_Adapter.java", "file_name": "Personal_SQ_Adapter.java", "file_ext": "java", "fi... | https://github.com/xinshangyu/demo2 | 238 | FILENAME: Personal_SQ_Adapter.java | 0.250913 | package com.example.administrator.demo.adapter;
import android.content.Context;
import android.view.View;
import com.example.administrator.demo.R;
import com.example.administrator.demo.entity.SQBean;
import com.example.baselibrary.zh.adapter.CommonAdapter;
import com.example.baselibrary.zh.adapter.base.ViewHolder;
i... |
9c2ea0cf-1db3-423e-9c85-f6ddccdb3c17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-04 11:30:53", "repo_name": "rudwns/teamproject", "sub_path": "/teamSsum/src/com/service/RemoveContent.java", "file_name": "RemoveContent.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 43, ... | https://github.com/rudwns/teamproject | 197 | FILENAME: RemoveContent.java | 0.240775 | package com.service;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.model.BoardDAO;
/**
* Servlet... |
ffdc6cad-edfe-41da-b178-2d12c5b6328c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-18 10:43:43", "repo_name": "OussamaCeltica/MyStore", "sub_path": "/plus/MyBD.java", "file_name": "MyBD.java", "file_ext": "java", "file_size_in_byte": 1123, "line_count": 55, "lang": "en", "doc_type": "code", ... | https://github.com/OussamaCeltica/MyStore | 201 | FILENAME: MyBD.java | 0.272025 | package plus;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class MyBD {
Connection connect=null;
Statement s=null;
PreparedStatement p=null;
R... |
85013561-dd3e-4885-adae-770548903c14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-05 12:44:52", "repo_name": "Naufal-FTech/Modul_3_Mobile", "sub_path": "/app/src/main/java/com/example/loginregister/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Naufal-FTech/Modul_3_Mobile | 194 | FILENAME: MainActivity.java | 0.218669 | package com.example.loginregister;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCompatActivity {
Button loginButton, registerButton;
@Override
protect... |
4c9a8399-1fb4-4f93-81e9-6d789288db3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-10 15:32:21", "repo_name": "partnerccz/soa", "sub_path": "/src/main/java/com/soa/balance/RoundRobinBalance.java", "file_name": "RoundRobinBalance.java", "file_ext": "java", "file_size_in_byte": 1225, "line_cou... | https://github.com/partnerccz/soa | 240 | FILENAME: RoundRobinBalance.java | 0.292595 | package com.soa.balance;
import com.alibaba.fastjson.JSONObject;
import com.soa.invoke.NodeInfo;
import java.util.Collection;
import java.util.List;
public class RoundRobinBalance implements LoadBalance {
private static Integer index = 0;
@Override
public NodeInfo doSelect(List<String> registryInfo) {
... |
4789fae0-af13-4993-bc93-fe2aef84856b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-20 09:37:20", "repo_name": "NickMeeus/Bierhuis", "sub_path": "/src/main/java/be/vdab/services/BestelbonServiceImpl.java", "file_name": "BestelbonServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1009... | https://github.com/NickMeeus/Bierhuis | 228 | FILENAME: BestelbonServiceImpl.java | 0.284576 | package be.vdab.services;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import be.vdab.entities.Bestelbon;
import be.vdab.repositories.BestelbonRepository;
@Service
public class BestelbonServiceImpl implements Bestelbo... |
9a3be589-9461-48a5-a280-fc602c508d17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-01 10:31:16", "repo_name": "wangxu-96/algorithm_leisure", "sub_path": "/src/main/java/com/at/socket/ServerThread.java", "file_name": "ServerThread.java", "file_ext": "java", "file_size_in_byte": 1360, "line_co... | https://github.com/wangxu-96/algorithm_leisure | 230 | FILENAME: ServerThread.java | 0.289372 | package com.at.socket;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.Socket;
public class ServerThread implements Runnable {
private Socket client=null;
public ServerThread(Socket socket){
this.client=socket;
}
@Override
public... |
aba498db-2f0a-4c0c-adba-b15e0cc51c0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-06 07:23:58", "repo_name": "2042601376/LanGuoDemo", "sub_path": "/app/src/main/java/com/example/administrator/languodemo/Activity/ChangeCircleActivity.java", "file_name": "ChangeCircleActivity.java", "file_ext... | https://github.com/2042601376/LanGuoDemo | 179 | FILENAME: ChangeCircleActivity.java | 0.282196 | package com.example.administrator.languodemo.Activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import com.example.administrator.languodemo.R;
public class ChangeCircleA... |
7ea4ed85-23fe-4617-a534-409cefa76908 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-07T16:13:27", "repo_name": "mintae0424/CT-Buds", "sub_path": "/frontend/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1093, "line_count": 37, "lang": "en", "doc_type": "text"... | https://github.com/mintae0424/CT-Buds | 240 | FILENAME: README.md | 0.180107 | # Buds Website (Front-end)
## Project Descriptions
Prototype of Buds website. Designed using React Javascript using Redux and Hooks.
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in ... |
7ac34fde-1b3d-4bcc-bfe9-311ace6129a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-24 12:14:47", "repo_name": "KunakbaevAV/Sociometry", "sub_path": "/src/main/java/backend/Group.java", "file_name": "Group.java", "file_ext": "java", "file_size_in_byte": 1129, "line_count": 57, "lang": "en", "... | https://github.com/KunakbaevAV/Sociometry | 247 | FILENAME: Group.java | 0.290981 | package backend;
import java.util.ArrayList;
import java.util.List;
/**
* @autor Kunakbaev Artem
*/
public class Group {
private List<Respondent> group;
private String nameGroup;
private int groupSize;
public Group(String nameGroup) {
group = new ArrayList<Respondent>();
this.nameGr... |
f872f73c-d38b-4e41-b83a-7d4fd9f910bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-17 21:54:02", "repo_name": "YasmineHassan/Wuzzuf_Task", "sub_path": "/src/TestWuzzufJobs.java", "file_name": "TestWuzzufJobs.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 32, "lang": "en",... | https://github.com/YasmineHassan/Wuzzuf_Task | 211 | FILENAME: TestWuzzufJobs.java | 0.272025 | import java.io.File;
import java.util.List;
public class TestWuzzufJobs {
public void test(){
IO Reader = new IO();
//For Reading DataSet (.csv) File.
List<JobDetails> Dataset = Reader.ReadCSVFile("C:\\Users\\Yasoo\\Documents\\AAAAa\\Section_Dr.Ghozia\\04_Pyramids_CSV_Task\\Pyramids\\src\... |
45c5302c-12b8-4aa4-8a86-b8547dee1fe1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-11 12:17:51", "repo_name": "ravindrarjpt9/alpha", "sub_path": "/src/java/com/skt/web/alpha/controller/RuleController.java", "file_name": "RuleController.java", "file_ext": "java", "file_size_in_byte": 1225, "l... | https://github.com/ravindrarjpt9/alpha | 230 | FILENAME: RuleController.java | 0.281406 | package com.skt.web.alpha.controller;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import o... |
0464d031-6dd1-4058-b317-a86e0e8108d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-30 16:29:46", "repo_name": "zhenllllll/SpotifyMVP", "sub_path": "/app/src/main/java/gdg/androidtitlan/spotifymvp/music/api/model/ArtistImages.java", "file_name": "ArtistImages.java", "file_ext": "java", "file_... | https://github.com/zhenllllll/SpotifyMVP | 230 | FILENAME: ArtistImages.java | 0.247987 | package gdg.androidtitlan.spotifymvp.music.api.model;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
/**
* Created by Jhordan on 20/11/15.
*/
public class ArtistImages implements Parcelable {
@SerializedName("height") public int heigth;
@Serializ... |
5661264d-6349-42eb-9e4a-4a02408eeaf5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-16 14:39:22", "repo_name": "Ramesh7214/Hibernate", "sub_path": "/CRUD Operations/InsertEX/src/com/gbn/model/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 999, "line_cou... | https://github.com/Ramesh7214/Hibernate | 247 | FILENAME: Employee.java | 0.294215 | package com.gbn.model;
import java.math.BigDecimal;
/**
* Employee entity. @author MyEclipse Persistence Tools
*/
public class Employee implements java.io.Serializable {
// Fields
private Integer empId;
private String empName;
private BigDecimal empSal;
// Constructors
/** default constructor */
public ... |
dc813742-d8f3-498c-b3ba-7735d3ff18b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-16T05:27:19", "repo_name": "nhunt16/APCS-Final-Project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1047, "line_count": 11, "lang": "en", "doc_type": "text",... | https://github.com/nhunt16/APCS-Final-Project | 246 | FILENAME: README.md | 0.193147 | # APCS-Final-Project
Okay so I made a minecraft mod and uploaded the src or main source file.
To use my code simply download forge set it up in eclipe (I used eclipse NEON), set your Minecraft client to 1.7.10,
and replace the default src file. Now all you have to do is run the program in the IDE and
the mod should ... |
3097445e-1682-411d-9a11-b128dcd731eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-18 14:16:50", "repo_name": "CoOwner/StaffUtilities", "sub_path": "/src/main/java/me/dreamzy/staff/handlers/ServerHandler.java", "file_name": "ServerHandler.java", "file_ext": "java", "file_size_in_byte": 997, ... | https://github.com/CoOwner/StaffUtilities | 230 | FILENAME: ServerHandler.java | 0.272025 | package me.dreamzy.staff.handlers;
import java.util.HashMap;
import java.util.UUID;
import lombok.Data;
import redis.clients.jedis.JedisPool;
import me.dreamzy.staff.StaffPlugin;
import me.dreamzy.staff.redis.JedisPublisher;
import me.dreamzy.staff.redis.JedisSubscriber;
@Data
public class ServerHandler {
private ... |
5ad508f2-8ae9-4eba-98e7-bb445df9475d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-01 10:04:58", "repo_name": "k24pci/session2", "sub_path": "/src/main/java/com/ucx/training/sessions/session2/Program.java", "file_name": "Program.java", "file_ext": "java", "file_size_in_byte": 1212, "line_cou... | https://github.com/k24pci/session2 | 254 | FILENAME: Program.java | 0.291787 | package com.ucx.training.sessions.session2;
import com.ucx.training.sessions.session2.packageA.A;
import com.ucx.training.sessions.session2.packageB.B;
public class Program {
private static int x = 0;
public static void main(String[] args) {
A a = new A();
B b = new B();
System.out.pr... |
97178e2c-e5b4-4c78-a606-4b4a0c195ab8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-30 16:29:50", "repo_name": "rlp390/Test-Project", "sub_path": "/src/main/java/org/launchcode/TestProject/controllers/AbstractController.java", "file_name": "AbstractController.java", "file_ext": "java", "file_... | https://github.com/rlp390/Test-Project | 195 | FILENAME: AbstractController.java | 0.243642 | package org.launchcode.TestProject.controllers;
import org.launchcode.TestProject.models.User.User;
import org.springframework.beans.factory.annotation.Autowired;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
public class AbstractController {
@Autowired
AuthenticationC... |
ea3f353c-4b87-4712-b5d6-8ec548e255c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-12 15:38:17", "repo_name": "ssh352/Chronicle-Wire", "sub_path": "/src/test/java/net/openhft/chronicle/wire/method/ChronicleEvent.java", "file_name": "ChronicleEvent.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ssh352/Chronicle-Wire | 252 | FILENAME: ChronicleEvent.java | 0.264358 | package net.openhft.chronicle.wire.method;
import net.openhft.chronicle.wire.Base64LongConverter;
import net.openhft.chronicle.wire.BytesInBinaryMarshallable;
import net.openhft.chronicle.wire.LongConversion;
import net.openhft.chronicle.wire.NanoTimestampLongConverter;
public class ChronicleEvent extends BytesInBina... |
548a45b8-cb21-4162-a22c-4533c05ce5b7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-23 14:23:52", "repo_name": "Albert-cmd/Android-Realm", "sub_path": "/app/src/main/java/com/example/m8_uf1_activitat6_bdlocal_realm/PersonaBD.java", "file_name": "PersonaBD.java", "file_ext": "java", "file_size... | https://github.com/Albert-cmd/Android-Realm | 258 | FILENAME: PersonaBD.java | 0.20947 | package com.example.m8_uf1_activitat6_bdlocal_realm;
import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
public class PersonaBD extends RealmObject {
@PrimaryKey
private String nom;
private String residencia;
private int edat;
public PersonaBD() {
}
@Override
publi... |
cd46b147-dfc9-4621-95c9-36b12b4a618a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-21 16:16:42", "repo_name": "zachf/edgebot", "sub_path": "/src/main/java/com/metaui/edgebot/SlackBotContext.java", "file_name": "SlackBotContext.java", "file_ext": "java", "file_size_in_byte": 997, "line_count"... | https://github.com/zachf/edgebot | 213 | FILENAME: SlackBotContext.java | 0.224055 | package com.metaui.edgebot;
import com.slack.api.Slack;
import com.slack.api.model.Conversation;
public class SlackBotContext {
private final String slackBotName;
private final Slack slack;
private final SlackQueryHelper queryHelper;
private final String token;
private final Conversation homeChann... |
9dea2bf1-50d4-4145-9eb2-d5aacfd97eb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-28 07:48:34", "repo_name": "behroohj/senikshop", "sub_path": "/app/src/main/java/com/abideveloprs/smartmarket/debug/parser/buyRangeJsonParser.java", "file_name": "buyRangeJsonParser.java", "file_ext": "java", ... | https://github.com/behroohj/senikshop | 208 | FILENAME: buyRangeJsonParser.java | 0.283781 | package com.abideveloprs.smartmarket.debug.parser;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by imanbahmani on 9/1/16 AD.
*/
public class buyRangeJsonParser {
public void buyRangeJsonParserInput(String input)
{
try
... |
e5177cf9-bf45-4ddb-b1b5-70b8296902e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-10 11:41:45", "repo_name": "ParshakovaIrina/backendBooks", "sub_path": "/src/main/java/com/example/libr/domain/MyUser.java", "file_name": "MyUser.java", "file_ext": "java", "file_size_in_byte": 1208, "line_cou... | https://github.com/ParshakovaIrina/backendBooks | 268 | FILENAME: MyUser.java | 0.272025 | package com.example.libr.domain;
import lombok.Getter;
import lombok.Setter;
import javax.persistence.*;
import java.util.Set;
@Getter
@Setter
@Entity
@Table(name = "usr")
public class MyUser {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String login;
private Stri... |
ae83ec37-1732-46f4-a6c9-1efa554f4f5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-31 10:54:00", "repo_name": "poolborges/com-poolborges-example", "sub_path": "/com.poolborges.example.springframework/com.poolborges.example.springjpa.employee/src/test/java/com/poolborges/example/springjpa/emp... | https://github.com/poolborges/com-poolborges-example | 224 | FILENAME: EmployeeRepositoryTest.java | 0.27513 | package com.poolborges.example.springjpa.employee.repository;
import com.poolborges.example.springjpa.employee.domain.Employee;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
/**
*
* @author Borges
*/
public ... |
23aa2413-0b48-4dfc-be29-30b747ac1f54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-11 12:58:11", "repo_name": "tianyu097/myShop", "sub_path": "/src/main/java/com/li/filter/ZongFilter.java", "file_name": "ZongFilter.java", "file_ext": "java", "file_size_in_byte": 1225, "line_count": 41, "lang... | https://github.com/tianyu097/myShop | 231 | FILENAME: ZongFilter.java | 0.268941 | package com.li.filter;
import com.li.utils.CookieUtil;
import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.UUID;
@WebFilter("/*")
... |
93bc062b-79ff-408a-b46f-3620e1fa79be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-01 01:53:40", "repo_name": "SiarheiBialevich/SenlaCourseJavaEE", "sub_path": "/Lection12/ElectronicRegistry/server/src/main/java/ru/senla/bialevich/Server.java", "file_name": "Server.java", "file_ext": "java",... | https://github.com/SiarheiBialevich/SenlaCourseJavaEE | 204 | FILENAME: Server.java | 0.276691 | package ru.senla.bialevich;
import org.apache.log4j.Logger;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
public class Server {
private static final int PORT = 8787;
private static final Logger LOG = Logger.getLogger(Server.class);
public static void main(String[] ar... |
2cfa9a14-b356-44e8-add9-3f818adbc7e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-06 00:40:33", "repo_name": "JoinDevathon/poutian-2016", "sub_path": "/src/main/java/org/devathon/contest2016/PlayerInteractListener.java", "file_name": "PlayerInteractListener.java", "file_ext": "java", "file_... | https://github.com/JoinDevathon/poutian-2016 | 213 | FILENAME: PlayerInteractListener.java | 0.23231 | package org.devathon.contest2016;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.Inventory;
import org.bukkit.plugin.... |
49923053-8c04-48f7-95a8-72190d23ea5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-19 12:01:31", "repo_name": "efkaxlog/Trax", "sub_path": "/app/src/main/java/com/bajera/xlog/trax/data/AndroidResourceManager.java", "file_name": "AndroidResourceManager.java", "file_ext": "java", "file_size_in... | https://github.com/efkaxlog/Trax | 189 | FILENAME: AndroidResourceManager.java | 0.233706 | package com.bajera.xlog.trax.data;
import android.content.Context;
import android.content.res.Resources;
import androidx.core.content.ContextCompat;
import com.bajera.xlog.trax.R;
public class AndroidResourceManager implements ResourceManager {
private Resources resources;
private Context context;
publ... |
e1d71e8f-07d5-463c-b3fa-6112e0bf755a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-17 14:09:11", "repo_name": "eltonschmoeller/ManutencaoEquipamentos", "sub_path": "/src/main/java/com/example/me/ManutencaoEquipamentosApplication.java", "file_name": "ManutencaoEquipamentosApplication.java", "... | https://github.com/eltonschmoeller/ManutencaoEquipamentos | 264 | FILENAME: ManutencaoEquipamentosApplication.java | 0.262842 | package com.example.me;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.example.me.entities.OrdemServico;
import com.exam... |
f626c11a-94db-4eeb-b549-85245d8c0ecd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 01:51:06", "repo_name": "Moonphy/oldProject", "sub_path": "/crm/crm-web/crm-web-biz/src/main/java/com/qipeipu/crm/dtos/statistics/crmAnalyse/StatisticsPersonalEntity.java", "file_name": "StatisticsPersonalE... | https://github.com/Moonphy/oldProject | 286 | FILENAME: StatisticsPersonalEntity.java | 0.272025 | package com.qipeipu.crm.dtos.statistics.crmAnalyse;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Builder;
import java.util.List;
/**
* Created by laiyiyu on 2015/4/22.
*/
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class Statisti... |
955b7694-3811-4db2-b8d7-27b741a377af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-15 09:11:17", "repo_name": "tietang/fqueue", "sub_path": "/src/test/java/com/google/code/fqueue/Example.java", "file_name": "Example.java", "file_ext": "java", "file_size_in_byte": 1027, "line_count": 40, "lan... | https://github.com/tietang/fqueue | 193 | FILENAME: Example.java | 0.259826 | package com.google.code.fqueue;
import java.util.Random;
public class Example {
private static FileQueue fileFQueue;
public static FileBlockableQueue queue;
static {
try {
fileFQueue = new FileQueue("db", 1024);
queue = new FileBlockableQueue(fileFQueue);
} catch (... |
892757cc-245e-4b40-982e-3b26edcf8ce9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-19 10:16:06", "repo_name": "a7956232/Survey", "sub_path": "/src/main/java/com/yxj/action/LogAction.java", "file_name": "LogAction.java", "file_ext": "java", "file_size_in_byte": 1171, "line_count": 53, "lang":... | https://github.com/a7956232/Survey | 289 | FILENAME: LogAction.java | 0.286169 | package com.yxj.action;
import com.yxj.entity.Log;
import com.yxj.service.LogService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import javax.annotation.Resource;
import java.util.List;
/**
* Created by 95 on 2016/12/15.
*/
@Controller("logAction")
@Scope... |
714b8810-d673-4790-9955-7504ca96aba7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-16 05:41:45", "repo_name": "wangquanjava/wq_exam", "sub_path": "/src/main/java/com/wq/vo/ProblemVO.java", "file_name": "ProblemVO.java", "file_ext": "java", "file_size_in_byte": 1225, "line_count": 62, "lang":... | https://github.com/wangquanjava/wq_exam | 258 | FILENAME: ProblemVO.java | 0.258326 | package com.wq.vo;
import java.util.List;
/**
* Created by wqquan.wang on 2018/3/16.
*/
public class ProblemVO {
private Integer problemId;
private String question;
private List<Answer> answers;
public static class Answer {
private String value;
private String text;
public A... |
f9c14005-1dcf-43a3-bb69-1909b700041e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 07:06:29", "repo_name": "ChangShen0925/Project2", "sub_path": "/Whist/src/game/TrumpSavingDecorator.java", "file_name": "TrumpSavingDecorator.java", "file_ext": "java", "file_size_in_byte": 1089, "line_coun... | https://github.com/ChangShen0925/Project2 | 249 | FILENAME: TrumpSavingDecorator.java | 0.282196 | package game;
import ch.aplu.jcardgame.Card;
import ch.aplu.jcardgame.Hand;
import java.util.ArrayList;
public class TrumpSavingDecorator extends FilteringDecorator {
public ArrayList<Card> card;
public TrumpSavingDecorator(NPC npc, Suit lead, Suit trump){
super(npc, lead, trump);
this.card... |
35363c32-8def-4eee-a9b1-500b523cf106 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-19T15:39:21", "repo_name": "SparkPost/support-docs", "sub_path": "/content/momentum/mobile/mobile-developer-guide/mm-7-log-inband-bounce-hook.md", "file_name": "mm-7-log-inband-bounce-hook.md", "file_ext":... | https://github.com/SparkPost/support-docs | 261 | FILENAME: mm-7-log-inband-bounce-hook.md | 0.290981 | ---
lastUpdated: "03/26/2020"
title: "MM7 Log Inband Bounce Hook"
description: "An MM 7 MT message submitted by Mobile Momentum is treated as an inband message When such a submission permanently fails it will be logged to the bounce log as well as the main log using the hook implementation of the MM 7 log permfail hook... |
caeddf27-aa90-4c41-9e7e-b9166eefb8f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-07 14:05:17", "repo_name": "Masudj6/Mass_manage", "sub_path": "/app/src/main/java/com/example/masud/mess_manage/activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/Masudj6/Mass_manage | 198 | FILENAME: MainActivity.java | 0.214691 | package com.example.masud.mess_manage.activity;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import com.example.masud.mess_manage.R;
public class MainActivity extends AppCo... |
fef98589-0532-42f6-88bf-ebc576cf54b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-23 06:41:45", "repo_name": "dianaimao/DesignPattern", "sub_path": "/netty/src/main/java/oio/OIO.java", "file_name": "OIO.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 32, "lang": "en", "do... | https://github.com/dianaimao/DesignPattern | 174 | FILENAME: OIO.java | 0.286169 | package oio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
public class OIO {
public static void main(String[] args) throws IOException {
final int portNumber=12456;
Ser... |
eaa57fc8-13b9-48f9-8c3c-ad0b5152fd0f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 06:27:44", "repo_name": "zkhus567/Piano-Player", "sub_path": "/Instrument.java", "file_name": "Instrument.java", "file_ext": "java", "file_size_in_byte": 1213, "line_count": 60, "lang": "en", "doc_type": "c... | https://github.com/zkhus567/Piano-Player | 295 | FILENAME: Instrument.java | 0.29584 | /**
*
* Gets input from the instrument of choice and BPM.
* TextPrintInstrument and MIDIInstrument both extend off of this class
*
*/
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.TreeMap;
public class Instrument {
... |
ad9b051f-d3c9-49a4-8f8f-3d5c077946f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-07 09:57:18", "repo_name": "duy170597/project_oop_20191", "sub_path": "/src/main/java/entitygeneration/EventGeneration.java", "file_name": "EventGeneration.java", "file_ext": "java", "file_size_in_byte": 1065,... | https://github.com/duy170597/project_oop_20191 | 202 | FILENAME: EventGeneration.java | 0.292595 | package entitygeneration;
import com.google.gson.Gson;
import entity.Event;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.Random;
public class EventGeneration extends EntityGeneration {
public EventGeneration loadFromFile(String fileName) {
try {
... |
5e40dd3e-8ed8-4a20-ba79-815957da439a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-25 20:03:32", "repo_name": "jordanasalamon/PortalMedicaodeSoftware", "sub_path": "/PortalMedicaoSoftware/src/br/ufes/inf/nemo/PortalMedicaoSoftware/gerenciaConteudo/application/ManageAnotherWorksServiceBean.ja... | https://github.com/jordanasalamon/PortalMedicaodeSoftware | 230 | FILENAME: ManageAnotherWorksServiceBean.java | 0.274351 | package br.ufes.inf.nemo.PortalMedicaoSoftware.gerenciaConteudo.application;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import br.ufes.inf.nemo.PortalMedicaoSoftware.gerenciaConteudo.domain.AnotherWork;
import br.ufes.inf.nemo.PortalMedicaoSoftware.gerenciaConteudo.persistence.AnotherWorkDAO;
import br.... |
cf9be133-7249-483e-ae76-ed3b3376d6f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-23 12:10:50", "repo_name": "MahmoudAboNayel/MyNotes", "sub_path": "/app/src/main/java/com/example/abo_nayel/mynotes/Note.java", "file_name": "Note.java", "file_ext": "java", "file_size_in_byte": 1003, "line_co... | https://github.com/MahmoudAboNayel/MyNotes | 241 | FILENAME: Note.java | 0.221351 | package com.example.abo_nayel.mynotes;
import android.widget.CheckBox;
/**
* Created by Abo-Nayel on 22/09/2017.
*/
public class Note {
int id;
String note;
String status;
String owner;
public Note(int id, String note, String owner) {
this.id = id;
this.note = note;
thi... |
c3a8c067-6a6a-4e2e-914e-ce9004a7c11b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-03 07:29:04", "repo_name": "zhouzhou3516/stjava", "sub_path": "/mtomcat/src/main/java/com/zhou/dp/filter/filter/SensitiveFilter.java", "file_name": "SensitiveFilter.java", "file_ext": "java", "file_size_in_byt... | https://github.com/zhouzhou3516/stjava | 258 | FILENAME: SensitiveFilter.java | 0.252384 | package com.zhou.dp.filter.filter;
import com.google.common.collect.Maps;
import com.zhou.dp.filter.MyRequest;
import com.zhou.dp.filter.MyResponse;
import com.zhou.dp.filter.chain.FilterChain;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
/**
* Created by liqingzhou on 17/7/30.
*/
pu... |
aae6ed27-79ba-45a0-bf18-eca898f2882b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-12 14:18:13", "repo_name": "radiment/jugroote-idea-plugin", "sub_path": "/src/com/epam/jugroote/plugin/GrutFileType.java", "file_name": "GrutFileType.java", "file_ext": "java", "file_size_in_byte": 1129, "line... | https://github.com/radiment/jugroote-idea-plugin | 234 | FILENAME: GrutFileType.java | 0.235108 | package com.epam.jugroote.plugin;
import com.epam.jugroote.plugin.highlighter.GrutHighlighter;
import com.intellij.openapi.fileTypes.FileTypeEditorHighlighterProviders;
import com.intellij.openapi.fileTypes.LanguageFileType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import j... |
7d483481-5c06-43f7-8b6f-1517d19a3e6e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 12:05:15", "repo_name": "oskar117/MineEdit", "sub_path": "/src/com/olek/nbt/tags/TagList.java", "file_name": "TagList.java", "file_ext": "java", "file_size_in_byte": 1109, "line_count": 56, "lang": "en", "d... | https://github.com/oskar117/MineEdit | 241 | FILENAME: TagList.java | 0.259826 | package com.olek.nbt.tags;
import java.util.ArrayList;
import java.util.List;
public class TagList extends Tag {
private List<Tag> payload;
private byte payloadType;
private int length;
public TagList(String name, byte type, int length) {
super(name);
this.payloadType = type;
... |
913054d5-2b32-4cf0-b9ab-ee88a36ade32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-10 10:01:19", "repo_name": "hanyongheng/WebShop", "sub_path": "/src/main/java/org/seckill/dto/SeckillResult.java", "file_name": "SeckillResult.java", "file_ext": "java", "file_size_in_byte": 1285, "line_count"... | https://github.com/hanyongheng/WebShop | 294 | FILENAME: SeckillResult.java | 0.261331 | package org.seckill.dto;
/**
* Created by hanyh on 16/9/2.
* 封装秒杀结果的ajax的json数据
*/
public class SeckillResult<T> {
private boolean success;
private T data;
private String error;
/**
* 如果成功就会有数据
* @param success
* @param data
*/
public SeckillResult(boolean success, T da... |
af71eecc-3dc6-47dd-bb93-b53865e211b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-27 01:56:51", "repo_name": "isaacborges92/ExemploRetrofit", "sub_path": "/app/src/main/java/com/example/isaac/exemploretrofit/models/MeuOpenHelper.java", "file_name": "MeuOpenHelper.java", "file_ext": "java", ... | https://github.com/isaacborges92/ExemploRetrofit | 220 | FILENAME: MeuOpenHelper.java | 0.229535 | package com.example.isaac.exemploretrofit.models;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by Isaac on 22/08/2017.
*/
public class MeuOpenHelper extends SQLiteOpenHelper {
private static final int DATABASE_VER... |
7d84af75-6f91-403a-90d3-239f30c87955 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-12 14:05:44", "repo_name": "RockMother/mobileOffice", "sub_path": "/mobileOffice/src/main/java/mobileoffice/controllers/RegistrationController.java", "file_name": "RegistrationController.java", "file_ext": "ja... | https://github.com/RockMother/mobileOffice | 183 | FILENAME: RegistrationController.java | 0.255344 | package mobileoffice.controllers;
import base.controllers.BaseController;
import mobileoffice.business.contracts.RegistrationService;
import mobileoffice.models.RegistrationModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springfr... |
d61a0466-a3ac-41cc-bd9c-44e93c4b1794 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-02 06:56:34", "repo_name": "ukiras123/JavaDeckOfCard", "sub_path": "/src/com/kiran/deckoOfCard/game/Player.java", "file_name": "Player.java", "file_ext": "java", "file_size_in_byte": 1129, "line_count": 75, "l... | https://github.com/ukiras123/JavaDeckOfCard | 302 | FILENAME: Player.java | 0.274351 | package com.kiran.deckoOfCard.game;
import java.util.ArrayList;
import com.kiran.deckoOfCard.Cards;
/**
* Player Entity. Create this object for players.
*
* @author Kiran
* @version 1.0 May 1, 2017
*/
public class Player implements Entity {
private int money = 1000;
private String name;
ArrayList<Cards> ca... |
50580849-e70d-40e5-8973-74d4a7d3e612 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-09T10:22:51", "repo_name": "cocohub/menuScraper", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1129, "line_count": 25, "lang": "en", "doc_type": "text", "blob_... | https://github.com/cocohub/menuScraper | 328 | FILENAME: README.md | 0.290176 | How to use:
1. Clone repo.
2. Run "setup.bat". It will download YAML and urllib3 using pip. It will also create mat.bat.
3. Add mat.bat to PATH or put it in your System32 folder so that you can execute the scraper by typing mat in your command line.
Right now it will scrape Nya Etage (http://www.nyaetage.se/veckans-m... |
02925d32-a83a-42d8-8b49-83a49dafc465 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 00:23:06", "repo_name": "fabiano-cortez-souza/testeDeConceitoJC", "sub_path": "/teste-conceito-agenda-tecnico/src/main/java/br/com/fcs/agendatecnico/vo/Param.java", "file_name": "Param.java", "file_ext": "j... | https://github.com/fabiano-cortez-souza/testeDeConceitoJC | 293 | FILENAME: Param.java | 0.264358 | package br.com.fcs.agendatecnico.vo;
import java.util.Objects;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Param {
@JsonProperty("value")
private ParamValue value = null;
public Param value(ParamValue value) {
this.value = value;
return this;
... |
092d88d4-ea10-4965-b8b2-6801d70a0ceb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-01 12:37:36", "repo_name": "juliusborja/TutorialSession", "sub_path": "/app/src/main/java/com/example/julius/tutorialsession/Student.java", "file_name": "Student.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/juliusborja/TutorialSession | 240 | FILENAME: Student.java | 0.236516 | package com.example.julius.tutorialsession;
import java.util.jar.Attributes;
/**
* Created by Dell on 6/1/2018.
*/
public class Student {
private String studName;
private String studCourse;
private int studGrade;
public Student(String studName, String studCourse, int studGrade){
this.stu... |
4e04c7bc-eb1a-4f39-bfbe-d55671d4889b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-21 13:42:30", "repo_name": "yuzhongbutong/voice-control", "sub_path": "/src/com/ibm/watson/voice/VoiceControl.java", "file_name": "VoiceControl.java", "file_ext": "java", "file_size_in_byte": 1077, "line_count... | https://github.com/yuzhongbutong/voice-control | 198 | FILENAME: VoiceControl.java | 0.240775 | package com.ibm.watson.voice;
import java.io.IOException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.google.gson.JsonObject;
/**
* Servlet implementation class Talk
*/
@W... |
4541ea23-ae90-4774-b705-57efbc4df765 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-04 11:26:35", "repo_name": "lindar-open/intercom-java", "sub_path": "/intercom-java/src/main/java/io/intercom/api/AdminCollection.java", "file_name": "AdminCollection.java", "file_ext": "java", "file_size_in_b... | https://github.com/lindar-open/intercom-java | 212 | FILENAME: AdminCollection.java | 0.247987 | package io.intercom.api;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Iterator;
import java.util.List;
@SuppressWarnings("UnusedDeclaration")
@JsonIgnoreProperties(ignoreUnknow... |
33ddfc82-fd19-4aed-b0e6-f22ce27d7a75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-26 14:03:41", "repo_name": "Einstein12345/survivalgames", "sub_path": "/survivalgames/src/edu/moravian/schirripad/sg/Arena.java", "file_name": "Arena.java", "file_ext": "java", "file_size_in_byte": 1031, "line... | https://github.com/Einstein12345/survivalgames | 348 | FILENAME: Arena.java | 0.271252 | package edu.moravian.schirripad.sg;
import java.util.HashSet;
import edu.moravian.edu.sg.mapping.Coordinate3D;
public class Arena {
private String name;
private int x1, y1, z1, x2, y2, z2;
HashSet<String> flags = new HashSet<String>();
public Arena(String name, Coordinate3D[] d, ArenaType type) {
this.name = ... |
99fdb78e-f83e-461d-b7d0-b7e14f8adb5c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-26 14:02:45", "repo_name": "jorisvanlaar/employee-of-the-month", "sub_path": "/app/src/main/java/com/jorisvanlaar/employeeofthemonth/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "f... | https://github.com/jorisvanlaar/employee-of-the-month | 210 | FILENAME: MainActivity.java | 0.2227 | package com.jorisvanlaar.employeeofthemonth;
import android.support.design.widget.TabLayout;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle save... |
276bbf25-9e5d-49ea-b248-22e402c0228a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-20 01:51:34", "repo_name": "JemyHe/plugin", "sub_path": "/src/main/java/com/xingxue/plugin/sms/TestSms.java", "file_name": "TestSms.java", "file_ext": "java", "file_size_in_byte": 1211, "line_count": 37, "lang... | https://github.com/JemyHe/plugin | 375 | FILENAME: TestSms.java | 0.267408 | package com.xingxue.plugin.sms;
/*
* 1.登录注册阿里云
* 2.全部导航---产品---云通信---短信服务
* 3.开通服务
* 4.设置短信签名,短信模板(2小时的审核)
* 5.充值
* 6.获取accesskeys和密码
* 7.加入maven依赖
mvn install:install-file -Dfile=C:\aliyun-java-sdk-core-3.2.3.jar -DgroupId=com.aliyun -DartifactId=aliyun-java-sdk-core -Dversion=3.2.3 -Dpackaging=jar
mvn install:install... |
e300ffd5-22ca-4653-95e0-b9a5d750209b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-17 09:50:06", "repo_name": "emirmaydemir/ShopApp", "sub_path": "/app/src/main/java/com/example/smartshopping/ViewHolder/ProductViewHolder.java", "file_name": "ProductViewHolder.java", "file_ext": "java", "file... | https://github.com/emirmaydemir/ShopApp | 189 | FILENAME: ProductViewHolder.java | 0.255344 | package com.example.smartshopping.ViewHolder;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.example.smartshopping.Interfacee.ItemClickListener;
import com.example.smartshopping.R;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerV... |
ccb823c4-eedd-43f0-8a72-49ba7f16c175 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-04 07:20:27", "repo_name": "ChinaDragonNB/blog-open", "sub_path": "/blog-website/src/main/java/com/ak47007/model/ArticleTag.java", "file_name": "ArticleTag.java", "file_ext": "java", "file_size_in_byte": 1237,... | https://github.com/ChinaDragonNB/blog-open | 286 | FILENAME: ArticleTag.java | 0.245085 | package com.ak47007.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.B... |
12615b87-c59d-41a2-a372-62a058521470 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-12 21:42:38", "repo_name": "bogdanovmn/tutorialspoint-full-pdf", "sub_path": "/tutorialspoint-full-pdf-lib/src/main/java/com/github/bogdanovmn/tpfp/lib/domain/Article.java", "file_name": "Article.java", "file_... | https://github.com/bogdanovmn/tutorialspoint-full-pdf | 224 | FILENAME: Article.java | 0.286169 | package com.github.bogdanovmn.tpfp.lib.domain;
import com.github.bogdanovmn.tpfp.lib.common.LinkedHashMapArrayList;
import org.apache.pdfbox.io.MemoryUsageSetting;
import org.apache.pdfbox.multipdf.PDFMergerUtility;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
*
*/
public class Artic... |
5a69263b-25e4-4dbe-abc4-58e757098de4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-07-27T20:44:12", "repo_name": "forana/das-migrator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1016, "line_count": 34, "lang": "en", "doc_type": "text", "blob_... | https://github.com/forana/das-migrator | 242 | FILENAME: README.md | 0.172172 | # das-migrator
*das* (dumb and simple) *migrator* is a stupidly simple bash script that does postgres migrations via psql.
## What does it do?
Given:
1. A connection string
2. A directory of migration files to run in order
It:
1. Runs them in order
That's it. That's all it does.
It does _not_:
* selectively run ... |
52e12283-bc43-4914-9f88-9dcb7a9648b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 10:06:22", "repo_name": "ahsan265/ctpapp", "sub_path": "/app/src/main/java/com/example/citytrafficpolice/WardenAdapter.java", "file_name": "WardenAdapter.java", "file_ext": "java", "file_size_in_byte": 1129... | https://github.com/ahsan265/ctpapp | 208 | FILENAME: WardenAdapter.java | 0.26588 | package com.example.citytrafficpolice;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
public class WardenAdapter extends RecyclerView.Adapter<WardenAdapter.WardenViewHolder> {
priva... |
f1b97005-1952-4596-94dd-f08ea6bc7761 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-20 09:35:45", "repo_name": "waitinghu/XueBa", "sub_path": "/src/com/yctc/XuebaConnect/XuebaConnectActivity.java", "file_name": "XuebaConnectActivity.java", "file_ext": "java", "file_size_in_byte": 1225, "line_... | https://github.com/waitinghu/XueBa | 231 | FILENAME: XuebaConnectActivity.java | 0.246533 | package com.yctc.xuebaconnect;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import com.yctc.util.MusicPlayHelper;
public class XuebaConnectActivity extends Activity implements On... |
a646801c-8209-4b55-b43a-a1f1aa486ad7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-07 16:39:01", "repo_name": "otech47/funder-android", "sub_path": "/app/src/main/java/com/setmusic/funder/ApiPostRequest.java", "file_name": "ApiPostRequest.java", "file_ext": "java", "file_size_in_byte": 1213,... | https://github.com/otech47/funder-android | 247 | FILENAME: ApiPostRequest.java | 0.281406 | package com.setmusic.funder;
import android.content.Context;
import com.squareup.okhttp.Call;
import com.squareup.okhttp.Callback;
import com.squareup.okhttp.MediaType;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.RequestBody;
import java.util.concurrent.TimeUnit;
/**
* Created by oscarlafarga on... |
4567bb90-cc96-4913-9d2a-a865b46a8f51 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 11:19:38", "repo_name": "invoke-source/text", "sub_path": "/text-mybatis/src/main/java/com/bjpowernode/InvactionHandler/MyInvocationHandler.java", "file_name": "MyInvocationHandler.java", "file_ext": "java"... | https://github.com/invoke-source/text | 248 | FILENAME: MyInvocationHandler.java | 0.262842 | package com.bjpowernode.InvactionHandler;
import com.bjpowernode.util.SqlSessionUtil;
import org.apache.ibatis.session.SqlSession;
import javax.net.ssl.SSLSession;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.... |
1a4c3157-1871-409b-9af7-65496335c880 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-18 20:15:47", "repo_name": "tarynsauer/javaserver", "sub_path": "/tests/tddserver/LogsPageTest.java", "file_name": "LogsPageTest.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 37, "lang": ... | https://github.com/tarynsauer/javaserver | 225 | FILENAME: LogsPageTest.java | 0.285372 | package tddserver;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
/**
* Created by Taryn on 3/13/14.
*/
public class LogsPageTest extends TestHelpers {
private LogsPage page;
@Before
public void setUp() throws Ex... |
e2e6a257-de48-43f0-a3f2-ba7b30f59c68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-19 01:08:11", "repo_name": "bountin/oop", "sub_path": "/Aufgabe5/TestString.java", "file_name": "TestString.java", "file_ext": "java", "file_size_in_byte": 992, "line_count": 47, "lang": "en", "doc_type": "cod... | https://github.com/bountin/oop | 230 | FILENAME: TestString.java | 0.261331 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author Johannes Wawerda <johannes.wawerda@student.tuwien.ac.at>
*/
public class TestString implements Shorter<TestString> {
private String s;
public TestString(String s) {
this.s = s;
}... |
9cc544a6-7f43-4f7e-b926-79322ac9cfd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-28 11:03:45", "repo_name": "kaganyasar/spring-cloud-contract-eg", "sub_path": "/spring-cloud-contract-data/src/main/java/data/WebSocketResponseSimpleMessage.java", "file_name": "WebSocketResponseSimpleMessage.... | https://github.com/kaganyasar/spring-cloud-contract-eg | 224 | FILENAME: WebSocketResponseSimpleMessage.java | 0.229535 | package data;
public class WebSocketResponseSimpleMessage {
private String message;
private Person messagedToPerson;
private Person messagedByPerson;
public WebSocketResponseSimpleMessage() {
}
public WebSocketResponseSimpleMessage(String message, Person messagedToPerson, Person messagedByPer... |
b9f70c97-776d-4221-bf25-93ece3495299 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-05 23:15:52", "repo_name": "stevehav/iowa-caucus-app", "sub_path": "/sources/org/slf4j/MarkerFactory.java", "file_name": "MarkerFactory.java", "file_ext": "java", "file_size_in_byte": 1212, "line_count": 43, "... | https://github.com/stevehav/iowa-caucus-app | 251 | FILENAME: MarkerFactory.java | 0.281406 | package org.slf4j;
import org.slf4j.helpers.BasicMarkerFactory;
import org.slf4j.helpers.Util;
import org.slf4j.impl.StaticMarkerBinder;
public class MarkerFactory {
static IMarkerFactory MARKER_FACTORY;
private MarkerFactory() {
}
private static IMarkerFactory bwCompatibleGetMarkerFactoryFromBinder... |
70627b25-ebc7-4af3-af8e-6cfe661565c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-30T11:36:28", "repo_name": "Elaine1908/Travellers-Paradise-ver-2", "sub_path": "/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 2368, "line_count": 95, "lang": "zh", "doc_type... | https://github.com/Elaine1908/Travellers-Paradise-ver-2 | 566 | FILENAME: readme.md | 0.29584 | PJ 说明文档
==========
[TOC]
### 个人信息
*****
姓名:朱亦文<br>
学号:19302010075
[我的GitHub地址](https://github.com/Elaine1908/)
### 项目完成情况
****
#### 0.MVC 架构
本项目使用 MVC 架构完成后端访问数据库的各项操作,较好地实现了前后端代码分离。
为了更好地实现前后端交互,引入jquery,通过ajax前后端发送与接收消息。
#### 1.页面制作
**·Home**
1.首页轮播图展示收藏次数最多的 5 张图片,轮播图下方六张图按照更新时间依次排序。
2.导航栏:html头部ajax引入 /n... |
2baf8048-b9b6-4e25-a08f-378c7a76779d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-23 09:10:09", "repo_name": "cttlhy/spring-boot", "sub_path": "/boot1.5.2/src/main/java/com/cc/sys/core/controller/SysIndexController.java", "file_name": "SysIndexController.java", "file_ext": "java", "file_siz... | https://github.com/cttlhy/spring-boot | 204 | FILENAME: SysIndexController.java | 0.2227 | package com.cc.sys.core.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.spr... |
5466bbe9-19b2-4b69-9fc2-c9c7fd9d21b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-01 09:11:06", "repo_name": "w9ahmed/WasalnyTask", "sub_path": "/src/com/asyn/wasalnytaskfsq/utilities/DataCache.java", "file_name": "DataCache.java", "file_ext": "java", "file_size_in_byte": 1092, "line_count"... | https://github.com/w9ahmed/WasalnyTask | 234 | FILENAME: DataCache.java | 0.29584 | package com.asyn.wasalnytaskfsq.utilities;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
public class DataCache {
private SharedPreferences preferences;
public DataCache(Context context, String name) {
this.preferences = context.getS... |
4da5f4b8-cf71-49a6-baae-eae70bb25752 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-22 06:29:24", "repo_name": "shihugh/spring-work", "sub_path": "/src/main/java/com/netease/course/web/controller/LoginController.java", "file_name": "LoginController.java", "file_ext": "java", "file_size_in_byt... | https://github.com/shihugh/spring-work | 245 | FILENAME: LoginController.java | 0.274351 | package com.netease.course.web.controller;
import javax.servlet.http.HttpSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springfra... |
d2567508-4f29-4f1b-9c72-52ad38cd512b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-25 19:41:06", "repo_name": "2359451d/lightweight-blog-backend", "sub_path": "/blog-api/src/main/java/top/bento/blog/config/ThreadPoolConfig.java", "file_name": "ThreadPoolConfig.java", "file_ext": "java", "fil... | https://github.com/2359451d/lightweight-blog-backend | 213 | FILENAME: ThreadPoolConfig.java | 0.258326 | package top.bento.blog.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import java.util.concurrent.Executor;
... |
702be118-1d25-4e93-ac71-58c643237503 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-20 09:38:54", "repo_name": "APLK/rxjava2_Demo", "sub_path": "/src/main/java/com/szinternet/crm/adapter/BasePagerAdapter.java", "file_name": "BasePagerAdapter.java", "file_ext": "java", "file_size_in_byte": 128... | https://github.com/APLK/rxjava2_Demo | 263 | FILENAME: BasePagerAdapter.java | 0.276691 | package com.szinternet.crm.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.szinternet.crm.base.BaseFragment;
import com.szinternet.crm.utils.CommonUtil;
import java.util.ArrayList;
import java.util.List;
... |
2787f015-c605-47e6-9014-df3fd0079c19 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-28 14:21:55", "repo_name": "lipeng0817/hadoopWork", "sub_path": "/homework/1026/huangxiaonan/Countquchong.java", "file_name": "Countquchong.java", "file_ext": "java", "file_size_in_byte": 1092, "line_count": 5... | https://github.com/lipeng0817/hadoopWork | 306 | FILENAME: Countquchong.java | 0.291787 | package hadoop;
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
public class Count {
public static void main(String[] args) {
//List<Count> list = new ArrayList<Count>();
Scanner sc = new Scanner(System.in);
Set<String> st= new HashSet<String>();
String line = sc.... |
a14b08f3-8954-4460-918a-08438c782c91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-27 15:01:15", "repo_name": "KrisD123/TVacProject", "sub_path": "/TVacProject/src/test/java/RepresentativesTests.java", "file_name": "RepresentativesTests.java", "file_ext": "java", "file_size_in_byte": 1039, "... | https://github.com/KrisD123/TVacProject | 215 | FILENAME: RepresentativesTests.java | 0.288569 | import listeners.RunListener;
import org.apache.log4j.Logger;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import pages.RepresentativesPage;
import java.util.Set;
import static org.openqa.selenium.support.ui.ExpectedC... |
d7635d03-58e9-4ca1-9110-03d76b2c8839 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-06 07:50:13", "repo_name": "cdc123/graduation", "sub_path": "/src/main/java/com/graduation/controller/VideoSearchedController.java", "file_name": "VideoSearchedController.java", "file_ext": "java", "file_size_... | https://github.com/cdc123/graduation | 234 | FILENAME: VideoSearchedController.java | 0.262842 | package com.graduation.controller;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.... |
12b8e33f-0d5e-4bd5-9b54-e9ddb4cc1bc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-16 13:53:51", "repo_name": "IhsanGokalp/Back-End-Development", "sub_path": "/Exam/src/main/java/com/Midterm/Exam/Service/CustomerService.java", "file_name": "CustomerService.java", "file_ext": "java", "file_si... | https://github.com/IhsanGokalp/Back-End-Development | 194 | FILENAME: CustomerService.java | 0.281406 | package com.Midterm.Exam.Service;
import com.Midterm.Exam.Dao.CustomerCreateDao;
import com.Midterm.Exam.Dao.CustomerReturnDao;
import com.Midterm.Exam.Entity.Customer;
import com.Midterm.Exam.Repository.CustomerRepository;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.stream.... |
ff947ce2-ae56-420d-8d27-2041e14b41ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-13 06:57:46", "repo_name": "TTvcloud/vcloud-sdk-java", "sub_path": "/src/test/java/com/bytedanceapi/example/imagex/GetUploadTokenDemo.java", "file_name": "GetUploadTokenDemo.java", "file_ext": "java", "file_si... | https://github.com/TTvcloud/vcloud-sdk-java | 245 | FILENAME: GetUploadTokenDemo.java | 0.258326 | package com.bytedanceapi.example.imagex;
import com.bytedanceapi.service.imagex.IImageXService;
import com.bytedanceapi.service.imagex.impl.ImageXServiceImpl;
import java.util.HashMap;
import java.util.Map;
public class GetUploadTokenDemo {
public static void main(String[] args) {
// default region cn-n... |
8feecb8a-91b0-45a8-9769-56a60b8d8f69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-09-06T09:02:43", "repo_name": "dick7005/js-application", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1132, "line_count": 41, "lang": "en", "doc_type": "text", "b... | https://github.com/dick7005/js-application | 280 | FILENAME: README.md | 0.262842 | # *akana names
an application ..to help give names to children ..according to when there were born ..including the date of birth..day of birth ..and the .month of birth
# *author
DICKSON NJUGUNA
student at moringa campus
## Description
{This is a detailed description of your application, including its purpose and usa... |
d54922c5-ff59-4d0e-81eb-f37ceeff0c9a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-18T15:50:37", "repo_name": "enterstudio/gtbjj.github.io", "sub_path": "/_drafts/linux/aur-updates.md", "file_name": "aur-updates.md", "file_ext": "md", "file_size_in_byte": 1213, "line_count": 29, "lang": ... | https://github.com/enterstudio/gtbjj.github.io | 296 | FILENAME: aur-updates.md | 0.201813 | ---
layout: post
title:
excerpt:
category:
- Linux
tags:
comments: true
---
There are many AUR helper programs that will allow for pacmna-like use of the Arch User Responsitory, but I always feel sense of accomplishment
when I'm able to figure out / do something myself.
I've often flip flopped on AUR / Git versions ... |
95cf3ee1-2be1-424b-b713-2b4dd3d4a334 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-14 17:44:03", "repo_name": "saneh/AND_A_PopularMoviesStage2", "sub_path": "/app/src/main/java/in/lemonco/popularmovies/MovieAdapter.java", "file_name": "MovieAdapter.java", "file_ext": "java", "file_size_in_by... | https://github.com/saneh/AND_A_PopularMoviesStage2 | 204 | FILENAME: MovieAdapter.java | 0.290176 | package in.lemonco.popularmovies;
import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CursorAdapter;
import android.widget.ImageView;
import com.squareup.picasso.Picasso;
import in.lemonco.p... |
fbae6735-0ca1-4f9a-910a-6df9119101e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-07T11:42:34", "repo_name": "alanszlosek/relaxing-with-code", "sub_path": "/rust/05-edge-cases/script.md", "file_name": "script.md", "file_ext": "md", "file_size_in_byte": 1226, "line_count": 18, "lang": "e... | https://github.com/alanszlosek/relaxing-with-code | 272 | FILENAME: script.md | 0.267408 | Good morning, and Happy New Year!
If you're new to this series of videos, I am writing a sharding StatsD proxy in Rust as a way to learn the language. And today we're going to handle some edge cases to avoid crashes
I think I remarked in 2 previous videos about the collect() function. This one here, where we collect ... |
64c75786-e134-4b25-8420-bd0e3a4148b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-22 22:19:22", "repo_name": "Nihalkhamis/GoodTeam", "sub_path": "/app/src/main/java/com/example/nihal/goodteam/doneLoginActivity.java", "file_name": "doneLoginActivity.java", "file_ext": "java", "file_size_in_b... | https://github.com/Nihalkhamis/GoodTeam | 221 | FILENAME: doneLoginActivity.java | 0.253861 | package com.example.nihal.goodteam;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import java.util.ArrayList;
import java.util.List;
public class doneLoginActivity extends AppCompatActivi... |
f7650a5d-a735-421f-a3e6-9d32c5127529 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-25 14:51:20", "repo_name": "rofle100lvl/prog_lab8", "sub_path": "/prog_lab8_client/src/main/java/utils/Response.java", "file_name": "Response.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count":... | https://github.com/rofle100lvl/prog_lab8 | 224 | FILENAME: Response.java | 0.291787 | package utils;
import model.Flat;
import java.io.Serializable;
import java.util.ArrayList;
public class Response implements Serializable {
private static final long serialVersionUID = -7879056808897113742L;
private int code;
private String requestText;
private ArrayList<Flat> flats = null;
publ... |
a611d2ec-4df2-4900-be13-b7ce36b5594e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-14 13:34:03", "repo_name": "Legyver/fenxlib", "sub_path": "/fenxlib.core/src/main/java/com/legyver/fenxlib/core/lifecycle/hooks/InitComponentRegistryLifecycleHook.java", "file_name": "InitComponentRegistryLife... | https://github.com/Legyver/fenxlib | 248 | FILENAME: InitComponentRegistryLifecycleHook.java | 0.27048 | package com.legyver.fenxlib.core.lifecycle.hooks;
import com.legyver.fenxlib.api.context.ApplicationContext;
import com.legyver.fenxlib.api.lifecycle.LifecyclePhase;
import com.legyver.fenxlib.api.lifecycle.hooks.ApplicationLifecycleHook;
import com.legyver.fenxlib.api.lifecycle.hooks.ExecutableHook;
import com.legyve... |
fb25eb1f-4743-4c12-b7df-12686d91966d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-04 10:40:39", "repo_name": "jungeunlee95/jblog2", "sub_path": "/src/test/java/com/cafe24/jblog/controller/BlogControllerTest.java", "file_name": "BlogControllerTest.java", "file_ext": "java", "file_size_in_byt... | https://github.com/jungeunlee95/jblog2 | 293 | FILENAME: BlogControllerTest.java | 0.281406 | package com.cafe24.jblog.controller;
import static org.junit.Assert.assertNotNull;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springfra... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.