20181130_jeffrey - silenceuncrio/diary GitHub Wiki
review
欣賞 Create a custom calendar in React 的同時發現 google 也有提供免費 Material icons 向量圖示集
匆匆一撇就發現 google 有提供訊號強度的圖示
不過目前把 M300 的 fontawsome 做置換並不是一個明智的選擇
影響的層面可能還會牽涉到其他的部門
又看到了 <head>
和 <main>
這兩個不認識的 HTML tag
google 一下得知 HTML5 語意標籤
從排版的角度而言 <head>
和 <main>
跟 <div>
沒什麼兩樣
一往下馬上又是不認識的 CSS
:root {
--main-color: #1a8fff;
--text-color: #777;
--text-color-light: #ccc;
--border-color: #eee;
--bg-color: #f9f9f9;
--neutral-color: #fff;
}
可以參考到 使用CSS变量
M360P ip filter apply 的 error message 沒有顯示
需做以下的修改
diff --git a/proscend/prosrc/www/app/feature/ipfilter.js b/proscend/prosrc/www/app/feature/ipfilter.js
index ae7f231..9adfc30 100644
--- a/proscend/prosrc/www/app/feature/ipfilter.js
+++ b/proscend/prosrc/www/app/feature/ipfilter.js
@@ -98,7 +98,7 @@
swal({title:"Apply ok", text:"", type:"success", }, function(){$route.reload();});
}, function(response) {
vm.applying = false;
- swal({title:"Apply fail", text:"", type:"error", }, function(){$route.reload();});
+ swal({title:"Apply fail", text:response.data.info, type:"error", }, function(){$route.reload();});^M
});
};
不過需要跟 ariel 溝通一下看看要 commit 到哪一個 branch
Mistra Star M360P 試產有三片不良
我需要跟內部溝通討論後才能回信
先解決 john 的問題
commit 5052a51c58dec6cbbf671dd70cefdde30f6a0d7f
Author: jeffrey <[email protected]>
Date: Fri Nov 30 13:07:46 2018 +0800
display the error information while apply fail at 'IP Filter' web page
proscend/prosrc/www/app/feature/ipfilter.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
MistraStart 先讓我們 PM 跟他們聯絡一下再視情況而定
繼續 GRE NHRP
目前要克服的是 quagga nhrp 的 config 要怎麼寫
突然就知道怎麼玩了
參考 Dynamic Multipoint VPN (DMVPN) Phase 3 with Quagga NHRPd
先把 nhrpd 叫起來
root@Cellular Router:~# touch /etc/quagga/nhrpd.conf
root@Cellular Router:~# nhrpd -d
然後透過 vtysh
下一些 command
root@Cellular Router:~# vtysh
Hello, this is Quagga (version 1.2.4).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
Cellular Router# configure terminal
Cellular Router(config)# nhrp nflog-group 1
Cellular Router(config)# interface lan
Cellular Router(config-if)# ip nhrp network-id 1
Cellular Router(config-if)# ip nhrp nhs dynamic nbma 50.60.70.80
Cellular Router(config-if)# ip nhrp registration no-unique
Cellular Router(config-if)# ip nhrp shortcut
Cellular Router(config-if)# exit
Cellular Router(config)# exit
Cellular Router# write memory
Building Configuration...
Configuration saved to /etc/quagga/zebra.conf
Configuration saved to /etc/quagga/ripd.conf
Configuration saved to /etc/quagga/nhrpd.conf
[OK]
Cellular Router# exit
root@Cellular Router:~#
終於見面了 - Configuration saved to /etc/quagga/nhrpd.conf
趕緊看一下
root@Cellular Router:~# cat /etc/quagga/nhrpd.conf
!
! Zebra configuration saved from vty
! 2018/11/29 07:14:55
!
!
interface can0
!
interface eth0
!
interface eth1
!
interface eth2
!
interface gre0
!
interface gretap0
!
interface ifb0
!
interface ifb1
!
interface ip6_vti0
!
interface ip6tnl0
!
interface ip_vti0
!
interface lan
ip nhrp network-id 1
ip nhrp shortcut
ip nhrp registration no-unique
ip nhrp nhs dynamic nbma 50.60.70.80
!
interface lo
!
interface sit0
!
!
nhrp nflog-group 1
line vty
!
root@Cellular Router:~#
這樣一來我就能觀察到 nhrpd.conf 該怎麼寫了
至少目前有具體的方向前進