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 |
|---|---|---|---|---|---|---|
8014fc93-dbf0-4315-91d8-f5e1da047a69 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-15 15:56:08", "repo_name": "anthonyxavier64/MerlionAirlines", "sub_path": "/MerlionAirlines-ejb/src/java/ejb/session/stateless/SeatSessionBean.java", "file_name": "SeatSessionBean.java", "file_ext": "java", "f... | https://github.com/anthonyxavier64/MerlionAirlines | 212 | FILENAME: SeatSessionBean.java | 0.27513 | /*
* 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 ejb.session.stateless;
import entity.Passenger;
import entity.Seat;
import javax.ejb.Stateless;
import javax.persistence.Entit... |
6948f660-5f5c-4e93-bd1e-5c08350ba9b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-24 11:15:43", "repo_name": "adedic/Cimernik", "sub_path": "/Cimernik/src/main/java/hr/tvz/cimernik/web/UserCtrl.java", "file_name": "UserCtrl.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count":... | https://github.com/adedic/Cimernik | 236 | FILENAME: UserCtrl.java | 0.280616 | package hr.tvz.cimernik.web;
import java.security.Principal;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.anno... |
f95fd57d-76c0-4c6d-a3f7-5612c001c995 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-11-15 23:04:49", "repo_name": "GaaehHacked-git/1vs1", "sub_path": "/src/main/java/de/gaaehhacked/gamestate/states/IngameState.java", "file_name": "IngameState.java", "file_ext": "java", "file_size_in_byte": 985, ... | https://github.com/GaaehHacked-git/1vs1 | 233 | FILENAME: IngameState.java | 0.256832 | package de.gaaehhacked.gamestate.states;
import de.gaaehhacked.Main;
import de.gaaehhacked.countdowns.countdowns.LobbyCountDown;
import de.gaaehhacked.gamestate.GameState;
import de.gaaehhacked.gamestate.GameStateManager;
import de.gaaehhacked.listener.PlayerConnect;
import org.bukkit.Bukkit;
import org.bukkit.Locatio... |
af4a1f63-2bc2-4757-8d65-d4e4837911d2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-06 21:26:36", "repo_name": "nathan19994/RandomLetter", "sub_path": "/app/src/main/java/com/example/tan_pc/randomletter/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_by... | https://github.com/nathan19994/RandomLetter | 164 | FILENAME: MainActivity.java | 0.247987 | package com.example.tan_pc.randomletter;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import java.util.Random;
public class MainActivity extends AppCompatActivity {
@Override
protected void ... |
162aa7b7-18a1-465a-91e4-d4825edca38f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-22 13:35:07", "repo_name": "ininal/workshop", "sub_path": "/src/main/java/com/ininal/example/api/data/CreateAnonymousVirtualCardResponse.java", "file_name": "CreateAnonymousVirtualCardResponse.java", "file_ext... | https://github.com/ininal/workshop | 269 | FILENAME: CreateAnonymousVirtualCardResponse.java | 0.23231 | package com.ininal.example.api.data;
/**
* Created by yaseminbakir on 22.12.2017.
*/
public class CreateAnonymousVirtualCardResponse
{
//16-digit ininal card number information.
private String cardNumber;
//ininal card barcode information.
private String barcodeNumber;
//ininal card CVV informa... |
f478dfbb-6b28-4d46-a1ee-63dd5aa52a99 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-12 17:50:17", "repo_name": "dneeraj9999/MovieBookingApp", "sub_path": "/app/src/main/java/com/example/drenu/testdrawer/ConnectToParse.java", "file_name": "ConnectToParse.java", "file_ext": "java", "file_size_i... | https://github.com/dneeraj9999/MovieBookingApp | 272 | FILENAME: ConnectToParse.java | 0.29584 | package com.example.drenu.testdrawer;
import android.app.Application;
import com.parse.Parse;
import com.parse.ParseACL;
import com.parse.ParseUser;
/**
* Created by drenu on 9/9/2018.
*/
public class ConnectToParse extends Application {
@Override
public void onCreate() {
super.onCreate();
... |
c26ef902-d785-4735-ab72-69d03e836c0c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-05 23:05:56", "repo_name": "xterri/WaitOnMe", "sub_path": "/HostAssign/app/src/main/java/com/example/hackathon/hostassign/Pop.java", "file_name": "Pop.java", "file_ext": "java", "file_size_in_byte": 1152, "lin... | https://github.com/xterri/WaitOnMe | 220 | FILENAME: Pop.java | 0.236516 | package com.example.hackathon.hostassign;
import android.app.Activity;
import android.graphics.Color;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.Button;
import android.widget.Spinner;
im... |
074c4034-8336-4446-9ef4-05497b3d18d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 09:30:56", "repo_name": "beyondzxy/checkPaper", "sub_path": "/3118005314/src/test/java/DevTest.java", "file_name": "DevTest.java", "file_ext": "java", "file_size_in_byte": 1153, "line_count": 48, "lang": "e... | https://github.com/beyondzxy/checkPaper | 278 | FILENAME: DevTest.java | 0.273574 | import org.junit.Test;
import sim.SimHash;
import sim.Formula;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
/**
* @author RainZ
* 开发过程测试
*/
public class DevTest {
@Test
public void SimHashTest() throws IOException {
SimHash t1 = new SimHash("今天是星期天,天气晴,今天晚上我要去看电影");... |
5ea1d4b7-553b-4508-b408-43057be96e3f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-14 20:17:56", "repo_name": "KipperOrigin/ArmamentsEffects", "sub_path": "/src/main/java/org/cubeville/effects/hooks/InteractHookBlockLocation.java", "file_name": "InteractHookBlockLocation.java", "file_ext": "... | https://github.com/KipperOrigin/ArmamentsEffects | 224 | FILENAME: InteractHookBlockLocation.java | 0.253861 | package org.cubeville.effects.hooks;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.event.block.Action;
import org.bukkit.event.player.PlayerInteractEvent;
import org.cubeville.effects.managers.Effect;
import org.cubeville.effects.managers.EffectWithLocation;
public class InteractHookBlockLocation... |
68908d85-992e-4369-8374-c60ba182dcd4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-03-15T00:43:17", "repo_name": "cayton10/country_info", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1018, "line_count": 24, "lang": "en", "doc_type": "text", "blo... | https://github.com/cayton10/country_info | 225 | FILENAME: README.md | 0.233706 | # country_info
Displays information about a selected country (currency, population, and flag) using REST API: https://restcountries.eu/
<hr>
# Netlify Hosted Demo
You can find a test demo here: https://quizzical-raman-bd1134.netlify.com/
# Currency conversion
I added a simple currency conversion API call in order... |
e7d2abc3-aa9e-459d-962c-0d2a169a2d81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-03 08:02:33", "repo_name": "wgoodey/appointmentScheduler", "sub_path": "/src/model/Contact.java", "file_name": "Contact.java", "file_ext": "java", "file_size_in_byte": 1177, "line_count": 61, "lang": "en", "do... | https://github.com/wgoodey/appointmentScheduler | 284 | FILENAME: Contact.java | 0.267408 | package model;
/**
* @author Whitney Goodey
* @version 1.0
* @since 1.0
* <p>
* The Contact class defines the Contact object.
*/
public class Contact {
/**
* The contact's ID.
*/
private final int contactID;
/**
* The contact's name.
*/
private final String name;
/**
... |
95e15253-e0bf-463b-b48f-2795106ec5ac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-08 20:18:44", "repo_name": "basedaolib/projeto-integrador", "sub_path": "/Projeto-Integrador-IV/src/main/java/br/com/belaAgenda/infra/resourceBundle/MessageProviderImpl.java", "file_name": "MessageProviderImpl... | https://github.com/basedaolib/projeto-integrador | 207 | FILENAME: MessageProviderImpl.java | 0.280616 | package br.com.belaAgenda.infra.resourceBundle;
import java.util.ResourceBundle;
import javax.faces.context.FacesContext;
import javax.inject.Named;
@Named
public class MessageProviderImpl implements MessageProvider{
private static final long serialVersionUID = -852715624365556741L;
public Resource... |
e18a3c45-f2fe-41ad-a0c8-eb497591e9f7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-09 00:51:44", "repo_name": "beckham617/SSH_practice", "sub_path": "/Struts2Demo/src/tutorial/model/Book.java", "file_name": "Book.java", "file_ext": "java", "file_size_in_byte": 701, "line_count": 52, "lang": ... | https://github.com/beckham617/SSH_practice | 296 | FILENAME: Book.java | 0.291787 | /* @(#)Book.java v0.9 2008-7-28 下午01:59:43
*
* 本程序(包括源代码和二进制码)的知识产权(包括但不限于著作权、专利申请权、商标权、专有技术)的所有权、使用权、
* 转让权以及收益等一切权利均属于ISoftStone所有。
* Copyright(c) ISoftStone Informaion Service Co.Ltd,2001 - 2008
* ==============================================================================================================*/
... |
2ba6dc7b-c699-4aba-83cd-7759b19a8e7d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-16 01:40:12", "repo_name": "Y52/mpDataBS", "sub_path": "/src/main/java/com/example/mpdatabs/controller/TagBaseController.java", "file_name": "TagBaseController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Y52/mpDataBS | 251 | FILENAME: TagBaseController.java | 0.264358 | package com.example.mpdatabs.controller;
import com.example.mpdatabs.dto.TagMsg;
import com.example.mpdatabs.entity.TagMsgDO;
import com.example.mpdatabs.response.ResultBean;
import com.example.mpdatabs.service.ITagBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.w... |
d1709726-f0f8-4586-bd3b-9b20c1fdda95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-05 09:25:03", "repo_name": "tokenmore/neo4j-starter", "sub_path": "/src/main/java/com/qt/neo4j/entitiy/Employee.java", "file_name": "Employee.java", "file_ext": "java", "file_size_in_byte": 1025, "line_count":... | https://github.com/tokenmore/neo4j-starter | 242 | FILENAME: Employee.java | 0.242206 | package com.qt.neo4j.entitiy;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Relationship;
import java.util.List;
/**
* 业务员实体
*/
@NodeEntity
public class Employee extends BaseNode{
private String empId;
@Relationship(type = "业务归属于",direction = Relationship.INCOMING)
priv... |
05714778-51e5-41a5-ada0-ceba05508765 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-29 16:29:40", "repo_name": "CrostRomm/relacionUnoAUno", "sub_path": "/RelacionUnoAUno/RelacionUnoAUno-ejb/src/main/java/Controllers/CuentaFacade.java", "file_name": "CuentaFacade.java", "file_ext": "java", "fi... | https://github.com/CrostRomm/relacionUnoAUno | 220 | FILENAME: CuentaFacade.java | 0.276691 | /*
* 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 Controllers;
import Default.AbstractFacade;
import Intefaces.CuentaFacadeLocal;
import Entity.Cuenta;
import Entity.... |
85524ff8-7d7d-4741-be64-16c045bf5ef4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-07 08:51:06", "repo_name": "kevinqianjiawen/transaction_code", "sub_path": "/function/fun_corp_chk_idcard.java", "file_name": "fun_corp_chk_idcard.java", "file_ext": "java", "file_size_in_byte": 1039, "line_co... | https://github.com/kevinqianjiawen/transaction_code | 270 | FILENAME: fun_corp_chk_idcard.java | 0.292595 | public boolean fun_corp_chk_idcard(String vertifyValue,String ...args){
String pluf40_name_1 = this.curTranSession.getVariableList().getValue("pluf40_name_1");
String puf18_ID_card_2 = this.curTranSession.getVariableList().getValue("puf18_ID_card_2");
int len;
int len1;
boolean ret;
... |
06a7fe10-2ccd-4e22-bb81-f60bfc948c40 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-25 11:39:39", "repo_name": "ghspark/militaryforce", "sub_path": "/MilitaryForce/app/src/main/java/com/gh/app/militaryforce/adapter/NewsFragmentPagerAdapter.java", "file_name": "NewsFragmentPagerAdapter.java", ... | https://github.com/ghspark/militaryforce | 206 | FILENAME: NewsFragmentPagerAdapter.java | 0.252384 | package com.gh.app.militaryforce.adapter;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import com.gh.app.militaryforce.fragment.DomesticFragment;
import java.util.ArrayList;
import java.util.List;
/**
* Created by gaohang... |
f5d14ae3-fb11-4294-b08b-c8d312aa314c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-08-06T14:58:17", "repo_name": "hdinjos/initial-postgres", "sub_path": "/add-new-user/readme.md", "file_name": "readme.md", "file_ext": "md", "file_size_in_byte": 1149, "line_count": 45, "lang": "en", "doc_typ... | https://github.com/hdinjos/initial-postgres | 273 | FILENAME: readme.md | 0.290981 | ## Make new user
Give the username that is already on the your system,
for example. username in home directory is **hdinjos**
before it, login first and use postgres username:
```bash
sudo -iu postgres
```
command to add user to postgresql:
```bash
createuser --interactive --pwprompt
```
than fill **Enter name o... |
29a4c52d-66ea-4fdd-9b1e-cda947b75d9b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-25 22:55:26", "repo_name": "pigrick/springboot-gameguide", "sub_path": "/spring-boot-ggfrontend/src/main/java/com/pigrick/springbootggfrontend/config/SoapConfig.java", "file_name": "SoapConfig.java", "file_ext... | https://github.com/pigrick/springboot-gameguide | 215 | FILENAME: SoapConfig.java | 0.245085 | package com.pigrick.springbootggfrontend.config;
import com.pigrick.springbootggfrontend.soupclient.GameClient;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.oxm.jaxb... |
37f452e7-d424-48f5-a139-4ba3cff636a8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-09-19T13:31:47", "repo_name": "ZhouNJ/AndroidNDK", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1057, "line_count": 26, "lang": "en", "doc_type": "text", "blob_id... | https://github.com/ZhouNJ/AndroidNDK | 294 | FILENAME: README.md | 0.271252 | # AndroidNDK
Learn to use c++ code in android
//task 1: openface draw threshold form an image
1 clone openface c++ library from https://github.com/aybassiouny/OpenFaceCpp.git
2 build c++ project
1 install cmake
1 add cmake bin path to environment variant Path
2 proxy setting in envrionment variants... |
558c8dfc-42ca-4658-8626-c265d182d394 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-05-27 00:46:24", "repo_name": "DiegoMMR/Bancopoli", "sub_path": "/src/src/Creacion.java", "file_name": "Creacion.java", "file_ext": "java", "file_size_in_byte": 1179, "line_count": 60, "lang": "en", "doc_type": "... | https://github.com/DiegoMMR/Bancopoli | 260 | FILENAME: Creacion.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 src;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
/**
*
* @author dieez
*/
publ... |
96811164-4ba9-415c-b4e4-f2bea1b2a91b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-03-23 15:05:00", "repo_name": "tiandawu/ImageLoader", "sub_path": "/app/src/main/java/com/tiandawu/imageloader/cache/MemoryCache.java", "file_name": "MemoryCache.java", "file_ext": "java", "file_size_in_byte": 10... | https://github.com/tiandawu/ImageLoader | 241 | FILENAME: MemoryCache.java | 0.288569 | package com.tiandawu.imageloader.cache;
import android.graphics.Bitmap;
import android.util.LruCache;
import com.tiandawu.imageloader.request.BitmapRequest;
/**
* Created by tiandawu on 2017/3/13.
*/
public class MemoryCache implements BitmapCache {
private LruCache<String, Bitmap> mLruCache;
public Mem... |
83352dbe-2959-49e1-a90e-85bae35c57f0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-05 10:17:04", "repo_name": "sashikab85/monitoring-system", "sub_path": "/src/main/java/com/matific/repository/TokenRepository.java", "file_name": "TokenRepository.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/sashikab85/monitoring-system | 221 | FILENAME: TokenRepository.java | 0.274351 | package com.matific.repository;
import com.matific.entity.TokenEntity;
import com.matific.model.SystemUsage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repo... |
a00797de-adb0-4e4e-a14e-12e74c3a9d0d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-07 08:33:16", "repo_name": "sa-mamun/Android-Code", "sub_path": "/ButtonTest/app/src/main/java/fooddelivery/com/buttontest/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_i... | https://github.com/sa-mamun/Android-Code | 165 | FILENAME: MainActivity.java | 0.229535 | package fooddelivery.com.buttontest;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class MainActivity extends AppCompatActivity {
... |
79589886-04d7-46d7-95e4-91f0fc42a6de | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-08 11:47:04", "repo_name": "zzzliyang/koi", "sub_path": "/src/main/java/com/yuzu/koi/data/DrinkOrder.java", "file_name": "DrinkOrder.java", "file_ext": "java", "file_size_in_byte": 1014, "line_count": 47, "lan... | https://github.com/zzzliyang/koi | 218 | FILENAME: DrinkOrder.java | 0.271252 | package com.yuzu.koi.data;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Entity
public class DrinkOrder extends BaseEntity {
@ManyToOne(fetch=FetchType.LAZY)
@JoinColumn(name="customer_id")
private Customer customer;
@OneToMany(cascade = Casca... |
a72bc99b-06cd-4644-83fb-871f0ff1d6b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-07 06:53:42", "repo_name": "vasil211/restaurant", "sub_path": "/src/com/restaurant/controller/CookOrders.java", "file_name": "CookOrders.java", "file_ext": "java", "file_size_in_byte": 1177, "line_count": 44, ... | https://github.com/vasil211/restaurant | 228 | FILENAME: CookOrders.java | 0.280616 | package com.restaurant.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.restaurant.dao.MenuDao;
publ... |
5c7c1e94-9825-4f9b-8189-d5e03e5b52d4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-02-27 13:14:02", "repo_name": "anonisystem/option", "sub_path": "/src/main/java/cl/option/app/service/impl/EmailServiceImpl.java", "file_name": "EmailServiceImpl.java", "file_ext": "java", "file_size_in_byte": 98... | https://github.com/anonisystem/option | 184 | FILENAME: EmailServiceImpl.java | 0.229535 | package cl.option.app.service.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.stereotype.Service;
import cl.option.app.service.EmailService;
import cl.op... |
55593424-7054-4d9c-befb-8394b0c91040 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-23 07:20:09", "repo_name": "LiangXuChang/JieKeTang", "sub_path": "/src/main/java/com/school/controller/LessionController.java", "file_name": "LessionController.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/LiangXuChang/JieKeTang | 236 | FILENAME: LessionController.java | 0.256832 | package com.school.controller;
import com.school.dataobject.Lession;
import com.school.dataobject.Result;
import com.school.service.LessionService;
import com.school.utils.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
impor... |
2948f210-64b3-4c75-83ad-ac838075fb03 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-23 08:44:08", "repo_name": "leonyxb/chinese-character-test", "sub_path": "/src/main/java/com/xubo/data/book/common/InMemoryLesson.java", "file_name": "InMemoryLesson.java", "file_ext": "java", "file_size_in_by... | https://github.com/leonyxb/chinese-character-test | 203 | FILENAME: InMemoryLesson.java | 0.243642 | package com.xubo.data.book.common;
import com.xubo.data.book.Book;
import com.xubo.data.book.Lesson;
import com.xubo.data.character.Character;
import java.util.List;
import java.util.stream.Collectors;
public class InMemoryLesson implements Lesson {
private String title;
private List<Character> characters;
... |
90da0961-2634-4a88-afc9-563743aef59b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-14 03:22:57", "repo_name": "tflgithub/Tinksimple", "sub_path": "/app/src/main/java/com/cn/tink/simpledemo/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 1152, "line_count": 40... | https://github.com/tflgithub/Tinksimple | 218 | FILENAME: Utils.java | 0.261331 | package com.cn.tink.simpledemo;
import android.content.Context;
import android.content.res.AssetManager;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Lis... |
4b9dbe72-7c93-4b0f-8320-b434feb271ea | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-31 16:43:14", "repo_name": "AyeChanAungThwin/HibernateOneToManyRs", "sub_path": "/src/main/java/acat/hibernate/dto/LaptopDto.java", "file_name": "LaptopDto.java", "file_ext": "java", "file_size_in_byte": 976, ... | https://github.com/AyeChanAungThwin/HibernateOneToManyRs | 223 | FILENAME: LaptopDto.java | 0.236516 | package acat.hibernate.dto;
import java.io.Serializable;
import acat.hibernate.entity.BaseEntity;
import acat.hibernate.entity.Laptop;
import acat.hibernate.entity.Person;
public class LaptopDto extends BaseEntity<Long> implements Serializable {
/**
*
*/
private static final long serialVersionUID = -21427122... |
e33d13f5-c88a-44e9-a2cf-cc0614abed95 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-27 07:17:27", "repo_name": "damian-piasecki/Practice", "sub_path": "/GenericsChallenge/src/com/company/League.java", "file_name": "League.java", "file_ext": "java", "file_size_in_byte": 1001, "line_count": 43,... | https://github.com/damian-piasecki/Practice | 205 | FILENAME: League.java | 0.286169 | package com.company;
import java.util.ArrayList;
import java.util.Collections;
public class League<T extends Team> {
String leagueName;
ArrayList<T> teams = new ArrayList<>();
public League(String leagueName) {
this.leagueName = leagueName;
}
public void addTeam(T team){
if(team... |
194d2f3f-511e-4b1d-ab38-d161bd42d18c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-29 07:47:45", "repo_name": "Eosod/Study-one", "sub_path": "/专业三月考/src/com/bw/util/BaseDao.java", "file_name": "BaseDao.java", "file_ext": "java", "file_size_in_byte": 1177, "line_count": 47, "lang": "en", "doc... | https://github.com/Eosod/Study-one | 222 | FILENAME: BaseDao.java | 0.275909 | package com.bw.util;
import java.sql.*;
public class BaseDao {
public static String driver = "com.mysql.jdbc.Driver";
public static String url = "jdbc:mysql://localhost:3306/ex";
public static String name = "root";
public static String password = "123";
static {
try {
... |
1454c658-73f7-4b73-957f-442643c9e8c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-26 21:53:23", "repo_name": "nagarjunaboddu/guestbook", "sub_path": "/src/main/java/com/galvanize/guestbook/service/GuestBookServiceImpl.java", "file_name": "GuestBookServiceImpl.java", "file_ext": "java", "fil... | https://github.com/nagarjunaboddu/guestbook | 213 | FILENAME: GuestBookServiceImpl.java | 0.23793 | package com.galvanize.guestbook.service;
import com.galvanize.guestbook.exception.APIException;
import com.galvanize.guestbook.model.GuestEntry;
import com.galvanize.guestbook.repository.GuestBookRepository;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class GuestBookServiceI... |
ea27c692-97ec-42b9-b4a5-d8f7b843d106 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-28 21:08:50", "repo_name": "matutet/ghc-2019", "sub_path": "/src/main/java/es/keensoft/ghc2019/model/Photo.java", "file_name": "Photo.java", "file_ext": "java", "file_size_in_byte": 1113, "line_count": 53, "la... | https://github.com/matutet/ghc-2019 | 263 | FILENAME: Photo.java | 0.282988 | package es.keensoft.ghc2019.model;
import java.util.HashSet;
import java.util.Set;
public class Photo {
private int id;
private Orientation orientation;
private Set<String> tags = new HashSet<String>();
public Photo(int id, String[] lineContent) {
this.id = id;
this.orientation = Orientation.valu... |
fc0010a6-b6c2-4730-8cb5-761db3a7bf28 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-18 07:52:59", "repo_name": "YohooShop/back-end", "sub_path": "/mall-portal/src/main/java/com/yoooho/mall/controller/PmsStoreController.java", "file_name": "PmsStoreController.java", "file_ext": "java", "file_s... | https://github.com/YohooShop/back-end | 248 | FILENAME: PmsStoreController.java | 0.240775 | package com.yoooho.mall.controller;
import com.yoooho.mall.common.CommonResult;
import com.yoooho.mall.common.annotation.AnonymousAccess;
import com.yoooho.mall.model.PmsStore;
import com.yoooho.mall.service.PmsStoreService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotatio... |
2d53309d-6dfc-4cca-af62-eaf6dafec44c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-28 15:24:18", "repo_name": "liuxc1/microboot", "sub_path": "/microboot-error/src/main/java/com/lxc/intro/microboot/error/util/GlobExceptionHandler.java", "file_name": "GlobExceptionHandler.java", "file_ext": "... | https://github.com/liuxc1/microboot | 223 | FILENAME: GlobExceptionHandler.java | 0.264358 | package com.lxc.intro.microboot.error.util;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.Re... |
4f1acd28-c6fb-436a-8f88-5d205e0d7235 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-12-20T10:32:45", "repo_name": "rivasalvarez/My-Graphics", "sub_path": "/Team Projects/PA10/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1069, "line_count": 46, "lang": "en", "d... | https://github.com/rivasalvarez/My-Graphics | 215 | FILENAME: README.md | 0.247987 | Programming Assignment 10
=========================
Team Members
------------
Marco Rivas, Martin Revilla, Truman Chan
Description
-----------
The purpose of this assignment is to create a program that applies 4 lighting types to a single model. To accomplish this you will be using shaders and the Phong Model to appl... |
99e4ce40-8351-44ed-aff5-c2566a6b8c7b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-23 15:57:07", "repo_name": "dc13185/TimeBlog", "sub_path": "/time-admin/src/main/java/com/timeblog/admin/config/view/DefaultViewConfig.java", "file_name": "DefaultViewConfig.java", "file_ext": "java", "file_si... | https://github.com/dc13185/TimeBlog | 250 | FILENAME: DefaultViewConfig.java | 0.2227 | package com.timeblog.admin.config.view;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.ViewControllerRegist... |
82b49354-c9b1-4109-8a1d-5ca97e03744f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 15:39:00", "repo_name": "lishanghan/easyAuto", "sub_path": "/src/main/java/com/haier/util/ResultUtil.java", "file_name": "ResultUtil.java", "file_ext": "java", "file_size_in_byte": 1150, "line_count": 46, "... | https://github.com/lishanghan/easyAuto | 257 | FILENAME: ResultUtil.java | 0.23793 | package com.haier.util;
import com.haier.enums.StatusCodeEnum;
import com.haier.response.Result;
/**
* @Description:
* @Author: luqiwei
* @Date: 2018/5/18 9:09
*/
public class ResultUtil {
//需要出参的,传入返回体出参
public static <T> Result success(T t) {
Result result = new Result();
result.setStatu... |
3cd09a1e-49ff-4fa4-b895-d0f8c04f3b81 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-10-10 13:01:37", "repo_name": "lancefreestyle/erpservice", "sub_path": "/erp-domain/src/main/java/com/capgemini/cn/erp/domain/SysModule.java", "file_name": "SysModule.java", "file_ext": "java", "file_size_in_byte... | https://github.com/lancefreestyle/erpservice | 259 | FILENAME: SysModule.java | 0.253861 | package com.capgemini.cn.erp.domain;
import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
/**
* The persistent class for the sys_module database table.
*
*/
@Entity
@Table(name="sys_module")
@NamedQuery(name="SysModule.findAll", query="SELECT s FROM SysModule s")
public class SysModule ... |
7e6a2a29-d733-40af-bb48-5724f83296a2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-21 12:22:10", "repo_name": "AleSpero/android-tablet-smarthome-interface", "sub_path": "/feedbackApp/app/src/main/java/com/alesp/feedbackapp/SplashActivity.java", "file_name": "SplashActivity.java", "file_ext":... | https://github.com/AleSpero/android-tablet-smarthome-interface | 197 | FILENAME: SplashActivity.java | 0.216012 | package com.alesp.feedbackapp;
import android.app.Activity;
import android.content.Intent;
import android.os.Handler;
import android.os.Bundle;
import android.widget.TextView;
import com.wang.avi.AVLoadingIndicatorView;
public class SplashActivity extends Activity {
//Definisco variabili
TextView title;
... |
f4d837fa-2585-4dd9-84de-7eb564da23cd | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-05 07:43:10", "repo_name": "sagersmith8/image_tracker", "sub_path": "/src/test/java/csci432/util/ImageUtilTest.java", "file_name": "ImageUtilTest.java", "file_ext": "java", "file_size_in_byte": 975, "line_coun... | https://github.com/sagersmith8/image_tracker | 211 | FILENAME: ImageUtilTest.java | 0.29584 | package csci432.util;
import org.junit.Test;
import java.awt.image.BufferedImage;
import java.io.File;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.notNullValue;
public class ImageUtilTest... |
34246cdd-3118-4646-83d9-c18dac6ebebe | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-26 09:48:55", "repo_name": "lantier743865/MyHotfix", "sub_path": "/Study-Hotfix/src/main/java/xuanli/hbdx/xj/tvjoy/cn/study_hotfix/acitivty/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "ja... | https://github.com/lantier743865/MyHotfix | 236 | FILENAME: MainActivity.java | 0.285372 | package xuanli.hbdx.xj.tvjoy.cn.study_hotfix.acitivty;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;
import xuanli.hbdx.xj.tvjoy.cn.study_hotfix.R;
import xuanli.hbdx.xj.tvjoy.cn.study_hotfix.be... |
4891864b-72bf-4e04-acd4-fd40ea181f4e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-30 09:50:47", "repo_name": "Hlev1/Scrimmage", "sub_path": "/src/main/java/shared/gameObjects/objects/hazard/Spikes.java", "file_name": "Spikes.java", "file_ext": "java", "file_size_in_byte": 1093, "line_count"... | https://github.com/Hlev1/Scrimmage | 249 | FILENAME: Spikes.java | 0.267408 | package shared.gameObjects.objects.hazard;
import java.util.UUID;
import shared.gameObjects.Destructable;
import shared.gameObjects.GameObject;
import shared.gameObjects.Utils.ObjectType;
import shared.gameObjects.components.BoxCollider;
import shared.gameObjects.components.Rigidbody;
import shared.physics.data.Collis... |
2d9d6ba0-132d-4306-87d3-cd593683503b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-10-15T22:07:23", "repo_name": "buzz1n6m4xx/phonenumber.validator", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1089, "line_count": 27, "lang": "en", "doc_type": ... | https://github.com/buzz1n6m4xx/phonenumber.validator | 225 | FILENAME: README.md | 0.292595 | # phonenumber.validator
Phone Number Validator
**********************
This program validates international phone numbers by using a Python port of
Google's libphonenumber library:
https://github.com/daviddrysdale/python-phonenumbers
https://github.com/google/libphonenumber
Functions:
• parse - parses input phone n... |
6c918156-4203-4db0-a072-2dc58bf9830b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-14 09:10:34", "repo_name": "rkgarg22/OLU_Android", "sub_path": "/app/src/main/java/com/tucan/olu/MisActivity.java", "file_name": "MisActivity.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count":... | https://github.com/rkgarg22/OLU_Android | 205 | FILENAME: MisActivity.java | 0.196826 | package com.tucan.olu;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class MisActivity extends GenricActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... |
c1d405a5-cd82-45ea-be89-5c438c04b7e0 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-02 09:16:00", "repo_name": "FarshidRoohi/CustomToast", "sub_path": "/toast/src/main/java/com/zarinpal/libs/toast/BaseToast.java", "file_name": "BaseToast.java", "file_ext": "java", "file_size_in_byte": 1177, "... | https://github.com/FarshidRoohi/CustomToast | 232 | FILENAME: BaseToast.java | 0.288569 | package com.zarinpal.libs.toast;
import android.content.Context;
import android.support.annotation.ColorInt;
import android.support.annotation.DrawableRes;
import android.support.annotation.LayoutRes;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Toast;
/**
* Base Toast Created ... |
3bed0eb6-cb36-45d4-ac4f-0bb5005cbc49 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-07-16T06:18:29", "repo_name": "k3lv1nd/BMS---Apiato-project", "sub_path": "/docs/_docs/features/admin-dashboard.md", "file_name": "admin-dashboard.md", "file_ext": "md", "file_size_in_byte": 1024, "line_count... | https://github.com/k3lv1nd/BMS---Apiato-project | 239 | FILENAME: admin-dashboard.md | 0.220007 | ---
title: "Admin Dashboard"
category: "Features"
order: 110
---
- [The provided Admin route](#the-provided-admin-route)
- [How it works](#how-it-works)
- [Change default Admin credentials](#change-default-admin-credentials)
<br>
<br>
*Apiato does not recommend serving HTML pages. Instead you should build your own ... |
1bbea4db-ba45-4667-b060-28707c10aea5 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-08-31 06:21:50", "repo_name": "Choreman/blog", "sub_path": "/src/main/java/com/doing/blog/service/impl/ArticleServiceImpl.java", "file_name": "ArticleServiceImpl.java", "file_ext": "java", "file_size_in_byte": 11... | https://github.com/Choreman/blog | 219 | FILENAME: ArticleServiceImpl.java | 0.284576 | package com.doing.blog.service.impl;
import com.doing.blog.mapper.ArticleMapper;
import com.doing.blog.model.Article;
import com.doing.blog.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List... |
9d3b682d-7228-4392-8de6-002e522dea1f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-08-14 05:55:38", "repo_name": "hazelcast/hazelcast-code-samples", "sub_path": "/jcache/src/main/java/com/hazelcast/examples/jcache/client/ClusterGroup.java", "file_name": "ClusterGroup.java", "file_ext": "java", ... | https://github.com/hazelcast/hazelcast-code-samples | 261 | FILENAME: ClusterGroup.java | 0.26971 | package com.hazelcast.examples.jcache.client;
import com.hazelcast.config.Config;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.examples.AbstractApp;
/**
* Server cluster required for the clients to connect
*/
public class ClusterGroup extends AbstractApp {
public static void main(String[] args) {
... |
11f2cdab-c5bd-4e4e-94d2-5d3dd30eabac | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-24 03:32:33", "repo_name": "cqdjyhj/spring-boot-parent", "sub_path": "/ch3/src/main/java/com/hongjun/ch3/scheduled/ScheduledTaskservice.java", "file_name": "ScheduledTaskservice.java", "file_ext": "java", "fil... | https://github.com/cqdjyhj/spring-boot-parent | 225 | FILENAME: ScheduledTaskservice.java | 0.29584 | /*
* 四川生学教育科技有限公司
* Copyright (c) 2015-2025 Founder Ltd. All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Founder. You shall not disclose such Confidential Information
* and shall use it only in accordance with the terms of the agreements
* you entered into with Founder... |
1f240b4c-a652-42de-b04b-11468f349ad7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-11 09:46:51", "repo_name": "fansenHuang/demo", "sub_path": "/src/main/java/com/activemq/controller/ActiveMqController.java", "file_name": "ActiveMqController.java", "file_ext": "java", "file_size_in_byte": 102... | https://github.com/fansenHuang/demo | 182 | FILENAME: ActiveMqController.java | 0.228156 | package com.activemq.controller;
import javax.jms.Queue;
import javax.jms.Topic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation... |
53ddd23b-2f35-4d57-8b3b-8c90b5b78e22 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-25 07:06:42", "repo_name": "dingmeikun/plugins", "sub_path": "/ltts-shell-plugin/src/main/java/cn/odc/shell/util/StringUtil.java", "file_name": "StringUtil.java", "file_ext": "java", "file_size_in_byte": 1100,... | https://github.com/dingmeikun/plugins | 229 | FILENAME: StringUtil.java | 0.279042 | package cn.odc.shell.util;
import cn.odc.shell.replacer.Replacement;
public class StringUtil {
private static final String EMPTY = "";
public static String replace(String content, Replacement replacement)
{
return replaceNonRegex(content, replacement.getToken(), replacement.getValue());
}
... |
942bf205-0e66-4229-9f07-c3856bde474b | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-03-24 04:29:19", "repo_name": "chenay/AndroidCommon", "sub_path": "/common/src/main/java/com/chenay/common/desgin/layout/NoScrollViewPager.java", "file_name": "NoScrollViewPager.java", "file_ext": "java", "file_s... | https://github.com/chenay/AndroidCommon | 240 | FILENAME: NoScrollViewPager.java | 0.233706 | package com.chenay.common.desgin.layout;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.view.MotionEvent;
/**
* @author Y.Ch... |
7f72f7b6-390a-4bdc-87f7-5bd95a9219c7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-21 19:13:39", "repo_name": "belletarde/Listing", "sub_path": "/app/src/main/java/com/example/kein_gold/menutest/api/service/ArticleService.java", "file_name": "ArticleService.java", "file_ext": "java", "file_s... | https://github.com/belletarde/Listing | 225 | FILENAME: ArticleService.java | 0.261331 | package com.example.kein_gold.menutest.api.service;
import android.util.Log;
import com.example.kein_gold.menutest.api.RetrofitInitializer;
import com.example.kein_gold.menutest.model.ArticleDetail;
import com.example.kein_gold.menutest.model.ResponseArticlePagination;
import com.example.kein_gold.menutest.utils.RxFu... |
d9afd021-a878-4210-a19d-9b9e6bee64c4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-26 12:26:30", "repo_name": "seedtronic/doctalk", "sub_path": "/src/java/Dao/DaoClinica.java", "file_name": "DaoClinica.java", "file_ext": "java", "file_size_in_byte": 1015, "line_count": 42, "lang": "en", "doc... | https://github.com/seedtronic/doctalk | 216 | FILENAME: DaoClinica.java | 0.262842 | /*
* 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 Dao;
import java.util.ArrayList;
import java.util.List;
import model.Clinica;
/**
*
* @author fjunger
*/
pu... |
d85ce8f1-df71-4d66-b01c-4891a08af1e9 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2022-07-08T05:27:57", "repo_name": "coldinfire/SmallFire", "sub_path": "/content/posts/WEB_H5_Layout.md", "file_name": "WEB_H5_Layout.md", "file_ext": "md", "file_size_in_byte": 2405, "line_count": 76, "lang": "zh... | https://github.com/coldinfire/SmallFire | 584 | FILENAME: WEB_H5_Layout.md | 0.280616 | ---
title: " Web 页面布局 "
date: 2017-09-09
draft: false
author: Small Fire
isCJKLanguage: true
categories:
- 前端
tags:
- HTML
---
### 语义化标签

`<header>`:页眉,是简介形式的内容。
- 如果它是 body 的子元素,那么就是网站的全局页眉
- 如果它是 article 或section 的子元素,那么它是这些部分特有的页眉
`<nav>`:包含页面主导航功能。其中不应包含... |
6b0b7392-3686-4765-9df8-f06c1a24a413 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-24 17:13:26", "repo_name": "creichlin/dime2", "sub_path": "/core/src/main/java/ch/kerbtier/dime2/admin/model/ConfirmDialog.java", "file_name": "ConfirmDialog.java", "file_ext": "java", "file_size_in_byte": 117... | https://github.com/creichlin/dime2 | 270 | FILENAME: ConfirmDialog.java | 0.272025 | package ch.kerbtier.dime2.admin.model;
import ch.kerbtier.dime2.admin.AdminRoot;
import ch.kerbtier.esdi.Inject;
import ch.kerbtier.struwwel.Observable;
import ch.kerbtier.webb.di.InjectSession;
@Inject
public class ConfirmDialog extends Dialog {
@InjectSession
private AdminRoot adminRoot;
private Label mes... |
cf174332-b4b6-46b5-81ff-135608171612 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-02 04:02:28", "repo_name": "singularity-bit/univ", "sub_path": "/PJ/AWSMApp/src/app/services/prototype/Product.java", "file_name": "Product.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 42... | https://github.com/singularity-bit/univ | 205 | FILENAME: Product.java | 0.26588 | package app.services.prototype;
public abstract class Product {
public int id;
public int categoryId;
public String categoryName;
public String name;
public int amount;
public int price;
public Boolean paid;
public String date;
public String image;
public Product(
... |
0d003b0a-101c-4860-936c-ca31f16a418f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-24 20:05:30", "repo_name": "Artamm/Practice", "sub_path": "/Desktop Library/code/src/main/java/Data/list_Reviews.java", "file_name": "list_Reviews.java", "file_ext": "java", "file_size_in_byte": 1028, "line_co... | https://github.com/Artamm/Practice | 212 | FILENAME: list_Reviews.java | 0.288569 | package Data;
import java.util.ArrayList;
import java.util.List;
public class list_Reviews {
public List<Review> positive_reviews= new ArrayList<Review>();
public List<Review> negative_reviews= new ArrayList<Review>();
public List<Review> neutral_reviews= new ArrayList<Review>();
public List<Review>... |
2b4b363c-440a-4c58-90cd-682352f3697d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-28 12:22:26", "repo_name": "chenyanming123/luckcome", "sub_path": "/data-web/src/main/java/com/luck/dataWeb/controller/AppBaseIncomeController.java", "file_name": "AppBaseIncomeController.java", "file_ext": "j... | https://github.com/chenyanming123/luckcome | 229 | FILENAME: AppBaseIncomeController.java | 0.253861 | package com.luck.dataWeb.controller;
import com.luck.dataEntity.AppBaseIncome;
import com.luck.dataService.service.AppBaseIncomeService;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.an... |
f69230aa-cefb-47d5-b97c-cb394d94e6b2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-11 21:04:10", "repo_name": "uiop860/ChatProgramFlow2", "sub_path": "/src/main/java/client/ServerReader.java", "file_name": "ServerReader.java", "file_ext": "java", "file_size_in_byte": 1075, "line_count": 37, ... | https://github.com/uiop860/ChatProgramFlow2 | 184 | FILENAME: ServerReader.java | 0.261331 | package client;
import java.io.InputStream;
import java.util.NoSuchElementException;
import java.util.Scanner;
public class ServerReader implements Runnable {
Scanner scanner;
public ServerReader(InputStream inputStream) {
this.scanner = new Scanner(inputStream);
}
@Override
public void... |
22e01302-7342-4c1e-9b5a-9e692cdf59ca | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-05-06 06:52:21", "repo_name": "raika11/-", "sub_path": "/moka-core/moka-core-tps/src/main/java/jmnet/moka/core/tps/mvc/articlesource/dto/ArticleSourceSearchDTO.java", "file_name": "ArticleSourceSearchDTO.java", "... | https://github.com/raika11/- | 285 | FILENAME: ArticleSourceSearchDTO.java | 0.27513 | /*
* Copyright (c) 2017 Joongang Ilbo, Inc. All rights reserved.
*/
package jmnet.moka.core.tps.mvc.articlesource.dto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jmnet.moka.common.data.support.SearchDTO... |
848c2800-ee60-4095-a2d2-8062c8ebfc8a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-05-30 01:25:55", "repo_name": "ConnectSDK/Connect-SDK-Android-Core", "sub_path": "/src/com/connectsdk/service/webos/lgcast/common/utils/TimerUtil.java", "file_name": "TimerUtil.java", "file_ext": "java", "file_si... | https://github.com/ConnectSDK/Connect-SDK-Android-Core | 208 | FILENAME: TimerUtil.java | 0.286169 | /*
* Copyright (c) 2020 LG Electronics Inc.
* SPDX-License-Identifier: LicenseRef-LGE-Proprietary
*/
package com.connectsdk.service.webos.lgcast.common.utils;
import java.util.Timer;
import java.util.TimerTask;
public class TimerUtil {
public interface TimerListener {
void onTime();
}
public s... |
80380747-50ec-48c1-9b25-3a77246b3878 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-25 12:35:30", "repo_name": "romciak/Car-Park-Manager", "sub_path": "/carparkmanager-persistence/src/main/java/cz/muni/fi/pa165/carparkmanager/persistence/dao/CarDaoImpl.java", "file_name": "CarDaoImpl.java", "... | https://github.com/romciak/Car-Park-Manager | 228 | FILENAME: CarDaoImpl.java | 0.279042 | package cz.muni.fi.pa165.carparkmanager.persistence.dao;
import cz.muni.fi.pa165.carparkmanager.persistence.entity.Car;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.an... |
7b89ce1c-9e8c-4528-ab41-b325b7cdcaa6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-18 21:08:15", "repo_name": "Lukaszwutkowski/javaAdvanced31", "sub_path": "/src/main/java/pl/sda/advanced/oop1/ExperimentalObject.java", "file_name": "ExperimentalObject.java", "file_ext": "java", "file_size_in... | https://github.com/Lukaszwutkowski/javaAdvanced31 | 232 | FILENAME: ExperimentalObject.java | 0.256832 | package pl.sda.advanced.oop1;
public class ExperimentalObject {
private Integer notFinalImmutable; // Immutable - niezmienne
private final Integer finalImmutable; // Da sie zmienic wartosc nie da sie zmienic referencji
private final TestPerson testPerson;
public ExperimentalObject(Integer notFinalImmu... |
963a9e6a-d414-4b12-9749-cec50bb2fcaa | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-18 01:47:06", "repo_name": "wencongcong/zcw", "sub_path": "/service/src/main/java/com/service/service/impl/StreamServiceImpl.java", "file_name": "StreamServiceImpl.java", "file_ext": "java", "file_size_in_byte... | https://github.com/wencongcong/zcw | 192 | FILENAME: StreamServiceImpl.java | 0.271252 | package com.service.service.impl;
import com.service.entity.Stream;
import com.service.mapper.StreamMapper;
import com.service.service.StreamService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
@Service("streamService")
public class St... |
c2c9c026-6557-40f0-b952-019cd29160e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-20 11:28:47", "repo_name": "jenkins-chou/wenda", "sub_path": "/android/app/src/main/java/com/w/wenda/model/EmojiModel.java", "file_name": "EmojiModel.java", "file_ext": "java", "file_size_in_byte": 1112, "line... | https://github.com/jenkins-chou/wenda | 224 | FILENAME: EmojiModel.java | 0.249447 | package com.w.wenda.model;
import java.util.List;
public class EmojiModel {
public List<EmojiItemModel> emoji_list;
public List<EmojiItemModel> getEmoji_list() {
return emoji_list;
}
public void setEmoji_list(List<EmojiItemModel> emoji_list) {
this.emoji_list = emoji_list;
}
... |
0a540747-da5a-4c55-b880-edbed7685824 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-01-25 06:35:50", "repo_name": "joey101937/cardgame1", "sub_path": "/src/Minions/Elemental/GeomancerMinion.java", "file_name": "GeomancerMinion.java", "file_ext": "java", "file_size_in_byte": 983, "line_count": 39... | https://github.com/joey101937/cardgame1 | 224 | FILENAME: GeomancerMinion.java | 0.26588 | /*
* 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 Minions.Elemental;
import Cards.Card;
import Cards.Elemental.StoneGolemCard;
import Minions.Minion;
import cardgame1... |
0ab9837c-4218-4229-8880-eeb1165c6967 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-20 10:46:59", "repo_name": "Khellendroscn/AgriMarket_server", "sub_path": "/src/com/agri/bean/impl/ExhibitionImpl.java", "file_name": "ExhibitionImpl.java", "file_ext": "java", "file_size_in_byte": 1151, "line... | https://github.com/Khellendroscn/AgriMarket_server | 272 | FILENAME: ExhibitionImpl.java | 0.250913 | package com.agri.bean.impl;
import net.khe.db2.annotations.Constraints;
import net.khe.db2.annotations.DBTable;
import net.khe.db2.annotations.SqlDate;
import net.khe.db2.annotations.SqlInt;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;
/**
* Created by hyc on 2017/4/5.
*/
@XmlRootElement... |
5a8b88eb-3c97-43c9-8a1b-66813fbe754c | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-05 06:11:19", "repo_name": "alexwang3322/utils", "sub_path": "/common/AppPersistenceUtils.java", "file_name": "AppPersistenceUtils.java", "file_ext": "java", "file_size_in_byte": 1260, "line_count": 31, "lang"... | https://github.com/alexwang3322/utils | 267 | FILENAME: AppPersistenceUtils.java | 0.295027 |
public class AppPersistenceUtils {
// 在华为荣耀机器上,当应用退到后台(home键),reciver还会收到定时的消息
// alarm cycle a receiver
public static void alarmCycle(Context context) {
AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
PendingIntent pendingIntent = PendingIntent.getBroadcast... |
14fce337-5e1f-4eba-aaeb-fc93de8f8b09 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-02 10:28:59", "repo_name": "00Cmd/TestProject", "sub_path": "/src/main/java/Client.java", "file_name": "Client.java", "file_ext": "java", "file_size_in_byte": 1017, "line_count": 46, "lang": "en", "doc_type": ... | https://github.com/00Cmd/TestProject | 196 | FILENAME: Client.java | 0.229535 |
import com.mongodb.MongoClient;
import java.io.IOException;
import java.net.Socket;
public class Client {
private static Client sClient;
private MongoClient mongoClient;
public static Client getInstance() {
if (sClient == null) {
sClient = new Client();
}
return sCli... |
8f5920c3-f465-4d7e-b316-94cc49373468 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-16 10:15:58", "repo_name": "MichelZuidema/KumbayaAPI", "sub_path": "/src/main/java/com/kumbaya/backendapi/entity/Profession.java", "file_name": "Profession.java", "file_ext": "java", "file_size_in_byte": 1055,... | https://github.com/MichelZuidema/KumbayaAPI | 229 | FILENAME: Profession.java | 0.256832 | package com.kumbaya.backendapi.entity;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Objects;
@Entity
@Table(name = "profession")
@Data
@NoArgsConstructor
public class Professio... |
4d388e27-d391-4264-8594-6cddde3cc3e4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-05-21 08:05:00", "repo_name": "Mysteryzzz/Recruitment-website", "sub_path": "/src/main/java/com/cn/company/controller/CompanyHrInfoController.java", "file_name": "CompanyHrInfoController.java", "file_ext": "java"... | https://github.com/Mysteryzzz/Recruitment-website | 244 | FILENAME: CompanyHrInfoController.java | 0.243642 | package com.cn.company.controller;
import com.cn.company.service.CompanyHrInfoService;
import com.cn.controller.BaseController;
import com.cn.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.Post... |
29e5fd2e-f5f4-4799-906f-9361b28ebebb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-27 20:24:22", "repo_name": "Mariusz94/FacebookWeb", "sub_path": "/src/main/java/pl/lyszczarzmariusz/FacebookWeb/models/UserModel.java", "file_name": "UserModel.java", "file_ext": "java", "file_size_in_byte": 1... | https://github.com/Mariusz94/FacebookWeb | 230 | FILENAME: UserModel.java | 0.26588 | package pl.lyszczarzmariusz.FacebookWeb.models;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.springframework.data.annotation.CreatedDate;
import pl.lyszczarzmariusz.FacebookWeb.models.forms.RegisterForm;
import javax.persistence.*;
import java.sql.Timestamp;
@Entity
@Table(name ... |
9f651b65-a7d0-41bc-9220-5566f658e7c2 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-11-04 09:55:24", "repo_name": "scrpio/renren-fast", "sub_path": "/src/main/java/io/renren/modules/generator/service/impl/ProfileServiceImpl.java", "file_name": "ProfileServiceImpl.java", "file_ext": "java", "file... | https://github.com/scrpio/renren-fast | 216 | FILENAME: ProfileServiceImpl.java | 0.27513 | package io.renren.modules.generator.service.impl;
import org.apache.commons.lang.StringUtils;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.e... |
53c97dd0-ecf4-4ffc-bdd1-606e20cd765d | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-04-02 01:32:52", "repo_name": "hongleixia/study-imooc", "sub_path": "/11-spring/11-spring-data/src/test/java/com/myimooc/spring/data/jpa/repository/EmployeeJpaRepositoryTest.java", "file_name": "EmployeeJpaReposi... | https://github.com/hongleixia/study-imooc | 244 | FILENAME: EmployeeJpaRepositoryTest.java | 0.282988 | package com.myimooc.spring.data.jpa.repository;
import com.myimooc.spring.data.jpa.config.SpringConfig;
import com.myimooc.spring.data.jpa.domain.Employee;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.a... |
2952b2b1-6731-4215-8e15-9f7d34767d35 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-31 15:19:33", "repo_name": "samuel2/gestion-stock", "sub_path": "/src/main/java/com/cami/persistence/model/Categorie.java", "file_name": "Categorie.java", "file_ext": "java", "file_size_in_byte": 984, "line_co... | https://github.com/samuel2/gestion-stock | 221 | FILENAME: Categorie.java | 0.2227 | /*
* 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.cami.persistence.model;
import java.util.List;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import... |
996ffcc1-a18a-4bfe-8ec3-dc3b9143cca6 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-12-06 11:18:35", "repo_name": "borysbulhakov/testSelenium", "sub_path": "/src/test/java/TestSelenium.java", "file_name": "TestSelenium.java", "file_ext": "java", "file_size_in_byte": 1006, "line_count": 30, "lang... | https://github.com/borysbulhakov/testSelenium | 181 | FILENAME: TestSelenium.java | 0.282988 | import constants.Constants;
import org.openqa.selenium.WebDriver;
import org.testng.Assert;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import pageObject.GoogleSearchPageMain;
import java.net.MalformedURLException;
public class TestSelenium {
static GoogleSearchPageMain googleMa... |
069778c2-689c-4d67-817c-5679f25b9698 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-05-16 13:03:49", "repo_name": "kristbun/CallMeMaybe", "sub_path": "/app/src/main/java/com/buu/se/s55160077/callmemaybe/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/kristbun/CallMeMaybe | 214 | FILENAME: MainActivity.java | 0.217338 | package com.buu.se.s55160077.callmemaybe;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
public class MainActivity extends... |
735daa30-3d2e-4ca8-af63-50468d6aae14 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-22 22:04:32", "repo_name": "tomguillermou/hopital_java_2018", "sub_path": "/src/modele/EFrame.java", "file_name": "EFrame.java", "file_ext": "java", "file_size_in_byte": 975, "line_count": 44, "lang": "en", "d... | https://github.com/tomguillermou/hopital_java_2018 | 201 | FILENAME: EFrame.java | 0.250913 | /*
* 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 modele;
import javax.swing.JFrame;
/**
*
* @author Tom
*/
public abstract class EFrame extends JFrame {
/**
*
... |
9d690f14-cae4-48c4-96a9-84d86b020019 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-03 15:39:14", "repo_name": "ntduycs/candicode", "sub_path": "/src/main/java/vn/candicode/exception/handler/ResourceExceptionHandler.java", "file_name": "ResourceExceptionHandler.java", "file_ext": "java", "fil... | https://github.com/ntduycs/candicode | 158 | FILENAME: ResourceExceptionHandler.java | 0.245085 | package vn.candicode.exception.handler;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.context.request.WebReq... |
3bfc2210-f59a-4f3c-afa1-3707c34452cc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-02 00:57:57", "repo_name": "cgwhouse/project-threatlevelmidnight", "sub_path": "/src/main/java/keywords/Feature03.java", "file_name": "Feature03.java", "file_ext": "java", "file_size_in_byte": 1012, "line_coun... | https://github.com/cgwhouse/project-threatlevelmidnight | 181 | FILENAME: Feature03.java | 0.262842 | package keywords;
import edu.wofford.*;
public class Feature03 {
ArgumentParser parser;
public void startProgramWithArguments(String[] args) {
String[] argumentNames = { "length", "width", "height" };
String[] argumentTypes = { "float", "float", "float" };
... |
88376376-32af-47cb-93c2-b8bb47e601d7 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-10-20 08:17:51", "repo_name": "TU-Berlin-DIMA/babelfish", "sub_path": "/benchmark/src/main/java/de/tub/dima/babelfish/benchmark/datatypes/SSB_SUPPLIER.java", "file_name": "SSB_SUPPLIER.java", "file_ext": "java", ... | https://github.com/TU-Berlin-DIMA/babelfish | 304 | FILENAME: SSB_SUPPLIER.java | 0.267408 | package de.tub.dima.babelfish.benchmark.datatypes;
import de.tub.dima.babelfish.typesytem.record.LuthRecord;
import de.tub.dima.babelfish.typesytem.record.Record;
import de.tub.dima.babelfish.typesytem.variableLengthType.MaxLength;
import de.tub.dima.babelfish.typesytem.variableLengthType.Text;
@LuthRecord(name = "ss... |
3d03c8a9-7ba9-491c-8af0-b4f4f555733e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-05-14T22:49:10", "repo_name": "Dwill629/online-offline-budget-tracker", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1151, "line_count": 25, "lang": "en", "doc_ty... | https://github.com/Dwill629/online-offline-budget-tracker | 249 | FILENAME: README.md | 0.259826 | # online-offline-budget-tracker
link to deployed application: https://devs-budget-tracker.herokuapp.com/
# Description:
This application will help you to keep track of your budget online and offline. While offline your transactions are stored in the indexDB of your web browser. Then when you connect to the internet,... |
cfcb0101-eb1a-4faa-aaf6-9fa6d22417b4 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-18 01:13:42", "repo_name": "JoeySo22/TappyDefenderULTIMATE", "sub_path": "/app/src/main/java/edu/utep/cs5381/tappydefenderultimate/MainActivity.java", "file_name": "MainActivity.java", "file_ext": "java", "fil... | https://github.com/JoeySo22/TappyDefenderULTIMATE | 208 | FILENAME: MainActivity.java | 0.246533 | package edu.utep.cs5381.tappydefenderultimate;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Point;
import android.os.Bundle;
import android.view.Display;
import android.view.View;
import android.widget.Button;
import ... |
1a115f4e-9529-4b50-a485-a5ec3387eb7e | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-03-29 22:59:58", "repo_name": "Aleksandr-bit123/maksimov", "sub_path": "/src/main/java/com/diploma/maksimov/dto/Point.java", "file_name": "Point.java", "file_ext": "java", "file_size_in_byte": 1010, "line_count":... | https://github.com/Aleksandr-bit123/maksimov | 226 | FILENAME: Point.java | 0.252384 | package com.diploma.maksimov.dto;
public class Point {
public enum PointType {CLIENT, CONTRAGENT}
private Long id;
private String address;
private String phone;
private PointType pointType;
public Point() {
}
public Point(Long id, String address, String phone, PointType pointType) {
... |
6a396d9e-8475-4470-a24b-d7291e8bc343 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-02-06 17:11:34", "repo_name": "Weiqifan1/sem3u01ThreadKladde", "sub_path": "/src/s3u01_threadex/TesterDag2Opg5.java", "file_name": "TesterDag2Opg5.java", "file_ext": "java", "file_size_in_byte": 1011, "line_count... | https://github.com/Weiqifan1/sem3u01ThreadKladde | 222 | FILENAME: TesterDag2Opg5.java | 0.287768 | package s3u01_threadex;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.lang.management.ThreadMXBean;
import java.util.logging.Level;
import java.util.logging.Logger;
public class TesterDag2Opg5 {
public static void main(String[] args) {
try {
... |
dc1903e2-1f9e-4b2a-bcef-421acaacaada | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-26 04:12:42", "repo_name": "huangfeilong97/testsystem", "sub_path": "/src/com/hfl/filter/OneFilter.java", "file_name": "OneFilter.java", "file_ext": "java", "file_size_in_byte": 1282, "line_count": 43, "lang":... | https://github.com/huangfeilong97/testsystem | 244 | FILENAME: OneFilter.java | 0.256832 | package com.hfl.filter;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.io.IOException;
/**
* 防止恶意登录
*/
public class OneFilter implements Filter {
@Override
public void doFilter(ServletRequest servletRequest, ServletResponse servletRes... |
578b7a2c-e2fd-4010-963d-ef970d74f8e8 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-12-14 02:58:15", "repo_name": "haoguan/A-ETA", "sub_path": "/src/edu/berkeley/cs160/groupa/eta/fragment/TimePickerFragment.java", "file_name": "TimePickerFragment.java", "file_ext": "java", "file_size_in_byte": 9... | https://github.com/haoguan/A-ETA | 227 | FILENAME: TimePickerFragment.java | 0.291787 | package edu.berkeley.cs160.groupa.eta.fragment;
import java.util.Calendar;
import edu.berkeley.cs160.groupa.eta.AddJobActivity;
import edu.berkeley.cs160.groupa.eta.EditJobActivity;
import android.app.Dialog;
import android.app.DialogFragment;
import android.app.TimePickerDialog;
import android.os.Bundle;
public cl... |
53187f37-7cc0-441b-9bb2-9696288e563f | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-04-02T13:01:36", "repo_name": "audriusrudalevicius/katacoda-scenarios", "sub_path": "/basics1/step3c.md", "file_name": "step3c.md", "file_ext": "md", "file_size_in_byte": 1006, "line_count": 31, "lang": "en",... | https://github.com/audriusrudalevicius/katacoda-scenarios | 220 | FILENAME: step3c.md | 0.279828 | # Inspect deployed application
Get deployment, replicaSet, pod of our deployed app1
`kubectl get deploy,replicaSet,pod -l app=app1`{{execute}}
You should see 3 kinds of resources being created from one yaml file that describes only deployment kind. Moust important for us is deployment as it basically manages all of t... |
2a045435-a22c-42f8-8c9c-ad70c6eb2567 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-05-25 07:33:20", "repo_name": "parohy/NavigationTracker", "sub_path": "/app/src/main/java/parohyapp/navigationtracker/handler/marker/AppMarker.java", "file_name": "AppMarker.java", "file_ext": "java", "file_size_... | https://github.com/parohy/NavigationTracker | 217 | FILENAME: AppMarker.java | 0.243642 | package parohyapp.navigationtracker.handler.marker;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
/**
* Created by tomas on 3/13/2016.
*/
public class AppMarker {
private LatLng cords;
private Marker marker;
private String name;
public AppMarker(... |
c106e872-af13-419e-ba79-15f64bbd3919 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-21 09:11:06", "repo_name": "752391183/springboot-project", "sub_path": "/springboot-project/src/main/java/com/example/springbootproject/entity/Course.java", "file_name": "Course.java", "file_ext": "java", "fil... | https://github.com/752391183/springboot-project | 189 | FILENAME: Course.java | 0.281406 | package com.example.springbootproject.entity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
@Data
@NoArgsConstructor
@Entity
@JsonIgnor... |
d674553e-2c2c-42fb-acbb-4a2b8a419f12 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2021-01-22T22:13:59", "repo_name": "tiborsulyan/autologout", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1152, "line_count": 41, "lang": "en", "doc_type": "text", "bl... | https://github.com/tiborsulyan/autologout | 296 | FILENAME: README.md | 0.214691 | # Auto Logout
 [](https://packagist.org/packages/tiborsulyan/autologout)
A [Flarum](http://flarum.org) extension. Warn and automatically log out users after a configured ... |
a43e62bc-f2cc-4171-866e-c4a93a135ffc | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-09 18:51:10", "repo_name": "fmedisov/homefinance", "sub_path": "/web/src/main/java/ru/medisov/home_finance/web/controller/UserController.java", "file_name": "UserController.java", "file_ext": "java", "file_siz... | https://github.com/fmedisov/homefinance | 220 | FILENAME: UserController.java | 0.252384 | package ru.medisov.home_finance.web.controller;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.*;
import ru.m... |
263125da-3c43-4eb8-a479-313ecad717bb | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-09 21:45:07", "repo_name": "AmamiSQ/TabApp", "sub_path": "/app/src/main/java/com/example/myapplication/Addactivity.java", "file_name": "Addactivity.java", "file_ext": "java", "file_size_in_byte": 1007, "line_c... | https://github.com/AmamiSQ/TabApp | 193 | FILENAME: Addactivity.java | 0.204342 | package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
public class Addactivity extends AppCompatActivity {
EditText gebruiksnaamadd, wachtwoordadd;
Button Addbutton... |
3b87c006-89fa-4dc3-9c85-3bc6023e4f7a | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-05 13:07:13", "repo_name": "Dmitriy-Butramyou/SleeplessLife", "sub_path": "/src/main/java/home/pet/production/SleeplessLife/model/Image.java", "file_name": "Image.java", "file_ext": "java", "file_size_in_byte"... | https://github.com/Dmitriy-Butramyou/SleeplessLife | 227 | FILENAME: Image.java | 0.267408 | package home.pet.production.SleeplessLife.model;
import lombok.*;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
/**
* Модель описывающая класс изображений загружаемых пользователями
*
* @author D.Butramyou
*/
@Entity
@Getter
@Setter... |
de02d738-9988-4e84-98fc-1d4799eecf16 | {"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-09-13 12:58:27", "repo_name": "MaskInfo/SDPlatform", "sub_path": "/electric-sale-ms/src/main/java/cn/org/upthink/model/dto/CourseDirQueryDTO.java", "file_name": "CourseDirQueryDTO.java", "file_ext": "java", "file... | https://github.com/MaskInfo/SDPlatform | 209 | FILENAME: CourseDirQueryDTO.java | 0.195594 | package cn.org.upthink.model.dto;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@ApiModel(value="CourseDirquery对象", description="")
public class CourseDirQueryDTO extends BaseQueryDTO impl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.