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 |
|---|---|---|---|---|---|---|
c2ca7586-b8d1-416d-8783-2acd6c4c359d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-28 21:49:37", "repo_name": "cubanitoalex/corads", "sub_path": "/app/src/main/java/cu/sld/hlucia/corads/usersession/UserSession.java", "file_name": "UserSession.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/cubanitoalex/corads | 211 | FILENAME: UserSession.java | 0.256832 | package cu.sld.hlucia.corads.usersession;
import android.content.Context;
import android.content.SharedPreferences;
public class UserSession {
// Shared Preferences
SharedPreferences pref;
Context _context;
// Editor for Shared preferences
SharedPreferences.Editor editor;
// Context
C... |
a99ab016-7cca-4706-bf28-c6da8af09375 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-05-05T20:07:00", "repo_name": "rcoffma1/observepoint-simulation-copy-chrome-extension", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1184, "line_count": 21, "lang... | https://github.com/rcoffma1/observepoint-simulation-copy-chrome-extension | 274 | FILENAME: README.md | 0.255344 | #Download & Install this Extension:
1. Click the "Download Zip" button above on the right-hand side of this page. The zip will download to your local drive.
2. Unzip the zip.
3. Open Chrome.
4. Type "chrome://extensions/" in the URL bar. You can also open the Extensions screen by clicking the hamburger icon in the top ... |
2414f4dd-a251-4ba1-a0a5-5af9504a8614 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-16T02:08:38", "repo_name": "nicholaswang2000/Pokedex", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 16, "lang": "en", "doc_type": "text", "... | https://github.com/nicholaswang2000/Pokedex | 236 | FILENAME: README.md | 0.286169 | # Pokedex
Pokedex is our second mini project for our training program for Mobile Developers of Berkeley. This application features a functioning Pokedex that presents Pokemon in tables, including all their stats in presentable formats through raw JSON data. Users can obtain info about any Pokemon through a search funct... |
8cec6a1b-4b09-4c69-aae1-4e1bce96d18c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-18 02:23:07", "repo_name": "zconggithub/starApps", "sub_path": "/src/main/java/com/starapp/service/impl/TInvoiceDataServiceImpl.java", "file_name": "TInvoiceDataServiceImpl.java", "file_ext": "java", "file_siz... | https://github.com/zconggithub/starApps | 252 | FILENAME: TInvoiceDataServiceImpl.java | 0.259826 | package com.starapp.service.impl;
import com.starapp.common.BackMessage;
import com.starapp.common.EnumCodeMsg;
import com.starapp.common.Excel2007Reader;
import com.starapp.dao.TInvoiceDataMapper;
import com.starapp.entity.TInvoiceData;
import com.starapp.service.TInvoiceDataService;
import org.apache.poi.openxml4j.e... |
407c5eb0-ba23-4d74-be27-57fb9f37217c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-02 08:10:14", "repo_name": "ssssingh720/OAC", "sub_path": "/app/src/main/java/oac/com/oac/app/adapter/PeopleToMeetPagerAdapter.java", "file_name": "PeopleToMeetPagerAdapter.java", "file_ext": "java", "file_siz... | https://github.com/ssssingh720/OAC | 244 | FILENAME: PeopleToMeetPagerAdapter.java | 0.27513 | package oac.com.oac.app.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.app.FragmentStatePagerAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Sudhir Singh on 09,... |
586075eb-a6af-49d0-a4d7-f8071326d245 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-19 08:52:45", "repo_name": "bchen1024/jf-cloud-project", "sub_path": "/jf-cloud/jf-cloud-platform/src/main/java/com/btsoft/jf/cloud/platform/security/enums/AppTypeEnum.java", "file_name": "AppTypeEnum.java", "... | https://github.com/bchen1024/jf-cloud-project | 292 | FILENAME: AppTypeEnum.java | 0.250913 | package com.btsoft.jf.cloud.platform.security.enums;
import com.btsoft.jf.cloud.core.enums.IBaseEnum;
import com.btsoft.jf.cloud.core.enums.impl.LanguageEnum;
/**
* 应用类型枚举
* @author jeo_cb
* @date 2019/9/28
**/
public enum AppTypeEnum implements IBaseEnum {
/** 系统应用 */
System(1L,"System","系统应用","System"),... |
104722df-258d-4344-9735-7dec6f9d7a66 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-09 21:19:30", "repo_name": "joaogsleite/distributed-password-manager", "sub_path": "/server/src/main/java/pt/ulisboa/tecnico/sec/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/joaogsleite/distributed-password-manager | 226 | FILENAME: User.java | 0.246533 | package pt.ulisboa.tecnico.sec;
import pt.ulisboa.tecnico.sec.lib.http.*;
import java.util.concurrent.ConcurrentHashMap;
import org.json.JSONObject;
public class User
{
private HMAC hmac;
private SeqNumber seqNumber;
private ConcurrentHashMap<String,Password> database= new ConcurrentHashMap<String,Password>(... |
8b1cb98c-6a4d-48af-baa7-13c3ba0721e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-09 13:31:36", "repo_name": "guanpu/java", "sub_path": "/src/me/puguan/lbp/c2/CComsumer.java", "file_name": "CComsumer.java", "file_ext": "java", "file_size_in_byte": 1183, "line_count": 57, "lang": "en", "doc_... | https://github.com/guanpu/java | 267 | FILENAME: CComsumer.java | 0.282988 | /*
* 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 me.puguan.lbp.c2;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author p... |
cec4f47c-5d30-4fc8-8ca3-800a219dc242 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-12 07:50:10", "repo_name": "amitmalik0205/MathPlay", "sub_path": "/src/main/java/com/qait/mathplay/dto/GroupScoreDTO.java", "file_name": "GroupScoreDTO.java", "file_ext": "java", "file_size_in_byte": 1074, "li... | https://github.com/amitmalik0205/MathPlay | 242 | FILENAME: GroupScoreDTO.java | 0.279042 | package com.qait.mathplay.dto;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
public class GroupScoreDTO implements Serializable {
private static final long serialVersionUID = 1L;
@NotNull(message = "{GroupScoreDTO.groupid... |
289d576c-4121-451a-9fd2-6299691cc3c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-27 07:48:40", "repo_name": "Gavin-yh/learn-library", "sub_path": "/quna/T_serve/src/main/java/travel/domain/Attractions.java", "file_name": "Attractions.java", "file_ext": "java", "file_size_in_byte": 1106, "l... | https://github.com/Gavin-yh/learn-library | 244 | FILENAME: Attractions.java | 0.23793 | package travel.domain;
import java.util.List;
public class Attractions {
private Integer id;
private String name;
private String recom;
private List<AttractionsImage> images;
private List<Comment> comments;
public Attractions() {
}
public Attractions(String name, String recom) {
... |
2806064b-b28b-44e7-bdb9-8ba5a5ea8569 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-08 21:56:23", "repo_name": "philoyui/philoyui-stock", "sub_path": "/philoyui-stock-manager/src/main/java/io/philoyui/tagstock/service/impl/CciDataServiceImpl.java", "file_name": "CciDataServiceImpl.java", "fil... | https://github.com/philoyui/philoyui-stock | 247 | FILENAME: CciDataServiceImpl.java | 0.27513 | package io.philoyui.tagstock.service.impl;
import cn.com.gome.cloud.openplatform.repository.GenericDao;
import cn.com.gome.cloud.openplatform.service.impl.GenericServiceImpl;
import io.philoyui.tagstock.dao.CciDataDao;
import io.philoyui.tagstock.entity.CciDataEntity;
import io.philoyui.tagstock.service.CciDataService... |
91a89dfe-1c83-4ace-ad0a-6cbd01bc0b31 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-05 21:02:58", "repo_name": "MariyaR/StudentProject", "sub_path": "/Student-system/src/main/java/edu/javacourse/student/StudentSystem.java", "file_name": "StudentSystem.java", "file_ext": "java", "file_size_in_... | https://github.com/MariyaR/StudentProject | 232 | FILENAME: StudentSystem.java | 0.26588 | package edu.javacourse.student;
import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.UnmarshalException;
import javax.xml.bind.Unmarshaller;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stre... |
5d53d162-ea1f-4116-b3e6-90f0454374b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-01T12:42:45", "repo_name": "irfankhaan/IoT-based-Weather-Station", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1092, "line_count": 19, "lang": "en", "doc_type... | https://github.com/irfankhaan/IoT-based-Weather-Station | 277 | FILENAME: README.md | 0.274351 | # IoT based Weather Station
This project shows current weather condition on a LCD and pushes the data to a Google Firebase real-time database from where it can be displayed on a web/mobile application or be used for various other purposes.
## Tech Stack
* [Arduino IDE](https://www.arduino.cc/en/software)
* [Firebase](... |
3f46d830-1b57-4318-8525-e7f9b29e8cc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-05 19:29:22", "repo_name": "tavisca-dkumar/httpserver", "sub_path": "/src/main/java/com/tavisca/workshops/dokumar/HttpResponseHandler.java", "file_name": "HttpResponseHandler.java", "file_ext": "java", "file_s... | https://github.com/tavisca-dkumar/httpserver | 228 | FILENAME: HttpResponseHandler.java | 0.259826 | package com.tavisca.workshops.dokumar;
import java.io.BufferedOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
public class HttpResponseHandler {
public void sendResponse(String fileName, BufferedOutputStream out) throws IOException {
FileHandle fileHandler = new FileHandle... |
8bdbbc62-3522-486d-8a16-a4573d41d3eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-28 02:33:15", "repo_name": "guillan/ListMatchs", "sub_path": "/listmatchs-security/src/main/java/listmatchs/security/services/ListmatchsUserDetailsService.java", "file_name": "ListmatchsUserDetailsService.java... | https://github.com/guillan/ListMatchs | 179 | FILENAME: ListmatchsUserDetailsService.java | 0.267408 | package listmatchs.security.services;
import listmatchs.security.entities.User;
import listmatchs.security.repositories.RoleRepository;
import listmatchs.security.repositories.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.Use... |
b8709487-c232-4fa4-9783-b96ba053e95a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-06 12:09:12", "repo_name": "flowersinthesand/spheres-sandbox", "sub_path": "/src/main/java/com/github/flowersinthesand/spheres/ConcurrentActions.java", "file_name": "ConcurrentActions.java", "file_ext": "java"... | https://github.com/flowersinthesand/spheres-sandbox | 258 | FILENAME: ConcurrentActions.java | 0.276691 | package com.github.flowersinthesand.spheres;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
public class ConcurrentActions<T> extends ActionsSupport<T> {
private AtomicBoolean disabled = n... |
4f7be06a-0f7f-4462-9f3f-15065ead153c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-31 05:03:11", "repo_name": "wfyhehe/JavaWebHomework", "sub_path": "/src/main/java/com/wfy/web/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 1135, "line_co... | https://github.com/wfyhehe/JavaWebHomework | 237 | FILENAME: UserService.java | 0.279828 | package com.wfy.web.service;
import com.wfy.web.dao.UserDao;
import com.wfy.web.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List;
/**
* Created by wfy on 18-3-24, good luck.
*/
@Service
public clas... |
3c706b13-462a-410f-94df-871cec1ce733 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-15 09:13:26", "repo_name": "o-schneider/cdi-demo", "sub_path": "/src/oschneider/cdi/demo/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_byte": 981, "line... | https://github.com/o-schneider/cdi-demo | 239 | FILENAME: UserController.java | 0.282196 | package oschneider.cdi.demo.controller;
import java.util.List;
import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.New;
import javax.inject.Inject;
import javax.inject.Named;
import oschneider.cdi.demo.bean.User;
import oschneider.cdi.demo.service.api.UserDao;
@Named
@RequestScoped
publi... |
ab122236-e313-4c38-9887-95f12fd1dc2d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-20 07:47:31", "repo_name": "jayanttupe/springas-train-example", "sub_path": "/gwt-sh/src/main/java/com/skynet/spms/persistence/entity/stockServiceBusiness/base/tagEntity/barCodeEntity/base1DBarCode/CargoSpace1... | https://github.com/jayanttupe/springas-train-example | 358 | FILENAME: CargoSpace1DBarCode.java | 0.29584 | package com.skynet.spms.persistence.entity.stockServiceBusiness.base.tagEntity.barCodeEntity.base1DBarCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.skynet.spms.datasource.annotation.ViewFormAnno;
/**
* 一维条码采用 Code 128
* 采用定长方式设计
*
... |
446843c9-a067-41ab-b739-bcc52529ecbb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-01-12T09:09:35", "repo_name": "wearedevx/keystone", "sub_path": "/cli/doc/ks_file_add.md", "file_name": "ks_file_add.md", "file_ext": "md", "file_size_in_byte": 1110, "line_count": 53, "lang": "en", "doc_type... | https://github.com/wearedevx/keystone | 285 | FILENAME: ks_file_add.md | 0.29584 | ## ks file add
Adds a file to secrets
### Synopsis
Adds a file to secrets.
A secret file is a file which have content that can change
across environments, such as configuration files, credentials,
certificates and so on.
When adding a file, you will be asked for a version of its content
for all known environments ... |
cd36af3f-3f24-4cf0-9881-b9914812536c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-23 15:07:59", "repo_name": "carbage/RuneMate-API", "sub_path": "/darkapi/script/task/impl/interact/InteractWidgetTask.java", "file_name": "InteractWidgetTask.java", "file_ext": "java", "file_size_in_byte": 115... | https://github.com/carbage/RuneMate-API | 244 | FILENAME: InteractWidgetTask.java | 0.283781 | package darkapi.script.task.impl.interact;
import com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceComponent;
import com.runemate.game.api.hybrid.queries.InterfaceComponentQueryBuilder;
import com.runemate.game.api.hybrid.region.Players;
import com.runemate.game.api.hybrid.util.Filter;
import darkapi.script.... |
5d462b5d-f446-4cff-bc99-687ffeff4839 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-04 02:45:55", "repo_name": "kairbekov/FourApp", "sub_path": "/app/src/main/java/kz/strixit/abuka/fourapp/MainPageFragment.java", "file_name": "MainPageFragment.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/kairbekov/FourApp | 212 | FILENAME: MainPageFragment.java | 0.268941 | package kz.strixit.abuka.fourapp;
import android.os.Bundle;
import android.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.strixit.abuka.fourapp.R;
/**
* A simple {@link Fragment} subclass.
*/
public class MainP... |
e93b14c0-8745-4c74-bc4a-4acbb09c4e7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-13 14:56:09", "repo_name": "MDI2018/MDI2018", "sub_path": "/Game-master/src/game/entidades/Proyectil.java", "file_name": "Proyectil.java", "file_ext": "java", "file_size_in_byte": 1135, "line_count": 47, "lang... | https://github.com/MDI2018/MDI2018 | 280 | FILENAME: Proyectil.java | 0.286968 | /*
* 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 game.entidades;
import game.estados.EstadoJuego;
import game.renderizado.texturas.Textura;
import java.awt.Color;
im... |
9dc5b043-89db-4c36-82a3-3f4ae7aacecd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-04 13:28:20", "repo_name": "NordicSemiconductor/Android-BLE-Library", "sub_path": "/ble/src/main/java/no/nordicsemi/android/ble/LegacyBleManager.java", "file_name": "LegacyBleManager.java", "file_ext": "java",... | https://github.com/NordicSemiconductor/Android-BLE-Library | 266 | FILENAME: LegacyBleManager.java | 0.290981 | package no.nordicsemi.android.ble;
import android.content.Context;
import android.os.Handler;
import androidx.annotation.NonNull;
/**
* When migrating from BLE Manager 2.1.1 to 2.2.0, the BleManager is no longer a template class.
* Callbacks need to be passed in other way, e.g. using LiveData, RxJava or with a cal... |
0991e6fc-fd7b-4b77-a207-dec76abf755f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-25 16:50:02", "repo_name": "AnjarMaulana/SistemCuti_UASJava", "sub_path": "/src/main/java/org/javajarvis/SistemCuti_UASJava/controller/PengajuanCutiController.java", "file_name": "PengajuanCutiController.java"... | https://github.com/AnjarMaulana/SistemCuti_UASJava | 242 | FILENAME: PengajuanCutiController.java | 0.255344 | package org.javajarvis.SistemCuti_UASJava.controller;
import org.javajarvis.SistemCuti_UASJava.model.PengajuanCuti;
import org.javajarvis.SistemCuti_UASJava.model.StatusCuti;
import org.javajarvis.SistemCuti_UASJava.repository.PengajuanCutiRepository;
import org.springframework.beans.factory.annotation.Autowired;
impo... |
a469645c-c47c-4279-a3bc-cade769461b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-20 04:01:04", "repo_name": "gong-h/xiaolan", "sub_path": "/src/main/java/com/xiaolan/common/config/mybatis/DataSourceConfig.java", "file_name": "DataSourceConfig.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/gong-h/xiaolan | 184 | FILENAME: DataSourceConfig.java | 0.217338 | package com.xiaolan.common.config.mybatis;
import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
import... |
0ec55f55-04fe-4572-8d51-8d40918eabfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-17 00:34:12", "repo_name": "mantovan234/DemoWebShop---Selenium", "sub_path": "/ArgenTesting/src/test/java/tests/ControladorNegativo.java", "file_name": "ControladorNegativo.java", "file_ext": "java", "file_siz... | https://github.com/mantovan234/DemoWebShop---Selenium | 243 | FILENAME: ControladorNegativo.java | 0.259826 | package tests;
import org.fluentlenium.adapter.testng.FluentTestNg;
import org.fluentlenium.core.annotation.Page;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.testng.annotations.Test;
import pages.HomePage;
public cl... |
1c4e1751-4cee-41cf-bfaf-fe0fd8c4d21d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-11T00:20:58", "repo_name": "mlward639/Corrected-Unit-One-Homework", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1060, "line_count": 26, "lang": "en", "doc_typ... | https://github.com/mlward639/Corrected-Unit-One-Homework | 255 | FILENAME: README.md | 0.245085 | # Corrected-Unit-One-Homework
## Description:
A marketing agency has hired us to refactor their existing codebase in order to follow accessibility standards which will then optimize their site in search engines.
## Refactoring changes made in HTML and CSS files:
* Non-semantic elements changed to semantic elemen... |
e5f296a2-e2b6-46e7-82a2-c37470142b73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-11-20T18:04:07", "repo_name": "ahzia/school-library", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1119, "line_count": 44, "lang": "en", "doc_type": "text", "blob... | https://github.com/ahzia/school-library | 292 | FILENAME: README.md | 0.271252 | # school-library
Imagine that you are the librarian of OOP University, and you need a tool to record what books are in the library and who borrows them. The app that I created will allow you to:
- Add new students or teachers.
- Add new books.
- Save records of who borrowed a given book and when.
## Built With
- R... |
151b57c0-423e-435c-bbfa-ad13758d46fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-24 20:37:02", "repo_name": "joelcancela/S9_SOA_Uberoo", "sub_path": "/coursierService/src/main/java/fr/unice/polytech/si5/soa/a/entities/Restaurant.java", "file_name": "Restaurant.java", "file_ext": "java", "f... | https://github.com/joelcancela/S9_SOA_Uberoo | 242 | FILENAME: Restaurant.java | 0.286968 | package fr.unice.polytech.si5.soa.a.entities;
import fr.unice.polytech.si5.soa.a.communication.DTO.RestaurantDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.persistence.*;
import java.io.Serializable;
import static javax.persistence.GenerationType.IDENTITY;
@Entity
@Da... |
2c08fee6-073f-4f7c-a407-1927d9c0eb6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-29T19:54:46", "repo_name": "mjaeger1/udacity-project-arcade-game", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1159, "line_count": 23, "lang": "en", "doc_type... | https://github.com/mjaeger1/udacity-project-arcade-game | 265 | FILENAME: README.md | 0.27048 | # Udacity: Memory Game Project
===============================
Recreation of a simplified version of the Arcade game 'Frogger' as part of Udacity's Front-End Web Developer Nanodegree.
## Project Instructions by Udacity
"Students should use this [rubric](https://review.udacity.com/#!/projects/2696458597/rubric) for s... |
71b1de24-93e7-42e0-81dc-594a851c721f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-22T10:19:13", "repo_name": "jacknlliu/wordpress-docker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1184, "line_count": 34, "lang": "en", "doc_type": "text",... | https://github.com/jacknlliu/wordpress-docker | 321 | FILENAME: README.md | 0.290981 | # Wordpress docker image
After start docker compose from `wordpress-stack` using [docker-compose](https://github.com/docker/compose/releases), we should modify the wordpress settings or then commit to new docker image.
This project followed [Quickstart: Compose and WordPress](https://docs.docker.com/compose/wordpress/... |
d2f3dffb-1316-478b-921f-c337ae993aad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 03:49:31", "repo_name": "Leaking/Dagger2Note", "sub_path": "/app/src/main/java/com/quinn/dagger2note/lesson2/chapter3/SingletonEntryActivity.java", "file_name": "SingletonEntryActivity.java", "file_ext": "j... | https://github.com/Leaking/Dagger2Note | 215 | FILENAME: SingletonEntryActivity.java | 0.281406 | package com.quinn.dagger2note.lesson2.chapter3;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import com.quinn.dagger2note.MyApplication;
import com.quinn.dagger2note.R;
import com.quinn.dagger2note.lesson1.chapter1.Folder;
import javax.inject.Inject;
public cla... |
b959afaf-9d64-4a39-b6ea-eff902820017 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-02-01T15:55:25", "repo_name": "beverlynelson/teaching-vim", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1053, "line_count": 22, "lang": "en", "doc_type": "text",... | https://github.com/beverlynelson/teaching-vim | 248 | FILENAME: README.md | 0.224055 | Teaching Vim
============
Resources and samples for teaching Vim
* Elementary
* Middle School
* High School and beyond
This is my favorite quote from [Thoughtbot's post](http://robots.thoughtbot.com/post/13164810557/the-vim-learning-curve-is-a-myth) on the vim learning curve myth & exactly why I chose to introduce ... |
441c3781-0a25-4ea2-8349-cef291db4f61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-02 13:13:38", "repo_name": "Pucilowski/polexchange", "sub_path": "/main/src/main/java/com/pucilowski/exchange/main/Application.java", "file_name": "Application.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Pucilowski/polexchange | 194 | FILENAME: Application.java | 0.255344 | package com.pucilowski.exchange.main;
import com.pucilowski.exchange.main.persistence.repository.CurrencyRepository;
import com.pucilowski.exchange.main.persistence.repository.MarketRepository;
import com.pucilowski.exchange.main.util.PopulateSchema;
import org.springframework.boot.SpringApplication;
import org.sprin... |
da78c492-1ef0-4271-8700-0434914543d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-11 08:09:16", "repo_name": "sol7442/wession", "sub_path": "/wow_server/src/main/java/com/wow/server/nio/NioDispatcher.java", "file_name": "NioDispatcher.java", "file_ext": "java", "file_size_in_byte": 1092, "l... | https://github.com/sol7442/wession | 239 | FILENAME: NioDispatcher.java | 0.272799 | package com.wow.server.nio;
import java.io.IOException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.Iterator;
import java.util.Set;
import com.wow.server.IDispatcher;
public class NioDispatcher implements IDispatcher {
... |
7e8a485a-2b39-4844-be49-cd9ed7579444 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-04-23T16:05:02", "repo_name": "firehana/list", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1105, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/firehana/list | 476 | FILENAME: README.md | 0.213377 |
# Fragen
https://answers.sap.com/questions/485740/xs-advanced-schema-privilge-trigger-in-sps03-remov.html
https://answers.sap.com/questions/489803/sap-hana-sap-hana-xsa-need-help-for-creating-hdbco.html
https://answers.sap.com/questions/489045/xs-advanced-unable-to-get-local-issuer-certificate.html
https://stackoverf... |
8b49e7b8-eb43-45b7-90ff-77beaa591e3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-09 07:13:39", "repo_name": "ianzhengnan/mybatistest", "sub_path": "/src/main/java/com/ian/test/TestMybatis.java", "file_name": "TestMybatis.java", "file_ext": "java", "file_size_in_byte": 1136, "line_count": 3... | https://github.com/ianzhengnan/mybatistest | 224 | FILENAME: TestMybatis.java | 0.245085 | package com.ian.test;
import com.ian.mapper.RoleMapper;
import com.ian.mybatis.po.Role;
import org.apache.ibatis.session.SqlSession;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class TestMybatis {
public static void main(String[] args) {
SqlSession sqlSession = null;
... |
6e12427b-1b8b-4a05-8ca1-51a36b3b7523 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-02 20:14:00", "repo_name": "florian-stefan/reactor-examples", "sub_path": "/src/main/java/de/mobile/reactor/concurrency/Example.java", "file_name": "Example.java", "file_ext": "java", "file_size_in_byte": 1074... | https://github.com/florian-stefan/reactor-examples | 233 | FILENAME: Example.java | 0.282988 | package de.mobile.reactor.concurrency;
import de.mobile.reactor.something.Somethings;
import de.mobile.reactor.something.SomethingsImpl;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Scheduler;
import reactor.core.scheduler.Schedulers;
import java.util.List;
imp... |
bb4e8c61-6071-458d-8eaf-1d82d3a02b94 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-12 03:17:19", "repo_name": "zhouyou12138/ToastandNotification2", "sub_path": "/app/src/main/java/com/example/joker/toastandnotification/MainActivityToast.java", "file_name": "MainActivityToast.java", "file_ext... | https://github.com/zhouyou12138/ToastandNotification2 | 256 | FILENAME: MainActivityToast.java | 0.243642 | package com.example.joker.toastandnotification;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import butterknife.BindView;
import butterknife.ButterKnife;
impor... |
09602fec-3750-4c7c-80e2-30ab7d299c83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-19 19:42:22", "repo_name": "tingley/globalsight", "sub_path": "/main6/envoy/src/java/com/globalsight/everest/webapp/pagehandler/administration/customer/SourceFile.java", "file_name": "SourceFile.java", "file_e... | https://github.com/tingley/globalsight | 270 | FILENAME: SourceFile.java | 0.281406 | /**
* Copyright 2009 Welocalize, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
9d639b06-ca66-4ea4-b7fb-42ba08a31750 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 05:55:38", "repo_name": "hazelcast/hazelcast-code-samples", "sub_path": "/org-website-samples/src/main/java/member/TopicSample.java", "file_name": "TopicSample.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/hazelcast/hazelcast-code-samples | 207 | FILENAME: TopicSample.java | 0.279828 | package member;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.topic.ITopic;
import com.hazelcast.topic.Message;
import com.hazelcast.topic.MessageListener;
public class TopicSample implements MessageListener<String> {
@Override
public void onMessage(Me... |
59fa156b-83e3-445e-bc49-5d1422bd3803 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-05 12:49:43", "repo_name": "samply/mdr-tools-model", "sub_path": "/src/main/java/de/samply/MDRtools/model/Group.java", "file_name": "Group.java", "file_ext": "java", "file_size_in_byte": 1100, "line_count": 45... | https://github.com/samply/mdr-tools-model | 209 | FILENAME: Group.java | 0.256832 | package de.samply.MDRtools.model;
import java.util.ArrayList;
import java.util.List;
public class Group extends ElementWithSlots{
private static final String type = "group";
private List<ElementWithSlots> members;
public Group(){
this.members = new ArrayList<>();
}
@Override
publi... |
cb9ba089-f4ab-4bdc-9c89-d9811e95b083 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-28T03:04:47", "repo_name": "andres-tpaga/tpaga_test_andres", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1131, "line_count": 40, "lang": "en", "doc_type": "te... | https://github.com/andres-tpaga/tpaga_test_andres | 317 | FILENAME: README.md | 0.26588 | # README
This project is dockerized so you will need to install the following dependencies
* System dependencies
> docker-compose 1.25.5
> Docker 19.03.8
* Ruby version
> Ruby 2.4.10
* Configuration
After installing docker and docker-compose, you will need to run the following command:
```
docker-compose bu... |
83ba5d8b-01a9-4415-b68f-4b3e47f7809c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-05 17:00:54", "repo_name": "HARSH-VYAS/DATASTRUCTURES-Practice", "sub_path": "/src/com/codejam/LongestRepeatingString.java", "file_name": "LongestRepeatingString.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/HARSH-VYAS/DATASTRUCTURES-Practice | 208 | FILENAME: LongestRepeatingString.java | 0.23231 | package com.codejam;
import java.util.ArrayList;
import java.util.HashMap;
/**
* Created by Harsh P Vyas on 10/11/2016.
*/
public class LongestRepeatingString {
public int lengthOfLongestSubstring(String s) {
char a [] = s.toCharArray();
char repeat=' ';
int count=0;
int j=0;
... |
24cfe0a4-6871-4e49-bb1c-ae9ee2a86876 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 13:52:52", "repo_name": "gyanesh15/softassertion1", "sub_path": "/Automation learning/src/test/java/failuretest.java", "file_name": "failuretest.java", "file_ext": "java", "file_size_in_byte": 1110, "line_c... | https://github.com/gyanesh15/softassertion1 | 229 | FILENAME: failuretest.java | 0.258326 | import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.ITestResult;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
public class failuretest {
W... |
473d5424-4b53-4af6-8eee-2bfbb654291e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-13 03:50:28", "repo_name": "KTLee91/Tapxt", "sub_path": "/Tapxt/app/src/main/java/com/springsthursday/tapxt/util/NetWorkBrodcastReceiver.java", "file_name": "NetWorkBrodcastReceiver.java", "file_ext": "java", ... | https://github.com/KTLee91/Tapxt | 204 | FILENAME: NetWorkBrodcastReceiver.java | 0.264358 | package com.springsthursday.tapxt.util;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.Network;
import android.net.NetworkInfo;
public class NetWorkBrodcastReceiver {
private static NetWorkBrodcas... |
6b3ed7d2-fe51-4c92-88f1-d7c7fd521cdb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-18 20:24:34", "repo_name": "gabreel05/MarketAPI", "sub_path": "/src/main/java/br/com/gabriel/config/security/AuthenticationService.java", "file_name": "AuthenticationService.java", "file_ext": "java", "file_si... | https://github.com/gabreel05/MarketAPI | 161 | FILENAME: AuthenticationService.java | 0.212069 | package br.com.gabriel.config.security;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdeta... |
d04c8eca-2a89-4ab0-adf8-f0ba1208df95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-22 04:27:59", "repo_name": "RodrigoVazOliveira/microservices-spring-cloud", "sub_path": "/hr-oauth/src/main/java/br/com/rvz/hroauth/controllers/UserController.java", "file_name": "UserController.java", "file_e... | https://github.com/RodrigoVazOliveira/microservices-spring-cloud | 205 | FILENAME: UserController.java | 0.239349 | package br.com.rvz.hroauth.controllers;
import br.com.rvz.hroauth.entities.User;
import br.com.rvz.hroauth.services.UserService;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.server.ResponseStatusException;
@RestController
@RequestMapping(... |
a0cdfdc6-b0ec-44ba-b512-00559897d7fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 02:27:57", "repo_name": "wang-shun/transaction", "sub_path": "/foreground/common/src/main/java/com/sinochem/crude/trade/common/enums/InspectionFeeSharingType.java", "file_name": "InspectionFeeSharingType.ja... | https://github.com/wang-shun/transaction | 268 | FILENAME: InspectionFeeSharingType.java | 0.280616 | package com.sinochem.crude.trade.common.enums;
/**
* 商检费分摊类型
* @author Yichen Zhao
* date: 20180129
*/
public enum InspectionFeeSharingType {
BUYER_TO_PAY_ALL(1, "seller’s account"),
SELLER_TO_PAY_ALL(2, "buyer’s account"),
EACH_HALF(3, "50/50 between seller&buyer"),
ALL_STAKEHOLDERS_SHARE(4, "sha... |
f10ef45c-fe50-424a-b3b0-6041f20b81b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-10-16T02:24:48", "repo_name": "Tusar0003/BookListApp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1136, "line_count": 31, "lang": "en", "doc_type": "text", "blo... | https://github.com/Tusar0003/BookListApp | 271 | FILENAME: README.md | 0.29584 | # BookListApp
BookListApp is an online application where user can search for different types of book. Then he/she can select an book which will open in the browser. User can read the book there.
## Home Screen
This is the home screen of the application. If there is no internet connection, then it will display that "N... |
1d2c9801-57be-4921-8cbb-120e2a583377 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-10-31T15:47:57", "repo_name": "yauritux/nodejs-devbox", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1220, "line_count": 26, "lang": "en", "doc_type": "text", "bl... | https://github.com/yauritux/nodejs-devbox | 300 | FILENAME: README.md | 0.255344 | # What is **nodejs-devbox** ?
A small Linux operating system ( **alpine** ) equipped with [NodeJS](https://nodejs.org/) and some goodies such as [Mocha](https://mochajs.org/) as testing framework, [JSLint](http://www.jslint.com/) and [ESLint](http://eslint.org/) as JavaScript (ECMA) code quality checker, and [TSLint](h... |
2a8be566-1de3-4030-9187-46c3f382607c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-02 08:22:39", "repo_name": "mcnAlbertlee/LibrarySample", "sub_path": "/app/src/main/java/com/example/albert/librarytest/rx/RxFreeTest.java", "file_name": "RxFreeTest.java", "file_ext": "java", "file_size_in_by... | https://github.com/mcnAlbertlee/LibrarySample | 215 | FILENAME: RxFreeTest.java | 0.282196 | package com.example.albert.librarytest.rx;
import android.arch.lifecycle.MutableLiveData;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import io.reactivex.Completable;
import io.reactivex.Maybe;
import io.reactivex.schedulers.Schedulers;
public class RxFreeTest {
private final static St... |
7d3dd35f-1506-450e-ae97-a9a4280348c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-24 07:17:02", "repo_name": "zy117/wcz", "sub_path": "/src/main/java/com/myway/crawler/mvc/AliOssConfig.java", "file_name": "AliOssConfig.java", "file_ext": "java", "file_size_in_byte": 1227, "line_count": 36, ... | https://github.com/zy117/wcz | 253 | FILENAME: AliOssConfig.java | 0.233706 | package com.myway.crawler.mvc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;
import com.myway.usf.common.oss.OssConfig;
/**
*
... |
b247d610-0930-4c86-b2e1-c26f105ab2e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-27 15:58:51", "repo_name": "StKotok/BibleQuote-for-Android", "sub_path": "/bible/src/main/java/com/BibleQuote/tts/exceptions/LanguageNotSupportedException.java", "file_name": "LanguageNotSupportedException.jav... | https://github.com/StKotok/BibleQuote-for-Android | 246 | FILENAME: LanguageNotSupportedException.java | 0.250913 | /*
* Copyright (C) 2011 Scripture Software (http://scripturesoftware.org/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... |
de366e63-96f4-474f-899f-d0f79e5d58ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-10 14:37:27", "repo_name": "513054495/alaska", "sub_path": "/alaska-core/src/main/java/com/code90/studio/alaska/domain/BaseDomain.java", "file_name": "BaseDomain.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/513054495/alaska | 287 | FILENAME: BaseDomain.java | 0.243642 | package com.code90.studio.alaska.domain;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
/**
* 基础实体
* @author Ray
* @... |
94ee1d70-e23d-4c5d-bc97-2f363bb4dd7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-21 03:13:46", "repo_name": "oxsoft/ProgressBar", "sub_path": "/app/src/main/java/com/sample/progressbar/SecondActivity.java", "file_name": "SecondActivity.java", "file_ext": "java", "file_size_in_byte": 1176, ... | https://github.com/oxsoft/ProgressBar | 241 | FILENAME: SecondActivity.java | 0.271252 | package com.sample.progressbar;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;
public class SecondActivity extends AppCompatActivity {
private static final String TAG = "SecondActivity";
@Override
protected void onCreate(Bu... |
10969762-b330-42e9-a957-dd2811618897 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-10T14:33:10", "repo_name": "Haivex/anonymous-bot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1013, "line_count": 23, "lang": "en", "doc_type": "text", "blob... | https://github.com/Haivex/anonymous-bot | 233 | FILENAME: README.md | 0.23092 | # Anonymous Bot
Discord Bot for sending Anonymous Messages
## Purpose of the project
Purpose of the project was to learn Discord API, Discord.js library and to understand operation of bots, sockets.
## Features
- User can write Direct Message to Bot and then bot send this message to given channel
- Administrator can ... |
de7bdaee-e15b-4df7-9da5-b4dc5c9f46b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-18 06:03:55", "repo_name": "yucailong/elk-demo", "sub_path": "/src/main/java/com/yucl/utils/RequestIdUtil.java", "file_name": "RequestIdUtil.java", "file_ext": "java", "file_size_in_byte": 1149, "line_count": ... | https://github.com/yucailong/elk-demo | 217 | FILENAME: RequestIdUtil.java | 0.250913 | package com.yucl.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.http.HttpServletRequest;
import java.util.UUID;
/**
* @Author yucl
* @date 2018/9/13
*/
public class RequestIdUtil {
public static final String REQUEST_ID_KEY = "requestId";
public stati... |
158f1338-b612-4713-9f11-08f213164951 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-28 15:04:32", "repo_name": "jenkinsci/appcenter-plugin", "sub_path": "/src/main/java/io/jenkins/plugins/appcenter/model/appcenter/ReleaseUploadBeginRequest.java", "file_name": "ReleaseUploadBeginRequest.java",... | https://github.com/jenkinsci/appcenter-plugin | 233 | FILENAME: ReleaseUploadBeginRequest.java | 0.252384 | package io.jenkins.plugins.appcenter.model.appcenter;
import javax.annotation.Nullable;
import java.util.Objects;
public final class ReleaseUploadBeginRequest {
@Nullable
public final String build_version;
@Nullable
public final String build_number;
public ReleaseUploadBeginRequest(@Nullable Str... |
6fa954f2-c44c-4499-bcbb-277bd0d8154e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-08 17:14:45", "repo_name": "DavidThornley/SpringBootServer-LabTrackerApp", "sub_path": "/src/main/java/com/zipportal/zipportal/Controller/UserController.java", "file_name": "UserController.java", "file_ext": "... | https://github.com/DavidThornley/SpringBootServer-LabTrackerApp | 194 | FILENAME: UserController.java | 0.247987 | package com.zipportal.zipportal.Controller;
import com.zipportal.zipportal.Model.User;
import com.zipportal.zipportal.Repository.RepoRepository;
import com.zipportal.zipportal.Repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import or... |
e6f7dfef-c61a-4de4-bcfe-eacaf68f5fd3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-19 07:36:42", "repo_name": "dolynhan15/Java-spring-boot", "sub_path": "/Project-new-spring/boost-server-master/boost-server-api/src/main/java/com/qooco/boost/models/dto/attribute/AttributeShortDTO.java", "file... | https://github.com/dolynhan15/Java-spring-boot | 241 | FILENAME: AttributeShortDTO.java | 0.258326 | package com.qooco.boost.models.dto.attribute;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.qooco.boost.data.oracle.entities.UserAttribute;
import lombok.*;
import lombok.experimental.FieldNameConstants;
import java.util.Objects;
@Setter
@Getter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Json... |
b6e82044-a113-46e3-a005-6b5ee63d3b9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-14 06:08:56", "repo_name": "willpyshan13/CarStore2.0", "sub_path": "/car-service-api/account/account-web/src/main/java/com/car/account/web/model/store/StoreServiceRates.java", "file_name": "StoreServiceRates.j... | https://github.com/willpyshan13/CarStore2.0 | 282 | FILENAME: StoreServiceRates.java | 0.249447 | package com.car.account.web.model.store;
import com.car.common.datasource.model.BaseModelInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;
/**
* 店铺-平台服务-收费比率-补贴比率实体类
* @since... |
57641957-596d-4ea6-bf7c-4ecd0a04308d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-17 14:52:51", "repo_name": "BuntsFidleyBits/Lostshard-ARCHIVE", "sub_path": "/2.1 (2017-2018)/lostshard/src/main/java/com/lostshard/lostshard/objects/Recorders/ConnectionRecord.java", "file_name": "ConnectionR... | https://github.com/BuntsFidleyBits/Lostshard-ARCHIVE | 296 | FILENAME: ConnectionRecord.java | 0.247987 | /**
*
*/
package com.lostshard.lostshard.Objects.Recorders;
import java.util.Date;
import java.util.UUID;
import javax.persistence.Entity;
import org.hibernate.annotations.Type;
/**
* @author Jacob
*
*/
@Entity
public class ConnectionRecord extends Record {
@Type(type = "uuid-char")
private UUID player;
p... |
f2b62048-1790-46cc-ad8e-6e8a48addd7c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 23:55:15", "repo_name": "JosephCottingham/MCCCIS112-Lab1-Stacks", "sub_path": "/Lab 2/QueueTicketProcessor.java", "file_name": "QueueTicketProcessor.java", "file_ext": "java", "file_size_in_byte": 1184, "li... | https://github.com/JosephCottingham/MCCCIS112-Lab1-Stacks | 250 | FILENAME: QueueTicketProcessor.java | 0.282988 | import ch04.queues.*;
import java.util.Scanner;
import javax.swing.JOptionPane;
public class QueueTicketProcessor
{
public static void main (String [] args)
{
//TicketQueue tickets = new TicketQueue(100);
//Thread test = new Thread(tickets);
//test.start();
System.out.println("Thank you... |
52067eae-1b78-4be0-86ad-7a52fbadba15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-01 23:02:38", "repo_name": "Masivuye/SalonDomain", "sub_path": "/src/main/java/com/salon/domain/staff/Cleaners.java", "file_name": "Cleaners.java", "file_ext": "java", "file_size_in_byte": 1098, "line_count": ... | https://github.com/Masivuye/SalonDomain | 243 | FILENAME: Cleaners.java | 0.258326 | package com.salon.domain.staff;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Set;
@Entity
public class Cleaners {
private String name;
@Id
private int clnNum;
private Set<Staff> staff;
private Cleaners() {
}
private Cleaners(Builder builder) {
... |
fb6a5f15-29b8-4688-b4a6-93011cbee860 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-29 18:12:11", "repo_name": "Reiningman/look-at-this", "sub_path": "/MyStringIter.java", "file_name": "MyStringIter.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 45, "lang": "en", "doc_typ... | https://github.com/Reiningman/look-at-this | 227 | FILENAME: MyStringIter.java | 0.23793 | import java.util.LinkedHashSet;
public class MyStringIter implements StringIterator {
private Participations1 list;
private LinkedHashSet hashSet;
private MyListNodeBetter current = null;
// returns the next 'Participation' object in the container that
// 'this' iterates over.
public MyString... |
995c767f-2bf3-4555-baa7-504b26ffb032 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-14 17:04:16", "repo_name": "daviddumon/feelhub", "sub_path": "/feelhub-patch/src/test/java/com/feelhub/patch/PatchTest.java", "file_name": "PatchTest.java", "file_ext": "java", "file_size_in_byte": 1160, "line... | https://github.com/daviddumon/feelhub | 227 | FILENAME: PatchTest.java | 0.279042 | package com.feelhub.patch;
import com.feelhub.repositories.*;
import org.junit.*;
import org.mongolink.test.FongoDbFactory;
import java.sql.SQLException;
import static org.fest.assertions.Assertions.*;
public class PatchTest {
@Before
public void before() throws SQLException {
patch = new FakePatch... |
0c3eda87-62b3-4c08-8229-781a0158a6c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-11 01:23:00", "repo_name": "indraprasta/Sistem-Perpus", "sub_path": "/src/View/xAnggota.java", "file_name": "xAnggota.java", "file_ext": "java", "file_size_in_byte": 1183, "line_count": 64, "lang": "en", "doc_... | https://github.com/indraprasta/Sistem-Perpus | 273 | FILENAME: xAnggota.java | 0.247987 | package View;
import com.jfoenix.controls.JFXButton;
import com.jfoenix.controls.JFXTextField;
import com.jfoenix.controls.JFXTreeTableView;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.layout.AnchorPane;
import java.io.IOExce... |
a73dcf35-60a6-4510-a884-994890d45007 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-06T14:38:10", "repo_name": "LeCiseau/hiring", "sub_path": "/InternRequirement.md", "file_name": "InternRequirement.md", "file_ext": "md", "file_size_in_byte": 1074, "line_count": 37, "lang": "en", "doc_typ... | https://github.com/LeCiseau/hiring | 257 | FILENAME: InternRequirement.md | 0.272025 | # Haircurt Mash
## Brief
You have to create a web interface that compare two haircut side by side and let user decide which one is the coolest (same as [FaceMash
](https://en.wikipedia.org/wiki/History_of_Facebook#FaceMash))
#### Two web page:
- One for the comparison
- One for the ranking
The ranking is based o... |
f9d345b1-eb69-4ccc-b9f6-697b5673a801 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-24 15:49:24", "repo_name": "tstewart/WhatsForDinner", "sub_path": "/app/src/main/java/io/github/tstewart/whatsfordinner/data/Serialize.java", "file_name": "Serialize.java", "file_ext": "java", "file_size_in_by... | https://github.com/tstewart/WhatsForDinner | 205 | FILENAME: Serialize.java | 0.26971 | package io.github.tstewart.whatsfordinner.data;
import android.content.Context;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import io.github.tstewart.whatsfordinner.R;
import io.github.tstewart.whatsfordinner.user.UserData;
/**
* Serialize
* Serializes user data... |
71dbe815-f7aa-4bcb-996f-468a2c493e3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-12 14:54:29", "repo_name": "prashantmaurice/ShadowFaxHackAndroid", "sub_path": "/app/src/main/java/com/prashantmaurice/shadowfaxhackandroid/GCM/RegistrationService.java", "file_name": "RegistrationService.java... | https://github.com/prashantmaurice/ShadowFaxHackAndroid | 241 | FILENAME: RegistrationService.java | 0.264358 | package com.prashantmaurice.shadowfaxhackandroid.GCM;
import android.app.IntentService;
import android.content.Intent;
import android.util.Log;
import com.google.android.gms.gcm.GoogleCloudMessaging;
import com.google.android.gms.iid.InstanceID;
import com.prashantmaurice.shadowfaxhackandroid.R;
import java.io.IOExc... |
750a1f5b-f2df-4caf-9fb7-86fbf18d2a5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-14 01:31:33", "repo_name": "meyoseph/eshop-sa", "sub_path": "/product-service/src/main/java/sa/product/service/productservice/service/ProductServiceImp.java", "file_name": "ProductServiceImp.java", "file_ext":... | https://github.com/meyoseph/eshop-sa | 213 | FILENAME: ProductServiceImp.java | 0.282988 | package sa.product.service.productservice.service;
import com.eshopaccountservice.eshopaccountservice.entity.Product;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import com.eshopaccountservice.eshopaccountservice.repository.ProductRepository;
import java.util.List;
import java.uti... |
c4c843fe-b464-4460-84f2-18680bb04e2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-06 21:03:02", "repo_name": "Alenichel/ing-sw-2018-Maggioni-Martina-Nichelini", "sub_path": "/src/main/java/it/polimi/se2018/message/ConnectionMessage.java", "file_name": "ConnectionMessage.java", "file_ext": "... | https://github.com/Alenichel/ing-sw-2018-Maggioni-Martina-Nichelini | 245 | FILENAME: ConnectionMessage.java | 0.27513 | package it.polimi.se2018.message;
import it.polimi.se2018.model.Game;
import it.polimi.se2018.model.Player;
/**
* Message class for connecting/disconneting action. It also handles reconnection after a game ends.
*/
public class ConnectionMessage extends Message{
private Player requester;
private boolean is... |
bf2fab45-9858-4fd9-81f3-83c344cb9cfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-27 23:10:00", "repo_name": "arkadiuszSzast/microservices-rpg", "sub_path": "/zuul/src/main/java/com/microservices/rpg/zuul/config/LoginListener.java", "file_name": "LoginListener.java", "file_ext": "java", "fi... | https://github.com/arkadiuszSzast/microservices-rpg | 187 | FILENAME: LoginListener.java | 0.220007 | package com.microservices.rpg.zuul.config;
import com.microservices.rpg.zuul.account.AccountClient;
import org.springframework.context.ApplicationListener;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.event.InteractiveAuthenticationSuccessEvent;
import... |
96e1eeff-3e31-486f-a83d-a6278e91c234 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-06 08:25:47", "repo_name": "xxxxssss12/nio-learn", "sub_path": "/src/main/java/xs/netty/project/nio/client/NioEchoClient.java", "file_name": "NioEchoClient.java", "file_ext": "java", "file_size_in_byte": 1141,... | https://github.com/xxxxssss12/nio-learn | 210 | FILENAME: NioEchoClient.java | 0.267408 | package xs.netty.project.nio.client;
import xs.netty.project.util.HostInfo;
import xs.netty.project.util.InputUtil;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
public class NioEchoClient {
public static void main(String[] arg... |
1de81fa1-5734-4938-88da-a6d9d9c182f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 02:06:51", "repo_name": "JonRudnick/IowaVotesApp", "sub_path": "/app/src/main/java/org/rudnick/iowavotes/ViewResultsFragment.java", "file_name": "ViewResultsFragment.java", "file_ext": "java", "file_size_in... | https://github.com/JonRudnick/IowaVotesApp | 190 | FILENAME: ViewResultsFragment.java | 0.206894 | package org.rudnick.iowavotes;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;
/**
* A simple {@link Fragment} subclass.
*/
public class... |
2b700b2d-83bb-4c47-92e1-1889a2998a43 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-10 14:14:21", "repo_name": "gunduz-nurullayev/ecommerce", "sub_path": "/src/main/java/az/ibar/ecommerce/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_size_in_by... | https://github.com/gunduz-nurullayev/ecommerce | 212 | FILENAME: UserController.java | 0.229535 | package az.ibar.ecommerce.controller;
import az.ibar.ecommerce.model.Customer;
import az.ibar.ecommerce.model.User;
import az.ibar.ecommerce.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.we... |
02a87c38-7d8f-4f42-8c68-3098649b1a79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-05T16:55:25", "repo_name": "thedanitor/animated_navigation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1095, "line_count": 15, "lang": "en", "doc_type": "te... | https://github.com/thedanitor/animated_navigation | 228 | FILENAME: README.md | 0.242206 | # Animated Navigation
https://thedanitor.github.io/animated_navigation/
This project is from the Day 14 code along video from Udemy's 50 projects in 50 days series focused on web development. I have heavily commented the CSS and JavaScript to make notes to myself why certain choices are being made and what each line ... |
5887db40-64f1-43fb-88a1-6fb8d2a90865 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-09 08:01:36", "repo_name": "YTearth/upMQ", "sub_path": "/src/main/java/com/uphn/upMQ/util/TextUtils.java", "file_name": "TextUtils.java", "file_ext": "java", "file_size_in_byte": 1041, "line_count": 44, "lang"... | https://github.com/YTearth/upMQ | 259 | FILENAME: TextUtils.java | 0.289372 | package com.uphn.upMQ.util;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;
import java.util.Set;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
public class TextUtils {
public static String getDateTimeNow() {
SimpleDateFormat sdf = ne... |
2d5e6d15-558c-4a17-997c-94a2fc9212e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-10 16:44:04", "repo_name": "7Rocky/trivial-asr", "sub_path": "/src/main/java/asr/trivial/servlets/StatsServlet.java", "file_name": "StatsServlet.java", "file_ext": "java", "file_size_in_byte": 1016, "line_coun... | https://github.com/7Rocky/trivial-asr | 207 | FILENAME: StatsServlet.java | 0.262842 | package asr.trivial.servlets;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import asr.trivial.dao.UserDao;
import asr.trivial.domain.User;
public class StatsSer... |
8fa07fcf-2ae4-4f06-91de-56915479c333 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-06 19:14:39", "repo_name": "yuxinyang123/FStream", "sub_path": "/src/main/java/top/beliefyu/fstream/util/SerializableUtil.java", "file_name": "SerializableUtil.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/yuxinyang123/FStream | 266 | FILENAME: SerializableUtil.java | 0.267408 | package top.beliefyu.fstream.util;
import java.io.*;
/**
* SerializableUtil
*
* @author yuxinyang
* @version 1.0
* @date 2020-02-19 17:40
*/
public class SerializableUtil {
/**
* java对象序列化成字节数组
*
* @param object
* @return byte[]
*/
public static byte[] toBytes(Object object) {
... |
282f0d36-6896-47b1-9f3f-ef485d6d9455 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-15 13:54:01", "repo_name": "HDT-Tibi/explosiveButter", "sub_path": "/back-end/src/main/java/backend/restAPI/configuration/CORSFilter.java", "file_name": "CORSFilter.java", "file_ext": "java", "file_size_in_byt... | https://github.com/HDT-Tibi/explosiveButter | 240 | FILENAME: CORSFilter.java | 0.289372 | package backend.restAPI.configuration;
import java.io.IOException;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import or... |
e18de88d-fde8-4f8f-8106-e8671183709a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-23 01:14:56", "repo_name": "thiagoalvesfoz/agenda-de-contatos", "sub_path": "/agenda-backend/src/main/java/com/agenda/api/auth/UserAuth.java", "file_name": "UserAuth.java", "file_ext": "java", "file_size_in_by... | https://github.com/thiagoalvesfoz/agenda-de-contatos | 256 | FILENAME: UserAuth.java | 0.2227 | package com.agenda.api.auth;
import java.util.Collection;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import com.agenda.api.users.domain.User;
public class UserAuth implements UserDetails {
private static final long serialVersionUID =... |
04ef755e-8dc8-4ce4-bd3d-b11de6742e0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-24 09:39:58", "repo_name": "zxhr2793/busbook", "sub_path": "/src/com/ucas/busbook/widget/DeviceInfo.java", "file_name": "DeviceInfo.java", "file_ext": "java", "file_size_in_byte": 1259, "line_count": 39, "lang... | https://github.com/zxhr2793/busbook | 234 | FILENAME: DeviceInfo.java | 0.273574 | package com.ucas.busbook.widget;
import com.ucas.busbook.R;
import android.app.Activity;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;
public class DeviceInfo {
@SuppressWarnings("deprecation")
public static void... |
69a5f149-7e72-4253-848d-20c789128c91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 02:41:04", "repo_name": "devx001/personal_java", "sub_path": "/CommandServer/src/co/com/commandpattern/command/BackupServer.java", "file_name": "BackupServer.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/devx001/personal_java | 233 | FILENAME: BackupServer.java | 0.294215 | package co.com.commandpattern.command;
import java.util.Random;
import co.com.commandpattern.utils.DataServer;
public class BackupServer implements Command {
private IServer server;
private DataServer dataServer;
public BackupServer(IServer server, DataServer dataServer) {
this.server = server;
this.dataSe... |
10cac673-4655-4c3a-bc9b-d08e8ba67b4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-24 23:49:15", "repo_name": "a-litsov/netcracker-ui-practice", "sub_path": "/src/main/java/com/edu_netcracker/nn/adlitsov/ui/homework1/InputVerifiers.java", "file_name": "InputVerifiers.java", "file_ext": "java... | https://github.com/a-litsov/netcracker-ui-practice | 212 | FILENAME: InputVerifiers.java | 0.287768 | package com.edu_netcracker.nn.adlitsov.ui.homework1;
import javax.swing.*;
public class InputVerifiers {
public static class BookNameVerifier extends InputVerifier {
@Override
public boolean verify(JComponent input) {
if (!(input instanceof JTextField)) {
return false;... |
4840a6a1-116e-4177-aeb6-7f758d94edc5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-11 00:39:48", "repo_name": "unfaiyted/xiv-gear-planner", "sub_path": "/src/main/java/com/xiv/gearplanner/models/JobType.java", "file_name": "JobType.java", "file_ext": "java", "file_size_in_byte": 997, "line_c... | https://github.com/unfaiyted/xiv-gear-planner | 197 | FILENAME: JobType.java | 0.220007 | package com.xiv.gearplanner.models;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
@Entity
@Table
public class JobType {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@NotBlank(message = "Must con... |
f56c7138-dc70-4132-a294-9fe6d4d46fd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-01 20:55:06", "repo_name": "mayhew3/media-mogul-scheduler", "sub_path": "/src/main/java/com/mayhew3/mediamogulscheduler/games/IGDBUpdateTestRunner.java", "file_name": "IGDBUpdateTestRunner.java", "file_ext": "... | https://github.com/mayhew3/media-mogul-scheduler | 233 | FILENAME: IGDBUpdateTestRunner.java | 0.240775 | package com.mayhew3.mediamogulscheduler.games;
import callback.OnSuccessCallback;
import org.jetbrains.annotations.NotNull;
import org.json.JSONArray;
import wrapper.IGDBWrapper;
import wrapper.Parameters;
import wrapper.Version;
public class IGDBUpdateTestRunner {
/*
Test utility to see if threads close in ... |
6f7f9099-d52d-480c-8127-afd78f642186 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-11 00:28:35", "repo_name": "SandjanaSoeknandan/LiquidMoney", "sub_path": "/src/sr/unasat/liquidMoney/graphs/entities/Order.java", "file_name": "Order.java", "file_ext": "java", "file_size_in_byte": 1159, "line... | https://github.com/SandjanaSoeknandan/LiquidMoney | 254 | FILENAME: Order.java | 0.264358 | package sr.unasat.liquidMoney.graphs.entities;
import java.time.LocalDate;
import java.util.Date;
public class Order {
private String country;
private int amount;
private String unit;
private LocalDate date;
public Order(String country, int amount, String unit, LocalDate date) {
this.cou... |
11a2aad3-5a89-4422-904f-3557e6f71abf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-13 22:39:03", "repo_name": "ndiaz9/NeoTourism", "sub_path": "/app/src/main/java/com/neotourism/PreferenciasActivity.java", "file_name": "PreferenciasActivity.java", "file_ext": "java", "file_size_in_byte": 109... | https://github.com/ndiaz9/NeoTourism | 180 | FILENAME: PreferenciasActivity.java | 0.204342 | package com.neotourism;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentTransaction;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import java.util.ArrayList;
public class PreferenciasActivity... |
08fe358d-03d6-4ac9-9ed0-83cb3cd9c7a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-08 16:24:37", "repo_name": "nanaluisa/crescer-2016-2", "sub_path": "/src/modulo-09-java-anna/aula8/src/main/java/br/com/cwi/crescer/aula8/controller/AtorController.java", "file_name": "AtorController.java", "f... | https://github.com/nanaluisa/crescer-2016-2 | 249 | FILENAME: AtorController.java | 0.255344 | /*
* 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 br.com.cwi.crescer.aula8.controller;
import br.com.cwi.crescer.aula8.entity.Ator;
import br.com.cwi.crescer.aula8.entity.Filme... |
d257e6c1-ac4b-418c-b0a2-bb50adbf683e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-27 06:41:52", "repo_name": "Good-mwl/-", "sub_path": "/mawenlong20190924/src/main/java/com/bw/mawenlong20190924/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/Good-mwl/- | 225 | FILENAME: MainActivity.java | 0.249447 | package com.bw.mawenlong20190924;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.bw.mawenlong20190924.Main2Activity;
import com.bw.mawenlong20190924.R;
public class MainActivity extends AppCom... |
ca30ddca-fe2d-46cd-9cda-61abfb014d95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-13 13:07:32", "repo_name": "chufengma/Demo", "sub_path": "/androidprac/src/main/java/com/onfengma/androidprac/SpannableDemoActivity.java", "file_name": "SpannableDemoActivity.java", "file_ext": "java", "file_s... | https://github.com/chufengma/Demo | 218 | FILENAME: SpannableDemoActivity.java | 0.245085 | package com.onfengma.androidprac;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.SpannableString;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.style.ForegroundColorSpan;
import android.widget.... |
082b93c1-5c39-470a-b36a-15961a245b26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-25 11:15:31", "repo_name": "davidxiaozhi/smart", "sub_path": "/smart-new-core/src/main/java/com/si/jupiter/smart/commons/Config.java", "file_name": "Config.java", "file_ext": "java", "file_size_in_byte": 1220,... | https://github.com/davidxiaozhi/smart | 244 | FILENAME: Config.java | 0.275909 | package com.si.jupiter.smart.commons;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Author: lizhipeng
* Date: 2017/01/22 10:13
*/
public class Config {
private static Properties prop;
static {
init();
}
private static void init() {
Inpu... |
a0d86061-9467-45ce-bdba-4d65eb1aa497 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-26 22:53:19", "repo_name": "sebastianaranda/DiscOverApp", "sub_path": "/app/src/main/java/com/arandasebastian/appdiscover/model/GenreDao.java", "file_name": "GenreDao.java", "file_ext": "java", "file_size_in_b... | https://github.com/sebastianaranda/DiscOverApp | 221 | FILENAME: GenreDao.java | 0.274351 | package com.arandasebastian.appdiscover.model;
import android.util.Log;
import com.arandasebastian.appdiscover.ResultListener;
import java.util.List;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public class GenreDao extends GenresRetrofitDAO {
public static final String BASE_URL... |
dcbb8bd1-82fa-4c23-8c6d-1a56f23f85eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-23 00:48:47", "repo_name": "eliasgz97/Proyecto2-TBDD2", "sub_path": "/DataBaseMigrator/src/databasemigrator/ConexionMySQL.java", "file_name": "ConexionMySQL.java", "file_ext": "java", "file_size_in_byte": 1186... | https://github.com/eliasgz97/Proyecto2-TBDD2 | 254 | FILENAME: ConexionMySQL.java | 0.240775 | package databasemigrator;
import java.sql.*;
import java.util.logging.Level;
import java.util.logging.Logger;
public class ConexionMySQL {
Connection cn;
Statement st;
String databaseName;
String IName;
String puerto;
String username ;
String password ;
String url;
public Conexion... |
d711994c-c3c2-4f5d-b19c-44a0cc223ae8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-20 11:09:44", "repo_name": "adersberger/spring-cloud-ping-pong-sample", "sub_path": "/sample-ping/src/main/java/org/bk/consumer/ribbon/RibbonDirectPongClient.java", "file_name": "RibbonDirectPongClient.java", ... | https://github.com/adersberger/spring-cloud-ping-pong-sample | 199 | FILENAME: RibbonDirectPongClient.java | 0.239349 | package org.bk.consumer.ribbon;
import com.google.common.collect.Maps;
import org.bk.consumer.domain.Message;
import org.bk.consumer.domain.MessageAcknowledgement;
import org.bk.consumer.feign.PongClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpEntity;
import ... |
03c4e8a1-7aa1-430f-a6a8-9676a7a25352 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-01 08:11:31", "repo_name": "IDontKonwWTFName/WTF", "sub_path": "/APIPlatform/src/sepim/server/net/packet/Serverpacket.java", "file_name": "Serverpacket.java", "file_ext": "java", "file_size_in_byte": 1159, "li... | https://github.com/IDontKonwWTFName/WTF | 289 | FILENAME: Serverpacket.java | 0.285372 | package sepim.server.net.packet;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
public class Serverpacket {
private String opcode;
private ChannelBuffer buffer = ChannelBuffers.dynamicBuffer();
public Serverpacket(String opcode) {
this.opcode = opcode;
}
publ... |
7325e9ad-861f-4b98-a05b-0f1a2b25037a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-02 09:31:49", "repo_name": "GPC-debug/UdShare", "sub_path": "/app/src/main/java/com/ud/share/ui/sell/detail/SellDetailVM.java", "file_name": "SellDetailVM.java", "file_ext": "java", "file_size_in_byte": 1184, ... | https://github.com/GPC-debug/UdShare | 223 | FILENAME: SellDetailVM.java | 0.289372 | package com.ud.share.ui.sell.detail;
import com.ud.share.api.ApiManager;
import com.ud.share.api.MyObserver;
import com.ud.share.base.BaseResponse;
import com.ud.share.base.BaseViewModel;
import com.ud.share.data.sell.SellDetailBean;
import androidx.lifecycle.MutableLiveData;
import io.reactivex.android.schedulers.An... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.