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 |
|---|---|---|---|---|---|---|
a5b496ae-0e13-4471-bdef-6911f829a115 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-09-19T12:18:01", "repo_name": "kentchiu/kentchiu.github.com", "sub_path": "/_posts/2011-10-17-centos.md", "file_name": "2011-10-17-centos.md", "file_ext": "md", "file_size_in_byte": 1159, "line_count": 43, "l... | https://github.com/kentchiu/kentchiu.github.com | 398 | FILENAME: 2011-10-17-centos.md | 0.272025 | ---
author: Kent Chiu
published: true
layout: post
title: "CentOS"
date: 2011-10-17
comments: true
external-url:
sharing: true
footer: true
tags:
- centos
---
- [CentOS 5
系列??](http://smartraining.cn/centos "http://smartraining.cn/centos")
- SmarTraining 工作室
- [LAMP install on
CentOS5](http://wik... |
9ff03396-a972-4924-964a-5caa2d3f166e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-12-04T01:29:55", "repo_name": "romainbou/scrape-to-ipfs", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1147, "line_count": 35, "lang": "en", "doc_type": "text", "... | https://github.com/romainbou/scrape-to-ipfs | 300 | FILENAME: README.md | 0.23092 | # Static page to IPFS gateway
[](https://travis-ci.org/romainbou/scrape-to-ipfs)
[](https://goreportcard.com/report/github.com/romainbou/scrape-to-ipfs)
... |
328abbe4-01c4-4c40-9272-94332716d1fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-28 15:45:39", "repo_name": "Mengnancy/DelayTest", "sub_path": "/src/main/java/com/qm/nettylearn/marshalling/SubReqServerHandler.java", "file_name": "SubReqServerHandler.java", "file_ext": "java", "file_size_in... | https://github.com/Mengnancy/DelayTest | 235 | FILENAME: SubReqServerHandler.java | 0.26588 | package com.qm.nettylearn.marshalling;
import com.qm.nettylearn.protobuf.SubscribeReqProto;
import com.qm.nettylearn.protobuf.SubscribeRespProto;
import io.netty.channel.ChannelHandlerAdapter;
import io.netty.channel.ChannelHandlerContext;
/**
* @Author: Linglingxin
* @Date: 2018/11/29 21:12
*/
public class SubReq... |
b603e1a2-b7fc-4e6c-9e90-1595b83ac585 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-03 07:30:32", "repo_name": "Shaowenqiang/bbgsforall", "sub_path": "/bbgs-templet/src/main/java/cn/com/hqep/templet/model/tblBbgsBatchModel.java", "file_name": "tblBbgsBatchModel.java", "file_ext": "java", "fil... | https://github.com/Shaowenqiang/bbgsforall | 269 | FILENAME: tblBbgsBatchModel.java | 0.214691 | package cn.com.hqep.templet.model;
/**
* 批次表
*
* @author shaowenqiang
* @date
*/
public class tblBbgsBatchModel {
String id;
String batchName;//批次名称
String isMaterial;//物资类别 1:物资 2:非物资
public tblBbgsBatchModel(String id, String batchName, String isMaterial) {
this.id = id;
this.ba... |
a1b95ead-57b2-446a-845e-63d37edd7b32 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-02 06:01:19", "repo_name": "o2oHackson/niceToMeetingYou", "sub_path": "/src/main/java/com/cmb/o2o/hackson/nicetomeetyou/config/WebMvcConfig.java", "file_name": "WebMvcConfig.java", "file_ext": "java", "file_si... | https://github.com/o2oHackson/niceToMeetingYou | 224 | FILENAME: WebMvcConfig.java | 0.221351 | package com.cmb.o2o.hackson.nicetomeetyou.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.web.servlet.MultipartConfigFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.we... |
bbe1c9e0-83cd-4aee-b6fa-e097dd04346d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-12 05:17:35", "repo_name": "leozhangsr/kafka-toolkit", "sub_path": "/offset-kit/src/main/java/com/bigdatalighter/kafka/offset/monitor/LoggingOffsetStateObserver.java", "file_name": "LoggingOffsetStateObserver.... | https://github.com/leozhangsr/kafka-toolkit | 248 | FILENAME: LoggingOffsetStateObserver.java | 0.292595 | package com.bigdatalighter.kafka.offset.monitor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author: Leo Zhang(johnson5211.work@gmail.com)
**/
public class LoggingOffsetStateObserver extends AbsConsumerOffsetStateObserver {
private Logger logger = LoggerFactory.getLogger(LoggingOffsetStateOb... |
34c4710f-db97-4f69-a8d1-f843857f4e12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-25 03:23:32", "repo_name": "kevinffk/_KVProject", "sub_path": "/_KVProjectLib/src/main/java/com/kv/iprojectlib/ui/toast/iRectToast.java", "file_name": "iRectToast.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/kevinffk/_KVProject | 209 | FILENAME: iRectToast.java | 0.26971 | package com.kv.iprojectlib.ui.toast;
import android.content.Context;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.kv.iprojectlib.R;
public class iRectToast extends T... |
ace8f05b-e9c1-4281-9c18-8965d5c15036 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-05 02:39:00", "repo_name": "superroye/talentAdapter", "sub_path": "/talentrecyclerview/src/main/java/com/supylc/talentrecyclerview/support/LoadMoreHolder.java", "file_name": "LoadMoreHolder.java", "file_ext": ... | https://github.com/superroye/talentAdapter | 248 | FILENAME: LoadMoreHolder.java | 0.245085 | package com.supylc.talentrecyclerview.support;
import android.view.View;
import android.widget.TextView;
import com.supylc.talentrecyclerview.HolderRes;
import com.supylc.talentrecyclerview.R;
import com.supylc.talentrecyclerview.TalentHolder;
/**
* @author Roye
* @date 2019/4/17
*/
@HolderRes(resName = "layout_r... |
8cce1adf-59f5-44e7-b640-2b20b3562865 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-25 16:41:32", "repo_name": "sbt-java-school/vladimir.varygin", "sub_path": "/lesson26/src/main/java/lesson26/home/dao/entities/Unit.java", "file_name": "Unit.java", "file_ext": "java", "file_size_in_byte": 108... | https://github.com/sbt-java-school/vladimir.varygin | 255 | FILENAME: Unit.java | 0.282196 | package lesson26.home.dao.entities;
import javax.persistence.*;
/**
* Модель таблицы единиц измерения
*/
@Entity
@Table(name = "UNITS")
public class Unit {
private Long id;
private String name;
private String shortName;
public Unit() {
}
public Unit(Long id) {
this.id = id;
}
... |
cc13ca04-f81c-476d-8d69-df824e549ab7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-23 22:32:33", "repo_name": "ellie-friar-20/EF_APCS", "sub_path": "/015_LoanCalculator/LoanCalculator.java", "file_name": "LoanCalculator.java", "file_ext": "java", "file_size_in_byte": 1055, "line_count": 31, ... | https://github.com/ellie-friar-20/EF_APCS | 202 | FILENAME: LoanCalculator.java | 0.242206 | import java.util.Scanner;
public class LoanCalculator
{
public static void main(String[] args)
{
//created doubles put into scanner printed with multiply and divide//
double monthlyinterest = 0;
double principalBalance = 0;
double annualInterestRate = 0;
double remaining... |
66f133d5-4b24-42dc-8dd1-1b88787ddf15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 13:25:09", "repo_name": "camysandhu/CalculateMarks", "sub_path": "/app/src/main/java/com/example/calculatemarks/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/camysandhu/CalculateMarks | 260 | FILENAME: MainActivity.java | 0.258326 | package com.example.calculatemarks;
import androidx.appcompat.app.AppCompatActivity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.util.Log;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
private static f... |
bb76b482-5a5b-4683-a904-f41e9f71f3d9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-28 21:59:53", "repo_name": "dekelbz/darwin", "sub_path": "/src/main/java/com/dekel/darwin/users/service/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1929... | https://github.com/dekelbz/darwin | 183 | FILENAME: UserServiceImpl.java | 0.258326 | package com.dekel.darwin.users.service;
import com.dekel.darwin.users.domain.User;
import com.dekel.darwin.users.repository.UserRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Optional;
@Service
public class UserServiceImpl ... |
7727f953-3708-479b-bfa7-622a9ea443f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-08T19:51:08", "repo_name": "robwil/darebee-workout", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1056, "line_count": 30, "lang": "en", "doc_type": "text", "bl... | https://github.com/robwil/darebee-workout | 235 | FILENAME: README.md | 0.252384 | # darebee-workout
## Background
Darebee.com offers many free workouts that can be done anywhere, without equipment. I have been enjoying these workouts,
but one frustration is that for a workout noob like me, the workout graphics don't always make it clear what to do for
any given exercise. The site addresses this by... |
c636f044-d1b8-4e12-9752-11182a638117 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-24 17:45:20", "repo_name": "gzeinnumer/BindingTestInclude", "sub_path": "/app/src/main/java/com/gzeinnumer/bindingtestinclude/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_siz... | https://github.com/gzeinnumer/BindingTestInclude | 195 | FILENAME: MainActivity.java | 0.229535 | package com.gzeinnumer.bindingtestinclude;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.Toast;
import com.gzeinnumer.bindingtestinclude.databinding.ActivityMainBinding;
import co... |
a632a3f1-3764-4109-9afb-9654a16aef43 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-21 21:59:51", "repo_name": "luisasuraci/develop", "sub_path": "/rabbitMQ/ConsumerService/src/main/java/com/example/consumer/services/CelsiusService.java", "file_name": "CelsiusService.java", "file_ext": "java"... | https://github.com/luisasuraci/develop | 214 | FILENAME: CelsiusService.java | 0.283781 | package com.example.consumer.services;
import com.example.consumer.model.Celsius;
import com.example.consumer.utilities.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;
@Service... |
4e56896c-8c25-4725-bd8d-84041a5db925 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-04T10:58:24", "repo_name": "DsWdi1997/Test_framework", "sub_path": "/src/test/java/webTest/DemoTest.java", "file_name": "DemoTest.java", "file_ext": "java", "file_size_in_byte": 1229, "line_count": 45, "lang":... | https://github.com/DsWdi1997/Test_framework | 289 | FILENAME: DemoTest.java | 0.264358 | package webTest;
import org.omg.PortableInterceptor.SYSTEM_EXCEPTION;
import org.openqa.selenium.WebDriver;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import webTest.Open_browsers;
import webTest.page.SPGLogin;
pu... |
668f7e53-9972-4572-80ed-a5e51a453d58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-26 00:38:46", "repo_name": "liu-jia-jun/java", "sub_path": "/javase/src/ljj/socket/udp/UdpReceive.java", "file_name": "UdpReceive.java", "file_ext": "java", "file_size_in_byte": 1232, "line_count": 63, "lang":... | https://github.com/liu-jia-jun/java | 262 | FILENAME: UdpReceive.java | 0.273574 | package ljj.socket.udp;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
/**
* @author 刘佳俊
* @Date 2021/7/19
*
* 用于接收信息
*
*/
public class UdpReceive implements Runnable{
private String name;
private int port;
public UdpReceive(String name, int port) {
this.name = name;
... |
1679cb2a-2791-46bc-a4b7-aabb20cd1cd9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 16:02:57", "repo_name": "Kazpenn/schema-parcer", "sub_path": "/src/main/java/edu/cnm/deepdive/parser/model/Index.java", "file_name": "Index.java", "file_ext": "java", "file_size_in_byte": 999, "line_count":... | https://github.com/Kazpenn/schema-parcer | 230 | FILENAME: Index.java | 0.214691 | package edu.cnm.deepdive.parser.model;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Index {
@Expose
private String name;
@Expose
private boolean unique;
@Expose
private List<String> columnNames;
@Expose
@Serialize... |
0295702a-a3aa-4b4c-bfa2-43b40b00d4c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-07 08:35:32", "repo_name": "powertac/powertac-experiment-scheduler", "sub_path": "/src/main/java/org/powertac/rachma/treatment/FixedServerParameterTreatment.java", "file_name": "FixedServerParameterTreatment.j... | https://github.com/powertac/powertac-experiment-scheduler | 222 | FILENAME: FixedServerParameterTreatment.java | 0.23231 | package org.powertac.rachma.treatment;
import org.powertac.rachma.instance.Instance;
import org.powertac.rachma.instance.ServerParameters;
import java.util.Objects;
@Deprecated
public class FixedServerParameterTreatment implements Treatment {
private final String key;
private final String value;
public... |
651e77df-19de-49e7-b6c8-e34b933fecf1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-12 23:10:47", "repo_name": "rlarlejr88/IntroToOOP", "sub_path": "/IntroToOOP/src/week1/classes/Rectangle.java", "file_name": "Rectangle.java", "file_ext": "java", "file_size_in_byte": 1070, "line_count": 49, "... | https://github.com/rlarlejr88/IntroToOOP | 232 | FILENAME: Rectangle.java | 0.27513 | package week1.classes;
public class Rectangle {
private int height;
private int width;
private String color;
public Rectangle(int width, int height, String color){
if(height < 0){
this.height = 1;
}
if(width < 0){
this.width = 1;
}
... |
ba9e335c-68c9-4501-8b68-88523df609ee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-26 21:57:06", "repo_name": "felzr/Controle-lanches", "sub_path": "/ControledeLanches/app/src/main/java/com/example/a709151034/controledelanches/Activitys/MainActivity.java", "file_name": "MainActivity.java", "... | https://github.com/felzr/Controle-lanches | 216 | FILENAME: MainActivity.java | 0.205615 | package com.example.a709151034.controledelanches.Activitys;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.example.a709151034.controledelanches.R;
public class MainActivity extends AppCompatActivity {
@Override
p... |
7d0ca752-a133-477b-8b52-a1ff1d507029 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-31 14:52:38", "repo_name": "miniants/miniarch", "sub_path": "/boot/src/main/java/cn/remex/wechat/event/WeChatScanEvent.java", "file_name": "WeChatScanEvent.java", "file_ext": "java", "file_size_in_byte": 1046,... | https://github.com/miniants/miniarch | 270 | FILENAME: WeChatScanEvent.java | 0.23793 | package cn.remex.wechat.event;
import cn.remex.core.RemexEvent;
/**
* 名称:
* 缩写:
* 用途:
* Created by yangy on 2016/4/9 0009.
*/
public class WeChatScanEvent extends RemexEvent {
private static final long serialVersionUID = -5467836967924859761L;
private String openId;
private String eventKey;
priva... |
ab0dd57f-4d1c-45da-a905-5831a5307627 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-01 23:08:19", "repo_name": "DenilsonVitorino/FutsalManager", "sub_path": "/app/src/main/java/br/com/futsalmanager/util/TimePickerUtil.java", "file_name": "TimePickerUtil.java", "file_ext": "java", "file_size_i... | https://github.com/DenilsonVitorino/FutsalManager | 195 | FILENAME: TimePickerUtil.java | 0.282988 | package br.com.futsalmanager.util;
import android.app.TimePickerDialog;
import android.content.Context;
import android.widget.EditText;
import android.widget.TimePicker;
import java.text.SimpleDateFormat;
import java.util.Calendar;
public class TimePickerUtil {
private Calendar myCalendar = Calendar.getInstance... |
2e8bceb4-3aa6-430c-85d3-0645aa327473 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-23 06:15:53", "repo_name": "LONGHOO/startJava", "sub_path": "/product/src/main/java/com/shiyi/product/_03product/NewTask.java", "file_name": "NewTask.java", "file_ext": "java", "file_size_in_byte": 1273, "line... | https://github.com/LONGHOO/startJava | 287 | FILENAME: NewTask.java | 0.262842 | package com.shiyi.product._03product;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.MessageProperties;
/**
*功能描述 worker模式
* @author 十一
* @date 2019-07-06 20:00
*/
public class NewTask {
private static final S... |
c4f3e894-1a7f-4d97-8400-45581b10fc7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-07 11:43:34", "repo_name": "softwareengineerhub/graphics_concurrency_images_io", "sub_path": "/StreamsAdvancedExample_/StreamsAdvancedExample_/src/streamsadvancedexample_/Person.java", "file_name": "Person.jav... | https://github.com/softwareengineerhub/graphics_concurrency_images_io | 232 | FILENAME: Person.java | 0.282988 | package streamsadvancedexample_;
import java.io.*;
public class Person implements Serializable {
private String name;
private int age;
private boolean sex;
public Person() {
}
public void setName(String name){
this.name = name;
}
public String getName(){
return this.... |
2686ca16-3302-4865-8e56-c791b58006cf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-09 11:18:35", "repo_name": "SwiftSMS/Desktop", "sub_path": "/src/main/java/org/swiftsms/desktop/dao/SettingsDao.java", "file_name": "SettingsDao.java", "file_ext": "java", "file_size_in_byte": 1064, "line_coun... | https://github.com/SwiftSMS/Desktop | 172 | FILENAME: SettingsDao.java | 0.250913 | package org.swiftsms.desktop.dao;
import org.swiftsms.desktop.model.Settings;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class SettingsDao {
@Autowired
pri... |
d00f1473-a56b-4cfd-b268-fe8057b3a378 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-11 09:54:53", "repo_name": "aspineon/spring-boot-mvc-ddd-jpa", "sub_path": "/src/main/java/it/almaviva/starter/services/impl/RetailItemServiceImpl.java", "file_name": "RetailItemServiceImpl.java", "file_ext": ... | https://github.com/aspineon/spring-boot-mvc-ddd-jpa | 194 | FILENAME: RetailItemServiceImpl.java | 0.273574 | package it.almaviva.starter.services.impl;
import com.google.common.collect.Lists;
import it.almaviva.starter.domain.jpa.entities.RetailItemEntity;
import it.almaviva.starter.repositories.RetailItemRepository;
import it.almaviva.starter.services.RetailItemService;
import org.springframework.beans.factory.annotation.Au... |
cbe7836f-d1bf-4b33-bde1-d015fa0c2d89 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-10 20:03:56", "repo_name": "zwolek85/teai-pracadomowatydzien10", "sub_path": "/tests/testy-jednostkowe/src/test/java/pl/dzw/testyjednostkowe/animal/AnimalControllerTest2.java", "file_name": "AnimalControllerTe... | https://github.com/zwolek85/teai-pracadomowatydzien10 | 222 | FILENAME: AnimalControllerTest2.java | 0.285372 | package pl.dzw.testyjednostkowe.animal;
import org.assertj.core.util.Lists;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.BDDMockito;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.junit.jup... |
e994f041-4ae1-4c6b-977b-cf822b7334e7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-17 07:38:01", "repo_name": "afikri/restful-api-with-springframework", "sub_path": "/src/main/java/net/afikri/employee/model/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/afikri/restful-api-with-springframework | 258 | FILENAME: Employee.java | 0.272799 | package net.afikri.employee.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "employees")
public class Employee {
@Id
@Column(name = "id")
int id;
@Column(name = "fullName")
String fullName;
... |
b8577135-e4db-4a2c-9986-7bd493fb6dc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-04 19:01:29", "repo_name": "silas-adailton/AppTesteModificado", "sub_path": "/app/src/main/java/com/example/autodoc/appteste/domain/message/interactor/CreateUserInteractor.java", "file_name": "CreateUserIntera... | https://github.com/silas-adailton/AppTesteModificado | 190 | FILENAME: CreateUserInteractor.java | 0.243642 | package com.example.autodoc.appteste.domain.message.interactor;
import com.example.autodoc.appteste.data.RepositoryUser;
import com.example.autodoc.appteste.domain.message.User;
import javax.inject.Inject;
import io.reactivex.Observable;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.s... |
6d5c7833-70fd-4766-91b2-39ff606150e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-19 18:05:53", "repo_name": "gpreston-womply/merchant-search", "sub_path": "/merchant-search/client/src/main/java/com/womply/client/MerchantServiceClient.java", "file_name": "MerchantServiceClient.java", "file_... | https://github.com/gpreston-womply/merchant-search | 233 | FILENAME: MerchantServiceClient.java | 0.282196 | package com.womply.client;
import com.womply.client.BaseServiceClient;
import com.womply.models.Merchant;
import java.util.Optional;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
/**
* A java client endpoint for the merchant-search service.
*/
public cla... |
15a6a751-7dc3-40c8-8822-dc097d445556 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 10:21:32", "repo_name": "dingfei2018/anfascm", "sub_path": "/src/main/java/com/thinkgem/jeesite/common/aspect/DynamicSourcedbAspect.java", "file_name": "DynamicSourcedbAspect.java", "file_ext": "java", "fil... | https://github.com/dingfei2018/anfascm | 230 | FILENAME: DynamicSourcedbAspect.java | 0.290981 | package com.thinkgem.jeesite.common.aspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;
import com.thinkgem.jeesite.common.annotation.DynamicSourcedb;
import com.thinkgem.jeesite.com... |
7f858010-3da7-4192-af84-54bc6b5d8fd6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-06-12T06:54:29", "repo_name": "MTnes/GlugTask", "sub_path": "/task.md", "file_name": "task.md", "file_ext": "md", "file_size_in_byte": 1158, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id": "35f... | https://github.com/MTnes/GlugTask | 388 | FILENAME: task.md | 0.262842 | mkdir music touch song{1..10}.mp3 mv song*.mp3 ./music ln -s music audio
sudo -s groupadd sysadmin useradd -m bob -p linux123 useradd -m rob -p linux123 groupadd manager useradd -m max -p linux123 usermod -g sysadmin rob usermod -g sysadmin bob usermod -g sysadmin max usermod -a -G manager rob usermod -a -G manager bo... |
40d066ca-6c48-404b-a544-c83a19cfbf65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-18 07:24:05", "repo_name": "mirror5821/Woodpeckers", "sub_path": "/app/src/main/java/com/mirror/woodpecker/app/util/DBUtil.java", "file_name": "DBUtil.java", "file_ext": "java", "file_size_in_byte": 1063, "lin... | https://github.com/mirror5821/Woodpeckers | 259 | FILENAME: DBUtil.java | 0.253861 | package com.mirror.woodpecker.app.util;
import com.mirror.woodpecker.app.app.AppContext;
import com.mirror.woodpecker.app.model.cache.PhoneCache;
import org.xutils.DbManager;
import org.xutils.ex.DbException;
import org.xutils.x;
import java.util.List;
/**
* Created by 王沛栋 on 2016-06-22.
* 数据库操作类
*/
public class... |
6fa649df-288a-44d4-83c9-aff7b36b9d5b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-05 01:10:26", "repo_name": "HasMuh/PostOpGo", "sub_path": "/app/src/main/java/com/hasan/postopgo/Legal.java", "file_name": "Legal.java", "file_ext": "java", "file_size_in_byte": 1066, "line_count": 41, "lang":... | https://github.com/HasMuh/PostOpGo | 207 | FILENAME: Legal.java | 0.201813 | package com.hasan.postopgo;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;
public class Legal extends AppCompatActivity
{
private WebView dialog;
@Override
protected void onCreate(Bundle savedInstanceState) {
... |
61a14183-c62e-47a9-ab8f-e75ae42085a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-10 04:20:15", "repo_name": "dovikn/inegotiate-android", "sub_path": "/src/com/google/gdata/client/authn/oauth/GoogleOAuthHelper.java", "file_name": "GoogleOAuthHelper.java", "file_ext": "java", "file_size_in_b... | https://github.com/dovikn/inegotiate-android | 198 | FILENAME: GoogleOAuthHelper.java | 0.229535 | package com.google.gdata.client.authn.oauth;
import com.google.gdata.client.authn.oauthproxy.OAuthProxyRequest;
public class GoogleOAuthHelper extends OAuthHelper {
private static String accessTokenUrl;
private static String requestTokenUrl;
private static String revokeTokenUrl;
private static String ... |
38c8ef08-727d-4728-bbc5-4246abc58dfe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-15 13:16:46", "repo_name": "hckr05/nezo_pont", "sub_path": "/src/main/java/com/nezopont/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 1104, "line_count": ... | https://github.com/hckr05/nezo_pont | 193 | FILENAME: UserService.java | 0.261331 | package com.nezopont.service;
import com.nezopont.entity.Role;
import com.nezopont.entity.User;
import com.nezopont.repository.UserRepository;
import com.nezopont.web.DTO.UserRegistrationDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPassword... |
698d6723-11a2-417f-b0da-172ac339e180 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-03 02:55:33", "repo_name": "lwsdegithub/SecondhandTrade", "sub_path": "/app/src/main/java/com/wanghongyun/secondhandtrade/widget/dialog/ImageDialog.java", "file_name": "ImageDialog.java", "file_ext": "java", "... | https://github.com/lwsdegithub/SecondhandTrade | 206 | FILENAME: ImageDialog.java | 0.206894 | package com.wanghongyun.secondhandtrade.widget.dialog;
import android.app.AlertDialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import com.wanghongyun.secondhandtrade.R;
import com.wanghongyun.secondhandtrade.constant.NetConstant;
import com.... |
28129f7e-f051-42c0-bb7a-45c078b7ecf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-04 10:27:36", "repo_name": "cckmit/eroch-hzero", "sub_path": "/eroch-register/src/main/java/org/hzero/register/config/RouteExtraDataManager.java", "file_name": "RouteExtraDataManager.java", "file_ext": "java",... | https://github.com/cckmit/eroch-hzero | 229 | FILENAME: RouteExtraDataManager.java | 0.225417 | package org.hzero.register.config;
import org.springframework.beans.factory.annotation.Autowired;
import io.choerodon.core.swagger.ChoerodonRouteData;
import io.choerodon.swagger.annotation.ChoerodonExtraData;
import io.choerodon.swagger.swagger.extra.ExtraData;
import io.choerodon.swagger.swagger.extra.ExtraDataManag... |
21cee6d9-f7c6-4011-8fc1-16c2a49bdf85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-08-03T23:08:50", "repo_name": "automorphism88/gentoo-overlay", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1148, "line_count": 30, "lang": "en", "doc_type": "tex... | https://github.com/automorphism88/gentoo-overlay | 279 | FILENAME: README.md | 0.220007 | # gentoo-overlay
Personal Gentoo overlay, containing a combination of staging ebuilds I may
eventually get merged into the official repos, experimental ebuilds that are
too hackish to upstream, official ebuilds I've modified to reflect my own
preferences, and ebuilds previously removed from the official portage tree
wh... |
a20c892d-a5e7-41fd-b927-f4428de27a20 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-14 04:16:21", "repo_name": "atheeng/canteen", "sub_path": "/src/main/java/com/fuseCanteen/canteen/service/CustomUserDetailsService.java", "file_name": "CustomUserDetailsService.java", "file_ext": "java", "file... | https://github.com/atheeng/canteen | 174 | FILENAME: CustomUserDetailsService.java | 0.236516 | package com.fuseCanteen.canteen.service;
import com.fuseCanteen.canteen.model.Employee;
import com.fuseCanteen.canteen.model.UserPrincipal;
import com.fuseCanteen.canteen.repository.EmployeeRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.U... |
1eb51e14-e5bc-4baf-b808-7fca9d53897c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-23 12:33:58", "repo_name": "liangyunfeng/MVVMExample", "sub_path": "/main/java/com/github/liangyunfeng/mvvm/base/BaseActivity.java", "file_name": "BaseActivity.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/liangyunfeng/MVVMExample | 213 | FILENAME: BaseActivity.java | 0.228156 | package com.github.liangyunfeng.mvvm.base;
import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import com.github.liangyunfeng.mvvm.R;
import com.github.liangyunfeng.mvvm.databinding.ActivityBaseBinding;
import com.github.lia... |
19b1c224-cef1-42eb-a7ab-4272158e96ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-14T11:11:52", "repo_name": "shashank915/docker-repo", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1045, "line_count": 37, "lang": "en", "doc_type": "text", "b... | https://github.com/shashank915/docker-repo | 218 | FILENAME: README.md | 0.246533 | # docker-repo
Important Docker Commands
-------------------------
1. To create a Docker container, download the ‘hello world’ image, by typing the following command in the terminal –
$ docker run hello world
2. For checking the number of images on your system, use the following command –
$ docker image
3. Fo... |
0817feae-d81b-4646-9961-e92889a0b928 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-06 07:16:45", "repo_name": "331264105/Cloth", "sub_path": "/Cloth-manager/Cloth-manager-domain/src/main/java/com/didu/domain/Push.java", "file_name": "Push.java", "file_ext": "java", "file_size_in_byte": 1026,... | https://github.com/331264105/Cloth | 243 | FILENAME: Push.java | 0.226784 | package com.didu.domain;
/**
* Created by Administrator on 2017/11/28.
*/
public class Push {
private int id;
private String url;
private String text;
public Push(int id, String url, String text) {
this.id = id;
this.url = url;
this.text = text;
}
public Push(String ... |
b5485606-1935-4e31-99be-223878b98920 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-19 20:11:12", "repo_name": "Xusotojas/hackathon-uah", "sub_path": "/back/src/main/java/es/jimenezhidalgo/products/model/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 1054... | https://github.com/Xusotojas/hackathon-uah | 211 | FILENAME: Product.java | 0.214691 | package es.jimenezhidalgo.products.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.sql.Timestamp;
import java.util.UUID;
public class Product {
private UUID id;
private String product;
private String price;
private Timestamp date;
public Product(
@JsonProper... |
5cedffb1-a13f-4c84-9e58-b0c41b51ec58 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-12-20T23:08:17", "repo_name": "sincarne/gtd-opml", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 15, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/sincarne/gtd-opml | 264 | FILENAME: README.md | 0.201813 | # gtd-opml #
## GTD Incompletion Trigger List in OPML ##
This list is pulled from the [43 Folders Wiki Page](http://wiki.43folders.com/index.php/Trigger_List) and coverted to OPML using [Checkvist](http://checkvist.com).
The triggers are from ~2002, and are a bit dated (got a lot of faxing to do? tapes you need to c... |
d00f43c4-8d1c-423f-ba19-62c61ec83c9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-05 02:09:43", "repo_name": "alfonso-distiller/roomies-house", "sub_path": "/src/main/java/com/roomies/house/controller/HouseController.java", "file_name": "HouseController.java", "file_ext": "java", "file_size... | https://github.com/alfonso-distiller/roomies-house | 198 | FILENAME: HouseController.java | 0.27048 | package com.roomies.house.controller;
import java.util.Collection;
import java.util.Optional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annot... |
d1c09650-35ad-485a-8437-a9b85ef10bb8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-21 20:37:57", "repo_name": "NaruseII/Tower-Defense", "sub_path": "/src/fr/naruse/towerdefense/storage/ResourcesStorage.java", "file_name": "ResourcesStorage.java", "file_ext": "java", "file_size_in_byte": 1026... | https://github.com/NaruseII/Tower-Defense | 227 | FILENAME: ResourcesStorage.java | 0.264358 | package fr.naruse.towerdefense.storage;
import fr.naruse.towerdefense.utils.async.ThreadGlobal;
import org.bukkit.Bukkit;
public class ResourcesStorage {
private static int gold = 0;
private static int wood = 0;
private static int stone = 0;
public static int getGold() {
return gold;
}
... |
3a201124-52ed-4ebe-9be3-19ab4ee21907 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-17T08:52:00", "repo_name": "conspir0/Hello-World", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1010, "line_count": 18, "lang": "en", "doc_type": "text", "blob... | https://github.com/conspir0/Hello-World | 253 | FILENAME: README.md | 0.220007 | # Hello Wolrd
>Welcome to my GitHhub profile. You can find some of my recent projects here. I have divided content in “Repositories” tab into three sections, for better readability and clarity.
## First Section - WEBSITE (numbers from 1 to 9)
>You can find websites (mostly designed and coded by myself; two of them is ... |
35c8459c-8f0d-435a-9443-fdc04b8635f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-14 07:08:47", "repo_name": "StarkTan/Practice", "sub_path": "/SpringBootPractice/Controller/src/main/java/com/stark/filter/CustomFilter.java", "file_name": "CustomFilter.java", "file_ext": "java", "file_size_i... | https://github.com/StarkTan/Practice | 219 | FILENAME: CustomFilter.java | 0.256832 | package com.stark.filter;
import com.stark.service.CustomService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import javax.servlet.... |
379ad3a2-abae-457f-af04-6761e415eb68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-25 14:39:24", "repo_name": "jeffCheng/backend-room-reservation", "sub_path": "/src/main/java/com/macbethhotel/roomreservation/converter/ReservationRequestToReservationEntityConverter.java", "file_name": "Reser... | https://github.com/jeffCheng/backend-room-reservation | 193 | FILENAME: ReservationRequestToReservationEntityConverter.java | 0.26971 | package com.macbethhotel.roomreservation.converter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.convert.converter.Converter;
import com.macbethhotel.roomreservation.entity.ReservationEntity;
import com.macbethhotel.roomreservation.model.request.ReservationRequest;
public ... |
5d021d76-07e1-4dcd-92ee-0077849ddc0b | {"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/ClientSocket.java", "file_name": "ClientSocket.java", "file_ext": "java", "file_size_in_byte": 1116, "line_count": 40, "lang": "e... | https://github.com/jandrewtorres/BioWars309 | 229 | FILENAME: ClientSocket.java | 0.286169 | package client;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetSocketAddress;
import java.net.Socket;
import java.util.logging.Level;
import java.util.logging.Logger;
public class ClientSocket {
private Socket theSocket;
private static final Logger client... |
5502384c-8b33-45c1-a478-10d01f229e80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-13 00:37:40", "repo_name": "kakacordovil/javabank", "sub_path": "/src/test/java/org/academiadecodigo/javabank/controller/web/MainControllerTest.java", "file_name": "MainControllerTest.java", "file_ext": "java"... | https://github.com/kakacordovil/javabank | 212 | FILENAME: MainControllerTest.java | 0.276691 | package org.academiadecodigo.javabank.controller.web;
import org.academiadecodigo.javabank.controller.web.MainController;
import org.junit.Before;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.MockitoAnnotations;
import org.springframework.test.web.servlet.MockMvc;
import org.springframewor... |
bc4b3397-e162-43da-a7e9-cee0bad712f3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-16 14:29:32", "repo_name": "azarai/kanban-api", "sub_path": "/src/main/java/de/codeboje/kanbanapi/auth/KanbanPermissionEvaluator.java", "file_name": "KanbanPermissionEvaluator.java", "file_ext": "java", "file_... | https://github.com/azarai/kanban-api | 227 | FILENAME: KanbanPermissionEvaluator.java | 0.256832 | package de.codeboje.kanbanapi.auth;
import java.io.Serializable;
import org.springframework.security.access.PermissionEvaluator;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Component;
import de.codeboje.kanbanapi.model.Board;
import de.codeboje.kanbanapi.model.Task;... |
24ab94ec-2901-4629-bd8d-2d521034b5ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-22 14:14:30", "repo_name": "computools/jetbridge-spring-angular-test", "sub_path": "/src/main/java/com/computools/teammanagementapi/services/PositionsServiceImpl.java", "file_name": "PositionsServiceImpl.java"... | https://github.com/computools/jetbridge-spring-angular-test | 176 | FILENAME: PositionsServiceImpl.java | 0.253861 | package com.computools.teammanagementapi.services;
import com.computools.teammanagementapi.exceptions.EntityNotFoundException;
import com.computools.teammanagementapi.models.Position;
import com.computools.teammanagementapi.repositories.PositionsRepository;
import org.springframework.beans.factory.annotation.Autowired... |
5687f512-023e-4965-ad53-af54408a5e3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-02 05:24:41", "repo_name": "Alex3000np/ExamApril", "sub_path": "/src/Trial1/Pirates/Pirate.java", "file_name": "Pirate.java", "file_ext": "java", "file_size_in_byte": 1086, "line_count": 51, "lang": "en", "doc... | https://github.com/Alex3000np/ExamApril | 279 | FILENAME: Pirate.java | 0.256832 | package Trial1.Pirates;
public class Pirate {
//fields
protected String name;
protected int gold;
protected int hp;
protected boolean woodenLeg;
//constructors
public Pirate(String name, int gold, boolean woodenLeg) { //dont need hp here its 10 by default
this.name = name;
... |
231399ab-0b78-455b-9897-7bd519815522 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-31 17:37:32", "repo_name": "Malmadani/Weather", "sub_path": "/app/src/main/java/com/example/weather/utils/SharedPreferencesHelper.java", "file_name": "SharedPreferencesHelper.java", "file_ext": "java", "file_s... | https://github.com/Malmadani/Weather | 156 | FILENAME: SharedPreferencesHelper.java | 0.247987 | package com.example.weather.utils;
import android.content.Context;
import android.content.SharedPreferences;
import androidx.preference.PreferenceManager;
import com.example.weather.R;
public class SharedPreferencesHelper {
public static String getPreferedWeatherLocation(Context context){
SharedPrefere... |
ff3674c9-ae4e-444c-a9ae-3564d782da72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-22 20:28:38", "repo_name": "yar0slava/e-ambulance", "sub_path": "/server/src/main/java/kma/practice/eambulance/mappers/CredentialsMapper.java", "file_name": "CredentialsMapper.java", "file_ext": "java", "file_... | https://github.com/yar0slava/e-ambulance | 197 | FILENAME: CredentialsMapper.java | 0.275909 | package kma.practice.eambulance.mappers;
import kma.practice.eambulance.database.entities.CredentialsEntity;
import kma.practice.eambulance.dto.CredentialsDto;
import org.modelmapper.ModelMapper;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Component;
impo... |
541903bd-554b-4b5b-9008-c7b67a75e82f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-31 01:55:48", "repo_name": "wuchuxin/wucx_code", "sub_path": "/mvn_pro/src/main/java/com/mvn_pro/project/base/impl/BaseController.java", "file_name": "BaseController.java", "file_ext": "java", "file_size_in_by... | https://github.com/wuchuxin/wucx_code | 165 | FILENAME: BaseController.java | 0.247987 | package com.mvn_pro.project.base.impl;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetai... |
6fb2d214-88fe-4909-89eb-d59799976b2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-26 04:10:38", "repo_name": "anggebuan/ITA-MNL_GROUP1", "sub_path": "/PUNZAGH/18AUG2017/PUNZAGH_18AUG2017/src/main/java/com/oocl/punzagh/sw1/WriteFile.java", "file_name": "WriteFile.java", "file_ext": "java", "... | https://github.com/anggebuan/ITA-MNL_GROUP1 | 232 | FILENAME: WriteFile.java | 0.293404 | package com.oocl.punzagh.sw1;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.text.Collator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.stream.Stream;
public class WriteFile {
private static final String ... |
a25c15f3-9000-4996-8672-8431e580a89f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-07T20:52:18", "repo_name": "Crispeh/API", "sub_path": "/APICore/src/main/java/com/crispeh/apicore/network/MySQL.java", "file_name": "MySQL.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count": 41... | https://github.com/Crispeh/API | 218 | FILENAME: MySQL.java | 0.229535 | package com.crispeh.apicore.network;
import com.mchange.v2.c3p0.ComboPooledDataSource;
import java.sql.Connection;
import java.sql.SQLException;
/**
* Created by Joey on 3/1/2015.
*/
public final class MySQL {
private Connection con;
public MySQL(String ip, String userName, String password, String dbName... |
deac5061-ce4c-4ff7-9cf8-7ce661a082bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-10 03:52:23", "repo_name": "HggMing/SloveMvnew", "sub_path": "/app/src/main/java/com/ming/slove/mvnew/ui/facelogin/FaceLoginActivity.java", "file_name": "FaceLoginActivity.java", "file_ext": "java", "file_size... | https://github.com/HggMing/SloveMvnew | 203 | FILENAME: FaceLoginActivity.java | 0.208179 | package com.ming.slove.mvnew.ui.facelogin;
import android.os.Bundle;
import com.ming.slove.mvnew.R;
import com.ming.slove.mvnew.common.base.Back2Activity;
import com.ming.slove.mvnew.common.utils.ActivityUtils;
public class FaceLoginActivity extends Back2Activity {
@Override
protected void onCreate(Bundle s... |
a8eaaf9c-118e-4ca7-8559-2a457a9a6a7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-22 08:42:40", "repo_name": "kirupakaransubramanian/JsonNew", "sub_path": "/app/src/main/java/com/example/kirupa/jsonnew/API.java", "file_name": "API.java", "file_ext": "java", "file_size_in_byte": 1033, "line_... | https://github.com/kirupakaransubramanian/JsonNew | 187 | FILENAME: API.java | 0.26971 | package com.example.kirupa.jsonnew;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class API {
private static Retrofit retrofit = null;
public static ApiInterface getClient() {
// chan... |
6793595c-1d1e-454b-8b15-feb598a6c954 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-21 04:08:23", "repo_name": "gvravikumar/TweetItSweet", "sub_path": "/app/src/main/java/com/gvrk/tweetitsweet/CustomViews/ProgressDialog.java", "file_name": "ProgressDialog.java", "file_ext": "java", "file_size... | https://github.com/gvravikumar/TweetItSweet | 189 | FILENAME: ProgressDialog.java | 0.233706 | package com.gvrk.tweetitsweet.CustomViews;
import android.app.Dialog;
import android.content.Context;
import android.view.Gravity;
import android.view.WindowManager;
import com.gvrk.tweetitsweet.R;
public class ProgressDialog extends Dialog {
public ProgressDialog(Context context) {
super(context);
... |
e67cebd9-7700-4a25-b376-f166c33b5f0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-11 16:18:30", "repo_name": "Balvee/Reimbursement-System", "sub_path": "/src/main/java/com/balvee/util/DBConnectionUtil.java", "file_name": "DBConnectionUtil.java", "file_ext": "java", "file_size_in_byte": 1011... | https://github.com/Balvee/Reimbursement-System | 205 | FILENAME: DBConnectionUtil.java | 0.245085 | package com.balvee.util;
import org.apache.log4j.Logger;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DBConnectionUtil {
// Initialize Database variables
static Logger logger = Logger.getLogger(DBConnectionUtil.class);
private static String url =... |
33008d4d-b06c-480d-8312-e9fbd5968fc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-09 20:33:29", "repo_name": "xpander99/multithreading", "sub_path": "/src/jmm_basics/tortoise_hare/RaceAbstr.java", "file_name": "RaceAbstr.java", "file_ext": "java", "file_size_in_byte": 1036, "line_count": 38... | https://github.com/xpander99/multithreading | 201 | FILENAME: RaceAbstr.java | 0.264358 | package jmm_basics.tortoise_hare;
public abstract class RaceAbstr implements Runnable{
protected final int TOTAL_DISTANCE = 100;
protected SingletonStatus status;
protected boolean isSleeping;
public RaceAbstr() {
this.status = SingletonStatus.getSingletonStatus();
}
public boolean c... |
db7222f6-112f-4a85-87c1-3d055f6f1de0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-10 11:56:38", "repo_name": "AbdoTareq/SubwayEticketting", "sub_path": "/app/src/main/java/com/abdotareq/subway_e_ticketing/data/model/NetworkConnectionInterceptor.java", "file_name": "NetworkConnectionIntercep... | https://github.com/AbdoTareq/SubwayEticketting | 203 | FILENAME: NetworkConnectionInterceptor.java | 0.256832 | package com.abdotareq.subway_e_ticketing.data.model;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import com.abdotareq.subway_e_ticketing.ApplicationController;
import org.jetbrains.annotations.NotNull;
import java.io.IOException;
import okhttp3.Intercepto... |
698fb9d9-f62f-4cbe-a928-7d194508a26b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-06-17T07:13:42", "repo_name": "neoighodaro/Whos-Typing-In-.NET", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 16, "lang": "en", "doc_type": "t... | https://github.com/neoighodaro/Whos-Typing-In-.NET | 295 | FILENAME: README.md | 0.256832 | # Building a chat _who's typing_ feature using .NET and Pusher
This is a sample project, showing how to build the popular who's typing feature of chat apps using .NET and Pusher.
[View tutorial](https://pusher.com/tutorials/typing-indicator-aspnet)
 {
this.content = str;
}
public StringExtended(StringBuilder strBuilder) {
if(strBuilder == null) this.content = null;
else this.content = strBuild... |
4b9e4416-eb87-4af5-b3cb-3a58ee79dc21 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-12 08:42:04", "repo_name": "adeep222/Automation-Project", "sub_path": "/src/Webappautomation/multiselectdropdown.java", "file_name": "multiselectdropdown.java", "file_ext": "java", "file_size_in_byte": 1068, "... | https://github.com/adeep222/Automation-Project | 225 | FILENAME: multiselectdropdown.java | 0.253861 | package Webappautomation;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
public class multiselectdropdown {
public static void main(Str... |
99517801-4573-4b75-b7fc-96ae826f7db5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-12 12:49:36", "repo_name": "fangwenfei/fwfTestCloud", "sub_path": "/cfmoto/cfmoto-modules/cfmoto-bar-code-service/src/main/java/com/cfmoto/bar/code/service/impl/CfAssemblyPlanServiceImpl.java", "file_name": "C... | https://github.com/fangwenfei/fwfTestCloud | 240 | FILENAME: CfAssemblyPlanServiceImpl.java | 0.239349 | package com.cfmoto.bar.code.service.impl;
import com.cfmoto.bar.code.model.dto.SelectList;
import com.cfmoto.bar.code.model.entity.CfAssemblyPlan;
import com.cfmoto.bar.code.mapper.CfAssemblyPlanMapper;
import com.cfmoto.bar.code.service.ICfAssemblyPlanService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;... |
bace4322-f695-4548-8ea1-1497b7ccd489 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-03 09:17:43", "repo_name": "Lilyhahaha/firstrepository", "sub_path": "/src/main/java/com/secoo/entity/Brand.java", "file_name": "Brand.java", "file_ext": "java", "file_size_in_byte": 1087, "line_count": 56, "l... | https://github.com/Lilyhahaha/firstrepository | 255 | FILENAME: Brand.java | 0.23092 | package com.secoo.entity;
import java.io.Serializable;
import java.util.List;
/**
* Created by Administrator on 2017/8/24.
*/
//品牌实体类
public class Brand implements Serializable {
private String id;
private String brandname;//品牌名
private List<Code> codes;
public String getId() {
return id;
... |
833c9b32-e307-4de8-8412-a12cf4f8430d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-04-03 19:07:21", "repo_name": "geoinline/phoebe-dynamodb", "sub_path": "/test/com/swengle/phoebe/test/model/EntityWithHashKey.java", "file_name": "EntityWithHashKey.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/geoinline/phoebe-dynamodb | 289 | FILENAME: EntityWithHashKey.java | 0.274351 | /**
*
*/
package com.swengle.phoebe.test.model;
import java.util.Set;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBAttribute;
/**
* @author Administrator
*
*/
public class EntityWithHashKey extends EntityWithJustHashKey {
private String string;
private int number;
private Set<... |
d0fd5880-e155-4676-8639-391f55fccc8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-17 20:40:17", "repo_name": "mbabarnaveed/newspaper", "sub_path": "/news/app/src/main/java/com/org/news/activities/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/mbabarnaveed/newspaper | 205 | FILENAME: SplashActivity.java | 0.294215 | package com.org.news.activities;
import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.org.news.R;
public class SplashActivity extends AppCompatActivity {
// Splash screen timer
private static int SPLASH_TIME_OUT = 300... |
0d338f8f-f349-4fee-b23b-466f3691f64d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-26 10:45:31", "repo_name": "ZhangMiao147/Notepad", "sub_path": "/app/src/main/java/com/zhangmiao/notepad/util/SPUtil.java", "file_name": "SPUtil.java", "file_ext": "java", "file_size_in_byte": 1017, "line_coun... | https://github.com/ZhangMiao147/Notepad | 191 | FILENAME: SPUtil.java | 0.220007 | package com.zhangmiao.notepad.util;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Author: zhangmiao
* Date: 2018/8/24
*/
public class SPUtil {
private static final String NAME = "Record";
public static final String MOOD_PASSWORD = "MoodPassword";
private static Share... |
910ba765-110d-4aa1-bcab-8f9a4c32b77a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-27 03:02:10", "repo_name": "liuyupy/webdemo", "sub_path": "/common/common-utils/src/main/java/com/liuyu/common/util/classloader/ClassLoaderPrinter.java", "file_name": "ClassLoaderPrinter.java", "file_ext": "ja... | https://github.com/liuyupy/webdemo | 319 | FILENAME: ClassLoaderPrinter.java | 0.288569 | package com.liuyu.common.util.classloader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* description: 打印类加载器信息. <br/>
* date: 2014年7月26日 下午11:41:17 <br/>
*
* @author pengyao
* @version
* @since JDK 1.7
*/
public class ClassLoaderPrinter {
/** logger */
private static Logger lo... |
8dea7686-5427-497e-8b0a-1439b6569577 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-19 09:52:53", "repo_name": "Tobin2020/TobinStudy", "sub_path": "/basicLib/src/main/java/top/tobin/basic/base/BaseNoModelActivity.java", "file_name": "BaseNoModelActivity.java", "file_ext": "java", "file_size_i... | https://github.com/Tobin2020/TobinStudy | 255 | FILENAME: BaseNoModelActivity.java | 0.256832 | package top.tobin.basic.base;
import android.content.Context;
import androidx.appcompat.app.AppCompatActivity;
import com.gyf.immersionbar.ImmersionBar;
import top.tobin.basic.common.ActivityCollector;
/**
* 不需要ViewModel的页面基类
*/
public abstract class BaseNoModelActivity extends AppCompatActivity {
protected... |
60b24572-d3b5-4782-abf2-4631d967440c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-17 19:22:53", "repo_name": "wmartine58/Estudios", "sub_path": "/12vo semestre/Inteligencia artificial/Deberes/Tourist Route/src/TR/MotorController.java", "file_name": "MotorController.java", "file_ext": "java"... | https://github.com/wmartine58/Estudios | 221 | FILENAME: MotorController.java | 0.247987 | package TR;
import java.util.logging.Level;
import java.util.logging.Logger;
import jess.JessEvent;
import jess.JessException;
import jess.Rete;
public class MotorController{
Rete motor;
public MotorController() {
try {
motor = new Rete();
motor.reset();
... |
db5320e2-73a8-4bf8-a692-e4848fec6ef3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-24 02:00:49", "repo_name": "hppylsh/Practice_board", "sub_path": "/edu9_lsh/src/main/java/egovframework/edu/join/web/JoinController.java", "file_name": "JoinController.java", "file_ext": "java", "file_size_in_... | https://github.com/hppylsh/Practice_board | 232 | FILENAME: JoinController.java | 0.23231 | package egovframework.edu.join.web;
import java.util.Map;
import javax.annotation.Resource;
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.Req... |
da296e4b-f7cb-4880-bb84-d3902486d1bc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-05-21T07:01:49", "repo_name": "create-softdev/softdev-program", "sub_path": "/modules/17-NPM/praxis/2-use-another-users-people-db.md", "file_name": "2-use-another-users-people-db.md", "file_ext": "md", "file_... | https://github.com/create-softdev/softdev-program | 261 | FILENAME: 2-use-another-users-people-db.md | 0.289372 | # Use People-DB
Find a user that already finished the previous exercise, and use _their_ people-db module.
Take the command-line code that uses the people-db
from [Node Async module](../../16-Node-File-Async/praxis/3-E-people-db.md).
Create a package with that code, and use a people-db package that was already publi... |
b24f6569-98d9-4afa-8921-c8e54770195f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-23 20:27:13", "repo_name": "LiuJoyceC/anomaly-detection", "sub_path": "/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ProfileAction.java", "file_name": "ProfileAction.java", "file_ext": "jav... | https://github.com/LiuJoyceC/anomaly-detection | 229 | FILENAME: ProfileAction.java | 0.280616 | /*
* Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in ... |
b20c0522-c8fd-4a8f-8709-d2e5d0a33ad0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-18 19:15:51", "repo_name": "tonildo123/CalculoFacil", "sub_path": "/app/src/main/java/com/example/tony/calculofacil/FragResto.java", "file_name": "FragResto.java", "file_ext": "java", "file_size_in_byte": 1018... | https://github.com/tonildo123/CalculoFacil | 196 | FILENAME: FragResto.java | 0.267408 | package com.example.tony.calculofacil;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
/**
* A simple {@link Fragment} subclass.
*/
public class FragResto extends Fragment {... |
8efc6bf8-893e-49e6-8227-e11d0ca64ddd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-27 01:54:26", "repo_name": "crpdev/Java-Servlets-and-JSP", "sub_path": "/src/main/java/com/crpdev/filter/LoginRequiredFilter.java", "file_name": "LoginRequiredFilter.java", "file_ext": "java", "file_size_in_by... | https://github.com/crpdev/Java-Servlets-and-JSP | 219 | FILENAME: LoginRequiredFilter.java | 0.273574 | package com.crpdev.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebFilter;
import j... |
4e3af10a-5043-4cdc-90d3-e31f02147d15 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-05T15:49:46", "repo_name": "guymella/Hue_Console", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1232, "line_count": 46, "lang": "en", "doc_type": "text", "blob... | https://github.com/guymella/Hue_Console | 288 | FILENAME: README.md | 0.261331 | # Hue_Console
Console app for interacting with Philips Hue API.
Displays Full State of All lights on Bridge. Then will show only state changes after.
if Username is not specified in the command line arguments
the monitor will prompt you to initiate a handshake with the bridge device to get a username.
# Simulat... |
1f3af631-4599-4ba6-8f70-3405e27804b0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-03 01:53:10", "repo_name": "riclops17/Concurrente", "sub_path": "/src/TrabajoPractico4/Lobo.java", "file_name": "Lobo.java", "file_ext": "java", "file_size_in_byte": 1031, "line_count": 40, "lang": "en", "doc_... | https://github.com/riclops17/Concurrente | 231 | FILENAME: Lobo.java | 0.246533 | /*
* 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 TrabajoPractico4;
import java.util.Random;
/**
*
* @author ricardo
*/
public class Lobo extends Thread {
pri... |
cdb27484-48ab-4f72-829a-477a1948f9fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-03-31 05:02:05", "repo_name": "shawnma/gwt-runtime-i18n", "sub_path": "/dyni18n/src/main/java/com/shawnma/gwt/i18n/client/StringTranslator.java", "file_name": "StringTranslator.java", "file_ext": "java", "file_si... | https://github.com/shawnma/gwt-runtime-i18n | 220 | FILENAME: StringTranslator.java | 0.243642 | package com.shawnma.gwt.i18n.client;
public class StringTranslator {
public static String translate(String resource, String key, Object... args) {
String raw = lookup(resource, key);
if (raw == null)
return "@@@@ " + resource + "/" + key + "@@@@";
return format(raw, args);
... |
bc9e883b-b453-49ea-b46d-a187174f58f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-13 13:10:30", "repo_name": "trickl/model-oanda", "sub_path": "/src/main/java/com/trickl/model/oanda/position/GetPositionResponse.java", "file_name": "GetPositionResponse.java", "file_ext": "java", "file_size_i... | https://github.com/trickl/model-oanda | 195 | FILENAME: GetPositionResponse.java | 0.249447 | package com.trickl.model.oanda.position;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.AccessLevel;
import lombok.AllArg... |
7ebcc7fc-e55c-4834-b18a-fb79d1cb30ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-25 10:54:58", "repo_name": "googleinterns/step235-2020", "sub_path": "/src/main/java/com/google/sps/servlets/BookStockServlet.java", "file_name": "BookStockServlet.java", "file_ext": "java", "file_size_in_byte... | https://github.com/googleinterns/step235-2020 | 203 | FILENAME: BookStockServlet.java | 0.279042 | package com.google.sps.servlets;
import com.google.sps.data.BooksManager;
import java.io.IOException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.json.JSONObject;
/**
* Ser... |
c304471a-93b8-4c9f-94f2-0fd7a25d207c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-24 10:41:11", "repo_name": "kkkarpagaganesh/ElectricityBillingSystem", "sub_path": "/src/com/chainsys/controller/Loginvalidation.java", "file_name": "Loginvalidation.java", "file_ext": "java", "file_size_in_by... | https://github.com/kkkarpagaganesh/ElectricityBillingSystem | 234 | FILENAME: Loginvalidation.java | 0.281406 | package com.chainsys.controller;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import com.chainsys.model.Connectionutil;
public class Loginvalidation {
public int loginValidator(int customer_id, String password) throws SQLException {
int is... |
5227480d-e3cf-4152-9428-126edd1cdcdf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-19 20:49:29", "repo_name": "lotus-coder/DidaktikAPP", "sub_path": "/app/src/main/java/com/example/didaktikapp/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1147... | https://github.com/lotus-coder/DidaktikAPP | 210 | FILENAME: MainActivity.java | 0.216012 | package com.example.didaktikapp;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
public class MainActivity extends AppCompatActivity {
private... |
0325713f-e391-40bf-a2a7-094e43e22764 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-11-08 20:59:05", "repo_name": "manzke/jersey-quickstart-archetype", "sub_path": "/src/main/resources/archetype-resources/src/main/java/WelcomeResources.java", "file_name": "WelcomeResources.java", "file_ext": "ja... | https://github.com/manzke/jersey-quickstart-archetype | 231 | FILENAME: WelcomeResources.java | 0.277473 | #set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package};
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import com.sun.jersey.api.core.ResourceContext;
/** The main entr... |
e99da1f2-d3c7-46b7-989e-df578bcaf3e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-01 18:53:27", "repo_name": "christopherOvie/RyanairTest", "sub_path": "/src/test/java/com/booking/steps/SearchFlightSteps.java", "file_name": "SearchFlightSteps.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/christopherOvie/RyanairTest | 239 | FILENAME: SearchFlightSteps.java | 0.288569 | package com.booking.steps;
import com.booking.pages.SearchPage;
import io.cucumber.java.en.And;
import io.cucumber.java.en.Given;
import net.thucydides.core.steps.ScenarioSteps;
public class SearchFlightSteps extends ScenarioSteps {
private SearchPage page;
@Given("I enter {string} as departure and {string} as a... |
1156b755-70b2-415d-bec0-e63bc8714790 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-13 22:48:09", "repo_name": "jakubvalek/Catch-game", "sub_path": "/app/src/main/java/com/example/catchgame/views/dialogs/HowToPlayDialog.java", "file_name": "HowToPlayDialog.java", "file_ext": "java", "file_siz... | https://github.com/jakubvalek/Catch-game | 193 | FILENAME: HowToPlayDialog.java | 0.23793 | package com.example.catchgame.views.dialogs;
import android.app.Dialog;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import andro... |
30602772-8c51-41f0-99ef-2435aeafedbc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-04T03:39:16", "repo_name": "The-Brad-Man/trimet-cli", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1016, "line_count": 14, "lang": "en", "doc_type": "text", "b... | https://github.com/The-Brad-Man/trimet-cli | 223 | FILENAME: README.md | 0.242206 | # trimet-cli
Simple command line utility for getting TriMet schedules and arrival times based on transit stop ID.
## Overview
The trimet-cli utility displays transit information(schedules, alerts, etc) about the PDX area's(Portland Oregon) TriMet transit system by using a specific URL pattern to collect information fro... |
8e492f46-3a35-401a-b852-18daba725b2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-18 17:14:39", "repo_name": "marcofabrizi95/ws_eclipse_master", "sub_path": "/Ebay/src/it/prova/ebay/service/CategoriaServiceImpl.java", "file_name": "CategoriaServiceImpl.java", "file_ext": "java", "file_size_... | https://github.com/marcofabrizi95/ws_eclipse_master | 216 | FILENAME: CategoriaServiceImpl.java | 0.283781 | package it.prova.ebay.service;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import it.prova.ebay.dao.CategoriaDAO;
import it.prova.ebay.model.Categoria;
@Compone... |
86dd3c70-d0b6-4228-b263-827509e83ca0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-06 03:08:19", "repo_name": "AthyLau/SpringCloud-Dept-ParentDemo", "sub_path": "/micor-service-entity/src/main/java/lcxy/springcloud/micorserviceentity/domain/dto/DeptDTO.java", "file_name": "DeptDTO.java", "fi... | https://github.com/AthyLau/SpringCloud-Dept-ParentDemo | 251 | FILENAME: DeptDTO.java | 0.20947 | package lcxy.springcloud.micorserviceentity.domain.dto;
/**
* Function:
*
* @author liubing
* Date: 2019/1/4 下午2:51
* @since JDK 1.8
*/
public class DeptDTO {
/**
* 部门名称
*/
private String deptName;
/**
* 所在的数据库
*/
private String dataSourceName;
public DeptDTO() {
}
... |
7631784b-efbb-4c67-b691-d16a66a63fd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-21 14:16:33", "repo_name": "ArfaouiMedAmine/JCI", "sub_path": "/src/main/java/tn/JCITAZ/spring/services/AppUserServiceImpl.java", "file_name": "AppUserServiceImpl.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ArfaouiMedAmine/JCI | 230 | FILENAME: AppUserServiceImpl.java | 0.290981 | package tn.JCITAZ.spring.services;
import java.util.ArrayList;
import java.util.List;
import javax.transaction.Transactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframe... |
323276de-1622-4b73-9c1e-dc7aeabafc97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-27 16:36:34", "repo_name": "zhangyugehu/ButterKnifeProject", "sub_path": "/inject-complier/src/main/java/com/thssh/FileUtils.java", "file_name": "FileUtils.java", "file_ext": "java", "file_size_in_byte": 1021,... | https://github.com/zhangyugehu/ButterKnifeProject | 191 | FILENAME: FileUtils.java | 0.255344 | package com.thssh;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
/**
* Created by hth on 2017/6/27.
*/
class FileUtils {
public static void write(String text) {
// writer.
... |
f88ef943-b2f8-4c26-a00e-6e379e92ef6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-25 01:37:59", "repo_name": "Boom618/MZhengBangPET", "sub_path": "/app/src/main/java/com/ty/zbpet/ui/activity/ProduceInStorageDetailActivity.java", "file_name": "ProduceInStorageDetailActivity.java", "file_ext"... | https://github.com/Boom618/MZhengBangPET | 196 | FILENAME: ProduceInStorageDetailActivity.java | 0.181263 | package com.ty.zbpet.ui.activity;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.RelativeLayout;
import com.ty.zbpet.R;
import butterknife.BindView;
import butterknife.ButterKnife;
/**
* 生产入库详情
*/
public class ProduceInStorageDetailActivi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.