瀛洲在線

docker nginx部署前端項目

<h3 id="docker安裝nginx">docker安裝nginx</h3> <p>執行如下命令:</p> <pre tabindex="0"><code>$ docker pull nginx Using default tag: latest latest: Pulling from library/nginx Digest:

linux常用命令總結

<p>1.後台運行命令行程序</p> <p><code>nohup ./server_linux >/dev/null 2>&1 &</code></p> <p>2.tar幫助文件</p> <pre tabindex="0"><code>$ tar -h tar(bsdtar): manipulate archive files First option must be

Java實現生產者和消費者

<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java"><span

Java語言圖形界面JavaFX編程入門

<pre tabindex="0"><code>import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.StackPane; import javafx.stage.Stage; /** *

Java語言HashMap遍歷的六種方式

<p>我們總共採用六種方式來遍歷HashMap,計算效率的方式採用執行遍歷之前記下時間,遍歷之後記下結束時間,時間差就是遍歷所用的時間。之後比較六種方式的時間的大小,時間差值越小代表效率越高。</p> <div class="highlight"><pre tabindex="0"