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 |
|---|---|---|---|---|---|---|
cca0deaa-de6f-408e-abd0-c3319c9752d6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-06-30T14:05:36", "repo_name": "clingen-data-model/clingen-interpretation", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1226, "line_count": 29, "lang": "en", "doc... | https://github.com/clingen-data-model/clingen-interpretation | 264 | FILENAME: README.md | 0.273574 | # interpretation
Allele (variant) interpretation model and API for ClinGen
# Viewing the documentation
```bash
bundle install # assumes a working ruby and bundle installation, gets all of the ruby dependencies
# only needs to be done once (or when dependencies change)
bundle exec middleman # now you s... |
2b5bddb7-3c80-4104-96bd-90dec679dec2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-18 10:05:14", "repo_name": "antoyohan/Sample_2", "sub_path": "/app/src/main/java/com/example/ando/sample_2/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1056, "... | https://github.com/antoyohan/Sample_2 | 193 | FILENAME: MainActivity.java | 0.242206 | package com.example.ando.sample_2;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.example.ando.sample_2.di.ActivityModule;
import com.example.ando.sample_2.di.DaggerActivityComponent;
import com.example.ando.sample_2.models.Employee;
import com.example.ando.sample_2.models.Vehic... |
3e4fc1e7-6b77-4535-8f4d-30bc7d85ddfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2009-11-23 22:35:58", "repo_name": "benmoran/Affect-Sampler", "sub_path": "/src/net/benmoran/affectsampler/SyncResult.java", "file_name": "SyncResult.java", "file_ext": "java", "file_size_in_byte": 440, "line_count": ... | https://github.com/benmoran/Affect-Sampler | 255 | FILENAME: SyncResult.java | 0.279828 | /*
*
* Copyright 2009 (C) Ben Moran
*
* 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 by applicable... |
d095af00-cce3-4040-81f8-dde9bee2788a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-01T23:10:35", "repo_name": "kishima/micro_mruby_for_arduino_uno", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1130, "line_count": 60, "lang": "en", "doc_type"... | https://github.com/kishima/micro_mruby_for_arduino_uno | 295 | FILENAME: README.md | 0.259826 | # micro mruby for arduino uno
This is my experimental project to show that mruby/c can work on Arduino Uno, which has 2KB RAM.
I call it "micro mruby", which is a subset of mruby/c with a lot of limitation.
# Required environment
* Arduino Uno
* Arduino IDE
* Complile environment for C (gcc, make)
# How to run it?
... |
72e370e9-b004-4769-bf0c-ee2277256d74 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-10 18:20:17", "repo_name": "jonahboe/TallyUp", "sub_path": "/app/src/main/java/com/tallyup/datacontainers/Item.java", "file_name": "Item.java", "file_ext": "java", "file_size_in_byte": 1087, "line_count": 53, ... | https://github.com/jonahboe/TallyUp | 253 | FILENAME: Item.java | 0.26588 | package com.tallyup.datacontainers;
/**
* One item within a category of inventory. Though it is one item, it can have a varying quantity.
*/
public class Item {
String name;
int quantity;
/**
* What does an item have?
* @param name It's name.
* @param quantity How many?
*/
publi... |
ebdfb80d-ce28-4eaf-88c8-4db897456d27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-19 22:30:29", "repo_name": "Jucida/SWCAMP-", "sub_path": "/Test2Intent/app/src/main/java/org/androidtown/test2intent/SampleList2Activity.java", "file_name": "SampleList2Activity.java", "file_ext": "java", "fil... | https://github.com/Jucida/SWCAMP- | 270 | FILENAME: SampleList2Activity.java | 0.280616 | package org.androidtown.test2intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ListView;
import android.widget.SimpleAdapter;
import java.util.ArrayList;
import java.util.HashMap;
import static android.R.layout.simple_list_item_2;
public class SampleList2Activi... |
b1e0e059-9991-48eb-ab66-b9ea317535fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-23 23:45:52", "repo_name": "m4t3u2/aw-restful-spring", "sub_path": "/src/main/java/br/dev/simon/booksapi/services/AuthorsService.java", "file_name": "AuthorsService.java", "file_ext": "java", "file_size_in_byt... | https://github.com/m4t3u2/aw-restful-spring | 231 | FILENAME: AuthorsService.java | 0.286968 | package br.dev.simon.booksapi.services;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import br.dev.simon.booksapi.domain.Author;
import br.dev.simon.booksapi.repository.AuthorsRepository;
import br.dev.... |
74cb460a-8b10-4a7c-b597-de8768c878eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-01 15:17:41", "repo_name": "alifianif/MessengerSISTER", "sub_path": "/MessengerSISTER/src/Client/TerimaThread.java", "file_name": "TerimaThread.java", "file_ext": "java", "file_size_in_byte": 974, "line_count"... | https://github.com/alifianif/MessengerSISTER | 205 | FILENAME: TerimaThread.java | 0.295027 | /*
* 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 Client;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.Socket;
/**
*
*
*/... |
36937fa6-efd9-4fb3-86e4-d7567c005367 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-05-12T21:33:44", "repo_name": "poojaghatge6/Information-Storage-and-Retrieval", "sub_path": "/Search Engine for Clinical Data/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1217,... | https://github.com/poojaghatge6/Information-Storage-and-Retrieval | 261 | FILENAME: readme.md | 0.261331 | [Click here to watch Demo](https://www.screencast.com/t/gK8oWTB4wQRZ)
[Click here to view presentation](https://github.com/poojaghatge6/Information-Storage-and-Retrieval/blob/master/Search%20Engine%20for%20Clinical%20Data/Search%20Engine%20for%20clinical%20data.pptx)
Background: The goal of the project is to retrieve... |
ffebac5c-a79f-4436-bdf7-34592ca75d9f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-17 03:52:50", "repo_name": "lixingjie123/Employee-Performance-Evaluation-System", "sub_path": "/Employee-Performance-Evaluation-System/src/main/java/com/epes/demo/entity/UserLogin.java", "file_name": "UserLogi... | https://github.com/lixingjie123/Employee-Performance-Evaluation-System | 281 | FILENAME: UserLogin.java | 0.229535 | package com.epes.demo.entity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.... |
2996429e-0ab3-4ace-969a-6517b4e9a8a1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-29 22:02:52", "repo_name": "TickleThePanda/location-history", "sub_path": "/apps/web/src/main/java/uk/co/ticklethepanda/carto/apps/web/config/WorldMapConfig.java", "file_name": "WorldMapConfig.java", "file_ext... | https://github.com/TickleThePanda/location-history | 248 | FILENAME: WorldMapConfig.java | 0.29584 | package uk.co.ticklethepanda.carto.apps.web.config;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import uk.co.ticklethepanda.carto.apps.web.CountryPolygonLoader;
import uk.co.ticklethepanda.ca... |
8943a914-2f80-47f0-918d-e4321a01d162 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-04-07T10:10:41", "repo_name": "Querijn/PoroQueue", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1107, "line_count": 15, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/Querijn/PoroQueue | 253 | FILENAME: README.md | 0.239349 | # PoroQueue
Load up poros without changing your summoner icon.
## What is it?
Ever had that issue where you load into ARAM, URF or Nexus Blitz and thought; "Oh dang, I've forgotten to equip my poro!"? Well no longer, because this application will make sure that don't have to forget anymore. You load up this app, set ... |
83084552-7222-43b5-98ba-a2c7d9337cd2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-12 11:57:15", "repo_name": "Efgar/BackendTest", "sub_path": "/src/main/java/com/efgh/revolut/backendtest/service/UserService.java", "file_name": "UserService.java", "file_ext": "java", "file_size_in_byte": 100... | https://github.com/Efgar/BackendTest | 198 | FILENAME: UserService.java | 0.250913 | package com.efgh.revolut.backendtest.service;
import com.efgh.revolut.backendtest.entities.User;
import com.efgh.revolut.backendtest.entities.UserId;
import com.efgh.revolut.backendtest.repositories.UserRepo;
public class UserService {
private UserRepo userRepo;
public UserService(UserRepo userRepo) {
... |
03048608-647a-4729-88e5-4ab8a4767352 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-09T16:02:25", "repo_name": "Sami-BA/IMT2020", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1132, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id":... | https://github.com/Sami-BA/IMT2020 | 277 | FILENAME: README.md | 0.255344 |
# How to submit your solution
1. Get a GitHub account, if you don't have one already.
2. Clone this repository with the "Fork" button in the top right
corner of the page (if you're not reading this on GitHub, go to
<https://github.com/lballabio/IMT2018> first).
3. Check out your clone to your machine.
4. Enter ... |
5c32fb81-24ca-44f5-8fce-079d85d24b8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-12 20:05:38", "repo_name": "pasha009/Badminton_Score_Tracker", "sub_path": "/app/src/main/java/com/example/ansh/scoretracker/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size... | https://github.com/pasha009/Badminton_Score_Tracker | 172 | FILENAME: MainActivity.java | 0.217338 | package com.example.ansh.scoretracker;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstance... |
3db27531-0ef6-4a37-badf-bc470e1493f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-31 12:10:49", "repo_name": "JaledMC/Learning-Java", "sub_path": "/GuessMovie/src/LetterFinder.java", "file_name": "LetterFinder.java", "file_ext": "java", "file_size_in_byte": 1227, "line_count": 38, "lang": "... | https://github.com/JaledMC/Learning-Java | 248 | FILENAME: LetterFinder.java | 0.283781 | import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;
import java.util.concurrent.ThreadLocalRandom;
public class LetterFinder {
/**Read the file, store all the titles in an array, and select a random one**/
private ArrayList titles= new ArrayList();
... |
4a3ef746-2a5c-4214-b3c6-e4856401ca3c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-04 07:59:52", "repo_name": "ajunu/Phase1FinalProject", "sub_path": "/Phase1Pro/src/FileOperations/searchFile.java", "file_name": "searchFile.java", "file_ext": "java", "file_size_in_byte": 1114, "line_count": ... | https://github.com/ajunu/Phase1FinalProject | 204 | FILENAME: searchFile.java | 0.294215 | package FileOperations;
import java.io.File;
import java.io.IOException;
public class searchFile implements OperationsSearch{
// This method searches for a file in the directory irrespective of case -sensitivity
@Override
public String searchFile(String FolderPath,String FileName) throws IOEx... |
ee66a793-9efd-4d58-a545-c181eba0b911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-12 07:55:16", "repo_name": "PayU-EMEA/paytouch-android", "sub_path": "/sample/full-application/src/main/java/com/payu/android/merchant/MerchantApplication.java", "file_name": "MerchantApplication.java", "file_... | https://github.com/PayU-EMEA/paytouch-android | 210 | FILENAME: MerchantApplication.java | 0.278257 | package com.payu.android.merchant;
import android.app.Application;
import android.content.Context;
import com.payu.android.merchant.injection.AndroidModule;
import com.payu.android.merchant.injection.DaggerSampleComponent;
import com.payu.android.merchant.injection.SampleComponent;
import org.jetbrains.annotations.N... |
9f09cd33-af2d-4127-b478-448378dc6f4b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-21 09:13:04", "repo_name": "happyxiaoha/plalform-gateway", "sub_path": "/gateway-web/src/main/java/cn/dceast/platform/gateway/auth/util/ReadFileReplace.java", "file_name": "ReadFileReplace.java", "file_ext": "... | https://github.com/happyxiaoha/plalform-gateway | 228 | FILENAME: ReadFileReplace.java | 0.273574 | package cn.dceast.platform.gateway.auth.util;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
public class ReadFileReplace {
public static void main(String[] args) {
try {
// re... |
a98345e1-73ab-4604-b98c-a6ef8e54ed45 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-19 22:23:57", "repo_name": "anjeludo/bot-ahorro", "sub_path": "/src/main/java/es/tecnova/telegram/bots/commands/AddUser.java", "file_name": "AddUser.java", "file_ext": "java", "file_size_in_byte": 983, "line_c... | https://github.com/anjeludo/bot-ahorro | 207 | FILENAME: AddUser.java | 0.287768 | package es.tecnova.telegram.bots.commands;
import java.util.List;
import org.telegram.telegrambots.api.methods.send.SendMessage;
import org.telegram.telegrambots.api.objects.Message;
import org.telegram.telegrambots.logging.BotLogger;
import es.tecnova.telegram.ConfigurationHandler;
import es.tecnova.telegr... |
127b596d-22f4-49f5-a4a8-942878303e84 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-30 13:14:42", "repo_name": "techcoderepository/examsimulator", "sub_path": "/src/main/java/com/exam/simulator/model/Company.java", "file_name": "Company.java", "file_ext": "java", "file_size_in_byte": 1213, "l... | https://github.com/techcoderepository/examsimulator | 236 | FILENAME: Company.java | 0.285372 | package com.exam.simulator.model;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.pe... |
87e1b65e-910e-4f03-8e8c-12919d05c85c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-13 17:34:02", "repo_name": "cechiu/Snake", "sub_path": "/MazeApp/MyStack.java", "file_name": "MyStack.java", "file_ext": "java", "file_size_in_byte": 1129, "line_count": 68, "lang": "en", "doc_type": "code", "... | https://github.com/cechiu/Snake | 245 | FILENAME: MyStack.java | 0.292595 | /**
* Neha Kaki
* Creates an arbitrarily large stack
*/
import java.util.*;
public class MyStack<T> implements StackADT<T>
{
//arraylist that is a stack
private ArrayList<T> data;
public MyStack()
{
data = new ArrayList<T>();
}
public void push(T item)
{
data.a... |
7ab11481-a924-4a35-be27-da27fd88753a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-11-17T09:03:32", "repo_name": "kojiyamauchi/typescript-work", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1011, "line_count": 28, "lang": "en", "doc_type": "text... | https://github.com/kojiyamauchi/typescript-work | 267 | FILENAME: README.md | 0.252384 | <h1 align="center">
💉<br>
Work of TypeScript on Project No.***
</h1>
## 🌡 Resource.
```
resource
|
|- /base -> TypeScript.
| |- *.js -> Creates Entry Point for Each View Page.
| |- /Apps -> App**.ts is Choose Required Modules.ts for Each Pages. And Pass to *.js
| |- /Modules -> Various Modules.... |
5c61d607-68d4-4946-bc04-315328468353 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-01-23 16:13:11", "repo_name": "rclark1212/BuildItBigger", "sub_path": "/myshowjokelib/src/main/java/app/com/example/android/myshowjokelib/ShowJoke.java", "file_name": "ShowJoke.java", "file_ext": "java", "file_si... | https://github.com/rclark1212/BuildItBigger | 212 | FILENAME: ShowJoke.java | 0.233706 | package app.com.example.android.myshowjokelib;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
/**
* Created by rclark on 1/9/2016.
* Shows a joke when invoked with an int... |
23830e03-c68c-4e82-88b4-45a8c00f2b13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-03-23T01:37:38", "repo_name": "Mrk-Nguyen/corgibot", "sub_path": "/Slack_Setup.md", "file_name": "Slack_Setup.md", "file_ext": "md", "file_size_in_byte": 1227, "line_count": 32, "lang": "en", "doc_type": "tex... | https://github.com/Mrk-Nguyen/corgibot | 442 | FILENAME: Slack_Setup.md | 0.173288 | # Corgi-Bot Setup on Slack
1. Go to: https://YOURCOMPANYHERE.slack.com/apps/A0F7XDU93-hubot
2. Click the button "Add Configuration"
3. Fill out info here:

Recommend you come up with a clever name such as "jarvis" or "pollo" for your bot.
Here is a good pic of Pollo you can use:
... |
2179860a-cd77-4644-ba8e-4c9e90bac568 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-18 05:58:32", "repo_name": "AFinalStone/HM-Tools", "sub_path": "/library/src/main/java/com/hm/iou/tools/ViewConcurrencyUtil.java", "file_name": "ViewConcurrencyUtil.java", "file_ext": "java", "file_size_in_byt... | https://github.com/AFinalStone/HM-Tools | 287 | FILENAME: ViewConcurrencyUtil.java | 0.285372 | package com.hm.iou.tools;
import android.view.View;
/**
* 防止按钮并发
* Created by sll on 2017/6/8.
*/
public class ViewConcurrencyUtil {
// 两次点击按钮之间的点击间隔不能少于600毫秒
private static final int MIN_CLICK_DELAY_TIME = 600;
private static long lastClickTime;
/**
* 是否是快速点击,所有按钮共用一个
*
* @retur... |
2f0b4e1b-2757-4d76-93a8-648f71432257 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-03 06:58:41", "repo_name": "lkwdzh/SuperAndroid", "sub_path": "/app/src/main/java/com/example/wytings/activity/ActivityScroll.java", "file_name": "ActivityScroll.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/lkwdzh/SuperAndroid | 235 | FILENAME: ActivityScroll.java | 0.29584 | package com.example.wytings.activity;
import android.widget.ScrollView;
import com.example.wytings.R;
import com.example.wytings.utils.MyLog;
import com.example.wytings.widget.SuperScrollView;
/**
* Created by Rex on 2016/3/12.
* https://github.com/wytings
*/
public class ActivityScroll extends BaseActivity {
... |
1e899ba6-e245-4288-9e5b-dbe1dc702267 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-23 16:53:10", "repo_name": "origamigt/modulo_catastro", "sub_path": "/sgm-core/src/main/java/com/origami/sgm/samdoc/composite/SamdocUpload.java", "file_name": "SamdocUpload.java", "file_ext": "java", "file_siz... | https://github.com/origamigt/modulo_catastro | 204 | FILENAME: SamdocUpload.java | 0.218669 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.origami.sgm.samdoc.composite;
import javax.annotation.PostConstruct;
import javax.el.MethodExpression;
import javax.faces.... |
137d1960-dd59-4236-be30-dc772b006dc4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-21 10:42:28", "repo_name": "NaumTinga/PortManagement", "sub_path": "/src/Model/EmpresaDeContacto.java", "file_name": "EmpresaDeContacto.java", "file_ext": "java", "file_size_in_byte": 1215, "line_count": 62, "... | https://github.com/NaumTinga/PortManagement | 256 | FILENAME: EmpresaDeContacto.java | 0.259826 | /*
* 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 Model;
import IContrato.IEmpresaContacto;
import java.io.Serializable;
import javax.persistence.Entity;
import jav... |
18684371-f508-4b33-aa81-2c10ae426620 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-03-08T09:03:33", "repo_name": "ludawei/myPelicanBlog", "sub_path": "/content/posts/一些有趣的api.md", "file_name": "一些有趣的api.md", "file_ext": "md", "file_size_in_byte": 1867, "line_count": 46, "lang": "zh", "doc_t... | https://github.com/ludawei/myPelicanBlog | 537 | FILENAME: 一些有趣的api.md | 0.295027 | Title: 一些有趣的api
Date: 2018-11-19
Tags: api, 工具
Category: 其它
Slug: some-fun-api
#### **1,随机得到一句话**
https://v1.hitokoto.cn
接口文档:[https://hitokoto.cn/api](https://hitokoto.cn/api)
一言网(Hitokoto.cn)创立于2016年,隶属于萌创Team,目前网站主要提供一句话服务。
动漫也好、小说也好、网络也好,不论在哪里,我们总会看到有那么一两个句子能穿透你的心。我们把这些句子汇聚起来,形成一言网络,以传递更多的感动。如果可以,我们希望我们没有停止服务的... |
27682d39-01c6-4e6c-9445-66d241d4cafc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-21 16:41:02", "repo_name": "marektalaj/event-tickets-app", "sub_path": "/tickets-app/src/main/java/org/kupbilet/tickets/domain/ConfirmationModel.java", "file_name": "ConfirmationModel.java", "file_ext": "java"... | https://github.com/marektalaj/event-tickets-app | 236 | FILENAME: ConfirmationModel.java | 0.279828 | package org.kupbilet.tickets.domain;
public class ConfirmationModel {
private User user;
private Ticket[] tickets;
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public Ticket[] getTickets() {
return tickets;
}
... |
53922688-de6c-4cc3-a437-37718f3c170b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-04 10:29:04", "repo_name": "stanislav-pimenov/microservices-samples", "sub_path": "/microservice-2-feign/src/main/java/com/epam/microservice/hello/consumer/HandshakeController.java", "file_name": "HandshakeCon... | https://github.com/stanislav-pimenov/microservices-samples | 219 | FILENAME: HandshakeController.java | 0.273574 | package com.epam.microservice.hello.consumer;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.web.bind.annotation.RequestMapping;... |
3041d4ac-ad57-4186-90c1-2860ccfe2e5b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-30 08:58:43", "repo_name": "dzhukov89/test", "sub_path": "/src/main/java/quenue/TestProducer.java", "file_name": "TestProducer.java", "file_ext": "java", "file_size_in_byte": 1000, "line_count": 35, "lang": "e... | https://github.com/dzhukov89/test | 203 | FILENAME: TestProducer.java | 0.261331 | package quenue;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import java.io.IOException;
/**
* @author abelski
*/
public class TestProducer {
private static final String QUEUE_NAME = "testQ";
public static void main(String[] args)... |
e0ad0a3b-7181-476d-9cc5-fde9c9a5974c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-04 10:38:37", "repo_name": "mrKyleWang/hystrix_demo", "sub_path": "/service/src/test/java/RxJavaTest.java", "file_name": "RxJavaTest.java", "file_ext": "java", "file_size_in_byte": 1235, "line_count": 54, "lan... | https://github.com/mrKyleWang/hystrix_demo | 299 | FILENAME: RxJavaTest.java | 0.273574 | import org.junit.Test;
import rx.Observable;
import rx.Subscriber;
import rx.schedulers.Schedulers;
/**
* @author KyleWang
* @version 1.0
* @date 2019年09月04日
*/
public class RxJavaTest {
@Test
public void test() {
Observable<String> observable = Observable.create((Observable.OnSubscribe<String>) subscriber ... |
3f8a7442-3b77-45ff-9572-50826bc73f3b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-28 22:18:03", "repo_name": "codeShuriken/points", "sub_path": "/src/main/java/com/fetchrewards/points/controller/PointsController.java", "file_name": "PointsController.java", "file_ext": "java", "file_size_in_... | https://github.com/codeShuriken/points | 183 | FILENAME: PointsController.java | 0.279828 | package com.fetchrewards.points.controller;
import com.fetchrewards.points.entities.Payer;
import com.fetchrewards.points.entities.Points;
import com.fetchrewards.points.entities.Transaction;
import com.fetchrewards.points.services.PointsService;
import org.springframework.beans.factory.annotation.Autowired;
import or... |
de50d8f4-1621-4398-8bc6-7008090b8dff | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-26 02:00:47", "repo_name": "PBO-Training/vd_phi", "sub_path": "/Back End/MasterService/src/main/java/com/brycen/hrm/masterservice/ms021001Search/MS021001SearchRequest.java", "file_name": "MS021001SearchRequest... | https://github.com/PBO-Training/vd_phi | 251 | FILENAME: MS021001SearchRequest.java | 0.23793 | package com.brycen.hrm.masterservice.ms021001Search;
import com.brycen.hrm.common.base.BaseRequest;
/**
* [Description]: Modal contain data need to receive from client to search<br>
* [ Remarks ]:<br>
* [Copyright]: Copyright (c) 2020<br>
*
* @author Brycen VietNam Company
* @version 1.0
*/
public class MS021... |
e8454db5-e8a7-4681-8562-5181b250a18b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-31 09:59:57", "repo_name": "jsaguiar/androidMouse", "sub_path": "/MouseBits/MouseBits/src/main/java/com/alltheware/mousebits/Bluetooth.java", "file_name": "Bluetooth.java", "file_ext": "java", "file_size_in_by... | https://github.com/jsaguiar/androidMouse | 198 | FILENAME: Bluetooth.java | 0.213377 | package com.alltheware.mousebits;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.Intent;
import android.view.View;
import java.util.Set;
/**
* Created by joao on 4/10/14.
*/
public class Bluetooth {
private BluetoothAdapter BA;
private Set<Blueto... |
f4a4a960-e034-41cf-8949-c1a2ecab38b3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-26 01:24:06", "repo_name": "MiracleDx/Multi-Threading", "sub_path": "/src/com/multi/threading/threadpermessage/EchoServer.java", "file_name": "EchoServer.java", "file_ext": "java", "file_size_in_byte": 1324, "... | https://github.com/MiracleDx/Multi-Threading | 366 | FILENAME: EchoServer.java | 0.286968 | package com.multi.threading.threadpermessage;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
/**
* EchoServer
* Thread-Per-Message 服务端原封不动的将客户端的请求发送回客户端 OpenJDK轻量级线程->Fiber
* @author Do... |
f33bd7cf-83c0-4de3-9e14-78a060e4a829 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-07 09:49:27", "repo_name": "Baskarr18/InterviewTask", "sub_path": "/app/src/main/java/com/example/root/jsonparsingwithrealm/model/GeoPojo.java", "file_name": "GeoPojo.java", "file_ext": "java", "file_size_in_b... | https://github.com/Baskarr18/InterviewTask | 285 | FILENAME: GeoPojo.java | 0.267408 | package com.example.root.jsonparsingwithrealm.model;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by root on 6/8/17.
*/
public class GeoPojo implements Parcelable {
private String lat;
private String lng;
public GeoPojo(String lat, String lng) {
this.lat = lat;
... |
75292410-db3d-413a-9c6e-64774a23944c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-06 01:21:01", "repo_name": "Douglas-Palte/dougp-socin", "sub_path": "/src/test/java/br/com/dougp/socin/UserTests.java", "file_name": "UserTests.java", "file_ext": "java", "file_size_in_byte": 1045, "line_count... | https://github.com/Douglas-Palte/dougp-socin | 205 | FILENAME: UserTests.java | 0.247987 | package br.com.dougp.socin;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.Spri... |
c1ecce5f-3464-46ba-b4d9-6243ed111e72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 23:45:23", "repo_name": "ahohm/gestionAbscence", "sub_path": "/src/main/java/com/aho/gestionabscence/model/Classe.java", "file_name": "Classe.java", "file_ext": "java", "file_size_in_byte": 1212, "line_coun... | https://github.com/ahohm/gestionAbscence | 271 | FILENAME: Classe.java | 0.262842 | package com.aho.gestionabscence.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import javax.validation.constraints.Size;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@... |
3cf2f0e3-8a20-41fb-adaf-497b3fa7b15a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-07 08:24:14", "repo_name": "xmRobinYu/pattern-factory", "sub_path": "/learn-spring/gp-spring/src/main/java/com/gp/mymvcframework/myspring/aop/aspect/MyAfterThrowingAdviceInterceptor.java", "file_name": "MyAfte... | https://github.com/xmRobinYu/pattern-factory | 220 | FILENAME: MyAfterThrowingAdviceInterceptor.java | 0.249447 | package com.gp.mymvcframework.myspring.aop.aspect;
import com.gp.mymvcframework.myspring.aop.intercept.MyMethodInterceptor;
import com.gp.mymvcframework.myspring.aop.intercept.MyMethodInvocation;
import java.lang.reflect.Method;
public class MyAfterThrowingAdviceInterceptor extends MyAbstractAspectAdvice implements... |
a28f43b2-e6e9-4061-9299-de32b74befaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-11 03:10:29", "repo_name": "Lcicero/testeSquadra", "sub_path": "/src/main/java/com/br/testesquadra/web/bean/util/componentes/CustomResourceHandler.java", "file_name": "CustomResourceHandler.java", "file_ext": ... | https://github.com/Lcicero/testeSquadra | 227 | FILENAME: CustomResourceHandler.java | 0.26971 | package com.br.testesquadra.web.bean.util.componentes;
import javax.faces.application.Resource;
import javax.faces.application.ResourceHandler;
public class CustomResourceHandler extends javax.faces.application.ResourceHandlerWrapper {
private static final String LIBRARY_JS = "js";
private static final String LIBR... |
b57b0028-47ac-4df6-bedf-ed99119ae7c5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-06 13:39:06", "repo_name": "cyberpwnn/ReactPlugin", "sub_path": "/src/main/java/org/cyberpwn/react/controller/Controller.java", "file_name": "Controller.java", "file_ext": "java", "file_size_in_byte": 977, "li... | https://github.com/cyberpwnn/ReactPlugin | 248 | FILENAME: Controller.java | 0.279042 | package org.cyberpwn.react.controller;
import org.bukkit.event.Listener;
import org.cyberpwn.react.React;
import org.cyberpwn.react.util.Dispatcher;
public class Controller implements Controllable, Listener
{
protected final Dispatcher dispatcher;
protected final React react;
public Controller(React react)
{
... |
560d6395-5c36-41b7-ac9a-1d244ef59a02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-12 22:09:56", "repo_name": "VoxleJ/ALControlV3", "sub_path": "/app/src/main/java/com/example/luke/alcontrolv2/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte": 1062... | https://github.com/VoxleJ/ALControlV3 | 185 | FILENAME: MainActivity.java | 0.205615 | package com.example.luke.alcontrolv2;
import android.content.Intent;
import android.content.SharedPreferences;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends AppCompatA... |
e260b999-087a-4d2a-b707-519c5cd5f438 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-13 14:19:00", "repo_name": "fenglin098/ZorkProj.", "sub_path": "/src/Room.java", "file_name": "Room.java", "file_ext": "java", "file_size_in_byte": 1227, "line_count": 61, "lang": "en", "doc_type": "code", "bl... | https://github.com/fenglin098/ZorkProj. | 242 | FILENAME: Room.java | 0.279042 | import java.util.ArrayList;
public class Room {
private int row;
private int col;
private ArrayList<String> items;
private String name;
private ArrayList<String> direction;
public Room() {
}
public Room(ArrayList<String> items, String name, ArrayList<String> direction) {
this.... |
1fdc4e63-828d-4ed8-86e8-4f6af3914ff3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-05 15:26:53", "repo_name": "danish1408/TDD-Framework-TestNG", "sub_path": "/src/test/java/com/freecrm/test/LoginPageTest.java", "file_name": "LoginPageTest.java", "file_ext": "java", "file_size_in_byte": 1053,... | https://github.com/danish1408/TDD-Framework-TestNG | 221 | FILENAME: LoginPageTest.java | 0.267408 | package com.freecrm.test;
import com.freecrm.base.BaseClass;
import com.freecrm.pages.Homepage;
import com.freecrm.pages.LoginPage;
import org.testng.Assert;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import org.testng.asserts.Assertion;
... |
cb52d383-ea5a-4f8e-aba3-15805211dd90 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-13 23:07:39", "repo_name": "Dunateo/Minesweeper", "sub_path": "/src/main/java/com/cir3/minesweeper/domain/Utilisateur.java", "file_name": "Utilisateur.java", "file_ext": "java", "file_size_in_byte": 1214, "lin... | https://github.com/Dunateo/Minesweeper | 261 | FILENAME: Utilisateur.java | 0.250913 | package com.cir3.minesweeper.domain;
import org.hibernate.annotations.OnDelete;
import org.hibernate.annotations.OnDeleteAction;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
@Entity(name = "utilisateur")
public class Utilisateur {
@Id
@Column
@GeneratedValue(strategy = Ge... |
a926bee3-2fd7-444a-b9b7-e76bba426204 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-18 09:08:50", "repo_name": "LucasLinard/Cinephilia", "sub_path": "/app/src/main/java/tech/linard/android/cinephilia/Activities/TrailerAdapter.java", "file_name": "TrailerAdapter.java", "file_ext": "java", "fil... | https://github.com/LucasLinard/Cinephilia | 249 | FILENAME: TrailerAdapter.java | 0.295027 | package tech.linard.android.cinephilia.Activities;
import android.content.Context;
import android.support.annotation.NonNull;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import java.util.ArrayList;
im... |
074e6f71-ded7-43b7-b4b4-bfdbe85db124 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-21 12:21:02", "repo_name": "smfx1314/website", "sub_path": "/src/main/java/com/jiangfx/service/Impl/BannerServiceImpl.java", "file_name": "BannerServiceImpl.java", "file_ext": "java", "file_size_in_byte": 1150... | https://github.com/smfx1314/website | 252 | FILENAME: BannerServiceImpl.java | 0.249447 | package com.jiangfx.service.Impl;
import com.jiangfx.entity.Banner;
import com.jiangfx.mapper.BannerMapper;
import com.jiangfx.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transacti... |
d6994064-e178-4303-a3c5-bda5abbae3ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-11 03:33:13", "repo_name": "himmat1/Android-App-Cultural-Safari", "sub_path": "/Downloads/FinalProjHimmatSinghItp341/app/src/main/java/com/itp341/singh/himmat/finalprojhimmatsinghitp341/PagerAdapter.java", "fi... | https://github.com/himmat1/Android-App-Cultural-Safari | 281 | FILENAME: PagerAdapter.java | 0.283781 | package com.itp341.singh.himmat.finalprojhimmatsinghitp341;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter;
import com.itp341.singh.himmat.finalprojhimmatsinghitp341.AccountInfo.AccountPage;
/**
* Created by himmatsingh ... |
2ab97161-b4db-4edd-b39d-f4fb1a14ebc6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-19 21:23:40", "repo_name": "rafoli/hackathon", "sub_path": "/modules/pdfgen-web/src/main/java/com/liferay/hackathon/users/web/controller/UsersController.java", "file_name": "UsersController.java", "file_ext": ... | https://github.com/rafoli/hackathon | 250 | FILENAME: UsersController.java | 0.284576 | package com.liferay.hackathon.users.web.controller;
import java.util.Collections;
import java.util.Set;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Application;
import javax.ws.rs.core.MediaType;
import org.osgi.service.com... |
0b18c6e3-a186-4c3a-9202-a65400b9731a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-03 08:05:12", "repo_name": "MSN-04/BESTTEAM", "sub_path": "/bestTeam/src/action/BestSellerAction.java", "file_name": "BestSellerAction.java", "file_ext": "java", "file_size_in_byte": 1003, "line_count": 42, "l... | https://github.com/MSN-04/BESTTEAM | 211 | FILENAME: BestSellerAction.java | 0.291787 | package action;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import svc.ShopMainService;
import vo.ActionForward;
import vo.ItemBean;
import vo.PageInfo;
public class BestSellerAction implements Action {
@Override
public A... |
040bd21a-4b9d-4858-9741-a6a3eb11567d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-25 08:54:22", "repo_name": "eriklievaart/q", "sub_path": "/main/java/com/eriklievaart/q/engine/impl/ShellStringBuilder.java", "file_name": "ShellStringBuilder.java", "file_ext": "java", "file_size_in_byte": 12... | https://github.com/eriklievaart/q | 262 | FILENAME: ShellStringBuilder.java | 0.289372 | package com.eriklievaart.q.engine.impl;
import com.eriklievaart.q.engine.parse.ShellArgument;
import com.eriklievaart.toolkit.lang.api.concurrent.Prototype;
import com.eriklievaart.toolkit.lang.api.str.Str;
@Prototype
public class ShellStringBuilder {
private final StringBuilder builder;
public ShellStringBuilder... |
68927ad9-9592-4201-b94e-5e6875098bb7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-26 10:08:48", "repo_name": "developTiger/sy-oa", "sub_path": "/lemon-deanery/src/main/java/com/sunesoft/lemon/deanery/car/domain/ItemProject.java", "file_name": "ItemProject.java", "file_ext": "java", "file_si... | https://github.com/developTiger/sy-oa | 236 | FILENAME: ItemProject.java | 0.243642 | package com.sunesoft.lemon.deanery.car.domain;
import com.sunesoft.lemon.fr.ddd.BaseEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* Created by swb on 2016/12/16.
*/
@Entity
@Table(name = "syy_oa_itemsproject")
public class ItemProject extends BaseEnti... |
4eef3128-df82-4067-82ef-1488e0c53d72 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-04 22:05:17", "repo_name": "sharee-app/veverka-backend", "sub_path": "/src/main/java/cz/sharee/backend/domain/tests/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 1106, "line_co... | https://github.com/sharee-app/veverka-backend | 240 | FILENAME: Test.java | 0.272799 | package cz.sharee.backend.domain.tests;
import cz.sharee.backend.domain.TestStatus;
import cz.sharee.backend.domain.enumeration.Subjects;
import cz.sharee.backend.domain.enumeration.TestType;
import cz.sharee.backend.domain.profile.User;
import lombok.Data;
import javax.persistence.*;
import java.util.Set;
@Entity
@... |
a7adb309-141d-491d-8c25-cae30d703544 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-21 16:11:57", "repo_name": "pandrioli/moviews", "sub_path": "/app/src/main/java/digitalhouse/android/a0317moacns1c_02/Model/Media/ImageContainer.java", "file_name": "ImageContainer.java", "file_ext": "java", "... | https://github.com/pandrioli/moviews | 260 | FILENAME: ImageContainer.java | 0.253861 | package digitalhouse.android.a0317moacns1c_02.Model.Media;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import digitalhouse.android.a0317moacns1c_02.Mappers.ImageMapper;
/**
* Created by Pablo on 25/05/2017.
*/
public class ImageContainer implements Serializable {
private In... |
0a1193b4-6fa9-4eb3-a439-25873cbc773f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-11-13 04:53:03", "repo_name": "nuclearg/nagisa", "sub_path": "/nagisa-lang/src/main/java/com/github/nuclearg/nagisa/lang/lexer/LexToken.java", "file_name": "LexToken.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/nuclearg/nagisa | 273 | FILENAME: LexToken.java | 0.277473 | package com.github.nuclearg.nagisa.lang.lexer;
import com.github.nuclearg.nagisa.lang.lexer.NagisaLexDefinition.NagisaLexTokenType;
import com.github.nuclearg.nagisa.lang.util.Range;
/**
* 词法元素
*
* @author enji.lj
*
*/
public final class LexToken {
/**
* 词法元素类型
*/
private final LexTokenType ty... |
a7eaaf13-0251-405e-84d8-17ddc4312f79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-02 16:46:30", "repo_name": "abhilashguha91/XMLtoCSVGeneratorProject", "sub_path": "/XMLtoCSVGeneratorProject/src/com/test/to/GenericXMLTO.java", "file_name": "GenericXMLTO.java", "file_ext": "java", "file_size... | https://github.com/abhilashguha91/XMLtoCSVGeneratorProject | 265 | FILENAME: GenericXMLTO.java | 0.285372 | package com.test.to;
import java.util.ArrayList;
import java.util.List;
/**
* The Transition Object contains the generic tree of the
* XML key values.
*
* @author abguha
* @version 1.0
* @since 2017-02-16
*/
public class GenericXMLTO {
private String key;
private String value;
private String... |
8a1d087e-55eb-4889-92ee-b17b4f86327a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-01 13:46:57", "repo_name": "luialbeto/individualSeleniumCucumber", "sub_path": "/src/test/java/io/cucumber/luiz/pages/SitePageElementsMap.java", "file_name": "SitePageElementsMap.java", "file_ext": "java", "fi... | https://github.com/luialbeto/individualSeleniumCucumber | 214 | FILENAME: SitePageElementsMap.java | 0.245085 | package io.cucumber.luiz.pages;
import static org.junit.Assert.assertTrue;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.Select;
public class SitePageElementsMap {
public static WebDriver browser;
public voi... |
e3f4fda1-4caa-4c7b-8802-87b70565426e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-08-20 16:36:08", "repo_name": "jonahseguin/drink", "sub_path": "/src/main/java/com/jonahseguin/drink/provider/spigot/CommandSenderProvider.java", "file_name": "CommandSenderProvider.java", "file_ext": "java", "fi... | https://github.com/jonahseguin/drink | 257 | FILENAME: CommandSenderProvider.java | 0.255344 | package com.jonahseguin.drink.provider.spigot;
import com.jonahseguin.drink.argument.CommandArg;
import com.jonahseguin.drink.exception.CommandExitMessage;
import com.jonahseguin.drink.parametric.DrinkProvider;
import org.bukkit.command.CommandSender;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;... |
d710f11e-9f70-40c2-b20f-8c9fc487f759 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-11-13T12:40:53", "repo_name": "gitdoit/learning-springboot", "sub_path": "/spring-websocket/src/main/java/org/seefly/springwebsocket/interceptor/HandshakeInterceptor.java", "file_name": "HandshakeInterceptor.java... | https://github.com/gitdoit/learning-springboot | 231 | FILENAME: HandshakeInterceptor.java | 0.229535 | package org.seefly.springwebsocket.interceptor;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.http.server.ServletServerHttpRequest;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.We... |
046eaeeb-f81f-47f9-9d59-71e0666963bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-15 15:10:19", "repo_name": "santiagoalar/appraisalReport", "sub_path": "/src/main/java/org/example/domain/appraiser/commands/Create_appraiser.java", "file_name": "Create_appraiser.java", "file_ext": "java", "f... | https://github.com/santiagoalar/appraisalReport | 229 | FILENAME: Create_appraiser.java | 0.264358 | package org.example.domain.appraiser.commands;
import co.com.sofka.domain.generic.Command;
import org.example.domain.appraiser.values.Appraiser_id;
import org.example.generic_values.Email;
import org.example.generic_values.Full_name;
import org.example.generic_values.Phone_number;
public class Create_appraiser implem... |
56716a35-7cb0-48fd-8b8b-8d2ac8271b16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-11 19:56:44", "repo_name": "bdeasy/commerce-web-android", "sub_path": "/app/src/androidTest/java/com/us/masterpass/referenceApp/utils/Screenshot.java", "file_name": "Screenshot.java", "file_ext": "java", "file... | https://github.com/bdeasy/commerce-web-android | 186 | FILENAME: Screenshot.java | 0.247987 | package com.us.masterpass.referenceApp.utils;
import android.app.Activity;
import android.support.test.InstrumentationRegistry;
import android.support.test.uiautomator.UiDevice;
import com.squareup.spoon.Spoon;
import java.io.File;
public class Screenshot {
public static void capture(String title){
Ac... |
297bba0e-b92a-4259-9071-e0fdd39c2d6f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-25 08:04:27", "repo_name": "Divya0317/Divya", "sub_path": "/src/test/java/resources/stepdefination/project1.java", "file_name": "project1.java", "file_ext": "java", "file_size_in_byte": 1232, "line_count": 57,... | https://github.com/Divya0317/Divya | 269 | FILENAME: project1.java | 0.26588 | package resources.stepdefination;
import cucumber.api.java.en.*;
public class project1 {
@Given("^user is having valid url$")
public void user_is_having_valid_url() {
// Write code here that turns the phrase above into concrete actions
System.out.println("success");
String str= null;
... |
eddad185-9f5e-4d72-9a13-b1688c7e532e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-15 08:44:01", "repo_name": "WRGZTTT/Demo1", "sub_path": "/app/src/main/java/com/example/wegz/demo1/TitleLayout.java", "file_name": "TitleLayout.java", "file_ext": "java", "file_size_in_byte": 1130, "line_count... | https://github.com/WRGZTTT/Demo1 | 198 | FILENAME: TitleLayout.java | 0.214691 | package com.example.wegz.demo1;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
public class TitleLayout extends LinearLayout {
public TitleLayout(Context context, Attr... |
c459357c-c899-4ab4-92eb-febd26ea3822 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-02 17:37:35", "repo_name": "lesinsa/horn-soft-pub", "sub_path": "/commons/http-logger/http-logger/src/main/java/com/horn/common/logging/config/HttpLogConfiguration.java", "file_name": "HttpLogConfiguration.jav... | https://github.com/lesinsa/horn-soft-pub | 261 | FILENAME: HttpLogConfiguration.java | 0.245085 | package com.horn.common.logging.config;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
/**
* @author by lesinsa on 26.09.... |
3a439a7a-d4dc-46ab-b84c-62de54a91c27 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-02 08:52:54", "repo_name": "fiveqiao/pinyougou", "sub_path": "/pinyougou-page-service/src/main/java/com/pinyougou/page/service/impl/PageDeleteListener.java", "file_name": "PageDeleteListener.java", "file_ext":... | https://github.com/fiveqiao/pinyougou | 193 | FILENAME: PageDeleteListener.java | 0.229535 | package com.pinyougou.page.service.impl;
import com.pinyougou.page.service.ItemPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.Object... |
a15ae8e9-6d95-483e-871c-9c34a2f6a437 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-07-27 01:50:05", "repo_name": "BobCN2017/CNiaoShop", "sub_path": "/src/main/java/com/ff/pp/cniao/fragment/BaseFragment.java", "file_name": "BaseFragment.java", "file_ext": "java", "file_size_in_byte": 1214, "line... | https://github.com/BobCN2017/CNiaoShop | 216 | FILENAME: BaseFragment.java | 0.250913 | package com.ff.pp.cniao.fragment;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;
import android.text.TextUtils;
import com.ff.pp.cniao.Application.MyApplication;
import com.ff.pp.cniao.LoginActivity;
/**
* Created by PP on 2017/4/1... |
cf82cb6a-f8a2-448c-b0b5-6afd0734b0d1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-16 04:09:43", "repo_name": "csuczh/GouDaForAndroid", "sub_path": "/GouDaForAndroid/dg/src/main/java/com/dg/app/ui/CollectionActivity.java", "file_name": "CollectionActivity.java", "file_ext": "java", "file_siz... | https://github.com/csuczh/GouDaForAndroid | 215 | FILENAME: CollectionActivity.java | 0.216012 | package com.dg.app.ui;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import com.dg.app.AppManager;
import com.dg.app.R;
import com.dg.app.fragment.CollectionFragment;
import com.umeng.message.... |
fcde003c-46f8-40c8-99ec-255ebf8780be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-01 05:12:16", "repo_name": "wphillips6/SAD_Project4", "sub_path": "/SAD_Project4/src/proj4/common/TeacherAssistant.java", "file_name": "TeacherAssistant.java", "file_ext": "java", "file_size_in_byte": 1092, "l... | https://github.com/wphillips6/SAD_Project4 | 285 | FILENAME: TeacherAssistant.java | 0.267408 | package proj4.common;
import java.util.List;
public class TeacherAssistant {
private String name;
private String taID;
private int availNextTerm;
private List<Course> teachableCourses;
private String strComp;
public TeacherAssistant() {
this.taID = "";
this.name = "";
this.availNextTerm = 0;
this.str... |
ce22697d-5931-434c-90ea-3f39e302b8af | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-03-25 10:28:48", "repo_name": "salesoptimizer/release-notes", "sub_path": "/src/main/java/models/ReleaseNote.java", "file_name": "ReleaseNote.java", "file_ext": "java", "file_size_in_byte": 998, "line_count": 53,... | https://github.com/salesoptimizer/release-notes | 227 | FILENAME: ReleaseNote.java | 0.23092 | package models;
public class ReleaseNote {
private String ticketId;
private String ticketDate;
private String packVersion;
private String releaseNotes;
public ReleaseNote() {
}
public ReleaseNote(String ticketId, String ticketDate, String packVersion,
String releaseNotes) {
this.ticketId = ticketId;
t... |
39734315-1502-4196-891b-905b8d51842f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 10:00:47", "repo_name": "dengbin19910916/order-puller", "sub_path": "/order-puller-core/src/main/java/com/willowleaf/orderpull/core/job/JdbcTimeInterval.java", "file_name": "JdbcTimeInterval.java", "file_ex... | https://github.com/dengbin19910916/order-puller | 222 | FILENAME: JdbcTimeInterval.java | 0.289372 | package com.willowleaf.orderpull.core.job;
import com.willowleaf.orderpull.core.TimeInterval;
import com.willowleaf.orderpull.core.data.OperationRepository;
import com.willowleaf.orderpull.core.model.OperationLog;
import com.willowleaf.orderpull.core.model.Order;
import java.time.LocalDateTime;
import java.util.Optio... |
b4395565-d616-4b6d-ba2b-6792d5bfaeee | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-17T11:52:11", "repo_name": "DasserBasyouni/MyAndroidCoursesApps", "sub_path": "/app/src/main/java/unitedapps/com/googleandroidcourses/Courses/DevelopingAndroidApps/PopularMovies_V2/pm2_Utils.java", "file_name"... | https://github.com/DasserBasyouni/MyAndroidCoursesApps | 257 | FILENAME: pm2_Utils.java | 0.295027 | package unitedapps.com.googleandroidcourses.Courses.DevelopingAndroidApps.PopularMovies_V2;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
/**
Created by DB-Project on 8/16/2017.
*/
class pm2_Utils {
public static String strSeparator = "__,__";
sta... |
91f4495b-2cbf-4aba-afe7-c5cf78b900e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-11-21T20:03:59", "repo_name": "mattiaspalmgren/snowily", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1076, "line_count": 19, "lang": "en", "doc_type": "text", "b... | https://github.com/mattiaspalmgren/snowily | 246 | FILENAME: README.md | 0.255344 | # snowily
A prototype/proof of concept of creative ski map. By combining height, location, weather and direction data, the applications tries to predict the the snow conditions at certain areas in the resort and from that prediction create a ski map, that colors the slopes according to snow conditions rather than diff... |
13b7d27e-c78e-454d-893d-407dfe3e9573 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-05 18:15:18", "repo_name": "Rofelmau/FussballView", "sub_path": "/src/Model/Match.java", "file_name": "Match.java", "file_ext": "java", "file_size_in_byte": 1082, "line_count": 47, "lang": "en", "doc_type": "c... | https://github.com/Rofelmau/FussballView | 247 | FILENAME: Match.java | 0.294215 | package Model;
import java.time.LocalDateTime;
public class Match {
private int matchId;
private boolean isFinished;
private Team teamHome;
private Team teamGuest;
private int goalTeam1;
private int goalTeam2;
private LocalDateTime dateOfMatch;
public Match(int matchId, boolean isFini... |
4124a58e-45e1-4ba2-bff2-760f3aa8fcd5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-05T18:42:16", "repo_name": "evpozz/CIM540", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1214, "line_count": 20, "lang": "en", "doc_type": "text", "blob_id": "... | https://github.com/evpozz/CIM540 | 247 | FILENAME: README.md | 0.221351 | # CIM540
## Elizabeth Pozzuoli
Dedicated, creative and hardworking.
These skills have allowed me to excel in my studies at the University of Miami School of Communication as a public relations major and marketing and interactive media minor.
In high school, I held numerous leadership positions including in the arts... |
52109342-bc6d-4be6-b9f5-b219e2324287 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-19 13:48:55", "repo_name": "RashidulHasanRatul/Selenium-20-days", "sub_path": "/Basic/DynamicXpath.java", "file_name": "DynamicXpath.java", "file_ext": "java", "file_size_in_byte": 1229, "line_count": 46, "lan... | https://github.com/RashidulHasanRatul/Selenium-20-days | 242 | FILENAME: DynamicXpath.java | 0.287768 | package Testing;
import io.github.bonigarcia.wdm.WebDriverManager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
public class DynamicXpath {
public static void main(String[] args) {
... |
8003bc13-0c40-45ee-a4e8-835d69d42600 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-08 04:06:40", "repo_name": "austinwilson1224/CSC131project", "sub_path": "/CSC131project/src/server/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 967, "line_count": 56, "la... | https://github.com/austinwilson1224/CSC131project | 244 | FILENAME: Server.java | 0.27513 | package server;
public class Server {
/**
* this is where we need to code the listener method
*
* there will be an instance of an object of maybe a user
* when the person loses their device they need to notify the server
* that the device is gone
* the listener will listen for when this call goes out a... |
b75d80bb-622e-4be4-bba0-adb414a43e69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-03T12:38:37", "repo_name": "PublicInMotionGmbH/ui-kit", "sub_path": "/packages/device-swap/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1100, "line_count": 33, "lang": "en",... | https://github.com/PublicInMotionGmbH/ui-kit | 255 | FILENAME: README.md | 0.249447 | # Talixo Device Swap
UI Component which represents Device Swap
## How to install
Package is available as `@talixo/mobile-swap` in NPM registry, so you can use it in your project
using `npm install @talixo/mobile-swap --save` or `yarn add @talixo/mobile-swap`.
## Requirements
Your package should additionally have s... |
e3272bf8-b13c-4bce-940b-e299018ebe9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-01-30T19:12:20", "repo_name": "ericpugh/drupal-relevant-content", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1103, "line_count": 28, "lang": "en", "doc_type": "... | https://github.com/ericpugh/drupal-relevant-content | 230 | FILENAME: README.md | 0.221351 | Relevant Content
============
Overview
------------
A Drupal 8 module that creates a block of other relevant content based on the number of like taxonomy terms the content
references.[The project page on Drupal.org](https://www.drupal.org/project/relevant_content)
Dependencies
-----------
* Taxonomy
* Block
Installat... |
930b3abc-1e6a-4ad3-8e79-de2372ad08e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-07 17:10:03", "repo_name": "krasus1966/FirstProject", "sub_path": "/src/cn/cx/xm/common/SqlHelper.java", "file_name": "SqlHelper.java", "file_ext": "java", "file_size_in_byte": 1148, "line_count": 35, "lang": ... | https://github.com/krasus1966/FirstProject | 198 | FILENAME: SqlHelper.java | 0.242206 | package cn.cx.xm.common;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Properties;
public class SqlHelper {
static{
try {
Class.forName("com.mysql.cj.jdbc.Driver");
} cat... |
388c822c-6be7-4b15-86f2-76ed074e3e68 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-07 13:37:48", "repo_name": "RuofeiSun/gmall0101", "sub_path": "/gmall-manage-service/src/main/java/com/sunruofei/gmall/manage/impl/PmsProductImageServiceImpl.java", "file_name": "PmsProductImageServiceImpl.jav... | https://github.com/RuofeiSun/gmall0101 | 255 | FILENAME: PmsProductImageServiceImpl.java | 0.259826 | package com.sunruofei.gmall.manage.impl;
import com.alibaba.dubbo.config.annotation.Service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sunruofei.gmall.bean.PmsProductImage;
import com.sunruofei.gmall.manage.m... |
91198bc3-cf5d-48f7-9d74-322f0551cf81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-10 08:57:31", "repo_name": "xushaohan/MesPad", "sub_path": "/app/src/main/java/com/eeka/mespad/utils/FormatUtil.java", "file_name": "FormatUtil.java", "file_ext": "java", "file_size_in_byte": 1067, "line_count... | https://github.com/xushaohan/MesPad | 245 | FILENAME: FormatUtil.java | 0.26588 | package com.eeka.mespad.utils;
import android.text.TextUtils;
import com.eeka.mespad.manager.Logger;
/**
* 数据转换类,做转换异常处理
* Created by Lenovo on 2017/8/31.
*/
public class FormatUtil {
/**
* 字符串转float,以小数点开始或结尾时补0计算
*/
public static float strToFloat(String str) {
if (TextUtils.isEmpty(s... |
af2e0bc1-738a-49b0-98fb-aee18da5f318 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-18 01:51:45", "repo_name": "zhouyang0105/tech_selenium", "sub_path": "/src/test/java/com/hogwarts/testcase/BaseTest.java", "file_name": "BaseTest.java", "file_ext": "java", "file_size_in_byte": 1169, "line_cou... | https://github.com/zhouyang0105/tech_selenium | 241 | FILENAME: BaseTest.java | 0.262842 | package com.hogwarts.testcase;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.safari.Safa... |
ee0269f8-40d6-4b25-bddd-5eefc8a0194c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-15 11:28:09", "repo_name": "maxblumental/CleanMVPBoilerplate", "sub_path": "/app/src/main/java/com/maxblumental/cleanboilerplate/view/adapter/SearchTabsAdapter.java", "file_name": "SearchTabsAdapter.java", "fi... | https://github.com/maxblumental/CleanMVPBoilerplate | 240 | FILENAME: SearchTabsAdapter.java | 0.283781 | package com.maxblumental.cleanboilerplate.view.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.maxblumental.cleanboilerplate.view.fragment.tabs.PageOneFragment;
import com.maxblumental.cleanboilerplate.view.... |
843cabaa-8abd-4e0e-9128-26b3de63a61f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-11-01T10:11:28", "repo_name": "brettkirk/TripTracks", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1230, "line_count": 47, "lang": "en", "doc_type": "text", "blob... | https://github.com/brettkirk/TripTracks | 344 | FILENAME: README.md | 0.276691 | # TripTracks
### Description
This is a web app that produces playlists based on your location. The goal of the app is to create playlists that contain lyrics with reference to the places you are near. It will assign importance of areas based on population and distance from that city. The idea is to make an app that wi... |
27b89fa9-e78b-47ed-ab29-cd212c75e820 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-07 16:01:14", "repo_name": "pc0531/xiaoming-api", "sub_path": "/XiaoMing-domain/src/main/java/com/xiaoming/enums/Constants.java", "file_name": "Constants.java", "file_ext": "java", "file_size_in_byte": 1107, "... | https://github.com/pc0531/xiaoming-api | 275 | FILENAME: Constants.java | 0.281406 | package com.xiaoming.enums;
public interface Constants {
String LOGIN_TOKEN = "Authorization";
interface ExpTime {
/**
* 用户登录超时时间
*/
int UserExpTime = 10 * 24 * 60 * 60 * 1000;
/**
* 判断超时时间
*/
int JudgeExpTime = 20 * 60 * 1000;... |
62777bf0-8b3f-4890-8630-caf7680a62e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-08 04:48:56", "repo_name": "jonathanaschultz/EventMap", "sub_path": "/app/src/main/java/edu/ucla/cs/eventmap/Comment.java", "file_name": "Comment.java", "file_ext": "java", "file_size_in_byte": 992, "line_coun... | https://github.com/jonathanaschultz/EventMap | 210 | FILENAME: Comment.java | 0.253861 | package edu.ucla.cs.eventmap;
import java.io.Serializable;
public class Comment implements Serializable {
public String event;
public String owner;
public String username;
public String comment;
public String time;
public long hash; //Comment creation time in milliseconds is the hash, odds of ... |
988fb339-0c18-4f32-aec5-c0ce4fe64446 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-18 13:26:14", "repo_name": "RoverEast/E_task", "sub_path": "/elevator_task/src/main/java/com/epam/TransportationTask.java", "file_name": "TransportationTask.java", "file_ext": "java", "file_size_in_byte": 1070... | https://github.com/RoverEast/E_task | 196 | FILENAME: TransportationTask.java | 0.243642 | package com.epam;
public class TransportationTask implements Runnable {
private Passenger passenger;
private volatile boolean complete;
public TransportationTask(Passenger passenger) {
this.passenger = passenger;
}
public synchronized void run() {
passenger.setPassengerState(Pas... |
71d935a6-4360-4b19-8e16-d5f908a4fb7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-10 05:28:23", "repo_name": "AmmarRabie/smart-lecture", "sub_path": "/app/src/main/java/cmp/sem/team8/smarlecture/home/newsfeed/NewsFeedActivity.java", "file_name": "NewsFeedActivity.java", "file_ext": "java", ... | https://github.com/AmmarRabie/smart-lecture | 216 | FILENAME: NewsFeedActivity.java | 0.259826 | package cmp.sem.team8.smarlecture.home.newsfeed;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import cmp.sem.team8.smarlecture.R;
import cmp.sem.team8.smarlecture.common.auth.firebase.FirebaseAuthService;
import cmp.sem.team8.smarlecture.common.data.firebase.FirebaseRepository;
import cm... |
cefc1d02-461c-4e8e-9d31-8045f22b3ae0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-01-19T17:58:30", "repo_name": "RedKenrok/Web-FittingIn", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 14, "lang": "en", "doc_type": "text", "bl... | https://github.com/RedKenrok/Web-FittingIn | 229 | FILENAME: README.md | 0.290981 | # Fitting in
Fitting in is a two person co-operative game where one player takes control of the phone, the other stands in front of the back facing camera. The phone holder then has to tell -not show- the other how to has to pose themself based on the instruction on screen. The better you do the more points you will e... |
4540aa11-e75b-4e41-9b77-ca7e956f996a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-22 07:45:46", "repo_name": "JoelSwa/getAppAndExercise-backend", "sub_path": "/src/main/java/se/joel/coredev/backend/repository/dto/WalkDTO.java", "file_name": "WalkDTO.java", "file_ext": "java", "file_size_in_... | https://github.com/JoelSwa/getAppAndExercise-backend | 247 | FILENAME: WalkDTO.java | 0.240775 | package se.joel.coredev.backend.repository.dto;
import java.util.Collection;
public class WalkDTO {
private Long id;
private String username;
private String name;
private Collection<GeofenceDTO> geofenceCollection;
public WalkDTO(){}
public WalkDTO(String username, String name, Collection<Ge... |
d37e007d-ea4e-4bb7-9602-a9252f175895 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-19 07:28:47", "repo_name": "469412882/DroidKit", "sub_path": "/imagemodule/src/main/java/com/yofish/imagemodule/ImgLoaderDelegate.java", "file_name": "ImgLoaderDelegate.java", "file_ext": "java", "file_size_in... | https://github.com/469412882/DroidKit | 241 | FILENAME: ImgLoaderDelegate.java | 0.272799 | package com.yofish.imagemodule;
import com.yofish.imagemodule.strategy.GlideStrategy;
import com.yofish.imagemodule.strategy.IImgLoaderStrategy;
/**
* 图片加载委托类
*
* Created by hch on 2017/8/1.
*/
public class ImgLoaderDelegate {
private IImgLoaderStrategy iImgLoaderStrategy;
/**
* 默认使用Glide策略加载图片
... |
d11d8310-d326-4af5-b6b3-13a2cc9f8023 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-25 08:01:21", "repo_name": "q1113225201/java-learn", "sub_path": "/src/main/java/com/sjl/learn/service/impl/UserTypeServiceImpl.java", "file_name": "UserTypeServiceImpl.java", "file_ext": "java", "file_size_in... | https://github.com/q1113225201/java-learn | 225 | FILENAME: UserTypeServiceImpl.java | 0.253861 | package com.sjl.learn.service.impl;
import com.sjl.learn.dao.base.DbUserTypeMapper;
import com.sjl.learn.domain.base.DbUserType;
import com.sjl.learn.service.UserTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
... |
064a7b81-2f44-4283-bf22-18c7e5cc2837 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-11 07:03:43", "repo_name": "Xiaoben336/RecyclerViewDemo", "sub_path": "/app/src/main/java/com/example/zjf/recyclerviewdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/Xiaoben336/RecyclerViewDemo | 187 | FILENAME: MainActivity.java | 0.23092 | package com.example.zjf.recyclerviewdemo;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
public class MainActivity extends Activity implements View.OnClickListener{
private Bu... |
e22059b3-da90-49e0-9dca-7762775c7657 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-06 11:52:01", "repo_name": "MaeveQIU/twu-biblioteca-shiqiu", "sub_path": "/src/com/twu/biblioteca/entity/Movie.java", "file_name": "Movie.java", "file_ext": "java", "file_size_in_byte": 1002, "line_count": 45,... | https://github.com/MaeveQIU/twu-biblioteca-shiqiu | 239 | FILENAME: Movie.java | 0.252384 | package com.twu.biblioteca.entity;
import java.util.Objects;
public class Movie implements Item {
private String name;
private int year;
private String director;
private Double rating;
public Movie(String name, int year, String director, Double rating) {
this.name = name;
this.year = year;
thi... |
e057ef4f-fdc0-475a-b724-e18bdc78b8ec | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-24 15:08:51", "repo_name": "luckygy618/btp400_Lab_Simple-Chatroom", "sub_path": "/Chatroom/src/lab4/chat/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1213, "line_count": 67, "... | https://github.com/luckygy618/btp400_Lab_Simple-Chatroom | 354 | FILENAME: User.java | 0.291787 | /**********************************************
Lab 4
Course:<BTP 400> - Semester 4
Last Name:<Cao>
First Name:<GuoYu>
ID:<061341145>
Section:<NAA>
This assignment represents my own work in accordance with Seneca Academic Policy.
Signature GuoYu Cao
Date:<2021-April-09>
**********************************************/
... |
78a4e35f-ea86-4c42-b5da-b4527aa5537c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-24 01:44:47", "repo_name": "spectrumthunderbots/team7167_2019", "sub_path": "/src/main/java/frc/robot/subsystems/Sub_Lift.java", "file_name": "Sub_Lift.java", "file_ext": "java", "file_size_in_byte": 741, "lin... | https://github.com/spectrumthunderbots/team7167_2019 | 258 | FILENAME: Sub_Lift.java | 0.286968 | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
3e3cc73f-0fb7-4985-976a-33ffbafb1e13 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-24 14:33:25", "repo_name": "kopa4al2/simple-blog", "sub_path": "/src/main/java/com/example/website/models/entities/Role.java", "file_name": "Role.java", "file_ext": "java", "file_size_in_byte": 1213, "line_cou... | https://github.com/kopa4al2/simple-blog | 264 | FILENAME: Role.java | 0.288569 | package com.example.website.models.entities;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.HashSet;
import java.util.Set;
@Entity
@Table(name = "roles")
public class Role {
@Id
@Column(name="id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.