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 |
|---|---|---|---|---|---|---|
c01a1334-fe47-4c74-a1d7-b5ba7cc38cc3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-07-04 03:44:38", "repo_name": "atendrasuri/JavaDSAlgo", "sub_path": "/src/main/java/com/suri/java/concurrency/executorservice/customthreadpool/LinkedBlockingQueueCustom.java", "file_name": "LinkedBlockingQueueCus... | https://github.com/atendrasuri/JavaDSAlgo | 258 | FILENAME: LinkedBlockingQueueCustom.java | 0.271252 | package com.suri.java.concurrency.executorservice.customthreadpool;
import java.util.LinkedList;
import java.util.List;
/**
* @Author: atekumar
* @Current-Version: 1.0.0
* @Creation-Date: 05/11/19
* @Description: (Overwrite)
* 1. Please describe the business usage of the class.
* 2. Please describe the technica... |
af283bea-ce97-49f8-8fda-2b4ea4fd0d2f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-28 21:44:49", "repo_name": "Eduardojvr/lojaGeekZone", "sub_path": "/geekZone/src/main/java/com/geekzone/dao/ConnectionManager.java", "file_name": "ConnectionManager.java", "file_ext": "java", "file_size_in_byt... | https://github.com/Eduardojvr/lojaGeekZone | 226 | FILENAME: ConnectionManager.java | 0.268941 |
package com.geekzone.dao;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.DriverManager;
public class ConnectionManager implements Serializable {
private static final long serialVersionUID = 1L;
private static final String DB_DRIVER = "com.mysql.cj.jdbc.Driver";
/*
* * ######## BANCO L... |
32be0344-fd85-40e5-a390-3d2efd08c80b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-03-19T07:54:53", "repo_name": "berc/nodejs-angular-starterkit", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1016, "line_count": 48, "lang": "en", "doc_type": "te... | https://github.com/berc/nodejs-angular-starterkit | 263 | FILENAME: README.md | 0.243642 | download NodeJS + Angular starter kit
```bash
git clone https://github.com/berc/nodejs-angular-starterkit.git
```
cd to the starter kit directory
```bash
cd nodejs-angular-starterkit
```
install all dependencies
```bash
npm install
```
cd to the server directory
```bash
cd server
```
install node with monitoring of sou... |
dd6c324d-47c3-4456-9a37-75959e3a2a1b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-18 12:58:13", "repo_name": "shaikhistekhar/Maven_Omlete", "sub_path": "/src/main/java/com/ebay/pages/ProductDescription.java", "file_name": "ProductDescription.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/shaikhistekhar/Maven_Omlete | 217 | FILENAME: ProductDescription.java | 0.272799 | package com.ebay.pages;
import java.util.Iterator;
import java.util.Set;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class ProductDescription {
WebDriver driver;
@FindBy(id = "subCat... |
bb99d3f3-1ff0-40d8-bde5-40dc6db1177f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-23 11:41:21", "repo_name": "kotlarchik/AutosalonBik", "sub_path": "/src/main/java/kotlarchik/model/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 1056, "line_count": 49,... | https://github.com/kotlarchik/AutosalonBik | 224 | FILENAME: Employee.java | 0.278257 | package kotlarchik.model;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.*;
import java.util.Set;
@Entity
@Getter
@Setter
@NoArgsConstructor
@Table
public class Employee {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int id;
@... |
20bdf581-3d2d-43fb-9635-6e268cea33c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-24 12:05:20", "repo_name": "lolianer/javapro", "sub_path": "/src/com/neuedu/bean/Test2.java", "file_name": "Test2.java", "file_ext": "java", "file_size_in_byte": 1034, "line_count": 37, "lang": "en", "doc_type... | https://github.com/lolianer/javapro | 222 | FILENAME: Test2.java | 0.27513 | package com.neuedu.bean;
import java.io.*;
public class Test2 {
public static void main(String[] args) {
File from = new File("E:\\qq音乐\\QQMusic_YQQMusicHallList.exe");
File parent = new File("E:/a");
File to = new File("E:/a/QQMusic_YQQMusicHallList.exe");
if (!parent.exists())
... |
696e4245-2472-4b23-a446-11ab5fa73c1e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-08 16:10:04", "repo_name": "Kinuk97/PickMI", "sub_path": "/src/controller/Board/CompBoard/CompBoardWriteController.java", "file_name": "CompBoardWriteController.java", "file_ext": "java", "file_size_in_byte": ... | https://github.com/Kinuk97/PickMI | 194 | FILENAME: CompBoardWriteController.java | 0.287768 | package controller.Board.CompBoard;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import serivce.face.CompBoardService;
... |
b0c4841b-f671-42bc-b685-cfb429bc8f61 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-16 09:11:03", "repo_name": "WPZC/nydp", "sub_path": "/src/main/java/com/example/nydp/service/impl/TerminalServiceImpl.java", "file_name": "TerminalServiceImpl.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/WPZC/nydp | 238 | FILENAME: TerminalServiceImpl.java | 0.286169 | package com.example.nydp.service.impl;
import com.example.nydp.dao.TerminalInfoDao;
import com.example.nydp.entity.TerminalInfo;
import com.example.nydp.mapper.TerminalInfoMapper;
import com.example.nydp.service.TerminalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... |
b84c46ab-22cc-48d8-ae8b-6718ef9ac8ab | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-02-15T18:43:01", "repo_name": "jonesca/Development", "sub_path": "/CSS/Responsive Web with BS3/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1038, "line_count": 34, "lang": "en"... | https://github.com/jonesca/Development | 250 | FILENAME: readme.md | 0.214691 | # Responsive Websites with Bootstrap 3
Mark Zamoyta
www.curiousinvention.com
mark@curiousinventions.com
**Responsive** a single website that responds to the size of the users viewport
**github.com/Formstone/Wallpaper** to add Video Wallpaper to our page
**fortawesome.github.io/font-awesome/icons** for special / coo... |
7e599b60-14ea-496d-9508-75fc74507efd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-05 15:13:54", "repo_name": "MohamedSabbah/Android-apps-", "sub_path": "/Subscriptly/app/src/main/java/com/subscripty/sab/subscriptly/CountryActivity.java", "file_name": "CountryActivity.java", "file_ext": "jav... | https://github.com/MohamedSabbah/Android-apps- | 203 | FILENAME: CountryActivity.java | 0.245085 | package com.subscripty.sab.subscriptly;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import java.util.ArrayList;
public class CountryActivity extends AppCompatActivity {
Spinner spinner;
ArrayList<String> arrCoun... |
038cb319-0716-4f85-ba93-9e90d8798fb0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-21 21:06:14", "repo_name": "victorvbello/android-androidchat", "sub_path": "/app/src/main/java/com/example/victorbello/androidchat/entities/ChatMessage.java", "file_name": "ChatMessage.java", "file_ext": "java... | https://github.com/victorvbello/android-androidchat | 237 | FILENAME: ChatMessage.java | 0.253861 | package com.example.victorbello.androidchat.entities;
/**
* Created by ragnarok on 11/07/16.
*/
import com.google.firebase.database.Exclude;
public class ChatMessage {
private String msg;
private String sender;
@Exclude
private boolean sentByMe;
public String getMsg() {
return msg;
... |
f322f9cf-c390-4796-8aaf-73992caedf86 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-19 15:44:47", "repo_name": "a-wushie/ConsumingREST", "sub_path": "/src/main/java/com/adaidam/ConsumingREST/ConsumingRestApplication.java", "file_name": "ConsumingRestApplication.java", "file_ext": "java", "fil... | https://github.com/a-wushie/ConsumingREST | 240 | FILENAME: ConsumingRestApplication.java | 0.262842 | package com.adaidam.ConsumingREST;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.client.RestTemplateB... |
af25a616-f05c-4ea5-aec0-66449da35827 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-03 10:25:56", "repo_name": "choiungsik/MessageSystem", "sub_path": "/src/com/controller/MessageServiceCon.java", "file_name": "MessageServiceCon.java", "file_ext": "java", "file_size_in_byte": 1026, "line_coun... | https://github.com/choiungsik/MessageSystem | 208 | FILENAME: MessageServiceCon.java | 0.23092 | package com.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.model.memberDTO;
import com.model.messag... |
8ea00780-f688-4a17-b1a1-94560d5c5d0a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-08-16T11:44:02", "repo_name": "absinthe-graphql/absinthe", "sub_path": "/guides/tutorial/start.md", "file_name": "start.md", "file_ext": "md", "file_size_in_byte": 1012, "line_count": 24, "lang": "en", "doc_t... | https://github.com/absinthe-graphql/absinthe | 259 | FILENAME: start.md | 0.191933 | # Getting Started
We'll be building a very basic GraphQL API for a blog, written in Elixir using
Absinthe.
## Background
Before you start, it's a good idea to have some background into GraphQL in general. Here are a few resources that might be helpful:
- The official [GraphQL](https://graphql.org/) website
- [How t... |
08f707c2-2d18-41b8-a904-604467215873 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-30 03:16:38", "repo_name": "SirSparksAlot401/Computer-Theory-338", "sub_path": "/src/com/company/game/Prone.java", "file_name": "Prone.java", "file_ext": "java", "file_size_in_byte": 1115, "line_count": 47, "l... | https://github.com/SirSparksAlot401/Computer-Theory-338 | 237 | FILENAME: Prone.java | 0.280616 | package com.company.game;
//Prone state
public class Prone implements GameState {
private GameLogic game;
//Setting up the GameLogic object.
public Prone(GameLogic g){
game = g;
}
//Moving left from prone.
@Override
public void moveLeft() {
System.out.println("Standing.");... |
e7c46fb1-67a5-47f2-974d-62a8f8ec0965 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-30 16:08:56", "repo_name": "domhoff/design_pattern", "sub_path": "/src/study/com/imooc/week_6th_7th/Cat.java", "file_name": "Cat.java", "file_ext": "java", "file_size_in_byte": 1081, "line_count": 62, "lang": ... | https://github.com/domhoff/design_pattern | 279 | FILENAME: Cat.java | 0.267408 | package com.imooc.week_6th_7th;
/**
* @version 1.0
* @author: dell-6530
* @date: 2021/1/2
* @description:
*
* Cat拷贝自: week_5th\set\Cat.java
* 第6-7周,第1节,3-3
*/
public class Cat {
private String name;
private int month;
private String species;
//构造方法
public Cat(String name, int month, ... |
68cec4a4-f858-439e-bd17-92479bf0ea5f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-03 19:36:00", "repo_name": "halimbimantara/kemenkes-emova", "sub_path": "/app/src/main/java/com/emovakemenkes/framework/mvvm/data/model/api/emova/main/login/LoginRequestEmova.java", "file_name": "LoginRequestE... | https://github.com/halimbimantara/kemenkes-emova | 215 | FILENAME: LoginRequestEmova.java | 0.206894 | package com.emovakemenkes.framework.mvvm.data.model.api.emova.main.login;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public final class LoginRequestEmova {
@Expose
@SerializedName("username")
private String Username;
@Expose
@SerializedName("passw... |
081944e9-8a46-4b34-90a6-0c00a51f7103 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-08 07:03:32", "repo_name": "charliezqj/springboot-learning", "sub_path": "/src/main/java/com/example/demo/service/impl/UserServiceImpl.java", "file_name": "UserServiceImpl.java", "file_ext": "java", "file_size... | https://github.com/charliezqj/springboot-learning | 197 | FILENAME: UserServiceImpl.java | 0.245085 | package com.example.demo.service.impl;
import com.example.demo.domain.User;
import com.example.demo.domain.UserRepository;
import com.example.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created b... |
70899b2b-575e-45b1-955e-a6a8b017985d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-28 03:59:24", "repo_name": "larrybriup/JDBC", "sub_path": "/src/com/briup/test/DriverTest1.java", "file_name": "DriverTest1.java", "file_ext": "java", "file_size_in_byte": 1377, "line_count": 58, "lang": "zh",... | https://github.com/larrybriup/JDBC | 355 | FILENAME: DriverTest1.java | 0.271252 | package com.briup.test;
import java.sql.Connection;
import java.sql.DriverManager;
public class DriverTest1 {
public static void main(String[] args) {
// 连接数据库必须要有的String字符串信息
// driver标明要连接的是哪一种数据库dbms
// 驱动类的全包名加类名
// String driver = "oracle.jdbc.driver.OracleDriver";
//
// // 标明要连接的是哪一个数据库实例... |
c10568ff-f265-4f6d-874b-d3456b07f762 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-20 06:23:35", "repo_name": "lancempoe/BikeFunClient", "sub_path": "/gwt/src/main/java/com/bikefunfinder/client/shared/model/printer/UserJSOWrapper.java", "file_name": "UserJSOWrapper.java", "file_ext": "java",... | https://github.com/lancempoe/BikeFunClient | 262 | FILENAME: UserJSOWrapper.java | 0.255344 | package com.bikefunfinder.client.shared.model.printer;
/*
* @author: tneuwerth
* @created 4/25/13 6:53 PM
*/
import com.bikefunfinder.client.shared.model.User;
public class UserJSOWrapper implements DescribeableAsString<User> {
@Override
public String describeAsString(User jsoObject) {
final Strin... |
b5635cd4-0088-4604-810b-2424a6f76673 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-24 00:29:33", "repo_name": "Aminacait1/Microtesting", "sub_path": "/OrangeHRM/src/test/java/Microtesting/OrangeHRM/Connexion.java", "file_name": "Connexion.java", "file_ext": "java", "file_size_in_byte": 1048,... | https://github.com/Aminacait1/Microtesting | 229 | FILENAME: Connexion.java | 0.23793 | package Microtesting.OrangeHRM;
import java.util.concurrent.TimeUnit;
import org.testng.annotations.*;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.ChromeDriver;
public class Connexion {
private WebDriver driver;
public void setUp() throws Exception {
System.setProp... |
c63a997d-8a97-4938-8305-cc6ed8fecee4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-10-09T15:57:38", "repo_name": "rajkrisfive/ockeydockey_backend", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1003, "line_count": 48, "lang": "en", "doc_type": "t... | https://github.com/rajkrisfive/ockeydockey_backend | 245 | FILENAME: README.md | 0.255344 | # ockydocky_frontend
> Backend end for ocky_docky
## Build Setup
``` bash
# clone the repo
git clone
# create virtualenv
virtualenv -p python3 env
# activate the env
source path/to/env/bin/activate
# navigate to root folder and install dependencies, make sure vitualenv is activated
# as shown in previous step
pi... |
45e2722c-045c-4732-b021-5a861bb9b2d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-06 19:14:45", "repo_name": "ep429/Morning-minion", "sub_path": "/app/src/main/java/com/example/bill/googleoauthandroidcapturecallback/OAuthWebViewClient.java", "file_name": "OAuthWebViewClient.java", "file_ext... | https://github.com/ep429/Morning-minion | 221 | FILENAME: OAuthWebViewClient.java | 0.240775 | package com.example.bill.googleoauthandroidcapturecallback;
import android.net.Uri;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.WebViewClient;
/**
* Created by bill on 3/22/15.
*/
public class OAuthWebViewClient extends WebViewClient {
private MainActivity parent;
public O... |
083bf342-4b6a-4c3f-93be-bc62daa2bb9e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-13 02:15:46", "repo_name": "hawkWei07/study-opengl", "sub_path": "/StudyOpenGL/lessonfive/src/main/java/cn/hawk/lessonfive/LessonFiveGLSurfaceView.java", "file_name": "LessonFiveGLSurfaceView.java", "file_ext"... | https://github.com/hawkWei07/study-opengl | 198 | FILENAME: LessonFiveGLSurfaceView.java | 0.256832 | package cn.hawk.lessonfive;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.view.MotionEvent;
/**
* Created by kehaowei on 16/9/28.
*/
public class LessonFiveGLSurfaceView extends GLSurfaceView {
private LessonFiveRenderer mRenderer;
public LessonFiveGLSurfaceView(Conte... |
34c603ae-08c5-413e-9680-70078e008bb9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-07-10 20:46:07", "repo_name": "canemacchina/gdg-firenze-fiera-elettronica-2014-cecina", "sub_path": "/gae-java-python-go-php/website/website-war/src/main/java/it/aqquadro/webapp/IndexResource.java", "file_name": ... | https://github.com/canemacchina/gdg-firenze-fiera-elettronica-2014-cecina | 246 | FILENAME: IndexResource.java | 0.290981 | package it.aqquadro.webapp;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import java.util.logging.Logger;
import javax.validation.constraints.NotNull;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriI... |
fe2db685-c6b1-428a-830c-4c04735718fb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-08 09:50:00", "repo_name": "XueBaoPeng/OpenSource", "sub_path": "/app/src/main/java/com/ouyangzn/github/utils/CommonUtil.java", "file_name": "CommonUtil.java", "file_ext": "java", "file_size_in_byte": 497, "li... | https://github.com/XueBaoPeng/OpenSource | 260 | FILENAME: CommonUtil.java | 0.253861 | /*
* Copyright (c) 2016. ouyangzn <email : ouyangzn@163.com>
* 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... |
f1f230ee-2629-4c6d-9ff3-3c8341802a97 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-14 13:26:51", "repo_name": "firedevelop/id0000115-java-examples", "sub_path": "/src/Exercise_Proposed_03_04.java", "file_name": "Exercise_Proposed_03_04.java", "file_ext": "java", "file_size_in_byte": 1041, "l... | https://github.com/firedevelop/id0000115-java-examples | 220 | FILENAME: Exercise_Proposed_03_04.java | 0.278257 | import java.util.ArrayList;
import java.util.Locale;
import java.util.Scanner;
public class Exercise_Proposed_03_04 {
public static void main(String[] args) {
int totalInt,e = 0,numberDiff,num;
double total = 0;
Scanner scan = new Scanner(System.in);
scan = scan.useLocale(Locale.US)... |
a460d344-64fb-42ca-84cb-af045cf09d5d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-23 12:08:49", "repo_name": "LXiong/hermes", "sub_path": "/hermes-api/src/main/java/pl/allegro/tech/hermes/api/SchemaSource.java", "file_name": "SchemaSource.java", "file_ext": "java", "file_size_in_byte": 1019... | https://github.com/LXiong/hermes | 211 | FILENAME: SchemaSource.java | 0.218669 | package pl.allegro.tech.hermes.api;
import java.util.Objects;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Strings.emptyToNull;
public final class SchemaSource {
private final String value;
private SchemaSource(String value) {
this.value = ch... |
60fff4cc-a5a6-4e10-acdc-e515f352b9bf | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-11 04:17:09", "repo_name": "LucasDev13/orange-talents-06-template-proposta", "sub_path": "/src/main/java/br/com/proposta/controller/request/CardRequest.java", "file_name": "CardRequest.java", "file_ext": "java... | https://github.com/LucasDev13/orange-talents-06-template-proposta | 226 | FILENAME: CardRequest.java | 0.193147 | package br.com.proposta.controller.request;
import br.com.proposta.card.Card;
import br.com.proposta.card.Status;
import javax.validation.constraints.NotBlank;
public class CardRequest {
@NotBlank
private String idCard;
@NotBlank
private String ipClient;
@NotBlank
private String userAgent;
... |
e74590b6-b39c-436d-96f3-3e664059a005 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-27 22:26:03", "repo_name": "leandrogonqn/Proyecto2017Seguros", "sub_path": "/dom/src/main/java/com/pacinetes/dom/cliente/Sexo.java", "file_name": "Sexo.java", "file_ext": "java", "file_size_in_byte": 298, "lin... | https://github.com/leandrogonqn/Proyecto2017Seguros | 220 | FILENAME: Sexo.java | 0.214691 | /*******************************************************************************
* Copyright 2017 SiGeSe
*
* 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/... |
c279009a-01fe-4122-b95a-23bcd4c11263 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-27 13:20:25", "repo_name": "arsalanshp/TebLiberary", "sub_path": "/app/src/main/java/library/tebyan/com/teblibrary/classes/Database/DatabaseHelper.java", "file_name": "DatabaseHelper.java", "file_ext": "java",... | https://github.com/arsalanshp/TebLiberary | 189 | FILENAME: DatabaseHelper.java | 0.267408 | package library.tebyan.com.teblibrary.classes.Database;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import library.tebyan.com.teblibrary.classes.Login.LoginDB;
public class DatabaseHelper extends SQLiteOpenHelper {
... |
76c3ed7c-5daa-4c8b-b205-10d2b3d5dc79 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-10 08:07:19", "repo_name": "sh951118/java-study", "sub_path": "/network/src/main/java/chat/ChatClientThread.java", "file_name": "ChatClientThread.java", "file_ext": "java", "file_size_in_byte": 1143, "line_cou... | https://github.com/sh951118/java-study | 259 | FILENAME: ChatClientThread.java | 0.290176 | package chat;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.SocketException;
import java.util.List;
public class ChatClientThread extends Thread {
private Socket socket;
List<PrintWriter>... |
a2fdbfd2-acd4-456f-96a4-7e434be79a2a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-09 19:28:41", "repo_name": "SaumilP/design-patterns", "sub_path": "/proxy/src/main/java/design/patterns/proxy/BankAccount.java", "file_name": "BankAccount.java", "file_ext": "java", "file_size_in_byte": 979, "... | https://github.com/SaumilP/design-patterns | 193 | FILENAME: BankAccount.java | 0.27513 | package design.patterns.proxy;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Class responsible for performing account specific operations
*/
public class BankAccount {
private static final Logger log = LoggerFactory.getLogger(BankAccount.class);
private double balance;
public BankAcco... |
96a95430-3098-469b-8eb4-fdd8a7a30735 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-04 09:18:11", "repo_name": "chenxsa/springbootdemo", "sub_path": "/src/main/java/com/xgstudio/springbootdemo/util/CopyObjectHelper.java", "file_name": "CopyObjectHelper.java", "file_ext": "java", "file_size_in... | https://github.com/chenxsa/springbootdemo | 221 | FILENAME: CopyObjectHelper.java | 0.221351 | package com.xgstudio.springbootdemo.util;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.lang.reflect.Field;
/**
* 复制对象
*/
public class CopyObjectHelper {
/**
* 将origin属性注入到destination中
* @param origin
* @param destination
* @throws Exception
*/
public static void... |
ea91c6ef-eec2-4831-a561-deda9ea857e2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-10 07:10:25", "repo_name": "Ninebrother/web-ssh", "sub_path": "/src/main/java/com/alon/ssh/service/SSHLogService.java", "file_name": "SSHLogService.java", "file_ext": "java", "file_size_in_byte": 1140, "line_c... | https://github.com/Ninebrother/web-ssh | 259 | FILENAME: SSHLogService.java | 0.221351 | package com.alon.ssh.service;
import com.alibaba.fastjson.JSON;
import com.alon.ssh.model.SSHLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Ser... |
8fa9e6b0-8c8a-4e8b-9fbf-005170f597be | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-04 13:03:14", "repo_name": "qianliok/spring-learning", "sub_path": "/chapter01/qli/BankApp/src/main/java/org/spring/bankapp/controller/HelloWorldController.java", "file_name": "HelloWorldController.java", "fil... | https://github.com/qianliok/spring-learning | 193 | FILENAME: HelloWorldController.java | 0.290981 | package org.spring.bankapp.controller;
import org.spring.bankapp.model.HelloWorldBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Reque... |
8682e4a4-bd83-4e00-b13f-df9ce9bee609 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-26 19:28:30", "repo_name": "xuyanbo0123/TA_Auto", "sub_path": "/src/main/java/name/mi/buyer/revimedia/derivative/ReviRequestedPolicy.java", "file_name": "ReviRequestedPolicy.java", "file_ext": "java", "file_si... | https://github.com/xuyanbo0123/TA_Auto | 249 | FILENAME: ReviRequestedPolicy.java | 0.262842 | package name.mi.buyer.revimedia.derivative;
import name.mi.auto.model.AutoForm;
import name.mi.buyer.revimedia.map.BodilyInjuryMap;
import name.mi.buyer.revimedia.map.CoverageTypeMap;
import name.mi.buyer.revimedia.map.PropertyDamageMap;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annot... |
ce03d16f-600c-459d-95b0-63ee6e2d19e6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-04-09 20:59:53", "repo_name": "harshab85/Ergo", "sub_path": "/app/src/main/java/uoftprojects/ergo/rewards/StickerReward.java", "file_name": "StickerReward.java", "file_ext": "java", "file_size_in_byte": 1028, "li... | https://github.com/harshab85/Ergo | 226 | FILENAME: StickerReward.java | 0.256832 | package uoftprojects.ergo.rewards;
/**
* Created by harsha on 2015-04-04.
*/
public class StickerReward implements IReward {
private int resourceId;
private String name;
public StickerReward(String name, int resourceId){
this.name = name;
this.resourceId = resourceId;
}
@Overr... |
146d35cf-7982-49fb-9756-db08fc985c1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-24 15:23:03", "repo_name": "m1dlace/Kursach", "sub_path": "/Flappy/core/src/com/flappygame/game/MenuState.java", "file_name": "MenuState.java", "file_ext": "java", "file_size_in_byte": 1065, "line_count": 49, ... | https://github.com/m1dlace/Kursach | 255 | FILENAME: MenuState.java | 0.275909 | package com.flappygame.game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
public class MenuState extends State {
private Texture background;
private Texture playBtn;
public MenuState(GameState gsm) {
super(gsm);
... |
6fc4b173-0873-4d2d-8ea1-ffb4f6895ede | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-25 11:24:41", "repo_name": "phong9x/micimpact", "sub_path": "/src/main/java/com/app/micimpact/web/filter/CustomHttpServletRequestWrapper.java", "file_name": "CustomHttpServletRequestWrapper.java", "file_ext": ... | https://github.com/phong9x/micimpact | 203 | FILENAME: CustomHttpServletRequestWrapper.java | 0.261331 | package com.app.micimpact.web.filter;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.servlet.ServletInputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import org.apache.commons.io.IOUtils;
public ... |
7bf34c06-4354-4db1-9730-2e495797b264 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-08-03T12:19:26", "repo_name": "vshjxyz/django-compass-watches", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1119, "line_count": 33, "lang": "en", "doc_type": "te... | https://github.com/vshjxyz/django-compass-watches | 244 | FILENAME: README.md | 0.23231 | django-compass-watches
======================
This simple script that allows you to watch multiple compass directories inside a django project at the same time.
Installation
----
1. Place the `compass_watch.py` script in the root directory of your django project
2. `$ chmod +x compass_watch.py` to be able to execute ... |
954e1550-d57e-44bb-b617-e69ccea139c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-29 06:53:26", "repo_name": "huangtingxiang/shareMusicApi", "sub_path": "/player/app/src/main/java/com/example/sharemusicplayer/httpService/MessageService.java", "file_name": "MessageService.java", "file_ext": ... | https://github.com/huangtingxiang/shareMusicApi | 233 | FILENAME: MessageService.java | 0.284576 | package com.example.sharemusicplayer.httpService;
import com.example.sharemusicplayer.config.BaseConfig;
import com.example.sharemusicplayer.entity.Message;
public class MessageService {
public static MessageService messageService;
public static MessageService getInstance() {
if (messageService == nu... |
f3f79e75-d84a-4c0e-8b5d-91d2fdaf7b1a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-18 06:41:09", "repo_name": "ParkGwangSeok/board0318", "sub_path": "/src/main/java/com/example/service/JoinService.java", "file_name": "JoinService.java", "file_ext": "java", "file_size_in_byte": 1072, "line_co... | https://github.com/ParkGwangSeok/board0318 | 203 | FILENAME: JoinService.java | 0.252384 | package com.example.service;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.example.model.U... |
cf4af20b-593f-43ac-b4ce-5e2a4dcc32ba | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-11 07:15:18", "repo_name": "RashSR/Yugioh", "sub_path": "/src/cards/spell/SpellCard.java", "file_name": "SpellCard.java", "file_ext": "java", "file_size_in_byte": 1076, "line_count": 53, "lang": "en", "doc_typ... | https://github.com/RashSR/Yugioh | 294 | FILENAME: SpellCard.java | 0.292595 | package cards.spell;
import cards.Card;
import cards.CardType;
public class SpellCard extends Card{
/*
* This class contains all functions to use and modify a Yu-Gi-Oh SpellCard
*/
private SpellType type;
public SpellCard(String name, String type, String text) {
super(name, text, CardType.SPELL);
this.typ... |
a750fdcf-4071-4b47-a3f9-19e898af1dcd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-22 16:23:55", "repo_name": "sgottsch/multiwiki", "sub_path": "/src/de/l3s/tfidf/ExternalLinkCollection.java", "file_name": "ExternalLinkCollection.java", "file_ext": "java", "file_size_in_byte": 1029, "line_co... | https://github.com/sgottsch/multiwiki | 236 | FILENAME: ExternalLinkCollection.java | 0.277473 | package de.l3s.tfidf;
import java.util.HashSet;
import org.apache.commons.lang3.StringUtils;
import de.l3s.model.BinaryComparison;
import de.l3s.model.Revision;
import de.l3s.model.Sentence;
import de.l3s.model.links.ExternalLink;
public class ExternalLinkCollection extends TfIdfCollection implements Collection {
... |
175244d8-d0df-483f-895d-d6dec22441b6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-12-24 06:00:02", "repo_name": "palashjain/AgroStar_assessment", "sub_path": "/src/test/java/tests/ForkAndStarRepos.java", "file_name": "ForkAndStarRepos.java", "file_ext": "java", "file_size_in_byte": 1061, "line... | https://github.com/palashjain/AgroStar_assessment | 232 | FILENAME: ForkAndStarRepos.java | 0.294215 | package tests;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import commonUtils.SeleniumUtils;
import pages.HomePage;
import pages.LoginPage;
import pages.SearchResultPage;
public class ForkAndStarRep... |
751a37b5-6a42-4298-a8bc-fc67b95ef631 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-11 17:59:27", "repo_name": "basuha/word-games", "sub_path": "/src/main/java/words/attributes/primary/Time.java", "file_name": "Time.java", "file_ext": "java", "file_size_in_byte": 1058, "line_count": 47, "lang... | https://github.com/basuha/word-games | 227 | FILENAME: Time.java | 0.290981 | package words.attributes.primary;
import utilities.WAttribute;
/**
* Признак времени глагола
*/
public enum Time implements WAttribute {
NULL (null,null),
N_A ("n/a", "n/a"),
PAST ("past", "прошлое"),
PRESENT ("present", "настоящее"),
FUTURE ("future", "будущее");
private final String VALU... |
aa8cbdca-eb38-40ab-a6ca-7bfd14773885 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-21 19:44:51", "repo_name": "xMastahx/rocketstars", "sub_path": "/src/main/java/aiss/model/telegram/sendMessage/Entity.java", "file_name": "Entity.java", "file_ext": "java", "file_size_in_byte": 1023, "line_cou... | https://github.com/xMastahx/rocketstars | 200 | FILENAME: Entity.java | 0.210766 |
package aiss.model.telegram.sendMessage;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown=true)
public class Entity {
private String type;
private Long offset;
private Long length;
private Map<String, Ob... |
d7633829-8c45-4c8e-ba03-f70bb645f563 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-01-20 21:28:40", "repo_name": "ayushbilala/spring-boot", "sub_path": "/UserDetailsApplication/src/main/java/com/paypalinterview/problem4/repository/UserRepositoryImpl.java", "file_name": "UserRepositoryImpl.java"... | https://github.com/ayushbilala/spring-boot | 193 | FILENAME: UserRepositoryImpl.java | 0.268941 | package com.paypalinterview.problem4.repository;
import com.paypalinterview.problem4.model.User;
import org.springframework.stereotype.Service;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
@Service
public class UserRepositoryImpl implements UserRepository {
Map<String, User> userMap = n... |
389b0496-96d2-459f-8ed1-756209f276c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-21 14:04:30", "repo_name": "sgs98/warehouse", "sub_path": "/ERP/warehouse/src/main/java/com/sxt/business/controller/OutportController.java", "file_name": "OutportController.java", "file_ext": "java", "file_siz... | https://github.com/sgs98/warehouse | 243 | FILENAME: OutportController.java | 0.216012 | package com.sxt.business.controller;
import com.sxt.business.domain.Outport;
import com.sxt.business.service.OutportService;
import com.sxt.business.vo.OutportVo;
import com.sxt.system.common.ResultObj;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.Reques... |
01056230-d3ed-404f-b2ac-46c1848e90d8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-17 13:54:53", "repo_name": "MassPixel/StudyCards", "sub_path": "/app/src/main/java/com/example/studycards/AppDatabase.java", "file_name": "AppDatabase.java", "file_ext": "java", "file_size_in_byte": 1059, "lin... | https://github.com/MassPixel/StudyCards | 196 | FILENAME: AppDatabase.java | 0.264358 | package com.example.studycards;
import android.content.Context;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
//App database entity
@Database(entities = {Question.class}, version = 1, exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
pr... |
ea786881-7d39-4269-8104-ac05164fd911 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-28 16:51:43", "repo_name": "nagraj0308/android", "sub_path": "/ViewPagerDemo/app/src/main/java/com/example/viewpagerdemo/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_... | https://github.com/nagraj0308/android | 196 | FILENAME: MainActivity.java | 0.228156 | package com.example.viewpagerdemo;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import android.os.Bundle;
import android.view.MenuItem;
import android.widget.EditText;
import android.widget.Toast;
import com.google.android.material.tabs.TabLayout;
public class MainActiv... |
c65c63dc-f421-4e93-b362-7ccb912fc8e1 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-15 02:24:07", "repo_name": "zhangchao-lub/NettyStudy", "sub_path": "/src/main/java/s01/io/bio/Server.java", "file_name": "Server.java", "file_ext": "java", "file_size_in_byte": 1028, "line_count": 44, "lang": ... | https://github.com/zhangchao-lub/NettyStudy | 255 | FILENAME: Server.java | 0.259826 | package s01.io.bio;
import lombok.extern.slf4j.Slf4j;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
/**
* @author czhang@mindpointeye.com
* @version 1.0
* @Date 2020/12/7 15:58
* @descrption 半双工通信
*/
@Slf4j
public class Server {
public s... |
82ce675a-f847-4509-b052-fca3262a6bbb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-06T08:56:58", "repo_name": "krisleech/krisleech.github.io", "sub_path": "/source/_posts/2013-05-14-upgrading-unsupported-ubuntu.markdown", "file_name": "2013-05-14-upgrading-unsupported-ubuntu.markdown", "... | https://github.com/krisleech/krisleech.github.io | 269 | FILENAME: 2013-05-14-upgrading-unsupported-ubuntu.markdown | 0.216012 | ---
layout: post
title: "Upgrading an unsupported Ubuntu"
date: 2013-06-19 21:01
comments: true
published: true
categories: [ruby]
---
Upgrading Natty (11.04) the same should apply to other upgrades.
<!-- more -->
I use Rackspace which replaces the default apt repositories with its own
mirrors. Once a Ubuntu becomes... |
f8e47446-0972-4ffa-857c-9befc11c9e2c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 01:24:59", "repo_name": "lptommyjohnson/LN-APIAutomation", "sub_path": "/LN-APIAutomation/src/test/java/Database/DbConnection.java", "file_name": "DbConnection.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/lptommyjohnson/LN-APIAutomation | 237 | FILENAME: DbConnection.java | 0.272799 | package Database;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class DbConnection {
private final static String url = "jdbc:postgresql://lqdnettest.cifpk9rhtssl.ap-southeast-1.rds.amazonaws.com:5432/LQDNETTEST?Schemas=lqdnetdev";
// /LQDNETTEST?curren... |
375abd86-39fd-41c3-8d36-60def441b836 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-04-03T10:11:52", "repo_name": "cristinae/CLUBS", "sub_path": "/corpora/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 992, "line_count": 49, "lang": "en", "doc_type": "text", "bl... | https://github.com/cristinae/CLUBS | 229 | FILENAME: README.md | 0.210766 | CLuBS CORPORA EXTRACTION SCRIPTS
--------------------------------
Scripts to extract parallel and monolingual corpora from an xml dump of the
PubPshyc database
### Contents
- README
- splitCorpus.py
- extractParallelCorpus.py
- extractMonolingualCorpus.py
- sentenceAligner.py
- sentenceSplitter.py
- splitAbstrac... |
2000bd65-d500-4104-aaea-5f36e886f025 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-26 09:10:52", "repo_name": "Dfmaaa/transferfile", "sub_path": "/Findnumber.java", "file_name": "Findnumber.java", "file_ext": "java", "file_size_in_byte": 1016, "line_count": 29, "lang": "en", "doc_type": "cod... | https://github.com/Dfmaaa/transferfile | 193 | FILENAME: Findnumber.java | 0.261331 | import java.util.Scanner;
public class Findnumber {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
while (true) {
System.out.print("Enter the sentence:");
String sentence = input.nextLine();
int length = sentence.length();
... |
a6937a90-7c6a-4a32-a56b-52d8b8a2ebfc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-07-29T16:08:06", "repo_name": "keymanapp/lexical-models", "sub_path": "/release/gff/gff.ti.gff_tigrinya/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1065, "line_count": 38, "la... | https://github.com/keymanapp/lexical-models | 256 | FILENAME: README.md | 0.212069 | GFF Tigrinya Lexical Model
==========================
© 2020 – 2023 Geʾez Frontier Foundation
Version 1.2
Description
-----------
This is a Tigrinya (ትግርኛ , ISO-639-2 ti) lexical model developed to support predictive text in
corresponding GFF Tigrinya keyboards. The lexical model relies on the UniLex p... |
006e2d8f-1286-4fa3-8e4b-80aa9f8f49e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-03-20 12:14:23", "repo_name": "PinPinx/Simplified_Logo", "sub_path": "/src/model/Variable.java", "file_name": "Variable.java", "file_ext": "java", "file_size_in_byte": 1080, "line_count": 38, "lang": "en", "doc_t... | https://github.com/PinPinx/Simplified_Logo | 224 | FILENAME: Variable.java | 0.278257 | package model;
import exceptions.VariableWrongTypeException;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public abstract class Variable {
protected StringProperty myDisplayProperty;
protected StringProperty myNameProperty;
public Variable(String name){
this.m... |
5f3261b4-ee67-4686-b1ef-940034d348eb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-30 04:38:45", "repo_name": "manrique-code/ExamenIIParcial", "sub_path": "/src/main/java/backend/lib/controllers/ReqRes.java", "file_name": "ReqRes.java", "file_ext": "java", "file_size_in_byte": 1120, "line_co... | https://github.com/manrique-code/ExamenIIParcial | 224 | FILENAME: ReqRes.java | 0.286169 | package backend.lib.controllers;
import com.sun.net.httpserver.HttpExchange;
import org.json.JSONObject;
import java.io.*;
import java.nio.charset.StandardCharsets;
public class ReqRes {
public static JSONObject getRequest(HttpExchange he) throws IOException {
InputStream is = he.getRequestBody();
... |
8b9ae558-d931-43b7-ae2b-7a88597dbf73 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-17 10:15:42", "repo_name": "yanpgeng/springbootdemo", "sub_path": "/springbootdemo-thread/src/main/java/com/example/springbootdemothread/productAndConsumer/productAndConsumerDemo01/Producer.java", "file_name":... | https://github.com/yanpgeng/springbootdemo | 260 | FILENAME: Producer.java | 0.278257 | package com.example.springbootdemothread.productAndConsumer.productAndConsumerDemo01;
import java.util.Random;
/**
* @author YangPeng
* @Title: Producer
* @ProjectName springbootdemo
* @Description: 生产者线程类;
* @company ccxcredit
* @date 2019/5/20-16:13
*/
public class Producer implements Runnable {
/**
... |
72293d73-429e-4aef-858a-04277ffd9fb3 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-23 02:15:20", "repo_name": "annkucherova/TestAutomationHomeTasks", "sub_path": "/FinalTask/FinalTaskBDD/src/main/java/pages/SavedItemsPage.java", "file_name": "SavedItemsPage.java", "file_ext": "java", "file_s... | https://github.com/annkucherova/TestAutomationHomeTasks | 217 | FILENAME: SavedItemsPage.java | 0.264358 | package pages;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class SavedItemsPage extends BasePage {
@FindBy(xpath = "//header[@class='itemsHeader_saaZS']")
private WebElement savedItemsAmountField;
@FindBy(xpath... |
3809f7f9-a807-441e-8205-b4748f5a45f6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-16 19:56:36", "repo_name": "lleyton/CustomHeads", "sub_path": "/src/main/java/com/innatical/CustomHeads/HeadCategories.java", "file_name": "HeadCategories.java", "file_ext": "java", "file_size_in_byte": 1118, ... | https://github.com/lleyton/CustomHeads | 285 | FILENAME: HeadCategories.java | 0.277473 | package com.innatical.CustomHeads;
import org.bukkit.Material;
enum HeadCategories {
ALPHABET ("alphabet", "Alphabet", Material.WHITE_BANNER),
ANIMALS ("animals", "Animals", Material.SKELETON_SPAWN_EGG),
BLOCKS ("blocks", "Blocks", Material.BRICKS),
DECORATION ("decoration", "Decoration", Material.PEO... |
3b48f8fb-d5b5-4515-ab0e-13eee292f420 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-28 03:45:48", "repo_name": "JumpingLi/dance", "sub_path": "/src/main/java/com/champion/dance/service/impl/CommentServiceImpl.java", "file_name": "CommentServiceImpl.java", "file_ext": "java", "file_size_in_byt... | https://github.com/JumpingLi/dance | 230 | FILENAME: CommentServiceImpl.java | 0.258326 | package com.champion.dance.service.impl;
import com.champion.dance.domain.entity.Comment;
import com.champion.dance.domain.mapper.CommentMapper;
import com.champion.dance.service.CommentService;
import com.champion.dance.domain.dto.CommentDto;
import org.apache.ibatis.session.RowBounds;
import org.springframework.bean... |
deb60b86-665c-41f2-b5bc-245da28ecf8d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 14:06:34", "repo_name": "derteuffel/publication-notes", "sub_path": "/src/main/java/com/derteuffel/publicationNotes/entities/Options.java", "file_name": "Options.java", "file_ext": "java", "file_size_in_byt... | https://github.com/derteuffel/publication-notes | 236 | FILENAME: Options.java | 0.23231 | package com.derteuffel.publicationNotes.entities;
import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
@Data
@Entity
@Table(name = "options")
public class Options implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private Strin... |
5bc5ef01-a2f5-4c04-a3ab-163d854e7a7f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-20 02:52:42", "repo_name": "ankushrayabhari/Zweihander", "sub_path": "/core/src/com/ankushrayabhari/zweihander/items/abilities/Ability.java", "file_name": "Ability.java", "file_ext": "java", "file_size_in_byte... | https://github.com/ankushrayabhari/Zweihander | 242 | FILENAME: Ability.java | 0.286968 | package com.ankushrayabhari.zweihander.items.abilities;
import com.ankushrayabhari.zweihander.items.Action;
import com.ankushrayabhari.zweihander.items.Item;
import com.ankushrayabhari.zweihander.screens.GameScreen;
/**
* Class Description
*
* @author Ankush Rayabhari
*/
public class Ability extends Item {
pr... |
8dc6f106-a109-4a59-a133-fade93b97220 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-06-26T22:49:14", "repo_name": "gSchool/g2-social-network", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1053, "line_count": 30, "lang": "en", "doc_type": "text", ... | https://github.com/gSchool/g2-social-network | 270 | FILENAME: README.md | 0.233706 | [](https://codeclimate.com/github/gSchool/g2-social-network)[](https://travis-ci.org/gSchool/g2-social-network)
# g2-social-network
##Background
The g2 Social... |
db507a18-46c3-4d17-8742-44e83cf76d87 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-01-09 02:31:07", "repo_name": "drewgascoigne/Traffic-Brain", "sub_path": "/Traffic Brain/src/brain/trafficlight/TrafficLight.java", "file_name": "TrafficLight.java", "file_ext": "java", "file_size_in_byte": 1120,... | https://github.com/drewgascoigne/Traffic-Brain | 276 | FILENAME: TrafficLight.java | 0.282196 | package brain.trafficlight;
import java.util.ArrayList;
import brain.violation.Violations;
public class TrafficLight
{
//id of this traffic light
private int id;
//list of violations this traffic light has received
//possibly the buffer to be added to the cloud?
ArrayList<Violations> violations = new ArrayList... |
7781e5c8-30c5-443e-8cdd-4ed7ac0302ce | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-26 09:59:29", "repo_name": "all4youBy/LogisticSystem", "sub_path": "/webapp/src/servlets/ShowTrucksServlet.java", "file_name": "ShowTrucksServlet.java", "file_ext": "java", "file_size_in_byte": 1055, "line_cou... | https://github.com/all4youBy/LogisticSystem | 192 | FILENAME: ShowTrucksServlet.java | 0.29584 | package servlets;
import entities.Truck;
import remote.DbManagerRemote;
import javax.ejb.EJB;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ja... |
bebee4eb-a590-450c-898b-3d9b89ec9b08 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-26 11:23:23", "repo_name": "DanieleM1999/OrtofruttaWebApp", "sub_path": "/OrtofruttaWebApp/src/main/java/it/dstech/accesso/Switch.java", "file_name": "Switch.java", "file_ext": "java", "file_size_in_byte": 105... | https://github.com/DanieleM1999/OrtofruttaWebApp | 224 | FILENAME: Switch.java | 0.26588 | package it.dstech.accesso;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class Switch extends HttpServlet {
@Override
protected void doGet(Htt... |
1e4a9a33-81bf-43d7-a7ec-34aa78f7017c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-23 15:49:16", "repo_name": "nks2180/mvp-clean", "sub_path": "/app/src/main/java/com/mvp/ApplicationModule.java", "file_name": "ApplicationModule.java", "file_ext": "java", "file_size_in_byte": 981, "line_count... | https://github.com/nks2180/mvp-clean | 182 | FILENAME: ApplicationModule.java | 0.253861 | package com.mvp;
import android.app.Application;
import com.mvp.common.AnalyticsModule;
import com.mvp.common.AndroidAssetLoader;
import com.mvp.common.AssetLoader;
import com.mvp.common.TimeZoneModule;
import com.mvp.image.ImageLoaderModule;
import com.mvp.network.JsonModule;
import com.mvp.network.NetworkModule;
i... |
cc765a0a-e8fd-4a72-8529-0df503500c02 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-13 09:41:40", "repo_name": "prathamApp/GIT_Assessment", "sub_path": "/app/src/main/java/com/pratham/assessment/domain/Modal_DownloadContent.java", "file_name": "Modal_DownloadContent.java", "file_ext": "java",... | https://github.com/prathamApp/GIT_Assessment | 238 | FILENAME: Modal_DownloadContent.java | 0.233706 | package com.pratham.assessment.domain;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Modal_DownloadContent {
@SerializedName("nodelist")
List<ContentTable> nodelist;
@SerializedName("downloadurl")
String downloadurl;
@SerializedName("foldername")
Strin... |
0569eb20-668b-4226-8576-d248330195c0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-07-03 05:49:14", "repo_name": "manasarc/practicemanasa", "sub_path": "/practicemanasa/src/POM/DiamondNecklaces_page.java", "file_name": "DiamondNecklaces_page.java", "file_ext": "java", "file_size_in_byte": 1016,... | https://github.com/manasarc/practicemanasa | 223 | FILENAME: DiamondNecklaces_page.java | 0.290981 | package POM;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
import Generic.Base_page;
public class DiamondNecklaces_page extends Base_page {
@FindBy(xpath="//span[@class='view-by-wrap title sty... |
fa796a46-aeab-4f50-bf38-2c2dc821b527 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-25 05:47:47", "repo_name": "qyhsmx/java-interview", "sub_path": "/src/main/java/com/qyy/interview/distribute/zk/BaseTemplate.java", "file_name": "BaseTemplate.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/qyhsmx/java-interview | 251 | FILENAME: BaseTemplate.java | 0.23793 | package com.qyy.interview.distribute.zk;
import org.I0Itec.zkclient.ZkClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Optional;
import java.util.concurrent.CountDownLatch;
/**
* @author qyhsmx@outlook.com
* @date
*/
public abstract class BaseTemplate implements ZKLock {
Logge... |
70afdb75-a9e1-43f5-98c7-720cbe437828 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-01-17 13:35:02", "repo_name": "VinAdmin/LessonSQL", "sub_path": "/src/lessonsqlite/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 1078, "line_count": 41, "lang": "en", "doc_t... | https://github.com/VinAdmin/LessonSQL | 240 | FILENAME: Product.java | 0.290176 | /*
* 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 lessonsqlite;
/**
*
* @author 7-2-0
*/
public class Product {
public int id;
public String good;
public double ... |
2e109fad-4e50-4d42-81ec-694952ef5ab2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-08 10:40:00", "repo_name": "leod1/Projets", "sub_path": "/PPMPermissions/src/fr/leod1/ppmPermissions/events/Leave.java", "file_name": "Leave.java", "file_ext": "java", "file_size_in_byte": 1120, "line_count": ... | https://github.com/leod1/Projets | 227 | FILENAME: Leave.java | 0.259826 | package fr.leod1.ppmPermissions.events;
import fr.leod1.ppmPermissions.PlayerData.PlayerData;
import fr.leod1.ppmPermissions.Utils.fileUtils;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerQuitEvent;
import java.io.File;
im... |
b0b79dc2-c09b-46e3-82d4-7e06e01e0756 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-20 14:00:10", "repo_name": "andreyfillipe/nosso-banco-digital", "sub_path": "/src/main/java/com/andreyfillipe/nossobancodigital/resource/exception/ApiErros.java", "file_name": "ApiErros.java", "file_ext": "jav... | https://github.com/andreyfillipe/nosso-banco-digital | 254 | FILENAME: ApiErros.java | 0.272799 | package com.andreyfillipe.nossobancodigital.resource.exception;
import com.andreyfillipe.nossobancodigital.service.exception.EntidadeNaoProcessavelException;
import com.andreyfillipe.nossobancodigital.service.exception.NaoEncontradoException;
import com.andreyfillipe.nossobancodigital.service.exception.RegraNegocioExc... |
4fd1ff42-bbe8-46c6-aaab-475db39e12e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-24 07:30:32", "repo_name": "colorfulfrog/springboot-dubbox", "sub_path": "/platform-system/platform-system-provider/src/main/java/com/yxhl/stationbiz/system/provider/task/CreateOperatePlanTask.java", "file_nam... | https://github.com/colorfulfrog/springboot-dubbox | 286 | FILENAME: CreateOperatePlanTask.java | 0.283781 | package com.yxhl.stationbiz.system.provider.task;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.yxhl.stationbiz.system.domain.request.CreateScheduleBusRequest;
import com.yxhl.stationbiz.system.domain.service.schedule.ScheduleBusService;
/**
* 生成制作计划任务
*/
public class CreateOperatePlanTask im... |
48db2c1e-c7e8-4289-a91e-0dfe05368c8e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-16 16:55:31", "repo_name": "lidonghui-github/mySSC", "sub_path": "/src/main/java/cn/hd/enums/OrgProperty.java", "file_name": "OrgProperty.java", "file_ext": "java", "file_size_in_byte": 1133, "line_count": 50,... | https://github.com/lidonghui-github/mySSC | 287 | FILENAME: OrgProperty.java | 0.293404 | package cn.hd.enums;
import java.util.HashMap;
import java.util.Map;
/**
* @Description:.机构属性
*/
public enum OrgProperty {
一般机构("00","一般机构"),//GENE_INS
公司部("01","公司部"),//COMP_DEPA
资保部("02","资保部"),//ENINS_DEPA
票据中心("03","票据中心"),//BILL_CENT
国际部("04","国际部"),//INTER_DEPA
小企业专营机构("05","小企业专营机构")... |
04c525c3-c24e-417b-861f-9f3ba0f9b083 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-05 07:38:29", "repo_name": "glirios/CSC305-Project-2-Facebook", "sub_path": "/Project2-Facebook/src/User.java", "file_name": "User.java", "file_ext": "java", "file_size_in_byte": 1119, "line_count": 56, "lang"... | https://github.com/glirios/CSC305-Project-2-Facebook | 277 | FILENAME: User.java | 0.290176 | import java.util.ArrayList;
public class User {
private String name;
private ArrayList<String> feed;
private boolean isFriend;
private ArrayList<String> friends;
public User(String name, ArrayList<String> feed, boolean isFriend) {
this.name = name;
this.feed = feed;
this.isFriend = isFriend;
friends = n... |
37481cef-74af-4f79-aba7-8dcf5adbd8ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-05 03:39:44", "repo_name": "GeoscienceAustralia/geodesy-sitelog-domain", "sub_path": "/src/main/java/au/gov/ga/geodesy/sitelog/domain/model/OtherInstrumentation.java", "file_name": "OtherInstrumentation.java",... | https://github.com/GeoscienceAustralia/geodesy-sitelog-domain | 246 | FILENAME: OtherInstrumentation.java | 0.236516 | package au.gov.ga.geodesy.sitelog.domain.model;
import javax.validation.Valid;
import javax.validation.constraints.Size;
/**
* http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/equipment/2004/otherInstrumentation.xsd
*/
public class OtherInstrumentation {
private Integer id;
@Size(max = 4000)
protected Str... |
dc236927-6a40-4255-b1c5-7e2d9b5b97e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-20 23:36:42", "repo_name": "sylvainvincent/Dailyfeed", "sub_path": "/app/src/main/java/com/esgi/teamst/dailyfeed/dao/AbstractDAO.java", "file_name": "AbstractDAO.java", "file_ext": "java", "file_size_in_byte":... | https://github.com/sylvainvincent/Dailyfeed | 190 | FILENAME: AbstractDAO.java | 0.253861 | package com.esgi.teamst.dailyfeed.dao;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
/**
* Classe
*/
public abstract class AbstractDAO<T> {
private DatabaseHandler mDatabaseHandler;
private SQLiteDatabase... |
d7c5f119-22d6-4e5b-8f98-b7f764f736fc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-12 03:52:13", "repo_name": "Blacksmith99/FACEBIN-3.0--Authors--Christian-Alvarez---Josue-Perez-", "sub_path": "/Desktop/FACEB_4/src/face/BuscarAmigos.java", "file_name": "BuscarAmigos.java", "file_ext": "java"... | https://github.com/Blacksmith99/FACEBIN-3.0--Authors--Christian-Alvarez---Josue-Perez- | 201 | FILENAME: BuscarAmigos.java | 0.221351 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package face;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
/**
*
* @author Josue
*/
public class BuscarAmigos {
public File Verificar=null;
public static boolean exi... |
39a107d2-a2bc-4b4c-af24-03755d615931 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-22 11:43:15", "repo_name": "sonnyit/onedev", "sub_path": "/server-core/src/main/java/io/onedev/server/model/support/administration/authenticator/Authenticated.java", "file_name": "Authenticated.java", "file_ex... | https://github.com/sonnyit/onedev | 241 | FILENAME: Authenticated.java | 0.256832 | package io.onedev.server.model.support.administration.authenticator;
import java.util.Collection;
import javax.annotation.Nullable;
import io.onedev.server.model.SshKey;
public class Authenticated {
private final String fullName;
private final String email;
private final Collection<String> groupNames;
p... |
5c02da4f-91a2-42c4-aae0-d54a83d256c6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-09-07 22:31:28", "repo_name": "DDe3/matricula", "sub_path": "/src/main/java/com/ing_software/config/Configuracion.java", "file_name": "Configuracion.java", "file_ext": "java", "file_size_in_byte": 1058, "line_cou... | https://github.com/DDe3/matricula | 173 | FILENAME: Configuracion.java | 0.214691 | package com.ing_software.config;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Disposes;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.se.SeContainer;
import javax.enterprise.inject.se.SeContainerInitializer;
import javax.persistence.EntityManager;
import j... |
5b77127c-d296-4818-83c4-8c6cde118313 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-06-24 21:06:29", "repo_name": "couchbaselabs/flink-connector-couchbase", "sub_path": "/src/main/java/com/couchbase/connector/flink/JsonDocument.java", "file_name": "JsonDocument.java", "file_ext": "java", "file_s... | https://github.com/couchbaselabs/flink-connector-couchbase | 222 | FILENAME: JsonDocument.java | 0.233706 | /*
* Copyright 2020 Couchbase, Inc.
*
* 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 law or agreed to ... |
f632fcac-b4e4-4af9-b0cb-7c415bb0fe5e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-12-10T02:16:20", "repo_name": "Karla-Rodrigues/StarWars", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1084, "line_count": 35, "lang": "en", "doc_type": "text", "... | https://github.com/Karla-Rodrigues/StarWars | 258 | FILENAME: README.md | 0.249447 | * starwars-app *
Developed by Karla Rodrigues - December 01, 2020.
Access to API (https://swapi.dev/api/) to fetch information about characteres and spaceships.
Each page will return 8 characters and 1 spaceship, with possibility to pagination.
Store the data in Redux.
The App is responsive for mobile, tablet and des... |
32a10af0-d92f-4a96-8e87-0b296b6e8831 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-05 03:48:32", "repo_name": "y723109056/mx", "sub_path": "/src/main/java/com/mx/listener/DataSourceListener.java", "file_name": "DataSourceListener.java", "file_ext": "java", "file_size_in_byte": 961, "line_cou... | https://github.com/y723109056/mx | 256 | FILENAME: DataSourceListener.java | 0.288569 | /*
* banger Inc.
* Copyright (c) 2009-2012 All Rights Reserved.
* ToDo :This is Class Description...
* Author :huyb
* Create Date:2014-5-23
*/
package com.mx.listener;
import com.mx.sql.util.SqlHelper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.ServletContextEvent;
i... |
2a3dce61-48d1-4172-a7b8-c08e78b36e85 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-06 06:56:55", "repo_name": "Gin594/Fitness-App", "sub_path": "/app/src/main/java/com/example/project/ui/routes/WalkFragment.java", "file_name": "WalkFragment.java", "file_ext": "java", "file_size_in_byte": 101... | https://github.com/Gin594/Fitness-App | 173 | FILENAME: WalkFragment.java | 0.200558 | package com.example.cse110project.ui.routes;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import com.example.cse110project.R;
public class WalkFragment extends Fragme... |
e3d20a5f-b2e5-4a55-ad45-3f6c2dd2d159 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-22T18:24:00", "repo_name": "slokat/pullrequestwatcher", "sub_path": "/ansible/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1033, "line_count": 28, "lang": "en", "doc_type": ... | https://github.com/slokat/pullrequestwatcher | 231 | FILENAME: README.md | 0.246533 | ## ansible part
This will basically setup on the remote host ( here server ) what is necessary
for the docker-compose to run and be launched by ansible
Assumption made here in this case, the vm is running UBUNTU 20.04 and network setup is done
Used useful roles from geerlingguy that take care of docker installation ... |
73612381-4cac-456d-8fac-c1e005bb73e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-10-30T19:29:02", "repo_name": "matiktli/droneApp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1059, "line_count": 43, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/matiktli/droneApp | 305 | FILENAME: README.md | 0.27513 | # Flying Drone from scratch - Weekend Project
## Idea:
* Fly drone via script file :heavy_check_mark:
* Fly drone via ps4 controller :heavy_check_mark:
* Detec faces via drone camera:
* CV2 Model :heavy_check_mark:
* Own ML Model :construction:
* Fly drone via AI Model :heavy_check_mark:
## Technology stack:
* Py... |
fcc63bde-e908-4c0a-a1b7-f5f2ccc7ebc8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-23 10:14:32", "repo_name": "meiheyoupin/meiheyoupin", "sub_path": "/src/main/java/com/meiheyoupin/common/utils/CommonUtil.java", "file_name": "CommonUtil.java", "file_ext": "java", "file_size_in_byte": 1075, "... | https://github.com/meiheyoupin/meiheyoupin | 221 | FILENAME: CommonUtil.java | 0.236516 | package com.meiheyoupin.common.utils;
import javax.servlet.http.HttpServletRequest;
public class CommonUtil {
public CommonUtil() {
}
public static int getIntFromString(String str) {
int ret = 0;
if(str != null) {
try {
ret = Integer.parseInt(str);
... |
4d2ab511-a3aa-4553-87c3-5746edb995c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2012-05-31T03:49:03", "repo_name": "jrawlings/udacity_cs253", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1055, "line_count": 31, "lang": "en", "doc_type": "text", "b... | https://github.com/jrawlings/udacity_cs253 | 242 | FILENAME: README.md | 0.240775 | Udacity 253: Web Application Engineering
========================================
http://www.udacity.com/overview/Course/cs253/CourseRev/apr2012
Description
-----------
Web applications have the power to provide useful services to millions of people worldwide. In this class, you will learn how to build your own blog ... |
4a30de4f-cc86-4136-b45f-7465e2e37a3d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-09 14:09:55", "repo_name": "tjf952/AP_CompSci", "sub_path": "/GUI/2_Dialogs/SpiritAnimal.java", "file_name": "SpiritAnimal.java", "file_ext": "java", "file_size_in_byte": 974, "line_count": 30, "lang": "en", "... | https://github.com/tjf952/AP_CompSci | 208 | FILENAME: SpiritAnimal.java | 0.271252 | import javax.swing.*;
public class SpiritAnimal
{
public static void main(String[]args){
// Choices
Object[] choices = {"Eagle", "Bear", "Cobra",
"Tiger", "Elephant", "Owl"};
//JFrame
String result = (String)JOptionPane.showInputDialog(
null, // Crea... |
2a08c083-425c-4bcd-92ad-4aaf0d9de04e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-04 15:10:05", "repo_name": "AAAliuAAA/LiujhHMS", "sub_path": "/src/main/java/com/smepms/smepmschats/websocket/websocketinterceptor/HandshakeInterceptor.java", "file_name": "HandshakeInterceptor.java", "file_ex... | https://github.com/AAAliuAAA/LiujhHMS | 230 | FILENAME: HandshakeInterceptor.java | 0.245085 | package com.smepms.smepmschats.websocket.websocketinterceptor;
import org.apache.log4j.Logger;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.web.socket.WebSocketHandler;
import org.springframework.web.socket.server.suppo... |
b461e818-5da6-47ba-997d-5b1c69ff343a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-07-28 10:10:46", "repo_name": "bahaso/tests", "sub_path": "/BahasoTest/src/bahaso/testing/androidElement/Home.java", "file_name": "Home.java", "file_ext": "java", "file_size_in_byte": 1098, "line_count": 46, "lan... | https://github.com/bahaso/tests | 246 | FILENAME: Home.java | 0.288569 | package bahaso.testing.androidElement;
import java.util.ArrayList;
import org.openqa.selenium.WebElement;
import io.appium.java_client.android.AndroidDriver;
public class Home {
AndroidDriver driver;
public Home(AndroidDriver driver){
this.driver = driver;
}
public ArrayList<WebElement> getTab(){
return (... |
c08bcbf7-cac6-4f2f-aa1e-16e7aced1583 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-03T12:24:15", "repo_name": "nmd88/datamining", "sub_path": "/docs/hadoop_intro.md", "file_name": "hadoop_intro.md", "file_ext": "md", "file_size_in_byte": 1020, "line_count": 23, "lang": "en", "doc_type": ... | https://github.com/nmd88/datamining | 210 | FILENAME: hadoop_intro.md | 0.229535 | HADOOP INTRODUCTION
---
Apache HADOOP is a framework used to develop data processing applications which are executed in a distributed computing environment.
Similar to data residing in a local file system of personal computer system, in Hadoop, data resides in a distributed file system which is called as a Hadoop Dis... |
c164f2ec-8e57-428c-880a-10760f55a785 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-02-18 14:44:13", "repo_name": "newbare/CorpDesk", "sub_path": "/src/main/java/lv/javaguru/java3/core/commands/comment/CreateCommentCommand.java", "file_name": "CreateCommentCommand.java", "file_ext": "java", "fil... | https://github.com/newbare/CorpDesk | 222 | FILENAME: CreateCommentCommand.java | 0.245085 | package lv.javaguru.java3.core.commands.comment;
import lv.javaguru.java3.core.commands.DomainCommand;
import java.sql.Date;
/**
* Created by svetlana on 28/11/15.
*/
public class CreateCommentCommand implements DomainCommand<CreateCommentResult> {
private Long postId;
private Long userId;
private Str... |
4b2b133c-c166-484d-b098-0325802108aa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-03-08T19:31:09", "repo_name": "ebastreghi/springwebflux-heroes-management", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1058, "line_count": 29, "lang": "en", "do... | https://github.com/ebastreghi/springwebflux-heroes-management | 246 | FILENAME: README.md | 0.285372 | Spring Webflux, AWS SDK, Swagger, DynamoDB, JUnit
Enable AWS Access Key
Install AWS CLI
Open terminal and type: aws configure
******************************************
Download local DynamoDB in tyhe link bellow
https://docs.aws.amazon.com/pt_br/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunn... |
6216b8fe-2275-47f4-96f0-b481e8b364f5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-20 08:21:33", "repo_name": "jfs-rupesh/jfs-repo", "sub_path": "/Spring/Labs/l05-crud-hibernate-oracle-lab/src/com/demo/dao/CustomerDAOImpl.java", "file_name": "CustomerDAOImpl.java", "file_ext": "java", "file_... | https://github.com/jfs-rupesh/jfs-repo | 200 | FILENAME: CustomerDAOImpl.java | 0.242206 | package com.demo.dao;
import javax.persistence.EntityManager;
import javax.persistence.EntityTransaction;
import com.demo.entity.Customer;
public class CustomerDAOImpl implements CustomerDao{
private EntityManager entityManager = null;
public CustomerDAOImpl() {
entityManager = JPAUtil.getEntityManager();
}
@Ov... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.