Month: April 2019

Inline style of Office Fabric UI library in spfx webpart

After upgraded the @microsoft/sp-office-ui-fabric-core library, all inline styles gone, to get it back, you just need to do: Here is the test case: read count : 26


2019/04/30 0

Powershell to get SharePoint group by ID

Usage: Get-SPGroup https://cf.peter.com 705 read count : 10


2019/04/26 0

SharePoint的SPFX升級真的是千辛萬苦

由SPFx 1.0.0玩到昨天出的1.8.1,每一次升級framework都會遇到不同的麻煩。昨天Microsoft出了1.8.1,但我的Project還是用1.8.0,刪了node_module再npm i, 什麼也沒有做過就compile不到了,試了一回才發現最新版1.8.1剛出了,於是升級上去,結果又是什麼都沒有做,Project又變成可以compile到了。 read count : 20


2019/04/25 0

不同project的不同webpart也是有機會撞ID的

寫太多webpart,終於遇到第一次撞WebPart ID,在兩個不同的spfx project裏webpart個ID重複,唯由手動改一改就可以deploy了 read count : 7


2019/04/22 0

佛教 VS 西方心理學

書中見到,不知對不對:西方心理學認為潛意識不可受控,但佛教認為只要通過禪定就可以控制潛意識。之前見過一遍報導就係科學家檢測人腦,在你做決定之前已經知道到你會做什麼決定,代表潛意識有份參與決定。所以西方不認同潛意識可以受控,就代表人做決定根本不由己,這點我比較認同佛教多一點。 http://sa.ylib.com/MagArticle.aspx?Unit=featurearticles&id=2329 read count : 27


2019/04/22 0

CPU由Soft core變Hard core的步驟

(Disclaimer: This might not be completely accurate since my experience in ASIC design is only that I took a course in integrated circuits a few years ago where we designed a small analog ASIC, basically just an op-amp). My understanding of the process for taking verilog and making it into an ASIC is something like:…
Read more


2019/04/17 0

Build library for SPFx 1.8.0 project use has to be careful the variable name

We have a library call quantr-spfx-library, which is a supporting library for our SPFx project. I tried to update a spfx project to 1.8.0 and unable to bundle it. The error is: Here is the original code from our library: As you can see, in the second line of above code, we have a library…
Read more


2019/04/13 0

Another great book about cpu design

Shatin library is great read count : 7


2019/04/06 0

一條必讀關於Teams控制Guest login嘅link

https://blog.syskit.com/ultimate-admin-guide-to-microsoft-teams-guest-users read count : 5


2019/04/06 0

CPU預研

read count : 27


2019/04/05 0

再度苦練Illustrator

read count : 6


2019/04/04 0

Share data between SPFx webpart

https://www.linkedin.com/pulse/share-data-between-spfx-webpart-ramakrishnan-raman read count : 17


2019/04/04 0