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 |
|---|---|---|---|---|---|---|
eca4ea86-8426-4d43-903b-e3906f15e173 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-12-04T21:11:41", "repo_name": "sandervandevelde/Wise.4012E.Modbus", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 28, "lang": "en", "doc_type":... | https://github.com/sandervandevelde/Wise.4012E.Modbus | 411 | FILENAME: README.md | 0.250913 | # Introduction
This is a C# library for accessing the [Advantech Wise 4012E](http://www.advantech.com/products/4260f153-57cd-4102-81ea-7a0f36d9b216/wise-4012e/mod_4e936d58-a559-4c1a-9022-e96698c2930b?_ga=1.82474646.1033186900.1491183171)
This library gives access to eg. the two Knobs (read), the two Switches (read) a... |
30e73120-65a8-4834-a216-13db75c1d9db | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-21 03:52:58", "repo_name": "wlBoy/center", "sub_path": "/scjs170602/src/com/seecen/exam/day0808/Pet.java", "file_name": "Pet.java", "file_ext": "java", "file_size_in_byte": 1090, "line_count": 66, "lang": "en"... | https://github.com/wlBoy/center | 346 | FILENAME: Pet.java | 0.282196 | package com.seecen.exam.day0808;
/**
* 宠物实体类
*
* @scjs170602
* @author 【万磊】
* @2017年8月8日
*/
public abstract class Pet {
private String name;// 名字
private int healthy = 60;// 健康值
private int lover = 20;// 亲密值
public Pet() {
super();
}
public Pet(String name, int healthy, int lover) {
super();
this.... |
5d51185c-9e1b-4ca6-b94a-8753ddaf9771 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-10 12:55:34", "repo_name": "lockc/java-osgi", "sub_path": "/ddf-osgi-exploration/ddf/ddf-eventing/src/main/java/lockc/osgi/ddf/eventing/impl/SampleDeliveryMethod.java", "file_name": "SampleDeliveryMethod.java"... | https://github.com/lockc/java-osgi | 264 | FILENAME: SampleDeliveryMethod.java | 0.279042 | package lockc.osgi.ddf.eventing.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ddf.catalog.data.Metacard;
import ddf.catalog.event.DeliveryMethod;
public class SampleDeliveryMethod implements DeliveryMethod {
private static final Logger LOG = LoggerFactory.getLogger(SampleDeliveryMeth... |
0ebaf769-f47d-46a2-ac95-0541523a2d08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-13T05:47:46", "repo_name": "Jamesits/myip", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1112, "line_count": 61, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/Jamesits/myip | 356 | FILENAME: README.md | 0.26588 | # myip
Get your external IP address from command line.
[](https://dev.azure.com/nekomimiswitch/General/_build/latest?definitionId=72&branchName=master)
## Usage
### Basic Usage
```shell
$ myip
2001:db8::2
$ myip... |
2756b593-fc92-43bf-91b5-6a133d63c1fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-20 08:10:19", "repo_name": "gaofeifan/linkemore", "sub_path": "/order-service/order-server/src/main/java/cn/linkmore/order/controller/app/request/ReqSwitch.java", "file_name": "ReqSwitch.java", "file_ext": "ja... | https://github.com/gaofeifan/linkemore | 287 | FILENAME: ReqSwitch.java | 0.259826 | package cn.linkmore.order.controller.app.request;
import javax.validation.constraints.Min;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* 车位切换封装
* @author liwen... |
b3e6dad3-6db4-4421-aa8d-08084b9da036 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-19 03:49:13", "repo_name": "lewiszlw/sso", "sub_path": "/sso-server/src/main/java/lewiszlw/sso/server/service/OAuthAppService.java", "file_name": "OAuthAppService.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/lewiszlw/sso | 273 | FILENAME: OAuthAppService.java | 0.26971 | package lewiszlw.sso.server.service;
import lewiszlw.sso.server.convertor.OAuthAppConverter;
import lewiszlw.sso.server.entity.OAuthAppEntity;
import lewiszlw.sso.server.mapper.OAuthAppMapper;
import lewiszlw.sso.server.model.req.RegisterAppReq;
import lewiszlw.sso.server.model.resp.RegisterAppResp;
import lewiszlw.ss... |
c83ded6b-466d-414c-85b5-77a1c7b49007 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-25 00:55:59", "repo_name": "marktani/HelloKitty", "sub_path": "/app/src/main/java/com/example/hellokitty/model/CatApi.java", "file_name": "CatApi.java", "file_ext": "java", "file_size_in_byte": 986, "line_coun... | https://github.com/marktani/HelloKitty | 184 | FILENAME: CatApi.java | 0.228156 | package com.example.hellokitty.model;
import com.example.hellokitty.CatApiService;
import okhttp3.OkHttpClient;
import okhttp3.logging.HttpLoggingInterceptor;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.simplexml.SimpleXmlConverterFactory;
public class CatApi {
private CatApiServ... |
1907c60c-b24c-4130-a6c4-8871dff63d87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-27 01:28:31", "repo_name": "apsiqueira/MediaEscola", "sub_path": "/ToggleButon/app/src/main/java/primeiroapp/power/com/togglebuton/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "fil... | https://github.com/apsiqueira/MediaEscola | 174 | FILENAME: MainActivity.java | 0.214691 | package primeiroapp.power.com.togglebuton;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.CompoundButton;
import android.widget.TextView;
import android.widget.ToggleButton;
public class MainActivity extends AppCompatActivity {
private ToggleButton btn;
priva... |
1b09118e-6209-4cf4-9a00-e22a1da075da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-08 08:15:34", "repo_name": "yxzyh/spring-cloud-fis", "sub_path": "/fis-gateway/src/main/java/com/fis/cloud/gateway/utils/HttpServletRequestUtils.java", "file_name": "HttpServletRequestUtils.java", "file_ext": ... | https://github.com/yxzyh/spring-cloud-fis | 278 | FILENAME: HttpServletRequestUtils.java | 0.267408 | package com.fis.cloud.gateway.utils;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.io.IOUtils;
import org.springframework.stereotype.Component;
/**
* httpServletRequest 解析工具
*
* @author zhen.Ga... |
556933fb-ae4a-47c0-84fe-7e8c9dfc6178 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-15 03:42:58", "repo_name": "szjdbf/mybatis-plus-demo", "sub_path": "/src/main/java/com/zlf/mybatisplusdemo/controller/StudentController.java", "file_name": "StudentController.java", "file_ext": "java", "file_s... | https://github.com/szjdbf/mybatis-plus-demo | 199 | FILENAME: StudentController.java | 0.208179 | package com.zlf.mybatisplusdemo.controller;
import com.zlf.mybatisplusdemo.StudentService;
import com.zlf.mybatisplusdemo.domain.Student;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.ann... |
dd6b7c40-0fb7-412a-8f88-1d1104f47b1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 09:57:38", "repo_name": "roy-as/big-data-workspace", "sub_path": "/flink/src/main/java/com/as/source/OrderSourceDemo.java", "file_name": "OrderSourceDemo.java", "file_ext": "java", "file_size_in_byte": 1180... | https://github.com/roy-as/big-data-workspace | 220 | FILENAME: OrderSourceDemo.java | 0.290176 | package com.as.source;
import org.apache.flink.api.common.RuntimeExecutionMode;
import org.apache.flink.api.common.functions.RichMapFunction;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.flink.streaming.api.datastream.SingleOutputStreamOp... |
f7ab44d8-b02a-47c5-9b0f-d7552e2d3e39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-24 12:37:38", "repo_name": "stankevichevg/package-challenge", "sub_path": "/src/main/java/com/mobiquityinc/packer/io/PackageWriter.java", "file_name": "PackageWriter.java", "file_ext": "java", "file_size_in_by... | https://github.com/stankevichevg/package-challenge | 250 | FILENAME: PackageWriter.java | 0.287768 | package com.mobiquityinc.packer.io;
import com.mobiquityinc.packer.domain.Package;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.function.Function;
/**
* Writes built package to the given output stream using the provided {@link #formatter}.
*/
public class PackageWriter implements AutoC... |
604c724d-d08e-42a3-9943-c3e1b17d4ec2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-10 19:13:31", "repo_name": "DevTeamAcademy/bookbook-api", "sub_path": "/src/main/java/com/bookbook/user/api/validation/CreateUserValidator.java", "file_name": "CreateUserValidator.java", "file_ext": "java", "f... | https://github.com/DevTeamAcademy/bookbook-api | 227 | FILENAME: CreateUserValidator.java | 0.293404 | package com.bookbook.user.api.validation;
import com.bookbook.user.domain.NewUser;
import com.bookbook.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.validation.Errors;
import org.springframework.valid... |
03235283-4356-44f9-bfd7-59ae2d7a5c2b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-10 11:45:16", "repo_name": "zhouhc-github/community", "sub_path": "/src/main/java/zhc/life/com/community/controller/HelloWorldController.java", "file_name": "HelloWorldController.java", "file_ext": "java", "fi... | https://github.com/zhouhc-github/community | 193 | FILENAME: HelloWorldController.java | 0.221351 | package zhc.life.com.community.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import zhc.life.com.community.service.StudentSerivce;
import zhc.life.com.co... |
41eb45ff-531a-468f-9d81-529312bf8480 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-17 10:32:07", "repo_name": "xeon2007/accompany-server", "sub_path": "/src/main/java/me/quhu/haohushi/accompany/service/common/impl/SysStatisticsServiceImpl.java", "file_name": "SysStatisticsServiceImpl.java", ... | https://github.com/xeon2007/accompany-server | 276 | FILENAME: SysStatisticsServiceImpl.java | 0.279828 | package me.quhu.haohushi.accompany.service.common.impl;
import me.quhu.haohushi.accompany.dao.mapper.common.SysStatisticsMapper;
import me.quhu.haohushi.accompany.service.common.SysStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* C... |
73634de7-06fe-4f6f-b107-08607fbb07c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-15 19:43:53", "repo_name": "Arrrmy21/psanalyzer", "sub_path": "/src/main/java/com/onyshchenko/psanalyzer/security/JwtUserDetailService.java", "file_name": "JwtUserDetailService.java", "file_ext": "java", "file... | https://github.com/Arrrmy21/psanalyzer | 218 | FILENAME: JwtUserDetailService.java | 0.261331 | package com.onyshchenko.psanalyzer.security;
import com.onyshchenko.psanalyzer.security.jwt.JwtUserFactory;
import com.onyshchenko.psanalyzer.services.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security... |
47660338-c7d3-400e-aa27-519f2a580a74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-15 10:49:20", "repo_name": "QuocTuan1998/MSC", "sub_path": "/app/src/main/java/com/example/quoctuan/msc/Adapter/Play/PlayViewpagerAdapter.java", "file_name": "PlayViewpagerAdapter.java", "file_ext": "java", "f... | https://github.com/QuocTuan1998/MSC | 199 | FILENAME: PlayViewpagerAdapter.java | 0.226784 | package com.example.quoctuan.msc.Adapter.Play;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.example.quoctuan.msc.view.PlayMusic.fragment.ListMusicFragment;
import com.example.quoctuan.msc.view.PlayMusic.fragment.L... |
8ac71b7f-9ecf-4b04-b6d3-70f64229d477 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-28T15:19:35", "repo_name": "Ipolito42/BorrelBot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1073, "line_count": 27, "lang": "en", "doc_type": "text", "blob_... | https://github.com/Ipolito42/BorrelBot | 256 | FILENAME: README.md | 0.287768 | # BorrelBot
BorrelBot is a mobile robotic arm to fetch beers. This project is part of the Robotics course in LIACS, Leiden University.
## Requirements
1) The Maestro library for servo control via python scripts.
https://github.com/FRC4564/Maestro
2) The OpenCV library for image recognition.
https://opencv.org/
3) Th... |
f0916487-60a4-4051-a449-e04ea2396634 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-23 01:40:39", "repo_name": "aloisiop1/futebol", "sub_path": "/src/br/com/etecmam/cartolafc/apresentacao/PrincipalUI.java", "file_name": "PrincipalUI.java", "file_ext": "java", "file_size_in_byte": 1084, "line_... | https://github.com/aloisiop1/futebol | 261 | FILENAME: PrincipalUI.java | 0.23793 | package br.com.etecmam.cartolafc.apresentacao;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.Toolkit;
public class PrincipalUI extends JFrame {
private JPanel contentPane;
public... |
3995dfb0-e17b-4a2d-84a4-454a65a836de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-06-03T22:37:02", "repo_name": "ausesims/PSO2Wiki", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 18, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/ausesims/PSO2Wiki | 249 | FILENAME: README.md | 0.205615 | # PSO2Wiki
PSO2 Wiki for the US is a project for the production of a wiki site for the Phantasy Star Online 2 game
More information will be released as the project unfolds. Please be advised of the following....
# Website
The website will be constructed using ASP.NET, or Wikipedia Wiki software. This is currently bei... |
4a06eebb-5718-4c69-9e6c-44d8115712c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-27 07:11:23", "repo_name": "kfloresJava/Assignments", "sub_path": "/01-java-fundamentals/04-string-manipulation/AlfredResponse.java", "file_name": "AlfredResponse.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/kfloresJava/Assignments | 229 | FILENAME: AlfredResponse.java | 0.26588 | import java.util.Date;
public class AlfredResponse {
public String basicGreeting()
{
return "Good day to whomever it may concern";
}
public String greetPerson(String personName, String dayString)
{
return String.format("Good day %s isn't it a nice day this %s", personName,d... |
24e4e764-44bc-4666-b1b1-c2b541462b33 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-20 11:48:12", "repo_name": "suixinlu2017/cnblogs-example", "sub_path": "/7-spring中使用aop配置事务/src/main/java/org/xs/demo1/HelloController.java", "file_name": "HelloController.java", "file_ext": "java", "file_size... | https://github.com/suixinlu2017/cnblogs-example | 227 | FILENAME: HelloController.java | 0.26588 | package org.xs.demo1;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("hello")
public class... |
107a88ed-c99d-4532-b20d-fc866a4d6214 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-09-24T13:32:49", "repo_name": "AndreL2507/ISTA420", "sub_path": "/homework/T-SQL Ch.8a Homework.md", "file_name": "T-SQL Ch.8a Homework.md", "file_ext": "md", "file_size_in_byte": 1001, "line_count": 25, "lan... | https://github.com/AndreL2507/ISTA420 | 223 | FILENAME: T-SQL Ch.8a Homework.md | 0.273574 | # Andre Lacquement
### T-SQL Ch.8a Homework
---
1. The list of columns is optional, but by doing so you control the value-column associations. If you don't specify a value, SQL will use a default value if one was defined.
1. Yes, you use a subquery in INSERT SELECT statements.
1. Create Proc EXEC
1. Yo... |
5661bef6-10ec-4c59-b1d8-75acd09f048d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-14 13:08:04", "repo_name": "Jcduhdt/Concurrency", "sub_path": "/src/main/java/com/zx/thread/SemaphoreTest.java", "file_name": "SemaphoreTest.java", "file_ext": "java", "file_size_in_byte": 1178, "line_count": ... | https://github.com/Jcduhdt/Concurrency | 236 | FILENAME: SemaphoreTest.java | 0.286968 | package com.zx.thread;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Semaphore;
/**
* @author ZhangXiong
* @version v12.0.1
* @date 2020-06-14
* Semaphore 允许多少个线程同时做什么事
* 其实这个例子看不出来吧
*/
public class SemaphoreTest {
private static final int TH... |
237f45ee-ff3b-48df-9d0d-92bf817e8086 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-07 14:14:16", "repo_name": "Georgich88/grasp-and-gof-design-patterns", "sub_path": "/src/main/java/com/foxminded/isaev/prototype/cars/Vehicle.java", "file_name": "Vehicle.java", "file_ext": "java", "file_size_... | https://github.com/Georgich88/grasp-and-gof-design-patterns | 246 | FILENAME: Vehicle.java | 0.259826 | package com.foxminded.isaev.prototype.cars;
public class Vehicle implements VehiclePrototype {
private VehicleType type;
private String color;
private String number;
protected Vehicle(VehicleType type, String color, String number) {
this.type = type;
this.color = color;
this.n... |
ed197fbf-ee3c-4dee-bbaf-a6935d461476 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-14T06:23:00", "repo_name": "StuffbyYuki/Tableau-Python-API-Export-View", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1048, "line_count": 40, "lang": "en", "do... | https://github.com/StuffbyYuki/Tableau-Python-API-Export-View | 259 | FILENAME: README.md | 0.246533 | # Tableau Python API
This is a python script based off of an example in [Tableau Server Client (Python)](https://github.com/tableau/server-client-python)
The script in the link above is not working as is (as of 11/13/2020), so this script is to help export csv/png/pdf of a view in your Tableau server.
## Prerequisit... |
fd836134-16f1-48ca-a92a-642572cdae3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-05-19T17:31:58", "repo_name": "laere/scape", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1107, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id": "93... | https://github.com/laere/scape | 278 | FILENAME: README.md | 0.189521 | Runescape has been a big part of my life as a kid growing up.
I started Runescape in 2001 during classic under the name Strikerx15. I was ranked 4 on top attack exp,
and in the top 20 for overall skills for almost half a year. I played it as much as I could until I left the game in 2007.
However, I couldn't stay away... |
2fe4b61c-1146-4656-8a15-997e59542a80 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-28 03:26:27", "repo_name": "wocommunity/wonder", "sub_path": "/Examples/Ajax/AjaxExample/Sources/ModalDialogContents.java", "file_name": "ModalDialogContents.java", "file_ext": "java", "file_size_in_byte": 115... | https://github.com/wocommunity/wonder | 253 | FILENAME: ModalDialogContents.java | 0.295027 | import com.webobjects.appserver.WOActionResults;
import com.webobjects.appserver.WOComponent;
import com.webobjects.appserver.WOContext;
import com.webobjects.foundation.NSLog;
import er.ajax.AjaxModalDialog;
public class ModalDialogContents extends WOComponent {
boolean isSecondConfirmation = false;
public ... |
5ea9fee4-40ec-4bda-8cc6-8efb132a25be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-29 09:08:29", "repo_name": "molayodecker/Ajax-spring-boot-form", "sub_path": "/src/main/java/gh/gov/moh/admissionsportal/service/LoggerServiceImpl.java", "file_name": "LoggerServiceImpl.java", "file_ext": "jav... | https://github.com/molayodecker/Ajax-spring-boot-form | 264 | FILENAME: LoggerServiceImpl.java | 0.277473 | package gh.gov.moh.admissionsportal.service;
import gh.gov.moh.admissionsportal.dao.LoggerDao;
import gh.gov.moh.admissionsportal.model.UrlLogger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by molayodecker on 10/... |
b2dd8ad1-2e5a-43e8-a48c-86ac26fb5dd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-31 08:32:53", "repo_name": "lamdoan7747/rmit-android-ass2", "sub_path": "/app/src/main/java/com/example/rmit_android_ass2/model/CleaningResult.java", "file_name": "CleaningResult.java", "file_ext": "java", "fi... | https://github.com/lamdoan7747/rmit-android-ass2 | 211 | FILENAME: CleaningResult.java | 0.226784 | package com.example.rmit_android_ass2.model;
import com.google.firebase.Timestamp;
import com.google.firebase.firestore.DocumentId;
import com.google.firebase.firestore.FieldValue;
import com.google.firebase.firestore.ServerTimestamp;
import java.io.Serializable;
import java.sql.Time;
import java.text.SimpleDateForma... |
9551ba4a-2edf-4ca5-a9f9-943bd23d885d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-29 19:30:55", "repo_name": "mikepitman/FinalProject", "sub_path": "/androidJokeLib/src/main/java/pitman/co/za/androidjokelib/JokeActivity.java", "file_name": "JokeActivity.java", "file_ext": "java", "file_size... | https://github.com/mikepitman/FinalProject | 219 | FILENAME: JokeActivity.java | 0.23092 | package pitman.co.za.androidjokelib;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.widget.TextView;
public class JokeActivity extends AppCompatActivity {
private static String LOG_TAG = JokeActivity.class.getSimpl... |
f590a7c9-e746-4dcf-9a45-0ab8ff17bb01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-21 14:11:15", "repo_name": "baatheo/TournamentManager", "sub_path": "/src/main/java/tm/domain/entity/Tournament.java", "file_name": "Tournament.java", "file_ext": "java", "file_size_in_byte": 1223, "line_count... | https://github.com/baatheo/TournamentManager | 253 | FILENAME: Tournament.java | 0.279042 | package tm.domain.entity;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Objects;
import java.util.Set;
@Entity
@Table(name="tournament")
public class Tournament {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "tournament_id")
private long to... |
8c486f45-8027-486e-bd1f-1b802486916e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-01T22:49:18", "repo_name": "rubenerd/rubenerd.com", "sub_path": "/content/post/2018/freebsd-zfs-catching-mismatched-disks.md", "file_name": "freebsd-zfs-catching-mismatched-disks.md", "file_ext": "md", "fi... | https://github.com/rubenerd/rubenerd.com | 309 | FILENAME: freebsd-zfs-catching-mismatched-disks.md | 0.191933 | ---
title: "FreeBSD ZFS catching mismatched disks"
date: "2018-08-13T17:22:38+10:00"
abstract: "invalid vdev specification"
year: "2018"
category: Software
tag:
- bsd
- file-systems
- freebsd
- orionvm
- zfs
location: sydney
---
I was creating a ZFS mirrored pool on a FreeBSD cloud instance with two identical data disk... |
75895fb6-eb54-4a69-a00f-c23223b94a01 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-28T07:29:59", "repo_name": "ArduCAM/MIPI_Camera", "sub_path": "/Jetson/Multi-Camera Adapter/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1090, "line_count": 27, "lang": "en"... | https://github.com/ArduCAM/MIPI_Camera | 289 | FILENAME: README.md | 0.262842 | ## Jetson Naono Multi Camera Adapter
### Install GPIO lib
sudo pip install Jetson.GPIO
### Setting User Permissions
In order to use the Jetson GPIO Library, the correct user permissions/groups must be set first.
Create a new gpio user group. Then add your user to the newly created group.
`sudo groupadd -f -r gpio` ... |
92af96d0-3793-47b9-821e-0174bea2b7f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-29 21:17:29", "repo_name": "vakondios/mailer-service", "sub_path": "/src/test/java/com/avakio/mailer/SwaggerUnitTest.java", "file_name": "SwaggerUnitTest.java", "file_ext": "java", "file_size_in_byte": 1064, "... | https://github.com/vakondios/mailer-service | 182 | FILENAME: SwaggerUnitTest.java | 0.23231 | package com.avakio.mailer;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import ... |
b9e6a464-221d-4126-9097-9c9a39e527e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-26 14:41:56", "repo_name": "rafaelbraga25/Uminho", "sub_path": "/DSS/SistemaGestaoTurnos/src/Business/Utilizador.java", "file_name": "Utilizador.java", "file_ext": "java", "file_size_in_byte": 1115, "line_coun... | https://github.com/rafaelbraga25/Uminho | 212 | FILENAME: Utilizador.java | 0.249447 | package Business;
import java.util.Arrays;
/*
* 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.
*/
/**
*
* @author rafae
*/
public abstract class Utilizador {
private final Str... |
0dd0abdd-335c-4f23-a99d-0e68596ed1e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-14 21:47:50", "repo_name": "Mannendri/skhool", "sub_path": "/project/app/src/main/java/com/example/skhool/ResourceAdapter.java", "file_name": "ResourceAdapter.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/Mannendri/skhool | 203 | FILENAME: ResourceAdapter.java | 0.276691 | package com.example.skhool;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import org.w3c.dom.Text;
import java.util.ArrayList;
import androidx.annotation.NonNull;
import... |
13ff82c8-e231-44a0-baa1-e6b83b221bd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-14 19:57:36", "repo_name": "Clydeside/ALipatov", "sub_path": "/chapter_004/src/main/java/ru/job4j/orderBook/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 994, "line_count": 54,... | https://github.com/Clydeside/ALipatov | 214 | FILENAME: Item.java | 0.276691 | package ru.job4j.orderBook;
import java.util.UUID;
public class Item {
private String id;
private String book;
private String type;
private String action;
private int price;
private int amount;
public Item(String book, String type, String action, int price, int amount) {
this.id =... |
a9e28f9f-5395-4b6e-aae3-823dfda4d628 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 02:37:07", "repo_name": "Centennial-FTC-Robotics/Exponential2020-2021", "sub_path": "/TeamCode/src/main/java/org/exponential/unittests/CameraTensorFlowTester.java", "file_name": "CameraTensorFlowTester.java... | https://github.com/Centennial-FTC-Robotics/Exponential2020-2021 | 216 | FILENAME: CameraTensorFlowTester.java | 0.271252 | package org.exponential.unittests;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.eventloop.opmode.Disabled;
import org.exponential.mechanisms.CameraTensorFlow;
import org.exponential.superclasses.UnitTester;
@Disabled
@Autonomous(name="CameraTensorFlowTester", group="Autono... |
ae9c39bb-68d9-406a-8c0e-4b0fc4194a4a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-11 08:22:20", "repo_name": "ifmylove2011/SlimCalendar", "sub_path": "/app/src/main/java/com/xter/slimcalendar/data/source/cloud/request/ShowBingWallpaperRequest.java", "file_name": "ShowBingWallpaperRequest.ja... | https://github.com/ifmylove2011/SlimCalendar | 254 | FILENAME: ShowBingWallpaperRequest.java | 0.289372 | package com.xter.slimcalendar.data.source.cloud.request;
import com.xter.slimcalendar.data.constant.NC;
import com.xter.slimcalendar.data.source.cloud.base.IShowRequest;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
/**
* Created b... |
b496a9a9-11ca-403a-b863-4c22531d6525 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-12 08:53:44", "repo_name": "wanghe2/jwt", "sub_path": "/jwt-server/src/main/java/org/jwt/filter/MyTokenFilter.java", "file_name": "MyTokenFilter.java", "file_ext": "java", "file_size_in_byte": 1155, "line_coun... | https://github.com/wanghe2/jwt | 231 | FILENAME: MyTokenFilter.java | 0.256832 | package org.jwt.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.http.HttpServletRequest;
import j... |
cda90599-f71d-460a-ae75-c6f93c7bc7d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-09 16:19:23", "repo_name": "Aseray/AI_TP1_GestorTareas", "sub_path": "/AplicacionesInteractivas/src/business_layer/business_objects/Location.java", "file_name": "Location.java", "file_ext": "java", "file_size_... | https://github.com/Aseray/AI_TP1_GestorTareas | 255 | FILENAME: Location.java | 0.282196 | package business_layer.business_objects;
import data_access_layer.data_access_objects.DAOLocationImpl;
import data_access_layer.interfaces.DAOLocation;
public class Location {
private String longitude;
private String latitude;
private Integer idTask = autoIncrementID();
public Location(String longi... |
2c6787de-520b-4da0-9230-a036c65b9e09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-13T17:36:28", "repo_name": "iccowan/EmailOpt", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1222, "line_count": 23, "lang": "en", "doc_type": "text", "blob_id"... | https://github.com/iccowan/EmailOpt | 327 | FILENAME: README.md | 0.188324 | # OUTDATED - Please see below for the new VATUSA Base ARTCC Website designed for integration with the VATUSA API. That is written in Laravel 5. This code is no longer being updated.
VATUSA Base ARTCC Website, which is a newer version of the legacy Bozwood-Davies legacy website can be found at:
[https://github.com/icco... |
f70417c7-a479-4c9e-9ea9-aad820f424dc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-28 07:21:49", "repo_name": "imacback/bs", "sub_path": "/bs-cache/src/test/java/cn/aiyuedu/bs/cache/service/CategoryCacheServiceTest.java", "file_name": "CategoryCacheServiceTest.java", "file_ext": "java", "fil... | https://github.com/imacback/bs | 203 | FILENAME: CategoryCacheServiceTest.java | 0.240775 | package cn.aiyuedu.bs.cache.service;
import cn.aiyuedu.bs.common.model.CategoryBase;
import org.apache.commons.collections4.CollectionUtils;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* Created by webwyz on 14/10/22.
*/
... |
c191b900-2ff5-4428-ac7e-18d50813926c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-04-08T09:44:59", "repo_name": "elmot/qemu-lm3s", "sub_path": "/Readme.md", "file_name": "Readme.md", "file_ext": "md", "file_size_in_byte": 1155, "line_count": 36, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/elmot/qemu-lm3s | 312 | FILENAME: Readme.md | 0.23092 | A small project to run QEMU in ARM Cortex-M3 mode with remote gdb endpoint.
=====
Primarily for testing CLion embedded support.
[CLion](https://jetbrains.com/clion/) 2019.2+ is required with embedded support plugin enabled.
Features
---
Uses QEMU emulation of TI lm3s811evb. QEMU is run with some garbage (README file... |
4a16947a-c670-4917-83af-622698988d26 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-05 02:16:52", "repo_name": "2368990203/WorkManagementSystem", "sub_path": "/源代码/work-system/work-system/work-api-admin/src/main/java/team/work/doc/SysSubMenuAuthAdd.java", "file_name": "SysSubMenuAuthAdd.java"... | https://github.com/2368990203/WorkManagementSystem | 257 | FILENAME: SysSubMenuAuthAdd.java | 0.181263 | package team.work.doc;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"handler", "hibernateLazy... |
86c8a989-959e-40ce-af5f-63ac2f2c9b7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-14 08:36:29", "repo_name": "StepanMelnik/MultiThreading_Examples", "sub_path": "/src/main/java/com/sme/multithreading/model/DelayedMessage.java", "file_name": "DelayedMessage.java", "file_ext": "java", "file_s... | https://github.com/StepanMelnik/MultiThreading_Examples | 251 | FILENAME: DelayedMessage.java | 0.280616 | package com.sme.multithreading.model;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Provides POJO message with delay option.
*/
publ... |
6bcc8a88-35e8-4df6-8a93-3d97d9a8fd7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-29 04:53:17", "repo_name": "chenshuidejidan/Java_learn", "sub_path": "/basic/src/cn/hit14/producerAndConsumer/Consumer.java", "file_name": "Consumer.java", "file_ext": "java", "file_size_in_byte": 1235, "line_... | https://github.com/chenshuidejidan/Java_learn | 210 | FILENAME: Consumer.java | 0.255344 | package cn.hit14.producerAndConsumer;
public class Consumer implements Runnable {
private Product product;
@Override
public void run() {
while (true) {
synchronized (product) {
while (product.isEmpty()) {
try {
product.wait()... |
de2a0f3b-1cc5-4938-b370-bdc615457309 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-06 09:33:28", "repo_name": "flycatrat/dataosclient", "sub_path": "/src/main/java/com/dataos/client/collection/RuleResultCollection.java", "file_name": "RuleResultCollection.java", "file_ext": "java", "file_siz... | https://github.com/flycatrat/dataosclient | 208 | FILENAME: RuleResultCollection.java | 0.221351 | package com.dataos.client.collection;
import com.dataos.client.biz.RuleResultBiz;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springfra... |
5957c11e-e176-49c8-b0c0-fdd527ca273c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-05T06:55:41", "repo_name": "rahafoundation/dev-blog", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1007, "line_count": 27, "lang": "en", "doc_type": "text", "b... | https://github.com/rahafoundation/dev-blog | 258 | FILENAME: README.md | 0.213377 | # dev-blog
# This codebase is no longer maintained.
Blog of the Raha software development team. Rendered using Github Pages' Jekyll
integration.
## Adding articles
1. Create a file in `_posts/` with the following title format:
`yyyy-mm-dd-title.md`
1. Add the [Jekyll front matter](https://jekyllrb.com/docs/fr... |
a7c120e9-7afa-4157-aaf3-14c6abe5f36b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-18 05:09:00", "repo_name": "zuokai666/Util", "sub_path": "/Spring/src/com/zk/demo1025/ABeanPostProcessor.java", "file_name": "ABeanPostProcessor.java", "file_ext": "java", "file_size_in_byte": 1106, "line_coun... | https://github.com/zuokai666/Util | 203 | FILENAME: ABeanPostProcessor.java | 0.295027 | package com.zk.demo1025;
import java.lang.annotation.Annotation;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.stereotype.Compon... |
e5786b75-1d76-43be-9a49-d7fe0c6997c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 11:09:46", "repo_name": "daniel1n/json-fastJson-demo", "sub_path": "/src/test/java/cn/qqlin/JsonToFileTest.java", "file_name": "JsonToFileTest.java", "file_ext": "java", "file_size_in_byte": 1155, "line_cou... | https://github.com/daniel1n/json-fastJson-demo | 257 | FILENAME: JsonToFileTest.java | 0.256832 | package cn.qqlin;
import cn.qqlin.model.test.TestModel;
import com.alibaba.fastjson.JSON;
import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.Test;
import java.io.*;
import java.util.List;
/**
* @author lin.qingquan
* @date 2020-10-24 14:47
* @Description:
*/
public class JsonToFileTest {
@Tes... |
bf9068cf-34f3-4ec7-a538-f39b177a5dd7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-26 12:54:00", "repo_name": "lumaryn/3434_343434", "sub_path": "/src/main/java/siriusadmin/siriusadmin.java", "file_name": "siriusadmin.java", "file_ext": "java", "file_size_in_byte": 1179, "line_count": 36, "l... | https://github.com/lumaryn/3434_343434 | 254 | FILENAME: siriusadmin.java | 0.245085 | package siriusadmin;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.ie.InternetExplorerDriver;
import static com.codeborne.selenide.Selenide.*;
import static com.codeborne.selenide.Condition.*;
public class siriusadmin {
publ... |
a802893c-2ed8-428b-81d2-b23ba2db2e6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-10 16:58:04", "repo_name": "Venn8888/wallet", "sub_path": "/wallet-provider/wallet-message-rpc/src/main/java/com/venn/message/service/impl/MobileMessageServiceImpl.java", "file_name": "MobileMessageServiceImpl... | https://github.com/Venn8888/wallet | 272 | FILENAME: MobileMessageServiceImpl.java | 0.23092 | package com.venn.message.service.impl;
import com.venn.domain.dto.MobileMessageDTO;
import com.venn.message.service.MobileMessageService;
import org.apache.dubbo.config.annotation.Service;
import java.util.Date;
/**
* @author venn
* @version 1.0.0
* @date 2020/6/5
*/
@Service
public class MobileMessageServiceImpl... |
568f9be4-affc-4524-ad95-aaa20c3c8085 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-12-16T11:15:44", "repo_name": "DerekDuchesne/CabectAutotester", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 994, "line_count": 23, "lang": "en", "doc_type": "tex... | https://github.com/DerekDuchesne/CabectAutotester | 227 | FILENAME: README.md | 0.210766 | CabectAutotester
================
Penetration testing tool that combines web app and server-side vulnerability checking.
Requirements:
1) The program must be run on Linux.
2) Python must be installed.
*Important Note*
This program uses the Zed Attack Proxy API which requires that the ZAP GUI be open as the program i... |
528a1ba7-401a-4137-b6a0-342dda7cab6a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-04 20:59:21", "repo_name": "mahbubmunna/diu_transport", "sub_path": "/app/src/main/java/com/moonssoft/diubus/BusData.java", "file_name": "BusData.java", "file_ext": "java", "file_size_in_byte": 1007, "line_cou... | https://github.com/mahbubmunna/diu_transport | 253 | FILENAME: BusData.java | 0.242206 | package com.moonssoft.diubus;
/**
* Created by MoonS on 25-01-17.
*/
public class BusData {
private String BusName;
private String BusTime;
private int mImageResource;
public BusData(String mBusName, String mBusTime, int mImageResource) {
this.BusName = BusName;
this.BusTime = Bus... |
aaf0d08f-0177-4a6e-a0a0-5f8637cbfbad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-11 20:38:01", "repo_name": "gongyuchenshidage/3DPrinting10", "sub_path": "/app/src/main/java/com/mukesh/drawingview/example/MoXingKu.java", "file_name": "MoXingKu.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/gongyuchenshidage/3DPrinting10 | 247 | FILENAME: MoXingKu.java | 0.245085 | package com.mukesh.drawingview.example;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
//显示在本地sd卡上储存在某个目录下的图片,每个图片有自己的复选框,选中之后点打印按钮 打印按钮含读取与图片对应的gcode文件功能
public class MoXingKu extends AppCompatActivity implements View.OnClickListen... |
76c0d13d-efca-4ad6-b6e4-1b47f8a5862e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-18 13:56:55", "repo_name": "NaserSalameh/IP-Imposterless-App", "sub_path": "/app/src/main/java/com/nasersalameh/imposterphenomenoninterventionapp/helpers/DateConverter.java", "file_name": "DateConverter.java",... | https://github.com/NaserSalameh/IP-Imposterless-App | 213 | FILENAME: DateConverter.java | 0.278257 | package com.nasersalameh.imposterphenomenoninterventionapp.helpers;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DateConverter {
private static DateFormat dateFormat = new SimpleDateFormat("dd/M/yyyy");;
public static Lo... |
fabed207-8b7e-42e1-b61e-6d96b663f4c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-27 07:37:43", "repo_name": "Shellyfc/JAVA-deep-learning-code", "sub_path": "/src/downloadPage.java", "file_name": "downloadPage.java", "file_ext": "java", "file_size_in_byte": 1060, "line_count": 36, "lang": "... | https://github.com/Shellyfc/JAVA-deep-learning-code | 189 | FILENAME: downloadPage.java | 0.249447 | import java.io.*;
import javax.servlet.*;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.*;
@WebServlet("/downloadPage")
public class downloadPage extends HttpServlet {
@Override
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException {
S... |
b9eea875-0b3f-4a2d-bffb-9e909d518366 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-18 20:32:11", "repo_name": "vigneshvr88/campaign-builder", "sub_path": "/src/main/java/se/invidi/campaignbuilder/controller/CampaignBuilderController.java", "file_name": "CampaignBuilderController.java", "file... | https://github.com/vigneshvr88/campaign-builder | 195 | FILENAME: CampaignBuilderController.java | 0.273574 | package se.invidi.campaignbuilder.controller;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import se.invidi.campaignbuilder.model.CampaignBuilderRequest;
import se.invidi.campaignbuilder.model.CampaignBuilde... |
b1fc70ad-b4c0-4c12-8d2d-c3358bd06228 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-29T20:29:03", "repo_name": "trickstival/css-keylogger", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1086, "line_count": 32, "lang": "en", "doc_type": "text", ... | https://github.com/trickstival/css-keylogger | 270 | FILENAME: README.md | 0.250913 | # CSS Keylogger
Check the [demo](https://codesandbox.io/s/lucid-germain-uxymn?file=/src/index.js)
This is a simple implementation of a keylogger using CSS.
It requires the `value` attribute to be in sync with the input value,
that is why there is a listener `oninput` in the `input` tag.
## How it works
It works by u... |
16dee7f5-0bbe-4bbb-9f61-5a1368ea0f40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-09T19:36:18", "repo_name": "tttsonev/ep-test-parent", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1097, "line_count": 27, "lang": "en", "doc_type": "text", "b... | https://github.com/tttsonev/ep-test-parent | 269 | FILENAME: README.md | 0.235108 |
Clone the project to your machine : git clone
<br/>
The project is maven based, so you need to install java 8 and maven on your machine. This is the [How To document for Ubuntu](https://linuxize.com/post/how-to-install-apache-maven-on-ubuntu-18-04/)
<br/>
All runnable test classes are following the convention *T... |
31f161dd-e997-4a21-9721-3645da750717 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-10 18:20:03", "repo_name": "vadim6810/Heder-Kosher", "sub_path": "/code/AndroidApp/app/src/main/java/com/tr2016/hederkosher/utils/RestClient.java", "file_name": "RestClient.java", "file_ext": "java", "file_siz... | https://github.com/vadim6810/Heder-Kosher | 219 | FILENAME: RestClient.java | 0.261331 | package com.tr2016.hederkosher.utils;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import retrofit2.Retrofit;
import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
import retrofit2.converter.gson.GsonConverterFactory;
import rx.schedulers.Schedulers;
public class RestClient {
private sta... |
dee01f66-1c7e-4c02-8412-fec939359468 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-21 12:54:44", "repo_name": "devosonder/event-sourcing-example", "sub_path": "/userservice/src/main/java/com/example/userservice/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "... | https://github.com/devosonder/event-sourcing-example | 214 | FILENAME: UserService.java | 0.247987 | package com.example.userservice.service;
import com.example.userservice.event.UpdatedRoleEvent;
import com.example.userservice.model.UserServiceUser;
import com.example.userservice.repository.UserRepository;
import org.axonframework.eventhandling.EventHandler;
import org.springframework.beans.factory.annotation.Autowi... |
e1a1529e-6044-4029-9934-51797f33fc0e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-30 08:59:55", "repo_name": "lucifax301/chelizi", "sub_path": "/chelizi/school/src/main/java/com/lili/school/manager/impl/EnrollMaterialAddressManagerImpl.java", "file_name": "EnrollMaterialAddressManagerImpl.j... | https://github.com/lucifax301/chelizi | 251 | FILENAME: EnrollMaterialAddressManagerImpl.java | 0.291787 | package com.lili.school.manager.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import com.lili.common.util.redis.RedisUtil;
import com.lili.common.util.redis.RedisKeys.REDISKEY;
import com.lili.school.dto.EnrollMaterialAddress;
import com.lili.school.dto.EnrollMaterialAdd... |
46b7df2c-b60e-4776-8de3-eea4cd98a1c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-12-04T03:10:59", "repo_name": "p0sty/holiday-festive", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1080, "line_count": 33, "lang": "en", "doc_type": "text", "blo... | https://github.com/p0sty/holiday-festive | 269 | FILENAME: README.md | 0.214691 | holiday-festive
===============
A simple festive animation for the Moorescloud Holiday light.
If you were lucky enough to own one, now archived here - https://web.archive.org/web/20140531015443/http://moorescloud.com:80/
I couldn't find one in the defaults, so I added one :D
Merry Christmas everyone :)
I've done i... |
ecc52f6a-2bdb-4436-8b87-229d9f245be9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-06 17:11:07", "repo_name": "maurofama99/Progetto-Ingegneria-del-Software-2021", "sub_path": "/src/main/java/it/polimi/ingsw/observerPattern/Observable.java", "file_name": "Observable.java", "file_ext": "java",... | https://github.com/maurofama99/Progetto-Ingegneria-del-Software-2021 | 191 | FILENAME: Observable.java | 0.277473 | package it.polimi.ingsw.observerPattern;
import it.polimi.ingsw.network.Message;
import java.io.IOException;
import java.util.ArrayList;
/**
* This observable class is used by the model to notify controller and virtual view
*/
public abstract class Observable {
/**
* List of observers
*/
privat... |
e8db063b-c57f-4025-b935-670af8fe204a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-16T18:07:16", "repo_name": "Jblanch94/restaurant-reviewy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1039, "line_count": 13, "lang": "en", "doc_type": "text... | https://github.com/Jblanch94/restaurant-reviewy | 207 | FILENAME: README.md | 0.249447 | # Restaurant Reviewy
What is Restaurant Reviewy?
Restaurant Reviewy at it's core is a reviewing application for restaurants. It provides user authentication so you know your data will be secure. Users can view reviews for different restaurants without having an account, but to leave a review must have an account and be... |
f9f52f8b-f227-48b3-a1a7-8ee90a37451d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-28 06:34:53", "repo_name": "hoiwanjohnlouis/nyu-scps-android-F2014", "sub_path": "/hfad/ch02/BeerAdvisor/app/src/main/java/com/hfad/beeradvisor/FindBeerActivity.java", "file_name": "FindBeerActivity.java", "fi... | https://github.com/hoiwanjohnlouis/nyu-scps-android-F2014 | 202 | FILENAME: FindBeerActivity.java | 0.252384 | package com.hfad.beeradvisor;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Spinner;
import android.widget.TextView;
import java.util.List;
public class FindBeerActivity extends AppCompatActivity {
private BeerExpert beerExpert = new B... |
03cf9ad0-d84f-4147-b9ae-bcb2fa7b099e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-19 13:49:56", "repo_name": "WangYouzheng1994/hyjf", "sub_path": "/hyjf-api/src/main/java/com/hyjf/activity/actdoubleeleven/bargain/PrizeBargainListResultBean.java", "file_name": "PrizeBargainListResultBean.jav... | https://github.com/WangYouzheng1994/hyjf | 255 | FILENAME: PrizeBargainListResultBean.java | 0.27513 | package com.hyjf.activity.actdoubleeleven.bargain;
import java.util.List;
import com.hyjf.base.bean.BaseResultBean;
import com.hyjf.common.paginator.Paginator;
import com.hyjf.mybatis.model.customize.act.ActNovBargainCustomize;
public class PrizeBargainListResultBean extends BaseResultBean {
/**
* 此处为属... |
3ebab83a-ccd5-4f59-bdce-f99ef23a739d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-10 03:47:48", "repo_name": "DawitSheno/Framework", "sub_path": "/AutomationTesting5/src/test/java/CandyTest.java", "file_name": "CandyTest.java", "file_ext": "java", "file_size_in_byte": 1156, "line_count": 41... | https://github.com/DawitSheno/Framework | 261 | FILENAME: CandyTest.java | 0.264358 | import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.Select;
public class CandyTest {
public static void main(String[] args) throws InterruptedException {
W... |
dc0fd7db-e428-47cd-b2fa-f9e2641879e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 10:00:04", "repo_name": "ShawnLeeLXY/spring-test", "sub_path": "/src/main/java/com/lxy/util/DynamicProxyUtil.java", "file_name": "DynamicProxyUtil.java", "file_ext": "java", "file_size_in_byte": 1239, "line... | https://github.com/ShawnLeeLXY/spring-test | 225 | FILENAME: DynamicProxyUtil.java | 0.261331 | package com.lxy.util;
import com.lxy.controller.TransactionHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/**
* AOP测试:JDK动态代理
* 获取代理... |
70eeebad-84f9-4404-ab79-37b70dd8a6bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 10:34:30", "repo_name": "yekainew/DC-world-android", "sub_path": "/mugui-block/src/main/java/com/mugui/block/TRC20/TronKit.java", "file_name": "TronKit.java", "file_ext": "java", "file_size_in_byte": 1221, ... | https://github.com/yekainew/DC-world-android | 248 | FILENAME: TronKit.java | 0.274351 | package com.mugui.block.TRC20;
public class TronKit {
protected TronApi api;
protected Credential credential;
protected String defaultAddress;
public TronKit(TronApi api, Credential credential) {
this.api = api;
this.credential = credential;
this.defaultAddress = credential.g... |
cdb62d95-6003-4ac0-83bf-929f54b19188 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-15 13:03:14", "repo_name": "LakshmiParamasivan/empdet2", "sub_path": "/empdet2/src/main/java/com/example/empdet2/Entity/DepartmentEntity.java", "file_name": "DepartmentEntity.java", "file_ext": "java", "file_s... | https://github.com/LakshmiParamasivan/empdet2 | 234 | FILENAME: DepartmentEntity.java | 0.267408 | package com.example.empdet2.Entity;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.mapping.Set;
import javax.persistence.*;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
@Entity
@Getter
@Setter
@Table(name = "Department")
public class DepartmentEntity implements Serial... |
b718fab5-512d-49c1-9334-d31d960b03fd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-16 08:25:50", "repo_name": "zzxtz007/MyBatisTestByMaven", "sub_path": "/src/main/java/top/haha233/smbms/servlet/QueryUsersServlets.java", "file_name": "QueryUsersServlets.java", "file_ext": "java", "file_size_... | https://github.com/zzxtz007/MyBatisTestByMaven | 226 | FILENAME: QueryUsersServlets.java | 0.245085 | package top.haha233.smbms.servlet;
import com.google.gson.Gson;
import top.haha233.smbms.service.impl.UserServiceImpl;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpS... |
6decff33-d179-4175-b4a2-c731f2a06042 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-22 02:18:27", "repo_name": "759126711/jetty9test", "sub_path": "/src/main/java/com/test/jetty/common/server/OneWebApp.java", "file_name": "OneWebApp.java", "file_ext": "java", "file_size_in_byte": 1312, "line_... | https://github.com/759126711/jetty9test | 298 | FILENAME: OneWebApp.java | 0.26971 | package com.test.jetty.common.server;
import org.eclipse.jetty.jmx.MBeanContainer;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.AllowSymLinkAliasChecker;
import org.eclipse.jetty.webapp.WebAppContext;
import java.io.File;
import java.lang.management.ManagementFactory;
/**
* 以嵌入式方式... |
847f6d7b-eb94-48f9-b20b-56dc6dcebec2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-22 14:49:34", "repo_name": "iromos/LabelPet", "sub_path": "/LABEL_PROJECT/LabelCore/src/main/java/data/Bands.java", "file_name": "Bands.java", "file_ext": "java", "file_size_in_byte": 1023, "line_count": 46, "... | https://github.com/iromos/LabelPet | 233 | FILENAME: Bands.java | 0.242206 | package data;
import exception.LabelException;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;
/**
* Created by Jackson on 08.05.2015.
*/
@XmlRootE... |
5ad01314-00aa-4ceb-92a6-716bb1d33a99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-18 01:23:18", "repo_name": "jameszkw/demo", "sub_path": "/src/main/java/com/zkw/concurrent/java_Multithread_programmingbook/c4_1/c4_1_4/MyService.java", "file_name": "MyService.java", "file_ext": "java", "file... | https://github.com/jameszkw/demo | 198 | FILENAME: MyService.java | 0.239349 | package com.zkw.concurrent.java_Multithread_programmingbook.c4_1.c4_1_4;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* ${DESCRIPTION}
*
* @author James
* @create 2017-09-14 下午 9:32
**/
public class MyServi... |
5fb84c5f-b337-43de-bc7f-b6dee9033772 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-17 07:23:24", "repo_name": "ITtrap/MySlidingMenu", "sub_path": "/app/src/main/java/com/xuchen/myslidingmenu/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1128, ... | https://github.com/ITtrap/MySlidingMenu | 225 | FILENAME: MainActivity.java | 0.252384 | package com.xuchen.myslidingmenu;
import android.content.Context;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.View;
/**
* z整体的侧滑菜单的实现是王一个帧布局中放置两个子布局。分别是bottom和top,我们只需要控制top的位移来显示bottom的
* 内容就呈现了侧滑的效果。
*/
public class MainActivi... |
cc3bbf96-5e03-483f-8e7a-19203b3f217a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-03T20:52:17", "repo_name": "NicoN00b/chooseYourOwnAdventure", "sub_path": "/src/main/java/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count": 33, "lang": "en", "doc... | https://github.com/NicoN00b/chooseYourOwnAdventure | 211 | FILENAME: App.java | 0.213377 | import Models.Game;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
/**
* Created by Guest on 8/3/17.
*/
public class App {
public static void main(String[] args) {
boolean GameStory = true;
BufferedReader bufferedReader = new BufferedReader(new Input... |
6144c947-76a0-42ac-a1c2-47fa7db2e7ae | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-09 14:35:51", "repo_name": "Minestom/ui", "sub_path": "/src/main/java/net/minestom/ui/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1016, "line_count": 31, "lang": "en", "doc_t... | https://github.com/Minestom/ui | 216 | FILENAME: Main.java | 0.242206 | package net.minestom.ui;
import net.minestom.ui.panel.InstanceHierarchyPanel;
import net.minestom.ui.panel.PanelRegistry;
import net.minestom.ui.panel.TestPanel;
import net.minestom.ui.panel.entity.EntityEditor;
import net.minestom.ui.panel.nbt.NBTEditorPanel;
import net.minestom.ui.window.MainWindow;
import java.nio... |
068815b8-da92-406d-9c7e-a70b060fddec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-11-25T08:51:08", "repo_name": "enlacee/mySkype", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1043, "line_count": 53, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/enlacee/mySkype | 284 | FILENAME: README.md | 0.275909 | # Send Message by Sell with python
## skype4py : [https://github.com/awahlig/skype4py](https://github.com/awahlig/skype4py)
Send many messages atomatic, with Skype.
Hi, start It. We install this app, would read this step
### Requirements
Your SO LINUX, (test in Ubuntu 13.10)
Is very likely that you already have... |
fc33741a-070d-415b-96f3-9d520ebdb348 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 08:39:14", "repo_name": "LebronZhangJiaWen/silinmuye", "sub_path": "/silinmuye-web/src/main/java/com/muyenet/muye/interceptor/AdminLoginInterceptor.java", "file_name": "AdminLoginInterceptor.java", "file_ex... | https://github.com/LebronZhangJiaWen/silinmuye | 217 | FILENAME: AdminLoginInterceptor.java | 0.240775 | package com.muyenet.muye.interceptor;
import com.muyenet.muye.common.utils.MemberUtil;
import com.muyenet.muye.core.utils.MuyeConfig;
import com.muyenet.muye.core.utils.SpringContextHolder;
import com.muyenet.muye.model.member.Member;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServlet... |
2fc43575-9015-4048-a1e9-5684fa12e700 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-09 18:50:47", "repo_name": "joaoreis/baking-app", "sub_path": "/app/src/main/java/br/com/joaoreis/bakingapp/service/models/Ingredients.java", "file_name": "Ingredients.java", "file_ext": "java", "file_size_in_... | https://github.com/joaoreis/baking-app | 224 | FILENAME: Ingredients.java | 0.247987 | package br.com.joaoreis.bakingapp.service.models;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
public class Ingredients implements Parcelable {
public static final Creator<Ingredients> CREATOR = new Creator<Ingredients>() {
@Override
public Ingredients createFrom... |
a30d3f93-67fd-4c70-bcc7-1a34c26c0d0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-19 09:04:49", "repo_name": "sholybell/hello_mq", "sub_path": "/src/main/java/com/syb/hello_mq/rabbitmq/consumer/DistributionReceiver11.java", "file_name": "DistributionReceiver11.java", "file_ext": "java", "fi... | https://github.com/sholybell/hello_mq | 252 | FILENAME: DistributionReceiver11.java | 0.261331 | package com.syb.hello_mq.rabbitmq.consumer;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;
import java.text.SimpleDateFormat;
import java.util.Date;
@Component
public class DistributionReceiver11 {
... |
64aa2c53-912c-44c8-9c58-ed5278aaf956 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-20 09:37:11", "repo_name": "luismu78/EarthquakeObserver2", "sub_path": "/app/src/main/java/es/cervecitas/earthquakeobserver/presentation/ui/earthquakelist/EarthquakeListActivity.java", "file_name": "Earthquake... | https://github.com/luismu78/EarthquakeObserver2 | 215 | FILENAME: EarthquakeListActivity.java | 0.224055 | package es.cervecitas.earthquakeobserver.presentation.ui.earthquakelist;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import java.util.Objects;
import es.cervecitas.earthquakeobserver.R;
import es.cervecitas.earthquakeobserver.presentation.ui.common.BaseActivity;
import es.cervecitas.earthquak... |
3ad7ebcc-a8f2-4fde-a128-506c976c14f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 19:06:57", "repo_name": "210119-java-enterprise/demos", "sub_path": "/java/restaurantWebapp/src/main/java/com/revature/util/JwtParser.java", "file_name": "JwtParser.java", "file_ext": "java", "file_size_in_... | https://github.com/210119-java-enterprise/demos | 211 | FILENAME: JwtParser.java | 0.271252 | package com.revature.util;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import com.revature.pojo.Principal;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
public class JwtParser {
public static void checkToken(HttpServletRequest req) {
// get HTTP cookie ... |
fc33e6ac-02ee-46ec-8e9d-8720d6d0c8c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-28 07:57:09", "repo_name": "wangmengzhong/supacer", "sub_path": "/punch_auth/src/main/java/com/wmz/auth/test.java", "file_name": "test.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 45, "l... | https://github.com/wangmengzhong/supacer | 296 | FILENAME: test.java | 0.291787 | package com.wmz.auth;
import java.util.List;
import org.springframework.boot.devtools.autoconfigure.RemoteDevToolsProperties.Debug;
public class test {
public static void main(String[] args) {
List s=null;
System.out.println(s.isEmpty());
/*int s=1;
int a=Integer.valueOf(s);
Double d=2.1... |
c69fa437-e6fa-4431-a673-0fa7aebc6877 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-02-23T03:15:00", "repo_name": "sinkers/golapse", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1044, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/sinkers/golapse | 238 | FILENAME: README.md | 0.236516 | # golapse
Simple timelapse recorder for a gopro camera designed to run on a small Raspberry Pi or equivalent machine with 2 NICs so that it can connect to the GoPro which has closed wifi and also to an external network.
The whole setup has been built to run off a solar powered rig so can be placed remotely and is weat... |
37876c3a-9214-44d5-a041-2bbb4b352685 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-23 07:08:31", "repo_name": "yigangGitHubNew/distributeProject", "sub_path": "/springCloudConfig/springboot-mybatis/src/main/java/org/spring/springboot/basejava/treads/synchronize/SynchrDubbo.java", "file_name"... | https://github.com/yigangGitHubNew/distributeProject | 209 | FILENAME: SynchrDubbo.java | 0.259826 | package org.spring.springboot.basejava.treads.synchronize;
/**
* 可重入锁的继承
*/
public class SynchrDubbo {
static class Main{
int count = 5;
public synchronized void operationSub(){
count--;
System.out.println("Main class print count is "+ count);
try {
... |
49a05ad5-7647-49fd-ac91-b5b2200fc743 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-09 00:57:40", "repo_name": "landaire/media-player", "sub_path": "/src/main/java/org/madhatters/mediaplayer/database/MediaDBTest.java", "file_name": "MediaDBTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/landaire/media-player | 249 | FILENAME: MediaDBTest.java | 0.274351 | package org.madhatters.mediaplayer.database;
import org.madhatters.mediaplayer.media.AudioFile;
import org.madhatters.mediaplayer.media.FileFinder;
import java.util.Collection;
import java.util.Iterator;
public class MediaDBTest {
public static void main(String[] args) {
MediaDB mediaPlayer;
medi... |
6228ea70-f3f2-4770-8e45-515b465252a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-26 06:26:49", "repo_name": "johnjiang611/MyApplication", "sub_path": "/commonlibrary/src/main/java/com/tpad/common/utils/GsonUtils.java", "file_name": "GsonUtils.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/johnjiang611/MyApplication | 266 | FILENAME: GsonUtils.java | 0.295027 | package com.tpad.common.utils;
import com.google.gson.Gson;
import com.google.gson.JsonParseException;
import com.google.gson.JsonParser;
import java.lang.reflect.Type;
/**
* @author jone.sun on 2015/3/24.
*/
public class GsonUtils {
private static Gson gson = new Gson();
public static Gson getGson() {
... |
8e2284f6-2de2-4b4f-8793-b766598ebb55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-04 06:54:41", "repo_name": "cx422803902/ng2-blog-server", "sub_path": "/src/main/java/org/goiot/controller/model/Tag.java", "file_name": "Tag.java", "file_ext": "java", "file_size_in_byte": 986, "line_count": ... | https://github.com/cx422803902/ng2-blog-server | 218 | FILENAME: Tag.java | 0.258326 | package org.goiot.controller.model;
import org.goiot.core.base.Builder;
import org.goiot.entity.BlogTagEntity;
/**
* Created by chenxing on 2017/7/30.
*/
public class Tag {
private Long id;
private String name;
private Integer count;
public Long getId() {
return id;
}
public void s... |
ebdabe00-c5fc-4e01-9a21-e073be5f5b91 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-26 21:14:35", "repo_name": "jduranmaster/HTTP-Web-Server-Proof-Of-Concept", "sub_path": "/src/main/java/com/jdm/http/webserver/interceptor/UserAuthenticator.java", "file_name": "UserAuthenticator.java", "file_... | https://github.com/jduranmaster/HTTP-Web-Server-Proof-Of-Concept | 189 | FILENAME: UserAuthenticator.java | 0.252384 | package com.jdm.http.webserver.interceptor;
import java.security.NoSuchAlgorithmException;
import com.jdm.http.webserver.model.MD5;
import com.jdm.http.webserver.model.Password;
import com.jdm.http.webserver.model.User;
import com.jdm.http.webserver.repository.IUserRepository;
public class UserAuthenticator {
... |
a521630c-081c-4dfa-8040-123e9fd5710e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-26 09:00:44", "repo_name": "zanxu2016/demo", "sub_path": "/core/src/main/java/com/example/demo/core/rabbitmq/delay/RabbitConfig.java", "file_name": "RabbitConfig.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/zanxu2016/demo | 250 | FILENAME: RabbitConfig.java | 0.220007 | package com.example.demo.core.rabbitmq.delay;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
public class RabbitConfig {
//rabbitmq 连接工厂
private final ConnectionFactory RAB_FACTORY = new ConnectionFactory();
private Connection connection;
public void init() throw... |
9f31d764-db2f-4469-afc6-c4809ac47981 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-05 02:59:40", "repo_name": "kyoodong/SMSAdvertisement", "sub_path": "/SMSMaster/app/src/main/java/com/ironfactory/smsmasterapplication/entities/ChargeCoinEntity.java", "file_name": "ChargeCoinEntity.java", "fi... | https://github.com/kyoodong/SMSAdvertisement | 257 | FILENAME: ChargeCoinEntity.java | 0.252384 | package com.ironfactory.smsmasterapplication.entities;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by IronFactory on 2016. 5. 14..
*/
public class ChargeCoinEntity {
private String PROPERTY_CHARGE_COIN_ID = "charge_coin_id";
private String PROPERTY_CHARGE_COIN_PRICE = "charge_c... |
af513792-a148-4550-8217-ff611096ca4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-17 01:57:26", "repo_name": "keni0k/tanks", "sub_path": "/src/main/java/ru/keni0k/game/tanks/controllers/WorldController.java", "file_name": "WorldController.java", "file_ext": "java", "file_size_in_byte": 1181... | https://github.com/keni0k/tanks | 251 | FILENAME: WorldController.java | 0.283781 | package ru.keni0k.game.tanks.controllers;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.messaging.handler.annotation.SendTo;
import org.springframework.stereotype.Controller;
import org.springframework.w... |
b258b30c-e582-49dd-9900-9c96196a0ff3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-29 09:02:01", "repo_name": "darkprize/nvChart", "sub_path": "/app/src/main/java/andcom/nvchart/util/NvChartDB.java", "file_name": "NvChartDB.java", "file_ext": "java", "file_size_in_byte": 1235, "line_count": ... | https://github.com/darkprize/nvChart | 261 | FILENAME: NvChartDB.java | 0.26588 | package andcom.nvchart.util;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.widget.Toast;
public class NvChartDB extends SQLiteOpenHelper {
private Context context;
public NvChartDB(Context context, String name, SQ... |
e26374b1-c1ae-4a4e-b957-bd90483feadd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-29 08:48:44", "repo_name": "maulanakurnia/movie-room", "sub_path": "/app/src/main/java/com/maulanakurnia/movieroom/ui/viewmodel/UserViewModel.java", "file_name": "UserViewModel.java", "file_ext": "java", "file... | https://github.com/maulanakurnia/movie-room | 242 | FILENAME: UserViewModel.java | 0.277473 | package com.maulanakurnia.movieroom.ui.viewmodel;
import android.app.Application;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.LiveData;
import com.maulanakurnia.movieroom.data.AppRepository;
import com.maulanakurnia.movieroom.data.model.User;
/**
* Crea... |
8aef4626-7497-4899-b061-b8a9f780de38 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-12 01:42:07", "repo_name": "JccY-stu/-", "sub_path": "/src/main/java/com/southwind/mmall002/controller/Verifi/RegVerification.java", "file_name": "RegVerification.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/JccY-stu/- | 300 | FILENAME: RegVerification.java | 0.267408 | package com.southwind.mmall002.controller.Verifi;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* 接收前端传来的验证码
* 与Redis里保存的value进行对比
* 相同则写入数据库
* 否则提示出错
* @param Key 用户验证码在Redis里保存的键名
* @... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.