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 |
|---|---|---|---|---|---|---|
239862aa-569a-40d7-9cf3-0b123e99eb0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-06 12:12:50", "repo_name": "huhsay/movie_android", "sub_path": "/app/src/main/java/com/bethejustice/myapplication4/NetworkState.java", "file_name": "NetworkState.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/huhsay/movie_android | 203 | FILENAME: NetworkState.java | 0.26588 | package com.bethejustice.myapplication4;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.widget.Toast;
public class NetworkState {
public static final int TYPE_WIFI =1;
public static final int TYPE_MOBILE =2;
public static final int T... |
058e0259-621c-4ee8-ae1a-783444ea15c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-15 14:57:34", "repo_name": "Yooz3k/warehouse-client", "sub_path": "/app/src/main/java/ium/pg/warehouseclient/activity/warehousemanagement/WarehouseManagementActivity.java", "file_name": "WarehouseManagementAct... | https://github.com/Yooz3k/warehouse-client | 215 | FILENAME: WarehouseManagementActivity.java | 0.23231 | package ium.pg.warehouseclient.activity.warehousemanagement;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import androidx.appcompat.app.AppCompatActivity;
import ium.pg.warehouseclient.R;
import ium.pg.warehouseclient.activity.main.ButtonInitializer;
import ium.pg.warehouseclient.... |
5e460555-2dab-4d3b-84f6-5f0db39bb5db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-04T21:54:20", "repo_name": "pedro823/ctf-nc-framework", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1198, "line_count": 27, "lang": "en", "doc_type": "text", ... | https://github.com/pedro823/ctf-nc-framework | 299 | FILENAME: README.md | 0.236516 | # ctf-nc-framework #
A tiny framework to run python challenges in raw TCP.
### Installing ###
Just clone this repo and you're already down for business!
Wanna test it out? Just run `./ctfnc prod`.
### How to ###
Code your own challenge in `src/main.py`.
There, you'll need to define a `main` function that has two
par... |
737fe200-b773-47af-9c9f-4aa36f05a379 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-27 21:51:52", "repo_name": "brutskov/mylie_web_archytype_proj", "sub_path": "/controller/src/main/java/com/bavuta/controller/security/UserAuthorizationService.java", "file_name": "UserAuthorizationService.java... | https://github.com/brutskov/mylie_web_archytype_proj | 196 | FILENAME: UserAuthorizationService.java | 0.235108 | package com.bavuta.controller.security;
import com.bavuta.model.User;
import com.bavuta.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import o... |
d997d42a-d357-4528-adda-79c0487708c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-29 14:25:07", "repo_name": "jexp/javaspektrum", "sub_path": "/disruptor/src/main/java/de/jexp/disruptor_http/rest/service/CoreService.java", "file_name": "CoreService.java", "file_ext": "java", "file_size_in_b... | https://github.com/jexp/javaspektrum | 231 | FILENAME: CoreService.java | 0.289372 | package de.jexp.disruptor_http.rest.service;
import de.jexp.disruptor_http.database.Database;
import de.jexp.disruptor_http.server.InvocationRequest;
import de.jexp.disruptor_http.server.InvocationResponse;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import java.util.Map;
public class CoreService {
privat... |
c42e6624-0c5a-42d3-8c15-3829f36998bd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-14 15:14:57", "repo_name": "katybucsa/ams-server", "sub_path": "/utils/src/main/java/ro/ubbcluj/cs/ams/utils/health/MicroserviceDetails.java", "file_name": "MicroserviceDetails.java", "file_ext": "java", "file... | https://github.com/katybucsa/ams-server | 248 | FILENAME: MicroserviceDetails.java | 0.282988 | package ro.ubbcluj.cs.ams.utils.health;
import lombok.Data;
import lombok.SneakyThrows;
import ro.ubbcluj.cs.ams.utils.config.TargetJarsProperties;
import java.lang.reflect.Field;
@Data
public class MicroserviceDetails {
TargetJarsProperties jarsProps;
private Class targ = TargetJarsProperties.class;
... |
165f7ef3-ed54-4fcb-821c-727bceee0418 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-27 16:25:41", "repo_name": "articulative1/budget", "sub_path": "/src/main/java/com/budget/web/rest/TransactionBudgetResource.java", "file_name": "TransactionBudgetResource.java", "file_ext": "java", "file_size... | https://github.com/articulative1/budget | 171 | FILENAME: TransactionBudgetResource.java | 0.268941 | package com.budget.web.rest;
import java.util.List;
import javax.inject.Inject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestControl... |
238518d7-15f8-44d5-989e-0927e609d295 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-06-22T08:18:25", "repo_name": "kiemlicz/util", "sub_path": "/util-docs/docs/basics/editing.md", "file_name": "editing.md", "file_ext": "md", "file_size_in_byte": 1109, "line_count": 42, "lang": "en", "doc_typ... | https://github.com/kiemlicz/util | 350 | FILENAME: editing.md | 0.285372 | To set per-user default editor use `EDITOR` environmental variable.
Legend
|symbol|meaning|
|-|-|
|`C`|Control key|
|`M`|Alt key|
# Vim
In order to set options permanently, append them to `~/.vimrc`
## Edition
| operation | shortcut |
|-|-|
|cut/copy/paste|select with `v` (whole line with `V`, rectangular blocks with... |
d431110e-cb77-4cf3-ba2f-6069d8283e96 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-18T04:14:27", "repo_name": "aklajnert/changelogd", "sub_path": "/changelogd/templates/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 985, "line_count": 28, "lang": "en", "doc_... | https://github.com/aklajnert/changelogd | 237 | FILENAME: README.md | 0.225417 | # Introduction
Working with changelogs in this project requires the
[changelogd](https://github.com/aklajnert/changelogd) installed. To install it,
run the following command (requires Python 3.4 or newer):
```shell
pip install --upgrade changelogd
```
# Creating a new changelogd entry
To create a new entry, use `... |
4405b144-7f82-49d5-831e-2a6328f07eac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-24 13:44:55", "repo_name": "bugratuncerr/Assignments", "sub_path": "/2nd Semester/Java3/src/TextPost.java", "file_name": "TextPost.java", "file_ext": "java", "file_size_in_byte": 1140, "line_count": 50, "lang"... | https://github.com/bugratuncerr/Assignments | 253 | FILENAME: TextPost.java | 0.250913 |
/**
* @author Rookie
*
*/
public class TextPost extends Post {
private String filePath;
private double longitude;
private double latitude;
private String tagged;
/**
* @param textContent Whenever a new text post is created,constructor set the text Content of the Post.
* @param longitude Whenever a ne... |
2875cc3a-c19e-4df3-85ed-cc35c7b43ecb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-17 08:10:05", "repo_name": "AKKyPATHbIu/backend", "sub_path": "/src/main/java/embasa/persistence/securedb/service/impl/DBVersionServiceImpl.java", "file_name": "DBVersionServiceImpl.java", "file_ext": "java", ... | https://github.com/AKKyPATHbIu/backend | 227 | FILENAME: DBVersionServiceImpl.java | 0.289372 | package embasa.persistence.securedb.service.impl;
import embasa.persistence.securedb.model.DBVersion;
import embasa.persistence.securedb.repository.DBVersionRepository;
import embasa.persistence.securedb.service.DBVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework... |
b92ce4a1-7806-471e-8466-8a08ff0af60a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-20T06:48:59", "repo_name": "fxsjy/xuper-sdk-js", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 57, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/fxsjy/xuper-sdk-js | 294 | FILENAME: README.md | 0.27048 | # Xuper SDK JS
A simple JS(TS) SDK for XuperOS
## Features
- Create / Revert account
- Get local account balance and detail
- Make, post and query transaction
## Support `Xuper OS`
- Pre-Execution
- Endorser check and signature
## Usage
### install npm
~~> npm install --save xuper-sdk@beta~~
## Example
```ja... |
2bd682ed-b3f1-41f8-b110-24b6e33ab4db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-19 19:23:16", "repo_name": "gtuugii/TrailerRental", "sub_path": "/TrailerRentalServer/src/main/java/mum/edu/swe/trailerrentalserver/controller/AuthenticationController.java", "file_name": "AuthenticationContro... | https://github.com/gtuugii/TrailerRental | 236 | FILENAME: AuthenticationController.java | 0.252384 | package mum.edu.swe.trailerrentalserver.controller;
import mum.edu.swe.trailerrentalserver.domain.Login;
import mum.edu.swe.trailerrentalserver.service.AuthenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@RestC... |
4ec69ccf-c7db-48f0-a804-b46fc14dd039 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-09 11:32:20", "repo_name": "APJifengc/YaBedwars", "sub_path": "/src/main/java/com/yallage/yabedwars/event/BoardAddonResourceUpgradeEvent.java", "file_name": "BoardAddonResourceUpgradeEvent.java", "file_ext": "... | https://github.com/APJifengc/YaBedwars | 229 | FILENAME: BoardAddonResourceUpgradeEvent.java | 0.253861 | package com.yallage.yabedwars.event;
import io.github.bedwarsrel.game.Game;
import java.util.List;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
public class BoardAddonResourceUpgradeEvent extends Event {
private static final HandlerList handlers = new HandlerList();
private final Gam... |
d3cdc84f-bc36-4c40-904f-98ffab8a6b4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-03 12:28:17", "repo_name": "debbirgon/TFG", "sub_path": "/app/src/main/java/com/example/windows/gymapp/ui/ViewImageActivity.java", "file_name": "ViewImageActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/debbirgon/TFG | 175 | FILENAME: ViewImageActivity.java | 0.199308 | package com.example.windows.gymapp.ui;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.AppCompatImageView;
import android.view.View;
import com.example.windows.gymapp.R;
import com.example.windows.gymapp.util.Constants;
import com.squareup.picasso.Picasso;
... |
61982591-9b3d-43c9-b594-a2f30437442f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-11 06:31:56", "repo_name": "kyocoolcool/java-tutorial", "sub_path": "/java-concurrent/src/Concurrent18/T.java", "file_name": "T.java", "file_ext": "java", "file_size_in_byte": 1313, "line_count": 45, "lang": "... | https://github.com/kyocoolcool/java-tutorial | 350 | FILENAME: T.java | 0.282988 | package Concurrent18;
import java.util.concurrent.TimeUnit;
/**
* @ClassName T
* @Description 不要以字串對象作為鎖定常量,在下面例子m1,m2其實鎖定的是同一對象,
* 這種情況還會發生比較詭異的現象,比如用到了一個類庫,在該類庫鎖定字符串"HELLO",
* 但是因為未讀源碼,所以在自已的代碼也鎖定"HELLO",這時候就會發生詭異的死鎖組塞,
* 因為自己的程式和類庫不經意使用了同一把鎖
* @Author Chris Chen
* @Date 2019-08-01 10:30
* @Version 1.0
**/... |
80aa0a73-8027-4ef9-ae20-aa3c82a704c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-14 15:39:24", "repo_name": "tbotbotb/MyApps", "sub_path": "/App232_Bundle/app/src/main/java/com/example/administrator/app232_bundle/ResultActivity.java", "file_name": "ResultActivity.java", "file_ext": "java",... | https://github.com/tbotbotb/MyApps | 232 | FILENAME: ResultActivity.java | 0.259826 | package com.example.administrator.app232_bundle;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.TextView;
import android.widget.Toast;
/**
* Created by Administrator on 2017/8/20.
*/
public class ResultActivity... |
b7023e2d-7483-4eec-b69a-2027df6b3d8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-11 08:41:12", "repo_name": "AnneQuinkenstein/TA_with_selenium", "sub_path": "/src/Login_Chrome.java", "file_name": "Login_Chrome.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 27, "lang": "... | https://github.com/AnneQuinkenstein/TA_with_selenium | 191 | FILENAME: Login_Chrome.java | 0.239349 | import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class Login_Chrome {
public static void main(String[] args) {
//Create Driver Object for Chrome Browser
//We will strictly implement methods of WebDriver
//Class name = ChromeDriver
//invok... |
535f9e83-c5f8-4c2f-b3f7-d2a952109197 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-13 08:57:54", "repo_name": "dlrudal1996/workspace", "sub_path": "/SpringBoot/src/main/java/SpringBoot/service/member/MemberInfoService.java", "file_name": "MemberInfoService.java", "file_ext": "java", "file_si... | https://github.com/dlrudal1996/workspace | 251 | FILENAME: MemberInfoService.java | 0.283781 | package SpringBoot.service.member;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.ui.Model;
import SpringBoot.command.MemberCommand;
import SpringBoot.domain.MemberDTO;
import Sp... |
bbef1776-8d9b-4575-8aa5-b78825e5951a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-11 21:56:14", "repo_name": "anatg/HackDuke", "sub_path": "/Compliments/src/hack/duke/compliments/SentActivity.java", "file_name": "SentActivity.java", "file_ext": "java", "file_size_in_byte": 1200, "line_count... | https://github.com/anatg/HackDuke | 230 | FILENAME: SentActivity.java | 0.290176 | package hack.duke.compliments;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class SentActivity extends ... |
ae078e9a-9268-4ac3-86a2-d564ee4024db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-14 19:54:37", "repo_name": "eciuca/advertisements", "sub_path": "/src/main/java/com/emanuelciuca/trainings/projects/advertisements/dto/AdvertisementDto.java", "file_name": "AdvertisementDto.java", "file_ext": ... | https://github.com/eciuca/advertisements | 237 | FILENAME: AdvertisementDto.java | 0.250913 | package com.emanuelciuca.trainings.projects.advertisements.dto;
import java.util.Objects;
import java.util.Set;
public class AdvertisementDto {
public Long id;
public String title;
public Set<AdvertisementChannelDto> channels;
private AdvertisementDto() {
}
public static AdvertisementDto ad... |
09686e37-715d-46c7-b8ad-c315ee16e5a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-09 21:21:05", "repo_name": "BozidarKljajevic/PSV-ISA-Projekat", "sub_path": "/src/main/java/com/example/demo/model/Pacijent.java", "file_name": "Pacijent.java", "file_ext": "java", "file_size_in_byte": 1071, "... | https://github.com/BozidarKljajevic/PSV-ISA-Projekat | 291 | FILENAME: Pacijent.java | 0.277473 | package com.example.demo.model;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
@... |
1b53f30f-f4c1-440d-afdc-bd0bfe43c9c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-12 19:51:40", "repo_name": "isabelle-le/DNS", "sub_path": "/TCPClient.java", "file_name": "TCPClient.java", "file_ext": "java", "file_size_in_byte": 973, "line_count": 42, "lang": "en", "doc_type": "code", "bl... | https://github.com/isabelle-le/DNS | 235 | FILENAME: TCPClient.java | 0.290176 |
import java.net.*;
import java.io.*;
public class TCPClient {
public static void main (String[]args) throws Exception
{
try{
InetAddress address = InetAddress.getByName("127.0.0.1");
Socket client = new Socket(address, 5001);
BufferedReader theIn = new BufferedReader(new InputStreamReader(Syste... |
e1b9b454-003b-4246-8795-95d9d78f8a0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-27 09:03:33", "repo_name": "HPatki/ServiceLibrary", "sub_path": "/src/com.gap.inventory.services/DF/config/DemandForecastFactory.java", "file_name": "DemandForecastFactory.java", "file_ext": "java", "file_size... | https://github.com/HPatki/ServiceLibrary | 201 | FILENAME: DemandForecastFactory.java | 0.285372 | package com.gap.inventory.services.DF.config;
import com.gap.inventory.services.DF.implementation.DemandForecastFriend;
import com.gap.inventory.services.DF.intrface.IDemandForecast;
import com.gap.inventory.services.common.ApplicationContextUtil;
/**
* Created by Hpatki on 8/29/2016.
*/
public final class DemandFo... |
2d1d21c6-d76b-422b-a03a-d8c3f014ec35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-14 12:31:31", "repo_name": "yanguanwei/cityCommerce", "sub_path": "/src/main/java/city/commerce/repository/StoreRepository.java", "file_name": "StoreRepository.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/yanguanwei/cityCommerce | 203 | FILENAME: StoreRepository.java | 0.243642 | package city.commerce.repository;
import city.commerce.entity.StoreEntity;
import city.commerce.repository.mapper.StoreMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author young.alway@gmail.com
* @since 2017-03... |
4afda992-de25-4498-8cd3-63a70ef2e650 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-25T18:56:34", "repo_name": "kshitij2k17atom/AtomAssignment", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1080, "line_count": 36, "lang": "en", "doc_type": "te... | https://github.com/kshitij2k17atom/AtomAssignment | 238 | FILENAME: README.md | 0.213377 | # Atom Assignment App
## Download APK
APK available here: [APK Link](https://github.com/kshitij2k17atom/AtomAssignment/releases/download/1.0.0/app-release.apk)
This repository contains the assignment app for Atom.
Technologies used:
- ViewModel
- LiveData
- Navigation Component
- Dagger
- Material Components
- Kot... |
08afc1f1-8b05-4a06-b47f-a387c9978c85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-09 00:18:01", "repo_name": "Livingwind/CS455-DistributedSystems-A3", "sub_path": "/src/cs455/hadoop/airline/utils/CarrierWritable.java", "file_name": "CarrierWritable.java", "file_ext": "java", "file_size_in_b... | https://github.com/Livingwind/CS455-DistributedSystems-A3 | 271 | FILENAME: CarrierWritable.java | 0.288569 | package cs455.hadoop.airline.utils;
import com.sun.corba.se.spi.ior.Writeable;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableUtils;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
public class CarrierWritable implements Writable {
public String desc = nu... |
40673869-9158-4f64-b0f6-8278196c7cf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-05 14:40:11", "repo_name": "jriley/rxexample", "sub_path": "/app/src/androidTest/java/jriley/rxexample/modules/SlowServiceTestingModule.java", "file_name": "SlowServiceTestingModule.java", "file_ext": "java", ... | https://github.com/jriley/rxexample | 203 | FILENAME: SlowServiceTestingModule.java | 0.262842 | package jriley.rxexample.modules;
import java.net.URL;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import jriley.rxexample.services.abcdService;
impo... |
6d685744-afb0-4b87-9f09-f07e42ac870a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-31 09:57:19", "repo_name": "Mersens/Ehome", "sub_path": "/app/src/main/java/com/zzu/ehome/activity/PrivateDoctorFragment.java", "file_name": "PrivateDoctorFragment.java", "file_ext": "java", "file_size_in_byte... | https://github.com/Mersens/Ehome | 193 | FILENAME: PrivateDoctorFragment.java | 0.214691 | package com.zzu.ehome.activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.zzu.ehome.R;
import com.zzu.ehome.fragment.BaseFragment;
/**
* Created... |
9999ee8b-3e71-4932-8838-3544584b0ec4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-29T14:23:12", "repo_name": "missating/FreeCodeCamp-Lessons", "sub_path": "/Basic Front End Development Projects/log.md", "file_name": "log.md", "file_ext": "md", "file_size_in_byte": 1204, "line_count": 31... | https://github.com/missating/FreeCodeCamp-Lessons | 265 | FILENAME: log.md | 0.280616 | <strong> Build A Tribute Page </strong>
This was done with html, and css(bootstrap framework).
The following was required of the page:
Fulfill the below user stories.
User Story: I can view a tribute page with an image and text.
User Story: I can click on a link that will take me to an external website with f... |
90d3426f-59ac-4f64-ac82-4ab646f5adc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-28T09:41:19", "repo_name": "antonboutkam/data-types", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1137, "line_count": 18, "lang": "en", "doc_type": "text", "b... | https://github.com/antonboutkam/data-types | 242 | FILENAME: README.md | 0.290176 | # Data types
A growing set of general purpose data types and corresponding collections. This project is not
intended as a one size fits all standards based library. It is meant to promote interoperability between
some of the projects that i work on. Many types come with useful utilities for
casting and validation an... |
f70d9d6c-559e-4d5f-bbe3-e31b926f749e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 10:05:18", "repo_name": "Ancoresss/Member-Club", "sub_path": "/src/main/java/ua/savko/yalantistest/model/Member.java", "file_name": "Member.java", "file_ext": "java", "file_size_in_byte": 1005, "line_count"... | https://github.com/Ancoresss/Member-Club | 200 | FILENAME: Member.java | 0.245085 | package ua.savko.yalantistest.model;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Member {
private String name;
private String email;
private Date registrationDate;
public Member(String name, String email, Date registrationDate) {
this.name = name;
this.email... |
07b87bcc-0c47-46ae-b06d-b15fd11bb77e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-06 14:57:43", "repo_name": "lipengming/async-event", "sub_path": "/async-event-example/src/main/java/com/cubbery/event/sample/conf/ConfDemo.java", "file_name": "ConfDemo.java", "file_ext": "java", "file_size_i... | https://github.com/lipengming/async-event | 230 | FILENAME: ConfDemo.java | 0.29584 | /**
* Copyright (c) 2015, www.cubbery.com. All rights reserved.
*/
package com.cubbery.event.sample.conf;
import com.cubbery.event.sample.event.BothSub;
import com.cubbery.event.sample.event.EventA;
import com.cubbery.event.sample.event.EventAny;
import com.cubbery.event.EventBus;
import com.cubbery.event.sample.eve... |
ced925ec-bf04-4fe1-ad97-e5dda96e8685 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-14 17:04:14", "repo_name": "imurvai/brickcontroller", "sub_path": "/app/src/main/java/com/scn/devicemanagement/DeviceEntity.java", "file_name": "DeviceEntity.java", "file_ext": "java", "file_size_in_byte": 108... | https://github.com/imurvai/brickcontroller | 245 | FILENAME: DeviceEntity.java | 0.261331 | package com.scn.devicemanagement;
import android.arch.persistence.room.Entity;
import android.support.annotation.NonNull;
/**
* Created by steve on 2017. 11. 19..
*/
@Entity(tableName = "devices", primaryKeys = { "type", "address" })
final class DeviceEntity {
@NonNull public Device.DeviceType type;
@NonN... |
7420ad1e-ed15-470b-96fe-e16b48da5c47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-26T15:28:08", "repo_name": "EECi/eecisc", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1138, "line_count": 56, "lang": "en", "doc_type": "text", "blob_id": "89... | https://github.com/EECi/eecisc | 252 | FILENAME: README.md | 0.292595 | # eecisc
## User Guide
You can use this package to read files from the smb share on EECISC. For example:
import eecisc
import pandas as pd
import geopandas as gpd
# read pure file
csv_file = eecisc.read_file('/remote-csv-file.csv')
# read into data frame
df = pd.read_csv(csv_file)
... |
a1db67cc-d792-47d0-9113-57bd88af508f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-10 14:08:13", "repo_name": "ejosiah/Identity-and-security", "sub_path": "/identity-and-security-core/src/main/java/com/jebhomenye/identityandsecurity/infrastructure/spring/UserDetailAdaptor.java", "file_name":... | https://github.com/ejosiah/Identity-and-security | 197 | FILENAME: UserDetailAdaptor.java | 0.262842 | package com.jebhomenye.identityandsecurity.infrastructure.spring;
import javax.inject.Inject;
import javax.inject.Named;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetail... |
12405327-974e-4e12-a940-8b7354e00feb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-04 09:14:19", "repo_name": "kishanpeddaboina/oracle", "sub_path": "/PropertyInfo/PDCRProcess/PDCRCommonModel/src/gov/laca/amp/pdcr/common/model/util/WebServiceEndPoints.java", "file_name": "WebServiceEndPoints... | https://github.com/kishanpeddaboina/oracle | 248 | FILENAME: WebServiceEndPoints.java | 0.290981 | package gov.laca.amp.pdcr.common.model.util;
import java.net.URL;
import javax.naming.Context;
import javax.naming.NamingException;
import oracle.adf.model.connection.webservice.api.WebServiceConnection;
import oracle.adf.share.ADFContext;
import oracle.adf.share.logging.ADFLogger;
public class WebServ... |
ed247d54-df3c-41ba-9e2f-d7217f99fc84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 05:27:57", "repo_name": "Abishek1997/Tiingo-stock-app", "sub_path": "/app/src/main/java/com/example/tiingostock/ui/homepage/HomePageActivityViewModelFactory.java", "file_name": "HomePageActivityViewModelFac... | https://github.com/Abishek1997/Tiingo-stock-app | 175 | FILENAME: HomePageActivityViewModelFactory.java | 0.245085 | package com.example.tiingostock.ui.homepage;
import androidx.lifecycle.ViewModel;
import androidx.lifecycle.ViewModelProvider;
import com.example.tiingostock.repository.StockRepository;
import com.example.tiingostock.repository.StockRepositoryImpl;
import org.jetbrains.annotations.NotNull;
public class HomePageActi... |
5ed740f1-133c-4d4f-a505-6b2d0bd99526 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-22 15:37:16", "repo_name": "Marija26/ConnectionToDB", "sub_path": "/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1096, "line_count": 40, "lang": "en", "doc_type": "code", "blo... | https://github.com/Marija26/ConnectionToDB | 209 | FILENAME: Main.java | 0.242206 | package db_package;
import com.mysql.fabric.jdbc.FabricMySQLDriver;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
* Created by Admin on 21.06.2017.
*/
public class Main {
private static final String URL = "jdbc:mysql://localhost:3306/mydbt... |
2be4f4d4-04b9-4355-a6b8-101c6732e97b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-16 21:48:32", "repo_name": "riyagarg2019/Optimize", "sub_path": "/app/src/main/java/com/data/directions/Route.java", "file_name": "Route.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 58, ... | https://github.com/riyagarg2019/Optimize | 250 | FILENAME: Route.java | 0.243642 | package com.data.directions;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Route {
@SerializedName("copyrights")
@Expose
private String copyrights;
@SerializedName("legs")
@Expose
private List<Leg> legs = null... |
45682816-d65e-4f45-aec7-12fa9648390c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-21 03:12:36", "repo_name": "noSleepOwl/MyGitWork", "sub_path": "/src/main/java/com/cn/sleep/Ui/JavaFx.java", "file_name": "JavaFx.java", "file_ext": "java", "file_size_in_byte": 1138, "line_count": 45, "lang":... | https://github.com/noSleepOwl/MyGitWork | 213 | FILENAME: JavaFx.java | 0.27048 | package com.cn.sleep.Ui;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.fxml.JavaFXBuilderFactory;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.net.URL;
public class JavaFx extends Application {
public static void main(Strin... |
b29e5b41-e382-4251-a588-140cbcebd327 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-29 03:13:47", "repo_name": "isereb/jeopardy", "sub_path": "/src/servlets/LoginServlet.java", "file_name": "LoginServlet.java", "file_ext": "java", "file_size_in_byte": 1200, "line_count": 35, "lang": "en", "do... | https://github.com/isereb/jeopardy | 182 | FILENAME: LoginServlet.java | 0.259826 | package servlets;
import models.User;
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 javax.servlet.http.HttpSession;
import java.io.I... |
240cb72c-e419-41de-9cc2-f5a2bf0ad718 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-04 09:12:02", "repo_name": "KingJA/DidaDemoAS", "sub_path": "/dida_demo/src/main/java/com/dida/first/holder/BaseHolder.java", "file_name": "BaseHolder.java", "file_ext": "java", "file_size_in_byte": 995, "line... | https://github.com/KingJA/DidaDemoAS | 238 | FILENAME: BaseHolder.java | 0.27048 | package com.dida.first.holder;
import android.view.View;
import java.util.List;
/**
* @author KingJA
* @data 2015-8-14 上午9:54:08
* @use
*/
public abstract class BaseHolder<T> {
protected View view;
public boolean b;
public int position;
private T mData;
private List<T> mList;
public Bas... |
296e955c-69cc-428f-b796-69520e67f2c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-16 08:54:56", "repo_name": "mikola1122/myreelty-android", "sub_path": "/app/src/main/java/com/helio/myreelty/network/models/PaginationModel.java", "file_name": "PaginationModel.java", "file_ext": "java", "file... | https://github.com/mikola1122/myreelty-android | 246 | FILENAME: PaginationModel.java | 0.235108 | package com.helio.myreelty.network.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
/**
* Created by Fedir on 23.03.2016.
*/
public class PaginationModel {
@SerializedName("total_pages")
@Expose
public Integer totalPages;
@SerializedName("total_en... |
c7e2c83b-5158-42fc-af4d-6642bd2fb6d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-27 06:53:24", "repo_name": "bitkylin/ClusterDeviceControlPlatform", "sub_path": "/Project-v1-Obsolete/clustermanage-client-javafx/src/main/java/cc/bitky/clustermanage/NettyLauncher.java", "file_name": "NettyLa... | https://github.com/bitkylin/ClusterDeviceControlPlatform | 242 | FILENAME: NettyLauncher.java | 0.286169 | package cc.bitky.clustermanage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import cc.bitky.clustermanage.netty.NettyClient;
import cc.bitky.clustermanage.view.MainView;
public class NettyLauncher {
private static Logger logger = LoggerFactory.getLogger(NettyLauncher.class);
private static Netty... |
ec7b525e-af0f-4b58-927e-81e643ec8ab8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-01 17:53:18", "repo_name": "VictorHugo147/book-manager", "sub_path": "/src/test/java/com/book/bookmanager/utils/AuthorUtils.java", "file_name": "AuthorUtils.java", "file_ext": "java", "file_size_in_byte": 1072... | https://github.com/VictorHugo147/book-manager | 217 | FILENAME: AuthorUtils.java | 0.256832 | package com.book.bookmanager.utils;
import com.github.javafaker.Faker;
import com.book.bookmanager.dto.AuthorDTO;
import com.book.bookmanager.entity.Author;
public class AuthorUtils {
private static final Faker faker = Faker.instance();
public static AuthorDTO createFakeAuthorDTO() {
return AuthorDT... |
bfe46291-603d-4cfc-91cc-003d78fb7010 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-17 15:12:55", "repo_name": "abdasik25/OneMusic", "sub_path": "/src/by/epam/onemusic/entity/Playlist.java", "file_name": "Playlist.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 56, "lang":... | https://github.com/abdasik25/OneMusic | 255 | FILENAME: Playlist.java | 0.276691 | /**
* Created by Alexander Lomat on 13.05.19
* version 0.0.1
*/
package by.epam.onemusic.entity;
import java.util.List;
import java.util.Objects;
public class Playlist extends Entity {
private String name;
private List<Song> playlist; //???
public Playlist(){
}
public String getName() {
... |
070a1006-f43b-4ad9-80e0-eef4d6d30a13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-03 02:13:40", "repo_name": "tianlingliu/nacos-SpringBoot-SpringBootAdmin-DatasourceRW", "sub_path": "/datasource_component/src/main/java/com/aibao/datasource/DatabaseContextHolder.java", "file_name": "Database... | https://github.com/tianlingliu/nacos-SpringBoot-SpringBootAdmin-DatasourceRW | 247 | FILENAME: DatabaseContextHolder.java | 0.256832 | package com.aibao.datasource;
import lombok.extern.slf4j.Slf4j;
import java.util.concurrent.atomic.AtomicInteger;
/**
* 当前线程需要的数据源切换,线程安全
*/
@Slf4j
public class DatabaseContextHolder {
private static final ThreadLocal<DBEnum> contextHolder = new ThreadLocal<>();
private static final AtomicInteger counter... |
15bbb204-7f53-4134-91cc-ec2600a72de1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-28 11:16:57", "repo_name": "icecoldgeiten/nerdy-delivery", "sub_path": "/src/main/java/com/entity/OrderStatus.java", "file_name": "OrderStatus.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count"... | https://github.com/icecoldgeiten/nerdy-delivery | 234 | FILENAME: OrderStatus.java | 0.286968 | package com.entity;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
@Entity
@Table(name = "orderstatus")
public class OrderStatus {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "OrderStatusID", unique = true)
private Long ... |
85d9b0b4-4bb8-4a54-83fa-6ad51caa72e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-13 10:17:01", "repo_name": "Kimsonchuh/KCFrameOfAndroid", "sub_path": "/app/src/main/java/com/kimson/kcframeofandroid/ui/util/TextUtils.java", "file_name": "TextUtils.java", "file_ext": "java", "file_size_in_b... | https://github.com/Kimsonchuh/KCFrameOfAndroid | 260 | FILENAME: TextUtils.java | 0.245085 | package com.kimson.kcframeofandroid.ui.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Created by zhujianheng on 8/17/16.
*/
public class TextUtils extends com.kimson.library.util.TextUtils {
/**
* md5加密
*
* @param str
* @return
*/
pu... |
8b2d0704-8795-473b-be4d-0741c04f0488 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-17 09:11:12", "repo_name": "herokeke/workGit", "sub_path": "/src/main/java/common/spring/spring_transaction/demo2/AccountServiceImpl.java", "file_name": "AccountServiceImpl.java", "file_ext": "java", "file_siz... | https://github.com/herokeke/workGit | 205 | FILENAME: AccountServiceImpl.java | 0.282988 | package common.spring.spring_transaction.demo2;
import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallbackWithoutResult;
import org.springframework.transaction.support.TransactionTemplate;
public class AccountServiceImpl implements AccountService {
p... |
49fa50b4-7e98-47e5-8a27-04a8415cb62d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-23 14:23:10", "repo_name": "soghao/zgyh", "sub_path": "/BOCMBankClient606/src/main/java/com/chinamworld/bocmbci/biz/gatherinitiative/GatherinitiativeConstant.java", "file_name": "GatherinitiativeConstant.java"... | https://github.com/soghao/zgyh | 277 | FILENAME: GatherinitiativeConstant.java | 0.283781 | package com.chinamworld.bocmbci.biz.gatherinitiative;
import java.util.LinkedHashMap;
import com.chinamworld.bocmbci.R;
import com.chinamworld.bocmbci.utils.RUtil;
public class GatherinitiativeConstant {
public static class GatherChannelType {
/** 网上银行用户 */
public static final String WEB_CHANNEL = "1";
/** ... |
646145bc-60de-4d0c-9abc-e10045d76db4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-25 12:21:01", "repo_name": "RanMoAnRan/SpringSpringmvcMybatis", "sub_path": "/src/test/java/com/jing/service/impl/UserServiceImplTest.java", "file_name": "UserServiceImplTest.java", "file_ext": "java", "file_s... | https://github.com/RanMoAnRan/SpringSpringmvcMybatis | 241 | FILENAME: UserServiceImplTest.java | 0.285372 | package com.jing.service.impl;
import com.jing.pojo.User;
import com.jing.service.IUserService;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.util.Date;
import static org.junit.Assert.*;
public class UserServiceImplTest {
//事务管理测试类
@Test
p... |
111657cc-1770-48e8-a16c-d5bb9772ced6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 20:46:16", "repo_name": "AjayPremarajan/intelizign", "sub_path": "/docker/send-email/src/main/java/com/intelizign/sendemail/kafka/KafkaConsumer.java", "file_name": "KafkaConsumer.java", "file_ext": "java", ... | https://github.com/AjayPremarajan/intelizign | 212 | FILENAME: KafkaConsumer.java | 0.239349 | package com.intelizign.sendemail.kafka;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Service;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper... |
f9d198f2-da7d-4a7e-9628-8754e48c6741 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-14 19:03:22", "repo_name": "sahilbanno/Ping-Pong", "sub_path": "/core/src/com/mygdx/game/SoundManager.java", "file_name": "SoundManager.java", "file_ext": "java", "file_size_in_byte": 1059, "line_count": 39, "... | https://github.com/sahilbanno/Ping-Pong | 236 | FILENAME: SoundManager.java | 0.294215 | package com.mygdx.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.audio.Sound;
import java.util.Random;
public class SoundManager {
Sound bounceSound1, bounceSound2, bounceSound3, loseBallSound;
public void loadsounds(){
bounceSound1 = Gdx.audio.newSound(Gdx.files.internal("bounce1.ogg... |
51fa3913-5776-46f2-a99d-d3753d353b11 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-22 11:51:22", "repo_name": "pan2636172514/babasport", "sub_path": "/babasport-service-product/src/test/java/cn/itcast/test/TestProduct.java", "file_name": "TestProduct.java", "file_ext": "java", "file_size_in_... | https://github.com/pan2636172514/babasport | 238 | FILENAME: TestProduct.java | 0.293404 | package cn.itcast.test;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import ... |
053779c0-d1f2-496f-a4b1-97feaa954746 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-07 13:09:32", "repo_name": "bellmit/mobius", "sub_path": "/mobius-core/modules/mobius-engine/src/test/java/mobius/engine/test/bpmn/multiinstance/TaskCompletionListener.java", "file_name": "TaskCompletionListen... | https://github.com/bellmit/mobius | 225 | FILENAME: TaskCompletionListener.java | 0.287768 | /* 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 law or agreed to in writing, software
* distribut... |
87c6dbad-154d-46a7-8061-9384efe58890 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-21 03:02:41", "repo_name": "choi1655/csc316summer2018projects", "sub_path": "/csc316-051-p3-07/TransportationManager/src/edu/ncsu/csc316/transportation_manager/datastructure/UptreeNode.java", "file_name": "Upt... | https://github.com/choi1655/csc316summer2018projects | 362 | FILENAME: UptreeNode.java | 0.291787 | /**
*
*/
package edu.ncsu.csc316.transportation_manager.datastructure;
/**
* UpTree Node implementation taken from Mr. Gaweda's TYPOS research platform.
*
* @author Adam Gaweda
* @author John Choi
* @version 07222018
*
* @param <K> generic type key
* @param <E> generic type element
*/
public class UptreeN... |
9935e0cd-b659-4285-99ab-3092d44bd03c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-12T15:59:00", "repo_name": "MinhajAnsari/Vulnerability-Manager", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1083, "line_count": 22, "lang": "en", "doc_type":... | https://github.com/MinhajAnsari/Vulnerability-Manager | 237 | FILENAME: README.md | 0.256832 | # Vulnerability-Manager
## Introduction
This project is a web based software application that has been developed to facilitate the Information Security Team for managing the **Vulnerability Register** through a graphical interface. The Application provides different panels and dashboards for management of vulnerabili... |
74e02618-61c4-4f5f-a61c-1640d29d4d46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-18T17:07:48", "repo_name": "thomasave/Mastermind", "sub_path": "/app/src/main/java/thomasave/mastermind/ButtonAdapter.java", "file_name": "ButtonAdapter.java", "file_ext": "java", "file_size_in_byte": 1197, "l... | https://github.com/thomasave/Mastermind | 249 | FILENAME: ButtonAdapter.java | 0.285372 | package thomasave.mastermind;
import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.Vector;
public class ButtonAdapter extends BaseAdapter {
private Context mContext;
private Vector<TextVie... |
3b4e5696-582c-4407-9b68-f068c60edf14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-18 11:37:57", "repo_name": "diasantoso/future-project", "sub_path": "/back end/src/main/java/com/gdn/service/CountService.java", "file_name": "CountService.java", "file_ext": "java", "file_size_in_byte": 964, ... | https://github.com/diasantoso/future-project | 183 | FILENAME: CountService.java | 0.277473 | package com.gdn.service;
import com.gdn.repository.booking.BookingRepository;
import com.gdn.repository.employee.EmployeeRepository;
import com.gdn.repository.office.OfficeRepository;
import com.gdn.repository.room.RoomRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... |
041f6aa8-c646-4bd2-9111-c4ac2bda46bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-02-19T13:21:16", "repo_name": "bugminer/bugminer", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1051, "line_count": 41, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/bugminer/bugminer | 266 | FILENAME: README.md | 0.23231 | bugminer
========
A framework for collecting test data about software projects
How to Build
------------
Run `mvn install`
Development Environment
-----------------------
We suggest using IntelliJ IDEA for development. Node.js is required
to build the front end. Additionally, a data base has to be set up.
### Pre... |
e53d7c93-de9a-4d19-a81f-1ae0ce521166 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-07 21:56:40", "repo_name": "RoboEagles4828/Aetos", "sub_path": "/src/org/usfirst/frc/team4828/modules/Conveyor.java", "file_name": "Conveyor.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": ... | https://github.com/RoboEagles4828/Aetos | 317 | FILENAME: Conveyor.java | 0.264358 | package org.usfirst.frc.team4828.modules;
import edu.wpi.first.wpilibj.Talon;
import edu.wpi.first.wpilibj.hal.CanTalonSRX;
public class Conveyor {
Talon conveyorMotor;
Talon liftMotor;
private static final double rollSpeed = 0.5;
private static final double flipUpSpeed = 0.8;
private static final double flipD... |
685ec7c4-e85a-4351-a240-79b504c7e54e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 16:40:28", "repo_name": "mehadihn/BRACUCSE470Project", "sub_path": "/app/src/test/java/com/dineout/MenuItemTest.java", "file_name": "MenuItemTest.java", "file_ext": "java", "file_size_in_byte": 1138, "line_... | https://github.com/mehadihn/BRACUCSE470Project | 250 | FILENAME: MenuItemTest.java | 0.295027 | package com.dineout;
import com.dineout.code.Model.order.MenuItem;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class MenuItemTest {
MenuItem menuItem;
@Before
public void setup() throws Exception{
menuItem = new MenuItem("Beef Steak", "Bee... |
ef1a2c59-ca1b-46f5-9032-37410b4b3f3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 11:26:13", "repo_name": "liuzihaoboy/token", "sub_path": "/src/main/java/com/lang/token/util/PropertiesUtils.java", "file_name": "PropertiesUtils.java", "file_ext": "java", "file_size_in_byte": 1267, "line_... | https://github.com/liuzihaoboy/token | 264 | FILENAME: PropertiesUtils.java | 0.261331 | package com.lang.token.util;
import com.lang.token.core.TokenException;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
/**
* @author liu_yeye
* @date 2018-06-28 22:50
*/
public class PropertiesUtils {
private static Properties pps =... |
f76b7573-b506-4fe5-ab5c-bb77cc6b1be1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-08 07:24:50", "repo_name": "EPoshelyuk/Blog", "sub_path": "/src/main/java/by/poshelyuk/blog/controller/exception_handling/DataBaseExceptionHandler.java", "file_name": "DataBaseExceptionHandler.java", "file_ext... | https://github.com/EPoshelyuk/Blog | 163 | FILENAME: DataBaseExceptionHandler.java | 0.253861 | package by.poshelyuk.blog.controller.exception_handling;
import org.hibernate.exception.ConstraintViolationException;
import org.hibernate.exception.DataException;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice... |
fc9353e9-fbe5-458d-83ec-ccc701ec9bdc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 22:22:51", "repo_name": "divyeshjoshi1106/Arkham-Asylum-GUI", "sub_path": "/Win.java", "file_name": "Win.java", "file_ext": "java", "file_size_in_byte": 971, "line_count": 37, "lang": "en", "doc_type": "cod... | https://github.com/divyeshjoshi1106/Arkham-Asylum-GUI | 225 | FILENAME: Win.java | 0.282988 | import java.util.ArrayList;
/**
* This is the class of the "Joker's Great Escape" game. This is a very interesting game
* which envolves the escape of the joker from an asylum in gotham city called "The Arkham Asylum".
* THe win condition for the game is stored here.
* @author (Divyesh Joshi and Hussam Kayed)
* @v... |
271e4b2a-e994-428b-bdf9-71ec54928ebf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-18 07:52:28", "repo_name": "itYangJie/mobilesafe361", "sub_path": "/src/main/java/com/db/dao/QueryPhoneNumAdd.java", "file_name": "QueryPhoneNumAdd.java", "file_ext": "java", "file_size_in_byte": 1107, "line_c... | https://github.com/itYangJie/mobilesafe361 | 250 | FILENAME: QueryPhoneNumAdd.java | 0.286968 | package com.db.dao;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
/**
* Created by Administrator on 2015/7/31.
*/
public class QueryPhoneNumAdd {
//数据库路径
private static String path = "data/data/com.mobilesafe/files/address.db";
public static String query(String phoneNum... |
6699b619-5e91-448c-bb36-3260868e8c7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-19 06:42:57", "repo_name": "zhaohongda33/yobee", "sub_path": "/src/main/java/com/ccby/yobee/model/coverages/PINGANAccount.java", "file_name": "PINGANAccount.java", "file_ext": "java", "file_size_in_byte": 1220... | https://github.com/zhaohongda33/yobee | 329 | FILENAME: PINGANAccount.java | 0.229535 | package com.ccby.yobee.model.coverages;
/**
* 平安保险账户信息
*
* @author zhaohongda
*/
public class PINGANAccount implements Account {
/** serialVersionUID */
private static final long serialVersionUID = 2743601354042713183L;
private String user;
private String pass;
private String proxy_id;// 代理ID... |
3e0cf889-a32b-4c5f-ade7-5a1fe8a9f016 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-02 08:46:59", "repo_name": "ljb021027/hhrpc", "sub_path": "/hhrpc-common/src/main/java/com/ljb/hhrpc/common/codes/RPCDecoder.java", "file_name": "RPCDecoder.java", "file_ext": "java", "file_size_in_byte": 1005... | https://github.com/ljb021027/hhrpc | 225 | FILENAME: RPCDecoder.java | 0.233706 | package com.ljb.hhrpc.common.codes;
import com.ljb.hhrpc.common.serialization.JavaSerialization;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import java.util.List;
/**
* @author liujiabei
* @since 2018/10/9
*/
public class RPCD... |
b547849a-8b1b-4d9c-8209-cf72ff4d0a75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-15 21:11:32", "repo_name": "laptevn/pulse", "sub_path": "/src/main/java/com/pulse/BotServlet.java", "file_name": "BotServlet.java", "file_ext": "java", "file_size_in_byte": 1079, "line_count": 36, "lang": "en"... | https://github.com/laptevn/pulse | 204 | FILENAME: BotServlet.java | 0.252384 | package com.pulse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import org.telegram.telegrambot... |
d22e6421-4dfe-4196-8721-71d0559f3ffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-11 14:04:41", "repo_name": "uprightech/oxauth-config", "sub_path": "/src/main/java/org/gluu/oxauthconfigapi/util/GenericEnumConverter.java", "file_name": "GenericEnumConverter.java", "file_ext": "java", "file_... | https://github.com/uprightech/oxauth-config | 231 | FILENAME: GenericEnumConverter.java | 0.27048 | package org.gluu.oxauthconfigapi.util;
import javax.ws.rs.ext.ParamConverter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
public class GenericEnumConverter<T extends Enum<T>> implements ParamConverter<T> {
private sta... |
2eda8a66-f185-471f-a0e4-6a8c2f116a1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 17:25:53", "repo_name": "abdullahalhasan/SoulTest", "sub_path": "/app/src/main/java/dev/aahasan/soultest/utils/JsonParser.java", "file_name": "JsonParser.java", "file_ext": "java", "file_size_in_byte": 1002... | https://github.com/abdullahalhasan/SoulTest | 188 | FILENAME: JsonParser.java | 0.261331 | package dev.aahasan.soultest.utils;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
import dev.aahasan.soultest.models.Pin;
public class JsonParser {
public List<Pin> parsePins(String json)
{
List<Pin> pins = ... |
16f43c3b-6654-4105-8808-c818f5acabee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-05 21:26:44", "repo_name": "UCDNJJ/vinLoopAndroid", "sub_path": "/vinLoop/app/src/main/java/com/nelsonjohansen/app/vinloop/vinloop/vinFavoriteActivity.java", "file_name": "vinFavoriteActivity.java", "file_ext"... | https://github.com/UCDNJJ/vinLoopAndroid | 210 | FILENAME: vinFavoriteActivity.java | 0.23231 | package com.nelsonjohansen.app.vinloop.vinloop;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
/**
* Created by NelsonJ on 4/27/2015.
*/
public class vin... |
c0f5ad28-d5cb-4961-b874-852d9519e809 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-15 14:57:05", "repo_name": "kkilkkippappa/2020_AppProject", "sub_path": "/AppProject/app/src/main/java/com/example/a0629projecy/AlarmActivity.java", "file_name": "AlarmActivity.java", "file_ext": "java", "file... | https://github.com/kkilkkippappa/2020_AppProject | 215 | FILENAME: AlarmActivity.java | 0.181263 | package com.example.a0629projecy;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ListView;
import android.widget.Toast;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
public class AlarmActivity extends AppCompatActivity {... |
002ff7af-1033-40d0-aaac-871598e4dd36 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 08:38:49", "repo_name": "yorsen/rpc", "sub_path": "/src/main/java/com/mine/rpcmine/server/ParallelProcessContainer.java", "file_name": "ParallelProcessContainer.java", "file_ext": "java", "file_size_in_byte... | https://github.com/yorsen/rpc | 212 | FILENAME: ParallelProcessContainer.java | 0.259826 | package com.mine.rpcmine.server;
import com.google.common.util.concurrent.FutureCallback;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concurrent.ListeningExecutorService;
import com.mine.rpcmine.ExecutorFactory;
import io.ne... |
90c1250c-421c-42b1-8ce6-7935682329f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-23 20:04:52", "repo_name": "ayurevich18/homework", "sub_path": "/src/main/java/loginpage/LoginPage.java", "file_name": "LoginPage.java", "file_ext": "java", "file_size_in_byte": 1074, "line_count": 48, "lang":... | https://github.com/ayurevich18/homework | 205 | FILENAME: LoginPage.java | 0.285372 | package loginpage;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class LoginPage {
private WebDriver driver;
public LoginPage(WebDriver driver){this.driver = driver;}
private By loginInput=By.id("email");
private By passInput=By... |
d27ab7cb-0ec0-4736-b90e-8c67f775aaae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-09 02:32:11", "repo_name": "kuanghh/nio_netty", "sub_path": "/src/main/java/com/khh/_netty/demo_echo/use_codec/entity/Person.java", "file_name": "Person.java", "file_ext": "java", "file_size_in_byte": 975, "li... | https://github.com/kuanghh/nio_netty | 236 | FILENAME: Person.java | 0.228156 | package com.khh._netty.demo_echo.use_codec.entity;
import java.io.Serializable;
/**
* Created by 951087952@qq.com on 2017/8/3.
*/
public class Person implements Serializable{
private long id;
private String name;
private int age;
public Person(){
}
public Person(long id, String name, int... |
d5066141-e5a1-4a0d-b944-ce0b6ab1722c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-24T21:19:13", "repo_name": "mukaibot/servicebus-monitoring", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1160, "line_count": 22, "lang": "en", "doc_type": "te... | https://github.com/mukaibot/servicebus-monitoring | 264 | FILENAME: README.md | 0.235108 | # ServiceBus Monitoring
A .NET 4.5 console app to monitor the number of messages in your ServiceBus queues. You nominate a threshold (ie 10 messages), and receive an email if there are more messages than this in the queue.
## Getting started
You need the following:
* At least one queue
* A SAS token with the "Managem... |
a162567a-c87a-4ed3-83c5-eeb19a2b24fe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-07 13:21:12", "repo_name": "desinenilokesh/FeedBackAutomation", "sub_path": "/src/main/java/com/spring/project/feedback/model/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byt... | https://github.com/desinenilokesh/FeedBackAutomation | 228 | FILENAME: Employee.java | 0.256832 | package com.spring.project.feedback.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@SuppressWarnings("serial")
@Entity
@Table(name="empployees")
public class Employee {
@Id
@Column(name="empid")
private String ... |
9de87274-9059-4409-bf10-4e115ce1fa14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-07 08:22:08", "repo_name": "natalikrasnov/VoiceLearningApp_android", "sub_path": "/app/src/main/java/com/natali/voicelearningapp/mainApp/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_by... | https://github.com/natalikrasnov/VoiceLearningApp_android | 195 | FILENAME: App.java | 0.256832 | package com.natali.voicelearningapp.mainApp;
import android.app.Application;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.os.Build;
import android.util.Log;
public class App extends Application {
public static final String CHANNAL_ID = "serviceChannel";
public ... |
24397ef0-b906-4d7d-9499-918903c3c532 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 15:40:34", "repo_name": "wonjinism/TIL", "sub_path": "/java/scit/20181106/src/step04/TestServer.java", "file_name": "TestServer.java", "file_ext": "java", "file_size_in_byte": 1129, "line_count": 47, "lang"... | https://github.com/wonjinism/TIL | 269 | FILENAME: TestServer.java | 0.283781 | package step04;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
public class TestServer {
ServerSocket serverSocket;
public void go() throws IOException {
serverSocket = new ServerSocket(5430);
System.out.printl... |
d4353a17-0a2b-46cb-965a-d1ca862c65ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-03T05:42:27", "repo_name": "balduran-cc/hugo", "sub_path": "/content/post/update-forked-github-repo.md", "file_name": "update-forked-github-repo.md", "file_ext": "md", "file_size_in_byte": 1303, "line_coun... | https://github.com/balduran-cc/hugo | 339 | FILENAME: update-forked-github-repo.md | 0.268941 | +++
author = "Balduran Chang"
categories = ["git", "github"]
date = 2014-07-31T04:56:00Z
description = ""
draft = false
slug = "update-forked-github-repo"
tags = ["git", "github"]
title = "update forked github repo"
+++
Github 很方便的一點就是可以盡量fork自己會用到的library到自己的帳號下,也可以在這些forked repository 之下寫自己的模組。但是github上的 repo是不會自動... |
6ec65d66-77bf-4fc4-906d-ab77531a72fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-25 12:07:58", "repo_name": "gleb619/RutorClient", "sub_path": "/app/src/main/java/org/rutor/team619/rutorclient/service/CommandsExecutor.java", "file_name": "CommandsExecutor.java", "file_ext": "java", "file_s... | https://github.com/gleb619/RutorClient | 241 | FILENAME: CommandsExecutor.java | 0.286968 | package org.rutor.team619.rutorclient.service;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
/**
* Created by BORIS on 18.09.2016.
*/
public class CommandsExecutor {
public void sendComma... |
396ca632-5949-46fc-83aa-6d7e9694f181 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-14 13:48:41", "repo_name": "greycode123/springDemo", "sub_path": "/src/main/java/com/smart/config/web/controller/ConfigController.java", "file_name": "ConfigController.java", "file_ext": "java", "file_size_in_... | https://github.com/greycode123/springDemo | 203 | FILENAME: ConfigController.java | 0.275909 | package com.smart.config.web.controller;
import com.smart.config.domain.Config;
import com.smart.config.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.ann... |
48568085-77f4-4927-8547-c67e138f7530 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-02 13:19:19", "repo_name": "monkeyDugi/enum_jpa_graphql", "sub_path": "/src/main/java/com/example/enum_jpa_graphql/resolver/GenderResolver.java", "file_name": "GenderResolver.java", "file_ext": "java", "file_s... | https://github.com/monkeyDugi/enum_jpa_graphql | 194 | FILENAME: GenderResolver.java | 0.221351 | package com.example.enum_jpa_graphql.resolver;
import com.example.enum_jpa_graphql.model.Gender;
import com.example.enum_jpa_graphql.model.GenderType;
import com.example.enum_jpa_graphql.repository.GenderRepository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.ste... |
7416da94-acd8-49d4-aaa2-7b9eb406c370 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-30 03:24:59", "repo_name": "TulioTriste/EvidenceDiscordWebhook", "sub_path": "/src/main/java/rip/veax/evidence/commands/EvidenceCommand.java", "file_name": "EvidenceCommand.java", "file_ext": "java", "file_siz... | https://github.com/TulioTriste/EvidenceDiscordWebhook | 205 | FILENAME: EvidenceCommand.java | 0.233706 | package rip.veax.evidence.commands;
import dev.panda.command.BaseCommand;
import dev.panda.command.Command;
import dev.panda.command.CommandArgs;
import org.bukkit.entity.Player;
import rip.veax.evidence.Evidence;
import rip.veax.evidence.utils.CC;
public class EvidenceCommand extends BaseCommand {
private final... |
a3a4038b-3263-4c33-946e-adbf6838d953 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-12 13:08:23", "repo_name": "rapifireio/rapifire-android-client", "sub_path": "/app/src/main/java/com/rapifire/rapifireclient/data/network/BasicAuthInterceptor.java", "file_name": "BasicAuthInterceptor.java", "... | https://github.com/rapifireio/rapifire-android-client | 227 | FILENAME: BasicAuthInterceptor.java | 0.250913 | package com.rapifire.rapifireclient.data.network;
import android.util.Base64;
import com.squareup.okhttp.Interceptor;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.Response;
import java.io.IOException;
/**
* Created by ktomek on 04.12.15.
*/
public class BasicAuthInterceptor implements Intercepto... |
7b15ede1-970f-4629-bc9e-5c9ba99ee42f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-11T09:02:53", "repo_name": "leehyoley/MHPhotoUploader", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 988, "line_count": 30, "lang": "en", "doc_type": "text", "... | https://github.com/leehyoley/MHPhotoUploader | 286 | FILENAME: README.md | 0.283781 | # MHPhotoUploader
[](https://travis-ci.org/leehyoley/MHPhotoUploader)
[](https://cocoapods.org/pods/MHPhotoUploader)
[ {
}
public BloodPressSugar(Date dat... |
b9350d4c-37aa-4eca-9e10-769092b5502c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-27 06:24:52", "repo_name": "NarendraSickarwar/AndroidFatchContactDemoUsingRelamDataBase", "sub_path": "/app/src/main/java/com/chatserver/contactdemo/prefs/PreferenceManager.java", "file_name": "PreferenceManag... | https://github.com/NarendraSickarwar/AndroidFatchContactDemoUsingRelamDataBase | 178 | FILENAME: PreferenceManager.java | 0.264358 | package com.chatserver.contactdemo.prefs;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by ububtu on 26/7/17.
* save the application data in shared preference
*/
public class PreferenceManager {
public static void setFirstTime(Context context, boolean val) {
S... |
90cf4164-58e5-4ec4-acf8-1337e7918306 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-04 09:45:28", "repo_name": "WhaleDev/DesignPatterns", "sub_path": "/app/src/main/java/pers/whale/designPatters/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 102... | https://github.com/WhaleDev/DesignPatterns | 203 | FILENAME: MainActivity.java | 0.216012 | package pers.whale.designPatters;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import pers.whale.designPatters.java.mvc.MvcActivity;
/**
* Created by whale on 2019-10-04 15:01
*/
public cla... |
c43a68d9-4b04-4b31-83e8-21438ec6b630 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-15 13:24:52", "repo_name": "rituvesh/course-java-x", "sub_path": "/src/main/java/org/codefx/courses/java11/api/http2/ReactivePageSearch.java", "file_name": "ReactivePageSearch.java", "file_ext": "java", "file_... | https://github.com/rituvesh/course-java-x | 288 | FILENAME: ReactivePageSearch.java | 0.292595 | package org.codefx.courses.java11.api.http2;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse.BodyHandlers;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Flow.Subscrib... |
cd501628-b727-4215-bc41-9c0990c2d22f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-12 09:13:10", "repo_name": "SKKU-Capstone-Team2/danshow-server", "sub_path": "/src/main/java/com/danshow/danshowserver/domain/comment/Comment.java", "file_name": "Comment.java", "file_ext": "java", "file_size_... | https://github.com/SKKU-Capstone-Team2/danshow-server | 291 | FILENAME: Comment.java | 0.27513 | package com.danshow.danshowserver.domain.comment;
import com.danshow.danshowserver.domain.BaseTimeEntity;
import com.danshow.danshowserver.domain.user.Member;
import com.danshow.danshowserver.domain.video.post.CoverVideoPost;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lomb... |
20a15a7e-36d3-4233-be28-e8bebb96bb82 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-17 20:22:39", "repo_name": "meenakshee/Intents", "sub_path": "/app/src/main/java/com/example/minaxipc/intents/IntentsActivity.java", "file_name": "IntentsActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/meenakshee/Intents | 211 | FILENAME: IntentsActivity.java | 0.218669 | package com.example.minaxipc.intents;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class IntentsActivity extends AppCompatActivity {
int request_code=1;
@Override
protected void onCreate(Bundle savedInstanceState)... |
0aaa475f-3f72-4561-a366-8e66298db46c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-06 13:06:57", "repo_name": "mofolade/pokemon", "sub_path": "/src/main/java/com/example/pokemon/services/GameConsumerService.java", "file_name": "GameConsumerService.java", "file_ext": "java", "file_size_in_byt... | https://github.com/mofolade/pokemon | 206 | FILENAME: GameConsumerService.java | 0.252384 | package com.example.pokemon.services;
import com.example.pokemon.dto.GameDto;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import org... |
ecee7cc1-17fe-48a0-a524-a14d4ea91898 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-19T11:25:02", "repo_name": "misl/ideaboard", "sub_path": "/ideaboard-web/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1159, "line_count": 26, "lang": "en", "doc_type": "text... | https://github.com/misl/ideaboard | 251 | FILENAME: README.md | 0.236516 | # ideaboard-web
This module contains various implementations of the IdeaBoard API as
described/declared in [ideaboard-api-openapi](https://github.com/misl/ideaboard/tree/master/ideaboard-api/ideaboard-api-openapi).
## Module structure
- ideaboard-web-resteasy
This implementation makes use of RestEasy to impleme... |
0d77e27f-36a4-4c82-a0b2-41cfbacc5921 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-28 13:26:51", "repo_name": "onemorezgz/MiBus", "sub_path": "/MiBus/app/src/main/java/com/coicapps/mibus/utils/pageradapter/PagerAdapterViaje.java", "file_name": "PagerAdapterViaje.java", "file_ext": "java", "f... | https://github.com/onemorezgz/MiBus | 236 | FILENAME: PagerAdapterViaje.java | 0.26588 | package com.coicapps.mibus.utils.pageradapter;
import android.app.Fragment;
import android.app.FragmentManager;
import android.support.v13.app.FragmentPagerAdapter;
import com.coicapps.mibus.view.viaje.usuario.FragmentInfoMapa;
import com.coicapps.mibus.view.viaje.usuario.FragmentInfoViaje;
import java.util.Locale;
... |
5e21e60d-0318-4404-83c3-20b78dbdb286 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-23 17:24:29", "repo_name": "Shevchenkocode/Magic-8-Ball", "sub_path": "/src/sample/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 975, "line_count": 39, "lang": "en", "doc_type"... | https://github.com/Shevchenkocode/Magic-8-Ball | 225 | FILENAME: Main.java | 0.289372 | package sample;
/* @Author: Ihor Shevchenko (Shevchenkocode)
* @Date: 22.07.2018
* @Version: 1.0.0
* */
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class Main extends Application {
@Override
... |
b90c7bde-96c8-4228-bc53-d5b5f3135a9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-17 22:42:42", "repo_name": "sutromedia/android-travel-guide", "sub_path": "/android-app-core/src/com/sutromedia/android/core/NavigationRoot.java", "file_name": "NavigationRoot.java", "file_ext": "java", "file_... | https://github.com/sutromedia/android-travel-guide | 190 | FILENAME: NavigationRoot.java | 0.253861 | package com.sutromedia.android.core;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.sutromedia.android.lib.app.INavigationEntry;
public class NavigationRoot extends NavigationBase {
public NavigationRoot() {
}
public void onForceReloadView(Activity ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.