|
|
@@ -0,0 +1,345 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
|
+<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <title>Java small projects - Febbweiss</title>
|
|
|
+
|
|
|
+
|
|
|
+ <link rel="shortcut icon" href="../../img/favicon.ico">
|
|
|
+
|
|
|
+
|
|
|
+ <link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
|
|
+
|
|
|
+ <link rel="stylesheet" href="../../css/theme.css" type="text/css" />
|
|
|
+ <link rel="stylesheet" href="../../css/theme_extra.css" type="text/css" />
|
|
|
+ <link rel="stylesheet" href="../../css/highlight.css">
|
|
|
+ <link href="../../extra/css/extra.css" rel="stylesheet">
|
|
|
+ <link href="../../extra/css/sis.css" rel="stylesheet">
|
|
|
+
|
|
|
+
|
|
|
+ <script>
|
|
|
+ // Current page data
|
|
|
+ var mkdocs_page_name = "Java small projects";
|
|
|
+ var mkdocs_page_input_path = "development/java_small_projects.md";
|
|
|
+ var mkdocs_page_url = "/development/java_small_projects/";
|
|
|
+ </script>
|
|
|
+
|
|
|
+ <script src="../../js/jquery-2.1.1.min.js"></script>
|
|
|
+ <script src="../../js/modernizr-2.8.3.min.js"></script>
|
|
|
+ <script type="text/javascript" src="../../js/highlight.pack.js"></script>
|
|
|
+ <script src="../../js/theme.js"></script>
|
|
|
+ <script src="../../extra/js/pacman.js"></script>
|
|
|
+ <script src="../../extra/js/pyramid.js"></script>
|
|
|
+ <script src="../../extra/js/sis.js"></script>
|
|
|
+ <script src="../../extra/js/yahtzee.js"></script>
|
|
|
+
|
|
|
+
|
|
|
+</head>
|
|
|
+
|
|
|
+<body class="wy-body-for-nav" role="document">
|
|
|
+
|
|
|
+ <div class="wy-grid-for-nav">
|
|
|
+
|
|
|
+
|
|
|
+ <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
|
+ <div class="wy-side-nav-search">
|
|
|
+ <a href="../.." class="icon icon-home"> Febbweiss</a>
|
|
|
+ <div role="search">
|
|
|
+ <form id ="rtd-search-form" class="wy-form" action="../../search.html" method="get">
|
|
|
+ <input type="text" name="q" placeholder="Search docs" />
|
|
|
+ </form>
|
|
|
+</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
|
+ <ul class="current">
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../..">Home</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+<li>
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <ul class="subnav">
|
|
|
+ <li><span>Development</span></li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../cloudbudget/">Cloudbudget</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../cloudbudget_angularjs/">Cloudbudget angularjs</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../filebrowser_durandal_widget/">Filebrowser durandal widget</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 current">
|
|
|
+ <a class="current" href="./">Java small projects</a>
|
|
|
+
|
|
|
+ <ul>
|
|
|
+
|
|
|
+ <li class="toctree-l3"><a href="#introduction">Introduction</a></li>
|
|
|
+
|
|
|
+ <li><a class="toctree-l4" href="#rabbits-vs-hunter">Rabbits vs Hunter</a></li>
|
|
|
+
|
|
|
+ <li><a class="toctree-l4" href="#word-lister">Word lister</a></li>
|
|
|
+
|
|
|
+
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../library_reader/">Library reader</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../project_deployer/">Project deployer</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../scrabble_resolver/">Scrabble resolver</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../springboot_react_webpack/">Springboot react webpack</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+ </ul>
|
|
|
+<li>
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <ul class="subnav">
|
|
|
+ <li><span>Docker</span></li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../docker/docker_apache_log_generator/">Docker apache log generator</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../docker/docker_gocd/">Docker gocd</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../docker/docker_java_log_generator/">Docker java log generator</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../docker/docker_log_centralizer/">Docker log centralizer</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+ </ul>
|
|
|
+<li>
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <ul class="subnav">
|
|
|
+ <li><span>Games</span></li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../games/Space_invaders_stories/">Space invaders stories</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../games/pacman/">Pacman</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../games/pyramid/">Pyramid</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../games/wordfighters/">Wordfighters</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li class="toctree-l1 ">
|
|
|
+ <a class="" href="../../games/yahtzee/">Yahtzee</a>
|
|
|
+
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+ </ul>
|
|
|
+<li>
|
|
|
+
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </nav>
|
|
|
+
|
|
|
+ <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
+
|
|
|
+
|
|
|
+ <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|
|
+ <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
|
+ <a href="../..">Febbweiss</a>
|
|
|
+ </nav>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="wy-nav-content">
|
|
|
+ <div class="rst-content">
|
|
|
+ <div role="navigation" aria-label="breadcrumbs navigation">
|
|
|
+ <ul class="wy-breadcrumbs">
|
|
|
+ <li><a href="../..">Docs</a> »</li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li>Development »</li>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <li>Java small projects</li>
|
|
|
+ <li class="wy-breadcrumbs-aside">
|
|
|
+
|
|
|
+
|
|
|
+ <a href="https://github.com/febbweiss/" class="icon icon-github"> Edit on GitHub</a>
|
|
|
+
|
|
|
+
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ <hr/>
|
|
|
+</div>
|
|
|
+ <div role="main">
|
|
|
+ <div class="section">
|
|
|
+
|
|
|
+ <h1 id="introduction">Introduction</h1>
|
|
|
+<p>In this section, I introduce some small Java projects</p>
|
|
|
+<h2 id="rabbits-vs-hunter">Rabbits vs Hunter</h2>
|
|
|
+<p>Source : <a href="https://github.com/Febbweiss/rabbits-vs-hunter" target="_blank" title="Fork me on GitHub">GitHub repository</a></p>
|
|
|
+<h3 id="goal">Goal</h3>
|
|
|
+<p>This projects manages a rabbit hunt.
|
|
|
+It's possible to change some criteria such as trees, burrows and rabbits counts.</p>
|
|
|
+<h3 id="building">Building</h3>
|
|
|
+<p>Using maven, just execute the following command :</p>
|
|
|
+<pre><code>mvn clean package
|
|
|
+</code></pre>
|
|
|
+
|
|
|
+<p>In the new <em>target</em> folder, you will find the <em>rabbits-vs-hunter-[version]-jar-with-dependencies.jar</em> jar file. This jar contains all dependencies.</p>
|
|
|
+<h3 id="running">Running</h3>
|
|
|
+<p>Execute the built jar :</p>
|
|
|
+<pre><code>java -jar rabbits-vs-hunter-[version]-jar-with-dependencies.jar
|
|
|
+</code></pre>
|
|
|
+
|
|
|
+<h2 id="word-lister">Word lister</h2>
|
|
|
+<p>Source : <a href="https://github.com/Febbweiss/word-lister" target="_blank" title="Fork me on GitHub">GitHub repository</a></p>
|
|
|
+<h3 id="goal_1">Goal</h3>
|
|
|
+<p>This project prints all words in a file, one per line.
|
|
|
+All compound words and numbers are preserved (such as <em>byte-input</em> and <em>-5.52%</em> for example).</p>
|
|
|
+<h3 id="building_1">Building</h3>
|
|
|
+<p>Using maven, just execute the following command :</p>
|
|
|
+<pre><code>mvn clean package
|
|
|
+</code></pre>
|
|
|
+
|
|
|
+<p>In the new <em>target</em> folder, you will find the <em>word-lister-[version]-jar-with-dependencies.jar</em> jar file. This jar contains all dependencies.</p>
|
|
|
+<h3 id="running_1">Running</h3>
|
|
|
+<p>Execute the built jar with the <em>--help</em> parameter to display the help message.
|
|
|
+To parse a file, execute the following command :</p>
|
|
|
+<pre><code>java -jar word-lister-[version]-jar-with-dependencies.jar <path_to_a_file>
|
|
|
+</code></pre>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <footer>
|
|
|
+
|
|
|
+ <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
+
|
|
|
+ <a href="../library_reader/" class="btn btn-neutral float-right" title="Library reader">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
|
+
|
|
|
+
|
|
|
+ <a href="../filebrowser_durandal_widget/" class="btn btn-neutral" title="Filebrowser durandal widget"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <hr/>
|
|
|
+
|
|
|
+ <div role="contentinfo">
|
|
|
+ <!-- Copyright etc -->
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
+</footer>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </section>
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+<div class="rst-versions" role="note" style="cursor: pointer">
|
|
|
+ <span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
+
|
|
|
+ <a href="https://github.com/febbweiss/" class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
|
|
|
+
|
|
|
+
|
|
|
+ <span><a href="../filebrowser_durandal_widget/" style="color: #fcfcfc;">« Previous</a></span>
|
|
|
+
|
|
|
+
|
|
|
+ <span style="margin-left: 15px"><a href="../library_reader/" style="color: #fcfcfc">Next »</a></span>
|
|
|
+
|
|
|
+ </span>
|
|
|
+</div>
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|