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 |
|---|---|---|---|---|---|---|
c8a76ae9-21c4-4822-8bfe-4b20726c489a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 02:33:10", "repo_name": "jonathanapm/webservice-jpa", "sub_path": "/src/main/java/com/webservicejpa/controller/ProductController.java", "file_name": "ProductController.java", "file_ext": "java", "file_size_... | https://github.com/jonathanapm/webservice-jpa | 173 | FILENAME: ProductController.java | 0.259826 | package com.webservicejpa.controller;
import com.webservicejpa.entities.Product;
import com.webservicejpa.services.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springf... |
125db9dc-2c40-41e3-bf0d-4df671d9cf2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-12 02:29:51", "repo_name": "soldiers1989/my_dev", "sub_path": "/ddf-parent/ddf-common-entity/src/main/java/com/ddf/entity/member/query/AlipayZhimaCreditQuery.java", "file_name": "AlipayZhimaCreditQuery.java", ... | https://github.com/soldiers1989/my_dev | 301 | FILENAME: AlipayZhimaCreditQuery.java | 0.283781 | package com.ddf.entity.member.query;
import java.util.Date;
import com.ddf.entity.base.query.Query;
import com.ddf.entity.member.dto.AlipayZhimaCredit;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
* alipay_zhima_credit EntityQuery
* @author robot
* @version 2018-01-17
*/
public class AlipayZhimaCredit... |
dd24c095-dada-4ad5-9166-58aa36e110a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-30 06:10:04", "repo_name": "pascalgrimaud/jhipster-microservices", "sub_path": "/gateway/src/main/java/io/github/pascalgrimaud/client/config/FeignErrorDecoder.java", "file_name": "FeignErrorDecoder.java", "fil... | https://github.com/pascalgrimaud/jhipster-microservices | 215 | FILENAME: FeignErrorDecoder.java | 0.246533 | package io.github.pascalgrimaud.client.config;
import feign.Response;
import feign.codec.ErrorDecoder;
import io.github.pascalgrimaud.client.exception.BusinessException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.naming.ServiceUnavailableException;
/**
* Created by pgrimaud on 03/12/16.
... |
bb7bc1ca-2a2a-4722-a85a-492f33c6c821 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-27 01:38:17", "repo_name": "liwj007/szpd", "sub_path": "/src/main/java/com/liwj/szpd/utils/ChinesePinyinUtil.java", "file_name": "ChinesePinyinUtil.java", "file_ext": "java", "file_size_in_byte": 1214, "line_c... | https://github.com/liwj007/szpd | 297 | FILENAME: ChinesePinyinUtil.java | 0.253861 | package com.liwj.szpd.utils;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
import net.sourceforge.pinyin4j.format.exception.BadHanyuPinyinOutputFormatCombination;
public class ChinesePinyinUtil ... |
e2c97566-0ce4-4267-bd4a-43baa8f30775 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-13T22:40:44", "repo_name": "nick-neal/Ubuntu-16-battery-notification", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1050, "line_count": 33, "lang": "en", "doc_... | https://github.com/nick-neal/Ubuntu-16-battery-notification | 251 | FILENAME: README.md | 0.239349 | # Ubuntu Desktop 16.04 LTS Battery Notification
A script that will notify you that your battery is getting low on Ubuntu Desktop 16.04.2 LTS
## Setup
To setup this script, you will need to clone the repo, and go into the directory on your computer.
After that, run the following commands:
chmod u+x battery-notifica... |
494c815e-82f2-4b65-8806-90d1c188c92d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-27 03:54:13", "repo_name": "minhlunso1/Ambulance-NOW", "sub_path": "/app/src/main/java/pinride/minhna/submission/ambulancenow/map/Polyline.java", "file_name": "Polyline.java", "file_ext": "java", "file_size_in... | https://github.com/minhlunso1/Ambulance-NOW | 207 | FILENAME: Polyline.java | 0.228156 | package pinride.minhna.submission.ambulancenow.map;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.gson.annotations.SerializedName;
public class Polyline implements Parcelable {
@SerializedName("points")
private String points;
protected Polyline(Parcel in) {
points = ... |
28941f54-81a4-4b0a-beab-6235db14baa8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-07 13:54:06", "repo_name": "thaolt267/selecnium-homework", "sub_path": "/demo-web-homework/src/test/java/models/components/global/footer/MenuCustomerServiceComponent.java", "file_name": "MenuCustomerServiceCom... | https://github.com/thaolt267/selecnium-homework | 189 | FILENAME: MenuCustomerServiceComponent.java | 0.26971 | package models.components.global.footer;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import java.security.SecureRandom;
import java.util.List;
public class MenuCustomerServiceComponent {
private final WebDriver driver;
private final By customerS... |
d26602a7-826e-423c-945a-92bb554e2edb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-31 15:05:34", "repo_name": "TimWoolford/bango", "sub_path": "/bango-test/src/main/java/sonique/bango/matcher/DateMatcher.java", "file_name": "DateMatcher.java", "file_ext": "java", "file_size_in_byte": 994, "l... | https://github.com/TimWoolford/bango | 194 | FILENAME: DateMatcher.java | 0.290176 | package sonique.bango.matcher;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
import java.time.ZoneId;
import java.time.ZonedDateTime;
import java.util.Date;
public abstract class DateMatcher extends TypeSafeMatcher<Date> {
public static DateMatcher theSameDateAs(Date date) {
ret... |
013adaed-5899-4ba7-9bd5-320a2f1ffe9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-16 00:14:39", "repo_name": "brenonocciolizup/orange-talents-07-template-ecommerce", "sub_path": "/src/main/java/br/com/zupacademy/brenonoccioli/mercadolivre/annotations/UniqueValueValidator.java", "file_name":... | https://github.com/brenonocciolizup/orange-talents-07-template-ecommerce | 228 | FILENAME: UniqueValueValidator.java | 0.29584 | package br.com.zupacademy.brenonoccioli.mercadolivre.annotations;
import org.springframework.util.Assert;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext... |
a6024645-ad61-4af2-939d-e54e9aabf117 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-07 10:52:22", "repo_name": "aaronrs/ContactOrders", "sub_path": "/src/test/java/net/astechdesign/clients/model/todo/TodosTest.java", "file_name": "TodosTest.java", "file_ext": "java", "file_size_in_byte": 972,... | https://github.com/aaronrs/ContactOrders | 208 | FILENAME: TodosTest.java | 0.281406 | package net.astechdesign.clients.model.todo;
import net.astechdesign.clients.model.contact.Contact;
import org.junit.Test;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import static org.hamcrest.CoreMatc... |
d79da1a0-d0f1-49f0-9f29-acab2d64be05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 03:45:01", "repo_name": "FPhoenixCorneaE/Ignorance", "sub_path": "/LIgnorance/src/main/java/com/livelearn/ignorance/ui/fragment/ImageFragment.java", "file_name": "ImageFragment.java", "file_ext": "java", "f... | https://github.com/FPhoenixCorneaE/Ignorance | 227 | FILENAME: ImageFragment.java | 0.194368 | package com.livelearn.ignorance.ui.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import com.livelearn.ignorance.R;
import com.livelearn.ignorance.base.BaseFragment;
import com.livelearn.ignorance.ui.fragment.image.TianGouPrettyPictureFragment;
import com.livele... |
e4a30152-a82c-4e47-a0ca-c72250aa507b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-11-23T09:20:32", "repo_name": "dtinblack/RaspberryPi-Notes", "sub_path": "/C/SimpleServer/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1172, "line_count": 30, "lang": "en", "do... | https://github.com/dtinblack/RaspberryPi-Notes | 279 | FILENAME: README.md | 0.261331 | # Simple Server
Develop a simple sever written in the programming language [C](https://en.wikipedia.org/wiki/C_(programming_language))
## Background
The simple server returns a message for every request a web browser makes.
To connect via telnet ( on the server machine ):
```
telnet 127.0.0.1 5000
```
## Thanks
... |
53053a4f-fa39-40e3-8275-8dfd4d1c2c2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-10T16:36:09", "repo_name": "macmillanpublishers/vba_utilities", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 12, "lang": "en", "doc_type": ... | https://github.com/macmillanpublishers/vba_utilities | 220 | FILENAME: README.md | 0.205615 | # vba_utilities
Reusable modules and dev utilities for the Macmillan Word template and macros.
## dependencies
Externally produced modules that must be incorporated into the main Utilities template file, but which are not part of this repo. Currently includes the wonderful [VBA-JSON](https://github.com/VBA-tools/VBA-J... |
cc702fab-1676-4eb8-ad52-db9cebef2770 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-14 13:50:21", "repo_name": "skok1025/MeetingWebProject", "sub_path": "/src/com/meeting/mypage/ManagerSOS.java", "file_name": "ManagerSOS.java", "file_ext": "java", "file_size_in_byte": 1195, "line_count": 40, ... | https://github.com/skok1025/MeetingWebProject | 237 | FILENAME: ManagerSOS.java | 0.288569 | package com.meeting.mypage;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse... |
51da1d28-f9f4-4eb9-bf10-29f545d256d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-28 06:59:27", "repo_name": "wsy121250155/lovecat", "sub_path": "/app_framework_demo/src/com/ailk/ec/unitdesk/models/http/param/StrInst.java", "file_name": "StrInst.java", "file_ext": "java", "file_size_in_byte... | https://github.com/wsy121250155/lovecat | 280 | FILENAME: StrInst.java | 0.258326 | package com.ailk.ec.unitdesk.models.http.param;
public class StrInst {
public String defShowUrl;
public String showSize;
public String clickUrl;
public String serviceCode;
public String BgColor;
public int funcId;
public String iosLocation;
public int sortNum;
public String instName;
public String instTypeI... |
10910e50-0e66-4b3d-badc-9236a2a7f26f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-14 17:37:26", "repo_name": "albertoruvel/shakepoint-machine-connector", "sub_path": "/src/main/java/com/shakepoint/web/io/data/entity/Machine.java", "file_name": "Machine.java", "file_ext": "java", "file_size_... | https://github.com/albertoruvel/shakepoint-machine-connector | 256 | FILENAME: Machine.java | 0.250913 | package com.shakepoint.web.io.data.entity;
import javax.persistence.*;
import java.util.List;
@Entity(name = "Machine")
@Table(name = "machine")
public class Machine {
@Id
private String id;
private String name;
@Column(name = "technician_id")
private String technicianId;
@OneToMany(fetch =... |
e357f01b-1aec-44ea-9ecb-288b75f42e26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-15T19:50:44", "repo_name": "IsabellaCaspari/isabellas-angular-app", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 24, "lang": "en", "doc_typ... | https://github.com/IsabellaCaspari/isabellas-angular-app | 257 | FILENAME: README.md | 0.206894 | # IsabellasAngularApp
[](https://github.com/IsabellaCaspari/isabellas-angular-app/actions)
This is my personal website, it contains information about me and my portfolio is shown.
## Development server
Run `ng serve` for ... |
a76ff521-c7dc-478d-9b78-0a63d77bc6d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-11 00:12:14", "repo_name": "gdrte/rapi-ca-sa", "sub_path": "/src/main/java/rapi/ca/certificate/model/PKCS12CertificateRequest.java", "file_name": "PKCS12CertificateRequest.java", "file_ext": "java", "file_size... | https://github.com/gdrte/rapi-ca-sa | 247 | FILENAME: PKCS12CertificateRequest.java | 0.243642 | package rapi.ca.certificate.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang.builder.ToStringBuilder;
import java.io.Serializable;
public class PKCS12CertificateRequest implements Serializable {
private static final long serialVersionUID = -8359388328788919401L;
Certific... |
7539d041-41f5-4f64-89fc-35d5d7b31706 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-04 06:48:48", "repo_name": "wingjay/jayAndroid", "sub_path": "/app/src/main/java/com/wingjay/jayandroid/javaresearch/JavaResearchActivity.java", "file_name": "JavaResearchActivity.java", "file_ext": "java", "f... | https://github.com/wingjay/jayAndroid | 203 | FILENAME: JavaResearchActivity.java | 0.249447 | package com.wingjay.jayandroid.javaresearch;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.util.Log;
import com.wingjay.jayandroid.BaseActivity;
/**
* Created by Jay on 3/22/17.
*/
public class JavaResearchActivity extends BaseActivity {
... |
132b913e-c3c4-4e10-8e4f-17f2ad0e3d9c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-02 23:58:56", "repo_name": "mirzaakhena/Snake-Game-Multiplayer", "sub_path": "/src/main/java/com/mirza/snakemultiplayer/logic/Player.java", "file_name": "Player.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/mirzaakhena/Snake-Game-Multiplayer | 246 | FILENAME: Player.java | 0.246533 | package com.mirza.snakemultiplayer.logic;
import java.awt.Color;
import java.io.Serializable;
import java.net.InetAddress;
public class Player implements Serializable {
private static final long serialVersionUID = 1L;
private int id;
private String name;
private InetAddress ipAddress;
private Color color;
pub... |
9c611883-cf77-4223-994f-60d6416d8a3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-08-26T16:07:28", "repo_name": "abbeygirl/nzedb", "sub_path": "/Release-Management.md", "file_name": "Release-Management.md", "file_ext": "md", "file_size_in_byte": 995, "line_count": 37, "lang": "en", "doc_ty... | https://github.com/abbeygirl/nzedb | 297 | FILENAME: Release-Management.md | 0.256832 | # Managing Your Releases
Here a few commands/scripts that are useful for general day-to-day operations.
### Find a specific release based on ID
```
for i in {1..9999}; do ps aux | grep postprocess_new.php | grep -v grep | sed -e 's/://g' | awk '{print $13,$15 }' | grep 4751258; done
```
outputs the ID and GUID of the... |
d5c0a099-0a7e-454f-a1ff-c8b23891561b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-20 07:13:39", "repo_name": "zyyoona7/Jokes", "sub_path": "/app/src/main/java/com/zyyoona7/jokes/adapter/MainVpAdapter.java", "file_name": "MainVpAdapter.java", "file_ext": "java", "file_size_in_byte": 1174, "l... | https://github.com/zyyoona7/Jokes | 262 | FILENAME: MainVpAdapter.java | 0.291787 | package com.zyyoona7.jokes.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.zyyoona7.jokes.module.imageJoke.ImageJokeFragment;
import com.zyyoona7.jokes.module.textJoke.TextJokeFragment;
import java.util.Arr... |
e8aaf297-5ecd-4e1e-b0f6-6ab2f878ba41 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-04 01:48:55", "repo_name": "codenbox/MavenProject", "sub_path": "/src/test/java/codenbox/MavenProject/WdManagerTest.java", "file_name": "WdManagerTest.java", "file_ext": "java", "file_size_in_byte": 1230, "lin... | https://github.com/codenbox/MavenProject | 270 | FILENAME: WdManagerTest.java | 0.272799 | package codenbox.MavenProject;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import io.github.bonigarcia.wdm.WebDriv... |
2c5b39a6-97c7-4c94-a8c4-a8e0aac3bf87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-15 03:05:48", "repo_name": "aasheng24/AndroidNews", "sub_path": "/ShengNews/app/src/main/java/a/a/sheng/shengnews/presenter/wx/WxDetailArticlePresenter.java", "file_name": "WxDetailArticlePresenter.java", "fil... | https://github.com/aasheng24/AndroidNews | 233 | FILENAME: WxDetailArticlePresenter.java | 0.247987 | package a.a.sheng.shengnews.presenter.wx;
import javax.inject.Inject;
import a.a.sheng.shengnews.base.presenter.BasePresenter;
import a.a.sheng.shengnews.contract.wx.WxDetailContract;
import a.a.sheng.shengnews.core.DataManager;
import a.a.sheng.shengnews.core.bean.main.collect.FeedArticleData;
public class WxDetail... |
0c33319e-ad82-4aa8-8641-82936b4c9b88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-28 11:14:35", "repo_name": "ashishmehta11/Unit-Converter", "sub_path": "/app/src/main/java/com/project/unitconverter/main_activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "fil... | https://github.com/ashishmehta11/Unit-Converter | 194 | FILENAME: MainActivity.java | 0.294215 | package com.project.unitconverter.main_activity;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import androidx.cardview.widget.CardView;
import androidx.databinding.DataBindingUtil;
import androidx.lifecycle.ViewModelProvider;
import com.project.unitconverter.R;
import com.project.unitco... |
4dd60e6b-a548-48d3-9f0d-aee8721b3a90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-28 18:41:55", "repo_name": "eghazal/WorkflowCnam", "sub_path": "/src/main/java/com/logicbig/example/workflowList.java", "file_name": "workflowList.java", "file_ext": "java", "file_size_in_byte": 996, "line_cou... | https://github.com/eghazal/WorkflowCnam | 158 | FILENAME: workflowList.java | 0.23092 | package com.logicbig.example;
import com.google.api.client.googleapis.auth.oauth2.GoogleIdToken;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse... |
ade89e14-8738-4272-839e-4fb88a159699 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-22 11:51:22", "repo_name": "pan2636172514/babasport", "sub_path": "/babasport-console/src/main/java/cn/itcast/core/controller/SkuController.java", "file_name": "SkuController.java", "file_ext": "java", "file_s... | https://github.com/pan2636172514/babasport | 253 | FILENAME: SkuController.java | 0.284576 | package cn.itcast.core.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframewo... |
339eb35a-9404-4870-ab0a-36ad45d96e88 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-08 04:28:18", "repo_name": "jyothish6190/tracer", "sub_path": "/app/src/main/java/com/exalture/tracer/myReceiver.java", "file_name": "myReceiver.java", "file_ext": "java", "file_size_in_byte": 1019, "line_coun... | https://github.com/jyothish6190/tracer | 223 | FILENAME: myReceiver.java | 0.240775 | package com.exalture.tracer;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.IBinder;
public class myReceiver extends Service{
private static final String ACTION_IN = "android.intent.action.PHONE_STATE";
private sta... |
a9d5e2a9-ec2f-45a4-afd0-6ac29c85e9d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-12 19:38:44", "repo_name": "nat32/levelup", "sub_path": "/main/java/com/springapp/controller/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_size_in_byte": 995, "line_coun... | https://github.com/nat32/levelup | 185 | FILENAME: HelloController.java | 0.235108 | package com.springapp.controller;
import com.springapp.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.... |
b4d4699b-e86b-4af1-88d2-3e5c0d33948c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-30 09:04:59", "repo_name": "PeterInfraBIM/IFC_GraphQL_server", "sub_path": "/dataserver/src/main/java/nl/infrabim/ifc/dataserver/models/IfcRelContainedInSpatialStructure.java", "file_name": "IfcRelContainedInS... | https://github.com/PeterInfraBIM/IFC_GraphQL_server | 236 | FILENAME: IfcRelContainedInSpatialStructure.java | 0.258326 | package nl.infrabim.ifc.dataserver.models;
import java.util.List;
import org.springframework.data.mongodb.core.mapping.Field;
public class IfcRelContainedInSpatialStructure extends IfcRoot {
@Field("relatedElements")
private List<Ref> relatedElementsRef;
@Field("relatingStructure")
private Ref relatingStructureR... |
49107a91-b21e-4370-a3d6-62a920829fb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-07 19:02:34", "repo_name": "lxtlouise/LSA", "sub_path": "/src/HelloAckHandler.java", "file_name": "HelloAckHandler.java", "file_ext": "java", "file_size_in_byte": 1174, "line_count": 42, "lang": "en", "doc_typ... | https://github.com/lxtlouise/LSA | 224 | FILENAME: HelloAckHandler.java | 0.23231 | public class HelloAckHandler extends Thread {
protected boolean running = true;
private synchronized boolean isRunning() {
return this.running;
}
public void run() {
while (isRunning()) {
while (!Router.helloAckQueue.isEmpty()) {
Packet helloAck = Router.hel... |
e7f98d6b-ac9a-40eb-b648-0cc1516ced08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-17 21:53:12", "repo_name": "Body123/MVVM-dataBinding-training", "sub_path": "/app/src/main/java/com/example/moviesnerds/ui/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/Body123/MVVM-dataBinding-training | 164 | FILENAME: MainActivity.java | 0.199308 | package com.example.moviesnerds.ui;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModel;
i... |
a94022ab-c842-4666-a0ee-52eb5d3ced74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-07 02:18:41", "repo_name": "zhuzhaoman/websocket_netty", "sub_path": "/SpringbootNettyApplication.java", "file_name": "SpringbootNettyApplication.java", "file_ext": "java", "file_size_in_byte": 993, "line_coun... | https://github.com/zhuzhaoman/websocket_netty | 178 | FILENAME: SpringbootNettyApplication.java | 0.225417 | package com.example.springboot_netty;
import com.example.springboot_netty.server.NettyServer_;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplica... |
d405e019-b125-40fd-9476-40aefb475ead | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-05 23:31:05", "repo_name": "Sami5/twu-biblioteca-Sami", "sub_path": "/src/com/twu/biblioteca/Book.java", "file_name": "Book.java", "file_ext": "java", "file_size_in_byte": 999, "line_count": 51, "lang": "en", ... | https://github.com/Sami5/twu-biblioteca-Sami | 225 | FILENAME: Book.java | 0.23092 | package com.twu.biblioteca;
public class Book {
private String title;
private String author;
private int year;
public Book(String newTitle, String newAuthor, int newYear) {
setTitle(newTitle);
setAuthor(newAuthor);
setYear(newYear);
//AvailableBooks.addAvailableBook(t... |
66244b99-0c80-4421-8431-bc0e889e264e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-16 12:33:45", "repo_name": "imar26/todo-list-cloud-computing", "sub_path": "/src/main/java/com/csye6225/demo/service/AttachmentService.java", "file_name": "AttachmentService.java", "file_ext": "java", "file_si... | https://github.com/imar26/todo-list-cloud-computing | 186 | FILENAME: AttachmentService.java | 0.258326 | package com.csye6225.demo.service;
import com.csye6225.demo.pojo.Attachment;
import com.csye6225.demo.pojo.Tasks;
import com.csye6225.demo.repositories.AttachmentRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
@Serv... |
1c863d76-7fc0-4463-a8f0-9938325d8c08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-24 13:38:50", "repo_name": "bladeszasza/test_cake", "sub_path": "/app/src/main/java/com/waracle/androidtest/StreamUtils.java", "file_name": "StreamUtils.java", "file_ext": "java", "file_size_in_byte": 1056, "l... | https://github.com/bladeszasza/test_cake | 226 | FILENAME: StreamUtils.java | 0.242206 | package com.waracle.androidtest;
import android.util.Log;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by Riad on 20/05/2015.
*/
public final class StreamUtils {
private static final String TAG = StreamUtils.class.getSimpl... |
24daba45-22c2-4924-8908-4f1fbd0f089a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-18 23:32:27", "repo_name": "DanielDeGaspari/SalesTaxes", "sub_path": "/src/main/test/java/io/github/salestaxes/utils/FormatUtilsTest.java", "file_name": "FormatUtilsTest.java", "file_ext": "java", "file_size_i... | https://github.com/DanielDeGaspari/SalesTaxes | 250 | FILENAME: FormatUtilsTest.java | 0.290981 | package io.github.salestaxes.utils;
import io.github.salestaxes.Utils.FormatUtils;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class FormatUtilsTest {
@Test
public void testSlugifyToBeTrueSpecialChar() {
// Setup
final String input = "fóò bâr";
final St... |
f9fe4898-39a2-4fe6-9fa9-762caf652fd6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-27 07:19:30", "repo_name": "proqer/spring-boot-nashorn", "sub_path": "/src/main/java/com/pragmasoft/study/controllers/rest/GlobalExceptionHandler.java", "file_name": "GlobalExceptionHandler.java", "file_ext": ... | https://github.com/proqer/spring-boot-nashorn | 199 | FILENAME: GlobalExceptionHandler.java | 0.235108 | package com.pragmasoft.study.controllers.rest;
import com.pragmasoft.study.exception.ScriptCompilationException;
import com.pragmasoft.study.exception.ScriptNotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annota... |
c188ef10-d4f5-4f56-87ec-445d65861d03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-17 18:04:14", "repo_name": "pitambar-smartek/Hibernate_Repo", "sub_path": "/WebServiceDemo/src/com/bt/tadds/dao/GetTestResultServiceDAO.java", "file_name": "GetTestResultServiceDAO.java", "file_ext": "java", "... | https://github.com/pitambar-smartek/Hibernate_Repo | 213 | FILENAME: GetTestResultServiceDAO.java | 0.201813 | package com.bt.tadds.dao;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import oracle.jdbc.OraclePreparedStatement;
public class GetTestResultServiceDAO {
public String getTestResults(String testId,String tarrId){
Connection connection=null;
OraclePreparedStatement oracle... |
98d1ef35-359e-49e6-a976-3f50aab580d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-23 00:25:11", "repo_name": "feitebi/wallet-android", "sub_path": "/app/src/main/java/com/ftb/app/FtbApplication.java", "file_name": "FtbApplication.java", "file_ext": "java", "file_size_in_byte": 1049, "line_c... | https://github.com/feitebi/wallet-android | 206 | FILENAME: FtbApplication.java | 0.258326 | package com.ftb.app;
import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;
import devliving.online.securedpreferencestore.DefaultRecoveryHandler;
import devliving.online.securedpreferencestore.SecuredPreferenceStore;
/**
* Created by mangoo on 2017/9/5.
*/
publi... |
efa728db-5714-4beb-b0fb-9718ac7fb101 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-30 14:00:19", "repo_name": "rakshitkothari/RadiantAcademy", "sub_path": "/app/src/main/java/com/radiant/testradiant/ApplyNow.java", "file_name": "ApplyNow.java", "file_ext": "java", "file_size_in_byte": 995, "... | https://github.com/rakshitkothari/RadiantAcademy | 206 | FILENAME: ApplyNow.java | 0.196826 | package com.radiant.testradiant;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AppCompatActivity;
public class ApplyNow extends AppCompatActivity {
@SuppressLint("RestrictedApi")
... |
2cefb1e8-cade-4f05-b0bf-5940e17b3b9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-12T06:56:19", "repo_name": "jienius/world-expedition", "sub_path": "/server/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1175, "line_count": 32, "lang": "en", "doc_type": "t... | https://github.com/jienius/world-expedition | 252 | FILENAME: README.md | 0.201813 | ### Node Express template project
This is the backend developed for authentication with Amazon Cognito for User-related activities such as authentication, token validation, getting users, etc.
## About
The backend is equipped with ExpressJS, Typescript and SocketIO to deal with the basic time consuming errors on sta... |
741972d9-48a6-4a06-a0f9-0f55b6ab4293 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-05 11:08:41", "repo_name": "olga6294/JavaTr", "sub_path": "/src/main/java/csvprocessor/Book.java", "file_name": "Book.java", "file_ext": "java", "file_size_in_byte": 976, "line_count": 53, "lang": "en", "doc_t... | https://github.com/olga6294/JavaTr | 205 | FILENAME: Book.java | 0.259826 | package csvprocessor;
public class Book {
private int id;
private String title;
private String author;
private String format;
private double price;
public Book(int id, String title, String author, String format, double price) {
this.id = id;
this.title = title;
this.au... |
151322f6-3b2d-492c-8ba1-d30da8e8f6fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-01 08:03:38", "repo_name": "gaoooyh/Java_chatroom", "sub_path": "/chatroom 1/src/connect/JDBC.java", "file_name": "JDBC.java", "file_ext": "java", "file_size_in_byte": 1175, "line_count": 37, "lang": "en", "do... | https://github.com/gaoooyh/Java_chatroom | 231 | FILENAME: JDBC.java | 0.262842 | package connect;
import java.sql.Connection;
import java.sql.DriverManager;
public class JDBC {
private static String IP_ADDRESS = "Localhost";
private static String PORT_NUM = "3306";
private static String USER_NAME = "root";
private static String PASSWORD = "161105";
private static S... |
2b1e3b5c-22ea-4f53-a48d-eb5889a29b23 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-14 10:41:30", "repo_name": "KungumaTharun/Wipro_Assessment_KungumaTharun", "sub_path": "/app/src/main/java/com/wipro/assignment/adapter/RowAdapter.java", "file_name": "RowAdapter.java", "file_ext": "java", "fi... | https://github.com/KungumaTharun/Wipro_Assessment_KungumaTharun | 209 | FILENAME: RowAdapter.java | 0.26971 | package com.wipro.assignment.adapter;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.wipro.assignment.R;
import com.wipro.assignment.response.Rows;
import java.util.List;... |
1b101c77-9566-4581-8b4b-efff5fa35f4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-25 06:24:39", "repo_name": "yanyjcoder/yanyj-xyz", "sub_path": "/02_source/yanyj-back/yanyj-services/src/test/java/TestUserService.java", "file_name": "TestUserService.java", "file_ext": "java", "file_size_in_... | https://github.com/yanyjcoder/yanyj-xyz | 227 | FILENAME: TestUserService.java | 0.228156 | 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 xyz.yanyj.services.service.UserService;
import xyz.yanyj.uti... |
bd57cdec-9cca-4d53-a6ef-b83f50f8fea5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-13 08:50:38", "repo_name": "th8664484/spring-boot-demo", "sub_path": "/demo-06-error-exception/src/main/java/com/resolver/MyErrorViewTesolver.java", "file_name": "MyErrorViewTesolver.java", "file_ext": "java",... | https://github.com/th8664484/spring-boot-demo | 159 | FILENAME: MyErrorViewTesolver.java | 0.250913 | package com.resolver;
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import java.util.Date... |
b5a75760-2354-4bd6-85cf-34ad4c35e613 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-17 15:00:24", "repo_name": "italo-07/jabref", "sub_path": "/src/test/java/org/jabref/logic/citationstyle/CitationStyleTest.java", "file_name": "CitationStyleTest.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/italo-07/jabref | 275 | FILENAME: CitationStyleTest.java | 0.280616 | package org.jabref.logic.citationstyle;
import org.jabref.logic.util.TestEntry;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
@Disabled("For some reason, instead of ... |
6998f39e-9ef3-4fde-9441-3ea58038a74b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-25 12:30:44", "repo_name": "dmytro-boiko-dev/javaee", "sub_path": "/fwqa/common/src/main/java/com/cumulus/pages/main/MainPage.java", "file_name": "MainPage.java", "file_ext": "java", "file_size_in_byte": 971, ... | https://github.com/dmytro-boiko-dev/javaee | 191 | FILENAME: MainPage.java | 0.226784 | package com.cumulus.pages.main;
import com.cumulus.pages.BaseLogic;
import org.apache.log4j.Logger;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class MainPage extends BaseLogic {
public MainPage(WebDriver driver) {
super(dr... |
99fb6779-b6ac-4e06-ba34-3e9dc5026bb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-06 02:57:34", "repo_name": "jchonker/factory-end", "sub_path": "/src/main/java/com/factory/end/model/primary/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count": 4... | https://github.com/jchonker/factory-end | 243 | FILENAME: User.java | 0.253861 | package com.factory.end.model.primary;
import lombok.Data;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
/**
* @Author jchonker
* @Date 2020/8/21 15:37
* @Version 1.0
* 模板类
*/
@Data
@Table(name = "pro_User")
@Entity
public class User {
@Id
@GeneratedValue(strategy = Gene... |
0e150c5d-715e-483c-babf-287040318fa5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-15 13:02:34", "repo_name": "Lixard/db-labs", "sub_path": "/data/src/main/java/ru/student/db/DatabaseMainFunctional.java", "file_name": "DatabaseMainFunctional.java", "file_ext": "java", "file_size_in_byte": 99... | https://github.com/Lixard/db-labs | 183 | FILENAME: DatabaseMainFunctional.java | 0.268941 | package ru.student.db;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
@Component
public class DatabaseMainFunctional {
private final JdbcTemplate jdbcTemplate;
@Autowired
public DatabaseMa... |
8febfa0c-9d39-4e52-83b9-0dd7a15db07b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-03T14:51:41", "repo_name": "kourouklides/CEI_523_2018", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1174, "line_count": 31, "lang": "en", "doc_type": "text", ... | https://github.com/kourouklides/CEI_523_2018 | 397 | FILENAME: README.md | 0.274351 | # CEI 523: Data Science - 2018
This repository is the one used for the module __CEI-523: Data Science__ during Fall Semester of 2018 at the Master's degree [MSc in Data Science and Engineering](https://www.cut.ac.cy/faculties/fet/eecei/module-description/modules-msc-data-science-and-engineering/?languageId=1) at the [... |
b823377d-5eef-426f-96ce-4762fd567067 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-17 19:27:28", "repo_name": "Mbojanow/sda-caching-webinar", "sub_path": "/src/main/java/pl/sdacademy/cachingwebinar/services/PetService.java", "file_name": "PetService.java", "file_ext": "java", "file_size_in_b... | https://github.com/Mbojanow/sda-caching-webinar | 215 | FILENAME: PetService.java | 0.26588 | package pl.sdacademy.cachingwebinar.services;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import lombok.extern.slf4j.Slf4j;
import pl.sdacademy.cachi... |
59a21cb4-2f5e-4b1b-a024-3f6261f9aef4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-14 18:18:12", "repo_name": "suyash123/SleepTracker", "sub_path": "/app/src/main/java/com/example/suyash/sleeptracker/events/ScreenStateReceiver.java", "file_name": "ScreenStateReceiver.java", "file_ext": "java... | https://github.com/suyash123/SleepTracker | 196 | FILENAME: ScreenStateReceiver.java | 0.250913 | package com.example.suyash.sleeptracker.events;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import org.greenrobot.eventbus.EventBus;
public class ScreenStateReceiver extends BroadcastReceiver {
@Override
public void onRecei... |
914aaaa2-46a7-4d66-ae0f-514860ca5443 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-10 03:27:07", "repo_name": "wangjiaxin1100/AutoTest", "sub_path": "/Chapter7/src/main/java/com/oocl/MocoTest.java", "file_name": "MocoTest.java", "file_ext": "java", "file_size_in_byte": 1042, "line_count": 30... | https://github.com/wangjiaxin1100/AutoTest | 240 | FILENAME: MocoTest.java | 0.285372 | package com.oocl;
import com.github.dreamhead.moco.Moco;
import com.github.dreamhead.moco.junit.MocoJunitRunner;
import org.apache.http.HttpResponse;
import org.apache.http.client.fluent.Content;
import org.apache.http.client.fluent.Request;
import org.junit.Rule;
import org.junit.Test;
import java.io.IOException;
im... |
e3efea6b-4d51-497d-bebc-b0b7a83b18c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-26T11:43:39", "repo_name": "ensyvz/ensyvz.github.io", "sub_path": "/_posts/2020-07-25-bluetoothcli-en.md", "file_name": "2020-07-25-bluetoothcli-en.md", "file_ext": "md", "file_size_in_byte": 1013, "line_c... | https://github.com/ensyvz/ensyvz.github.io | 241 | FILENAME: 2020-07-25-bluetoothcli-en.md | 0.217338 | ---
title: "Bluetooth Using Terminal"
excerpt: "Connecting to a device with bluetooth using terminal."
tags:
-linux
-solution
categories: english
---
You may want to use terminal for connecting to bluetooth devices and here is how:
(I am explaining over Arch Linux but when you install the necessary package y... |
1f331f62-46a3-4afe-a655-c65beb40ae26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-12-09 03:19:43", "repo_name": "jeff-2/UIUI", "sub_path": "/src/edu/illinois/engr/web/cs465uiui/search/SearchItem.java", "file_name": "SearchItem.java", "file_ext": "java", "file_size_in_byte": 1174, "line_count":... | https://github.com/jeff-2/UIUI | 265 | FILENAME: SearchItem.java | 0.283781 | package edu.illinois.engr.web.cs465uiui.search;
/**
* SearchItem provides storage for the data displayed in the SearchActivity. Each row of the results from the search displays a
* restaurantName and address, as well as an icon for verifying the location on a map.
*/
public class SearchItem {
private long restau... |
7e19e888-8564-42d7-aa8b-7c0e75ad248f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-09 06:23:23", "repo_name": "lzlz123/Netty", "sub_path": "/src/main/java/nio/NIOFileChannel03.java", "file_name": "NIOFileChannel03.java", "file_ext": "java", "file_size_in_byte": 1290, "line_count": 43, "lang"... | https://github.com/lzlz123/Netty | 243 | FILENAME: NIOFileChannel03.java | 0.293404 | package nio;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
public class NIOFileChannel03 {
public static void main(String[] args) throws IOException {
//创建一个输入流
FileInputStream fileInpu... |
4c9dfb0f-8713-41f9-a9a4-c48a9ce39584 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-30 18:22:31", "repo_name": "M1chel00/gommeHD", "sub_path": "/MC-Plugin/src/me/mses/commands/BackPack.java", "file_name": "BackPack.java", "file_ext": "java", "file_size_in_byte": 1004, "line_count": 32, "lang"... | https://github.com/M1chel00/gommeHD | 227 | FILENAME: BackPack.java | 0.236516 | package me.mses.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
import me.mses.main.SpigotPlugin;
public class BackPack implements CommandExecutor{
@O... |
e285fac6-810e-4257-a344-c8c317e2c31a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-19 15:12:02", "repo_name": "ranjanasisodia/Spring-boot-application", "sub_path": "/src/main/java/com/bhaiti/kela/controllers/AuthorController.java", "file_name": "AuthorController.java", "file_ext": "java", "f... | https://github.com/ranjanasisodia/Spring-boot-application | 203 | FILENAME: AuthorController.java | 0.249447 | package com.bhaiti.kela.controllers;
import java.util.List;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframe... |
5fad775a-c032-4f5b-8d3e-d13fe0cb8609 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-21 08:47:13", "repo_name": "duggankimani/IConserv", "sub_path": "/src/com/wira/pmgt/client/ui/upload/attachment/ShowIframeEvent.java", "file_name": "ShowIframeEvent.java", "file_ext": "java", "file_size_in_byt... | https://github.com/duggankimani/IConserv | 233 | FILENAME: ShowIframeEvent.java | 0.272025 | package com.wira.pmgt.client.ui.upload.attachment;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.event.shared.EventHandler;
import java.lang.String;
import com.google.gwt.event.shared.HasHandlers;
public class ShowIframeEvent extends
GwtEvent<ShowIframeEvent.ShowIframeHandler> {
public static... |
41dddb21-51d4-46a7-b6c4-cc80bfe0c06f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-14 20:03:36", "repo_name": "Toscaro/ChatServerSide", "sub_path": "/src/ReceptorDeSockets.java", "file_name": "ReceptorDeSockets.java", "file_ext": "java", "file_size_in_byte": 1180, "line_count": 37, "lang": "... | https://github.com/Toscaro/ChatServerSide | 230 | FILENAME: ReceptorDeSockets.java | 0.235108 | import java.io.ObjectInputStream;
import java.io.PrintWriter;
import java.net.Socket;
public class ReceptorDeSockets implements Runnable {
/** Socket é a conexao do cliente */
private Socket socket;
/** PrintWriter envia informação (String) para o cliente */
private PrintWriter messageWriter;
/** ... |
797995c4-1ab0-4718-a0f8-f83d1a9d9945 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 14:54:17", "repo_name": "jingjianqian/springcloud", "sub_path": "/system-manager/service-auth/src/main/java/auth/entity/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1050, "... | https://github.com/jingjianqian/springcloud | 218 | FILENAME: Role.java | 0.205615 | package auth.entity;
import org.apache.ibatis.type.Alias;
import javax.persistence.Column;
import javax.persistence.Table;
@Table(name = "sys_role")
@Alias(value = "sysRole")
public class Role {
private String id;
@Column
private String role_name;
@Column
private String role_description;
pu... |
17f47e15-2217-4003-ae00-ccc815de1708 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-09 18:29:01", "repo_name": "mateuszszczurek/object_oriented", "sub_path": "/src/main/java/pl/com/sniper/auction/SniperPortfolio.java", "file_name": "SniperPortfolio.java", "file_ext": "java", "file_size_in_byt... | https://github.com/mateuszszczurek/object_oriented | 204 | FILENAME: SniperPortfolio.java | 0.284576 | package pl.com.sniper.auction;
import pl.com.sniper.auction.sniper.AuctionSniper;
import pl.com.sniper.auction.sniper.SniperSnapshot;
import java.util.ArrayList;
import java.util.List;
public class SniperPortfolio implements SniperCollector {
private List<PortfolioListener> portfolioListeners = new ArrayList<>(... |
ffd66042-36b6-4377-94e2-52055a54e328 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-03 06:47:48", "repo_name": "jamessnee1/RegisterLogin", "sub_path": "/src/MainFrame.java", "file_name": "MainFrame.java", "file_ext": "java", "file_size_in_byte": 1175, "line_count": 54, "lang": "en", "doc_type... | https://github.com/jamessnee1/RegisterLogin | 239 | FILENAME: MainFrame.java | 0.286968 | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import javax.swing.JFrame;
//MainFrame to be combined with other MainFrame
//This one by James Snee
public class MainFrame extends JFrame {
private LoginDialog login;
private RegisterDialog register;
//Declaring access to th... |
113dd1fd-3810-4ea4-8f82-4bb5890be1c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2015-04-06T08:00:29", "repo_name": "scottatron/terraform-docker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1029, "line_count": 24, "lang": "en", "doc_type": "text"... | https://github.com/scottatron/terraform-docker | 234 | FILENAME: README.md | 0.182426 | scottatron/terraform
====================
A simple, opinionated Dockerfile and binstub for running [Terraform](https://terraform.io/).
Can optionally decrypt a terrraform.tfvars.json file that has been encrypted using [ejson](https://github.com/Shopify/ejson)
USAGE
-----
The simplest usage is to run the binstub:
... |
c24b2405-e17b-4388-b66f-6c2616fb516b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-23 19:49:49", "repo_name": "SergeyAminov/ToDoList", "sub_path": "/app/src/main/java/com/example/todolist/Tasks/Tasks.java", "file_name": "Tasks.java", "file_ext": "java", "file_size_in_byte": 1009, "line_count... | https://github.com/SergeyAminov/ToDoList | 205 | FILENAME: Tasks.java | 0.225417 | package com.example.todolist.Tasks;
public class Tasks{
private String title;
private String description;
private String id;
private String date;
private String time;
private String place;
public Tasks(String id, String title, String description, String date, String time, String place) {
... |
fe580561-2445-4038-9860-c24fb99507af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-14 22:37:58", "repo_name": "jandrewtorres/BioWars309", "sub_path": "/src/client/lobby/LobbyController.java", "file_name": "LobbyController.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 44... | https://github.com/jandrewtorres/BioWars309 | 217 | FILENAME: LobbyController.java | 0.292595 | package client.lobby;
import client.Client;
import client.model.ClientModel;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import server.model.Player;
public class LobbyController {
ClientModel model;
Client clientApp;
@... |
0379f4dd-484f-4b28-a961-48498426317d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-14 17:23:02", "repo_name": "avinashmadireddy/memoryBlog", "sub_path": "/src/main/java/com/rest/model/Memory.java", "file_name": "Memory.java", "file_ext": "java", "file_size_in_byte": 1175, "line_count": 67, "... | https://github.com/avinashmadireddy/memoryBlog | 257 | FILENAME: Memory.java | 0.225417 | package com.rest.model;
import java.util.Date;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Memory {
private int id;
private String description;
private String createdBy;
private Date created;
public Memory() {
super();
}
publi... |
3bac172d-baf9-4771-bfda-eed9bf52ac61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-21 16:49:16", "repo_name": "reachshyam80/teelstng", "sub_path": "/src/main/java/com/coxautoinc/sfdc/login/LoginSelector.java", "file_name": "LoginSelector.java", "file_ext": "java", "file_size_in_byte": 1174, ... | https://github.com/reachshyam80/teelstng | 208 | FILENAME: LoginSelector.java | 0.23793 | package com.coxautoinc.sfdc.login;
import org.openqa.selenium.By;
/**
* Selector class for the Login page.
*/
class LoginSelector {
//~ Instance fields ------------------------------------------------------------------------------------------------
private By loginBtn = By.id("Login");
private By pass... |
9a05cbc0-e347-4eef-8354-9c5187b7f414 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 21:04:33", "repo_name": "thombergs/code-examples", "sub_path": "/spring-boot/spring-boot-and-reactjs/publisher_register/src/main/java/io/reflectoring/publisher_register/controller/PublisherController.java",... | https://github.com/thombergs/code-examples | 212 | FILENAME: PublisherController.java | 0.258326 | package io.reflectoring.publisher_register.controller;
import io.reflectoring.publisher_register.model.Publisher;
import io.reflectoring.publisher_register.repository.PublisherRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.... |
053fa0e1-088d-4b1c-9f6b-2c4988c7ffc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-11-05 16:28:23", "repo_name": "gitter-badger/WebWorkflowCleanData", "sub_path": "/src/main/java/fr/bird/bloom/beans/Step1_MappingDwc.java", "file_name": "Step1_MappingDwc.java", "file_ext": "java", "file_size_in_... | https://github.com/gitter-badger/WebWorkflowCleanData | 269 | FILENAME: Step1_MappingDwc.java | 0.285372 | /**
* fr.bird.bloom.beans
* Step1_MappingDwc
*/
package fr.bird.bloom.beans;
import fr.bird.bloom.model.MappingDwC;
import java.util.HashMap;
/**
* fr.bird.bloom.beans
*
* Step1_MappingDwc.java
* Step1_MappingDwc
*/
public class Step1_MappingDwc {
private HashMap<Integer,MappingDwC> infos_mapping = new Has... |
11f74d71-ab60-466b-80a1-61df456dae87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-22 07:45:52", "repo_name": "CycloneBoy/springcloud-learn", "sub_path": "/kafka-hello/src/main/java/com/cycloneboy/springcloud/kafkahello/service/SenderService.java", "file_name": "SenderService.java", "file_ex... | https://github.com/CycloneBoy/springcloud-learn | 226 | FILENAME: SenderService.java | 0.20947 | package com.cycloneboy.springcloud.kafkahello.service;
import com.cycloneboy.springcloud.common.domain.dto.mafengwo.TravelNoteDto;
import com.cycloneboy.springcloud.kafkahello.kafka.SinkSender;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.i... |
5e0b2e8b-6794-4050-890c-8c5d64295ada | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-07 20:20:42", "repo_name": "Karya55/VD-Book-Shop", "sub_path": "/Android/app/src/main/java/com/janfranco/bookstore/entities/Book.java", "file_name": "Book.java", "file_ext": "java", "file_size_in_byte": 1175, ... | https://github.com/Karya55/VD-Book-Shop | 239 | FILENAME: Book.java | 0.225417 | package com.janfranco.bookstore.entities;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Book {
@SerializedName("_id")
private String id;
@SerializedName("title")
private String title;
@SerializedName("author")
private String author;
@Serialized... |
0e3402d6-f0dd-4ac9-99bd-9e320b8fcc3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 01:51:26", "repo_name": "lqj12267488/Gemini", "sub_path": "/src/main/resourcelibrary/com/goisan/type/service/impl/ResourceTypeCourseServiceImpl.java", "file_name": "ResourceTypeCourseServiceImpl.java", "fil... | https://github.com/lqj12267488/Gemini | 237 | FILENAME: ResourceTypeCourseServiceImpl.java | 0.289372 | package com.goisan.type.service.impl;
import com.goisan.type.dao.ResourceTypeCourseDao;
import com.goisan.type.service.ResourceTypeCourseService;
import com.goisan.system.bean.BaseBean;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class Resou... |
02ee3b68-8a8c-4b23-b501-4e145fbdaf3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-23 20:36:03", "repo_name": "diegodh1/pokeApi", "sub_path": "/src/main/java/com/example/poke/pokeApi/models/ExternalApi/PokemonApiSprites.java", "file_name": "PokemonApiSprites.java", "file_ext": "java", "file_... | https://github.com/diegodh1/pokeApi | 262 | FILENAME: PokemonApiSprites.java | 0.252384 | package com.example.poke.pokeApi.models.ExternalApi;
import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
public class PokemonApiSprites {
//variables
@JsonAlias("front_shiny")
private String frontSh... |
f27348cd-638e-41dd-91f7-9295d6a73b80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-18 22:25:28", "repo_name": "millems/noggin", "sub_path": "/runtime/core/utils/src/main/java/software/amazon/noggin/runtime/util/Strings.java", "file_name": "Strings.java", "file_ext": "java", "file_size_in_byt... | https://github.com/millems/noggin | 215 | FILENAME: Strings.java | 0.258326 | package software.amazon.noggin.runtime.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class Strings {
private Strings() {}
public static List<String> split(String input, char delimeter) {
List<String> result = new ArrayList<>();
int start = 0;
... |
e73196ec-9e7e-4de9-9e6d-f8078dcce5e3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-02-20T13:01:13", "repo_name": "lturner19/GitHub_readme_generator", "sub_path": "/README-repo.md", "file_name": "README-repo.md", "file_ext": "md", "file_size_in_byte": 1047, "line_count": 51, "lang": "en", "d... | https://github.com/lturner19/GitHub_readme_generator | 255 | FILENAME: README-repo.md | 0.267408 | # GitHub ReadMe Generator
## INTRODUCTION
As a developer, providing a readme file is another important part of the coding process. Access to a command-line application allows for quick and easy generation of a file with a profile attached.
<br>
## FEATURES
The readme file is dynamically generated, with the user'... |
d34e0aef-b57c-4b4f-b875-8f7c404fe3e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-25 08:34:20", "repo_name": "scorpiocc/ShoppingT", "sub_path": "/Shopping/src/lyons/db/DbConn.java", "file_name": "DbConn.java", "file_ext": "java", "file_size_in_byte": 1032, "line_count": 46, "lang": "en", "d... | https://github.com/scorpiocc/ShoppingT | 270 | FILENAME: DbConn.java | 0.273574 | package lyons.db;
/**
* 链接数据库
* @author Lyons
*/
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.log4j.Logger;
public class DbConn
{
private static Logger logger= Logger.getLogger(DbConn.class);
public static Connection getConn()
{
Connection conn = ... |
a06f7092-4495-4d5d-8c91-ab92b8594fb2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 18:11:27", "repo_name": "maicondmenezes/addressBookMeFX", "sub_path": "/src/addressbookmefx/data/Phone.java", "file_name": "Phone.java", "file_ext": "java", "file_size_in_byte": 1176, "line_count": 58, "lan... | https://github.com/maicondmenezes/addressBookMeFX | 245 | FILENAME: Phone.java | 0.23092 | /*
* 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 addressbookmefx.data;
import java.io.Serializable;
/**
*
* @author MaJoy
*/
public class Phone implements Ser... |
fa3349eb-d764-410f-8455-16ac043e3b6e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-07T11:45:02", "repo_name": "shlok191/Hostel-Management", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1173, "line_count": 15, "lang": "en", "doc_type": "text",... | https://github.com/shlok191/Hostel-Management | 263 | FILENAME: README.md | 0.26588 | # Hostel-Management
This is a hostel management software that I made when I was 12 years old. The software uses Java for the front-end and a mySQL local database to securely save all the data.
The GUI is made with help of the swing package available for Java. The software, however, is not completely versatile for all h... |
e5f52da6-6682-4ac4-a151-7e2bdc83d7f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-08-13 14:48:29", "repo_name": "wintermute0/foresty", "sub_path": "/foresty-server/src/main/java/com/foresty/service/impl/EventServiceImpl.java", "file_name": "EventServiceImpl.java", "file_ext": "java", "file_siz... | https://github.com/wintermute0/foresty | 184 | FILENAME: EventServiceImpl.java | 0.27048 | package com.foresty.service.impl;
import com.foresty.repository.EventRepository;
import com.foresty.repository.LogRepository;
import com.foresty.service.EventService;
import com.foresty.service.EventServiceException;
import com.google.common.base.Preconditions;
import org.springframework.beans.factory.annotation.Autow... |
fe37cb7a-6a0a-47e0-91a3-0bae590acb99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-30 07:04:26", "repo_name": "Chetan500/CricketTeamDetailsApplication", "sub_path": "/app/src/main/java/com/example/cricketteamsdetailsapp/view/FragmentAdapter.java", "file_name": "FragmentAdapter.java", "file_e... | https://github.com/Chetan500/CricketTeamDetailsApplication | 209 | FILENAME: FragmentAdapter.java | 0.264358 | package com.example.cricketteamsdetailsapp.view;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.lifecycle.Lifecycle;
import androidx.viewpager2.adapter.FragmentStateAdapter;
public class FragmentAdapte... |
3c80d776-0f9a-4bec-8c9a-eb19ed4a9e4f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-02T19:30:49", "repo_name": "yluo86/yluo86.github.io", "sub_path": "/_posts/2016-01-11-sanger-proxy-snippet.markdown", "file_name": "2016-01-11-sanger-proxy-snippet.markdown", "file_ext": "markdown", "file_... | https://github.com/yluo86/yluo86.github.io | 314 | FILENAME: 2016-01-11-sanger-proxy-snippet.markdown | 0.264358 | ---
layout: post
title: "ssh web-proxy -- working outside work"
date: 2016-01-11
categories: snippets
author: Yang
permalink: web-proxy
---
I recently moved to Boston from Sanger Institute, and had to access an internal website from a new laptop. This is the snippets of how to set it up, and generally speaking, it ... |
c2b83d2a-e8f0-4c78-b928-4a1e84cc776a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-07 15:06:22", "repo_name": "jhannes/certificate-fun", "sub_path": "/liquidpki/src/main/java/io/liquidpki/pkcs12/Pkcs12KeyStore.java", "file_name": "Pkcs12KeyStore.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/jhannes/certificate-fun | 259 | FILENAME: Pkcs12KeyStore.java | 0.262842 | package io.liquidpki.pkcs12;
import io.liquidpki.der.Der;
import java.io.PrintStream;
import java.util.Iterator;
/**
* https://datatracker.ietf.org/doc/html/rfc7292#section-4
*/
public class Pkcs12KeyStore {
private final Der.INTEGER version;
private final ContentInfo authSafe;
private final MacData ma... |
e7585fa5-2fb7-4acd-9097-34dd0194e84e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-18 21:00:12", "repo_name": "adolfo17832/proyectoSSyR", "sub_path": "/src/proyectoSSyR/servicio/ConectarServicio.java", "file_name": "ConectarServicio.java", "file_ext": "java", "file_size_in_byte": 1006, "line... | https://github.com/adolfo17832/proyectoSSyR | 195 | FILENAME: ConectarServicio.java | 0.286169 | /*
* 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 proyectoSSyR.servicio;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author mario
*/
public c... |
68f7d807-76ed-4d18-b14f-7746b259f98f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-07 17:39:46", "repo_name": "milanrath0d/linux-simulator", "sub_path": "/src/main/java/org/milan/provider/SimpleBannerProvider.java", "file_name": "SimpleBannerProvider.java", "file_ext": "java", "file_size_in_... | https://github.com/milanrath0d/linux-simulator | 218 | FILENAME: SimpleBannerProvider.java | 0.221351 | package org.milan.provider;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.shell.plugin.support.DefaultBannerProvider;
import org.springframework.shell.support.util.OsUtils;
import org.springframework.stereotype.Component;
/**
* Simple Banner Pro... |
c0432819-f880-42dc-a271-63535bb69ed3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-21 14:27:57", "repo_name": "softwarebio/Mood-Android", "sub_path": "/app/src/main/java/com/buzzware/mood/activity/NotificationActivity.java", "file_name": "NotificationActivity.java", "file_ext": "java", "file... | https://github.com/softwarebio/Mood-Android | 172 | FILENAME: NotificationActivity.java | 0.191933 | package com.buzzware.mood.activity;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;
import com.buzzware.mood.R;
import com.buzzware.mood.databinding.ActivityNotificationBinding;
public class NotificationActivity extends AppCompatActivity {
ActivityNotificationBinding bindi... |
718701c4-0cfb-4336-9867-a18d525ac6cb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-05 11:00:29", "repo_name": "ArturMadejski/a-made.pl", "sub_path": "/src/main/java/pl/art/amadepl/dto/MessageDto.java", "file_name": "MessageDto.java", "file_ext": "java", "file_size_in_byte": 1026, "line_count... | https://github.com/ArturMadejski/a-made.pl | 206 | FILENAME: MessageDto.java | 0.224055 | package pl.art.amadepl.dto;
import org.springframework.stereotype.Component;
import pl.art.amadepl.entity.MessageType;
import java.util.Date;
public class MessageDto {
private Integer id;
private String text;
private MessageType messageType;
private Date created;
public MessageDto(Integer id, S... |
f20fa557-b74f-4883-bac8-450b37c3538a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-11 06:49:06", "repo_name": "iumehara/login-app", "sub_path": "/server/login-app-spring/src/main/java/com/example/user/UserRepo.java", "file_name": "UserRepo.java", "file_ext": "java", "file_size_in_byte": 1175... | https://github.com/iumehara/login-app | 219 | FILENAME: UserRepo.java | 0.277473 | package com.example.user;
import com.example.login.LoginCredentials;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Optional;
@Repository
public class UserRepo {
private UserDataMapper dataMapper;
public UserRepo(UserDataMapper dataMapper) {
this.dataMapper... |
9a79fda1-0ff4-4e06-811b-538de78ac9f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-06-06T17:02:14", "repo_name": "zwan2204/CP14-2", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1017, "line_count": 43, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/zwan2204/CP14-2 | 294 | FILENAME: README.md | 0.245085 | # CP14-2
Group 40 capstone project
## Installation
Use npm insall to install the package
```bash
cd CP14-2
npm install
```
## Development
```bash
npm run start
```
## Deployment
1. Fork the repository
2. Login to the [Amplify Console](https://console.aws.amazon.com/amplify/home) and choose Get started under D... |
a716f62b-6ce5-4b92-9069-71f5fc02e31f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-21 23:00:08", "repo_name": "apc4141/a-knights-adventure", "sub_path": "/src/knightsadventure/ui/events/LoopLinkEvent.java", "file_name": "LoopLinkEvent.java", "file_ext": "java", "file_size_in_byte": 1036, "li... | https://github.com/apc4141/a-knights-adventure | 208 | FILENAME: LoopLinkEvent.java | 0.292595 | package knightsadventure.ui.events;
import knightsadventure.ui.Prompt;
import java.io.IOException;
public abstract class LoopLinkEvent extends LinkEvent {
public LoopLinkEvent(String eventName, Event... events) {
super(eventName, events);
}
@Override
public void execute() {
preLink(... |
8ae08bc0-6426-4d41-9516-93c5247eef09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 02:25:48", "repo_name": "biantaiwuzui/netx", "sub_path": "/trunk/netx-common/src/main/java/com/netx/common/user/dto/integration/SelectUserProfessionResponse.java", "file_name": "SelectUserProfessionResponse... | https://github.com/biantaiwuzui/netx | 202 | FILENAME: SelectUserProfessionResponse.java | 0.195594 | package com.netx.common.user.dto.integration;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
@ApiModel("用户工作经历信息")
public class SelectUserProfessionResponse {
@ApiModelProperty("职业")
private String professionLabel;
@ApiModelProperty("工作经历详... |
295e9ac6-0cac-4c8f-868f-427279253678 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-05 17:20:40", "repo_name": "puvvadivk4/master", "sub_path": "/demo-springboot/src/main/java/com/example/hrsh/demo/services/PersonService.java", "file_name": "PersonService.java", "file_ext": "java", "file_size... | https://github.com/puvvadivk4/master | 188 | FILENAME: PersonService.java | 0.259826 | package com.example.hrsh.demo.services;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.hrsh.demo.repos.PersonRepository;
import com.example.hrsh.demo.ents.*;
@Service
publ... |
c69bc906-1d92-47e2-98c6-c47ba41ee612 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-10 15:21:48", "repo_name": "VSukhovych/diploma", "sub_path": "/src/main/java/edu/nulp/diploma/businesslogic/menu/city/CityServicesLogic.java", "file_name": "CityServicesLogic.java", "file_ext": "java", "file_s... | https://github.com/VSukhovych/diploma | 235 | FILENAME: CityServicesLogic.java | 0.26971 | package edu.nulp.diploma.businesslogic.menu.city;
import edu.nulp.diploma.pageobject.menu.city.CityServicesPage;
import io.qameta.allure.Step;
public class CityServicesLogic {
private CityServicesPage cityServicesPage;
public CityServicesLogic() {
cityServicesPage = new CityServicesPage();
}
... |
dfd77d39-b384-4f42-9c59-e644daaf6a8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-04-01T21:43:36", "repo_name": "kkirsche/launchy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1195, "line_count": 40, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/kkirsche/launchy | 311 | FILENAME: README.md | 0.286169 | # Launchy
Because someone needs to launch the Mac OS X services already.
## Introduction
I hate OS'X's `launchctl`? You have to give it exact filenames. The syntax is annoyingly different from Linux's nice, simple init system and it's overly verbose. It's just not a very developer-friendly tool.
Launchy aims to be ... |
d61fb848-03a4-4933-97c8-3a9d8df17da1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-09 10:30:29", "repo_name": "alireza-ebrahimi/telegram-talaeii", "sub_path": "/5.3.5/sources/com/crashlytics/android/core/InvalidSessionReport.java", "file_name": "InvalidSessionReport.java", "file_ext": "java"... | https://github.com/alireza-ebrahimi/telegram-talaeii | 248 | FILENAME: InvalidSessionReport.java | 0.290981 | package com.crashlytics.android.core;
import io.fabric.sdk.android.Fabric;
import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
class InvalidSessionReport implements Report {
private final Map<String, String> customHeaders = new HashMap(ReportUploader.HEADER_INVALID_C... |
cc48cd48-8e73-4e1e-8244-68a9f09702c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-06 10:15:03", "repo_name": "LikhanovP/s14_question", "sub_path": "/motocross/src/main/java/com/rosa/swift/core/network/json/sap/swchat/JRoom.java", "file_name": "JRoom.java", "file_ext": "java", "file_size_in_... | https://github.com/LikhanovP/s14_question | 305 | FILENAME: JRoom.java | 0.27048 | package com.rosa.swift.core.network.json.sap.swchat;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* Created by yalang on 04.12.2014.
* <p>
* ROOM_ID ZCHAT_ROOM_ID
* TOPIC CHAR100
* LAST_CHANGE TIMESTAMP
* MESSAGE_COUNT INT4
* SWIFT_CHAT ZSWIFT_CHAT
*/
public class JRoom... |
0dfaa1d3-140e-49e8-a9d6-c11b9fe62f6b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-17 13:44:19", "repo_name": "mack94/urban-traffic-monitoring-application", "sub_path": "/cron/src/main/java/pl/edu/agh/pp/cron/utils/RoutesLoader.java", "file_name": "RoutesLoader.java", "file_ext": "java", "fi... | https://github.com/mack94/urban-traffic-monitoring-application | 202 | FILENAME: RoutesLoader.java | 0.288569 | package pl.edu.agh.pp.cron.utils;
import org.apache.commons.io.IOUtils;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by Maciej on 15.05.2016.
* 00:14
* Project: 1.
*/
public class RoutesLoader {
/**
* Thread-safe singleton.... |
4329b0f0-08e3-45cb-a337-038b044df1e5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-10T20:22:49", "repo_name": "AThoennes/Plex-Music", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1048, "line_count": 17, "lang": "en", "doc_type": "text", "blob... | https://github.com/AThoennes/Plex-Music | 248 | FILENAME: README.md | 0.212069 | # Plex-Music
This is a python script I wrote to download all the music from my plex server.
It uses the plexapi for python which can be found [here.](http://python-plexapi.readthedocs.io/en/latest/introduction.html)
For now, this script only lets you enter the atist you would like to download.
You can enter as many ar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.