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 |
|---|---|---|---|---|---|---|
00e0b29e-5800-4ba5-a695-baadf55e8fb1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-03 06:09:05", "repo_name": "tanjun54/storage-box-backend", "sub_path": "/storage-box-backend/src/main/java/com/neusoft/project/storage/user/controller/UserController.java", "file_name": "UserController.java", ... | https://github.com/tanjun54/storage-box-backend | 237 | FILENAME: UserController.java | 0.26588 | package com.neusoft.project.storage.user.controller;
import com.neusoft.framework.web.controller.BaseController;
import com.neusoft.framework.web.domain.AjaxResult;
import com.neusoft.framework.web.page.TableDataInfo;
import com.neusoft.project.storage.user.domain.User;
import com.neusoft.project.storage.user.service.... |
8062afaa-cc58-46a7-9975-42230df29f52 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-22 04:11:09", "repo_name": "jameshardenfan5/oo", "sub_path": "/src/hw12/fs/FSElement.java", "file_name": "FSElement.java", "file_ext": "java", "file_size_in_byte": 1034, "line_count": 59, "lang": "en", "doc_ty... | https://github.com/jameshardenfan5/oo | 204 | FILENAME: FSElement.java | 0.275909 | package hw12.fs;
import java.time.LocalDateTime;
public abstract class FSElement{
protected FSElement parent;
protected String name;
protected int size;
protected LocalDateTime creationTime;
public FSElement(FSElement parent,String name,int size,LocalDateTime creationTime){
this.parent=... |
0be7517a-400b-4660-b1c6-a48577231300 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-26 23:37:24", "repo_name": "milo2005/A2B_BroadcastReceiver", "sub_path": "/app/src/main/java/creatic/movil/broadcastreceiver/AlarmaActivity.java", "file_name": "AlarmaActivity.java", "file_ext": "java", "file_... | https://github.com/milo2005/A2B_BroadcastReceiver | 188 | FILENAME: AlarmaActivity.java | 0.17441 | package creatic.movil.broadcastreceiver;
import android.app.AlarmManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
public class AlarmaActivity extends AppCompatActivity imp... |
56926ed1-ec89-466b-a283-6bc6641536c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-22 01:11:06", "repo_name": "ZhaoMengYang1/lysoft", "sub_path": "/lysoft-bas/src/test/java/com/IO/FileTest.java", "file_name": "FileTest.java", "file_ext": "java", "file_size_in_byte": 1330, "line_count": 41, "... | https://github.com/ZhaoMengYang1/lysoft | 353 | FILENAME: FileTest.java | 0.255344 | package com.IO;
import com.arcsoft.face.toolkit.ImageInfo;
import com.lysoftbas.util.Base64.FileBase64;
import org.junit.jupiter.api.Test;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import static com.arcsoft.face.toolkit.ImageFactory.getRGBDa... |
4a7c1a93-47b7-4cb5-ab88-d4dc99265a2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-20 08:05:58", "repo_name": "PacktPublishing/Diving-into-JSF-API-", "sub_path": "/Section 5/5.5/c3_s5_v5.5_1/src/main/java/beans/NameValidator.java", "file_name": "NameValidator.java", "file_ext": "java", "file... | https://github.com/PacktPublishing/Diving-into-JSF-API- | 190 | FILENAME: NameValidator.java | 0.262842 | package beans;
import java.util.regex.Pattern;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;
... |
4b88f793-196e-41f8-b08d-0b471e0c5d59 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-24T19:24:30", "repo_name": "timothydijamco/vexteamanalyzer", "sub_path": "/app/src/main/java/com/timothydijamco/vexteamanalyzer/TeamListAdapter.java", "file_name": "TeamListAdapter.java", "file_ext": "java", "... | https://github.com/timothydijamco/vexteamanalyzer | 226 | FILENAME: TeamListAdapter.java | 0.240775 | package com.timothydijamco.vexteamanalyzer;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Created by Timothy Dijamco on 8/3/2015.
*/
public class TeamListAdapter extends BaseAdapte... |
bfca5570-d7af-4945-b354-02b5c0ad56f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-29T13:00:46", "repo_name": "artdecocode/erte", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1206, "line_count": 64, "lang": "en", "doc_type": "text", "bl... | https://github.com/artdecocode/erte | 432 | FILENAME: CHANGELOG.md | 0.277473 | ## 29 April 2019
### [1.2.0](https://github.com/artdecocode/erte/compare/v1.1.7...v1.2.0)
- [package] Vendor `diff` package's source module modified to remove callback and fix _GCC_ warning of unused property in self.
- [externs] Manually write externs to make `Color` a string.
## 24 January 2019
### 1.1.7
- [fix]... |
07d8798f-7961-45ca-9e30-01714836145b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-30 21:56:31", "repo_name": "mremondi/CurateRestaurant", "sub_path": "/app/src/main/java/curatetechnologies/com/curate/models/Curate/CurateMenuSection.java", "file_name": "CurateMenuSection.java", "file_ext": "... | https://github.com/mremondi/CurateRestaurant | 244 | FILENAME: CurateMenuSection.java | 0.240775 | package curatetechnologies.com.curate.models.Curate;
/**
* Created by mremondi on 11/22/17.
*/
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import curatetechnologies.com.curate.models.Curate.CurateMenuItem;
public class CurateMenuSection {
... |
35694a9f-8e9e-47b1-b906-fbee632b6200 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-04 20:13:53", "repo_name": "PavelLunak/fmDriver", "sub_path": "/app/src/main/java/com/example/fmdriver/retrofit/responses/ResponseAllCheckedPositions.java", "file_name": "ResponseAllCheckedPositions.java", "fi... | https://github.com/PavelLunak/fmDriver | 211 | FILENAME: ResponseAllCheckedPositions.java | 0.218669 | package com.example.fmdriver.retrofit.responses;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class ResponseAllCheckedPositions {
@SerializedName("positions")
private List<ResponseCheckedPosition> positions;
@SerializedName("message")
private String message;
... |
42d02611-bd0c-4547-94bf-635dd5bfeebd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-13 01:04:44", "repo_name": "zhenghuan12/nhis-web", "sub_path": "/src/main/java/com/zebone/nhis/webservice/vo/wechatvo/WebChatReqVO.java", "file_name": "WebChatReqVO.java", "file_ext": "java", "file_size_in_byt... | https://github.com/zhenghuan12/nhis-web | 290 | FILENAME: WebChatReqVO.java | 0.243642 | package com.zebone.nhis.webservice.vo.wechatvo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "req")
@XmlAccessorType(XmlAccessType.FIELD)
public cla... |
fc19715e-a11c-4e9d-951e-773affa5c02e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-19 13:59:49", "repo_name": "ksb39/ionic-angular-spring-boot-practice", "sub_path": "/backend/spring-boot/src/main/java/com/example/demo/component/social/kakao/connect/KakaoConnectionFactory.java", "file_name":... | https://github.com/ksb39/ionic-angular-spring-boot-practice | 208 | FILENAME: KakaoConnectionFactory.java | 0.243642 | package com.example.demo.component.social.kakao.connect;
import com.example.demo.component.social.kakao.api.Kakao;
import org.springframework.social.connect.Connection;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;
import org.springframework.social.oauth2.AccessGrant;
public class KakaoCo... |
1f9b8cf4-1e08-498f-9635-ddd673d13f53 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-01-09T20:55:51", "repo_name": "dantesta/Which-Character-Are-You", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1211, "line_count": 28, "lang": "en", "doc_type": "... | https://github.com/dantesta/Which-Character-Are-You | 258 | FILENAME: README.md | 0.26588 | # Which Character Are You?
Dan Testa, Mike Troutman, Adrian Sirko
1) Your overall application's concept
We want a make a personality quiz app that matches you up with a character from a movie, tv show, etc. Similar to buzzfeed quizzes, for example, "What Star Wars character are you?". We want to create logic that ma... |
fc766d4a-7586-4d59-a483-e92652e5819f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-01 21:45:36", "repo_name": "CSAlexWhite/ocr-workshop", "sub_path": "/src/alexwhitecs/ocr/OCRShop.java", "file_name": "OCRShop.java", "file_ext": "java", "file_size_in_byte": 1037, "line_count": 43, "lang": "en... | https://github.com/CSAlexWhite/ocr-workshop | 222 | FILENAME: OCRShop.java | 0.285372 | package alexwhitecs.ocr;
import alexwhitecs.fx.GUIController;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.fxml.FXMLLoader;
public class OCRShop extends Application {
static HBox root;
static GUIController ... |
03a45394-ca20-4b6d-a26d-29d51138f560 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-18 17:40:00", "repo_name": "tarantula251/class-organizer", "sub_path": "/app/src/main/java/model/data/Course.java", "file_name": "Course.java", "file_ext": "java", "file_size_in_byte": 991, "line_count": 58, "... | https://github.com/tarantula251/class-organizer | 207 | FILENAME: Course.java | 0.255344 | package model.data;
import java.io.Serializable;
import java.util.ArrayList;
public class Course implements Data, Serializable
{
private int id;
private String name;
private User supervisor;
private Field field;
private ArrayList<User> students = new ArrayList<User>();
public Course(int id)
... |
7affae7d-289d-4b0f-9faf-b70e36227d4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-17 17:39:37", "repo_name": "PauloOTS/Auction", "sub_path": "/AuctionClient/src/com/auction/client/AuctionClient.java", "file_name": "AuctionClient.java", "file_ext": "java", "file_size_in_byte": 974, "line_cou... | https://github.com/PauloOTS/Auction | 192 | FILENAME: AuctionClient.java | 0.271252 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.auction.client;
import com.auction.interfaces.AuctionServerInterface;
import java.rmi.NotBoundException;
import java.rmi.R... |
4baff9c1-cd27-49db-9b6e-4053d6ca404e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-23 12:21:19", "repo_name": "unciaal/JM", "sub_path": "/src/main/java/com/uncia/springboot/SpringBootThymeLeaf/service/UserDetailsServiceImpl.java", "file_name": "UserDetailsServiceImpl.java", "file_ext": "java... | https://github.com/unciaal/JM | 162 | FILENAME: UserDetailsServiceImpl.java | 0.2227 | package com.uncia.springboot.SpringBootThymeLeaf.service;
import com.uncia.springboot.SpringBootThymeLeaf.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsServic... |
822263f1-4f4e-4d9c-bd02-00cf29179138 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-20T10:16:22", "repo_name": "Quantified-Student-Watch/mobile-flutter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 987, "line_count": 22, "lang": "en", "doc_ty... | https://github.com/Quantified-Student-Watch/mobile-flutter | 205 | FILENAME: README.md | 0.264358 | # Quantified Student Watch
In this project we will attempt to predict upcoming stress signals using machine learning and
smartwatches. These predictions can be displayed to user using a mobile application.
This repository contains the source code for the Android application.
## Compatibility
Delta watch requires co... |
f2296493-3a0a-49e8-81ba-f3ff89235ba2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-04 02:44:25", "repo_name": "pysmell/git-practice", "sub_path": "/nettystudy/src/main/java/com/meiya/netty权威指南学习/netty/package15/MarshallingEncoder.java", "file_name": "MarshallingEncoder.java", "file_ext": "ja... | https://github.com/pysmell/git-practice | 232 | FILENAME: MarshallingEncoder.java | 0.271252 | package com.meiya.netty权威指南学习.netty.package15;
import io.netty.buffer.ByteBuf;
import org.jboss.marshalling.Marshaller;
import java.io.IOException;
/**
* 使用marshall对Object进行编码,并且写入bytebuf
*/
public class MarshallingEncoder {
private static final byte[] LENGTH_PLACEHOLDER = new byte[4];
private Marshaller... |
bfb4d3a4-e952-446a-a851-4b5260ccd01e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-07 08:26:31", "repo_name": "QingSworder/ajex", "sub_path": "/ajax/src/main/java/com/kaishengit/util/HttpUtil.java", "file_name": "HttpUtil.java", "file_ext": "java", "file_size_in_byte": 1329, "line_count": 40... | https://github.com/QingSworder/ajex | 274 | FILENAME: HttpUtil.java | 0.262842 | package com.kaishengit.util;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import java.io.IOException;
import java.io.InputStream;
import ... |
84f330b8-6b0b-4ee5-a032-e7d3ac26cef0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-20T00:18:32", "repo_name": "ataylor284/loadprop", "sub_path": "/src/main/java/ca/redtoad/loadprop/FieldPropertySetter.java", "file_name": "FieldPropertySetter.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/ataylor284/loadprop | 212 | FILENAME: FieldPropertySetter.java | 0.271252 | package ca.redtoad.loadprop;
import java.lang.reflect.Field;
import java.util.Optional;
class FieldPropertySetter extends ReflectionPropertySetter implements PropertySetter {
private final Field field;
public FieldPropertySetter(Field field) {
this.field = field;
}
public String getName() {
... |
683b6440-e5bd-40bb-9c89-cafe4959d01e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-23 20:37:02", "repo_name": "raiuli/per_fiware_handson", "sub_path": "/FiwareHandsOnUpdateSensorData/src/se/ltu/pmc/fiwareHandson/HandsOnUpdateSensorData.java", "file_name": "HandsOnUpdateSensorData.java", "fil... | https://github.com/raiuli/per_fiware_handson | 254 | FILENAME: HandsOnUpdateSensorData.java | 0.29584 | package se.ltu.pmc.fiwareHandson;
import java.io.IOException;
import se.ltu.pmc.fiware.wrapper.FiwareWrapperUpdate;
import se.ltu.pmc.fiware.wrapper.HttpHandler;
public class HandsOnUpdateSensorData {
public static void main(String[] args) {
// The sensor values that will be updated
String entityName = "Tem... |
55fceb03-7f00-495c-9359-f0a83e67c571 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-04 03:00:43", "repo_name": "yibulaxi/What", "sub_path": "/module_live/src/main/java/com/yyxnb/module_live/ui/provide/LiveHomeProvideFragment.java", "file_name": "LiveHomeProvideFragment.java", "file_ext": "jav... | https://github.com/yibulaxi/What | 234 | FILENAME: LiveHomeProvideFragment.java | 0.199308 | package com.yyxnb.module_live.ui.provide;
import android.os.Bundle;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.yyxnb.common_base.core.BaseFragment;
import com.yyxnb.lib_arch.annotations.BindRes;
import com.yyxnb.module_live.R;
import com.yyxnb.module_live.databinding.FragmentLiveHomeProvid... |
543a3bdb-e192-4277-8cad-923164403285 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-21 11:11:46", "repo_name": "DamienVermant/nikoniko-spring", "sub_path": "/src/main/java/com/cgi/nikoniko/models/FunctionCGI.java", "file_name": "FunctionCGI.java", "file_ext": "java", "file_size_in_byte": 1205... | https://github.com/DamienVermant/nikoniko-spring | 297 | FILENAME: FunctionCGI.java | 0.26971 | package com.cgi.nikoniko.models;
import java.util.ArrayList;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.cgi.nikoniko.mod... |
188a0fd7-d2f4-4d82-9fb2-75cbb654791e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-09 13:06:27", "repo_name": "Data-Editor/DataEditor-Gateway", "sub_path": "/src/main/java/com/niek125/gateway/config/JWTConsumerConfig.java", "file_name": "JWTConsumerConfig.java", "file_ext": "java", "file_siz... | https://github.com/Data-Editor/DataEditor-Gateway | 209 | FILENAME: JWTConsumerConfig.java | 0.235108 | package com.niek125.gateway.config;
import org.jose4j.jwa.AlgorithmConstraints;
import org.jose4j.jws.AlgorithmIdentifiers;
import org.jose4j.jwt.consumer.JwtConsumer;
import org.jose4j.jwt.consumer.JwtConsumerBuilder;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annota... |
1a6a132f-6893-4947-985d-3a7a978b3353 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-02-27 19:35:47", "repo_name": "anthavio/anthavio-kitty", "sub_path": "/kitty-core/src/main/java/net/anthavio/kitty/KittyFactoryBean.java", "file_name": "KittyFactoryBean.java", "file_ext": "java", "file_size_in_b... | https://github.com/anthavio/anthavio-kitty | 223 | FILENAME: KittyFactoryBean.java | 0.259826 | /**
*
*/
package net.anthavio.kitty;
import net.anthavio.kitty.scenario.ScenarioBinder;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.InitializingBean;
/**
* @author vanek
*
* I don't want public setters on Kitty so this FactoryBean will do the
* ... |
f72b3de0-9c4a-4e72-958f-1f5feeb242f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-27 16:07:07", "repo_name": "echen44/AnimePal", "sub_path": "/app/src/main/java/com/example/android/animepal/Host.java", "file_name": "Host.java", "file_ext": "java", "file_size_in_byte": 1040, "line_count": 55... | https://github.com/echen44/AnimePal | 220 | FILENAME: Host.java | 0.184768 |
package com.example.android.animepal;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Host {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("name")
@Expose
private String name;
@SerializedName("embed_prefix")
... |
3d197f4f-a476-468a-ad6a-2903e7db7186 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-23 20:15:08", "repo_name": "Jabzzz/Labzzz", "sub_path": "/Game/core/src/com/jabzzz/labzzz/ai_skills/attack_skills/ShootingSkill.java", "file_name": "ShootingSkill.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Jabzzz/Labzzz | 230 | FILENAME: ShootingSkill.java | 0.284576 | package com.jabzzz.labzzz.ai_skills.attack_skills;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Vector2;
import java.util.ArrayList;
/**
* Created by Stefan on 07.05.2017.
*/
public class ShootingSkill extends AAttackSkill {
... |
111037c4-8a56-40eb-bffb-eec17a2a3a6c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-03 10:57:10", "repo_name": "martin090/gelty", "sub_path": "/src/main/java/com/martinsanguin/gelty/services/UserCredentialsServiceImpl.java", "file_name": "UserCredentialsServiceImpl.java", "file_ext": "java", ... | https://github.com/martin090/gelty | 170 | FILENAME: UserCredentialsServiceImpl.java | 0.225417 | package com.martinsanguin.gelty.services;
import com.martinsanguin.gelty.domain.UserCredentials;
import com.martinsanguin.gelty.repositories.UserCredentialsRepository;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
impor... |
86a0e6c4-711a-4db0-8782-9981bab153a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 19:37:53", "repo_name": "zpborromeo/senior_design_project_2FA", "sub_path": "/two_fact_printer/src/main/java/main.java", "file_name": "main.java", "file_ext": "java", "file_size_in_byte": 1012, "line_count"... | https://github.com/zpborromeo/senior_design_project_2FA | 221 | FILENAME: main.java | 0.288569 | import auth.Utils;
import java.util.Scanner;
public class main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
// Static secret key used for testing.
// QDWSM3OYBPGTEVSPB5FKVDM3CSNCWHVK
// Get secretKey from user. Exit if 'stop' is input.
... |
a01f5269-01c8-415f-a646-20bc771c5e34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-11 07:45:39", "repo_name": "xzllxz456/SecondPTJ", "sub_path": "/src/com/bc/controller/EduInfo.java", "file_name": "EduInfo.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": 38, "lang": "en", ... | https://github.com/xzllxz456/SecondPTJ | 209 | FILENAME: EduInfo.java | 0.280616 | package com.bc.controller;
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.bc.command.EduCommandServlet;
import ... |
e499c222-72c4-42ae-883d-56f74cd2b8c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-03-21 03:46:27", "repo_name": "nutzam/nutzmore", "sub_path": "/nutz-plugins-websocket/src/main/java/org/nutz/plugins/mvc/websocket/room/MemoryRoomProvider.java", "file_name": "MemoryRoomProvider.java", "file_ext"... | https://github.com/nutzam/nutzmore | 266 | FILENAME: MemoryRoomProvider.java | 0.282196 | package org.nutz.plugins.mvc.websocket.room;
import java.util.ArrayList;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentSkipListSet;
import org.nutz.plugins.mvc.websocket.WsRoomProvider;
/**
* 单机版的WsRoom实现
*
* @author wendal
*
*/
public class MemoryRo... |
2cdd5e20-39ee-41de-8298-1004dd329615 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-18 13:07:21", "repo_name": "HowieHai/Android_accountBook", "sub_path": "/app/src/main/java/com/example/shenhaichen/capstone_project_accountbook/database/DBOpenHelper.java", "file_name": "DBOpenHelper.java", "f... | https://github.com/HowieHai/Android_accountBook | 225 | FILENAME: DBOpenHelper.java | 0.27048 | package com.example.shenhaichen.capstone_project_accountbook.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by shenhaichen on 22/12/2017.
*/
public class DBOpenHelper extends SQLiteOpenHelper {
private sta... |
8ed06cae-5e51-44b6-b389-f6ed15d4e491 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-19 21:44:58", "repo_name": "Tolaniibikunle/HurtLocker", "sub_path": "/src/main/java/ibikunle/tolani/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count": 33, "lang"... | https://github.com/Tolaniibikunle/HurtLocker | 225 | FILENAME: Main.java | 0.27048 | package ibikunle.tolani;
import org.apache.commons.io.IOUtils;
import java.util.ArrayList;
import java.util.HashMap;
public class Main {
public static void main(String[] args) throws Exception {
// String output = (new Main()).readRawDataToString();
// System.out.println(output);
JerkS... |
8fb6757a-6430-4958-9857-462e37ffd3e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-02-06T18:56:47", "repo_name": "lyft/python-confidant-client", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1205, "line_count": 52, "lang": "en", "doc_type":... | https://github.com/lyft/python-confidant-client | 318 | FILENAME: CHANGELOG.md | 0.242206 | ## 2.2.0
* remove upper bound for dependency of cryptography
## 2.1.0
* Added a new timeout option, for being able to configure request timeouts.
## 2.0.0
* Added support for certificate endpoints.
* Added support for getting and listing CAs from the CA endpoints.
* Updated the revert support to use the new revert... |
981de14c-4d61-4ee8-876f-ff2c736968ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-22 04:20:14", "repo_name": "KN193/GroupB_FinalProject", "sub_path": "/src/GroupB_FinalProject/src/main/java/uow/finalproject/webapp/entity/Persons.java", "file_name": "Persons.java", "file_ext": "java", "file_... | https://github.com/KN193/GroupB_FinalProject | 290 | FILENAME: Persons.java | 0.261331 | package uow.finalproject.webapp.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Indexed;
@Entity(name="Persons")
@Indexed
public class Persons {
@Id
public int PersonID;
@Field
public String Lastname;
... |
290c2e1e-3581-44c9-8d70-298526813557 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 12:33:57", "repo_name": "ZhangPeng123456aabb/Itheima_JavaWeb", "sub_path": "/ZhangPeng/src/main/java/com/baizhi/spring/entity/person.java", "file_name": "person.java", "file_ext": "java", "file_size_in_byte... | https://github.com/ZhangPeng123456aabb/Itheima_JavaWeb | 215 | FILENAME: person.java | 0.216012 | package com.baizhi.spring.entity;
public class person {
private Integer id;
private String name;
private String password;
public person(Integer id, String name, String password) {
this.id = id;
this.name = name;
this.password = password;
}
public person(Integer id, Str... |
df5335ae-ad1f-4f8b-ab82-d48aa0e1b260 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 09:17:05", "repo_name": "shenfl/web", "sub_path": "/springcloud/src/main/java/com/test/cloud/handler/MyHandlerAdapter.java", "file_name": "MyHandlerAdapter.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/shenfl/web | 225 | FILENAME: MyHandlerAdapter.java | 0.240775 | package com.test.cloud.handler;
import org.springframework.stereotype.Component;
import org.springframework.web.method.support.HandlerMethodReturnValueHandler;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;
import org.springframework.web.servlet.mvc.method.annotation.Request... |
5ef2eb29-61ee-450b-996d-e24ea37232b5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-14 16:49:32", "repo_name": "FlowingCode/CustomIDAddon", "sub_path": "/customid-addon/src/main/java/com/flowingcode/vaadin/addons/customid/client/DateFieldConnector.java", "file_name": "DateFieldConnector.java"... | https://github.com/FlowingCode/CustomIDAddon | 203 | FILENAME: DateFieldConnector.java | 0.268941 | package com.flowingcode.vaadin.addons.customid.client;
import com.flowingcode.vaadin.addons.customid.DatefieldCustomIdExtension;
import com.vaadin.client.ComponentConnector;
import com.vaadin.client.ServerConnector;
import com.vaadin.client.extensions.AbstractExtensionConnector;
import com.vaadin.client.ui.VPopupCalen... |
d85eb832-e190-4de0-bfe4-3887ceb7c56d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-19 03:10:57", "repo_name": "sankes/WebsocketClient", "sub_path": "/src/com/shankes/websocketclient/control/chat/domain/ChatInfo.java", "file_name": "ChatInfo.java", "file_ext": "java", "file_size_in_byte": 101... | https://github.com/sankes/WebsocketClient | 227 | FILENAME: ChatInfo.java | 0.228156 | package com.shankes.websocketclient.control.chat.domain;
public class ChatInfo {
private String senderId;// 发送人id
private String content;// 内容
private MessageType messageType;// 消息类型
private String time;// 消息发送时间
public ChatInfo() {
super();
}
public ChatInfo(String senderId, String content, MessageType me... |
6a815808-b9ed-4301-bb2a-bf6e3c806402 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-14 14:35:57", "repo_name": "hikoz/spring-comparing-template-engines", "sub_path": "/src/test/java/io/github/hikoz/benchmarks/spring/TemplateBenchmarksTest.java", "file_name": "TemplateBenchmarksTest.java", "fi... | https://github.com/hikoz/spring-comparing-template-engines | 225 | FILENAME: TemplateBenchmarksTest.java | 0.258326 | package io.github.hikoz.benchmarks.spring;
import static org.assertj.core.api.Assertions.*;
import java.lang.reflect.Field;
import org.junit.Test;
import org.openjdk.jmh.annotations.Param;
import org.springframework.mock.web.MockHttpServletResponse;
public class TemplateBenchmarksTest {
@Test
public void allTem... |
b622d0b6-b93d-454d-9bd6-b29e65fdcb3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-07 22:37:53", "repo_name": "kwanggithub/floodlight-floodlight", "sub_path": "/core/src/main/java/org/projectfloodlight/core/types/NodeInterfaceTuple.java", "file_name": "NodeInterfaceTuple.java", "file_ext": "... | https://github.com/kwanggithub/floodlight-floodlight | 222 | FILENAME: NodeInterfaceTuple.java | 0.23793 | package org.projectfloodlight.core.types;
import org.openflow.util.HexString;
import org.projectfloodlight.db.data.annotation.BigDBProperty;
import org.projectfloodlight.topology.NodePortTuple;
/**
* Represents a Switch DPID along with it's port and interface.
* @author alexreimers
*
*/
public class NodeInterface... |
805cb187-08b5-46ac-b4b6-60460dc31152 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-23 08:27:36", "repo_name": "xuwulin/hnzhyw", "sub_path": "/src/com/swx/ibms/business/etl/utils/SynchroDataListener.java", "file_name": "SynchroDataListener.java", "file_ext": "java", "file_size_in_byte": 1133,... | https://github.com/xuwulin/hnzhyw | 287 | FILENAME: SynchroDataListener.java | 0.290981 | package com.swx.ibms.business.etl.utils;
import com.swx.ibms.business.etl.service.SynchroDataService;
import com.swx.ibms.common.utils.ApplicationContextUtils;
import com.swx.ibms.common.utils.DateUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Calendar;
import java.util.Date;
/**
*... |
20e4712e-60d9-4dc3-b985-6b9334d2a0ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-06-09T23:00:07", "repo_name": "mwhwang/alexa-skills-list", "sub_path": "/skills/B01GM48TTG/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1027, "line_count": 24, "lang": "en", "d... | https://github.com/mwhwang/alexa-skills-list | 371 | FILENAME: README.md | 0.271252 | # <img src="skill_icon" alt="PlantFacts icon" width="36"> [PlantFacts](http://alexa.amazon.com/#skills/amzn1.echo-sdk-ams.app.985da967-17e4-4026-b45c-7711e66b67be)
;
public static final int MAX_COUNT_IMAGES = 4;
private List<Loca... |
27fe1144-d783-4d74-9563-116549815665 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-03 16:19:15", "repo_name": "Eminemhehe/wz_toutiao", "sub_path": "/src/main/java/com/example/doutiao/service/Imp/MessageServiceImp.java", "file_name": "MessageServiceImp.java", "file_ext": "java", "file_size_in... | https://github.com/Eminemhehe/wz_toutiao | 236 | FILENAME: MessageServiceImp.java | 0.280616 | package com.example.doutiao.service.Imp;
import com.example.doutiao.bean.Message;
import com.example.doutiao.mapper.MessageDAO;
import com.example.doutiao.service.MessageService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
/**
* Created by nowcoder on 201... |
264ff386-6228-4a1f-8046-b8bf91d75ad2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-01T07:55:15", "repo_name": "eminidi/hive-converter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1207, "line_count": 42, "lang": "en", "doc_type": "text", "bl... | https://github.com/eminidi/hive-converter | 297 | FILENAME: README.md | 0.205615 | Hive-converter is a modification of "steem-converter"
# hive-converter
Hive-converter allows you to easily switch from a Hive page to PeakD, Hive to eSteem, eSteem to PeakD... very easily.
------
# [EN]
## Presentation
Are you tired of changing the Hive link manually each time you want to move from one site to anothe... |
ee84e69f-9aff-474f-88a9-710415fa029c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-09 07:51:37", "repo_name": "xiaodu1993/zk-curator", "sub_path": "/src/main/java/com/maobing/zk/namingservice/NamingService.java", "file_name": "NamingService.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/xiaodu1993/zk-curator | 228 | FILENAME: NamingService.java | 0.236516 | package com.maobing.zk.namingservice;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.CuratorFrameworkFactory;
import org.apache.curator.retry.ExponentialBackoffRetry;
/**
* @author maobing.dmb
* @date 2017/08/02
*/
public class NamingService {
private String namingRo... |
e468d9b2-68dd-45ca-a6aa-279fffc20561 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-31 13:46:22", "repo_name": "zlren/weather", "sub_path": "/micro-weather-api/src/main/java/lab/zlren/weather/api/controller/WeatherController.java", "file_name": "WeatherController.java", "file_ext": "java", "f... | https://github.com/zlren/weather | 277 | FILENAME: WeatherController.java | 0.247987 | package lab.zlren.weather.api.controller;
import lab.zlren.weather.api.vo.WeatherResponse;
import lab.zlren.weather.api.service.WeatherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVa... |
d958ee5b-dbb4-472a-8b73-b00bf0e97c8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-17 07:58:06", "repo_name": "wso2/wso2-axis2-transports", "sub_path": "/modules/msmq/src/main/java/org/apache/axis2/transport/msmq/ctype/ContentTypeInfo.java", "file_name": "ContentTypeInfo.java", "file_ext": "... | https://github.com/wso2/wso2-axis2-transports | 186 | FILENAME: ContentTypeInfo.java | 0.216012 | package org.apache.axis2.transport.msmq.ctype;
/**
* Class encapsulating the content type information for a given message.
*/
public class ContentTypeInfo {
private final String propertyName;
private final String contentType;
public ContentTypeInfo(String propertyName, String contentType) {
... |
b54a7a80-f972-4ce0-894e-161b46e78f6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-31 07:50:46", "repo_name": "Eng-MFQ/innopolis-express", "sub_path": "/MVP Source Code/app/src/main/java/com/mfq/foodle/frgments/HelpFeedback.java", "file_name": "HelpFeedback.java", "file_ext": "java", "file_s... | https://github.com/Eng-MFQ/innopolis-express | 201 | FILENAME: HelpFeedback.java | 0.187133 | package com.mfq.foodle.frgments;
import android.app.Fragment;
import android.os.Bundle;
import android.support.design.bottomappbar.BottomAppBar;
import android.support.design.widget.FloatingActionButton;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mfq.foodl... |
06862482-c1f9-4029-aa38-0ef155e84a26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-04 20:46:42", "repo_name": "SaladTomatOignon/Confroid", "sub_path": "/Confroid/confroidlib/src/main/java/fr/uge/confroidlib/Version.java", "file_name": "Version.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/SaladTomatOignon/Confroid | 255 | FILENAME: Version.java | 0.240775 | package fr.uge.confroidlib;
import java.util.Date;
import java.util.Objects;
public class Version {
private Date date;
private String tag;
private String name;
public Version(String name, Date date, String tag) {
this.name = Objects.requireNonNull(name);
this.date = Objects.requireNon... |
564398e7-dd3e-4be0-bd00-b359f56b16f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-30 15:36:06", "repo_name": "mihirv0ra/lcd", "sub_path": "/api/src/main/java/com/lightningcd/api/model/ProvisioningConf.java", "file_name": "ProvisioningConf.java", "file_ext": "java", "file_size_in_byte": 988,... | https://github.com/mihirv0ra/lcd | 191 | FILENAME: ProvisioningConf.java | 0.203075 | package com.lightningcd.api.model;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection = "provisioningconf")
public class ProvisioningConf extends BaseModel {
@Indexed(unique = true)
private String applicationName;
... |
8f225d77-edca-4eec-9e70-a2b9e2340edf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-23 06:28:28", "repo_name": "rhkdwo0000/six_test", "sub_path": "/src/product/ProductDTO.java", "file_name": "ProductDTO.java", "file_ext": "java", "file_size_in_byte": 997, "line_count": 49, "lang": "en", "doc_... | https://github.com/rhkdwo0000/six_test | 227 | FILENAME: ProductDTO.java | 0.243642 | package product;
public class ProductDTO {
private String id;
private String product_name;
private String product_explain;
private int price;
public ProductDTO(String id, String product_name, String product_explain, int price) {
super();
this.id = id;
this.product_name = product_name;
thi... |
a580f3f4-b1cf-4f08-aaf8-0bee886bcd3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-27 13:31:50", "repo_name": "pisaandela/LearnSpringBoot", "sub_path": "/7.Spring Security Oauth2.0认证授权专题/security-spring-boot-first/src/main/java/com/zhangxp/boot/service/SpringUserDetailsService.java", "file_n... | https://github.com/pisaandela/LearnSpringBoot | 225 | FILENAME: SpringUserDetailsService.java | 0.236516 | package com.zhangxp.boot.service;
import com.zhangxp.boot.entity.MyUser;
import com.zhangxp.boot.mapper.MyUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.sp... |
d9a4318a-4c94-44ae-8c62-972bfd1f595b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-24 02:37:29", "repo_name": "surbhirai1998/Quotation_Builder", "sub_path": "/Quotation/src/bb/com/util/DbUtil.java", "file_name": "DbUtil.java", "file_ext": "java", "file_size_in_byte": 1002, "line_count": 38, ... | https://github.com/surbhirai1998/Quotation_Builder | 217 | FILENAME: DbUtil.java | 0.286968 | package bb.com.util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import bb.com.model.Config;
public class DbUtil {
static Connection con;
static String classname = "oracle.jdbc.driver.OracleDriver" ;
static String url="jdbc:oracle:thin:@localhost:1521:XE";
... |
7d672915-4a55-47ed-ba4c-727c75fbf7bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-03 15:13:05", "repo_name": "Kremlianski/EXXO-Portal", "sub_path": "/Postgre-EXXO - 2.7/src/java/BEANS/FormerBean.java", "file_name": "FormerBean.java", "file_ext": "java", "file_size_in_byte": 1004, "line_coun... | https://github.com/Kremlianski/EXXO-Portal | 211 | FILENAME: FormerBean.java | 0.288569 | package BEANS;
import java.sql.*;
//import java.util.Properties;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
public class FormerBean {
public String getList(HttpServletRequest r) throws ClassNotFoundException, SQLException {
ServletContext sc = r.getServletContext(... |
1d1eea4b-57d6-4cd1-846e-5147f9bbb991 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-22 03:53:38", "repo_name": "JaredRombough/Wrestling", "sub_path": "/src/main/java/openwrestling/entities/StaffMemberEntity.java", "file_name": "StaffMemberEntity.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/JaredRombough/Wrestling | 222 | FILENAME: StaffMemberEntity.java | 0.226784 | package openwrestling.entities;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import openwrestling.model.segment.constants.Gender;
import ope... |
120584e1-2604-4cf6-bae3-38da9c0c1263 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-07T03:16:45", "repo_name": "CourtHans/401-cyber-notes", "sub_path": "/class42.md", "file_name": "class42.md", "file_ext": "md", "file_size_in_byte": 996, "line_count": 30, "lang": "en", "doc_type": "text",... | https://github.com/CourtHans/401-cyber-notes | 260 | FILENAME: class42.md | 0.218669 | # Day 42 - Scanning and Enumeration with NMAP
12/2/20
* [What is Mimikatz?](https://www.varonis.com/blog/what-is-mimikatz/)
> “Mimikatz has done more to advance security than than any other tool I can think of.” -- Jake Williams, Rendition Infosec
"**Mimikatz is an open-source application that allows users to view ... |
8b7d69ed-d72c-4e2f-b72d-123baac0c4ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-16 20:12:24", "repo_name": "EsraaFathy/MoallnemInternship", "sub_path": "/app/src/main/java/com/example/moaleminternsip/Main2Activity.java", "file_name": "Main2Activity.java", "file_ext": "java", "file_size_in... | https://github.com/EsraaFathy/MoallnemInternship | 203 | FILENAME: Main2Activity.java | 0.236516 | package com.example.moaleminternsip;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.MediaController;
import android.widget.VideoView;
public class Main2Activity extends AppCompatActivity {
VideoView videoView;
@Override
protecte... |
dc32f46a-ed4c-4f4e-97bd-cb6b9fa83a75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-19T03:52:43", "repo_name": "areps/simple-login-php", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1205, "line_count": 27, "lang": "en", "doc_type": "text", "bl... | https://github.com/areps/simple-login-php | 242 | FILENAME: README.md | 0.203075 | # simple-login-php
Some lines of the code are written in Malay, sorry!
Please note that this login page is not using hashed passwords method. (Don't use this for real projects!)
## Basic Documentation
### login.sql
SQL file for the login system. Use phpMyAdmin to import. Name your database as "practicelogin";
### co... |
e2696a36-c574-4a50-ab0f-e0a4544375f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-15 06:06:21", "repo_name": "chinazhaoht/study", "sub_path": "/src/main/java/cn/xiaoneng/study/spark/SparkTest.java", "file_name": "SparkTest.java", "file_ext": "java", "file_size_in_byte": 1044, "line_count": ... | https://github.com/chinazhaoht/study | 231 | FILENAME: SparkTest.java | 0.253861 | package cn.xiaoneng.study.spark;
import cn.xiaoneng.cluster.IClusterListener;
import org.apache.spark.SparkConf;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import org.apache.spark.api.java.function.FlatMapFunction;
import java.util.Arrays;
/**
* @author zhaoht
* @... |
30e5939c-8a3d-4779-b03f-6d2c7e7d9eef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-24 12:24:33", "repo_name": "MBY381/DormSystem-SuYiSheng", "sub_path": "/Dormitory/src/main/java/security/register/RegisterAPI.java", "file_name": "RegisterAPI.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/MBY381/DormSystem-SuYiSheng | 188 | FILENAME: RegisterAPI.java | 0.214691 | package com.xjtu.dormitory.security.register;
import com.xjtu.dormitory.common.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annot... |
8b9047e2-3bc9-46e7-8083-03cb148d35c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 21:49:05", "repo_name": "joshbarcher/IT333_Spring2019", "sub_path": "/iterators/src/pp/FileIterable.java", "file_name": "FileIterable.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 52, ... | https://github.com/joshbarcher/IT333_Spring2019 | 180 | FILENAME: FileIterable.java | 0.283781 | package pp;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Iterator;
import java.util.Scanner;
public class FileIterable implements Iterable<String>
{
private String path;
public FileIterable(String path)
{
this.path = path;
}
@Override
public ... |
81c311e8-a64c-4937-aaaa-ec2acce82ee5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-31 01:01:28", "repo_name": "Yuchengw/Lesbonne", "sub_path": "/core/platformserver/src/main/java/com/lesbonne/search/ElasticSearchUtils.java", "file_name": "ElasticSearchUtils.java", "file_ext": "java", "file_s... | https://github.com/Yuchengw/Lesbonne | 211 | FILENAME: ElasticSearchUtils.java | 0.253861 | package com.lesbonne.search;
import java.net.InetSocketAddress;
import org.elasticsearch.common.transport.InetSocketTransportAddress;
import org.elasticsearch.common.transport.TransportAddress;
import com.google.common.net.HostAndPort;
public class ElasticSearchUtils {
private static final int DEFAULT_PORT = 9300;... |
064400bf-17fd-4412-a7de-6eb4fc69a3f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-17 03:36:46", "repo_name": "xbird001/springboot014", "sub_path": "/src/main/java/springboot010/UserDao.java", "file_name": "UserDao.java", "file_ext": "java", "file_size_in_byte": 1075, "line_count": 39, "lang... | https://github.com/xbird001/springboot014 | 227 | FILENAME: UserDao.java | 0.290981 | package springboot010;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
@Repository
public class UserDao {
@Autowired
privat... |
8fa17b8f-8b53-44f8-87dd-95b6b9acbb1d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-01 10:04:09", "repo_name": "jarrah42/coney-api", "sub_path": "/src/main/java/com/cefriel/coneyapi/model/db/custom/ConversationTranslation.java", "file_name": "ConversationTranslation.java", "file_ext": "java",... | https://github.com/jarrah42/coney-api | 205 | FILENAME: ConversationTranslation.java | 0.214691 | package com.cefriel.coneyapi.model.db.custom;
import com.google.gson.JsonObject;
import org.springframework.data.neo4j.annotation.QueryResult;
@QueryResult
public class ConversationTranslation {
private String language;
private String title;
private String privacyLink;
private String introText;
... |
3eb02c1d-f60e-4b9b-9ab1-f9a870af5fc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-02-07T13:56:32", "repo_name": "stevegreatrex/whoswhere", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1205, "line_count": 38, "lang": "en", "doc_type": "text", "b... | https://github.com/stevegreatrex/whoswhere | 260 | FILENAME: README.md | 0.199308 | # WhosWhere
A test project using a bunch of new technologies that mimics an approach to tracking employee absences within a large company.
## Libraries Used
* Node
* Express
* PostgreSQL
* Angular
* Twitter Bootstrap (+ directives for angular)
* MomentJS
* Chart.js
## Database
I have used postgresql as the dat... |
c4abd03e-3d9d-42d9-baa2-a931264b400e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 15:01:55", "repo_name": "guptahitesh1304/vodia-dashboard-api", "sub_path": "/dashboard/src/main/java/com/vodia/api/dashboard/DashboardApplication.java", "file_name": "DashboardApplication.java", "file_ext":... | https://github.com/guptahitesh1304/vodia-dashboard-api | 161 | FILENAME: DashboardApplication.java | 0.214691 | package com.vodia.api.dashboard;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet... |
37af5820-7048-4f52-9aa7-75568fb9e55a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-13 20:22:58", "repo_name": "andy-ex/apples", "sub_path": "/src/main/java/jaxb/model/DimensionEntry.java", "file_name": "DimensionEntry.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count": 42, "l... | https://github.com/andy-ex/apples | 189 | FILENAME: DimensionEntry.java | 0.233706 | package jaxb.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import model.dimension.Dimension;
@XmlRootElemen... |
4e3c347c-eca8-4ae5-b243-e86154618384 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-27 05:44:41", "repo_name": "bei215748382/tonghang", "sub_path": "/tonghang/src/main/java/com/tonghang/server/util/Base64.java", "file_name": "Base64.java", "file_ext": "java", "file_size_in_byte": 1014, "line_... | https://github.com/bei215748382/tonghang | 220 | FILENAME: Base64.java | 0.246533 | package com.tonghang.server.util;
import java.io.IOException;
import org.apache.commons.lang3.StringUtils;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
public class Base64 {
/**
* 对byte数组编码
*
* @param srcByte
* @return
*/
public static String encod... |
40d669cf-e863-4434-b7aa-f8f27026944b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-26 18:05:27", "repo_name": "macoumbathiaw/Advanced-UI", "sub_path": "/AdvanceUserInterface/app/src/main/java/com/example/mthiaw/advanceuserinterface/MainActivity.java", "file_name": "MainActivity.java", "file_... | https://github.com/macoumbathiaw/Advanced-UI | 203 | FILENAME: MainActivity.java | 0.279042 | package com.example.mthiaw.advanceuserinterface;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
p... |
963921b8-0388-4a49-91f8-9eb8bfba6b10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-24 10:35:41", "repo_name": "cloudtasktracker/tts-track", "sub_path": "/src/main/java/com/tasktracker/service/track/starter/TrackServiceStarter.java", "file_name": "TrackServiceStarter.java", "file_ext": "java"... | https://github.com/cloudtasktracker/tts-track | 209 | FILENAME: TrackServiceStarter.java | 0.262842 | package com.tasktracker.service.track.starter;
import com.sun.jersey.api.container.grizzly.GrizzlyWebContainerFactory;
import com.tasktracker.service.track.conf.AppConf;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Logger;
public class TrackServiceStarter {
... |
773e2a3c-0d67-44c8-b29c-bb2d79ca951d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-18 08:37:00", "repo_name": "ankumakwana/VideoSearchApp", "sub_path": "/app/src/main/java/videosearchapp/com/videosearchapp/VideoViews.java", "file_name": "VideoViews.java", "file_ext": "java", "file_size_in_by... | https://github.com/ankumakwana/VideoSearchApp | 247 | FILENAME: VideoViews.java | 0.239349 | package videosearchapp.com.videosearchapp;
import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;
@Entity
public class VideoViews {
@Id
long id;
int increaseview;
int decreaseview;
String url;
public VideoViews(long id, int increaseview, int decreaseview,String url) {
... |
22347e02-6d0c-4636-b786-21b137e1cf5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-20 16:20:49", "repo_name": "ShpiliakYurii/med", "sub_path": "/backend/src/main/java/com/medical/solution/service/AttributeServiceImpl.java", "file_name": "AttributeServiceImpl.java", "file_ext": "java", "file_... | https://github.com/ShpiliakYurii/med | 208 | FILENAME: AttributeServiceImpl.java | 0.264358 | package com.medical.solution.service;
import com.medical.solution.entity.Attribute;
import com.medical.solution.repository.i.AttributeRepository;
import com.medical.solution.service.i.AttributeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import... |
6e375e46-6b0e-4a1a-8462-4b363f4fe3ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-20 08:27:25", "repo_name": "afal007/spring-test", "sub_path": "/src/main/java/me/afal/spring/test/Bean.java", "file_name": "Bean.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 37, "lang": ... | https://github.com/afal007/spring-test | 202 | FILENAME: Bean.java | 0.252384 | package me.afal.spring.test;
import javax.annotation.PostConstruct;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
@Component
public class Bean{
@Greeting( firstName = "Sania", lastName = "Fal" )
private String fullName;
private Bean bean; ... |
97ff8246-1a8c-4c6d-85e0-c52da7028cc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-08 14:38:13", "repo_name": "ecosme/pocHibernateEntityMgr", "sub_path": "/src/main/java/com/honeywell/corpo/dataaccess/entity/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/ecosme/pocHibernateEntityMgr | 219 | FILENAME: Product.java | 0.259826 | package com.honeywell.corpo.dataaccess.entity;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
//... |
505511b0-8898-4f3c-97c7-64adcf86bd55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-11 10:16:22", "repo_name": "xutao15186421194/pmc", "sub_path": "/pmc-manage/src/main/java/com/xutao/pmc/service/impl/TbSpeechServiceImpl.java", "file_name": "TbSpeechServiceImpl.java", "file_ext": "java", "fil... | https://github.com/xutao15186421194/pmc | 260 | FILENAME: TbSpeechServiceImpl.java | 0.279828 | package com.xutao.pmc.service.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.pmc.bean.TbSpeech;
import com.pmc.service.TbSpeechService;
import com.xutao.pmc.mapper.TbSpeechMapper;
import org.springframework.beans.fact... |
5a8f777b-86c1-4c57-8c5b-c6fc8b2b04c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-30T18:17:57", "repo_name": "theprakharjain/job_portal_api", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 968, "line_count": 46, "lang": "en", "doc_type": "text... | https://github.com/theprakharjain/job_portal_api | 271 | FILENAME: README.md | 0.240775 | # Job Portal API
Job portal API provides an API interface to the basic functionalities of a Job Portal. The API uses MongoDB database and is built in NodejS. It uses JWT for the verification.
## API End Points
Guide to API endpoints can be accessed via "https://drive.google.com/file/d/1E_kqEFut4pfddGOy4nUIKSO6y3WIaB... |
f57f9bf9-cf45-4ee2-b503-d0cf80815d13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-14 17:49:41", "repo_name": "VuaYen/ProjectPM_2021", "sub_path": "/src/main/java/miu/edu/product/domain/Vendor.java", "file_name": "Vendor.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 51,... | https://github.com/VuaYen/ProjectPM_2021 | 194 | FILENAME: Vendor.java | 0.242206 | package miu.edu.product.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotN... |
64c1a8e5-1639-4820-ad4b-9d78cb7b30d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-15 07:12:16", "repo_name": "J05H14/Web-Servlets-and-JSP-CS3220", "sub_path": "/src/models/SimpsonsCharacterBean.java", "file_name": "SimpsonsCharacterBean.java", "file_ext": "java", "file_size_in_byte": 1069, ... | https://github.com/J05H14/Web-Servlets-and-JSP-CS3220 | 287 | FILENAME: SimpsonsCharacterBean.java | 0.286169 | package models;
import java.util.ArrayList;
import java.util.Random;
public class SimpsonsCharacterBean {
ArrayList<SimpsonsCharacter> characters;
public SimpsonsCharacterBean() {
characters = new ArrayList<SimpsonsCharacter>();
}
public void setAddCharacter() {
}
public String getLastThumbnail() {
... |
94476a3e-93ee-4be7-acdc-0cf1a1e038c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-03 07:34:17", "repo_name": "NuwanNBN/Pizza_Loop", "sub_path": "/app/src/main/java/com/example/pizza_loop/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1021, "li... | https://github.com/NuwanNBN/Pizza_Loop | 183 | FILENAME: MainActivity.java | 0.20947 | package com.example.pizza_loop;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity {
EditText username;
EditText pa... |
196e6584-623b-48c0-aa5f-52abbdf01c58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-27 02:28:57", "repo_name": "majunmin/spring-rabbitmq-learning", "sub_path": "/learning-exercise/src/main/java/com/mjm/queue/topics/TopicSend.java", "file_name": "TopicSend.java", "file_ext": "java", "file_size... | https://github.com/majunmin/spring-rabbitmq-learning | 258 | FILENAME: TopicSend.java | 0.247987 | package com.mjm.queue.topics;
import com.mjm.common.CommonUtils;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import org.apache.commons.io.Charsets;
import java.io.IOException;
import java.util.concurrent.TimeoutException;
/**
* @author majun
* @date 2018/10/24 16:11
*/
public class ... |
b07328e9-7a2b-4c6b-a7ad-784cb0e82918 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-06 10:40:50", "repo_name": "suno09/LearnJava", "sub_path": "/Main/src/main/java/custom_serializable/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 36, "lang"... | https://github.com/suno09/LearnJava | 203 | FILENAME: User.java | 0.290981 | package custom_serializable;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
public class User implements Serializable {
static int field1 = 1;
final int field2 = 2;
private final int field3 = 3;
transient int field4 = 4;
transient final int field5... |
a97855ae-0d19-4ea5-89af-d58dcab6e62a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-18 14:39:43", "repo_name": "vipsamleti/spring-boot-slack-integration", "sub_path": "/src/main/java/io/vipsamleti/springbootslackintegration/configurations/SlackConfiguration.java", "file_name": "SlackConfigura... | https://github.com/vipsamleti/spring-boot-slack-integration | 228 | FILENAME: SlackConfiguration.java | 0.240775 | package io.vipsamleti.springbootslackintegration.configurations;
import com.hubspot.slack.client.SlackClient;
import com.hubspot.slack.client.SlackClientFactory;
import com.hubspot.slack.client.SlackClientRuntimeConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annot... |
848ff6d2-01b9-407f-824b-20bad544801c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-07 10:03:36", "repo_name": "cuijiabin/java8_function", "sub_path": "/src/com/thread/chapter04/MyService6.java", "file_name": "MyService6.java", "file_ext": "java", "file_size_in_byte": 1255, "line_count": 48, ... | https://github.com/cuijiabin/java8_function | 227 | FILENAME: MyService6.java | 0.243642 | package com.thread.chapter04;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
public class MyService6 {
private ReentrantLock lock = new ReentrantLock();
private Condition condition = lock.newCondition();
private boolea... |
c300a8a4-d26a-4f4f-825c-cfb7f08d98be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-08-11T16:27:34", "repo_name": "chriszacny/AppMonPOC", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 967, "line_count": 23, "lang": "en", "doc_type": "text", "blob_... | https://github.com/chriszacny/AppMonPOC | 211 | FILENAME: README.md | 0.228156 | #AppMonPOC
=========
This is a very simple proof of concept I put together for application monitoring on a large screen device such as a TV.
The thought is, it would be composed of large modular "blocks" that can be resized and moved around.
In addition, charts can be included to display messaging rates and such.
... |
99992851-0612-44ec-823d-9e094db3b69a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-06 09:09:30", "repo_name": "yqbgq/logistics_management", "sub_path": "/src/main/java/com/bishe/logistics_management/database/service/MessageService.java", "file_name": "MessageService.java", "file_ext": "java"... | https://github.com/yqbgq/logistics_management | 227 | FILENAME: MessageService.java | 0.26588 | package com.bishe.logistics_management.database.service;
import com.bishe.logistics_management.database.dao.MessageDao;
import com.bishe.logistics_management.database.dataObject.MessageObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.uti... |
49bb6007-87ea-4f65-ba0d-25238697d433 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-19 03:36:47", "repo_name": "66254264/SoundRecorderUtils", "sub_path": "/app/src/main/java/com/sid/soundrecorderutils/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 1067, "line... | https://github.com/66254264/SoundRecorderUtils | 239 | FILENAME: Utils.java | 0.26588 | package com.sid.soundrecorderutils;
import android.util.Base64;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
/**
* Created by IT_Hz.
* Date: 2019/1/8
* Time: 8:59
* TEL:18081034195
*/
public class Uti... |
e2994257-07d2-4889-9030-659b5c0cc436 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-17 21:29:43", "repo_name": "pancosances/PTPrinter", "sub_path": "/app/src/main/java/eu/panco/ptprinter/printerservice/PrinterQueue.java", "file_name": "PrinterQueue.java", "file_ext": "java", "file_size_in_byt... | https://github.com/pancosances/PTPrinter | 227 | FILENAME: PrinterQueue.java | 0.26588 | package eu.panco.ptprinter.printerservice;
import android.printservice.PrintJob;
import java.util.ArrayList;
import eu.panco.ptprinter.BluetoothPrinterService;
import eu.panco.ptprinter.bluetoothservice.BluetoothDeviceState;
public class PrinterQueue {
private BluetoothPrinterService service;
p... |
9a70b173-23a3-4748-b7ec-c7f7ee49e514 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-09 05:55:48", "repo_name": "kuangxiaoguo0123/FloatingOrderView", "sub_path": "/app/src/main/java/com/sprite/floatingorderview/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_siz... | https://github.com/kuangxiaoguo0123/FloatingOrderView | 179 | FILENAME: MainActivity.java | 0.216012 | package com.sprite.floatingorderview;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.sprite.floatingorderview.view.ATFloatingOrderView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.on... |
9dd83bd4-2dc5-4ee7-bab8-0d42f29646ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-03-08T02:30:14", "repo_name": "braungoodson/MyApp.js", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1068, "line_count": 25, "lang": "en", "doc_type": "text", "blo... | https://github.com/braungoodson/MyApp.js | 251 | FILENAME: README.md | 0.285372 | MyApp.js
=========
MyApp.js is an example front-end application using an object-oriented MVC architecture with an observable pattern. Both the framework and example application are written in JavaScript adhering to ECMAScript 5. The MVC sub-system utilizes prototype chaining for fast inheritance. The framework is very... |
17823369-61b0-4c1c-a105-c3d03c373bfd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-02 13:18:53", "repo_name": "ashishnimrot/EcmployeeManagement", "sub_path": "/src/com/alten/employeemanagement/service/EmployeeServiceImpl.java", "file_name": "EmployeeServiceImpl.java", "file_ext": "java", "fi... | https://github.com/ashishnimrot/EcmployeeManagement | 224 | FILENAME: EmployeeServiceImpl.java | 0.293404 | package com.alten.employeemanagement.service;
import java.util.List;
import java.util.Optional;
import com.alten.employeemanagement.dao.EmployeeDAO;
import com.alten.employeemanagement.dao.EmployeeDAOImpl;
import com.alten.employeemanagement.domain.Employee;
public class EmployeeServiceImpl implements EmployeeServic... |
2a5b8002-646c-4f5b-b790-f6e60f4a863b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-25 08:10:55", "repo_name": "kaspi6000/JavaClass", "sub_path": "/Class/DB/script/JDBCTest/memo/com/test/mvc/member/auth/Auth.java", "file_name": "Auth.java", "file_ext": "java", "file_size_in_byte": 1108, "line... | https://github.com/kaspi6000/JavaClass | 302 | FILENAME: Auth.java | 0.292595 | package com.test.mvc.member.auth;
import java.util.Scanner;
import com.test.mvc.member.model.MemberDAO;
import com.test.mvc.member.model.MemberDTO;
public class Auth {
private MemberDAO dao;
public static boolean isAuth = false;
public static String mseq;
public Auth() {
dao = new MemberDAO();
}
//Membe... |
1a6c91bc-a09c-4d4d-b20a-f7f4b9ecaf49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-28 22:47:01", "repo_name": "m7mdyoussef/Weather_Alert", "sub_path": "/app/src/main/java/com/joecoding/weatheralert/ui/welcom/SplashScreen.java", "file_name": "SplashScreen.java", "file_ext": "java", "file_size... | https://github.com/m7mdyoussef/Weather_Alert | 193 | FILENAME: SplashScreen.java | 0.220007 | package com.joecoding.weatheralert.ui.welcom;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import com.joecoding.weatheralert.R;
import com.airbnb.lottie.LottieAnimationView;
import com.joecoding.weat... |
17ca41b4-efd7-485c-be2e-9a9476a49d43 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-07-22T19:11:35", "repo_name": "prashant101386/devops", "sub_path": "/Learning/modules/dataFactory/linkedServices/dataLake/README.MD", "file_name": "README.MD", "file_ext": "md", "file_size_in_byte": 1206, "li... | https://github.com/prashant101386/devops | 246 | FILENAME: README.MD | 0.246533 | # Azure Data Factory - ADLS Gen 2 Linked Service
---
### Description:
- Deploys a Data Factory linked service to an Azure Data Lake Storage account
- This resource is available in Terraform but lacks the required functionality to deploy using a Key vault and secret. This resource is deployed by calling a Terraf... |
b7bd5042-5729-4ac2-bd23-48129d0b7d64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-22 07:56:31", "repo_name": "pabloriosramirez/springboot-wrapper", "sub_path": "/src/main/java/online/grisk/atenea/domain/entity/TypeVariable.java", "file_name": "TypeVariable.java", "file_ext": "java", "file_s... | https://github.com/pabloriosramirez/springboot-wrapper | 267 | FILENAME: TypeVariable.java | 0.264358 | /*
* 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 online.grisk.atenea.domain.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.... |
ee20853d-4636-4e6f-941a-a93b492c1657 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-03T00:54:02", "repo_name": "flieckster/E-Commerce-Back-End", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 26, "lang": "en", "doc_type": "te... | https://github.com/flieckster/E-Commerce-Back-End | 269 | FILENAME: README.md | 0.255344 | #E-Commerce Back end
## About
This is the back end of an ecommerce database, connecting categories, products, and tags. The application is set up with api's so that as a user you can PUT, DEL, POST, GET various calls using a 3rd party application like insomia to update the MySQL database backend. Note there is not int... |
e892ca6b-0708-4d06-a008-1d8fc6b585cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-02 02:08:58", "repo_name": "xiaofan797/springcloud_sell_module", "sub_path": "/api-gateway/src/main/java/com/xiaofan/sell/gateway/filter/RateLimitFilter.java", "file_name": "RateLimitFilter.java", "file_ext": ... | https://github.com/xiaofan797/springcloud_sell_module | 244 | FILENAME: RateLimitFilter.java | 0.276691 | package com.xiaofan.sell.gateway.filter;
import com.google.common.util.concurrent.RateLimiter;
import com.netflix.zuul.ZuulFilter;
import com.xiaofan.sell.gateway.exception.RateLimitException;
import org.springframework.stereotype.Component;
import static org.springframework.cloud.netflix.zuul.filters.support.Filter... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.