Monthly Archives: 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:
佛教有宗和空宗爭論了一千年的就是這些東西

Powershell to get SharePoint group by ID

Usage: Get-SPGroup https://cf.peter.com 705
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到了。
不同project的不同webpart也是有機會撞ID的

寫太多webpart,終於遇到第一次撞WebPart ID,在兩個不同的spfx project裏webpart個ID重複,唯由手動改一改就可以deploy了
佛教 VS 西方心理學

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

Shatin library is great
一條必讀關於Teams控制Guest login嘅link

https://blog.syskit.com/ultimate-admin-guide-to-microsoft-teams-guest-users
CPU預研

再度苦練Illustrator

Share data between SPFx webpart

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