id
stringlengths
36
36
meta
stringlengths
429
697
code_content
large_stringlengths
612
1.26k
671c29d9-6b65-487a-ac16-323d935958cb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2023-04-08T16:27:23", "repo_name": "girip11/docker_notes", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 889, "line_count": 22, "lang": "en", "doc_type": "text", "blob_...
# Docker Notes on docker containers, buidling docker images, container orchestration etc ## Udemy Courses **udemy_course** directory contains notes from the following udemy courses. ## Docker command aliases Once familiar with the docker commands use the following bash aliases * [Bash it: Docker commands aliases]...
b1c90fc9-4556-472b-926c-a985ddb5b49c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-01 10:54:00", "repo_name": "Onyejekwe1/meals-that-heals", "sub_path": "/app/src/main/java/mealsthatheals/emfitech/com/adapters/WeakErectionTabsAdapter.java", "file_name": "WeakErectionTabsAdapter.java", "file_...
package mealsthatheals.emfitech.com.adapters; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import java.util.List; public class WeakErectionTabsAdapter extends FragmentStatePagerAdapter{ private List<Fragment> fra...
a8b2ef31-76e7-4756-9ea4-63f9bf93958d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-06-19T06:42:03", "repo_name": "KangchengHou/Shoot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 1423, "line_count": 31, "lang": "zh", "doc_type": "text", "blob_i...
# Shoot Game implemented with OpenGL as a course project ## Contributors Tianhao Wei Shuqi Wang Kangcheng Hou ## Requirements * [X] ~~*[10 分]基于 OpenGL,具有基本体素(立方体、球、圆柱、圆锥、多面棱柱、多面棱台)的建模表达能力; 这个我们后期加入就可以了,现在不需要放进去。*~~ * [X] ~~*[10 分]具有基本三维网格导入导出功能(建议 OBJ 格式); 导入火箭OBJ就可以了*~~ * [X] ~~*[15 分]具有基本材质、纹理的显示和编辑能力; 可以...
125a3e7f-53e0-4844-9916-9111dc8deb76
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-09 18:31:42", "repo_name": "xavinav/NovPractiseFrmwrk", "sub_path": "/src/test/java/genericLibrary/BS_commonLib.java", "file_name": "BS_commonLib.java", "file_ext": "java", "file_size_in_byte": 889, "line_coun...
package genericLibrary; import java.io.FileInputStream; import java.util.Properties; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; public class BS_commonLib { public WebDriver driver; ...
b21e7f75-2bdc-4953-bd85-7a564e1fe9c7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-01-13 23:04:36", "repo_name": "Ivorforce/PandorasBox", "sub_path": "/src/main/java/ivorius/pandorasbox/network/PacketEntityDataHandler.java", "file_name": "PacketEntityDataHandler.java", "file_ext": "java", "file...
package ivorius.pandorasbox.network; import net.minecraft.entity.Entity; import net.minecraft.world.World; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; ...
57b8dd84-912c-4568-8e9a-797b09985b49
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-28 10:55:45", "repo_name": "RuslanaPodshyvalova/map-project", "sub_path": "/src/main/java/com/example/map/model/City.java", "file_name": "City.java", "file_ext": "java", "file_size_in_byte": 888, "line_count":...
package com.example.map.model; import com.fasterxml.jackson.annotation.JsonIgnore; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity public class City { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String city; @JsonIgnore ...
345f6866-2495-4450-a944-0d571f87555f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-28 15:25:09", "repo_name": "2195paras/employee", "sub_path": "/portal_backend/src/main/java/com/employee/portal/daoimpl/EmployeeDaoImpl.java", "file_name": "EmployeeDaoImpl.java", "file_ext": "java", "file_siz...
package com.employee.portal.daoimpl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Sort; import org.springframework.stereotype.Service; import com.employee.portal.bean.Employee; import com.employee.portal.dao.EmployeeDao; import com.emplo...
e68c0461-30c2-4380-a895-8befa4b9e574
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-10 06:28:07", "repo_name": "afzal-khan-89/moto-spy", "sub_path": "/app/src/main/java/com/geon/lbs/model/AllVehicleStatus.java", "file_name": "AllVehicleStatus.java", "file_ext": "java", "file_size_in_byte": 88...
package com.geon.lbs.model; import com.google.gson.annotations.SerializedName; import java.util.List; /** * Created by Babu on 3/8/2018. */ public class AllVehicleStatus { @SerializedName("error") private int error; @SerializedName("message") private String message; @SerializedName("vehicle...
1f179d20-e87b-41d1-9682-d02fd62fa5e2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2013-01-23 02:15:51", "repo_name": "VeenaHosur/the-fascinator", "sub_path": "/the-fascinator/tags/0.1.0/plugins/indexer/solr/src/main/java/au/edu/usq/fascinator/indexer/IndexerDigitalObject.java", "file_name": "Indexe...
package au.edu.usq.fascinator.indexer; import java.util.List; import au.edu.usq.fascinator.api.storage.DigitalObject; import au.edu.usq.fascinator.api.storage.Payload; public class IndexerDigitalObject implements DigitalObject { private DigitalObject digitalObject; private String metadataId; publi...
079c1bdd-86c3-4b81-a5c4-9993c3a2317d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-09-02 13:41:38", "repo_name": "Abish-R/Ridio-1.1", "sub_path": "/app/src/main/java/helix/ridioandroidstudio/BikeSpinner.java", "file_name": "BikeSpinner.java", "file_ext": "java", "file_size_in_byte": 890, "line_...
/** Ridio v1.0.1 * Purpose : BikeSpinnr value get and set for Adapters * Created by : Abish * Created Dt : old file * Modified on: * Verified by: Srinivas * Verified Dt: 13-01-2016 * **/ package helix.ridioandroidstudio; public class BikeSpinner { /*** Initialize Strings **/ private Stri...
5104927f-20e5-4f46-9abf-558ef0156212
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-22 22:25:52", "repo_name": "sharafabacery/Project_Data_Structure_JAVA", "sub_path": "/src/com/company/CQeueueL.java", "file_name": "CQeueueL.java", "file_ext": "java", "file_size_in_byte": 889, "line_count": 4...
package com.company; public class CQeueueL { Node front,rear; int count; public CQeueueL(){ front=rear=null; count=0; } public Boolean EnQueue(int data,int piriorty){ boolean x=false; Node node=new Node(data,piriorty); if (node!=null){ if (front...
76b7dbff-d2d4-4d1c-b1ba-4326a8bf1e06
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-04-15 07:49:53", "repo_name": "Minionguyjpro/Ghostly-Skills", "sub_path": "/sources/com/mopub/common/util/Strings.java", "file_name": "Strings.java", "file_ext": "java", "file_size_in_byte": 889, "line_count": 35...
package com.mopub.common.util; import android.text.TextUtils; import java.io.IOException; import java.io.InputStream; import java.util.List; public class Strings { public static String fromStream(InputStream inputStream) throws IOException { StringBuilder sb = new StringBuilder(); byte[] bArr = ne...
ec6e4359-066c-40d8-a659-80d9b7ba872a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-05-13 17:29:02", "repo_name": "IraRatushniak/CucunberGmail", "sub_path": "/src/main/java/Verify/PasswordPageVerify.java", "file_name": "PasswordPageVerify.java", "file_ext": "java", "file_size_in_byte": 889, "lin...
package Verify; import com.codeborne.selenide.Condition; import page.PasswordPage; public class PasswordPageVerify extends Verify { private PasswordPage passwordPage = new PasswordPage(); public PasswordPageVerify verifyIpfPasswordIsEmpty() { log("Ipf password is empty"); passwordPage.getIpfP...
e01cdca5-441c-4306-92de-acc2ee9f734f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2022-02-10 15:32:19", "repo_name": "bwssytems/ha-bridge", "sub_path": "/src/main/java/com/bwssystems/HABridge/plugins/fhem/Result.java", "file_name": "Result.java", "file_ext": "java", "file_size_in_byte": 890, "line_...
package com.bwssystems.HABridge.plugins.fhem; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class Result { @SerializedName("Name") @Expose private String name; @SerializedName("PossibleSets") @Expose private String possibleSets; @Ser...
69179811-52aa-4cb7-b687-e79848bb9a77
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-23 06:27:09", "repo_name": "ChintanGohel1/android-project", "sub_path": "/src/com/inch2inch/genericService/AppContainer.java", "file_name": "AppContainer.java", "file_ext": "java", "file_size_in_byte": 889, "l...
package com.inch2inch.genericService; import com.inch2inch.api.GetAPI; import com.inch2inch.api.PostAPI; import com.inch2inch.fabric.ImageAPI; public class AppContainer { private static WidgetService widgetService = null; private static GetAPI getAPI = null; private static PostAPI postAPI = null; ...
a08b90a0-700c-4a1c-acfc-808c9932ca7a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-08-02 11:46:52", "repo_name": "m-kuklinski/vscode-java-test", "sub_path": "/com.microsoft.java.test.runner/src/main/java/com/microsoft/java/test/runner/TestReportItem.java", "file_name": "TestReportItem.java", "f...
package com.microsoft.java.test.runner; import java.io.PrintWriter; import java.io.StringWriter; import java.util.Map; public class TestReportItem { String phase; Map<String, String> attributes; String message; String stackTrace; TestReportType type; public TestReport...
04d15b21-89b7-4127-8d7a-2617b02ba3d9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-24 18:24:25", "repo_name": "smeschke/BigTopTricks", "sub_path": "/app/src/main/java/com/bigtop/stephen/bigtoptricks/addTricks/NetworkUtils.java", "file_name": "NetworkUtils.java", "file_ext": "java", "file_siz...
package com.bigtop.stephen.bigtoptricks.addTricks; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.URL; import java.util.Scanner; // This whole class is adapted from ud851-Sunshine class NetworkUtils { // Use scanner to 'catch' the data. public static...
cc9eb983-deaf-46ec-b765-ff298f98137d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-28 15:27:07", "repo_name": "BaptisteLanusse/java", "sub_path": "/test/src/com/sdzee/servlets/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 889, "line_count": 33, "lang": "en", ...
package com.sdzee.servlets; import com.sdzee.beans.Coyote; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Test extends Http...
04c0a0e5-3cea-4e19-8630-9a61eace62a1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-20 05:53:21", "repo_name": "mgviscarra/stats-api", "sub_path": "/src/main/java/com/mgvr/stats/api/service/StatsService.java", "file_name": "StatsService.java", "file_ext": "java", "file_size_in_byte": 889, "li...
package com.mgvr.stats.api.service; import com.mgvr.stats.api.dao.KudoDao; import com.mgvr.stats.api.dao.UserDao; import com.mgvr.stats.api.model.kudo.model.Kudo; import com.mgvr.stats.api.model.user.model.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Servic...
7e01fde0-3de3-4a8a-a48b-0386a0bbe2a0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-08-20T08:24:12", "repo_name": "donkeycode/ngx-tools", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 889, "line_count": 31, "lang": "en", "doc_type": "text", "blob_...
# NgxToolsApp Tools inside: - Pipe Object.values() - Pipe Object.keys() - Pipe Safe : https://angular.io/api/platform-browser/DomSanitizer - Ngt-validator : Custom form validator with front and back errors management. Include : phone number validator (google library) Recommanded tools : * ng-select : Using ng-selec...
1268a07d-7093-461f-b3d9-307fd57af6d2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2011-12-19 19:29:35", "repo_name": "blickly/ghostrun", "sub_path": "/android_app/src/com/ghostrun/model/ai/DirectStrategy.java", "file_name": "DirectStrategy.java", "file_ext": "java", "file_size_in_byte": 888, "line_...
package com.ghostrun.model.ai; import com.ghostrun.model.MazeGraphPoint; import com.ghostrun.util.GeoPointUtils; import com.google.android.maps.GeoPoint; public class DirectStrategy implements RobotStrategy { @Override public MazeGraphPoint getNextWaypoint(MazeGraphPoint location, GeoPoint destin...
c60ad25f-d551-4c19-9d4f-e8703e644530
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-22 07:49:20", "repo_name": "ArtoriaZhang/base_workflow", "sub_path": "/src/main/java/com/els/base/workflow/user/CustomUserManagerFactory.java", "file_name": "CustomUserManagerFactory.java", "file_ext": "java",...
package com.els.base.workflow.user; import com.els.base.workflow.user.CustomUserEntityManager; import com.els.base.workflow.user.CustomUserManagerFactory; import javax.annotation.Resource; import org.activiti.engine.impl.interceptor.Session; import org.activiti.engine.impl.interceptor.SessionFactory; import org.spring...
b9dcb6e7-7332-408e-ba67-501f4b1cc08e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-16 12:19:55", "repo_name": "dengsixue/android_1080", "sub_path": "/app/src/main/java/com/example/android_1080/util/TextWatcher2.java", "file_name": "TextWatcher2.java", "file_ext": "java", "file_size_in_byte":...
package com.example.android_1080.util; import android.text.Editable; import android.text.TextWatcher; import android.widget.EditText; import android.widget.TextView; /** * 1.只监听变化,截取多余字数 * 2.改变右下角字数 */ public class TextWatcher2 implements TextWatcher { private EditText mEditText; private TextView mTextView...
a6ef4bc8-c2cf-4c7c-a2a9-222f23f5c4a3
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-08-29 04:49:19", "repo_name": "zjtjames/high-concurrency", "sub_path": "/src/main/java/com/jmall/high/service/GoodsService.java", "file_name": "GoodsService.java", "file_ext": "java", "file_size_in_byte": 902, "l...
/** * created by Zheng Jiateng on 2019/8/9. */ package com.jmall.high.service; import com.jmall.high.dao.GoodsMapper; import com.jmall.high.pojo.MiaoshaGoods; import com.jmall.high.vo.GoodsVo; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.sp...
74e3e60e-b1b0-4d95-a86d-c9cb2c54339e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-19 21:44:58", "repo_name": "Tolaniibikunle/HurtLocker", "sub_path": "/src/Test/java/ibikunle/tolani/PrinterTest.java", "file_name": "PrinterTest.java", "file_ext": "java", "file_size_in_byte": 888, "line_count...
package ibikunle.tolani; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import java.util.ArrayList; /** * Created by tolaniibikunle on 2/15/17. */ public class PrinterTest { Printer printer; GroceryFactory groceryFactory; JerkSonParser jerkSonParser; @Before public v...
3b0df738-695e-419c-b1c3-af2c205f292c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-10-20 16:33:53", "repo_name": "xtebs/test1", "sub_path": "/app/src/main/java/appening/test1/infiniscroll/EventInfo.java", "file_name": "EventInfo.java", "file_ext": "java", "file_size_in_byte": 888, "line_count":...
package appening.test1.infiniscroll; import android.graphics.drawable.Drawable; /** * Created by Ze on 02/07/2015. */ public class EventInfo { public EventInfo(Drawable image, String title, String description) { this.image = image; this.title = title; this.description = description;...
d6ad63b9-60df-40cd-b28e-1215dd71dc35
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-23 12:13:21", "repo_name": "rhespanhol/RxTraktJava", "sub_path": "/app/src/main/java/me/rhespanhol/rxtraktjava/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte": 888, "line_count"...
package me.rhespanhol.rxtraktjava; import okhttp3.OkHttpClient; import java.util.concurrent.TimeUnit; public class Utils { public static final int CONNECT_TIMEOUT_MILLIS = 15000; // 15 seconds public static final int READ_TIMEOUT_MILLIS = 20000; // 20 seconds /** * Create an OkHttpClient with sens...
ad9df58c-1427-46cd-88a4-8cfc242936cb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-03-24T00:11:08", "repo_name": "CNCProjects/Handibot-Cut-all-Tiles", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 892, "line_count": 37, "lang": "en", "doc_type": ...
Handibot-Cut-all-Tiles ====================== This is a ShopBot file that will allow your Handibot to cut one tile after another without having to load each file one by one. Here's how it works: Video: http://www.youtube.com/watch?v=mipSuTBhoPc Forum Thread: https://handibot.com/forum/read.php?2,308 Written Inst...
e852d9a3-f923-42d0-a043-905c2858c4f2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-08-15T08:48:02", "repo_name": "nfischer/rpi-wifi-setup", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 888, "line_count": 39, "lang": "en", "doc_type": "text", "bl...
# rpi-wifi-setup [![Travis](https://img.shields.io/travis/nfischer/rpi-wifi-setup.svg?style=flat-square)](https://travis-ci.org/nfischer/rpi-wifi-setup) ## Installation ``` $ sudo npm install -g rpi-wifi-setup $ sudo rpi-wifi-setup install ``` ## Description This npm package is designed to be installed globally on...
3810c6a3-10f0-4972-86f5-5cef4b3571f0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-12-14 05:05:10", "repo_name": "zhengbo1979/maginot", "sub_path": "/drools-test/src/main/java/com/sample/aio/SimpleClient.java", "file_name": "SimpleClient.java", "file_ext": "java", "file_size_in_byte": 887, "lin...
package com.sample.aio; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.ByteBuffer; import java.nio.channels.AsynchronousSocketChannel; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; /** * @author zhengbo * @date 2016Äê10ÔÂ12ÈÕ * */ public class...
1424cf01-6e97-4ff7-b5e7-0b1c61d924bd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-24 04:14:05", "repo_name": "cmansfield/mtgframework", "sub_path": "/src/test/java/io/github/cmansfield/card/CardTest.java", "file_name": "CardTest.java", "file_ext": "java", "file_size_in_byte": 888, "line_cou...
package io.github.cmansfield.card; import io.github.cmansfield.card.constants.CardConstants; import org.testng.annotations.Test; import java.util.*; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertTrue; public class CardTest { @Test public void test_placeholder() { List...
91bd34b3-af99-417f-8d61-22873b5fdb82
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-11-16 12:19:02", "repo_name": "17677563213/interview03", "sub_path": "/idea-interview-day20/src/main/java/com/wxy/demo01/ThreadPoolExecutor01.java", "file_name": "ThreadPoolExecutor01.java", "file_ext": "java", "...
package com.wxy.demo01; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; public class ThreadPoolExecutor01 { public static void main(String[] args) { ThreadPoolExecutor threadPoolExecutor =new ThreadPoolExecutor( ...
914c8c2e-8d6e-4965-a6ed-6df35341512c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-11 13:01:44", "repo_name": "duque96/DialogflowAssistant", "sub_path": "/app/src/main/java/com/dani/dialogflowassistant/logica/util/Utils.java", "file_name": "Utils.java", "file_ext": "java", "file_size_in_byte...
package com.dani.dialogflowassistant.logica.util; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import java.text.SimpleDateFormat; import java.util.Date; public class Utils { public stat...
c36d2e7b-8553-456f-9a09-cbcb0726b48d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-20 05:02:03", "repo_name": "a1757181650/new_user", "sub_path": "/app/src/main/java/com/jinglangtech/cardiy/entity/user/UserUpdateModel.java", "file_name": "UserUpdateModel.java", "file_ext": "java", "file_size...
package com.jinglangtech.cardiy.entity.user; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * @author polo 2019/3/17 * @email prosperdai5@gmail.com */ public class UserUpdateModel { @SerializedName("message") @Expose private String message; @Serial...
0a190d4a-e40c-4f3c-b139-81aaaddc9988
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-01-23T13:04:14", "repo_name": "NikhilNamal17/catch-of-the-day", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 891, "line_count": 28, "lang": "en", "doc_type": "tex...
# catch-of-the-day ## This is a React based single page web app for online sale of fresh caught seafood. Try the [Demo](https://catch-of-the-day-nikhil.netlify.com/) ---- ## What is it? This is a project built along following the [React For Beginners](https://reactforbeginners.com/) course by Wes Bos. The styling ...
1889242d-aa2e-47f1-ac26-19973cf4acbf
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-21 06:19:36", "repo_name": "wxq1231987/JavaNIO", "sub_path": "/src/chapter2/filechannel/test/ReadFromCurrentPos.java", "file_name": "ReadFromCurrentPos.java", "file_ext": "java", "file_size_in_byte": 929, "lin...
package chapter2.filechannel.test; import java.io.FileInputStream; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; /** * 验证从此通道的当前位置读入到给定的缓冲区 * @author Wang XuQin * */ public class ReadFromCurrentPos { private static FileInputStream fis; private ...
42787b72-6b0c-4db9-9b92-e9d90f8d68de
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-01 22:33:38", "repo_name": "acamperos/SisFacturacion", "sub_path": "/src/Table.java", "file_name": "Table.java", "file_ext": "java", "file_size_in_byte": 888, "line_count": 40, "lang": "en", "doc_type": "code"...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author JoseSanchez * @version 1.0 * Clase para representar las mesas del restaurante con su nombre y numero de sillas. *...
2565de2b-5bba-4757-ac4b-d39cbeca8fdb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-17 12:46:03", "repo_name": "ivatar39/Udicate", "sub_path": "/app/src/main/java/com/ivlup/udicate/backend/objects/Lesson.java", "file_name": "Lesson.java", "file_ext": "java", "file_size_in_byte": 888, "line_co...
package com.ivlup.udicate.backend.objects; import com.google.firebase.database.IgnoreExtraProperties; import java.util.ArrayList; import java.util.Map; @IgnoreExtraProperties public class Lesson { public Map<String, String> date; public Map<String, Boolean> group; public String id; public String name...
95fb294a-055f-44de-bf81-45cfaa138920
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-01 04:48:32", "repo_name": "1473478496/JavaMaven", "sub_path": "/menggeba/mall-core-service/src/main/java/com/vivebest/mall/core/util/BeanUtils.java", "file_name": "BeanUtils.java", "file_ext": "java", "file_s...
package com.vivebest.mall.core.util; import java.lang.reflect.Field; import java.util.Date; public class BeanUtils { public static boolean anyEmptyOrNull(Object obj){ boolean result = true; if (obj == null) { return result; } for (Field f : obj.getClass().getDeclaredFields()) ...
2c369dcc-6676-4ecb-945b-acf1a66dfed8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-11 13:41:02", "repo_name": "hitYOUcry/litelite", "sub_path": "/first_w/src/com/tencent/nemo/Test.java", "file_name": "Test.java", "file_ext": "java", "file_size_in_byte": 888, "line_count": 30, "lang": "en", "...
package com.tencent.nemo; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; public class Test { static final String URL = "http://localhost:8080/first_w_war_exploded/aa"; public static void uploadPic(){ try { URL url...
7c893179-5d2f-443b-8858-a42423c36c9b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-07-04 09:44:37", "repo_name": "Dayslight/Dr.Yogi", "sub_path": "/app/src/main/java/activity/EnterContactActivity.java", "file_name": "EnterContactActivity.java", "file_ext": "java", "file_size_in_byte": 888, "lin...
package activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.RelativeLayout; import com.dryogi.R; public class EnterContactActivity extends AppCompatActivity { RelativeLayout callbtn; // Add reaso...
cddfe10e-c8c2-41ba-9c33-ea8847a97e50
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-23 07:14:12", "repo_name": "kccoder/dbmapper", "sub_path": "/dbmapper/src/dbmapper/util/Setter.java", "file_name": "Setter.java", "file_ext": "java", "file_size_in_byte": 887, "line_count": 33, "lang": "en", "...
package dbmapper.util; /* * 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 in writin...
d9bc56a4-7eef-4cde-a4be-5f32c054ae5e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-12-17 00:15:34", "repo_name": "onionjake/doh-android", "sub_path": "/doh/src/androidTest/java/com/github/onionjake/doh/DohTest.java", "file_name": "DohTest.java", "file_ext": "java", "file_size_in_byte": 888, "li...
package com.github.onionjake.doh; import android.test.AndroidTestCase; import android.util.Log; import junit.framework.Test; /** * Created by jake on 11/28/15. */ public class DohTest extends AndroidTestCase { public void testDohMethod() { DohMethod d = new DohMethod(); Options o = new Options(...
eaa255cb-ac14-47ba-9c2b-099e475bce37
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-06 15:08:08", "repo_name": "Amit7474/SmartLoginApp", "sub_path": "/app/src/main/java/com/amit/smartloginapp/WifiReceiver.java", "file_name": "WifiReceiver.java", "file_ext": "java", "file_size_in_byte": 888, "...
package com.amit.smartloginapp; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; public class WifiReceiver extends BroadcastReceiver { public WifiReceiver() { } @Override p...
bc745634-f070-4e4b-b083-365793763b01
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-19 17:06:06", "repo_name": "Shajinn/bakk", "sub_path": "/src/ontology/tool/terms/DisplayPickingList.java", "file_name": "DisplayPickingList.java", "file_ext": "java", "file_size_in_byte": 889, "line_count": 40...
package ontology.tool.terms; import jade.content.AgentAction; /** * Command for a UI Agent to display a picking list * * @author Shahin Mahmody */ public class DisplayPickingList implements AgentAction{ private PickingList pickingList; private int nextViableInvId; public DisplayPickingList(){ ...
6f2d4d70-e01c-4723-80b5-4f6554df3a08
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-01-19 12:24:43", "repo_name": "tgkprog/springHealthStarterS", "sub_path": "/code/S2nSmsWSFacade/src/main/java/com/sel2in/smsWebSend/facade/dto/DailyActivitySummaryDto.java", "file_name": "DailyActivitySummaryDto....
package com.sel2in.smsWebSend.facade.dto; import java.util.Date; public class DailyActivitySummaryDto { /** * see xls * */ private long id; private String authorId; private Date date; private int count; public DailyActivitySummaryDto() { } public DailyActivitySummaryDto(long id, String authorId, ...
93468a6f-cf5c-426e-ab47-8e440a8d2e80
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-07-29 17:32:19", "repo_name": "engrceey/DevSchool", "sub_path": "/src/main/java/Applicants.java", "file_name": "Applicants.java", "file_ext": "java", "file_size_in_byte": 888, "line_count": 42, "lang": "en", "doc...
public class Applicants extends PersonBio{ private int testScore; public Applicants(String name, int age, String id, int testScore) { super(name, age, id); this.testScore = testScore; } // A method to know if admitted or Not public String knowYourAdmissionStatus(){ if(testSc...
59d9902b-2aef-4232-8272-e8258972a47d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-03-12 16:25:48", "repo_name": "Danilsson07/Pokergame", "sub_path": "/src/package/Model/Deck.java", "file_name": "Deck.java", "file_ext": "java", "file_size_in_byte": 889, "line_count": 44, "lang": "en", "doc_type...
package Model; import java.util.ArrayList; import java.util.Collections; import Model.Suit; public class Deck { private final ArrayList<Card> allCards; public Deck() { this.allCards = new ArrayList<>(); shuffle(); } public int getCardsleft() { return allCards.size(); } ...
a9e7d0ce-9afb-4590-98b9-ab86f107a971
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2014-07-09T10:21:17", "repo_name": "mihi-tr/changeorg", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 888, "line_count": 29, "lang": "en", "doc_type": "text", "blob_id"...
# changeorg a python module to interact with the [change.org](https://change.org) API [Change.org](https://change.org) is a plattform allowing everyone to create petitions and collect signatures for support. The site offers an API that allows to do most things with dedicated clients. This is a python implementation of...
807e04db-ef88-4e1c-ad63-88ccff08aaf2
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-09-28 02:30:33", "repo_name": "Gitjiangwei/jeecg-boot-parent", "sub_path": "/jeecg-boot-module-system/src/main/java/org/kunze/diansh/entity/modelData/BrandModel.java", "file_name": "BrandModel.java", "file_ext": ...
package org.kunze.diansh.entity.modelData; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; @Data public class BrandModel implements Serializable { //品牌id private String bI...
780f3223-b25d-4929-adc9-647c0fddcd36
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2017-07-21T22:17:00", "repo_name": "FlexSites/Ticket-Client", "sub_path": "/dashboard/persistent-incremental-workflow.md", "file_name": "persistent-incremental-workflow.md", "file_ext": "md", "file_size_in_byte": ...
# Persistant incremental workflows 1. Single table with non-validated schema and events to programmatically validate and mark the object "validated" - Pros: - validate (business logic) in code - event driven - Cons: - Potential leaks of non-valid data with bad queries - Extra query over...
5b88645e-08b6-4f1d-a4aa-df18762d81b9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-12-01 15:52:17", "repo_name": "AradiPatrik/CASCarRental", "sub_path": "/src/main/java/de/cas/vaadin/carrental/presenter/NavigationPresenter.java", "file_name": "NavigationPresenter.java", "file_ext": "java", "fil...
package de.cas.vaadin.carrental.presenter; import de.cas.vaadin.carrental.service.Navigation; import de.cas.vaadin.carrental.service.Routes; import de.cas.vaadin.carrental.view.navigation.NavigationView; import de.cas.vaadin.carrental.view.navigation.NavigationView.NavigationViewListener; public class NavigationPrese...
6cd3a36b-91f7-4d48-a745-ff03b9df2b45
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-10-15 20:39:06", "repo_name": "Ashwini0187/scopeGetset_attributes_in_java", "sub_path": "/GetAttributeServlet.java", "file_name": "GetAttributeServlet.java", "file_ext": "java", "file_size_in_byte": 888, "line_co...
package com.sistec.scope; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(urlPatte...
8f895c48-a2c0-41e2-83c3-61e6cd98347e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-02-20 10:15:15", "repo_name": "muhammedabuali/EDUDB", "sub_path": "/src/transcations/PageRead.java", "file_name": "PageRead.java", "file_ext": "java", "file_size_in_byte": 888, "line_count": 38, "lang": "en", "do...
package transcations; import operators.Operator; /** * Created by mohamed on 5/20/14. */ public class PageRead extends Step{ private Operator operator; private String tableName; private boolean bModify; private Page page; public PageRead(Operator operator, String tableName) { this.opera...
a28f8bc5-fe38-46d4-a467-355c2497bd02
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-07-03 21:59:54", "repo_name": "haikstudent/laptopshop", "sub_path": "/src/main/java/nl/laptopshop/persistence/ProcessorPostgresDaoImpl.java", "file_name": "ProcessorPostgresDaoImpl.java", "file_ext": "java", "fil...
package nl.laptopshop.persistence; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import java.util.List; public class ProcessorPostgresDaoImpl extends PostgresBaseDao implements ProcessorDao { private Connection conn; @Override public List<Processor>...
a296dd96-3ad3-4c5c-8e96-3525eafb4c54
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-09-07 11:35:58", "repo_name": "warriordog/MapMaster", "sub_path": "/src/net/acomputerdog/map/tile/VMTTileProvider.java", "file_name": "VMTTileProvider.java", "file_ext": "java", "file_size_in_byte": 888, "line_co...
package net.acomputerdog.map.tile; import java.io.File; import java.io.IOException; public class VMTTileProvider extends TileProvider { public VMTTileProvider(TileSource tileSource) { super(tileSource); } @Override public boolean hasRegion(int x, int y) { return getFile((x * 2), ((y *...
8471c694-def8-4c0f-8a60-849116d21336
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-04-08 16:40:09", "repo_name": "GuanKevin/EmployeeReimbursementSystem", "sub_path": "/src/test/java/com/revature/ERS/TestPassword.java", "file_name": "TestPassword.java", "file_ext": "java", "file_size_in_byte": 8...
package com.revature.ERS; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import org.mindrot.jbcrypt.BCrypt; import com.revature.ERS.Data.User; public class TestPassword { private Connection conn = ConnectionFactory.getConnection(); private User user = new User("KEVING",...
684adff2-1634-42a4-bbf6-468240ddc934
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-02-24 03:34:56", "repo_name": "panda-hu/NewsTitleHuWenShuai", "sub_path": "/app/src/main/java/newtitle_huwenshuai/bwei/com/activity/WebViewActivity.java", "file_name": "WebViewActivity.java", "file_ext": "java", ...
package newtitle_huwenshuai.bwei.com.activity; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; import android.webkit.WebViewClient; import newtitle_huwenshuai.bwei.com.R; /** * 姓名:胡文帅 * 时间:2017/2/17 * 邮箱: * 备注: */ public class WebViewActivity extends Activity{ private...
a41ef390-5911-4365-954b-5edfdcc02147
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-09-20 21:08:30", "repo_name": "andutta/SolrBoot", "sub_path": "/src/main/java/com/example/solr/book/web/BookController.java", "file_name": "BookController.java", "file_ext": "java", "file_size_in_byte": 888, "lin...
package com.example.solr.book.web; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springfra...
c07ec987-ee6c-43f2-b700-c344bd0d03b0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-05 17:01:22", "repo_name": "vinodkumar-un/hibernate", "sub_path": "/Hibernate-Remaining-Examples/ComponentMapping/src/com/cm/test/CMTest.java", "file_name": "CMTest.java", "file_ext": "java", "file_size_in_byt...
package com.cm.test; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import com.cm.entities.Address; import com.cm.entities.Person; public class CMTest { public static void main(String[] args) { Configuration configuration = new Configuration().configure(...
0338767a-ee82-4be8-b1a2-7a9e72258db4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-19 18:54:30", "repo_name": "pavelmx/DocumentManagementSystem", "sub_path": "/src/main/java/com/innowise/document/entity/documents/DocumentPattern.java", "file_name": "DocumentPattern.java", "file_ext": "java",...
package com.innowise.document.entity.documents; import com.innowise.document.entity.User; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.io.Serializable; import java.time.LocalDateTime; import java.util.Date; @Data @AllArgsConstructor @N...
df42cf44-125c-4388-9ee8-2dc522e72292
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-05-28 15:24:15", "repo_name": "yv71/Error404", "sub_path": "/Epreuve 1 - IA/IA_Error404/src/ia_error404/Graphe/Vertex.java", "file_name": "Vertex.java", "file_ext": "java", "file_size_in_byte": 888, "line_count":...
/* * 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 ia_error404.Graphe; import ia_error404.Cases.Case; import java.util.ArrayList; /** * * @author Beelzed */ public class Ver...
28986598-3610-44ed-b2e1-644fcd19da28
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-11-17 11:42:27", "repo_name": "pieruccd/POO", "sub_path": "/src/Evenement/Evenement.java", "file_name": "Evenement.java", "file_ext": "java", "file_size_in_byte": 889, "line_count": 43, "lang": "en", "doc_type": ...
package Evenement; import robot.*; abstract public class Evenement implements Comparable<Evenement> { public int date; protected Robot robot; protected int indexRobot; public Evenement(int date, Robot robot, int indexRobot) { this.date = date; this.robot = robot; ...
b98b173f-82ff-424d-b8de-43cdbde36354
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-08-01T06:52:47", "repo_name": "Fluxbloom/ogame-selenium", "sub_path": "/OgameEngine/src/OgameEngine/Resources.java", "file_name": "Resources.java", "file_ext": "java", "file_size_in_byte": 888, "line_count": 43, ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package OgameEngine; /** * * @author dyschemist */ public class Resources { private String metal; private String crystal; private String deuter; public Resources(String m, String c, String d){ ...
7a8afa27-3c35-48f7-9e8b-5ab3d178228b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-02-20 08:57:57", "repo_name": "pauljoyce/Scratch", "sub_path": "/src/main/java/UEFACL/Team.java", "file_name": "Team.java", "file_ext": "java", "file_size_in_byte": 888, "line_count": 48, "lang": "en", "doc_type"...
package UEFACL; public class Team { private String name; private String nation; private int level; public Team(String name, String nation, int level) { this.name = name; this.nation = nation; this.level = level; } public String getName() { return name; } ...
2af1d99b-21c2-4f29-a5cb-23b06b6f022c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-03-21 06:26:31", "repo_name": "zhougit86/dwdatalet", "sub_path": "/src/main/java/com/yh/dwdatalink/service/ProcessService.java", "file_name": "ProcessService.java", "file_ext": "java", "file_size_in_byte": 888, "...
package com.yh.dwdatalink.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import static com.yh.dwdatalink.configuration.util.JobStatus.jobStatusFinish; import static com.yh.dwdatalink.configuration.util.JobStatus.jobStatusKilled; /** * Created b...
6cfca040-dd6f-4446-95a9-58ff383417e9
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-02-07 13:16:02", "repo_name": "yangxvhao/dailytrain", "sub_path": "/rxjava/src/main/java/com/yangxvhao/demo/proxy/GoogleGuava.java", "file_name": "GoogleGuava.java", "file_ext": "java", "file_size_in_byte": 888, ...
package com.yangxvhao.demo.proxy; import com.google.common.base.Joiner; import com.google.common.collect.Maps; import java.util.HashMap; import java.util.Map; /** * @author yangxuhao * @date 2018-11-26 15:01. */ public class GoogleGuava { public static void main(String[] args) { HashMap<String, String...
7d0e9d06-0927-4727-a99e-95580ffc5613
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-09-13 20:39:19", "repo_name": "agaveplatform/Java_grpcClient", "sub_path": "/src/main/java/com/github/simplesteph/grpc/greeting/server/SftpServiceImpl.java", "file_name": "SftpServiceImpl.java", "file_ext": "java...
package com.github.simplesteph.grpc.greeting.server; import com.proto.SftpPb.*; import io.grpc.stub.StreamObserver; public class SftpServiceImpl extends SFTPGrpc.SFTPImplBase { @Override public void copyLocalToRemoteService(CopyLocalToRemoteRequest request, StreamObserver<CopyLocalToRemoteResponse> response...
21739808-3ee1-4685-af74-bd3d8eb41982
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-12-02T06:12:43", "repo_name": "JackFengRongTao/TestDemo", "sub_path": "/TestProject/src/com/fengcase/part1/A0003WaitAndNotify.java", "file_name": "A0003WaitAndNotify.java", "file_ext": "java", "file_size_in_byte"...
package com.fengcase.part1; import java.util.concurrent.FutureTask; /** * @Author: frt * @Date: 2019/8/1 17:11 */ public class A0003WaitAndNotify { /** *实现Runnable接口 */ private static class UseRun implements Runnable{ @Override public void run() { Long i = 0L; ...
9188ad0b-b6be-4152-a45d-9cf87d76ec95
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2015-08-17 16:04:33", "repo_name": "builder-soft/remu-conta", "sub_path": "/remcon-web/src/cl/buildersoft/web/servlet/testAsync/Test1.java", "file_name": "Test1.java", "file_ext": "java", "file_size_in_byte": 889, "li...
package cl.buildersoft.web.servlet.testAsync; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.AsyncContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; imp...
e21d4a2f-4740-436c-b3b8-c6705147574a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-08-22 00:01:26", "repo_name": "lihangogo/LHweather", "sub_path": "/LHweather/src/com/lihangogo/lhweather/entity/QueryResultForWeatherFirst.java", "file_name": "QueryResultForWeatherFirst.java", "file_ext": "java"...
package com.lihangogo.lhweather.entity; import java.io.Serializable; import java.util.List; import com.google.gson.annotations.SerializedName; /** * * @author lihan */ public class QueryResultForWeatherFirst implements Serializable{ /** * */ private static final long serialVersionUID = 3291591146292478623L...
2e61f2b1-b063-4abc-91a9-ebdf2cb4b59d
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-06-05 07:17:27", "repo_name": "SanjayKushwah0601/System-Test", "sub_path": "/app/src/main/java/com/example/sanjay/sanjaysystemtest/Utils/Constants.java", "file_name": "Constants.java", "file_ext": "java", "file_s...
package com.example.sanjay.sanjaysystemtest.Utils; import com.example.sanjay.sanjaysystemtest.Database.Model.GetUsers.ResponseUser; import okhttp3.ResponseBody; import retrofit2.Call; import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.GET; import retrofit2.http.POST; public inte...
8246cf57-d7ab-4d90-a64a-0f8ca8b514b5
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-06-08 06:01:42", "repo_name": "EgorDubovtsev/library-book-count-system", "sub_path": "/src/main/java/org/lib/service/SimpleUserService.java", "file_name": "SimpleUserService.java", "file_ext": "java", "file_size_...
package org.lib.service; import org.lib.dao.AuthorizedUserDao; import org.lib.entity.AuthorizedUser; import org.lib.entity.User; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.Nullable; @Service public class SimpleUserService impl...
1f42cbe2-7b29-471e-8979-9e98b25cfd4c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2016-07-30T12:41:53", "repo_name": "nodebotschs/nodebotschs.github.io", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 888, "line_count": 54, "lang": "en", "doc_type": "...
# NodeBotsDay CHS Site ![Nodebots](https://raw.githubusercontent.com/nodebotschs/nodebotschs.github.io/master/images/nodebot_logo.png) ## Development ### Add/Edit Copy All of the copy for the site is in the index.html page, to make any changes, it is ok to edit the html directly. ### Styles The styles are done in...
80be4131-d1ec-4646-aca5-046cf86001cd
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-04-15 12:17:43", "repo_name": "VaibhavManiar/DataStructureAndAlgorithms", "sub_path": "/src/me/practice/ds/tree/BinaryTree.java", "file_name": "BinaryTree.java", "file_ext": "java", "file_size_in_byte": 888, "lin...
/** * */ package me.practice.ds.tree; /** * Incomplete implementation. * @author Vaibhav Maniar * */ public class BinaryTree { public Node buildTree(int[] inOrder, int[] preOrder, int inOrderStartIndex, int inOrderEndIndex) { if(inOrderStartIndex > inOrderEndIndex) { return null; } Node node = new...
6175afca-facc-4ca7-a24e-e33e1693f35e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-04-02 03:37:53", "repo_name": "Tecco/StaggeredRecyclerViewSample", "sub_path": "/app/src/main/java/com/tecc0/staggeredrecyclerview/ViewHolders.java", "file_name": "ViewHolders.java", "file_ext": "java", "file_siz...
package com.tecc0.staggeredrecyclerview; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import android.widget.Toast; import com.tecc0.staggeredrecyclerview.R; public class ViewHolders extends RecyclerView.ViewHolder ...
b3947bda-6b1d-4489-a111-43b9948aee07
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-08-27 03:48:57", "repo_name": "jimmyLian001/vertxAndMq", "sub_path": "/src/main/java/com/idc/common/vertx/eventbuslocal/NetServerVerticleBus.java", "file_name": "NetServerVerticleBus.java", "file_ext": "java", "f...
package com.idc.common.vertx.eventbuslocal; import io.vertx.core.AbstractVerticle; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import java.util.UUID; /** * 描述:tcp 服务端 * <p> * * @author : lian zd * @version : Version:1.0.0 * @date : 2021/5/7 Project...
6d72dafa-dc88-464d-8563-ff99c5fed00f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2023-06-04 08:55:04", "repo_name": "code2blog/language-java", "sub_path": "/code2blog_springboot_dynamodb/src/main/java/com/wordpress/code2blog/code2blog_springboot_dynamodb/UserModel.java", "file_name": "UserModel.ja...
package com.wordpress.code2blog.code2blog_springboot_dynamodb; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGeneratedKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dy...
4bc8e83f-c789-4fe0-924f-98b57fb1a992
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2021-04-02 07:59:48", "repo_name": "KhangNguyenKun/C0920G1_NguyenLePhucKhang", "sub_path": "/Module_4_version_2/case_study/src/main/java/com/example/customer/service/RenTypeServiceImpl.java", "file_name": "RenTypeServ...
package com.example.customer.service; import com.example.customer.entity.RenType; import com.example.customer.repository.RentTypeRepository; import com.example.customer.service.impl.RenTypeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import jav...
80f9c8f7-07a5-4a9d-92dd-0304045c3beb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-06-05 14:13:35", "repo_name": "koujiaodehanzi/my-rpc", "sub_path": "/rpc-server/src/main/java/com/wyk/service/proxy/RpcProxyServer.java", "file_name": "RpcProxyServer.java", "file_ext": "java", "file_size_in_byte...
package com.wyk.service.proxy; import com.wyk.service.handler.ProcessHandler; import java.net.ServerSocket; import java.net.Socket; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * @Author: wyk * @Description: * @Date: Create in 2019/6/5 21:01 * @Modified By: */ public c...
2766ffb7-39fe-4fb0-84ab-92cd004afccb
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-04 06:34:54", "repo_name": "scq355/spring-boot", "sub_path": "/boot-planb/service/src/main/java/cn/com/jcgroup/service/enums/StaffFlowTypeEnum.java", "file_name": "StaffFlowTypeEnum.java", "file_ext": "java", ...
package cn.com.jcgroup.service.enums; /** * 员工异动类型 * @author LiuYong on 17/6/21 上午12:41. */ public enum StaffFlowTypeEnum { ENTRY("1", "入职"), LEAVE("4", "离职"); private String code; private String info; StaffFlowTypeEnum(String code, String info) { this.code = code; this.info =...
6c8ce8c6-488d-4cf9-b64b-e4f8054a243e
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-11-05T14:39:40", "repo_name": "ispfx/typescript-crash-course", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 887, "line_count": 22, "lang": "en", "doc_type": "text...
## TypeScript Crash Course This is a brief collection of TypeScript classes and variables demonstrating the most common uses of the [TypeScript](https://www.typescriptlang.org/) language. ### Building Your Own TypeScript Files This solution is intended to accompany [Introduction to SharePoint Framework](https://shar...
adc273db-813f-4df4-b5e0-3afccb420b9a
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-11-02 13:33:04", "repo_name": "anuraghole/SampleUIDemo", "sub_path": "/app/src/main/java/com/example/anuraghole/sampleuidemo/views/activities/SelectFavouritesActivity.java", "file_name": "SelectFavouritesActivity...
package com.example.anuraghole.sampleuidemo.views.activities; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.example.anuraghole.sampleuidemo.R; public class SelectFavouritesActivity extends A...
9119f95f-b28c-4203-8d88-da8fc6d38ea1
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-11-29 20:46:24", "repo_name": "mehfatitem/nostalji_album", "sub_path": "/src/main/java/com/mehfatitem/imageUploadList/controller/SessionController.java", "file_name": "SessionController.java", "file_ext": "java",...
package com.mehfatitem.imageUploadList.controller; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMa...
632180cd-17e7-4de9-b9e8-2dd2f55ad035
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-08-18 05:56:16", "repo_name": "GloomyM/JavaWeb-", "sub_path": "/豆瓣前端系统/src/Servlet/MovieServlet.java", "file_name": "MovieServlet.java", "file_ext": "java", "file_size_in_byte": 887, "line_count": 30, "lang": "en...
package Servlet; import Bean.Movie; import Service.SpiderService; 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 java.io.IOException; import ja...
51ce391e-6e19-45cf-b829-8a3e8fae0e50
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-06-16T13:41:35", "repo_name": "thezanke/deno_journal_bot", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 887, "line_count": 29, "lang": "en", "doc_type": "text", "...
# Deno Slack Journal Bot ## Requirements Must have deno installed. Can be installed via the [install script](https://deno.land/#installation) in most cases. Alternatively, use `brew` on MacOS, `choco` on Windows, or whatever package manager you have access to on Linux. ## Run Run the server locally using [deno](https...
e567f890-e4f0-43ef-8c91-59fef5a1abf8
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-01-03 20:34:08", "repo_name": "vamsi28051991/testself", "sub_path": "/src/pages/recoveryPage.java", "file_name": "recoveryPage.java", "file_ext": "java", "file_size_in_byte": 887, "line_count": 39, "lang": "en", ...
package pages; import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; import org.openqa.selenium.By; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.WebDriver; import config.setup; public class recoveryPage { WebDriver ...
cdda06f0-d7b3-42b1-a930-9a91b862dde4
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-12-23 14:23:23", "repo_name": "Dodz14/Swe_project_phase3", "sub_path": "/userController.java", "file_name": "userController.java", "file_ext": "java", "file_size_in_byte": 892, "line_count": 47, "lang": "en", "do...
import java.util.Scanner; public class userController { userService ServiceO = new userService(); public void receive_request() { int choice0 = 0, choice1 = 0; while(true) { System.out.println("\n What to do? ;) \n 1-Register \n 2-Login \n 3-exit"); Scanner choice = new ...
67a3cdfd-7cd3-4478-b132-72331209e00f
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2018-05-13T01:52:04", "repo_name": "lktp/yara_check", "sub_path": "/README.MD", "file_name": "README.MD", "file_ext": "md", "file_size_in_byte": 889, "line_count": 34, "lang": "en", "doc_type": "text", "blob_id": ...
Needs alot of work, just leaving here for now for storage.. Deveolped for a place that you could use python but not executables. Designed for running on linux, in theory should work on windows hasnt been tested Designed to run lots of Yara rules, against lots of Malicious files, will build a .txt report, as well...
748d5631-9977-48ba-a24f-e4a3cfeb405b
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-10-04 03:32:56", "repo_name": "chrisco210/AutoEval", "sub_path": "/src/cf/rachlinski/autoEval/GuiController.java", "file_name": "GuiController.java", "file_ext": "java", "file_size_in_byte": 887, "line_count": 54...
package cf.rachlinski.autoEval; import cf.rachlinski.autoEval.gui.GUI; import java.awt.event.ActionListener; public class GuiController { private GUI window; private ActionListener listener; public GuiController() { } /** * Set which GUI class to use as a window * @param window the GUI class to use *...
559ed966-8caa-4693-81f2-d02b417a52b6
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-02-16 22:36:15", "repo_name": "AbramovEvgeniy/self-learning", "sub_path": "/src/main/java/com/application/spring/prototype_into_singleton/SingletonBeanContextAware.java", "file_name": "SingletonBeanContextAware.j...
package com.application.spring.prototype_into_singleton; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; ...
be2eead3-24d1-4043-8225-bf84934ba16c
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2018-10-18 20:28:26", "repo_name": "adenizkorkmaz/libraryApplication", "sub_path": "/src/main/java/com/n11/hw/model/Author.java", "file_name": "Author.java", "file_ext": "java", "file_size_in_byte": 887, "line_count":...
package com.n11.hw.model; import java.io.Serializable; /** * Created by akorkmaz on 1/27/2015. */ public class Author implements Serializable { private String firstName; private String lastName; public Author() { } public Author(String firstName, String lastName) { this.firstName = fi...
78456367-0813-4e5f-94ad-9e03295f4ca7
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2016-06-01 16:51:59", "repo_name": "mariojaros/WEBTECH-KOMI", "sub_path": "/WebTech-ejb/src/main/java/com/jcrons/dao/impl/ProfilesDaoImpl.java", "file_name": "ProfilesDaoImpl.java", "file_ext": "java", "file_size_in_b...
package com.jcrons.dao.impl; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import com.jcrons.dao.ProfilesDao; import com.jcrons.entity.Profile; @Stateless public class ProfilesDaoImpl implements ProfilesDao{ @Persis...
04724348-9f96-4d79-9671-b64a1c9220ae
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2019-12-29T08:44:53", "repo_name": "samsruti/TripApp", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 887, "line_count": 30, "lang": "en", "doc_type": "text", "blob_id":...
# TripApp An Android application that gives us a summary of the trip on various points across the journey through the means of Google Maps ## Instructions - git clone https://github.com/samsruti/TripApp.git - Open the project on Android Studio - Change the API KEY in res/values/google_maps_api.xml - Run the App ...
f1107b3b-9778-4c6b-8523-91fbd8e241c0
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2019-04-16 07:19:17", "repo_name": "cukil69/BloodShare", "sub_path": "/app/src/main/java/com/cukil/bloodshare/RegisterActivity.java", "file_name": "RegisterActivity.java", "file_ext": "java", "file_size_in_byte": 887,...
package com.cukil.bloodshare; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; /* NIM : 10116900 Nama : Syauqi Ilham Alfaraci Kelas : IF-14K Tanggal buat...
7334ef64-369d-45ad-9d2b-52fc735c8437
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2017-09-09 06:14:57", "repo_name": "kazemnejad/yon-android", "sub_path": "/app/src/main/java/io/yon/android/model/Tag.java", "file_name": "Tag.java", "file_ext": "java", "file_size_in_byte": 887, "line_count": 48, "la...
package io.yon.android.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import org.parceler.Parcel; /** * Created by amirhosein on 7/30/17. */ @Parcel @JsonIgnoreProperties(ignoreUnknown = true) public class Tag extends Model { String n...
ab90e22b-9e94-4609-88f7-7e40b5ed3319
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "markdown", "committer_date": "2020-09-24T18:44:39", "repo_name": "CGI-stLFR/Sentieon_Stratification_Test", "sub_path": "/README.md", "file_name": "README.md", "file_ext": "md", "file_size_in_byte": 887, "line_count": 27, "lang": "en", "doc_typ...
# Stratification Pipeline This is the older stratification pipeline. We later redifined how variants were assessed. The more up to date stratification pipeline can be found here: `/research/rv-02/home/eanderson/Sentieon_Stratification_Test_v2/` ## Running the pipeline Symlink the `Assembly/` directory under `Assembl...
a8fc5ccf-fe95-43a2-b654-32779f45b4ab
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2020-03-25 23:59:33", "repo_name": "jhs1145/Project1-Wegloo", "sub_path": "/Target_Club_In_Donga/app/src/main/java/com/example/target_club_in_donga/Vote/Vote_Item.java", "file_name": "Vote_Item.java", "file_ext": "jav...
package com.example.target_club_in_donga.Vote; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; public class Vote_Item { public String title; //public String date; public Object timestamp; public ArrayList<Vote_Item_Count> listItems = new ArrayList<Vote_Item_Count>(); pu...
5c7c85ef-b799-4b72-9736-9fbc1f5c1777
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2012-12-21 15:08:19", "repo_name": "jonosterman/cube", "sub_path": "/cube-client-wm/src/main/java/ch/admin/vbs/cube3/core/impl/VMMgr.java", "file_name": "VMMgr.java", "file_ext": "java", "file_size_in_byte": 887, "lin...
package ch.admin.vbs.cube3.core.impl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ch.admin.vbs.cube3.core.IVBoxMgr; import ch.admin.vbs.cube3.core.IVBoxMgr.VBoxCommand; import ch.admin.vbs.cube3.core.IVMMgr; import ch.admin.vbs.cube3.core.VirtualMachine; public class VMMgr implements IVMMgr{ pri...
dc483d5e-25a8-48d6-b0c6-ec5966ba44ba
{"source": "refinecode", "ori_score": "", "domain": "code", "program_lang": "java", "committer_date": "2014-05-24 21:44:54", "repo_name": "PlumpMath/DesignPatterns-8", "sub_path": "/src/main/java/com/phakama/designpartens/structural/bridge/Vehicle.java", "file_name": "Vehicle.java", "file_ext": "java", "file_size_in_by...
/* * 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.phakama.designpartens.structural.bridge; /** * * @author phakama */ public abstract class Vehicle { Engine engine;...