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 |
|---|---|---|---|---|---|---|
789412f8-37ab-4d8b-b2b3-51080d297614 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-26 12:17:59", "repo_name": "Ziem0/Musicator", "sub_path": "/musicLibrary/src/main/java/com/music/library/dao/OwnersDao.java", "file_name": "OwnersDao.java", "file_ext": "java", "file_size_in_byte": 1162, "line... | https://github.com/Ziem0/Musicator | 214 | FILENAME: OwnersDao.java | 0.295027 | package com.music.library.dao;
import com.music.library.model.Album;
import com.music.library.model.User;
import lombok.extern.slf4j.Slf4j;
import java.sql.*;
@Slf4j
public class OwnersDao extends AbstractDao {
private static OwnersDao dao = null;
private Connection connection;
private ResultSet result;
... |
134925af-168d-4577-a211-64887680d1cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-15T17:38:32", "repo_name": "patyalves17/spotify-challenge-xp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1025, "line_count": 26, "lang": "en", "doc_type": "... | https://github.com/patyalves17/spotify-challenge-xp | 231 | FILENAME: README.md | 0.190724 |
# SpotifyChallengeXp
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.1.
## Installation
clone the repository and install its dependencies running:
$ npm install
## Using your own credentials
You will need to register your app and get your own credentials from the ... |
472f8b10-0524-449c-a0f0-4603876e489e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-04 15:07:00", "repo_name": "hklv/netty-practice", "sub_path": "/src/main/java/com/lhk/HelloServer.java", "file_name": "HelloServer.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 33, "lang"... | https://github.com/hklv/netty-practice | 232 | FILENAME: HelloServer.java | 0.253861 | package com.lhk;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
/**
* @Author: HuiKang Lv
* @Description:
* @Date: create at 2017/10/3... |
24763140-5ffa-4116-987c-0317547c1371 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-06 11:10:14", "repo_name": "sushma141/seleniumF-W", "sub_path": "/MavenVtigerSeleniumProject/src/main/java/com/vtiger/objectRepository/HomePage.java", "file_name": "HomePage.java", "file_ext": "java", "file_si... | https://github.com/sushma141/seleniumF-W | 260 | FILENAME: HomePage.java | 0.29584 | package com.vtiger.objectRepository;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.FindBy;
public class HomePage {
@FindBy(linkText="More")
private WebElement More;
@FindBy(linkText="Campaigns")
private WebElement Campaigns;
... |
c45049be-a4d0-46d6-905e-64f4750548fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-06-03 13:50:29", "repo_name": "tylertreat/Whiteboard", "sub_path": "/src/com/whiteboard/model/Whiteboard.java", "file_name": "Whiteboard.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 44, "la... | https://github.com/tylertreat/Whiteboard | 232 | FILENAME: Whiteboard.java | 0.292595 | package com.whiteboard.model;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import com.whiteboard.ui.view.WhiteboardView;
import com.whiteboard.ui.view.WhiteboardView.DrawingPoint;
public class Whiteboard {
private Canvas mCanvas;
private Bitmap mBitmap;
private WhiteboardView mWhiteboa... |
ee5db069-f6da-43c0-8a70-a0dde00f0229 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-29 14:16:09", "repo_name": "18668031200/LC", "sub_path": "/src/main/java/com/ygdxd/nio/Acceptor.java", "file_name": "Acceptor.java", "file_ext": "java", "file_size_in_byte": 1216, "line_count": 42, "lang": "en... | https://github.com/18668031200/LC | 254 | FILENAME: Acceptor.java | 0.27048 | package com.ygdxd.nio;
import java.io.IOException;
import java.nio.channels.SelectionKey;
import java.nio.channels.SocketChannel;
/**
* @author Created by ygdxd_admin at 2018-07-12 下午11:18
*/
public class Acceptor implements Runnable {
private Reactor reactor;
public Acceptor(Reactor reactor) {
th... |
f433abf8-7814-4968-ac28-42db10e4bb9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-21 10:51:11", "repo_name": "ibisTime/xn-gchf", "sub_path": "/src/main/java/com/cdkj/gchf/enums/EUser.java", "file_name": "EUser.java", "file_ext": "java", "file_size_in_byte": 1063, "line_count": 54, "lang": "... | https://github.com/ibisTime/xn-gchf | 292 | FILENAME: EUser.java | 0.276691 | /**
* @Title EUser.java
* @Package com.ibis.account.enums
* @Description
* @author miyb
* @date 2015-2-26 下午3:08:34
* @version V1.0
*/
package com.cdkj.gchf.enums;
import java.util.HashMap;
import java.util.Map;
/**
* @author: miyb
* @since: 2015-2-26 下午3:08:34
* @history:
*/
public enum EUser ... |
2327f58b-ab08-48c6-9b41-72d2bd9b18f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-26 18:34:46", "repo_name": "IvanNikolaychuk/java-school", "sub_path": "/src/main/java/com/school/domain/code/program/ExecutionResult.java", "file_name": "ExecutionResult.java", "file_ext": "java", "file_size_i... | https://github.com/IvanNikolaychuk/java-school | 209 | FILENAME: ExecutionResult.java | 0.289372 | package com.school.domain.code.program;
import static com.school.domain.code.program.Compilation.noCompilationErrors;
public class ExecutionResult {
private String programOutput;
private Compilation compilation;
private Object methodResult;
private ExecutionResult(Compilation compilation, String prog... |
1ac865b6-1014-4f9b-a0b1-826c5be3a616 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-14 20:06:42", "repo_name": "Artem-Maksimov/New", "sub_path": "/Phone_Book/Phone Book/src/Maksimov/Phone_Book/Services/impl/ContactsServiceImpl.java", "file_name": "ContactsServiceImpl.java", "file_ext": "java"... | https://github.com/Artem-Maksimov/New | 221 | FILENAME: ContactsServiceImpl.java | 0.226784 | package Maksimov.Phone_Book.Services.impl;
import Maksimov.Phone_Book.Model.Contacts;
import Maksimov.Phone_Book.Services.ContactsService;
import javafx.collections.FXCollections;
import javafx.collections.List;
public abstract class ContactsServiceImpl implements ContactsService {
private final List<Contacts>... |
e1c2e874-db7a-4287-8967-2b79566a3b4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-12-12T02:48:40", "repo_name": "dwmhema/Portfolio-final", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1010, "line_count": 33, "lang": "en", "doc_type": "text", "b... | https://github.com/dwmhema/Portfolio-final | 291 | FILENAME: README.md | 0.242206 | # Final Assignment-Hemachandra Dewamuni
## Installation
- Run `npm install` in the root
- Run `gulp` or `gulp watch` to run build tasks/watch for file changes
- Run `node server.js` to begin running server on **127.0.0.1:3000**
- Run npm install express
- Run npm install sass
Set up the gulpfile.js file in order to ... |
93fcf502-f551-46ef-847f-d02d83a6603c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 13:37:25", "repo_name": "crimsondevil/darksky", "sub_path": "/app/src/main/java/com/example/weatherapplication/network/Model/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/crimsondevil/darksky | 214 | FILENAME: User.java | 0.198064 | package com.example.weatherapplication.network.Model;
import androidx.annotation.NonNull;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class User {
@SerializedName("id")
@Expose
private Integer id;
@SerializedName("name")
@Expose
priva... |
9120a621-49fc-4590-bee6-1f6c15eaca6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-04 15:09:52", "repo_name": "skhandge/mssc-beer-inventory-service", "sub_path": "/src/main/java/guru/sfg/beer/inventory/service/services/NewInventoryListener.java", "file_name": "NewInventoryListener.java", "fi... | https://github.com/skhandge/mssc-beer-inventory-service | 233 | FILENAME: NewInventoryListener.java | 0.278257 | package guru.sfg.beer.inventory.service.services;
import guru.sfg.beer.inventory.service.config.JmsConfig;
import guru.sfg.beer.inventory.service.domain.BeerInventory;
import guru.sfg.beer.inventory.service.repositories.BeerInventoryRepository;
import guru.sfg.brewery.model.events.BeerDto;
import guru.sfg.brewery.mode... |
0da0f9e2-806d-4dba-9330-35358b3758ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-05-18T13:45:37", "repo_name": "wengair/codewizard", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1230, "line_count": 42, "lang": "en", "doc_type": "text", "blob_i... | https://github.com/wengair/codewizard | 326 | FILENAME: README.md | 0.268941 | # Code Wizard
A Rails project turns flash cards into a webpage game to make the learning the basics of Ruby more interesting and engaging.
## Features
- Fully animated with sound effect
- Fully functional combat system
- Fully functional item and inventory system
- Leaderboard and points system
## Using Cos Find
Link: ... |
28307656-e40a-4059-ad02-a2590d7e25a7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-04 10:31:48", "repo_name": "dasavijit12/jenkinsproject", "sub_path": "/com.ibm.jenkins/src/test/java/com/ibm/jenkins/com/ibm/jenkins/DemoFirefoxTest.java", "file_name": "DemoFirefoxTest.java", "file_ext": "jav... | https://github.com/dasavijit12/jenkinsproject | 259 | FILENAME: DemoFirefoxTest.java | 0.288569 | package com.ibm.jenkins.com.ibm.jenkins;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.Assert;
import org.testng.annotations.Test;
public class DemoFirefoxTest {
WebDriver driver;
@Test... |
bde1a972-07c9-47a3-ba82-5ac6d97fbc9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18T13:52:28", "repo_name": "bchenghi/ip", "sub_path": "/src/main/java/duke/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1068, "line_count": 34, "lang": "en", "doc_type": "code... | https://github.com/bchenghi/ip | 210 | FILENAME: Main.java | 0.26971 | package duke;
import java.io.IOException;
import duke.ui.MainWindow;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
public class Main extends Application {
private ... |
4a4b138b-3bea-4867-b87d-64d6f7cf86f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-26 08:07:12", "repo_name": "lkb573/Web-learning", "sub_path": "/src/main/java/kr/re/kitri/hello/controller/BslolController.java", "file_name": "BslolController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/lkb573/Web-learning | 264 | FILENAME: BslolController.java | 0.246533 | package kr.re.kitri.hello.controller;
import kr.re.kitri.hello.common.MockBslol;
import kr.re.kitri.hello.model.Bslol;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframewor... |
caf00ca7-615f-400c-8d14-ed94479ccce8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-19 12:12:13", "repo_name": "pinwei1900/workspace", "sub_path": "/annotation/src/main/java/fdasdfads/AnnotationProcessor.java", "file_name": "AnnotationProcessor.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/pinwei1900/workspace | 242 | FILENAME: AnnotationProcessor.java | 0.290981 | /*
* Copyright (c) 2018年06月08日 by XuanWu Wireless Technology Co.Ltd.
* All rights reserved
*/
package fdasdfads;
import java.lang.reflect.Constructor;
/**
* @Description
* @Author <a href="mailto:haosonglin@wxchina.com">songlin.Hao</a>
* @Date 2018/6/8
* @Version 1.0.0
*/... |
4ba28700-bf06-465c-b3bb-8aafa9590c6e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-26 17:04:37", "repo_name": "kasperpagh/Q2-W1", "sub_path": "/src/blockQueTest/TTaker.java", "file_name": "TTaker.java", "file_ext": "java", "file_size_in_byte": 1110, "line_count": 58, "lang": "en", "doc_type"... | https://github.com/kasperpagh/Q2-W1 | 255 | FILENAME: TTaker.java | 0.267408 | /*
* 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 blockQueTest;
import java.util.List;
import java.util.Stack;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.... |
187072a2-7332-4c47-9a4b-2f454029cede | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2013-02-22T20:42:30", "repo_name": "lacides/Publisher", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1229, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/lacides/Publisher | 296 | FILENAME: README.md | 0.280616 | # Publisher
## What's this?
A example of Sinatra::Streaming
It serves SSEs in a channel/event schema
## What can you do with it?
For starters, fire it up with thin start or foreman start.
Then open your SSE/websocket supporting browser (let's go with the latest version of chrome) and hit localhost:3000/test
Y... |
e40ad887-d365-49c9-87b5-2bcc6383a187 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-11 06:43:14", "repo_name": "mahdikhaliki/CS-Classes", "sub_path": "/CS151 Object-Oriented Design Workplace/Assignment3/Customer.java", "file_name": "Customer.java", "file_ext": "java", "file_size_in_byte": 103... | https://github.com/mahdikhaliki/CS-Classes | 192 | FILENAME: Customer.java | 0.240775 | public class Customer extends Person {
private String paymentPreference;
public Customer() {
super();
paymentPreference = "";
}
public Customer(String firstName, String lastName) {
super(firstName, lastName);
paymentPreference = "";
}
public Customer(String fir... |
745ad240-f178-4de8-a927-98be66c06758 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-28 15:07:53", "repo_name": "gunjanaggarwal210/complaint_management", "sub_path": "/customercomplaintmanagement/src/customercomplaintmanagement/dbutil.java", "file_name": "dbutil.java", "file_ext": "java", "fil... | https://github.com/gunjanaggarwal210/complaint_management | 219 | FILENAME: dbutil.java | 0.285372 | /*
* 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 customercomplaintmanagement;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;... |
2a767eda-4e70-410c-aace-f08ab40656b7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-06 11:49:24", "repo_name": "moumita09/FileEncription", "sub_path": "/springboot-batch/src/main/java/com/javainuse/step/Writer.java", "file_name": "Writer.java", "file_ext": "java", "file_size_in_byte": 1009, "... | https://github.com/moumita09/FileEncription | 213 | FILENAME: Writer.java | 0.289372 | package com.javainuse.step;
import java.io.File;
import java.io.FileWriter;
import java.util.List;
import org.springframework.batch.item.ItemWriter;
import com.javainuse.controller.JobInvokerController;
public class Writer implements ItemWriter<String> {
@Override
public void write(List<? extends St... |
c781dd7c-1202-4546-b3e1-e48b4354df50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-14 10:14:20", "repo_name": "LuisEngelniederhammer/styx", "sub_path": "/Core/src/main/java/net/petafuel/styx/core/xs2a/entities/InstructedAmount.java", "file_name": "InstructedAmount.java", "file_ext": "java", ... | https://github.com/LuisEngelniederhammer/styx | 222 | FILENAME: InstructedAmount.java | 0.233706 | package net.petafuel.styx.core.xs2a.entities;
import javax.json.bind.annotation.JsonbProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
public class InstructedAmount {
@JsonbProperty("currency")
Currency currency;
@NotNull(message = "InstructedAmount cann... |
c0aca2e9-ea3b-4c58-a8b7-e5ce16d2ebe9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-18 01:12:37", "repo_name": "apc4141/aidens-plugin", "sub_path": "/src/aidensplugin/items/model/RecipeItem.java", "file_name": "RecipeItem.java", "file_ext": "java", "file_size_in_byte": 1038, "line_count": 43,... | https://github.com/apc4141/aidens-plugin | 216 | FILENAME: RecipeItem.java | 0.285372 | package aidensplugin.items.model;
import org.bukkit.Material;
import org.bukkit.inventory.Recipe;
import java.util.HashMap;
public class RecipeItem {
private static final HashMap<String, Material> RECIPE_ITEMS = new HashMap<>();
public Material material;
public int amount;
public boolean requireTag;... |
5df0df51-5f37-4ce2-ab8c-33add6f62442 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-20T15:16:30", "repo_name": "ajboni/blog", "sub_path": "/static/posts/2020-06-08-configuring-wake-on-lan copy.md", "file_name": "2020-06-08-configuring-wake-on-lan copy.md", "file_ext": "md", "file_size_in_... | https://github.com/ajboni/blog | 371 | FILENAME: 2020-06-08-configuring-wake-on-lan copy.md | 0.243642 | ---
title: Ubuntu - Configure Wake on LAN
slug: 2020-06-08-configuring-wake-on-lan
date_published: 2020-06-08
date_updated: 2020-06-08
tags:
- Ubuntu
- Linux
- WoL
---
I tried to set up WoL on my Linux Mint box. But it wasn't working...
<!-- more -->
First I've checked that Wake on LAN was enabled in the mothe... |
426510aa-9fdb-451c-ab59-3ee69096e066 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-04 00:57:13", "repo_name": "searleser97/HeartPreventSpring", "sub_path": "/HPWS/src/main/java/com/san/guiTextXSection/GuiTextXSectionService.java", "file_name": "GuiTextXSectionService.java", "file_ext": "java... | https://github.com/searleser97/HeartPreventSpring | 215 | FILENAME: GuiTextXSectionService.java | 0.283781 | package com.san.guiTextXSection;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.ArrayList;
import java.util.List;
@Service
public class GuiTextXSectionService {
@Autowired
private GuiTextXSectionRepository guiTextXSectionReposi... |
052abd70-53ea-4777-aba8-fd907e5a66ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 13:17:44", "repo_name": "PefKiaY/myhome", "sub_path": "/wisdombushome/src/main/java/com/home/cn/config/MyBatisMapperScannerConfig.java", "file_name": "MyBatisMapperScannerConfig.java", "file_ext": "java", "... | https://github.com/PefKiaY/myhome | 257 | FILENAME: MyBatisMapperScannerConfig.java | 0.216012 | package com.home.cn.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
/**
* Copyright©2015 www.123cx.com All Rights Reserved. 版权所有 湖南智慧畅行交通科技有限公司
* Project: wisdombus-business
* Comments: 备用
* Autho... |
9a50ff58-1a8f-43a0-b7f6-313df625b565 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-01-05 05:18:25", "repo_name": "darmstrong1/northwind-jpa", "sub_path": "/src/main/java/co/da/nw/dto/reply/StatusReply.java", "file_name": "StatusReply.java", "file_ext": "java", "file_size_in_byte": 1164, "line_c... | https://github.com/darmstrong1/northwind-jpa | 222 | FILENAME: StatusReply.java | 0.236516 | package co.da.nw.dto.reply;
import java.util.List;
import org.codehaus.jackson.annotate.JsonProperty;
import com.google.common.base.Objects;
import com.google.common.collect.ImmutableList;
public class StatusReply {
private final Boolean success;
private final List<String> messages;
public StatusReply... |
65187f10-0b76-4ef1-a616-6450d6e96266 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-31 09:56:19", "repo_name": "YOYOPole/hello", "sub_path": "/jwt/src/main/java/com/example/jwt/utils/JWTUtils.java", "file_name": "JWTUtils.java", "file_ext": "java", "file_size_in_byte": 1069, "line_count": 40,... | https://github.com/YOYOPole/hello | 255 | FILENAME: JWTUtils.java | 0.26588 | package com.example.jwt.utils;
import com.auth0.jwt.JWT;
import com.auth0.jwt.JWTCreator;
import com.auth0.jwt.algorithms.Algorithm;
import com.auth0.jwt.interfaces.DecodedJWT;
import com.auth0.jwt.interfaces.Verification;
import java.util.Calendar;
import java.util.Map;
public class JWTUtils{
private static fi... |
948fb39e-bb28-4fb4-b6f3-2e54128f2a7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-17 14:07:51", "repo_name": "soarle/Reader", "sub_path": "/app/src/main/java/com/hycollege/net/reader/book/ContextActivity.java", "file_name": "ContextActivity.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/soarle/Reader | 186 | FILENAME: ContextActivity.java | 0.201813 | package com.hycollege.net.reader.book;
import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.TextView;
import com.hycollege.net... |
706a7bf7-1003-448e-b1ff-1bd77fcfae8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-07 03:58:14", "repo_name": "indiepopart/jhipster-kafka", "sub_path": "/store/src/main/java/com/okta/developer/store/web/rest/StoreKafkaResource.java", "file_name": "StoreKafkaResource.java", "file_ext": "java"... | https://github.com/indiepopart/jhipster-kafka | 184 | FILENAME: StoreKafkaResource.java | 0.226784 | package com.okta.developer.store.web.rest;
import com.okta.developer.store.service.StoreKafkaProducer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.... |
2e81d846-b043-4481-be48-94c01195e8a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-29 10:10:40", "repo_name": "sunshinewei/weather", "sub_path": "/weather/libmodel/src/main/java/com/app/weilong/lib/base/utils/StyleUtils.java", "file_name": "StyleUtils.java", "file_ext": "java", "file_size_in... | https://github.com/sunshinewei/weather | 286 | FILENAME: StyleUtils.java | 0.272799 | package com.app.weilong.lib.base.utils;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.view.View;
/**
* create by weilong on 2020/4/10
* email: 1436699184@qq.com
*/
public class StyleUtils {
/**
* 字符串转换为int
* @param color
* @return
*/
... |
509cafe1-e16d-4e66-aeb7-283a3a793d3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-23 16:27:12", "repo_name": "blooder35/ChatClient", "sub_path": "/src/main/java/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1111, "line_count": 32, "lang": "en", "doc_type... | https://github.com/blooder35/ChatClient | 216 | FILENAME: Client.java | 0.255344 |
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public final class Client extends Application {
private static final int CONNECT_TIMEOUT = 5000;
private static final String HOSTNAME = "127.0.0.1";
priva... |
08a6db22-a29b-49c8-bf70-ae0c2e282cec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-30T09:12:20", "repo_name": "JulianWe/vRealizeAutomation", "sub_path": "/dispatscherWorkflow/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1043, "line_count": 31, "lang": "en"... | https://github.com/JulianWe/vRealizeAutomation | 235 | FILENAME: README.md | 0.281406 | # PowerShell script to execute Orchestrator workflow via REST API
PowerShell Script to show the input parameter and Execute Orchestrator Workflow via REST API.
Execute-vRoWorkflow.ps1 has the following input parameters:
- Username (Testet with Active Directory User vdi\julian)
- password
- vroServer "Example: vro8.vdi... |
9a6bf98d-16b6-4745-94bb-b16d8ed918e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-14 21:04:16", "repo_name": "JackyChiu/SYSC4806", "sub_path": "/AddressBook/src/main/java/app/AddressBookController.java", "file_name": "AddressBookController.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/JackyChiu/SYSC4806 | 199 | FILENAME: AddressBookController.java | 0.273574 | package app;
import app.models.AddressBook;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
@Controller
public class AddressBookController {
private AddressBookRepository addressBookRepository;
public AddressBookControll... |
6fe30ebd-743d-43b4-8549-9cbd9624a306 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-21 07:17:08", "repo_name": "LevNovikov92/area-service", "sub_path": "/src/main/java/com/lev/areaservice/school/SchoolController.java", "file_name": "SchoolController.java", "file_ext": "java", "file_size_in_by... | https://github.com/LevNovikov92/area-service | 195 | FILENAME: SchoolController.java | 0.255344 | package com.lev.areaservice.school;
import com.lev.areaservice.helpers.Lang;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframewor... |
7319ee82-1d3b-42dd-826f-f3387bdf3c12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-20 11:13:45", "repo_name": "Cathrine-c/Spring-Framework", "sub_path": "/Spring-Blog/src/main/java/org/example/config/ExceptionAdvice.java", "file_name": "ExceptionAdvice.java", "file_ext": "java", "file_size_i... | https://github.com/Cathrine-c/Spring-Framework | 198 | FILENAME: ExceptionAdvice.java | 0.23092 | package org.example.config;
import lombok.extern.slf4j.Slf4j;
import org.example.exception.AppException;
import org.example.model.Response;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annota... |
eb762fbb-5b03-4770-ae55-d02c0d636c46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-16T15:08:38", "repo_name": "krishgb/python-scripts", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1234, "line_count": 52, "lang": "en", "doc_type": "text", "bl... | https://github.com/krishgb/python-scripts | 300 | FILENAME: README.md | 0.252384 | 1. page_remover.py
This script is used to remove pages from a pdf file by using PyPDF2 library.
It keeps both the original pdf file and the modified pdf file.
To run this script you have to download PyPDF2 library.
In Terminal run "pip3 install PyPDF2" command.
Run this command in terminal "python page_remover.py"... |
9f2cd979-d2d9-476a-84aa-2a596abead54 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-11T15:55:32", "repo_name": "erinlmiller/neighborhood-map", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1164, "line_count": 23, "lang": "en", "doc_type": "text... | https://github.com/erinlmiller/neighborhood-map | 281 | FILENAME: README.md | 0.249447 | # FEND Project 7: Neighborhood Map
## Richmond, VA Bar Map
This project is a list of bars in Richmond, VA. Locations display on a map with markers. CLicking a marker brings up the name of the bar, a link the bar's website, and a photo from FourSquare if available. Clicking the hamburger menu on the top left brings up... |
480800f2-f3af-41ff-8275-5a575e7c2cb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-19 13:55:14", "repo_name": "zkunyeah/customer", "sub_path": "/chapter22/src/main/java/org/atm/chapter22/controller/customer_create.java", "file_name": "customer_create.java", "file_ext": "java", "file_size_in_... | https://github.com/zkunyeah/customer | 187 | FILENAME: customer_create.java | 0.242206 | package org.atm.chapter22.controller;
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 java.io.IOException;
import java.text.DateFormat;
import ja... |
766219c7-4865-4989-994a-761f8fca35b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-12 04:07:56", "repo_name": "Brioal/LineCode", "sub_path": "/app/src/main/java/com/brioal/linecode/database/CodeDataBaseHelper.java", "file_name": "CodeDataBaseHelper.java", "file_ext": "java", "file_size_in_by... | https://github.com/Brioal/LineCode | 237 | FILENAME: CodeDataBaseHelper.java | 0.29584 | package com.brioal.linecode.database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
/**
* Created by Brioal on 2016/3/24.
*/
public class CodeDataBaseHelper extends SQLiteOpenHelper {
public static String CREATE_CODE_TABLE = "crea... |
ac6b4e72-9e39-4ed7-8226-d51d11433bd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-22 15:21:17", "repo_name": "Etherealss/MusicInformationMS", "sub_path": "/src/main/java/pers/wtk/common/strategy/page/mapper/SingerDaoMapper.java", "file_name": "SingerDaoMapper.java", "file_ext": "java", "fil... | https://github.com/Etherealss/MusicInformationMS | 290 | FILENAME: SingerDaoMapper.java | 0.287768 | package pers.wtk.common.strategy.page.mapper;
import pers.wtk.dao.SingerDao;
import pers.wtk.pojo.po.Singer;
import java.util.List;
/**
* @author wtk
* @description
* @date 2021-07-18
*/
public class SingerDaoMapper extends DaoMapper<Singer> {
private SingerDao singerDao;
public SingerDaoMapper(int cur... |
bc816c25-c401-48a7-8a28-35fa9a61d0a0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-06-16 14:48:36", "repo_name": "sumioturk/ishihara", "sub_path": "/src/main/java/com/sumioturk/satomi/domain/channel/Channel.java", "file_name": "Channel.java", "file_ext": "java", "file_size_in_byte": 1004, "line... | https://github.com/sumioturk/ishihara | 226 | FILENAME: Channel.java | 0.243642 | package com.sumioturk.satomi.domain.channel;
import com.sumioturk.satomi.domain.user.User;
import java.io.Serializable;
import java.util.List;
/**
* Channel object
*/
public class Channel implements Serializable {
private String id;
private String name;
private List<User> users;
/**
* Ins... |
f351f115-4099-48e9-92c7-0a57ddba1bfa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-28T02:45:55", "repo_name": "shenalt/tissera_yasser_DS_project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 19, "lang": "en", "doc_type": ... | https://github.com/shenalt/tissera_yasser_DS_project | 269 | FILENAME: README.md | 0.279042 | # tissera_yasser_DS_project
Stroke Predictor
Heroku App - https://the-stroke-predictor.herokuapp.com/
- Project Type: Classification
- Classifiying people based on whether they had a stroke or not in a certain dataset. Eventually want to make a web app that can tell a person whether they are at risk for a stroke ... |
ee09eaa0-eee0-4df3-8aa5-fbacc1cd331e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-24 14:39:42", "repo_name": "omarhatem1995/NearBy", "sub_path": "/app/src/main/java/com/example/nearby/network/RetrofitCallBack.java", "file_name": "RetrofitCallBack.java", "file_ext": "java", "file_size_in_byt... | https://github.com/omarhatem1995/NearBy | 220 | FILENAME: RetrofitCallBack.java | 0.247987 | package com.example.nearby.network;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;
import com.example.nearby.utils.MainApplication;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Response;
public abstract class RetrofitCallBack<T> implements Callback<T> {
... |
fc15ccab-2d24-48bf-8516-c95c9e699a07 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-01-26T17:12:18", "repo_name": "pedrobrazao/zf2-sample-report", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 47, "lang": "en", "doc_type": "tex... | https://github.com/pedrobrazao/zf2-sample-report | 234 | FILENAME: README.md | 0.26588 | ZF2 Sample Report Application
=============================
Introduction
------------
This is a sample non-trivial application, built on the top of Zend Framework 2,
Doctrine 2 and PHPUnit 4.4, aimed to showcase some best practices on modern web
programming with PHP.
The application is a simple report that shows tra... |
9318ed76-4cc5-4cc7-9d0f-8f81097546f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-22 14:42:23", "repo_name": "dunghy7/VBCWE_Ver_1.0", "sub_path": "/src/main/java/com/dtsvn/vbcwe/controller/HandleErrorController.java", "file_name": "HandleErrorController.java", "file_ext": "java", "file_size... | https://github.com/dunghy7/VBCWE_Ver_1.0 | 220 | FILENAME: HandleErrorController.java | 0.247987 | package com.dtsvn.vbcwe.controller;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model... |
22454c28-fe64-4cd7-a8ed-e0f3559e6fa1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 14:28:35", "repo_name": "Chen221b/Spring-Boot-Security", "sub_path": "/damon-secuity-demo/src/main/java/com/damon/dao/PersonDAO.java", "file_name": "PersonDAO.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/Chen221b/Spring-Boot-Security | 193 | FILENAME: PersonDAO.java | 0.23793 | package com.damon.dao;
import com.damon.dto.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import java.sql.ResultSet;
import java.util.List;
@Repository
public class PersonDAO {
@Autowire... |
318541ed-306d-495c-b1be-3fd3020204e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-26 17:28:14", "repo_name": "Alan18081/astra-project", "sub_path": "/query-service/src/main/java/com/alex/astraproject/queryservice/domain/position/PositionHandler.java", "file_name": "PositionHandler.java", "f... | https://github.com/Alan18081/astra-project | 171 | FILENAME: PositionHandler.java | 0.242206 | package com.alex.astraproject.queryservice.domain.position;
import com.alex.astraproject.shared.eventTypes.PositionEventType;
import com.alex.astraproject.shared.events.PositionEvent;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.stream.annotation.EnableBinding;
import... |
9120775c-55b7-400c-b2c4-a70d85266f6e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-13T13:20:32", "repo_name": "Vaakom/how-to-jasper-fonts-embedded", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1163, "line_count": 23, "lang": "en", "doc_type"... | https://github.com/Vaakom/how-to-jasper-fonts-embedded | 238 | FILENAME: README.md | 0.278257 | # HowToJasperFontsEmbedded
How to include new embedded fonts in Jasper Reports project. Arial font example.
Just create and simple jar file with new fonts and add it in your project path
************ From Jaspersoft WIKI *****************************************************************
This jar has mainly 3 fundamen... |
6a7e889e-537d-406a-98f8-99f1b9b20458 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-22 04:15:18", "repo_name": "chengtaowan/QyNovels", "sub_path": "/app/src/main/java/com/jdhd/qynovels/adapter/ShopAdapter.java", "file_name": "ShopAdapter.java", "file_ext": "java", "file_size_in_byte": 1073, "... | https://github.com/chengtaowan/QyNovels | 212 | FILENAME: ShopAdapter.java | 0.23092 | package com.jdhd.qynovels.adapter;
import android.os.Parcelable;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentPagerAdapter;
import androidx.fragment.app.FragmentStatePagerAdapter;
import com.jdhd.qynovel... |
4f3d56a4-ecfc-4447-9158-1dfb2cf75e5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-20 20:47:59", "repo_name": "Raju-Talukder/child-care", "sub_path": "/src/main/java/com/child/service/message/MessageServiceImp.java", "file_name": "MessageServiceImp.java", "file_ext": "java", "file_size_in_by... | https://github.com/Raju-Talukder/child-care | 183 | FILENAME: MessageServiceImp.java | 0.249447 | package com.child.service.message;
import com.child.dto.MessageDto;
import com.child.model.Message;
import com.child.repository.MessageRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Optional;
@Service
public class MessageSer... |
1baf60e4-f332-4d44-bab0-e7301420ebe1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-15 08:24:04", "repo_name": "RiverSonw/MyMVVMDemo", "sub_path": "/app/src/main/java/com/eddardgao/mymvvmdemo01/bean/UserBean.java", "file_name": "UserBean.java", "file_ext": "java", "file_size_in_byte": 1190, "... | https://github.com/RiverSonw/MyMVVMDemo | 291 | FILENAME: UserBean.java | 0.23231 | package com.eddardgao.mymvvmdemo01.bean;
import java.io.Serializable;
/**
* @Author EddardGao
* @Email 754231090@qq.com
* @Date 2019/5/21
* @describe ::
* @Version ::
*/
public class UserBean implements Serializable {
private static final long serialVersionUID = -4576840045338985104L;
private String ... |
0bc30a0c-8db6-4581-a020-a821785b1a18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-26 02:28:21", "repo_name": "jonysaez1/Vuelos", "sub_path": "/src/vuelos/Conexion.java", "file_name": "Conexion.java", "file_ext": "java", "file_size_in_byte": 979, "line_count": 39, "lang": "en", "doc_type": "... | https://github.com/jonysaez1/Vuelos | 191 | FILENAME: Conexion.java | 0.212069 |
package vuelos;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* @author Jonathan Saez
*/
public class Conexion {
private String url;
private String user="root";
private String password=" ";
private Connection conexion;
public Conexion(Stri... |
90dc7fe0-5546-48dd-a0dd-a8073f564778 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-20 17:04:40", "repo_name": "tranducluan1999/Java", "sub_path": "/src/storemanagementsystem/ParttimeEmployee.java", "file_name": "ParttimeEmployee.java", "file_ext": "java", "file_size_in_byte": 1050, "line_cou... | https://github.com/tranducluan1999/Java | 230 | FILENAME: ParttimeEmployee.java | 0.267408 | package storemanagementsystem;
public class ParttimeEmployee extends Emmployee{
@Override
public long getMealAllowance() {
return 0;
}
@Override
public long getSalaryRate() {
return baseSalary;
}
@Override
public int getWorkingCount() {
return totalWorkingShi... |
411e309c-288e-40ab-9cc4-dc4505be8093 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-16 12:32:28", "repo_name": "szebniok/Stocks-app", "sub_path": "/app/src/main/java/com/example/stocks/news/NewsRecyclerViewViewModel.java", "file_name": "NewsRecyclerViewViewModel.java", "file_ext": "java", "fi... | https://github.com/szebniok/Stocks-app | 187 | FILENAME: NewsRecyclerViewViewModel.java | 0.259826 | package com.example.stocks.news;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.example.stocks.domain.StockMarketService;
import com.rometools.rome.feed.synd.SyndEntry;
import org.androidannotations.annotations.Bean;
import org.androidannotations.annotations.EBean;
import... |
590f5907-1a4d-4f6c-9af0-893e97419686 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 23:55:09", "repo_name": "wooseung-sim/GoCdFetchArtifactsTask", "sub_path": "/src/main/java/net/soti/go/plugin/task/fetch/artifacts/HttpResult.java", "file_name": "HttpResult.java", "file_ext": "java", "file... | https://github.com/wooseung-sim/GoCdFetchArtifactsTask | 218 | FILENAME: HttpResult.java | 0.292595 | package net.soti.go.plugin.task.fetch.artifacts;
import java.io.IOException;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.util.EntityUtils;
class HttpResult {
private final int statusCode;
private final String data;
pri... |
ab678fbf-d542-4d1f-89e6-319c451e6e5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-08 12:15:48", "repo_name": "coder-dyh/minieverygreenframework", "sub_path": "/framework-mvc/src/main/java/org/framework/web/typeconvert/impl/SimpleTypeConvert.java", "file_name": "SimpleTypeConvert.java", "fil... | https://github.com/coder-dyh/minieverygreenframework | 209 | FILENAME: SimpleTypeConvert.java | 0.268941 | package org.framework.web.typeconvert.impl;
import org.apache.commons.beanutils.ConvertUtils;
import org.framework.web.ActionContext;
import org.framework.web.TypeExecutor;
import org.framework.web.typeconvert.TypeConvert;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Parameter;
//Bean... |
74165095-310d-47ed-8199-94916a911a87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-20 08:17:51", "repo_name": "TU-Berlin-DIMA/babelfish", "sub_path": "/compiler/src/main/java/de/tub/dima/babelfish/storage/text/leaf/CSVSourceRope.java", "file_name": "CSVSourceRope.java", "file_ext": "java", "... | https://github.com/TU-Berlin-DIMA/babelfish | 228 | FILENAME: CSVSourceRope.java | 0.23793 | package de.tub.dima.babelfish.storage.text.leaf;
import de.tub.dima.babelfish.storage.UnsafeUtils;
import de.tub.dima.babelfish.storage.text.AbstractRope;
import de.tub.dima.babelfish.typesytem.variableLengthType.Text;
public class CSVSourceRope extends AbstractRope {
private final long startPosition;
priva... |
e5b811fc-77ac-463f-82d8-9eb0a67d49c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-08 02:06:56", "repo_name": "bootcamp-33-java/BPlacement_Spring", "sub_path": "/src/main/java/com/mii/BP/services/InterviewService.java", "file_name": "InterviewService.java", "file_ext": "java", "file_size_in_... | https://github.com/bootcamp-33-java/BPlacement_Spring | 181 | FILENAME: InterviewService.java | 0.27048 | /*
* 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.mii.BP.services;
import com.mii.BP.entities.Interview;
import com.mii.BP.repositories.InterviewRepository;
import... |
7f378912-cf2b-4dc9-85ab-884a044dd88f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-28 14:29:01", "repo_name": "PIL0TS/spb-1", "sub_path": "/src/main/java/com/tream/config/MyWebAppConfigurer.java", "file_name": "MyWebAppConfigurer.java", "file_ext": "java", "file_size_in_byte": 1050, "line_co... | https://github.com/PIL0TS/spb-1 | 192 | FILENAME: MyWebAppConfigurer.java | 0.212069 | package com.tream.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@Configuration
public class MyWebAppConfigurer extends WebMvcConfigurerAdapter... |
180a28a5-a17a-4e1b-9403-bd814b67ee8b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-14 03:09:11", "repo_name": "justkeep/gong-customer-situation", "sub_path": "/gong-customer-situation-api/src/main/java/com/gong/aspect/LoginAspect.java", "file_name": "LoginAspect.java", "file_ext": "java", "f... | https://github.com/justkeep/gong-customer-situation | 272 | FILENAME: LoginAspect.java | 0.292595 | package com.gong.aspect;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
/**
* Created by Administr... |
7aff2a44-88bc-4f5a-83a5-0a34fdb7f08e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-15T23:35:35", "repo_name": "sa-2017-2018-team-5/priority-rules-system", "sub_path": "/backend/src/test/java/fr/polytech/al/five/persistence/CarTypeStorageTest.java", "file_name": "CarTypeStorageTest.java", "fi... | https://github.com/sa-2017-2018-team-5/priority-rules-system | 216 | FILENAME: CarTypeStorageTest.java | 0.289372 | package fr.polytech.al.five.persistence;
import arquillian.AbstractPRSTest;
import fr.polytech.al.five.entities.CarStatus;
import fr.polytech.al.five.entities.CarType;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.transaction.api.annotation.TransactionMode;
import org.jboss.arquillian.trans... |
53fc18ad-1dbd-4558-bb07-6f122ef94d42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-23 10:02:34", "repo_name": "stylesmangalasseri/spring-hibernate-starting", "sub_path": "/src/main/java/com/example/demo/config/PropertyConfig.java", "file_name": "PropertyConfig.java", "file_ext": "java", "fil... | https://github.com/stylesmangalasseri/spring-hibernate-starting | 184 | FILENAME: PropertyConfig.java | 0.23793 | package com.example.demo.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.support.PropertyS... |
a23a2688-4d37-4192-a4d1-cf51fcb54fa7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-17 19:24:41", "repo_name": "DavidCerny2737/PAA-semestralWork", "sub_path": "/app/src/main/java/cz/tul/nutritiontracker/dto/enumerate/Nutrient.java", "file_name": "Nutrient.java", "file_ext": "java", "file_size... | https://github.com/DavidCerny2737/PAA-semestralWork | 385 | FILENAME: Nutrient.java | 0.279042 | package cz.tul.nutritiontracker.dto.enumerate;
public enum Nutrient {
CA("Calcium", "mg"), CHOCDF("Carbs", "g"), CHOLE("Cholesterol", "mg"),
FAMS("Monounsaturated", "g"), FAPU("Polyunsaturated", "g"), FASAT("Saturated", "g"),
FAT("Fat", "g"), FATRN("Trans", "g"), FE("Iron", "mg"), FIBTG("Fiber", "g"),
... |
82192a5f-b204-4a93-b685-7adbcd2f5b01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-01 18:14:34", "repo_name": "RubenVermeulen/HoGentRestoApp", "sub_path": "/android/app/src/main/java/resto/android/hogent/be/hogentresto/models/Product.java", "file_name": "Product.java", "file_ext": "java", "f... | https://github.com/RubenVermeulen/HoGentRestoApp | 218 | FILENAME: Product.java | 0.214691 | package resto.android.hogent.be.hogentresto.models;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/**
* Created by jonas on 28/11/2016.
*/
public class Product implements Serializable
{
@SerializedN... |
02c0ccf3-f88b-4e5f-bafa-3f2c99f3e88f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-20 21:03:39", "repo_name": "EladJarby/Test", "sub_path": "/app/src/main/java/com/example/elad/test/screens/main/fragments/contactslist/impl/ContactsListPresenter.java", "file_name": "ContactsListPresenter.java... | https://github.com/EladJarby/Test | 227 | FILENAME: ContactsListPresenter.java | 0.278257 | package com.example.elad.test.screens.main.fragments.contactslist.impl;
import android.support.v4.util.Consumer;
import android.util.Log;
import com.example.elad.test.data.DataManager;
import com.example.elad.test.data.dagger.scopes.FragmentScope;
import com.example.elad.test.data.model.ContactsItem;
import com.examp... |
90e68d2c-2cff-4fd2-ad76-478c7fd14d02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-03 08:41:55", "repo_name": "denisprog/chat-websockets", "sub_path": "/src/main/java/by/iba/bot/chat/controller/MessagesController.java", "file_name": "MessagesController.java", "file_ext": "java", "file_size_i... | https://github.com/denisprog/chat-websockets | 179 | FILENAME: MessagesController.java | 0.286968 | package by.iba.bot.chat.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.... |
b07f46f6-e026-4c9f-a8af-8ef51aa14d5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-05-14T02:49:50", "repo_name": "franleplant/SOM-box", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1233, "line_count": 55, "lang": "en", "doc_type": "text", "blob_... | https://github.com/franleplant/SOM-box | 304 | FILENAME: README.md | 0.203075 | SOM-box
=======
> PARTIAL INSTRUCTIONS: Opted to all-in-one installer: Enthought.
Checkout [SOM repo](https://github.com/franleplant/SOM.git)
This repository contains a Vagrant machine to work in the SOM project.
## Instructions
### Download and Install:
1. [Virtual Box](https://www.virtualbox.org/wiki/Downloads)
... |
5ab60a3c-9b8e-4b85-9de1-9d527f6ea470 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-02 06:50:19", "repo_name": "1872209334/svntest", "sub_path": "/api/src/main/java/com/qf/common/redis/RedisCacheManager.java", "file_name": "RedisCacheManager.java", "file_ext": "java", "file_size_in_byte": 116... | https://github.com/1872209334/svntest | 222 | FILENAME: RedisCacheManager.java | 0.259826 | package com.qf.common.redis;
import org.apache.shiro.cache.Cache;
import org.apache.shiro.cache.CacheException;
import org.apache.shiro.cache.CacheManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Re... |
61a6aa44-7fc3-4996-8657-932e154904f8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-17 08:00:31", "repo_name": "xiaowangziw/demo2-Swagger", "sub_path": "/src/test/java/com/example/demo/TestController.java", "file_name": "TestController.java", "file_ext": "java", "file_size_in_byte": 1031, "li... | https://github.com/xiaowangziw/demo2-Swagger | 203 | FILENAME: TestController.java | 0.2227 | package com.example.demo;
import com.example.demo.untils.RedisTool;
import org.junit.runner.RunWith;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;
import org.sp... |
dacd80e0-0460-4409-9e2d-ee75c017eac9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-04 14:06:50", "repo_name": "BarBar2070/lab1", "sub_path": "/app/src/main/java/com/example/laborator1/NewActivity.java", "file_name": "NewActivity.java", "file_ext": "java", "file_size_in_byte": 1113, "line_cou... | https://github.com/BarBar2070/lab1 | 187 | FILENAME: NewActivity.java | 0.229535 | package com.example.laborator1;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.widget.ImageView;
public class NewActivity extends AppCompatActivity {
@Override
pro... |
91855300-b193-4b99-b89b-90cf035ebe2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-23 13:03:15", "repo_name": "miolfo/FstNotes", "sub_path": "/app/src/main/java/com/example/forge/fstnotes/NoteAdapter.java", "file_name": "NoteAdapter.java", "file_ext": "java", "file_size_in_byte": 1040, "line... | https://github.com/miolfo/FstNotes | 202 | FILENAME: NoteAdapter.java | 0.268941 | package com.example.forge.fstnotes;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.ArrayList;
/**
* Created by Forge on 9/20/2016.
*/
public class Note... |
ff18070f-b234-46ba-9141-7de81e0ad756 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-10 04:24:33", "repo_name": "RezaNurRochmat13/Spring-Boot-Security-Example", "sub_path": "/src/main/java/com/rejak/springsecurityexamples/role/usecase/RoleUseCaseImpl.java", "file_name": "RoleUseCaseImpl.java",... | https://github.com/RezaNurRochmat13/Spring-Boot-Security-Example | 235 | FILENAME: RoleUseCaseImpl.java | 0.293404 | package com.rejak.springsecurityexamples.role.usecase;
import com.rejak.springsecurityexamples.role.dao.RoleDao;
import com.rejak.springsecurityexamples.role.repository.RoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
... |
d4289444-bb50-4015-8841-7c3137197e42 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-08-28 18:33:44", "repo_name": "Sonat-Consulting/javabin-play-java-demo", "sub_path": "/app/controllers/JavaZoneTweet.java", "file_name": "JavaZoneTweet.java", "file_ext": "java", "file_size_in_byte": 1108, "line_... | https://github.com/Sonat-Consulting/javabin-play-java-demo | 219 | FILENAME: JavaZoneTweet.java | 0.280616 | package controllers;
import models.Tweet;
import org.codehaus.jackson.JsonNode;
import play.libs.F;
import play.libs.Json;
import play.libs.WS;
import play.mvc.Controller;
import play.mvc.Result;
import views.html.tweets;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
/**
* @author s... |
20735924-9829-43be-adaa-9b6d6d46cca0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-27 04:29:26", "repo_name": "intuij/Tetris", "sub_path": "/src/control/KeyController.java", "file_name": "KeyController.java", "file_ext": "java", "file_size_in_byte": 980, "line_count": 39, "lang": "en", "doc_... | https://github.com/intuij/Tetris | 247 | FILENAME: KeyController.java | 0.279042 | package control;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
public class KeyController extends KeyAdapter {
private GameController gameController;
public KeyController(GameController gameController) {
this.gameController = gameController;
}
@Override
public void keyPressed(KeyEvent e... |
f7a0fb6e-b991-4deb-8c0a-63cade1311d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-02T14:07:18", "repo_name": "doyler/RWSH", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1190, "line_count": 29, "lang": "en", "doc_type": "text", "blob_id": "6c... | https://github.com/doyler/RWSH | 280 | FILENAME: README.md | 0.190724 | # RWSH - Ray's Web SHell
A PHP web shell and its Python based client
# Features
* Encoded communication
* Pseudo-interactive shell

* Cleaner output formatting than PHP passthru
* Hostname and username (whoami) detection
* (Mostly) Clean... |
657c08a1-a88e-49b4-9c2d-c85314fe09aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-19 02:03:28", "repo_name": "edsonw11/AndroidCaelum", "sub_path": "/app/src/main/java/br/com/caelum/cadastro/SMSRecevier.java", "file_name": "SMSRecevier.java", "file_ext": "java", "file_size_in_byte": 1060, "l... | https://github.com/edsonw11/AndroidCaelum | 240 | FILENAME: SMSRecevier.java | 0.271252 | package br.com.caelum.cadastro;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.telephony.SmsMessage;
import android.widget.Toast;
import br.com.caelum.cadastro.R;
import br.com.caelum.cadastro.br.com.caelum.dao.... |
11491614-71bb-4858-b374-6292ac3025ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-17 13:05:04", "repo_name": "eniacce/hql-builder", "sub_path": "/hql-builder/hql-builder-web/hql-builder-webservice/src/main/java/org/tools/hqlbuilder/webservice/jquery/ui/owl_carousel_2/OwlCarousel2.java", "fi... | https://github.com/eniacce/hql-builder | 209 | FILENAME: OwlCarousel2.java | 0.250913 | package org.tools.hqlbuilder.webservice.jquery.ui.owl_carousel_2;
import org.tools.hqlbuilder.webservice.jquery.ui.jqueryui.JQueryUI;
import org.tools.hqlbuilder.webservice.wicket.CssResourceReference;
import org.tools.hqlbuilder.webservice.wicket.JavaScriptResourceReference;
/**
* @author http://www.owlcarousel.owl... |
89158247-08ee-40ff-872d-475256f03f50 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-26 09:13:06", "repo_name": "rainmaple/rainmaple_simpledfs", "sub_path": "/rainmaple_dfs/distr_fileSystem/distri_fileStorage/src/main/java/cn/edu/ruc/adcourse/fileStorage/communicate_with_server/CommunicateWith... | https://github.com/rainmaple/rainmaple_simpledfs | 226 | FILENAME: CommunicateWithServerThreadSupport.java | 0.291787 | package cn.edu.ruc.adcourse.fileStorage.communicate_with_server;
import cn.edu.ruc.adcourse.utils.SimpleThreadPool;
import java.io.IOException;
/**
* 该类提供了节点服务器与FileServer通信的异步支持
* Created by rainmaple on 2019/11/5.
*/
public class CommunicateWithServerThreadSupport implements CommunicateWithServerStrategy{
p... |
9f099d70-63b1-4f8e-a74b-9da7393b0ec7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-09 14:27:42", "repo_name": "zww0019/JdoubanFM", "sub_path": "/src/main/java/team/ngup/douban/common/cookie/CookieUtil.java", "file_name": "CookieUtil.java", "file_ext": "java", "file_size_in_byte": 1015, "line... | https://github.com/zww0019/JdoubanFM | 183 | FILENAME: CookieUtil.java | 0.245085 | package team.ngup.douban.common.cookie;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
public class CookieUtil {
private static Map<String,String> cookies = new ConcurrentHashMap<>();
public static void addCookie(String cookie){
String[] temp = cookie.... |
f1999243-c688-487e-801c-eedfe1c1aee5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-08 15:29:12", "repo_name": "lkamdem/tp-spring-epita", "sub_path": "/src/main/java/com/formation/epita/infrastructure/adresse/AdresseEntity.java", "file_name": "AdresseEntity.java", "file_ext": "java", "file_si... | https://github.com/lkamdem/tp-spring-epita | 295 | FILENAME: AdresseEntity.java | 0.220007 | package com.formation.epita.infrastructure.adresse;
import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class AdresseEntity {
@Column(name = "numero")
private int numeroRue;
@Column(name = "rue")
private String nomRue;
private int codePostal;
private St... |
9e8e5276-0cff-4794-bc9f-3f2e820b4508 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-19 13:11:34", "repo_name": "lagg99/Biomecanica", "sub_path": "/Back/data/src/main/java/bmc/care/exception/ServiceException.java", "file_name": "ServiceException.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/lagg99/Biomecanica | 174 | FILENAME: ServiceException.java | 0.239349 | package bmc.care.exception;
import java.io.PrintWriter;
import java.io.StringWriter;
public class ServiceException extends Exception {
public ServiceException() {
super();
}
public ServiceException(String message) {
super(message);
}
public ServiceException(String message, Throwa... |
b27f24f4-7157-4b59-95e0-39f1c9fc6191 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-17 14:15:41", "repo_name": "luisfilipemotag/DescobreViseu", "sub_path": "/app/src/main/java/com/example/chip/descobreviseu/PrimeiroLogin.java", "file_name": "PrimeiroLogin.java", "file_ext": "java", "file_size... | https://github.com/luisfilipemotag/DescobreViseu | 228 | FILENAME: PrimeiroLogin.java | 0.262842 | package com.example.chip.descobreviseu;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;
public class PrimeiroLogin extends AppCompatActivity {
DB_Helper Dbh;
TextView No... |
bf0294f8-1d81-43d0-8491-a9c9d855b119 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-26 02:35:43", "repo_name": "kim93j5/soomgosusta", "sub_path": "/Soomgosusta/src/soomgosusta/action_expertAction/RegisterEstimateAction.java", "file_name": "RegisterEstimateAction.java", "file_ext": "java", "fi... | https://github.com/kim93j5/soomgosusta | 190 | FILENAME: RegisterEstimateAction.java | 0.284576 | package soomgosusta.action_expertAction;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import soomgosusta.action_interface.Action;
import soomgosusta.action_interface.ActionForward;
import soomgosusta.service.ChatService;
import soomgosusta.service.EstimateServic... |
cda0bef0-6ab9-4b53-9947-3a43f22e5ac5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-24T14:32:09", "repo_name": "rakeshchowdary07/Ofline-gmail-notification-with-python", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1051, "line_count": 28, "lang... | https://github.com/rakeshchowdary07/Ofline-gmail-notification-with-python | 230 | FILENAME: README.md | 0.272025 | # Ofline gmail notification using python.
## Aim
- The offline email notification is the program where we can get our email notification without the use of the internet.
- This is helpful in every situation where one cannot use the internet.
- It directly gives the notification to the mobile number which Gmail is sy... |
10171012-a05f-4f7d-8edc-cc19d0bcce64 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-06 12:57:28", "repo_name": "fengchuidaoguxiang/MyBatis", "sub_path": "/mybatis_one2many/src/com/test/MyTest.java", "file_name": "MyTest.java", "file_ext": "java", "file_size_in_byte": 1141, "line_count": 38, "... | https://github.com/fengchuidaoguxiang/MyBatis | 237 | FILENAME: MyTest.java | 0.291787 | package com.test;
import com.domain.Department;
import com.domain.Employee2;
import com.mapper.DepartmentMapper;
import com.mapper.Employee2Mapper;
import com.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;
import java.nio.channels.SeekableByteChannel;
import java.util.List;
p... |
8eb0e9f5-13a9-4f01-b365-ae3afcb8d821 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-01 12:13:21", "repo_name": "VassilisMp/airport", "sub_path": "/src/com/company/Flight.java", "file_name": "Flight.java", "file_ext": "java", "file_size_in_byte": 1077, "line_count": 51, "lang": "en", "doc_type... | https://github.com/VassilisMp/airport | 219 | FILENAME: Flight.java | 0.290981 | package com.company;
import java.io.Serializable;
import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
public class Flight implements Comparable<Flight>, Serializable {
private LocalDateTime dateTime;
private DayOfWeek day;
private int seats;
... |
f9c4a58e-ff09-40f2-961b-a312f0300dcd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-10T00:01:31", "repo_name": "mmubasheriqbal/Final-Project", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 18, "lang": "en", "doc_type": "text... | https://github.com/mmubasheriqbal/Final-Project | 232 | FILENAME: README.md | 0.200558 | # Final-Project
This is a documentation of the Final Project.
Link to Live Hosted Site: http://sites.bxmc.poly.edu/~mubasheriqbal/Final%20Project/home.html
# Changes from Midterms:
- Home: Added a carrousel. Favorite movie cards, with hover on effects. Bootstrap Navbar.
- Movie Page: Added a trailer for the movie. R... |
8e9a5419-9e47-4754-aa57-2f8bde5182f1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-01 05:20:15", "repo_name": "kaelbastos/Good_Clean_Fun", "sub_path": "/src/main/java/org/kaelbastos/Domain/UseCases/ProductsUseCases/InsertProductKit.java", "file_name": "InsertProductKit.java", "file_ext": "ja... | https://github.com/kaelbastos/Good_Clean_Fun | 174 | FILENAME: InsertProductKit.java | 0.290981 | package org.kaelbastos.Domain.UseCases.ProductsUseCases;
import org.kaelbastos.Domain.CustomExceptions.EntityAlreadyExistsException;
import org.kaelbastos.Domain.Entities.Product.Product;
import org.kaelbastos.Domain.Entities.Product.ProductValidator;
import org.kaelbastos.Domain.Entities.utils.Notification;
import or... |
f389466e-7862-45be-9588-20f9e60f28a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-17 06:49:19", "repo_name": "donghyuck/legacy-architecture-project", "sub_path": "/architecture-common/src/main/java/architecture/common/event/internal/AnnotationAsynchronousEventResolver.java", "file_name": "A... | https://github.com/donghyuck/legacy-architecture-project | 195 | FILENAME: AnnotationAsynchronousEventResolver.java | 0.268941 | package architecture.common.event.internal;
import static com.google.common.base.Preconditions.checkNotNull;
import architecture.common.event.api.AsynchronousPreferred;
/**
* <p>Annotation based {@link AsynchronousEventResolver}. This will check whether the event is annotated with the given
* annotation.</p>
* <p... |
62806a16-a8db-46d4-932d-ef9e7a9ad262 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-14 19:16:44", "repo_name": "Omkar399/College_Selector", "sub_path": "/app/src/main/java/com/example/basicfragmentbottomnavigation/FragmentWarning.java", "file_name": "FragmentWarning.java", "file_ext": "java",... | https://github.com/Omkar399/College_Selector | 178 | FILENAME: FragmentWarning.java | 0.229535 | package com.example.basicfragmentbottomnavigation;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget... |
30d1fd36-7e7c-425a-ae72-506b9b68cee3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-13 01:52:26", "repo_name": "hybridappnest/AppNestAndroid", "sub_path": "/tuikit/src/main/java/com/ymy/im/helper/type/WebViewType.java", "file_name": "WebViewType.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/hybridappnest/AppNestAndroid | 337 | FILENAME: WebViewType.java | 0.233706 | package com.ymy.im.helper.type;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import androidx.annotation.StringDef;
/**
* Created on 2020/8/25 09:40.
*
* @author:hanxueqiang
* @version: 1.0.0
* @de... |
74079f07-5967-4996-926e-0f1d3b25a1d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-05 23:53:09", "repo_name": "jksantanderg/TareaIntegradora3_3", "sub_path": "/src/model/HeadCoach.java", "file_name": "HeadCoach.java", "file_ext": "java", "file_size_in_byte": 1014, "line_count": 52, "lang": "... | https://github.com/jksantanderg/TareaIntegradora3_3 | 240 | FILENAME: HeadCoach.java | 0.26588 | package model;
public class HeadCoach extends Coach{
private int equipment;
private int championships;
/**
* @param nameEmployees
* @param id
* @param salary
* @param state
* @param yearsExperience
* @param equipment
* @param championships
*/
public HeadCoach(String nameEmployees, String id, Stri... |
ab30ba13-360e-4ed8-999c-d3bc53ae6171 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-09T13:53:08", "repo_name": "thomaszhou63/node-web", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1434, "line_count": 35, "lang": "zh", "doc_type": "text", "blo... | https://github.com/thomaszhou63/node-web | 334 | FILENAME: README.md | 0.282988 | /blob/master/# node学起来
>## ```Vue + Vue-router + axios + nodejs + mongodb + mongoose```
这是在学习完vue之后的一个新的学习模块--node。前端是vue实现的,主要实现了nodejs,通过本项目,我清楚了node和数据库以及前端框架vue,通过axios向后台发送请求,后台是如何进行接受并进行操作的。
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# b... |
52908c3a-0d07-4e6d-b2f0-771e3fdc1c44 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-09-07T20:57:11", "repo_name": "vlvagerviwager/remote-working-is-the-future", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1190, "line_count": 18, "lang": "en", "d... | https://github.com/vlvagerviwager/remote-working-is-the-future | 322 | FILENAME: README.md | 0.236516 | # Remote working is the future.
Remote working is the future.
Just a bunch of links for now.
---
- [Remote: Office Not Required, by David Heinemeier Hansson and Jason Fried](https://37signals.com/remote)
- [Stack Overflow - Why We (Still) Believe in Working Remotely](https://stackoverflow.blog/2013/02/01/why-we-sti... |
0c5d61d5-672b-4622-ac4d-a72ce64941c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-16 18:43:24", "repo_name": "springdoc/springdoc-openapi", "sub_path": "/springdoc-openapi-starter-webmvc-ui/src/test/java/test/org/springdoc/ui/AbstractCommonTest.java", "file_name": "AbstractCommonTest.java",... | https://github.com/springdoc/springdoc-openapi | 213 | FILENAME: AbstractCommonTest.java | 0.261331 | package test.org.springdoc.ui;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigure... |
9a5483c7-1295-457b-9fa6-8a5c739bd597 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-17 18:52:43", "repo_name": "vtajzich/kafka-vehicle-example", "sub_path": "/kafka-vehicle-domain/src/main/java/com/kafka/vehicle/domain/DefaultVehicle.java", "file_name": "DefaultVehicle.java", "file_ext": "jav... | https://github.com/vtajzich/kafka-vehicle-example | 218 | FILENAME: DefaultVehicle.java | 0.246533 | package com.kafka.vehicle.domain;
import java.util.StringJoiner;
import java.util.UUID;
class DefaultVehicle implements Vehicle {
private final String id;
private final String name;
private final Metadata metadata;
DefaultVehicle(String name, Metadata metadata) {
this.id =UUID.randomUUID().... |
59ef1550-5e64-4815-b88b-600a743b4f8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-15T12:09:24", "repo_name": "sdadsp/LEDMAT3", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1086, "line_count": 37, "lang": "en", "doc_type": "text", "blob_id": ... | https://github.com/sdadsp/LEDMAT3 | 300 | FILENAME: README.md | 0.268941 | # LEDMAT3
## HDMI - LED Display Controller (FPGA)
This is a simple FPGA project (and PCB as well) for driving the common LED RGB-matrixes based on the popular drivers. MBI5124, MBI5153, and ICN2038 chips.
The input data is derived from:
* HDMI Input
* TPG (test pattern generator),
* BMP image, downloaded to FPGA RAM
... |
ee988c2e-e7cf-4fad-85dc-124d8e6cd590 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-08 00:18:14", "repo_name": "joamis/repo-details-service", "sub_path": "/repositoryDetails/src/main/java/com/example/repositoryDetails/RepositoryController.java", "file_name": "RepositoryController.java", "file... | https://github.com/joamis/repo-details-service | 189 | FILENAME: RepositoryController.java | 0.229535 | package com.example.repositoryDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.cl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.