鍍金池/ 問答/ 網(wǎng)絡安全問答
情皺 回答

Jenkins Master節(jié)點不建議放在容器里面去。

你可以在一個構(gòu)建任務里面通過含有不同環(huán)境的Docker去完成不同的構(gòu)建任務,只把Master作為一個調(diào)度節(jié)點

pipeline {
    agent none
    stages {
        stage('Back-end') {
            agent {
                docker { image 'maven:3-alpine' }
            }
            steps {
                sh 'mvn --version'
            }
        }
        stage('Front-end') {
            agent {
                docker { image 'node:7-alpine' }
            }
            steps {
                sh 'node --version'
            }
        }
    }
}

參考鏈接:Using Docker with Pipeline

淡墨 回答

解決了

問題原因:阿里云默認關(guān)閉其他端口

需要在阿里云web管理界面 安全組創(chuàng)建規(guī)則,見圖

clipboard.png

clipboard.png

安淺陌 回答

類似要求的好像社區(qū)已經(jīng)有多個類似的帖子啦,討論的比較充分,可以參考一下。你用 “時間段” 在社區(qū)搜索。

離魂曲 回答

可以的,通過下面的方法可以達成:

const it = viewer.model.getData().instanceTree;
const numChildren = it.nodeAccess.getNumChildren( dbId );
if( numChildren > 0 )
    console.log(  dbId  + ' 是父節(jié)點' );
else
    console.log(  dbId  + ' 是葉子節(jié)點' );
熊出沒 回答

前端切,而且不需要你自己弄,常見的上傳控件都自帶分片上傳,你只需要管php的文件合并就可以了,不過為什么要用sftp上傳呢?

傻丟丟 回答

我看過一篇評價大意是emacs功能足夠多,但是學習使用太復雜,vim簡單實用

旖襯 回答
$data = array(
    "list" => array(
        array(
          "email" => "1",
          "name" => ""
        ),  
        array(
          "email" => "1",
          "name" => ""
        )   
    )   
);
$data_string = json_encode($data, JSON_PRETTY_PRINT);

echo $data_string;

$data_array = json_decode($data_string, true);// 解析多層注意要加第二個參數(shù)
print_r($data_array);
                   
氕氘氚 回答

好吧,我應該等一等tagit的官網(wǎng)打開.....直接按照文檔的參數(shù)設(shè)置就可以了。

青裙 回答

那你把代碼放在生命周期的mounted里面唄

雨蝶 回答

首先要確保車輪的模型坐標原點是不是中心,如果不是中心,可以先平移到原點再進行旋轉(zhuǎn)或者干脆在建模軟件種編輯修正模型的坐標位置。另外我記得glm的translate、rotate和scale是用的右乘的方式實現(xiàn)的,所以需要反過來,這一點你上面應該沒錯。多半是模型坐標的問題。

青裙 回答

$(function(){

$('#dowebok').fullpage({
    sectionsColor : ['#1bbc9b', '#4BBFC3', '#7BAABE', '#f90']
});

$(window).resize(function(){
    autoScrolling();
});

function autoScrolling(){
    var $ww = $(window).width();
    if($ww < 1024){
        $.fn.fullpage.setAutoScrolling(false);
    } else {
        $.fn.fullpage.setAutoScrolling(true);
    }
}

autoScrolling();

});

孤毒 回答

你這個代碼不全,其他人很難給你解答啊

哚蕾咪 回答

可以的。所有的路由信息都在location里呢。

別硬撐 回答

自己解決了哦,去掉$is_args$args就好了,因為rewrite重寫的是$uri:

location ~ ^/(test|admin) {
    rewrite ^(.*) $uri.php;
}

真是不仔細看文檔

Syntax:    rewrite regex replacement [flag];
Default:    —
Context:    server, location, if
If the specified regular expression matches a request URI, URI is
changed as specified in the replacement string. The rewrite directives
are executed sequentially in order of their appearance in the
configuration file.
我甘愿 回答

恩,phpmailer表示,這個鍋好黑

何蘇葉 回答

es6中的exportimport相關(guān)的ES6學習——模塊化:import和export;
應該是getters,actions,mutations中export了多個模塊,import的時候也要分開引入import {a, b} from xxx,或者import * as a from xxx