My other open source project https://gitlab.com/quantr/toolchain/dotnet-core-dependence-walker can generate a dependency graph for dotnet core dll.
Below is the table show you the mapping between namespace and assembly, thanks to the book “C# 7.0 in a Nutshell” Namespace Assembly Microsoft.CodeAnalysis Microsoft.CodeAnalysisMicrosoft.CodeAnalysis.CSharpMicrosoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.CSharp.Syntax Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.Diagnostics Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Diagnostics.Telemetry Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Emit Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Semantics Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Text Microsoft.CodeAnalysis Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.VisualBasic.Syntax Microsoft.CodeAnalysis.VisualBasic Microsoft.CSharp System Microsoft.CSharp.Activities System.Activities Microsoft.CSharp.RuntimeBinder Microsoft.CSharp Microsoft.SqlServer.Server System.Data Microsoft.VisualBasic System Microsoft.VisualBasic.Activities System.Activities […]
基本上掌握到JVM生成byte code，初步了解jvm的指令，能夠徒手用apache bcel生成class文件. 但感覺上jvm比.net core的vm重，所以先看看CLR才作最後決定。 題外話：基於jvm的語言除了java之外，沒一隻能夠有大的成功。
Haven’t seen this kind of error before, i was hijacking the css by my Embed webpart, suddenly becoming this
書中是6.0，雖然和6.7有點距離，但不失為一個入門書。 最重的是有一個學習規劃。 以下是一個vSphere programmer應該要懂的topic: managing inventory managing host systems managing virtual machines, snapshots, and vmotion managing clusters and resource pools managing networks managing storage and datastores event and alarms performance monitoring task and scheduled task user and license administration extending VI client scrioting the VI sdk with jython, perl and powershell 必需把以上topic用sdk寫一次！！！
If you are trying to add an menu to SharePoint Online, make sure you chosee “Host Web” instead of “App Web”. If you chose wrongly, there is no way to convert it back in Visual Studio. You have to manually edit MenuItemCustomAction1\SharePointProjectItem.spdata , see below. You have to change the line from the top one […]
https://mohitvash.wordpress.com/2011/07/20/ribbon-customization-add-control-to-existing-group/ http://aaclage.blogspot.com/2014/04/examples-of-customization-of-ribbons-in.html http://erikpool.blogspot.com/2011/10/understanding-crm-ribbon-xml-part-3.html
Just created an SharePoint App project in Visual Studio 2019, create two ribbon buttons by this xml. Then back to classic mode, the ribbon tab “Items” will stop responding.
經過上星期重大upgrade, 而家速度大量提升，Create communicate site只需五秒。Deploy App 10秒內。Search亦都有肉眼看得見的速度提升。
Do this on the top of you tsx file Then put this in your render function Or
from a book call “DTrace”
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:
Usage: Get-SPGroup https://cf.peter.com 705
由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到了。
寫太多webpart，終於遇到第一次撞WebPart ID，在兩個不同的spfx project裏webpart個ID重複，唯由手動改一改就可以deploy了
(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: […]
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 […]
Shatin library is great
Build dynamic SharePoint search experience using refiners and paging with SPFx, Office UI Fabric and PnP JS library
http://thecollaborationcorner.com/2017/10/16/build-dynamic-sharepoint-search-experiences-with-refiners-and-paging-with-spfx-office-ui-fabric-and-pnp-js-library/ Recently, I’ve submitted a SPFx Web Part sample showing how to build a dynamic search experience using Office UI fabric components and SharePoint search REST API. This sample comes directly from a real intranet project within SharePoint Online. Why you would you like to do this? Well, if you’re currently implementing a new intranet using SharePoint […]
SPFx 1.6 was released recently and a lot of new and interesting features were introduced. AadTokenProvider, AadHttpClient, MSGraphClient went to GA, which are my favorite features. One of the common thing in SPFx development is accessing other resources, protected with Azure AD. For example you might have your LOB API with Azure AD protection and you want to […]
必需做要所有web part Ico
Provision a site with a pre-set permissions is always a trouble for us. I found a great article here https://medium.com/provisionpoint/sharepoint-site-provisioning-in-office-365-27eaa2897776 about using pnp site template to complete this job in a easy way.
This book talk about how to measure coders. It stated three metrics: Skill, Response and Value. I think passion is also another important metric, but hard to be measure. If in Hong Kong, anti-blaming by project manager is also another important metric, there are too many skill-less managers in here, all their daily jobs are […]
PowerApps每一次Export package去另一個Tenant，就算SharePoint Site裏面連個Site名都一樣，佢都係無法自動化完成所有import流程，一定要人肉入去搞一次，好花時間。而個calendar基本上只可以read當前登入者嘅calendar，如果唔係就要經group calendar或sharepoint list，設計唔算完美。
I am trying to move all file from google drive to one drive business, so i think of flow. But I found if my folder name starts with a number, in microsoft flow i am unable to select it, it is not exist in the folder selection dialog. Even if i type the folder name […]
Sometimes, SharePoint alkamai has lots of errors, but my webpart won’t dead and still run. But the left hand side bar will take a very long time (over 10 seconds) to load up.
Although fixed the output window color, but the colors are not accurate, refer to https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
Code to test “16-Bit Addressing Forms with the ModR/M Byte” // String instruction = “adc byte [ si+0x12], 0x1+0x20x3″; // String instruction = “adc byte [bx+si], 0x1+0x20x3″; // String instruction = “adc byte [bx+di], 0x1+0x20x3″; // String instruction = “adc byte [bp+di], 0x1+0x20x3″; // String instruction = “adc byte [si], 0x1+0x20x3″; // String instruction = […]
IA32 instruction “adc al,0x7” has two different opcode encodings. /Users/peter>ndisasm a00000000 80D007 adc al,0x7 /Users/peter>cat a.asmbits 16adc al,0x7 /Users/peter>ndisasm a00000000 1407 adc al,0x7