Profile cover photo
Profile photo
Kang-Min Wang
About
Posts

Post has attachment
Add a comment...

Post has attachment
Add a comment...

Post has attachment

Post has attachment
Jenkins swarm with docker
因為某些原因所以前一陣子弄了一套Jenkins,不過為了部署方便,光靠原本的Jenkins自己的部署slave的方式實在不是合我用,所以就在想如何跟Docker整合在一起,一方面也是環境單純可以避面Slave Node上有缺套件沒有記錄到,一方面是要部署多台時可以更快更無腦,所以花了一點時間找到了一套Jenkins Plugin叫做 Swarm 。 Swarm 最大特色大概就是可以不用先在Master node身上先進行設定才能增加Slave Node,而是反過來的方式,讓Slave Node可以直接向Mas...
Jenkins swarm with docker
Jenkins swarm with docker
blogger.aminzai.net
Add a comment...

Post has attachment
Force mac release dns cache
sudo killall -HUP mDNSResponder
Force mac release dns cache
Force mac release dns cache
blogger.aminzai.net
Add a comment...

Post has attachment
dcoker change user password
echo " : RUN echo "root:Docker!" | chpasswd
dcoker change user password
dcoker change user password
blogger.aminzai.net
Add a comment...

Post has attachment
Create a simple jenkins by docker-compose
1. Create jenkins's home directory mkdir /jenkins mkdir /jenkins/home cd jenkins 2.Edit docker-compose.yml ---code----- main:     image: jenkins     ports:         - 8080:8080         - 50000:50000     volumes:         - ./home:/var/jenkins_home ----code-...
Add a comment...

Post has attachment
Add Jenkins slave node via Java Web start
1. Manage Jenkins=>Manage Nodes=> New Node 2. Type node's name and select Dumb Slave 3.Type Information Remote root directory:type the working directory Launch method: Launch slave agents via Java Web Start Other:set as your wish 4. We will saw this screen....
Add a comment...

Post has attachment
幫Jenkins 拉皮(change theme)
想必應該很多人對預設的Jenkins介面感覺到很漂亮,會想要幫他拉皮一下。 所以找了一個 jenkins-material-theme 來拉拉Jenkins的皮 1.進入"管理Jenkins"   2.選擇"管例外掛程式" 3. 選擇"可用的"分頁 4.1.在搜尋框輸入"theme" 4.2.選取"Simple Theme Plugin" 4.3.直接安裝 4.4.等待安裝並重開Jenkins完畢 5. 在"管理Jenkins" => "設定系統"中 就可以看到Theme選項 6.在 URL of theme...
Add a comment...

Post has attachment
在Android運行NDK 的Sample
在Android運行NDK (在此不解釋如何安裝NDK) 運行平台:Archlinux 64 1.建立Android  專案檔 $android create project -p ./ -t 3 -k net.aminzai.myjni -a MyJniActivity 2.編輯MyJniActivity package net.aminzai.myjni; import android.app.Activity; import android.os.Bundle; import android.widge...
Add a comment...
Wait while more posts are being loaded