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 |
|---|---|---|---|---|---|---|
acb20298-6926-4a2e-8f5f-732a7c45ed5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-23 01:13:03", "repo_name": "screenableinc/Project_Everest", "sub_path": "/app/src/main/java/reply_cirlce/screenable/project_everest/HorizontalImagePicker.java", "file_name": "HorizontalImagePicker.java", "file... | https://github.com/screenableinc/Project_Everest | 183 | FILENAME: HorizontalImagePicker.java | 0.229535 | package reply_cirlce.screenable.project_everest;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.DragEvent;
import android.view.View;
import android.view.ViewGroup;
public class HorizontalImagePicker{
View controller;
View controlled;
public H... |
bd91d8a2-0d2b-445e-85e8-0051c6a5ceb1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-02-07T03:03:18", "repo_name": "PyroFlareX/Zymon", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 998, "line_count": 12, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/PyroFlareX/Zymon | 227 | FILENAME: README.md | 0.224055 | # Zymon
Open Source Engine clone of PKMN, inspired by Cyriel's OpMon project that I am also contributing too.
The purpose of doing this over simply contributing to OpMon is because this is not a game. This is an engine. The engine comes with tools to create maps and Zymon and more, and there likely will be a default g... |
2bd2b762-93aa-4d1c-9bdf-ac10d7f75911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-09T11:05:47", "repo_name": "FancyChaos/fcopy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 997, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/FancyChaos/fcopy | 271 | FILENAME: README.md | 0.198064 | # f(ile)copy - Copy the content of a file
**fcopy** is a simple and fast program, to copy the content of a file into the clipboard.
**fcopy** is programmed for the *X Window System* and currently does only support that (to an extend).
# Usage
For now, **fcopy** can only copy the whole content of a file to the clipboar... |
f313a556-a5b4-4270-8fae-944c21418855 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-13 07:00:08", "repo_name": "nelke-jp/excsv", "sub_path": "/src/main/java/jp/nelke/excsv/converter/BigIntegerConverter.java", "file_name": "BigIntegerConverter.java", "file_ext": "java", "file_size_in_byte": 98... | https://github.com/nelke-jp/excsv | 172 | FILENAME: BigIntegerConverter.java | 0.295027 | package jp.nelke.excsv.converter;
import java.math.BigInteger;
import jp.nelke.excsv.exception.ConvertException;
public class BigIntegerConverter implements Converter<BigInteger> {
public BigInteger convert(Object value) throws ConvertException {
if (value == null) {
return null;
... |
fec96a4d-4f26-4ee1-bce3-673c47a9241a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-04 20:13:29", "repo_name": "dmitry-baranov/webapitest", "sub_path": "/src/main/java/example/dmitry/dao/BdConnectionParams.java", "file_name": "BdConnectionParams.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/dmitry-baranov/webapitest | 176 | FILENAME: BdConnectionParams.java | 0.278257 | package example.dmitry.dao;
import example.dmitry.errors.MyException;
import example.dmitry.errors.Response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
@Data
@Builder
@AllArgsConstructor
public clas... |
a0630b5c-9b56-40a5-9476-6e7af0faa3d5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-16 08:12:21", "repo_name": "evanholt1/qrCodeParserServer", "sub_path": "/src/main/java/com/example/demo/Controller.java", "file_name": "Controller.java", "file_ext": "java", "file_size_in_byte": 1000, "line_co... | https://github.com/evanholt1/qrCodeParserServer | 205 | FILENAME: Controller.java | 0.259826 | package com.example.demo;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.node.ObjectNode;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
@RestController
@RequestMapping("")
public class Controller {
private final Service service;
pub... |
4c67bb07-153d-48a2-89f3-236d19fb3e12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-15 08:36:01", "repo_name": "neoul-wiki/pado", "sub_path": "/src/main/java/wiki/neoul/pado/domain/actor/Actor.java", "file_name": "Actor.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 40, "l... | https://github.com/neoul-wiki/pado | 206 | FILENAME: Actor.java | 0.253861 | package wiki.neoul.pado.domain.actor;
import wiki.neoul.pado.domain.account.Account;
import javax.persistence.*;
import java.time.LocalDateTime;
/**
* Actor refers to all users, including non-signed-in user, acting on wiki system.
*
* @author hyeyoom
*/
@Entity
@Table(
name = "actors",
indexes = ... |
bcf26e79-7cd3-4595-92e9-a3d483d233e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-07-02T01:34:26", "repo_name": "i0jupiter/SimpleTwitterClient", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 999, "line_count": 26, "lang": "en", "doc_type": "text... | https://github.com/i0jupiter/SimpleTwitterClient | 225 | FILENAME: README.md | 0.226784 | This is a limited edition Android app for Twitter using Fragments.
Time spent: 15 hours
Completed User Stories: ALL required.
Required:
- Includes all required user stories from Week 3 Twitter Client
- User can switch between Timeline and Mention views using tabs.
- User can view their home timeline tweets.
... |
3c509b99-41d3-4808-b13f-0273e8cf733c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-08 06:54:37", "repo_name": "schmoe735/MaterialTest5", "sub_path": "/app/src/main/java/com/cliff/ozbargain/util/L.java", "file_name": "L.java", "file_ext": "java", "file_size_in_byte": 996, "line_count": 38, "l... | https://github.com/schmoe735/MaterialTest5 | 222 | FILENAME: L.java | 0.253861 | package com.cliff.ozbargain.util;
import android.content.Context;
import android.util.Log;
import android.widget.Toast;
import com.ocpsoft.pretty.time.PrettyTime;
import java.util.Date;
import javax.xml.parsers.ParserConfigurationException;
/**
* Created by Clifford on 27/11/2015.
*/
public class L {
public ... |
4c02fe43-0282-4d84-b8d7-ab91c0058d87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-10-12 14:15:37", "repo_name": "mmbase/didactor", "sub_path": "/components/assessment/src/main/java/nl/didactor/component/assessment/Assessment.java", "file_name": "Assessment.java", "file_ext": "java", "file_size... | https://github.com/mmbase/didactor | 211 | FILENAME: Assessment.java | 0.261331 | package nl.didactor.component.assessment;
import org.mmbase.module.core.*;
import org.mmbase.core.*;
import org.mmbase.bridge.Field;
import org.mmbase.core.util.Fields;
import org.mmbase.datatypes.DataTypes;
import org.mmbase.util.logging.*;
public class Assessment extends org.mmbase.framework.BasicComponent {
pr... |
aa0485bb-215e-4fdf-bba1-aaf86ca7f271 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-10 21:13:40", "repo_name": "vsbpro/webserver", "sub_path": "/src/main/java/org/vsb/webserver/Request.java", "file_name": "Request.java", "file_ext": "java", "file_size_in_byte": 996, "line_count": 35, "lang": ... | https://github.com/vsbpro/webserver | 210 | FILENAME: Request.java | 0.246533 | package org.vsb.webserver;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.HttpClientBuilder;
public class Request {
public static void main(String[] ... |
c5ca4dbc-5b44-4235-b318-202c686ccd35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 09:07:24", "repo_name": "a514760469/UnderstandJVM", "sub_path": "/src/main/java/com/effective/annotation/RunTests.java", "file_name": "RunTests.java", "file_ext": "java", "file_size_in_byte": 981, "line_cou... | https://github.com/a514760469/UnderstandJVM | 184 | FILENAME: RunTests.java | 0.276691 | package com.effective.annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class RunTests {
public static void main(String[] args) throws Exception {
int tests = 0;
int passed = 0;
Class<?> testClass = Class.forName(args[0]);
for ... |
4e0fd533-56b9-487e-9f2b-2ae9f261af75 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-19 05:44:11", "repo_name": "nicebyy/Inf_ItemService", "sub_path": "/item-service/src/main/java/hello/itemservice/domain/member/MemberController.java", "file_name": "MemberController.java", "file_ext": "java", ... | https://github.com/nicebyy/Inf_ItemService | 175 | FILENAME: MemberController.java | 0.249447 | package hello.itemservice.domain.member;
import hello.itemservice.domain.item.Item;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.mvc.support.Redirect... |
68f5fa92-d599-45ba-a26a-39fa62333216 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 06:00:14", "repo_name": "ichoukou/thirdapp", "sub_path": "/thirdpp-manager/src/main/java/com/zdmoney/manager/service/impl/TTppChannelMessageServiceImpl.java", "file_name": "TTppChannelMessageServiceImpl.jav... | https://github.com/ichoukou/thirdapp | 221 | FILENAME: TTppChannelMessageServiceImpl.java | 0.267408 | package com.zdmoney.manager.service.impl;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zdmoney.manager.mapper.TppChannelTMessageMapper;
import com.zdmoney.manager.service.TTppChannelMessageService... |
62752989-8bb6-4523-bc0b-4baa1fc24b3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-03 18:53:09", "repo_name": "nuron142/Chatter", "sub_path": "/app/src/main/java/com/nuron/chatter/LocalModel/SearchUser.java", "file_name": "SearchUser.java", "file_ext": "java", "file_size_in_byte": 971, "line... | https://github.com/nuron142/Chatter | 215 | FILENAME: SearchUser.java | 0.226784 | package com.nuron.chatter.LocalModel;
import com.parse.ParseUser;
/**
* Created by nuron on 31/12/15.
*/
public class SearchUser {
public static final String STRING_TRUE = "true";
public static final String STRING_FALSE = "false";
ParseUser parseUser;
String isRequestSent;
String isRequestAcc... |
5b932ce3-0304-4317-a0fa-482c9d5b4ab9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-25 18:26:02", "repo_name": "Amagesoft/workingrecyckerview", "sub_path": "/app/src/main/java/com/example/manje/myapplication/activity/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "f... | https://github.com/Amagesoft/workingrecyckerview | 168 | FILENAME: MainActivity.java | 0.20947 | package com.example.manje.myapplication.activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import com.example.manje.myapplication.R;
import com.example.manje.myapplication.adapter.Cus... |
1c2d811a-6417-4312-aa55-7485c085fcc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-11 11:10:22", "repo_name": "xuhao-98/hongtu", "sub_path": "/src/com/zjy/spring/serviceImpl/ArticleServiceImpl.java", "file_name": "ArticleServiceImpl.java", "file_ext": "java", "file_size_in_byte": 993, "line_... | https://github.com/xuhao-98/hongtu | 218 | FILENAME: ArticleServiceImpl.java | 0.267408 | package com.zjy.spring.serviceImpl;
import com.zjy.spring.mapper.ArticleMapper;
import com.zjy.spring.model.tm_info;
import com.zjy.spring.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class ... |
5d3af141-5c26-4a1b-900b-670282fceb77 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-30 20:27:03", "repo_name": "oracle/weblogic-kubernetes-operator", "sub_path": "/integration-tests/src/test/java/oracle/verrazzano/weblogic/VerrazzanoWebLogicWorkload.java", "file_name": "VerrazzanoWebLogicWork... | https://github.com/oracle/weblogic-kubernetes-operator | 235 | FILENAME: VerrazzanoWebLogicWorkload.java | 0.255344 | // Copyright (c) 2023, Oracle and/or its affiliates.
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
package oracle.verrazzano.weblogic;
import io.kubernetes.client.openapi.models.V1ObjectMeta;
import io.swagger.annotations.ApiModel;
import io.swagger.annotati... |
3ef9ae7e-e14c-41e3-a00e-8a905cc98b17 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-08 10:01:06", "repo_name": "zhangnengxian/GYPROJECT", "sub_path": "/GYproject-biz-base/src/main/java/cc/dfsoft/project/biz/base/constructmanage/entity/GraphicProgress.java", "file_name": "GraphicProgress.java"... | https://github.com/zhangnengxian/GYPROJECT | 267 | FILENAME: GraphicProgress.java | 0.250913 | package cc.dfsoft.project.biz.base.constructmanage.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* 形象进度
* @author fuliwei
*
*/
@Entity
@Table(name = "GRAPHIC_PROGRESS")
public class GraphicProgress {
private String gpId;... |
e6b016c9-b9cd-47be-9993-77e3f25f885b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-17 18:14:53", "repo_name": "rafagameiro/SD", "sub_path": "/P3/src/impl/srv/soap/SoapMediaResources.java", "file_name": "SoapMediaResources.java", "file_ext": "java", "file_size_in_byte": 996, "line_count": 39,... | https://github.com/rafagameiro/SD | 226 | FILENAME: SoapMediaResources.java | 0.267408 | package impl.srv.soap;
import impl.srv.shared.JavaMedia;
import microgram.api.java.Media;
import microgram.api.java.Result;
import microgram.api.rest.RestMediaStorage;
import microgram.api.soap.MicrogramException;
import microgram.api.soap.SoapMedia;
public class SoapMediaResources implements SoapMedia {
final Medi... |
fd815ac1-0a59-42f9-b2aa-6eb619e071dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-05 05:03:45", "repo_name": "Mazin-hub/Library-Manage-System", "sub_path": "/Library-Manage-System/src/com/Library/Service/Impl/MyBooksServiceImpl.java", "file_name": "MyBooksServiceImpl.java", "file_ext": "jav... | https://github.com/Mazin-hub/Library-Manage-System | 225 | FILENAME: MyBooksServiceImpl.java | 0.290981 | package com.Library.Service.Impl;
import com.Library.Dao.MyBooks.MyBookBackDao;
import com.Library.Dao.MyBooks.MyBooksTableDao;
import com.Library.Dao.MyBooks.UploadMyBookDao;
import com.Library.Service.MyBooksService;
import com.Library.domain.MyBooks;
import java.util.List;
public class MyBooksServiceImpl implemen... |
3cad0b85-ef81-4c60-abf6-cc61bb2ac429 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-23 22:51:35", "repo_name": "jercymarc/price-service", "sub_path": "/src/main/java/com/mizuho/trade/instrument/mock/JMSInternalMockConsumer.java", "file_name": "JMSInternalMockConsumer.java", "file_ext": "java"... | https://github.com/jercymarc/price-service | 190 | FILENAME: JMSInternalMockConsumer.java | 0.240775 | package com.mizuho.trade.instrument.mock;
import com.mizuho.trade.instrument.entity.Price;
import com.mizuho.trade.instrument.util.PriceConstants;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerF... |
209b66c3-fccf-4ae5-b3b6-b80491bf11fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-20 11:41:59", "repo_name": "automician/snippets", "sub_path": "/java/properties/profile-properties-demo/src/test/java/com/automician/profileproperties/testconfigs/BaseTest.java", "file_name": "BaseTest.java", ... | https://github.com/automician/snippets | 183 | FILENAME: BaseTest.java | 0.23231 | package com.automician.profileproperties.testconfigs;
import com.codeborne.selenide.Configuration;
import org.junit.After;
import org.junit.Before;
import static com.codeborne.selenide.Selenide.executeJavaScript;
import static com.codeborne.selenide.Selenide.open;
public class BaseTest {
public static String ap... |
17241091-187b-46a4-a7bd-381f2ca973ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-23 14:34:11", "repo_name": "ishtiaqahmad/dotwebstack-framework", "sub_path": "/core/src/main/java/org/dotwebstack/framework/param/ParameterUtils.java", "file_name": "ParameterUtils.java", "file_ext": "java", "... | https://github.com/ishtiaqahmad/dotwebstack-framework | 199 | FILENAME: ParameterUtils.java | 0.247987 | package org.dotwebstack.framework.param;
import java.util.Collection;
import lombok.NonNull;
import org.dotwebstack.framework.config.ConfigurationException;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.ValueFactory;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
public final class Param... |
348da361-3827-4660-8473-86a51f0c2039 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-17 03:14:26", "repo_name": "rileyL6122428/PokemonTrivia", "sub_path": "/src/main/java/org/l2k/trivia2/repository/RoomRepository.java", "file_name": "RoomRepository.java", "file_ext": "java", "file_size_in_byte... | https://github.com/rileyL6122428/PokemonTrivia | 237 | FILENAME: RoomRepository.java | 0.293404 | package org.l2k.trivia2.repository;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.l2k.trivia2.domain.Room;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component... |
d33b2b62-08c9-4ffe-b33f-507b3145ec7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-21 13:31:36", "repo_name": "tianjinrui/barrageDemo", "sub_path": "/app/src/main/java/com/example/a65175/myapplication/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byt... | https://github.com/tianjinrui/barrageDemo | 231 | FILENAME: MainActivity.java | 0.262842 | package com.example.a65175.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
BarrageView barrageview;
ArrayList<Barrage> date;
@Override
... |
6620edf0-a3d2-40e0-85c8-6238d0ccb07b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-15 09:36:07", "repo_name": "wyfsxs/cloud2020", "sub_path": "/seata-storage-service2002/src/main/java/com/atguigu/springcloud/alibaba/controller/StorageController.java", "file_name": "StorageController.java", "... | https://github.com/wyfsxs/cloud2020 | 230 | FILENAME: StorageController.java | 0.235108 | package com.atguigu.springcloud.alibaba.controller;
import com.atguigu.springcloud.alibaba.domain.CommonResult;
import com.atguigu.springcloud.alibaba.service.StorageService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.Req... |
c14505a9-2bcd-4db2-b9e2-a8c8109baee7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-14 12:22:52", "repo_name": "vitory1/Super_learning", "sub_path": "/src/com/cjc/annotation/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 966, "line_count": 28, "lang": "en", "do... | https://github.com/vitory1/Super_learning | 183 | FILENAME: Test.java | 0.246533 | package com.cjc.annotation;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
public class Test {
public static void main(String[] args) throws ClassNotFoundException {
Class<?> forName = Class.forName("com.cjc.annotation.UserEntity");
SetTable setTable = forName.getAnnotatio... |
152ea843-c203-405e-8393-7850f79785cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-16 16:15:21", "repo_name": "Valks-Minecraft-Plugins/Viesta", "sub_path": "/io/github/gods/Vasa.java", "file_name": "Vasa.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 38, "lang": "en", "do... | https://github.com/Valks-Minecraft-Plugins/Viesta | 222 | FILENAME: Vasa.java | 0.236516 | package io.github.gods;
import org.bukkit.Material;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockPlaceEvent;
import io.github.configs.PlayerFiles;
import io.github.val... |
281bef94-cd8b-4159-9342-5839c7facefd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-31 09:12:25", "repo_name": "1758973467/alg4practice", "sub_path": "/src/Chapter5/DataCompress/RunLength.java", "file_name": "RunLength.java", "file_ext": "java", "file_size_in_byte": 995, "line_count": 45, "la... | https://github.com/1758973467/alg4practice | 213 | FILENAME: RunLength.java | 0.288569 | package Chapter5.DataCompress;
import stdlib.BinaryIn;
import stdlib.BinaryOut;
/**
* 游程编码-二进制
*/
public class RunLength {
public static void compress(BinaryIn bin, BinaryOut bout){
char cnt=0;
boolean b,old = false;
while (!bin.isEmpty()){
b=bin.readBoolean();
if... |
37ef9121-3662-4a47-baa6-2184d6a885fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-22 07:23:57", "repo_name": "CHeuberger/Brainfuck", "sub_path": "/src/java/cfh/bf/BFRuntimeException.java", "file_name": "BFRuntimeException.java", "file_ext": "java", "file_size_in_byte": 984, "line_count": 43... | https://github.com/CHeuberger/Brainfuck | 208 | FILENAME: BFRuntimeException.java | 0.273574 | package cfh.bf;
public class BFRuntimeException extends Exception {
private final int pointer;
private final int index;
private final int value;
private final String name;
public BFRuntimeException(String message, int pointer, int index, int value, String name) {
super(message);... |
40bc7d26-388b-4af1-a4a2-d03cae291dc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2011-12-01T21:10:36", "repo_name": "jaekwon/YCatalyst", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 995, "line_count": 39, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/jaekwon/YCatalyst | 264 | FILENAME: README.md | 0.185947 | DEAD PROJECT
============
This project is dead. A new web framework for node.js+coffeescript is in the works.
YCatalyst
=========
YCatalyst is a Hacker News clone written for Node.js in Coffeescript.
You can view the original site at http://ycatalyst.com.
Please note that this is alpha quality and very ... |
f5ee6630-240e-4115-b236-9e4790910aaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-17 17:02:11", "repo_name": "dbohn/FU-Kundenprojekt-2016-17", "sub_path": "/Demonstrator/src/main/java/de/fuberlin/kundenprojekt/friedrich/social/messages/Participant.java", "file_name": "Participant.java", "fi... | https://github.com/dbohn/FU-Kundenprojekt-2016-17 | 214 | FILENAME: Participant.java | 0.191933 | package de.fuberlin.kundenprojekt.friedrich.social.messages;
import de.fuberlin.kundenprojekt.friedrich.models.User;
/**
* A participant wraps a HumHub user in a conversation.
* If possible, it will be attached to a user.
*
* @author Team Friedrich
*/
public class Participant {
private User user;
privat... |
0d974ff3-f9b5-4abf-bb7a-063f18cd3d61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-01 03:49:26", "repo_name": "n4kong/spring-cloud-contract-mountebank", "sub_path": "/stub-converter/src/main/java/com/demo/CustomConverter.java", "file_name": "CustomConverter.java", "file_ext": "java", "file_s... | https://github.com/n4kong/spring-cloud-contract-mountebank | 195 | FILENAME: CustomConverter.java | 0.218669 | package com.demo;
import org.springframework.cloud.contract.spec.Contract;
import org.springframework.cloud.contract.verifier.converter.StubGenerator;
import org.springframework.cloud.contract.verifier.file.ContractMetadata;
import java.util.HashMap;
import java.util.Map;
public class CustomConverter implements Stub... |
9f7d9d8b-7a3e-4b00-9024-a16119d51ca7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-04-10T14:27:34", "repo_name": "awurth/SlimValidation", "sub_path": "/CHANGELOG.md", "file_name": "CHANGELOG.md", "file_ext": "md", "file_size_in_byte": 1002, "line_count": 19, "lang": "en", "doc_type": "text"... | https://github.com/awurth/SlimValidation | 239 | FILENAME: CHANGELOG.md | 0.258326 | # Changelog
## v5.0.0
Complete rewrite
* Require PHP 8.1 or newer
* Changed namespace from `Awurth\SlimValidation` to `Awurth\Validator`
* Added support for Respect Validation v2, drop support for v1
* Removed error groups, use `context` instead for a similar feature
* Merged the `request`, `array`, `object` and `va... |
c8f80fae-3025-45a9-a919-f23cf404ef74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-29 03:26:31", "repo_name": "garymabin/Startkit", "sub_path": "/app/src/main/java/com/thoughtworks/android/startkit/AppExecutors.java", "file_name": "AppExecutors.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/garymabin/Startkit | 188 | FILENAME: AppExecutors.java | 0.271252 | package com.thoughtworks.android.startkit;
import android.os.Handler;
import android.os.Looper;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import javax.inject.Inject;
import javax.inject.Singleton;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Singleton
@AllArgsConstruc... |
cc94db8c-3a99-4fbf-bbdc-84552ddff737 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-28 12:02:38", "repo_name": "xxzzll/springcloud-learning", "sub_path": "/springcloud02/cloud-consumer-feign-hystrix-order80/src/main/java/com/huawei/springcloud/controller/HystrixOrderController.java", "file_na... | https://github.com/xxzzll/springcloud-learning | 218 | FILENAME: HystrixOrderController.java | 0.208179 | package com.huawei.springcloud.controller;
import com.huawei.springcloud.service.HystrixPaymentService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resourc... |
887c7bde-90aa-4a95-9322-adcbbfadfc10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-12 06:08:02", "repo_name": "zhaoxu77/netty_study", "sub_path": "/src/main/java/com/dixn/netty/client/ClientChannelInitializer.java", "file_name": "ClientChannelInitializer.java", "file_ext": "java", "file_size... | https://github.com/zhaoxu77/netty_study | 216 | FILENAME: ClientChannelInitializer.java | 0.23092 | package com.dixn.netty.client;
import io.netty.channel.Channel;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.handler.codec.FixedLengthFrameDecoder;
import io.netty.handler.codec.string.StringDecoder;
import io.netty.handler.codec.string.StringEncoder;
/**
* ${D... |
a2f1d589-2a3b-42ad-8505-d9d5a0a942a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-07 13:49:54", "repo_name": "sadisha123/student-management", "sub_path": "/src/view/AppInitializer.java", "file_name": "AppInitializer.java", "file_ext": "java", "file_size_in_byte": 985, "line_count": 32, "lan... | https://github.com/sadisha123/student-management | 162 | FILENAME: AppInitializer.java | 0.240775 | package view;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import java.io.IOException;
public class AppInitializer extends Application {
pub... |
f699c089-31e8-4609-8e76-029c5446ea10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-03 13:11:52", "repo_name": "9reynas/fragment_to_acti_omunicacion", "sub_path": "/app/src/main/java/proyect/my/of/example/miyuki/myapplication/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "... | https://github.com/9reynas/fragment_to_acti_omunicacion | 179 | FILENAME: MainActivity.java | 0.224055 | package proyect.my.of.example.miyuki.myapplication;
import android.app.Fragment;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity implements BlankFragment.OnFragmentInteractionListener... |
0b740f5c-9563-41e3-839d-64bf4c9732c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-18 01:22:06", "repo_name": "sunyue1380/QuickAPI", "sub_path": "/src/main/java/cn/schoolwow/quickapi/domain/APIController.java", "file_name": "APIController.java", "file_ext": "java", "file_size_in_byte": 1008,... | https://github.com/sunyue1380/QuickAPI | 216 | FILENAME: APIController.java | 0.249447 | package cn.schoolwow.quickapi.domain;
import java.util.ArrayList;
import java.util.List;
public class APIController {
/**是否被废弃*/
public boolean deprecated;
/**控制器*/
private String name;
/**控制器类名*/
public String className;
/**接口*/
public List<API> apiList = new ArrayList<>();
/**控制器... |
5cf0019a-b914-49a4-b882-1e881c882e62 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-14 09:15:14", "repo_name": "rohanagarwal36/Polling", "sub_path": "/src/java/com/onps/actions/VoterVerifyInfo.java", "file_name": "VoterVerifyInfo.java", "file_ext": "java", "file_size_in_byte": 1003, "line_cou... | https://github.com/rohanagarwal36/Polling | 196 | FILENAME: VoterVerifyInfo.java | 0.259826 |
package com.onps.actions;
import static com.opensymphony.xwork2.Action.SUCCESS;
import com.opensymphony.xwork2.ActionSupport;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts2.interceptor.ServletRequestAware;
public class VoterVerifyInfo extends A... |
c4842658-aea6-4e35-8a08-c055203263ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-02 11:55:31", "repo_name": "LiviaMitrica/News-Reader", "sub_path": "/app/src/main/java/com/liviamitrica/nr/ui/main/bindings/RecyclerBinding.java", "file_name": "RecyclerBinding.java", "file_ext": "java", "file... | https://github.com/LiviaMitrica/News-Reader | 182 | FILENAME: RecyclerBinding.java | 0.255344 | package com.liviamitrica.nr.ui.main.bindings;
import androidx.databinding.BindingAdapter;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.liviamitrica.nr.ui.main.adapter.ArticleAdapter;
import com.liviamitrica.nr.ui.main.listener.NewsArticleHandler... |
b87988c1-7281-4e9e-9024-b86a0f69bf65 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-06 08:27:52", "repo_name": "CaiXiaoShuang/FastLibrary", "sub_path": "/app/src/main/java/com/intelligence/androidapplication/ui/main/fragment/MyFragment.java", "file_name": "MyFragment.java", "file_ext": "java"... | https://github.com/CaiXiaoShuang/FastLibrary | 190 | FILENAME: MyFragment.java | 0.204342 | package com.intelligence.androidapplication.ui.main.fragment;
import android.os.Bundle;
import com.intelligence.androidapplication.R;
import com.intelligence.androidapplication.utils.CommonDialog;
/**
* Created by Administrator
* on 2017/9/18.
*/
public class MyFragment extends BaseFragment {
public static ... |
c6213576-182d-40d9-8c7b-44c523777dfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-31 09:23:39", "repo_name": "Prkleenpojat/EV3robo", "sub_path": "/eclipse-workspace/alkuperainen/src/alkuperainen/ColorSensor.java", "file_name": "ColorSensor.java", "file_ext": "java", "file_size_in_byte": 974... | https://github.com/Prkleenpojat/EV3robo | 257 | FILENAME: ColorSensor.java | 0.277473 | package alkuperainen;
import java.util.Arrays;
import lejos.hardware.port.Port;
import lejos.hardware.sensor.EV3ColorSensor;
import lejos.robotics.Color;
import lejos.robotics.ColorDetector;
import lejos.robotics.ColorIdentifier;
public class ColorSensor implements ColorDetector, ColorIdentifier{
test... |
017e5736-eef0-4e62-a43d-8b33ff95628d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-07-09 00:40:50", "repo_name": "chenjiali5211/TimeMagic", "sub_path": "/src/main/java/wl/action/UserAjaxAction.java", "file_name": "UserAjaxAction.java", "file_ext": "java", "file_size_in_byte": 997, "line_count":... | https://github.com/chenjiali5211/TimeMagic | 192 | FILENAME: UserAjaxAction.java | 0.233706 | package wl.action;
import javax.annotation.Resource;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import com.opensymphony.xwork2.ActionSupport;
import wl.entity.User;
import wl.service.UserService;
@Controller
@Scope("prototype")
public class ... |
c2bdc7db-f34c-44d8-be98-c58c0fa4e282 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-12 01:35:42", "repo_name": "18bshiraki/Yamazon", "sub_path": "/Yamazon/src/main/java/yamazon/controller/ManagerDeleteController.java", "file_name": "ManagerDeleteController.java", "file_ext": "java", "file_siz... | https://github.com/18bshiraki/Yamazon | 193 | FILENAME: ManagerDeleteController.java | 0.264358 | package yamazon.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mod... |
9f226d51-db3b-462c-ab43-dc75bc6b7624 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-13 09:24:17", "repo_name": "Liushao1/sentinel", "sub_path": "/src/main/java/com/ls/cloud/SentinelApplication.java", "file_name": "SentinelApplication.java", "file_ext": "java", "file_size_in_byte": 1025, "line... | https://github.com/Liushao1/sentinel | 206 | FILENAME: SentinelApplication.java | 0.253861 | package com.ls.cloud;
import com.alibaba.csp.sentinel.slots.block.RuleConstant;
import com.alibaba.csp.sentinel.slots.block.flow.FlowRule;
import com.alibaba.csp.sentinel.slots.block.flow.FlowRuleManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplica... |
db6bd600-ec4e-4484-841e-639d9e99090c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-13T22:14:26", "repo_name": "sbkammann/Classic-Arcade-Game-Clone", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 984, "line_count": 15, "lang": "en", "doc_type":... | https://github.com/sbkammann/Classic-Arcade-Game-Clone | 225 | FILENAME: README.md | 0.262842 | # Classic Arcade Game Clone
The game is a clone of the classic game frogger.
### How to play
First, the user needs to select one of the difficulties levels. Baby is easy and iNSane(insane) is hard. The player can't progress without choosing either one. Next, the user needs to select the character s/he wants to play. ... |
bdf711fd-c264-409e-bd74-9b92d53a0d47 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-31 15:24:21", "repo_name": "JMavrelos/pbca", "sub_path": "/core/src/main/java/gr/blackswamp/core/app/AttachedFragment.java", "file_name": "AttachedFragment.java", "file_ext": "java", "file_size_in_byte": 974, ... | https://github.com/JMavrelos/pbca | 189 | FILENAME: AttachedFragment.java | 0.256832 | package gr.blackswamp.core.app;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
public abstract class AttachedFragment<T extends CoreInteraction> extends CoreFragment {
private T _parent;
p... |
49c2e487-02f6-4190-94c2-d76a7d44d4b1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-07-02T23:20:47", "repo_name": "AccessBell/AccessBellVideoAndroidSDK1", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 971, "line_count": 26, "lang": "en", "doc_type... | https://github.com/AccessBell/AccessBellVideoAndroidSDK1 | 189 | FILENAME: README.md | 0.206894 | # AccessBellVideoAndroidSDK1
Android SDK for AccessBell video conferencing
The following is a guide on how to set up the sdk in an existing Android project.
Clone this repository to your device.
Add the Maven repository in the build.gradle file for the Android Studio application.
allprojects {
re... |
a74b423d-5ed5-4c34-9301-f3f359d28a60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-28 20:26:22", "repo_name": "Bertrand3135/TP-RPG", "sub_path": "/src/com/imie/rpg/database/DBManager.java", "file_name": "DBManager.java", "file_ext": "java", "file_size_in_byte": 968, "line_count": 59, "lang":... | https://github.com/Bertrand3135/TP-RPG | 238 | FILENAME: DBManager.java | 0.284576 | /**
*
*/
package com.imie.rpg.database;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
* @author florian
*
*/
public class DBManager {
public DBManager() {
}
public ResultSet select(String request) {
ResultSet rs = null;
Statement stmt = null;
try {
st... |
dcec55cd-8dae-4ee5-ba46-e934afd81463 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-01-04T19:08:48", "repo_name": "IvanCoronado/running-statistics-from-Barcelona", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 978, "line_count": 24, "lang": "en", ... | https://github.com/IvanCoronado/running-statistics-from-Barcelona | 241 | FILENAME: README.md | 0.245085 | # running-statistics-from-Barcelona
This project is based on [this amazing design](https://dribbble.com/shots/2218824-Running-statistics-from-Barcelona). I loved the concept and i made it real, just for fun :)
[angular-google-maps directive](https://github.com/angular-ui/angular-google-maps) was used on deep for this p... |
056e5e4f-2a8d-4e88-8d56-49c4aceedf0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-31 20:34:06", "repo_name": "CharlieM1997/Webapps2019", "sub_path": "/webapps2019/src/main/java/com/cpwm20/webapps2019/jsf/StartupBean.java", "file_name": "StartupBean.java", "file_ext": "java", "file_size_in_b... | https://github.com/CharlieM1997/Webapps2019 | 246 | FILENAME: StartupBean.java | 0.267408 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.cpwm20.webapps2019.jsf;
import com.cpwm20.webapps2019.ejb.UserService;
import javax.annotation.PostConstruct;
import javax... |
d7d89d9c-e515-43fc-940d-c19c90b86f73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-13 17:06:37", "repo_name": "IncPlusPlus/classpath-fixer", "sub_path": "/src/main/java/io/github/incplusplus/classpathfixer/ImlClasspathPair.java", "file_name": "ImlClasspathPair.java", "file_ext": "java", "fil... | https://github.com/IncPlusPlus/classpath-fixer | 230 | FILENAME: ImlClasspathPair.java | 0.26971 | package io.github.incplusplus.classpathfixer;
import io.github.incplusplus.classpathfixer.ec.classpath.Classpath;
import io.github.incplusplus.classpathfixer.ij.module.Module;
import java.io.File;
/**
* This is just an easy way to return both a .classpath and .iml from one method
*/
public class ImlClasspathPair
{... |
45e511e3-a44b-43dd-b457-e7ed5d78ccd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-07 17:55:08", "repo_name": "renanrts/teste_SpringMVC", "sub_path": "/testeSpringMVC/src/main/java/br/com/renantorres/conf/ServletSpringMVC.java", "file_name": "ServletSpringMVC.java", "file_ext": "java", "file... | https://github.com/renanrts/teste_SpringMVC | 193 | FILENAME: ServletSpringMVC.java | 0.195594 | package br.com.renantorres.conf;
import javax.servlet.Filter;
import org.springframework.web.filter.CharacterEncodingFilter;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
public class ServletSpringMVC extends AbstractAnnotationConfigDispatcherServletInitializer{... |
65f713e7-be3d-4eeb-839f-2c205ab850a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-19 01:01:26", "repo_name": "diegocolombo/ebanx-home-assignment", "sub_path": "/src/main/java/com/colombo/ebanx/dao/AccountDAO.java", "file_name": "AccountDAO.java", "file_ext": "java", "file_size_in_byte": 988... | https://github.com/diegocolombo/ebanx-home-assignment | 234 | FILENAME: AccountDAO.java | 0.274351 | package com.colombo.ebanx.dao;
import com.colombo.ebanx.model.Account;
import org.springframework.stereotype.Component;
import org.springframework.web.context.annotation.ApplicationScope;
import java.util.Map;
import java.util.Optional;
import java.util.WeakHashMap;
/**
* Simulates a DAO, doing operations over a ma... |
7a2b9025-9eee-4f3f-bb54-add72b44a649 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-13 06:59:20", "repo_name": "principrincess/Selenium", "sub_path": "/src/main/java/MouseMovementConcept.java", "file_name": "MouseMovementConcept.java", "file_ext": "java", "file_size_in_byte": 995, "line_count... | https://github.com/principrincess/Selenium | 205 | FILENAME: MouseMovementConcept.java | 0.247987 |
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;
import java.util.concurrent.TimeUnit;
public class MouseMovementConcept{
private WebDriver driver;
public static void main(String... |
94f13936-b2e7-4a5f-b015-ccfee2c480e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-21 07:15:14", "repo_name": "zimoguo/WeChatDemo", "sub_path": "/WeChatDemo/src/com/lili/guo/wechatdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 989, "line_c... | https://github.com/zimoguo/WeChatDemo | 219 | FILENAME: MainActivity.java | 0.246533 | package com.lili.guo.wechatdemo;
import java.lang.reflect.Field;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.ViewConfiguration;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(save... |
678b13c4-faea-41d8-a811-e3536d370817 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-05 02:57:03", "repo_name": "18575783085/jt_parent", "sub_path": "/jt_web/src/main/java/top/ou/jt/web/threadlocal/UserThreadLocal.java", "file_name": "UserThreadLocal.java", "file_ext": "java", "file_size_in_by... | https://github.com/18575783085/jt_parent | 315 | FILENAME: UserThreadLocal.java | 0.268941 | /**
* Copyright (C), 2017-?, OYE有限公司
* FileName: UserThreadLocal
* Author: OYE 517553812@qq.com
* Date: 2017/12/24 20:24
* Description:
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package top.ou.jt.web.threadlocal;
import top... |
39613038-9f5f-43da-b366-9ba31bbe9028 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-09 14:50:34", "repo_name": "lbzhello/caiwei", "sub_path": "/caiwei-web/src/main/java/xyz/lius/web/service/impl/HelloWorldServiceImpl.java", "file_name": "HelloWorldServiceImpl.java", "file_ext": "java", "file_... | https://github.com/lbzhello/caiwei | 200 | FILENAME: HelloWorldServiceImpl.java | 0.240775 | package xyz.lius.web.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.lius.web.entity.HelloWorld;
import xyz.lius.web.mapper.HelloWorldMapper;
import xyz.lius.web.service.HelloWorldService;
import java.util.List;
@Service
public cl... |
78d4c41e-20db-4a8d-b076-7bd23d1f30e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-18 18:05:23", "repo_name": "treyzania/BlockParticles", "sub_path": "/src/main/java/com/treyzania/mc/blockparticles/WorldLoadStateListener.java", "file_name": "WorldLoadStateListener.java", "file_ext": "java", ... | https://github.com/treyzania/BlockParticles | 218 | FILENAME: WorldLoadStateListener.java | 0.282988 | package com.treyzania.mc.blockparticles;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.world.WorldLoadEvent;
import org.bukkit.event.world.WorldUnloadEvent;
public class WorldLoadStateListener implements Listener {
... |
34d2bb0d-93f2-4d1f-9405-f1f2dc810819 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-25 17:32:25", "repo_name": "rishav2/31-DAYS-OF-CODE", "sub_path": "/DAY 7/solution.java", "file_name": "solution.java", "file_ext": "java", "file_size_in_byte": 972, "line_count": 43, "lang": "en", "doc_type":... | https://github.com/rishav2/31-DAYS-OF-CODE | 192 | FILENAME: solution.java | 0.287768 | import java.io.*;
import java.util.*;
import javax.lang.model.util.ElementScanner6;
public class Solution {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
ArrayList<String> strings = new ArrayList();
int a = scanner.nextInt();
scanner.nextLine();... |
e399f398-2127-4bb8-af3e-09f8a76a4320 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-16 15:13:27", "repo_name": "lajosadam/training-solutions", "sub_path": "/src/main/java/jdbc2/ConnectDb.java", "file_name": "ConnectDb.java", "file_ext": "java", "file_size_in_byte": 992, "line_count": 36, "lan... | https://github.com/lajosadam/training-solutions | 180 | FILENAME: ConnectDb.java | 0.246533 | package jdbc2;
import org.mariadb.jdbc.MariaDbDataSource;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
public class ConnectDb {
public static void main(String[] args) {
MariaDbDataSource dataSource = new MariaDbDataSource();
... |
4ede3c22-70a4-43ac-ad9c-d94726089f5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-01 16:46:23", "repo_name": "DeaishaJohnson/FRC203INFINITERECHARGE", "sub_path": "/2020_Robot_v.0.3/src/main/java/frc/robot/subsystems/LEDLights.java", "file_name": "LEDLights.java", "file_ext": "java", "file_s... | https://github.com/DeaishaJohnson/FRC203INFINITERECHARGE | 187 | FILENAME: LEDLights.java | 0.185947 | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
62d50e3b-7bbf-4c67-8040-8a55da5fe571 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-14T17:42:15", "repo_name": "laols574/nlp-portfolio", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 29, "lang": "en", "doc_type": "text", "blo... | https://github.com/laols574/nlp-portfolio | 206 | FILENAME: README.md | 0.229535 | # nlp-portfolio
This tar file contains multiple nlp projects which can be run by executing "pytest" in each repository.
Decompressing files depends on your OS but you can use
tar -xvf nlp_portfolio.tar.gz
on the command line
## Project #1: transition-parser
This program acts as a transition dependency parser. It r... |
bae9f1fd-eaf2-4cad-ad84-4eeceb014a5a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 06:16:59", "repo_name": "ravi84184/SWTRAINING", "sub_path": "/app/src/main/java/com/nikpatel/digitalgrow/WebView/WebViewActivity.java", "file_name": "WebViewActivity.java", "file_ext": "java", "file_size_in... | https://github.com/ravi84184/SWTRAINING | 193 | FILENAME: WebViewActivity.java | 0.20947 | package com.nikpatel.digitalgrow.WebView;
import android.annotation.SuppressLint;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.nikpatel.digitalgrow.R;
public class WebViewActivity extends AppCompatActivity {
... |
ca6ce550-bdea-4978-bfbb-effddbc68444 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-14 00:20:37", "repo_name": "arjun2064/JavaSwing_Airline_Tickit_Booking_system", "sub_path": "/airlineticketbookings/src/Business/masterschedule.java", "file_name": "masterschedule.java", "file_ext": "java", "f... | https://github.com/arjun2064/JavaSwing_Airline_Tickit_Booking_system | 190 | FILENAME: masterschedule.java | 0.272799 | /*
* 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 Business;
import java.util.ArrayList;
/**
*
* @author Pranjal
*/
public class masterschedule {
private Array... |
f82c0553-6761-46e0-ba8a-6fbd9f231e5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-06 12:18:48", "repo_name": "SonarBoy/javaMasterClass", "sub_path": "/src/com/InterfacesExamples/MobilePhone.java", "file_name": "MobilePhone.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 5... | https://github.com/SonarBoy/javaMasterClass | 258 | FILENAME: MobilePhone.java | 0.256832 | package com.InterfacesExamples;
public class MobilePhone implements ITelephone{
private int myNumber;
private boolean isRinging;
private boolean isOn;
public MobilePhone(int num) {
this.myNumber = num;
}
@Override
public void powerOn() {
System.out.println("HELLO MOTO");
this.isOn = true;
}
@Ov... |
43033bf3-5e47-48ee-9cd9-f6f87b45ccd7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-07 06:35:04", "repo_name": "sourcewc/MoundaryClient", "sub_path": "/app/src/main/java/com/team/moundary/network/AlarmHandler.java", "file_name": "AlarmHandler.java", "file_ext": "java", "file_size_in_byte": 99... | https://github.com/sourcewc/MoundaryClient | 203 | FILENAME: AlarmHandler.java | 0.253861 | package com.team.moundary.network;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by ccei on 2016-08-28.
*/
public class AlarmHandler {
public static AlarmEntityObject getJSONBloodRequestAllList(StringBuilder buf) {
JSONObject myStoryJSON = null;
... |
3b97079f-8181-4206-ad8a-d062237b05e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-12 10:26:34", "repo_name": "N3bby/web3-webshop", "sub_path": "/Webshop_Web/src/main/java/controller/handler/RequestProductUpdateHandler.java", "file_name": "RequestProductUpdateHandler.java", "file_ext": "java... | https://github.com/N3bby/web3-webshop | 158 | FILENAME: RequestProductUpdateHandler.java | 0.294215 | package controller.handler;
import controller.Handler;
import controller.WebAction;
import domain.Product;
import service.ShopService;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@WebAction("requestPro... |
a7107aaf-9ea5-4d90-a151-d9f9c820d7c3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-21 20:08:59", "repo_name": "testcurry/javaweb", "sub_path": "/javaweb-servlet/servlet1/src/com/testcy/servlet/RequestServlet.java", "file_name": "RequestServlet.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/testcurry/javaweb | 198 | FILENAME: RequestServlet.java | 0.216012 | package com.testcy.servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public class RequestServlet extends HttpServlet {
@Override
protected void doGet(Ht... |
d7066f0b-916a-49bc-88bd-41ac63e55787 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-29 03:00:30", "repo_name": "danielpacker/stats-rest-api", "sub_path": "/src/main/java/org/danielpacker/restapi/service/Transaction.java", "file_name": "Transaction.java", "file_ext": "java", "file_size_in_byte... | https://github.com/danielpacker/stats-rest-api | 206 | FILENAME: Transaction.java | 0.289372 | package org.danielpacker.restapi.service;
public class Transaction {
private double amount;
private long timestamp;
public Transaction(double amount, long timestamp) {
this.amount = amount;
this.timestamp = timestamp;
}
public double getAmount() {
return amount;
}
... |
ecc40371-84e7-4540-9bd1-e56e390782c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-03 09:29:41", "repo_name": "qinweiforandroid/QUtils", "sub_path": "/app/src/androidTest/java/com/qw/utils/ExampleInstrumentedTest.java", "file_name": "ExampleInstrumentedTest.java", "file_ext": "java", "file_s... | https://github.com/qinweiforandroid/QUtils | 211 | FILENAME: ExampleInstrumentedTest.java | 0.236516 | package com.qw.utils;
import android.content.Context;
import android.net.Uri;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android... |
f4699e13-373e-467c-8293-e378ade8f84a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-11T19:21:34", "repo_name": "maggifs/HGOP", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 976, "line_count": 32, "lang": "en", "doc_type": "text", "blob_id": "2b... | https://github.com/maggifs/HGOP | 356 | FILENAME: README.md | 0.225417 | # HGOP
Hagnýt gæðastjórnun og prófanir
[](http://54.242.184.100:8080/job/Github%20pipeline/)
---
## URL
Url to the Jenkins instance
<a href="http://54.242.184.100:8080">**54.242.184.100:8080**</a>
---
## DataDog Dashboard
Public link ... |
bd081f45-2316-4bd5-96b9-c340f54f1135 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-05 17:45:42", "repo_name": "steingrd/tempstation", "sub_path": "/src/main/java/com/github/steingrd/tempmonitor/commands/CreateSecret.java", "file_name": "CreateSecret.java", "file_ext": "java", "file_size_in_b... | https://github.com/steingrd/tempstation | 229 | FILENAME: CreateSecret.java | 0.285372 | package com.github.steingrd.tempmonitor.commands;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import redis.clients.jedis.JedisPool;
import com.github.steingrd.tempmonitor.app.JedisPoolFactory;
import com.github.steingrd.tempmonitor.security.AuthorizationService;
public class CreateSecret {
final stat... |
f479955b-4aed-4e35-ad85-e0f054b82f1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-04 09:35:35", "repo_name": "jajvirta/liiga", "sub_path": "/src/main/java/fi/tfs/liiga/filters/ServerHeaderFilter.java", "file_name": "ServerHeaderFilter.java", "file_ext": "java", "file_size_in_byte": 980, "li... | https://github.com/jajvirta/liiga | 193 | FILENAME: ServerHeaderFilter.java | 0.221351 | package fi.tfs.liiga.filters;
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.http.HttpServletResponse;
... |
5587538a-307e-4a67-a80c-59002ad72cc0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-27 03:44:36", "repo_name": "weiyang-jiang/java_advance", "sub_path": "/Login_web/demo/src/main/java/com/example/demo/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in_byte": 990, "line_... | https://github.com/weiyang-jiang/java_advance | 196 | FILENAME: Login.java | 0.226784 | package com.example.demo;
/*
* @Author: Weiyang Jiang
* @Date: 2021-09-07 12:40:47
*/
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.... |
2f965566-6316-4d79-969d-2854f284d08a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-07T10:21:18", "repo_name": "phfa26/ES6_JavaScript_Training", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 976, "line_count": 33, "lang": "en", "doc_type": "tex... | https://github.com/phfa26/ES6_JavaScript_Training | 253 | FILENAME: README.md | 0.225417 | # Accelerated ES6 JavaScript Training
> Diving in ES6 features and build a page with a few of the course topics.
# Code
- The created page is a code along project. Therefore, not planned by me.
- You can build the same page doing the course and coding along with it. Just hit the link below, buy the course and have f... |
8654527d-8115-48fc-b840-78020845fd90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-28 13:38:07", "repo_name": "vagnersabadi/blogSeguranca", "sub_path": "/src/br/ufsm/csi/seguranca/dao/LogDAO.java", "file_name": "LogDAO.java", "file_ext": "java", "file_size_in_byte": 976, "line_count": 36, "l... | https://github.com/vagnersabadi/blogSeguranca | 197 | FILENAME: LogDAO.java | 0.212069 | package br.ufsm.csi.seguranca.dao;
import br.ufsm.csi.seguranca.model.Comentario;
import br.ufsm.csi.seguranca.model.Log;
import br.ufsm.csi.seguranca.model.Post;
import org.hibernate.SessionFactory;
import org.hibernate.criterion.Restrictions;
import org.springframework.beans.factory.annotation.Autowired;
import org.... |
4652ab27-d418-4434-affa-840c3791b035 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-27 16:03:37", "repo_name": "RaphiOriginal/kvanC-Chatapp", "sub_path": "/src/ch/fhnw/kvan/chat/socket/ConnectionListener.java", "file_name": "ConnectionListener.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/RaphiOriginal/kvanC-Chatapp | 215 | FILENAME: ConnectionListener.java | 0.267408 | package ch.fhnw.kvan.chat.socket;
import java.net.Socket;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Queue;
import org.apache.log4j.Logger;
import ch.fhnw.kvan.chat.utils.Out;
public class ConnectionListener extends Thread{
private ArrayList<ConnectionHandler> connections = new Array... |
dbebc12d-083f-4c63-8e99-565debb4677d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-05 06:09:45", "repo_name": "UilamDracarys/sportsmedaltally", "sub_path": "/app/src/main/java/com/cpsu/sports/data/model/College.java", "file_name": "College.java", "file_ext": "java", "file_size_in_byte": 977,... | https://github.com/UilamDracarys/sportsmedaltally | 215 | FILENAME: College.java | 0.210766 | package com.cpsu.sports.data.model;
import java.lang.reflect.Array;
import java.util.ArrayList;
public class College {
public static final String TABLE_COLLEGES = "colleges";
public static final String COL_COLLEGE_ID = "college_id";
public static final String COL_COLLEGE_CODE = "college_code";
public ... |
95a1a0d0-14d0-43b0-8071-b4b4fc7056e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-14 16:06:34", "repo_name": "wcjwctwy/netty-study", "sub_path": "/src/main/java/wang/congjun/demo01/TestHttpServer.java", "file_name": "TestHttpServer.java", "file_ext": "java", "file_size_in_byte": 975, "line_... | https://github.com/wcjwctwy/netty-study | 215 | FILENAME: TestHttpServer.java | 0.236516 | package wang.congjun.demo01;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.handler.codec.http.*;
import io.netty.util.CharsetUtil;
/**
* @author WangCongJun
* Created by WangCongJun... |
aadf9dcd-17d1-4771-a6bd-00051fd01dd8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-10 05:23:03", "repo_name": "thaslimcodes/user-service", "sub_path": "/src/main/java/com/ysg/security/CrossOriginFilter.java", "file_name": "CrossOriginFilter.java", "file_ext": "java", "file_size_in_byte": 990... | https://github.com/thaslimcodes/user-service | 201 | FILENAME: CrossOriginFilter.java | 0.201813 | package com.ysg.security;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
* Created by jayaprakash
*/
@Component
public class CrossOriginFilter implements... |
36824605-28c6-4407-ab99-0d9849f51dea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-29 17:42:04", "repo_name": "DavidGrath/MovieBrowser", "sub_path": "/app/src/main/java/com/example/moviebrowser/framework/RetrofitHelper.java", "file_name": "RetrofitHelper.java", "file_ext": "java", "file_size... | https://github.com/DavidGrath/MovieBrowser | 155 | FILENAME: RetrofitHelper.java | 0.245085 | package com.example.moviebrowser.framework;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import static com.example.moviebrowser.Constants.BASE_URL;
public class RetrofitHelper {
private static Retrofit... |
ac1a6be6-5ae8-489b-ae93-14d6d1c23626 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-06 09:55:44", "repo_name": "punitjain1989/Logical-Clocks", "sub_path": "/LogicalClock/src/com/cpsc471/logicalclock/process/Process.java", "file_name": "Process.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/punitjain1989/Logical-Clocks | 218 | FILENAME: Process.java | 0.264358 | package com.cpsc471.logicalclock.process;
/**
* This class is a <i>representation</i> of Process/Node in distributed system.
*
* @author Puneet
*
*/
public class Process {
private String processName;
private String processId;
private static int activeProcess;
public Process(String processNa... |
801a1760-e1b4-4fc1-a98a-2fbf420b6dc9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-10 09:36:29", "repo_name": "KnightAndroid/wanandroid", "sub_path": "/library_util/src/main/java/com/knight/wanandroid/library_util/toast/SystemToast.java", "file_name": "SystemToast.java", "file_ext": "java", ... | https://github.com/KnightAndroid/wanandroid | 216 | FILENAME: SystemToast.java | 0.236516 | package com.knight.wanandroid.library_util.toast;
import android.app.Application;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.knight.wanandroid.library_util.toast.callback.ToastInterface;
/**
* @author created by knight
* @organize wanandroid
* @Date 2021/9/8 ... |
bec1d430-bada-4fca-a14e-dcb7e6ffa67f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-01-31 23:36:55", "repo_name": "hfaulds/Satellites-Client", "sub_path": "/src/main/java/net/msgs/LoginRequestMsg.java", "file_name": "LoginRequestMsg.java", "file_ext": "java", "file_size_in_byte": 991, "line_coun... | https://github.com/hfaulds/Satellites-Client | 223 | FILENAME: LoginRequestMsg.java | 0.262842 | package net.msgs;
public class LoginRequestMsg {
private final String username;
private final String password;
public LoginRequestMsg() {
this("", "");
}
public LoginRequestMsg(String username, String password) {
this.username = username;
this.password = password;
}
public String getUse... |
c454fd02-9196-4d40-ab4a-720cda782798 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-10-29 07:40:15", "repo_name": "liangjian103/BuildProjectRun", "sub_path": "/BuildProjectRun/src/com/lj/test/Hello.java", "file_name": "Hello.java", "file_ext": "java", "file_size_in_byte": 982, "line_count": 36, ... | https://github.com/liangjian103/BuildProjectRun | 208 | FILENAME: Hello.java | 0.26971 | package com.lj.test;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;
public class ... |
e41e36c6-e18e-4be5-8b24-702f9bde8d8f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-24 08:34:48", "repo_name": "xybxjb/dysms-demo", "sub_path": "/DEMO_Day_1/src/ddd/test6.java", "file_name": "test6.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 37, "lang": "en", "doc_type... | https://github.com/xybxjb/dysms-demo | 256 | FILENAME: test6.java | 0.281406 | package ddd;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.Month;
import java.time.temporal.ChronoUnit;
import java.util.Calendar;
import java.util.Date;
/**
* @author 加鑫宇
* @DATE 2021/4/17 13:13
*/
public class test6 {
public static void main(... |
bf0fce3e-3c4e-447b-8275-52430f7fdfd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-15 17:17:10", "repo_name": "D641593/NaviMap", "sub_path": "/app/src/main/java/com/example/navimap/ui/bottom_bar/SwitchPage.java", "file_name": "SwitchPage.java", "file_ext": "java", "file_size_in_byte": 982, "... | https://github.com/D641593/NaviMap | 177 | FILENAME: SwitchPage.java | 0.201813 | package com.example.navimap.ui.bottom_bar;
import android.os.Bundle;
import android.view.MenuItem;
import com.example.navimap.R;
import com.google.android.material.bottomnavigation.BottomNavigationView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.a... |
c9e6aceb-fc71-4ed2-a113-5b59008711a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-02 16:36:49", "repo_name": "wmilczarek/NSC", "sub_path": "/src/main/java/Converter/ModelController/Controller/DB/DocumentDB/Mongo/MongoConnector.java", "file_name": "MongoConnector.java", "file_ext": "java", "... | https://github.com/wmilczarek/NSC | 176 | FILENAME: MongoConnector.java | 0.286169 | package Converter.ModelController.Controller.DB.DocumentDB.Mongo;
import Converter.ViewModel.DocumentTypesDB;
import com.mongodb.DB;
import com.mongodb.MongoClient;
import java.net.UnknownHostException;
public class MongoConnector {
private static final MongoConnector ourInstance = new MongoConnector();
... |
281cd0b8-9993-4727-b0e8-57435318fd95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-06 14:02:24", "repo_name": "golden-hu/tos", "sub_path": "/fos/FOS/src/main/java/com/hitisoft/fos/sys/entity/PGroupUser.java", "file_name": "PGroupUser.java", "file_ext": "java", "file_size_in_byte": 979, "line... | https://github.com/golden-hu/tos | 229 | FILENAME: PGroupUser.java | 0.250913 | package com.hitisoft.fos.sys.entity;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import com.hitisoft.fw.orm.jpa.BaseDomain;
@Entity
@... |
624913c3-4d4a-4f5e-97ee-676282ec9b83 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-11T09:44:54", "repo_name": "lawrencewoodman/vintage_basic_benchmark", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 978, "line_count": 33, "lang": "en", "doc_ty... | https://github.com/lawrencewoodman/vintage_basic_benchmark | 263 | FILENAME: README.md | 0.289372 | Vintage Basic Benchmark
=======================
A benchmark tool written in Basic for various vintage computers.
Machines Tested
---------------
Amstrad: CPC 6128, PCW 9256
Atari: ST
Commodore: Pet 8032, Vic-20, C64, C128, Plus/4
Sinclair: Spectrum 48k, QL
Contributing
------------
I would love contributions to... |
419dd661-45fe-49a7-8d21-8b31766834fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-01 20:18:51", "repo_name": "mateusleiteaalmeida/codenation-java-central-de-erros-back-end", "sub_path": "/src/main/java/com/project/centralDeErros/converter/LogConverter.java", "file_name": "LogConverter.java"... | https://github.com/mateusleiteaalmeida/codenation-java-central-de-erros-back-end | 210 | FILENAME: LogConverter.java | 0.262842 | package com.project.centralDeErros.converter;
import com.project.centralDeErros.dto.LogDto;
import com.project.centralDeErros.entity.Log;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.stereotype.Component;
import java.util.List;
import java.ut... |
8d5a3e8d-315c-402e-85aa-a5c83f5cf64c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-14 20:09:21", "repo_name": "yeyaodada/MagicPlugin", "sub_path": "/Magic/src/main/java/com/elmakers/mine/bukkit/action/builtin/TameAction.java", "file_name": "TameAction.java", "file_ext": "java", "file_size_in... | https://github.com/yeyaodada/MagicPlugin | 209 | FILENAME: TameAction.java | 0.23793 | package com.elmakers.mine.bukkit.action.builtin;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import com.elmakers.mine.bukkit.action.BaseSpellAction;
import com.elmakers.mine.bukkit.api.action.CastContext;
import com.elmakers.mine.bukkit.api.spell.SpellResult;
import com.elmakers.mine.bukkit.util... |
f7aad809-ec47-4d31-8d64-d86806c54d18 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-15 19:09:17", "repo_name": "bartgerard/omega", "sub_path": "/value/service/src/main/java/be/gerard/value/service/ValueRecord.java", "file_name": "ValueRecord.java", "file_ext": "java", "file_size_in_byte": 979... | https://github.com/bartgerard/omega | 219 | FILENAME: ValueRecord.java | 0.256832 | package be.gerard.value.service;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
/**
* ValueObject
*
* @author bartgerard
* @version v0.0.1
*/
@Embeddable
public class ValueRecord<T extends Serializable> implements Serializable {
@... |
1989077a-0f37-42e9-8003-21b9d9c89776 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-04 12:04:57", "repo_name": "NeoHui/ssm_project", "sub_path": "/export_manager_web/src/main/java/com/itheima/exception/SaaSException.java", "file_name": "SaaSException.java", "file_ext": "java", "file_size_in_b... | https://github.com/NeoHui/ssm_project | 173 | FILENAME: SaaSException.java | 0.221351 | package com.itheima.exception;
import org.apache.shiro.authz.UnauthorizedException;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class SaaSExcep... |
9b0f4309-62c5-4457-99ea-023ed86c9219 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-18 09:02:50", "repo_name": "fidsusj/JavaProgramming", "sub_path": "/src/de/dhbwka/java/exercise/ui/TextfileViewer.java", "file_name": "TextfileViewer.java", "file_ext": "java", "file_size_in_byte": 985, "line_... | https://github.com/fidsusj/JavaProgramming | 242 | FILENAME: TextfileViewer.java | 0.278257 | package de.dhbwka.java.exercise.ui;
import java.io.File;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
public class TextfileViewer {
public TextfileViewer() {
JFileChooser filechooser = new JFileChooser();
filechooser.setCurrentDirectory(new File("../../eclipse-workspace/"));
f... |
328a7671-5407-4191-a0fc-361427cdbc3e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-08-01T17:22:39", "repo_name": "shirbr510/microsoft-graph-notification-server-example", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 976, "line_count": 36, "lang":... | https://github.com/shirbr510/microsoft-graph-notification-server-example | 244 | FILENAME: README.md | 0.225417 | # microsoft-graph-notification-server-example
a minimal example of a notification service to receive notifications from Microsoft Graph subscriptions
## Running the server
in order to run the server, you have 2 choices:
1. locally:
* `npm install`
* `npm start`
2. docker:
* `docker-compose up`
## Recei... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.