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 |
|---|---|---|---|---|---|---|
bbae59ea-139b-456b-8918-57cacafcb27d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-20T21:47:23", "repo_name": "silentdefault/Discord-to-GitHub-Status", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1199, "line_count": 27, "lang": "en", "doc_ty... | https://github.com/silentdefault/Discord-to-GitHub-Status | 335 | FILENAME: README.md | 0.208179 | # Discord-to-GitHub-Status
Send Discord Status to your GitHub Status.
## Installation
Install [BetterDiscord](https://github.com/rauenzi/BetterDiscordApp)\
Download [DiscordGithubStatus.plugin.js](https://raw.githubusercontent.com/silentdefault/Discord-to-GitHub-Status/master/DiscordGithubStatus.plugin.js) into the f... |
d071ad54-438d-4ce0-8fae-c461e5e29598 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-27 16:31:49", "repo_name": "martindansc/AIC2019", "sub_path": "/src/LilRookie/Injection.java", "file_name": "Injection.java", "file_ext": "java", "file_size_in_byte": 1105, "line_count": 37, "lang": "en", "doc... | https://github.com/martindansc/AIC2019 | 218 | FILENAME: Injection.java | 0.27513 | package LilRookie;
import aic2019.*;
public class Injection {
public final UnitController unitController;
public final Constants constants = new Constants();
public final StaticVariables staticVariables;
public final MemoryManager memoryManager;
public final Attack attack;
public final Move m... |
3cd68c31-e981-4fcc-a476-4c4df4a81fa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-12 14:41:40", "repo_name": "arnovkh/springbootdemo", "sub_path": "/src/main/java/com/example/demo/security/users/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 106... | https://github.com/arnovkh/springbootdemo | 176 | FILENAME: UserService.java | 0.264358 | package com.example.demo.security.users;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.stream.Collectors;
@Service
public class UserService {
private UserRepository userRepository;
private BCrypt... |
fe28508f-c867-4868-986d-edbb760c130c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-23T02:55:41", "repo_name": "dom64/discordcrusher", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1080, "line_count": 42, "lang": "en", "doc_type": "text", "blob... | https://github.com/dom64/discordcrusher | 260 | FILENAME: README.md | 0.183594 | # What is this
This is a dumb shell script I made to spam messages and change nicknames very quickly in discord.
Messages get send every second and/or nickname gets changed every second depending on what parameters you set.
You can have multiple instances running with multiple accounts.
This was my first real shell... |
0cb93b27-efbc-47e8-bb09-a179a25f6c70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-04-19 18:51:08", "repo_name": "Abs-Zer0/Integration", "sub_path": "/RestCamel/src/main/java/abs/zer0/restcamel/App.java", "file_name": "App.java", "file_ext": "java", "file_size_in_byte": 1213, "line_count": 46, ... | https://github.com/Abs-Zer0/Integration | 245 | FILENAME: App.java | 0.294215 | /*
* 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 abs.zer0.restcamel;
import abs.zer0.restcamel.routes.RestRoute;
import java.util.logging.Level;
import java.util.logging.Logge... |
3edc1750-8c8b-440e-8b62-369f7f354e46 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-23 00:12:33", "repo_name": "lenik/stack", "sub_path": "/plover/core/plover-arch/src/main/java/com/bee32/plover/arch/exception/AbstractExceptionHandler.java", "file_name": "AbstractExceptionHandler.java", "file... | https://github.com/lenik/stack | 224 | FILENAME: AbstractExceptionHandler.java | 0.262842 | package com.bee32.plover.arch.exception;
import com.bee32.plover.inject.ServiceTemplate;
/**
* You must declare {@link ForException} annotation.
*/
@ServiceTemplate
// Must be eager, so as to inject to PloverExceptionHandler.handlerMap as soon as possible.
// @Lazy
public abstract class AbstractExceptionHandler
... |
9c389bca-ab0b-4e14-8800-6772aa0acbf6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-17 00:12:26", "repo_name": "n0misain/6-1_source_from_JADX", "sub_path": "/sources/com/twitter/sdk/android/tweetui/ResetTweetCallback.java", "file_name": "ResetTweetCallback.java", "file_ext": "java", "file_siz... | https://github.com/n0misain/6-1_source_from_JADX | 212 | FILENAME: ResetTweetCallback.java | 0.281406 | package com.twitter.sdk.android.tweetui;
import com.twitter.sdk.android.core.Callback;
import com.twitter.sdk.android.core.Result;
import com.twitter.sdk.android.core.TwitterException;
import com.twitter.sdk.android.core.models.Tweet;
class ResetTweetCallback extends Callback<Tweet> {
BaseTweetView baseTweetView;... |
fd148b8a-e9bd-4259-9808-ee6e1fda00ff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-23 06:04:43", "repo_name": "synergytrainings18/patterns", "sub_path": "/Ani.Alaverdyan.Proxy/core/StatementProxy.java", "file_name": "StatementProxy.java", "file_ext": "java", "file_size_in_byte": 1095, "line_... | https://github.com/synergytrainings18/patterns | 211 | FILENAME: StatementProxy.java | 0.267408 | package Patterns.Proxy.core;
/**
* Created by ani.alaverdyan on 8/24/2018.
*/
public class StatementProxy implements Statement {
Person person;
Statement statementImplementation = new StatementImplementation();
public StatementProxy(Person person) {
this.person = person;
}
... |
d30b036e-004d-47d2-a6fd-d0a160318223 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-27 07:21:58", "repo_name": "GimhaniU/GoogleChartsExamples", "sub_path": "/spring-webmvc/src/main/java/com/example/service/MockCustomerService.java", "file_name": "MockCustomerService.java", "file_ext": "java",... | https://github.com/GimhaniU/GoogleChartsExamples | 190 | FILENAME: MockCustomerService.java | 0.264358 | package com.example.service;
import com.example.model.Customer;
import com.github.javafaker.Faker;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Locale;
import java.util.Random;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
/**
* Created by roshane o... |
62c9b3b8-a408-4ced-9b4f-92923a47bf27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-21 08:19:20", "repo_name": "TaoTaoNie/MessThing", "sub_path": "/NIOStudy/src/server/SocketHandler.java", "file_name": "SocketHandler.java", "file_ext": "java", "file_size_in_byte": 1168, "line_count": 41, "lan... | https://github.com/TaoTaoNie/MessThing | 230 | FILENAME: SocketHandler.java | 0.259826 | package server;
import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
/**
* @author leetHuam
* @version 1.0
*/
public class SocketHandler implements Runnable {
private SocketChannel socketChannel;
p... |
14d3d3ea-9aa4-4b6d-8577-9143a4336672 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-22 07:38:43", "repo_name": "FallInLoveOfOne/project_2019", "sub_path": "/myjava/src/myjava/sms/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1382, "line_count": 35, "lang": "en... | https://github.com/FallInLoveOfOne/project_2019 | 370 | FILENAME: Test.java | 0.267408 | package myjava.sms;
import java.rmi.RemoteException;
import com.chinamobile.openmas.client.Sms;
public class Test {
public static void main(String[] args) throws RemoteException {
/*Sms sms = SmsProvider.getSms();
String[] destinationAddresses = new String[] { "18767090630" };
String message = ... |
bc76c325-60c4-452c-8bc4-3e1dd73bce55 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-07T14:30:53", "repo_name": "ory/dockertest", "sub_path": "/examples/CockroachDB.md", "file_name": "CockroachDB.md", "file_ext": "md", "file_size_in_byte": 975, "line_count": 35, "lang": "en", "doc_type": "... | https://github.com/ory/dockertest | 273 | FILENAME: CockroachDB.md | 0.284576 | ```go
var db *sql.DB
var err error
pool, err := dockertest.NewPool("")
if err != nil {
log.Fatalf("Could not construct pool: %s", err)
}
err = pool.Client.Ping()
if err != nil {
log.Fatalf("Could not connect to Docker: %s", err)
}
resource, err := pool.RunWithOptions(&dockertest.RunOptions{Repository: "cockro... |
84972311-a113-4857-8276-d283ac7b342e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-04-24T16:58:57", "repo_name": "Jmichael96/RPS-MULTIPLAYER", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1123, "line_count": 26, "lang": "en", "doc_type": "text",... | https://github.com/Jmichael96/RPS-MULTIPLAYER | 323 | FILENAME: README.md | 0.292595 | # RPS-MULTIPLAYER
## Click the link! Must have two players in order to play.
[Rock-Paper-Scissors](https://jmichael96.github.io/RPS-MULTIPLAYER/)
## HOW IT WORKS
Firebase is used to store all the data being implemented by the user. The name, chat and users selection (RPS)
is stored until the user leaves the page... |
402418ed-409b-4b2e-a5d8-e5343cfdb5a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-24 09:31:12", "repo_name": "g-smll/gang-mars-java", "sub_path": "/spring-boot-manual-annotation/src/main/java/com/gang/mars/bootstrap/CalculateServiceBootstrap.java", "file_name": "CalculateServiceBootstrap.ja... | https://github.com/g-smll/gang-mars-java | 181 | FILENAME: CalculateServiceBootstrap.java | 0.261331 | package com.gang.mars.bootstrap;
import com.gang.mars.service.CalculateService;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableAppli... |
9c7f177b-4eb3-4f31-b223-41b787d516f2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-29 04:54:18", "repo_name": "Theerapat30/LabHostBaseCardEmulation", "sub_path": "/app/src/main/java/com/theerapat/labhostbasecardemulation/AccountStorage.java", "file_name": "AccountStorage.java", "file_ext": "... | https://github.com/Theerapat30/LabHostBaseCardEmulation | 196 | FILENAME: AccountStorage.java | 0.245085 | package com.theerapat.labhostbasecardemulation;
import android.content.Context;
import android.content.SharedPreferences;
/**
* Created by theerapat on 11/26/2016.
*/
public class AccountStorage {
private static final String PREF_ACCOUNT = "com.theerapat.labhostbasecardemulation.pref.account";
private stati... |
46751660-6f8d-427f-b5fd-e6f565c57890 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-07 15:49:33", "repo_name": "wezik/league-scout", "sub_path": "/src/main/java/com/lol/scout/config/CoreConfig.java", "file_name": "CoreConfig.java", "file_ext": "java", "file_size_in_byte": 1040, "line_count": ... | https://github.com/wezik/league-scout | 193 | FILENAME: CoreConfig.java | 0.208179 | package com.lol.scout.config;
import com.google.gson.GsonBuilder;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.ann... |
4d26b6e3-c886-4837-8d51-8c1ce00df476 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-07 09:51:17", "repo_name": "WDXSS/wight", "sub_path": "/app/src/main/java/test/wightview/fragment/FragmentMainActivity.java", "file_name": "FragmentMainActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/WDXSS/wight | 243 | FILENAME: FragmentMainActivity.java | 0.240775 | package test.wightview.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.O... |
2ec518b3-0820-4bff-b923-9c4c4d7dcc05 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-09 03:18:35", "repo_name": "Unicorn-and-Rainbow/MerlionSystem", "sub_path": "/MerlionSystem/MerlionSystem-ejb/src/java/TMS/EntityTransportationSchedule.java", "file_name": "EntityTransportationSchedule.java", ... | https://github.com/Unicorn-and-Rainbow/MerlionSystem | 225 | FILENAME: EntityTransportationSchedule.java | 0.253861 | /*
* 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 TMS;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneT... |
72287542-e743-4758-b19c-ba0743ab7180 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-03 14:54:47", "repo_name": "Borisca/ProjetSpring-ProjetJava", "sub_path": "/HorlogePatternObserver/src/Temps.java", "file_name": "Temps.java", "file_ext": "java", "file_size_in_byte": 1123, "line_count": 79, "... | https://github.com/Borisca/ProjetSpring-ProjetJava | 334 | FILENAME: Temps.java | 0.277473 | import java.util.ArrayList;
import java.util.List;
public class Temps implements IObservable {
List<IObserver> observer = new ArrayList<>();
int heure = 0;
int minute = 0;
int seconde = 0;
Temps() {
}
public int getSeconde() {
return this.seconde;
}
public int getMinute() {
return this.minute;
}
... |
62a18a23-24db-46af-9ee0-cf30c707ad8c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-03 09:20:48", "repo_name": "luoleiCool/novel", "sub_path": "/src/main/java/com/luolei/novel/sys/domain/SysLog.java", "file_name": "SysLog.java", "file_ext": "java", "file_size_in_byte": 1246, "line_count": 63,... | https://github.com/luoleiCool/novel | 253 | FILENAME: SysLog.java | 0.213377 | package com.luolei.novel.sys.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstruc... |
57dbf097-0432-4d16-8651-95627f7b54ef | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 06:53:06", "repo_name": "chaitanyagprasad/transaction-forecast-app", "sub_path": "/src/main/java/io/github/chait/transaction/controller/AccountPreferenceRestController.java", "file_name": "AccountPreference... | https://github.com/chaitanyagprasad/transaction-forecast-app | 170 | FILENAME: AccountPreferenceRestController.java | 0.267408 | package io.github.chait.transaction.controller;
import io.github.chait.transaction.dto.InsightPreferenceDTO;
import io.github.chait.transaction.service.AccountPreferenceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web... |
37f7bf10-7b05-4d4b-ac49-d3583cfe07ad | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-24 10:27:34", "repo_name": "shivam-tripathi/design-patterns", "sub_path": "/java/headfirst/src/main/java/com/patterns/observer/SwingObservableExample.java", "file_name": "SwingObservableExample.java", "file_ex... | https://github.com/shivam-tripathi/design-patterns | 198 | FILENAME: SwingObservableExample.java | 0.255344 | package com.patterns.observer;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class SwingObservableExample {
JFrame frame;
public void go() {
frame = new JFrame();
frame.setTitle("Swing Observable Example");
JButton button = new JB... |
b2edd7fe-5db9-49be-b043-355cae535f10 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-17 08:27:59", "repo_name": "ILoveStudyAndWork/B-basic-quiz", "sub_path": "/src/main/java/com/thoughtworks/gtb/bbasicquiz/controller/EducationController.java", "file_name": "EducationController.java", "file_ext... | https://github.com/ILoveStudyAndWork/B-basic-quiz | 237 | FILENAME: EducationController.java | 0.286968 | package com.thoughtworks.gtb.bbasicquiz.controller;
import com.thoughtworks.gtb.bbasicquiz.domain.Education;
import com.thoughtworks.gtb.bbasicquiz.exception.UserNotExistException;
import com.thoughtworks.gtb.bbasicquiz.service.EducationService;
import org.springframework.http.HttpStatus;
import org.springframework.we... |
ae5c2302-8ac5-4077-88a2-4fa3d35cf68b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-02 09:57:59", "repo_name": "dnmy/spring-activemq", "sub_path": "/src/main/java/com/sh/lmg/ConsumerListener.java", "file_name": "ConsumerListener.java", "file_ext": "java", "file_size_in_byte": 1091, "line_coun... | https://github.com/dnmy/spring-activemq | 203 | FILENAME: ConsumerListener.java | 0.225417 | package com.sh.lmg;
import org.springframework.stereotype.Component;
import javax.jms.*;
import java.util.concurrent.TimeUnit;
/**
* Created by liaomengge on 16/5/1.
*/
@Component("consumerListener")
public class ConsumerListener implements MessageListener {
public void onMessage(Message message) {
tr... |
3581755e-024f-4bf6-8e5e-3d61976affa9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-17 07:15:34", "repo_name": "WmCodes/litespring", "sub_path": "/src/main/java/org/litespring/beans/factory/support/DefaultsSingletonBeanRegistry.java", "file_name": "DefaultsSingletonBeanRegistry.java", "file_e... | https://github.com/WmCodes/litespring | 236 | FILENAME: DefaultsSingletonBeanRegistry.java | 0.289372 | package org.litespring.beans.factory.support;
import org.litespring.beans.factory.config.SingletonBeanRegistry;
import org.litespring.utill.Assert;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* @author wangmeng
* @date 2019/5/15
* @desciption
*/
public class DefaultsSingletonBeanRegi... |
22cb6c5f-923d-4397-9b29-33426a05be4f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-24 10:02:52", "repo_name": "green-fox-academy/piotriljics", "sub_path": "/week-08/Day-04/src/main/java/com/greenfoxacademy/thereddit/Model/Assignee.java", "file_name": "Assignee.java", "file_ext": "java", "fil... | https://github.com/green-fox-academy/piotriljics | 242 | FILENAME: Assignee.java | 0.262842 | package com.greenfoxacademy.thereddit.Model;
import org.hibernate.engine.profile.Fetch;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
public class Assignee {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String username;
@O... |
85eac698-dd9c-4bad-88d8-c6b271b3c8f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-19 12:45:31", "repo_name": "angeleskilija/Translator", "sub_path": "/app/src/main/java/com/example/ilijaangeleski/translator/manager/TranslateManager.java", "file_name": "TranslateManager.java", "file_ext": "j... | https://github.com/angeleskilija/Translator | 245 | FILENAME: TranslateManager.java | 0.290176 | package com.example.ilijaangeleski.translator.manager;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Ilija Angeleski on 11/18/2017.
*/
public class TranslateManager {
static Map<String,String> translation = new HashMap<String, String>();
private static void fillLanguages() {
tr... |
49e5a98b-6c11-4b3f-b679-55137b6e33de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-22 22:51:19", "repo_name": "adrianomr/ControleAcoes", "sub_path": "/src/main/java/br/com/adrianorodrigues/controleacoes/service/CotacaoAtualService.java", "file_name": "CotacaoAtualService.java", "file_ext": "... | https://github.com/adrianomr/ControleAcoes | 261 | FILENAME: CotacaoAtualService.java | 0.275909 | package br.com.adrianorodrigues.controleacoes.service;
import br.com.adrianorodrigues.controleacoes.dto.CotacaoAtualDTO;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import org.springframework.stereotype.Component;
import java.io.IOException;
import java.util.ArrayList;
i... |
99b02f9f-a2fa-44e8-ac2e-8cd53e90a0bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-10 09:47:09", "repo_name": "mehidee0041/Automation-Mehidee", "sub_path": "/bongo/src/main/java/TestPack/ClickArbitraryContent.java", "file_name": "ClickArbitraryContent.java", "file_ext": "java", "file_size_in... | https://github.com/mehidee0041/Automation-Mehidee | 208 | FILENAME: ClickArbitraryContent.java | 0.291787 | package TestPack;
import org.openqa.selenium.WebDriver;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.WebElement;
public class ClickArbitraryContent {
// private static LoginBongo login;
WebDriver driver;
publi... |
01a2ada8-50ca-455d-ad0b-909255430a70 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-13 07:23:03", "repo_name": "ashishranjan27/basicOfAndroid", "sub_path": "/fragment/Mess_from_activitytofragment2/app/src/main/java/com/example/mess_from_activitytofragment2/MainActivity.java", "file_name": "Ma... | https://github.com/ashishranjan27/basicOfAndroid | 178 | FILENAME: MainActivity.java | 0.242206 | package com.example.mess_from_activitytofragment2;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.FragmentTransaction;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class MainActivity extends AppCompatActivity {... |
66e9b3ca-8653-4378-b35e-87de1f336cbb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 14:36:46", "repo_name": "mecozma/UserProfile", "sub_path": "/app/src/main/java/com/example/android/userprofile/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/mecozma/UserProfile | 195 | FILENAME: MainActivity.java | 0.200558 | package com.example.android.userprofile;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
sup... |
dd622f91-c8d8-4bc1-8868-026ff6213f7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-23 20:38:49", "repo_name": "luctram/SearchService", "sub_path": "/app/src/main/java/com/lkmt/tramluc/searchservice/Services.java", "file_name": "Services.java", "file_ext": "java", "file_size_in_byte": 1204, "... | https://github.com/luctram/SearchService | 260 | FILENAME: Services.java | 0.249447 | package com.lkmt.tramluc.searchservice;
import com.lkmt.tramluc.searchservice.ModelDetailPlace.Reviews;
public class Services {
public String typeServiceId;
public String cityId;
public String serviceId; // auto từ firebase
public String serviceName;
public double lat;
public double lng;
... |
358b3ebb-f558-4973-9386-05f48c8520d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-23 00:12:33", "repo_name": "lenik/stack", "sub_path": "/zebra/layer-2/zebra-io/src/main/java/com/bee32/zebra/io/stock/StockEntry.java", "file_name": "StockEntry.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/lenik/stack | 249 | FILENAME: StockEntry.java | 0.282988 | package com.bee32.zebra.io.stock;
import javax.persistence.Table;
import net.bodz.lily.entity.IdType;
import net.bodz.lily.model.base.CoMomentInterval;
import com.bee32.zebra.io.art.Artifact;
/**
* 库存操作项目
*/
@IdType(Long.class)
@Table(name = "stentry")
public class StockEntry
extends CoMomentInterval<Long... |
7f22091c-8940-44f6-962a-4b9e466205ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-13 07:17:07", "repo_name": "JosephEJohnston/design-pattern", "sub_path": "/src/main/java/ch13_Visitor/visitor/ListVisitor.java", "file_name": "ListVisitor.java", "file_ext": "java", "file_size_in_byte": 1051, ... | https://github.com/JosephEJohnston/design-pattern | 224 | FILENAME: ListVisitor.java | 0.290176 | package ch13_Visitor.visitor;
import ch13_Visitor.entry.Directory;
import ch13_Visitor.entry.ElementArrayList;
import ch13_Visitor.entry.Entry;
import ch13_Visitor.entry.File;
import java.util.Iterator;
public class ListVisitor extends Visitor {
private String currentDir = "";
@Override
public void visi... |
8de24cc9-404b-438c-abb5-83de20f4162e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-07 16:38:32", "repo_name": "proyt2016/AppGuarda", "sub_path": "/app/src/main/java/com/fedoraapps/www/appguarda/Api/UsuarioApi.java", "file_name": "UsuarioApi.java", "file_ext": "java", "file_size_in_byte": 112... | https://github.com/proyt2016/AppGuarda | 237 | FILENAME: UsuarioApi.java | 0.272799 | package com.fedoraapps.www.appguarda.Api;
import com.fedoraapps.www.appguarda.Model.Usuario;
import okhttp3.OkHttpClient;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.http.GET;
import retrofit2.http.Path;
/**
* Created by andres on 14/5/16.... |
518f2b52-6b41-4de4-a6c9-fe606f95704c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-10-31T15:05:55", "repo_name": "thanhryot/php-design-patterns", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1066, "line_count": 34, "lang": "en", "doc_type": "tex... | https://github.com/thanhryot/php-design-patterns | 305 | FILENAME: README.md | 0.290981 | # PHP Design Patterns
List of simple examples of design patterns built in PHP.
### [Creational](src/Creational)
* [AbstractFactory](src/Creational/AbstractFactory)
* [Builder](src/Creational/Builder)
* [FactoryMethod](src/Creational/FactoryMethod)
* [Prototype](src/Creational/Prototype)
* [Singleton](src/Creational/S... |
52657d64-1427-4efd-8f08-e6b1facbc097 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-09-23T15:33:32", "repo_name": "Zenika/github-insights", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1202, "line_count": 49, "lang": "en", "doc_type": "text", "bl... | https://github.com/Zenika/github-insights | 293 | FILENAME: README.md | 0.271252 | # Why
This repository is a try to get insights on an GitHub organization and its members.
# Getting started
Install dependencies using `yarn`
```
yarn
```
# How to use in command line
Create an `.env` file
```
GITHUB_ID=<github_id>
GITHUB_OAUTH=<oauth to access the API>
GITHUB_ORGA=<name of the organization>
GIT... |
e8c3007f-c9a6-43ad-abfc-907d7c3a8d34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-11-08T17:57:51", "repo_name": "axelnetwork/AXEL", "sub_path": "/contrib/axel-blockchain-enhancement/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1016, "line_count": 24, "lang":... | https://github.com/axelnetwork/AXEL | 257 | FILENAME: README.md | 0.26588 | # axel-blockchain-enhancement
A demo for storing/getting data to/from AXEL blockchain with using OP_RETURN, and extra demo of file signing/verifying based on *signmessage* and *verifymessage* AXEL blockchain API calls
## Sending your message to AXEL blockchain
`node ./send.js --rpcuser=<your_rpcuser> --rpcpassword=<... |
6c621958-b921-474d-b63f-489261566314 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-22 00:22:23", "repo_name": "Oguzh4n/Multiplayer-Racing-Game-", "sub_path": "/SimulatorServer/src/Server/ServerImpl.java", "file_name": "ServerImpl.java", "file_ext": "java", "file_size_in_byte": 1121, "line_co... | https://github.com/Oguzh4n/Multiplayer-Racing-Game- | 218 | FILENAME: ServerImpl.java | 0.292595 | /*
* 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 Server;
import java.rmi.RemoteException;
import java.rmi.server.RemoteServer;
import java.rmi.server.ServerNotActiveException;... |
d2a79993-e461-4634-9eae-7ce2a098f88b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-29 10:11:28", "repo_name": "hanqunfeng/springbootchapter", "sub_path": "/chapter53/src/main/java/com/example/controller/DemoController.java", "file_name": "DemoController.java", "file_ext": "java", "file_size_... | https://github.com/hanqunfeng/springbootchapter | 211 | FILENAME: DemoController.java | 0.226784 | package com.example.controller;
import com.example.support.OssResult;
import com.example.support.OssTemplate;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resou... |
d2db7800-0a87-4fcc-9740-5a0e625d8973 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-26 16:59:57", "repo_name": "ReneRanzinger/MeetingRegistration", "sub_path": "/src/main/java/org/registration/service/ConferenceManagerImpl.java", "file_name": "ConferenceManagerImpl.java", "file_ext": "java", ... | https://github.com/ReneRanzinger/MeetingRegistration | 178 | FILENAME: ConferenceManagerImpl.java | 0.295027 | package org.registration.service;
import java.util.List;
import org.registration.persistence.ConferenceEntity;
import org.registration.persistence.dao.ConferenceRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transact... |
5062e231-cad6-452f-8139-5b07eaaa3a0b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-14T04:14:12", "repo_name": "totovr/old_site", "sub_path": "/_posts/2018-04-16-Kinect-V2.md", "file_name": "2018-04-16-Kinect-V2.md", "file_ext": "md", "file_size_in_byte": 1109, "line_count": 45, "lang": "... | https://github.com/totovr/old_site | 291 | FILENAME: 2018-04-16-Kinect-V2.md | 0.256832 | SimpleOpenni is now compatible with Kinect V2
##### Manual installation to use Kinect V2 with SimpleOpenni
> Just comptaible with Mac OS
- Install homebrew:
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
- Make sure these build tools are available:
1. ... |
ec4679e0-f06e-4dc6-b824-1bd8ec6d3fe0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-07-15 08:20:04", "repo_name": "43907800/zfile", "sub_path": "/src/main/java/im/zhaojun/zfile/controller/home/ErgodicDirController.java", "file_name": "ErgodicDirController.java", "file_ext": "java", "file_size_in... | https://github.com/43907800/zfile | 250 | FILENAME: ErgodicDirController.java | 0.20947 | package im.zhaojun.zfile.controller.home;
import im.zhaojun.zfile.model.entity.ErgodicDirConfig;
import im.zhaojun.zfile.model.support.ResultBean;
import im.zhaojun.zfile.service.ErgodicDirService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import ... |
3f894874-7348-4507-aa0e-2485667de6c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-27 09:57:28", "repo_name": "Ninja-Predator/Api-Atlantis", "sub_path": "/src/main/java/com/shineyue/Main.java", "file_name": "Main.java", "file_ext": "java", "file_size_in_byte": 1139, "line_count": 38, "lang":... | https://github.com/Ninja-Predator/Api-Atlantis | 236 | FILENAME: Main.java | 0.255344 | package com.shineyue;
import com.shineyue.commands.commands.Demo;
import com.shineyue.commands.commands.Demo2;
import com.shineyue.listener.*;
import org.bukkit.command.PluginCommand;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin implements Listener ... |
4c269b4d-18e5-4249-8697-2caf5e1c5710 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-21 06:23:27", "repo_name": "ASO1501023/TwoTouchMail", "sub_path": "/app/src/main/java/jp/ac/asojuku/st/twotouthmail/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/ASO1501023/TwoTouchMail | 205 | FILENAME: MainActivity.java | 0.240775 | package jp.ac.asojuku.st.twotouthmail;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import jp.ac.asojuku.st.twotouchmail.R;
public class MainActivity extends AppCompatActivity {
@Override
pro... |
5d5cb241-99d7-4a41-b901-15b7e6dee51c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-08-17T21:23:26", "repo_name": "maap93/labyrinthGame", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1123, "line_count": 20, "lang": "en", "doc_type": "text", "blob... | https://github.com/maap93/labyrinthGame | 409 | FILENAME: README.md | 0.262842 | # labyrinthGame
2D Videogame develop for the Videogame development course at ITESM Campus Queretaro in the 2014 Spring Semester.
Disclaimer Policy: I Do not own the music in this game or the assets(art).
The use of the music and the assets(art) its only for eduacation (School Project) and it is used under the Fai... |
54389eef-c732-403b-8c99-68f15e0d4e09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-11T22:42:40", "repo_name": "volkanb/tweeter", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1202, "line_count": 31, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/volkanb/tweeter | 343 | FILENAME: README.md | 0.235108 | # Tweeter Project
Tweeter is a simple, single-page Twitter clone.
This repository is the starter code for the project: Students will fork and clone this repository, then build upon it to practice their HTML, CSS, JS, jQuery and AJAX front-end skills, and their Node, Express and MongoDB back-end skills.
## Getting St... |
655dca97-c696-44fa-99b2-5e0f52353ea0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-06-13 06:50:30", "repo_name": "developerandroid9/TestExample", "sub_path": "/app/src/main/java/com/example/suneel/testexample/FragmentMilstone.java", "file_name": "FragmentMilstone.java", "file_ext": "java", "fil... | https://github.com/developerandroid9/TestExample | 165 | FILENAME: FragmentMilstone.java | 0.221351 | package com.example.suneel.testexample;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
public class Frag... |
69f3f223-736a-463a-8591-a3d67f07144d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-16 23:46:36", "repo_name": "ALEXGREENCH/mvp_pattern", "sub_path": "/app/src/main/java/com/github/alexgreench/mvppattern/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_b... | https://github.com/ALEXGREENCH/mvp_pattern | 174 | FILENAME: MainActivity.java | 0.23793 | package com.github.alexgreench.mvppattern;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class MainActivity extends AppCompatActivity implements MainContract.View{
private MainPresenter pres... |
75b37c10-2530-48cd-881d-915d13de4f60 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-10-08 05:56:42", "repo_name": "indraneelr/progbook", "sub_path": "/src/main/java/com/progbook/persistence/dao/impl/LanguageDaoImpl.java", "file_name": "LanguageDaoImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/indraneelr/progbook | 198 | FILENAME: LanguageDaoImpl.java | 0.276691 | package com.progbook.persistence.dao.impl;
import com.progbook.persistence.dao.LanguageDao;
import com.progbook.persistence.model.Answer;
import com.progbook.persistence.model.Language;
import org.springframework.stereotype.Repository;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContex... |
5f027dc4-33c6-4f3b-8965-3ee8e595623e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-12 19:14:48", "repo_name": "Speawtr/OpenShop", "sub_path": "/src/main/java/com/kosakorner/openshop/command/CommandHandler.java", "file_name": "CommandHandler.java", "file_ext": "java", "file_size_in_byte": 120... | https://github.com/Speawtr/OpenShop | 265 | FILENAME: CommandHandler.java | 0.291787 | package com.kosakorner.openshop.command;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.metadata.FixedMetadataValue;
import com.kosakorner.openshop.OpenShop;
public c... |
06b9dfdb-8a37-4974-9c8c-966b376c9497 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-16 18:43:24", "repo_name": "springdoc/springdoc-openapi", "sub_path": "/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/java/test/org/springdoc/api/app107/HelloController.java", "file_name": "... | https://github.com/springdoc/springdoc-openapi | 266 | FILENAME: HelloController.java | 0.255344 | package test.org.springdoc.api.app107;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* The type Hello controller.
*/
@RestControll... |
ffcab2f1-13ab-436e-b4dd-6573841439c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-23 22:35:37", "repo_name": "drstranges/ActionHandler", "sub_path": "/samples/databinding/src/main/java/com/drextended/databinding/viewmodel/BaseViewModel.java", "file_name": "BaseViewModel.java", "file_ext": "... | https://github.com/drstranges/ActionHandler | 234 | FILENAME: BaseViewModel.java | 0.279042 | /*
* Copyright Roman Donchenko. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
40e82eae-be43-4897-9078-4526fded4aa3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-25 08:25:17", "repo_name": "qianyu429/MyTestUI", "sub_path": "/src/main/java/MyTestUI/action/Login.java", "file_name": "Login.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 36, "lang": "en... | https://github.com/qianyu429/MyTestUI | 283 | FILENAME: Login.java | 0.272025 | package MyTestUI.action;
import MyTestUI.tools.Log;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import MyTestUI.tools.Constant;
/**
* Created by mac on 2017/9/24.
*/
public class Login {
private WebDriver driver;
public Login(WebDri... |
9edc6413-f717-4300-b069-2eea9d0a510b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-27 08:06:44", "repo_name": "ekuyubaev/Dana", "sub_path": "/src/main/java/kz/foodmaster/filial/data/RoleDB.java", "file_name": "RoleDB.java", "file_ext": "java", "file_size_in_byte": 989, "line_count": 36, "lan... | https://github.com/ekuyubaev/Dana | 180 | FILENAME: RoleDB.java | 0.268941 | package kz.foodmaster.filial.data;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class RoleDB {
public static boolean insertRole(String role, String login) {
ConnectionPool pool = ConnectionPool.getInstance();
Connectio... |
7f1df6c9-e032-4dbe-a3dc-cbd3ad246a34 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-19 04:53:56", "repo_name": "wsdesignuiux/Matrial_design", "sub_path": "/app/src/main/java/adapter/Route_Tabs_Adapter.java", "file_name": "Route_Tabs_Adapter.java", "file_ext": "java", "file_size_in_byte": 1087... | https://github.com/wsdesignuiux/Matrial_design | 237 | FILENAME: Route_Tabs_Adapter.java | 0.292595 | package adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import fragment.Fragment1;
/**
* Created by wolfsoft3 on 12/9/18.
*/
public class Route_Tabs_Adapter extends FragmentStatePagerAdapter {
int mnooft... |
d61cee21-c7e8-4cf6-81a2-5d26e54ddf71 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-28 08:55:38", "repo_name": "SingleWolf/DripStone", "sub_path": "/optimize/src/main/java/com/walker/crash/CrashReport.java", "file_name": "CrashReport.java", "file_ext": "java", "file_size_in_byte": 1042, "line... | https://github.com/SingleWolf/DripStone | 212 | FILENAME: CrashReport.java | 0.261331 | package com.walker.crash;
import android.content.Context;
import java.io.File;
public class CrashReport {
static {
System.loadLibrary("bugly");
}
public static void init(Context context) {
Context applicationContext = context.getApplicationContext();
File file = new File(applica... |
449c66a1-2202-45b6-a443-5a191fba0546 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-22 16:02:52", "repo_name": "varnittyagi120/javaproject2", "sub_path": "/eclipse-workspaceone/SimpleWebProject/src/main/java/dao/DatabaseQueries.java", "file_name": "DatabaseQueries.java", "file_ext": "java", "... | https://github.com/varnittyagi120/javaproject2 | 261 | FILENAME: DatabaseQueries.java | 0.290176 | package dao;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class DatabaseQueries {
Connection connection = null;
public DatabaseQueries() {
try {
Class.forName("com.mysql.jdbc.Driver");
connecti... |
976aa715-7de9-4db9-808f-a3562615da4c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-05 15:28:28", "repo_name": "pog-pp/working", "sub_path": "/HibernateSimpleExample/src/logic/Statistics.java", "file_name": "Statistics.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 54, "l... | https://github.com/pog-pp/working | 242 | FILENAME: Statistics.java | 0.280616 | package logic;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
/**
* Created by paul on 02.03.16.
*/
@Entity
@Table(name="Statistics")
public class Statistics {
private Long stid;
private Long id;
private Long tid;
publ... |
2b5ad339-e74d-4a36-970f-b017d1c4b732 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-21 04:43:55", "repo_name": "loverasd/javademo", "sub_path": "/src/main/java/com/note/design_patterns/creational/factory/factoryMethod/TestHorse.java", "file_name": "TestHorse.java", "file_ext": "java", "file_s... | https://github.com/loverasd/javademo | 226 | FILENAME: TestHorse.java | 0.252384 | package com.note.design_patterns.creational.factory.factoryMethod;
import com.note.design_patterns.creational.factory.factoryMethod.concreteFactory.DiluFactory;
import com.note.design_patterns.creational.factory.factoryMethod.horse.DiLuHorse;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
... |
600b177a-f312-44b2-bbe8-4421e4414e39 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-10 23:22:18", "repo_name": "ncoronel-hotmail/wolox", "sub_path": "/EjercicioWolox/EjercicioWolox/EjercicioWolox/src/main/java/com/ejercicio/wolox/EjercicioWolox/response/ResponsePhoto.java", "file_name": "Resp... | https://github.com/ncoronel-hotmail/wolox | 263 | FILENAME: ResponsePhoto.java | 0.253861 | package com.ejercicio.wolox.EjercicioWolox.response;
import java.io.Serializable;
import org.springframework.stereotype.Component;
import com.ejercicio.wolox.EjercicioWolox.model.PhotoModel;
@Component("responsePhoto")
public class ResponsePhoto implements Serializable {
/**
*
*/
private static final long s... |
4d7990c1-2332-43be-9bcc-bbfa292640d0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-09-05 08:53:06", "repo_name": "hmcts/cmc-claim-store", "sub_path": "/ccd-adapter/src/main/java/uk/gov/hmcts/cmc/ccd/mapper/defendant/statementofmeans/EmployerMapper.java", "file_name": "EmployerMapper.java", "fil... | https://github.com/hmcts/cmc-claim-store | 266 | FILENAME: EmployerMapper.java | 0.284576 | package uk.gov.hmcts.cmc.ccd.mapper.defendant.statementofmeans;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.cmc.ccd.domain.CCDCollectionElement;
import uk.gov.hmcts.cmc.ccd.domain.defendant.statementofmeans.CCDEmployer;
import uk.gov.hmcts.cmc.domain.models.statementofmeans.Employer;
@Compone... |
15bec491-6475-45e2-a526-2178b662c525 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-17 00:14:48", "repo_name": "DanielSer1996/MWSI-Projekt", "sub_path": "/src/main/java/i5b5/mwsi/services/dto/LicenseCategoryData.java", "file_name": "LicenseCategoryData.java", "file_ext": "java", "file_size_in... | https://github.com/DanielSer1996/MWSI-Projekt | 202 | FILENAME: LicenseCategoryData.java | 0.214691 | package i5b5.mwsi.services.dto;
import i5b5.mwsi.entities.DrivingLicense;
import i5b5.mwsi.entities.LicenseCategory;
import java.util.ArrayList;
import java.util.List;
public class LicenseCategoryData
{
private long categoryId;
private String categoryType;
private String description;
public LicenseC... |
67dcaac7-88dc-49d1-a5f4-def25fd337f4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-23 12:03:34", "repo_name": "ilkin/cassandra-native-sample", "sub_path": "/src/main/java/com/example/cassandra/model/CassandraInfo.java", "file_name": "CassandraInfo.java", "file_ext": "java", "file_size_in_byt... | https://github.com/ilkin/cassandra-native-sample | 216 | FILENAME: CassandraInfo.java | 0.217338 | package com.example.cassandra.model;
import io.micronaut.core.annotation.Introspected;
import java.util.Objects;
@Introspected
public class CassandraInfo {
private String clusterName;
private String releaseVersion;
public String getClusterName() {
return clusterName;
}
public void setCl... |
3d4dd162-4f9c-471d-8d50-f4b9c36d229b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-18 09:29:46", "repo_name": "ShemBrooklyne/virtual_pet", "sub_path": "/src/test/java/DatabaseRule.java", "file_name": "DatabaseRule.java", "file_ext": "java", "file_size_in_byte": 972, "line_count": 31, "lang":... | https://github.com/ShemBrooklyne/virtual_pet | 212 | FILENAME: DatabaseRule.java | 0.246533 | import org.junit.rules.ExternalResource;
import org.sql2o.*;
public class DatabaseRule extends ExternalResource {
@Override
protected void before() {
DB.sql2o = new Sql2o("jdbc:postgresql://localhost:5432/virtual_pets_test", "access", "Access"); //Those with linux or windows use two strings for usern... |
84dfbdd2-4a03-4989-b46d-ab6d114ed9a5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-16 00:47:35", "repo_name": "nothing-wy/wyl_blog", "sub_path": "/wyl-module/wyl-module-system/src/main/java/com/wyl/system/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "j... | https://github.com/nothing-wy/wyl_blog | 247 | FILENAME: UserServiceImpl.java | 0.225417 | package com.wyl.system.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wyl.system.entity.Role;
import com.wyl.system.entity.User;
import com.wyl.system.mapper.UserMapper;
import com.wyl.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowire... |
67866807-c53d-4fe9-afba-8d9cac5b14e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-11 03:05:10", "repo_name": "mocn26169/Android-Analyze", "sub_path": "/app/src/main/java/com/mwf/analyze/activity/WelcomeActivity.java", "file_name": "WelcomeActivity.java", "file_ext": "java", "file_size_in_by... | https://github.com/mocn26169/Android-Analyze | 239 | FILENAME: WelcomeActivity.java | 0.256832 | package com.mwf.analyze.activity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import com.mwf.analyze.R;
public class WelcomeActivity extends Ap... |
3cfebc91-94a4-4122-aff9-c03ddccc3342 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-23 01:50:23", "repo_name": "happy6eve/b2c-order", "sub_path": "/order-common/src/main/java/com/haohao/order/common/model/operate/ModifyOrderOperationContent.java", "file_name": "ModifyOrderOperationContent.jav... | https://github.com/happy6eve/b2c-order | 242 | FILENAME: ModifyOrderOperationContent.java | 0.275909 | /**
*
*/
package com.haohao.order.common.model.operate;
import java.util.Map;
/**
* @author mandy.hu
*
*/
public class ModifyOrderOperationContent extends OrderOperationContent {
private static final long serialVersionUID = -523255688911442051L;
/**
*
*/
private Long discount... |
0ae1c2ac-6dea-4071-9f7b-980141a75f09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-27 08:00:32", "repo_name": "XDarker/Seckill", "sub_path": "/src/main/java/com/xdarker/pojo/SeckillGoods.java", "file_name": "SeckillGoods.java", "file_ext": "java", "file_size_in_byte": 1105, "line_count": 49,... | https://github.com/XDarker/Seckill | 244 | FILENAME: SeckillGoods.java | 0.245085 | package com.xdarker.pojo;
import lombok.Data;
import java.util.Date;
/**
* 秒杀商品库存表对应的实体类
* Created by XDarker
* 2018/8/22 21:32
*/
@Data
public class SeckillGoods {
private Long seckillId;
private String name;
private Integer number;
private Date createTime;
private Date startTime;
priva... |
78010204-680a-41a8-920c-19b1887579c8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-06 04:50:19", "repo_name": "IMASau/android-redmap", "sub_path": "/src/au/com/ionata/redmap/overlay/OverlayManager.java", "file_name": "OverlayManager.java", "file_ext": "java", "file_size_in_byte": 1123, "line... | https://github.com/IMASau/android-redmap | 226 | FILENAME: OverlayManager.java | 0.294215 | package au.com.ionata.redmap.overlay;
import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import au.com.ionata.redmap.R;
public class OverlayManager {
private int rId = R.layout.activity_loading;
private Activity activity;
private View over... |
14fc0039-78f1-4d45-97a7-3c75a58decf8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-26 19:18:00", "repo_name": "Kiolk/BullsAndCows", "sub_path": "/app/src/main/java/com/example/notepad/bullsandcows/ui/activity/activities/RulesPageActivity.java", "file_name": "RulesPageActivity.java", "file_ex... | https://github.com/Kiolk/BullsAndCows | 209 | FILENAME: RulesPageActivity.java | 0.26971 | package com.example.notepad.bullsandcows.ui.activity.activities;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import com.example.notepad.bullsandcows.R;
public class RulesPageActivity exten... |
45867777-6da5-4778-ab2a-927bb1d99cd1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-26 09:46:02", "repo_name": "BruceLi119/myBootDemo", "sub_path": "/src/main/java/com/asiaInfo/demo/service/impl/DemoServiceImpl.java", "file_name": "DemoServiceImpl.java", "file_ext": "java", "file_size_in_byte... | https://github.com/BruceLi119/myBootDemo | 307 | FILENAME: DemoServiceImpl.java | 0.246533 | package com.asiaInfo.demo.service.impl;
import com.asiaInfo.demo.service.DemoService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
/**
* @author: liShuGuang
* @dateTime: 2021/04/09
*/
@Service("dis... |
a370d9cf-4aa9-45cc-bc32-84fb5e9b5524 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-04-28 03:50:58", "repo_name": "asnehal/SwipyTabs", "sub_path": "/src/com/example/swipeytabs/SwipeyTabs.java", "file_name": "SwipeyTabs.java", "file_ext": "java", "file_size_in_byte": 1097, "line_count": 37, "lang... | https://github.com/asnehal/SwipyTabs | 219 | FILENAME: SwipeyTabs.java | 0.258326 | package com.example.swipeytabs;
import android.app.ActionBar;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;
import android.view.Menu;
public class SwipeyTabs extends FragmentActivity {
private ViewPager mViewPager;
private TabsAdapter mTabsAdapt... |
f0e37d93-85dc-4a00-b16d-8f4ebc815639 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-10-21 21:59:28", "repo_name": "UeliKurmann/igesture", "sub_path": "/igesture-framework/src/main/java/org/ximtec/igesture/core/IconDescriptor.java", "file_name": "IconDescriptor.java", "file_ext": "java", "file_si... | https://github.com/UeliKurmann/igesture | 259 | FILENAME: IconDescriptor.java | 0.289372 | /*
* @(#)$Id$
*
* Author : Ueli Kurmann, igesture@uelikurmann.ch
*
*
* Purpose :
*
* -----------------------------------------------------------------------
*
* Revision Information:
*
* Date Who Reason
*
* 22.10.2008 ukurmann Initial Release
*
* -------------... |
0b15d128-02a0-4a3d-8240-abd4924404ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-06-06T03:46:52", "repo_name": "joewww/ethereum_node", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1086, "line_count": 51, "lang": "en", "doc_type": "text", "blob... | https://github.com/joewww/ethereum_node | 381 | FILENAME: README.md | 0.272025 |
# ♢ ethereum_node
## Overview

## Monthly Costs
- t2.medium: ~$33.41
- 120G EBS: ~$12.00
- Total = $45.41
## AMI
- using t2.medium (1x)
- install geth: bin/install.sh
- add bin/startup.sh to /etc/rc.local
- `mkdir /var/ethereum-data/ && chown ubuntu: /var/ethereum-d... |
4426cbf7-d793-4524-9c23-cc4723a472b8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-30 08:06:51", "repo_name": "zapho/chaos-proxy", "sub_path": "/src/main/java/fr/zapho/chaosproxy/Log.java", "file_name": "Log.java", "file_ext": "java", "file_size_in_byte": 1089, "line_count": 48, "lang": "en"... | https://github.com/zapho/chaos-proxy | 228 | FILENAME: Log.java | 0.252384 | package fr.zapho.chaosproxy;
import javax.json.bind.annotation.JsonbProperty;
import javax.json.bind.annotation.JsonbTransient;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import static java.time.format.DateTimeFormatter.ofPattern;
public class Log {
private LogLevel level;
pri... |
fa1cc5ec-48ce-4628-9699-e5f14d64536d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-20 15:16:58", "repo_name": "KimSuHyeon92/WebPortfolio", "sub_path": "/WebPortfolio/src/main/java/com/pf/test/TitleTest.java", "file_name": "TitleTest.java", "file_ext": "java", "file_size_in_byte": 1081, "line... | https://github.com/KimSuHyeon92/WebPortfolio | 241 | FILENAME: TitleTest.java | 0.258326 | package com.pf.test;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Resource;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
... |
f6087d7a-116d-4ce6-b7e2-e16f87248054 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-22 04:56:07", "repo_name": "GSIPROYECTOSTACHO/AprenderSOAP", "sub_path": "/AprenderSoap/app/src/main/java/utng/edu/mx/aprendersoap/Display.java", "file_name": "Display.java", "file_ext": "java", "file_size_in_... | https://github.com/GSIPROYECTOSTACHO/AprenderSOAP | 214 | FILENAME: Display.java | 0.258326 | package utng.edu.mx.aprendersoap;
import android.content.Intent;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class Display extends AppCompatActivity implement... |
9c959a93-d431-44c3-a1c7-0abd03c506da | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-01 20:05:23", "repo_name": "lidapeng/matsim", "sub_path": "/playgrounds/sergioo/src/main/java/playground/sergioo/mixedTraffic2017/RunControler.java", "file_name": "RunControler.java", "file_ext": "java", "file... | https://github.com/lidapeng/matsim | 229 | FILENAME: RunControler.java | 0.240775 | package playground.sergioo.mixedTraffic2017;
import com.google.inject.Provider;
import org.matsim.api.core.v01.Scenario;
import org.matsim.core.config.ConfigUtils;
import org.matsim.core.controler.AbstractModule;
import org.matsim.core.controler.Controler;
import org.matsim.core.mobsim.framework.Mobsim;
import playgro... |
d9c72ae4-96ca-4839-8c07-916fea3f691f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-27 15:39:42", "repo_name": "themichaelusa/ScreenGods-CS126", "sub_path": "/app/src/androidTest/java/com/example/michaelusa/screengods/ExampleInstrumentedTest.java", "file_name": "ExampleInstrumentedTest.java",... | https://github.com/themichaelusa/ScreenGods-CS126 | 259 | FILENAME: ExampleInstrumentedTest.java | 0.290981 | package com.example.michaelusa.screengods;
import android.support.test.runner.AndroidJUnit4;
import com.google.firebase.database.DatabaseReference;
import com.google.firebase.database.FirebaseDatabase;
import org.junit.Test;
import org.junit.runner.RunWith;
/**
* Instrumentation test, which will execute on an Andr... |
5ae28425-16fb-4037-a506-e36ff38e1d81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-20 15:51:02", "repo_name": "linkedpipes/etl", "sub_path": "/executor/src/main/java/com/linkedpipes/etl/executor/ConfigurationHolder.java", "file_name": "ConfigurationHolder.java", "file_ext": "java", "file_siz... | https://github.com/linkedpipes/etl | 190 | FILENAME: ConfigurationHolder.java | 0.2227 | package com.linkedpipes.etl.executor;
import com.linkedpipes.etl.executor.cli.Configuration;
import org.springframework.stereotype.Service;
import java.io.File;
import java.util.List;
/**
* Wrap the configuration, as we do not provide direct access for services.
*/
@Service
public class ConfigurationHolder {
... |
4962dfe8-dc06-4234-bb6b-c27019011a1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-30 16:14:09", "repo_name": "evgeniy-andrienko/long-map", "sub_path": "/src/test/java/de/comparus/opensource/longmap/LongMapTest.java", "file_name": "LongMapTest.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/evgeniy-andrienko/long-map | 210 | FILENAME: LongMapTest.java | 0.286169 | package de.comparus.opensource.longmap;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
class LongMapTest {
@Test
void initLongMapWithDefaultParams() {
new LongMapImpl<>();
}
@Test
... |
5eb21669-692e-4a0d-b25b-d71e251ffa35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-08-19T01:36:54", "repo_name": "noma4i/redmine_will_deploy", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1078, "line_count": 41, "lang": "en", "doc_type": "text",... | https://github.com/noma4i/redmine_will_deploy | 273 | FILENAME: README.md | 0.226784 | # Redmine WillDeploy Plugin
Plugin to vote for Deploy or Not.
## Features
Quorum of 2 is minimal PASS to deploy.
## Reason?
Everytime after release we have lots of `hot commits to deploy`. Such things can't just go to production if you
have strict release cycle. At this point better solutions is to VOTE on such id... |
283f9c25-31a4-4ac5-be2b-32dcff26a253 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-31 08:36:53", "repo_name": "CokeWithoutIce/eureka-server", "sub_path": "/huobi-server/src/main/java/com/kelebujiabing/huobiserver/huobiApi/domain/event/KlineEventResp.java", "file_name": "KlineEventResp.java",... | https://github.com/CokeWithoutIce/eureka-server | 262 | FILENAME: KlineEventResp.java | 0.267408 | package com.kelebujiabing.huobiserver.huobiApi.domain.event;
import com.kelebujiabing.huobiserver.huobiApi.domain.Candle;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.elasticsearch.annotations.Document;
import java.util.List;
/**
* created by jacky. 2018/7/24 8:26 PM
*/
@Getter
@Sett... |
51267fd8-44c8-4b58-a7d3-0816d8c1eaf7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-19 15:37:04", "repo_name": "jojoldu/blog-code", "sub_path": "/spring-boot-entityql/spring-boot-entityql-sql/src/main/java/com/jojoldu/blogcode/entityql/sql/bulkinsert/academy/onetomany/AcademyMatcherRepository... | https://github.com/jojoldu/blog-code | 245 | FILENAME: AcademyMatcherRepository.java | 0.29584 | package com.jojoldu.blogcode.entityql.sql.bulkinsert.academy.onetomany;
import com.jojoldu.blogcode.entityql.entity.domain.academy.Academy;
import com.querydsl.jpa.impl.JPAQueryFactory;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annot... |
1ffd3431-df03-4b27-9f0d-34417fae3166 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-01-02 08:01:48", "repo_name": "dstweihao/dst-android-example", "sub_path": "/app/src/main/java/com/jweihao/jdemo/ui/activity/md/ShadowActivity.java", "file_name": "ShadowActivity.java", "file_ext": "java", "file_... | https://github.com/dstweihao/dst-android-example | 259 | FILENAME: ShadowActivity.java | 0.286169 | package com.jweihao.jdemo.ui.activity.md;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import com.wh.customcontrol.R;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
/*
* 视图与阴影
*
* */
public class ShadowActivity e... |
61dc9bc1-d8fa-4fd5-aefc-6fb91959906d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-24 15:57:33", "repo_name": "AliMorales018/IXPERY", "sub_path": "/IXPERY/Presentacion/src/main/java/com/ixpery/controladores/tools/Encrypt.java", "file_name": "Encrypt.java", "file_ext": "java", "file_size_in_b... | https://github.com/AliMorales018/IXPERY | 199 | FILENAME: Encrypt.java | 0.27513 | package com.ixpery.controladores.tools;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import org.apache.commons.codec.binary.Hex;
public class Encrypt {
public static void main(String[] args) {
MessageDigest md = null;
String password = "password D:";
... |
da124f2a-aff8-44c4-913b-cbaa2141950a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-12T15:31:56", "repo_name": "felipejinli/tibi-mobile-2020", "sub_path": "/client/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1087, "line_count": 38, "lang": "en", "doc_type"... | https://github.com/felipejinli/tibi-mobile-2020 | 272 | FILENAME: README.md | 0.220007 | # Tibi Global Mobile App
## Set Up (Starting from client)
Install Dependencies
1. `yarn install`
2. `cd ios`
3. `pod install`
Run on Simulator
1. `npx react-native start`
2. `npx react-native run-ios`
Run on iPhone
1. `yarn global add ios-deploy`
2. `npx react-native start`
3. `npx react-native run-ios --device ... |
fcc3d6bd-69ae-44d9-9dcb-59f0f1ce70a9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-16 11:36:52", "repo_name": "NischithaM/springdemo", "sub_path": "/src/com/cruds/demo/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1089, "line_count": 68, "lang": "en", "doc_ty... | https://github.com/NischithaM/springdemo | 268 | FILENAME: User.java | 0.261331 | package com.cruds.demo;
public class User {
private String name;
private String country;
private int age;
private Address address;
/*
public User() {
super();
}*/
public User(String name, String country, int age) {
super();
this.name = name;
this.country = country;
this.age = age;
}
public... |
18c4327c-8a10-4a58-aa26-f2b85bb3aeb4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-20 18:48:39", "repo_name": "MaxxtonGroup/microdocs", "sub_path": "/example/product-service/src/main/java/com/example/service/product/domain/Product.java", "file_name": "Product.java", "file_ext": "java", "file... | https://github.com/MaxxtonGroup/microdocs | 229 | FILENAME: Product.java | 0.255344 | package com.example.service.product.domain;
import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
*
* @author Steven Hermans (s.hermans@maxxton.com)
*/
public class Product implements Serializable{
/** @example 15 */
private Lon... |
4b100a9c-ebc2-45b7-8855-48c2821a9efb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-02-27 10:54:13", "repo_name": "jss-emr/jss-openerp-integration", "sub_path": "/openerp-service/src/test/java/org/jss/openerp/web/service/OpenERPServiceIT.java", "file_name": "OpenERPServiceIT.java", "file_ext": "... | https://github.com/jss-emr/jss-openerp-integration | 239 | FILENAME: OpenERPServiceIT.java | 0.295027 | package org.jss.openerp.web.service;
import junit.framework.TestCase;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.test.context.ContextConfiguration;
import or... |
38afab5c-dcfe-4fff-857a-d3330feac6c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-15 19:40:09", "repo_name": "Romanow/core", "sub_path": "/rest-client-jmh/src/jmh/java/ru/romanow/core/rest/client/RestClientStressTest.java", "file_name": "RestClientStressTest.java", "file_ext": "java", "file... | https://github.com/Romanow/core | 253 | FILENAME: RestClientStressTest.java | 0.292595 | package ru.romanow.core.rest.client;
import org.openjdk.jmh.annotations.*;
import org.springframework.web.client.RestTemplate;
import ru.romanow.core.spring.rest.client.SpringRestClient;
@BenchmarkMode(Mode.All)
@Warmup(iterations = 1, time = 2)
@Measurement(iterations = 10, time = 2)
@Fork(value = 1, warmups = 1)
pu... |
30595742-1a09-4075-87a7-6db7e6d7b4a6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-14 04:44:03", "repo_name": "kitajima2910/learn-java", "sub_path": "/ADF-2/src/JPL/S/L006/configuration/InitConnection.java", "file_name": "InitConnection.java", "file_ext": "java", "file_size_in_byte": 1202, "... | https://github.com/kitajima2910/learn-java | 251 | FILENAME: InitConnection.java | 0.268941 | /*
* 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 JPL.S.L006.configuration;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
/**
*
* ... |
a34e081b-b546-4a94-9502-8658b9d64dfe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-01 08:23:55", "repo_name": "porag-ict-mbstu/Blood-Bank-System", "sub_path": "/src/java/main/deletedonor.java", "file_name": "deletedonor.java", "file_ext": "java", "file_size_in_byte": 1100, "line_count": 41, ... | https://github.com/porag-ict-mbstu/Blood-Bank-System | 190 | FILENAME: deletedonor.java | 0.258326 | /*
* 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 main;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.se... |
8662540a-a386-4d2c-8f6d-2de359176c30 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-05 09:28:37", "repo_name": "thakurakhilesh1998/myMovie", "sub_path": "/app/src/main/java/com/example/mymovie/Database/AppDatabase.java", "file_name": "AppDatabase.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/thakurakhilesh1998/myMovie | 208 | FILENAME: AppDatabase.java | 0.286169 | package com.example.mymovie.Database;
import android.content.Context;
import android.util.Log;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import com.example.mymovie.Modal.MoviesData;
@Database(entities = {MoviesData.class}, version = 1, exportSchema = false)
public ... |
10e3e6d5-538f-4d4d-af30-6b10313034df | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-10-06 22:41:27", "repo_name": "qiaohhgz/shop-module", "sub_path": "/shop-core/src/test/java/com/jim/shop/entity/TestUser.java", "file_name": "TestUser.java", "file_ext": "java", "file_size_in_byte": 1021, "line_c... | https://github.com/qiaohhgz/shop-module | 226 | FILENAME: TestUser.java | 0.285372 | package com.jim.shop.entity;
import static org.junit.Assert.*;
import java.util.Date;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.jim.shop.util.HiberanteUtil;
public cla... |
0744d365-6374-4bbf-841c-2c73973e05ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-28 13:48:13", "repo_name": "nuttapatb/Network", "sub_path": "/Server/src/sample/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1203, "line_count": 46, "lang": "en", "doc_typ... | https://github.com/nuttapatb/Network | 196 | FILENAME: Server.java | 0.27513 | package sample;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.ArrayList;
public class Server implements Runnable{
ArrayList<PrintWriter> writers;
Controller controller;
Serve... |
4042c891-dddb-4b3b-8b12-016262d46ec6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-03 09:05:17", "repo_name": "raczandras/webbeadando", "sub_path": "/src/main/java/hu/andras/service/CustomerServiceImpl.java", "file_name": "CustomerServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/raczandras/webbeadando | 196 | FILENAME: CustomerServiceImpl.java | 0.264358 | package hu.andras.service;
import hu.andras.dao.CustomerDao;
import hu.andras.exceptions.UnknownCustomerException;
import hu.andras.model.Customer;
import hu.andras.model.CustomerOut;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import java.ut... |
5bac64ea-57d3-49b7-8d5f-cf8ce2d48c1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-10 21:57:22", "repo_name": "ericafenyo/build-it-bigger", "sub_path": "/FinalProject/backend/src/main/java/com/udacity/gradle/builditbigger/backend/MyEndpoint.java", "file_name": "MyEndpoint.java", "file_ext": ... | https://github.com/ericafenyo/build-it-bigger | 230 | FILENAME: MyEndpoint.java | 0.267408 | /*
For step-by-step instructions on connecting your Android application to this backend module,
see "App Engine Java Endpoints Module" template documentation at
https://github.com/GoogleCloudPlatform/gradle-appengine-templates/tree/master/HelloEndpoints
*/
package com.udacity.gradle.builditbigger.backend;
im... |
240d55df-fb92-44ac-94b4-af8769dab2c1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-18 08:56:48", "repo_name": "kexiaomeng/nettyTest", "sub_path": "/springbootnettyacuturo/src/main/java/com/sun/nari/springbootnetty/util/SpringContextUtil.java", "file_name": "SpringContextUtil.java", "file_ext... | https://github.com/kexiaomeng/nettyTest | 243 | FILENAME: SpringContextUtil.java | 0.288569 | /**
* SpringContext工具类
*/
package com.sun.nari.springbootnetty.util;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
/**
* 定义SpringContext工具,用于获取实例
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.